Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- parse/train/BkevoJSYPB/BkevoJSYPB.md +656 -0
- parse/train/BkevoJSYPB/BkevoJSYPB_content_list.json +0 -0
- parse/train/BkevoJSYPB/BkevoJSYPB_middle.json +0 -0
- parse/train/BkevoJSYPB/BkevoJSYPB_model.json +0 -0
- parse/train/Esd7tGH3Spl/Esd7tGH3Spl.md +244 -0
- parse/train/Esd7tGH3Spl/Esd7tGH3Spl_content_list.json +1159 -0
- parse/train/Esd7tGH3Spl/Esd7tGH3Spl_middle.json +0 -0
- parse/train/Esd7tGH3Spl/Esd7tGH3Spl_model.json +0 -0
- parse/train/HkgSk2A9Y7/HkgSk2A9Y7.md +0 -0
- parse/train/HkgSk2A9Y7/HkgSk2A9Y7_content_list.json +0 -0
- parse/train/HkgSk2A9Y7/HkgSk2A9Y7_middle.json +0 -0
- parse/train/HkgSk2A9Y7/HkgSk2A9Y7_model.json +0 -0
- parse/train/HklXn1BKDH/HklXn1BKDH.md +378 -0
- parse/train/HklXn1BKDH/HklXn1BKDH_middle.json +0 -0
- parse/train/HklXn1BKDH/HklXn1BKDH_model.json +0 -0
- parse/train/Ic9vRN3VpZ/Ic9vRN3VpZ.md +237 -0
- parse/train/Ic9vRN3VpZ/Ic9vRN3VpZ_middle.json +0 -0
- parse/train/Ic9vRN3VpZ/Ic9vRN3VpZ_model.json +0 -0
- parse/train/SJgCEpVtvr/SJgCEpVtvr.md +281 -0
- parse/train/SJgCEpVtvr/SJgCEpVtvr_content_list.json +1456 -0
- parse/train/SJgCEpVtvr/SJgCEpVtvr_middle.json +0 -0
- parse/train/SJgCEpVtvr/SJgCEpVtvr_model.json +0 -0
- parse/train/SJlh8CEYDB/SJlh8CEYDB.md +438 -0
- parse/train/SJlh8CEYDB/SJlh8CEYDB_content_list.json +0 -0
- parse/train/SJlh8CEYDB/SJlh8CEYDB_middle.json +0 -0
- parse/train/SJlh8CEYDB/SJlh8CEYDB_model.json +0 -0
- parse/train/YTWGvpFOQD-/YTWGvpFOQD-_model.json +0 -0
- parse/train/eEn8KTtJOx/eEn8KTtJOx.md +398 -0
- parse/train/eEn8KTtJOx/eEn8KTtJOx_content_list.json +2163 -0
- parse/train/eEn8KTtJOx/eEn8KTtJOx_middle.json +0 -0
- parse/train/eEn8KTtJOx/eEn8KTtJOx_model.json +0 -0
- parse/train/eoTy4ihL0W/eoTy4ihL0W.md +270 -0
- parse/train/eoTy4ihL0W/eoTy4ihL0W_content_list.json +1267 -0
- parse/train/eoTy4ihL0W/eoTy4ihL0W_middle.json +0 -0
- parse/train/eoTy4ihL0W/eoTy4ihL0W_model.json +0 -0
- parse/train/rJgUfTEYvH/rJgUfTEYvH.md +374 -0
- parse/train/rJgUfTEYvH/rJgUfTEYvH_content_list.json +2080 -0
- parse/train/rJgUfTEYvH/rJgUfTEYvH_middle.json +0 -0
- parse/train/rJgUfTEYvH/rJgUfTEYvH_model.json +0 -0
- vlm/dev/09hVcSDkea/0.png +3 -0
- vlm/dev/09hVcSDkea/1.png +3 -0
- vlm/dev/09hVcSDkea/10.png +3 -0
- vlm/dev/09hVcSDkea/11.png +3 -0
- vlm/dev/09hVcSDkea/12.png +3 -0
- vlm/dev/09hVcSDkea/13.png +3 -0
- vlm/dev/09hVcSDkea/14.png +3 -0
- vlm/dev/09hVcSDkea/15.png +3 -0
- vlm/dev/09hVcSDkea/16.png +3 -0
- vlm/dev/09hVcSDkea/17.png +3 -0
- vlm/dev/09hVcSDkea/2.png +3 -0
parse/train/BkevoJSYPB/BkevoJSYPB.md
ADDED
|
@@ -0,0 +1,656 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DIFFERENTIATION OF BLACKBOX COMBINATORIAL SOLVERS
|
| 2 |
+
|
| 3 |
+
Marin Vlastelica1∗, Anselm Paulus1∗, V´ıt Musil2, Georg Martius1, Michal Rol´ınek1
|
| 4 |
+
|
| 5 |
+
1 Max-Planck-Institute for Intelligent Systems, Tubingen, Germany ¨
|
| 6 |
+
2 Universita degli Studi di Firenze, Italy \`
|
| 7 |
+
{marin.vlastelica, anselm.paulus, georg.martius, michal.rolinek}@tuebingen.mpg.de
|
| 8 |
+
vit.musil@unifi.it
|
| 9 |
+
|
| 10 |
+
# ABSTRACT
|
| 11 |
+
|
| 12 |
+
Achieving fusion of deep learning with combinatorial algorithms promises transformative changes to artificial intelligence. One possible approach is to introduce combinatorial building blocks into neural networks. Such end-to-end architectures have the potential to tackle combinatorial problems on raw input data such as ensuring global consistency in multi-object tracking or route planning on maps in robotics. In this work, we present a method that implements an efficient backward pass through blackbox implementations of combinatorial solvers with linear objective functions. We provide both theoretical and experimental backing. In particular, we incorporate the Gurobi MIP solver, Blossom V algorithm, and Dijkstra’s algorithm into architectures that extract suitable features from raw inputs for the traveling salesman problem, the min-cost perfect matching problem and the shortest path problem. The code is available at
|
| 13 |
+
|
| 14 |
+
https://github.com/martius-lab/blackbox-backprop.
|
| 15 |
+
|
| 16 |
+
# 1 INTRODUCTION
|
| 17 |
+
|
| 18 |
+
The toolbox of popular methods in computer science currently sees a split into two major components. On the one hand, there are classical algorithmic techniques from discrete optimization – graph algorithms, SAT-solvers, integer programming solvers – often with heavily optimized implementations and theoretical guarantees on runtime and performance. On the other hand, there is the realm of deep learning allowing data-driven feature extraction as well as the flexible design of end-to-end architectures. The fusion of deep learning with combinatorial optimization is desirable both for foundational reasons – extending the reach of deep learning to data with large combinatorial complexity – and in practical applications. These often occur for example in computer vision problems that require solving a combinatorial sub-task on top of features extracted from raw input such as establishing global consistency in multi-object tracking from a sequence of frames.
|
| 19 |
+
|
| 20 |
+
The fundamental problem with constructing hybrid architectures is differentiability of the combinatorial components. State-of-the-art approaches pursue the following paradigm: introduce suitable approximations or modifications of the objective function or of a baseline algorithm that eventually yield a differentiable computation. The resulting algorithms are often sub-optimal in terms of runtime, performance and optimality guarantees when compared to their unmodified counterparts. While the sources of sub-optimality vary from example to example, there is a common theme: any differentiable algorithm in particular outputs continuous values and as such it solves a relaxation of the original problem. It is well-known in combinatorial optimization theory that even strong and practical convex relaxations induce lower bounds on the approximation ratio for large classes of problems (Raghavendra, 2008; Thapper & Zivn ˇ y´, 2017) which makes them inherently sub-optimal. This inability to incorporate the best implementations of the best algorithms is unsatisfactory.
|
| 21 |
+
|
| 22 |
+
In this paper, we propose a method that, at the cost of one hyperparameter, implements a backward pass for a blackbox implementation of a combinatorial algorithm or a solver that optimizes a linear objective function. This effectively turns the algorithm or solver into a composable building block of neural network architectures, as illustrated in Fig. 1. Suitable problems with linear objective include classical problems such as SHORTEST-PATH, TRAVELING-SALESMAN (TSP), MIN-COSTPERFECT-MATCHING, various cut problems as well as entire frameworks such as integer programs (IP), Markov random fields (MRF) and conditional random fields (CRF).
|
| 23 |
+
|
| 24 |
+

|
| 25 |
+
Figure 1: Architecture design enabled by Theorem 1. Blackbox combinatorial solver embedded into a neural network.
|
| 26 |
+
|
| 27 |
+
The main technical challenge boils down to providing an informative gradient of a piecewise constant function. To that end, we are able to heavily leverage the minimization structure of the underlying combinatorial problem and efficiently compute a gradient of a continuous interpolation. While the roots of the method lie in loss-augmented inference, the employed mathematical technique for continuous interpolation is novel. The computational cost of the introduced backward pass matches the cost of the forward pass. In particular, it also amounts to one call to the solver.
|
| 28 |
+
|
| 29 |
+
In experiments, we train architectures that contain unmodified implementations of the following efficient combinatorial algorithms: general-purpose mixed-integer programming solver Gurobi (Gurobi Optimization, 2019), state-of-the-art C implementation of MIN-COST-PERFECTMATCHING algorithm – Blossom V (Kolmogorov, 2009) and Dijkstra’s algorithm (Dijkstra, 1959) for SHORTEST-PATH. We demonstrate that the resulting architectures train without sophisticated tweaks and are able to solve tasks that are beyond the capabilities of conventional neural networks.
|
| 30 |
+
|
| 31 |
+
# 2 RELATED WORK
|
| 32 |
+
|
| 33 |
+
Multiple lines of work lie at the intersection of combinatorial algorithms and deep learning. We primarily distinguish them by their motivation.
|
| 34 |
+
|
| 35 |
+
Motivated by applied problems. Even though computer vision has seen a substantial shift from combinatorial methods to deep learning, some problems still have a strong combinatorial aspect and require hybrid approaches. Examples include multi-object tracking (Schulter et al., 2017), semantic segmentation (Chen et al., 2018), multi-person pose estimation (Pishchulin et al., 2016; Song et al., 2018), stereo matching (Knobelreiter et al. ¨ , 2017) and person re-identification (Ye et al., 2017). The combinatorial algorithms in question are typically Markov random fields (MRF) (Chen et al., 2015), conditional random fields (CRF) (Marin et al., 2019), graph matching (Ye et al., 2017) or integer programming (Schulter et al., 2017). In recent years, a plethora of hybrid end-to-end architectures have been proposed. The techniques used for constructing the backward pass range from employing various relaxations and approximations of the combinatorial problem (Chen et al., 2015; Zheng et al., 2015) over differentiating a fixed number of iterations of an iterative solver (Paschalidou et al., 2018; Tompson et al., 2014; Liu et al., 2015) all the way to relying on the structured SVM framework (Tsochantaridis et al., 2005; Chen et al., 2015).
|
| 36 |
+
|
| 37 |
+
Motivated by “bridging the gap”. Building links between combinatorics and deep learning can also be viewed as a foundational problem; for example, (Battaglia et al., 2018) advocate that “combinatorial generalization must be a top priority for AI”. One such line of work focuses on designing architectures with algorithmic structural prior – for example by mimicking the layout of a Turing machine (Sukhbaatar et al., 2015; Vinyals et al., 2015; Graves et al., 2014; 2016) or by promoting behaviour that resembles message-passing algorithms as it is the case in Graph Neural Networks and related architectures (Scarselli et al., 2009; Li et al., 2016; Battaglia et al., 2018). Another approach is to provide neural network building blocks that are specialized to solve some types of combinatorial problems such as satisfiability (SAT) instances (Wang et al., 2019), mixed integer programs (Ferber et al., 2019), sparse inference (Niculae et al., 2018), or submodular maximization (Tschiatschek et al., 2018). A related mindset of learning inputs to an optimization problem gave rise to the “predict-and-optimize” framework and its variants (Elmachtoub & Grigas, 2017; Demirovic et al., 2019; Mandi et al., 2019). Some works have directly addressed the question of learning combinatorial optimization algorithms such as the TRAVELING-SALESMAN-PROBLEM in (Bello et al., 2017) or its vehicle routing variants (Nazari et al., 2018). A recent approach also learns combinatorial algorithms via a clustering proxy (Wilder et al., 2019).
|
| 38 |
+
|
| 39 |
+
There are also efforts to bridge the gap in the opposite direction; to use deep learning methods to improve state-of-the-art combinatorial solvers, typically by learning (otherwise hand-crafted) heuristics. Some works have again targeted the TRAVELING-SALESMAN-PROBLEM (Kool et al., 2019; Deudon et al., 2018; Bello et al., 2017) as well as other NP-Hard problems (Li et al., 2018). Also, more general solvers received some attention; this includes SAT-solvers (Selsam & Bjørner, 2019; Selsam et al., 2019), integer programming solvers (often with learning branch-and-bound rules) (Khalil et al., 2016; Balcan et al., 2018; Gasse et al., 2019) and SMT-solvers (satisfiability modulo theories)(Balunovic et al., 2018).
|
| 40 |
+
|
| 41 |
+
# 3 METHOD
|
| 42 |
+
|
| 43 |
+
Let us first formalize the notion of a combinatorial solver. We expect the solver to receive continuous input $w \in W \subseteq \mathbb { R } ^ { N }$ (e.g. edge weights of a fixed graph) and return discrete output $y$ from some finite set $Y$ (e.g. all traveling salesman tours on a fixed graph) that minimizes some cost $\mathbf { c } ( w , y )$ (e.g. length of the tour). More precisely, the solver maps
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
w \mapsto y ( w ) \quad { \mathrm { s u c h ~ t h a t } } \quad y ( w ) = \arg \operatorname* { m i n } _ { y \in Y } \mathbf { \exp } ( w , y ) .
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
We will restrict ourselves to objective functions $\mathbf { c } ( w , y )$ that are linear , namely $\mathbf { c } ( w , y )$ may be represented as
|
| 50 |
+
|
| 51 |
+
$$
|
| 52 |
+
\mathbf { c } ( w , y ) = w \cdot \phi ( y ) \quad { \mathrm { f o r ~ } } w \in W { \mathrm { ~ a n d ~ } } y \in Y
|
| 53 |
+
$$
|
| 54 |
+
|
| 55 |
+
in which $\phi \colon Y \mathbb { R } ^ { N }$ is an injective representation of $y \in Y$ in $\mathbb { R } ^ { N }$ . For brevity, we omit the mapping $\phi$ and instead treat elements of $Y$ as discrete points in $\mathbb { R } ^ { N }$ .
|
| 56 |
+
|
| 57 |
+
Note that such definition of a solver is still very general as there are no assumptions on the set of constraints or on the structure of the output space $Y$ .
|
| 58 |
+
|
| 59 |
+
Example 1 (Encoding shortest-path problem). If $G = ( V , E )$ is a given graph with vertices $s , t \in V$ , the combinatorial solver for the $( s , t )$ -SHORTEST-PATH would take edge weights $w \in W = \mathbb { R } ^ { | E | }$ as input and produce the shortest path $y ( w )$ represented as $\phi ( y ) \subseteq \{ 0 , 1 \} ^ { | E | }$ an indicator vector of the selected edges. The cost function is then indeed the inner product $\mathbf { c } ( \dot { w } , y ) = w \cdot { \phi } ( y )$ .
|
| 60 |
+
|
| 61 |
+
The task to solve during back-propagation is the following. We receive the gradient $\mathrm { d } L / \mathrm { d } y$ of the global loss $L$ with respect to solver output $y$ at a given point $\hat { y } = y ( \hat { w } )$ . We are expected to return $\mathrm { d } L / \mathrm { d } w$ , the gradient of the loss with respect to solver input $w$ at a point $\hat { w }$ .
|
| 62 |
+
|
| 63 |
+
Since $Y$ is finite, there are only finitely many values of $y ( w )$ . In other words, this function of $w$ is piecewise constant and the gradient is identically zero or does not exist (at points of jumps). This should not come as a surprise; if one does a small perturbation to edge weights of a graph, one usually does not change the optimal TSP tour and on rare occasions alters it drastically. This has an important consequence:
|
| 64 |
+
|
| 65 |
+
The fundamental problem with differentiating through combinatorial solvers is not the lack of differentiability; the gradient exists almost everywhere. However, this gradient is a constant zero and as such is unhelpful for optimization.
|
| 66 |
+
|
| 67 |
+
Accordingly, we will not rely on standard techniques for gradient estimation (see (Mohamed et al., 2019) for a comprehensive survey).
|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
Figure 2: Continuous interpolation of a piecewise constant function. (a) $f _ { \lambda }$ for a small value of $\lambda$ ; the set $W _ { \mathrm { e q } } ^ { \lambda }$ is still substantial and only two interpolators $g _ { 1 }$ and $g _ { 2 }$ are incomplete. Also, all interpolators are 0-interpolators. (b) $f _ { \lambda }$ for a high value of $\lambda$ ; most interpolators are incomplete and we also encounter a $\delta$ -interpolator $g _ { 3 }$ (between $y _ { 1 }$ and $y _ { 2 }$ ) which attains the value $f ( y _ { 1 } )$ δ-away from the set $P _ { 1 }$ . Despite losing some local structure for high $\lambda$ , the gradient of $f _ { \lambda }$ is still informative.
|
| 71 |
+
|
| 72 |
+
First, we simplify the situation by considering the linearization $f$ of $L$ at the point $\hat { y }$ . Then for
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
f ( y ) = L ( \hat { y } ) + \frac { \mathrm { d } L } { \mathrm { d } y } ( \hat { y } ) \cdot ( y - \hat { y } ) \quad \mathrm { w e ~ h a v e } \quad \frac { \mathrm { d } f \big ( y ( w ) \big ) } { \mathrm { d } w } = \frac { \mathrm { d } L } { \mathrm { d } w }
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
and therefore it suffices to focus on differentiating the piecewise constant function $f ( \boldsymbol { y } ( \boldsymbol { w } ) )$
|
| 79 |
+
|
| 80 |
+
If the piecewise constant function at hand was arbitrary, we would be forced to use zero-order gradient estimation techniques such as computing finite differences. These require prohibitively many function evaluations particularly for high-dimensional problems.
|
| 81 |
+
|
| 82 |
+
However, the function $f ( \boldsymbol { y } ( \boldsymbol { w } ) )$ is a result of a minimization process and it is known that for smooth spaces $Y$ there are techniques for such “differentiation through argmin” (Schmidt & Roth, 2014; Samuel & Tappen, 2009; Foo et al., 2008; Domke, 2012; Amos et al., 2017; Amos & Kolter, 2017). It turns out to be possible to build – with different mathematical tools – a viable discrete analogy. In particular, we can efficiently construct a function $f _ { \lambda } ( w )$ , a continuous interpolation of $f ( y ( w ) )$ , whose gradient we return (see Fig. 2). The hyper-parameter $\lambda > 0$ controls the trade-off between “informativeness of the gradient” and “faithfulness to the original function”.
|
| 83 |
+
|
| 84 |
+
Before diving into the formalization, we present the final algorithm as listed in Algo. 1. It is simple to implement and the backward pass indeed only runs the solver once on modified input. Providing the justification, however, is not straightforward, and it is the subject of the rest of the section.
|
| 85 |
+
|
| 86 |
+
<table><tr><td colspan="2">Algorithm1 Forward and Backward Pass</td></tr><tr><td>function FORWARDPASS(ω)</td><td>function BACKWARDPASS( (), λ)</td></tr><tr><td>y := Solver(ω) I y= y(ω)</td><td>load ω and y from forward pass</td></tr><tr><td>save ω and y for backward pass</td><td>w':=w+>. 品 (y)</td></tr><tr><td>return y</td><td>Il Calculate perturbed weights</td></tr><tr><td></td><td>yx := Solver(w')</td></tr><tr><td></td><td>return Vωfx(ω) := -1[y - yx]</td></tr><tr><td></td><td>ll Gradient of continuous interpolation</td></tr></table>
|
| 87 |
+
|
| 88 |
+
# 3.1 CONSTRUCTION AND PROPERTIES OF $f _ { \lambda }$
|
| 89 |
+
|
| 90 |
+
Before we give the exact definition of the function $f _ { \lambda }$ , we formulate several requirements on it. This will help us understand why $f _ { \lambda } ( w )$ is a reasonable replacement for $f ( \boldsymbol { y } ( \boldsymbol { w } ) )$ and, most importantly, why its gradient captures changes in the values of $f$ .
|
| 91 |
+
|
| 92 |
+
Property A1. For each $\lambda > 0$ , $f _ { \lambda }$ is continuous and piecewise affine.
|
| 93 |
+
|
| 94 |
+
The second property describes the trade-off induced by changing the value of $\lambda$ . For $\lambda > 0$ , we define sets $\dot { W } _ { \mathrm { e q } } ^ { \lambda }$ and $\dot { W } _ { \mathrm { d i f } } ^ { \lambda }$ as the sets where $f ( \boldsymbol { y } ( \boldsymbol { w } ) )$ and $f _ { \lambda } ( w )$ coincide and where they differ, i.e.
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
W _ { \mathrm { e q } } ^ { \lambda } = \left\{ w \in W : f _ { \lambda } ( w ) = f \bigl ( y ( w ) \bigr ) \right\} \quad \mathrm { a n d } \quad W _ { \mathrm { d i f } } ^ { \lambda } = W \setminus W _ { \mathrm { e q } } ^ { \lambda } .
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
Property A2. The sets $W _ { \mathrm { d i f } } ^ { \lambda }$ are monotone in $\lambda$ and they vanish as $\lambda 0 ^ { + }$ , i.e.
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
W _ { \mathrm { d i f } } ^ { \lambda _ { 1 } } \subseteq W _ { \mathrm { d i f } } ^ { \lambda _ { 2 } } \quad \mathrm { f o r } 0 < \lambda _ { 1 } \leq \lambda _ { 2 } \quad \mathrm { a n d } \quad W _ { \mathrm { d i f } } ^ { \lambda } \to \varnothing \quad \mathrm { a s } \ \lambda \to 0 ^ { + } .
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
In other words, Property A2 tells us that $\lambda$ controls the size of the set where $f _ { \lambda }$ deviates from $f$ and where $f _ { \lambda }$ has meaningful gradient. This behaviour of $f _ { \lambda }$ can be seen in Fig. 2.
|
| 107 |
+
|
| 108 |
+
In the third and final property, we want to capture the interpolation behavior of $f _ { \lambda }$ . For that purpose, we define a $\delta$ -interpolator of $f$ . We say that $g$ , defined on a set $G \subset W$ , is a $\delta$ -interpolator of $f$ between $y _ { 1 }$ and $y _ { 2 } \in Y$ , if
|
| 109 |
+
|
| 110 |
+
• $g$ is non-constant affine function;
|
| 111 |
+
• the image $g ( G )$ is an interval with endpoints $f ( y _ { 1 } )$ and $f ( y _ { 2 } )$ ;
|
| 112 |
+
• $g$ attains the boundary values $f ( y _ { 1 } )$ and $f ( y _ { 2 } )$ at most $\delta$ -far away from where $f ( y ( w ) )$ does. In particular, there is a point $w _ { k } \in G$ for which $g ( w _ { k } ) = f ( y _ { k } )$ and $\mathrm { d i s t } ( w _ { k } , P _ { k } ) \le \delta$ , where $P _ { k } = \{ w \in W : y ( w ) = y _ { k } \}$ , for $k = 1 , 2$ .
|
| 113 |
+
|
| 114 |
+
In the special case of a 0-interpolator $g$ , the graph of $g$ connects (in a topological sense) two components of the graph of $f ( y ( \dot { w } ) )$ . In the general case, $\delta$ measures displacement of the interpolator (see also Fig. 2 for some examples). This displacement on the one hand loosens the connection to $\dot { f } \left( y ( w ) \right)$ but on the other hand allows for less local interpolation which might be desirable.
|
| 115 |
+
|
| 116 |
+
Property A3. The function $f _ { \lambda }$ consists of finitely many (possibly incomplete) $\delta$ -interpolators of $f$ on $\hat { W } _ { \mathrm { d i f } } ^ { \lambda }$ where $\delta \leq C \lambda$ for some fixed $C$ . Equivalently, the displacement is linearly controlled by $\lambda$
|
| 117 |
+
|
| 118 |
+
Intuitively, the consequence of Property A3 is that $f _ { \lambda }$ has reasonable gradients everywhere since it consists of elementary affine interpolators.
|
| 119 |
+
|
| 120 |
+
For defining the function $f _ { \lambda }$ , we need a solution of a perturbed optimization problem
|
| 121 |
+
|
| 122 |
+
$$
|
| 123 |
+
y _ { \lambda } ( w ) = { \underset { y \in Y } { \operatorname { a r g m i n } } } \{ \mathbf { c } ( w , y ) + \lambda f ( y ) \} .
|
| 124 |
+
$$
|
| 125 |
+
|
| 126 |
+
Theorem 1. Let $\lambda > 0$ . The function $f _ { \lambda }$ defined by
|
| 127 |
+
|
| 128 |
+
$$
|
| 129 |
+
f _ { \lambda } ( w ) = f { \big ( } y _ { \lambda } ( w ) { \big ) } - { \frac { 1 } { \lambda } } { \Big [ } \mathbf { c } { \big ( } w , y ( w ) { \big ) } - \mathbf { c } { \big ( } w , y _ { \lambda } ( w ) { \big ) } { \Big ] }
|
| 130 |
+
$$
|
| 131 |
+
|
| 132 |
+
satisfies Properties A1, A2, A3.
|
| 133 |
+
|
| 134 |
+
Let us remark that already the continuity of $f _ { \lambda }$ is not apparent from its definition as the first term $f ( y _ { \lambda } ( w ) )$ is still a piecewise constant function. Proof of this result, along with geometrical description of $f _ { \lambda }$ , can be found in section A.2. Fig. 3 visualizes $f _ { \lambda }$ for different values if $\lambda$ .
|
| 135 |
+
|
| 136 |
+
Now, since $f _ { \lambda }$ is ensured to be differentiable, we have
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
\nabla f _ { \lambda } ( w ) = - \frac { 1 } { \lambda } \Big [ \frac { \mathrm { d } \mathbf { c } } { \mathrm { d } w } \big ( w , y ( w ) \big ) - \frac { \mathrm { d } \mathbf { c } } { \mathrm { d } w } \big ( w , y _ { \lambda } ( w ) \big ) \Big ] = - \frac { 1 } { \lambda } \big [ y ( w ) - y _ { \lambda } ( w ) \big ] .
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
The second equality then holds due to (2). We then return $\nabla f _ { \lambda }$ as a loss gradient.
|
| 143 |
+
|
| 144 |
+
Remark 1. The roots of the method we propose lie in loss-augmented inference. In fact, the update rule from (5) (but not the function $f _ { \lambda }$ or any of its properties) was already proposed in a different context in (Hazan et al., 2010; Song et al., 2016) and was later used in (Lorberbom et al., 2018; Mohapatra et al., 2018). The main difference to our work is that only the case of $\lambda 0 ^ { + }$ is recommended and studied, which in our situation computes the correct but uninformative zero gradient. Our analysis implies that larger values of $\lambda$ are not only sound but even preferable. This will be seen in experiments where we use values $\lambda \approx 1 0 - 2 0$ .
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
Figure 3: Example $f _ { \lambda }$ for $w \in \mathbb { R } ^ { 2 }$ and $\lambda = 3 , 1 0 , 2 0$ (left to right). As $\lambda$ changes, the interpolation $f _ { \lambda }$ is less faithful to the piecewise constant $f ( \boldsymbol { y } ( \boldsymbol { w } ) )$ but provides reasonable gradient on a larger set.
|
| 148 |
+
|
| 149 |
+
# 3.2 EFFICIENT COMPUTATION OF $f _ { \lambda }$
|
| 150 |
+
|
| 151 |
+
Computing $y _ { \lambda }$ in (3) is the only potentially expensive part of evaluating (5). However, the linear interplay of the cost function and the gradient trivially gives a resolution.
|
| 152 |
+
|
| 153 |
+
Proposition 1. Let $\hat { w } \in W$ be fixed. If we set $\begin{array} { r } { w ^ { \prime } = \hat { w } + \lambda \frac { \mathrm { d } L } { \mathrm { d } y } ( \hat { y } ) } \end{array}$ , we can compute $y _ { \lambda }$ as
|
| 154 |
+
|
| 155 |
+
$$
|
| 156 |
+
\boldsymbol { y } _ { \lambda } ( \hat { w } ) = \underset { \boldsymbol { y } \in Y } { \arg \operatorname* { m i n } } \mathbf { c } ( w ^ { \prime } , \boldsymbol { y } ) .
|
| 157 |
+
$$
|
| 158 |
+
|
| 159 |
+
In other words, $y _ { \lambda }$ is the output of calling the solver on input $w ^ { \prime }$ .
|
| 160 |
+
|
| 161 |
+
# 4 EXPERIMENTS
|
| 162 |
+
|
| 163 |
+
In this section, we experimentally validate a proof of concept: that architectures containing exact blackbox solvers (with backward pass provided by Algo. 1) can be trained by standard methods.
|
| 164 |
+
|
| 165 |
+
Table 1: Experiments Overview.
|
| 166 |
+
|
| 167 |
+
<table><tr><td>Graph Problem</td><td>Solver</td><td>Solver instance size</td><td>Input format</td></tr><tr><td>Shortest path</td><td>Dijkstra</td><td>up to 900 vertices</td><td>(image) up to 240 × 240</td></tr><tr><td>Min Cost PM</td><td>Blossom V</td><td>up to 1104 edges</td><td>(image) up to 528 × 528</td></tr><tr><td>Traveling Salesman</td><td>Gurobi</td><td>up to 780 edges</td><td>up to 40 images (20 × 40)</td></tr></table>
|
| 168 |
+
|
| 169 |
+
To that end, we solve three synthetic tasks as listed in Tab. 1. These tasks are designed to mimic practical examples from Section 2 and solving them anticipates a two-stage process: 1) extract suitable features from raw input, 2) solve a combinatorial problem over the features. The dimensionalities of input and of intermediate representations also aim to mirror practical problems and are chosen to be prohibitively large for zero-order gradient estimation methods. Guidelines of setting the hyperparameter $\lambda$ are given in section A.1.
|
| 170 |
+
|
| 171 |
+
We include the performance of ResNet18 (He et al., 2016) as a sanity check to demonstrate that the constructed datasets are too complex for standard architectures.
|
| 172 |
+
|
| 173 |
+
Remark 2. The included solvers have very efficient implementations and do not severely impact runtime. All models train in under two hours on a single machine with 1 GPU and no more than 24 utilized CPU cores. Only for the large TSP problems the solver’s runtime dominates.
|
| 174 |
+
|
| 175 |
+
# 4.1 WARCRAFT SHORTEST PATH
|
| 176 |
+
|
| 177 |
+
Problem input and output. The training dataset for problem $\operatorname { S P } ( k )$ consists of 10000 examples of randomly generated images of terrain maps from the Warcraft II tileset (Guyomarch, 2017). The maps have an underlying grid of dimension $k \times k$ where each vertex represents a terrain with a fixed cost that is unknown to the network. The shortest (minimum cost) path between top left and bottom right vertices is encoded as an indicator matrix and serves as a label (see also Fig. 4). We consider datasets $\operatorname { S P } ( k )$ for $k \in \{ 1 2 , 1 8 , 2 4 , 3 0 \}$ . More experimental details are provided in section A.3.
|
| 178 |
+
|
| 179 |
+

|
| 180 |
+
Figure 4: The $\operatorname { S P } ( k )$ dataset. (a) Each input is a $k \times k$ grid of tiles corresponding to a Warcraft II terrain map, the respective label is a the matrix indicating the shortest path from top left to bottom right. (b) is a different map with correctly predicted shortest path.
|
| 181 |
+
|
| 182 |
+
Architecture. An image of the terrain map is presented to a convolutional neural network which outputs a $k \times k$ grid of vertex costs. These costs are then the input to the Dijkstra algorithm to compute the predicted shortest path for the respective map. The loss used for computing the gradient update is the Hamming distance between the true shortest path and the predicted shortest path.
|
| 183 |
+
|
| 184 |
+
Results. Our method learns to predict the shortest paths with high accuracy and generalization capability, whereas the ResNet18 baseline unsurprisingly fails to generalize already for small grid sizes of $k \_ =$ 12. Since the shortest paths in the maps are often nonunique (i.e. there are multiple shortest paths with the same cost), we report the percentage of shortest path predictions that have optimal cost. The results are summarized in Tab. 2.
|
| 185 |
+
|
| 186 |
+
Table 2: Results for Warcraft shortest path. Reported is the accuracy, i.e. percentage of paths with the optimal costs. Standard deviations are over five restarts.
|
| 187 |
+
|
| 188 |
+
<table><tr><td colspan="3">Embedding Dijkstra</td><td colspan="2">ResNet18</td></tr><tr><td>k</td><td>Train %</td><td>Test %</td><td>Train %</td><td>Test %</td></tr><tr><td>12</td><td>99.7±0.0</td><td>96.0± 0.3</td><td>100.0±0.0</td><td>23.0± 0.3</td></tr><tr><td>18</td><td>98.9 ± 0.2</td><td>94.4 ± 0.2</td><td>99.9 ± 0.0</td><td>0.7 ± 0.3</td></tr><tr><td>24</td><td>97.8 ± 0.2</td><td>94.4±0.6</td><td>100.0± 0.0</td><td>0.0±0.0</td></tr><tr><td>30</td><td>97.4± 0.1</td><td>94.0 ± 0.3</td><td>95.6 ± 0.5</td><td>0.0± 0.0</td></tr></table>
|
| 189 |
+
|
| 190 |
+
# 4.2 GLOBE TRAVELING SALESMAN PROBLEM
|
| 191 |
+
|
| 192 |
+
Problem input and output. The training dataset for problem $\mathrm { T S P } ( k )$ consists of 10000 examples where the input for each example is a $k$ -element subset of fixed 100 country flags and the label is the shortest traveling salesman tour through the capitals of the corresponding countries. The optimal tour is represented by its adjacency matrix (see also Fig. 5). We consider datasets $\mathrm { T S P } ( k )$ for $k \in \{ 5 , 1 0 , 2 0 , 4 0 \}$ .
|
| 193 |
+
|
| 194 |
+

|
| 195 |
+
Figure 5: The $\mathrm { T S P } ( k )$ problem. (a) illustrates the dataset. Each input is a sequence of $k$ flags and the corresponding label is the adjacency matrix of the optimal TSP tour around the corresponding capitals. (b) displays the learned locations of 10 country capitals in southeast Asia and Australia, accurately recovering their true position.
|
| 196 |
+
|
| 197 |
+
Architecture. Each of the $k$ flags is presented to a convolutional network that produces $k$ threedimensional vectors. These vectors are projected onto the unit sphere in $\mathbb { R } ^ { 3 }$ ; a representation of the globe. The TSP solver receives a matrix of pairwise distances of the $k$ computed locations. The loss of the network is the Hamming distance between the true and the predicted TSP adjacency matrix. The architecture is expected to learn the correct representations of the flags (i.e. locations of the respective countries’ capitals on Earth, up to rotations of the sphere). The employed Gurobi solver optimizes a mixed-integer programming formulation of TSP using the cutting plane method (Marchand et al., 2002) for lazy sub-tour elimination.
|
| 198 |
+
|
| 199 |
+
Results. This architecture not only learns to extract the correct TSP tours but also learns the correct representations. Quantitative evidence is presented in Tab. 3, where we see that the learned locations generalize well and lead to correct TSP tours also on the test set and also on somewhat large instances (note that there are $3 9 ! \approx 1 0 ^ { 4 6 }$ admissible TSP tours for $k = 4 0$ ). The baseline architecture
|
| 200 |
+
|
| 201 |
+
Table 3: Results for Globe TSP. Reported is the full tour accuracy. Standard deviations are over five restarts.
|
| 202 |
+
|
| 203 |
+
<table><tr><td></td><td>Embedding TSP Solver</td><td></td><td>ResNet18</td></tr><tr><td>k</td><td>Train %</td><td>Test %</td><td>Train % Test %</td></tr><tr><td>5</td><td>99.8± 0.0</td><td>99.2 ± 0.1</td><td>100.0± 0.0 1.9 ± 0.6</td></tr><tr><td>10</td><td>99.8 ±0.1</td><td>98.7 ± 0.2 99.0± 0.1</td><td>0.0±0.0</td></tr><tr><td>20</td><td>99.1 ± 0.1</td><td>98.4± 0.4 98.8 ± 0.3</td><td>0.0 ± 0.0</td></tr><tr><td>40</td><td>97.4± 0.2</td><td>96.7± 0.4 96.9 ± 0.3</td><td>0.0±0.0</td></tr></table>
|
| 204 |
+
|
| 205 |
+
only memorizes the training set. Additionally, we can extract the suggested locations of world capitals and compare them with reality. To that end, we present Fig. 5b, where the learned locations of 10 capitals in Southeast Asia are displayed.
|
| 206 |
+
|
| 207 |
+
# 4.3 MNIST MIN-COST PERFECT MATCHING
|
| 208 |
+
|
| 209 |
+
Problem input and output. The training dataset for problem $\mathrm { P M } ( k )$ consists of 10000 examples where the input to each example is a set of $k ^ { 2 }$ digits drawn from the MNIST dataset arranged in a $k \times k$ grid. For computing the label, we consider the underlying $k \times k$ grid graph (without diagonal edges) and solve a MIN-COST-PERFECT-MATCHING problem, where edge weights are given simply by reading the two vertex digits as a two-digit number (we read downwards for vertical edges and from left to right for horizontal edges). The optimal perfect matching (i.e. the label) is encoded by an indicator vector for the subset of the selected edges, see example in Fig. 6.
|
| 210 |
+
|
| 211 |
+
Architecture. The grid image is the input of a convolutional neural network which outputs a grid of vertex weights. These weights are transformed into edge weights as described above and given to the solver. The loss function is Hamming distance between solver output and the true label.
|
| 212 |
+
|
| 213 |
+
Results. The architecture containing the solver is capable of good generalizations suggesting that the correct representation is learned. The performance is good even on larger instances and despite the presence of noise in supervision – often there are many optimal matchings. In contrast, the ResNet18 baseline only achieves reasonable performance for the simplest case PM(4). The results are summarized in Tab. 4.
|
| 214 |
+
|
| 215 |
+
Table 4: Results for MNIST Min-cost perfect matching. Reported is the accuracy of predicting an optimal matching. Standard deviations are over five restarts.
|
| 216 |
+
|
| 217 |
+
<table><tr><td></td><td>Embedding Blossom V</td><td></td><td>ResNet18</td></tr><tr><td>k</td><td>Train %</td><td>Test %</td><td>Train % Test %</td></tr><tr><td>4</td><td>99.97 ± 0.01</td><td>98.32 ± 0.24 99.92 ± 0.01</td><td>100.0± 0.0 92.5±0.3 8.3±0.8</td></tr><tr><td>8 16</td><td>99.95 ± 0.04</td><td>99.06± 0.57</td><td>100.0 ± 0.0 100.0± 0.0 0.0±0.0</td></tr><tr><td>24</td><td>99.02 ± 0.84</td><td>92.06 ± 7.97</td><td>96.1 ± 0.5 0.0±0.0</td></tr><tr><td></td><td>95.63 ± 5.49</td><td></td><td></td></tr></table>
|
| 218 |
+
|
| 219 |
+
# 5 DISCUSSION
|
| 220 |
+
|
| 221 |
+
We provide a unified mathematically sound algorithm to embed combinatorial algorithms into neural networks. Its practical implementation is straightforward and training succeeds with standard deep learning techniques. The two main branches of future work are: 1) exploring the potential of newly enabled architectures, 2) addressing standing real-world problems. The latter case requires embedding approximate solvers (that are common in practice). This breaks some of our theoretical guarantees but given their strong empirical performance, the fusion might still work well in practice.
|
| 222 |
+
|
| 223 |
+

|
| 224 |
+
Figure 6: Visualization of the PM dataset. (a) shows the case of $\mathrm { P M } ( 4 )$ . Each input is a $4 \times 4$ grid of MNIST digits and the corresponding label is the indicator vector for the edges in the min-cost perfect matching. (b) shows the correct min-cost perfect matching output from the network. The cost of the matching is 348 ( $4 6 + 1 2$ horizontally and $2 7 + 4 5 + 4 0 + 6 7 + 7 8 + 3 3$ vertically).
|
| 225 |
+
|
| 226 |
+
# ACKNOWLEDGEMENT
|
| 227 |
+
|
| 228 |
+
We thank the International Max Planck Research School for Intelligent Systems (IMPRS-IS) for supporting Marin Vlastelica. We acknowledge the support from the German Federal Ministry of Education and Research (BMBF) through the Tbingen AI Center (FKZ: 01IS18039B). Additionally, we would like to thank Paul Swoboda and Alexander Kolesnikov for valuable feedback on an early version of the manuscript.
|
| 229 |
+
|
| 230 |
+
# REFERENCES
|
| 231 |
+
|
| 232 |
+
Google’s or-tools, 2019. URL https://developers.google.com/optimization/.
|
| 233 |
+
|
| 234 |
+
Brandon Amos and J. Zico Kolter. Optnet: Differentiable optimization as a layer in neural networks. arXiv, 1703.00443, 2017. URL http://arxiv.org/abs/1703.00443.
|
| 235 |
+
|
| 236 |
+
Brandon Amos, Lei Xu, and J Zico Kolter. Input convex neural networks. In 34th International Conference on Machine Learning (ICML’17), pp. 146–155. JMLR, 2017.
|
| 237 |
+
|
| 238 |
+
Maria-Florina Balcan, Travis Dick, Tuomas Sandholm, and Ellen Vitercik. Learning to branch. In Jennifer G. Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmassan, Stockholm, Sweden, July 10-15, 2018 ¨ , volume 80 of Proceedings of Machine Learning Research, pp. 353–362. PMLR, 2018. URL http://proceedings.mlr.press/v80/balcan18a.html.
|
| 239 |
+
|
| 240 |
+
Mislav Balunovic, Pavol Bielik, and Martin Vechev. Learning to solve SMT formulas. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems 31, pp. 10317–10328. Curran Associates, Inc., 2018.
|
| 241 |
+
|
| 242 |
+
Peter Battaglia, Jessica Blake Chandler Hamrick, Victor Bapst, Alvaro Sanchez, Vinicius Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, Caglar Gulcehre, Francis Song, Andy Ballard, Justin Gilmer, George E. Dahl, Ashish Vaswani, Kelsey Allen, Charles Nash, Victoria Jayne Langston, Chris Dyer, Nicolas Heess, Daan Wierstra, Pushmeet Kohli, Matt Botvinick, Oriol Vinyals, Yujia Li, and Razvan Pascanu. Relational inductive biases, deep learning, and graph networks. arXiv, abs/1806.01261, 2018. URL http://arxiv.org/abs/1806.01261.
|
| 243 |
+
|
| 244 |
+
Irwan Bello, Hieu Pham, Quoc V. Le, Mohammad Norouzi, and Samy Bengio. Neural combinatorial optimization with reinforcement learning. In 5th International Conference on Learning Representations, ICLR 2017, Workshop Track Proceedings, 2017. URL http://openreview.net/forum? id=Bk9mxlSFx.
|
| 245 |
+
|
| 246 |
+
L. Chen, G. Papandreou, I. Kokkinos, K. Murphy, and A. L. Yuille. DeepLab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected CRFs. IEEE Transactions on Pattern Analysis and Machine Intelligence, 40(04):834–848, 2018.
|
| 247 |
+
|
| 248 |
+
Liang-Chieh Chen, Alexander G. Schwing, Alan L. Yuille, and Raquel Urtasun. Learning deep structured models. In Proceedings of the 32nd International Conference on International Conference on Machine Learning, ICML’15, pp. 1785–1794. JMLR, 2015.
|
| 249 |
+
|
| 250 |
+
Emir Demirovic, Peter J. Stuckey, James Bailey, Jeffrey Chan, Christopher Leckie, Kotagiri Ramamohanarao, and Tias Guns. Predict+optimise with ranking objectives: Exhaustively learning linear functions. In Sarit Kraus (ed.), Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI 2019, Macao, China, August 10-16, 2019, pp. 1078–1085. ijcai.org, 2019. doi: 10.24963/ijcai.2019/151. URL https://doi.org/10.24963/ijcai.2019/151.
|
| 251 |
+
|
| 252 |
+
Michel Deudon, Pierre Cournut, Alexandre Lacoste, Yossiri Adulyasak, and Louis-Martin Rousseau. Learning heuristics for the tsp by policy gradient. In Willem-Jan van Hoeve (ed.), Proc. of Intl. Conf. on Integration of Constraint Programming, Artificial Intelligence, and Operations Research, pp. 170–181. Springer, 2018.
|
| 253 |
+
|
| 254 |
+
E. W. Dijkstra. A note on two problems in connexion with graphs. Numer. Math., 1(1):269–271, December 1959. doi: 10.1007/BF01386390.
|
| 255 |
+
|
| 256 |
+
Justin Domke. Generic methods for optimization-based modeling. In Artificial Intelligence and Statistics, pp. 318–326, 2012.
|
| 257 |
+
|
| 258 |
+
Jack Edmonds. Paths, trees, and flowers. Canad. J. Math., 17:449–467, 1965. URL www.cs. berkeley.edu/∼christos/classics/edmonds.ps.
|
| 259 |
+
|
| 260 |
+
Adam N. Elmachtoub and Paul Grigas. Smart ”predict, then optimize”. ArXiv, abs/1710.08005, 2017.
|
| 261 |
+
|
| 262 |
+
Aaron Ferber, Bryan Wilder, Bistra Dilkina, and Milind Tambe. Mipaal: Mixed integer program as a layer. CoRR, abs/1907.05912, 2019. URL http://arxiv.org/abs/1907.05912.
|
| 263 |
+
|
| 264 |
+
Chuan-sheng Foo, Chuong B Do, and Andrew Y Ng. Efficient multiple hyperparameter learning for log-linear models. In Advances in neural information processing systems, pp. 377–384, 2008.
|
| 265 |
+
|
| 266 |
+
Maxime Gasse, Didier Chetelat, Nicola Ferroni, Laurent Charlin, and Andrea Lodi. Exact combina- ´ torial optimization with graph convolutional neural networks. arXiv, abs/1906.01629, 2019. URL http://arxiv.org/abs/1906.01629.
|
| 267 |
+
|
| 268 |
+
John C. Gower and Garmt B. Dijksterhuis. Procrustes problems, volume 30 of Oxford Statistical Science Series. Oxford University Press, Oxford, UK, January 2004.
|
| 269 |
+
|
| 270 |
+
Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv, abs/1410.5401, 2014. URL http://arxiv.org/abs/1410.5401.
|
| 271 |
+
|
| 272 |
+
Alex Graves, Greg Wayne, Malcolm Reynolds, Tim Harley, Ivo Danihelka, Agnieszka GrabskaBarwinska, Sergio G ´ omez Colmenarejo, Edward Grefenstette, Tiago Ramalho, John Agapiou, ´ Adria Puigdom \` enech Badia, Karl Moritz Hermann, Yori Zwols, Georg Ostrovski, Adam Cain, \` Helen King, Christopher Summerfield, Phil Blunsom, Koray Kavukcuoglu, and Demis Hassabis. Hybrid computing using a neural network with dynamic external memory. Nature, 538(7626): 471–476, October 2016.
|
| 273 |
+
|
| 274 |
+
LLC Gurobi Optimization. Gurobi optimizer reference manual, 2019. URL http://www.gurobi.com.
|
| 275 |
+
|
| 276 |
+
Jean Guyomarch. Warcraft ii open-source map editor, 2017. URL http://github.com/war2/war2edit.
|
| 277 |
+
|
| 278 |
+
Tamir Hazan, Joseph Keshet, and David A. McAllester. Direct loss minimization for structured prediction. In Advances in Neural Information Processing Systems 23, pp. 1594–1602. Curran Associates, Inc., 2010.
|
| 279 |
+
|
| 280 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016.
|
| 281 |
+
|
| 282 |
+
Elias B. Khalil, Pierre Le Bodic, Le Song, George Nemhauser, and Bistra Dilkina. Learning to branch in mixed integer programming. In Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, AAAI16, pp. 724731. AAAI Press, 2016.
|
| 283 |
+
|
| 284 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization, 2014. cite arxiv:1412.6980Comment: Published as a conference paper at the 3rd International Conference for Learning Representations, San Diego, 2015.
|
| 285 |
+
|
| 286 |
+
Patrick Knobelreiter, Christian Reinbacher, Alexander Shekhovtsov, and Thomas Pock. End-to-end¨ training of hybrid cnn-crf models for stereo. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR’17), July 2017.
|
| 287 |
+
|
| 288 |
+
Vladimir Kolmogorov. Blossom V: a new implementation of a minimum cost perfect matching algorithm. Mathematical Programming Computation, 1(1):43–67, Jul 2009. doi: 10.1007/ s12532-009-0002-8. URL http://pub.ist.ac.at/∼vnk/software.html.
|
| 289 |
+
|
| 290 |
+
Wouter Kool, Herke van Hoof, and Max Welling. Attention, learn to solve routing problems! In International Conference on Learning Representations (ICLR’19), 2019. URL http://openreview. net/forum?id=ByxBFsRqYm.
|
| 291 |
+
|
| 292 |
+
Yujia Li, Richard Zemel, Marc Brockschmidt, and Daniel Tarlow. Gated graph sequence neural networks. In International Conference on Learning Representations (ICLR’16), 2016. URL http://arxiv.org/abs/1511.05493.
|
| 293 |
+
|
| 294 |
+
Zhuwen Li, Qifeng Chen, and Vladlen Koltun. Combinatorial optimization with graph convolutional networks and guided tree search. In Advances in Neural Information Processing Systems, NeurIPS’18, pp. 537–546, USA, 2018. Curran Associates Inc.
|
| 295 |
+
|
| 296 |
+
Ziwei Liu, Xiaoxiao Li, Ping Luo, Chen-Change Loy, and Xiaoou Tang. Semantic image segmentation via deep parsing network. In IEEE International Conference on Computer Vision, ICCV’15, pp. 1377–1385. IEEE Computer Society, 2015. doi: 10.1109/ICCV.2015.162.
|
| 297 |
+
|
| 298 |
+
Guy Lorberbom, Andreea Gane, Tommi S. Jaakkola, and Tamir Hazan. Direct optimization through arg max for discrete variational auto-encoder. arXiv, abs/1806.02867, 2018. URL http://arxiv. org/abs/1806.02867.
|
| 299 |
+
|
| 300 |
+
Jaynta Mandi, Emir Demirovic, Peter J. Stuckey, and Tias Guns. Smart predict-and-optimize for hard combinatorial optimization problems. CoRR, abs/1911.10092, 2019. URL http://arxiv.org/ abs/1911.10092.
|
| 301 |
+
|
| 302 |
+
Hugues Marchand, Alexander Martin, Robert Weismantel, and Laurence Wolsey. Cutting planes in integer and mixed integer programming. Discrete Appl. Math., 123(1-3):397–446, November 2002. doi: 10.1016/S0166-218X(01)00348-1.
|
| 303 |
+
|
| 304 |
+
Dmitrii Marin, Meng Tang, Ismail Ben Ayed, and Yuri Boykov. Beyond gradient descent for regularized segmentation losses. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR’19), June 2019.
|
| 305 |
+
|
| 306 |
+
Shakir Mohamed, Mihaela Rosca, Michael Figurnov, and Andriy Mnih. Monte carlo gradient estimation in machine learning. arXiv, abs/1906.10652, 2019. URL http://arxiv.org/abs/1906.10652.
|
| 307 |
+
|
| 308 |
+
Pritish Mohapatra, Michal Rol´ınek, C.V. Jawahar, Vladimir Kolmogorov, and M. Pawan Kumar. Efficient optimization for rank-based loss functions. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR’18), June 2018.
|
| 309 |
+
|
| 310 |
+
MohammadReza Nazari, Afshin Oroojlooy, Lawrence Snyder, and Martin Takac. Reinforcement learning for solving the vehicle routing problem. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems 31, pp. 9839–9849. Curran Associates, Inc., 2018. URL http://papers.nips.cc/paper/ 8190-reinforcement-learning-for-solving-the-vehicle-routing-problem.pdf.
|
| 311 |
+
|
| 312 |
+
Vlad Niculae, Andre Martins, Mathieu Blondel, and Claire Cardie. SparseMAP: Differentiable sparse structured inference. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 3799–3808, Stockholmsmssan, Stockholm Sweden, 10–15 Jul 2018. PMLR. URL http://proceedings.mlr.press/v80/niculae18a.html.
|
| 313 |
+
|
| 314 |
+
Despoina Paschalidou, Ali Osman Ulusoy, Carolin Schmitt, Luc Gool, and Andreas Geiger. Raynet: Learning volumetric 3d reconstruction with ray potentials. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR’18), 2018.
|
| 315 |
+
|
| 316 |
+
Leonid Pishchulin, Eldar Insafutdinov, Siyu Tang, Bjorn Andres, Mykhaylo Andriluka, Peter Gehler, ¨ and Bernt Schiele. Deepcut: Joint subset partition and labeling for multi person pose estimation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR’16), pp. 4929–4937. IEEE, 2016.
|
| 317 |
+
|
| 318 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks, 2015. URL http://arxiv.org/abs/1511.06434.
|
| 319 |
+
|
| 320 |
+
Prasad Raghavendra. Optimal algorithms and inapproximability results for every CSP? In Proceedings of the 40th Annual ACM Symposium on Theory of Computing, STOC ’08, pp. 245–254, New York, NY, USA, 2008. ACM. doi: 10.1145/1374376.1374414.
|
| 321 |
+
|
| 322 |
+
Kegan GG Samuel and Marshall F Tappen. Learning optimized map estimates in continuouslyvalued mrf models. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR’09), pp. 477–484, 2009.
|
| 323 |
+
|
| 324 |
+
Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. Trans. Neur. Netw., 20(1):61–80, January 2009. ISSN 1045- 9227. doi: 10.1109/TNN.2008.2005605.
|
| 325 |
+
|
| 326 |
+
Uwe Schmidt and Stefan Roth. Shrinkage fields for effective image restoration. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR’14), pp. 2774–2781, 2014.
|
| 327 |
+
|
| 328 |
+
Samuel Schulter, Paul Vernaza, Wongun Choi, and Manmohan Krishna Chandraker. Deep network flow for multi-object tracking. IEEE Conference on Computer Vision and Pattern Recognition (CVPR’17), pp. 2730–2739, 2017.
|
| 329 |
+
|
| 330 |
+
Daniel Selsam and Nikolaj Bjørner. Guiding high-performance SAT solvers with Unsat-Core predictions. In Mikola´s Janota and In ˇ es Lynce (eds.), ˆ Theory and Applications of Satisfiability Testing – SAT 2019, pp. 336–353. Springer International Publishing, 2019.
|
| 331 |
+
|
| 332 |
+
Daniel Selsam, Matthew Lamm, Benedikt Bunz, Percy Liang, Leonardo de Moura, and David L. ¨ Dill. Learning a SAT solver from single-bit supervision. In International Conference on Learning Representations (ICLR’19), 2019. URL http://openreview.net/forum?id=HJMC iA5tm.
|
| 333 |
+
|
| 334 |
+
Jie Song, Bjoern Andres, Michael Black, Otmar Hilliges, and Siyu Tang. End-to-end learning for graph decomposition. arXiv, 1812.09737, 2018. URL http://arxiv.org/abs/1812.09737.
|
| 335 |
+
|
| 336 |
+
Yang Song, Alexander Schwing, Richard, and Raquel Urtasun. Training deep neural networks via direct loss minimization. In 33rd International Conference on Machine Learning (ICML), volume 48 of Proceedings of Machine Learning Research, pp. 2169–2177. PMLR, 2016.
|
| 337 |
+
|
| 338 |
+
Sainbayar Sukhbaatar, Arthur Szlam, Jason Weston, and Rob Fergus. End-to-end memory networks. In Advances in Neural Information Processing Systems 28 (NIPS), pp. 2440–2448. Curran Associates, Inc., 2015.
|
| 339 |
+
|
| 340 |
+
Johan Thapper and Stanislav Zivn ˇ y. The limits of SDP relaxations for general-valued CSPs. In ´ 32nd Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’17, pp. 27:1–27:12, Piscataway, NJ, USA, 2017. IEEE Press.
|
| 341 |
+
|
| 342 |
+
Jonathan J Tompson, Arjun Jain, Yann LeCun, and Christoph Bregler. Joint training of a convolutional network and a graphical model for human pose estimation. In Advances in Neural Information Processing Systems 27 (NIPS’14), pp. 1799–1807. Curran Associates, Inc., 2014.
|
| 343 |
+
|
| 344 |
+
Sebastian Tschiatschek, Aytunc Sahin, and Andreas Krause. Differentiable submodular maximization. In Proc. International Joint Conference on Artificial Intelligence (IJCAI), July 2018.
|
| 345 |
+
|
| 346 |
+
Ioannis Tsochantaridis, Thorsten Joachims, Thomas Hofmann, and Yasemin Altun. Large margin methods for structured and interdependent output variables. J. Mach. Learn. Res., 6:1453–1484, 2005.
|
| 347 |
+
|
| 348 |
+
Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In Advances in Neural Information Processing Systems 28 (NIPS’15), pp. 2692–2700. Curran Associates, Inc., 2015.
|
| 349 |
+
|
| 350 |
+
Po-Wei Wang, Priya L. Donti, Bryan Wilder, and Zico Kolter. SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solver. arXiv, 1905.12149, 2019. URL http://arxiv.org/abs/1905.12149.
|
| 351 |
+
|
| 352 |
+
Bryan Wilder, Eric Ewing, Bistra Dilkina, and Milind Tambe. End to end learning and optimization on graphs. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d AlcheBuc, E. Fox, and R. Garnett (eds.), Advances in Neural Information Processing Systems 32, pp. 4674–4685. Curran Associates, Inc., 2019. URL http://papers.nips.cc/paper/ 8715-end-to-end-learning-and-optimization-on-graphs.pdf.
|
| 353 |
+
|
| 354 |
+
Mang Ye, Andy J. Ma, Liang Zheng, Jiawei Li, and Pong C. Yuen. Dynamic label graph matching for unsupervised video re-identification. In IEEE International Conference on Computer Vision (ICCV’17). IEEE Computer Society, Oct 2017.
|
| 355 |
+
|
| 356 |
+
Shuai Zheng, Sadeep Jayasumana, Bernardino Romera-Paredes, Vibhav Vineet, Zhizhong Su, Dalong Du, Chang Huang, and Philip H. S. Torr. Conditional random fields as recurrent neural networks. In IEEE International Conference on Computer Vision (ICCV’15), pp. 1529–1537. IEEE Computer Society, 2015.
|
| 357 |
+
|
| 358 |
+
# A APPENDIX
|
| 359 |
+
|
| 360 |
+
# A.1 GUIDELINES FOR SETTING THE VALUES OF $\lambda$ .
|
| 361 |
+
|
| 362 |
+
In practice, $\lambda$ has to be chosen appropriately, but we found its exact choice uncritical (no precise tuning was required). Nevertheless, note that $\lambda$ should cause a noticeable disruption in the optimization problem from equation (3), otherwise it is too likely that $y ( w ) = y _ { \lambda } ( w )$ resulting in a zero gradient. In other words, $\lambda$ should roughly be of the magnitude that brings the two terms in the definition of $w ^ { \prime }$ in Prop. 1 to the same order:
|
| 363 |
+
|
| 364 |
+
$$
|
| 365 |
+
\lambda \approx \frac { \left. w \right. } { \left. \frac { \mathrm { d } L } { \mathrm { d } y } \right. }
|
| 366 |
+
$$
|
| 367 |
+
|
| 368 |
+
where $\langle \cdot \rangle$ stands for the average. This again justifies that $\lambda$ is a true hyperparameter and that there is no reason to expect values around $\lambda \bar { } 0 ^ { \bar { + } }$ .
|
| 369 |
+
|
| 370 |
+
# A.2 PROOFS
|
| 371 |
+
|
| 372 |
+
Proof of Proposition 1. Let us write $L = L ( \hat { y } )$ and $\begin{array} { r } { \nabla L = \frac { \mathrm { d } L } { \mathrm { d } y } ( \hat { y } ) } \end{array}$ , for brevity. Thanks to the linearity of $\mathbf { c }$ and the definition of $f$ , we have
|
| 373 |
+
|
| 374 |
+
$$
|
| 375 |
+
\mathbf { c } ( \hat { w } , y ) + \lambda f ( y ) = \hat { w } y + \lambda \big ( L + \nabla L ( y - \hat { y } ) \big ) = ( \hat { w } + \lambda \nabla L ) y + \lambda L - \lambda \nabla L \hat { y } = \mathbf { c } ( w ^ { \prime } , y ) + \mathbf { c } _ { 0 } ,
|
| 376 |
+
$$
|
| 377 |
+
|
| 378 |
+
where $\mathbf { c } _ { 0 } = \lambda L - \lambda \nabla L \hat { y }$ and $w ^ { \prime } = \hat { w } + \lambda \nabla L$ as desired. The conclusion about the points of minima then follows.
|
| 379 |
+
|
| 380 |
+
Before we prove Theorem 1, we make some preliminary observations. To start with, due to the definition of the solver, we have the fundamental inequality
|
| 381 |
+
|
| 382 |
+
$$
|
| 383 |
+
\mathbf { c } ( w , y ) \geq \mathbf { c } { \big ( } w , y ( w ) { \big ) } \quad { \mathrm { f o r ~ e v e r y ~ } } w \in W { \mathrm { ~ a n d ~ } } y \in Y .
|
| 384 |
+
$$
|
| 385 |
+
|
| 386 |
+
Observation 1. The function $w \mapsto \mathbf { c } \big ( w , y ( w ) \big )$ is continuous and piecewise linear.
|
| 387 |
+
|
| 388 |
+
Proof. Since c’s are linear and distinct, $\mathbf { c } ( w , y ( w ) )$ , as their pointwise minimum, has the desired properties. □
|
| 389 |
+
|
| 390 |
+
Analogous fundamental inequality
|
| 391 |
+
|
| 392 |
+
$\mathbf { c } ( w , y ) + \lambda f ( y ) \geq \mathbf { c } { \big ( } w , y _ { \lambda } ( w ) { \big ) } + \lambda f { \big ( } y _ { \lambda } ( w ) { \big ) } \quad { \mathrm { f o r ~ e } }$ very $w \in W$ and $y \in Y$
|
| 393 |
+
|
| 394 |
+
follows from the definition of the solution to the optimization problem (3).
|
| 395 |
+
|
| 396 |
+
A counterpart of Observation 1 reads as follows.
|
| 397 |
+
|
| 398 |
+
Observation 2. The function $w \mapsto { \bf c } \big ( w , y _ { \lambda } ( w ) \big ) + \lambda f \big ( y _ { \lambda } ( w ) \big )$ is continuous and piecewise affine.
|
| 399 |
+
|
| 400 |
+
Proof. The function under inspection is a pointwise minimum of distinct affine functions $w \mapsto$ $\mathbf { c } ( w , y ) + \lambda f ( y )$ as $y$ ranges $Y$ .
|
| 401 |
+
|
| 402 |
+
As a consequence of above-mentioned fundamental inequalities, we obtain the following two-sided estimates on $f _ { \lambda }$ .
|
| 403 |
+
|
| 404 |
+
Observation 3. The following inequalities hold for $w \in W$
|
| 405 |
+
|
| 406 |
+
$$
|
| 407 |
+
f \bigl ( y _ { \lambda } ( w ) \bigr ) \leq f _ { \lambda } ( w ) \leq f \bigl ( y ( w ) \bigr ) .
|
| 408 |
+
$$
|
| 409 |
+
|
| 410 |
+
Proof. Inequality (6) implies that $\mathbf { c } \big ( w , y ( w ) \big ) - \mathbf { c } \big ( w , y _ { \lambda } ( w ) \big ) \ \leq \ 0$ and the first inequality then follows simply from the definition of $f _ { \lambda }$ . As for the second one, it suffices to apply (7) to $y =$ $y ( w )$ .
|
| 411 |
+
|
| 412 |
+
Now, let us introduce few notions that will be useful later in the proofs. For a fixed $\lambda , W$ partitions into maximal connected sets $P$ on which $y _ { \lambda } ( w )$ is constant (see Fig. 7). We denote this collection of sets by ${ \mathcal { W } } _ { \lambda }$ and set $\mathcal { W } = \mathcal { W } _ { 0 }$ .
|
| 413 |
+
|
| 414 |
+
For $\lambda \in \mathbb { R }$ and $y _ { 1 } \ne y _ { 2 } \in Y$ , we denote
|
| 415 |
+
|
| 416 |
+
$$
|
| 417 |
+
F _ { \lambda } ( y _ { 1 } , y _ { 2 } ) = \big \{ w \in W : c ( w , y _ { 1 } ) + \lambda f ( y _ { 1 } ) = c ( w , y _ { 2 } ) + \lambda f ( y _ { 2 } ) \big \} .
|
| 418 |
+
$$
|
| 419 |
+
|
| 420 |
+
We write $F ( y _ { 1 } , y _ { 2 } ) = F _ { 0 } ( y _ { 1 } , y _ { 2 } )$ , for brevity. For technical reasons, we also allow negative values of $\lambda$ here.
|
| 421 |
+
|
| 422 |
+
(a) The situation for $\lambda \ = \ 0$ . We can see the polytope $P$ on which $y ( w )$ attains $y _ { 1 } \in Y$ . The boundary of $P$ is composed of segments of lines $F ( y _ { 1 } , y _ { k } )$ for $k = 2 , \ldots , 5$ .
|
| 423 |
+
|
| 424 |
+

|
| 425 |
+
(b) The same situation is captured for some relatively small $\lambda > 0$ . Each line $F _ { \lambda } ( y _ { 1 } , y _ { k } )$ is parallel to its corresponding $F ( y _ { 1 } , y _ { k } )$ and encompasses a convex polytope in ${ \mathcal { W } } _ { \lambda }$ .
|
| 426 |
+
Figure 7: The family ${ \mathcal { W } } _ { \lambda }$ of all maximal connected sets $P$ on which $y _ { \lambda }$ is constant.
|
| 427 |
+
|
| 428 |
+
Note, that if $W \ : = \ : \mathbb { R } ^ { N }$ , then $F _ { \lambda }$ is a hyperplane since c’s are linear. In general, $W$ may just be a proper subset of $\mathbb { R } ^ { N }$ and, in that case, $F _ { \lambda }$ is just the restriction of a hyperplane onto $W$ . Consequently, it may happen that $F _ { \lambda } ( y _ { 1 } , y _ { 2 } )$ will be empty for some pair of $y _ { 1 } , y _ { 2 }$ and some $\lambda \in \mathbb { R }$ . To emphasize this fact, we say “hyperplane in $W ^ { \prime \prime }$ . Analogous considerations should be taken into account for all other linear objects. The note “in $W ^ { \prime \prime }$ stands for the intersection of these linear object with the set $W$ .
|
| 429 |
+
|
| 430 |
+
Observation 4. Let $P \in \mathcal { W } _ { \lambda }$ and let $y _ { \lambda } ( w ) = y$ for $w \in P$ . Then $P$ is a convex polytope in $W$ , where the facets consist of parts of finitely many hyperplanes $F _ { \lambda } ( y , y _ { k } )$ in $W$ for some $\{ y _ { k } \} \subset Y$ .
|
| 431 |
+
|
| 432 |
+
Proof. Assume that $W = \mathbb { R } ^ { N }$ . The values of $y _ { \lambda }$ may only change on hyperplanes of the form $F _ { \lambda } ( y , y ^ { \prime } )$ for some $y ^ { \prime } \in Y$ . Then $P$ is an intersection of corresponding half-spaces and therefore $P$ is a convex polytope. If $W$ is a proper subset of $\mathbb { R } ^ { N }$ the claim follows by intersecting all the objects with $W$ . □
|
| 433 |
+
|
| 434 |
+
Observation 5. Let $y _ { 1 } , y _ { 2 } \in Y$ be distinct. If nonempty, the hyperplanes $F ( y _ { 1 } , y _ { 2 } )$ and $F _ { \lambda } ( y _ { 1 } , y _ { 2 } )$ are parallel and their distance is equal to $| \lambda | K ( y _ { 1 } , y _ { 2 } )$ , where
|
| 435 |
+
|
| 436 |
+
$$
|
| 437 |
+
K ( y _ { 1 } , y _ { 2 } ) = { \frac { | f ( y _ { 1 } ) - f ( y _ { 2 } ) | } { \| y _ { 1 } - y _ { 2 } \| } } .
|
| 438 |
+
$$
|
| 439 |
+
|
| 440 |
+
Proof. If we define a function $c ( w ) = \mathbf { c } ( w , y _ { 1 } ) - \mathbf { c } ( w , y _ { 2 } ) = w ( y _ { 1 } - y _ { 2 } )$ and a constant $C =$ $f ( y _ { 2 } ) - f ( y _ { 1 } )$ , then our objects rewrite to
|
| 441 |
+
|
| 442 |
+
$$
|
| 443 |
+
F ( y _ { 1 } , y _ { 2 } ) = \{ w \in W : c ( w ) = 0 \} \quad { \mathrm { a n d } } \quad F _ { \lambda } ( y _ { 1 } , y _ { 2 } ) = \{ w \in W : c ( w ) = \lambda C \} .
|
| 444 |
+
$$
|
| 445 |
+
|
| 446 |
+
Since $c$ is linear, these sets are parallel and $F ( y _ { 1 } , y _ { 2 } )$ intersects the origin. Thus, the required distance is the distance of the hyperplane $F _ { \lambda } ( y _ { 1 } , y _ { 2 } )$ from the origin, which equals to $| \lambda C | / \bar { | | } y _ { 1 } -$ $y _ { 2 } \|$ . □
|
| 447 |
+
|
| 448 |
+
As the set $Y$ is finite, there is a uniform upper bound $K$ on all values of $K ( y _ { 1 } , y _ { 2 } )$ . Namely
|
| 449 |
+
|
| 450 |
+
$$
|
| 451 |
+
K = \operatorname* { m a x } _ { \boldsymbol { y } _ { 1 } , \boldsymbol { y } _ { 2 } \in \boldsymbol { Y } \atop \boldsymbol { y } _ { 1 } \neq \boldsymbol { y } _ { 2 } } K ( \boldsymbol { y } _ { 1 } , \boldsymbol { y } _ { 2 } ) .
|
| 452 |
+
$$
|
| 453 |
+
|
| 454 |
+
# A.2.1 PROOF OF THEOREM 1
|
| 455 |
+
|
| 456 |
+
Proof of Property A1. Now, Property A1 follows, since
|
| 457 |
+
|
| 458 |
+
$$
|
| 459 |
+
f _ { \lambda } ( w ) = { \frac { 1 } { \lambda } } { \Big [ } \mathbf { c } { \big ( } w , y _ { \lambda } ( w ) { \big ) } + \lambda f { \big ( } y _ { \lambda } ( w ) { \big ) } { \Big ] } - { \frac { 1 } { \lambda } } \mathbf { c } { \big ( } w , y ( w ) { \big ) }
|
| 460 |
+
$$
|
| 461 |
+
|
| 462 |
+
and $f _ { \lambda }$ is a difference of continuous and piecewise affine functions.
|
| 463 |
+
|
| 464 |
+
Proof of Property A2. Let $0 < \lambda _ { 1 } \leq \lambda _ { 2 }$ be given. We show that $W _ { \mathsf { e q } } ^ { \lambda _ { 2 } } \subseteq W _ { \mathsf { e q } } ^ { \lambda _ { 1 } }$ which is the same as showing $W _ { \mathrm { d i f } } ^ { \lambda _ { 1 } } \subseteq W _ { \mathrm { d i f } } ^ { \lambda _ { 2 } }$ . Assume that $w \in W _ { \mathrm { e q } } ^ { \lambda _ { 2 } }$ , that is, by the definition of $W _ { \mathrm { e q } } ^ { \lambda _ { 2 } }$ and $f _ { \lambda }$ ,
|
| 465 |
+
|
| 466 |
+
$$
|
| 467 |
+
\mathbf { c } \bigl ( w , y ( w ) \bigr ) + \lambda _ { 2 } f \bigl ( y ( w ) \bigr ) = \mathbf { c } ( w , y _ { 2 } ) + \lambda _ { 2 } f \bigl ( y _ { 2 } \bigr ) ,
|
| 468 |
+
$$
|
| 469 |
+
|
| 470 |
+
in which we denoted $y _ { 2 } = y _ { \lambda _ { 2 } } ( w )$ . Our goal is to show that
|
| 471 |
+
|
| 472 |
+
$$
|
| 473 |
+
\mathbf { c } \bigl ( w , y ( w ) \bigr ) + \lambda _ { 1 } f \bigl ( y ( w ) \bigr ) = \mathbf { c } ( w , y _ { 1 } ) + \lambda _ { 1 } f \bigl ( y _ { 1 } \bigr ) ,
|
| 474 |
+
$$
|
| 475 |
+
|
| 476 |
+
where $y _ { 1 } = y _ { \lambda _ { 1 } } ( w )$ as this equality then guarantees that $w \in W _ { \mathrm { e q } } ^ { \lambda _ { 1 } }$ . Observe that (7) applied to $\lambda = \lambda _ { 1 }$ and $y = y ( w )$ , yields the inequality $\because$ in (10).
|
| 477 |
+
|
| 478 |
+
Let us show the reversed inequality. By Observation 3 applied to $\lambda = \lambda _ { 1 }$ , we have
|
| 479 |
+
|
| 480 |
+
$$
|
| 481 |
+
f ( y ( w ) ) \geq f ( y _ { 1 } ) .
|
| 482 |
+
$$
|
| 483 |
+
|
| 484 |
+
We now use (7) with $\lambda = \lambda _ { 2 }$ and $y = y _ { 1 }$ , followed by equality (9) to obtain
|
| 485 |
+
|
| 486 |
+
$$
|
| 487 |
+
\begin{array} { r l } & { \mathbf c ( w , y _ { 1 } ) + \lambda _ { 1 } f ( y _ { 1 } ) = \mathbf c ( w , y _ { 1 } ) + \lambda _ { 2 } f ( y _ { 1 } ) + ( \lambda _ { 1 } - \lambda _ { 2 } ) f ( y _ { 1 } ) } \\ & { \qquad \geq \mathbf c ( w , y _ { 2 } ) + \lambda _ { 2 } f ( y _ { 2 } ) + ( \lambda _ { 1 } - \lambda _ { 2 } ) f ( y _ { 1 } ) } \\ & { \qquad = \mathbf c ( w , y ( w ) ) + \lambda _ { 2 } f \big ( y ( w ) \big ) + ( \lambda _ { 1 } - \lambda _ { 2 } ) f ( y _ { 1 } ) } \\ & { \qquad = \mathbf c \big ( w , y ( w ) \big ) + \lambda _ { 1 } f \big ( y ( w ) \big ) + ( \lambda _ { 2 } - \lambda _ { 1 } ) \big [ f \big ( y ( w ) \big ) - f ( y _ { 1 } ) \big ] } \\ & { \qquad \geq \mathbf c \big ( w , y ( w ) \big ) + \lambda _ { 1 } f \big ( y ( w ) \big ) } \end{array}
|
| 488 |
+
$$
|
| 489 |
+
|
| 490 |
+
where the last inequality holds due to (11).
|
| 491 |
+
|
| 492 |
+
Next, we have to show that $W _ { \mathrm { d i f } } ^ { \lambda } \to \emptyset$ as $\lambda 0 ^ { + }$ , i.e. that for almost every $w \in W$ , there is a $\lambda > 0$ such that $w \not \in W _ { \mathrm { d i f } } ^ { \lambda }$ . To this end, let $w \in W$ be given. We can assume that $y ( w )$ is a unique solution of solver (1), since two solutions, say $y _ { 1 }$ and $y _ { 2 }$ , coincide only on the hyperplane $F ( y _ { 1 } , y _ { 2 } )$ in $W$ , which is of measure zero. Thus, since $Y$ is finite, the constant
|
| 493 |
+
|
| 494 |
+
$$
|
| 495 |
+
c = \operatorname* { m i n } _ { y \in Y \atop y \neq y ( w ) } \left\{ \mathbf { c } ( w , y ) - \mathbf { c } \big ( w , y ( w ) \big ) \right\}
|
| 496 |
+
$$
|
| 497 |
+
|
| 498 |
+
is positive. Denote
|
| 499 |
+
|
| 500 |
+
$$
|
| 501 |
+
d = \operatorname* { m a x } _ { y \in Y } \{ f { \big ( } y ( w ) { \big ) } - f ( y ) \} .
|
| 502 |
+
$$
|
| 503 |
+
|
| 504 |
+
If $d > 0$ , set $\lambda < c / d$ . Then, for every $y \in Y$ such that $f \left( y ( w ) \right) > f ( y )$ , we have
|
| 505 |
+
|
| 506 |
+
$$
|
| 507 |
+
\lambda < \frac { \mathbf { c } ( w , y ) - \mathbf { c } ( w , y ( w ) ) } { f \big ( y ( w ) \big ) - f ( y ) }
|
| 508 |
+
$$
|
| 509 |
+
|
| 510 |
+
which rewrites
|
| 511 |
+
|
| 512 |
+
$$
|
| 513 |
+
\mathbf { c } \big ( w , y ( w ) \big ) + \lambda f \big ( y ( w ) \big ) < \mathbf { c } ( w , y ) + \lambda f ( y ) .
|
| 514 |
+
$$
|
| 515 |
+
|
| 516 |
+
For the remaining ’s, (13) holds trivially for every $\lambda > 0$ . Therefore, $y ( w )$ is a solution of the minimization problem (3), whence $y _ { \lambda } ( w ) = y ( w )$ . This shows that $w \in W _ { \mathrm { e q } } ^ { \lambda }$ as we wished. If $d = 0$ , then $f \bigl ( y ( w ) \bigr ) \leq f ( y )$ for every $y \in Y$ and (13) follows again. □
|
| 517 |
+
|
| 518 |
+
Proof of Property A3. Let $y _ { 1 } \ne y _ { 2 } \in Y$ be given. We show that on the component of the set
|
| 519 |
+
|
| 520 |
+
$$
|
| 521 |
+
\{ w \in W : y ( w ) = y _ { 1 } \mathrm { a n d } y _ { \lambda } ( w ) = y _ { 2 } \}
|
| 522 |
+
$$
|
| 523 |
+
|
| 524 |
+
the function $f _ { \lambda }$ agrees with a $\delta$ -interpolator, where $\delta \leq C \lambda$ and $C > 0$ is an absolute constant. The claim follows as there are only finitely many sets and their components of the form (14) in $W _ { \mathrm { d i f } } ^ { \lambda }$ .
|
| 525 |
+
|
| 526 |
+
Let us set
|
| 527 |
+
|
| 528 |
+
$$
|
| 529 |
+
h ( w ) = \mathbf { c } ( w , y _ { 1 } ) - \mathbf { c } ( w , y _ { 2 } ) \quad { \mathrm { f o r ~ } } w \in W
|
| 530 |
+
$$
|
| 531 |
+
|
| 532 |
+
and
|
| 533 |
+
|
| 534 |
+
$$
|
| 535 |
+
g ( w ) = f ( y _ { 2 } ) - { \frac { 1 } { \lambda } } h ( w ) .
|
| 536 |
+
$$
|
| 537 |
+
|
| 538 |
+
The condition on c tells us that $h$ is a non-constant affine function. It follows by the definition of $F ( y _ { 1 } , y _ { 2 } )$ and $F _ { \lambda } ( y _ { 1 } , y _ { 2 } )$ that
|
| 539 |
+
|
| 540 |
+
$$
|
| 541 |
+
h ( w ) = 0 \quad { \mathrm { i f ~ a n d ~ o n l y ~ i f } } \quad w \in F ( y _ { 1 } , y _ { 2 } )
|
| 542 |
+
$$
|
| 543 |
+
|
| 544 |
+
and
|
| 545 |
+
|
| 546 |
+
$$
|
| 547 |
+
h ( w ) = \lambda { \big ( } f ( y _ { 2 } ) - f ( y _ { 1 } ) { \big ) } \quad { \mathrm { i f ~ a n d ~ o n l y ~ i f } } \quad w \in F _ { \lambda } ( y _ { 1 } , y _ { 2 } ) .
|
| 548 |
+
$$
|
| 549 |
+
|
| 550 |
+
By Observation 5, the sets $F$ and $F _ { \lambda }$ are parallel hyperplanes. Denote by $G$ the nonempty intersection of their corresponding half-spaces in $W$ . We show that $g$ is a $\delta$ -interpolator of $f$ on $G$ between $y _ { 1 }$ and $y _ { 2 }$ , with $\delta$ being linearly controlled by $\lambda$ .
|
| 551 |
+
|
| 552 |
+
We have already observed that $g$ is the affine function ranging from $f ( y _ { 1 } ) - \mathbf { o n }$ the set $F _ { \lambda } ( y _ { 1 } , y _ { 2 } ) -$ to $f ( y _ { 2 } )$ – on the set $F ( y _ { 1 } , y _ { 2 } )$ . It remains to show that $g$ attains both the values $f ( y _ { 1 } )$ and $f ( y _ { 2 } )$ at most $\delta$ -far from the sets $P _ { 1 }$ and $P _ { 2 }$ , respectively, where $P _ { k } \in \mathcal { W }$ denotes a component of the set $\{ w \in W : y ( w ) = y _ { k } \}$ , $k = 1 , 2$ .
|
| 553 |
+
|
| 554 |
+
Consider $y _ { 1 }$ first. By Observation 4, there are $z _ { 1 } , \dotsc , z _ { \ell } \in Y$ , such that facets of $P _ { 1 }$ are parts of hyperplanes $F ( y _ { 1 } , z _ { 1 } ) , \dots , F ( y _ { 1 } , z _ { \ell } )$ in $W$ . Each of them separates $W$ into two half-spaces, say $W _ { k } ^ { + }$ and $W _ { k } ^ { - }$ , where $W _ { k } ^ { - }$ is the half-space which contains $P _ { 1 }$ and $W _ { k } ^ { + }$ is the other one. Let us denote
|
| 555 |
+
|
| 556 |
+
$$
|
| 557 |
+
c _ { k } ( w ) = \mathbf { c } ( w , y _ { 1 } ) - \mathbf { c } ( w , z _ { k } ) \quad { \mathrm { f o r ~ } } w \in W { \mathrm { ~ a n d ~ } } k = 1 , \ldots , \ell .
|
| 558 |
+
$$
|
| 559 |
+
|
| 560 |
+
Every $c _ { k }$ is a non-zero linear function which is negative on $W _ { k } ^ { - }$ and positive on $W _ { k } ^ { + }$ . By the definition of $y _ { 1 }$ , we have
|
| 561 |
+
|
| 562 |
+
$$
|
| 563 |
+
\begin{array} { r } { \mathbf { c } ( w , y _ { 1 } ) + \lambda f ( y _ { 1 } ) \leq \mathbf { c } ( w , z _ { k } ) + \lambda f ( z _ { k } ) \quad \mathrm { f o r } w \in P _ { 1 } \mathrm { a n d f o r } k = 1 , \dots , \ell , } \end{array}
|
| 564 |
+
$$
|
| 565 |
+
|
| 566 |
+
that is
|
| 567 |
+
|
| 568 |
+
$$
|
| 569 |
+
c _ { k } ( w ) \leq \lambda { \big ( } f ( z _ { k } ) - f ( y _ { 1 } ) { \big ) } \quad { \mathrm { f o r ~ } } w \in P _ { 1 } { \mathrm { ~ a n d ~ f o r ~ } } k = 1 , \ldots , \ell .
|
| 570 |
+
$$
|
| 571 |
+
|
| 572 |
+
(a) The facets of $P _ { 1 }$ consist of parts of hyperplanes $F ( y _ { 1 } , z _ { k } )$ in $W$ . Each facet $F ( y _ { 1 } , z _ { k } )$ has its corresponding shifts $F _ { \lambda }$ and $F _ { - \lambda }$ , from which only one intersects $P$ . The polytope $P _ { 1 } ^ { \lambda }$ is then bounded by those outer shifts.
|
| 573 |
+
|
| 574 |
+

|
| 575 |
+
(b) The interpolator $g$ attains the value $f ( y _ { 1 } )$ on a part of $F _ { \lambda } ( y _ { 1 } , y _ { 2 } ) - \mathbf { a }$ border of the domain $G$ . The value $f ( y _ { 2 } )$ is attained on a part of $F ( y _ { 1 } , y _ { 2 } )$ – the second border of the strip $G$ .
|
| 576 |
+
Figure 8: The polytopes $P _ { 1 }$ and $P _ { 1 } ^ { \lambda }$ and the interpolator $g$
|
| 577 |
+
|
| 578 |
+
Now, denote
|
| 579 |
+
|
| 580 |
+
$$
|
| 581 |
+
W _ { k } ^ { \lambda } = \big \{ w \in W : c _ { k } ( w ) \leq \lambda \big | f ( z _ { k } ) - f ( y _ { 1 } ) \big | \big \} \quad \mathrm { f o r } \ k = 1 , \dots , \ell .
|
| 582 |
+
$$
|
| 583 |
+
|
| 584 |
+
Each $W _ { k } ^ { \lambda }$ is a half-space in $W$ containing $W _ { k } ^ { - }$ and hence $P _ { 1 }$ . Let us set $\begin{array} { r } { P _ { 1 } ^ { \lambda } = \bigcap _ { k = 1 } ^ { \ell } W _ { k } ^ { \lambda } } \end{array}$ . Clearly, $P _ { 1 } \subseteq P _ { 1 } ^ { \lambda }$ (see Fig. 8). By Observation 5, the distance of the hyperplane $\{ w \in W : c _ { k } ( w ) =$ $\lambda { \big | } f ( z _ { k } ) - f ( y _ { 1 } ) { \big | } \}$ from $P _ { 1 }$ is at most $\lambda K$ , where $K$ is given by (8). Therefore, since all the facets of $P _ { 1 } ^ { \lambda }$ are at most $\lambda K$ far from $P _ { 1 }$ , there is a constant $C$ such that each point of $P _ { 1 } ^ { \lambda }$ is at most $C \lambda$ far from $P _ { 1 }$ .
|
| 585 |
+
|
| 586 |
+
Finally, choose any $w _ { 1 } \in P _ { 1 } ^ { \lambda } \cap F _ { \lambda } ( y _ { 1 } , y _ { 2 } )$ . By (16), we have $g ( w _ { 1 } ) = f ( y _ { 1 } )$ , and by the definition of $P _ { 1 } ^ { \lambda }$ , $w _ { 1 }$ is no farther than $C \lambda$ away from $P _ { 1 }$ .
|
| 587 |
+
|
| 588 |
+
Now, let us treat $y _ { 2 }$ and define the set $P _ { 2 } ^ { \lambda }$ analogous to $P _ { 1 } ^ { \lambda }$ , where each occurrence of $y _ { 1 }$ is replaced by $y _ { 2 }$ . Any $w _ { 2 } \in \mathring { P } _ { 2 } ^ { \lambda } \cap F ( y _ { 1 } , y _ { 2 } )$ has desired properties. Indeed, (15) ensures that $g ( w _ { 2 } ) = f ( y _ { 2 } )$ and $w _ { 2 }$ is at most $C \lambda$ far away from $P _ { 2 }$ . □
|
| 589 |
+
|
| 590 |
+
# A.3 DETAILS OF EXPERIMENTS
|
| 591 |
+
|
| 592 |
+
# A.3.1 WARCRAFT SHORTEST PATH
|
| 593 |
+
|
| 594 |
+
The maps for the dataset have been generated with a custom random generation process by using 142 tiles from the Warcraft II tileset (Guyomarch, 2017). The costs for the different terrain types range from 0.8–9.2. Some example maps of size $1 8 \times 1 8$ are presented in Fig. 9a together with a histogram of the shortest path lengths. We used the first five layers of ResNet18 followed by a max-pooling operation to extract the latent costs for the vertices.
|
| 595 |
+
|
| 596 |
+
Optimization was carried out via Adam optimizer (Kingma & Ba, 2014) with scheduled learning rate drops dividing the learning rate by 10 at epochs 30 and 40. Hyperparameters and model details are listed in Tab. 5
|
| 597 |
+
|
| 598 |
+
Table 5: Experimental setup for Warcraft Shortest Path.
|
| 599 |
+
|
| 600 |
+
<table><tr><td>k</td><td>Optimizer(LR)</td><td>Architecture</td><td>Epochs</td><td>Batch Size</td><td>入</td></tr><tr><td>12,18,24, 30</td><td>Adam(5 × 10-4)</td><td>subset of ResNet18</td><td>50</td><td>70</td><td>20</td></tr></table>
|
| 601 |
+
|
| 602 |
+

|
| 603 |
+
Figure 9: Warcraft SP(18) dataset.
|
| 604 |
+
|
| 605 |
+
# A.3.2 MNIST MIN-COST PERFECT MATCHING
|
| 606 |
+
|
| 607 |
+
The dataset consists of randomly generated grids of MNIST digits that are sampled from a subset of 1000 digits of the full MNIST dataset. We trained a fully convolutional neural network with two convolutional layers followed by a max-pooling operation that outputs a $k \times k$ grid of vertex costs for each example. The vertex costs are transformed into the edge costs via the known cost function and the edge costs are then the inputs to the Blossom $\mathrm { v }$ solver (Edmonds, 1965) as implemented in (Kolmogorov, 2009).
|
| 608 |
+
|
| 609 |
+
Regarding the optimization procedure, we employed the Adam optimizer along with scheduled learning rate drops dividing the learning rate by 10 at epochs 10 and 20, respectively. Other training details are in Tab. 6. Lower batch sizes were used to reduce GPU memory requirements.
|
| 610 |
+
|
| 611 |
+
Table 6: Experimental setup for MNIST Min-cost Perfect Matching.
|
| 612 |
+
|
| 613 |
+
<table><tr><td>k</td><td>Optimizer(LR)</td><td>Architecture [channels,kernel size, stride]</td><td>Epochs</td><td>Batch Size</td><td>入</td></tr><tr><td>4,8</td><td>Adam(10-3)</td><td>[[20,5,1],[20, 5,1]]</td><td>30</td><td>70</td><td>10</td></tr><tr><td>16</td><td>Adam(10-3)</td><td>[[50, 5,1], [50, 5,1]]</td><td>30</td><td>40</td><td>10</td></tr><tr><td>24</td><td>Adam(10-3)</td><td>[50, 5,1], [50, 5,1]]</td><td>30</td><td>30</td><td>10</td></tr></table>
|
| 614 |
+
|
| 615 |
+
# A.3.3 GLOBE TRAVELING SALESMAN PROBLEM
|
| 616 |
+
|
| 617 |
+
For the Globe Traveling Salesman Problem we used a convolutional neural network architecture of three convolutional layers and two fully connected layers. The last layer outputs a vector of dimension $3 k$ containing the $k$ 3-dimensional representations of the respective countries’ capital cities. These representations are projected onto the unit sphere and the matrix of pairwise distances is fed to the TSP solver.
|
| 618 |
+
|
| 619 |
+
The high combinatorial complexity of TSP has negative effects on the loss landscape and results in many local minima and high sensitivity to random restarts. For reducing sensitivity to restarts, we set Adam parameters to $\beta _ { 1 } = 0 . 5$ (as it is done for example in GAN training (Radford et al., 2015)) and $\epsilon = 1 \dot { 0 } ^ { - 3 }$ .
|
| 620 |
+
|
| 621 |
+
The local minima correspond to solving planar TSP as opposed to spherical TSP. For example, if all cities are positioned to almost identical locations, the network can still make progress but it will never have the incentive to spread the cities apart in order to reach the global minimum. To mitigate that, we introduce a repellent force between epochs 15 and 30. In particular, we set
|
| 622 |
+
|
| 623 |
+
$$
|
| 624 |
+
L _ { \mathrm { r e p } } = \underset { i \neq j } { \mathbb { E } } e ^ { - \| x _ { i } - x _ { j } \| }
|
| 625 |
+
$$
|
| 626 |
+
|
| 627 |
+
where $x _ { i } \in \mathbb { R } ^ { 3 }$ for $i = 1 , \ldots , k$ are the positions of the $k$ cities on the unit sphere. The regularization constants $C _ { k }$ were chosen as 2.0, 3.0, 6.0, and 20.0 for $k \in \{ 5 , 1 0 , 2 0 , 4 0 \}$ .
|
| 628 |
+
|
| 629 |
+
For fine-tuning we also introduce scheduled learning rate drops where we divide the learning rate by 10 at epochs 80 and 90.
|
| 630 |
+
|
| 631 |
+
Table 7: Experimental setup for the Globe Traveling Salesman Problem.
|
| 632 |
+
|
| 633 |
+
<table><tr><td rowspan="2">k</td><td rowspan="2">Optimizer(LR)</td><td colspan="2">Architecture [channels,kernel size, stride],</td><td rowspan="2">Epochs</td><td rowspan="2">Batch Size</td><td rowspan="2">入</td></tr><tr><td>linear layer size</td><td></td></tr><tr><td>5,10,20</td><td>Adam(10-4)</td><td>[[20, 4,2], [50,4,2], 500]</td><td></td><td>100</td><td>50</td><td>20</td></tr><tr><td>40</td><td>Adam(5 × 10-5)</td><td>[20,4,2],[50,4,2],500]</td><td></td><td>100</td><td>50</td><td>20</td></tr></table>
|
| 634 |
+
|
| 635 |
+
In Fig. 5b, we compare the true city locations with the ones learned by the hybrid architecture. Due to symmetries of the sphere, the architecture can embed the cities in any rotated or flipped fashion. We resolve this by computing “the most favorable” isometric transformation of the suggested locations. In particular, we solve the orthogonal Procrustes problem (Gower & Dijksterhuis, 2004)
|
| 636 |
+
|
| 637 |
+
$$
|
| 638 |
+
R ^ { * } = \underset { R : R ^ { T } R = I } { \arg \operatorname* { m i n } } \| R X - Y \| ^ { 2 }
|
| 639 |
+
$$
|
| 640 |
+
|
| 641 |
+
where $X$ are the suggested locations, $Y$ the true locations, and $R ^ { * }$ the optimal transformation to apply. We report the resulting offsets in kilometers in Tab. 8.
|
| 642 |
+
|
| 643 |
+
Table 8: Average errors of city placement on the Earth.
|
| 644 |
+
|
| 645 |
+
<table><tr><td>k</td><td>5</td><td>10</td><td>20</td><td>40</td></tr><tr><td>Location offset (km)</td><td>69±11</td><td></td><td>19±511±5</td><td>58±7</td></tr></table>
|
| 646 |
+
|
| 647 |
+
# A.4 TRAVELING SALESMAN WITH AN APPROXIMATE SOLVER
|
| 648 |
+
|
| 649 |
+
Since approximate solvers often appear in practice where the combinatorial instances are too large to be solved exactly in reasonable time, we test our method also in this setup. In particular, we use the approximate solver (OR-Tools (ort, 2019)) for the Globe TSP. We draw two conclusions from the numbers presented below in Tab. 9.
|
| 650 |
+
|
| 651 |
+
(i) The choice of the solver matters. Even if OR-Tools is fed with the ground truth representations (i.e. true locations) it does not achieve perfect results on the test set (see the right column). We expect, that also in practical applications, running a suboptimal solver (e.g. a differentiable relaxation) substantially reduces the maximum attainable performance.
|
| 652 |
+
(ii) The suboptimality of the solver didn’t harm the feature extraction – the point of our method. Indeed, the learned locations yield performance that is close to the upper limit of what the solver allows (compare the middle and the right column).
|
| 653 |
+
|
| 654 |
+
Table 9: Perfect path accuracy for Globe TSP using the approximate solver OR-Tools (ort, 2019). The maximal achievable performance is in the right column, where the solver uses the ground truth city locations.
|
| 655 |
+
|
| 656 |
+
<table><tr><td colspan="3">Embedding OR-tools</td><td>OR-tools on GT locations</td></tr><tr><td>k</td><td>Train %</td><td>Test %</td><td>Test %</td></tr><tr><td>5</td><td>99.8 ±0.0</td><td>99.3 ± 0.1</td><td>100.0</td></tr><tr><td>10</td><td>84.3 ± 0.2</td><td>84.4±0.2</td><td>88.6</td></tr><tr><td>20</td><td>49.2 ±0.2</td><td>48.6± 0.8</td><td>54.4</td></tr><tr><td>40</td><td>14.6 ± 0.1</td><td>15.1 ± 0.3</td><td>15.2</td></tr></table>
|
parse/train/BkevoJSYPB/BkevoJSYPB_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BkevoJSYPB/BkevoJSYPB_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BkevoJSYPB/BkevoJSYPB_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Esd7tGH3Spl/Esd7tGH3Spl.md
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
|
| 3 |
+
Xuefei Ning1] Changcheng Tang2
|
| 4 |
+
|
| 5 |
+
Wenshuo Li1
|
| 6 |
+
|
| 7 |
+
Zixuan Zhou1
|
| 8 |
+
|
| 9 |
+
Shuang Liang2
|
| 10 |
+
|
| 11 |
+
Huazhong Yang1†
|
| 12 |
+
|
| 13 |
+
Yu Wang1‡
|
| 14 |
+
|
| 15 |
+
Department of Electronic Engineering, Tsinghua University1 Novauto Technology Co. Ltd.2 ]foxdoraame@gmail.com, †yanghz@tsinghua.edu.cn, ‡yu-wang@tsinghua.edu.cn
|
| 16 |
+
|
| 17 |
+
# Abstract
|
| 18 |
+
|
| 19 |
+
Conducting efficient performance estimations of neural architectures is a major challenge in neural architecture search (NAS). To reduce the architecture training costs in NAS, one-shot estimators (OSEs) amortize the architecture training costs by sharing the parameters of one “supernet” between all architectures. Recently, zero-shot estimators (ZSEs) that involve no training are proposed to further reduce the architecture evaluation cost. Despite the high efficiency of these estimators, the quality of such estimations has not been thoroughly studied. In this paper, we conduct an extensive and organized assessment of OSEs and ZSEs on five NAS benchmarks: NAS-Bench-101/201/301, and NDS ResNet/ResNeXt-A. Specifically, we employ a set of NAS-oriented criteria to study the behavior of OSEs and ZSEs, and reveal their biases and variances. After analyzing how and why the OSE estimations are unsatisfying, we explore how to mitigate the correlation gap of OSEs from three perspectives. Through our analysis, we give out suggestions for future application and development of efficient architecture performance estimators. Furthermore, the analysis framework proposed in our work could be utilized in future research to give a more comprehensive understanding of newly designed architecture performance estimators. The code is available at https://github. com/walkerning/aw_nas [24].
|
| 20 |
+
|
| 21 |
+
# 1 Introduction
|
| 22 |
+
|
| 23 |
+
Neural architecture search (NAS) can automatically discover architectures that outperform the handcrafted ones for various applications [48, 10, 11]. Early NAS methods [48, 30] suffer from an extremely heavy computational burden, and can take tens of thousands of GPU hours to run. One of the major reasons for the computational challenge of NAS is that evaluating each candidate architecture is slow, which includes a full training and testing process. In the past years, studies [2, 27, 3, 5, 8, 45, 20, 1] have been focusing on developing more efficient performance estimators of neural architectures.
|
| 24 |
+
|
| 25 |
+
One-shot Estimator (OSE) Traditional NAS methods [48, 30, 2] conduct a costly separate training process to acquire the suitable parameters to evaluate each candidate architecture. To make NAS computationally tractable, ENAS [27] proposes the parameter-sharing technique to accelerate the architecture evaluation. Following this work, the parameter sharing technique is widely used for architecture search in different search spaces [39, 16] or incorporated with different search strategies [19, 16, 23, 40]. We refer to the parameter-sharing estimations as the “one-shot” estimations since it requires the training cost of one supernet.
|
| 26 |
+
|
| 27 |
+
How well the one-shot estimations are correlated with the standalone architecture performances is essential for the efficacy of NAS methods. Despite the widespread use of OSEs, studies [43] have revealed that the OSE estimations might fail to reflect the true ranking of architectures. However, their experiments are conducted in a toy search space with only 32 architectures. In this work, we conduct a more comprehensive study on OSEs in five search spaces with distinct properties, including three topological search spaces (NAS-Bench-101 [41], NAS-Bench-201 [9], and NAS-Bench-301 [32]), and two non-topological search spaces [29] (NDS ResNet, and NDS ResNeXt-A). We further analyze how and why OSE estimations have bias and variance, and explore how to improve OSEs.
|
| 28 |
+
|
| 29 |
+
Zero-shot Estimator (ZSE) More recently, in order to further reduce the architecture evaluation cost, several studies [20, 1, 15, 17, 26, 6] introduce “zero-shot” estimators that involve no training. In this work, we study various ZSEs on several benchmarks and reveal their properties and weakness.
|
| 30 |
+
|
| 31 |
+
Knowledge Our work reveals pieces of knowledge on OSEs and ZSEs. First of all, some behaviors of OSEs and ZSEs vary across search spaces (Appendix A.1.1, Sec. 4.2). Some of the common knowledge for OSEs revealed by our work include 1) OSEs bias towards architectures with lower complexity in the early training phase [18]. And this bias can be alleviated to various extents with sufficient training in different spaces (Sec. 5.1). 2) OSEs have variance and can be mitigated to some extent (Sec. 5.3, Sec. 6.1). 3) Reducing the sharing extent of OSEs can potentially improve their ranking quality [47] (Sec. 6.3).
|
| 32 |
+
|
| 33 |
+
As for ZSEs, we reveal that 1) Current ZSEs cannot benefit from one-shot training. The ranking qualities of ZSEs utilizing high-order information (i.e., gradients) even degrade a lot after one-shot training (Sec. 4.2). 2) Parameter-level ZSEs adapted from pruning literature are not suitable for ranking architectures, and their ranking qualities cannot surpass those of parameter size (#Param) or #FLOPs (Sec. 4.2). 3) Existing ZSEs have improper biases, some overestimate linear architectures without skip connections, and some overestimate architectures with smaller kernel sizes and receptive fields (Sec. 5.2). 4) The relative effectiveness of ZSEs varies between search spaces, relu_logdet [21] is the best on the three topological search spaces, and synflow [33] is better on the two non-topological search spaces (Sec. 4.2). 5) Most ZSEs are not sensitive to the input data distribution: They get similar architecture rankings when using random noises as the input (Appendix B.1).
|
| 34 |
+
|
| 35 |
+
Suggestions Based on our experiments and analyses, we give out suggestions for future OSE applications. For example: 1) Longer training makes one-shot estimations better (Sec. 4.1); 2) Using one-shot loss instead of accuracy significantly improves the ranking qualities in the DARTS space [16] (Sec. 4.1); 3) One should use enough validation data for OSEs, instead of merely several batches as in ZSEs (Sec. 4.1); 4) Using temporal ensemble helps reduce the ranking instability, and brings non-negative improvements on the ranking quality in different search spaces (Sec. 6.1); 5) In search space with isomorphic architectures, augmenting the sampling strategy to improve the sampling fairness is essential to avoid overestimating simple architectures (Sec. 6.2); 6) Affine operation should not be used in batch normalization (BN) during supernet training (Sec. 6.3).
|
| 36 |
+
|
| 37 |
+
As for ZSEs, we point out several open research problems: 1) Is there a general ZSE suitable for different types of search spaces? 2) Do we need to make ZSEs utilize the input data information better, and how can we do that? 3) Can we develop ZSEs that distinguish top architectures better? We also list out some technical suggestions for improving ZSEs: 1) Future ZSEs should conduct architecture-level analysis instead of using parameter-level analysis (Sec. 4.2). 2) According to some prominent bias of existing ZSEs, we can add some structural knowledge into ZSE voting ensembles, e.g., receptive field analysis seems promising for improving jacob_cov or relu_logdet (Sec. 5.2). 3) In future developments of ZSEs, researchers should add two simple comparison baselines, #Params, and #FLOPs, as they are actually very competitive baseline ZSEs (Sec. 4.2).
|
| 38 |
+
|
| 39 |
+
Our work provides strong baselines and diagnosis tools for future research of architecture performance estimators, and we suggest future research to utilize these baselines and tools for a more comprehensive understanding of newly designed performance estimators.
|
| 40 |
+
|
| 41 |
+
Analysis Framework Our analysis framework of efficient architecture performance estimators is organized as follows. We first introduce the evaluation criteria for estimator quality in Sec. 3. And Sec. 4 presents the quality evaluation of multiple OSEs and ZSEs. Then, we conduct an organized analysis on how and why the OSE and ZSE estimations have biases and variances in Sec. 5. Specifically, their complexity-level, operation-level, and architecture-level biases are demonstrated and analyzed. And the stability of OSE accuracy and ranking along the training process are analyzed. And in Sec. 6, based on our analysis framework, we present several case studies on improving OSEs from three perspectives: i.e. reducing the variance, bias, and parameter sharing extent.
|
| 42 |
+
|
| 43 |
+
# 2 Related Work
|
| 44 |
+
|
| 45 |
+
# 2.1 Efficient Performance Estimators of Neural Architectures
|
| 46 |
+
|
| 47 |
+
One-shot Estimators The vanilla NAS method [48] trains each architecture for 50 epochs to acquire its suitable parameters, which makes the NAS process prohibitively costly. As a remedy, ENAS [27] proposes to amortize the separate training costs by sharing parameters among architectures. Specifically, ENAS constructs an over-parametrized supernet such that all architectures can be evaluated using its parameter subsets. Throughout the search process, the shared supernet parameters are updated on the training set, and an RNN controller is updated alternatively on the validation set.
|
| 48 |
+
|
| 49 |
+
There are two types of parameter-sharing methods: 1) One-shot NAS methods [3, 13] that first train a supernet and then conduct architecture search without further supernet tuning. 2) Non-one-shot methods [27, 16, 40] that conduct supernet training and architecture search (i.e. controller update) jointly. And this work focuses on evaluating the estimations of the “one-shot” supernet, since it is the cleaner case without the complexity of varying controller settings and possible controller-supernet co-adaption. In each supernet training step, S architectures are randomly sampled to process a batch of training data. Here S denotes the number of Monte-Carlo architecture samples. Then, the gradients of these architectures are averaged to update the supernet.
|
| 50 |
+
|
| 51 |
+
Correlation of One-shot Estimators There exist some studies that carry out correlation evaluation for one-shot estimators. Zhang et al. [45] compare the correlation of OSEs and their proposed hyper-network-based estimator. However, their work is not aiming for a large-scale evaluation of OSEs and ZSEs, thus they only evaluate the OSE correlations on one search space, and do not conduct further analysis. Yu et al. [43] conduct parameter sharing NAS in a toy RNN search space with only 32 architectures in total, and discover that the parameter sharing rankings do not correlate with the true rankings of architectures. Zela et al. [44] also report that the correlation of parameter-sharing estimations is not satisfying with a Spearman correlation coefficient between -0.25 and 0.3 on a larger search space with around $1 5 \mathrm { k }$ architectures. Pourchot et al. [28] evaluate the Spearman’s ranking correlation of OSEs on NAS-Bench-101. Yu et al. [42] provide an analysis on how the heuristics and hyperparameters influence the supernet training on three benchmarks (i.e. NAS-Bench-101, NAS-Bench-201, and DARTS-NDS). But they only use the variants of Kendall’s Tau as the evaluation criteria, and do not further explore the biases and failing reasons of OSEs. Zhang et al. [47] point out the instability and poor ranking correlation of OSEs, and claim that the high extent of parameter sharing causes the unsatisfying performance. However, they only conduct experiments on a small search space with about 200 architectures.
|
| 52 |
+
|
| 53 |
+
In this paper, we conduct a more comprehensive study of OSE behaviors across five search spaces, and further investigate how and why the OSE estimations are not satisfying. We also propose and compare several techniques to mitigate the OSE correlation gap.
|
| 54 |
+
|
| 55 |
+
Zero-shot Estimators More recently, in order to further reduce the architecture evaluation cost, several researches [20, 1] propose “zero-shot” estimators that conduct no training and use random initialized models to estimate architecture performances. Based on the observation that good architectures have distinct local jacobian on different images, Mellor et al. [20] propose an indicator based on input jacobian correlation. Lopes et al. [17] improve the above indicator by calculating the jacobian correlation with respect to the class. Abdelfattah et al. [1] adapt several ZSEs from the pruning literature, and claim that these adapted ZSEs can perform well on NAS-Bench-201. Lin et al. [15] define the expected Gaussian complexity to measure the network expressivity, and efficiently discover architectures with state-of-the-art accuracy on ImagetNet. With a small training overhead, Ru et al. [31] propose to evaluate an architecture’s performance by its training speed. Concurrent to our work, White et al. [38] also evaluate various performance estimators on multiple benchmarks.
|
| 56 |
+
|
| 57 |
+
# 2.2 NAS Benchmarks
|
| 58 |
+
|
| 59 |
+
NAS benchmarks are proposed to enable researchers to verify the effectiveness of NAS methods efficiently. NAS-Bench-101 (NB101) [41] provides the performances of the $4 2 3 \mathrm { k }$ valid architectures in a cell-based search space. OSE cannot be easily applied for the whole NB101 search space due to its specific channel number rule. To reuse NB101 for benchmarking OSE, NAS-Bench-1shot1 (NB1shot) [44] picks out three sub-spaces of NB101, and a supernet can be easily constructed for these sub-spaces. In this work, we use the largest sub-space in NB1shot: NB1shot-3, and use the name “NB101” to refer to it. Another benchmark, NAS-Bench-201 (NB201) [9], provides the performances of all the 15625 architectures in a single-cell search space. Previous tabular benchmarks exhaustively train all architectures in a search space much smaller than commonly-used ones (e.g. DARTS [16] with size over $1 0 ^ { 1 8 }$ ). Recently, NAS-Bench-301 (NB301) [32] is proposed as a benchmark in the DARTS space. It adopts a surrogate-based methodology that predicts architecture performances with the performances of about 60k anchor architectures.
|
| 60 |
+
|
| 61 |
+
Besides these benchmarks on cell-based topological search spaces, we also experiment with two nontopological benchmarking search spaces [29], NDS ResNet, and NDS ResNeXt-A. The architectural decisions in these search spaces are the non-topological hyper-parameters of pre-defined blocks, including kernel size, width, depth, convolution group number, and so on. The properties of these benchmarking search spaces are summarized in Appendix Tab. A1.
|
| 62 |
+
|
| 63 |
+
# 3 Evaluation Criteria
|
| 64 |
+
|
| 65 |
+
This section introduces the major evaluation criteria used in our analysis framework, while the analysis criteria and methods of ranking bias and variance will be introduced in Sec. 5. We denote the total number of architectures as $M$ , the true (ground-truth, GT) performances and approximated estimated scores of architectures $\{ a _ { i } \} _ { i = 1 , \cdots , M }$ as $\{ y _ { i } \} _ { i = 1 , \cdots , M }$ and $\{ s _ { i } \} _ { i = 1 , \cdots , M }$ , respectively, and the ranking of the true and estimated score $y _ { i } , s _ { i }$ as $r _ { i } , n _ { i } \in \{ 1 , \cdots , M \}$ , respectively $( r _ { i } = 1$ indicates that $a _ { i }$ is the best architecture). The correlation criteria used in our framework are
|
| 66 |
+
|
| 67 |
+
• Pearson coefficient of linear correlation (LC): $\operatorname { c o r r } ( y , s ) / { \sqrt { \operatorname { c o r r } ( y , y ) \operatorname { c o r r } ( s , s ) } } .$ .
|
| 68 |
+
• Kendall’s Tau ranking correlation $( \mathrm { K D } \tau )$ : The relative difference of concordant pairs and
|
| 69 |
+
discordant pairs $\begin{array} { r } { \sum _ { i < j } \mathrm { s g n } ( y _ { i } - y _ { j } ) \mathrm { s g n } ( s _ { i } - s _ { j } ) / \binom { M } { 2 } } \end{array}$ .
|
| 70 |
+
• Spearman’s ranking correlation (SpearmanR): The pearson correlation coefficient between the ranking variables $\operatorname { c o r r } ( r , n ) / { \sqrt { \operatorname { c o r r } ( r , r ) \operatorname { c o r r } ( n , n ) } }$ .
|
| 71 |
+
|
| 72 |
+
Since the ability of differentiating between good architectures matters more than differentiating between bad ones, criteria that emphasize more on the relative order of architectures with good performances are desired. Denoting $A _ { K } = \{ a _ { i } | n _ { i } < K M \}$ as the set of architectures whose estimated scores $s$ are among the top $K$ portion of the search space, we use two set of criteira [25]:
|
| 73 |
+
|
| 74 |
+
• Precision $@ \mathrm { K }$ $\begin{array} { r } { ( \mathrm { P } \ @ \mathrm { t o p K } ) \in ( 0 , 1 ] = \frac { \# \{ i | r _ { i } < K M \wedge n _ { i } < K M \} } { K M } ; } \end{array}$ : The proportion of true top-K proportion architectures in the top- ${ \bf \nabla } \cdot { \bf K }$ architectures according to the scores. • BestRanking $@ \mathrm { K }$ $\mathrm { \sf ~ \zeta ( B R @ K ) } \in ( 0 , 1 ] = \mathrm { a r g } \operatorname* { m i n } _ { \alpha _ { i } \in A _ { K } } r _ { i } / M$ : The best normalized ranking among the top K proportion of architectures according to the scores (Lower is better).
|
| 75 |
+
|
| 76 |
+
Corresponding to P@topK, we also compare P@bottomK = #{i|ri>(1−K)M ∧ ni>(1−K)M} to reveal how the worst architectures are distinguished. And corresponding to $\mathrm { B R @ K }$ , we inspect WorstRanking $@ \mathrm { K }$ $\operatorname { K } \left( \operatorname { W R } \circledast \operatorname { K } \right) = \arg \operatorname* { m a x } _ { \alpha _ { i } \in A _ { K } } { r _ { i } } / M$ to reveal how the supernet is likely to regard a bad architecture to be good (Lower is better). Note that the rankings and architecture numbers are all relative numbers normalized by the total architecture number $M$ .
|
| 77 |
+
|
| 78 |
+
# 4 Evaluating Efficient Performance Estimators
|
| 79 |
+
|
| 80 |
+
# 4.1 Evaluation of One-shot Estimators
|
| 81 |
+
|
| 82 |
+
Trend of Different Criteria We inspect how these proposed criteria evolve during the training process. Unless otherwise noted, MC sample $S { = } 1$ is used in the experiments. And all training and evaluation settings are summarized in Appendix D. Fig. 1 and Appendix Fig. A24 show the criteria trend on topological and non-topological search spaces, respectively. We can see that the convergence speeds of criteria are different, and on all search spaces except NB101, all criteria show a rising trend as the training goes on, indicating that OSE gives better rankings with sufficient training.
|
| 83 |
+
|
| 84 |
+
Another fact is that on all search spaces except NB101, OSEs are better at distinguishing bad architectures (higher $\mathbf { P } \ @ \mathbf { b o t t o m } 5 \%$ ) than distinguishing good ones (lower $\mathbf { P } @ \mathbf { t o p } 5 \%$ ). This indicates that, although identifying the exactly optimal architecture might be difficult for OSEs, using them to filter bad architectures or warm-up sample-based NAS can be very effective. The results of more criteria are shown in Appendix Fig. A1.
|
| 85 |
+
|
| 86 |
+

|
| 87 |
+
Figure 1: Top /Bottom: Criteria of using OS accuracy / OS loss as the estimations (right Y-axis: OS loss value). “Oneshot average” means the average oneshot score (accuracy or loss).
|
| 88 |
+
|
| 89 |
+
In the NB301 (DARTS) space, OS loss gives significantly better estimations than OS accuracy. For example, at epoch 1000, the KD $\tau$ of OS acc and loss are 0.381 and 0.512, respectively, while their $\mathrm { P @ t o p 5 \% }$ are $1 3 . 8 \%$ and $3 1 . 0 \%$ . This is because the loss value considers the network’s output distribution rather than a single label prediction, it has a less concentrated distribution and is more informative in ranking architectures. Fig. 2 shows that the OS accuracy distribution is indeed more concentrated than the OS loss on NB301.
|
| 90 |
+
|
| 91 |
+

|
| 92 |
+
Figure 2: The distribution of OS accuracy and loss.
|
| 93 |
+
|
| 94 |
+
Effect of the Validation Data Size We inspect OSEs’ ranking quality when using different numbers of validation data batches to evaluate the OS scores, and find that on both NB201/NB301, using more data improves the estimation quality. Specifically, we compute the average OS accuracies over $_ \mathrm { N }$ validation batches, where each batch contains 128 examples. And the effect of the batch number N on the ranking quality is shown in Fig. 3 and Appendix Fig. A3. Fig. 3 shows that on NB301, criteria get better when the batch number increases from 1 to 10 at epoch 1000. Interestingly, when the training is not sufficient (epoch 200), the criteria decrease with more data batches (especially those of the OS acc). To explain this, Fig. 3(upper right) shows the intra-“level” KD histogram, where architectures with the same OS accuracy using one validation batch are said to be in the same level. We can see that when the supernet is under-trained, it is not good at distinguishing between intra-level architectures (negative intra-level KDs). Therefore, using more validation data might bring negative impacts, while giving tie scores can avoid making wrong comparisons between similar architectures.
|
| 95 |
+
|
| 96 |
+
# 4.2 Evaluation of Zero-shot Estimators
|
| 97 |
+
|
| 98 |
+
Our work evaluates six parameter-level ZSEs and two architecture-level ZSEs. The six parameterlevel ZSEs are grad_norm, plain [22], snip [14], grasp [36], fisher [34, 35], and synflow [33]. These ZSEs are named after sensitivity indicators initially designed for fine-grained network pruning that measure the approximate loss change when certain parameters or activations are pruned. A recent work [1] proposes to sum up parameter-wise sensitivities of all parameters to evaluate an architecture. And architecture-level ZSEs measure the architecture’s discriminability by inference differences between different input images: jacob_cov [20] uses the input jacobian correlation, and relu_logdet [21] uses activation differences.
|
| 99 |
+
|
| 100 |
+

|
| 101 |
+
Figure 3: Criteria vary on NB301 as the batch number (X-axis) changes. Right: The histogram of intra-level KDs using 10-batch OS acc, the “levels” are partitioned according to 1-batch OS acc. Since batch_size ${ \mathrel { = } } 1 2 8$ , at most 128 levels can exist. The legend gives out the actual number of levels in 1-batch evaluation with format “#acc levels with #arch>1 / #total”.
|
| 102 |
+
|
| 103 |
+
The full evaluation results of ZSEs are shown in Appendix B and C, and Fig. 4 shows some of the results on NB201 and NB301. We can see that the ranking correlations of ZSEs except relu_logdet are even worse than the GT-Param correlation. Also, the relative effectiveness of ZSEs varies between search spaces. For example, on NB301, plain performs better than other ZSEs except
|
| 104 |
+
|
| 105 |
+

|
| 106 |
+
Figure 4: KD between GT, FLOPs/Params, OSEs (1k epoch) and ZSEs. Left: NB201; Right: NB301.
|
| 107 |
+
|
| 108 |
+
relu_logdet, while on NB201, plain performs worst among all ZSEs. And jacob_cov and synflow give relatively good estimations with KD of $0 . 6 1 \mathrm { ~ / ~ } 0 . 5 7$ , but they do not perform well on NB301 (KDs are $0 . 2 3 / 0 . 2 )$ . Also, as shown in Appendix Tab. A12, the best-performing ZSE on topological search spaces, relu_logdet, does not perform well on non-topological NDS ResNet and ResNeXt-A.
|
| 109 |
+
|
| 110 |
+
The vote ZSE [1] conducts a majority vote between various metrics to compare each pair of architectures. We choose three best-performing ZSEs as the voting experts, and find that this simple form of voting does not bring improvements over the best constituent ZSE. Better ways of ensembling different ZSEs need to be developed.
|
| 111 |
+
|
| 112 |
+
It is a natural idea to apply ZSEs on trained networks. Thus we explore whether ZSEs can benefit from one-shot training. According to Appendix Tab. A11, current ZSEs cannot benefit from one-shot training. The ranking qualities of ZSEs except relu_logdet even degrade a lot after one-shot training. A possible explanation is that these ZSEs utilize the gradient information, and the gradient magnitudes in a trained supernet are too small and obscure for architecture ranking.
|
| 113 |
+
|
| 114 |
+
# 5 How & Why the Estimations Are Not Satisfying
|
| 115 |
+
|
| 116 |
+
# 5.1 Bias of One-shot Estimators
|
| 117 |
+
|
| 118 |
+
Complexity-level Bias To identify which architectures are under- or overestimated, we investigate the relationship of the true-estimated Ranking Difference (RD) $r _ { i } - n _ { i } ; i = 1 , \cdots , M$ and the architecture complexity (i.e. Params, FLOPs). RD serves as an indicator of overestimation for arch $i$ : A positive RD indicates that this architecture is overestimated. Otherwise, it is underestimated.
|
| 119 |
+
|
| 120 |
+
Sub-architectures have different amounts of calculation and might converge with a different speed. Thus, we conduct the complexity-level bias analysis. In Fig. 5, we divide the architectures into five
|
| 121 |
+
|
| 122 |
+

|
| 123 |
+
Figure 5: Complexity-level bias. Left/right Y-axis: KD $\tau$ / Average RD within the complexity group. X-axis: Complexity groups (the group with the smallest FLOPs is at the leftmost).
|
| 124 |
+
|
| 125 |
+
complexity groups according to the amount of calculation (FLOPs), and show the KD and average RD in each group. In the early training stages (the 1st row), the average RD shows a decreasing trend, which means that the larger the model, the easier it is to be underestimated. This is because larger models converge at a slower speed. As the training goes on (the 2nd and 3rd rows), the absolute average RD decreases, indicating that the issue of underestimating larger models gets alleviated. And on both spaces, the decreasing intra-group KD $\tau$ indicates that it is harder for OSEs to compare larger models than comparing smaller ones.
|
| 126 |
+
|
| 127 |
+
Op-level Bias We inspect the changes of GT and OS accuracy when one operation is mutated to another (edit distance $^ { = 1 }$ ). On NB301, we examine 23476 mutation pairs and find that the OSE estimations overes
|
| 128 |
+
|
| 129 |
+
timate the effects brought by dilation (Dil) convolutions (Convs): All mutation types from other operations to DilConvs witness a higher OS increase ratio than the GT one. And the skip_connect operation is underestimated: All mutation pairs from skip_connect cause the OS increase ratio to be higher than the GT one. For example, when mutating one skip_connect operation to dil_conv_5x5, only $3 9 . 0 \%$ out of 2336 pairs get GT increases, while $9 4 . 9 \%$ get OS increases. This phenomenon is more remarkable when we only consider mutation pairs within the largest complexity group (grouped by Param): Only $1 5 . 3 \%$ of 569 pairs get GT increases, while $9 2 . 3 \%$ get OS increases. On NB201, based on a similar inspection of the mutation pairs, we find that OSE estimations slightly overestimate avgpool3x3 and underestimate conv $3 \mathbf { x } 3$ . Generally speaking, the op-level bias on NB201 is not as large as that on NB301. See Appendix A.2.2 for the figures and more results.
|
| 130 |
+
|
| 131 |
+
# 5.2 Bias of Zero-shot Estimators
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
Figure 6: The best architectures ranked by several ZSEs on NB201 and NB301.
|
| 135 |
+
|
| 136 |
+
Arch-level Bias By inspecting the best and worst architectures indicated by ZSEs, we find that existing ZSEs have improper biases. Fig. 6 shows that synflow has an excessive preference for large architectures. snip, grad_norm and fisher give similar rankings of architectures (see Fig. 4), and show improper preferences for architectures with gradient explosion: On NB201, they show a clear preference for architectures without skip connections, which are far from optimal. This is because gradient magnitudes in these architectures get exploded, and the absolute parameter-wise sensitivity is high. In a word, the parameter-level ZSEs adapted from the fine-grained pruning literature are not very suitable for ranking architectures, since they are designed to reflect the relative parameter-wise sensitivity. And due to their sensitivity to scales and gradient explosion, a simple form of adding up the parameter-wise sensitivity provides improperly biased estimations for architecture performances.
|
| 137 |
+
|
| 138 |
+
In contrast, architecture-level ZSEs (jacob_cov, relu_logdet) are more reasonable attempts that measure the architectures’ discriminability by inference differences between input images. Nevertheless, as shown in Fig. 6 and Appendix B.2, these two ZSEs prefer architectures with smaller receptive fields (prefer smaller kernel sizes or shallow architectures). Consequently, although these two ZSEs have relatively good ranking correlations on topological search spaces, they have difficulties in picking out top architectures (Poor $\mathrm { P @ }$ topKs, see Appendix Tab. A9).
|
| 139 |
+
|
| 140 |
+
# 5.3 Variance of One-shot Estimators
|
| 141 |
+
|
| 142 |
+
Accuracy Forgetting Due to the parameter sharing and the random sample training scheme, the training of subsequent architectures overwrites the weights of previous ones, thus degrades their OS accuracy. This “multi-model forgetting” phenomenon [4, 46] accounts for the variance of OS accuracies. Appendix Fig. A14 verifies the existence of the forgetting phenomenon. For each architecture in one epoch, we define its forgetting value (FV) as $\ a c c _ { 2 } \ - - \ a c c _ { 1 }$ , where $a c c _ { 1 }$ refers to its valid accuracy right after its training, and $a c c _ { 2 }$ refers to its accuracy after all the architectures in this epoch have been trained. Appendix Fig. A14 shows that the forgetting phenomenon exists in the early training stages, where the FVs are negative. As training progresses, the variance of the FVs decreases, which is natural due to the learning rate decay. Also, the mean FV becomes positive, indicating that training other architectures can have positive transferring effects on previous architectures instead of negative ones (i.e. forgetting). This observation can be explained by the increasing trend of inter-architecture gradient similarity in Appendix Fig. A15.
|
| 143 |
+
|
| 144 |
+
Ranking Stability We demonstrate the ranking stability in Fig. 7, since it plays an important role that influences the NAS process more directly than the accuracy stability. The criteria in this figure (i.e. relative KD, relative $\mathrm { P @ }$ top/bottomK) are calculated with two sets of adjacent OS estimations, while the estimations of the latter checkpoint are taken as the GT one. We can see that the ranking stability increases with sufficient training and the OS rankings of bad architectures are relatively stable (relP $@$ bottomK). On NB301, even with rather sufficient training
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
Figure 7: Ranking stability of OSEs.
|
| 148 |
+
|
| 149 |
+
(1k epoch) where the mean OS accuracy already saturates (Fig. 1), the ranking stability of top architectures is still not high (relP $@$ top $0 . 5 \% { \sim } 0 . 4 6 )$ . This is reasonable since that the accuracy differences between architectures in the DARTS space are smaller. And as expected, averaging the OS accuracy of multiple supernets stabilizes OSE estimations. Also, the temporal weight ensemble of multiple checkpoints can stabilize the estimations (Sec. 6.1).
|
| 150 |
+
|
| 151 |
+
# 6 How to Improve One-shot Estimations
|
| 152 |
+
|
| 153 |
+
Since different architectures require different values for supernet parameters, as the side effect of acceleration, parameter sharing serves as the intrinsic reason for the OSE correlation gap. Appendix Fig. A15 shows the gradient similarity distribution between architecture pairs on NB201. We can see that the inter-architecture gradient similarities vary in a large range, and one common phenomenon on NB201 and NB301 is that the mean similarity between architecture pairs is lower in the middle-stage layers and the architectures’ gradients in the very first and last layers are more similar. Another slightly counterintuitive fact is that the gradient directions become more similar as the training goes on, especially on NB201. This can explain the positive transferring effect in the latter training stages.
|
| 154 |
+
|
| 155 |
+
Due to parameter sharing, the random sample training scheme of OSE causes estimation variances. On the other hand, improper sampling distribution causes estimation biases. There are two types
|
| 156 |
+
|
| 157 |
+
of reasons for the bias: 1) Some architectures (e.g. with larger complexity) might need higher sampling probability to match their relative performance in standalone training. 2) Architectures are sampled from an unfair distribution, i.e., some architectures have undesirable higher equivalent probabilities.
|
| 158 |
+
|
| 159 |
+
Echoing the above analysis, this section conducts case studies to improve the OSE estimations from 3 perspectives, i.e. reducing the variance, bias, and parameter sharing extent. Sec. 6.1 experiments with 2 techniques that can reduce the OS estimation variance.And in Sec. 6.2, we demonstrate that using de-isomorphic sampling in space with isomorphic architectures (NB201) helps improve the sampling fairness, thus reduce the estimation bias.
|
| 160 |
+
|
| 161 |
+

|
| 162 |
+
Figure 8: Effect of ensemble techniques on OSEs. Top: NB201; Bottom: NB301.
|
| 163 |
+
|
| 164 |
+
# 6.1 Variance Reduction
|
| 165 |
+
|
| 166 |
+
Temporal Variance Reduction Sec. 5.3 shows that averaging OS scores of several supernets stabilizes the estimations. However, this technique is not practical due to its linearly enlarged consumption, as training k supernets takes k-times more computation. As a remedy, Guo et al. [12] propose to only train one supernet, and stabilize OS estimations by temporally averaging weights of supernet checkpoints. Besides the variance reduction effect shown in Fig. 7, Fig. 8 shows whether ensembling techniques can bring other ranking quality improvements. We can see that temporally ensembling 3 or 5 checkpoints brings improvements on NB201 but brings no bias improvements on NB301.
|
| 167 |
+
|
| 168 |
+
Sampling Variance Reduction We compare the results of using different MC sample numbers $S$ in supernet training. We also adapt Fair-NAS [7] sampling strategy to NB201 and NB301. Using multiple MC architecture samples has different influences in different spaces: It is beneficial for the estimation quality on NB301, while the estimation quality on NB201 decreases slightly as the MC sample number increases. See Appendix A.3.2 for more detailed results.
|
| 169 |
+
|
| 170 |
+
# 6.2 Sampling Fairness Improvement
|
| 171 |
+
|
| 172 |
+
Besides the complexity-level and op-level biases shown in Sec. 5.1, OSEs also have some evident architecture-level biases. The NB201 search space contains many isomorphic architectures with different representations, and there are 6466 unique structures (out of 15625) after de-isomorphism. We find that even after sufficient training, the supernet still overestimates some simple architectures significantly. Fig. 9(left) shows the top-2 ranked architectures by the average of 3 supernet’s OS scores at epoch 1000. With vanilla sampling (Iso), OS estimations bias towards simple architectures (a single Conv) with many isomorphic counterparts (Iso group size ${ } = 3 1 { }$ ). We find that this is because isomorphic architectures have identical gradients w.r.t. shared parameters, so that the shared parameters tend to be optimized towards the gradient directions of architectures with many isomorphic counterparts.
|
| 173 |
+
|
| 174 |
+
We compare the results of sampling w. or w.o. isomorphic architectures in Fig. 9(right). We can see that using the de-isomorphism (deiso) sampling strategy helps pick out top architectures and brings significant improvements on B $\mathbf { k } @ \mathbf { 0 . 5 } \%$ and ${ \bf P } @ 5 \%$ ( $1 . 9 \%$ to $0 . 2 3 \%$ , $2 1 . 3 \%$ to $4 6 . 7 \%$ ). We also experiment with a post-de-isomorphism (post-deiso) technique, in which the estimations of architectures in an isomorphic group are averaged during testing, while no changes are made during training. We can see that “post-deiso” brings slight improvements on $\mathrm { B R } @ \mathrm { K s }$ and $\mathrm { P @ }$ topKs compared with “no post-deiso”, which might owe to the decreased estimation variances. Actually, the deiso sampling strategy is to find a de-isomorphic representation space and conduct uniform sampling in it, and our study provides another evidence for the statement made by [37] that representations can be critical for NAS methods. More detailed results and discussions are in Appendix A.3.3.
|
| 175 |
+
|
| 176 |
+

|
| 177 |
+
Figure 9: Comparison of Iso / Deiso sampling strategy. Left: Top-2 ranked architectures when the supernet is trained with Iso / Deiso sampling strategy, the legend’s format is “OS acc $( \% ) / \mathrm { G T }$ acc $( \% )$ , Iso group size”. Right: Criteria comparison along the training process.
|
| 178 |
+
|
| 179 |
+
# 6.3 Sharing Extent Reduction
|
| 180 |
+
|
| 181 |
+
Operation Pruning We remove one or two operations in the search space (SS) and conduct supernet training on the resulting sub-SS. After training the supernet, we compare the OS estimations on the sub-SS provided by the supernet trained on full SS and the sub-SS. The detailed results and analyses can be found in Appendix A.3.4. And the conclusion is: Sharing extent reduction by removing operations can bring improvements to the average OS scores of the remaining architectures in the sub-SS, especially in the early training stages. However, whether the improved absolute OS scores can bring ranking quality improvements is questionable, and the results vary across SSes.
|
| 182 |
+
|
| 183 |
+
One-shot Pruning We conduct SS pruning on NB201 by selecting the top $10 \%$ , $2 5 \%$ , $50 \%$ architectures ranked by the OS scores of supernet (epoch 600), and continue to finetune the supernet to 1000 epoch with these architectures. The good news is that on NB201, OS pruning brings improvements on both the average OS score and ranking quality in the sub-SS: $2 . 2 \% / 1 . 3 \% / 0 . 1 \%$ average OS score increases and 0.189/0.046/0.086 KD increases when the sub-SS contains $1 0 \% / 2 5 \% / 5 0 \%$ architectures, respectively. The results reveal the potential of dynamic SS pruning for improving the OSE quality, especially for good architectures. However, this per-architecture hard pruning scheme is not practical since it needs an exhaustive test of the full search space. To explore practical dynamic SS pruning methods, we conduct a case study on per-architecture soft pruning with a jointly-trained controller, where the controller gives higher sampling probability to the architectures with higher OS scores. The results and analyses are shown in Appendix A.3.4.
|
| 184 |
+
|
| 185 |
+
Remove the Affine Operation in BN We compare using or not using BN affine operations, and give out the comparison results in Appendix A.3.4. And the suggestion is that one should not use BN affine operations in the search process.
|
| 186 |
+
|
| 187 |
+
# 7 Conclusion
|
| 188 |
+
|
| 189 |
+
We present an analysis framework of efficient architecture performance estimators in NAS, containing carefully developed criteria and organized analyses. Within the framework, we conduct an in-depth analysis of OSEs and ZSEs on five benchmarking search spaces with distinct properties. Our work reveals the properties, weaknesses (variance and bias) of current architecture performance estimators. For OSEs, we further conclude three directions for their improvements and experiment with several mitigations accordingly. Our work gives out suggestions for future NAS applications and points out research directions to further improve current OSEs and ZSEs. Besides the take-away knowledge, our work also provides strong baselines for future research of efficient performance estimators, and the analysis framework could be utilized to diagnose new performance estimators.
|
| 190 |
+
|
| 191 |
+
# Acknowledgements
|
| 192 |
+
|
| 193 |
+
This work was supported by National Natural Science Foundation of China (No. U19B2019, 61832007), Tsinghua EE Xilinx AI Research Fund, Beijing National Research Center for Information Science and Technology (BNRist), and Beijing Innovation Center for Future Chips. We thank Zinan Lin, Tianchen Zhao, and Hanbo Sun for their valuable discussions. Finally, we thank all anonymous reviewers for their constructive suggestions.
|
| 194 |
+
|
| 195 |
+
# References
|
| 196 |
+
|
| 197 |
+
[1] Mohamed S. Abdelfattah, Abhinav Mehrotra, Łukasz Dudziak, and Nicholas D. Lane. ZeroCost Proxies for Lightweight NAS. In International Conference on Learning Representations, 2021.
|
| 198 |
+
[2] Bowen Baker, Otkrist Gupta, Ramesh Raskar, and Nikhil Naik. Accelerating neural architecture search using performance prediction. In International Conference on Learning Representations Workshop, 2018.
|
| 199 |
+
[3] Gabriel Bender, Pieter-Jan Kindermans, Barret Zoph, Vijay Vasudevan, and Quoc Le. Understanding and simplifying one-shot architecture search. In International Conference on Machine Learning, pages 550–559, 2018.
|
| 200 |
+
[4] Yassine Benyahia, Kaicheng Yu, Kamil Bennani Smires, Martin Jaggi, Anthony C Davison, Mathieu Salzmann, and Claudiu Musat. Overcoming multi-model forgetting. In International Conference on Machine Learning, pages 594–603. PMLR, 2019.
|
| 201 |
+
[5] Andrew Brock, Theodore Lim, James Millar Ritchie, and Nicholas J Weston. Smash: One-shot model architecture search through hypernetworks. In International Conference on Learning Representations, 2018.
|
| 202 |
+
[6] Wuyang Chen, Xinyu Gong, and Zhangyang Wang. Neural architecture search on imagenet in four gpu hours: A theoretically inspired perspective. In International Conference on Learning Representations, 2021.
|
| 203 |
+
[7] Xiangxiang Chu, Bo Zhang, Ruijun Xu, and Jixiang Li. Fairnas: Rethinking evaluation fairness of weight sharing neural architecture search. arXiv preprint arXiv:1907.01845, 2019.
|
| 204 |
+
[8] Xuanyi Dong and Yi Yang. One-shot neural architecture search via self-evaluated template network. In Proceedings of the IEEE International Conference on Computer Vision, pages 3681–3690, 2019.
|
| 205 |
+
[9] Xuanyi Dong and Yi Yang. Nas-bench-201: Extending the scope of reproducible neural architecture search. In International Conference on Learning Representations, 2020.
|
| 206 |
+
[10] Thomas Elsken, Jan Hendrik Metzen, Frank Hutter, et al. Neural architecture search: A survey. The Journal of Machine Learning Research, 20(55):1–21, 2019.
|
| 207 |
+
[11] Golnaz Ghiasi, Tsung-Yi Lin, and Quoc V Le. Nas-fpn: Learning scalable feature pyramid architecture for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 7036–7045, 2019.
|
| 208 |
+
[12] Ronghao Guo, Chen Lin, Chuming Li, Keyu Tian, Ming Sun, Lu Sheng, and Junjie Yan. Powering one-shot topological nas with stabilized share-parameter proxy. In Proceedings of the European Conference on Computer Vision, pages 625–641. Springer, 2020.
|
| 209 |
+
[13] 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 Proceedings of the European Conference on Computer Vision, pages 544–560. Springer, 2020.
|
| 210 |
+
[14] Namhoon Lee, Thalaiyasingam Ajanthan, and Philip HS Torr. Snip: Single-shot network pruning based on connection sensitivity. arXiv preprint arXiv:1810.02340, 2018.
|
| 211 |
+
[15] Ming Lin, Pichao Wang, Zhenhong Sun, Hesen Chen, Xiuyu Sun, Qi Qian, Hao Li, and Rong Jin. Zen-nas: A zero-shot nas for high-performance deep image recognition. In Proceedings of the IEEE International Conference on Computer Vision, pages 347–356, 2021.
|
| 212 |
+
[16] Hanxiao Liu, Karen Simonyan, and Yiming Yang. Darts: Differentiable architecture search. arXiv preprint arXiv:1806.09055, 2018.
|
| 213 |
+
[17] Vasco Lopes, Saeid Alirezazadeh, and Luís A Alexandre. Epe-nas: Efficient performance estimation without training for neural architecture search. arXiv preprint arXiv:2102.08099, 2021.
|
| 214 |
+
[18] Renqian Luo, Tao Qin, and Enhong Chen. Balanced one-shot neural architecture optimization. arXiv preprint arXiv:1909.10815, 2019.
|
| 215 |
+
[19] Renqian Luo, Fei Tian, Tao Qin, Enhong Chen, and Tie-Yan Liu. Neural architecture optimization. In Advances in Neural Information Processing Systems, pages 7816–7827. 2018.
|
| 216 |
+
[20] Joseph Mellor, Jack Turner, Amos Storkey, and Elliot J. Crowley. Neural architecture search without training. arXiv preprint arXiv:2006.04647, 2021.
|
| 217 |
+
[21] Joseph Mellor, Jack Turner, Amos Storkey, and Elliot J. Crowley. Neural architecture search without training. In International Conference on Machine Learning, 2021.
|
| 218 |
+
[22] Michael C Mozer and Paul Smolensky. Skeletonization: A technique for trimming the fat from a network via relevance assessment. In Advances in Neural Information Processing Systems, pages 107–115, 1989.
|
| 219 |
+
[23] Niv Nayman, Asaf Noy, Tal Ridnik, Itamar Friedman, Rong Jin, and Lihi Zelnik. Xnas: Neural architecture search with expert advice. Advances in Neural Information Processing Systems, 32:1977–1987, 2019.
|
| 220 |
+
[24] Xuefei Ning, Changcheng Tang, Wenshuo Li, Songyi Yang, Tianchen Zhao, Niansong Zhang, Tianyi Lu, Shuang Liang, Huazhong Yang, and Yu Wang. aw_nas: A modularized and extensible nas framework. arXiv preprint arXiv:2012.10388, 2020.
|
| 221 |
+
[25] Xuefei Ning, Yin Zheng, Tianchen Zhao, Yu Wang, and Huazhong Yang. A generic graph-based neural architecture encoding scheme for predictor-based nas. In Proceedings of the European Conference on Computer Vision, 2020.
|
| 222 |
+
[26] Daniel S Park, Jaehoon Lee, Daiyi Peng, Yuan Cao, and Jascha Sohl-Dickstein. Towards nngp-guided neural architecture search. arXiv preprint arXiv:2011.06006, 2020.
|
| 223 |
+
[27] Hieu Pham, Melody Guan, Barret Zoph, Quoc Le, and Jeff Dean. Efficient neural architecture search via parameters sharing. In International Conference on Machine Learning, pages 4095–4104. PMLR, 2018.
|
| 224 |
+
[28] Aloïs Pourchot, Alexis Ducarouge, and Olivier Sigaud. To share or not to share: A comprehensive appraisal of weight-sharing. arXiv preprint arXiv:2002.04289, 2020.
|
| 225 |
+
[29] Ilija Radosavovic, Justin Johnson, Saining Xie, Wan-Yen Lo, and Piotr Dollár. On network design spaces for visual recognition. In Proceedings of the IEEE International Conference on Computer Vision, pages 1882–1890, 2019.
|
| 226 |
+
[30] Esteban Real, Alok Aggarwal, Yanping Huang, and Quoc V Le. Regularized evolution for image classifier architecture search. In Proceedings of the aaai conference on artificial intelligence, volume 33, pages 4780–4789, 2019.
|
| 227 |
+
[31] Binxin Ru, Clare Lyle, Lisa Schut, Miroslav Fil, Mark van der Wilk, and Yarin Gal. Speedy performance estimation for neural architecture search, 2021.
|
| 228 |
+
[32] Julien Siems, Lucas Zimmer, Arber Zela, Jovita Lukasik, Margret Keuper, and Frank Hutter. Nas-bench-301 and the case for surrogate benchmarks for neural architecture search. arXiv preprint arXiv:2008.09777, 2020.
|
| 229 |
+
[33] Hidenori Tanaka, Daniel Kunin, Daniel LK Yamins, and Surya Ganguli. Pruning neural networks without any data by iteratively conserving synaptic flow. arXiv preprint arXiv:2006.05467, 2020.
|
| 230 |
+
[34] Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszár. Faster gaze prediction with dense networks and fisher pruning. arXiv preprint arXiv:1801.05787, 2018.
|
| 231 |
+
[35] Jack Turner, Elliot J Crowley, Michael O’Boyle, Amos Storkey, and Gavin Gray. Blockswap: Fisher-guided block substitution for network compression on a budget. arXiv preprint arXiv:1906.04113, 2019.
|
| 232 |
+
[36] Chaoqi Wang, Guodong Zhang, and Roger Grosse. Picking winning tickets before training by preserving gradient flow. arXiv preprint arXiv:2002.07376, 2020.
|
| 233 |
+
[37] Colin White, Willie Neiswanger, Sam Nolen, and Yash Savani. A study on encodings for neural architecture search. Advances in Neural Information Processing Systems, 2020.
|
| 234 |
+
[38] Colin White, Arber Zela, Binxin Ru, Yang Liu, and Frank Hutter. How powerful are performance predictors in neural architecture search? arXiv preprint arXiv:2104.01177, 2021.
|
| 235 |
+
[39] Bichen Wu, Xiaoliang Dai, Peizhao Zhang, Yanghan Wang, Fei Sun, Yiming Wu, Yuandong Tian, Peter Vajda, Yangqing Jia, and Kurt Keutzer. Fbnet: Hardware-aware efficient convnet design via differentiable neural architecture search. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 10734–10742, 2019.
|
| 236 |
+
[40] Zhaohui Yang, Yunhe Wang, Xinghao Chen, Boxin Shi, Chao Xu, Chunjing Xu, Qi Tian, and Chang Xu. Cars: Continuous evolution for efficient neural architecture search. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1829–1838, 2020.
|
| 237 |
+
[41] Chris Ying, Aaron Klein, Eric Christiansen, Esteban Real, Kevin Murphy, and Frank Hutter. Nas-bench-101: Towards reproducible neural architecture search. In International Conference on Machine Learning, pages 7105–7114. PMLR, 2019.
|
| 238 |
+
[42] Kaicheng Yu, René Ranftl, and Mathieu Salzmann. How to train your super-net: An analysis of training heuristics in weight-sharing NAS. abs/2003.04276, 2020.
|
| 239 |
+
[43] Kaicheng Yu, Christian Sciuto, Martin Jaggi, Claudiu Musat, and Mathieu Salzmann. Evaluating the search phase of neural architecture search. In International Conference on Learning Representations, 2020.
|
| 240 |
+
[44] Arber Zela, Julien Siems, and Frank Hutter. Nas-bench-1shot1: Benchmarking and dissecting one-shot neural architecture search. In International Conference on Learning Representations, 2020.
|
| 241 |
+
[45] Chris Zhang, Mengye Ren, and Raquel Urtasun. Graph hypernetworks for neural architecture search. In International Conference on Learning Representations, 2019.
|
| 242 |
+
[46] Miao Zhang, Huiqi Li, Shirui Pan, Xiaojun Chang, and Steven Su. Overcoming multi-model forgetting in one-shot nas with diversity maximization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2020.
|
| 243 |
+
[47] Yuge Zhang, Zejun Lin, Junyang Jiang, Quanlu Zhang, Yujing Wang, Hui Xue, Chen Zhang, and Yaming Yang. Deeper insights into weight sharing in neural architecture search. arXiv preprint arXiv:2001.01431, 2020.
|
| 244 |
+
[48] Barret Zoph and Quoc V. Le. Neural architecture search with reinforcement learning. In International Conference on Learning Representations, 2017.
|
parse/train/Esd7tGH3Spl/Esd7tGH3Spl_content_list.json
ADDED
|
@@ -0,0 +1,1159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Evaluating Efficient Performance Estimators of Neural Architectures ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
214,
|
| 8 |
+
122,
|
| 9 |
+
787,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Xuefei Ning1] Changcheng Tang2 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
214,
|
| 19 |
+
220,
|
| 20 |
+
495,
|
| 21 |
+
237
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Wenshuo Li1 ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
540,
|
| 30 |
+
220,
|
| 31 |
+
633,
|
| 32 |
+
236
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Zixuan Zhou1 ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
681,
|
| 41 |
+
222,
|
| 42 |
+
781,
|
| 43 |
+
236
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Shuang Liang2 ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
254,
|
| 52 |
+
257,
|
| 53 |
+
361,
|
| 54 |
+
272
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Huazhong Yang1† ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
449,
|
| 63 |
+
256,
|
| 64 |
+
573,
|
| 65 |
+
272
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Yu Wang1‡ ",
|
| 72 |
+
"bbox": [
|
| 73 |
+
663,
|
| 74 |
+
256,
|
| 75 |
+
741,
|
| 76 |
+
272
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Department of Electronic Engineering, Tsinghua University1 Novauto Technology Co. Ltd.2 ]foxdoraame@gmail.com, †yanghz@tsinghua.edu.cn, ‡yu-wang@tsinghua.edu.cn ",
|
| 83 |
+
"bbox": [
|
| 84 |
+
254,
|
| 85 |
+
286,
|
| 86 |
+
740,
|
| 87 |
+
328
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "Abstract ",
|
| 94 |
+
"text_level": 1,
|
| 95 |
+
"bbox": [
|
| 96 |
+
462,
|
| 97 |
+
337,
|
| 98 |
+
535,
|
| 99 |
+
353
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "Conducting efficient performance estimations of neural architectures is a major challenge in neural architecture search (NAS). To reduce the architecture training costs in NAS, one-shot estimators (OSEs) amortize the architecture training costs by sharing the parameters of one “supernet” between all architectures. Recently, zero-shot estimators (ZSEs) that involve no training are proposed to further reduce the architecture evaluation cost. Despite the high efficiency of these estimators, the quality of such estimations has not been thoroughly studied. In this paper, we conduct an extensive and organized assessment of OSEs and ZSEs on five NAS benchmarks: NAS-Bench-101/201/301, and NDS ResNet/ResNeXt-A. Specifically, we employ a set of NAS-oriented criteria to study the behavior of OSEs and ZSEs, and reveal their biases and variances. After analyzing how and why the OSE estimations are unsatisfying, we explore how to mitigate the correlation gap of OSEs from three perspectives. Through our analysis, we give out suggestions for future application and development of efficient architecture performance estimators. Furthermore, the analysis framework proposed in our work could be utilized in future research to give a more comprehensive understanding of newly designed architecture performance estimators. The code is available at https://github. com/walkerning/aw_nas [24]. ",
|
| 106 |
+
"bbox": [
|
| 107 |
+
232,
|
| 108 |
+
366,
|
| 109 |
+
766,
|
| 110 |
+
616
|
| 111 |
+
],
|
| 112 |
+
"page_idx": 0
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"type": "text",
|
| 116 |
+
"text": "1 Introduction ",
|
| 117 |
+
"text_level": 1,
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
637,
|
| 121 |
+
310,
|
| 122 |
+
655
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Neural architecture search (NAS) can automatically discover architectures that outperform the handcrafted ones for various applications [48, 10, 11]. Early NAS methods [48, 30] suffer from an extremely heavy computational burden, and can take tens of thousands of GPU hours to run. One of the major reasons for the computational challenge of NAS is that evaluating each candidate architecture is slow, which includes a full training and testing process. In the past years, studies [2, 27, 3, 5, 8, 45, 20, 1] have been focusing on developing more efficient performance estimators of neural architectures. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
669,
|
| 132 |
+
825,
|
| 133 |
+
765
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "One-shot Estimator (OSE) Traditional NAS methods [48, 30, 2] conduct a costly separate training process to acquire the suitable parameters to evaluate each candidate architecture. To make NAS computationally tractable, ENAS [27] proposes the parameter-sharing technique to accelerate the architecture evaluation. Following this work, the parameter sharing technique is widely used for architecture search in different search spaces [39, 16] or incorporated with different search strategies [19, 16, 23, 40]. We refer to the parameter-sharing estimations as the “one-shot” estimations since it requires the training cost of one supernet. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
772,
|
| 143 |
+
825,
|
| 144 |
+
869
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "How well the one-shot estimations are correlated with the standalone architecture performances is essential for the efficacy of NAS methods. Despite the widespread use of OSEs, studies [43] have revealed that the OSE estimations might fail to reflect the true ranking of architectures. However, their experiments are conducted in a toy search space with only 32 architectures. In this work, we conduct a more comprehensive study on OSEs in five search spaces with distinct properties, including three topological search spaces (NAS-Bench-101 [41], NAS-Bench-201 [9], and NAS-Bench-301 [32]), and two non-topological search spaces [29] (NDS ResNet, and NDS ResNeXt-A). We further analyze how and why OSE estimations have bias and variance, and explore how to improve OSEs. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
173,
|
| 153 |
+
876,
|
| 154 |
+
823,
|
| 155 |
+
904
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "",
|
| 162 |
+
"bbox": [
|
| 163 |
+
174,
|
| 164 |
+
90,
|
| 165 |
+
825,
|
| 166 |
+
174
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "Zero-shot Estimator (ZSE) More recently, in order to further reduce the architecture evaluation cost, several studies [20, 1, 15, 17, 26, 6] introduce “zero-shot” estimators that involve no training. In this work, we study various ZSEs on several benchmarks and reveal their properties and weakness. ",
|
| 173 |
+
"bbox": [
|
| 174 |
+
176,
|
| 175 |
+
181,
|
| 176 |
+
821,
|
| 177 |
+
222
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "Knowledge Our work reveals pieces of knowledge on OSEs and ZSEs. First of all, some behaviors of OSEs and ZSEs vary across search spaces (Appendix A.1.1, Sec. 4.2). Some of the common knowledge for OSEs revealed by our work include 1) OSEs bias towards architectures with lower complexity in the early training phase [18]. And this bias can be alleviated to various extents with sufficient training in different spaces (Sec. 5.1). 2) OSEs have variance and can be mitigated to some extent (Sec. 5.3, Sec. 6.1). 3) Reducing the sharing extent of OSEs can potentially improve their ranking quality [47] (Sec. 6.3). ",
|
| 184 |
+
"bbox": [
|
| 185 |
+
173,
|
| 186 |
+
228,
|
| 187 |
+
825,
|
| 188 |
+
327
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "As for ZSEs, we reveal that 1) Current ZSEs cannot benefit from one-shot training. The ranking qualities of ZSEs utilizing high-order information (i.e., gradients) even degrade a lot after one-shot training (Sec. 4.2). 2) Parameter-level ZSEs adapted from pruning literature are not suitable for ranking architectures, and their ranking qualities cannot surpass those of parameter size (#Param) or #FLOPs (Sec. 4.2). 3) Existing ZSEs have improper biases, some overestimate linear architectures without skip connections, and some overestimate architectures with smaller kernel sizes and receptive fields (Sec. 5.2). 4) The relative effectiveness of ZSEs varies between search spaces, relu_logdet [21] is the best on the three topological search spaces, and synflow [33] is better on the two non-topological search spaces (Sec. 4.2). 5) Most ZSEs are not sensitive to the input data distribution: They get similar architecture rankings when using random noises as the input (Appendix B.1). ",
|
| 195 |
+
"bbox": [
|
| 196 |
+
174,
|
| 197 |
+
332,
|
| 198 |
+
825,
|
| 199 |
+
470
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "Suggestions Based on our experiments and analyses, we give out suggestions for future OSE applications. For example: 1) Longer training makes one-shot estimations better (Sec. 4.1); 2) Using one-shot loss instead of accuracy significantly improves the ranking qualities in the DARTS space [16] (Sec. 4.1); 3) One should use enough validation data for OSEs, instead of merely several batches as in ZSEs (Sec. 4.1); 4) Using temporal ensemble helps reduce the ranking instability, and brings non-negative improvements on the ranking quality in different search spaces (Sec. 6.1); 5) In search space with isomorphic architectures, augmenting the sampling strategy to improve the sampling fairness is essential to avoid overestimating simple architectures (Sec. 6.2); 6) Affine operation should not be used in batch normalization (BN) during supernet training (Sec. 6.3). ",
|
| 206 |
+
"bbox": [
|
| 207 |
+
174,
|
| 208 |
+
477,
|
| 209 |
+
825,
|
| 210 |
+
602
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 1
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "As for ZSEs, we point out several open research problems: 1) Is there a general ZSE suitable for different types of search spaces? 2) Do we need to make ZSEs utilize the input data information better, and how can we do that? 3) Can we develop ZSEs that distinguish top architectures better? We also list out some technical suggestions for improving ZSEs: 1) Future ZSEs should conduct architecture-level analysis instead of using parameter-level analysis (Sec. 4.2). 2) According to some prominent bias of existing ZSEs, we can add some structural knowledge into ZSE voting ensembles, e.g., receptive field analysis seems promising for improving jacob_cov or relu_logdet (Sec. 5.2). 3) In future developments of ZSEs, researchers should add two simple comparison baselines, #Params, and #FLOPs, as they are actually very competitive baseline ZSEs (Sec. 4.2). ",
|
| 217 |
+
"bbox": [
|
| 218 |
+
174,
|
| 219 |
+
607,
|
| 220 |
+
825,
|
| 221 |
+
733
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 1
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "Our work provides strong baselines and diagnosis tools for future research of architecture performance estimators, and we suggest future research to utilize these baselines and tools for a more comprehensive understanding of newly designed performance estimators. ",
|
| 228 |
+
"bbox": [
|
| 229 |
+
176,
|
| 230 |
+
738,
|
| 231 |
+
823,
|
| 232 |
+
781
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 1
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "Analysis Framework Our analysis framework of efficient architecture performance estimators is organized as follows. We first introduce the evaluation criteria for estimator quality in Sec. 3. And Sec. 4 presents the quality evaluation of multiple OSEs and ZSEs. Then, we conduct an organized analysis on how and why the OSE and ZSE estimations have biases and variances in Sec. 5. Specifically, their complexity-level, operation-level, and architecture-level biases are demonstrated and analyzed. And the stability of OSE accuracy and ranking along the training process are analyzed. And in Sec. 6, based on our analysis framework, we present several case studies on improving OSEs from three perspectives: i.e. reducing the variance, bias, and parameter sharing extent. ",
|
| 239 |
+
"bbox": [
|
| 240 |
+
174,
|
| 241 |
+
786,
|
| 242 |
+
825,
|
| 243 |
+
898
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 1
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "2 Related Work ",
|
| 250 |
+
"text_level": 1,
|
| 251 |
+
"bbox": [
|
| 252 |
+
174,
|
| 253 |
+
89,
|
| 254 |
+
321,
|
| 255 |
+
106
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "2.1 Efficient Performance Estimators of Neural Architectures ",
|
| 262 |
+
"text_level": 1,
|
| 263 |
+
"bbox": [
|
| 264 |
+
174,
|
| 265 |
+
121,
|
| 266 |
+
612,
|
| 267 |
+
136
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "One-shot Estimators The vanilla NAS method [48] trains each architecture for 50 epochs to acquire its suitable parameters, which makes the NAS process prohibitively costly. As a remedy, ENAS [27] proposes to amortize the separate training costs by sharing parameters among architectures. Specifically, ENAS constructs an over-parametrized supernet such that all architectures can be evaluated using its parameter subsets. Throughout the search process, the shared supernet parameters are updated on the training set, and an RNN controller is updated alternatively on the validation set. ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
174,
|
| 276 |
+
147,
|
| 277 |
+
825,
|
| 278 |
+
232
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "There are two types of parameter-sharing methods: 1) One-shot NAS methods [3, 13] that first train a supernet and then conduct architecture search without further supernet tuning. 2) Non-one-shot methods [27, 16, 40] that conduct supernet training and architecture search (i.e. controller update) jointly. And this work focuses on evaluating the estimations of the “one-shot” supernet, since it is the cleaner case without the complexity of varying controller settings and possible controller-supernet co-adaption. In each supernet training step, S architectures are randomly sampled to process a batch of training data. Here S denotes the number of Monte-Carlo architecture samples. Then, the gradients of these architectures are averaged to update the supernet. ",
|
| 285 |
+
"bbox": [
|
| 286 |
+
174,
|
| 287 |
+
237,
|
| 288 |
+
825,
|
| 289 |
+
348
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "text",
|
| 295 |
+
"text": "Correlation of One-shot Estimators There exist some studies that carry out correlation evaluation for one-shot estimators. Zhang et al. [45] compare the correlation of OSEs and their proposed hyper-network-based estimator. However, their work is not aiming for a large-scale evaluation of OSEs and ZSEs, thus they only evaluate the OSE correlations on one search space, and do not conduct further analysis. Yu et al. [43] conduct parameter sharing NAS in a toy RNN search space with only 32 architectures in total, and discover that the parameter sharing rankings do not correlate with the true rankings of architectures. Zela et al. [44] also report that the correlation of parameter-sharing estimations is not satisfying with a Spearman correlation coefficient between -0.25 and 0.3 on a larger search space with around $1 5 \\mathrm { k }$ architectures. Pourchot et al. [28] evaluate the Spearman’s ranking correlation of OSEs on NAS-Bench-101. Yu et al. [42] provide an analysis on how the heuristics and hyperparameters influence the supernet training on three benchmarks (i.e. NAS-Bench-101, NAS-Bench-201, and DARTS-NDS). But they only use the variants of Kendall’s Tau as the evaluation criteria, and do not further explore the biases and failing reasons of OSEs. Zhang et al. [47] point out the instability and poor ranking correlation of OSEs, and claim that the high extent of parameter sharing causes the unsatisfying performance. However, they only conduct experiments on a small search space with about 200 architectures. ",
|
| 296 |
+
"bbox": [
|
| 297 |
+
174,
|
| 298 |
+
356,
|
| 299 |
+
825,
|
| 300 |
+
575
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 2
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "In this paper, we conduct a more comprehensive study of OSE behaviors across five search spaces, and further investigate how and why the OSE estimations are not satisfying. We also propose and compare several techniques to mitigate the OSE correlation gap. ",
|
| 307 |
+
"bbox": [
|
| 308 |
+
176,
|
| 309 |
+
582,
|
| 310 |
+
825,
|
| 311 |
+
625
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 2
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"text": "Zero-shot Estimators More recently, in order to further reduce the architecture evaluation cost, several researches [20, 1] propose “zero-shot” estimators that conduct no training and use random initialized models to estimate architecture performances. Based on the observation that good architectures have distinct local jacobian on different images, Mellor et al. [20] propose an indicator based on input jacobian correlation. Lopes et al. [17] improve the above indicator by calculating the jacobian correlation with respect to the class. Abdelfattah et al. [1] adapt several ZSEs from the pruning literature, and claim that these adapted ZSEs can perform well on NAS-Bench-201. Lin et al. [15] define the expected Gaussian complexity to measure the network expressivity, and efficiently discover architectures with state-of-the-art accuracy on ImagetNet. With a small training overhead, Ru et al. [31] propose to evaluate an architecture’s performance by its training speed. Concurrent to our work, White et al. [38] also evaluate various performance estimators on multiple benchmarks. ",
|
| 318 |
+
"bbox": [
|
| 319 |
+
174,
|
| 320 |
+
631,
|
| 321 |
+
825,
|
| 322 |
+
782
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "2.2 NAS Benchmarks ",
|
| 329 |
+
"text_level": 1,
|
| 330 |
+
"bbox": [
|
| 331 |
+
174,
|
| 332 |
+
801,
|
| 333 |
+
338,
|
| 334 |
+
815
|
| 335 |
+
],
|
| 336 |
+
"page_idx": 2
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"type": "text",
|
| 340 |
+
"text": "NAS benchmarks are proposed to enable researchers to verify the effectiveness of NAS methods efficiently. NAS-Bench-101 (NB101) [41] provides the performances of the $4 2 3 \\mathrm { k }$ valid architectures in a cell-based search space. OSE cannot be easily applied for the whole NB101 search space due to its specific channel number rule. To reuse NB101 for benchmarking OSE, NAS-Bench-1shot1 (NB1shot) [44] picks out three sub-spaces of NB101, and a supernet can be easily constructed for these sub-spaces. In this work, we use the largest sub-space in NB1shot: NB1shot-3, and use the name “NB101” to refer to it. Another benchmark, NAS-Bench-201 (NB201) [9], provides the performances of all the 15625 architectures in a single-cell search space. Previous tabular benchmarks exhaustively train all architectures in a search space much smaller than commonly-used ones (e.g. DARTS [16] with size over $1 0 ^ { 1 8 }$ ). Recently, NAS-Bench-301 (NB301) [32] is proposed as a benchmark in the DARTS space. It adopts a surrogate-based methodology that predicts architecture performances with the performances of about 60k anchor architectures. ",
|
| 341 |
+
"bbox": [
|
| 342 |
+
174,
|
| 343 |
+
828,
|
| 344 |
+
823,
|
| 345 |
+
911
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 2
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "",
|
| 352 |
+
"bbox": [
|
| 353 |
+
173,
|
| 354 |
+
90,
|
| 355 |
+
825,
|
| 356 |
+
174
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "Besides these benchmarks on cell-based topological search spaces, we also experiment with two nontopological benchmarking search spaces [29], NDS ResNet, and NDS ResNeXt-A. The architectural decisions in these search spaces are the non-topological hyper-parameters of pre-defined blocks, including kernel size, width, depth, convolution group number, and so on. The properties of these benchmarking search spaces are summarized in Appendix Tab. A1. ",
|
| 363 |
+
"bbox": [
|
| 364 |
+
174,
|
| 365 |
+
181,
|
| 366 |
+
825,
|
| 367 |
+
251
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "3 Evaluation Criteria ",
|
| 374 |
+
"text_level": 1,
|
| 375 |
+
"bbox": [
|
| 376 |
+
176,
|
| 377 |
+
268,
|
| 378 |
+
369,
|
| 379 |
+
286
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "This section introduces the major evaluation criteria used in our analysis framework, while the analysis criteria and methods of ranking bias and variance will be introduced in Sec. 5. We denote the total number of architectures as $M$ , the true (ground-truth, GT) performances and approximated estimated scores of architectures $\\{ a _ { i } \\} _ { i = 1 , \\cdots , M }$ as $\\{ y _ { i } \\} _ { i = 1 , \\cdots , M }$ and $\\{ s _ { i } \\} _ { i = 1 , \\cdots , M }$ , respectively, and the ranking of the true and estimated score $y _ { i } , s _ { i }$ as $r _ { i } , n _ { i } \\in \\{ 1 , \\cdots , M \\}$ , respectively $( r _ { i } = 1$ indicates that $a _ { i }$ is the best architecture). The correlation criteria used in our framework are ",
|
| 386 |
+
"bbox": [
|
| 387 |
+
174,
|
| 388 |
+
300,
|
| 389 |
+
825,
|
| 390 |
+
383
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "• Pearson coefficient of linear correlation (LC): $\\operatorname { c o r r } ( y , s ) / { \\sqrt { \\operatorname { c o r r } ( y , y ) \\operatorname { c o r r } ( s , s ) } } .$ . \n• Kendall’s Tau ranking correlation $( \\mathrm { K D } \\tau )$ : The relative difference of concordant pairs and \ndiscordant pairs $\\begin{array} { r } { \\sum _ { i < j } \\mathrm { s g n } ( y _ { i } - y _ { j } ) \\mathrm { s g n } ( s _ { i } - s _ { j } ) / \\binom { M } { 2 } } \\end{array}$ . \n• Spearman’s ranking correlation (SpearmanR): The pearson correlation coefficient between the ranking variables $\\operatorname { c o r r } ( r , n ) / { \\sqrt { \\operatorname { c o r r } ( r , r ) \\operatorname { c o r r } ( n , n ) } }$ . ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
217,
|
| 399 |
+
395,
|
| 400 |
+
825,
|
| 401 |
+
482
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "Since the ability of differentiating between good architectures matters more than differentiating between bad ones, criteria that emphasize more on the relative order of architectures with good performances are desired. Denoting $A _ { K } = \\{ a _ { i } | n _ { i } < K M \\}$ as the set of architectures whose estimated scores $s$ are among the top $K$ portion of the search space, we use two set of criteira [25]: ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
176,
|
| 410 |
+
491,
|
| 411 |
+
825,
|
| 412 |
+
547
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "• Precision $@ \\mathrm { K }$ $\\begin{array} { r } { ( \\mathrm { P } \\ @ \\mathrm { t o p K } ) \\in ( 0 , 1 ] = \\frac { \\# \\{ i | r _ { i } < K M \\wedge n _ { i } < K M \\} } { K M } ; } \\end{array}$ : The proportion of true top-K proportion architectures in the top- ${ \\bf \\nabla } \\cdot { \\bf K }$ architectures according to the scores. • BestRanking $@ \\mathrm { K }$ $\\mathrm { \\sf ~ \\zeta ( B R @ K ) } \\in ( 0 , 1 ] = \\mathrm { a r g } \\operatorname* { m i n } _ { \\alpha _ { i } \\in A _ { K } } r _ { i } / M$ : The best normalized ranking among the top K proportion of architectures according to the scores (Lower is better). ",
|
| 419 |
+
"bbox": [
|
| 420 |
+
217,
|
| 421 |
+
556,
|
| 422 |
+
825,
|
| 423 |
+
622
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 3
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "Corresponding to P@topK, we also compare P@bottomK = #{i|ri>(1−K)M ∧ ni>(1−K)M} to reveal how the worst architectures are distinguished. And corresponding to $\\mathrm { B R @ K }$ , we inspect WorstRanking $@ \\mathrm { K }$ $\\operatorname { K } \\left( \\operatorname { W R } \\circledast \\operatorname { K } \\right) = \\arg \\operatorname* { m a x } _ { \\alpha _ { i } \\in A _ { K } } { r _ { i } } / M$ to reveal how the supernet is likely to regard a bad architecture to be good (Lower is better). Note that the rankings and architecture numbers are all relative numbers normalized by the total architecture number $M$ . ",
|
| 430 |
+
"bbox": [
|
| 431 |
+
174,
|
| 432 |
+
632,
|
| 433 |
+
825,
|
| 434 |
+
705
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 3
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"text": "4 Evaluating Efficient Performance Estimators ",
|
| 441 |
+
"text_level": 1,
|
| 442 |
+
"bbox": [
|
| 443 |
+
174,
|
| 444 |
+
723,
|
| 445 |
+
581,
|
| 446 |
+
741
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 3
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "4.1 Evaluation of One-shot Estimators ",
|
| 453 |
+
"text_level": 1,
|
| 454 |
+
"bbox": [
|
| 455 |
+
176,
|
| 456 |
+
753,
|
| 457 |
+
454,
|
| 458 |
+
768
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "Trend of Different Criteria We inspect how these proposed criteria evolve during the training process. Unless otherwise noted, MC sample $S { = } 1$ is used in the experiments. And all training and evaluation settings are summarized in Appendix D. Fig. 1 and Appendix Fig. A24 show the criteria trend on topological and non-topological search spaces, respectively. We can see that the convergence speeds of criteria are different, and on all search spaces except NB101, all criteria show a rising trend as the training goes on, indicating that OSE gives better rankings with sufficient training. ",
|
| 465 |
+
"bbox": [
|
| 466 |
+
174,
|
| 467 |
+
779,
|
| 468 |
+
825,
|
| 469 |
+
863
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 3
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "Another fact is that on all search spaces except NB101, OSEs are better at distinguishing bad architectures (higher $\\mathbf { P } \\ @ \\mathbf { b o t t o m } 5 \\%$ ) than distinguishing good ones (lower $\\mathbf { P } @ \\mathbf { t o p } 5 \\%$ ). This indicates that, although identifying the exactly optimal architecture might be difficult for OSEs, using them to filter bad architectures or warm-up sample-based NAS can be very effective. The results of more criteria are shown in Appendix Fig. A1. ",
|
| 476 |
+
"bbox": [
|
| 477 |
+
174,
|
| 478 |
+
869,
|
| 479 |
+
825,
|
| 480 |
+
911
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 3
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "image",
|
| 486 |
+
"img_path": "images/b8304783e77c6ebf99ae48f039807233487e76c290dc781e59acd148282487ed.jpg",
|
| 487 |
+
"image_caption": [
|
| 488 |
+
"Figure 1: Top /Bottom: Criteria of using OS accuracy / OS loss as the estimations (right Y-axis: OS loss value). “Oneshot average” means the average oneshot score (accuracy or loss). "
|
| 489 |
+
],
|
| 490 |
+
"image_footnote": [],
|
| 491 |
+
"bbox": [
|
| 492 |
+
171,
|
| 493 |
+
87,
|
| 494 |
+
823,
|
| 495 |
+
232
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 4
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "",
|
| 502 |
+
"bbox": [
|
| 503 |
+
174,
|
| 504 |
+
299,
|
| 505 |
+
823,
|
| 506 |
+
328
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 4
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "In the NB301 (DARTS) space, OS loss gives significantly better estimations than OS accuracy. For example, at epoch 1000, the KD $\\tau$ of OS acc and loss are 0.381 and 0.512, respectively, while their $\\mathrm { P @ t o p 5 \\% }$ are $1 3 . 8 \\%$ and $3 1 . 0 \\%$ . This is because the loss value considers the network’s output distribution rather than a single label prediction, it has a less concentrated distribution and is more informative in ranking architectures. Fig. 2 shows that the OS accuracy distribution is indeed more concentrated than the OS loss on NB301. ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
174,
|
| 515 |
+
334,
|
| 516 |
+
825,
|
| 517 |
+
416
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 4
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "image",
|
| 523 |
+
"img_path": "images/3d35aced6ca20a2e7936259372175c9884ec3242abfba7f15399adfac9a8d8eb.jpg",
|
| 524 |
+
"image_caption": [
|
| 525 |
+
"Figure 2: The distribution of OS accuracy and loss. "
|
| 526 |
+
],
|
| 527 |
+
"image_footnote": [],
|
| 528 |
+
"bbox": [
|
| 529 |
+
267,
|
| 530 |
+
431,
|
| 531 |
+
722,
|
| 532 |
+
544
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 4
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "Effect of the Validation Data Size We inspect OSEs’ ranking quality when using different numbers of validation data batches to evaluate the OS scores, and find that on both NB201/NB301, using more data improves the estimation quality. Specifically, we compute the average OS accuracies over $_ \\mathrm { N }$ validation batches, where each batch contains 128 examples. And the effect of the batch number N on the ranking quality is shown in Fig. 3 and Appendix Fig. A3. Fig. 3 shows that on NB301, criteria get better when the batch number increases from 1 to 10 at epoch 1000. Interestingly, when the training is not sufficient (epoch 200), the criteria decrease with more data batches (especially those of the OS acc). To explain this, Fig. 3(upper right) shows the intra-“level” KD histogram, where architectures with the same OS accuracy using one validation batch are said to be in the same level. We can see that when the supernet is under-trained, it is not good at distinguishing between intra-level architectures (negative intra-level KDs). Therefore, using more validation data might bring negative impacts, while giving tie scores can avoid making wrong comparisons between similar architectures. ",
|
| 539 |
+
"bbox": [
|
| 540 |
+
173,
|
| 541 |
+
584,
|
| 542 |
+
825,
|
| 543 |
+
751
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 4
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "4.2 Evaluation of Zero-shot Estimators ",
|
| 550 |
+
"text_level": 1,
|
| 551 |
+
"bbox": [
|
| 552 |
+
176,
|
| 553 |
+
770,
|
| 554 |
+
459,
|
| 555 |
+
785
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 4
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "Our work evaluates six parameter-level ZSEs and two architecture-level ZSEs. The six parameterlevel ZSEs are grad_norm, plain [22], snip [14], grasp [36], fisher [34, 35], and synflow [33]. These ZSEs are named after sensitivity indicators initially designed for fine-grained network pruning that measure the approximate loss change when certain parameters or activations are pruned. A recent work [1] proposes to sum up parameter-wise sensitivities of all parameters to evaluate an architecture. And architecture-level ZSEs measure the architecture’s discriminability by inference differences between different input images: jacob_cov [20] uses the input jacobian correlation, and relu_logdet [21] uses activation differences. ",
|
| 562 |
+
"bbox": [
|
| 563 |
+
174,
|
| 564 |
+
797,
|
| 565 |
+
825,
|
| 566 |
+
909
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 4
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "image",
|
| 572 |
+
"img_path": "images/881521b6730a6bd1f4e7cd29a61ace352aa7330c41d5d6a85f1ae466f167f1d2.jpg",
|
| 573 |
+
"image_caption": [
|
| 574 |
+
"Figure 3: Criteria vary on NB301 as the batch number (X-axis) changes. Right: The histogram of intra-level KDs using 10-batch OS acc, the “levels” are partitioned according to 1-batch OS acc. Since batch_size ${ \\mathrel { = } } 1 2 8$ , at most 128 levels can exist. The legend gives out the actual number of levels in 1-batch evaluation with format “#acc levels with #arch>1 / #total”. "
|
| 575 |
+
],
|
| 576 |
+
"image_footnote": [],
|
| 577 |
+
"bbox": [
|
| 578 |
+
173,
|
| 579 |
+
90,
|
| 580 |
+
826,
|
| 581 |
+
286
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 5
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "The full evaluation results of ZSEs are shown in Appendix B and C, and Fig. 4 shows some of the results on NB201 and NB301. We can see that the ranking correlations of ZSEs except relu_logdet are even worse than the GT-Param correlation. Also, the relative effectiveness of ZSEs varies between search spaces. For example, on NB301, plain performs better than other ZSEs except ",
|
| 588 |
+
"bbox": [
|
| 589 |
+
173,
|
| 590 |
+
366,
|
| 591 |
+
356,
|
| 592 |
+
587
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 5
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "image",
|
| 598 |
+
"img_path": "images/0d8eec200ae47c370661711c4509e608c8fac6a10d52bb363270216a333f9730.jpg",
|
| 599 |
+
"image_caption": [
|
| 600 |
+
"Figure 4: KD between GT, FLOPs/Params, OSEs (1k epoch) and ZSEs. Left: NB201; Right: NB301. "
|
| 601 |
+
],
|
| 602 |
+
"image_footnote": [],
|
| 603 |
+
"bbox": [
|
| 604 |
+
369,
|
| 605 |
+
367,
|
| 606 |
+
825,
|
| 607 |
+
531
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 5
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "relu_logdet, while on NB201, plain performs worst among all ZSEs. And jacob_cov and synflow give relatively good estimations with KD of $0 . 6 1 \\mathrm { ~ / ~ } 0 . 5 7$ , but they do not perform well on NB301 (KDs are $0 . 2 3 / 0 . 2 )$ . Also, as shown in Appendix Tab. A12, the best-performing ZSE on topological search spaces, relu_logdet, does not perform well on non-topological NDS ResNet and ResNeXt-A. ",
|
| 614 |
+
"bbox": [
|
| 615 |
+
174,
|
| 616 |
+
588,
|
| 617 |
+
825,
|
| 618 |
+
642
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 5
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "The vote ZSE [1] conducts a majority vote between various metrics to compare each pair of architectures. We choose three best-performing ZSEs as the voting experts, and find that this simple form of voting does not bring improvements over the best constituent ZSE. Better ways of ensembling different ZSEs need to be developed. ",
|
| 625 |
+
"bbox": [
|
| 626 |
+
173,
|
| 627 |
+
648,
|
| 628 |
+
825,
|
| 629 |
+
704
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 5
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "It is a natural idea to apply ZSEs on trained networks. Thus we explore whether ZSEs can benefit from one-shot training. According to Appendix Tab. A11, current ZSEs cannot benefit from one-shot training. The ranking qualities of ZSEs except relu_logdet even degrade a lot after one-shot training. A possible explanation is that these ZSEs utilize the gradient information, and the gradient magnitudes in a trained supernet are too small and obscure for architecture ranking. ",
|
| 636 |
+
"bbox": [
|
| 637 |
+
174,
|
| 638 |
+
710,
|
| 639 |
+
825,
|
| 640 |
+
780
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 5
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "5 How & Why the Estimations Are Not Satisfying ",
|
| 647 |
+
"text_level": 1,
|
| 648 |
+
"bbox": [
|
| 649 |
+
174,
|
| 650 |
+
799,
|
| 651 |
+
604,
|
| 652 |
+
816
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 5
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "5.1 Bias of One-shot Estimators ",
|
| 659 |
+
"text_level": 1,
|
| 660 |
+
"bbox": [
|
| 661 |
+
176,
|
| 662 |
+
830,
|
| 663 |
+
408,
|
| 664 |
+
844
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 5
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "Complexity-level Bias To identify which architectures are under- or overestimated, we investigate the relationship of the true-estimated Ranking Difference (RD) $r _ { i } - n _ { i } ; i = 1 , \\cdots , M$ and the architecture complexity (i.e. Params, FLOPs). RD serves as an indicator of overestimation for arch $i$ : A positive RD indicates that this architecture is overestimated. Otherwise, it is underestimated. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
174,
|
| 673 |
+
856,
|
| 674 |
+
825,
|
| 675 |
+
911
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 5
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "Sub-architectures have different amounts of calculation and might converge with a different speed. Thus, we conduct the complexity-level bias analysis. In Fig. 5, we divide the architectures into five ",
|
| 682 |
+
"bbox": [
|
| 683 |
+
173,
|
| 684 |
+
92,
|
| 685 |
+
823,
|
| 686 |
+
119
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 6
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "image",
|
| 692 |
+
"img_path": "images/be6f1be83d88f80f18f1d90c0e7caf03cf1e6699448d1afcbe9416373bedec49.jpg",
|
| 693 |
+
"image_caption": [
|
| 694 |
+
"Figure 5: Complexity-level bias. Left/right Y-axis: KD $\\tau$ / Average RD within the complexity group. X-axis: Complexity groups (the group with the smallest FLOPs is at the leftmost). "
|
| 695 |
+
],
|
| 696 |
+
"image_footnote": [],
|
| 697 |
+
"bbox": [
|
| 698 |
+
173,
|
| 699 |
+
133,
|
| 700 |
+
531,
|
| 701 |
+
310
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 6
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "text",
|
| 707 |
+
"text": "complexity groups according to the amount of calculation (FLOPs), and show the KD and average RD in each group. In the early training stages (the 1st row), the average RD shows a decreasing trend, which means that the larger the model, the easier it is to be underestimated. This is because larger models converge at a slower speed. As the training goes on (the 2nd and 3rd rows), the absolute average RD decreases, indicating that the issue of underestimating larger models gets alleviated. And on both spaces, the decreasing intra-group KD $\\tau$ indicates that it is harder for OSEs to compare larger models than comparing smaller ones. ",
|
| 708 |
+
"bbox": [
|
| 709 |
+
547,
|
| 710 |
+
119,
|
| 711 |
+
825,
|
| 712 |
+
325
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 6
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "Op-level Bias We inspect the changes of GT and OS accuracy when one operation is mutated to another (edit distance $^ { = 1 }$ ). On NB301, we examine 23476 mutation pairs and find that the OSE estimations overes",
|
| 719 |
+
"bbox": [
|
| 720 |
+
545,
|
| 721 |
+
333,
|
| 722 |
+
823,
|
| 723 |
+
401
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 6
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "timate the effects brought by dilation (Dil) convolutions (Convs): All mutation types from other operations to DilConvs witness a higher OS increase ratio than the GT one. And the skip_connect operation is underestimated: All mutation pairs from skip_connect cause the OS increase ratio to be higher than the GT one. For example, when mutating one skip_connect operation to dil_conv_5x5, only $3 9 . 0 \\%$ out of 2336 pairs get GT increases, while $9 4 . 9 \\%$ get OS increases. This phenomenon is more remarkable when we only consider mutation pairs within the largest complexity group (grouped by Param): Only $1 5 . 3 \\%$ of 569 pairs get GT increases, while $9 2 . 3 \\%$ get OS increases. On NB201, based on a similar inspection of the mutation pairs, we find that OSE estimations slightly overestimate avgpool3x3 and underestimate conv $3 \\mathbf { x } 3$ . Generally speaking, the op-level bias on NB201 is not as large as that on NB301. See Appendix A.2.2 for the figures and more results. ",
|
| 730 |
+
"bbox": [
|
| 731 |
+
173,
|
| 732 |
+
401,
|
| 733 |
+
826,
|
| 734 |
+
540
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 6
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "5.2 Bias of Zero-shot Estimators ",
|
| 741 |
+
"text_level": 1,
|
| 742 |
+
"bbox": [
|
| 743 |
+
174,
|
| 744 |
+
560,
|
| 745 |
+
411,
|
| 746 |
+
575
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 6
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "image",
|
| 752 |
+
"img_path": "images/f1b7fb76b8566135b61ab87269543dad37fe963c3f1b3aea3acd73ad5b307df0.jpg",
|
| 753 |
+
"image_caption": [
|
| 754 |
+
"Figure 6: The best architectures ranked by several ZSEs on NB201 and NB301. "
|
| 755 |
+
],
|
| 756 |
+
"image_footnote": [],
|
| 757 |
+
"bbox": [
|
| 758 |
+
173,
|
| 759 |
+
597,
|
| 760 |
+
825,
|
| 761 |
+
724
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 6
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "Arch-level Bias By inspecting the best and worst architectures indicated by ZSEs, we find that existing ZSEs have improper biases. Fig. 6 shows that synflow has an excessive preference for large architectures. snip, grad_norm and fisher give similar rankings of architectures (see Fig. 4), and show improper preferences for architectures with gradient explosion: On NB201, they show a clear preference for architectures without skip connections, which are far from optimal. This is because gradient magnitudes in these architectures get exploded, and the absolute parameter-wise sensitivity is high. In a word, the parameter-level ZSEs adapted from the fine-grained pruning literature are not very suitable for ranking architectures, since they are designed to reflect the relative parameter-wise sensitivity. And due to their sensitivity to scales and gradient explosion, a simple form of adding up the parameter-wise sensitivity provides improperly biased estimations for architecture performances. ",
|
| 768 |
+
"bbox": [
|
| 769 |
+
173,
|
| 770 |
+
772,
|
| 771 |
+
825,
|
| 772 |
+
911
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 6
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "In contrast, architecture-level ZSEs (jacob_cov, relu_logdet) are more reasonable attempts that measure the architectures’ discriminability by inference differences between input images. Nevertheless, as shown in Fig. 6 and Appendix B.2, these two ZSEs prefer architectures with smaller receptive fields (prefer smaller kernel sizes or shallow architectures). Consequently, although these two ZSEs have relatively good ranking correlations on topological search spaces, they have difficulties in picking out top architectures (Poor $\\mathrm { P @ }$ topKs, see Appendix Tab. A9). ",
|
| 779 |
+
"bbox": [
|
| 780 |
+
174,
|
| 781 |
+
92,
|
| 782 |
+
826,
|
| 783 |
+
174
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 7
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "5.3 Variance of One-shot Estimators ",
|
| 790 |
+
"text_level": 1,
|
| 791 |
+
"bbox": [
|
| 792 |
+
174,
|
| 793 |
+
191,
|
| 794 |
+
441,
|
| 795 |
+
205
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 7
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "text",
|
| 801 |
+
"text": "Accuracy Forgetting Due to the parameter sharing and the random sample training scheme, the training of subsequent architectures overwrites the weights of previous ones, thus degrades their OS accuracy. This “multi-model forgetting” phenomenon [4, 46] accounts for the variance of OS accuracies. Appendix Fig. A14 verifies the existence of the forgetting phenomenon. For each architecture in one epoch, we define its forgetting value (FV) as $\\ a c c _ { 2 } \\ - - \\ a c c _ { 1 }$ , where $a c c _ { 1 }$ refers to its valid accuracy right after its training, and $a c c _ { 2 }$ refers to its accuracy after all the architectures in this epoch have been trained. Appendix Fig. A14 shows that the forgetting phenomenon exists in the early training stages, where the FVs are negative. As training progresses, the variance of the FVs decreases, which is natural due to the learning rate decay. Also, the mean FV becomes positive, indicating that training other architectures can have positive transferring effects on previous architectures instead of negative ones (i.e. forgetting). This observation can be explained by the increasing trend of inter-architecture gradient similarity in Appendix Fig. A15. ",
|
| 802 |
+
"bbox": [
|
| 803 |
+
173,
|
| 804 |
+
217,
|
| 805 |
+
825,
|
| 806 |
+
383
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 7
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "Ranking Stability We demonstrate the ranking stability in Fig. 7, since it plays an important role that influences the NAS process more directly than the accuracy stability. The criteria in this figure (i.e. relative KD, relative $\\mathrm { P @ }$ top/bottomK) are calculated with two sets of adjacent OS estimations, while the estimations of the latter checkpoint are taken as the GT one. We can see that the ranking stability increases with sufficient training and the OS rankings of bad architectures are relatively stable (relP $@$ bottomK). On NB301, even with rather sufficient training ",
|
| 813 |
+
"bbox": [
|
| 814 |
+
174,
|
| 815 |
+
390,
|
| 816 |
+
354,
|
| 817 |
+
707
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 7
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "image",
|
| 823 |
+
"img_path": "images/c937c3d5779f53b4b06c43c35e0b94c97a112f032f9d40ea40218b8f8d11948d.jpg",
|
| 824 |
+
"image_caption": [
|
| 825 |
+
"Figure 7: Ranking stability of OSEs. "
|
| 826 |
+
],
|
| 827 |
+
"image_footnote": [],
|
| 828 |
+
"bbox": [
|
| 829 |
+
372,
|
| 830 |
+
405,
|
| 831 |
+
821,
|
| 832 |
+
655
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 7
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "(1k epoch) where the mean OS accuracy already saturates (Fig. 1), the ranking stability of top architectures is still not high (relP $@$ top $0 . 5 \\% { \\sim } 0 . 4 6 )$ . This is reasonable since that the accuracy differences between architectures in the DARTS space are smaller. And as expected, averaging the OS accuracy of multiple supernets stabilizes OSE estimations. Also, the temporal weight ensemble of multiple checkpoints can stabilize the estimations (Sec. 6.1). ",
|
| 839 |
+
"bbox": [
|
| 840 |
+
174,
|
| 841 |
+
707,
|
| 842 |
+
825,
|
| 843 |
+
776
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 7
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"text": "6 How to Improve One-shot Estimations ",
|
| 850 |
+
"text_level": 1,
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
796,
|
| 854 |
+
526,
|
| 855 |
+
814
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 7
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "Since different architectures require different values for supernet parameters, as the side effect of acceleration, parameter sharing serves as the intrinsic reason for the OSE correlation gap. Appendix Fig. A15 shows the gradient similarity distribution between architecture pairs on NB201. We can see that the inter-architecture gradient similarities vary in a large range, and one common phenomenon on NB201 and NB301 is that the mean similarity between architecture pairs is lower in the middle-stage layers and the architectures’ gradients in the very first and last layers are more similar. Another slightly counterintuitive fact is that the gradient directions become more similar as the training goes on, especially on NB201. This can explain the positive transferring effect in the latter training stages. ",
|
| 862 |
+
"bbox": [
|
| 863 |
+
174,
|
| 864 |
+
827,
|
| 865 |
+
825,
|
| 866 |
+
911
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 7
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "",
|
| 873 |
+
"bbox": [
|
| 874 |
+
171,
|
| 875 |
+
92,
|
| 876 |
+
825,
|
| 877 |
+
119
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 8
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "text",
|
| 883 |
+
"text": "Due to parameter sharing, the random sample training scheme of OSE causes estimation variances. On the other hand, improper sampling distribution causes estimation biases. There are two types ",
|
| 884 |
+
"bbox": [
|
| 885 |
+
169,
|
| 886 |
+
126,
|
| 887 |
+
825,
|
| 888 |
+
155
|
| 889 |
+
],
|
| 890 |
+
"page_idx": 8
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"type": "text",
|
| 894 |
+
"text": "of reasons for the bias: 1) Some architectures (e.g. with larger complexity) might need higher sampling probability to match their relative performance in standalone training. 2) Architectures are sampled from an unfair distribution, i.e., some architectures have undesirable higher equivalent probabilities. ",
|
| 895 |
+
"bbox": [
|
| 896 |
+
174,
|
| 897 |
+
155,
|
| 898 |
+
433,
|
| 899 |
+
263
|
| 900 |
+
],
|
| 901 |
+
"page_idx": 8
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"type": "text",
|
| 905 |
+
"text": "Echoing the above analysis, this section conducts case studies to improve the OSE estimations from 3 perspectives, i.e. reducing the variance, bias, and parameter sharing extent. Sec. 6.1 experiments with 2 techniques that can reduce the OS estimation variance.And in Sec. 6.2, we demonstrate that using de-isomorphic sampling in space with isomorphic architectures (NB201) helps improve the sampling fairness, thus reduce the estimation bias. ",
|
| 906 |
+
"bbox": [
|
| 907 |
+
174,
|
| 908 |
+
271,
|
| 909 |
+
433,
|
| 910 |
+
435
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 8
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "image",
|
| 916 |
+
"img_path": "images/0b737e4b83011c839d8e9bae028ee47c8e85f8ba990ebeda34a8dfff42344abb.jpg",
|
| 917 |
+
"image_caption": [
|
| 918 |
+
"Figure 8: Effect of ensemble techniques on OSEs. Top: NB201; Bottom: NB301. "
|
| 919 |
+
],
|
| 920 |
+
"image_footnote": [],
|
| 921 |
+
"bbox": [
|
| 922 |
+
447,
|
| 923 |
+
171,
|
| 924 |
+
820,
|
| 925 |
+
377
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 8
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "6.1 Variance Reduction ",
|
| 932 |
+
"text_level": 1,
|
| 933 |
+
"bbox": [
|
| 934 |
+
174,
|
| 935 |
+
454,
|
| 936 |
+
349,
|
| 937 |
+
469
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 8
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Temporal Variance Reduction Sec. 5.3 shows that averaging OS scores of several supernets stabilizes the estimations. However, this technique is not practical due to its linearly enlarged consumption, as training k supernets takes k-times more computation. As a remedy, Guo et al. [12] propose to only train one supernet, and stabilize OS estimations by temporally averaging weights of supernet checkpoints. Besides the variance reduction effect shown in Fig. 7, Fig. 8 shows whether ensembling techniques can bring other ranking quality improvements. We can see that temporally ensembling 3 or 5 checkpoints brings improvements on NB201 but brings no bias improvements on NB301. ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
174,
|
| 946 |
+
479,
|
| 947 |
+
825,
|
| 948 |
+
577
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 8
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Sampling Variance Reduction We compare the results of using different MC sample numbers $S$ in supernet training. We also adapt Fair-NAS [7] sampling strategy to NB201 and NB301. Using multiple MC architecture samples has different influences in different spaces: It is beneficial for the estimation quality on NB301, while the estimation quality on NB201 decreases slightly as the MC sample number increases. See Appendix A.3.2 for more detailed results. ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
174,
|
| 957 |
+
583,
|
| 958 |
+
825,
|
| 959 |
+
654
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 8
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "6.2 Sampling Fairness Improvement ",
|
| 966 |
+
"text_level": 1,
|
| 967 |
+
"bbox": [
|
| 968 |
+
176,
|
| 969 |
+
671,
|
| 970 |
+
439,
|
| 971 |
+
686
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 8
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "Besides the complexity-level and op-level biases shown in Sec. 5.1, OSEs also have some evident architecture-level biases. The NB201 search space contains many isomorphic architectures with different representations, and there are 6466 unique structures (out of 15625) after de-isomorphism. We find that even after sufficient training, the supernet still overestimates some simple architectures significantly. Fig. 9(left) shows the top-2 ranked architectures by the average of 3 supernet’s OS scores at epoch 1000. With vanilla sampling (Iso), OS estimations bias towards simple architectures (a single Conv) with many isomorphic counterparts (Iso group size ${ } = 3 1 { }$ ). We find that this is because isomorphic architectures have identical gradients w.r.t. shared parameters, so that the shared parameters tend to be optimized towards the gradient directions of architectures with many isomorphic counterparts. ",
|
| 978 |
+
"bbox": [
|
| 979 |
+
173,
|
| 980 |
+
696,
|
| 981 |
+
825,
|
| 982 |
+
821
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 8
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "text",
|
| 988 |
+
"text": "We compare the results of sampling w. or w.o. isomorphic architectures in Fig. 9(right). We can see that using the de-isomorphism (deiso) sampling strategy helps pick out top architectures and brings significant improvements on B $\\mathbf { k } @ \\mathbf { 0 . 5 } \\%$ and ${ \\bf P } @ 5 \\%$ ( $1 . 9 \\%$ to $0 . 2 3 \\%$ , $2 1 . 3 \\%$ to $4 6 . 7 \\%$ ). We also experiment with a post-de-isomorphism (post-deiso) technique, in which the estimations of architectures in an isomorphic group are averaged during testing, while no changes are made during training. We can see that “post-deiso” brings slight improvements on $\\mathrm { B R } @ \\mathrm { K s }$ and $\\mathrm { P @ }$ topKs compared with “no post-deiso”, which might owe to the decreased estimation variances. Actually, the deiso sampling strategy is to find a de-isomorphic representation space and conduct uniform sampling in it, and our study provides another evidence for the statement made by [37] that representations can be critical for NAS methods. More detailed results and discussions are in Appendix A.3.3. ",
|
| 989 |
+
"bbox": [
|
| 990 |
+
174,
|
| 991 |
+
828,
|
| 992 |
+
825,
|
| 993 |
+
911
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 8
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "image",
|
| 999 |
+
"img_path": "images/1527fc7344adb6fe1fb60cc8f7fc743634113c85af2a3247fb193c6f8836a989.jpg",
|
| 1000 |
+
"image_caption": [
|
| 1001 |
+
"Figure 9: Comparison of Iso / Deiso sampling strategy. Left: Top-2 ranked architectures when the supernet is trained with Iso / Deiso sampling strategy, the legend’s format is “OS acc $( \\% ) / \\mathrm { G T }$ acc $( \\% )$ , Iso group size”. Right: Criteria comparison along the training process. "
|
| 1002 |
+
],
|
| 1003 |
+
"image_footnote": [],
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
174,
|
| 1006 |
+
88,
|
| 1007 |
+
823,
|
| 1008 |
+
252
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 9
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
174,
|
| 1017 |
+
330,
|
| 1018 |
+
825,
|
| 1019 |
+
386
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 9
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "6.3 Sharing Extent Reduction ",
|
| 1026 |
+
"text_level": 1,
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
174,
|
| 1029 |
+
402,
|
| 1030 |
+
393,
|
| 1031 |
+
417
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 9
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Operation Pruning We remove one or two operations in the search space (SS) and conduct supernet training on the resulting sub-SS. After training the supernet, we compare the OS estimations on the sub-SS provided by the supernet trained on full SS and the sub-SS. The detailed results and analyses can be found in Appendix A.3.4. And the conclusion is: Sharing extent reduction by removing operations can bring improvements to the average OS scores of the remaining architectures in the sub-SS, especially in the early training stages. However, whether the improved absolute OS scores can bring ranking quality improvements is questionable, and the results vary across SSes. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
174,
|
| 1040 |
+
428,
|
| 1041 |
+
825,
|
| 1042 |
+
525
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 9
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "One-shot Pruning We conduct SS pruning on NB201 by selecting the top $10 \\%$ , $2 5 \\%$ , $50 \\%$ architectures ranked by the OS scores of supernet (epoch 600), and continue to finetune the supernet to 1000 epoch with these architectures. The good news is that on NB201, OS pruning brings improvements on both the average OS score and ranking quality in the sub-SS: $2 . 2 \\% / 1 . 3 \\% / 0 . 1 \\%$ average OS score increases and 0.189/0.046/0.086 KD increases when the sub-SS contains $1 0 \\% / 2 5 \\% / 5 0 \\%$ architectures, respectively. The results reveal the potential of dynamic SS pruning for improving the OSE quality, especially for good architectures. However, this per-architecture hard pruning scheme is not practical since it needs an exhaustive test of the full search space. To explore practical dynamic SS pruning methods, we conduct a case study on per-architecture soft pruning with a jointly-trained controller, where the controller gives higher sampling probability to the architectures with higher OS scores. The results and analyses are shown in Appendix A.3.4. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
173,
|
| 1051 |
+
531,
|
| 1052 |
+
825,
|
| 1053 |
+
684
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 9
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "Remove the Affine Operation in BN We compare using or not using BN affine operations, and give out the comparison results in Appendix A.3.4. And the suggestion is that one should not use BN affine operations in the search process. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
174,
|
| 1062 |
+
690,
|
| 1063 |
+
821,
|
| 1064 |
+
732
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 9
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "7 Conclusion ",
|
| 1071 |
+
"text_level": 1,
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
174,
|
| 1074 |
+
751,
|
| 1075 |
+
299,
|
| 1076 |
+
768
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 9
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "We present an analysis framework of efficient architecture performance estimators in NAS, containing carefully developed criteria and organized analyses. Within the framework, we conduct an in-depth analysis of OSEs and ZSEs on five benchmarking search spaces with distinct properties. Our work reveals the properties, weaknesses (variance and bias) of current architecture performance estimators. For OSEs, we further conclude three directions for their improvements and experiment with several mitigations accordingly. Our work gives out suggestions for future NAS applications and points out research directions to further improve current OSEs and ZSEs. Besides the take-away knowledge, our work also provides strong baselines for future research of efficient performance estimators, and the analysis framework could be utilized to diagnose new performance estimators. ",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
174,
|
| 1085 |
+
782,
|
| 1086 |
+
825,
|
| 1087 |
+
907
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 9
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "Acknowledgements ",
|
| 1094 |
+
"text_level": 1,
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
176,
|
| 1097 |
+
89,
|
| 1098 |
+
338,
|
| 1099 |
+
106
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 10
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "text",
|
| 1105 |
+
"text": "This work was supported by National Natural Science Foundation of China (No. U19B2019, 61832007), Tsinghua EE Xilinx AI Research Fund, Beijing National Research Center for Information Science and Technology (BNRist), and Beijing Innovation Center for Future Chips. We thank Zinan Lin, Tianchen Zhao, and Hanbo Sun for their valuable discussions. Finally, we thank all anonymous reviewers for their constructive suggestions. ",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
174,
|
| 1108 |
+
121,
|
| 1109 |
+
826,
|
| 1110 |
+
190
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 10
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"text": "References ",
|
| 1117 |
+
"text_level": 1,
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
174,
|
| 1120 |
+
210,
|
| 1121 |
+
266,
|
| 1122 |
+
227
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 10
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "text",
|
| 1128 |
+
"text": "[1] Mohamed S. Abdelfattah, Abhinav Mehrotra, Łukasz Dudziak, and Nicholas D. Lane. ZeroCost Proxies for Lightweight NAS. In International Conference on Learning Representations, 2021. \n[2] Bowen Baker, Otkrist Gupta, Ramesh Raskar, and Nikhil Naik. Accelerating neural architecture search using performance prediction. In International Conference on Learning Representations Workshop, 2018. \n[3] Gabriel Bender, Pieter-Jan Kindermans, Barret Zoph, Vijay Vasudevan, and Quoc Le. Understanding and simplifying one-shot architecture search. In International Conference on Machine Learning, pages 550–559, 2018. \n[4] Yassine Benyahia, Kaicheng Yu, Kamil Bennani Smires, Martin Jaggi, Anthony C Davison, Mathieu Salzmann, and Claudiu Musat. Overcoming multi-model forgetting. In International Conference on Machine Learning, pages 594–603. PMLR, 2019. \n[5] Andrew Brock, Theodore Lim, James Millar Ritchie, and Nicholas J Weston. Smash: One-shot model architecture search through hypernetworks. In International Conference on Learning Representations, 2018. \n[6] Wuyang Chen, Xinyu Gong, and Zhangyang Wang. Neural architecture search on imagenet in four gpu hours: A theoretically inspired perspective. In International Conference on Learning Representations, 2021. \n[7] Xiangxiang Chu, Bo Zhang, Ruijun Xu, and Jixiang Li. Fairnas: Rethinking evaluation fairness of weight sharing neural architecture search. arXiv preprint arXiv:1907.01845, 2019. \n[8] Xuanyi Dong and Yi Yang. One-shot neural architecture search via self-evaluated template network. In Proceedings of the IEEE International Conference on Computer Vision, pages 3681–3690, 2019. \n[9] Xuanyi Dong and Yi Yang. Nas-bench-201: Extending the scope of reproducible neural architecture search. In International Conference on Learning Representations, 2020. \n[10] Thomas Elsken, Jan Hendrik Metzen, Frank Hutter, et al. Neural architecture search: A survey. The Journal of Machine Learning Research, 20(55):1–21, 2019. \n[11] Golnaz Ghiasi, Tsung-Yi Lin, and Quoc V Le. Nas-fpn: Learning scalable feature pyramid architecture for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 7036–7045, 2019. \n[12] Ronghao Guo, Chen Lin, Chuming Li, Keyu Tian, Ming Sun, Lu Sheng, and Junjie Yan. Powering one-shot topological nas with stabilized share-parameter proxy. In Proceedings of the European Conference on Computer Vision, pages 625–641. Springer, 2020. \n[13] 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 Proceedings of the European Conference on Computer Vision, pages 544–560. Springer, 2020. \n[14] Namhoon Lee, Thalaiyasingam Ajanthan, and Philip HS Torr. Snip: Single-shot network pruning based on connection sensitivity. arXiv preprint arXiv:1810.02340, 2018. \n[15] Ming Lin, Pichao Wang, Zhenhong Sun, Hesen Chen, Xiuyu Sun, Qi Qian, Hao Li, and Rong Jin. Zen-nas: A zero-shot nas for high-performance deep image recognition. In Proceedings of the IEEE International Conference on Computer Vision, pages 347–356, 2021. \n[16] Hanxiao Liu, Karen Simonyan, and Yiming Yang. Darts: Differentiable architecture search. arXiv preprint arXiv:1806.09055, 2018. \n[17] Vasco Lopes, Saeid Alirezazadeh, and Luís A Alexandre. Epe-nas: Efficient performance estimation without training for neural architecture search. arXiv preprint arXiv:2102.08099, 2021. \n[18] Renqian Luo, Tao Qin, and Enhong Chen. Balanced one-shot neural architecture optimization. arXiv preprint arXiv:1909.10815, 2019. \n[19] Renqian Luo, Fei Tian, Tao Qin, Enhong Chen, and Tie-Yan Liu. Neural architecture optimization. In Advances in Neural Information Processing Systems, pages 7816–7827. 2018. \n[20] Joseph Mellor, Jack Turner, Amos Storkey, and Elliot J. Crowley. Neural architecture search without training. arXiv preprint arXiv:2006.04647, 2021. \n[21] Joseph Mellor, Jack Turner, Amos Storkey, and Elliot J. Crowley. Neural architecture search without training. In International Conference on Machine Learning, 2021. \n[22] Michael C Mozer and Paul Smolensky. Skeletonization: A technique for trimming the fat from a network via relevance assessment. In Advances in Neural Information Processing Systems, pages 107–115, 1989. \n[23] Niv Nayman, Asaf Noy, Tal Ridnik, Itamar Friedman, Rong Jin, and Lihi Zelnik. Xnas: Neural architecture search with expert advice. Advances in Neural Information Processing Systems, 32:1977–1987, 2019. \n[24] Xuefei Ning, Changcheng Tang, Wenshuo Li, Songyi Yang, Tianchen Zhao, Niansong Zhang, Tianyi Lu, Shuang Liang, Huazhong Yang, and Yu Wang. aw_nas: A modularized and extensible nas framework. arXiv preprint arXiv:2012.10388, 2020. \n[25] Xuefei Ning, Yin Zheng, Tianchen Zhao, Yu Wang, and Huazhong Yang. A generic graph-based neural architecture encoding scheme for predictor-based nas. In Proceedings of the European Conference on Computer Vision, 2020. \n[26] Daniel S Park, Jaehoon Lee, Daiyi Peng, Yuan Cao, and Jascha Sohl-Dickstein. Towards nngp-guided neural architecture search. arXiv preprint arXiv:2011.06006, 2020. \n[27] Hieu Pham, Melody Guan, Barret Zoph, Quoc Le, and Jeff Dean. Efficient neural architecture search via parameters sharing. In International Conference on Machine Learning, pages 4095–4104. PMLR, 2018. \n[28] Aloïs Pourchot, Alexis Ducarouge, and Olivier Sigaud. To share or not to share: A comprehensive appraisal of weight-sharing. arXiv preprint arXiv:2002.04289, 2020. \n[29] Ilija Radosavovic, Justin Johnson, Saining Xie, Wan-Yen Lo, and Piotr Dollár. On network design spaces for visual recognition. In Proceedings of the IEEE International Conference on Computer Vision, pages 1882–1890, 2019. \n[30] Esteban Real, Alok Aggarwal, Yanping Huang, and Quoc V Le. Regularized evolution for image classifier architecture search. In Proceedings of the aaai conference on artificial intelligence, volume 33, pages 4780–4789, 2019. \n[31] Binxin Ru, Clare Lyle, Lisa Schut, Miroslav Fil, Mark van der Wilk, and Yarin Gal. Speedy performance estimation for neural architecture search, 2021. \n[32] Julien Siems, Lucas Zimmer, Arber Zela, Jovita Lukasik, Margret Keuper, and Frank Hutter. Nas-bench-301 and the case for surrogate benchmarks for neural architecture search. arXiv preprint arXiv:2008.09777, 2020. \n[33] Hidenori Tanaka, Daniel Kunin, Daniel LK Yamins, and Surya Ganguli. Pruning neural networks without any data by iteratively conserving synaptic flow. arXiv preprint arXiv:2006.05467, 2020. \n[34] Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszár. Faster gaze prediction with dense networks and fisher pruning. arXiv preprint arXiv:1801.05787, 2018. \n[35] Jack Turner, Elliot J Crowley, Michael O’Boyle, Amos Storkey, and Gavin Gray. Blockswap: Fisher-guided block substitution for network compression on a budget. arXiv preprint arXiv:1906.04113, 2019. \n[36] Chaoqi Wang, Guodong Zhang, and Roger Grosse. Picking winning tickets before training by preserving gradient flow. arXiv preprint arXiv:2002.07376, 2020. \n[37] Colin White, Willie Neiswanger, Sam Nolen, and Yash Savani. A study on encodings for neural architecture search. Advances in Neural Information Processing Systems, 2020. \n[38] Colin White, Arber Zela, Binxin Ru, Yang Liu, and Frank Hutter. How powerful are performance predictors in neural architecture search? arXiv preprint arXiv:2104.01177, 2021. \n[39] Bichen Wu, Xiaoliang Dai, Peizhao Zhang, Yanghan Wang, Fei Sun, Yiming Wu, Yuandong Tian, Peter Vajda, Yangqing Jia, and Kurt Keutzer. Fbnet: Hardware-aware efficient convnet design via differentiable neural architecture search. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 10734–10742, 2019. \n[40] Zhaohui Yang, Yunhe Wang, Xinghao Chen, Boxin Shi, Chao Xu, Chunjing Xu, Qi Tian, and Chang Xu. Cars: Continuous evolution for efficient neural architecture search. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1829–1838, 2020. \n[41] Chris Ying, Aaron Klein, Eric Christiansen, Esteban Real, Kevin Murphy, and Frank Hutter. Nas-bench-101: Towards reproducible neural architecture search. In International Conference on Machine Learning, pages 7105–7114. PMLR, 2019. \n[42] Kaicheng Yu, René Ranftl, and Mathieu Salzmann. How to train your super-net: An analysis of training heuristics in weight-sharing NAS. abs/2003.04276, 2020. \n[43] Kaicheng Yu, Christian Sciuto, Martin Jaggi, Claudiu Musat, and Mathieu Salzmann. Evaluating the search phase of neural architecture search. In International Conference on Learning Representations, 2020. \n[44] Arber Zela, Julien Siems, and Frank Hutter. Nas-bench-1shot1: Benchmarking and dissecting one-shot neural architecture search. In International Conference on Learning Representations, 2020. \n[45] Chris Zhang, Mengye Ren, and Raquel Urtasun. Graph hypernetworks for neural architecture search. In International Conference on Learning Representations, 2019. \n[46] Miao Zhang, Huiqi Li, Shirui Pan, Xiaojun Chang, and Steven Su. Overcoming multi-model forgetting in one-shot nas with diversity maximization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2020. \n[47] Yuge Zhang, Zejun Lin, Junyang Jiang, Quanlu Zhang, Yujing Wang, Hui Xue, Chen Zhang, and Yaming Yang. Deeper insights into weight sharing in neural architecture search. arXiv preprint arXiv:2001.01431, 2020. \n[48] Barret Zoph and Quoc V. Le. Neural architecture search with reinforcement learning. In International Conference on Learning Representations, 2017. ",
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
178,
|
| 1131 |
+
233,
|
| 1132 |
+
826,
|
| 1133 |
+
915
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 10
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"text": "",
|
| 1140 |
+
"bbox": [
|
| 1141 |
+
171,
|
| 1142 |
+
56,
|
| 1143 |
+
828,
|
| 1144 |
+
920
|
| 1145 |
+
],
|
| 1146 |
+
"page_idx": 11
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"text": "",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
171,
|
| 1153 |
+
79,
|
| 1154 |
+
828,
|
| 1155 |
+
561
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 12
|
| 1158 |
+
}
|
| 1159 |
+
]
|
parse/train/Esd7tGH3Spl/Esd7tGH3Spl_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Esd7tGH3Spl/Esd7tGH3Spl_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HkgSk2A9Y7/HkgSk2A9Y7.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HkgSk2A9Y7/HkgSk2A9Y7_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HkgSk2A9Y7/HkgSk2A9Y7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HkgSk2A9Y7/HkgSk2A9Y7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HklXn1BKDH/HklXn1BKDH.md
ADDED
|
@@ -0,0 +1,378 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LEARNING TO EXPLORE USING ACTIVE NEURAL SLAM
|
| 2 |
+
|
| 3 |
+
Devendra Singh Chaplot1†, Dhiraj Gandhi2, Saurabh Gupta3∗, Abhinav Gupta 1,2∗, Ruslan Salakhutdinov1∗ 1Carnegie Mellon University, 2Facebook AI Research, 3UIUC
|
| 4 |
+
|
| 5 |
+
Project webpage: https://devendrachaplot.github.io/projects/Neural-SLAM Code: https://github.com/devendrachaplot/Neural-SLAM
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
This work presents a modular and hierarchical approach to learn policies for exploring 3D environments, called ‘Active Neural SLAM’. Our approach leverages the strengths of both classical and learning-based methods, by using analytical path planners with learned SLAM module, and global and local policies. The use of learning provides flexibility with respect to input modalities (in the SLAM module), leverages structural regularities of the world (in global policies), and provides robustness to errors in state estimation (in local policies). Such use of learning within each module retains its benefits, while at the same time, hierarchical decomposition and modular training allow us to sidestep the high sample complexities associated with training end-to-end policies. Our experiments in visually and physically realistic simulated 3D environments demonstrate the effectiveness of our approach over past learning and geometry-based approaches. The proposed model can also be easily transferred to the PointGoal task and was the winning entry of the CVPR 2019 Habitat PointGoal Navigation Challenge.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Navigation is a critical task in building intelligent agents. Navigation tasks can be expressed in many forms, for example, point goal tasks involve navigating to specific coordinates and semantic navigation involves finding the path to a specific scene or object. Irrespective of the task, a core problem for navigation in unknown environments is exploration, i.e., how to efficiently visit as much of the environment. This is useful for maximizing the coverage to give the best chance of finding the target in unknown environments or for efficiently pre-mapping environments on a limited time-budget.
|
| 14 |
+
|
| 15 |
+
Recent work from Chen et al. (2019) has used end-to-end learning to tackle this problem. Their motivation is three-fold: a) learning provides flexibility to the choice of input modalities (classical systems rely on observing geometry through the use of specialized sensors, while learning systems can infer geometry directly from RGB images), $b$ ) use of learning can improve robustness to errors in explicit state estimation, and $c _ { . }$ ) learning can effectively leverage structural regularities of the real world, leading to more efficient behavior in previously unseen environments. This lead to their design of an end-to-end trained neural network-based policy that processed raw sensory observations to directly output actions that the agent should execute.
|
| 16 |
+
|
| 17 |
+
While the use of learning for exploration is well-motivated, casting the exploration problem as an end-to-end learning problem has its own drawbacks. Learning about mapping, state-estimation, and path-planning purely from data in an end-to-end manner can be prohibitively expensive. Consequently, past end-to-end learning work for exploration from Chen et al. (2019) relies on the use of imitation learning and many millions of frames of experience, but still performs worse than classical methods that don’t require any training at all.
|
| 18 |
+
|
| 19 |
+
This motivates our work. In this paper, we investigate alternate formulations of employing learning for exploration that retains the advantages that learning has to offer, but doesn’t suffer from the drawbacks of full-blown end-to-end learning. Our key conceptual insight is that use of learning for leveraging structural regularities of indoor environments, robustness to state-estimation errors, and flexibility with respect to input modalities, happens at different time scales and can thus be factored out. This motivates the use of learning in a modular and hierarchical fashion inside of what one may call a ‘classical navigation pipeline’. This results in navigation policies that can work with raw sensory inputs such as RGB images, are robust to state estimation errors, and leverage the regularities of real-world layouts. This results in extremely competitive performance over both geometry-based methods and recent learning-based methods; at the same time requiring a fraction of the number of samples.
|
| 20 |
+
|
| 21 |
+
More specifically, our proposed exploration architecture comprises of a learned Neural SLAM module, a global policy, and a local policy, that are interfaced via the map and an analytical path planner. The learned Neural SLAM module produces free space maps and estimates agent pose from input RGB images and motion sensors. The global policy consumes this free-space map with the agent pose and employs learning to exploit structural regularities in layouts of real-world environments to produce long-term goals. These long-term goals are used to generate short-term goals for the local policy (using a geometric path-planner). This local policy uses learning to directly map raw RGB images to actions that the agent should execute. Use of learning in the SLAM module provides flexibility with respect to input modality, learned global policy can exploit regularities in layouts of real-world environments, while learned local policies can use visual feedback to exhibit more robust behavior. At the same time, hierarchical and modular design and use of analytical planning, significantly cuts down the search space during training, leading to better performance as well as sample efficiency.
|
| 22 |
+
|
| 23 |
+
We demonstrate our proposed approach in visually and physically realistic simulators for the task of geometric exploration (visit as much area as possible). We work with the Habitat simulator from Savva et al. (2019). While Habitat is already visually realistic (it uses real-world scans from Chang et al. (2017) and Xia et al. (2018) as environments), we improve its physical realism by using actuation and odometry sensor noise models, that we collected by conducting physical experiments on a real mobile robot. Our experiments and ablations in this realistic simulation reveal the effectiveness of our proposed approach for the task of exploration. A straightforward modification of our method also tackles point-goal navigation tasks, and won the AI Habitat challenge at CVPR2019 across all tracks.
|
| 24 |
+
|
| 25 |
+
# 2 RELATED WORK
|
| 26 |
+
|
| 27 |
+
Navigation has been well studied in classical robotics. There has been a renewed interest in the use of learning to arrive at navigation policies, for a variety of tasks. Our work builds upon concepts in classical robotics and learning for navigation. We survey related works below.
|
| 28 |
+
|
| 29 |
+
Navigation Approaches. Classical approaches to navigation break the problem into two parts: mapping and path planning. Mapping is done via simultaneous localization and mapping (Thrun et al., 2005; Hartley and Zisserman, 2003; Fuentes-Pacheco et al., 2015), by fusing information from multiple views of the environment. While sparse reconstruction can be done well with monocular RGB images (Mur-Artal and Tardós, 2017), dense mapping is inefficient (Newcombe et al., 2011) or requires specialized scanners such as Kinect (Izadi et al., 2011). Maps are used to compute paths to goal locations via path planning (Kavraki et al., 1996; Lavalle and Kuffner Jr, 2000; Canny, 1988). These classical methods have inspired recent learning-based techniques. Researchers have designed neural network policies that reason via spatial representations (Gupta et al., 2017; Parisotto and Salakhutdinov, 2018; Zhang et al., 2017; Henriques and Vedaldi, 2018; Gordon et al., 2018), topological representations (Savinov et al., 2018; 2019), or use differentiable and trainable planners (Tamar et al., 2016; Lee et al., 2018; Gupta et al., 2017; Khan et al., 2017). Our work furthers this research, and we study a hierarchical and modular decomposition of the problem and employ learning inside these components instead of end-to-end learning. Research also focuses on incorporating semantics in SLAM (Pronobis and Jensfelt, 2012; Walter et al., 2013).
|
| 30 |
+
|
| 31 |
+
Exploration in Navigation. While a number of works focus on passive map-building, path planning and goal-driven policy learning, a much smaller body of work tackles the the problem of active SLAM, i.e., how to actively control the camera for map building. We point readers to FuentesPacheco et al. (2015) for a detailed survey, and summarize the major themes below. Most such works frame this problem as a Partially Observable Markov Decision Process (POMDP) that are approximately solved (Martinez-Cantin et al., 2009; Kollar and Roy, 2008), and or seek to find a sequence of actions that minimizes uncertainty of maps (Stachniss et al., 2005; Carlone et al., 2014).
|
| 32 |
+
|
| 33 |
+
Another line of work explores by picking vantage points (such as on the frontier between explored and unexplored regions (Dornhege and Kleiner, 2013; Holz et al., 2010; Yamauchi, 1997; Xu et al., 2017)). Recent works from Chen et al. (2019); Savinov et al. (2019); Fang et al. (2019) attack this problem via learning. Our proposed modular policies unify the last two lines of research, and we show improvements over representative methods from both these lines of work. Exploration has also been studied more generally in RL in the context of exploration-exploitation trade-off (Sutton and Barto, 2018; Kearns and Singh, 2002; Auer, 2002; Jaksch et al., 2010).
|
| 34 |
+
|
| 35 |
+
Hierarchical and Modular Policies. Hierarchical RL (Dayan and Hinton, 1993; Sutton et al., 1999; Barto and Mahadevan, 2003) is an active area of research, aimed at automatically discovering hierarchies to speed up learning. However, this has proven to be challenging, and thus most work has resorted to using hand-defining hierarchies. For example in the context of navigation, Bansal et al. (2019) and Kaufmann et al. (2019) design modular policies for navigation, that interface learned policies with low-level feedback controllers. Hierarchical and modular policies have also been used for Embodied Question Answering (Das et al., 2018a; Gordon et al., 2018; Das et al., 2018b).
|
| 36 |
+
|
| 37 |
+
# 3 TASK SETUP
|
| 38 |
+
|
| 39 |
+
We follow the exploration task setup proposed by Chen et al. (2019) where the objective is to maximize the coverage in a fixed time budget. The coverage is defined as the total area in the map known to be traversable. Our objective is to train a policy which takes in an observation $s _ { t }$ at each time step $t$ and outputs a navigational action $a _ { t }$ to maximize the coverage.
|
| 40 |
+
|
| 41 |
+
We try to make our experimental setup in simulation as realistic as possible with the goal of transferring trained policies to the real world. We use the Habitat simulator (Savva et al., 2019) with the Gibson (Xia et al., 2018) and Matterport (MP3D) (Chang et al., 2017) datasets for our experiments. Both Gibson and Matterport datasets are based on real-world scene reconstructions are thus significantly more realistic than synthetic SUNCG dataset (Song et al., 2017) used for past research on exploration (Chen et al., 2019; Fang et al., 2019).
|
| 42 |
+
|
| 43 |
+
In addition to synthetic scenes, prior works on learning-based navigation have also assumed simplistic agent motion. Some works limit agent motion on a grid with 90 degree rotations (Zhu et al., 2017; Gupta et al., 2017; Chaplot et al., 2018). Other works which implement fine-grained control, typically assume unrealistic agent motion with no noise (Savva et al., 2019) or perfect knowledge of agent pose (Chaplot et al., 2016). Since the motion is simplistic, it becomes trivial to estimate the agent pose in most cases even if it is not assumed to be known. The reason behind these assumptions on agent motion and pose is that motion and sensor noise models are not known. In order to relax both these assumptions, we collect motion and sensor data in the real-world and implement more realistic agent motion and sensor noise models in the simulator as described in the following subsection.
|
| 44 |
+
|
| 45 |
+
# 3.1 ACTUATION AND SENSOR NOISE MODEL
|
| 46 |
+
|
| 47 |
+
We represent the agent pose by $( x , y , o )$ where $x$ and $y$ represent the xy co-ordinate of the agent measured in metres and $o$ represents the orientation of the agent in radians (measured counterclockwise from $x$ -axis). Without loss of generality, assume agents starts at $p _ { 0 } = ( 0 , 0 , 0 )$ . Now, suppose the agent takes an action $a _ { t }$ . Each action is implemented as a control command on a robot. Let the corresponding control command be $\Delta u _ { a } = ( x _ { a } , y _ { a } , o _ { a } )$ . Let the agent pose after the action be $p _ { 1 } = \left( x ^ { \star } , y ^ { \star } , o ^ { \star } \right)$ . The actuation noise $( \epsilon _ { a c t } )$ is the difference between the actual agent pose $( p _ { 1 } )$ after the action and the intended agent pose $( p _ { 0 } + \Delta u )$ :
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\epsilon _ { a c t } = p _ { 1 } - ( p _ { 0 } + \Delta u ) = ( x ^ { \star } - x _ { a } , y ^ { \star } - y _ { a } , o ^ { \star } - o _ { a } )
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
Mobile robots typically have sensors which estimate the robot pose as it moves. Let the sensor estimate of the agent pose after the action be $p _ { 1 } ^ { \prime } = ( x ^ { \prime } , y ^ { \prime } , o ^ { \prime } )$ . The sensor noise $( \epsilon _ { s e n } )$ is given by the difference between the sensor pose estimate $( p _ { 1 } ^ { \prime } )$ and the actual agent pose $( p _ { 1 } )$ :
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\epsilon _ { s e n } = p _ { 1 } ^ { \prime } - p _ { 1 } = ( x ^ { \prime } - x ^ { \star } , y ^ { \prime } - y ^ { \star } , o ^ { \prime } - o ^ { \star } )
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
In order to implement the actuation and sensor noise models, we would like to collect data for navigational actions in the Habitat simulator. We use three default navigational actions: Forward: move forward by $2 5 \mathrm { c m }$ , Turn Right: on the spot rotation clockwise by 10 degrees, and Turn Left: on the spot rotation counter-clockwise by 10 degrees. The control commands are implemented as $u _ { F o r w a r d } = ( 0 . 2 5 , 0 , 0 )$ , $u _ { R i g h t } : ( 0 , 0 , - 1 0 * \pi / 1 8 0 )$ and $u _ { L e f t } : ( 0 , 0 , 1 0 * \pi / 1 8 0 )$ . In practice, a robot can also rotate slightly while moving forward and translate a bit while rotating on-the-spot, creating rotational actuation noise in forward action and similarly, a translation actuation noise in on-the-spot rotation actions.
|
| 60 |
+
|
| 61 |
+

|
| 62 |
+
Figure 1: Overview of our approach. The Neural SLAM module predicts a map and agent pose estimate from incoming RGB observations and sensor readings. This map and pose are used by a Global policy to output a long-term goal, which is converted to a short-term goal using an analytic path planner. A Local Policy is trained to navigate to this short-term goal.
|
| 63 |
+
|
| 64 |
+
We use a LoCoBot1 to collect data for building the actuation and sensor noise models. We use the pyrobot API (Murali et al., 2019) along with ROS (Quigley et al., 2009) to implement the control commands and get sensor readings. For each action $a$ , we fit a separate Gaussian Mixture Model for the actuation noise and sensor noise, making a total of 6 models. Each component in these Gaussian mixture models is a multi-variate Gaussian in 3 variables, $x , y$ and $o$ . For each model, we collect 600 datapoints. The number of components in each Gaussian mixture model is chosen using cross-validation. We implement these actuation and sensor noise models in the Habitat simulator for our experiments. We have released the noise models, along with their implementation in the Habitat simulator in the open-source code.
|
| 65 |
+
|
| 66 |
+
# 4 METHODS
|
| 67 |
+
|
| 68 |
+
We propose a modular navigation model, ‘Active Neural SLAM’. It consists of three components: a Neural SLAM module, a Global policy and a Local policy as shown in Figure 1. The Neural SLAM module predicts the map of the environment and the agent pose based on the current observations and previous predictions. The Global policy uses the predicted map and agent pose to produce a long-term goal. The long-term goal is converted into a short-term goal using path planning. The Local policy takes navigational actions based on the current observation to reach the short-term goal.
|
| 69 |
+
|
| 70 |
+
Map Representation. The Active Neural SLAM model internally maintains a spatial map, $m _ { t }$ and pose of the agent $x _ { t }$ . The spatial map, $m _ { t }$ , is a $2 \times M \times M$ matrix where $M \times M$ denotes the map size and each element in this spatial map corresponds to a cell of size $2 5 c m ^ { 2 }$ $( 5 c m \times 5 c m )$ in the physical world. Each element in the first channel denotes the probability of an obstacle at the corresponding location and each element in the second channel denotes the probability of that location being explored. A cell is considered to be explored when it is known to be free space or an obstacle. The spatial map is initialized with all zeros at the beginning of an episode, $m _ { 0 } = [ \dot { 0 } ] ^ { 2 \times M \times M }$ The pose $\boldsymbol { x } _ { t } \in { \mathbb { R } } ^ { 3 }$ denotes the $x$ and $y$ coordinates of the agent and the orientation of the agent at time $t$ . The agent always starts at the center of the map facing east at the beginning of the episode, $x _ { 0 } = ( M / 2 , \bar { M } / 2 , 0 . 0 ) $ .
|
| 71 |
+
|
| 72 |
+
Neural SLAM Module. The Neural SLAM Module $( f _ { S L A M } )$ takes in the current RGB observation, $s _ { t }$ , the current and last sensor reading of the agent pose $x _ { t - 1 : t } ^ { \prime }$ , last agent pose and map estimates, $\hat { x } _ { t - 1 } , m _ { t - 1 }$ and outputs an updated map, $m _ { t }$ , and the current agent pose estimate, $\hat { x } _ { t }$ , (see Figure 2): $m _ { t } , \hat { x } _ { t } = f _ { S L A M } ( s _ { t } , x _ { t - 1 : t } ^ { \prime } , \hat { x } _ { t - 1 } , \bar { m } _ { t - 1 } | \theta _ { S } )$ , where $\theta _ { S }$ denote the trainable parameters of the Neural SLAM module. It consists of two learned components, a Mapper and a Pose Estimator. The Mapper $( f _ { M a p } )$ outputs a egocentric top-down 2D spatial map, $p _ { t } ^ { e \dot { g } \dot { o } } \in [ 0 , 1 ] ^ { 2 \times V \times V }$ (where $V$ is the vision range), predicting the obstacles and the explored area in the current observation. The Pose Estimator $( f _ { P E } )$ predicts the agent pose $( \hat { x } _ { t } )$ based on past pose estimate $( \hat { x } _ { t - 1 } )$ and last two egocentric map predictions $( p _ { t - 1 : t } ^ { e g o } )$ . It essentially compares the current egocentric map prediction to the last egocentric map prediction transformed to the current frame to predict the pose change between the two maps. The egocentric map from the Mapper is transformed to a geocentric map based on the pose estimate given by the Pose Estimator and then aggregated with the previous spatial map $( m _ { t - 1 } )$ to get the current map $( m _ { t } )$ . More implementation details of the Neural SLAM module are provided in the Appendix.
|
| 73 |
+
|
| 74 |
+

|
| 75 |
+
Figure 2: Architecture of the Neural SLAM module: The Neural SLAM module $( f _ { M a p } )$ takes in the current RGB observation, $s _ { t }$ , the current and last sensor reading of the agent pose $x _ { t - 1 : t } ^ { \prime }$ , last agent pose estimate, $\hat { x } _ { t - 1 }$ and the map at the previous time step $m _ { t - 1 }$ and outputs an updated map, $m _ { t }$ and the current agent pose estimate, $\hat { x } _ { t }$ . ‘ST’ denotes spatial transformation.
|
| 76 |
+
|
| 77 |
+
Global Policy. The Global Policy takes $h _ { t } \in [ 0 , 1 ] ^ { 4 \times M \times M }$ as input, where the first two channels of $h _ { t }$ are the spatial map $m _ { t }$ given by the SLAM module, the third channel represents the current agent position estimated by the SLAM module, the fourth channel represents the visited locations, i.e. $\bar { \forall i } , j \in \{ 1 , 2 , \dots , m \}$ :
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\begin{array} { r l } & { h _ { t } [ c , i , j ] = m _ { t } [ c , i , j ] \quad \forall c \in \{ 0 , 1 \} } \\ & { h _ { t } [ 2 , i , j ] = 1 \qquad } & { \mathrm { i f ~ } i = \hat { x } _ { t } [ 0 ] \mathrm { ~ a n d ~ } j = \hat { x } _ { t } [ 1 ] } \\ & { h _ { t } [ 3 , i , j ] = 1 \qquad } & { \mathrm { i f ~ } ( i , j ) \in [ ( \hat { x } _ { k } [ 0 ] , \hat { x } _ { k } [ 1 ] ) ] _ { k \in \{ 0 , 1 , \ldots , t \} } } \end{array}
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
We perform two transformations before passing $h _ { t }$ to the Global Policy model. The first transformation subsamples a window of size $4 \times G \times G$ around the agent from $h _ { t }$ . The second transformation performs max pooling operations to get an output of size $4 \times G \times G$ from $h _ { t }$ . Both the transformations are stacked to form a tensor of size $8 \times G \times G$ and passed as input to the Global Policy model. The Global Policy uses a convolutional neural network to predict a long-term goal, $g _ { t } ^ { l }$ in $G \times G$ space: $g _ { t } ^ { l } = \pi _ { G } ( h _ { t } | \dot { \theta } _ { G } )$ , where $\theta _ { G }$ are the parameters of the Global Policy.
|
| 84 |
+
|
| 85 |
+
Planner. The Planner takes the long-term goal $( g _ { t } ^ { l } )$ , the spatial obstacle map $( m _ { t } )$ and the agnet pose estimate $( \hat { x } _ { t } )$ as input and computes the short-term goal $g _ { t } ^ { s }$ , i.e. $g _ { t } ^ { s } = f _ { P l a n } ( g _ { t } ^ { l } , m _ { t } , \hat { x } _ { t } )$ . It computes the shortest path from the current agent location to the long-term goal $( g _ { t } ^ { l } )$ using the Fast Marching Method (Sethian, 1996) based on the current spatial map $m _ { t }$ . The unexplored area is considered as free space for planning. We compute a short-term goal coordinate (farthest point within $d _ { s } ( = 0 . 2 5 m )$ from the agent) on the planned path.
|
| 86 |
+
|
| 87 |
+
Local Policy. The Local Policy takes as input the current RGB observation $\left( { { s _ { t } } } \right)$ and the short-term goal $( g _ { t } ^ { s } )$ and outputs a navigational action, $a _ { t } = \pi _ { L } ( s _ { t } , g _ { t } ^ { s } | \theta _ { L } )$ , where $\theta _ { L }$ are the parameters of the Local Policy. The short-term goal coordinate is transformed into relative distance and angle from the agent’s location before being passed to the Local Policy. The Local Policy is a recurrent neural network consisting of a pretrained ResNet18 (He et al., 2016) as the visual encoder.
|
| 88 |
+
|
| 89 |
+
# 5 EXPERIMENTAL SETUP
|
| 90 |
+
|
| 91 |
+
We use the Habitat simulator (Savva et al., 2019) with the Gibson (Xia et al., 2018) and Matterport (MP3D) (Chang et al., 2017) datasets for our experiments. Both Gibson and MP3D consist of scenes which are 3D reconstructions of real-world environments, however, Gibson is collected using a different set of cameras, consists mostly of office spaces while MP3D consists of mostly homes with a larger average scene area. We will use Gibson as our training domain, and use MP3D for domain generalization experiments. The observation space consists of RGB images of size $3 \times 1 2 8 \times 1 2 8$ and base odometry sensor readings of size $3 \times 1$ denoting the change in agent’s x-y coordinates and orientation. The actions space consists of three actions: move_forward, turn_left, turn_right. Both the base odometry sensor readings and the agent motion based on the actions are noisy. They are implemented using the sensor and actuation noise models based on real-world data as discussed in Section 3.1.
|
| 92 |
+
|
| 93 |
+
We follow the Exploration task setup proposed by Chen et al. (2019) where the objective to maximize the coverage in a fixed time budget. Coverage is the total area in the map known to be traversable. We define a traversable point to be known if it is in the field-of-view of the agent and is less than $3 . 2 m$ away. We use two evaluation metrics, the absolute coverage area in $m ^ { 2 }$ (Cov) and the percentage of area explored in the scene ( $\%$ Cov), i.e. ratio of coverage to maximum possible coverage in the corresponding scene. During training, each episode lasts for a fixed length of 1000 steps.
|
| 94 |
+
|
| 95 |
+
We use train/val/test splits provided by Savva et al. (2019) for both the datasets. Note that the set of scenes used in each split is disjoint, which means the agent is tested on new scenes never seen during training. Gibson test set is not public but rather held out on an online evaluation server for the Pointgoal task. We use the validation as the test set for comparison and analysis for the Gibson domain. We do not use the validation set for hyper-parameter tuning. To analyze the performance of all the models with respect to the size of the scene, we split the Gibson validation set into two parts, a small set of 10 scenes with explorable area ranging from $1 6 m ^ { 2 }$ to $3 6 m ^ { 2 }$ , and a large set of 4 scenes with explorable area ranging from $5 5 m ^ { 2 }$ to $1 0 \hat { 0 } m ^ { 2 }$ . Note that the size of the map is usually much larger than the traversable area, with the largest map being about $2 3 m$ long and $1 1 m$ wide.
|
| 96 |
+
|
| 97 |
+
Training Details. We train our model in the Gibson domain and transfer it to the Matterport domain. The Mapper is trained to predict egocentric projections, and the Pose Estimator is trained to predict agent pose using supervised learning. The ground truth egocentric projection is computed using geometric projections from ground truth depth. The Global Policy is trained using Reinforcement Learning with reward proportional to the increase in coverage as the reward. The Local Policy is trained using Imitation Learning (behavioral cloning). All the modules are trained simultaneously. Their parameters are independent, but the data distribution is inter-dependent. Based on the actions taken by the Local policy, the future input to Neural SLAM module changes, which in turn changes the map and agent pose input to the Global policy and consequently affects the short-term goal given to the Local Policy. For more architecture and hyperparameter details, please refer to the supplementary material and the open-source code.
|
| 98 |
+
|
| 99 |
+
Baselines. We use a range of end-to-end Reinforcement Learning (RL) methods as baselines:
|
| 100 |
+
|
| 101 |
+
RL $^ +$ 3LConv: An RL Policy with 3 layer convolutional network followed by a GRU (Cho et al., 2014) as described by Savva et al. (2019).
|
| 102 |
+
|
| 103 |
+
$\mathbf { R L } + \mathbf { R e s } \mathbf { 1 8 }$ : A RL Policy initialized with ResNet18 (He et al., 2016) pre-trained on ImageNet followed by a GRU.
|
| 104 |
+
|
| 105 |
+
$\mathbf { R L } + \mathbf { R e s 1 8 } +$ AuxDepth: This baseline is adapted from Mirowski et al. (2017) who use depth prediction as an auxiliary task. We use the same architecture as our Neural SLAM module (conv layers from ResNet18) with one additional deconvolutional layer for Depth prediction followed by 3 layer convolution and GRU for the policy.
|
| 106 |
+
|
| 107 |
+
$\mathbf { R L } + \mathbf { R e s 1 8 } + \mathbf { P r }$ ojDepth: This baseline is adapted form Chen et al. (2019) who project the depth image in an egocentric top-down in addition to the RGB image as input to the RL policy. Since we do not have depth as input, we use the architecture from $\mathrm { R L } + \mathrm { R e s } 1 8 +$ AuxDepth for depth prediction and project the predicted depth before passing to 3Layer Conv and GRU policy.
|
| 108 |
+
|
| 109 |
+
For all the baselines, we also feed a 32-dimensional embedding of the sensor pose reading to the GRU along with the image-based representation. This embedding is also learnt end-to-end using RL. All baselines are trained using PPO (Schulman et al., 2017) with increase in coverage as the reward (identical to the reward used for Global policy). All the baselines require access to the ground-truth map during training for computing the reward. The supervision for the Global Policy, the Local Policy and the Mapper can also be obtained from the ground-truth map. The Pose Estimator requires additional supervision in the form of the ground-truth agent pose. We study the effect of this additional supervision in ablation experiments.
|
| 110 |
+
|
| 111 |
+
Table 1: Exploration performance of the proposed model, Active Neural SLAM (ANS) and baselines. The baselines are adated from [1] Savva et al. (2019), [2] Mirowski et al. (2017) and [3] Chen et al. (2019).
|
| 112 |
+
|
| 113 |
+
<table><tr><td></td><td colspan="2">Gibson Val</td><td colspan="2">Domain Generalization MP3D Test</td></tr><tr><td>Method</td><td>% Cov.</td><td>Cov. (m2)</td><td>% Cov.</td><td>Cov. (m2)</td></tr><tr><td>RL + 3LConv [1]</td><td>0.737</td><td>22.838</td><td>0.332</td><td>47.758</td></tr><tr><td>RL + Res18</td><td>0.747</td><td>23.188</td><td>0.341</td><td>49.175</td></tr><tr><td>RL + Res18 + AuxDepth [2]</td><td>0.779</td><td>24.467</td><td>0.356</td><td>51.959</td></tr><tr><td>RL + Res18 +ProjDepth [3]</td><td>0.789</td><td>24.863</td><td>0.378</td><td>54.775</td></tr><tr><td>Active Neural SLAM (ANS)</td><td>0.948</td><td>32.701</td><td>0.521</td><td>73.281</td></tr></table>
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
Figure 3: Plot showing the $\%$ Coverage as the episode progresses for ANS and the baselines on the large and small scenes in the Gibson Val set as well as the overall Gibson Val set.
|
| 117 |
+
|
| 118 |
+
# 6 RESULTS
|
| 119 |
+
|
| 120 |
+
We train the proposed ANS model and all the baselines for the Exploration task with 10 million frames on the Gibson training set. The results are shown in Table 1. The results on the Gibson Val set are averaged over a total of 994 episodes in 14 different unseen scenes. The proposed model achieves an average absolute and relative coverage of $3 2 . 7 0 1 m ^ { 2 } / 0 . 9 4 8$ as compared to $2 4 . 8 6 3 m ^ { 2 } / 0 . 7 8 9$ for the best baseline. This indicates that the proposed model is more efficient and effective at exhaustive exploration as compared to the baselines. This is because our hierarchical policy architecture reduces the horizon of the long-term exploration problem as instead of taking tens of low-level navigational actions, the Global policy only takes few long-term goal actions. We also report the domain generalization performance on the Exploration task in Table 1 (see shaded region), where all models trained on Gibson are evaluated on the Matterport domain. ANS leads to higher domain generalization performance $( 7 3 . 2 8 1 m ^ { 2 } / 0 . 5 2 1$ vs $5 4 . 7 7 5 \bar { m ^ { 2 } } / 0 . 3 7 8 )$ . The absolute coverage is higher and $\%$ Cov is lower for the Matterport domain as it consists of larger scenes on average. On a set of small MP3D test scenes (comparable to Gibson scene sizes), ANS achieved a performance of $3 1 . 4 0 7 m ^ { 2 } / 0 . 8 3 6$ as compared to $\dot { 2 } 3 . 0 9 1 m ^ { 2 } / 0 . 6 2 0$ for the best baseline. Some visualizations of policy execution are provided in Figure $4 ^ { 2 }$ .
|
| 121 |
+
|
| 122 |
+
In Fig. 3, we plot the relative coverage $( \% \thinspace \mathrm { C o v } )$ of all the models as the episode progresses on the large and small scene sets, as well as the overall Gibson Val set. The plot on the small scene set shows that ANS is able to almost completely explore the small scenes in around 500 steps, however, the baselines are only able to explore $8 5 - 9 0 \%$ of the small scenes in 1000 steps (see Fig. 3 center). This indicates that ANS explores more efficiently in small scenes. The plot on the large scenes set shows that the performance gap between ANS and baselines widens as the episode progresses (see Fig. 3 left). Looking at the behavior of the baselines, we saw that they often got stuck in local areas. This behavior indicates that they are unable to remember explored areas over long-time horizons and are ineffective at long-term planning. On the other hand, ANS uses a Global policy on the map which allows it to have the memory of explored areas over long-time horizons, and plan effectively to reach distant long-term goals by leveraging analytical planners. As a result, it is able to explore effectively in large scenes with long episode lengths.
|
| 123 |
+
|
| 124 |
+
Table 2: Results of the ablation experiments on the Gibson environment.
|
| 125 |
+
Time
|
| 126 |
+
|
| 127 |
+
<table><tr><td>Method</td><td colspan="2">Gibson Val Overall</td><td colspan="2">Gibson Val Large</td><td colspan="2">Gibson Val Small</td></tr><tr><td></td><td>% Cov.</td><td>Cov. (m2)</td><td>% Cov.</td><td>Cov. (m2)</td><td>% Cov.</td><td>Cov. (m2)</td></tr><tr><td>ANS w/o Local Policy + Det. Planner</td><td>0.941</td><td>32.188</td><td>0.845</td><td>53.999</td><td>0.980</td><td>23.464</td></tr><tr><td>ANS w/o Global Policy+FBE</td><td>0.925</td><td>30.981</td><td>0.782</td><td>49.731</td><td>0.982</td><td>23.481</td></tr><tr><td>ANS w/o Pose Estimation</td><td>0.916</td><td>30.746</td><td>0.771</td><td>49.518</td><td>0.973</td><td>23.237</td></tr><tr><td>ANS</td><td>0.948</td><td>32.701</td><td>0.862</td><td>55.608</td><td>0.983</td><td>23.538</td></tr></table>
|
| 128 |
+
|
| 129 |
+

|
| 130 |
+
Figure 4: Exploration visualization. Figure showing a sample trajectory of the Active Neural SLAM model in the Exploration task. Top: RGB observations seen by the agent. Inset: Global ground truth map and pose (not visible to the agent). Bottom: Local map and pose predictions. Long-term goals selected by the Global policy are shown by blue circles. The ground-truth map and pose are under-laid in grey. Map prediction is overlaid in green, with dark green denoting correct predictions and light green denoting false positives. Agent pose predictions are shown in red. The light blue shaded region shows the explored area.
|
| 131 |
+
|
| 132 |
+
# 6.1 ABLATIONS
|
| 133 |
+
|
| 134 |
+
Local Policy. An alternative to learning a Local Policy is to have a deterministic policy which follows the plan given by the Planner. As shown in Table 2, the ANS model performs slightly worse without the Local Policy. The Local Policy is designed to adapt to small errors in Mapping. We observed Local policy overcoming false positives encountered in mapping. For example, the Neural SLAM module could sometime wrongly predict a carpet as an obstacle. In this case, the planner would plan to go around the carpet. However, if the short-term goal is beyond the carpet, the Local policy can understand that the carpet is not an obstacle based on the RGB observation and learn to walk over it.
|
| 135 |
+
|
| 136 |
+
Global Policy. An alternative to learning a Global Policy for sampling long-term goals is to use a classical algorithm called Frontier-based exploration (FBE) (Yamauchi, 1997). A frontier is defined as the boundary between the explored free space and the unexplored space. Frontier-based exploration essentially sample points on this frontier as goals to explore the space. There are different variants of Frontier-based exploration based on the sampling strategy. Holz et al. (2010) compare different sampling strategies and find that sampling the point on the frontier closest to the agent gives the best results empirically. We implement this variant and replace it with our learned Global Policy. As shown in Table 2, the performance of the Frontier-based exploration policy is comparable on small scenes, but around $10 \%$ lower on large scenes, relative to the Global policy. This indicates the importance of learning as compared to classical exploration methods in larger scenes. Qualitatively, we observed that Frontier-based exploration spent a lot of time exploring corners or small areas behind furniture. In contrast, the trained Global policy ignored small spaces and chose distant long-term goals which led to higher coverage.
|
| 137 |
+
|
| 138 |
+
Pose Estimation. A difference between ANS and the baselines is that ANS uses additional supervision to train the Pose Estimator. In order to understand whether the performance gain is coming from this additional supervision, we remove the Pose Estimator from ANS and just use the input sensor reading as our pose estimate. Results in Table 2 show that the ANS still outperforms the baselines even without the Pose Estimator. We also observed that performance without the pose estimator drops only about $1 \%$ on small scenes, but around $10 \%$ on large scenes. This is expected because larger scenes take longer to explore, and pose errors accumulate over time to cause drift. Passing the ground truth pose as input the baselines instead of the sensor reading did not improve their performance.
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
Figure 5: Real-world Transfer. Left: Image showing the living area in an apartment used for the real-world experiments. Right: Sample images seen by the robot and the predicted map. The long-term goal selected by the Global Policy is shown by a blue circle on the map.
|
| 142 |
+
|
| 143 |
+
# 6.2 REAL-WORLD TRANSFER
|
| 144 |
+
|
| 145 |
+
We deploy the trained ANS policy on a Locobot in the real-world. In order to match the real-world observations to the simulator observations as closely as possible, we change the simulator input configuration to match the camera intrinsics on the Locobot. This includes the camera height and horizontal and vertical field-of-views. In Figure 5, we show an episode of ANS exploring the living area in an apartment. The figure shows that the policy transfers well to the real-world and is able to effectively explore the environment. The long-term goals sampled by the Global policy (shown by blue circles on the map) are often towards open spaces in the explored map, which indicates that it is learning to exploit the structure in the map. Please refer to the project webpage for real-world transfer videos.
|
| 146 |
+
|
| 147 |
+
# 6.3 POINTGOAL TASK TRANSFER.
|
| 148 |
+
|
| 149 |
+
PointGoal has been the most studied task in recent literature on navigation where the objective is to navigate to a goal location whose relative coordinates are given as input in a limited time budget. In this task, each episode ends when either the agent takes the stop action or at a maximum of 500 timesteps. An episode is considered a success when the final position of the agent is within $0 . 2 \mathrm { m }$ of the goal location. In addition to Success rate (Succ), Success weighted by (normalized inverse) Path Length or SPL is also used as a metric for evaluation as proposed by Anderson et al. (2018).
|
| 150 |
+
|
| 151 |
+
All the baseline models trained for the task of Exploration either need to be retrained or at least finetuned to be transferred to the Pointgoal task. The modularity of ANS provides it another advantage that it can be transferred to the Pointgoal task without any additional training. For transferring to the Pointgoal task, we just fix the Global policy to always output the PointGoal coordinates as the long-term goal and use the Local Policy and Neural SLAM module trained for the Exploration task. We found that an ANS policy trained on exploration, when transferred to the Pointgoal task performed better than several RL and Imitation Learning baselines trained on the Pointgoal task. The transferred ANS model achieves a success rate/SPL of 0.950/0.846 as compared to 0.827/0.730 for the best baseline model on Gibson val set. The ANS model also generalized significantly better than the baselines to harder goals and to the Matterport domain. In addition to better performance, ANS was also 10 to 75 times more sample efficient than the baselines. This transferred ANS policy was also the winner of the CVPR 2019 Habitat Pointgoal Navigation Challenge for both RGB and RGB-D tracks among over 150 submissions from 16 teams. These results highlight a key advantage of our model. It allows us to transfer the knowledge of obstacle avoidance and control in low-level navigation across tasks, as the Local Policy and Neural SLAM module are task-invariant. More details about the Pointgoal experiments, baselines, results including domain and goal generalization on the Pointgoal task are provided in the supplementary material.
|
| 152 |
+
|
| 153 |
+
# 7 CONCLUSION
|
| 154 |
+
|
| 155 |
+
In this paper, we proposed a modular navigational model which leverages the strengths of classical and learning-based navigational methods. We show that the proposed model outperforms prior methods on both Exploration and PointGoal tasks and shows strong generalization across domains, goals, and tasks. In the future, the proposed model can be extended to complex semantic tasks such as Semantic Goal Navigation and Embodied Question Answering by using a semantic Neural SLAM module which creates a multi-channel map capturing semantic properties of the objects in the environment. The model can also be combined with prior work on Localization to relocalize in a previously created map for efficient navigation in subsequent episodes.
|
| 156 |
+
|
| 157 |
+
# ACKNOWLEDGEMENTS
|
| 158 |
+
|
| 159 |
+
This work was supported by IARPA DIVA D17PC00340, ONR Grant N000141812861, ONR MURI, ONR Young Investigator, DARPA MCS, and Apple. We would also like to acknowledge NVIDIA’s GPU support. We thank Guillaume Lample for discussions and coding during the initial stages of this project.
|
| 160 |
+
|
| 161 |
+
# Licenses for referenced datasets.
|
| 162 |
+
|
| 163 |
+
Gibson: http://svl.stanford.edu/gibson2/assets/GDS_agreement.pdf Matterport3D: http://kaldir.vc.in.tum.de/matterport/MP_TOS.pdf
|
| 164 |
+
|
| 165 |
+
# REFERENCES
|
| 166 |
+
|
| 167 |
+
Peter Anderson, Angel Chang, Devendra Singh Chaplot, Alexey Dosovitskiy, Saurabh Gupta, Vladlen Koltun, Jana Kosecka, Jitendra Malik, Roozbeh Mottaghi, Manolis Savva, et al. On evaluation of embodied navigation agents. arXiv preprint arXiv:1807.06757, 2018.
|
| 168 |
+
|
| 169 |
+
Peter Auer. Using confidence bounds for exploitation-exploration trade-offs. Journal of Machine Learning Research, 3(Nov):397–422, 2002.
|
| 170 |
+
|
| 171 |
+
Somil Bansal, Varun Tolani, Saurabh Gupta, Jitendra Malik, and Claire Tomlin. Combining optimal control and learning for visual navigation in novel environments. In Conference on Robot Learning (CoRL), 2019.
|
| 172 |
+
|
| 173 |
+
Andrew G Barto and Sridhar Mahadevan. Recent advances in hierarchical reinforcement learning. Discrete event dynamic systems, 13(1-2):41–77, 2003.
|
| 174 |
+
|
| 175 |
+
John Canny. The complexity of robot motion planning. MIT press, 1988.
|
| 176 |
+
|
| 177 |
+
Luca Carlone, Jingjing Du, Miguel Kaouk $\mathrm { N g }$ , Basilio Bona, and Marina Indri. Active slam and exploration with particle filters using kullback-leibler divergence. Journal of Intelligent & Robotic Systems, 75(2):291–311, 2014.
|
| 178 |
+
|
| 179 |
+
Angel Chang, Angela Dai, Thomas Funkhouser, Maciej Halber, Matthias Niebner, Manolis Savva, Shuran Song, Andy Zeng, and Yinda Zhang. Matterport3d: Learning from rgb-d data in indoor environments. In 2017 International Conference on 3D Vision (3DV), pages 667–676. IEEE, 2017.
|
| 180 |
+
|
| 181 |
+
Devendra Singh Chaplot and Guillaume Lample. Arnold: An autonomous agent to play fps games. In Thirty-First AAAI Conference on Artificial Intelligence, 2017.
|
| 182 |
+
|
| 183 |
+
Devendra Singh Chaplot, Guillaume Lample, Kanthashree Mysore Sathyendra, and Ruslan Salakhutdinov. Transfer deep reinforcement learning in 3d environments: An empirical study. In NIPS Deep Reinforcemente Leaning Workshop, 2016.
|
| 184 |
+
|
| 185 |
+
Devendra Singh Chaplot, Emilio Parisotto, and Ruslan Salakhutdinov. Active neural localization. ICLR, 2018.
|
| 186 |
+
|
| 187 |
+
Tao Chen, Saurabh Gupta, and Abhinav Gupta. Learning exploration policies for navigation. In ICLR, 2019.
|
| 188 |
+
|
| 189 |
+
Kyunghyun Cho, Bart Van Merriënboer, Dzmitry Bahdanau, and Yoshua Bengio. On the properties of neural machine translation: Encoder-decoder approaches. Eighth Workshop on Syntax, Semantics and Structure in Statistical Translation, 2014.
|
| 190 |
+
|
| 191 |
+
Abhishek Das, Samyak Datta, Georgia Gkioxari, Stefan Lee, Devi Parikh, and Dhruv Batra. Embodied question answering. In CVPR, 2018a.
|
| 192 |
+
|
| 193 |
+
Abhishek Das, Georgia Gkioxari, Stefan Lee, Devi Parikh, and Dhruv Batra. Neural modular control for embodied question answering. In Conference on Robot Learning, pages 53–62, 2018b.
|
| 194 |
+
|
| 195 |
+
Peter Dayan and Geoffrey E Hinton. Feudal reinforcement learning. In Advances in neural information processing systems, pages 271–278, 1993.
|
| 196 |
+
|
| 197 |
+
Christian Dornhege and Alexander Kleiner. A frontier-void-based approach for autonomous exploration in 3d. Advanced Robotics, 27(6):459–468, 2013.
|
| 198 |
+
|
| 199 |
+
Kuan Fang, Alexander Toshev, Li Fei-Fei, and Silvio Savarese. Scene memory transformer for embodied agents in long-horizon tasks. In CVPR, 2019.
|
| 200 |
+
|
| 201 |
+
J. Fuentes-Pacheco, J. Ruiz-Ascencio, and J. M. Rendón-Mancha. Visual simultaneous localization and mapping: a survey. Artificial Intelligence Review, 2015.
|
| 202 |
+
|
| 203 |
+
Daniel Gordon, Aniruddha Kembhavi, Mohammad Rastegari, Joseph Redmon, Dieter Fox, and Ali Farhadi. Iqa: Visual question answering in interactive environments. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4089–4098, 2018.
|
| 204 |
+
|
| 205 |
+
Saurabh Gupta, James Davidson, Sergey Levine, Rahul Sukthankar, and Jitendra Malik. Cognitive mapping and planning for visual navigation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2616–2625, 2017.
|
| 206 |
+
|
| 207 |
+
Richard Hartley and Andrew Zisserman. Multiple view geometry in computer vision. Cambridge university press, 2003.
|
| 208 |
+
|
| 209 |
+
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, pages 770–778, 2016.
|
| 210 |
+
|
| 211 |
+
Joao F Henriques and Andrea Vedaldi. Mapnet: An allocentric spatial memory for mapping environments. In proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8476–8484, 2018.
|
| 212 |
+
|
| 213 |
+
Dirk Holz, Nicola Basilico, Francesco Amigoni, and Sven Behnke. Evaluating the efficiency of frontier-based exploration strategies. In ISR 2010 (41st International Symposium on Robotics) and ROBOTIK 2010 (6th German Conference on Robotics), pages 1–8. VDE, 2010.
|
| 214 |
+
|
| 215 |
+
Shahram Izadi, David Kim, Otmar Hilliges, David Molyneaux, Richard Newcombe, Pushmeet Kohli, Jamie Shotton, Steve Hodges, Dustin Freeman, Andrew Davison, and Andrew Fitzgibbon. KinectFusion: real-time 3D reconstruction and interaction using a moving depth camera. UIST, 2011.
|
| 216 |
+
|
| 217 |
+
Max Jaderberg, Karen Simonyan, Andrew Zisserman, et al. Spatial transformer networks. In Advances in neural information processing systems, pages 2017–2025, 2015.
|
| 218 |
+
|
| 219 |
+
Thomas Jaksch, Ronald Ortner, and Peter Auer. Near-optimal regret bounds for reinforcement learning. Journal of Machine Learning Research, 11(Apr):1563–1600, 2010.
|
| 220 |
+
|
| 221 |
+
Elia Kaufmann, Mathias Gehrig, Philipp Foehn, René Ranftl, Alexey Dosovitskiy, Vladlen Koltun, and Davide Scaramuzza. Beauty and the beast: Optimal methods meet learning for drone racing. In 2019 International Conference on Robotics and Automation (ICRA), pages 690–696. IEEE, 2019.
|
| 222 |
+
|
| 223 |
+
Lydia E Kavraki, Petr Svestka, J-C Latombe, and Mark H Overmars. Probabilistic roadmaps for path planning in high-dimensional configuration spaces. RA, 1996.
|
| 224 |
+
|
| 225 |
+
Michael Kearns and Satinder Singh. Near-optimal reinforcement learning in polynomial time. Machine learning, 49(2-3):209–232, 2002.
|
| 226 |
+
|
| 227 |
+
Arbaaz Khan, Clark Zhang, Nikolay Atanasov, Konstantinos Karydis, Daniel D Lee, and Vijay Kumar. End-to-end navigation in unknown environments using neural networks. arXiv preprint arXiv:1707.07385, 2017.
|
| 228 |
+
|
| 229 |
+
S. Kohlbrecher, J. Meyer, O. von Stryk, and U. Klingauf. A flexible and scalable slam system with full 3d motion estimation. In Proc. IEEE International Symposium on Safety, Security and Rescue Robotics (SSRR). IEEE, November 2011.
|
| 230 |
+
|
| 231 |
+
Thomas Kollar and Nicholas Roy. Trajectory optimization using reinforcement learning for map exploration. The International Journal of Robotics Research, 27(2):175–196, 2008.
|
| 232 |
+
|
| 233 |
+
Ilya Kostrikov. Pytorch implementations of reinforcement learning algorithms. https://github. com/ikostrikov/pytorch-a2c-ppo-acktr-gail, 2018.
|
| 234 |
+
|
| 235 |
+
Guillaume Lample and Devendra Singh Chaplot. Playing FPS games with deep reinforcement learning. In Thirty-First AAAI Conference on Artificial Intelligence, 2017.
|
| 236 |
+
|
| 237 |
+
Steven M Lavalle and James J Kuffner Jr. Rapidly-exploring random trees: Progress and prospects. In Algorithmic and Computational Robotics: New Directions, 2000.
|
| 238 |
+
|
| 239 |
+
Lisa Lee, Emilio Parisotto, Devendra Singh Chaplot, Eric Xing, and Ruslan Salakhutdinov. Gated path planning networks. In ICML, 2018.
|
| 240 |
+
|
| 241 |
+
Ruben Martinez-Cantin, Nando de Freitas, Eric Brochu, José Castellanos, and Arnaud Doucet. A bayesian exploration-exploitation approach for optimal online sensing and planning with a visually guided mobile robot. Autonomous Robots, 27(2):93–103, 2009.
|
| 242 |
+
|
| 243 |
+
Piotr Mirowski, Razvan Pascanu, Fabio Viola, Hubert Soyer, Andrew J Ballard, Andrea Banino, Misha Denil, Ross Goroshin, Laurent Sifre, Koray Kavukcuoglu, et al. Learning to navigate in complex environments. ICLR, 2017.
|
| 244 |
+
|
| 245 |
+
Raul Mur-Artal and Juan D Tardós. Orb-slam2: An open-source slam system for monocular, stereo, and rgb-d cameras. IEEE Transactions on Robotics, 33(5):1255–1262, 2017.
|
| 246 |
+
|
| 247 |
+
Adithyavairavan Murali, Tao Chen, Kalyan Vasudev Alwala, Dhiraj Gandhi, Lerrel Pinto, Saurabh Gupta, and Abhinav Gupta. Pyrobot: An open-source robotics framework for research and benchmarking. arXiv preprint arXiv:1906.08236, 2019.
|
| 248 |
+
|
| 249 |
+
Richard A Newcombe, Steven J Lovegrove, and Andrew J Davison. Dtam: Dense tracking and mapping in real-time. In 2011 international conference on computer vision, pages 2320–2327. IEEE, 2011.
|
| 250 |
+
|
| 251 |
+
Emilio Parisotto and Ruslan Salakhutdinov. Neural map: Structured memory for deep reinforcement learning. ICLR, 2018.
|
| 252 |
+
|
| 253 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. NIPS 2017 Autodiff Workshop, 2017.
|
| 254 |
+
|
| 255 |
+
Andrzej Pronobis and Patric Jensfelt. Large-scale semantic mapping and reasoning with heterogeneous modalities. In 2012 IEEE International Conference on Robotics and Automation, pages 3515–3522. IEEE, 2012.
|
| 256 |
+
|
| 257 |
+
Morgan Quigley, Brian Gerkey, Ken Conley, Josh Faust, Tully Foote, Jeremy Leibs, Eric Berger, Rob Wheeler, and Andrew Ng. Ros: an open-source robot operating system. In Proc. of the IEEE Intl. Conf. on Robotics and Automation (ICRA) Workshop on Open Source Robotics, Kobe, Japan, May 2009.
|
| 258 |
+
|
| 259 |
+
Nikolay Savinov, Alexey Dosovitskiy, and Vladlen Koltun. Semi-parametric topological memory for navigation. In International Conference on Learning Representations (ICLR), 2018.
|
| 260 |
+
|
| 261 |
+
Nikolay Savinov, Anton Raichuk, Raphaël Marinier, Damien Vincent, Marc Pollefeys, Timothy Lillicrap, and Sylvain Gelly. Episodic curiosity through reachability. In ICLR, 2019.
|
| 262 |
+
|
| 263 |
+
Manolis Savva, Abhishek Kadian, Oleksandr Maksymets, Yili Zhao, Erik Wijmans, Bhavana Jain, Julian Straub, Jia Liu, Vladlen Koltun, Jitendra Malik, et al. Habitat: A platform for embodied ai research. In Proceedings of the IEEE International Conference on Computer Vision, pages 9339–9347, 2019.
|
| 264 |
+
|
| 265 |
+
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
|
| 266 |
+
|
| 267 |
+
James A Sethian. A fast marching level set method for monotonically advancing fronts. Proceedings of the National Academy of Sciences, 93(4):1591–1595, 1996.
|
| 268 |
+
|
| 269 |
+
Shuran Song, Fisher Yu, Andy Zeng, Angel X Chang, Manolis Savva, and Thomas Funkhouser. Semantic scene completion from a single depth image. In CVPR, 2017.
|
| 270 |
+
|
| 271 |
+
Cyrill Stachniss, Giorgio Grisetti, and Wolfram Burgard. Information gain-based exploration using rao-blackwellized particle filters. In Robotics: Science and Systems, volume 2, pages 65–72, 2005.
|
| 272 |
+
|
| 273 |
+
Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018.
|
| 274 |
+
|
| 275 |
+
Richard S Sutton, Doina Precup, and Satinder Singh. Between mdps and semi-mdps: A framework for temporal abstraction in reinforcement learning. Artificial intelligence, 112(1-2):181–211, 1999.
|
| 276 |
+
|
| 277 |
+
Aviv Tamar, Yi Wu, Garrett Thomas, Sergey Levine, and Pieter Abbeel. Value iteration networks. In Advances in Neural Information Processing Systems, pages 2154–2162, 2016.
|
| 278 |
+
|
| 279 |
+
Sebastian Thrun, Wolfram Burgard, and Dieter Fox. Probabilistic robotics. MIT press, 2005.
|
| 280 |
+
|
| 281 |
+
Matthew R Walter, Sachithra Hemachandra, Bianca Homberg, Stefanie Tellex, and Seth Teller. Learning semantic maps from natural language descriptions. In Robotics: Science and Systems, 2013.
|
| 282 |
+
|
| 283 |
+
Fei Xia, Amir R. Zamir, Zhi-Yang He, Alexander Sax, Jitendra Malik, and Silvio Savarese. Gibson Env: real-world perception for embodied agents. In Computer Vision and Pattern Recognition (CVPR), 2018 IEEE Conference on. IEEE, 2018.
|
| 284 |
+
|
| 285 |
+
Kai Xu, Lintao Zheng, Zihao Yan, Guohang Yan, Eugene Zhang, Matthias Niessner, Oliver Deussen, Daniel Cohen-Or, and Hui Huang. Autonomous reconstruction of unknown indoor scenes guided by time-varying tensor fields. ACM Transactions on Graphics (TOG), 36(6):202, 2017.
|
| 286 |
+
|
| 287 |
+
Brian Yamauchi. A frontier-based approach for autonomous exploration. In cira, volume 97, page 146, 1997.
|
| 288 |
+
|
| 289 |
+
Jingwei Zhang, Lei Tai, Joschka Boedecker, Wolfram Burgard, and Ming Liu. Neural slam: Learning to explore with external memory. arXiv preprint arXiv:1706.09520, 2017.
|
| 290 |
+
|
| 291 |
+
Yuke Zhu, Roozbeh Mottaghi, Eric Kolve, Joseph J Lim, Abhinav Gupta, Li Fei-Fei, and Ali Farhadi. Target-driven visual navigation in indoor scenes using deep reinforcement learning. In Robotics and Automation (ICRA), 2017 IEEE International Conference on, pages 3357–3364. IEEE, 2017.
|
| 292 |
+
|
| 293 |
+
Table 3: Performance of the proposed model, Active Neural SLAM (ANS) and all the baselines on the Exploration task. ‘ANS - Task Transfer’ refers to the ANS model transferred to the PointGoal task after training on the Exploration task.
|
| 294 |
+
|
| 295 |
+
<table><tr><td colspan="4"></td><td colspan="2">Domain Generalization</td><td colspan="3">Goal Generalization</td></tr><tr><td></td><td>Test Setting →</td><td>Gibson Val</td><td></td><td>MP3D Test</td><td></td><td>Hard-GEDR</td><td></td><td>Hard-Dist</td></tr><tr><td>Train Task</td><td>Method</td><td>Succ</td><td>SPL</td><td>Succ</td><td>SPL</td><td>Succ SPL</td><td>Succ</td><td> SPL</td></tr><tr><td>PointGoal</td><td>Random</td><td>0.027</td><td>0.021</td><td>0.010</td><td>0.010</td><td>0.000 0.000</td><td>0.000</td><td>0.000</td></tr><tr><td></td><td>RL + Blind</td><td>0.625</td><td>0.421</td><td>0.136</td><td>0.087</td><td>0.052 0.020</td><td>0.008</td><td>0.006</td></tr><tr><td></td><td>RL + 3LConv +GRU</td><td>0.550</td><td>0.406</td><td>0.102</td><td>0.080</td><td>0.072 0.046</td><td>0.006</td><td>0.006</td></tr><tr><td></td><td>RL +Res18+GRU</td><td>0.561</td><td>0.422</td><td>0.160</td><td>0.125</td><td>0.176 0.109</td><td>0.004</td><td>0.003</td></tr><tr><td></td><td>RL +Res18 +GRU+AuxDepth</td><td>0.640</td><td>0.461</td><td>0.189</td><td>0.143</td><td>0.277 0.197</td><td>0.013</td><td>0.011</td></tr><tr><td></td><td>RL+Res18 +GRU+ ProjDepth</td><td>0.614</td><td>0.436</td><td>0.134</td><td>0.111</td><td>0.180 0.129</td><td>0.008</td><td>0.004</td></tr><tr><td></td><td>IL + Res18+GRU</td><td>0.823</td><td>0.725</td><td>0.365</td><td>0.318</td><td>0.682 0.558</td><td>0.359</td><td>0.310</td></tr><tr><td></td><td>CMP</td><td>0.827</td><td>0.730</td><td>0.320</td><td>0.270</td><td>0.670 0.553</td><td>0.369</td><td>0.318</td></tr><tr><td></td><td>ANS</td><td>0.951</td><td>0.848</td><td>0.593</td><td>0.496</td><td>0.824 0.710</td><td>0.662</td><td>0.534</td></tr><tr><td>Exploration</td><td>ANS - Task Transfer</td><td>0.950</td><td>0.846</td><td>0.588</td><td>0.490</td><td>0.821 0.703</td><td>0.665</td><td>0.532</td></tr></table>
|
| 296 |
+
|
| 297 |
+
# A POINTGOAL EXPERIMENTS
|
| 298 |
+
|
| 299 |
+
PointGoal has been the most studied task in recent literature on navigation where the objective is to navigate to a goal location whose relative coordinates are given as input in a limited time budget. We follow the PointGoal task setup from Savva et al. (2019), using train/val/test splits for both Gibson and Matterport datasets. Note that the set of scenes used in each split is disjoint, which means the agent is tested on new scenes never seen during training. Gibson test set is not public but rather held out on an online evaluation server3. We report the performance of our model on the Gibson test set when submitted to the online server but also use the validation set as another test set for extensive comparison and analysis. We do not use the validation set for hyper-parameter tuning.
|
| 300 |
+
|
| 301 |
+
Savva et al. (2019) identify two measures to quantify the difficulty of a PointGoal dataset. The first is the average geodesic distance (distance along the shortest path) to the goal location from the starting location of the agent, and the second is the average geodesic to Euclidean distance ratio (GED ratio). The GED ratio is always greater than or equal to 1, with higher ratios resulting in harder episodes. The train/val/test splits in the Gibson dataset come from the same distribution of having similar average geodesic distance and GED ratio. In order to analyze the performance of the proposed model on out-of-set goal distribution, we create two harder sets, Hard-Dist and Hard-GEDR. In the Hard-Dist set, the geodesic distance to goal is always more than $1 0 \mathrm { m }$ and the average geodesic distance to the goal is $1 3 . 4 8 \mathrm { m }$ as compared to $6 . 9 / 6 . 5 / 7 . 0 \mathrm { m }$ in train/val/test splits (Savva et al., 2019). Hard-GEDR set consists of episodes with an average GED ratio of 2.52 and a minimum GED ratio of 2.0 as compared to average GED ratio 1.37 in the Gibson val set.
|
| 302 |
+
|
| 303 |
+
We also follow the episode specification from Savva et al. (2019). Each episode ends when either the agent takes the stop action or at a maximum of 500 timesteps. An episode is considered a success when the final position of the agent is within $0 . 2 \mathrm { m }$ of the goal location. In addition to Success rate (Succ), we also use Success weighted by (normalized inverse) Path Length or SPL as a metric for evaluation for the PointGoal task as proposed by Anderson et al. (2018).
|
| 304 |
+
|
| 305 |
+
# A.1 POINTGOAL RESULTS
|
| 306 |
+
|
| 307 |
+
In Table 3, we show the performance of the proposed model transferred to the PointGoal task along with the baselines trained on the PointGoal task with the same amount of data (10million frames). The proposed model achieves a success rate/SPL of 0.950/0.846 as compared to 0.827/0.730 for the best baseline model on Gibson val set. We also report the performance of the proposed model trained from scratch on the PointGoal task for 10 million frames. The results indicate that the performance of ANS transferred from Exploration is comparable to ANS trained on PointGoal. This highlights a key advantage of our model. It allows us to transfer the knowledge of obstacle avoidance and control in low-level navigation across tasks, as the Local Policy and Neural SLAM module are task-invariant.
|
| 308 |
+
|
| 309 |
+
Sample efficiency. RL models are typically trained for more than 10 million samples. In order to compare the performance and sample-efficiency, we trained the best performing RL model $[ \mathrm { R L } +$ $\mathrm { R e s 1 8 + G R U + P r o j D e p t h }$ ) for 75 million frames and it achieved a Succ/SPL of 0.678/0.486. ANS reaches the performance of 0.789/0.703 SPL/Succ at only 1 million frames. These numbers indicate that ANS achieves $> 7 5 \times$ speedup as compared to the best RL baseline.
|
| 310 |
+
|
| 311 |
+

|
| 312 |
+
Figure 7: Performance of the proposed ANS model along with CMP and $\mathrm { I L } + \mathrm { R e s 1 8 + G I }$ RU (GRU) baselines with increase in geodesic distance to goal and increase in GED Ratio on the Gibson Val set.
|
| 313 |
+
|
| 314 |
+

|
| 315 |
+
Figure 8: Figure showing sample trajectories of the proposed model along with the predicted map in the PointGoal task. The starting and goal locations are shown by black squares and blue circles, respectively. The ground-truth map is under-laid in grey. Map prediction is overlaid in green, with dark green denoting correct predictions and light green denoting false positives. The blue shaded region shows the explored area prediction. On the left, we show some successful trajectories which indicate that the model is effective at long distance goals with high GED ratio. On the right, we show a failure case due to mapping error.
|
| 316 |
+
|
| 317 |
+
Domain and Goal Generalization: In Table 3 (see shaded region), we evaluate all the baselines and ANS trained on the PointGoal task in the Gibson domain on the test set in Matterport domain as well as the harder goal sets in Gibson. We also transfer ANS trained on Exploration in Gibson on all the 3 sets. The results show that ANS outperforms all the baselines at all generalization sets. Interestingly, RL based methods almost fail completely on the Hard-Dist set. We also analyze the performance of the proposed model as compared to the two best baselines CMP and $\mathrm { I L } + \mathrm { R e s } 1 8 + \mathrm { G R U }$ as a function of geodesic distance to goal and GED ratio in Figure 7. The performance of the baselines drops faster as compared to ANS, especially with the increase in goal distance. This indicates that end-to-end learning methods are effective at short-term navigation but struggle when long-term planning is required to reach a distant goal. In Figure 8, we show some example trajectories of the ANS model along with the predicted map. The successful trajectories indicate that the model exhibits strong backtracking behavior which makes it effective at distant goals requiring long-term planning. Figure 9 visualizes a trajectory in the PointGoal task show first-person observation and corresponding map predictions. Please refer to the project webpage for visualization videos.
|
| 318 |
+
|
| 319 |
+

|
| 320 |
+
Figure 6: Screenshot of CVPR 2019 Habitat Challenge Results. The proposed model was submitted under code-name ‘Arnold’.
|
| 321 |
+
|
| 322 |
+
Habitat Challenge Results. We submitted the ANS model to the CVPR 2019 Habitat Pointgoal Navigation Challenge. The results are shown in Figure 6. ANS was submitted under code-name ‘Arnold’. ANS was the winning entry for both RGB and RGB-D tracks among over 150 submissions from 16 teams, achieving an SPL of 0.805 (RGB) and 0.948 (RGB-D) on the Test Challenge set.
|
| 323 |
+
|
| 324 |
+
# B NOISE MODEL IMPLEMENTATION DETAILS
|
| 325 |
+
|
| 326 |
+
In order to implement the actuation and sensor noise models, we would like to collect data for navigational actions in the Habitat simulator. We use three default navigational actions: Forward:
|
| 327 |
+
|
| 328 |
+

|
| 329 |
+
Figure 9: Pointgoal visualization. Figure showing sample trajectories of the proposed model along with predicted map in the Pointgoal task as the episode progresses. The starting and goal locations are shown by black squares and blue circles, respectively. Ground truth map is under-laid in grey. Map prediction is overlaid in green, with dark green denoting correct predictions and light green denoting false positives. Blue shaded region shows the explored area prediction.
|
| 330 |
+
|
| 331 |
+
move forward by $2 5 \mathrm { c m }$ , Turn Right: on the spot rotation clockwise by 10 degrees, and Turn Left: on the spot rotation counter-clockwise by 10 degrees. The control commands are implemented as $u _ { F o r w a r d } = ( 0 . 2 5 , 0 , 0 )$ , $u _ { R i g h t } : ( 0 , 0 , - 1 0 * \pi / 1 8 0 )$ and $u _ { L e f t } : ( 0 , 0 , 1 0 * \pi / 1 8 0 )$ . In practice, a robot can also rotate slightly while moving forward and translate a bit while rotating on-the-spot, creating rotational actuation noise in forward action and similarly, a translation actuation noise in on-the-spot rotation actions.
|
| 332 |
+
|
| 333 |
+
We use a Locobot 4 to collect data for building the actuation and sensor noise models. We use the pyrobot API (Murali et al., 2019) along with ROS (Quigley et al., 2009) to implement the control commands and get sensor readings. In order to get an accurate agent pose, we use an Hokuyo UST-10LX Scanning Laser Rangefinder (LiDAR) which is especially very precise in our scenario as we take static readings in 2D (Kohlbrecher et al., 2011). We install the LiDAR on the Locobot by replacing the arm with the LiDAR. We note that the Hokuyo UST-10LX Scanning Laser Rangefinder is an expensive sensor. It costs $\$ 1600$ as compared to the whole Locobot costing less than $\$ 2000$ without the arm. Using expensive sensors can improve the performance of a model, however, for a method to be scalable, it should ideally work with cheaper sensors too. In order to demonstrate the scalability of our method, we use the LiDAR only to collect the data for building noise models and not for training or deploying navigation policies in the real-world.
|
| 334 |
+
|
| 335 |
+
For the sensor estimate, we use the Kobuki base odometry available in Locobot. We approximate the LiDAR pose estimate to be the true pose of the agent as it is orders of magnitude more accurate than the base sensor. For each action, we collect 600 datapoints from both the base sensor and the LiDAR, making a total of 3600 datapoints $( 6 0 0 * 3 * 2 )$ ). We use 500 datapoints for each action to fit the actuation and sensor noise models and use the remaining 100 datapoints for validation. For each action $a$ , the LiDAR pose estimates gives us samples of $p _ { 1 }$ and the base sensor readings give us samples of $p _ { 1 } ^ { \prime } , i = 1 , 2 , \ldots , 6 0 0$ . The difference between LiDAR estimates $( p _ { 1 } ^ { i } )$ and control command $( \Delta u _ { a } )$ gives us samples for the actuation noise for the action $a$ : $\epsilon _ { a c t , a } ^ { i } = \bar { p _ { 1 } ^ { i } } - \Delta u _ { a }$ and difference between base sensor readings and LiDAR estimates gives us the samples for the sensor noise, $\epsilon _ { s e n , a } ^ { i } = p _ { 1 } ^ { i ^ { \prime } } - p _ { 1 } ^ { i }$ .
|
| 336 |
+
|
| 337 |
+
For each action $a$ , we fit a separate Gaussian Mixture Model for the actuation noise and sensor noise using samples $\epsilon _ { a c t , a } ^ { i }$ and $\epsilon _ { s e n , a } ^ { i }$ respectively, making a total of 6 models. We fit Gaussian mixture models with the number of components ranging from 1 to 20 for and pick the model with the highest likelihood on the validation set. Each component in these Gaussian mixture models is a multi-variate Gaussian in 3 variables, $x , y$ and $o$ . We implement these actuation and sensor noise models in the Habitat simulator for our experiments.
|
| 338 |
+
|
| 339 |
+
# C NEURAL SLAM MODULE IMPLEMENTATION DETAILS
|
| 340 |
+
|
| 341 |
+
The Neural SLAM module $( f _ { S L A M } )$ takes in the current RGB observation, $s _ { t } \in \mathbb { R } ^ { 3 \times H \times W }$ , the current and last sensor reading of the agent pose $x _ { t - 1 : t } ^ { \prime }$ and the map at the previous time step $m _ { t - 1 } \ \in \ \mathbb { R } ^ { 2 \times M \times M }$ and outputs an updated map, $m _ { t } ~ \in ~ \mathbb { R } ^ { 2 \times M \times M }$ , and the current agent pose estimate, $\hat { x } _ { t }$ (see Figure 2):
|
| 342 |
+
|
| 343 |
+
$$
|
| 344 |
+
m _ { t } , \hat { x } _ { t } = f _ { S L A M } ( s _ { t } , x _ { t - 1 : t } ^ { \prime } , \hat { x } _ { t - 1 } , m _ { t - 1 } | \theta _ { S } , b _ { t - 1 } )
|
| 345 |
+
$$
|
| 346 |
+
|
| 347 |
+
where $\theta _ { S }$ denote the trainable parameters and $b _ { t - 1 }$ denotes internal representations of the Neural SLAM module. The Neural SLAM module can be broken down into two parts, a Mapper $( f _ { M a p } )$ and a Pose Estimator Unit $( f _ { P E } , )$ . The Mapper outputs a egocentric top-down 2D spatial map, $p _ { t } ^ { e g o } \in [ 0 , 1 ] ^ { 2 \times V \times V }$ (where $V$ is the vision range), predicting the obstacles and the explored area in the current observation: $p _ { t } ^ { e g o } = f _ { M a p } ( s _ { t } | \bar { \theta _ { M } } )$ , where $\theta _ { M }$ are the parameters of the Mapper. It consists of Resnet18 convolutional layers to produce an embedding of the observation. This embedding is passed through two fully-connected layers followed by 3 deconvolutional layers to get the first-person top-down 2D spatial map prediction.
|
| 348 |
+
|
| 349 |
+
Now, we would like to add the egocentric map prediction $( p _ { t } ^ { e g o } )$ to the geocentric map from the previous time step $( m _ { t - 1 } )$ . In order to transform the egocentric map to the geocentric frame, we need the pose of the agent in the geocentric frame. The sensor reading $ { \boldsymbol { { x } } } _ { t } ^ { \prime }$ is typically noisy. Thus, we have a Pose Estimator to correct the sensor reading and give an estimate of the agent’s geocentric pose.
|
| 350 |
+
|
| 351 |
+
In order to estimate the pose of the agent, we first calculate the relative pose change $( d x )$ from the last time step using the sensor readings at the current and last time step $( x _ { t - 1 } ^ { \prime } , x _ { t } ^ { \prime } )$ . Then we use a Spatial Transformation (Jaderberg et al., 2015) on the egocentric map prediction at the last frame $( \bar { p } _ { t - 1 } ^ { e g o } )$ based on the relative pose change $( d x )$ , $p _ { t - 1 } ^ { \prime } = \bar { f _ { S T } } ( p _ { t - 1 } ^ { e g o } | d x )$ . Note that the parameters of this Spatial Transformation are not learnt, but calculated using the pose change $( d x )$ . This transforms the projection at the last step to the current egocentric frame of reference. If the sensor was accurate, $p _ { t - 1 } ^ { \prime }$ would highly overlap with $p _ { t } ^ { e g o }$ . The Pose Estimator Unit takes in $p _ { t - 1 } ^ { \prime }$ and $p _ { t } ^ { e g o }$ as input and predicts the relative pose change: $\hat { d x } _ { t } = f _ { P E } ( p _ { t - 1 } ^ { \prime } , p _ { t } ^ { e g o } | \theta _ { P } )$ The intuition is that by looking at the egocentric predictions of the last two frames, the pose estimator can learn to predict the small translation and/or rotation that would align them better. The predicted relative pose change is then added to the last pose estimate to get the final pose estimate $\bar { \hat { x _ { t } } } = \hat { x } _ { t - 1 } + \hat { d x _ { t } }$ .
|
| 352 |
+
|
| 353 |
+
Finally, the egocentric spatial map prediction is transformed to the geocentric frame using the current pose prediction of the agent $( \hat { x } _ { t } )$ using another Spatial Transformation and aggregated with the previous spatial map $( m _ { t - 1 } )$ using Channel-wise Pooling operation: $m _ { t } = m _ { t - 1 } + { \bar { f } } _ { S T } ( p _ { t } ^ { e g o } | { \hat { x _ { t } } } )$ .
|
| 354 |
+
|
| 355 |
+
Combing all the functions and transformations:
|
| 356 |
+
|
| 357 |
+
$$
|
| 358 |
+
\begin{array} { r l } & { m _ { t } , \hat { x } _ { t } = f _ { S L A M } \big ( s _ { t } , x _ { t - 1 : t } ^ { \prime } , m _ { t - 1 } \vert \theta _ { S } , b _ { t - 1 } \big ) } \\ & { \quad p _ { t } ^ { e g o } = f _ { M a p } \big ( s _ { t } \vert \theta _ { M } \big ) } \\ & { \quad \quad \hat { x } _ { t } = \hat { x } _ { t - 1 } + f _ { P E } \big ( f _ { S T } \big ( p _ { t - 1 } ^ { e g o } \vert \hat { x } _ { t - 1 : t } \big ) , p _ { t } ^ { e g o } \vert \theta _ { P } \big ) } \\ & { \quad m _ { t } = m _ { t - 1 } + f _ { S T } \big ( p _ { t } ^ { e g o } \vert \hat { x } _ { t } \big ) } \\ & { \quad \quad \quad \quad \mathrm { w h e r e ~ } \theta _ { M } , \theta _ { P } \in \theta _ { S } , \quad \mathrm { a n d } \quad p _ { t - 1 } ^ { e g o } , \hat { x } _ { t - 1 } \in b _ { t - 1 } } \end{array}
|
| 359 |
+
$$
|
| 360 |
+
|
| 361 |
+
# D ARCHITECTURE DETAILS
|
| 362 |
+
|
| 363 |
+
We use PyTorch (Paszke et al., 2017) for implementing and training our model. The Mapper in the Neural SLAM module consists of ResNet18 convolutional layers followed by 2 fully-connected layers trained with a dropout of 0.5, followed by 3 deconvolutional layers. The Pose Estimator consists of 3 convolutional layers followed by 3 fully connected layers. The Global Policy is a 5 layer convolutional network followed by 3 fully connected layers. We also pass the agent orientation as a separate input (not captured in the map tensor) to the Global Policy. It is processed by an Embedding layer and added as an input to the fully-connected layers. The Local Policy consists of a pretrained ResNet18 convolutional layers followed by fully connected layers and a recurrent GRU layer. In addition to the RGB observation, the Local policy receives relative distance and angle to the short-term goal as input. We bin the relative distance (bin size increasing with distance), relative angle (5 degree bins) and current timestep (30 time step bins) before passing them through embedding layers. This kind of discretization is used previously for RL policies (Lample and Chaplot, 2017; Chaplot and Lample, 2017) and it improved the sample efficiency as compared to passing the continuous values as input directly. For a fair comparison, we use the same discretization for all the baselines as well. The short-term goal is processed using Embedding layers. For the exact architectures of all the modules, please refer to the open-source code.
|
| 364 |
+
|
| 365 |
+
# E HYPERPARAMETER DETAILS
|
| 366 |
+
|
| 367 |
+
We train all the components with 72 parallel threads, with each thread using one of the 72 scenes in the Gibson training set. We maintain a FIFO memory of size 500000 for training the Neural SLAM module. After one step in all the environments (i.e. every 72 steps) we perform 10 updates to the Neural SLAM module with a batch size of 72. We use Adam optimizer with a learning rate of 0.0001. We use binary cross-entropy loss for obstacle map and explored area prediction and MSE Loss for pose prediction (in meters and radians). The obstacle map and explored area loss coefficients are 1 and the pose loss coefficient is 10000 (as MSE loss in meters and radians is much smaller).
|
| 368 |
+
|
| 369 |
+
The Global policy samples a new goal every 25 timesteps. We use Proximal Policy Optimization (PPO) (Schulman et al., 2017) for training the Global policy. Our PPO implementation for the Global Policy is based on Kostrikov (2018). The reward for the Global policy is the increase in coverage in $m ^ { 2 }$ scaled by 0.02. It is trained with 72 parallel threads and a horizon length of 40 steps (40 steps for Global policy is equivalent to 1000 low-level timesteps as Global policy samples a new goal after every 25 timesteps). We use 36 mini-batches and do 4 epochs in each PPO update. We use Adam optimizer with a learning rate of 0.000025, a discount factor of $\gamma = 0 . 9 9$ , an entropy coefficient of 0.001, value loss coefficient of 0.5 for training the Global Policy.
|
| 370 |
+
|
| 371 |
+
The Local Policy is trained using binary cross-entropy loss. We use Adam optimizer with a learning rate of 0.0001 for training the Local Policy.
|
| 372 |
+
|
| 373 |
+
Input frame size is $1 2 8 \times 1 2 8$ , the vision range for the SLAM module is $V = 6 4$ , i.e. $3 . 2 m$ (each cell is $5 c m$ in length). Since there are no parameters dependent on the map size, it can be adaptive. We train with a map size of $M = 4 8 0$ (equivalent to $2 4 m \ r$ ) for training and $M = 9 6 0$ (equivalent to $4 8 m \mathrm { , }$ ) for evaluation. A map of size $4 8 m \times 4 8 m$ is large enough for all scenes in the Gibson val set. The size of the Global Policy input is constant, $G = 2 4 0$ , which means we downscale map by 2 times during training and 4 times during evaluation. All hyperparameters are available in the code.
|
| 374 |
+
|
| 375 |
+
# F ADDITIONAL RESULTS
|
| 376 |
+
|
| 377 |
+

|
| 378 |
+
Figure 10: Plot showing the absolute Coverage in $m ^ { 2 }$ as the episode progresses for ANS and the baselines on the large and small scenes in the Gibson Val set as well as the overall Gibson Val set.
|
parse/train/HklXn1BKDH/HklXn1BKDH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HklXn1BKDH/HklXn1BKDH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Ic9vRN3VpZ/Ic9vRN3VpZ.md
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Neo-GNNs: Neighborhood Overlap-aware Graph Neural Networks for Link Prediction
|
| 2 |
+
|
| 3 |
+
Seongjun Yun, Seoyoon Kim, Junhyun Lee, Jaewoo Kang∗ , Hyunwoo J. Kim∗
|
| 4 |
+
|
| 5 |
+
Department of Computer Science and Engineering Korea University {ysj5419, sykim45, ljhyun33, kangj, hyunwoojkim}@korea.ac.kr
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Graph Neural Networks (GNNs) have been widely applied to various fields for learning over graph-structured data. They have shown significant improvements over traditional heuristic methods in various tasks such as node classification and graph classification. However, since GNNs heavily rely on smoothed node features rather than graph structure, they often show poor performance than simple heuristic methods in link prediction where the structural information, e.g., overlapped neighborhoods, degrees, and shortest paths, is crucial. To address this limitation, we propose Neighborhood Overlap-aware Graph Neural Networks (Neo-GNNs) that learn useful structural features from an adjacency matrix and estimate overlapped neighborhoods for link prediction. Our Neo-GNNs generalize neighborhood overlap-based heuristic methods and handle overlapped multi-hop neighborhoods. Our extensive experiments on Open Graph Benchmark datasets (OGB) demonstrate that Neo-GNNs consistently achieve state-of-the-art performance in link prediction.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Graph-structured data is ubiquitous in a wide range of domains ranging from social network analysis [1, 2, 3] to biology [4, 5, 6, 7] and computer vision [8, 9, 10]. In recent years, numerous variants of Graph neural networks (GNNs) have been proposed for learning representations over graph-structured data. GNNs learn low dimensional representations of nodes or graphs via iterative aggregation of features from neighbors using non-linear transformations. In this manner, GNNs have shown significant improvements over traditional methods, e.g., heuristic methods and embedding-based methods, and achieved state-of-the-art performance on various tasks, such as node classification [11, 12, 13, 14, 15], graph classification [16, 17, 18, 19, 20], and graph generation [21, 22, 23, 24].
|
| 14 |
+
|
| 15 |
+
However, in link prediction, traditional heuristic methods still show competitive performance compared to GNNs, which often even outperform GNNs. This is because structural information, (e.g., overlapped neighborhoods, degrees, and shortest path), is crucial for link prediction whereas GNNs heavily rely on smoothed node features rather than graph structure. Recently, SEAL [25] has been proposed to consider structural information for link prediction by utilizing the relative distance between the target node pair and their neighborhoods. Nonetheless, SEAL requires the expensive computational cost to apply a GNN independently to an extracted subgraph for each target node pair.
|
| 16 |
+
|
| 17 |
+
To address this limitation, we propose Neighborhood Overlap-aware Graph Neural Networks (NeoGNNs) that are designed to consider key structural information regarding links without manual processes. Specifically, instead of using input node features, Neo-GNNs first learn to generate useful structrual features for each node from an adjacency matrix. Then Neo-GNNs measure the existence of links by considering the structural features of overlapped neighbhorhoods via neighbhorhood overlap-aware aggregation scheme. Finally, to consider both structural information and input node features, our proposed model adaptively combines scores from Neo-GNNs and feature-based GNNs in an end-to-end fashion. We show that Neo-GNNs consistently outperform both state-of-the-art GNNs and heuristic methods on four Open Graph Benchmark datasets (OGB) for link prediction. Furthermore, Our Neo-GNNs generalize the neighborhood overlap-based heuristic methods which measure the likelihood of the link based on manually designed structural information of overlapped neighbors.
|
| 18 |
+
|
| 19 |
+
Our contributions are as follows: (i) We propose Neighborhood Overlap-aware Graph Neural Networks (Neo-GNNs) that learn useful structural features from an adjacency matrix and estimate overlapped neighborhoods for link prediction. (ii) Neo-GNNs generalize neighborhood overlap-based heuristic methods and handle overlapped multi-hop neighborhoods. (iii) Our extensive experiments on Open Graph Benchmark datasets (OGB) demonstrate that Neo-GNNs consistently achieve state-of-the-art performance in link prediction.
|
| 20 |
+
|
| 21 |
+
# 2 Related Works
|
| 22 |
+
|
| 23 |
+
Graph Neural Networks. GNNs have been designed to learn node representations by using neural networks on graph topology. Among deep learning based approaches, the message passing scheme is dominantly used in recent studies such as GCN [11], GraphSAGE [26], and GAT [12]. Due to the iterative aggregation step, each node representation vector can have information of neighbor nodes in multi-hop relationships required for downstream tasks. However, there is a limitation of the expressive power that is upper-bounded by the 1-Weisfeiler-Lehman (1-WL) graph isomorphism test. To overcome this limitation, recent works have tried to boost the expressive power of GNNs by augmenting node features with ordering vectors or position-aware vectors [11, 27, 28]. The main purpose of these works is to complement GNNs with structural information which is crucial for prediction tasks. Our study focuses on adaptively incorporating structural information to GNNs for the link prediction task.
|
| 24 |
+
|
| 25 |
+
Link Prediction. Link prediction has been studied in various ways. Conventionally, diverse heuristic methods have been proposed for link prediction. They basically measure the scores of given node pairs based on structural information e.g., overlapped neighbors and shortest path, about the pair of nodes. Common neighbors and preferential attachment [29] exploit structural information about one-hop neighbors to compute the score. To consider more than one-hop relationships, second-order heuristic methods (e.g., Adamic-Adar [30] and resource allocation [31]) and higher-order heuristic methods (e.g., Katz [32] , PageRank [33] , and SimRank [34]) have been proposed. Heuristic methods are extremely effective for link prediction. However, they require manually designed structural information for each heuristic method. To overcome this limitation, embedding-based methods have been proposed. They learn node embeddings based on connections between nodes and compute similarity scores using the embeddings. Typically, Matrix factorization [35] learns node embeddings by decomposing an adjacency matrix of the graph. Random walk-based embedding methods such as Deepwalk [36], and node2vec [37] learn node embeddings by applying the Skip-Gram [38] techniques on the random walks. LINK [39] learns to classify the existence of links based on each row in the adjacency matrix, which includes connectivity information. Since the performance of the embedding methods depends on the sparsity of the input graph, it is hard to regard these methods as generalized ones. Recently, with the success of GNNs in learning graph representations, there have been several attempts to apply them to the link prediction task. Typically, GAE and VGAE [40] learn node representations through GCN to reconstruct the input graph in the auto-encoder framework. Based on the GAE, various GNN architectures have been applied to link prediction. On the other hand, SEAL [25] reformulated the link prediction task to the classification of enclosing subgraphs. Instead of directly predicting the link, enclosing graphs are sampled around each target link to compose dataset and SEAL performs the graph classification task. Due to the node labeling step to mark nodes’ different roles in an enclosing subgraph, SEAL has better performance than GAE even though both are GNN-based methods. However, constructing subgraphs is inefficient because it requires a large amount of computation, whereas our model is as efficient as GAE and can consider structural information like SEAL.
|
| 26 |
+
|
| 27 |
+
# 3 Methods
|
| 28 |
+
|
| 29 |
+
The goal of our framework, Neighborhood Overlap-aware Graph Neural Networks (Neo-GNNs), is to learn useful structural features from an adjacency matrix and estimate overlapped neighbors for link prediction. We begin with defining the basic notions of graph neural networks for link prediction and review neighborhood overlap-based heuristic methods, and then introduce Neo-GNNs.
|
| 30 |
+
|
| 31 |
+
# 3.1 Preliminaries
|
| 32 |
+
|
| 33 |
+
Notations. Consider an undirected graph $\mathcal { G } = ( \nu , \mathcal { E } )$ with $N$ nodes, where $\mathcal { V } = \{ v _ { 1 } , v _ { 2 } , \ldots , v _ { N } \}$ represents a set of nodes and $\mathcal { E } = \{ e _ { i j } \ | \ v _ { i } , v _ { j } \ \in \mathcal { V } \}$ represents a set of edges where the nodes $v _ { i } , v _ { j } \in \mathcal { V }$ are connected. The adjacency matrix $A \in \mathbf { R } ^ { N \times N }$ is defined by $A _ { i j } = 1$ if $e _ { i j } \in \mathcal { E }$ and 0 otherwise. The degree matrix $D \in { \bf R } ^ { N \times N }$ is a diagonal matrix defined by $\begin{array} { r } { D _ { i i } = \sum _ { j } A _ { i j } } \end{array}$ . The nodes of $\mathcal { G }$ have their own feature vectors $\boldsymbol { x } _ { i } \in \mathbf { R } ^ { F }$ $( i \in \{ 1 , 2 , \ldots , N \} )$ , with $X \in \mathbf { R } ^ { N \times F }$ denoting the collection of such vectors in a matrix form.
|
| 34 |
+
|
| 35 |
+
Graph Neural Networks for Link Prediction. Given a graph $\mathcal { G }$ and a feature matrix $X$ , graph neural networks learn meaningful node representations by an iterative aggregation of transformed representations of neighbor nodes in each $l$ -th GNN layer as follows:
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
\begin{array} { r } { H ^ { ( l + 1 ) } = \sigma \left( \tilde { A } _ { \mathrm { G N N } } H ^ { ( l ) } W ^ { ( l ) } \right) , } \end{array}
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
where $\tilde { A } _ { \mathbf { G N N } } \in \mathbf { R } ^ { N \times N }$ is the adjacency matrix normalized in different ways depending on each GNN architecture (e.g., D˜ − 12 (A + I )D˜ − 12 ), W (l) ∈ Rd(l)×d(l+1) i s a trainable weight matrix, and $H ^ { ( 0 ) }$ is the node feature matrix $X \in \mathbf { R } ^ { N \times F }$ . After stacking $L$ GNN layers, node representations $H ^ { ( L ) }$ are then used to predict existence of each link $( i , j )$ :
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
\hat { y } _ { i j } = \sigma ( s ( h _ { i } ^ { ( L ) } , h _ { j } ^ { ( L ) } ) ) ,
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
where $s ( \cdot , \cdot )$ is a function, e.g., inner product or MLP, and $h _ { i } ^ { ( L ) }$ is the representation of the node $i$ from $H ^ { ( L ) }$ .
|
| 48 |
+
|
| 49 |
+
# 3.2 Neighborhood Overlap-based Heuristic Methods
|
| 50 |
+
|
| 51 |
+
Heuristic methods for link prediction measure the score of given node pairs based on structural information about the node pairs, e.g., shortest path, degree, and common neighbors. Although GNNs outperform existing traditional heuristic methods in various graph tasks, in link prediction, since GNNs heavily rely on smoothed node features rather than graph structure, the heuristic methods often show competitive performance compared to GNNs. Especially, neighborhood overlap-based heuristic methods are straightforward yet highly effective, even better than GNN models in several datasets, e.g., ogbl-collab and ogbl-ppa. Typical neighborhood overlap-based heuristic methods are Common Neighbors, Resource Allocation (RA) [31], and Adamic Adar [30]. The Common Neighbors method measures the score of link $( u , v )$ by counting the number of common neighbors between node $u$ and $v$ as
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\mathit { S c N } ( u , v ) = \left| \mathcal { N } ( u ) \cap \mathcal { N } ( v ) \right| = \sum _ { k \in \mathcal { N } ( u ) \cap \mathcal { N } ( v ) } 1 .
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
The Common Neighbors method is simple and effective, but has a limitation that equally weighs the importance of each common neighbor. To solve this issue, several heuristic methods e.g., Resource Allocation, and Adamic-Adar measure the score for the link by considering the importance of each common neighbor. From the intuition that neighbor nodes with lower degrees are more significant, they give more weight to neighbors with lower degrees. Specifically, Resource Allocation (RA) [31] measures the score of link $( u , v )$ by counting the inverse degrees of common neighbors between node $u$ and $v$ as
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
S _ { R A } ( u , v ) = \sum _ { k \in \mathcal { N } ( u ) \cap \mathcal { N } ( v ) } \frac { 1 } { d _ { k } } ,
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
where $d _ { k }$ denotes the degree of node $k$ . Adamic-Adar has a relatively decreased penalty for higher degree compared to RA by using the reciprocal logarithm of common neighbors’ degrees between
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Figure 1: The Neo-GNNs framework for link prediction. Neo-GNNs learn useful structural features from an adjacency matrix and estimate similarity scores based on overlapped neighborhoods. (a) Neo-GNNs first generate the structural feature vector $\boldsymbol { x } ^ { s t r u c t } \in \mathbf { R } ^ { N \times 1 }$ from an adjacency matrix $A \in \mathbf { R } ^ { N \times N }$ by using Structural feature generator $\mathcal { F } _ { \theta }$ , i.e., ${ \mathcal { F } } _ { \theta } ( A )$ . Then to consider only features of overlapped neighbors between nodes, (b) Neo-GNNs construct a diagonal matrix $X ^ { s t r u c t } \in \mathbf { R } ^ { N \times N }$ and (c) aggregate the features of multi-hop neighborhoods by multiplying the sum of powers of adjacency matrices, i.e., $\textstyle \sum _ { l = 1 } ^ { L } { \beta ^ { l - 1 } } A ^ { l }$ . Finally, two node representations $Z$ and $H$ , respectively from Neo-GNNs and feature-based GNNs, are used to (d) compute similarity scores and combined adaptively with the learnable parameter $\alpha$ .
|
| 67 |
+
|
| 68 |
+
node $u$ and $v$ as
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
S _ { A A } ( u , v ) = \sum _ { k \in \mathcal { N } ( u ) \cap \mathcal { N } ( v ) } \frac { 1 } { \log d _ { k } } .
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
These heuristic methods show comparable performance to GNNs for link prediction.
|
| 75 |
+
|
| 76 |
+
However, they have two limitations. First, each heuristic method uses manually designed structural features of neighborhoods, e.g., 1, $\textstyle { \frac { 1 } { d } }$ , $\frac { 1 } { \log d }$ . This requires the manual choice by domain experts to select the best heuristic method for each dataset. Second, they only consider structural similarity. While the GNNs do not use graph structures well compared to using node features, heuristic methods cannot utilize the node features for link prediction.
|
| 77 |
+
|
| 78 |
+
To address the limitations of both GNNs and heuristic methods, we propose Neighborhood Overlapaware Graph Neural Networks (Neo-GNN), that learn useful structural features from an adjacency matrix and estimate overlapped neighborhoods for link prediction, and adaptively combine with the conventional feature-based GNNs in an end-to-end fashion.
|
| 79 |
+
|
| 80 |
+
# 3.3 Neighborhood Overlap-aware Graph Neural Networks
|
| 81 |
+
|
| 82 |
+
We now introduce Neighborhood Overlap-aware Graph Neural Networks (Neo-GNNs) for link prediction. We first explain how Neo-GNNs learn and utilize structural information for link prediction and then explain the process of adaptively combining with the feature-based GNNs.
|
| 83 |
+
|
| 84 |
+
Neo-GNNs consist of two key components: (1) Structural feature generator and (2) neighborhood overlap-aware aggregation scheme. First, as we discussed in section 3.2, each heuristic method uses manually designed structural features of neighborhoods, 1, $\textstyle { \frac { 1 } { d } }$ , $\frac { 1 } { \log d }$ . To generalize and learn these structural features, we propose Structural feature generator $\mathcal { F } _ { \theta }$ which learns to generate structural features of each node using an only adjacency matrix $A \in \mathbf { R } ^ { N \times N }$ of the graph as
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
x _ { i } ^ { s t r u c t } = \mathcal { F } _ { \theta } ( A _ { i } ) = f _ { \theta _ { n o d e } } \left( \sum _ { j \in \mathcal { N } _ { i } } f _ { \theta _ { e d g e } } ( A _ { i j } ) \right) ,
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
where $x _ { i } ^ { s t r u c t }$ is a structural feature value of the node $i$ and $\mathcal { F } _ { \theta }$ is a learnable function comprised of two MLPs, $f _ { \theta _ { n o d e } }$ and $f _ { \theta _ { e d g e } }$ , for nodes and edges, respectively. That is to say, Neo-GNNs take only an adjacency matrix $A$ as an input to generate the most beneficial structural features. This input adjacency matrix $A$ can be replaced with the combination of powers of adjacency matrices. Now, Structural feature generator $\mathcal { F } _ { \theta }$ can generate structural features for each heuristic method. For example, if $f _ { \theta _ { n o d e } }$ is a reciprocal of the logarithm function, i.e., $\begin{array} { r } { f ( x ) = \frac { 1 } { \log x } } \end{array}$ , and $f _ { \theta _ { e d g e } }$ is an identity function, i.e., $f ( x ) = x$ , then Structural feature generator $\mathcal { F } _ { \theta }$ can generate the exactly same structural feature as the features used in Adamic-Adar method.
|
| 91 |
+
|
| 92 |
+
Based on the generated structural features of each node, the next process is to calculate the similarity score that considers only structural features of overlapped neighbors between given nodes. Note that conventional GNNs cannot compute this score due to two reasons: the normalized adjacency matrix and the lower dimension of hidden representations than the number of nodes (i.e., $d \ll N$ ). The normalized adjacency matrix hinders GNNs counting a number of neighborhoods and the low dimension makes features of each neighborhoods indistinguishable after aggregation, which cannot detect the neighborhoods overlap. We propose the neighborhood overlap-aware aggregation scheme to calculate neighborhood overlap-aware score. First, to maintain the respective features of each node after aggregation, we construct a diagonal matrix $X ^ { s t r u c t } \in \mathbf { R } ^ { N \times N }$ using the structural feature vector $\boldsymbol { x } ^ { s t r u c t } \in \mathbf { R } ^ { N \times 1 }$ as
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
X ^ { s t r u c t } = \mathrm { { d i a g } } ( x ^ { s t r u c t } ) .
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
Then, to consider the number of overlapped neighbors, we aggregate features of neighborhoods by multiplying an unnormalized adjacency matrix $A$ as
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
Z = A X ^ { s t r u c t } .
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
Now, each $i$ -th row vector of $Z , z _ { i }$ , involves all the features of node $i$ ’s neighboring nodes individually. If we compute the inner product of two row vectors in $Z$ , then we can compute the scores with the only overlapped neighborhoods, which equals the sum of square of structural feature values of overlapped neighborhoods, i.e., $\begin{array} { r } { z _ { i } ^ { T } z _ { j } = \sum _ { k \in \dot { \mathcal { N } } ( i ) \cap \mathcal { N } ( j ) } \big ( x _ { k } ^ { s t r u c t } \big ) ^ { 2 } } \end{array}$ .
|
| 105 |
+
|
| 106 |
+
Furthermore, to consider multi-hop overlapped neigbhors, we extend (8) to multi-hop settings as follows:
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
Z = g _ { \Phi } \left( \sum _ { l = 1 } ^ { L } \beta ^ { l - 1 } A ^ { l } X ^ { s t r u c t } \right) ,
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
where $\beta$ denotes a hyper-parameter controlling how much weight is given to close neighbors versus distant neighbors and $g _ { \Phi }$ is a MLP which controls the scale of representations $Z$ . Since node representations $Z$ are based on only structural information, we compute feature-based node representations H ∈ RN × d 0 using the conventional feature-based GNNs as
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
H = \mathbf { G } \mathbf { N } \mathbf { N } ( X , \tilde { A } _ { G N N } ; W ) ,
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
where $X \in \mathbf { R } ^ { N \times F }$ denotes the raw feature matrix, $\tilde { A } _ { G N N }$ denotes a normalized adjacency matrix, and $W$ is the parameter for GNNs. Then given a link $( i , j )$ , Neo-GNNs calculate both similarity scores from each representation matrix $Z$ and $H$ and compute the convex combination of two scores by a trainable parameter $\alpha$ as follows:
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
\hat { y } _ { i j } = \alpha \cdot \sigma ( z _ { i } ^ { T } z _ { j } ) + ( 1 - \alpha ) \cdot \sigma ( s ( h _ { i } , h _ { j } ) ) ) ,
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
Based on (12), we jointly train our proposed model and individual models using three standard (binary) cross-entropy losses
|
| 125 |
+
|
| 126 |
+
$$
|
| 127 |
+
\mathcal { L } = \sum _ { ( i , j ) \in D } \big ( \lambda _ { 1 } B C E ( \hat { y } _ { i j } , y _ { i j } ) + \lambda _ { 2 } B C E ( \sigma ( z _ { i } ^ { T } z _ { j } ) , y _ { i j } ) + \lambda _ { 3 } B C E ( \sigma ( s ( h _ { i } , h _ { j } ) ) , y _ { i j } ) \big ) ,
|
| 128 |
+
$$
|
| 129 |
+
|
| 130 |
+
where $B C E ( \cdot , \cdot )$ denotes binary cross entropy loss and $\lambda _ { i }$ are the weights.
|
| 131 |
+
|
| 132 |
+
Table 1: Statistics and evaluation metrics of OGB link prediction datasets.
|
| 133 |
+
|
| 134 |
+
<table><tr><td>Dataset</td><td>#Nodes</td><td>#Edges</td><td>Avg. node deg.</td><td>Density</td><td>Split ratio</td><td>Metric</td></tr><tr><td>OGB-PPA</td><td>576,289</td><td>30,326,273</td><td>73.7</td><td>0.018%</td><td>70/20/10</td><td>Hits @100</td></tr><tr><td>OGB-COLLAB</td><td>235,868</td><td>1,285,465</td><td>8.2</td><td>0.0046%</td><td>92/4/4</td><td>Hits @50</td></tr><tr><td>OGB-DDI</td><td>4,267</td><td>1,334,889</td><td>500.5</td><td>14.67%</td><td>80/10/10</td><td>Hits@20</td></tr><tr><td>OGB-CITATION2</td><td>2,927,963</td><td>30,561,187</td><td>20.7</td><td>0.00036%</td><td>98/1/1</td><td>MRR</td></tr></table>
|
| 135 |
+
|
| 136 |
+
Computational Complexity. Our proposed model uses the $N \times N$ matrix $X ^ { s t r u c t }$ for neigbhorhood overlap detection, which generally takes $O ( N | \mathcal { E } | _ { L } )$ computational time to compute node representations $Z$ in (9), where $| \mathcal { E } | _ { L }$ denotes a number of edges connected up to $L$ -hop. To solve this high complexity issue, we represent matrices $X ^ { s t r u c t }$ and $Z$ as the sparse matrix form and the computational time becomes just $\bar { O } ( \vert \mathcal { E } \vert _ { L } )$ . Also, as we can pre-compute the set of adjacency matrices $\{ A ^ { l } \} _ { l = 1 } ^ { L }$ in (9), thus there is no additional cost to calculate the powers of the adjacency matrix during training and inference.
|
| 137 |
+
|
| 138 |
+
# 4 Experiments
|
| 139 |
+
|
| 140 |
+
In this section, we evaluate the benefits of our method against state-of-the-art models on link prediction benchmarks. Then we analyze the contribution of each component in Neo-GNNs and show how Neo-GNNs can actually generalize and learn neighborhood overlap-based heuristic methods.
|
| 141 |
+
|
| 142 |
+
# 4.1 Experiment Settings
|
| 143 |
+
|
| 144 |
+
Datasets. We evaluate the effectiveness of our Neo-GNNs for link prediction on Open Graph Benchmark datasets [41] (OGB) : OGB-PPA, OGB-Collab, OGB-DDI, OGB-Citation2. Note that OGB-Collab contains multiple edges. Detailed statistics of each dataset are summarized in Table 1.
|
| 145 |
+
|
| 146 |
+
Evaluation. The evaluation for link prediction is based on the ranking performance of positive test edges over negative test edges. Specifically, in OGB-PPA, OGB-Collab, OGB-DDI, each model ranks positive test edges against randomly-sampled negative edges, and computes the ratio of positive test edges that are ranked at K-th place or above (Hits $\ @ \mathrm { K } )$ . In OGB-Citation2, the evaluation metric is Mean Reciprocal Rank (MRR), where the reciprocal rank of the true link among the negative candidates is calculated for each source node, and then the average is taken over all source nodes.
|
| 147 |
+
|
| 148 |
+
Baselines. To demonstrate the effectiveness of our Neo-GNNs in link prediction, we compare Neo-GNNs with three heuristic link prediction methods, three embedding-based methods, and five GNN-based models. For heuristic methods, we used three well-known neighborhood-overlap based heuristic methods, Common Neighbors, Adamic Adar [30], and Resource Allocation [31]. Without learning process, they predict links by utilizing each designed structural information regarding overlapped neighborhoods. For embedding-based methods, we used Matrix Factorization, Node2Vec [42], and Multi-Layer Perceptron (MLP). Furthermore, we compare our method to GNN-based models, GCN [11], GraphSAGE [26], JK-Net [43], GAT [12], and SEAL [25]. GCN, GraphSAGE, JK-Net, and GAT compute representations for each node and predict target links by measuring the similarity score between the source and target node of the target links. SEAL extracts enclosing subgraphs around target links and predict target links based on representations of the enclosing subgraphs as graph classification.
|
| 149 |
+
|
| 150 |
+
Implementation Details. We reimplemented neighborhood overlap-based heuristic method,i.e., Common neighbors, Adamic Adar, and Resource allocation from the referenced papers by using PyTorch. For Node2Vec, GCN, GraphSAGE, JK-Net, and GAT, we used the implementation in PyTorch Geometric [44] and the implementation in the official github repository for SEAL. We set the number of layers to 3 and latent dimensionality to 256 for all GNN-based models. To train our method, we used GCN as a feature-based GNN based model and all MLP models in our Neo-GNNs consist of 2 fully connected layers. We jointly trained feature-based GNNs and Neo-GNNs. Since a GNN model requires more epochs for convergence than that of Neo-GNNs on OGB-PPA, and OGB-DDI, we adopted pre-trained GCN to handle this issue. In OGB-Citation2, due to memory issue, we fix the $f _ { \theta _ { e d g e } }$ as the identity function. For fair comparison, we reported performances of all baselines and our Neo-GNNs as the mean and the standard deviation of performances from 10 independent runs, where each seed is from 0 to 9. The experiments are conducted on a RTX 3090 (24GB) and a Quadro RTX (48GB).
|
| 151 |
+
|
| 152 |
+
Table 2: Link prediction performances $( \% )$ of our Neo-GNNs and baselines on Open Graph Benchmark (OGB) datasets. Each number is the average performance for 10 random initialization of the experiments. OOM denotes ’out of memory’. Bold indicates the second best performance and underline indicates the best performance.
|
| 153 |
+
|
| 154 |
+
<table><tr><td>Method</td><td>OGB-PPA</td><td>OGB-COLLAB</td><td>OGB-DDI</td><td>OGB-CITATION2</td></tr><tr><td>Common Neighbors</td><td>27.65 ± 0.00</td><td>50.06 ±0.00</td><td>17.73 ± 0.00</td><td>76.20±0.00</td></tr><tr><td>Adamic Adar</td><td>32.45 ± 0.00</td><td>53.00 ± 0.00</td><td>18.61 ± 0.00</td><td>76.12 ± 0.00</td></tr><tr><td>Resource Allocation</td><td>49.33 ± 0.00</td><td>52.89 ± 0.00</td><td>6.23± 0.00</td><td>76.20 ± 0.00</td></tr><tr><td>Matrix Factorization</td><td>27.83 ± 2.02</td><td>38.74 ± 0.30</td><td>17.92 ± 3.57</td><td>53.08 ± 4.19</td></tr><tr><td>Node2Vec</td><td>17.24 ± 0.76</td><td>41.36 ± 0.69</td><td>21.95 ± 1.58</td><td>53.47 ± 0.12</td></tr><tr><td>MLP</td><td>0.47± 0.05</td><td>19.98 ± 0.96</td><td>N/A</td><td>28.99 ± 0.16</td></tr><tr><td>GCN</td><td>16.98 ± 1.33</td><td>47.01 ± 0.79</td><td>44.60 ± 8.87</td><td>84.79 ± 0.24</td></tr><tr><td>GraphSAGE</td><td>13.93 ± 2.38</td><td>48.60 ± 0.46</td><td>48.01 ± 9.02</td><td>82.64 ± 0.01</td></tr><tr><td>JK-Net</td><td>11.40 ± 2.04</td><td>48.84 ± 0.83</td><td>57.98 ± 6.88</td><td>OOM</td></tr><tr><td>GAT</td><td>OOM</td><td>44.89 ± 1.23</td><td>29.51 ±6.40</td><td>OOM</td></tr><tr><td>SEAL</td><td>48.15 ± 4.17</td><td>54.37 ± 0.02</td><td>26.25 ±6.00</td><td>86.32 ± 0.52</td></tr><tr><td>Neo-GNN</td><td>49.13 ± 0.60</td><td>57.52 ± 0.37</td><td>63.57 ± 3.52</td><td>87.26 ± 0.84</td></tr></table>
|
| 155 |
+
|
| 156 |
+
# 4.2 Results on Link Prediction
|
| 157 |
+
|
| 158 |
+
Table 2 shows link prediction results of the baselines and Neo-GNNs on Open Graph Benchmark (OGB) datasets. We use GCN to adaptively combine with Neo-GNNs across all datasets except OGBCitation2. In OGB-Citation2, since GCN requires 46 GB memory to train, we trained our Neo-GNNs without GCN. As shown in Table 2, we can observe that Neo-GNNs consistently achieve state-ofthe-arts performance across all datasets. Especially, Neo-GNNs show significant improvements on OGB-Collab and OGB-DDI, where the improvements of Neo-GNNs over the best baseline are $5 . 4 \%$ and $9 . 6 \%$ , respectively. Furthermore, note that Neo-GNNs achieved state-of-the-art performance in OGB-Citation2 without GCN, that is, by using only graph structures without input node features. Interestingly, conventional feature-based GNNs show poor performance with a huge gap than that of neighborhood overlap-based heuristic methods on OGB-PPA and OGB-Collab. This implies that feature-based GNNs have a difficulty in directly utilizing structural information e.g., degree and overlapped neighbors, for link prediction. According to this implication, Neo-GNNs and SEAL are able to learn structural information, thus these methods accomplish better performance than conventional GNNs do. Moreover, Neo-GNNs and SEAL even show good performance compared to the heuristic methods in all datasets as they can capture structural information that the heuristic methods utilize. Although SEAL shows good performance compared to heuristic methods, SEAL shows poor performance than feature-based GNNs in OGB-DDI. One possible interpretation is that SEAL cannot adaptively utilize the input node features and structural features according to each data. Instead, Neo-GNNs adaptively combine Neo-GNNs and GCN for each dataset using the learnable parameter $\alpha$ , which shows even higher performance than each performance of Neo-GNNs and GCN. We further analyze the effectiveness of $\alpha$ in 4.2
|
| 159 |
+
|
| 160 |
+
# 4.3 Ablation Studies
|
| 161 |
+
|
| 162 |
+
We present ablation experiments to identify the benefits of different components of Neo-GNNs. First, we evaluate our Neo-GNNs without GCN and examine the effectiveness of the parameter $\alpha$ that adaptively combine scores from Neo-GNNs and GCN. Then we study the effects of considering multihop overlapped neighborhoods. Specifically, we investigate the effectiveness of two hyper-parameters, the decaying factor $\beta$ and the maximum hop $L$ , related to multi-hop overlapped neighborhoods.
|
| 163 |
+
|
| 164 |
+
Table 3: Ablation study analyzing the significance of Neo-GNNs on the OGB-PPA, OGB-Collab, OGB-DDI, and OGB-Citation2 datasets for link prediction. $\alpha$ denotes the attention weight of Neo-GNNs’ scores.
|
| 165 |
+
|
| 166 |
+
<table><tr><td>Dataset</td><td>α</td><td>Neo-GNN (w/ GCN)</td><td>Neo-GNN (w/o GCN)</td><td>GCN</td></tr><tr><td>PPA</td><td>0.98 ± 0.003</td><td>49.13 ± 0.60</td><td>48.63 ± 0.88</td><td>16.98 ± 1.33</td></tr><tr><td>COLLAB</td><td>0.57 ± 0.130</td><td>57.52 ± 0.37</td><td>55.70 ± 0.24</td><td>47.01 ± 0.79</td></tr><tr><td>DDI</td><td>0.48 ± 0.015</td><td>63.57 ± 3.52</td><td>17.38 ± 4.05</td><td>44.60 ± 8.87</td></tr><tr><td>CITATION2</td><td>N/A</td><td>0OM</td><td>87.26 ± 0.84</td><td>84.79 ± 0.24</td></tr></table>
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
Figure 2: Link prediction results on the OGB-Collab dataset by varying the maximum hop $L$ (left) and the decaying factor $\beta$ (right).
|
| 170 |
+
|
| 171 |
+
Neo-GNNs without GCN. To measure the effectiveness of Neo-GNNs itself, we perform an ablation study on four datasets, as shown in Table 3. We can see that Neo-GNNs (w/o GCN) still show the state-of-the-art performances compared to baselines except OGB-DDI. Note that Neo-GNNs (w/o GCN) only use graph structures and outperform other GNNs whereas other GNNs use both input features and graph structures. This shows that utilizing key structrual information about overlapped neighbors is crucial for link prediction.
|
| 172 |
+
|
| 173 |
+
Effectiveness of the parameter $\alpha$ . To consider both structural information and input features, our proposed model predict similarity scores from the convex combination of two scores from Neo-GNNs and GCN by the trainable parameter $\alpha$ . As shown in Table 3, $\alpha$ varies for each dataset, which indicates that $\alpha$ properly adjusts the weight of structural information and features for each dataset. With the combining process, Neo-GNNs (w/ GCN) consistently show better performance than performances of individual model, i.e., Neo-GNN (w/o GCN) and GCN. Especially, in OGB-DDI, Neo-GNN (w/o GCN) and GCN show less than 50, but the combined model Neo-GNN (w/ GCN) shows $42 \%$ and $80 \%$ improved performance compared to each model.
|
| 174 |
+
|
| 175 |
+
Effectiveness of multi-hop overlapped neighborhoods. We study the effectiveness of multi-hop overlapped neighborhoods by investigating effects of two hyper-parameters, $L$ and $\beta$ , on OGB-Collab dataset. First, as shown in Figure 2, if Neo-GNNs only consider 1-hop ovelapped neighbhors, i.e., $L = 1$ , Neo-GNNs converge faster than other cases considering multi-hop overlapped neighbors. However, the best performance is lower than the others, which shows that multi-hop overlapped neighborhoods enhance the performance of Neo-GNNs for link prediction. Second, $\beta$ controls how much to reduce the effects of neighborhoods when the distance increases. As shown in Figure 2, as $\beta$ decreases, Neo-GNNs converge slowly but eventually show similar performance. This means that if multi-hop overlapped neighbors are informative, then Neo-GNNs achieve good performance robustly to the value of $\beta$ .
|
| 176 |
+
|
| 177 |
+
# 4.4 Analysis on learning neighborhood overlap-based heuristic methods
|
| 178 |
+
|
| 179 |
+
As we discussed in Sec 3.3, our Neo-GNNs generalize several neighborhood overlap-based heuristic methods, (e.g., Common Neighbors, Adamic Adar, and Resource Allocation). Further, in this section, we show that Neo-GNNs (w/o GCN) directly learn each neighbhorhood overlap-based heuristic method and implicitly learn the best one among three heuristic methods on OGB-PPA dataset. We first trained Neo-GNNs to fit the scores from each heuristic method on the train set of OGB-PPA. Then we measure the Spearman correlations by using ranks of test edges from each model. We analyze rank correlations between Neo-GNNs and three heuristic methods based on 50000 sampled test edges in Figure 3. As shown in Figure 3, Neo-GNNs show a strong correlation with other heuristic methods. That is, Neo-GNNs can learn each heuristic method. Next, to show that Neo-GNNs learn the most desirable heuristic method depending on datasets, we compute Spearman correlations between ranks from trained Neo-GNNs on OGB-PPA dataset and the heuristic methods. As a result, correlation scores between Neo-GNNs and Resource Allocation, Adamic Adar, and Common Neighbors are 0.9627, 0.9277, and 0.8982, respectively. We can see that correlation scores are proportional to performances of each heuristic method (49.33, 32.45, and 27.65), which learn the best heuristic method.
|
| 180 |
+
|
| 181 |
+

|
| 182 |
+
Figure 3: Comparison of rank correlation between our Neo-GNNs and three neighborhood overlapbased heuristic methods on OGB-PPA. We evaluate a rank correlation on positive test edges after ranking the entire test edge prediction scores. We visualize a rank correlation using randomly sampled 50,000 positive test edges. The 3(a), 3(b), and 3(c) show rank correlation when Neo-GNNs (w/o GCN) fit to scores of each heuristic method. The 3(d), 3(e), and 3(f) present the rank correlation between Neo-GNNs (w/o GCN) and each heuristic method upon OGB-PPA. The number in parentheses indicates Spearman Correlation coefficient.
|
| 183 |
+
|
| 184 |
+
# 5 Conclusion
|
| 185 |
+
|
| 186 |
+
We introduced Neighborhood Overlap-based Graph Neural Networks (Neo-GNNs) that learn and utilize structural information, which is a key element in link prediction. Neo-GNNs learn useful structural features from an adjacency matrix and estimate overlapped neighborhoods for link prediction. We also adaptively combine Neo-GNNs and feature-based GNNs to consider both structural features and input node features. Furthermore, our Neo-GNNs generalize several neigbhorhood overlap-based heuristic methods and handle overlapped multi-hop neigbhorhoods. Extensive experiments on four Open Graph Benchmark (OGB) datasets demonstrate that Neo-GNNs consistently acheive stateof-the-art performance on four OGB datasets in link prediction. In future work, we plan to further develop Neo-GNNs to generalize more link prediction-based heuristic methods and improve the scalability with efficient sparse matrix computation.
|
| 187 |
+
|
| 188 |
+
# 6 Acknowledgement
|
| 189 |
+
|
| 190 |
+
This work was supported by the following funding sources: National Research Foundation of Korea (NRF-2020R1A2C3010638, NRF-2014M3C9A3063541); ICT Creative Consilience program(IITP2021-2020-0-01819) supervised by the IITP; Samsung Research Funding & Incubation Center of Samsung Electronics under Project Number SRFC-IT1701-51.
|
| 191 |
+
|
| 192 |
+
# References
|
| 193 |
+
|
| 194 |
+
[1] Jiezhong Qiu, Jian Tang, Hao Ma, Yuxiao Dong, Kuansan Wang, and Jie Tang. Deepinf: Social influence prediction with deep learning. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD), pages 2110–2119, 2018.
|
| 195 |
+
[2] Lei Tang and Huan Liu. Graph mining applications to social network analysis. In Managing and Mining Graph Data, pages 487–513. Springer, 2010.
|
| 196 |
+
[3] Hao Wang, Tong Xu, Qi Liu, Defu Lian, Enhong Chen, Dongfang Du, Han Wu, and Wen Su. Mcne: An end-to-end framework for learning multiple conditional network representations of social network. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery Data Mining (KDD), pages 1064–1072, 2019.
|
| 197 |
+
[4] Nicola De Cao and Thomas Kipf. Molgan: An implicit generative model for small molecular graphs. arXiv preprint arXiv:1805.11973, 2018.
|
| 198 |
+
[5] David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alan Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems (NeurIPS) 28, pages 2224–2232. Curran Associates, Inc., 2015.
|
| 199 |
+
[6] Alex Fout, Jonathon Byrd, Basir Shariat, and Asa Ben-Hur. Protein interface prediction using graph convolutional networks. In Advances in Neural Information Processing Systems (NeurIPS) 30, pages 6530–6539. Curran Associates, Inc., 2017.
|
| 200 |
+
[7] Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning, Proceedings of Machine Learning Research, pages 1263– 1272, 2017.
|
| 201 |
+
[8] Helisa Dhamo, Azade Farshad, Iro Laina, Nassir Navab, Gregory D. Hager, Federico Tombari, and Christian Rupprecht. Semantic image manipulation using scene graphs. In The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 5213–5222, 2020.
|
| 202 |
+
[9] Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 652–660, 2017.
|
| 203 |
+
[10] Yue Wang, Yongbin Sun, Ziwei Liu, Sanjay E Sarma, Michael M Bronstein, and Justin M Solomon. Dynamic graph cnn for learning on point clouds. Acm Transactions On Graphics (tog), 38(5):1–12, 2019.
|
| 204 |
+
[11] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations, 2017.
|
| 205 |
+
[12] Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua ´ Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017.
|
| 206 |
+
[13] Johannes Klicpera, Stefan Weiß enberger, and Stephan Günnemann. Diffusion improves graph learning. In Advances in Neural Information Processing Systems (NeurIPS) 32, pages 13333–13345. Curran Associates, Inc., 2019.
|
| 207 |
+
[14] Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In Proceedings of the 37th International Conference on Machine Learning (ICML), pages 1725–1735, 2020.
|
| 208 |
+
[15] Cheng Zheng, Bo Zong, Wei Cheng, Dongjin Song, Jingchao Ni, Wenchao Yu, Haifeng Chen, and Wei Wang. Robust graph representation learning via neural sparsification. In Proceedings of the 37th International Conference on Machine Learning (ICML), pages 11458–11468, 2020.
|
| 209 |
+
[16] Muhan Zhang, Zhicheng Cui, Marion Neumann, and Yixin Chen. An end-to-end deep learning architecture for graph classification. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018.
|
| 210 |
+
[17] Rex Ying, Jiaxuan You, Christopher Morris, Xiang Ren, William L Hamilton, and Jure Leskovec. Hierarchical graph representation learning with differentiable pooling. arXiv preprint arXiv:1806.08804, 2018.
|
| 211 |
+
[18] Junhyun Lee, Inyeop Lee, and Jaewoo Kang. Self-attention graph pooling. In Kamalika Chaudhuri and Ruslan Salakhutdinov, editors, Proceedings of the 36th International Conference on Machine Learning. PMLR, 2019.
|
| 212 |
+
[19] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? arXiv preprint arXiv:1810.00826, 2018.
|
| 213 |
+
[20] Seongmin Ok. A graph similarity for deep learning. In Advances in Neural Information Processing Systems (NeurIPS) 33, pages 1–12. Curran Associates, Inc., 2020.
|
| 214 |
+
[21] Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Junction tree variational autoencoder for molecular graph generation. In International Conference on Machine Learning, pages 2323–2332. PMLR, 2018.
|
| 215 |
+
[22] Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Hierarchical generation of molecular graphs using structural motifs. In Proceedings of the 37th International Conference on Machine Learning (ICML), pages 4839–4848, 2020.
|
| 216 |
+
[23] Jenny Liu, Aviral Kumar, Jimmy Ba, Jamie Kiros, and Kevin Swersky. Graph normalizing flows. In Advances in Neural Information Processing Systems (NeurIPS) 32, pages 13556–13566. Curran Associates, Inc., 2019.
|
| 217 |
+
[24] Jiaxuan You, Bowen Liu, Rex Ying, Vijay Pande, and Jure Leskovec. Graph convolutional policy network for goal-directed molecular graph generation. In Advances in Neural Information Processing Systems (NeurIPS) 31, pages 6412–6422. Curran Associates, Inc., 2018.
|
| 218 |
+
[25] Muhan Zhang and Yixin Chen. Link prediction based on graph neural networks. In Advances in Neural Information Processing Systems, pages 5165–5175, 2018.
|
| 219 |
+
[26] William Hamilton, Rex Ying, and Jure Leskovec. Inductive representation learning on large graphs. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems 30, pages 1024–1034. Curran Associates, Inc., 2017.
|
| 220 |
+
[27] Haggai Maron, Heli Ben-Hamu, Nadav Shamir, and Yaron Lipman. Invariant and equivariant graph networks. In International Conference on Learning Representations, 2018.
|
| 221 |
+
[28] Jiaxuan You, Rex Ying, and Jure Leskovec. Position-aware graph neural networks. In International Conference on Machine Learning, pages 7134–7143. PMLR, 2019.
|
| 222 |
+
[29] Albert-László Barabási and Réka Albert. Emergence of scaling in random networks. science, 286(5439):509–512, 1999.
|
| 223 |
+
[30] Lada A Adamic and Eytan Adar. Friends and neighbors on the web. Social networks, 25(3):211– 230, 2003.
|
| 224 |
+
[31] Tao Zhou, Linyuan Lü, and Yi-Cheng Zhang. Predicting missing links via local information. The European Physical Journal B, 71(4):623–630, 2009.
|
| 225 |
+
[32] Leo Katz. A new status index derived from sociometric analysis. Psychometrika, 18(1):39–43, 1953.
|
| 226 |
+
[33] Sergey Brin and Lawrence Page. Reprint of: The anatomy of a large-scale hypertextual web search engine. Computer networks, 56(18):3825–3833, 2012.
|
| 227 |
+
[34] Glen Jeh and Jennifer Widom. Simrank: a measure of structural-context similarity. In Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining, pages 538–543, 2002.
|
| 228 |
+
[35] Yehuda Koren, Robert Bell, and Chris Volinsky. Matrix factorization techniques for recommender systems. Computer, 42(8):30–37, 2009.
|
| 229 |
+
[36] Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 701–710, 2014.
|
| 230 |
+
[37] Jiezhong Qiu, Yuxiao Dong, Hao Ma, Jian Li, Kuansan Wang, and Jie Tang. Network embedding as matrix factorization: Unifying deepwalk, line, pte, and node2vec. In Proceedings of the eleventh ACM international conference on web search and data mining, pages 459–467, 2018.
|
| 231 |
+
[38] Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013.
|
| 232 |
+
[39] Elena Zheleva and Lise Getoor. To join or not to join: The illusion of privacy in social networks with mixed public and private user profiles. In Proceedings of the 18th International Conference on World Wide Web, WWW ’09, page 531–540, 2009.
|
| 233 |
+
[40] Thomas N Kipf and Max Welling. Variational graph auto-encoders. arXiv preprint arXiv:1611.07308, 2016.
|
| 234 |
+
[41] Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. arXiv preprint arXiv:2005.00687, 2020.
|
| 235 |
+
[42] Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining, pages 855–864, 2016.
|
| 236 |
+
[43] Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. In International Conference on Machine Learning, pages 5453–5462. PMLR, 2018.
|
| 237 |
+
[44] Matthias Fey and Jan E. Lenssen. Fast graph representation learning with PyTorch Geometric. In ICLR Workshop on Representation Learning on Graphs and Manifolds, 2019.
|
parse/train/Ic9vRN3VpZ/Ic9vRN3VpZ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Ic9vRN3VpZ/Ic9vRN3VpZ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJgCEpVtvr/SJgCEpVtvr.md
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DYNAMIC SELF-TRAINING FRAMEWORK FOR GRAPH CONVOLUTIONAL NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Graph neural networks (GNN) such as GCN, GAT, MoNet have achieved stateof-the-art results on semi-supervised learning on graphs. However, when the number of labeled nodes is very small, the performances of GNNs downgrade dramatically. Self-training has proved to be effective for resolving this issue, however, the performance of self-trained GCN is still inferior to that of G2G and DGI for many settings. Moreover, additional model complexity make it more difficult to tune the hyper-parameters and do model selection. We argue that the power of self-training is still not fully explored for the node classification task. In this paper, we propose a unified end-to-end self-training framework called Dynamic Self-traning, which generalizes and simplifies prior work. A simple instantiation of the framework based on GCN is provided and empirical results show that our framework outperforms all previous methods including GNNs, embedding based method and self-trained GCNs by a noticeable margin. Moreover, compared with standard self-training, hyper-parameter tuning for our framework is easier.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Graphs or networks can be used to model any interactions between entities such as social interactions (Facebook, Twitter), biological networks (protein-protein interaction), and citation networks. There has been an increasing research interest in deep learning on graph structured data, e.g., (Bruna et al., 2014; Defferrard et al., 2016; Monti et al., 2017; Kipf & Welling, 2017; Hamilton et al., 2017; Velickovic et al., 2018; Tang et al., 2015; Perozzi et al., 2014).
|
| 12 |
+
|
| 13 |
+
Semi-supervised node classification on graphs is a fundamental learning task with many applications. Classic methods rely on some underly diffusion process to propagate label information. Recently, network embedding approaches have demonstrate outstanding performance on node classification (Tang et al., 2015; Grover & Leskovec, 2016; Bojchevski & Günnemann, 2018). This approach first learns a lower-dimensional embedding for each node in an unsupervised manner, and then the embeddings are used to train a supervised classifier for node classification, e.g., logistic regression or multi-layer perceptron (MLP). Graph neural networks (GNN) are semi-supervised models and have achieved state-of-the-art performance on many benchmark data sets (Monti et al., 2017; Kipf & Welling, 2017; Velickovic et al., 2018). GNNs generalize convolution to graph structured data and typically have a clear advantage when the number of training examples is reasonably large. However, when there are very few labeled nodes, GNNs is outperformed by embedding based method (as shown by our experimental results), e.g., G2G from (Bojchevski & Günnemann, 2018) and DGI from (Velickovi ˇ c et al., 2019). ´
|
| 14 |
+
|
| 15 |
+
To overcome this limitation of GCNs (Kipf & Welling, 2017), Li et al. (Li et al., 2018) propose to apply self-training and co-training techniques (Scudder, 1965). The idea of these techniques is to augment the original training set by adding in some unlabeled examples together with their label predictions. Such “pseudo-label” information is either from the base model trained on the original training set (self-training) or another learning algorithm (co-training). The results from (Li et al., 2018) demonstrate the effectiveness of co-training and self-training. However, among the four variants implemented in (Li et al., 2018), there is not a single one that achieves the best performance across different settings; and from our experiments, G2G and DGI outperforms all the four variants when the number of labels from each class is less than 10. There are clear restrictions in prior self-training approaches. First, the pseudo-label set is incremental only, i.e., after an unlabeled example is added to the training set, it will never be deleted and its pseudo-label will never change even if its prediction and/or the corresponding margin has changed drastically. Secondly, all the pseudo-labels are considered equal, although they may have very different classification margins. Furthermore, it introduces extra hyper-parameters such as the number of unlabeled nodes to be added into the training set and the total number of self-training iterations. The performance gain is sensitive to such parameters and their optimal values may differ for different data sets and label rates (Buchnik & Cohen, 2018).
|
| 16 |
+
|
| 17 |
+
To fully understand and explore the power of self-training on the node classification task, we propose a novel self-training framework, named Dynamic Self-training, which is general, flexible, and easy to use. We provide a simple instantiation of the framework based on GCN (Kipf & Welling, 2017) and empirically show that it outperforms state-of-art methods including GNNs, self-trained GCN (Li et al., 2018), and embedding based methods. Our framework has the following distinguishing features compared with (Li et al., 2018; Buchnik & Cohen, 2018).
|
| 18 |
+
|
| 19 |
+
1. We augment the training set and recalculate the pseudo-labels after each epoch. So the number self-training iterations is the same as the number of epochs and the pseudo-label assigned to an unlabeled example may change during the training process.
|
| 20 |
+
2. In stead of inserting a fixed number of new pseudo-labels with highest margin in each iteration, we use a threshold-based rule, i.e., insert an unlabeled node if and only if its classification margin is above the threshold.
|
| 21 |
+
3. The pseudo-label set is dynamic. When the margin of an unlabeled node is above the threshold, we activate it by adding it to the loss function, but if the margin of this node becomes lower than the threshold in a later epoch, we will deactivate it.
|
| 22 |
+
4. We assign a (dynamic) personalized weight to each active pseudo-label proportional to its current classification margin. The total pseudo-label loss is thus the weighted sum of losses corresponds to all pseudo-labels.
|
| 23 |
+
|
| 24 |
+
# 2 PRELIMINARIES
|
| 25 |
+
|
| 26 |
+
# 2.1 GRAPH NOTATION AND PROBLEM DEFINITION
|
| 27 |
+
|
| 28 |
+
In the problem, we are given an undirected graph with node attributes $G = ( V , E , X )$ , where $V$ is the vertex set, $E$ is the edge set. Here, $X$ is the feature matrix, the $i$ -th row of which, denoted as $x _ { i }$ , is the feature vector of node $i$ . We assume each node belongs to exactly one class and use $y _ { i }$ to denote the class label of the $i$ -th node. The aim is to design learning algorithms to predict the labels of all nodes based on the labels of a small set of training nodes provided in the beginning. We use $\mathcal { N } _ { k } ( i )$ to denote the set of nodes whose distance to node $i$ is at most $k$ . $\mathcal { L } \subset V$ is the set of labeled nodes and $\mathcal { U } = V \setminus \mathcal { L }$ is the set of unlabeled nodes.
|
| 29 |
+
|
| 30 |
+
# 2.2 GRAPH CONVOLUTIONAL NETWORKS
|
| 31 |
+
|
| 32 |
+
GCN introduced in (Kipf & Welling, 2017) is a graph neural network model for semi-supervised classification. GCN learns the representations of each node by iteratively aggregating the embeddings of its neighbors. Specifically, GCN consists of $L > 0$ layers each with the same propagation rule defined as follows. In the $l$ -th layer, the hidden representations $H ^ { ( l - 1 ) }$ are averaged among one-hop neighbors as:
|
| 33 |
+
|
| 34 |
+
$$
|
| 35 |
+
H ^ { ( l ) } = \sigma ( \tilde { D } ^ { - \frac { 1 } { 2 } } \tilde { A } \tilde { D } ^ { - \frac { 1 } { 2 } } H ^ { ( l - 1 ) } W ^ { ( l ) } ) .
|
| 36 |
+
$$
|
| 37 |
+
|
| 38 |
+
Here, ${ \tilde { A } } = A + I _ { n }$ is the adjacency matrix of $G$ after adding self-loops ( $I _ { n }$ is the identity matrix), $\tilde { D }$ is a diagonal matrix with $\tilde { D _ { i i } } = \dot { \sum _ { j } { A _ { i j } } }$ , $W ^ { ( l ) }$ is a trainable weight matrix of the $l$ -th layer, and $\sigma$ is a nonlinear activation function; $\dot { H ^ { ( l ) } } \in \mathbb { R } ^ { n \times d _ { l } }$ denotes hidden feature matrix of the $l$ -th layer and $H ^ { ( 0 ) } = X$ and $f _ { i } = H _ { i } ^ { ( L ) }$ represents the output of $i$ -th node.
|
| 39 |
+
|
| 40 |
+
We use $l ( y _ { i } , f _ { i } )$ to denote the classification loss of node $i$ , which is typically the cross entropy function. Thus, loss function used by GCN is of the form:
|
| 41 |
+
|
| 42 |
+
$$
|
| 43 |
+
L = \sum _ { i \in \mathcal { L } } l ( y _ { i } , f _ { i } )
|
| 44 |
+
$$
|
| 45 |
+
|
| 46 |
+
For a $k$ -layer GCN, the receptive field of each training example is its order- $k$ neighborhood. When there are only few training samples, we need to increase the number of layers in order to cover most of the unlabeled nodes. However, deeper GCN will cause the problem of over-smoothing, i.e., critical features of the vertices may be smoothed through the iterative averaging process, which makes nodes from different class indistinguishable (Xu et al., 2018; Li et al., 2018).
|
| 47 |
+
|
| 48 |
+
# 2.3 SELF TRAINING
|
| 49 |
+
|
| 50 |
+
Recently (Li et al., 2018) apply self-training to overcome these limitations of GCNs. Self-training is a natural and general approach to semi-supervised learning, which is particularly well-motivated in the context of node classification (Buchnik & Cohen, 2018; Li et al., 2018). Assume we have a base model/algorithm for the learning problem, which takes as input a set of labeled examples and makes predictions for other examples. Typically, for each unlabeled node, the base algorithm will also return an associated margin or confidence score. The self-training framework trains and applies the base model in rounds, where at the end of each round, the highest-confidence predictions are converted to become new labeled examples in the next round of training and prediction. Thus, the receptive fields of all the labeled nodes increases and will eventually cover the entire graph, which resolve the issue of GCNs without adding more layers.
|
| 51 |
+
|
| 52 |
+
# 3 OUR METHOD
|
| 53 |
+
|
| 54 |
+
# 3.1 A GENERALIZED SELF-TRAINING FRAMEWORK
|
| 55 |
+
|
| 56 |
+
# Algorithm 1: Dynamic Self-training Framework
|
| 57 |
+
|
| 58 |
+
1 Generate initial parameter $\theta ^ { 0 }$ for model $f ( \cdot , \cdot )$ , and the initial confidence score vector $S _ { V }$ .
|
| 59 |
+
2 for each epoch $t = 1 , 2 , . . . , T$ do
|
| 60 |
+
3 Compute prediction $f _ { V } \gets f ( G , \theta ^ { t - 1 } )$
|
| 61 |
+
4 Update confidence score $S _ { V } { \mathcal { U C } } ( f _ { V } )$ .
|
| 62 |
+
5 Update model parameter by confidence score. $\theta ^ { t } \gets \mathcal { U P } ( f _ { V } , S _ { V } , f )$
|
| 63 |
+
6 if stopping criteria is met then
|
| 64 |
+
7 Break
|
| 65 |
+
8 end
|
| 66 |
+
9 end
|
| 67 |
+
|
| 68 |
+
Sun et al. (Sun et al., 2019) proposed Multi-stage Training Framework as generalization for selftraining method in (Li et al., 2018). Inspired by this, we propose a more generalized end-to-end self-training framework named Dynamic Self-training Framework shown in algorithm 1. Instead of operating on data split, we maintain a confidence score in each iteration. There is no specified training stages here, but we update the confidence value for each unlabeled node after every epoch.
|
| 69 |
+
|
| 70 |
+
Consider the original model $f ( \cdot , \cdot )$ as a forward predicting function with backward trainable parameters. The graph data $G$ and the trainable parameters $\theta ^ { t }$ is the input of this function, and the output of this model is collected into $f _ { V } \in \mathbb { R } ^ { n \times C }$ , where $f _ { v }$ denotes the output vector (before assigned with label) of node $v \in V$ , and $C = d _ { L }$ is the number of classes. Then we construct the confidence score vector $S _ { V } \in \mathbb { R } ^ { n }$ from the model output $f _ { v }$ using a function $\mathcal { U } \mathcal { C }$ , which can be instantiated in many forms. For example, Algorithm 2 illustrates how standard multi-stage self-training GCN implement this part. Finally we update the model parameters using a specified algorithm such as gradient descent, where the confidence score vector plays a role. The confidence score participates in the parameter updating process in an end-to-end manner. An example of this part can be seen in section 3.3.
|
| 71 |
+
|
| 72 |
+
# 3.2 PSEUDO LABEL METHOD
|
| 73 |
+
|
| 74 |
+
Define the pseudo label $\tilde { y } _ { i } \in \mathbb { R } ^ { d _ { L } }$ of $i$ -th node which satisfies :
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\tilde { y } _ { i j } = \left\{ \begin{array} { l l } { 1 } & { \mathrm { i f ~ } j = \arg \operatorname* { m a x } _ { j ^ { \prime } } f _ { i j ^ { \prime } } } \\ { 0 } & { \mathrm { o t h e r w i s e } } \end{array} \right.
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
# Algorithm 2: Update confidence score for Multi-stage Self-training GCN
|
| 81 |
+
|
| 82 |
+
<table><tr><td colspan="2">if the stage is currently switched then</td></tr><tr><td>2</td><td>for each class k do</td></tr><tr><td>3</td><td>Find the top m vertices v in fv and v ∈U</td></tr><tr><td>4</td><td>Change the value of v in Sv to 1</td></tr><tr><td>5</td><td>end</td></tr><tr><td>6</td><td>return Sv</td></tr><tr><td colspan="2">7 end</td></tr></table>
|
| 83 |
+
|
| 84 |
+
(Lee, 2013) introduced a pseudo label version of semi-supervised losses:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
L = \sum _ { i \in \mathcal { L } } l ( y _ { i } , f _ { i } ) + \lambda \sum _ { i \in \mathcal { U } } l ( \tilde { y } _ { i } , f _ { i } ) ,
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
where $\begin{array} { r } { \lambda = \frac { n } { n ^ { \prime } } \gamma } \end{array}$ , $n = | \mathcal { L } |$ , $n ^ { \prime } = | \boldsymbol { \mathcal { U } } |$ , $\gamma \in \mathbb R$ is a hyper-parameter and the additive term $\textstyle \sum _ { i \in { \mathcal { U } } } l ( { \tilde { y } } _ { i } , f _ { i } )$ is the pseudo label loss. Here, $\lambda$ measures how much the pseudo label term influence the training process. This is equivalent to Entropy Regularization for classification problems (Lee, 2013).
|
| 91 |
+
|
| 92 |
+
# 3.3 SOFT LABEL CONFIDENCE
|
| 93 |
+
|
| 94 |
+
In standard multi-stage self-training methods, a node just has two states: in the training set or not, which corresponds to binary-valued confidences $\{ 0 , 1 \}$ ; and in most cases, if a node is added in training set, it will be kept there. This simple setting hinders learning in some cases. For instance, if the classifier puts a wrongly labeled node into the training set, which is of high possibility in preliminary training epochs, it will persistently learn wrong knowledge from this node. Worse still, another wrongly adding is more possible. This negative feedback loop may contribute to a extremely poor classifier. Moreover, original labeled nodes and added nodes in the training are treated equally, which is too restricted and may harm the learning; explicitly distinguishing them in the training process could be beneficial. To resolve these problems, we introduce a mechanism named Soft Label Confidence as the confidence updating component in algorithm 1, which computes a personalized confidence value for each node, and the training set is dynamically changing except the ground truth labels. Based on the pseudo label loss (4), we propose the loss wrapped by soft label confidence:
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
L = \sum _ { i \in \mathcal { L } } l ( y _ { i } , f _ { i } ) + \lambda \sum _ { i \in \mathcal { U } } \alpha ( f _ { i } ) l ( \tilde { y } _ { i } , f _ { i } ) .
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
Here $\alpha$ is a function mapping from $\mathbb { R } ^ { d _ { L } }$ to $\mathbb { R }$ , defined as confidence function. While there are other possible choices for $\alpha$ , in our method we adopt a threshold based function:
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\alpha ( f _ { i } ) = \frac { 1 } { n _ { c ^ { i } } ^ { \prime } } \mathrm { m a x } ( \mathrm { R e L U } ( f _ { i } - \beta \cdot { \bf 1 } ) ) ,
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
Here $\beta \in ( 0 , 1 )$ is a hyper-parameter as threshold, $n _ { c ^ { i } } ^ { \prime }$ denotes the number of nodes whose pseudo label belongs to class $c ^ { i }$ , $c ^ { i }$ is the class which $i$ -th node’s pseudo label belongs to, and 1 is the all 1 vector. We introduce $n _ { c ^ { i } } ^ { \prime }$ here to balance the categories of pseudo labels, because pseudo labels could be initially extremely unbalanced and lead to a poor classifier in practice.
|
| 107 |
+
|
| 108 |
+
Although $\alpha ( f _ { i } )$ depends on $f _ { i }$ , and thus a function of network’s weights, we will block the flow of gradient through $\alpha ( f _ { i } )$ for the following reasons: Firstly, confidence function is non-differentiable in most cases. Secondly, if we allow the gradient to flow through $\alpha ( f _ { i } )$ , the optimizer may tend to find a solution that satisfies $\operatorname* { m a x } ( f _ { i } ) < \beta , \mathsf { \bar { \forall } } i \in V$ , since for such a solution, $\overset { \vartriangle } { \alpha { \left( f _ { i } \right) } } = 0$ for all $i$ and the pseudo label loss is zero, which does no good to self-supervised learning. So we use the following way to compute the gradient:
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\frac { \partial L } { \partial W _ { s , t } ^ { l } } = \sum _ { i \in \mathcal { L } } \frac { \partial l ( y _ { i } , f _ { i } ) } { \partial W _ { s , t } ^ { l } } + \lambda \sum _ { i \in \mathcal { U } } \alpha ( f _ { i } ) \frac { \partial l ( \tilde { y } _ { i } , f _ { i } ) } { \partial W _ { s , t } ^ { l } }
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
# 4 RELATED WORK
|
| 115 |
+
|
| 116 |
+
Graph Convolutional Network The work of GNNs seeks generalizations of the convolution operator to graph structured data. One way to do this is to apply convolution in the spectral domain, where the eigenvectors of the graph Laplacian are considered as the Fourier basis (Bruna et al., 2014; Henaff et al., 2015; Defferrard et al., 2016; Kipf & Welling, 2017). Such spectral methods learns hidden layer representations that encode both graph structure and node features simultaneously. Kipf and Welling (Kipf & Welling, 2017) simplify previous spectral techniques by restricting the propagation to a 1-hop neighborhood in each layer. (Chen et al., 2018) propose fast GCNs, which improves the training speed of the original GCN. GAT of (Velickovic et al., 2018) allows for assigning different importances to nodes of the same neighborhood via attention mechanisms. (Xu et al., 2018) introduce JK networks, which adjust the influence radii of each node adaptively. Another direction that generalizes convolutions to graph structured data, namely non-spectral approaches, define convolutions directly in the spatial domain (Duvenaud et al., 2015; Atwood & Towsley, 2016; Monti et al., 2017). Such methods are easier to be adapted to do inductive learning (Hamilton et al., 2017; Velickovic et al., 2018; Bojchevski & Günnemann, 2018). However, few-shot learning remains a challenge for this class of methods.
|
| 117 |
+
|
| 118 |
+
Label Propagation Unlike GNNs, which propagate node representations, the classic Label Propagation (LP) method (Zhu et al., 2003) iteratively propagates (soft) labels. More specifically, in each iteration, each unlabeled node obtains a new soft label that is the aggregation of the soft labels from the previous iteration of its neighbors. The key to LP is to design an effective propagation rule; for some propagation rules, the algorithm may not converge and/or the accuracy may not improve over iterations. Thus, one often needs to specify a stopping criteria and a validation set for model selection. LP can also be used as the base algorithm in the self-training framework.
|
| 119 |
+
|
| 120 |
+
Self-training Self-training is a natural and general approach to semi-supervised learning (Scudder, 1965) and has been widely used in the NLP literature. Self-training is used by (Yarowsky, 1995; Hearst, 1991) for word sense disambiguation. (Riloff et al., 1999) used self-training in the form of bootstrapping for information extraction and later for learning subjective nouns. (Riloff et al., 2003) with (Nigam et al., 2000) using EM for text classification. Self-training has been used for object recognition (Rosenberg et al., 2005; Zhou et al., 2012). (McClosky et al., 2006; 2008; Huang & Harper, 2009; Sagae, 2010) shows how effective can self-training be in parsing. (Wang et al., 2007; Huang et al., 2009; Qi et al., 2009) introduce self-training techniques to part of speech tagging, and (Kozareva et al., 2005; Liu et al., 2013a) adopt self-training in named entity recognition. (Van Asch & Daelemans, 2016; Drury et al., 2011; Liu et al., 2013b) used self-training in sentiment classification. Recently, self-training has also been successfully applied on node classification. Li et al. (Li et al., 2018) study self-training GCNs; Buchnik and Cohen (Buchnik & Cohen, 2018) mainly consider the effect self-training for diffusion-based techniques. In pseudo-label method of (Lee, 2013), for unlabeled data, their pseudo-labels are recalculated every weights update. However, they don’t assign weight to each unlabeled data.
|
| 121 |
+
|
| 122 |
+
As for the self-training algorithm itself, (Chen et al., 2011) shows that selecting highly confident instances with a pre-defined threshold may not perform well. (McClosky et al., 2006) produce a ranked list of n-best predicted parses and selected the best one. (Rosenberg et al., 2005) shows that a training data selection metric that is defined independently of the detector greatly outperforms a selection metric based on the detection confidence generated by the detector. (Zhou et al., 2012) suggests that selecting more informative unlabelled data using a guided search algorithm can significantly improve performance over standard self-training framework. Most recently, (Levatic et al., 2017) proposed ´ proposed an algorithm to automatically select appropriate threshold.
|
| 123 |
+
|
| 124 |
+
Network Embedding Node classification is also one of the main applications of network embedding methods, which learns a lower-dimensional representation for each node in an unsupervised manner, followed by a supervised classifier layer for node classification (Perozzi et al., 2014; Tang et al., 2015; Grover & Leskovec, 2016; Wang et al., 2016; Bojchevski & Günnemann, 2018). A recent work of (Bojchevski & Günnemann, 2018) proposes Graph2Gauss. This method embeds each node as a Gaussian distribution according to a novel ranking similarity based on the shortest path distances between nodes. A distribution embedding naturally captures the uncertainty about the representation. DGI (Velickovi ˇ c et al., 2019) is an embedding method based on GCNs, the unsupervised objective of ´ which is to maximize mutual information. The work of Embedding approaches achieve competitive performance in node classification tasks, while the learned representations also prove to be extremely useful for other downstream applications.
|
| 125 |
+
|
| 126 |
+
# 5 EVALUATION
|
| 127 |
+
|
| 128 |
+
# 5.1 DATASET
|
| 129 |
+
|
| 130 |
+
We conduct the evaluation on four benchmark citation datasets: Cora, Citeseer, Pubmed (Sen et al., 2008), and Core-full (Bojchevski & Günnemann, 2018). Each of these four datasets is undirected graph with node feature. Each node is a document and the edges denote the citation relationship; the feature of a node is the bag-of-words representation of the document. The number of layers in GCN is two by default, and thus the receptive field of each labeled node is its order-2 neighborhood. We measure the fraction of nodes which is covered by the 2-hop neighbors of all labeled nodes, i.e., $| \cup _ { s \in \mathcal { S } } \mathcal { N } _ { 2 } ( s ) | / | V |$ , where $s$ is the set of labeled nodes randomly sampled from $V$ . Here we report the 2-hop coverage ratio on the four datasets when the label rates are $1 \%$ and $0 . 5 \%$ respectively. We summarize the information of datasets in Table 1.
|
| 131 |
+
|
| 132 |
+
Table 1: Summary of datasets
|
| 133 |
+
|
| 134 |
+
<table><tr><td></td><td>Cora</td><td>Citeseer</td><td>Pubmed</td><td>Cora-full</td></tr><tr><td># of Nodes</td><td>2708</td><td>3327</td><td>19717</td><td>18703</td></tr><tr><td>#of Edges</td><td>5429</td><td>4732</td><td>44338</td><td>81124</td></tr><tr><td>#of Features</td><td>1433</td><td>3703</td><td>500</td><td>8710</td></tr><tr><td># of Classes</td><td>7</td><td>6</td><td>3</td><td>67</td></tr><tr><td>Coverage(0.5%)</td><td>14.78%</td><td>6.64%</td><td>21.58%</td><td>27.19%</td></tr><tr><td>Coverage(1%)</td><td>24.78%</td><td>12.14%</td><td>34.60%</td><td>47.42%</td></tr></table>
|
| 135 |
+
|
| 136 |
+
# 5.2 EXPERIMENT SETTINGS
|
| 137 |
+
|
| 138 |
+
We evaluate models on semi-supervised node classification tasks with varying label rates. Instead of evaluating on a fixed data split as in (Kipf & Welling, 2017; Velickovic et al., 2018), we mainly consider random splits as (Li et al., 2018) does. In detail, for a given label rate, we randomly generate 100 different splits on each dataset. In each split, there is a labeled set with prespecified size for training, and in this set each class contains the same number of labeled nodes. As in (Li et al., 2018), we don’t use a validation set, and all the remaining nodes will be used for testing. For simplicity, we will refer to a task in the form of dataset-l, where $l$ is the number of labeled nodes per class. For example, Cora-1 denotes the classification task on dataset Cora with one seed per class.
|
| 139 |
+
|
| 140 |
+
# 5.3 IMPLEMENTATION DETAILS
|
| 141 |
+
|
| 142 |
+
For all the models(Perozzi et al., 2014; Tang et al., 2015; Grover & Leskovec, 2016; Wang et al., 2016; Bojchevski & Günnemann, 2018; Velickovic et al., 2018; Monti et al., 2017) except for GCN based methods, settings of hyper-parameters are the same as suggested in original papers. All GCN based methods including GCN, Self-training GCN, Co-training GCN, Intersection GCN, Union GCN, and DSGCN share the same setting of hyper-parameter following (Shchur et al., 2018): one hidden layer with 64 units, dropout rate 0.8, Adam optimizer (Kingma & Ba, 2015) with learning rate $1 0 ^ { - 2 }$ , a $L _ { 2 }$ regularization with weight $1 0 ^ { - 3 }$ . We train other GCN based methods for a fixed epochs of 200, while DSGCN is trained for 600 epochs in few-label tasks such as 1, 3, 5, 10 tasks. Because 20 or 50 labels per class implies ample supervised information, we train DSGCN for 200 epochs in these tasks. The four variants of (Li et al., 2018): Self-training GCN, Co-training GCN, Intersection GCN and Union GCN follow original self-training settings in (Li et al., 2018). For DSGCN, we use a threshold of 0.6 when the number of labels per class is below 3, and set the threshold to 0.75 for label rate above 3 but below 10. Otherwise, the threshold is 0.9 by default.
|
| 143 |
+
|
| 144 |
+
# 5.4 RESULT ANALYSIS
|
| 145 |
+
|
| 146 |
+
The numerical results are summarized in Table 2 and Table 3. The highest accuracy in each column is highlighted in bold and the top 3 are underlined. We group all models into three categories: GNN variants(GCN, GAT, MoNet), unsupervised embedding methods (DeepWalk, DGI, LINE, G2G) and GCN with self-training (Co-training, Self-training, Union and Intersection, DSGCN).
|
| 147 |
+
|
| 148 |
+
Table 2: Summary of results in terms of mean classification accuracy (in percent) over 100 random splits in different tasks. Unsupervised approaches first learn a lower-dimensional embedding for each node in an unsupervised manner, and then the embeddings are used to train a supervised classifier for node classification. Here we use logistic regression as the classifier for unsupervised embeddings.
|
| 149 |
+
|
| 150 |
+
<table><tr><td></td><td colspan="6">Citeseer</td><td colspan="6">Cora</td></tr><tr><td># of Labels</td><td>1</td><td>3</td><td>5</td><td>10</td><td>20</td><td>50</td><td>1</td><td>3</td><td>5</td><td>10</td><td>20</td><td>50</td></tr><tr><td>LP</td><td>30.1</td><td>37.0</td><td>39.3</td><td>41.9</td><td>44.8</td><td>49.5</td><td>51.5</td><td>60.5</td><td>62.5</td><td>64.2</td><td>67.3</td><td>71.7</td></tr><tr><td>DeepWalk</td><td>28.3</td><td>34.7</td><td>38.1</td><td>42.0</td><td>45.6</td><td>50.7</td><td>40.4</td><td>53.8</td><td>59.4</td><td>65.4</td><td>69.9</td><td>74.2</td></tr><tr><td>LINE</td><td>28.0</td><td>34.7</td><td>38.0</td><td>43.1</td><td>48.5</td><td>54.6</td><td>49.4</td><td>62.6</td><td>63.4</td><td>71.1</td><td>74.0</td><td>76.5</td></tr><tr><td>G2G</td><td>45.1</td><td>56.4</td><td>60.3</td><td>63.1</td><td>65.7</td><td>68.2</td><td>54.5</td><td>68.1</td><td>70.9</td><td>73.8</td><td>75.8</td><td>77.0</td></tr><tr><td>DGI</td><td>46.1</td><td>59.2</td><td>64.1</td><td>67.6</td><td>68.7</td><td>72.3</td><td>55.3</td><td>70.9</td><td>72.6</td><td>76.4</td><td>77.9</td><td>78.7</td></tr><tr><td>GCN</td><td>36.4</td><td>50.3</td><td>57.5</td><td>63.2</td><td>68.8</td><td>72.2</td><td>42.4</td><td>61.6</td><td>68.4</td><td>75.1</td><td>80.2</td><td>83.5</td></tr><tr><td>GAT</td><td>32.8</td><td>48.6</td><td>54.9</td><td>60.8</td><td>68.2</td><td>71.5</td><td>41.8</td><td>61.7</td><td>71.1</td><td>76.0</td><td>79.6</td><td>83.4</td></tr><tr><td>MoNet</td><td>38.8</td><td>52.9</td><td>59.7</td><td>64.6</td><td>66.9</td><td>69.9</td><td>43.4</td><td>61.2</td><td>70.9</td><td>76.1</td><td>79.3</td><td>83.9</td></tr><tr><td>Co-training</td><td>36.7</td><td>49.0</td><td>55.0</td><td>60.7</td><td>65.9</td><td>70.0</td><td>53.1</td><td>65.7</td><td>70.2</td><td>73.8</td><td>78.7</td><td>82.5</td></tr><tr><td>Self-training</td><td>34.6</td><td>50.0</td><td>58.7</td><td>67.4</td><td>69.1</td><td>71.3</td><td>40.6</td><td>63.9</td><td>71.1</td><td>75.5</td><td>79.1</td><td>81.6</td></tr><tr><td>Union</td><td>37.2</td><td>50.8</td><td>55.9</td><td>64.4</td><td>67.5</td><td>70.6</td><td>50.1</td><td>67.3</td><td>72.5</td><td>76.2</td><td>79.8</td><td>82.4</td></tr><tr><td>Intersection</td><td>35.3</td><td>51.8</td><td>60.7</td><td>67.1</td><td>70.2</td><td>72.2</td><td>43.1</td><td>64.4</td><td>69.5</td><td>73.1</td><td>78.4</td><td>82.0</td></tr><tr><td>DSGCN</td><td>53.2</td><td>63.9</td><td>65.8</td><td>67.6</td><td>70.5</td><td>72.4</td><td>62.5</td><td>72.3</td><td>75.5</td><td>77.7</td><td>80.8</td><td>83.8</td></tr></table>
|
| 151 |
+
|
| 152 |
+
Table 3: Summary of results in terms of mean classification accuracy(in percent) over 100 random splits in different tasks. GNN variants are excluded due to limited computation resources.
|
| 153 |
+
|
| 154 |
+
<table><tr><td></td><td colspan="6">Pubmed</td><td colspan="6">Cora-full</td></tr><tr><td># of Labels</td><td>1</td><td>3</td><td>5</td><td>10</td><td>20</td><td>50</td><td>1</td><td>3</td><td>5</td><td>10</td><td>20</td><td>50</td></tr><tr><td>LP</td><td>55.7 41.3</td><td>61.9 54.9</td><td>63.5 63.6</td><td>65.2 71.2</td><td>66.4 77.8</td><td>67.5 81.0</td><td>26.3 26.4</td><td>32.4 42.8</td><td>35.1 49.3</td><td>38.0 54.4</td><td>41.0 61.2</td><td>46.0 65.4</td></tr><tr><td>GCN</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td> Co-training</td><td>55.1</td><td>64.7 62.7</td><td>69.0 67.2</td><td>73.5</td><td>77.9</td><td>80.5</td><td>28.3</td><td>38.1</td><td>42.8</td><td>48.5</td><td>53.8</td><td>62.2</td></tr><tr><td>Self-training</td><td>49.7</td><td>65.4</td><td>69.7</td><td>70.6 74.0</td><td>76.5 78.5</td><td>79.3 80.9</td><td>28.7 29.2</td><td>43.6 43.3</td><td>48.9 48.4</td><td>53.4 52.9</td><td>60.8 59.2</td><td>64.4 62.2</td></tr><tr><td>Union Intersection</td><td>55.1 52.7</td><td>63.4</td><td>67.8</td><td>70.6</td><td>75.9</td><td>79.0</td><td>26.8</td><td>37.7</td><td>44.4</td><td>51.5</td><td>58.4</td><td>62.1</td></tr><tr><td>DSGCN</td><td>55.8</td><td>67.1</td><td>70.2</td><td>74.7</td><td>77.8</td><td>81.0</td><td>30.9</td><td>45.6</td><td>51.3</td><td>57.5</td><td>61.4</td><td>64.8</td></tr></table>
|
| 155 |
+
|
| 156 |
+
Comparison Between GNN Variants and Embedding Methods As unsupervised methods, G2G and DGI outperform all GNN variants in very few labels cases, e.g., 1 and 3 per class on both Cora and Citeseer. Observing that LP performs well in Cora-1 while other feature propagation methods not, we can naturally conclude that in dataset with graph structure, concentrating more on the unsupervised information (both strong manifold structure(Li et al., 2018) and feature patterns) will improve semi-supervised model compared to just utilizing supervised information, in the case of low label rate. When label rate goes higher, all GNN variants enjoy better accuracies compared to unsupervised models. Hence we empirically verify the strong generalization ability of GNNs when the supervised information is sufficient. Sun et al. (Sun et al., 2019) has demonstrated the limitation of GCN in few labels case, and here we find that these convolution based methods suffer from inefficient propagation of label information as well, which can be seen as the intrinsic drawbacks of semi-supervised graph convolution based methods.
|
| 157 |
+
|
| 158 |
+
Comparison Between Self-training GCNs and All Other Models In all few-label tasks, selftraining strategies improve over GCN by a remarkable margin. Except for tasks with 50 labels per class, the best accuracy is always obtained by self-training GCN. Even in extreme one-label case, where unsupervised information is more vital, DSGCN outperforms G2G by a margin of $6 . 2 \%$ in Cora and $9 . 2 \%$ in Citeseer. We conclude that self-training strategy is capable of utilizing unsupervised information more effectively. Thus it significantly helps classification. Additionally, four naive selftraining GCNs implemented in (Li et al., 2018) are worse than GCN when label rate goes higher, e.g., Cora-50 and Cora-full-5, which manifests that inappropriate self-training strategies will sometimes degrade the performance of the base model. Hence there is a trade-off: capturing unsupervised signals, or learning supervised information well. However, DSGCN holds a good balance here. It doesn’t show much decrease compared to GCN even in the worst case task, Cora-full-50, where the accuracy only decreases by $0 . 6 \%$ ; in all other cases it is always better than GCN. This demonstrates that the dynamic self-training framework not only helps the original model to capture unsupervised information, but also retains the learning ability when there are enough labels.
|
| 159 |
+
|
| 160 |
+

|
| 161 |
+
Figure 1: Test accuracies in training process. Models with different threshold are denoted with different colors, which can be distinguished in legend. Specifically, threshold 1 represents that the model is equal to original GCN.
|
| 162 |
+
|
| 163 |
+
Comparison of Self-training GCNs By applying a simpler and more general self-training strategy, DSGCN outperforms other self-training based GCNs with considerable margins in most cases. In Citeseer-1, the margin even reaches $1 4 . \bar { 1 \% }$ compared with the best strategy among Co-training, Selftraining, Union and Intersection. This empirically supports the advantage of DSGCN for tackling a wide range of classification tasks over conventional self-training methods.
|
| 164 |
+
|
| 165 |
+
Effect of Threshold Here we discuss how the important hyper-parameter $\beta$ influence the performance of DSGCN. We train DSGCN with different threshold: 0.45, 0.6, 0.75, 0.9, 1.0 for 1000 epochs on dataset Cora and Citeseer for the same split with the same initialized weights. We conduct these experiments on tasks with different seed numbers, the results are presented in figure 1. As shown in figure 1, when labels are very few, DSGCN with a relatively lower threshold $\beta$ demonstrate a clear improvement in accuracy over the original GCN. Besides, GCN’s accuracy curve erratically fluctuates while the curve of DSGCN with a low threshold does not. Thus, we observe that the stability of the base model is also improved by wrapping it into the dynamic self-training framework. When more labels are provided, all models tend to be stable and a low threshold could harm the training process.
|
| 166 |
+
|
| 167 |
+
# 6 CONCLUSION
|
| 168 |
+
|
| 169 |
+
In this paper, we firstly introduce a novel self-training framework. This framework generalizes and simplifies prior work, providing customizable modules as extension for multi-stage self-training. Then we instantiate this framework based on GCN and empirically compare this model with a number of methods on different dataset splits. Result of experiments suggests that when labels are few, the proposed DSGCN not only outperform all previous models with noticeable margins in accuracy but also enjoy better stability in the training process. Overall, the Dynamic Self-training Framework is powerful for few-label tasks on graph data, and provides a novel perspective on self-training techniques.
|
| 170 |
+
|
| 171 |
+
# REFERENCES
|
| 172 |
+
|
| 173 |
+
James Atwood and Don Towsley. Diffusion-convolutional neural networks. In Advances in Neural Information Processing Systems, pp. 1993–2001, 2016.
|
| 174 |
+
|
| 175 |
+
Aleksandar Bojchevski and Stephan Günnemann. Deep gaussian embedding of graphs: Unsupervised inductive learning via ranking. International Conference on Learning Representations, 2018.
|
| 176 |
+
|
| 177 |
+
Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. International Conference on Learning Representations, 2014.
|
| 178 |
+
|
| 179 |
+
Eliav Buchnik and Edith Cohen. Bootstrapped graph diffusions: Exposing the power of nonlinearity. In Abstracts of the 2018 ACM International Conference on Measurement and Modeling of Computer Systems, pp. 8–10. ACM, 2018.
|
| 180 |
+
|
| 181 |
+
Jie Chen, Tengfei Ma, and Cao Xiao. Fastgcn: fast learning with graph convolutional networks via importance sampling. International Conference on Learning Representations, 2018.
|
| 182 |
+
|
| 183 |
+
Minmin Chen, Kilian Q Weinberger, and John Blitzer. Co-training for domain adaptation. In Advances in neural information processing systems, pp. 2456–2464, 2011.
|
| 184 |
+
|
| 185 |
+
Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pp. 3844–3852, 2016.
|
| 186 |
+
|
| 187 |
+
Brett Drury, Luis Torgo, and Jose Joao Almeida. Guided self training for sentiment classification. In Proceedings of Workshop on Robust Unsupervised and Semisupervised Methods in Natural Language Processing, pp. 9–16, 2011.
|
| 188 |
+
|
| 189 |
+
David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in neural information processing systems, pp. 2224–2232, 2015.
|
| 190 |
+
|
| 191 |
+
Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 855–864. ACM, 2016.
|
| 192 |
+
|
| 193 |
+
Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, pp. 1024–1034, 2017.
|
| 194 |
+
|
| 195 |
+
Marti Hearst. Noun homograph disambiguation using local context in large text corpora. Using Corpora, pp. 185–188, 1991.
|
| 196 |
+
|
| 197 |
+
Mikael Henaff, Joan Bruna, and Yann LeCun. Deep convolutional networks on graph-structured data. arXiv preprint arXiv:1506.05163, 2015.
|
| 198 |
+
|
| 199 |
+
Zhongqiang Huang and Mary Harper. Self-training pcfg grammars with latent annotations across languages. In Proceedings of the 2009 conference on empirical methods in natural language processing: Volume 2-Volume 2, pp. 832–841. Association for Computational Linguistics, 2009.
|
| 200 |
+
|
| 201 |
+
Zhongqiang Huang, Vladimir Eidelman, and Mary Harper. Improving a simple bigram hmm partof-speech tagger by latent annotation and self-training. In Proceedings of Human Language Technologies: The 2009 Annual Conference of the North American Chapter of the Association for Computational Linguistics, Companion Volume: Short Papers, pp. 213–216. Association for Computational Linguistics, 2009.
|
| 202 |
+
|
| 203 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. International Conference on Learning Representations, 2015.
|
| 204 |
+
|
| 205 |
+
Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. International Conference on Learning Representations, 2017.
|
| 206 |
+
|
| 207 |
+
Zornitsa Kozareva, Boyan Bonev, and Andres Montoyo. Self-training and co-training applied to spanish named entity recognition. In Mexican International conference on Artificial Intelligence, pp. 770–779. Springer, 2005.
|
| 208 |
+
|
| 209 |
+
Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on Challenges in Representation Learning, ICML, volume 3, pp. 2, 2013.
|
| 210 |
+
|
| 211 |
+
Jurica Levatic, Michelangelo Ceci, Dragi Kocev, and Sašo Džeroski. Self-training for multi-target ´ regression with tree ensembles. Knowledge-Based Systems, 123:41–60, 2017.
|
| 212 |
+
|
| 213 |
+
Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
|
| 214 |
+
|
| 215 |
+
Qian Liu, Bingyang Liu, Dayong Wu, Yue Liu, and Xueqi Cheng. A self-learning template approach for recognizing named entities from web text. In Proceedings of the Sixth International Joint Conference on Natural Language Processing, pp. 1139–1143, 2013a.
|
| 216 |
+
|
| 217 |
+
Zhiguang Liu, Xishuang Dong, Yi Guan, and Jinfeng Yang. Reserved self-training: A semi-supervised sentiment classification method for chinese microblogs. In Proceedings of the Sixth International Joint Conference on Natural Language Processing, pp. 455–462, 2013b.
|
| 218 |
+
|
| 219 |
+
David McClosky, Eugene Charniak, and Mark Johnson. Effective self-training for parsing. In Proceedings of the main conference on human language technology conference of the North American Chapter of the Association of Computational Linguistics, pp. 152–159. Association for Computational Linguistics, 2006.
|
| 220 |
+
|
| 221 |
+
David McClosky, Eugene Charniak, and Mark Johnson. When is self-training effective for parsing? In Proceedings of the 22nd International Conference on Computational Linguistics-Volume 1, pp. 561–568. Association for Computational Linguistics, 2008.
|
| 222 |
+
|
| 223 |
+
Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodola, Jan Svoboda, and Michael M Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. In Proc. CVPR, volume 1, pp. 3, 2017.
|
| 224 |
+
|
| 225 |
+
Kamal Nigam, Andrew Kachites McCallum, Sebastian Thrun, and Tom Mitchell. Text classification from labeled and unlabeled documents using em. Machine learning, 39(2-3):103–134, 2000.
|
| 226 |
+
|
| 227 |
+
Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 701–710. ACM, 2014.
|
| 228 |
+
|
| 229 |
+
Yanjun Qi, Pavel Kuksa, Ronan Collobert, Kunihiko Sadamasa, Koray Kavukcuoglu, and Jason Weston. Semi-supervised sequence labeling with self-learned features. In 2009 Ninth IEEE International Conference on Data Mining, pp. 428–437. IEEE, 2009.
|
| 230 |
+
|
| 231 |
+
Ellen Riloff, Rosie Jones, et al. Learning dictionaries for information extraction by multi-level bootstrapping. In AAAI/IAAI, pp. 474–479, 1999.
|
| 232 |
+
|
| 233 |
+
Ellen Riloff, Janyce Wiebe, and Theresa Wilson. Learning subjective nouns using extraction pattern bootstrapping. In Proceedings of the seventh conference on Natural language learning at HLTNAACL 2003-Volume 4, pp. 25–32. Association for Computational Linguistics, 2003.
|
| 234 |
+
|
| 235 |
+
Chuck Rosenberg, Martial Hebert, and Henry Schneiderman. Semi-supervised self-training of object detection models. WACV/MOTION, 2, 2005.
|
| 236 |
+
|
| 237 |
+
Kenji Sagae. Self-training without reranking for parser domain adaptation and its impact on semantic role labeling. In Proceedings of the 2010 Workshop on Domain Adaptation for Natural Language Processing, pp. 37–44. Association for Computational Linguistics, 2010.
|
| 238 |
+
|
| 239 |
+
H Scudder. Probability of error of some adaptive pattern-recognition machines. IEEE Transactions on Information Theory, 11(3):363–371, 1965.
|
| 240 |
+
|
| 241 |
+
Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI magazine, 29(3):93–93, 2008.
|
| 242 |
+
|
| 243 |
+
Oleksandr Shchur, Maximilian Mumme, Aleksandar Bojchevski, and Stephan Günnemann. Pitfalls of graph neural network evaluation. CoRR, abs/1811.05868, 2018. URL http://arxiv.org/ abs/1811.05868.
|
| 244 |
+
|
| 245 |
+
Ke Sun, Zhanxing Zhu, and Zhouchen Lin. Multi-stage self-supervised learning for graph convolutional networks. arXiv preprint arXiv:1902.11038, 2019.
|
| 246 |
+
|
| 247 |
+
Jian Tang, Meng Qu, Mingzhe Wang, Ming Zhang, Jun Yan, and Qiaozhu Mei. Line: Large-scale information network embedding. In Proceedings of the 24th International Conference on World Wide Web, pp. 1067–1077, 2015.
|
| 248 |
+
|
| 249 |
+
Vincent Van Asch and Walter Daelemans. Predicting the effectiveness of self-training: Application to sentiment classification. arXiv preprint arXiv:1601.03288, 2016.
|
| 250 |
+
|
| 251 |
+
Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. International Conference on Learning Representations, 2018.
|
| 252 |
+
|
| 253 |
+
Petar Velickovi ˇ c, William Fedus, William L Hamilton, Pietro Liò, Yoshua Bengio, and R Devon ´ Hjelm. Deep graph infomax. International Conference on Learning Representations, 2019.
|
| 254 |
+
|
| 255 |
+
Daixin Wang, Peng Cui, and Wenwu Zhu. Structural deep network embedding. In Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 1225–1234. ACM, 2016.
|
| 256 |
+
|
| 257 |
+
Wen Wang, Zhongqiang Huang, and Mary Harper. Semi-supervised learning for part-of-speech tagging of mandarin transcribed speech. In 2007 IEEE International Conference on Acoustics, Speech and Signal Processing-ICASSP’07, volume 4, pp. IV–137. IEEE, 2007.
|
| 258 |
+
|
| 259 |
+
Felix Wu, Amauri Souza, Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Weinberger. Simplifying graph convolutional networks. In International Conference on Machine Learning, pp. 6861–6871, 2019.
|
| 260 |
+
|
| 261 |
+
Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. International Conference on Machine Learning, 2018.
|
| 262 |
+
|
| 263 |
+
David Yarowsky. Unsupervised word sense disambiguation rivaling supervised methods. In 33rd annual meeting of the association for computational linguistics, 1995.
|
| 264 |
+
|
| 265 |
+
Yan Zhou, Murat Kantarcioglu, and Bhavani Thuraisingham. Self-training with selection-by-rejection. In 2012 IEEE 12th international conference on data mining, pp. 795–803. IEEE, 2012.
|
| 266 |
+
|
| 267 |
+
Xiaojin Zhu, Zoubin Ghahramani, and John D Lafferty. Semi-supervised learning using gaussian fields and harmonic functions. In Proceedings of the 20th International conference on Machine learning, pp. 912–919, 2003.
|
| 268 |
+
|
| 269 |
+
# A APPENDIX: ADDITIONAL EXPERIMENTS
|
| 270 |
+
|
| 271 |
+
We also test our self-training methods on other GNNs as well, e.g., SGC(Wu et al., 2019), GAT (Velickovic et al., 2018), and GraphSage (Hamilton et al., 2017). For the three GNN models, settings of hyper-parameters are the same as suggested in original papers. And our dynamic self-training framework share the same setting of hyper-parameter: one hidden layer with 32 units, dropout rate 0.7, Adam optimizer (Kingma & Ba, 2015), a $L _ { 2 }$ regularization with weight $5 ^ { - 4 }$ and set the threshold to 0.9. Clearly, our dynamic self-training framework achieves similar improvements on all the three base models. The numerical results are summarized in Table 4. We can see equipped with our DS framework, these models enjoys noticeable increase in performance.
|
| 272 |
+
|
| 273 |
+
Table 4: Summary of results in terms of mean classification accuracy (in percent) over 50 random splits in different tasks(the results of GAT experiments are from Table 2).
|
| 274 |
+
|
| 275 |
+
<table><tr><td></td><td colspan="4">Citeseer</td><td colspan="4">Cora</td></tr><tr><td># ofLabels</td><td>5</td><td>10</td><td>20</td><td>50</td><td>5</td><td>10</td><td>20</td><td>50</td></tr><tr><td>SGC</td><td>55.5</td><td>63.7</td><td>69.0</td><td>72.6</td><td>63.5</td><td>72.5</td><td>75.9</td><td>78.9</td></tr><tr><td>DS-SGC</td><td>59.6</td><td>65.0</td><td>69.7</td><td>73.4</td><td>65.0</td><td>73.4</td><td>76.2</td><td>78.9</td></tr><tr><td>GAT DS-GAT</td><td>54.9</td><td>60.8</td><td>68.2</td><td>71.5</td><td>71.1</td><td>76.0</td><td>79.6</td><td>83.4</td></tr><tr><td></td><td>58.3</td><td>67.0</td><td>70.8</td><td>73.4</td><td>71.9</td><td>77.1</td><td>81.0</td><td>83.6</td></tr><tr><td>GraphSAGE</td><td>59.7</td><td>65.4</td><td>68.8</td><td>72.1</td><td>69.3</td><td>75.3</td><td>79.2</td><td>82.5</td></tr><tr><td>DS-GraphSAGE</td><td>60.6</td><td>66.3</td><td>69.5</td><td>72.6</td><td>72.5</td><td>78.4</td><td>81.0</td><td>84.0</td></tr></table>
|
| 276 |
+
|
| 277 |
+
To evaluate the computation overhead introduced by dynamic self-training framework, we test the total training time for various models. Intuitively the computational cost will only slightly increase. The reason is that the computational cost of the original GCN model is dominated by previous layers, where the entire graph is included. So even if all nodes become pseudo labels, the size of the entire network is increased by at most a factor of 2, and the number of parameters remains the same. Therefore, the computational costs will increase by at most a small constant in theory. We have also verified this empirically. We record the training time of base models before and after applying our framework. In the experiments, the training size is 20 per class, the number of epoch is 200, and the time is the average time (in seconds) of 25 runs. The numerical results can be seen in Tabel 5.
|
| 278 |
+
|
| 279 |
+
Table 5: Total training time for various models in seconds(s), implemented on PyG.
|
| 280 |
+
|
| 281 |
+
<table><tr><td></td><td>Citeseer</td><td>Cora</td></tr><tr><td>GCN</td><td>3.0</td><td>2.6</td></tr><tr><td>DSGCN</td><td>9.7</td><td>6.3</td></tr><tr><td>SGC</td><td>1.4</td><td>1.3</td></tr><tr><td>DS-SGC</td><td>7.1</td><td>7.4</td></tr><tr><td>GAT</td><td>5.2</td><td>4.7</td></tr><tr><td>DS-GAT</td><td>11.9</td><td>8.7</td></tr><tr><td>GraphSAGE</td><td>1.9</td><td>2.1</td></tr><tr><td>DS-GraphSAGE</td><td>8.7</td><td>8.5</td></tr></table>
|
parse/train/SJgCEpVtvr/SJgCEpVtvr_content_list.json
ADDED
|
@@ -0,0 +1,1456 @@
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "DYNAMIC SELF-TRAINING FRAMEWORK FOR GRAPH CONVOLUTIONAL NETWORKS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Graph neural networks (GNN) such as GCN, GAT, MoNet have achieved stateof-the-art results on semi-supervised learning on graphs. However, when the number of labeled nodes is very small, the performances of GNNs downgrade dramatically. Self-training has proved to be effective for resolving this issue, however, the performance of self-trained GCN is still inferior to that of G2G and DGI for many settings. Moreover, additional model complexity make it more difficult to tune the hyper-parameters and do model selection. We argue that the power of self-training is still not fully explored for the node classification task. In this paper, we propose a unified end-to-end self-training framework called Dynamic Self-traning, which generalizes and simplifies prior work. A simple instantiation of the framework based on GCN is provided and empirical results show that our framework outperforms all previous methods including GNNs, embedding based method and self-trained GCNs by a noticeable margin. Moreover, compared with standard self-training, hyper-parameter tuning for our framework is easier. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
266,
|
| 43 |
+
766,
|
| 44 |
+
460
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
488,
|
| 55 |
+
336,
|
| 56 |
+
505
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Graphs or networks can be used to model any interactions between entities such as social interactions (Facebook, Twitter), biological networks (protein-protein interaction), and citation networks. There has been an increasing research interest in deep learning on graph structured data, e.g., (Bruna et al., 2014; Defferrard et al., 2016; Monti et al., 2017; Kipf & Welling, 2017; Hamilton et al., 2017; Velickovic et al., 2018; Tang et al., 2015; Perozzi et al., 2014). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
520,
|
| 66 |
+
825,
|
| 67 |
+
590
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Semi-supervised node classification on graphs is a fundamental learning task with many applications. Classic methods rely on some underly diffusion process to propagate label information. Recently, network embedding approaches have demonstrate outstanding performance on node classification (Tang et al., 2015; Grover & Leskovec, 2016; Bojchevski & Günnemann, 2018). This approach first learns a lower-dimensional embedding for each node in an unsupervised manner, and then the embeddings are used to train a supervised classifier for node classification, e.g., logistic regression or multi-layer perceptron (MLP). Graph neural networks (GNN) are semi-supervised models and have achieved state-of-the-art performance on many benchmark data sets (Monti et al., 2017; Kipf & Welling, 2017; Velickovic et al., 2018). GNNs generalize convolution to graph structured data and typically have a clear advantage when the number of training examples is reasonably large. However, when there are very few labeled nodes, GNNs is outperformed by embedding based method (as shown by our experimental results), e.g., G2G from (Bojchevski & Günnemann, 2018) and DGI from (Velickovi ˇ c et al., 2019). ´ ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
597,
|
| 77 |
+
825,
|
| 78 |
+
777
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "To overcome this limitation of GCNs (Kipf & Welling, 2017), Li et al. (Li et al., 2018) propose to apply self-training and co-training techniques (Scudder, 1965). The idea of these techniques is to augment the original training set by adding in some unlabeled examples together with their label predictions. Such “pseudo-label” information is either from the base model trained on the original training set (self-training) or another learning algorithm (co-training). The results from (Li et al., 2018) demonstrate the effectiveness of co-training and self-training. However, among the four variants implemented in (Li et al., 2018), there is not a single one that achieves the best performance across different settings; and from our experiments, G2G and DGI outperforms all the four variants when the number of labels from each class is less than 10. There are clear restrictions in prior self-training approaches. First, the pseudo-label set is incremental only, i.e., after an unlabeled example is added to the training set, it will never be deleted and its pseudo-label will never change even if its prediction and/or the corresponding margin has changed drastically. Secondly, all the pseudo-labels are considered equal, although they may have very different classification margins. Furthermore, it introduces extra hyper-parameters such as the number of unlabeled nodes to be added into the training set and the total number of self-training iterations. The performance gain is sensitive to such parameters and their optimal values may differ for different data sets and label rates (Buchnik & Cohen, 2018). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
784,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
200
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "To fully understand and explore the power of self-training on the node classification task, we propose a novel self-training framework, named Dynamic Self-training, which is general, flexible, and easy to use. We provide a simple instantiation of the framework based on GCN (Kipf & Welling, 2017) and empirically show that it outperforms state-of-art methods including GNNs, self-trained GCN (Li et al., 2018), and embedding based methods. Our framework has the following distinguishing features compared with (Li et al., 2018; Buchnik & Cohen, 2018). ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
208,
|
| 110 |
+
825,
|
| 111 |
+
291
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "1. We augment the training set and recalculate the pseudo-labels after each epoch. So the number self-training iterations is the same as the number of epochs and the pseudo-label assigned to an unlabeled example may change during the training process. \n2. In stead of inserting a fixed number of new pseudo-labels with highest margin in each iteration, we use a threshold-based rule, i.e., insert an unlabeled node if and only if its classification margin is above the threshold. \n3. The pseudo-label set is dynamic. When the margin of an unlabeled node is above the threshold, we activate it by adding it to the loss function, but if the margin of this node becomes lower than the threshold in a later epoch, we will deactivate it. \n4. We assign a (dynamic) personalized weight to each active pseudo-label proportional to its current classification margin. The total pseudo-label loss is thus the weighted sum of losses corresponds to all pseudo-labels. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
210,
|
| 120 |
+
303,
|
| 121 |
+
825,
|
| 122 |
+
482
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 PRELIMINARIES ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
501,
|
| 133 |
+
339,
|
| 134 |
+
517
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "2.1 GRAPH NOTATION AND PROBLEM DEFINITION ",
|
| 141 |
+
"text_level": 1,
|
| 142 |
+
"bbox": [
|
| 143 |
+
174,
|
| 144 |
+
532,
|
| 145 |
+
537,
|
| 146 |
+
546
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "In the problem, we are given an undirected graph with node attributes $G = ( V , E , X )$ , where $V$ is the vertex set, $E$ is the edge set. Here, $X$ is the feature matrix, the $i$ -th row of which, denoted as $x _ { i }$ , is the feature vector of node $i$ . We assume each node belongs to exactly one class and use $y _ { i }$ to denote the class label of the $i$ -th node. The aim is to design learning algorithms to predict the labels of all nodes based on the labels of a small set of training nodes provided in the beginning. We use $\\mathcal { N } _ { k } ( i )$ to denote the set of nodes whose distance to node $i$ is at most $k$ . $\\mathcal { L } \\subset V$ is the set of labeled nodes and $\\mathcal { U } = V \\setminus \\mathcal { L }$ is the set of unlabeled nodes. ",
|
| 153 |
+
"bbox": [
|
| 154 |
+
173,
|
| 155 |
+
558,
|
| 156 |
+
825,
|
| 157 |
+
656
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "2.2 GRAPH CONVOLUTIONAL NETWORKS ",
|
| 164 |
+
"text_level": 1,
|
| 165 |
+
"bbox": [
|
| 166 |
+
176,
|
| 167 |
+
671,
|
| 168 |
+
478,
|
| 169 |
+
686
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "text",
|
| 175 |
+
"text": "GCN introduced in (Kipf & Welling, 2017) is a graph neural network model for semi-supervised classification. GCN learns the representations of each node by iteratively aggregating the embeddings of its neighbors. Specifically, GCN consists of $L > 0$ layers each with the same propagation rule defined as follows. In the $l$ -th layer, the hidden representations $H ^ { ( l - 1 ) }$ are averaged among one-hop neighbors as: ",
|
| 176 |
+
"bbox": [
|
| 177 |
+
173,
|
| 178 |
+
696,
|
| 179 |
+
825,
|
| 180 |
+
768
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 1
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "equation",
|
| 186 |
+
"img_path": "images/2469868874f0d471ec5180aa513fb2d69247ee43db578310c363323cd634bd5c.jpg",
|
| 187 |
+
"text": "$$\nH ^ { ( l ) } = \\sigma ( \\tilde { D } ^ { - \\frac { 1 } { 2 } } \\tilde { A } \\tilde { D } ^ { - \\frac { 1 } { 2 } } H ^ { ( l - 1 ) } W ^ { ( l ) } ) .\n$$",
|
| 188 |
+
"text_format": "latex",
|
| 189 |
+
"bbox": [
|
| 190 |
+
377,
|
| 191 |
+
767,
|
| 192 |
+
620,
|
| 193 |
+
787
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Here, ${ \\tilde { A } } = A + I _ { n }$ is the adjacency matrix of $G$ after adding self-loops ( $I _ { n }$ is the identity matrix), $\\tilde { D }$ is a diagonal matrix with $\\tilde { D _ { i i } } = \\dot { \\sum _ { j } { A _ { i j } } }$ , $W ^ { ( l ) }$ is a trainable weight matrix of the $l$ -th layer, and $\\sigma$ is a nonlinear activation function; $\\dot { H ^ { ( l ) } } \\in \\mathbb { R } ^ { n \\times d _ { l } }$ denotes hidden feature matrix of the $l$ -th layer and $H ^ { ( 0 ) } = X$ and $f _ { i } = H _ { i } ^ { ( L ) }$ represents the output of $i$ -th node. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
173,
|
| 202 |
+
790,
|
| 203 |
+
825,
|
| 204 |
+
856
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "We use $l ( y _ { i } , f _ { i } )$ to denote the classification loss of node $i$ , which is typically the cross entropy function. Thus, loss function used by GCN is of the form: ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
173,
|
| 213 |
+
862,
|
| 214 |
+
823,
|
| 215 |
+
891
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "equation",
|
| 221 |
+
"img_path": "images/793de7af6e9c526347c3f4a31847b4b79110deb548ce854e410b461a8bd97201.jpg",
|
| 222 |
+
"text": "$$\nL = \\sum _ { i \\in \\mathcal { L } } l ( y _ { i } , f _ { i } )\n$$",
|
| 223 |
+
"text_format": "latex",
|
| 224 |
+
"bbox": [
|
| 225 |
+
441,
|
| 226 |
+
893,
|
| 227 |
+
555,
|
| 228 |
+
928
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 1
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "For a $k$ -layer GCN, the receptive field of each training example is its order- $k$ neighborhood. When there are only few training samples, we need to increase the number of layers in order to cover most of the unlabeled nodes. However, deeper GCN will cause the problem of over-smoothing, i.e., critical features of the vertices may be smoothed through the iterative averaging process, which makes nodes from different class indistinguishable (Xu et al., 2018; Li et al., 2018). ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
174,
|
| 237 |
+
103,
|
| 238 |
+
825,
|
| 239 |
+
174
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "2.3 SELF TRAINING ",
|
| 246 |
+
"text_level": 1,
|
| 247 |
+
"bbox": [
|
| 248 |
+
174,
|
| 249 |
+
190,
|
| 250 |
+
326,
|
| 251 |
+
204
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "Recently (Li et al., 2018) apply self-training to overcome these limitations of GCNs. Self-training is a natural and general approach to semi-supervised learning, which is particularly well-motivated in the context of node classification (Buchnik & Cohen, 2018; Li et al., 2018). Assume we have a base model/algorithm for the learning problem, which takes as input a set of labeled examples and makes predictions for other examples. Typically, for each unlabeled node, the base algorithm will also return an associated margin or confidence score. The self-training framework trains and applies the base model in rounds, where at the end of each round, the highest-confidence predictions are converted to become new labeled examples in the next round of training and prediction. Thus, the receptive fields of all the labeled nodes increases and will eventually cover the entire graph, which resolve the issue of GCNs without adding more layers. ",
|
| 258 |
+
"bbox": [
|
| 259 |
+
173,
|
| 260 |
+
215,
|
| 261 |
+
825,
|
| 262 |
+
354
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 2
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "text",
|
| 268 |
+
"text": "3 OUR METHOD ",
|
| 269 |
+
"text_level": 1,
|
| 270 |
+
"bbox": [
|
| 271 |
+
174,
|
| 272 |
+
375,
|
| 273 |
+
325,
|
| 274 |
+
391
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 2
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "3.1 A GENERALIZED SELF-TRAINING FRAMEWORK ",
|
| 281 |
+
"text_level": 1,
|
| 282 |
+
"bbox": [
|
| 283 |
+
173,
|
| 284 |
+
406,
|
| 285 |
+
545,
|
| 286 |
+
420
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 2
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "Algorithm 1: Dynamic Self-training Framework ",
|
| 293 |
+
"text_level": 1,
|
| 294 |
+
"bbox": [
|
| 295 |
+
176,
|
| 296 |
+
440,
|
| 297 |
+
493,
|
| 298 |
+
455
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "1 Generate initial parameter $\\theta ^ { 0 }$ for model $f ( \\cdot , \\cdot )$ , and the initial confidence score vector $S _ { V }$ . \n2 for each epoch $t = 1 , 2 , . . . , T$ do \n3 Compute prediction $f _ { V } \\gets f ( G , \\theta ^ { t - 1 } )$ \n4 Update confidence score $S _ { V } { \\mathcal { U C } } ( f _ { V } )$ . \n5 Update model parameter by confidence score. $\\theta ^ { t } \\gets \\mathcal { U P } ( f _ { V } , S _ { V } , f )$ \n6 if stopping criteria is met then \n7 Break \n8 end \n9 end ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
160,
|
| 307 |
+
459,
|
| 308 |
+
767,
|
| 309 |
+
593
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 2
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "Sun et al. (Sun et al., 2019) proposed Multi-stage Training Framework as generalization for selftraining method in (Li et al., 2018). Inspired by this, we propose a more generalized end-to-end self-training framework named Dynamic Self-training Framework shown in algorithm 1. Instead of operating on data split, we maintain a confidence score in each iteration. There is no specified training stages here, but we update the confidence value for each unlabeled node after every epoch. ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
174,
|
| 318 |
+
613,
|
| 319 |
+
825,
|
| 320 |
+
683
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 2
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "Consider the original model $f ( \\cdot , \\cdot )$ as a forward predicting function with backward trainable parameters. The graph data $G$ and the trainable parameters $\\theta ^ { t }$ is the input of this function, and the output of this model is collected into $f _ { V } \\in \\mathbb { R } ^ { n \\times C }$ , where $f _ { v }$ denotes the output vector (before assigned with label) of node $v \\in V$ , and $C = d _ { L }$ is the number of classes. Then we construct the confidence score vector $S _ { V } \\in \\mathbb { R } ^ { n }$ from the model output $f _ { v }$ using a function $\\mathcal { U } \\mathcal { C }$ , which can be instantiated in many forms. For example, Algorithm 2 illustrates how standard multi-stage self-training GCN implement this part. Finally we update the model parameters using a specified algorithm such as gradient descent, where the confidence score vector plays a role. The confidence score participates in the parameter updating process in an end-to-end manner. An example of this part can be seen in section 3.3. ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
173,
|
| 329 |
+
689,
|
| 330 |
+
825,
|
| 331 |
+
829
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 2
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "3.2 PSEUDO LABEL METHOD ",
|
| 338 |
+
"text_level": 1,
|
| 339 |
+
"bbox": [
|
| 340 |
+
176,
|
| 341 |
+
845,
|
| 342 |
+
393,
|
| 343 |
+
859
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "Define the pseudo label $\\tilde { y } _ { i } \\in \\mathbb { R } ^ { d _ { L } }$ of $i$ -th node which satisfies : ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
173,
|
| 352 |
+
871,
|
| 353 |
+
584,
|
| 354 |
+
887
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "equation",
|
| 360 |
+
"img_path": "images/5692247967a662c336926481c69f313cb61e88f5a3aad85a2a20bccd4a7ce465.jpg",
|
| 361 |
+
"text": "$$\n\\tilde { y } _ { i j } = \\left\\{ \\begin{array} { l l } { 1 } & { \\mathrm { i f ~ } j = \\arg \\operatorname* { m a x } _ { j ^ { \\prime } } f _ { i j ^ { \\prime } } } \\\\ { 0 } & { \\mathrm { o t h e r w i s e } } \\end{array} \\right.\n$$",
|
| 362 |
+
"text_format": "latex",
|
| 363 |
+
"bbox": [
|
| 364 |
+
387,
|
| 365 |
+
892,
|
| 366 |
+
606,
|
| 367 |
+
928
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 2
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "Algorithm 2: Update confidence score for Multi-stage Self-training GCN ",
|
| 374 |
+
"text_level": 1,
|
| 375 |
+
"bbox": [
|
| 376 |
+
176,
|
| 377 |
+
107,
|
| 378 |
+
665,
|
| 379 |
+
122
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "table",
|
| 385 |
+
"img_path": "images/4bef78dfe6b47e6e532707d381ad27c645a614880740e87d2fd66092fd8576c4.jpg",
|
| 386 |
+
"table_caption": [],
|
| 387 |
+
"table_footnote": [],
|
| 388 |
+
"table_body": "<table><tr><td colspan=\"2\">if the stage is currently switched then</td></tr><tr><td>2</td><td>for each class k do</td></tr><tr><td>3</td><td>Find the top m vertices v in fv and v ∈U</td></tr><tr><td>4</td><td>Change the value of v in Sv to 1</td></tr><tr><td>5</td><td>end</td></tr><tr><td>6</td><td>return Sv</td></tr><tr><td colspan=\"2\">7 end</td></tr></table>",
|
| 389 |
+
"bbox": [
|
| 390 |
+
158,
|
| 391 |
+
125,
|
| 392 |
+
503,
|
| 393 |
+
229
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 3
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "(Lee, 2013) introduced a pseudo label version of semi-supervised losses: ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
174,
|
| 402 |
+
256,
|
| 403 |
+
650,
|
| 404 |
+
270
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "equation",
|
| 410 |
+
"img_path": "images/776d47f5710e97157c358d58a16208a8bfde6af4b18e78b89960d72c2652aa9c.jpg",
|
| 411 |
+
"text": "$$\nL = \\sum _ { i \\in \\mathcal { L } } l ( y _ { i } , f _ { i } ) + \\lambda \\sum _ { i \\in \\mathcal { U } } l ( \\tilde { y } _ { i } , f _ { i } ) ,\n$$",
|
| 412 |
+
"text_format": "latex",
|
| 413 |
+
"bbox": [
|
| 414 |
+
382,
|
| 415 |
+
271,
|
| 416 |
+
612,
|
| 417 |
+
305
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "where $\\begin{array} { r } { \\lambda = \\frac { n } { n ^ { \\prime } } \\gamma } \\end{array}$ , $n = | \\mathcal { L } |$ , $n ^ { \\prime } = | \\boldsymbol { \\mathcal { U } } |$ , $\\gamma \\in \\mathbb R$ is a hyper-parameter and the additive term $\\textstyle \\sum _ { i \\in { \\mathcal { U } } } l ( { \\tilde { y } } _ { i } , f _ { i } )$ is the pseudo label loss. Here, $\\lambda$ measures how much the pseudo label term influence the training process. This is equivalent to Entropy Regularization for classification problems (Lee, 2013). ",
|
| 424 |
+
"bbox": [
|
| 425 |
+
174,
|
| 426 |
+
306,
|
| 427 |
+
825,
|
| 428 |
+
349
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 3
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "text",
|
| 434 |
+
"text": "3.3 SOFT LABEL CONFIDENCE ",
|
| 435 |
+
"text_level": 1,
|
| 436 |
+
"bbox": [
|
| 437 |
+
174,
|
| 438 |
+
364,
|
| 439 |
+
400,
|
| 440 |
+
380
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "In standard multi-stage self-training methods, a node just has two states: in the training set or not, which corresponds to binary-valued confidences $\\{ 0 , 1 \\}$ ; and in most cases, if a node is added in training set, it will be kept there. This simple setting hinders learning in some cases. For instance, if the classifier puts a wrongly labeled node into the training set, which is of high possibility in preliminary training epochs, it will persistently learn wrong knowledge from this node. Worse still, another wrongly adding is more possible. This negative feedback loop may contribute to a extremely poor classifier. Moreover, original labeled nodes and added nodes in the training are treated equally, which is too restricted and may harm the learning; explicitly distinguishing them in the training process could be beneficial. To resolve these problems, we introduce a mechanism named Soft Label Confidence as the confidence updating component in algorithm 1, which computes a personalized confidence value for each node, and the training set is dynamically changing except the ground truth labels. Based on the pseudo label loss (4), we propose the loss wrapped by soft label confidence: ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
390,
|
| 450 |
+
826,
|
| 451 |
+
558
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "equation",
|
| 457 |
+
"img_path": "images/df02e8a3d9407b9e19928526f6ff4128b81fcc8c8166838f28c9219bdd035490.jpg",
|
| 458 |
+
"text": "$$\nL = \\sum _ { i \\in \\mathcal { L } } l ( y _ { i } , f _ { i } ) + \\lambda \\sum _ { i \\in \\mathcal { U } } \\alpha ( f _ { i } ) l ( \\tilde { y } _ { i } , f _ { i } ) .\n$$",
|
| 459 |
+
"text_format": "latex",
|
| 460 |
+
"bbox": [
|
| 461 |
+
364,
|
| 462 |
+
559,
|
| 463 |
+
632,
|
| 464 |
+
593
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 3
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "Here $\\alpha$ is a function mapping from $\\mathbb { R } ^ { d _ { L } }$ to $\\mathbb { R }$ , defined as confidence function. While there are other possible choices for $\\alpha$ , in our method we adopt a threshold based function: ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
174,
|
| 473 |
+
595,
|
| 474 |
+
823,
|
| 475 |
+
625
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 3
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "equation",
|
| 481 |
+
"img_path": "images/c33e2d3418e781dfb7374a4177decc9bfb36e0081eded182aaeb29ef84d38de2.jpg",
|
| 482 |
+
"text": "$$\n\\alpha ( f _ { i } ) = \\frac { 1 } { n _ { c ^ { i } } ^ { \\prime } } \\mathrm { m a x } ( \\mathrm { R e L U } ( f _ { i } - \\beta \\cdot { \\bf 1 } ) ) ,\n$$",
|
| 483 |
+
"text_format": "latex",
|
| 484 |
+
"bbox": [
|
| 485 |
+
374,
|
| 486 |
+
626,
|
| 487 |
+
622,
|
| 488 |
+
660
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "Here $\\beta \\in ( 0 , 1 )$ is a hyper-parameter as threshold, $n _ { c ^ { i } } ^ { \\prime }$ denotes the number of nodes whose pseudo label belongs to class $c ^ { i }$ , $c ^ { i }$ is the class which $i$ -th node’s pseudo label belongs to, and 1 is the all 1 vector. We introduce $n _ { c ^ { i } } ^ { \\prime }$ here to balance the categories of pseudo labels, because pseudo labels could be initially extremely unbalanced and lead to a poor classifier in practice. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
173,
|
| 497 |
+
660,
|
| 498 |
+
825,
|
| 499 |
+
719
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 3
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "Although $\\alpha ( f _ { i } )$ depends on $f _ { i }$ , and thus a function of network’s weights, we will block the flow of gradient through $\\alpha ( f _ { i } )$ for the following reasons: Firstly, confidence function is non-differentiable in most cases. Secondly, if we allow the gradient to flow through $\\alpha ( f _ { i } )$ , the optimizer may tend to find a solution that satisfies $\\operatorname* { m a x } ( f _ { i } ) < \\beta , \\mathsf { \\bar { \\forall } } i \\in V$ , since for such a solution, $\\overset { \\vartriangle } { \\alpha { \\left( f _ { i } \\right) } } = 0$ for all $i$ and the pseudo label loss is zero, which does no good to self-supervised learning. So we use the following way to compute the gradient: ",
|
| 506 |
+
"bbox": [
|
| 507 |
+
173,
|
| 508 |
+
726,
|
| 509 |
+
825,
|
| 510 |
+
809
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 3
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "equation",
|
| 516 |
+
"img_path": "images/16f9d3244629c0bdb8796e5f2ff0eb8feb2af41def0202e0faeba257b3cbb0c1.jpg",
|
| 517 |
+
"text": "$$\n\\frac { \\partial L } { \\partial W _ { s , t } ^ { l } } = \\sum _ { i \\in \\mathcal { L } } \\frac { \\partial l ( y _ { i } , f _ { i } ) } { \\partial W _ { s , t } ^ { l } } + \\lambda \\sum _ { i \\in \\mathcal { U } } \\alpha ( f _ { i } ) \\frac { \\partial l ( \\tilde { y } _ { i } , f _ { i } ) } { \\partial W _ { s , t } ^ { l } }\n$$",
|
| 518 |
+
"text_format": "latex",
|
| 519 |
+
"bbox": [
|
| 520 |
+
338,
|
| 521 |
+
810,
|
| 522 |
+
660,
|
| 523 |
+
849
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 3
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "4 RELATED WORK ",
|
| 530 |
+
"text_level": 1,
|
| 531 |
+
"bbox": [
|
| 532 |
+
176,
|
| 533 |
+
864,
|
| 534 |
+
346,
|
| 535 |
+
881
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 3
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "Graph Convolutional Network The work of GNNs seeks generalizations of the convolution operator to graph structured data. One way to do this is to apply convolution in the spectral domain, where the eigenvectors of the graph Laplacian are considered as the Fourier basis (Bruna et al., 2014; Henaff et al., 2015; Defferrard et al., 2016; Kipf & Welling, 2017). Such spectral methods learns hidden layer representations that encode both graph structure and node features simultaneously. Kipf and Welling (Kipf & Welling, 2017) simplify previous spectral techniques by restricting the propagation to a 1-hop neighborhood in each layer. (Chen et al., 2018) propose fast GCNs, which improves the training speed of the original GCN. GAT of (Velickovic et al., 2018) allows for assigning different importances to nodes of the same neighborhood via attention mechanisms. (Xu et al., 2018) introduce JK networks, which adjust the influence radii of each node adaptively. Another direction that generalizes convolutions to graph structured data, namely non-spectral approaches, define convolutions directly in the spatial domain (Duvenaud et al., 2015; Atwood & Towsley, 2016; Monti et al., 2017). Such methods are easier to be adapted to do inductive learning (Hamilton et al., 2017; Velickovic et al., 2018; Bojchevski & Günnemann, 2018). However, few-shot learning remains a challenge for this class of methods. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
173,
|
| 544 |
+
895,
|
| 545 |
+
825,
|
| 546 |
+
924
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 3
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
103,
|
| 556 |
+
825,
|
| 557 |
+
284
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "Label Propagation Unlike GNNs, which propagate node representations, the classic Label Propagation (LP) method (Zhu et al., 2003) iteratively propagates (soft) labels. More specifically, in each iteration, each unlabeled node obtains a new soft label that is the aggregation of the soft labels from the previous iteration of its neighbors. The key to LP is to design an effective propagation rule; for some propagation rules, the algorithm may not converge and/or the accuracy may not improve over iterations. Thus, one often needs to specify a stopping criteria and a validation set for model selection. LP can also be used as the base algorithm in the self-training framework. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
304,
|
| 567 |
+
826,
|
| 568 |
+
402
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "Self-training Self-training is a natural and general approach to semi-supervised learning (Scudder, 1965) and has been widely used in the NLP literature. Self-training is used by (Yarowsky, 1995; Hearst, 1991) for word sense disambiguation. (Riloff et al., 1999) used self-training in the form of bootstrapping for information extraction and later for learning subjective nouns. (Riloff et al., 2003) with (Nigam et al., 2000) using EM for text classification. Self-training has been used for object recognition (Rosenberg et al., 2005; Zhou et al., 2012). (McClosky et al., 2006; 2008; Huang & Harper, 2009; Sagae, 2010) shows how effective can self-training be in parsing. (Wang et al., 2007; Huang et al., 2009; Qi et al., 2009) introduce self-training techniques to part of speech tagging, and (Kozareva et al., 2005; Liu et al., 2013a) adopt self-training in named entity recognition. (Van Asch & Daelemans, 2016; Drury et al., 2011; Liu et al., 2013b) used self-training in sentiment classification. Recently, self-training has also been successfully applied on node classification. Li et al. (Li et al., 2018) study self-training GCNs; Buchnik and Cohen (Buchnik & Cohen, 2018) mainly consider the effect self-training for diffusion-based techniques. In pseudo-label method of (Lee, 2013), for unlabeled data, their pseudo-labels are recalculated every weights update. However, they don’t assign weight to each unlabeled data. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
174,
|
| 577 |
+
424,
|
| 578 |
+
826,
|
| 579 |
+
631
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 4
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "As for the self-training algorithm itself, (Chen et al., 2011) shows that selecting highly confident instances with a pre-defined threshold may not perform well. (McClosky et al., 2006) produce a ranked list of n-best predicted parses and selected the best one. (Rosenberg et al., 2005) shows that a training data selection metric that is defined independently of the detector greatly outperforms a selection metric based on the detection confidence generated by the detector. (Zhou et al., 2012) suggests that selecting more informative unlabelled data using a guided search algorithm can significantly improve performance over standard self-training framework. Most recently, (Levatic et al., 2017) proposed ´ proposed an algorithm to automatically select appropriate threshold. ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
174,
|
| 588 |
+
638,
|
| 589 |
+
825,
|
| 590 |
+
750
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 4
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "Network Embedding Node classification is also one of the main applications of network embedding methods, which learns a lower-dimensional representation for each node in an unsupervised manner, followed by a supervised classifier layer for node classification (Perozzi et al., 2014; Tang et al., 2015; Grover & Leskovec, 2016; Wang et al., 2016; Bojchevski & Günnemann, 2018). A recent work of (Bojchevski & Günnemann, 2018) proposes Graph2Gauss. This method embeds each node as a Gaussian distribution according to a novel ranking similarity based on the shortest path distances between nodes. A distribution embedding naturally captures the uncertainty about the representation. DGI (Velickovi ˇ c et al., 2019) is an embedding method based on GCNs, the unsupervised objective of ´ which is to maximize mutual information. The work of Embedding approaches achieve competitive performance in node classification tasks, while the learned representations also prove to be extremely useful for other downstream applications. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
174,
|
| 599 |
+
770,
|
| 600 |
+
826,
|
| 601 |
+
924
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 4
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "5 EVALUATION ",
|
| 608 |
+
"text_level": 1,
|
| 609 |
+
"bbox": [
|
| 610 |
+
176,
|
| 611 |
+
102,
|
| 612 |
+
315,
|
| 613 |
+
118
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 5
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "5.1 DATASET ",
|
| 620 |
+
"text_level": 1,
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
133,
|
| 624 |
+
279,
|
| 625 |
+
148
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "We conduct the evaluation on four benchmark citation datasets: Cora, Citeseer, Pubmed (Sen et al., 2008), and Core-full (Bojchevski & Günnemann, 2018). Each of these four datasets is undirected graph with node feature. Each node is a document and the edges denote the citation relationship; the feature of a node is the bag-of-words representation of the document. The number of layers in GCN is two by default, and thus the receptive field of each labeled node is its order-2 neighborhood. We measure the fraction of nodes which is covered by the 2-hop neighbors of all labeled nodes, i.e., $| \\cup _ { s \\in \\mathcal { S } } \\mathcal { N } _ { 2 } ( s ) | / | V |$ , where $s$ is the set of labeled nodes randomly sampled from $V$ . Here we report the 2-hop coverage ratio on the four datasets when the label rates are $1 \\%$ and $0 . 5 \\%$ respectively. We summarize the information of datasets in Table 1. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
160,
|
| 635 |
+
826,
|
| 636 |
+
284
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "table",
|
| 642 |
+
"img_path": "images/310a771f90177e9c3e08a8b93448b61b7432f8729f98ed159147ec887101c173.jpg",
|
| 643 |
+
"table_caption": [
|
| 644 |
+
"Table 1: Summary of datasets "
|
| 645 |
+
],
|
| 646 |
+
"table_footnote": [],
|
| 647 |
+
"table_body": "<table><tr><td></td><td>Cora</td><td>Citeseer</td><td>Pubmed</td><td>Cora-full</td></tr><tr><td># of Nodes</td><td>2708</td><td>3327</td><td>19717</td><td>18703</td></tr><tr><td>#of Edges</td><td>5429</td><td>4732</td><td>44338</td><td>81124</td></tr><tr><td>#of Features</td><td>1433</td><td>3703</td><td>500</td><td>8710</td></tr><tr><td># of Classes</td><td>7</td><td>6</td><td>3</td><td>67</td></tr><tr><td>Coverage(0.5%)</td><td>14.78%</td><td>6.64%</td><td>21.58%</td><td>27.19%</td></tr><tr><td>Coverage(1%)</td><td>24.78%</td><td>12.14%</td><td>34.60%</td><td>47.42%</td></tr></table>",
|
| 648 |
+
"bbox": [
|
| 649 |
+
303,
|
| 650 |
+
324,
|
| 651 |
+
694,
|
| 652 |
+
425
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 5
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "5.2 EXPERIMENT SETTINGS ",
|
| 659 |
+
"text_level": 1,
|
| 660 |
+
"bbox": [
|
| 661 |
+
174,
|
| 662 |
+
463,
|
| 663 |
+
382,
|
| 664 |
+
478
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 5
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "We evaluate models on semi-supervised node classification tasks with varying label rates. Instead of evaluating on a fixed data split as in (Kipf & Welling, 2017; Velickovic et al., 2018), we mainly consider random splits as (Li et al., 2018) does. In detail, for a given label rate, we randomly generate 100 different splits on each dataset. In each split, there is a labeled set with prespecified size for training, and in this set each class contains the same number of labeled nodes. As in (Li et al., 2018), we don’t use a validation set, and all the remaining nodes will be used for testing. For simplicity, we will refer to a task in the form of dataset-l, where $l$ is the number of labeled nodes per class. For example, Cora-1 denotes the classification task on dataset Cora with one seed per class. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
173,
|
| 673 |
+
489,
|
| 674 |
+
825,
|
| 675 |
+
602
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 5
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "5.3 IMPLEMENTATION DETAILS ",
|
| 682 |
+
"text_level": 1,
|
| 683 |
+
"bbox": [
|
| 684 |
+
176,
|
| 685 |
+
617,
|
| 686 |
+
405,
|
| 687 |
+
632
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 5
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"text": "For all the models(Perozzi et al., 2014; Tang et al., 2015; Grover & Leskovec, 2016; Wang et al., 2016; Bojchevski & Günnemann, 2018; Velickovic et al., 2018; Monti et al., 2017) except for GCN based methods, settings of hyper-parameters are the same as suggested in original papers. All GCN based methods including GCN, Self-training GCN, Co-training GCN, Intersection GCN, Union GCN, and DSGCN share the same setting of hyper-parameter following (Shchur et al., 2018): one hidden layer with 64 units, dropout rate 0.8, Adam optimizer (Kingma & Ba, 2015) with learning rate $1 0 ^ { - 2 }$ , a $L _ { 2 }$ regularization with weight $1 0 ^ { - 3 }$ . We train other GCN based methods for a fixed epochs of 200, while DSGCN is trained for 600 epochs in few-label tasks such as 1, 3, 5, 10 tasks. Because 20 or 50 labels per class implies ample supervised information, we train DSGCN for 200 epochs in these tasks. The four variants of (Li et al., 2018): Self-training GCN, Co-training GCN, Intersection GCN and Union GCN follow original self-training settings in (Li et al., 2018). For DSGCN, we use a threshold of 0.6 when the number of labels per class is below 3, and set the threshold to 0.75 for label rate above 3 but below 10. Otherwise, the threshold is 0.9 by default. ",
|
| 694 |
+
"bbox": [
|
| 695 |
+
173,
|
| 696 |
+
643,
|
| 697 |
+
826,
|
| 698 |
+
824
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 5
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "5.4 RESULT ANALYSIS ",
|
| 705 |
+
"text_level": 1,
|
| 706 |
+
"bbox": [
|
| 707 |
+
176,
|
| 708 |
+
842,
|
| 709 |
+
346,
|
| 710 |
+
856
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 5
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "text",
|
| 716 |
+
"text": "The numerical results are summarized in Table 2 and Table 3. The highest accuracy in each column is highlighted in bold and the top 3 are underlined. We group all models into three categories: GNN variants(GCN, GAT, MoNet), unsupervised embedding methods (DeepWalk, DGI, LINE, G2G) and GCN with self-training (Co-training, Self-training, Union and Intersection, DSGCN). ",
|
| 717 |
+
"bbox": [
|
| 718 |
+
174,
|
| 719 |
+
867,
|
| 720 |
+
823,
|
| 721 |
+
924
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 5
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "table",
|
| 727 |
+
"img_path": "images/b7ce80ad2493113113e1f849d3309ddd2dd5874c6e3548eeb351abcb20ec73be.jpg",
|
| 728 |
+
"table_caption": [
|
| 729 |
+
"Table 2: Summary of results in terms of mean classification accuracy (in percent) over 100 random splits in different tasks. Unsupervised approaches first learn a lower-dimensional embedding for each node in an unsupervised manner, and then the embeddings are used to train a supervised classifier for node classification. Here we use logistic regression as the classifier for unsupervised embeddings. "
|
| 730 |
+
],
|
| 731 |
+
"table_footnote": [],
|
| 732 |
+
"table_body": "<table><tr><td></td><td colspan=\"6\">Citeseer</td><td colspan=\"6\">Cora</td></tr><tr><td># of Labels</td><td>1</td><td>3</td><td>5</td><td>10</td><td>20</td><td>50</td><td>1</td><td>3</td><td>5</td><td>10</td><td>20</td><td>50</td></tr><tr><td>LP</td><td>30.1</td><td>37.0</td><td>39.3</td><td>41.9</td><td>44.8</td><td>49.5</td><td>51.5</td><td>60.5</td><td>62.5</td><td>64.2</td><td>67.3</td><td>71.7</td></tr><tr><td>DeepWalk</td><td>28.3</td><td>34.7</td><td>38.1</td><td>42.0</td><td>45.6</td><td>50.7</td><td>40.4</td><td>53.8</td><td>59.4</td><td>65.4</td><td>69.9</td><td>74.2</td></tr><tr><td>LINE</td><td>28.0</td><td>34.7</td><td>38.0</td><td>43.1</td><td>48.5</td><td>54.6</td><td>49.4</td><td>62.6</td><td>63.4</td><td>71.1</td><td>74.0</td><td>76.5</td></tr><tr><td>G2G</td><td>45.1</td><td>56.4</td><td>60.3</td><td>63.1</td><td>65.7</td><td>68.2</td><td>54.5</td><td>68.1</td><td>70.9</td><td>73.8</td><td>75.8</td><td>77.0</td></tr><tr><td>DGI</td><td>46.1</td><td>59.2</td><td>64.1</td><td>67.6</td><td>68.7</td><td>72.3</td><td>55.3</td><td>70.9</td><td>72.6</td><td>76.4</td><td>77.9</td><td>78.7</td></tr><tr><td>GCN</td><td>36.4</td><td>50.3</td><td>57.5</td><td>63.2</td><td>68.8</td><td>72.2</td><td>42.4</td><td>61.6</td><td>68.4</td><td>75.1</td><td>80.2</td><td>83.5</td></tr><tr><td>GAT</td><td>32.8</td><td>48.6</td><td>54.9</td><td>60.8</td><td>68.2</td><td>71.5</td><td>41.8</td><td>61.7</td><td>71.1</td><td>76.0</td><td>79.6</td><td>83.4</td></tr><tr><td>MoNet</td><td>38.8</td><td>52.9</td><td>59.7</td><td>64.6</td><td>66.9</td><td>69.9</td><td>43.4</td><td>61.2</td><td>70.9</td><td>76.1</td><td>79.3</td><td>83.9</td></tr><tr><td>Co-training</td><td>36.7</td><td>49.0</td><td>55.0</td><td>60.7</td><td>65.9</td><td>70.0</td><td>53.1</td><td>65.7</td><td>70.2</td><td>73.8</td><td>78.7</td><td>82.5</td></tr><tr><td>Self-training</td><td>34.6</td><td>50.0</td><td>58.7</td><td>67.4</td><td>69.1</td><td>71.3</td><td>40.6</td><td>63.9</td><td>71.1</td><td>75.5</td><td>79.1</td><td>81.6</td></tr><tr><td>Union</td><td>37.2</td><td>50.8</td><td>55.9</td><td>64.4</td><td>67.5</td><td>70.6</td><td>50.1</td><td>67.3</td><td>72.5</td><td>76.2</td><td>79.8</td><td>82.4</td></tr><tr><td>Intersection</td><td>35.3</td><td>51.8</td><td>60.7</td><td>67.1</td><td>70.2</td><td>72.2</td><td>43.1</td><td>64.4</td><td>69.5</td><td>73.1</td><td>78.4</td><td>82.0</td></tr><tr><td>DSGCN</td><td>53.2</td><td>63.9</td><td>65.8</td><td>67.6</td><td>70.5</td><td>72.4</td><td>62.5</td><td>72.3</td><td>75.5</td><td>77.7</td><td>80.8</td><td>83.8</td></tr></table>",
|
| 733 |
+
"bbox": [
|
| 734 |
+
173,
|
| 735 |
+
167,
|
| 736 |
+
820,
|
| 737 |
+
380
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 6
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "table",
|
| 743 |
+
"img_path": "images/08e6d2d02389e5a5d2ff4249bdb46a1e7e95efc9cb195ea623cf0b622a531080.jpg",
|
| 744 |
+
"table_caption": [
|
| 745 |
+
"Table 3: Summary of results in terms of mean classification accuracy(in percent) over 100 random splits in different tasks. GNN variants are excluded due to limited computation resources. "
|
| 746 |
+
],
|
| 747 |
+
"table_footnote": [],
|
| 748 |
+
"table_body": "<table><tr><td></td><td colspan=\"6\">Pubmed</td><td colspan=\"6\">Cora-full</td></tr><tr><td># of Labels</td><td>1</td><td>3</td><td>5</td><td>10</td><td>20</td><td>50</td><td>1</td><td>3</td><td>5</td><td>10</td><td>20</td><td>50</td></tr><tr><td>LP</td><td>55.7 41.3</td><td>61.9 54.9</td><td>63.5 63.6</td><td>65.2 71.2</td><td>66.4 77.8</td><td>67.5 81.0</td><td>26.3 26.4</td><td>32.4 42.8</td><td>35.1 49.3</td><td>38.0 54.4</td><td>41.0 61.2</td><td>46.0 65.4</td></tr><tr><td>GCN</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td> Co-training</td><td>55.1</td><td>64.7 62.7</td><td>69.0 67.2</td><td>73.5</td><td>77.9</td><td>80.5</td><td>28.3</td><td>38.1</td><td>42.8</td><td>48.5</td><td>53.8</td><td>62.2</td></tr><tr><td>Self-training</td><td>49.7</td><td>65.4</td><td>69.7</td><td>70.6 74.0</td><td>76.5 78.5</td><td>79.3 80.9</td><td>28.7 29.2</td><td>43.6 43.3</td><td>48.9 48.4</td><td>53.4 52.9</td><td>60.8 59.2</td><td>64.4 62.2</td></tr><tr><td>Union Intersection</td><td>55.1 52.7</td><td>63.4</td><td>67.8</td><td>70.6</td><td>75.9</td><td>79.0</td><td>26.8</td><td>37.7</td><td>44.4</td><td>51.5</td><td>58.4</td><td>62.1</td></tr><tr><td>DSGCN</td><td>55.8</td><td>67.1</td><td>70.2</td><td>74.7</td><td>77.8</td><td>81.0</td><td>30.9</td><td>45.6</td><td>51.3</td><td>57.5</td><td>61.4</td><td>64.8</td></tr></table>",
|
| 749 |
+
"bbox": [
|
| 750 |
+
173,
|
| 751 |
+
429,
|
| 752 |
+
818,
|
| 753 |
+
565
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 6
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "Comparison Between GNN Variants and Embedding Methods As unsupervised methods, G2G and DGI outperform all GNN variants in very few labels cases, e.g., 1 and 3 per class on both Cora and Citeseer. Observing that LP performs well in Cora-1 while other feature propagation methods not, we can naturally conclude that in dataset with graph structure, concentrating more on the unsupervised information (both strong manifold structure(Li et al., 2018) and feature patterns) will improve semi-supervised model compared to just utilizing supervised information, in the case of low label rate. When label rate goes higher, all GNN variants enjoy better accuracies compared to unsupervised models. Hence we empirically verify the strong generalization ability of GNNs when the supervised information is sufficient. Sun et al. (Sun et al., 2019) has demonstrated the limitation of GCN in few labels case, and here we find that these convolution based methods suffer from inefficient propagation of label information as well, which can be seen as the intrinsic drawbacks of semi-supervised graph convolution based methods. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
173,
|
| 762 |
+
588,
|
| 763 |
+
825,
|
| 764 |
+
756
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 6
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "Comparison Between Self-training GCNs and All Other Models In all few-label tasks, selftraining strategies improve over GCN by a remarkable margin. Except for tasks with 50 labels per class, the best accuracy is always obtained by self-training GCN. Even in extreme one-label case, where unsupervised information is more vital, DSGCN outperforms G2G by a margin of $6 . 2 \\%$ in Cora and $9 . 2 \\%$ in Citeseer. We conclude that self-training strategy is capable of utilizing unsupervised information more effectively. Thus it significantly helps classification. Additionally, four naive selftraining GCNs implemented in (Li et al., 2018) are worse than GCN when label rate goes higher, e.g., Cora-50 and Cora-full-5, which manifests that inappropriate self-training strategies will sometimes degrade the performance of the base model. Hence there is a trade-off: capturing unsupervised signals, or learning supervised information well. However, DSGCN holds a good balance here. It doesn’t show much decrease compared to GCN even in the worst case task, Cora-full-50, where the accuracy only decreases by $0 . 6 \\%$ ; in all other cases it is always better than GCN. This demonstrates that the dynamic self-training framework not only helps the original model to capture unsupervised information, but also retains the learning ability when there are enough labels. ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
174,
|
| 773 |
+
770,
|
| 774 |
+
826,
|
| 775 |
+
924
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 6
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "image",
|
| 781 |
+
"img_path": "images/5612d4ef82c314a549957b6f901ddeb30cbef2a0a33782321d144bd0944db9e0.jpg",
|
| 782 |
+
"image_caption": [
|
| 783 |
+
"Figure 1: Test accuracies in training process. Models with different threshold are denoted with different colors, which can be distinguished in legend. Specifically, threshold 1 represents that the model is equal to original GCN. "
|
| 784 |
+
],
|
| 785 |
+
"image_footnote": [],
|
| 786 |
+
"bbox": [
|
| 787 |
+
173,
|
| 788 |
+
99,
|
| 789 |
+
820,
|
| 790 |
+
324
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 7
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "",
|
| 797 |
+
"bbox": [
|
| 798 |
+
174,
|
| 799 |
+
406,
|
| 800 |
+
825,
|
| 801 |
+
449
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 7
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "Comparison of Self-training GCNs By applying a simpler and more general self-training strategy, DSGCN outperforms other self-training based GCNs with considerable margins in most cases. In Citeseer-1, the margin even reaches $1 4 . \\bar { 1 \\% }$ compared with the best strategy among Co-training, Selftraining, Union and Intersection. This empirically supports the advantage of DSGCN for tackling a wide range of classification tasks over conventional self-training methods. ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
174,
|
| 810 |
+
464,
|
| 811 |
+
825,
|
| 812 |
+
534
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 7
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "Effect of Threshold Here we discuss how the important hyper-parameter $\\beta$ influence the performance of DSGCN. We train DSGCN with different threshold: 0.45, 0.6, 0.75, 0.9, 1.0 for 1000 epochs on dataset Cora and Citeseer for the same split with the same initialized weights. We conduct these experiments on tasks with different seed numbers, the results are presented in figure 1. As shown in figure 1, when labels are very few, DSGCN with a relatively lower threshold $\\beta$ demonstrate a clear improvement in accuracy over the original GCN. Besides, GCN’s accuracy curve erratically fluctuates while the curve of DSGCN with a low threshold does not. Thus, we observe that the stability of the base model is also improved by wrapping it into the dynamic self-training framework. When more labels are provided, all models tend to be stable and a low threshold could harm the training process. ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
174,
|
| 821 |
+
549,
|
| 822 |
+
825,
|
| 823 |
+
688
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 7
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "6 CONCLUSION ",
|
| 830 |
+
"text_level": 1,
|
| 831 |
+
"bbox": [
|
| 832 |
+
176,
|
| 833 |
+
708,
|
| 834 |
+
318,
|
| 835 |
+
724
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 7
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "In this paper, we firstly introduce a novel self-training framework. This framework generalizes and simplifies prior work, providing customizable modules as extension for multi-stage self-training. Then we instantiate this framework based on GCN and empirically compare this model with a number of methods on different dataset splits. Result of experiments suggests that when labels are few, the proposed DSGCN not only outperform all previous models with noticeable margins in accuracy but also enjoy better stability in the training process. Overall, the Dynamic Self-training Framework is powerful for few-label tasks on graph data, and provides a novel perspective on self-training techniques. ",
|
| 842 |
+
"bbox": [
|
| 843 |
+
174,
|
| 844 |
+
739,
|
| 845 |
+
825,
|
| 846 |
+
852
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 7
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "REFERENCES ",
|
| 853 |
+
"text_level": 1,
|
| 854 |
+
"bbox": [
|
| 855 |
+
176,
|
| 856 |
+
872,
|
| 857 |
+
285,
|
| 858 |
+
887
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 7
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "James Atwood and Don Towsley. Diffusion-convolutional neural networks. In Advances in Neural Information Processing Systems, pp. 1993–2001, 2016. ",
|
| 865 |
+
"bbox": [
|
| 866 |
+
176,
|
| 867 |
+
895,
|
| 868 |
+
823,
|
| 869 |
+
924
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 7
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "Aleksandar Bojchevski and Stephan Günnemann. Deep gaussian embedding of graphs: Unsupervised inductive learning via ranking. International Conference on Learning Representations, 2018. ",
|
| 876 |
+
"bbox": [
|
| 877 |
+
171,
|
| 878 |
+
103,
|
| 879 |
+
825,
|
| 880 |
+
132
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 8
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. International Conference on Learning Representations, 2014. ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
171,
|
| 889 |
+
140,
|
| 890 |
+
823,
|
| 891 |
+
170
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 8
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "Eliav Buchnik and Edith Cohen. Bootstrapped graph diffusions: Exposing the power of nonlinearity. In Abstracts of the 2018 ACM International Conference on Measurement and Modeling of Computer Systems, pp. 8–10. ACM, 2018. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
178,
|
| 900 |
+
178,
|
| 901 |
+
825,
|
| 902 |
+
222
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 8
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "Jie Chen, Tengfei Ma, and Cao Xiao. Fastgcn: fast learning with graph convolutional networks via importance sampling. International Conference on Learning Representations, 2018. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
171,
|
| 911 |
+
229,
|
| 912 |
+
825,
|
| 913 |
+
258
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 8
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "Minmin Chen, Kilian Q Weinberger, and John Blitzer. Co-training for domain adaptation. In Advances in neural information processing systems, pp. 2456–2464, 2011. ",
|
| 920 |
+
"bbox": [
|
| 921 |
+
171,
|
| 922 |
+
267,
|
| 923 |
+
825,
|
| 924 |
+
297
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 8
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pp. 3844–3852, 2016. ",
|
| 931 |
+
"bbox": [
|
| 932 |
+
173,
|
| 933 |
+
304,
|
| 934 |
+
825,
|
| 935 |
+
348
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 8
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "Brett Drury, Luis Torgo, and Jose Joao Almeida. Guided self training for sentiment classification. In Proceedings of Workshop on Robust Unsupervised and Semisupervised Methods in Natural Language Processing, pp. 9–16, 2011. ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
173,
|
| 944 |
+
356,
|
| 945 |
+
826,
|
| 946 |
+
400
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 8
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in neural information processing systems, pp. 2224–2232, 2015. ",
|
| 953 |
+
"bbox": [
|
| 954 |
+
174,
|
| 955 |
+
409,
|
| 956 |
+
826,
|
| 957 |
+
452
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 8
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 855–864. ACM, 2016. ",
|
| 964 |
+
"bbox": [
|
| 965 |
+
174,
|
| 966 |
+
459,
|
| 967 |
+
826,
|
| 968 |
+
502
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 8
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, pp. 1024–1034, 2017. ",
|
| 975 |
+
"bbox": [
|
| 976 |
+
173,
|
| 977 |
+
511,
|
| 978 |
+
823,
|
| 979 |
+
541
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 8
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "Marti Hearst. Noun homograph disambiguation using local context in large text corpora. Using Corpora, pp. 185–188, 1991. ",
|
| 986 |
+
"bbox": [
|
| 987 |
+
173,
|
| 988 |
+
549,
|
| 989 |
+
823,
|
| 990 |
+
577
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 8
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "Mikael Henaff, Joan Bruna, and Yann LeCun. Deep convolutional networks on graph-structured data. arXiv preprint arXiv:1506.05163, 2015. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
173,
|
| 999 |
+
587,
|
| 1000 |
+
825,
|
| 1001 |
+
616
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "Zhongqiang Huang and Mary Harper. Self-training pcfg grammars with latent annotations across languages. In Proceedings of the 2009 conference on empirical methods in natural language processing: Volume 2-Volume 2, pp. 832–841. Association for Computational Linguistics, 2009. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
173,
|
| 1010 |
+
623,
|
| 1011 |
+
826,
|
| 1012 |
+
666
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 8
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "Zhongqiang Huang, Vladimir Eidelman, and Mary Harper. Improving a simple bigram hmm partof-speech tagger by latent annotation and self-training. In Proceedings of Human Language Technologies: The 2009 Annual Conference of the North American Chapter of the Association for Computational Linguistics, Companion Volume: Short Papers, pp. 213–216. Association for Computational Linguistics, 2009. ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
173,
|
| 1021 |
+
675,
|
| 1022 |
+
825,
|
| 1023 |
+
746
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 8
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. International Conference on Learning Representations, 2015. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
169,
|
| 1032 |
+
755,
|
| 1033 |
+
825,
|
| 1034 |
+
784
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 8
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. International Conference on Learning Representations, 2017. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
171,
|
| 1043 |
+
791,
|
| 1044 |
+
825,
|
| 1045 |
+
821
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 8
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "Zornitsa Kozareva, Boyan Bonev, and Andres Montoyo. Self-training and co-training applied to spanish named entity recognition. In Mexican International conference on Artificial Intelligence, pp. 770–779. Springer, 2005. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
174,
|
| 1054 |
+
829,
|
| 1055 |
+
825,
|
| 1056 |
+
872
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 8
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on Challenges in Representation Learning, ICML, volume 3, pp. 2, 2013. ",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
174,
|
| 1065 |
+
881,
|
| 1066 |
+
825,
|
| 1067 |
+
922
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 8
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "Jurica Levatic, Michelangelo Ceci, Dragi Kocev, and Sašo Džeroski. Self-training for multi-target ´ regression with tree ensembles. Knowledge-Based Systems, 123:41–60, 2017. ",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
171,
|
| 1076 |
+
103,
|
| 1077 |
+
823,
|
| 1078 |
+
132
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 9
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018. ",
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
173,
|
| 1087 |
+
140,
|
| 1088 |
+
823,
|
| 1089 |
+
170
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 9
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "Qian Liu, Bingyang Liu, Dayong Wu, Yue Liu, and Xueqi Cheng. A self-learning template approach for recognizing named entities from web text. In Proceedings of the Sixth International Joint Conference on Natural Language Processing, pp. 1139–1143, 2013a. ",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
176,
|
| 1098 |
+
178,
|
| 1099 |
+
823,
|
| 1100 |
+
222
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 9
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "Zhiguang Liu, Xishuang Dong, Yi Guan, and Jinfeng Yang. Reserved self-training: A semi-supervised sentiment classification method for chinese microblogs. In Proceedings of the Sixth International Joint Conference on Natural Language Processing, pp. 455–462, 2013b. ",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
176,
|
| 1109 |
+
229,
|
| 1110 |
+
823,
|
| 1111 |
+
273
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 9
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "David McClosky, Eugene Charniak, and Mark Johnson. Effective self-training for parsing. In Proceedings of the main conference on human language technology conference of the North American Chapter of the Association of Computational Linguistics, pp. 152–159. Association for Computational Linguistics, 2006. ",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
173,
|
| 1120 |
+
281,
|
| 1121 |
+
826,
|
| 1122 |
+
338
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 9
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "text",
|
| 1128 |
+
"text": "David McClosky, Eugene Charniak, and Mark Johnson. When is self-training effective for parsing? In Proceedings of the 22nd International Conference on Computational Linguistics-Volume 1, pp. 561–568. Association for Computational Linguistics, 2008. ",
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
174,
|
| 1131 |
+
347,
|
| 1132 |
+
826,
|
| 1133 |
+
390
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 9
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"text": "Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodola, Jan Svoboda, and Michael M Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. In Proc. CVPR, volume 1, pp. 3, 2017. ",
|
| 1140 |
+
"bbox": [
|
| 1141 |
+
173,
|
| 1142 |
+
397,
|
| 1143 |
+
826,
|
| 1144 |
+
441
|
| 1145 |
+
],
|
| 1146 |
+
"page_idx": 9
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"text": "Kamal Nigam, Andrew Kachites McCallum, Sebastian Thrun, and Tom Mitchell. Text classification from labeled and unlabeled documents using em. Machine learning, 39(2-3):103–134, 2000. ",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
171,
|
| 1153 |
+
449,
|
| 1154 |
+
823,
|
| 1155 |
+
479
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 9
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 701–710. ACM, 2014. ",
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
173,
|
| 1164 |
+
487,
|
| 1165 |
+
823,
|
| 1166 |
+
530
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 9
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "Yanjun Qi, Pavel Kuksa, Ronan Collobert, Kunihiko Sadamasa, Koray Kavukcuoglu, and Jason Weston. Semi-supervised sequence labeling with self-learned features. In 2009 Ninth IEEE International Conference on Data Mining, pp. 428–437. IEEE, 2009. ",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
174,
|
| 1175 |
+
537,
|
| 1176 |
+
825,
|
| 1177 |
+
582
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 9
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "Ellen Riloff, Rosie Jones, et al. Learning dictionaries for information extraction by multi-level bootstrapping. In AAAI/IAAI, pp. 474–479, 1999. ",
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
169,
|
| 1186 |
+
589,
|
| 1187 |
+
825,
|
| 1188 |
+
619
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 9
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"text": "Ellen Riloff, Janyce Wiebe, and Theresa Wilson. Learning subjective nouns using extraction pattern bootstrapping. In Proceedings of the seventh conference on Natural language learning at HLTNAACL 2003-Volume 4, pp. 25–32. Association for Computational Linguistics, 2003. ",
|
| 1195 |
+
"bbox": [
|
| 1196 |
+
176,
|
| 1197 |
+
627,
|
| 1198 |
+
825,
|
| 1199 |
+
671
|
| 1200 |
+
],
|
| 1201 |
+
"page_idx": 9
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"text": "Chuck Rosenberg, Martial Hebert, and Henry Schneiderman. Semi-supervised self-training of object detection models. WACV/MOTION, 2, 2005. ",
|
| 1206 |
+
"bbox": [
|
| 1207 |
+
171,
|
| 1208 |
+
679,
|
| 1209 |
+
825,
|
| 1210 |
+
708
|
| 1211 |
+
],
|
| 1212 |
+
"page_idx": 9
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"text": "Kenji Sagae. Self-training without reranking for parser domain adaptation and its impact on semantic role labeling. In Proceedings of the 2010 Workshop on Domain Adaptation for Natural Language Processing, pp. 37–44. Association for Computational Linguistics, 2010. ",
|
| 1217 |
+
"bbox": [
|
| 1218 |
+
174,
|
| 1219 |
+
717,
|
| 1220 |
+
825,
|
| 1221 |
+
761
|
| 1222 |
+
],
|
| 1223 |
+
"page_idx": 9
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "text",
|
| 1227 |
+
"text": "H Scudder. Probability of error of some adaptive pattern-recognition machines. IEEE Transactions on Information Theory, 11(3):363–371, 1965. ",
|
| 1228 |
+
"bbox": [
|
| 1229 |
+
171,
|
| 1230 |
+
768,
|
| 1231 |
+
825,
|
| 1232 |
+
797
|
| 1233 |
+
],
|
| 1234 |
+
"page_idx": 9
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "text",
|
| 1238 |
+
"text": "Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI magazine, 29(3):93–93, 2008. ",
|
| 1239 |
+
"bbox": [
|
| 1240 |
+
171,
|
| 1241 |
+
805,
|
| 1242 |
+
825,
|
| 1243 |
+
835
|
| 1244 |
+
],
|
| 1245 |
+
"page_idx": 9
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "text",
|
| 1249 |
+
"text": "Oleksandr Shchur, Maximilian Mumme, Aleksandar Bojchevski, and Stephan Günnemann. Pitfalls of graph neural network evaluation. CoRR, abs/1811.05868, 2018. URL http://arxiv.org/ abs/1811.05868. ",
|
| 1250 |
+
"bbox": [
|
| 1251 |
+
173,
|
| 1252 |
+
843,
|
| 1253 |
+
825,
|
| 1254 |
+
886
|
| 1255 |
+
],
|
| 1256 |
+
"page_idx": 9
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"text": "Ke Sun, Zhanxing Zhu, and Zhouchen Lin. Multi-stage self-supervised learning for graph convolutional networks. arXiv preprint arXiv:1902.11038, 2019. ",
|
| 1261 |
+
"bbox": [
|
| 1262 |
+
173,
|
| 1263 |
+
895,
|
| 1264 |
+
823,
|
| 1265 |
+
924
|
| 1266 |
+
],
|
| 1267 |
+
"page_idx": 9
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "text",
|
| 1271 |
+
"text": "Jian Tang, Meng Qu, Mingzhe Wang, Ming Zhang, Jun Yan, and Qiaozhu Mei. Line: Large-scale information network embedding. In Proceedings of the 24th International Conference on World Wide Web, pp. 1067–1077, 2015. ",
|
| 1272 |
+
"bbox": [
|
| 1273 |
+
176,
|
| 1274 |
+
103,
|
| 1275 |
+
823,
|
| 1276 |
+
146
|
| 1277 |
+
],
|
| 1278 |
+
"page_idx": 10
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"text": "Vincent Van Asch and Walter Daelemans. Predicting the effectiveness of self-training: Application to sentiment classification. arXiv preprint arXiv:1601.03288, 2016. ",
|
| 1283 |
+
"bbox": [
|
| 1284 |
+
173,
|
| 1285 |
+
155,
|
| 1286 |
+
823,
|
| 1287 |
+
184
|
| 1288 |
+
],
|
| 1289 |
+
"page_idx": 10
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "text",
|
| 1293 |
+
"text": "Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. International Conference on Learning Representations, 2018. ",
|
| 1294 |
+
"bbox": [
|
| 1295 |
+
173,
|
| 1296 |
+
193,
|
| 1297 |
+
825,
|
| 1298 |
+
222
|
| 1299 |
+
],
|
| 1300 |
+
"page_idx": 10
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "text",
|
| 1304 |
+
"text": "Petar Velickovi ˇ c, William Fedus, William L Hamilton, Pietro Liò, Yoshua Bengio, and R Devon ´ Hjelm. Deep graph infomax. International Conference on Learning Representations, 2019. ",
|
| 1305 |
+
"bbox": [
|
| 1306 |
+
173,
|
| 1307 |
+
229,
|
| 1308 |
+
823,
|
| 1309 |
+
260
|
| 1310 |
+
],
|
| 1311 |
+
"page_idx": 10
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"text": "Daixin Wang, Peng Cui, and Wenwu Zhu. Structural deep network embedding. In Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 1225–1234. ACM, 2016. ",
|
| 1316 |
+
"bbox": [
|
| 1317 |
+
174,
|
| 1318 |
+
267,
|
| 1319 |
+
825,
|
| 1320 |
+
310
|
| 1321 |
+
],
|
| 1322 |
+
"page_idx": 10
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "text",
|
| 1326 |
+
"text": "Wen Wang, Zhongqiang Huang, and Mary Harper. Semi-supervised learning for part-of-speech tagging of mandarin transcribed speech. In 2007 IEEE International Conference on Acoustics, Speech and Signal Processing-ICASSP’07, volume 4, pp. IV–137. IEEE, 2007. ",
|
| 1327 |
+
"bbox": [
|
| 1328 |
+
173,
|
| 1329 |
+
319,
|
| 1330 |
+
823,
|
| 1331 |
+
363
|
| 1332 |
+
],
|
| 1333 |
+
"page_idx": 10
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "text",
|
| 1337 |
+
"text": "Felix Wu, Amauri Souza, Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Weinberger. Simplifying graph convolutional networks. In International Conference on Machine Learning, pp. 6861–6871, 2019. ",
|
| 1338 |
+
"bbox": [
|
| 1339 |
+
173,
|
| 1340 |
+
371,
|
| 1341 |
+
825,
|
| 1342 |
+
414
|
| 1343 |
+
],
|
| 1344 |
+
"page_idx": 10
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "text",
|
| 1348 |
+
"text": "Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. International Conference on Machine Learning, 2018. ",
|
| 1349 |
+
"bbox": [
|
| 1350 |
+
173,
|
| 1351 |
+
422,
|
| 1352 |
+
826,
|
| 1353 |
+
465
|
| 1354 |
+
],
|
| 1355 |
+
"page_idx": 10
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "text",
|
| 1359 |
+
"text": "David Yarowsky. Unsupervised word sense disambiguation rivaling supervised methods. In 33rd annual meeting of the association for computational linguistics, 1995. ",
|
| 1360 |
+
"bbox": [
|
| 1361 |
+
173,
|
| 1362 |
+
474,
|
| 1363 |
+
823,
|
| 1364 |
+
503
|
| 1365 |
+
],
|
| 1366 |
+
"page_idx": 10
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "text",
|
| 1370 |
+
"text": "Yan Zhou, Murat Kantarcioglu, and Bhavani Thuraisingham. Self-training with selection-by-rejection. In 2012 IEEE 12th international conference on data mining, pp. 795–803. IEEE, 2012. ",
|
| 1371 |
+
"bbox": [
|
| 1372 |
+
173,
|
| 1373 |
+
511,
|
| 1374 |
+
823,
|
| 1375 |
+
541
|
| 1376 |
+
],
|
| 1377 |
+
"page_idx": 10
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "text",
|
| 1381 |
+
"text": "Xiaojin Zhu, Zoubin Ghahramani, and John D Lafferty. Semi-supervised learning using gaussian fields and harmonic functions. In Proceedings of the 20th International conference on Machine learning, pp. 912–919, 2003. ",
|
| 1382 |
+
"bbox": [
|
| 1383 |
+
173,
|
| 1384 |
+
549,
|
| 1385 |
+
826,
|
| 1386 |
+
593
|
| 1387 |
+
],
|
| 1388 |
+
"page_idx": 10
|
| 1389 |
+
},
|
| 1390 |
+
{
|
| 1391 |
+
"type": "text",
|
| 1392 |
+
"text": "A APPENDIX: ADDITIONAL EXPERIMENTS ",
|
| 1393 |
+
"text_level": 1,
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
174,
|
| 1396 |
+
102,
|
| 1397 |
+
545,
|
| 1398 |
+
118
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 11
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "We also test our self-training methods on other GNNs as well, e.g., SGC(Wu et al., 2019), GAT (Velickovic et al., 2018), and GraphSage (Hamilton et al., 2017). For the three GNN models, settings of hyper-parameters are the same as suggested in original papers. And our dynamic self-training framework share the same setting of hyper-parameter: one hidden layer with 32 units, dropout rate 0.7, Adam optimizer (Kingma & Ba, 2015), a $L _ { 2 }$ regularization with weight $5 ^ { - 4 }$ and set the threshold to 0.9. Clearly, our dynamic self-training framework achieves similar improvements on all the three base models. The numerical results are summarized in Table 4. We can see equipped with our DS framework, these models enjoys noticeable increase in performance. ",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
173,
|
| 1407 |
+
132,
|
| 1408 |
+
825,
|
| 1409 |
+
246
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 11
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "table",
|
| 1415 |
+
"img_path": "images/66ac4e47318abf15760d3ec05fe632123847018e119b7f08ddf6c0e5e372de29.jpg",
|
| 1416 |
+
"table_caption": [
|
| 1417 |
+
"Table 4: Summary of results in terms of mean classification accuracy (in percent) over 50 random splits in different tasks(the results of GAT experiments are from Table 2). "
|
| 1418 |
+
],
|
| 1419 |
+
"table_footnote": [],
|
| 1420 |
+
"table_body": "<table><tr><td></td><td colspan=\"4\">Citeseer</td><td colspan=\"4\">Cora</td></tr><tr><td># ofLabels</td><td>5</td><td>10</td><td>20</td><td>50</td><td>5</td><td>10</td><td>20</td><td>50</td></tr><tr><td>SGC</td><td>55.5</td><td>63.7</td><td>69.0</td><td>72.6</td><td>63.5</td><td>72.5</td><td>75.9</td><td>78.9</td></tr><tr><td>DS-SGC</td><td>59.6</td><td>65.0</td><td>69.7</td><td>73.4</td><td>65.0</td><td>73.4</td><td>76.2</td><td>78.9</td></tr><tr><td>GAT DS-GAT</td><td>54.9</td><td>60.8</td><td>68.2</td><td>71.5</td><td>71.1</td><td>76.0</td><td>79.6</td><td>83.4</td></tr><tr><td></td><td>58.3</td><td>67.0</td><td>70.8</td><td>73.4</td><td>71.9</td><td>77.1</td><td>81.0</td><td>83.6</td></tr><tr><td>GraphSAGE</td><td>59.7</td><td>65.4</td><td>68.8</td><td>72.1</td><td>69.3</td><td>75.3</td><td>79.2</td><td>82.5</td></tr><tr><td>DS-GraphSAGE</td><td>60.6</td><td>66.3</td><td>69.5</td><td>72.6</td><td>72.5</td><td>78.4</td><td>81.0</td><td>84.0</td></tr></table>",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
250,
|
| 1423 |
+
301,
|
| 1424 |
+
746,
|
| 1425 |
+
433
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 11
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "To evaluate the computation overhead introduced by dynamic self-training framework, we test the total training time for various models. Intuitively the computational cost will only slightly increase. The reason is that the computational cost of the original GCN model is dominated by previous layers, where the entire graph is included. So even if all nodes become pseudo labels, the size of the entire network is increased by at most a factor of 2, and the number of parameters remains the same. Therefore, the computational costs will increase by at most a small constant in theory. We have also verified this empirically. We record the training time of base models before and after applying our framework. In the experiments, the training size is 20 per class, the number of epoch is 200, and the time is the average time (in seconds) of 25 runs. The numerical results can be seen in Tabel 5. ",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
173,
|
| 1434 |
+
452,
|
| 1435 |
+
826,
|
| 1436 |
+
578
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 11
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "table",
|
| 1442 |
+
"img_path": "images/20dd2ec1c62311d0bb81055e47f3fcd24786636761508cd60bf51b4dcfb86929.jpg",
|
| 1443 |
+
"table_caption": [
|
| 1444 |
+
"Table 5: Total training time for various models in seconds(s), implemented on PyG. "
|
| 1445 |
+
],
|
| 1446 |
+
"table_footnote": [],
|
| 1447 |
+
"table_body": "<table><tr><td></td><td>Citeseer</td><td>Cora</td></tr><tr><td>GCN</td><td>3.0</td><td>2.6</td></tr><tr><td>DSGCN</td><td>9.7</td><td>6.3</td></tr><tr><td>SGC</td><td>1.4</td><td>1.3</td></tr><tr><td>DS-SGC</td><td>7.1</td><td>7.4</td></tr><tr><td>GAT</td><td>5.2</td><td>4.7</td></tr><tr><td>DS-GAT</td><td>11.9</td><td>8.7</td></tr><tr><td>GraphSAGE</td><td>1.9</td><td>2.1</td></tr><tr><td>DS-GraphSAGE</td><td>8.7</td><td>8.5</td></tr></table>",
|
| 1448 |
+
"bbox": [
|
| 1449 |
+
372,
|
| 1450 |
+
619,
|
| 1451 |
+
624,
|
| 1452 |
+
763
|
| 1453 |
+
],
|
| 1454 |
+
"page_idx": 11
|
| 1455 |
+
}
|
| 1456 |
+
]
|
parse/train/SJgCEpVtvr/SJgCEpVtvr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJgCEpVtvr/SJgCEpVtvr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJlh8CEYDB/SJlh8CEYDB.md
ADDED
|
@@ -0,0 +1,438 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LEARN TO EXPLAIN EFFICIENTLY VIA NEURAL LOGIC INDUCTIVE LEARNING
|
| 2 |
+
|
| 3 |
+
Yuan Yang & Le Song
|
| 4 |
+
Georgia Institute of Technology
|
| 5 |
+
yyang754@gatech.edu, lsong@cc.gatech.edu
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
The capability of making interpretable and self-explanatory decisions is essential for developing responsible machine learning systems. In this work, we study the learning to explain problem in the scope of inductive logic programming (ILP). We propose Neural Logic Inductive Learning (NLIL), an efficient differentiable ILP framework that learns first-order logic rules that can explain the patterns in the data. In experiments, compared with the state-of-the-art methods, we find NLIL can search for rules that are $\mathbf { x } 1 0$ times longer while remaining ${ \bf X } { \boldsymbol 3 }$ times faster. We also show that NLIL can scale to large image datasets, i.e. Visual Genome, with 1M entities.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+

|
| 14 |
+
Figure 1: A scene-graph can describe the relations of objects in an image. The NLIL can utilize this graph and explain the presence of objects Car and Person by learning the first-order logic rules that characterize the common sub-patterns in the graph. The explanation is globally consistent and can be interpreted as commonsense knowledge.
|
| 15 |
+
|
| 16 |
+
The recent years have witnessed the growing success of deep learning models in a wide range of applications. However, these models are also criticized for the lack of interpretability in its behavior and decision making process (Lipton, 2016; Mittelstadt et al., 2019), and for being data-hungry. The ability to explain its decision is essential for developing a responsible and robust decision system (Guidotti et al., 2019). On the other hand, logic programming methods, in the form of first-order logic (FOL), are capable of discovering and representing knowledge in explicit symbolic structure that can be understood and examined by human (Evans & Grefenstette, 2018).
|
| 17 |
+
|
| 18 |
+
In this paper, we investigate the learning to explain problem in the scope of inductive logic programming (ILP) which seeks to learn first-order logic rules that explain the data. Traditional ILP methods (Galarraga et al., 2015) rely on hard matching and discrete logic for rule search which is ´ not tolerant for ambiguous and noisy data (Evans & Grefenstette, 2018). A number of works are proposed for developing differentiable ILP models that combine the strength of neural and logicbased computation (Evans & Grefenstette, 2018; Campero et al., 2018; Rocktaschel & Riedel, 2017; ¨ Payani & Fekri, 2019; Dong et al., 2019). Methods such as ∂ILP (Evans & Grefenstette, 2018) are referred to as forward-chaining methods. It constructs rules using a set of pre-defined templates and evaluates them by applying the rule on background data multiple times to deduce new facts that lie in the held-out set (related works available at Appendix A). However, general ILP problem involves several steps that are NP-hard: (i) the rule search space grows exponentially in the length of the rule; (ii) assigning the logic variables to be shared by predicates grows exponentially in the number of arguments, which we refer as variable binding problem; (iii) the number of rule instantiations needed for formula evaluation grows exponentially in the size of data. To alleviate these complexities, most works have limited the search length to within 3 and resort to template-based variable assignments, limiting the expressiveness of the learned rules (detailed discussion available at Appendix B). Still, most of the works are limited in small scale problems with less than 10 relations and 1K entities.
|
| 19 |
+
|
| 20 |
+
On the other hand, multi-hop reasoning methods (Guu et al., 2015; Lao & Cohen, 2010; Lin et al., 2015; Gardner & Mitchell, 2015; Das et al., 2016) are proposed for the knowledge base (KB) completion task. Methods such as NeuralLP (Yang et al., 2017) can answer the KB queries by searching for a relational path that leads from the subject to the object. These methods can be interpreted in the ILP domain where the learned relational path is equivalent to a chain-like first-order rule. Compared to the template-based counterparts, methods such as NeuralLP is highly efficient in variable binding and rule evaluation. However, they are limited in two aspects: (i) the chain-like rules represent a subset of the Horn clauses, and are limited in expressing complex rules such as those shown in Figure 1; (ii) the relational path is generated while conditioning on the specific query, meaning that the learned rule is only valid for the current query. This makes it difficult to learn rules that are globally consistent in the KB, which is an important aspect of a good explanation.
|
| 21 |
+
|
| 22 |
+
In this work, we propose Neural Logic Inductive Learning (NLIL), a differentiable ILP method that extends the multi-hop reasoning framework for general ILP problem. NLIL is highly efficient and expressive. We propose a divide-and-conquer strategy and decompose the search space into 3 subspaces in a hierarchy, where each of them can be searched efficiently using attentions. This enables us to search for $\mathbf { x } 1 0$ times longer rules while remaining x3 times faster than the state-of-theart methods. We maintain the global consistency of rules by splitting the training into rule generation and rule evaluation phase, where the former is only conditioned on the predicate type that is shared globally.
|
| 23 |
+
|
| 24 |
+
And more importantly, we show that a scalable ILP method is widely applicable for model explanations in supervised learning scenario. We apply NLIL on Visual Genome (Krishna et al., 2016) dataset for learning explanations for 150 object classes over 1M entities. We demonstrate that the learned rules, while maintaining the interpretability, have comparable predictive power as densely supervised models, and generalize well with less than $1 \%$ of the data.
|
| 25 |
+
|
| 26 |
+
# 2 PRELIMINARIES
|
| 27 |
+
|
| 28 |
+
Supervised learning typically involves learning classifiers that map an object from its input space to a score between 0 and 1. How can one explain the outcome of a classifier? Recent works on interpretability focus on generating heatmaps or attention that self-explains a classifier (Ribeiro et al., 2016; Chen et al., 2018; Olah et al., 2018). We argue that a more effective and humanintelligent explanation is through the description of the connection with other classifiers.
|
| 29 |
+
|
| 30 |
+
For example, consider an object detector with classifiers $\mathtt { P e r s o n } ( X )$ , $\mathtt { C a r } ( X )$ , Clothing $( X )$ and Inside $( X , X ^ { \prime } )$ that detects if certain region contains a person, a car, a clothing or is inside another region, respectively. To explain why a person is present, one can leverage its connection with other attributes, such as $\boldsymbol { \cdot } _ { X }$ is a person if it’s inside a car and wearing clothing”, as shown in Figure 1. This intuition draws a close connection to a longstanding problem of first-order logic literature, i.e. Inductive Logic Programming (ILP).
|
| 31 |
+
|
| 32 |
+
# 2.1 INDUCTIVE LOGIC PROGRAMMING
|
| 33 |
+
|
| 34 |
+
A typical first-order logic system consists of 3 components: entity, predicate and formula. Entities are objects $\mathbf { x } \in \mathcal { X }$ . For example, for a given image, a certain region is an entity $\mathbf { x }$ , and the set of all possible regions is $\mathcal { X }$ . Predicates are functions that map entities to 0 or 1, for example Person : $\mathbf { x } \mapsto \{ 0 , 1 \}$ , $\mathbf { x } \in \mathcal { X }$ . Classifiers can be seen as soft predicates. Predicates can take multiple arguments, e.g. Inside is a predicate with 2 inputs. The number of arguments is referred to as the arity. Atom is a predicate symbol applied to a logic variable, e.g. $\mathsf { P e r s o n } ( X )$ and Inside $( X , X ^ { \prime } )$ . A logic variable such as $X$ can be instantiated into any object in $\mathcal { X }$ .
|
| 35 |
+
|
| 36 |
+
A first-order logic (FOL) formula is a combination of atoms using logical operations $\{ \land , \lor , \lnot \}$ which correspond to logic and, or and not respectively. Given a set of predicates $\begin{array} { r l } { \mathcal { P } } & { { } = } \end{array}$ $\{ P _ { 1 } , . . . , P _ { K } \}$ , we define the explanation of a predicate $P _ { k }$ as a first-order logic entailment
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
\forall X , X ^ { \prime } \exists Y _ { 1 } , Y _ { 2 } . . . P _ { k } ( X , X ^ { \prime } ) A ( X , X ^ { \prime } , Y _ { 1 } , Y _ { 2 } . . . ) ,
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
where $P _ { k } ( X , X ^ { \prime } )$ is the head of the entailment, and it will become $P _ { k } ( X )$ if it is a unary predicate. $A$ is defined as the rule body and is a general formula, e.g. conjunction normal form (CNF), that is made of atoms with predicate symbols from $\mathcal { P }$ and logic variables that are either head variables $X$ , $X ^ { \prime }$ or one of the body variables $\mathcal { V } = \{ Y _ { 1 } , Y _ { 2 } , . . . \}$ .
|
| 43 |
+
|
| 44 |
+
By using the logic variables, the explanation becomes transferrable as it represents the “lifted” knowledge that does not depend on the specific data. It can be easily interpreted. For example,
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
\mathtt { P e r s o n } ( X ) \gets \mathtt { I n s i d e } ( X , Y _ { 1 } ) \wedge \mathtt { C a r } ( Y _ { 1 } ) \wedge \mathtt { O n } ( Y _ { 2 } , X ) \wedge \mathtt { C l o t h i n g } ( Y _ { 2 } )
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
represents the knowledge that “if an object is inside the car with clothing on it, then it’s a person”. To evaluate a formula on the actual data, one grounds the formula by instantiating all the variables into objects. For example, in Figure 1, Eq.(2) is applied to the specific regions of an image.
|
| 51 |
+
|
| 52 |
+
Given a relational knowledge base (KB) that consists of a set of facts $\{ \langle \mathbf { x } _ { i } , P _ { i } , \mathbf { x } _ { i } ^ { \prime } \rangle \} _ { i = 1 } ^ { N }$ where $P _ { i } \in \mathcal { P }$ and $\mathbf { x } _ { i } , \mathbf { x } _ { i } ^ { \prime } \in \mathcal { X }$ . The task of learning FOL rules in the form of Eq.(1) that entail target predicate $P ^ { * } \in \mathcal { P }$ is called inductive logic programming. For simplicity, we consider unary and binary predicates for the following contents, but this definition can be extended to predicates with higher arity as well.
|
| 53 |
+
|
| 54 |
+
# 2.2 MUTLI-HOP REASONING
|
| 55 |
+
|
| 56 |
+
The ILP problem is closely related to the multi-hop reasoning task on the knowledge graph (Guu et al., 2015; Lao & Cohen, 2010; Lin et al., 2015; Gardner & Mitchell, 2015; Das et al., 2016). Similar to ILP, the task operates on a KB that consists of a set of predicates $\mathcal { P }$ . Here the facts are stored with respect to the predicate $P _ { k }$ which is represented as a binary matrix ${ { \bf { M } } _ { k } }$ in $\{ 0 , 1 \} ^ { | \mathcal { X } | \times | \mathcal { X } | }$ . This is an adjacency matrix, meaning that $\langle \mathbf { x } _ { i } , P _ { k } , \mathbf { x } _ { j } \rangle$ is in the KB if and only if the $( i , j )$ entry of ${ { \bf { M } } _ { k } }$ is 1.
|
| 57 |
+
|
| 58 |
+
Given a query $q = \langle \mathbf { x } , P ^ { * } , \mathbf { x } ^ { \prime } \rangle$ . The task is to find a relational path $\textbf { x } \xrightarrow { P ^ { ( 1 ) } } \dots \xrightarrow { P ^ { ( T ) } } \textbf { x } ^ { \prime }$ , such that the two query entities are connected. Formally, let $\mathbf { v _ { x } }$ be the one-hot encoding of object $\mathbf { x }$ with dimension of $| \mathcal { X } |$ . Then, the $( t )$ th hop of the reasoning along the path is represented as
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\mathbf { v } ^ { ( 0 ) } = \mathbf { v } _ { \mathbf { x } } , \qquad \mathbf { v } ^ { ( t ) } = \mathbf { M } ^ { ( t ) } \mathbf { v } ^ { ( t - 1 ) } ,
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
where $\mathbf { M } ^ { ( t ) }$ is the adjacency matrix of the predicate used in $( t )$ th hop. The $\mathbf { v } ^ { ( t ) }$ is the path features vector, where the jth element v(t)j counts the number of unique paths from $\mathbf { x }$ to $\mathbf { x } _ { j }$ (Guu et al., 2015). After $T$ steps of reasoning, the score of the query is computed as
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\operatorname { s c o r e } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) = \mathbf { v } _ { \mathbf { x } ^ { \prime } } ^ { \top } \prod _ { t = 1 } ^ { T } \mathbf { M } ^ { ( t ) } \cdot \mathbf { v } _ { \mathbf { x } } .
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
For each $q$ , the goal is to (i) find an appropriate $T$ and (ii) for each $t \in [ 1 , 2 , . . . , T ]$ , find the appropriate $\mathbf { M } ^ { ( t ) }$ to multiply, such that Eq.(3) is maximized. These two discrete picks can be relaxed as learning the weighted sum of scores from all possible paths, and weighted sum of matrices at each step. Let
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\kappa ( \mathbf { s } _ { \psi } , \mathbf { S } _ { \varphi } ) \equiv \sum _ { t ^ { \prime } = 1 } ^ { T } s _ { \psi } ^ { ( t ^ { \prime } ) } \left( \prod _ { t = 1 } ^ { t ^ { \prime } } \sum _ { k = 1 } ^ { K } s _ { \varphi , k } ^ { ( t ) } \mathbf { M } _ { k } \right)
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
be the soft path selection function parameterized by (i) the path attention vector $\begin{array} { r l } { \mathbf { s } _ { \psi } } & { { } = } \end{array}$ $[ s _ { \psi } ^ { ( 1 ) } , . . . , s _ { \psi } ^ { ( T ) } ] ^ { \intercal }$ that softly picks the best path with length between 1 to $\mathrm { T }$ that answers the query, and (ii) the operator attention vectors $\mathbf { S } _ { \varphi } = [ \mathbf { s } _ { \varphi } ^ { ( 1 ) } , . . . , \mathbf { s } _ { \varphi } ^ { ( T ) } ] ^ { \top }$ s(T )ϕ ]>, where s(t)ϕ softly picks the $\mathbf { M } ^ { ( t ) }$ at $( t ) { \mathrm { t h } }$ step. Here we omit the dependence on $M _ { k }$ for notation clarity. These two attentions are generated with a model
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
\mathbf { s } _ { \psi } , \mathbf { S } _ { \varphi } = \mathbb { T } ( \mathbf { x } ; \mathbf { w } )
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
with learnable parameters w. For methods such as (Guu et al., 2015; Lao & Cohen, 2010), $\mathbb { T } ( \mathbf { x } ; \mathbf { w } )$ is a random walk sampler which generates one-hot vectors that simulate the random walk on the graph starting from x. And in NeuralLP (Yang et al., 2017), $\mathbb { T } ( \mathbf { x } ; \mathbf { w } )$ is an RNN controller that generates a sequence of normalized attention vectors with $\mathbf { v _ { x } }$ as the initial input. Therefore, the objective is defined as
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\underset { \mathbf { w } } { \arg \operatorname* { m a x } } \sum _ { q } \mathbf { v } _ { \mathbf { x } ^ { \prime } } ^ { \top } \kappa \big ( \mathbf { s } _ { \psi } , \mathbf { S } _ { \varphi } \big ) \mathbf { v } _ { \mathbf { x } } ,
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
Learning the relational path in the multi-hop reasoning can be interpreted as solving an ILP problem with chain-like FOL rules (Yang et al., 2017)
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
P ^ { * } ( X , X ^ { \prime } ) P ^ { ( 1 ) } ( X , Y _ { 1 } ) \land P ^ { ( 2 ) } ( Y _ { 1 } , Y _ { 2 } ) \land \ldots \land P ^ { ( T ) } ( Y _ { n - 1 } , X ^ { \prime } ) .
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
Compared to the template-based ILP methods such as ∂ILP, this class of methods is efficient in rule exploration and evaluation. However, $( \mathbf { P 1 } )$ generating explanations for supervised models puts a high demand on the rule expressiveness. The chain-like rule space is limited in its expressive power because it represents a constrained subspace of the Horn clauses rule space. For example, Eq.(2) is a Horn clause and is not chain-like. And the ability to efficiently search beyond the chain-like rule space is still lacking in these methods. On the other hand, (P2) the attention generator $\mathbb { T } ( \mathbf { x } ; \mathbf { w } )$ is dependent on $\mathbf { x }$ , the subject of a specific query $q$ , meaning that the explanation generated for target $P ^ { * }$ can vary from query to query. This makes it difficult to learn FOL rules that are globally consistent in the KB.
|
| 95 |
+
|
| 96 |
+
# 3 NEURAL LOGIC INDUCTIVE LEARNING
|
| 97 |
+
|
| 98 |
+
In this section, we show the connection between the multi-hop reasoning methods with the general logic entailment defined in Eq.(1). Then we propose a hierarchical rule space to solve (P1), i.e. we extend the chain-like space for efficient learning of more expressive rules.
|
| 99 |
+
|
| 100 |
+
# 3.1 THE OPERATOR VIEW
|
| 101 |
+
|
| 102 |
+
In Eq.(1), variables that only appear in the body are under existential quantifier. We can turn Eq.(1) into Skolem normal form by replacing all variables under existential quantifier with functions with respect to $X$ and $X ^ { \prime }$ ,
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\forall X , X ^ { \prime } \exists \varphi _ { 1 } , \varphi _ { 2 } , \ldots P ^ { * } ( X , X ^ { \prime } ) A ( X , X ^ { \prime } , \varphi _ { 1 } ( X ) , \varphi _ { 1 } ( X ^ { \prime } ) , \varphi _ { 2 } ( X ) , \ldots ) .
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
If the functions are known, Eq.(7) will be much easier to evaluate than Eq.(1). Because grounding this formula only requires to instantiate the head variables, and the rest of the body variables are then determined by the deterministic functions.
|
| 109 |
+
|
| 110 |
+
Functions in Eq.(7) can be arbitrary. But what are the functions that one can utilize? We propose to adopt the notions in section 2.2 and treat each predicate as an operator, such that we have a subspace of the functions $\Phi = \{ \varphi _ { 1 } , . . . , \varphi _ { K } \}$ , where
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\left\{ \begin{array} { l l } { \varphi _ { k } ( \boldsymbol { \mathbf { \rho } } ) = \mathbf { M } _ { k } \ \mathbf { 1 } \quad } & { \mathrm { i f } \ k \in \mathcal { U } , } \\ { \varphi _ { k } ( \mathbf { v _ { x } } ) = \mathbf { M } _ { k } \mathbf { v _ { x } } \quad } & { \mathrm { i f } \ k \in \mathcal { B } , } \end{array} \right.
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
where $\mathcal { U }$ and $\boldsymbol { B }$ are the sets of unary and binary predicates respectively. The operator of the unary predicate takes no input and is parameterized with a diagonal matrix. Intuitively, given a subject entity $\mathbf { x }$ , $\varphi _ { k }$ returns the set embedding (Guu et al., 2015) that represents the object entities that, together with the subject, satisfy the predicate $P _ { k }$ . For example, let $\mathbf { v _ { x } }$ be the one-hot encoding of an object in the image, then $\varphi _ { \mathrm { I n s i d e } } ( \mathbf { v _ { x } } )$ returns the objects that spatially contain the input box. For unary predicate such as $\mathtt { C a r } ( X )$ , its operator $\varphi _ { \mathtt { C a r } } ( \ r ) = \mathbf { M } _ { \mathtt { c a r } } \mathbf { 1 }$ takes no input and returns the set of all objects labelled as car.
|
| 117 |
+
|
| 118 |
+
Since we only use $\Phi$ , a subspace of the functions, the existential variables that can be represented by the operator calls, denoted as $\hat { \mathcal { V } }$ , also form the subset $\hat { \mathcal { V } } \subseteq \mathcal { V }$ . This is slightly constrained from Eq.(1). For example, in $\mathtt { P e r s o n } ( X ) \mathtt { C a r } ( Y ) ,$ $Y$ can not be interpreted as the operator call from $X$ . However, we argue that such rules are generally trivial. For example, it’s not likely to infer “an image contains a person” by simply checking if “there is any car in the image”.
|
| 119 |
+
|
| 120 |
+
Therefore, any FOL formula that complies with Eq.(7) can now be converted into the operator form and vice versa. For example, Eq.(2) can be written as
|
| 121 |
+
|
| 122 |
+
$$
|
| 123 |
+
\mathtt { P e r s o n } ( X ) \gets \mathtt { C a r } ( \varphi _ { \mathtt { I n s i d e } } ( X ) ) \wedge \mathtt { O n } ( \varphi _ { \mathtt { C l o t h i n g } } ( ) , X ) ,
|
| 124 |
+
$$
|
| 125 |
+
|
| 126 |
+
where the variable $Y _ { 1 }$ and $Y _ { 2 }$ are eliminated. Note that this conversion is not unique. For example, $\mathtt { C a r } ( \varphi _ { \mathtt { I n s i d e } } ( X ) )$ can be also written as Inside $( X , \varphi _ { \mathtt { C a r } } ( ) )$ . The variable binding problem now becomes equivalent to the path-finding problem in section 2.2, where one searches for the appropriate chain of operator calls that can represent the variable in $\hat { \mathcal { V } }$ .
|
| 127 |
+
|
| 128 |
+
# 3.2 PRIMITIVE STATEMENTS
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
Figure 2: Factor graphs of example chainlike, tree-like and conjunctions of rules. Each rule type is the subset of the latter. Succ stands for successor.
|
| 132 |
+
|
| 133 |
+
As discussed above, the Eq.(3) is equivalent to a chain-like rule. We want to extend this notion and be able to represent more expressive rules. To do this, we introduce the notion of primitive statement $\psi$ . Note that an atom is defined as a predicate symbol applied to specific logic variables. Similarly, we define a predicate symbol applied to the head variables or those in $\hat { \mathcal { V } }$ as a primitive statement. For example, in Eq.(8), $\psi _ { 1 } \ { \overset { \cdot } { = } } \ \complement \complement ( \varphi _ { \mathrm { I n s i d e } } ( X ) )$ and $\psi _ { 2 } = \mathrm { O n } ( \varphi _ { \mathrm { C l o t h i n g } } ( ) , X )$ are two primitive statements.
|
| 134 |
+
|
| 135 |
+
Similar to an atom, each primitive statement is a mapping from the input space to a scalar confidence score, i.e. $\psi ~ : ~ \hat { \mathbb { R } } ^ { | \mathcal { X } | } \ \times ~ \mathbb { R } ^ { | \mathcal { X } | } \ \mapsto \ s ~ \in$ $[ 0 , 1 ]$ . Formally, for a unary primitive statement $P _ { k } ( \varphi ^ { ( T ^ { \prime } ) } \cdot \ldots \cdot \varphi ^ { ( 1 ) } ( \mathbf { x } ^ { \prime } ) )$ and a binary one $P _ { k } \mathopen { } \mathclose \bgroup \left( \varphi ^ { ( T ) } \aftergroup \egroup \right)$ · $\dots \cdot \varphi ^ { ( 1 ) } ( \mathbf { x } ) , \varphi ^ { ( T ^ { \prime } ) } \cdot \dots \cdot \varphi ^ { ( 1 ) } ( \mathbf { x } ^ { \prime } ) )$ , their mappings are defined as
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
\begin{array} { r } { \psi _ { k } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) = \left\{ \begin{array} { l l } { \sigma ( ( \mathbf { M } _ { k } \mathbf { 1 } ) ^ { \top } ( \prod _ { t ^ { \prime } = 1 } ^ { T ^ { \prime } } \mathbf { M } ^ { ( t ^ { \prime } ) } \mathbf { v } _ { \mathbf { x } ^ { \prime } } ) ) \quad } & { \mathrm { ~ i f ~ } k \in \mathcal { U } , } \\ { \sigma ( ( \mathbf { M } _ { k } \prod _ { t = 1 } ^ { T } \mathbf { M } ^ { ( t ) } \mathbf { v } _ { \mathbf { x } } ) ^ { \top } ( \prod _ { t ^ { \prime } = 1 } ^ { T ^ { \prime } } \mathbf { M } ^ { ( t ^ { \prime } ) } \mathbf { v } _ { \mathbf { x } ^ { \prime } } ) ) \quad } & { \mathrm { ~ i f ~ } k \in \mathcal { B } , } \end{array} \right. } \end{array}
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
where $\sigma ( \cdot )$ is the sigmoid function. Note that we give unary $\psi$ a dummy input $\mathbf { x }$ for notation convenience. For example, in
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
\mathtt { E a r } ( X ) \mathtt { E y e } ( Y _ { 1 } ) \land \mathtt { O f } ( Y _ { 1 } , Y _ { 2 } ) \land \mathtt { O f } ( X , Y _ { 2 } ) ,
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
the body is a single statement $\begin{array} { r l r } { \psi } & { { } = } & { \ O \mathrm { f } \left( \varphi _ { \mathrm { E y e } } ( ) , \varphi _ { \mathrm { O f } } ( X ) \right) } \end{array}$ . Its value is computed as $\psi _ { 0 \mathrm { f } } ( \varphi _ { \mathrm { E y e } } ( ) , \varphi _ { 0 \mathrm { f } } ( \mathbf { v _ { x ^ { \prime } } } ) ) = \sigma ( ( \mathbf { M } _ { 0 \mathrm { f } } \mathbf { M } _ { \mathrm { E y e } } \mathbf { 1 } ) ^ { \top } ( \mathbf { M } _ { 0 \mathrm { f } } \mathbf { v } _ { \mathbf { x ^ { \prime } } } ) )$ . Compared to Eq.(3), Eq.(9) replaces the target $\mathbf { v } _ { \mathbf { x } ^ { \prime } }$ into another relational path. This makes it possible to represent “correlations” between two variables, and the path that starts from the unary operator, e.g. $\varphi _ { \mathrm { E y e } } ( )$ . To see this, one can view a FOL rule as a factor graph with logic variables as the nodes and predicates as the potentials (Cohen et al., 2017). And running the operator call is essentially conducting the belief propagation over the graph in a fixed direction. As shown in Figure 2, primitive statement is capable of representing the tree-like factor graphs, which significantly improves the expressive power of the learned rules.
|
| 148 |
+
|
| 149 |
+
Similarly, Eq.(9) can be relaxed into weighted sums. In Eq.(6), all relational paths are summed with a single path attention vector ${ \bf s } _ { \psi }$ . We extend this notion by assigning separate vectors for each argument of the statement $\psi$ . Let $\mathbf { S } _ { \psi } , \mathbf { S } _ { \psi } ^ { \prime } \in \mathbb { R } ^ { K \times T }$ be the path attention matrices for the first and second argument of all statements in $\Psi$ , i.e. ${ \bf s } _ { \psi , k }$ and $\mathbf { s } _ { \psi , k } ^ { \prime }$ are the path attention vectors of the first and second argument of the $k$ th statement. Then we have
|
| 150 |
+
|
| 151 |
+
$$
|
| 152 |
+
\psi _ { k } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) = \left\{ \begin{array} { l l } { \sigma \left( ( \mathbf { M } _ { k } \mathbf { 1 } ) ^ { \top } ( \kappa ( \mathbf { s } _ { \psi , k } ^ { \prime } , \mathbf { S } _ { \varphi } ) \mathbf { v } _ { \mathbf { x } ^ { \prime } } ) \right) } & { \quad \mathrm { i f } \ k \in \mathcal { U } , } \\ { \sigma \left( ( \mathbf { M } _ { k } \kappa ( \mathbf { s } _ { \psi , k } , \mathbf { S } _ { \varphi } ) \mathbf { v } _ { \mathbf { x } } ) ^ { \top } ( \kappa ( \mathbf { s } _ { \psi , k } ^ { \prime } , \mathbf { S } _ { \varphi } ) \mathbf { v } _ { \mathbf { x } ^ { \prime } } ) \right) } & { \quad \mathrm { i f } \ k \in \mathcal { B } . } \end{array} \right.
|
| 153 |
+
$$
|
| 154 |
+
|
| 155 |
+
# 3.3 LOGIC COMBINATION SPACE
|
| 156 |
+
|
| 157 |
+
By introducing the primitive statements, we are now one step away from representing the running example rule Eq.(8), which is the logic conjunction of two statements $\psi _ { 1 }$ and $\psi _ { 2 }$ . Specifically,
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 3: A hierarchical rule space where the operator calls, statement evaluations and logic combinations are all relaxed into the weight sums with respect to attentions $\mathbf { S } _ { \varphi } , \mathbf { S } _ { \psi } , \mathbf { S } _ { \psi } ^ { \prime } , \mathbf { S } _ { f } , \mathbf { S } _ { f } ^ { \prime }$ and ${ \bf s } _ { o }$ . W/sum denotes the weighted sum, Matmul denotes the matrix product, Neg denotes soft logic not, and XEnt denotes the cross-entropy loss.
|
| 161 |
+
|
| 162 |
+
we want to further extend the rule search space by exploring the logic combinations of primitive statements, via $\{ \land , \lor , \lnot \}$ , as shown in Figure 2. To do this, we utilize the soft logic not and soft logic and operations
|
| 163 |
+
|
| 164 |
+
$$
|
| 165 |
+
\neg p = 1 - p , \qquad p \wedge q = p \ast q ,
|
| 166 |
+
$$
|
| 167 |
+
|
| 168 |
+
where $p , q \ \in \ [ 0 , 1 ]$ . Here we do not include the logic $\vee$ operation because it can be implicitly represented as p ∨ q = ¬(¬p ∧ ¬q). Let Ψ = {ψk(x, x0)}Kk=1 be the set of primitive statements with all possible predicate symbols. We define the formula set at lth level as
|
| 169 |
+
|
| 170 |
+
$$
|
| 171 |
+
\begin{array} { r l } & { \mathcal { F } _ { 0 } = \boldsymbol { \Psi } , } \\ & { \hat { \mathcal { F } } _ { l - 1 } = \mathcal { F } _ { l - 1 } \cup \{ 1 - f ( \mathbf { x } , \mathbf { x } ^ { \prime } ) : f \in \mathcal { F } _ { l - 1 } \} , } \\ & { \mathcal { F } _ { l } = \{ f _ { i } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) \ast f _ { i } ^ { \prime } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) : f _ { i } , f _ { i } ^ { \prime } \in \hat { \mathcal { F } } _ { l - 1 } \} _ { i = 1 } ^ { C } , } \end{array}
|
| 172 |
+
$$
|
| 173 |
+
|
| 174 |
+
where each element in the formula set $\{ f : f \in \mathscr { F } _ { l } \}$ is called a formula such that $f : \mathbb { R } ^ { | \mathcal { X } | } \times \mathbb { R } ^ { | \mathcal { X } | } \mapsto$ $s \in \ [ 0 , 1 ]$ . Intuitively, we define the logic combination space in a similar way as that in pathfinding: the initial formula set contains only primitive statements $\Psi$ , because they are formulas by themselves. For the $l - 1$ th formula set $\mathcal { F } _ { l - 1 }$ , we concatenate it with its logic negation, which yields $\hat { \mathcal { F } } _ { l - 1 }$ . Then each formula in the next level is the logic and of two formulas from $\hat { \mathcal { F } } _ { l - 1 }$ . Enumerating all possible combinations at each level is expensive, so we set up a memory limitation $C$ to indicate the maximum number of combinations each level can keep track of1. In other words, each level $\mathcal { F } _ { l }$ is to search for $C$ logic and combinations on formulas from the previous level $\hat { \mathcal { F } } _ { l - 1 }$ , such that the cth formula at the lth level $f _ { l c }$ is
|
| 175 |
+
|
| 176 |
+
$$
|
| 177 |
+
f _ { l c } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) = f _ { l - 1 , i } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) * f _ { l - 1 , i } ^ { \prime } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) , \qquad f _ { l - 1 , i } , f _ { l - 1 , i } ^ { \prime } \in \hat { \mathcal { F } } _ { l - 1 } .
|
| 178 |
+
$$
|
| 179 |
+
|
| 180 |
+
As an example, for $\Psi = \{ \psi _ { 1 } , \psi _ { 2 } \}$ and $C = 2$ , one possible level sequence is $\mathcal { F } _ { 0 } = \{ \psi _ { 1 } , \psi _ { 2 } \}$ , $\mathcal { F } _ { 1 } = \{ \psi _ { 1 } * \psi _ { 2 } , ( 1 - \psi _ { 2 } ) * \psi _ { 1 } \}$ , $\mathcal { \bar { F } } _ { 2 } = \{ ( \psi _ { 1 } * \psi _ { 2 } ) * \bar { ( } ( 1 - \psi _ { 2 } ) * \psi _ { 1 } ) , \bar { . . . } \}$ and etc. To collect the rules from all levels, the final level $L$ is the union of previous sets, i.e. $\mathcal { F } _ { L } = \mathcal { F } _ { 0 } \cup \dotsc \cup \mathcal { F } _ { L - 1 }$ . Note that Eq.(11) does not explicitly forbid trivial rules such as $\psi _ { 1 } * \left( 1 - \psi _ { 1 } \right)$ that is always true regardless of the input. This is alleviated by introducing nonexistent queries during the training (detailed discussion at section 5).
|
| 181 |
+
|
| 182 |
+
Again, the rule selection can be parameterized into the weighted-sum form with respect to the attentions. We define the formula attention tensors as $\mathbf { S } _ { f } , \mathbf { S } _ { f } ^ { \overline { { \prime } } } \in \mathbb { R } ^ { L - 1 \times C \times 2 C }$ , such that $f _ { l c }$ is the product of two summations over the previous outputs weighted by attention vectors $_ { \mathbf { s } _ { f , l c } }$ and $\mathbf { s } _ { f , l c } ^ { \prime }$ respectively2. Formally, we have
|
| 183 |
+
|
| 184 |
+
$$
|
| 185 |
+
\begin{array} { r } { f _ { l c } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) = \mathbf { s } _ { f , l c } ^ { \top } \mathbf { f } _ { l - 1 } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) * \mathbf { s } _ { f , l c } ^ { \prime \top } \mathbf { f } _ { l - 1 } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) , } \end{array}
|
| 186 |
+
$$
|
| 187 |
+
|
| 188 |
+
where $\mathbf { f } _ { l - 1 } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) \in \mathbb { R } ^ { 2 C }$ is the stacked outputs of all formulas $f \in \hat { \mathcal { F } } _ { l - 1 }$ with arguments $\langle \mathbf { x } , \mathbf { x } ^ { \prime } \rangle$ . Finally, we want to select the best explanation and compute the score for each query. Let ${ \bf s } _ { o }$ be the
|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
Figure 4: The hierarchical Transformer networks for attention generation without conditioning on the query.
|
| 192 |
+
|
| 193 |
+
attention vector over $\mathcal { F } _ { L }$ , so the output score is defined as
|
| 194 |
+
|
| 195 |
+
$$
|
| 196 |
+
\begin{array} { r } { \mathrm { s c o r e } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) = \mathbf { s } _ { o } ^ { \top } \mathbf { f } _ { L } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) . } \end{array}
|
| 197 |
+
$$
|
| 198 |
+
|
| 199 |
+
An overview of the relaxed hierarchical rule space is illustrated in Figure 3.
|
| 200 |
+
|
| 201 |
+
# 4 HIERARCHICAL TRANSFORMER NETWORKS FOR RULE GENERATION
|
| 202 |
+
|
| 203 |
+
We have defined a hierarchical rule space as shown in Figure 3, where the discrete selections on the operators, statements and logic combinations are all relaxed into the weight sums with respect to a series of attention parameters ${ \bf S } _ { \varphi } , { \bf S } _ { \psi } , { \bf S } _ { \psi } ^ { \prime } , { \bf S } _ { f } , { \bf S } _ { f } ^ { \prime }$ and ${ \bf s } _ { o }$ . In this section, we solve $( \mathbf { P } 2 )$ , i.e. we propose a differentiable model that generates these attentions without conditioning on the specific query.
|
| 204 |
+
|
| 205 |
+
The goal of NLIL is to generate data-independent FOL rules. In other words, for each target predicate $P ^ { * }$ , its rule set $\mathcal { F } _ { L }$ and the final output rule should remain unchanged for all the queries $q = \langle \mathbf { x } , P ^ { * } , \mathbf { x } ^ { \prime } \rangle$ (which is different from that in Eq.(5)). To do this, we define the learnable embeddings of all predicates as $\mathbf { H } = [ \mathbf { h } _ { 1 } , . . , \mathbf { h } _ { K } ] ^ { \intercal } \in \mathrm { ~ \mathbb { R } ^ { \it K \times d } ~ }$ , and the embeddings for the “dummy” arguments $X$ and $X ^ { \prime }$ as $\mathbf { e } _ { X } , \mathbf { e } _ { X ^ { \prime } } \in \mathbb { R } ^ { d }$ . We define the attention generation model as
|
| 206 |
+
|
| 207 |
+
$$
|
| 208 |
+
\begin{array} { r } { \mathbf { S } _ { \varphi } , \mathbf { S } _ { \psi } , \mathbf { S } _ { \psi } ^ { \prime } , \mathbf { S } _ { f } , \mathbf { S } _ { f } ^ { \prime } , \mathbf { s } _ { o } = \mathbb { T } ( \mathbf { e } _ { X } , \mathbf { h } ^ { * } , \mathbf { e } _ { X ^ { \prime } } ; \mathbf { w } ) , } \end{array}
|
| 209 |
+
$$
|
| 210 |
+
|
| 211 |
+
where $\mathbf { h } ^ { * }$ is the embedding of $P ^ { * }$ , such that attentions only vary with respect to $P ^ { * }$ .
|
| 212 |
+
|
| 213 |
+
As shown in Figure 4, we propose a stack of three Transformer (Vaswani et al., 2017) networks for attention generator $\mathbb { T }$ . Each module is designed to mimic the actual evaluation that could happen during the operator call, primitive statement evaluation and formula computation respectively with neural networks and “dummy” embeddings. And the attention matrices generated during this simulated evaluation process are kept for evaluating Eq.(14). A MultiHeadAttn is a standard Transformer module such that MultiHeadAttn : ${ \bf Q } ^ { q \times \bar { d } } \times \bar { \bf V } ^ { v \times d } \mapsto { \bf O } ^ { q \times d } \times { \bf S } ^ { q \times v }$ , where $d$ is the latent dimension and $q , v$ are the query and value dimensions respectively. It takes the query $\mathbf { Q }$ and input value $\mathbf { V }$ (which will be internally transformed into keys and values), and returns the output value $\mathbf { O }$ and attention matrix S. Intuitively, $\mathbf { S }$ encodes the “compatibility” between query and the value, and $\mathbf { O }$ represents the “outcome” of a query given its compatibility with the input.
|
| 214 |
+
|
| 215 |
+
Operator search: For target predicate $P ^ { * }$ , we alter the embedding matrix $\mathbf { H }$ with
|
| 216 |
+
|
| 217 |
+
$$
|
| 218 |
+
\hat { \mathbf { h } } _ { k } = \mathrm { F e e d F o r w a r d } ( \mathrm { C o n c a t } ( \mathbf { h } _ { k } , \mathbf { h } ^ { * } ) ) , \qquad \hat { \mathbf { H } } = [ \hat { \mathbf { h } } _ { 1 } , . . . , \hat { \mathbf { h } } _ { K } ] ^ { \top } ,
|
| 219 |
+
$$
|
| 220 |
+
|
| 221 |
+
such that the rule generation is predicate-specific. Let $\mathbf { q } _ { \varphi } ^ { ( t ) }$ be the learnable tth step operator query embedding. The operator transformer module is parameterized as
|
| 222 |
+
|
| 223 |
+
$$
|
| 224 |
+
\begin{array} { r l r l } & { \hat { \mathbf { V } } _ { \varphi } ^ { ( 0 ) } = [ \mathbf { e } _ { X } , \mathbf { e } _ { X ^ { \prime } } ] ^ { \top } , } & & { \hat { \mathbf { Q } } _ { \varphi } = \hat { \mathbf { H } } + \mathbf { e } _ { \varphi } , } \\ & { \hat { \mathbf { V } } _ { \varphi } ^ { ( t ) } , \hat { \mathbf { S } } _ { \varphi } ^ { ( t ) } = \mathrm { M u l t i H e a d A t t n } ( \hat { \mathbf { Q } } _ { \varphi } , \hat { \mathbf { V } } _ { \varphi } ^ { ( t - 1 ) } ) , } & & { \mathbf { v } _ { \varphi } ^ { ( t ) } , \mathbf { s } _ { \varphi } ^ { ( t ) } = \mathrm { M u l t i H e a d A t t n } ( \mathbf { q } _ { \varphi } ^ { ( t ) } , \hat { \mathbf { V } } _ { \varphi } ^ { ( t ) } ) . } \end{array}
|
| 225 |
+
$$
|
| 226 |
+
|
| 227 |
+
Here, $\hat { \mathbf { V } } _ { \varphi } ^ { ( 0 ) }$ is the dummy input embedding representing the starting points of the paths. $\mathbf { e } _ { \varphi }$ is a learnable operator encoding such that $\hat { \mathbf { Q } } _ { \varphi }$ represents the embeddings of all operators $\Phi$ . Therefore,
|
| 228 |
+
|
| 229 |
+
Table 1: MRR, Hits $@ 1 0$ and time (mins) of KB completion tasks.
|
| 230 |
+
|
| 231 |
+
<table><tr><td rowspan="2">Model</td><td colspan="3">FB15K-237</td><td colspan="3">WN18</td></tr><tr><td>MRR</td><td>Hits @10</td><td>Time</td><td>MRR</td><td>Hits@10</td><td>Time</td></tr><tr><td>NeuralLP</td><td>0.24</td><td>36.2</td><td>250</td><td>0.94</td><td>94.5</td><td>54</td></tr><tr><td>TransE</td><td>0.28</td><td>44.5</td><td>35</td><td>0.57</td><td>93.3</td><td>53</td></tr><tr><td>RotatE</td><td>0.34</td><td>52.6</td><td>342</td><td>0.94</td><td>95.5</td><td>254</td></tr><tr><td>NLIL</td><td>0.25</td><td>32.4</td><td>82</td><td>0.95</td><td>94.6</td><td>12</td></tr></table>
|
| 232 |
+
|
| 233 |
+
Table 2: Statistics of benchmark KBs and Visual Genome scene-graphs.
|
| 234 |
+
|
| 235 |
+
<table><tr><td>KB</td><td>#facts</td><td>#entities</td><td># predicates</td></tr><tr><td>ES-10</td><td>17</td><td>10</td><td>3</td></tr><tr><td>ES-50</td><td>77</td><td>50</td><td>3</td></tr><tr><td>ES-1K</td><td>1.5K</td><td>1K</td><td>3</td></tr><tr><td>WN18</td><td>106K</td><td>40K</td><td>18</td></tr><tr><td>FB15K</td><td>272K</td><td>15K</td><td>237</td></tr><tr><td>VG</td><td>1.9M</td><td>1.4M</td><td>2100</td></tr></table>
|
| 236 |
+
|
| 237 |
+
we consider that $\hat { \mathbf { V } } _ { \varphi } ^ { ( t ) }$ encodes the outputs of the operator calls of $K$ predicates. And we aggregate the outputs with another MultiHeadAttn with respect to a single query $\mathbf { q } _ { \varphi } ^ { ( t ) }$ , which in turn yields the operator path attention vector $\mathbf { s } _ { \varphi } ^ { ( t ) }$ and aggregated output $\mathbf { v } _ { \varphi } ^ { ( t ) }$ .
|
| 238 |
+
|
| 239 |
+
Primitive statement search: Let $\mathbf V _ { \varphi } = [ \mathbf v _ { \varphi } ^ { ( 1 ) } , . . . , \mathbf v _ { \varphi } ^ { ( T ) } ] ^ { \top }$ be the output embedding of $T$ paths. The path attention is generated as
|
| 240 |
+
|
| 241 |
+
$$
|
| 242 |
+
\begin{array} { r l r l } & { \mathbf { Q } _ { \psi } = \hat { \mathbf { H } } + \mathbf { e } _ { \psi } , \mathbf { Q } _ { \psi } ^ { \prime } = \hat { \mathbf { H } } + \mathbf { e } _ { \psi } ^ { \prime } , } & & { \tilde { \mathbf { V } } _ { \psi } , \mathbf { S } _ { \psi } = \mathrm { M u l t i H e a d A t t n } ( \mathbf { Q } _ { \psi } , \mathbf { V } _ { \varphi } ) , } \\ & { \tilde { \mathbf { V } } _ { \psi } ^ { \prime } , \mathbf { S } _ { \psi } ^ { \prime } = \mathrm { M u l t i H e a d A t t n } ( \mathbf { Q } _ { \psi } ^ { \prime } , \mathbf { V } _ { \varphi } ) , } & & { \mathbf { V } _ { \psi } = \mathrm { F e e d F o r w a r d } ( \mathrm { C o n c a t } ( \tilde { \mathbf { V } } _ { \psi } , \tilde { \mathbf { V } } _ { \psi } ^ { \prime } ) ) . } \end{array}
|
| 243 |
+
$$
|
| 244 |
+
|
| 245 |
+
Here, $\mathbf { e } _ { \psi }$ and $\mathbf { e } _ { \psi } ^ { \prime }$ are the first and second argument encodings, such that $\mathbf { Q } _ { \psi }$ and $\mathbf { Q } _ { \psi } ^ { \prime }$ encode the arguments of each statement in $\Psi$ . The compatibility between paths and the arguments are computed with two MultiHeadAttns. Finally, a FeedForward is used to aggregate the selections. Its output $\mathbf { V } _ { \psi } \in \mathbb { R } ^ { K \times d }$ represents the results of all statement evaluations in $\Psi$ .
|
| 246 |
+
|
| 247 |
+
Formula search: Let $\mathbf { Q } _ { f , l } , \mathbf { Q } _ { f , l } ^ { \prime } \in \mathbb { R } ^ { C \times d }$ be the learnable queries of the first and second argument of formulas at $l$ th level, and let $\mathbf { V } _ { f , 0 } = \mathbf { V } _ { \psi }$ . The formula attention is generated as
|
| 248 |
+
|
| 249 |
+
$$
|
| 250 |
+
\begin{array} { r l } & { \hat { \mathbf { V } } _ { f , l - 1 } = [ \mathbf { V } _ { f , l - 1 } + \mathbf { e } _ { + } , \mathbf { V } _ { f , l - 1 } + \mathbf { e } _ { - } ] , \qquad \tilde { \mathbf { V } } _ { f , l } , \mathbf { S } _ { f , l } = \mathrm { M u l t i H e a d A t t n } ( \mathbf { Q } _ { f , l } , \hat { \mathbf { V } } _ { f , l - 1 } ) , } \\ & { \tilde { \mathbf { V } } _ { f , l } ^ { \prime } , \mathbf { S } _ { f , l } ^ { \prime } = \mathrm { M u l t i H e a d A t t n } ( \mathbf { Q } _ { f , l } ^ { \prime } , \hat { \mathbf { V } } _ { f , l - 1 } ) , \quad \mathbf { V } _ { f , l } = \mathrm { F e e d F o r w a r d } ( \mathrm { C o n c a t } ( \tilde { \mathbf { V } } _ { f , l } , \tilde { \mathbf { V } } _ { f , l } ^ { \prime } ) ) . } \end{array}
|
| 251 |
+
$$
|
| 252 |
+
|
| 253 |
+
Here, $\mathbf { e } _ { + } , \mathbf { e } _ { - }$ are the learnable embeddings, such that $\hat { \mathbf { V } } _ { f , l - 1 }$ represents the positive and negative states of the formulas at $l - 1$ th level. Similar to the statement search, the compatibility between the logic and arguments and the previous formulas are computed with two MultiHeadAttns. And the embeddings of formulas at $l \mathrm { t h }$ level $\mathbf { V } _ { f , l }$ are aggregated by a FeedForward. Finally, let ${ \bf q } _ { o }$ be the learnable final output query and let $\mathbf { V } _ { o } { = } [ \mathbf { V } _ { f , 0 } , . . . , \mathbf { V } _ { f , L - 1 } ]$ . The output attention is computed as
|
| 254 |
+
|
| 255 |
+
$$
|
| 256 |
+
{ \bf v } _ { o } , { \bf s } _ { o } = \mathrm { M u l t i H e a d A t t n } ( { \bf q } _ { o } , { \bf V } _ { o } ) .
|
| 257 |
+
$$
|
| 258 |
+
|
| 259 |
+
# 5 STOCHASTIC TRAINING AND RULE VISUALIZATIONS
|
| 260 |
+
|
| 261 |
+
The training of NLIL consists of two phases: rule generation and rule evaluation. During generation, we run Eq.(15) to obtain the attentions ${ \bf S } _ { \varphi } , { \bf S } _ { \psi } , { \bf S } _ { \psi } ^ { \prime } , { \bf S } _ { f } , { \bf S } _ { f } ^ { \prime }$ and ${ \bf s } _ { o }$ for all $P ^ { * } s$ . For the evaluation phase, we sample a mini-batch of queries $\{ \langle \mathbf { x } , P ^ { * } , \mathbf { x } ^ { \prime } , y \rangle _ { i } \} _ { i = 1 } ^ { b }$ , and evaluate the formulas using Eq.(14). Here, $y$ is the query label indicating if the triplet exists in the KB or not. We sample nonexistent queries to prevent the model from learning trivial rules that always output 1. In the experiments, these negative queries are sampled uniformly from the target query matrix $M ^ { * }$ where the entry is 0. Then the objective becomes
|
| 262 |
+
|
| 263 |
+
$$
|
| 264 |
+
\underset { \mathbf { w } } { \arg \operatorname* { m i n } } \frac { 1 } { b } \sum _ { i } ^ { b } \mathrm { C r o s s E n t r o p y } ( y _ { i } , \mathbf { s } _ { o } ^ { \top } \mathbf { f } _ { L } ( \mathbf { x } , \mathbf { x } ^ { \prime } ) ) .
|
| 265 |
+
$$
|
| 266 |
+
|
| 267 |
+
Since the attentions are generated from Eq.(15) differentiably, the loss is back-propagated through the attentions into the Transformer networks for end-to-end training.
|
| 268 |
+
|
| 269 |
+
# 5.1 EXTRACTING EXPLICIT RULES
|
| 270 |
+
|
| 271 |
+
During training, the results from operator calls and logic combinations are averaged via attentions. For validation and testing, we evaluate the model with the explicit FOL rules extracted from the attentions. To do this, one can view an attention vector as a categorical distribution. For example, $\mathbf { s } _ { \varphi } ^ { ( t ) }$ is such a distribution over random variables $k \in [ 1 , K ]$ . And the weighted sum is the expectation over $M _ { k }$ . Therefore, one can extract the explicit rules by sampling from the distributions (Kool et al., 2018; Yang et al., 2017).
|
| 272 |
+
|
| 273 |
+

|
| 274 |
+
Figure 5: (a) Time (mins) for solving Even-and-Successor tasks. (-) indicates method runs out of time limit; (b) Running time for different rule lengths; (c) $\mathbb { R } \ @ 1$ for object classification with different training set size.
|
| 275 |
+
|
| 276 |
+
However, since we are interested in the best rules and the attentions usually become highly concentrated on one entity after convergence. We replace the sampling with the arg max, where we get the one-hot encoding of the entity with the largest probability mass.
|
| 277 |
+
|
| 278 |
+
# 6 EXPERIMENTS
|
| 279 |
+
|
| 280 |
+
We first evaluate NLIL on classical ILP benchmarks and compare it with 4 state-of-the-art KB completion methods in terms of their accuracy and efficiency. Then we show NLIL is capable of learning FOL explanations for object classifiers on a large image dataset when scene-graphs are present. Though each scene-graph corresponds to a small KB, the total amount of the graphs makes it infeasible for all classical ILP methods. We show that NLIL can overcome it via efficient stochastic training. Our implementation is available at https://github.com/gblackout/NLIL.
|
| 281 |
+
|
| 282 |
+
# 6.1 CLASSICAL ILP BENCHMARKS
|
| 283 |
+
|
| 284 |
+
We evaluate NLIL together with two state-of-the-art differentiable ILP methods, i.e. NeuralLP (Yang et al., 2017) and ∂ILP (Evans & Grefenstette, 2018), and two structure embedding methods, TransE (Bordes et al., 2013) and RotatE (Sun et al., 2019). Detailed experiments setup is available at Appendix C.
|
| 285 |
+
|
| 286 |
+
Benchmark datasets: (i) Even-and-Successor (ES) benchmark is introduced in (Evans & Grefenstette, 2018), which involves two unary predicates $\operatorname { E v e n } ( X )$ , $\operatorname { Z e r o } ( X )$ and one binary predicate ${ \mathsf { S u c c } } ( X , Y )$ . The goal is to learn FOL rules over a set of integers. The benchmark is evaluated with 10, 50 and 1K consecutive integers starting at 0; (ii) FB15K-237 is a subset of the Freebase knowledge base (Toutanova & Chen, 2015) containing general knowledge facts; (iii) WN18 (Bordes et al., 2013) is the subset of WordNet containing relations between words. Statistics of datasets are provided in Table 2.
|
| 287 |
+
|
| 288 |
+
Knowledge base completion: All models are evaluated on the KB completion task. The benchmark datasets are split into train/valid/test sets. The model is tasked to predict the probability of a fact triplet (query) being present in the KB. We use Mean Reciprocal Ranks (MRR) and Hits $@ 1 0$ for evaluation metrics (see Appendix C for details).
|
| 289 |
+
|
| 290 |
+
Results on Even-and-Successor benchmark are shown in Table 5a. Since the benchmark is noisefree, we only show the wall clock time for completely solving the task. As we have previously mentioned, the forward-chaining method, i.e. ∂ILP scales exponentially in the number of facts and quickly becomes infeasible for 1K entities. Thus, we skip its evaluation for other benchmarks.
|
| 291 |
+
|
| 292 |
+
Results on FB15K-237 and WN18 are shown in Table. 1. Compared to NeuralLP, NLIL yields slightly higher scores. This is due to the benchmarks favor symmetric/asymmetric relations or compositions of a few relations (Sun et al., 2019), such that most valuable rules will already lie within the chain-like search space of NeuralLP. Thus the improvements gained from a larger search space with NLIL are limited. On the other hand, with the Transformer block and smaller model created for each target predicate, NLIL can achieve a similar score at least 3 times faster. Compared to the structure embedding methods, NLIL is significantly outperformed by the current state-of-the-art, i.e. RotatE, on FB15K. This is expected because NLIL searches over the symbolic space that is highly constrained. However, the learned rules are still reasonably predictive, as its performance is comparable to that of TransE.
|
| 293 |
+
|
| 294 |
+
Scalability for long rules: we demonstrate that NLIL can explore longer rules efficiently. We compare the wall clock time of NeuralLP and NLIL for performing one epoch of training against different maximum rule lengths. As shown in Figure 5b, NeuralLP searches over a chain-like rule space thus scales linearly with the length, while NLIL searches over a hierarchical space thus grows in log scale. The search time for length 32 in NLIL is similar to that for length 3 in NerualLP.
|
| 295 |
+
|
| 296 |
+
# 6.2 ILP ON VISUAL GENOME DATASET
|
| 297 |
+
|
| 298 |
+
The ability to perform ILP efficiently extends the applications of NLIL to beyond canonical KB completion. For example in visual object detection and relation learning, supervised models can learn to generate a scene-graph (As shown in Figure 1) for each image. It consists of nodes each labeled as an object class. And each pair of objects are connected with one type of relation. The scene-graph can then be represented as a relational KB where one can perform ILP. Learning the FOL rules on such an output of a supervised model is beneficial. As it provides an alternative way of interpreting model behaviors in terms of its relations with other classifiers that are consistent across the dataset.
|
| 299 |
+
|
| 300 |
+
To show this, we conduct experiments on Visual Genome dataset (Krishna et al., 2016). The original dataset is highly noisy (Zellers et al., 2018), so we use a pre-processed version available as the GQA dataset (Hudson & Manning, 2019). The scene-graphs are converted to a collection KBs, and its statistics are shown in Table 2. We filter out the predicates with less than 1500 occurrences. The processed KBs contain 213 predicates. Then we perform ILP on learning the explanations for the top 150 objects in the dataset.
|
| 301 |
+
|
| 302 |
+
Table 3: $\mathbb { R } \ @ 1$ and $\mathbf { R } @ 5$ for 150 objects classification on VG.
|
| 303 |
+
|
| 304 |
+
<table><tr><td rowspan="2">Model</td><td colspan="2">Visual Genome</td></tr><tr><td>R@1</td><td>R@5</td></tr><tr><td>MLP+RCNN</td><td>0.53</td><td>0.81</td></tr><tr><td>Freq</td><td>0.40</td><td>0.44</td></tr><tr><td>NLIL</td><td>0.51</td><td>0.52</td></tr></table>
|
| 305 |
+
|
| 306 |
+
Quantitatively, we evaluate the learned rules on predicting the object class labels on a held-out set in terms of their $\mathbb { R } \ @ 1$ and $\mathbf { R } @ 5$ . As none of the ILP works scale to this benchmark, we compare NLIL with two supervised baselines: (i) MLP-RCNN: a MLP classifier with RCNN features of the object (available in GQA dataset) as input; and (ii) Freq: a frequency-based baseline that predicts object label by looking at the mostly occurred object class in the relation that contains the target. This method is nontrivial. As noted in (Zellers et al., 2018), a large number of triples in Visual Genome are highly predictive by knowing only the relation type and either one of the objects or subjects.
|
| 307 |
+
|
| 308 |
+
Explaining objects with rules: Results are shown in Table 3. We see that the supervised method achieves the best scores, as it relies on highly informative visual features. On the other hand, NLIL achieves a comparable score on $\mathbf { R } \ @ 1$ solely relying on KBs with sparse binary labels. We note that NLIL outperforms Freq significantly. This means the FOL rules learned by NLIL are beyond the superficial correlations exhibited by the dataset. We verify this finding by showing the rules for top objects in Table 4.
|
| 309 |
+
|
| 310 |
+
Induction for few-shot learning: Logic inductive learning is data-efficient and the learned rules are highly transferrable. To see this, we vary the size of the training set and compare the $\mathbf { R } \ @ 1$ scores for 3 methods. As shown in Figure 5c, the NLIL maintains a similar $\mathbf { R } \ @ 1$ score with less than $1 \%$ of the training set.
|
| 311 |
+
|
| 312 |
+
# 7 CONCLUSION
|
| 313 |
+
|
| 314 |
+
In this work, we propose Neural Logic Inductive Learning, a differentiable ILP framework that learns explanatory rules from data. We demonstrate that NLIL can scale to very large datasets while being able to search over complex and expressive rules. More importantly, we show that a scalable ILP method is effective in explaining decisions of supervised models, which provides an alternative perspective for inspecting the decision process of machine learning systems.
|
| 315 |
+
|
| 316 |
+
# ACKNOWLEDGMENTS
|
| 317 |
+
|
| 318 |
+
This project is partially supported by DARPA ASED program under FA8650-18-2-7882. We thank Ramesh Arvind3 and Hoon $\mathrm { { \dot { N } a ^ { 4 } } }$ for implementing the MLP baseline.
|
| 319 |
+
|
| 320 |
+
# REFERENCES
|
| 321 |
+
|
| 322 |
+
Ivana Balazevi ˇ c, Carl Allen, and Timothy M Hospedales. Tucker: Tensor factorization for knowl- ´ edge graph completion. arXiv preprint arXiv:1901.09590, 2019.
|
| 323 |
+
|
| 324 |
+
Antoine Bordes, Nicolas Usunier, Alberto Garcia-Duran, Jason Weston, and Oksana Yakhnenko. Translating embeddings for modeling multi-relational data. In Advances in neural information processing systems, pp. 2787–2795, 2013.
|
| 325 |
+
|
| 326 |
+
Andres Campero, Aldo Pareja, Tim Klinger, Josh Tenenbaum, and Sebastian Riedel. Logical rule induction and theory learning using neural theorem proving. arXiv preprint arXiv:1809.02193, 2018.
|
| 327 |
+
|
| 328 |
+
Xinlei Chen, Li-Jia Li, Li Fei-Fei, and Abhinav Gupta. Iterative visual reasoning beyond convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 7239–7248, 2018.
|
| 329 |
+
|
| 330 |
+
William W Cohen, Fan Yang, and Kathryn Rivard Mazaitis. TensorLog: Deep learning meets probabilistic DBs. July 2017.
|
| 331 |
+
|
| 332 |
+
Rajarshi Das, Arvind Neelakantan, David Belanger, and Andrew McCallum. Chains of reasoning over entities, relations, and text using recurrent neural networks. arXiv preprint arXiv:1607.01426, 2016.
|
| 333 |
+
|
| 334 |
+
Rajarshi Das, Shehzaad Dhuliawala, Manzil Zaheer, Luke Vilnis, Ishan Durugkar, Akshay Krishnamurthy, Alex Smola, and Andrew McCallum. Go for a walk and arrive at the answer: Reasoning over paths in knowledge bases using reinforcement learning. arXiv preprint arXiv:1711.05851, 2017.
|
| 335 |
+
|
| 336 |
+
Honghua Dong, Jiayuan Mao, Tian Lin, Chong Wang, Lihong Li, and Denny Zhou. Neural logic machines. In International Conference on Learning Representations, 2019. URL https:// openreview.net/forum?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ B1xY-hRctX.
|
| 337 |
+
|
| 338 |
+
Richard Evans and Edward Grefenstette. Learning explanatory rules from noisy data. Journal of Artificial Intelligence Research, 61:1–64, 2018.
|
| 339 |
+
|
| 340 |
+
Luis Galarraga, Christina Teflioudi, Katja Hose, and Fabian M Suchanek. Fast rule mining in onto- ´ logical knowledge bases with amie+. The VLDB JournalThe International Journal on Very Large Data Bases, 24(6):707–730, 2015.
|
| 341 |
+
|
| 342 |
+
Matt Gardner and Tom Mitchell. Efficient and expressive knowledge base completion using subgraph feature extraction. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 1488–1498, 2015.
|
| 343 |
+
|
| 344 |
+
Riccardo Guidotti, Anna Monreale, Salvatore Ruggieri, Franco Turini, Fosca Giannotti, and Dino Pedreschi. A survey of methods for explaining black box models. ACM computing surveys (CSUR), 51(5):93, 2019.
|
| 345 |
+
|
| 346 |
+
Kelvin Guu, John Miller, and Percy Liang. Traversing knowledge graphs in vector space. arXiv preprint arXiv:1506.01094, 2015.
|
| 347 |
+
|
| 348 |
+
Vinh Thinh Ho, Daria Stepanova, Mohamed H Gad-Elrab, Evgeny Kharlamov, and Gerhard Weikum. Rule learning from knowledge graphs guided by embedding models. In International Semantic Web Conference, pp. 72–90. Springer, 2018.
|
| 349 |
+
|
| 350 |
+
Drew A Hudson and Christopher D Manning. Gqa: A new dataset for real-world visual reasoning and compositional question answering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6700–6709, 2019.
|
| 351 |
+
|
| 352 |
+
Wouter Kool, Herke van Hoof, and Max Welling. Attention, learn to solve routing problems! arXiv preprint arXiv:1803.08475, 2018.
|
| 353 |
+
|
| 354 |
+
Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A Shamma, Michael Bernstein, and Li Fei-Fei. Visual genome: Connecting language and vision using crowdsourced dense image annotations. 2016. URL https://arxiv.org/abs/1602.07332.
|
| 355 |
+
|
| 356 |
+
Ni Lao and William W Cohen. Relational retrieval using a combination of path-constrained random walks. Machine learning, 81(1):53–67, 2010.
|
| 357 |
+
|
| 358 |
+
Nada Lavrac and Saso Dzeroski. Inductive logic programming. In WLP, pp. 146–160. Springer, 1994.
|
| 359 |
+
|
| 360 |
+
Yankai Lin, Zhiyuan Liu, Huanbo Luan, Maosong Sun, Siwei Rao, and Song Liu. Modeling relation paths for representation learning of knowledge bases. arXiv preprint arXiv:1506.00379, 2015.
|
| 361 |
+
|
| 362 |
+
Zachary C Lipton. The mythos of model interpretability. arXiv preprint arXiv:1606.03490, 2016.
|
| 363 |
+
|
| 364 |
+
Pasquale Minervini, Matko Bosnjak, Tim Rocktaschel, and Sebastian Riedel. Towards neural theo-¨ rem proving at scale. arXiv preprint arXiv:1807.08204, 2018.
|
| 365 |
+
|
| 366 |
+
Brent Mittelstadt, Chris Russell, and Sandra Wachter. Explaining explanations in ai. In Proceedings of the conference on fairness, accountability, and transparency, pp. 279–288. ACM, 2019.
|
| 367 |
+
|
| 368 |
+
Chris Olah, Arvind Satyanarayan, Ian Johnson, Shan Carter, Ludwig Schubert, Katherine Ye, and Alexander Mordvintsev. The building blocks of interpretability. Distill, 3(3):e10, 2018.
|
| 369 |
+
|
| 370 |
+
Pouya Ghiasnezhad Omran, Kewen Wang, and Zhe Wang. Scalable rule learning via learning representation. In IJCAI, pp. 2149–2155, 2018.
|
| 371 |
+
|
| 372 |
+
Ali Payani and Faramarz Fekri. Inductive logic programming via differentiable deep neural logic networks. arXiv preprint arXiv:1906.03523, 2019.
|
| 373 |
+
|
| 374 |
+
Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. Why should i trust you?: Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, pp. 1135–1144. ACM, 2016.
|
| 375 |
+
|
| 376 |
+
Tim Rocktaschel and Sebastian Riedel. End-to-end differentiable proving. In ¨ Advances in Neural Information Processing Systems, pp. 3788–3800, 2017.
|
| 377 |
+
|
| 378 |
+
Richard Socher, Danqi Chen, Christopher D Manning, and Andrew Ng. Reasoning with neural tensor networks for knowledge base completion. In Advances in neural information processing systems, pp. 926–934, 2013.
|
| 379 |
+
|
| 380 |
+
Zhiqing Sun, Zhi-Hong Deng, Jian-Yun Nie, and Jian Tang. Rotate: Knowledge graph embedding by relational rotation in complex space. arXiv preprint arXiv:1902.10197, 2019.
|
| 381 |
+
|
| 382 |
+
Kristina Toutanova and Danqi Chen. Observed versus latent features for knowledge base and text inference. In Proceedings of the 3rd Workshop on Continuous Vector Space Models and their Compositionality, pp. 57–66, 2015.
|
| 383 |
+
|
| 384 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, pp. 5998–6008, 2017.
|
| 385 |
+
|
| 386 |
+
Fan Yang, Zhilin Yang, and William W Cohen. Differentiable learning of logical rules for knowledge base reasoning. In Advances in Neural Information Processing Systems, pp. 2319–2328, 2017.
|
| 387 |
+
|
| 388 |
+
Rowan Zellers, Mark Yatskar, Sam Thomson, and Yejin Choi. Neural motifs: Scene graph parsing with global context. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 5831–5840, 2018.
|
| 389 |
+
|
| 390 |
+
# A RELATED WORK
|
| 391 |
+
|
| 392 |
+
Inductive Logic Programming (ILP) is the task that seeks to summarize the underlying patterns shared in the data and express it as a set of logic programs (or rule/formulae) (Lavrac & Dzeroski, 1994). Traditional ILP methods such as $\mathrm { A M E + }$ (Galarraga et al., 2015) and RLvLR (Omran et al., ´ 2018) relies on explicit search-based method for rule mining with various pruning techniques. These works can scale up to very large knowledge bases. However, the algorithm complexity grows exponentially in the size of the variables and predicates involved. The acquired rules are often restricted to Horn clauses with a maximum length of less than 3, limiting the expressiveness of the rules. On the other hand, compared to the differentiable approach, traditional methods make use of hard matching and discrete logic for rule search, which lacks the tolerance for ambiguous and noisy data.
|
| 393 |
+
|
| 394 |
+
The state-of-the-art differentiable forward-chaining methods focus on rule learning on predefined templates (Evans & Grefenstette, 2018; Campero et al., 2018; Ho et al., 2018), typically in the form of a Horn clause with one head predicate and two body predicates with chain-like variables, i.e.
|
| 395 |
+
|
| 396 |
+
$$
|
| 397 |
+
P ^ { * } ( X , X ^ { \prime } ) P _ { 1 } ( X , Y ) \land P _ { 2 } ( Y , X ^ { \prime } ) .
|
| 398 |
+
$$
|
| 399 |
+
|
| 400 |
+
To evaluate the rules, one starts with a background set of facts and repeatedly apply rules for every possible triple until no new facts can be deduced. Then the deduced facts are compared with a heldout ground-truth set. Rules that are learned in this approach are in first-order, i.e. data-independent and can be readily interpreted. However, the deducing phase can quickly become infeasible with a larger background set. Although ∂ILP (Evans & Grefenstette, 2018) has proposed to alleviate by performing only a fixed number of steps, works of this type could generally scale to KBs with less than 1K facts and 100 entities. On the other hand, differentiable backward-chaining methods such as NTP (Rocktaschel & Riedel, 2017) are more efficient in rule evaluation. In (Minervini et al., ¨ 2018), NTP 2.0 can scale to larges KBs such as WordNet. However, FOL rules are searched with templates, so the expressiveness is still limited.
|
| 401 |
+
|
| 402 |
+
Another differentiable ILP method, i.e. Neural Logic Machine (NLM), is proposed in (Dong et al., 2019), which learns to represent logic predicates with tensorized operations. NLM is capable of both deductive and inductive learning on predicates with unknown arity. However, as a forward-chaining method, it also suffers from the scalability issue as ∂ILP. It involves a permutation operation over the tensors when performing logic deductions, making it difficult to scale to real-world KBs. On the other hand, the inductive rules learned by NLM are encoded by the network parameters implicitly, so it does not support representing the rules with explicit predicate and logic variable symbols.
|
| 403 |
+
|
| 404 |
+
Multi-hop reasoning: Multi-hop reasoning methods (Guu et al., 2015; Lao & Cohen, 2010; Lin et al., 2015; Gardner & Mitchell, 2015; Das et al., 2016; Yang et al., 2017) such as NeuralLP (Yang et al., 2017) construct rule on-the-fly when given a specific query. It adopts a flexible ILP setting: instead of pre-defining templates, it assumes a chain-like Horn clause can be constructed to answer the query
|
| 405 |
+
|
| 406 |
+
$$
|
| 407 |
+
P ^ { * } ( X , X ^ { \prime } ) P ^ { ( 1 ) } ( X , Y _ { 1 } ) \land P ^ { ( 2 ) } ( Y _ { 1 } , Y _ { 2 } ) \land \ldots \land P ^ { ( T ) } ( Y _ { n - 1 } , X ^ { \prime } ) .
|
| 408 |
+
$$
|
| 409 |
+
|
| 410 |
+
And each step of the reasoning in the chain can be efficiently represented by matrix multiplication. The resulting algorithm is highly scalable compared to the forward-chaining counter-parts and can learn rules on large datasets such as FreeBase. However, this approach reasons over a single chainlike path, and the path is sampled by performing random walks that are independent on the task context (Das et al., 2017), limiting the rule expressiveness. On the other hand, the FOL rule is generated while conditioning on the specific query, making it difficult to extract rules that are globally consistent.
|
| 411 |
+
|
| 412 |
+
Link prediction with relational embeddings: Besides multi-hop reasoning methods, a number of works are proposed for KB completion using learnable embeddings for KB relations. For example, In (Bordes et al., 2013; Sun et al., 2019; Balazevi ˇ c et al., 2019) it learns to map KB relations into ´ vector space and predict links with scoring functions. NTN (Socher et al., 2013), on the other hand, parameterizes each relation into a neural network. In this approach, embeddings are used for predicting links directly, thus its prediction cannot be interpreted as explicit FOL rules. This is different from that in NLIL, where predicate embeddings are used for generating data-independent rules.
|
| 413 |
+
|
| 414 |
+
Table 4: Example rules learned by NLIL
|
| 415 |
+
|
| 416 |
+
<table><tr><td rowspan=1 colspan=1>Person(X) ← (Shirt(Yi) ^ Wearing(X,Yi))V(Pants(Y2) ^ Wearing(X,Y2))V(Street(Y3)^WalkingOn(X,Y3))</td></tr><tr><td rowspan=1 colspan=1>Tree(X) ← (Leaf(Yi) ∧At(Yi,X))V(SideWalk(Y2) ∧ Near(Y2,X))</td></tr><tr><td rowspan=1 colspan=1>Shirt(X) ← (Person(Yi) ^ Wearing(Yi,X)) V(Child(Y2)^Wearing(Y2,X))</td></tr><tr><td rowspan=1 colspan=1>Sky(X) ← (Clouds(Yi) ^ in(Yi,X)) V(Airplane(Y2)^Below(X,Y2))</td></tr><tr><td rowspan=1 colspan=1>Head(X)← Helmet(Yi)^Above(Y1,X)</td></tr><tr><td rowspan=1 colspan=1>Head(X) ← Wearing(Yi,Y2)^SittingOn(X,Yi)^ Hat(Y2)</td></tr><tr><td rowspan=1 colspan=1>Sign(X) ← (Number(Yi)^ On(Yi,X))V (Post(Y2) ^ On(Y2,X))V(Letter(Y3)^ In(Y3,X))</td></tr><tr><td rowspan=1 colspan=1>Sign(X) ← StreetLight(Yi) ^ On(Yi,Y2)^ On(X,Y2)</td></tr><tr><td rowspan=1 colspan=1>Ground(X) ← (Dog(Yi) ∧ On(Yi,X)) V(Grass(Y2) ^ CoveredBy(X,Y2))</td></tr><tr><td rowspan=1 colspan=1>Car(X)←Wheel(Yi)^Of(Yi,X)∧Window(Y2)∧ Of(Y2,X)</td></tr><tr><td rowspan=1 colspan=1>Sidewalk(X) ← Person(Yi) ^WalkingOn(Yi,X) ^ Street(Y2) ^ Near(X,Y2)</td></tr><tr><td rowspan=1 colspan=1>Car(X)←Wheel(Yi)^Of(Yi,X)∧Window(Y2)∧ Of(Y2,X)</td></tr><tr><td rowspan=1 colspan=1>Ear(X)←Eye(Yi)^ Of(Yi,Y2)∧ Of(X,Y2)</td></tr><tr><td rowspan=1 colspan=1>Chair(X) ← Arm(Yi) ^ In(Y,X) ^ Person(Y2)^ SittingOn(Y2,X)</td></tr></table>
|
| 417 |
+
|
| 418 |
+
# B CHALLENGES IN ILP
|
| 419 |
+
|
| 420 |
+
Standard ILP approaches are difficult and involve several procedures that have been proved to be NP-hard. The complexity comes from 3 levels: first, the search space for a formula is vast. The body of the entailment can be arbitrarily long and the same predicate can appear multiple times with different variables, for example, the Inside predicate in Eq.(2) appears twice. Most ILP works constrain the logic entailment to be Horn clause, i.e. the body of the entailment is a flat conjunction over literals, and the length limited within 3 for large datasets.
|
| 421 |
+
|
| 422 |
+
Second, constructing formulas also involves assigning logic variables that are shared across different predicates, which we refer to as variable binding. For example, in Eq.(2), to express that a person is inside the car, we use $X$ and $Y$ to represent the region of a person and that of a car, and the same two variables are used in Inside to express their relations. Different bindings lead to different meanings. For a formula with $n$ arguments (Eq.(2) has 7), there are $\mathcal { O } ( n ^ { n } )$ possible assignments. Existing ILP works either resort to constructing formula from pre-defined templates (Evans & Grefenstette, 2018; Campero et al., 2018) or from chain-like variable reference (Yang et al., 2017), limiting the expressiveness of the learned rules.
|
| 423 |
+
|
| 424 |
+
Finally, evaluating a formula candidate is expensive. A FOL rule is data-independent. To evaluate it, one needs to replace the variables with actual entities and compute its value. This is referred to as grounding or instantiation. Each variable used in a formula can be grounded independently, meaning a formula with $n$ variables can be instantiated into ${ \mathcal { O } } ( C ^ { n } )$ grounded formulas, where $C$ is the number of total entities. For example, Eq.(2) contains 3 logic variables: $X$ , $Y$ and $Z$ . To evaluate this formula, one needs to instantiate these variables into $C ^ { 3 }$ possible combinations, and check if the rule holds or not in each case. However in many domains, such as object detection, such grounding space is vast (e.g. all possible bounding boxes of an image) making the full evaluation infeasible. Many forward-chaining methods such as ∂ILP (Evans & Grefenstette, 2018) scales exponentially in the size of the grounding space, thus are limited to small scale datasets with less than 10 predicates and 1K entities.
|
| 425 |
+
|
| 426 |
+
# C EXPERIMENTS
|
| 427 |
+
|
| 428 |
+
Baselines: For NeuralLP, we use the official implementation at here. For ∂ILP, we use the thirdparty implementation at here. For TransE, we use the implementation at here. For RotatE, we use the official implementation at here.
|
| 429 |
+
|
| 430 |
+
Table 5: Example low-accuracy rules learned by NLIL.
|
| 431 |
+
|
| 432 |
+
<table><tr><td rowspan=1 colspan=1>Bush(X)← -Tree(X)</td></tr><tr><td rowspan=1 colspan=1>Bus(X)← -(Shirt(Yi)^Wearing(Yi,X))</td></tr><tr><td rowspan=1 colspan=1>Backpack(X)← Person(Yi) ^With(Y,X)</td></tr><tr><td rowspan=1 colspan=1>Flowers(X)← Pot(Yi)^With(X,Yi)</td></tr><tr><td rowspan=1 colspan=1>Dirt(X) ← Ground(Yi) ^Near(Yi,X)</td></tr></table>
|
| 433 |
+
|
| 434 |
+
Model setting: For NLIL, we create separate Transformer blocks for each target predicate. All experiments are conducted on a machine with i7-8700K, 32G RAM and one GTX1080ti. We use the embedding size $d = 3 2$ . We use 3 layers of multi-head attentions for each Transformer network. The number of attention heads are set to number of heads $= 4$ for encoder, and the first two layers of the decoder. The last layer of the decoder has one attention head to produce the final attention required for rule evaluation.
|
| 435 |
+
|
| 436 |
+
For KB completion task, we set the number of operator calls $T = 2$ and formula combinations $L = 0$ , as most of the relations in those benchmarks can be recovered by symmetric/asymmetric relations or compositions of a few relations (Sun et al., 2019). Thus complex formulas are not preferred. For FB15K-237, binary predicates are grouped hierarchically into domains. To avoid unnecessary search overhead, we use the most frequent 20 predicates that share the same root domain (e.g. “award”, “location”) with the head predicate for rule body construction, which is a similar treatment as in (Yang et al., 2017). For VG dataset, we set $T = 3$ , $L = 2$ and $C = 4$ .
|
| 437 |
+
|
| 438 |
+
Evaluation metrics: Following the conventions in (Yang et al., 2017; Bordes et al., 2013) we use Mean Reciprocal Ranks (MRR) and Hits $@ 1 0$ for evaluation metrics. For each query $\langle \mathbf { x } , P _ { k } , \mathbf { x } ^ { \prime } \rangle$ , the model generates a ranking list over all possible groundings of predicate $P _ { k }$ , with other groundtruth triplets filtered out. Then MRR is the average of the reciprocal rank of the queries in their corresponding lists, and Hits $@ 1 0$ is the percentage of queries that are ranked within the top 10 in the list.
|
parse/train/SJlh8CEYDB/SJlh8CEYDB_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJlh8CEYDB/SJlh8CEYDB_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJlh8CEYDB/SJlh8CEYDB_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/YTWGvpFOQD-/YTWGvpFOQD-_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/eEn8KTtJOx/eEn8KTtJOx.md
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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VinAI Research, 2Hanoi University of Science and Technology, 3VinUniversity
|
| 5 |
+
{v.anhnt479,v.anhtt152}@vinai.io
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
With the thriving of deep learning and the widespread practice of using pretrained networks, backdoor attacks have become an increasing security threat drawing many research interests in recent years. A third-party model can be poisoned in training to work well in normal conditions but behave maliciously when a trigger pattern appears. However, the existing backdoor attacks are all built on noise perturbation triggers, making them noticeable to humans. In this paper, we instead propose using warping-based triggers. The proposed backdoor outperforms the previous methods in a human inspection test by a wide margin, proving its stealthiness. To make such models undetectable by machine defenders, we propose a novel training mode, called the “noise” mode. The trained networks successfully attack and bypass the state of the art defense methods on standard classification datasets, including MNIST, CIFAR-10, GTSRB, and CelebA. Behavior analyses show that our backdoors are transparent to network inspection, further proving this novel attack mechanism’s efficiency. Our code is publicly available at https://github.com/VinAIResearch/ Warping-based_Backdoor_Attack-release.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Deep learning models are essential in many modern systems due to their superior performance compared to classical methods. Most state-of-the-art models, however, require expensive hardware, huge training data, and long training time. Hence, instead of training the models from scratch, it is a common practice to use pre-trained networks provided by third-parties these days. This poses a serious security threat of backdoor attack (Gu et al., 2017). A backdoor model is a network poisoned either at training or finetuning. It can work as a genuine model in the normal condition. However, when a specific trigger appears in the input, the model will act maliciously, as designed by the attacker. Backdoor attack can occur in various tasks, including image recognition (Chen et al., 2017), speech recognition (Liu et al., 2018b), natural language processing (Dai et al., 2019), and reinforcement learning (Hamon et al., 2020). In this paper, we will focus on image classification, the most popular attacking target with possible fatal consequences (e.g., for self-driving car).
|
| 14 |
+
|
| 15 |
+
Since introduced, backdoor attack has drawn a lot of research interests (Chen et al., 2017; Liu et al., 2018b; Salem et al., 2020; Nguyen & Tran, 2020). In most of these works, trigger patterns are based on patch perturbation or image blending. Recent papers have proposed novel patterns such as sinusoidal strips (Barni et al., 2019), and reflectance (Liu et al., 2020). These backdoor triggers, however, are unnatural and can be easily spotted by humans.
|
| 16 |
+
|
| 17 |
+
We believe that the added content, such as noise, strips, or reflectance, causes the backdoor samples generated by the previous methods strikingly detectable. Instead, we propose to use image warping that can deform but preserve image content. We also found that humans are not good at recognizing subtle image warping, while machines are excellent in this task.
|
| 18 |
+
|
| 19 |
+
Hence, in this paper, we design a novel, simple, but effective backdoor attack based on image warping called WaNet. We use a small and smooth warping field in generating backdoor images, making the modification unnoticeable, as illustrated in Fig. 1. Our backdoor images are natural and hard to be distinguished from the genuine examples, confirmed by our user study described in Sec. 4.3.
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Comparison between backdoor examples generated by our method and by the previous backdoor attacks. Given the original image (leftmost), we generate the corresponding backdoor images using patch-based attacks (Gu et al., 2017; Liu et al., 2018b), blending-based attack (Chen et al., 2017), SIG (Barni et al., 2019), ReFool (Liu et al., 2020), and our method. For each method, we show the image (top), the magnified $( \times 2 )$ residual map (bottom). The images generated from the previous attacks are unnatural and can be detected by humans. In constrast, ours is almost identical to the original image, and the difference is unnoticeable.
|
| 23 |
+
|
| 24 |
+
To obtain a backdoor model, we first follow the common training procedure by poisoning a part of training data with a fixed ratio of $\rho _ { a } \in ( 0 , 1 )$ . While the trained networks provide high clean and attack accuracy, we found that they “cheated” by learning pixel-wise artifacts instead of the warping itself. It makes them easy to be caught by a popular backdoor defense Neural Cleanse. Instead, we add another mode in training, called “noise mode”, to enforce the models to learn only the predefined backdoor warp. This novel training scheme produces satisfactory models that are both effective and stealthy.
|
| 25 |
+
|
| 26 |
+
Our attack method achieves invisibility without sacrificing accuracy. It performs similarly to stateof-the-art backdoor methods in terms of clean and attack accuracy, verified on common benchmarks such as MNIST, CIFAR-10, GTSRB, and CelebA. Our attack is also undetectable by various backdoor defense mechanisms; none of existing algorithms can recognize or mitigate our backdoor. This is because the attack mechanism of our method is drastically different from any existing attack, breaking the assumptions of all defense methods.
|
| 27 |
+
|
| 28 |
+
Finally, we demonstrate that our novel backdoor can be a practical threat by deploying it for physical attacks. We tested the backdoor classifier with camera-captured images of physical screens. Despite image quality degradation via extreme capturing conditions, our backdoor is well-preserved, and the attack accuracy stays near $100 \%$ .
|
| 29 |
+
|
| 30 |
+
In short, we introduce a novel backdoor attack via image warping. To train such a model, we extend the standard backdoor training scheme by introducing a “noise” training mode. The attack is effective, and the backdoor is imperceptible by both humans and computational defense mechanisms. It can be deployed for physical attacks, creating a practical threat to deep-learning-based systems 1.
|
| 31 |
+
|
| 32 |
+
# 2 BACKGROUND
|
| 33 |
+
|
| 34 |
+
# 2.1 THREAT MODEL
|
| 35 |
+
|
| 36 |
+
Backdoor attacks are techniques of poisoning a system to have a hidden destructive functionality. The poisoned system can work genuinely on clean inputs but misbehave when a specific trigger pattern appears. In the attack mode for image classification, backdoor models can return a predefined target label, normally incorrect, regardless of image content. It allows the attacker to gain illegal benefits. For example, a backdoor face authentication system may allow the attacker to access whenever he puts a specific sticker on the face.
|
| 37 |
+
|
| 38 |
+
Backdoors can be injected into the deep model at any stage. We consider model poisoning at training since it is the most used threat model. The attacker has total control over the training process and maliciously alters data for his attack purposes. The poisoned model is then delivered to customers to deploy as-is. In our proposed attack, the attacker selects a fixed warping field and uses it to generate all the backdoor images in training and in testing-time attacks.
|
| 39 |
+
|
| 40 |
+
# 2.2 PREVIOUS BACKDOOR ATTACKS
|
| 41 |
+
|
| 42 |
+
We focus on backdoor attacks on image classification. The target network is trained for a classification task $f : \mathbb { X } \to \mathbb { C }$ , where $\mathbb { X }$ is an image domain and $\mathbb { C } = \operatorname { \bar { \{ } c _ { 1 } , } c _ { 2 } , . . . , c _ { M } \}$ is a set of $M$ target classes. When poisoning $f$ , we enforce it to learn an injection function $\boldsymbol { B }$ , a target label function $c$ , and alter the network behaviour so that:
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
f ( \pmb { x } ) = y , \quad f ( \pmb { B } ( \pmb { x } ) ) = c ( y )
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
for any pair of clean image $\pmb { x } \in \mathbb { X }$ and the corresponding label $y \in \mathbb { C }$
|
| 49 |
+
|
| 50 |
+
The earliest backdoor attack was BadNets (Gu et al., 2017). The authors suggested to poison a portion of training data by replacing each clean data pair $( { \pmb x } , y )$ with the corresponding poisoned pair $( B ( { \pmb x } ) , c ( { \pmb y } ) )$ . The injection function $\boldsymbol { B }$ simply replaces a fixed patch of the input image by a predefined trigger pattern. As for the target label function $c ( y )$ , the authors proposed two tests: (1) all-to-one with a constant target label $c ( y ) = { \hat { c } }$ and (2) all-to-all with $c ( y ) = y + 1$ .
|
| 51 |
+
|
| 52 |
+
After BadNets, many variants of backdoor attacks have been introduced. These approaches focus on changing either the backdoor injection process or the injection function $\boldsymbol { B }$ .
|
| 53 |
+
|
| 54 |
+
As for the backdoor injection process, Liu et al. (2018b) proposed to inject backdoor into clean models via fine-tuning instead of the training stage. Yao et al. (2019) suggested hiding backdoor inside latent neurons for transfer learning. Many recent studies (Turner et al., 2019; Barni et al., 2019; Liu et al., 2020), injected backdoor only on samples with unchanged labels, i.e., the target $c ( y )$ is the same as the ground-truth label $y$ , to dodge label inspection by humans.
|
| 55 |
+
|
| 56 |
+
In this paper, we focus on the development of a good injection function $\boldsymbol { B }$ . Most of the popular attack methods rely on fixed patch-based triggers. Chen et al. (2017) used image blending to embed the trigger into the input image, and Nguyen & Tran (2020) extended it to be input-aware. Salem et al. (2020) varied the patch-based trigger locations and patterns to make it “dynamic”. Barni et al. (2019) employed sinusoidal strips as the trigger alongside the clean-label strategy. Lately, Liu et al. (2020) proposed to disguise backdoor triggers as reflectance to make the poisoned images look natural. The backdoor images generated by these attacks, however, are easy to be spotted by humans. We instead propose an “invisible” backdoor that is imperceptible by even sharp-eyed people.
|
| 57 |
+
|
| 58 |
+
# 2.3 BACKDOOR DEFENSE METHODS
|
| 59 |
+
|
| 60 |
+
As the threat of backdoor attacks becomes more apparent, backdoor defense research is emerging. Based on usage scenarios, we can classify them into three groups: training defense, model defense, and testing-time defense.
|
| 61 |
+
|
| 62 |
+
Training defense assumes the defender has control over the training process, and the adversary attacks by providing infected training data (Tran et al., 2018). This assumption, however, does not match our threat model, where the already-trained backdoor model is provided by a third party. This mechanism is not applicable to our situation and will not be considered further in this paper.
|
| 63 |
+
|
| 64 |
+
Model defenses aim to verify or mitigate the provided model before deployment. Fine-Pruning (Liu et al., 2018a) suggested to prune the dormant neurons, defined by analyses on a clean image set, to mitigate the backdoor if present. Neural Cleanse (Wang et al., 2019) was the first work that could detect backdoor models. It optimized a patch-based trigger candidate for each target label, then detected if any candidate was abnormally smaller than the others as a backdoor indicator. ABS (Liu et al., 2019) scanned the neurons and generated trigger candidates by reverse engineering. Cheng et al. (2019) used GradCam (Selvaraju et al., 2017) to analyze the network behavior on a clean input image with and without the synthesized trigger to detect anomalies. Zhao et al. (2019) applied mode connectivity to effectively mitigate backdoor while keeping acceptable performance. Lately, Kolouri et al. (2020) introduced universal litmus patterns that can be fed to the network to detect backdoor.
|
| 65 |
+
|
| 66 |
+
Unlike model defense, testing-time defenses inspect models after deployment with the presence of input images. It focuses on verifying if the provided image is poisoned and how to mitigate it. STRIP (Gao et al., 2019) exploited the persistent outcome of the backdoor image under perturbations for detection. In contrast, Neo (Udeshi et al., 2019) searched for the candidate trigger patches where region blocking changed the predicted outputs. Recently, Doan et al. (2019) used GradCam inspection to detect potential backdoor locations. In all these methods, the trigger candidates were then verified by being injected into a set of clean images.
|
| 67 |
+
|
| 68 |
+
A common assumption in all previous defense methods is that the backdoor triggers are image patches. We instead propose a novel attack mechanism based on image warping, undermining the foundation of these methods.
|
| 69 |
+
|
| 70 |
+
# 2.4 ELASTIC IMAGE WARPING
|
| 71 |
+
|
| 72 |
+
Image warping is a basic image processing technique that deforms an image by applying the geometric transformation. The transformation can be affine, projective, elastic, or non-elastic. In this work, we propose to use elastic image warping given its advantages over the others: (1) Affine and projective transformations are naturally introduced to clean images via the image capturing process. If we apply these transformations to these images, the transformed images can be identical to other clean images that are of the same scenes but captured at different viewpoints. Hence, these transformations are not suitable to generate backdoor examples, particularly in physical attacks. (2) Elastic transformation still generates natural outputs while non-elastic one does not.
|
| 73 |
+
|
| 74 |
+
The most popular elastic warping technique is Thin-Plate Splines (TPS) (Duchon, 1977). TPS can interpolate a smooth warping field to transform the entire image given a set of control points with known original and target 2D coordinates. TPS was adopted in Spatial Transformer Networks (Jaderberg et al., 2015), the first deep learning study incorporating differential image warping.
|
| 75 |
+
|
| 76 |
+
We believe that elastic image warping can be utilized to generate invisible backdoor triggers. Unlike previous attack methods that introduce extra and independent information to an input image, elastic image warping only manipulates existing pixels of the image. Humans, while being excellent in spotting incongruent part of an image, are bad at recognizing small geometric transformations.
|
| 77 |
+
|
| 78 |
+
# 3 WARPING-BASED BACKDOOR ATTACK
|
| 79 |
+
|
| 80 |
+
We now describe our novel backdoor attack method WaNet, which stand for Warping-based poisoned Networks. WaNet are designed to be stealthy to both machine and human inspections.
|
| 81 |
+
|
| 82 |
+
# 3.1 OVERVIEW
|
| 83 |
+
|
| 84 |
+
Recall that a classification network is a function $f : \mathbb { X } \to \mathbb { C }$ , in which $\mathbb { X }$ is an input image domain and $\mathbb { C }$ is a set of target classes. To train $f$ , a training dataset $\mathbb { S } = \{ ( \mathbf { x } _ { i } , y _ { i } ) | \mathbf { x } _ { i } \in \mathbb { X } , \mathbf { \bar { y } } _ { i } \in \mathbb { C } , \bar { i } = \overline { { 1 , N } } \}$ is provided. We follow the training scheme of BadNets to poison a subset of $\mathbb { S }$ with ratio $\rho _ { a }$ for backdoor training. Each clean pair $( { \pmb x } , y )$ will be replaced by a backdoor pair $( B ( { \pmb x } ) , c ( { \pmb y } ) )$ , in which $\boldsymbol { B }$ is the backdoor injection function and $c ( y )$ is the target label function.
|
| 85 |
+
|
| 86 |
+
Our main focus is to redesign the injection function $\boldsymbol { B }$ based on image warping. We construct $\boldsymbol { B }$ using a warping function $\mathcal { W }$ and a predefined warping field $M$ :
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\ B ( \pmb { x } ) = \mathscr { W } ( \pmb { x } , \pmb { M } ) .
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
$M$ acts like a motion field; it defines the relative sampling location of backward warping for each point in the target image. $\mathcal { W }$ allows a floating-point warping field as input. When a sampling pixel falls on non-integer 2D coordinates, it will be bi-linear interpolated. To implement $\mathcal { W }$ , we rely on the public API grid sample provided by PyTorch. However, this API inputs a grid of normalized absolute 2D coordinates of the sampling points. To use that API, we first sum $M$ with an identity sampling grid, then normalize to $[ - 1 , 1 ]$ to get the required grid input.
|
| 93 |
+
|
| 94 |
+
# 3.2 WARPING FIELD GENERATION
|
| 95 |
+
|
| 96 |
+
The warping field $M$ is a crucial component; it must guarantee that the warped images are both natural and effective for attacking purposes. Hence, $M$ are desired to satisfy the following properties:
|
| 97 |
+
|
| 98 |
+
• Small: $M$ should be small, to be unnoticeable to humans,
|
| 99 |
+
|
| 100 |
+

|
| 101 |
+
Figure 2: Process of creating the warping field $M$ and using it to generate poisoned images.
|
| 102 |
+
|
| 103 |
+

|
| 104 |
+
Figure 3: Effect of different hyper-parameters on the warping result. For each warped image, we show the image (top), the magnified $( \times 2 )$ residual map (bottom). The PSNR and LPIPS (Zhang et al., 2018) scores are computed at resolution $2 2 4 \times 2 2 4$ .
|
| 105 |
+
|
| 106 |
+
• Elastic: $M$ should be elastic, i.e., smooth and non-flat, to generate natural looking images, • Within image boundary: $M$ should not exceed the image boundary, to avoid creating suspicious black/plain outer area.
|
| 107 |
+
|
| 108 |
+
To get such a warping field, we borrow the idea of using control points from TPS but simplify the interpolation method. The process of generating the desired warp is illustrated by Fig. 2 and is described in the following subsections.
|
| 109 |
+
|
| 110 |
+
Selecting the control grid We first select the control points. For simplicity, we pick the target points on a uniform grid of size $k \times k$ over the entire image. Their backward warping field is denoted as $\boldsymbol { P } \in \mathbb { R } ^ { k \times k \times 2 }$ . We use a parameter $s$ to define the strength of $_ { r }$ and generate $_ { r }$ as following:
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
P = \psi ( r a n d _ { [ - 1 , 1 ] } ( k , k , 2 ) ) \times s
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
in which $r a n d _ { [ - 1 , 1 ] } ( . . . )$ is a function returning random tensor with the input shape and element value in the range $[ - 1 , 1 ]$ and $\psi$ is a normalization function. In this paper, we normalize the tensor elements by their mean absolute value:
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\psi ( A ) = { \frac { A } { { \frac { 1 } { s i z e ( A ) } } \sum _ { a _ { i } \in A } \left| a _ { i } \right| } }
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
Upsampling From the control points, we interpolate the warping field of the entire image. Since these points are in a uniform grid covering the entire image, instead of using a complex spline-based interpolation like in TPS, we can simply apply bicubic interpolation. We denote the output of this step as $M _ { 0 } = \uparrow P \in \mathbb { R } ^ { h \times w \times 2 }$ , with $h$ and $w$ being the image height and width respectively.
|
| 123 |
+
|
| 124 |
+
Clipping Finally, we apply a clipping function $\phi$ so that the sampling points do not fall outside of the image border. The process of generating $M$ can be summarized by the equation:
|
| 125 |
+
|
| 126 |
+
$$
|
| 127 |
+
{ \cal M } = \phi ( \uparrow ( \psi ( r a n d _ { [ - 1 , 1 ] } ( k , k , 2 ) ) \times s ) ) .
|
| 128 |
+
$$
|
| 129 |
+
|
| 130 |
+
We investigate the effect of the hyper-parameters $k$ and $s$ qualitatively in Fig. 3. The warping effect is almost invisible when $k < 6$ and $s < 0 . 7 5$ .
|
| 131 |
+
|
| 132 |
+
# 3.3 RUNNING MODES
|
| 133 |
+
|
| 134 |
+
After computing the warping field $M$ , we can train WaNet with with two modes, clean and attack, as the standard protocol. However, the models trained by that algorithm, while still achieving high
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
Figure 4: Training pipeline with three running modes.
|
| 138 |
+
|
| 139 |
+

|
| 140 |
+
|
| 141 |
+
accuracy in both clean and attack tests, tend to learn pixel-level artifacts instead of the warping. They are, therefore, easily exposed by a backdoor defense method such as Neural Cleanse. We will discuss more details in the ablation studies in Section 4.6.
|
| 142 |
+
|
| 143 |
+
To resolve this problem, we propose a novel training mode alongside the clean and attack mode, called noise mode. The idea is simple: when applying a random warping field $M ^ { \prime } \ne M$ , the network should not trigger the backdoor but return the correct class prediction.
|
| 144 |
+
|
| 145 |
+
Fig. 4 illustrates three running modes in our training pipelines. We first select the backdoor probability $\rho _ { a } \in ( 0 , 1 )$ and the noise probability $\rho _ { n } \in ( 0 , 1 )$ such that $\rho _ { a } + \rho _ { n } < 1$ . Then, for each clean input $( { \pmb x } , y )$ , we randomly select one of three modes and alter that pair accordingly:
|
| 146 |
+
|
| 147 |
+
$$
|
| 148 |
+
( \pmb { x } , y ) \mapsto \left\{ \begin{array} { l l } { ( \pmb { x } , y ) } & { \mathrm { w i t h ~ p r o b a b i l i t y ~ } 1 - \rho _ { a } - \rho _ { n } } \\ { ( \mathcal { W } ( \pmb { x } , \pmb { M } ) , c ( y ) ) } & { \mathrm { w i t h ~ p r o b a b i l i t y ~ } \rho _ { a } } \\ { ( \mathcal { W } ( \pmb { x } , \pmb { M } + r a n d _ { [ - 1 , 1 ] } ( h , w , 2 ) ) , y ) } & { \mathrm { w i t h ~ p r o b a b i l i t y ~ } \rho _ { n } } \end{array} \right.
|
| 149 |
+
$$
|
| 150 |
+
|
| 151 |
+
Note that with the noise mode, instead of using a totally random warping field, we form it by adding Gaussian noise to $M$ for a more effective training. The modified training set is then used to train $f$ .
|
| 152 |
+
|
| 153 |
+
# 4 EXPERIMENTS
|
| 154 |
+
|
| 155 |
+
# 4.1 EXPERIMENTAL SETUP
|
| 156 |
+
|
| 157 |
+
Following the previous backdoor attack papers, we performed experiments on four datasets: MNIST (LeCun et al., 1998), CIFAR-10 (Krizhevsky et al., 2009), GTSRB (Stallkamp et al., 2012) and CelebA (Liu et al., 2015). Note that CelebA dataset has annotations for 40 independent binary attributes, which is not suitable for multi-class classification. Therefore, we follow the configuration suggested by Salem et al. (2020) to select the top three most balanced attributes, including Heavy Makeup, Mouth Slightly Open, and Smiling, then concatenate them to create eight classification classes. Their detail information are shown in Table 1. To build the classifier $f$ for the color image datasets, we used Pre-activation Resnet-18 (He et al., 2016) for the CIFAR-10 and GTSRB datasets as suggested by Kang (2020), and Resnet-18 for the CelebA dataset. As for the grayscale dataset MNIST, we defined a simple network structure as reported in Table 1.
|
| 158 |
+
|
| 159 |
+
We trained the networks using the SGD optimizer. The initial learning rate was 0.01, which was reduced by a factor of 10 after each 100 training epochs. The networks were trained until convergence. We used $k = 4$ , $s = 0 . 5$ , $\rho _ { a } = 0 . 1$ , and $\rho _ { n } = 0 . 2$ .
|
| 160 |
+
|
| 161 |
+
Table 1: Datasets and the classifiers used in our experiments. Each ConvBlock consists of a $3 \times 3$ convolution (stride $^ { \cdot = 2 }$ ), a BatchNorm, and a ReLU layer.
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 6: Human inspection tests: (a) Success fooling rates of each backdoor method, (b) The most distinguishable cases from WaNet.
|
| 165 |
+
|
| 166 |
+
# 4.2 ATTACK EXPERIMENTS
|
| 167 |
+
|
| 168 |
+
We trained and tested the backdoor models in all-to-one configuration, i.e., $c ( y ) = \hat { c } \forall y$ . The accuracy values in clean mode, attack mode, and the noise mode are reported in Fig. 5a. As can be seen, with clean images, the networks could correctly classify them like any benign models, with accuracy near $100 \%$ on MNIST/GTSRB, $9 4 . 1 5 \%$ on CIFAR-10, and $7 9 . 7 7 \%$ on CelebA. When applying the pre-defined image warping, the attack success rate was near $100 \%$ on all datasets. However, when using a random warping, the classifiers still recognized the true image class with a similar accuracy as in the clean mode. This result is impressive given the fact that the poisoned images look almost identical to the original, as can be seen in Fig. 5b.
|
| 169 |
+
|
| 170 |
+
To evaluate our method’s robustness in real-life scenarios, we also tested if backdoor images would still be misclassified even when being distorted by the capturing process. We showed 50 clean and 50 backdoor images on a screen and recaptured them using a phone camera. Our model still worked well on recaptured images, obtaining $98 \%$ clean accuracy and $96 \%$ attack success rate. Fig. 5c displays an example of our test. The clean image was recognized correctly as “automobile”, while the look-a-like backdoor image was recognized as the “airplane” attack class.
|
| 171 |
+
|
| 172 |
+
# 4.3 HUMAN INSPECTION
|
| 173 |
+
|
| 174 |
+
To examine the realisticity of our backdoor and the previous methods, we created user studies with human inspection. First, we randomly selected 25 images from the GTSRB dataset. Second, for each backdoor injection function, we created the corresponding 25 backdoor images and mixed them with the original to obtain a set of 50 images. Finally, we asked 40 people to classify whether each image was genuine, collecting 2000 answers per method. The participants were trained about the mechanism and characteristics of the attack before answering the questions.
|
| 175 |
+
|
| 176 |
+
We collected the answers and reported the percentage of incorrect answers as the success fooling rates in Fig. 6a. Note that when the backdoor examples are more indistinguishable from the clean ones, the testers will find it harder to decide an image is clean or poisoned. Hence, better backdoor methods led to higher fooling rates on not only backdoor inputs but also on clean ones. The rates from previous methods are low, with maximum $7 . 7 \%$ on all inputs, implying that they are obvious to humans to detect. In contrast, our rate is $28 \%$ , four times their best number. It confirms that WaNet is stealthy and hard to detect, even with trained people.
|
| 177 |
+
|
| 178 |
+
Although our backdoor images are natural-looking, some of them have subtle properties that can be detected by trained testers. We provide two of the most detected backdoor examples from WaNet in Fig. 6b. In the first case, the circle sign is not entirely round. In the second case, the right edge of the traffic sign is slightly curved. Although these conditions can be found on real-life traffic signs, they are not common in the testing dataset GTSRB. These images are of the minority, and our fooling rate on backdoor images is $3 8 . 6 \%$ , not far away from the rate of $50 \%$ in random selection.
|
| 179 |
+
|
| 180 |
+

|
| 181 |
+
Figure 7: Experiments on verifying WaNet by the state-of-the-art defense and visualization methods.
|
| 182 |
+
|
| 183 |
+
# 4.4 DEFENSE EXPERIMENTS
|
| 184 |
+
|
| 185 |
+
We will now test the trained models against the popular backdoor defense mechanisms, including Neural Cleanse, Fine-Prunning (Model defenses), and STRIPS (Testing-time defense).
|
| 186 |
+
|
| 187 |
+
Neural Cleanse (Wang et al., 2019) is a model-defense method based on the pattern optimization approach. It assumes that the backdoor is patch-based. For each class label, Neural Cleanse computes the optimal patch pattern to convert any clean input to that target label. It then checks if any label has a significantly smaller pattern as a sign of backdoor. Neural Cleanse quantifies it by the Anomaly Index metric with the clean/backdoor threshold $\tau = 2$ . We ran Neural Cleanse over our WaNet models and report the numbers in Fig. 7c. WaNet passed the test on all datasets; its scores are even smaller than the clean model ones on MNIST and CIFAR-10. We can explain it by the fact that our backdoor relies on warping, a different mechanism compared with patch-based blending.
|
| 188 |
+
|
| 189 |
+
Fine-Pruning (Liu et al., 2018a), instead, focuses on neuron analyses. Given a specific layer, it analyzes the neuron responses on a set of clean images and detects the dormant neurons, assuming they are more likely to tie to the backdoor. These neurons are then gradually pruned to mitigate the backdoor. We tested Fine-Pruning on our models and plotting the network accuracy, either clean or attack, with respect to the number of neurons pruned in Fig. 7a. On all datasets, at no point is the clean accuracy considerably higher than the attack one, making backdoor mitigation impossible.
|
| 190 |
+
|
| 191 |
+
STRIP (Gao et al., 2019) is a representative of the testing-time defense approach. It examines the model with the presence of the input image. STRIP works by perturbing the input image through a set of clean images from different classes and raising the alarm if the prediction is persistent, indicating by low entropy. With WaNet, the perturbation operation of STRIP will modify the image content and break the backdoor warping if present. Hence, WaNet behaves like genuine models, with similar entropy ranges, as shown in Fig. 7b.
|
| 192 |
+
|
| 193 |
+
# 4.5 NETWORK INSPECTION
|
| 194 |
+
|
| 195 |
+
Visualization tools, such as GradCam (Selvaraju et al., 2017), are helpful in inspecting network behaviors. Patch-based backdoor methods can be exposed easily due to the use of small trigger regions, as pointed out by Cheng et al. (2019); Doan et al. (2019). Our attack method is based on the warping on the entire image, so it is undetectable by this algorithm. We visualize activation based on the label that has the highest prediction score in Fig. 7d. With clean models, that label is for the correct class label. With WaNet and backdoor inputs, it is the backdoor label $\hat { c }$ . As can be seen, the visualization heatmaps of WaNet look like the ones from any clean model.
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
Figure 8: Ablation studies on CIFAR-10 dataset: (a) Role of the noise mode training, (b,c) Network performance when changing warping hyper-parameters.
|
| 199 |
+
|
| 200 |
+
# 4.6 ABLATION STUDIES
|
| 201 |
+
|
| 202 |
+
Role of the noise mode Without the noise mode, we could still train a backdoor model with similar clean and attack accuracy. However, these models failed the defense test with Neural Cleanse as shown in Fig. 9, and the optimized trigger patterns revealed their true behavior.
|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
Figure 9: Networks’ performance against Neural Cleanse with and without noise mode.
|
| 206 |
+
|
| 207 |
+
Fig. 8a displays the trigger patterns optimized by Neural Cleanse for the attacking class “airplane” on CIFAR-10. With the clean model, this pattern has an airplane-like shape, and it is big enough to rewrite image content given any input. With our model trained without noise mode, the optimized pattern just consists of scattered points. This pattern is remarkably smaller, making the model caught by Neural Cleanse. It reveals that the model did not learn the specific backdoor warping; instead, it remembered the pixel-wise artifacts. By adding the noise training mode, our model no longer relies on those artifacts, and the optimized pattern looks similar to the clean model’s one.
|
| 208 |
+
|
| 209 |
+
Other hyper-parameters We investigated the effect of the warping hyper-parameters, including the strength $s$ and the grid size $k$ . Fig. 8b and 8c show the clean, attack, and noise mode accuracy of our network on the CIFAR-10 dataset when changing each of these parameters. When $k$ or $s$ is small, the backdoor images are similar to the clean ones. However, since they are a minority $( \rho _ { a } = 0 . 1 )$ , the network would treat them like data with noisy labels in those scenarios. Hence, clean and noise accuracies are stable across configurations. In contrast, backdoor accuracy suffers on the left side of the plots. It gradually increases when $s$ or $k$ is small, then saturates and stays near $100 \%$ .
|
| 210 |
+
|
| 211 |
+
# 5 CONCLUSION AND FUTURE WORKS
|
| 212 |
+
|
| 213 |
+
This paper introduces a novel backdoor attack method that generates backdoor images via subtle image warping. The backdoor images are proved to be natural and undetectable by humans. We incorporate in training a novel “noise” mode, making it stealthy and pass all the known defense methods. It opens a new domain of attack mechanism and encourages future defense research.
|
| 214 |
+
|
| 215 |
+
# REFERENCES
|
| 216 |
+
|
| 217 |
+
Mauro Barni, Kassem Kallas, and Benedetta Tondi. A new backdoor attack in cnns by training set corruption without label poisoning. In 2019 IEEE International Conference on Image Processing (ICIP), pp. 101–105. IEEE, 2019.
|
| 218 |
+
|
| 219 |
+
Xinyun Chen, Chang Liu, Bo Li, Kimberly Lu, and Dawn Song. Targeted backdoor attacks on deep learning systems using data poisoning. arXiv preprint arXiv:1712.05526, 2017.
|
| 220 |
+
|
| 221 |
+
Hao Cheng, Kaidi Xu, Sijia Liu, Pin-Yu Chen, Pu Zhao, and Xue Lin. Defending against Backdoor Attack on Deep Neural Networks. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining Workshop, 2019.
|
| 222 |
+
|
| 223 |
+
Jiazhu Dai, Chuanshuai Chen, and Yufeng Li. A backdoor attack against lstm-based text classification systems. IEEE Access, 7:138872–138878, 2019.
|
| 224 |
+
|
| 225 |
+
Bao Gia Doan, Ehsan Abbasnejad, and Damith C. Ranasinghe. Februus: Input Purification Defense Against Trojan Attacks on Deep Neural Network Systems. arXiv, Aug 2019. URL https: //arxiv.org/abs/1908.03369.
|
| 226 |
+
|
| 227 |
+
Jean Duchon. Splines minimizing rotation-invariant semi-norms in sobolev spaces. In Constructive theory of functions of several variables, pp. 85–100. Springer, 1977.
|
| 228 |
+
|
| 229 |
+
Yansong Gao, Change Xu, Derui Wang, Shiping Chen, Damith C Ranasinghe, and Surya Nepal. Strip: A defence against trojan attacks on deep neural networks. In Proceedings of the 35th Annual Computer Security Applications Conference, pp. 113–125, 2019.
|
| 230 |
+
|
| 231 |
+
Tianyu Gu, Brendan Dolan-Gavitt, and Siddharth Garg. Badnets: Identifying vulnerabilities in the machine learning model supply chain. In Proceedings of Machine Learning and Computer Security Workshop, 2017.
|
| 232 |
+
|
| 233 |
+
Ronan Hamon, Henrik Junklewitz, and Ignacio Sanchez. Robustness and explainability of artificial intelligence. Publications Office of the European Union, 2020.
|
| 234 |
+
|
| 235 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European conference on computer vision, pp. 630–645. Springer, 2016.
|
| 236 |
+
|
| 237 |
+
Max Jaderberg, Karen Simonyan, Andrew Zisserman, et al. Spatial transformer networks. In Advances in neural information processing systems, pp. 2017–2025, 2015.
|
| 238 |
+
|
| 239 |
+
Liu Kang. pytorch-cifar, May 2020. URL https://github.com/kuangliu/ pytorch-cifar. [Online; accessed 4. Jun. 2020].
|
| 240 |
+
|
| 241 |
+
Soheil Kolouri, Aniruddha Saha, Hamed Pirsiavash, and Heiko Hoffmann. Universal litmus patterns: Revealing backdoor attacks in cnns. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 301–310, 2020.
|
| 242 |
+
|
| 243 |
+
Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009.
|
| 244 |
+
|
| 245 |
+
Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
|
| 246 |
+
|
| 247 |
+
Kang Liu, Brendan Dolan-Gavitt, and Siddharth Garg. Fine-pruning: Defending against backdooring attacks on deep neural networks. In Proceedings of International Symposium on Research in Attacks, Intrusions, and Defenses, 2018a.
|
| 248 |
+
|
| 249 |
+
Yingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee, Juan Zhai, Weihang Wang, and Xiangyu Zhang. Trojaning attack on neural networks. In Proceedings of Network and Distributed System Security Symposium, 2018b.
|
| 250 |
+
|
| 251 |
+
Yingqi Liu, Wen-Chuan Lee, Guanhong Tao, Shiqing Ma, Yousra Aafer, and Xiangyu Zhang. Abs: Scanning neural networks for back-doors by artificial brain stimulation. In Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, pp. 1265–1282, 2019.
|
| 252 |
+
|
| 253 |
+
Yunfei Liu, Xingjun Ma, James Bailey, and Feng Lu. Reflection backdoor: A natural backdoor attack on deep neural networks. 2020.
|
| 254 |
+
|
| 255 |
+
Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), December 2015.
|
| 256 |
+
|
| 257 |
+
Tuan Anh Nguyen and Anh Tran. Input-aware dynamic backdoor attack. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 3454–3464. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper/2020/file/ 234e691320c0ad5b45ee3c96d0d7b8f8-Paper.pdf.
|
| 258 |
+
|
| 259 |
+
Ahmed Salem, Rui Wen, Michael Backes, Shiqing Ma, and Yang Zhang. Dynamic backdoor attacks against machine learning models. arXiv preprint arXiv:2003.03675, 2020.
|
| 260 |
+
|
| 261 |
+
Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE international conference on computer vision, pp. 618–626, 2017.
|
| 262 |
+
|
| 263 |
+
Johannes Stallkamp, Marc Schlipsing, Jan Salmen, and Christian Igel. Man vs. computer: Benchmarking machine learning algorithms for traffic sign recognition. Neural networks, 32:323–332, 2012.
|
| 264 |
+
|
| 265 |
+
Brandon Tran, Jerry Li, and Aleksander Madry. Spectral signatures in backdoor attacks. In Proceedings of Advances in Neural Information Processing Systems, 2018.
|
| 266 |
+
|
| 267 |
+
Alexander Turner, Dimitris Tsipras, and Aleksander Madry. Clean-label backdoor attacks. https://people.csail.mit.edu/madry/lab/, 2019.
|
| 268 |
+
|
| 269 |
+
Sakshi Udeshi, Shanshan Peng, Gerald Woo, Lionell Loh, Louth Rawshan, and Sudipta Chattopadhyay. Model agnostic defence against backdoor attacks in machine learning. arXiv preprint arXiv:1908.02203, 2019.
|
| 270 |
+
|
| 271 |
+
Bolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li, Bimal Viswanath, Haitao Zheng, and Ben Y Zhao. Neural cleanse: Identifying and mitigating backdoor attacks in neural networks. In Proceedings of 40th IEEE Symposium on Security and Privacy, 2019.
|
| 272 |
+
|
| 273 |
+
Yuanshun Yao, Huiying Li, Haitao Zheng, and Ben Y Zhao. Latent backdoor attacks on deep neural networks. In Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, pp. 2041–2055, 2019.
|
| 274 |
+
|
| 275 |
+
Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018.
|
| 276 |
+
|
| 277 |
+
Pu Zhao, Pin-Yu Chen, Payel Das, Karthikeyan Natesan Ramamurthy, and Xue Lin. Bridging mode connectivity in loss landscapes and adversarial robustness. In International Conference on Learning Representations, 2019.
|
| 278 |
+
|
| 279 |
+
# A APPENDIX
|
| 280 |
+
|
| 281 |
+
# A.1 SYSTEM DETAILS
|
| 282 |
+
|
| 283 |
+
A.1.1 DATASETS
|
| 284 |
+
|
| 285 |
+
We used 3 standard datasets, from simple to more complex ones, to conduct our experiments. As the datasets are all used in previous related works, our results would be more comparable and reliable.
|
| 286 |
+
|
| 287 |
+
MNIST
|
| 288 |
+
|
| 289 |
+
The dataset (LeCun et al., 1998) is a subset of the larger dataset available from the National Institute of Technology (NIST). This dataset consists of 70,000 grayscale, $2 8 \times 2 8$ images, divided into a training set of 60,000 images and a test set of 10,000 images. Original dataset could be found at http://yann.lecun.com/exdb/mnist/.
|
| 290 |
+
|
| 291 |
+
We applied random cropping and random rotation as data augmentation for the training process.
|
| 292 |
+
During the evaluation stage, no augmentation is applied.
|
| 293 |
+
|
| 294 |
+
# CIFAR10
|
| 295 |
+
|
| 296 |
+
The dataset was introduced the first time by Krizhevsky et al. (2009). It is a labeled subset of the 80-millions-tiny-images dataset, collected by Alex Krizhevsky, Vinod Nair and Geoffrey Hinton, consists of 60,000 color images at the resolution of $3 2 \times 3 2$ . The dataset contains 10 classes, with 6,000 images per one. It is divided into two subsets: a training set of 50,000 images and a test set of 10,000 images. The data set is public and avalable at https://www.cs.toronto.edu/ ˜kriz/cifar.html.
|
| 297 |
+
|
| 298 |
+
During training stage, random crop, random rotation and random horizontal flip were applied as data augmentation. No augmentation was added at the evaluation stage.
|
| 299 |
+
|
| 300 |
+
# GTSRB
|
| 301 |
+
|
| 302 |
+
The German Traffic Sign Recognition Benchmark - the GTSRB (Stallkamp et al. (2012)) is used as an official dataset for the challenge held at the International Joint Conference on Neural Network (IJCNN) 2011. This dataset consists of 60,000 images with 43 classes and the resolution varying from $3 2 \times 3 2$ to $2 5 0 \times 2 5 0$ . It is divided into a training set of 39,209 images and a test set of 12,630. The dataset could be found at http://benchmark.ini.rub.de/?section $=$ gtsrb&subsection $=$ dataset.
|
| 303 |
+
|
| 304 |
+
Input images were all resized into $3 2 \times 3 2$ pixels, then applied random crop and random rotation at the training stage. No augmentation was used at the evaluation stage.
|
| 305 |
+
|
| 306 |
+
# CelebA
|
| 307 |
+
|
| 308 |
+
CelebFaces Attributes Dataset - CelebA, first introduced by Liu et al. (2015), is a large-scale face attributes dataset. It contains 10,177 identities with 202,599 face images. Each image has an annotation of 5 landmark locations and 40 binary attributes. The dataset is publicly available at http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html.
|
| 309 |
+
|
| 310 |
+
Noted that this dataset is highly unbalanced. Due to the time limitation, we select 3 out of 40 attributes, namely Heavy Makeup, Mouth Slightly Open and Smiling, as suggested by Salem et al. (2020). We then concatenate them into 8 classes to create a multiple label classification task. The input images were all resized into $6 4 \times 6 4$ pixels. Random crop and random rotation were applied as data augmentation at the training stage. No augmentation was applied at the evaluation stage.
|
| 311 |
+
|
| 312 |
+
# A.1.2 CLASSIFICATION NETWORKS
|
| 313 |
+
|
| 314 |
+
MNIST
|
| 315 |
+
|
| 316 |
+
We used a simple, self-defined structure as network classifier for this dataset. Detailed architecture will be mentioned in Table 2.
|
| 317 |
+
|
| 318 |
+
Table 2: Detailed architecture of MNIST classifier. $^ *$ means the layer is followed by a Dropout layer. $\dagger$ means the layer is followed by a BatchNormalization layer.
|
| 319 |
+
|
| 320 |
+
<table><tr><td>Layer</td><td>Filter</td><td>Filter Size</td><td>Stride</td><td>Padding</td><td>Activation</td></tr><tr><td>Conv2dt</td><td>32</td><td>3×3</td><td>2</td><td>1</td><td>ReLU</td></tr><tr><td>Conv2dt</td><td>64</td><td>3×3</td><td>2</td><td>0</td><td>ReLU</td></tr><tr><td>Conv2d</td><td>64</td><td>3×3</td><td>2</td><td>0</td><td>ReLU</td></tr><tr><td>Linear*</td><td>512</td><td>-</td><td></td><td>0</td><td>ReLU</td></tr><tr><td>Linear</td><td>10</td><td>-</td><td>1</td><td>0</td><td>Softmax</td></tr></table>
|
| 321 |
+
|
| 322 |
+
# CIFAR10 and GTSRB
|
| 323 |
+
|
| 324 |
+
For the CIFAR-10 and GTSRB datasets, we use PreActRes18 (He et al., 2016) architecture as classification networks.
|
| 325 |
+
|
| 326 |
+
CelebA
|
| 327 |
+
|
| 328 |
+
For the CelebA dataset, we use ResNet18 (He et al., 2016) architecture as the classification network.
|
| 329 |
+
|
| 330 |
+
# A.1.3 RUNNING TIME
|
| 331 |
+
|
| 332 |
+
We use a system of a GPU RTX 2080Ti and a CPU i7 9700K to conduct our experiment. Detailed inference time of each module will be demonstrated below.
|
| 333 |
+
|
| 334 |
+
Table 3: Inference time of our modules.
|
| 335 |
+
|
| 336 |
+
<table><tr><td>MNIST</td><td>CIFAR10</td><td>GTSRB</td><td>CelebA</td></tr><tr><td>time/sample 4.37 μs</td><td>18.64 μs</td><td>18.65 μs</td><td>87.51 μs</td></tr></table>
|
| 337 |
+
|
| 338 |
+
# A.2 ALL-TO-ALL ATTACK
|
| 339 |
+
|
| 340 |
+
Beside the single-target attack scenario, we also verified the effectiveness of WaNet in multi-target scenario, often called all-to-all attack. In this scenario, the input of class $y$ would be targeted into class $c ( y ) = ( y + 1 )$ mod $| C |$ , where $| C |$ is the number of classes.
|
| 341 |
+
|
| 342 |
+
# A.2.1 EXPERIMENTAL SETUP
|
| 343 |
+
|
| 344 |
+
We use the same experimental setups as in the single-target scenario, with a small modification. In the attack mode at training, we replace the fixed target label $\hat { c }$ by $( y + 1 )$ mod $| C |$ . In the attack test at evaluation, we also change the expected label similarly.
|
| 345 |
+
|
| 346 |
+
# A.2.2 ATTACK EXPERIMENT
|
| 347 |
+
|
| 348 |
+
We conducted attack experiments and reported result in Table 4. While models still achieve stateof-the-art performance on clean data, the attack efficacies slightly decreases. This is due to the fact that the target label now varies from input to input. Though, the lowest attack accuracy is $7 8 . 5 8 \%$ , which is still harmful to real-life deployment.
|
| 349 |
+
|
| 350 |
+
Similar to all-to-one scenario, we also tested our model with noise mode and recorded the noise accuracy.
|
| 351 |
+
|
| 352 |
+
# A.2.3 DEFENSE EXPERIMENTS
|
| 353 |
+
|
| 354 |
+
We repeat the same defense experiments used in the all-to-one scenario. Our backdoor models could also pass all the tests mentioned in Figure 7.
|
| 355 |
+
|
| 356 |
+
Table 4: All-to-all attack result.
|
| 357 |
+
|
| 358 |
+
<table><tr><td>Dataset</td><td>Clean Attack</td><td>Noise</td></tr><tr><td>MNIST</td><td>99.44</td><td>95.90 94.34</td></tr><tr><td>CIFAR-10</td><td>94.43</td><td>93.36 91.47</td></tr><tr><td>GTSRB</td><td>99.39</td><td>98.31 98.96</td></tr><tr><td>CelebA</td><td>78.73</td><td>78.58 76.12</td></tr></table>
|
| 359 |
+
|
| 360 |
+

|
| 361 |
+
Figure 10: Neural Cleanse against all-to-all scenario.
|
| 362 |
+
|
| 363 |
+

|
| 364 |
+
Figure 11: Fine-pruning against all-to-all scenario.
|
| 365 |
+
|
| 366 |
+

|
| 367 |
+
Figure 12: STRIP against all-to-all scenario.
|
| 368 |
+
|
| 369 |
+
# A.3 ADDITIONAL RESULTS
|
| 370 |
+
|
| 371 |
+
# A.3.1 ADDIONAL IMAGES FOR METIONED BACKDOOR ATTACK METHODS
|
| 372 |
+
|
| 373 |
+
We provide additional examples comparing backdoor images from WaNet and from other attack methods in Fig. 13.
|
| 374 |
+
|
| 375 |
+
# A.3.2 EXPERIMENT ON SPECTRAL SIGNATURE DEFENSE
|
| 376 |
+
|
| 377 |
+
Tran et al. (2018) proposed a data defense method based on the spectral signature of backdoor training data. Although this data-defense configuration does not match our threat model, we find it useful to verify if our backdoor data have the spectral signature discussed in that paper. We repeated the experiment in the last plot of its Fig. 1, using 5000 clean samples and 1172 backdoor samples generated by WaNet on the CIFAR-10 dataset, which is the same dataset used in the original paper. Fig. 14 plots histograms of the correlations between these samples’ learned representations and their covariance matrix’s top right singular vector. As can be seen, the histograms of the two populations are completely inseparable. Thereby, the backdoor training samples could not be removed from the training dataset using their proposed method. One possible explanation is that the distributional difference between the clean and backdoor correlations in the traditional backdoor methods was the result of the domination of a few backdoor neurons. We do not have such a phenomenon in WaNet, as proved in Fine-Prunning experiments, eliminating the appearance of spectral signature.
|
| 378 |
+
|
| 379 |
+

|
| 380 |
+
Figure 13: Additional images for mentioned backdoor attack methods.
|
| 381 |
+
|
| 382 |
+
# A.3.3 THE STABILITY OF WANET
|
| 383 |
+
|
| 384 |
+
In this section, we verify if WaNet is stable to the variations of the warping field $M$ . We trained 8 WaNet backdoor models, using 8 randomly generated warping fields, in the CIFAR10 dataset. The clean, backdoor, and noise accuracies of the trained models are all stable, as shown in Table 5.
|
| 385 |
+
|
| 386 |
+
Table 5: The stability of WaNet on the CIFAR-10 dataset.
|
| 387 |
+
|
| 388 |
+
<table><tr><td></td><td>Clean</td><td>Backdoor</td><td>Noise</td></tr><tr><td>Accuracy (%)</td><td>94.42 ± 0.08</td><td>99.40 ± 0.21</td><td>93.16 ± 0.43</td></tr></table>
|
| 389 |
+
|
| 390 |
+

|
| 391 |
+
Figure 14: Spectral Signature
|
| 392 |
+
|
| 393 |
+
# A.3.4 ADDITIONAL TRIGGER PATTERNS VISUALIZING THE ROLE OF THE NOISE MODE
|
| 394 |
+
|
| 395 |
+
This section further demonstrates the importance of noise mode by providing trigger patterns optimized by Neural Cleanse on more datasets and with more target classes. Fig. 15a and 15b visualize the patterns on MNIST and GTSRB dataset using backdoor models trained for target label 0, similar to Fig. 8a. Fig. 15c, 15d, and 15e provide results on all three datasets but with backdoor models for label 3. As can be seen, the WaNet models without noise mode training return sparse and small patterns, thus easy to be detected by Neural Cleanse. By including that training mode, the optimized patterns are more crowded and approach clean models’ ones. Note that we skip visualizing the results on the CelebA dataset; its patterns optimized on either clean or backdoor models are all too sparse and small for humans to analyze due to subtle differences between human faces.
|
| 396 |
+
|
| 397 |
+

|
| 398 |
+
Figure 15: Additional trigger patterns optimized by Neural Cleanse for the target label (small is bad).
|
parse/train/eEn8KTtJOx/eEn8KTtJOx_content_list.json
ADDED
|
@@ -0,0 +1,2163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
"type": "text",
|
| 4 |
+
"text": "WANET – IMPERCEPTIBLE WARPING-BASED BACKDOOR ATTACK ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
820,
|
| 10 |
+
145
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anh Tuan Nguyen1,2, Anh Tuan Tran1,3 \n1VinAI Research, 2Hanoi University of Science and Technology, 3VinUniversity \n{v.anhnt479,v.anhtt152}@vinai.io ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
169,
|
| 20 |
+
712,
|
| 21 |
+
213
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
250,
|
| 32 |
+
544,
|
| 33 |
+
265
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "With the thriving of deep learning and the widespread practice of using pretrained networks, backdoor attacks have become an increasing security threat drawing many research interests in recent years. A third-party model can be poisoned in training to work well in normal conditions but behave maliciously when a trigger pattern appears. However, the existing backdoor attacks are all built on noise perturbation triggers, making them noticeable to humans. In this paper, we instead propose using warping-based triggers. The proposed backdoor outperforms the previous methods in a human inspection test by a wide margin, proving its stealthiness. To make such models undetectable by machine defenders, we propose a novel training mode, called the “noise” mode. The trained networks successfully attack and bypass the state of the art defense methods on standard classification datasets, including MNIST, CIFAR-10, GTSRB, and CelebA. Behavior analyses show that our backdoors are transparent to network inspection, further proving this novel attack mechanism’s efficiency. Our code is publicly available at https://github.com/VinAIResearch/ Warping-based_Backdoor_Attack-release. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
282,
|
| 43 |
+
764,
|
| 44 |
+
503
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
535,
|
| 55 |
+
336,
|
| 56 |
+
551
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Deep learning models are essential in many modern systems due to their superior performance compared to classical methods. Most state-of-the-art models, however, require expensive hardware, huge training data, and long training time. Hence, instead of training the models from scratch, it is a common practice to use pre-trained networks provided by third-parties these days. This poses a serious security threat of backdoor attack (Gu et al., 2017). A backdoor model is a network poisoned either at training or finetuning. It can work as a genuine model in the normal condition. However, when a specific trigger appears in the input, the model will act maliciously, as designed by the attacker. Backdoor attack can occur in various tasks, including image recognition (Chen et al., 2017), speech recognition (Liu et al., 2018b), natural language processing (Dai et al., 2019), and reinforcement learning (Hamon et al., 2020). In this paper, we will focus on image classification, the most popular attacking target with possible fatal consequences (e.g., for self-driving car). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
173,
|
| 65 |
+
568,
|
| 66 |
+
825,
|
| 67 |
+
722
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Since introduced, backdoor attack has drawn a lot of research interests (Chen et al., 2017; Liu et al., 2018b; Salem et al., 2020; Nguyen & Tran, 2020). In most of these works, trigger patterns are based on patch perturbation or image blending. Recent papers have proposed novel patterns such as sinusoidal strips (Barni et al., 2019), and reflectance (Liu et al., 2020). These backdoor triggers, however, are unnatural and can be easily spotted by humans. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
728,
|
| 77 |
+
825,
|
| 78 |
+
797
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "We believe that the added content, such as noise, strips, or reflectance, causes the backdoor samples generated by the previous methods strikingly detectable. Instead, we propose to use image warping that can deform but preserve image content. We also found that humans are not good at recognizing subtle image warping, while machines are excellent in this task. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
805,
|
| 88 |
+
823,
|
| 89 |
+
861
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Hence, in this paper, we design a novel, simple, but effective backdoor attack based on image warping called WaNet. We use a small and smooth warping field in generating backdoor images, making the modification unnoticeable, as illustrated in Fig. 1. Our backdoor images are natural and hard to be distinguished from the genuine examples, confirmed by our user study described in Sec. 4.3. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
867,
|
| 99 |
+
823,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/ff3c3082a77419286dd5c7d0a7f2e6003a465d0672b89d00b49eab1053d420b0.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Comparison between backdoor examples generated by our method and by the previous backdoor attacks. Given the original image (leftmost), we generate the corresponding backdoor images using patch-based attacks (Gu et al., 2017; Liu et al., 2018b), blending-based attack (Chen et al., 2017), SIG (Barni et al., 2019), ReFool (Liu et al., 2020), and our method. For each method, we show the image (top), the magnified $( \\times 2 )$ residual map (bottom). The images generated from the previous attacks are unnatural and can be detected by humans. In constrast, ours is almost identical to the original image, and the difference is unnoticeable. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
220,
|
| 113 |
+
98,
|
| 114 |
+
777,
|
| 115 |
+
244
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "To obtain a backdoor model, we first follow the common training procedure by poisoning a part of training data with a fixed ratio of $\\rho _ { a } \\in ( 0 , 1 )$ . While the trained networks provide high clean and attack accuracy, we found that they “cheated” by learning pixel-wise artifacts instead of the warping itself. It makes them easy to be caught by a popular backdoor defense Neural Cleanse. Instead, we add another mode in training, called “noise mode”, to enforce the models to learn only the predefined backdoor warp. This novel training scheme produces satisfactory models that are both effective and stealthy. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
369,
|
| 125 |
+
825,
|
| 126 |
+
468
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Our attack method achieves invisibility without sacrificing accuracy. It performs similarly to stateof-the-art backdoor methods in terms of clean and attack accuracy, verified on common benchmarks such as MNIST, CIFAR-10, GTSRB, and CelebA. Our attack is also undetectable by various backdoor defense mechanisms; none of existing algorithms can recognize or mitigate our backdoor. This is because the attack mechanism of our method is drastically different from any existing attack, breaking the assumptions of all defense methods. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
474,
|
| 136 |
+
823,
|
| 137 |
+
558
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Finally, we demonstrate that our novel backdoor can be a practical threat by deploying it for physical attacks. We tested the backdoor classifier with camera-captured images of physical screens. Despite image quality degradation via extreme capturing conditions, our backdoor is well-preserved, and the attack accuracy stays near $100 \\%$ . ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
565,
|
| 147 |
+
825,
|
| 148 |
+
621
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "In short, we introduce a novel backdoor attack via image warping. To train such a model, we extend the standard backdoor training scheme by introducing a “noise” training mode. The attack is effective, and the backdoor is imperceptible by both humans and computational defense mechanisms. It can be deployed for physical attacks, creating a practical threat to deep-learning-based systems 1. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
628,
|
| 158 |
+
825,
|
| 159 |
+
684
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 BACKGROUND ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
705,
|
| 170 |
+
326,
|
| 171 |
+
722
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "2.1 THREAT MODEL ",
|
| 178 |
+
"text_level": 1,
|
| 179 |
+
"bbox": [
|
| 180 |
+
174,
|
| 181 |
+
738,
|
| 182 |
+
325,
|
| 183 |
+
752
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 1
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "Backdoor attacks are techniques of poisoning a system to have a hidden destructive functionality. The poisoned system can work genuinely on clean inputs but misbehave when a specific trigger pattern appears. In the attack mode for image classification, backdoor models can return a predefined target label, normally incorrect, regardless of image content. It allows the attacker to gain illegal benefits. For example, a backdoor face authentication system may allow the attacker to access whenever he puts a specific sticker on the face. ",
|
| 190 |
+
"bbox": [
|
| 191 |
+
174,
|
| 192 |
+
765,
|
| 193 |
+
825,
|
| 194 |
+
848
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Backdoors can be injected into the deep model at any stage. We consider model poisoning at training since it is the most used threat model. The attacker has total control over the training process and maliciously alters data for his attack purposes. The poisoned model is then delivered to customers to deploy as-is. In our proposed attack, the attacker selects a fixed warping field and uses it to generate all the backdoor images in training and in testing-time attacks. ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
178,
|
| 203 |
+
856,
|
| 204 |
+
821,
|
| 205 |
+
897
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "",
|
| 212 |
+
"bbox": [
|
| 213 |
+
171,
|
| 214 |
+
103,
|
| 215 |
+
823,
|
| 216 |
+
132
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "2.2 PREVIOUS BACKDOOR ATTACKS ",
|
| 223 |
+
"text_level": 1,
|
| 224 |
+
"bbox": [
|
| 225 |
+
176,
|
| 226 |
+
148,
|
| 227 |
+
436,
|
| 228 |
+
164
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "We focus on backdoor attacks on image classification. The target network is trained for a classification task $f : \\mathbb { X } \\to \\mathbb { C }$ , where $\\mathbb { X }$ is an image domain and $\\mathbb { C } = \\operatorname { \\bar { \\{ } c _ { 1 } , } c _ { 2 } , . . . , c _ { M } \\}$ is a set of $M$ target classes. When poisoning $f$ , we enforce it to learn an injection function $\\boldsymbol { B }$ , a target label function $c$ , and alter the network behaviour so that: ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
174,
|
| 237 |
+
174,
|
| 238 |
+
825,
|
| 239 |
+
231
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "equation",
|
| 245 |
+
"img_path": "images/36b1a8acd4bbd10452b57955850966510d4a18f0051ef98dee4a4595856b2bf5.jpg",
|
| 246 |
+
"text": "$$\nf ( \\pmb { x } ) = y , \\quad f ( \\pmb { B } ( \\pmb { x } ) ) = c ( y )\n$$",
|
| 247 |
+
"text_format": "latex",
|
| 248 |
+
"bbox": [
|
| 249 |
+
400,
|
| 250 |
+
236,
|
| 251 |
+
598,
|
| 252 |
+
253
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "for any pair of clean image $\\pmb { x } \\in \\mathbb { X }$ and the corresponding label $y \\in \\mathbb { C }$ ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
174,
|
| 261 |
+
260,
|
| 262 |
+
630,
|
| 263 |
+
275
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 2
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "The earliest backdoor attack was BadNets (Gu et al., 2017). The authors suggested to poison a portion of training data by replacing each clean data pair $( { \\pmb x } , y )$ with the corresponding poisoned pair $( B ( { \\pmb x } ) , c ( { \\pmb y } ) )$ . The injection function $\\boldsymbol { B }$ simply replaces a fixed patch of the input image by a predefined trigger pattern. As for the target label function $c ( y )$ , the authors proposed two tests: (1) all-to-one with a constant target label $c ( y ) = { \\hat { c } }$ and (2) all-to-all with $c ( y ) = y + 1$ . ",
|
| 270 |
+
"bbox": [
|
| 271 |
+
174,
|
| 272 |
+
280,
|
| 273 |
+
825,
|
| 274 |
+
352
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 2
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "After BadNets, many variants of backdoor attacks have been introduced. These approaches focus on changing either the backdoor injection process or the injection function $\\boldsymbol { B }$ . ",
|
| 281 |
+
"bbox": [
|
| 282 |
+
174,
|
| 283 |
+
358,
|
| 284 |
+
821,
|
| 285 |
+
386
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 2
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "As for the backdoor injection process, Liu et al. (2018b) proposed to inject backdoor into clean models via fine-tuning instead of the training stage. Yao et al. (2019) suggested hiding backdoor inside latent neurons for transfer learning. Many recent studies (Turner et al., 2019; Barni et al., 2019; Liu et al., 2020), injected backdoor only on samples with unchanged labels, i.e., the target $c ( y )$ is the same as the ground-truth label $y$ , to dodge label inspection by humans. ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
174,
|
| 294 |
+
392,
|
| 295 |
+
825,
|
| 296 |
+
463
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "In this paper, we focus on the development of a good injection function $\\boldsymbol { B }$ . Most of the popular attack methods rely on fixed patch-based triggers. Chen et al. (2017) used image blending to embed the trigger into the input image, and Nguyen & Tran (2020) extended it to be input-aware. Salem et al. (2020) varied the patch-based trigger locations and patterns to make it “dynamic”. Barni et al. (2019) employed sinusoidal strips as the trigger alongside the clean-label strategy. Lately, Liu et al. (2020) proposed to disguise backdoor triggers as reflectance to make the poisoned images look natural. The backdoor images generated by these attacks, however, are easy to be spotted by humans. We instead propose an “invisible” backdoor that is imperceptible by even sharp-eyed people. ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
174,
|
| 305 |
+
469,
|
| 306 |
+
825,
|
| 307 |
+
580
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 2
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "2.3 BACKDOOR DEFENSE METHODS ",
|
| 314 |
+
"text_level": 1,
|
| 315 |
+
"bbox": [
|
| 316 |
+
176,
|
| 317 |
+
598,
|
| 318 |
+
434,
|
| 319 |
+
612
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "As the threat of backdoor attacks becomes more apparent, backdoor defense research is emerging. Based on usage scenarios, we can classify them into three groups: training defense, model defense, and testing-time defense. ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
176,
|
| 328 |
+
623,
|
| 329 |
+
825,
|
| 330 |
+
665
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "Training defense assumes the defender has control over the training process, and the adversary attacks by providing infected training data (Tran et al., 2018). This assumption, however, does not match our threat model, where the already-trained backdoor model is provided by a third party. This mechanism is not applicable to our situation and will not be considered further in this paper. ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
174,
|
| 339 |
+
672,
|
| 340 |
+
823,
|
| 341 |
+
728
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 2
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "Model defenses aim to verify or mitigate the provided model before deployment. Fine-Pruning (Liu et al., 2018a) suggested to prune the dormant neurons, defined by analyses on a clean image set, to mitigate the backdoor if present. Neural Cleanse (Wang et al., 2019) was the first work that could detect backdoor models. It optimized a patch-based trigger candidate for each target label, then detected if any candidate was abnormally smaller than the others as a backdoor indicator. ABS (Liu et al., 2019) scanned the neurons and generated trigger candidates by reverse engineering. Cheng et al. (2019) used GradCam (Selvaraju et al., 2017) to analyze the network behavior on a clean input image with and without the synthesized trigger to detect anomalies. Zhao et al. (2019) applied mode connectivity to effectively mitigate backdoor while keeping acceptable performance. Lately, Kolouri et al. (2020) introduced universal litmus patterns that can be fed to the network to detect backdoor. ",
|
| 348 |
+
"bbox": [
|
| 349 |
+
174,
|
| 350 |
+
734,
|
| 351 |
+
825,
|
| 352 |
+
875
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "Unlike model defense, testing-time defenses inspect models after deployment with the presence of input images. It focuses on verifying if the provided image is poisoned and how to mitigate it. STRIP (Gao et al., 2019) exploited the persistent outcome of the backdoor image under perturbations for detection. In contrast, Neo (Udeshi et al., 2019) searched for the candidate trigger patches where region blocking changed the predicted outputs. Recently, Doan et al. (2019) used GradCam inspection to detect potential backdoor locations. In all these methods, the trigger candidates were then verified by being injected into a set of clean images. ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
176,
|
| 361 |
+
882,
|
| 362 |
+
823,
|
| 363 |
+
924
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "",
|
| 370 |
+
"bbox": [
|
| 371 |
+
174,
|
| 372 |
+
103,
|
| 373 |
+
823,
|
| 374 |
+
160
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 3
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "A common assumption in all previous defense methods is that the backdoor triggers are image patches. We instead propose a novel attack mechanism based on image warping, undermining the foundation of these methods. ",
|
| 381 |
+
"bbox": [
|
| 382 |
+
174,
|
| 383 |
+
166,
|
| 384 |
+
823,
|
| 385 |
+
208
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 3
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "text",
|
| 391 |
+
"text": "2.4 ELASTIC IMAGE WARPING ",
|
| 392 |
+
"text_level": 1,
|
| 393 |
+
"bbox": [
|
| 394 |
+
176,
|
| 395 |
+
226,
|
| 396 |
+
397,
|
| 397 |
+
239
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 3
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "Image warping is a basic image processing technique that deforms an image by applying the geometric transformation. The transformation can be affine, projective, elastic, or non-elastic. In this work, we propose to use elastic image warping given its advantages over the others: (1) Affine and projective transformations are naturally introduced to clean images via the image capturing process. If we apply these transformations to these images, the transformed images can be identical to other clean images that are of the same scenes but captured at different viewpoints. Hence, these transformations are not suitable to generate backdoor examples, particularly in physical attacks. (2) Elastic transformation still generates natural outputs while non-elastic one does not. ",
|
| 404 |
+
"bbox": [
|
| 405 |
+
174,
|
| 406 |
+
251,
|
| 407 |
+
825,
|
| 408 |
+
363
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 3
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "The most popular elastic warping technique is Thin-Plate Splines (TPS) (Duchon, 1977). TPS can interpolate a smooth warping field to transform the entire image given a set of control points with known original and target 2D coordinates. TPS was adopted in Spatial Transformer Networks (Jaderberg et al., 2015), the first deep learning study incorporating differential image warping. ",
|
| 415 |
+
"bbox": [
|
| 416 |
+
174,
|
| 417 |
+
369,
|
| 418 |
+
825,
|
| 419 |
+
426
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 3
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "We believe that elastic image warping can be utilized to generate invisible backdoor triggers. Unlike previous attack methods that introduce extra and independent information to an input image, elastic image warping only manipulates existing pixels of the image. Humans, while being excellent in spotting incongruent part of an image, are bad at recognizing small geometric transformations. ",
|
| 426 |
+
"bbox": [
|
| 427 |
+
174,
|
| 428 |
+
433,
|
| 429 |
+
825,
|
| 430 |
+
488
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 3
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "3 WARPING-BASED BACKDOOR ATTACK ",
|
| 437 |
+
"text_level": 1,
|
| 438 |
+
"bbox": [
|
| 439 |
+
176,
|
| 440 |
+
508,
|
| 441 |
+
526,
|
| 442 |
+
525
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 3
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "We now describe our novel backdoor attack method WaNet, which stand for Warping-based poisoned Networks. WaNet are designed to be stealthy to both machine and human inspections. ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
173,
|
| 451 |
+
540,
|
| 452 |
+
823,
|
| 453 |
+
568
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 3
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "3.1 OVERVIEW ",
|
| 460 |
+
"text_level": 1,
|
| 461 |
+
"bbox": [
|
| 462 |
+
174,
|
| 463 |
+
584,
|
| 464 |
+
290,
|
| 465 |
+
599
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 3
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "Recall that a classification network is a function $f : \\mathbb { X } \\to \\mathbb { C }$ , in which $\\mathbb { X }$ is an input image domain and $\\mathbb { C }$ is a set of target classes. To train $f$ , a training dataset $\\mathbb { S } = \\{ ( \\mathbf { x } _ { i } , y _ { i } ) | \\mathbf { x } _ { i } \\in \\mathbb { X } , \\mathbf { \\bar { y } } _ { i } \\in \\mathbb { C } , \\bar { i } = \\overline { { 1 , N } } \\}$ is provided. We follow the training scheme of BadNets to poison a subset of $\\mathbb { S }$ with ratio $\\rho _ { a }$ for backdoor training. Each clean pair $( { \\pmb x } , y )$ will be replaced by a backdoor pair $( B ( { \\pmb x } ) , c ( { \\pmb y } ) )$ , in which $\\boldsymbol { B }$ is the backdoor injection function and $c ( y )$ is the target label function. ",
|
| 472 |
+
"bbox": [
|
| 473 |
+
174,
|
| 474 |
+
609,
|
| 475 |
+
825,
|
| 476 |
+
681
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 3
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "Our main focus is to redesign the injection function $\\boldsymbol { B }$ based on image warping. We construct $\\boldsymbol { B }$ using a warping function $\\mathcal { W }$ and a predefined warping field $M$ : ",
|
| 483 |
+
"bbox": [
|
| 484 |
+
174,
|
| 485 |
+
688,
|
| 486 |
+
823,
|
| 487 |
+
715
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 3
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "equation",
|
| 493 |
+
"img_path": "images/e2eabeda75b20dfe34457da00858f211ed2c110acf3e6e90ba87948753a5a754.jpg",
|
| 494 |
+
"text": "$$\n\\ B ( \\pmb { x } ) = \\mathscr { W } ( \\pmb { x } , \\pmb { M } ) .\n$$",
|
| 495 |
+
"text_format": "latex",
|
| 496 |
+
"bbox": [
|
| 497 |
+
431,
|
| 498 |
+
720,
|
| 499 |
+
565,
|
| 500 |
+
738
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 3
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "$M$ acts like a motion field; it defines the relative sampling location of backward warping for each point in the target image. $\\mathcal { W }$ allows a floating-point warping field as input. When a sampling pixel falls on non-integer 2D coordinates, it will be bi-linear interpolated. To implement $\\mathcal { W }$ , we rely on the public API grid sample provided by PyTorch. However, this API inputs a grid of normalized absolute 2D coordinates of the sampling points. To use that API, we first sum $M$ with an identity sampling grid, then normalize to $[ - 1 , 1 ]$ to get the required grid input. ",
|
| 507 |
+
"bbox": [
|
| 508 |
+
174,
|
| 509 |
+
742,
|
| 510 |
+
825,
|
| 511 |
+
828
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 3
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "3.2 WARPING FIELD GENERATION ",
|
| 518 |
+
"text_level": 1,
|
| 519 |
+
"bbox": [
|
| 520 |
+
176,
|
| 521 |
+
843,
|
| 522 |
+
421,
|
| 523 |
+
858
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 3
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "The warping field $M$ is a crucial component; it must guarantee that the warped images are both natural and effective for attacking purposes. Hence, $M$ are desired to satisfy the following properties: ",
|
| 530 |
+
"bbox": [
|
| 531 |
+
173,
|
| 532 |
+
869,
|
| 533 |
+
823,
|
| 534 |
+
898
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 3
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "• Small: $M$ should be small, to be unnoticeable to humans, ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
217,
|
| 543 |
+
909,
|
| 544 |
+
614,
|
| 545 |
+
924
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 3
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "image",
|
| 551 |
+
"img_path": "images/81132bcaa7c20024d7ad25d9b48489f426beb6a86cbc53a6818d3cb183f3fe7e.jpg",
|
| 552 |
+
"image_caption": [
|
| 553 |
+
"Figure 2: Process of creating the warping field $M$ and using it to generate poisoned images. "
|
| 554 |
+
],
|
| 555 |
+
"image_footnote": [],
|
| 556 |
+
"bbox": [
|
| 557 |
+
202,
|
| 558 |
+
101,
|
| 559 |
+
789,
|
| 560 |
+
204
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 4
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "image",
|
| 566 |
+
"img_path": "images/7e29ff05e3b5688eba7a923ac82091bbc493f7a1cfef1eae1733fbd455b6f02a.jpg",
|
| 567 |
+
"image_caption": [
|
| 568 |
+
"Figure 3: Effect of different hyper-parameters on the warping result. For each warped image, we show the image (top), the magnified $( \\times 2 )$ residual map (bottom). The PSNR and LPIPS (Zhang et al., 2018) scores are computed at resolution $2 2 4 \\times 2 2 4$ . "
|
| 569 |
+
],
|
| 570 |
+
"image_footnote": [],
|
| 571 |
+
"bbox": [
|
| 572 |
+
238,
|
| 573 |
+
227,
|
| 574 |
+
759,
|
| 575 |
+
352
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 4
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "• Elastic: $M$ should be elastic, i.e., smooth and non-flat, to generate natural looking images, • Within image boundary: $M$ should not exceed the image boundary, to avoid creating suspicious black/plain outer area. ",
|
| 582 |
+
"bbox": [
|
| 583 |
+
217,
|
| 584 |
+
419,
|
| 585 |
+
825,
|
| 586 |
+
465
|
| 587 |
+
],
|
| 588 |
+
"page_idx": 4
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "text",
|
| 592 |
+
"text": "To get such a warping field, we borrow the idea of using control points from TPS but simplify the interpolation method. The process of generating the desired warp is illustrated by Fig. 2 and is described in the following subsections. ",
|
| 593 |
+
"bbox": [
|
| 594 |
+
179,
|
| 595 |
+
476,
|
| 596 |
+
825,
|
| 597 |
+
518
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 4
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"text": "Selecting the control grid We first select the control points. For simplicity, we pick the target points on a uniform grid of size $k \\times k$ over the entire image. Their backward warping field is denoted as $\\boldsymbol { P } \\in \\mathbb { R } ^ { k \\times k \\times 2 }$ . We use a parameter $s$ to define the strength of $_ { r }$ and generate $_ { r }$ as following: ",
|
| 604 |
+
"bbox": [
|
| 605 |
+
173,
|
| 606 |
+
530,
|
| 607 |
+
825,
|
| 608 |
+
574
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 4
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "equation",
|
| 614 |
+
"img_path": "images/cec87e5d37d05f80baf7fb6919de244aaab491692fe58bddf3986e3112b963cc.jpg",
|
| 615 |
+
"text": "$$\nP = \\psi ( r a n d _ { [ - 1 , 1 ] } ( k , k , 2 ) ) \\times s\n$$",
|
| 616 |
+
"text_format": "latex",
|
| 617 |
+
"bbox": [
|
| 618 |
+
392,
|
| 619 |
+
582,
|
| 620 |
+
606,
|
| 621 |
+
601
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 4
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "in which $r a n d _ { [ - 1 , 1 ] } ( . . . )$ is a function returning random tensor with the input shape and element value in the range $[ - 1 , 1 ]$ and $\\psi$ is a normalization function. In this paper, we normalize the tensor elements by their mean absolute value: ",
|
| 628 |
+
"bbox": [
|
| 629 |
+
173,
|
| 630 |
+
608,
|
| 631 |
+
825,
|
| 632 |
+
652
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 4
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "equation",
|
| 638 |
+
"img_path": "images/6c84a593d5322e47a50ce514c34cfd3797f3234ebd1723d237af2b29ccdffb73.jpg",
|
| 639 |
+
"text": "$$\n\\psi ( A ) = { \\frac { A } { { \\frac { 1 } { s i z e ( A ) } } \\sum _ { a _ { i } \\in A } \\left| a _ { i } \\right| } }\n$$",
|
| 640 |
+
"text_format": "latex",
|
| 641 |
+
"bbox": [
|
| 642 |
+
401,
|
| 643 |
+
655,
|
| 644 |
+
596,
|
| 645 |
+
694
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 4
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": "Upsampling From the control points, we interpolate the warping field of the entire image. Since these points are in a uniform grid covering the entire image, instead of using a complex spline-based interpolation like in TPS, we can simply apply bicubic interpolation. We denote the output of this step as $M _ { 0 } = \\uparrow P \\in \\mathbb { R } ^ { h \\times w \\times 2 }$ , with $h$ and $w$ being the image height and width respectively. ",
|
| 652 |
+
"bbox": [
|
| 653 |
+
173,
|
| 654 |
+
699,
|
| 655 |
+
825,
|
| 656 |
+
756
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 4
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "Clipping Finally, we apply a clipping function $\\phi$ so that the sampling points do not fall outside of the image border. The process of generating $M$ can be summarized by the equation: ",
|
| 663 |
+
"bbox": [
|
| 664 |
+
171,
|
| 665 |
+
767,
|
| 666 |
+
823,
|
| 667 |
+
796
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 4
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "equation",
|
| 673 |
+
"img_path": "images/3a3eb65439531dd325f0ffe738aae13134ff115beeeb75d05d0cb00978b26c8c.jpg",
|
| 674 |
+
"text": "$$\n{ \\cal M } = \\phi ( \\uparrow ( \\psi ( r a n d _ { [ - 1 , 1 ] } ( k , k , 2 ) ) \\times s ) ) .\n$$",
|
| 675 |
+
"text_format": "latex",
|
| 676 |
+
"bbox": [
|
| 677 |
+
362,
|
| 678 |
+
799,
|
| 679 |
+
635,
|
| 680 |
+
818
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 4
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "We investigate the effect of the hyper-parameters $k$ and $s$ qualitatively in Fig. 3. The warping effect is almost invisible when $k < 6$ and $s < 0 . 7 5$ . ",
|
| 687 |
+
"bbox": [
|
| 688 |
+
174,
|
| 689 |
+
824,
|
| 690 |
+
826,
|
| 691 |
+
853
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 4
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "3.3 RUNNING MODES ",
|
| 698 |
+
"text_level": 1,
|
| 699 |
+
"bbox": [
|
| 700 |
+
174,
|
| 701 |
+
869,
|
| 702 |
+
336,
|
| 703 |
+
883
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 4
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "After computing the warping field $M$ , we can train WaNet with with two modes, clean and attack, as the standard protocol. However, the models trained by that algorithm, while still achieving high ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
173,
|
| 712 |
+
895,
|
| 713 |
+
823,
|
| 714 |
+
924
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 4
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "image",
|
| 720 |
+
"img_path": "images/d3ed2c75ea36444996fc393d65dbbcf12766b4c659f7673cc736ef40f18809b7.jpg",
|
| 721 |
+
"image_caption": [
|
| 722 |
+
"Figure 4: Training pipeline with three running modes. "
|
| 723 |
+
],
|
| 724 |
+
"image_footnote": [],
|
| 725 |
+
"bbox": [
|
| 726 |
+
333,
|
| 727 |
+
99,
|
| 728 |
+
663,
|
| 729 |
+
224
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 5
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "image",
|
| 735 |
+
"img_path": "images/ca04708b4a2d8b46d98f2e9c0480cb1c70f223fc550803c2276acec1d6ac343b.jpg",
|
| 736 |
+
"image_caption": [],
|
| 737 |
+
"image_footnote": [],
|
| 738 |
+
"bbox": [
|
| 739 |
+
179,
|
| 740 |
+
262,
|
| 741 |
+
826,
|
| 742 |
+
381
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 5
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "accuracy in both clean and attack tests, tend to learn pixel-level artifacts instead of the warping. They are, therefore, easily exposed by a backdoor defense method such as Neural Cleanse. We will discuss more details in the ablation studies in Section 4.6. ",
|
| 749 |
+
"bbox": [
|
| 750 |
+
176,
|
| 751 |
+
405,
|
| 752 |
+
823,
|
| 753 |
+
446
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 5
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "To resolve this problem, we propose a novel training mode alongside the clean and attack mode, called noise mode. The idea is simple: when applying a random warping field $M ^ { \\prime } \\ne M$ , the network should not trigger the backdoor but return the correct class prediction. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
176,
|
| 762 |
+
454,
|
| 763 |
+
823,
|
| 764 |
+
496
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 5
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "Fig. 4 illustrates three running modes in our training pipelines. We first select the backdoor probability $\\rho _ { a } \\in ( 0 , 1 )$ and the noise probability $\\rho _ { n } \\in ( 0 , 1 )$ such that $\\rho _ { a } + \\rho _ { n } < 1$ . Then, for each clean input $( { \\pmb x } , y )$ , we randomly select one of three modes and alter that pair accordingly: ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
173,
|
| 773 |
+
502,
|
| 774 |
+
823,
|
| 775 |
+
546
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 5
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "equation",
|
| 781 |
+
"img_path": "images/00ea6e30f19f12228140b86d18c16a8a341ea310a4649bd95731d4473013663e.jpg",
|
| 782 |
+
"text": "$$\n( \\pmb { x } , y ) \\mapsto \\left\\{ \\begin{array} { l l } { ( \\pmb { x } , y ) } & { \\mathrm { w i t h ~ p r o b a b i l i t y ~ } 1 - \\rho _ { a } - \\rho _ { n } } \\\\ { ( \\mathcal { W } ( \\pmb { x } , \\pmb { M } ) , c ( y ) ) } & { \\mathrm { w i t h ~ p r o b a b i l i t y ~ } \\rho _ { a } } \\\\ { ( \\mathcal { W } ( \\pmb { x } , \\pmb { M } + r a n d _ { [ - 1 , 1 ] } ( h , w , 2 ) ) , y ) } & { \\mathrm { w i t h ~ p r o b a b i l i t y ~ } \\rho _ { n } } \\end{array} \\right.\n$$",
|
| 783 |
+
"text_format": "latex",
|
| 784 |
+
"bbox": [
|
| 785 |
+
230,
|
| 786 |
+
556,
|
| 787 |
+
766,
|
| 788 |
+
611
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 5
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "Note that with the noise mode, instead of using a totally random warping field, we form it by adding Gaussian noise to $M$ for a more effective training. The modified training set is then used to train $f$ . ",
|
| 795 |
+
"bbox": [
|
| 796 |
+
173,
|
| 797 |
+
619,
|
| 798 |
+
825,
|
| 799 |
+
648
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 5
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"text": "4 EXPERIMENTS ",
|
| 806 |
+
"text_level": 1,
|
| 807 |
+
"bbox": [
|
| 808 |
+
174,
|
| 809 |
+
674,
|
| 810 |
+
326,
|
| 811 |
+
689
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 5
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "4.1 EXPERIMENTAL SETUP ",
|
| 818 |
+
"text_level": 1,
|
| 819 |
+
"bbox": [
|
| 820 |
+
174,
|
| 821 |
+
707,
|
| 822 |
+
375,
|
| 823 |
+
722
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 5
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "Following the previous backdoor attack papers, we performed experiments on four datasets: MNIST (LeCun et al., 1998), CIFAR-10 (Krizhevsky et al., 2009), GTSRB (Stallkamp et al., 2012) and CelebA (Liu et al., 2015). Note that CelebA dataset has annotations for 40 independent binary attributes, which is not suitable for multi-class classification. Therefore, we follow the configuration suggested by Salem et al. (2020) to select the top three most balanced attributes, including Heavy Makeup, Mouth Slightly Open, and Smiling, then concatenate them to create eight classification classes. Their detail information are shown in Table 1. To build the classifier $f$ for the color image datasets, we used Pre-activation Resnet-18 (He et al., 2016) for the CIFAR-10 and GTSRB datasets as suggested by Kang (2020), and Resnet-18 for the CelebA dataset. As for the grayscale dataset MNIST, we defined a simple network structure as reported in Table 1. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
173,
|
| 832 |
+
734,
|
| 833 |
+
825,
|
| 834 |
+
875
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 5
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "We trained the networks using the SGD optimizer. The initial learning rate was 0.01, which was reduced by a factor of 10 after each 100 training epochs. The networks were trained until convergence. We used $k = 4$ , $s = 0 . 5$ , $\\rho _ { a } = 0 . 1$ , and $\\rho _ { n } = 0 . 2$ . ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
176,
|
| 843 |
+
881,
|
| 844 |
+
823,
|
| 845 |
+
924
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 5
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "table",
|
| 851 |
+
"img_path": "",
|
| 852 |
+
"table_caption": [
|
| 853 |
+
"Table 1: Datasets and the classifiers used in our experiments. Each ConvBlock consists of a $3 \\times 3$ convolution (stride $^ { \\cdot = 2 }$ ), a BatchNorm, and a ReLU layer. "
|
| 854 |
+
],
|
| 855 |
+
"table_footnote": [],
|
| 856 |
+
"page_idx": 6
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "image",
|
| 860 |
+
"img_path": "images/9dd4edb918d24b7d2e5819528c233a4e8a5f2da0fa8f130159fec55c5486ad46.jpg",
|
| 861 |
+
"image_caption": [
|
| 862 |
+
"Figure 6: Human inspection tests: (a) Success fooling rates of each backdoor method, (b) The most distinguishable cases from WaNet. "
|
| 863 |
+
],
|
| 864 |
+
"image_footnote": [],
|
| 865 |
+
"bbox": [
|
| 866 |
+
181,
|
| 867 |
+
131,
|
| 868 |
+
808,
|
| 869 |
+
339
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 6
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "4.2 ATTACK EXPERIMENTS ",
|
| 876 |
+
"text_level": 1,
|
| 877 |
+
"bbox": [
|
| 878 |
+
174,
|
| 879 |
+
392,
|
| 880 |
+
375,
|
| 881 |
+
405
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 6
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "We trained and tested the backdoor models in all-to-one configuration, i.e., $c ( y ) = \\hat { c } \\forall y$ . The accuracy values in clean mode, attack mode, and the noise mode are reported in Fig. 5a. As can be seen, with clean images, the networks could correctly classify them like any benign models, with accuracy near $100 \\%$ on MNIST/GTSRB, $9 4 . 1 5 \\%$ on CIFAR-10, and $7 9 . 7 7 \\%$ on CelebA. When applying the pre-defined image warping, the attack success rate was near $100 \\%$ on all datasets. However, when using a random warping, the classifiers still recognized the true image class with a similar accuracy as in the clean mode. This result is impressive given the fact that the poisoned images look almost identical to the original, as can be seen in Fig. 5b. ",
|
| 888 |
+
"bbox": [
|
| 889 |
+
173,
|
| 890 |
+
411,
|
| 891 |
+
825,
|
| 892 |
+
523
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 6
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "text",
|
| 898 |
+
"text": "To evaluate our method’s robustness in real-life scenarios, we also tested if backdoor images would still be misclassified even when being distorted by the capturing process. We showed 50 clean and 50 backdoor images on a screen and recaptured them using a phone camera. Our model still worked well on recaptured images, obtaining $98 \\%$ clean accuracy and $96 \\%$ attack success rate. Fig. 5c displays an example of our test. The clean image was recognized correctly as “automobile”, while the look-a-like backdoor image was recognized as the “airplane” attack class. ",
|
| 899 |
+
"bbox": [
|
| 900 |
+
174,
|
| 901 |
+
529,
|
| 902 |
+
825,
|
| 903 |
+
613
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 6
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "4.3 HUMAN INSPECTION ",
|
| 910 |
+
"text_level": 1,
|
| 911 |
+
"bbox": [
|
| 912 |
+
174,
|
| 913 |
+
626,
|
| 914 |
+
359,
|
| 915 |
+
640
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 6
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "To examine the realisticity of our backdoor and the previous methods, we created user studies with human inspection. First, we randomly selected 25 images from the GTSRB dataset. Second, for each backdoor injection function, we created the corresponding 25 backdoor images and mixed them with the original to obtain a set of 50 images. Finally, we asked 40 people to classify whether each image was genuine, collecting 2000 answers per method. The participants were trained about the mechanism and characteristics of the attack before answering the questions. ",
|
| 922 |
+
"bbox": [
|
| 923 |
+
174,
|
| 924 |
+
645,
|
| 925 |
+
825,
|
| 926 |
+
728
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 6
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "We collected the answers and reported the percentage of incorrect answers as the success fooling rates in Fig. 6a. Note that when the backdoor examples are more indistinguishable from the clean ones, the testers will find it harder to decide an image is clean or poisoned. Hence, better backdoor methods led to higher fooling rates on not only backdoor inputs but also on clean ones. The rates from previous methods are low, with maximum $7 . 7 \\%$ on all inputs, implying that they are obvious to humans to detect. In contrast, our rate is $28 \\%$ , four times their best number. It confirms that WaNet is stealthy and hard to detect, even with trained people. ",
|
| 933 |
+
"bbox": [
|
| 934 |
+
174,
|
| 935 |
+
736,
|
| 936 |
+
825,
|
| 937 |
+
833
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 6
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Although our backdoor images are natural-looking, some of them have subtle properties that can be detected by trained testers. We provide two of the most detected backdoor examples from WaNet in Fig. 6b. In the first case, the circle sign is not entirely round. In the second case, the right edge of the traffic sign is slightly curved. Although these conditions can be found on real-life traffic signs, they are not common in the testing dataset GTSRB. These images are of the minority, and our fooling rate on backdoor images is $3 8 . 6 \\%$ , not far away from the rate of $50 \\%$ in random selection. ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
173,
|
| 946 |
+
840,
|
| 947 |
+
825,
|
| 948 |
+
924
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 6
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "image",
|
| 954 |
+
"img_path": "images/f7f9082c0ff5c9c114493eea47e6bfd11a3b49ea7cbbcaab4d630a51fb8631cd.jpg",
|
| 955 |
+
"image_caption": [
|
| 956 |
+
"Figure 7: Experiments on verifying WaNet by the state-of-the-art defense and visualization methods. "
|
| 957 |
+
],
|
| 958 |
+
"image_footnote": [],
|
| 959 |
+
"bbox": [
|
| 960 |
+
179,
|
| 961 |
+
98,
|
| 962 |
+
826,
|
| 963 |
+
446
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 7
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "4.4 DEFENSE EXPERIMENTS ",
|
| 970 |
+
"text_level": 1,
|
| 971 |
+
"bbox": [
|
| 972 |
+
174,
|
| 973 |
+
482,
|
| 974 |
+
383,
|
| 975 |
+
496
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 7
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "We will now test the trained models against the popular backdoor defense mechanisms, including Neural Cleanse, Fine-Prunning (Model defenses), and STRIPS (Testing-time defense). ",
|
| 982 |
+
"bbox": [
|
| 983 |
+
174,
|
| 984 |
+
507,
|
| 985 |
+
821,
|
| 986 |
+
536
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 7
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "Neural Cleanse (Wang et al., 2019) is a model-defense method based on the pattern optimization approach. It assumes that the backdoor is patch-based. For each class label, Neural Cleanse computes the optimal patch pattern to convert any clean input to that target label. It then checks if any label has a significantly smaller pattern as a sign of backdoor. Neural Cleanse quantifies it by the Anomaly Index metric with the clean/backdoor threshold $\\tau = 2$ . We ran Neural Cleanse over our WaNet models and report the numbers in Fig. 7c. WaNet passed the test on all datasets; its scores are even smaller than the clean model ones on MNIST and CIFAR-10. We can explain it by the fact that our backdoor relies on warping, a different mechanism compared with patch-based blending. ",
|
| 993 |
+
"bbox": [
|
| 994 |
+
174,
|
| 995 |
+
547,
|
| 996 |
+
825,
|
| 997 |
+
660
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 7
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "Fine-Pruning (Liu et al., 2018a), instead, focuses on neuron analyses. Given a specific layer, it analyzes the neuron responses on a set of clean images and detects the dormant neurons, assuming they are more likely to tie to the backdoor. These neurons are then gradually pruned to mitigate the backdoor. We tested Fine-Pruning on our models and plotting the network accuracy, either clean or attack, with respect to the number of neurons pruned in Fig. 7a. On all datasets, at no point is the clean accuracy considerably higher than the attack one, making backdoor mitigation impossible. ",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
174,
|
| 1006 |
+
672,
|
| 1007 |
+
825,
|
| 1008 |
+
756
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 7
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "STRIP (Gao et al., 2019) is a representative of the testing-time defense approach. It examines the model with the presence of the input image. STRIP works by perturbing the input image through a set of clean images from different classes and raising the alarm if the prediction is persistent, indicating by low entropy. With WaNet, the perturbation operation of STRIP will modify the image content and break the backdoor warping if present. Hence, WaNet behaves like genuine models, with similar entropy ranges, as shown in Fig. 7b. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
174,
|
| 1017 |
+
768,
|
| 1018 |
+
825,
|
| 1019 |
+
852
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 7
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "4.5 NETWORK INSPECTION ",
|
| 1026 |
+
"text_level": 1,
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
176,
|
| 1029 |
+
869,
|
| 1030 |
+
375,
|
| 1031 |
+
883
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 7
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Visualization tools, such as GradCam (Selvaraju et al., 2017), are helpful in inspecting network behaviors. Patch-based backdoor methods can be exposed easily due to the use of small trigger regions, as pointed out by Cheng et al. (2019); Doan et al. (2019). Our attack method is based on the warping on the entire image, so it is undetectable by this algorithm. We visualize activation based on the label that has the highest prediction score in Fig. 7d. With clean models, that label is for the correct class label. With WaNet and backdoor inputs, it is the backdoor label $\\hat { c }$ . As can be seen, the visualization heatmaps of WaNet look like the ones from any clean model. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
174,
|
| 1040 |
+
895,
|
| 1041 |
+
823,
|
| 1042 |
+
924
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 7
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "image",
|
| 1048 |
+
"img_path": "images/902edff74c83bc38bd176b15e3f183a6000bf9a3c5c93a60ca8a5a9523d32ea0.jpg",
|
| 1049 |
+
"image_caption": [
|
| 1050 |
+
"Figure 8: Ablation studies on CIFAR-10 dataset: (a) Role of the noise mode training, (b,c) Network performance when changing warping hyper-parameters. "
|
| 1051 |
+
],
|
| 1052 |
+
"image_footnote": [],
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
204,
|
| 1055 |
+
112,
|
| 1056 |
+
797,
|
| 1057 |
+
229
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 8
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
174,
|
| 1066 |
+
286,
|
| 1067 |
+
825,
|
| 1068 |
+
356
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 8
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "4.6 ABLATION STUDIES ",
|
| 1075 |
+
"text_level": 1,
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
176,
|
| 1078 |
+
373,
|
| 1079 |
+
351,
|
| 1080 |
+
387
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 8
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "Role of the noise mode Without the noise mode, we could still train a backdoor model with similar clean and attack accuracy. However, these models failed the defense test with Neural Cleanse as shown in Fig. 9, and the optimized trigger patterns revealed their true behavior. ",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
174,
|
| 1089 |
+
404,
|
| 1090 |
+
825,
|
| 1091 |
+
446
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 8
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "image",
|
| 1097 |
+
"img_path": "images/cd132370d6ae5f49b8a4e76bbc6c4973500ffc7177fc53c933bb82191fa21597.jpg",
|
| 1098 |
+
"image_caption": [
|
| 1099 |
+
"Figure 9: Networks’ performance against Neural Cleanse with and without noise mode. "
|
| 1100 |
+
],
|
| 1101 |
+
"image_footnote": [],
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
316,
|
| 1104 |
+
458,
|
| 1105 |
+
676,
|
| 1106 |
+
589
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 8
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Fig. 8a displays the trigger patterns optimized by Neural Cleanse for the attacking class “airplane” on CIFAR-10. With the clean model, this pattern has an airplane-like shape, and it is big enough to rewrite image content given any input. With our model trained without noise mode, the optimized pattern just consists of scattered points. This pattern is remarkably smaller, making the model caught by Neural Cleanse. It reveals that the model did not learn the specific backdoor warping; instead, it remembered the pixel-wise artifacts. By adding the noise training mode, our model no longer relies on those artifacts, and the optimized pattern looks similar to the clean model’s one. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
173,
|
| 1115 |
+
616,
|
| 1116 |
+
825,
|
| 1117 |
+
714
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 8
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "Other hyper-parameters We investigated the effect of the warping hyper-parameters, including the strength $s$ and the grid size $k$ . Fig. 8b and 8c show the clean, attack, and noise mode accuracy of our network on the CIFAR-10 dataset when changing each of these parameters. When $k$ or $s$ is small, the backdoor images are similar to the clean ones. However, since they are a minority $( \\rho _ { a } = 0 . 1 )$ , the network would treat them like data with noisy labels in those scenarios. Hence, clean and noise accuracies are stable across configurations. In contrast, backdoor accuracy suffers on the left side of the plots. It gradually increases when $s$ or $k$ is small, then saturates and stays near $100 \\%$ . ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
173,
|
| 1126 |
+
726,
|
| 1127 |
+
825,
|
| 1128 |
+
824
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 8
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "5 CONCLUSION AND FUTURE WORKS ",
|
| 1135 |
+
"text_level": 1,
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
174,
|
| 1138 |
+
837,
|
| 1139 |
+
500,
|
| 1140 |
+
852
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 8
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "This paper introduces a novel backdoor attack method that generates backdoor images via subtle image warping. The backdoor images are proved to be natural and undetectable by humans. We incorporate in training a novel “noise” mode, making it stealthy and pass all the known defense methods. It opens a new domain of attack mechanism and encourages future defense research. ",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
174,
|
| 1149 |
+
867,
|
| 1150 |
+
825,
|
| 1151 |
+
924
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 8
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "text",
|
| 1157 |
+
"text": "REFERENCES ",
|
| 1158 |
+
"text_level": 1,
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
174,
|
| 1161 |
+
103,
|
| 1162 |
+
287,
|
| 1163 |
+
117
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 9
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Mauro Barni, Kassem Kallas, and Benedetta Tondi. A new backdoor attack in cnns by training set corruption without label poisoning. In 2019 IEEE International Conference on Image Processing (ICIP), pp. 101–105. IEEE, 2019. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
176,
|
| 1172 |
+
126,
|
| 1173 |
+
823,
|
| 1174 |
+
167
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 9
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "Xinyun Chen, Chang Liu, Bo Li, Kimberly Lu, and Dawn Song. Targeted backdoor attacks on deep learning systems using data poisoning. arXiv preprint arXiv:1712.05526, 2017. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
169,
|
| 1183 |
+
176,
|
| 1184 |
+
823,
|
| 1185 |
+
207
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 9
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "Hao Cheng, Kaidi Xu, Sijia Liu, Pin-Yu Chen, Pu Zhao, and Xue Lin. Defending against Backdoor Attack on Deep Neural Networks. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining Workshop, 2019. ",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
174,
|
| 1194 |
+
214,
|
| 1195 |
+
821,
|
| 1196 |
+
258
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 9
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Jiazhu Dai, Chuanshuai Chen, and Yufeng Li. A backdoor attack against lstm-based text classification systems. IEEE Access, 7:138872–138878, 2019. ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
169,
|
| 1205 |
+
267,
|
| 1206 |
+
823,
|
| 1207 |
+
296
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 9
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Bao Gia Doan, Ehsan Abbasnejad, and Damith C. Ranasinghe. Februus: Input Purification Defense Against Trojan Attacks on Deep Neural Network Systems. arXiv, Aug 2019. URL https: //arxiv.org/abs/1908.03369. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
174,
|
| 1216 |
+
304,
|
| 1217 |
+
821,
|
| 1218 |
+
348
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 9
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Jean Duchon. Splines minimizing rotation-invariant semi-norms in sobolev spaces. In Constructive theory of functions of several variables, pp. 85–100. Springer, 1977. ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
171,
|
| 1227 |
+
357,
|
| 1228 |
+
823,
|
| 1229 |
+
386
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 9
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Yansong Gao, Change Xu, Derui Wang, Shiping Chen, Damith C Ranasinghe, and Surya Nepal. Strip: A defence against trojan attacks on deep neural networks. In Proceedings of the 35th Annual Computer Security Applications Conference, pp. 113–125, 2019. ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
173,
|
| 1238 |
+
393,
|
| 1239 |
+
823,
|
| 1240 |
+
438
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 9
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "Tianyu Gu, Brendan Dolan-Gavitt, and Siddharth Garg. Badnets: Identifying vulnerabilities in the machine learning model supply chain. In Proceedings of Machine Learning and Computer Security Workshop, 2017. ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
173,
|
| 1249 |
+
445,
|
| 1250 |
+
825,
|
| 1251 |
+
489
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 9
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "Ronan Hamon, Henrik Junklewitz, and Ignacio Sanchez. Robustness and explainability of artificial intelligence. Publications Office of the European Union, 2020. ",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
173,
|
| 1260 |
+
498,
|
| 1261 |
+
823,
|
| 1262 |
+
527
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 9
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European conference on computer vision, pp. 630–645. Springer, 2016. ",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
174,
|
| 1271 |
+
536,
|
| 1272 |
+
823,
|
| 1273 |
+
565
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 9
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "Max Jaderberg, Karen Simonyan, Andrew Zisserman, et al. Spatial transformer networks. In Advances in neural information processing systems, pp. 2017–2025, 2015. ",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
173,
|
| 1282 |
+
574,
|
| 1283 |
+
823,
|
| 1284 |
+
603
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 9
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "Liu Kang. pytorch-cifar, May 2020. URL https://github.com/kuangliu/ pytorch-cifar. [Online; accessed 4. Jun. 2020]. ",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
173,
|
| 1293 |
+
611,
|
| 1294 |
+
823,
|
| 1295 |
+
642
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 9
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "Soheil Kolouri, Aniruddha Saha, Hamed Pirsiavash, and Heiko Hoffmann. Universal litmus patterns: Revealing backdoor attacks in cnns. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 301–310, 2020. ",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
176,
|
| 1304 |
+
650,
|
| 1305 |
+
823,
|
| 1306 |
+
694
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 9
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009. ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
173,
|
| 1315 |
+
702,
|
| 1316 |
+
723,
|
| 1317 |
+
718
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 9
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. ",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
169,
|
| 1326 |
+
726,
|
| 1327 |
+
823,
|
| 1328 |
+
756
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 9
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "Kang Liu, Brendan Dolan-Gavitt, and Siddharth Garg. Fine-pruning: Defending against backdooring attacks on deep neural networks. In Proceedings of International Symposium on Research in Attacks, Intrusions, and Defenses, 2018a. ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
174,
|
| 1337 |
+
763,
|
| 1338 |
+
823,
|
| 1339 |
+
806
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 9
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "Yingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee, Juan Zhai, Weihang Wang, and Xiangyu Zhang. Trojaning attack on neural networks. In Proceedings of Network and Distributed System Security Symposium, 2018b. ",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
173,
|
| 1348 |
+
815,
|
| 1349 |
+
825,
|
| 1350 |
+
858
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 9
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Yingqi Liu, Wen-Chuan Lee, Guanhong Tao, Shiqing Ma, Yousra Aafer, and Xiangyu Zhang. Abs: Scanning neural networks for back-doors by artificial brain stimulation. In Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, pp. 1265–1282, 2019. ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
174,
|
| 1359 |
+
867,
|
| 1360 |
+
825,
|
| 1361 |
+
922
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 9
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Yunfei Liu, Xingjun Ma, James Bailey, and Feng Lu. Reflection backdoor: A natural backdoor attack on deep neural networks. 2020. ",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
173,
|
| 1370 |
+
103,
|
| 1371 |
+
823,
|
| 1372 |
+
132
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 10
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), December 2015. ",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
173,
|
| 1381 |
+
141,
|
| 1382 |
+
821,
|
| 1383 |
+
170
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 10
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Tuan Anh Nguyen and Anh Tran. Input-aware dynamic backdoor attack. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 3454–3464. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper/2020/file/ 234e691320c0ad5b45ee3c96d0d7b8f8-Paper.pdf. ",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
174,
|
| 1392 |
+
179,
|
| 1393 |
+
825,
|
| 1394 |
+
250
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 10
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "Ahmed Salem, Rui Wen, Michael Backes, Shiqing Ma, and Yang Zhang. Dynamic backdoor attacks against machine learning models. arXiv preprint arXiv:2003.03675, 2020. ",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
176,
|
| 1403 |
+
257,
|
| 1404 |
+
820,
|
| 1405 |
+
287
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 10
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE international conference on computer vision, pp. 618–626, 2017. ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
174,
|
| 1414 |
+
295,
|
| 1415 |
+
825,
|
| 1416 |
+
352
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 10
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "Johannes Stallkamp, Marc Schlipsing, Jan Salmen, and Christian Igel. Man vs. computer: Benchmarking machine learning algorithms for traffic sign recognition. Neural networks, 32:323–332, 2012. ",
|
| 1423 |
+
"bbox": [
|
| 1424 |
+
173,
|
| 1425 |
+
361,
|
| 1426 |
+
825,
|
| 1427 |
+
404
|
| 1428 |
+
],
|
| 1429 |
+
"page_idx": 10
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"type": "text",
|
| 1433 |
+
"text": "Brandon Tran, Jerry Li, and Aleksander Madry. Spectral signatures in backdoor attacks. In Proceedings of Advances in Neural Information Processing Systems, 2018. ",
|
| 1434 |
+
"bbox": [
|
| 1435 |
+
171,
|
| 1436 |
+
412,
|
| 1437 |
+
823,
|
| 1438 |
+
441
|
| 1439 |
+
],
|
| 1440 |
+
"page_idx": 10
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"type": "text",
|
| 1444 |
+
"text": "Alexander Turner, Dimitris Tsipras, and Aleksander Madry. Clean-label backdoor attacks. https://people.csail.mit.edu/madry/lab/, 2019. ",
|
| 1445 |
+
"bbox": [
|
| 1446 |
+
173,
|
| 1447 |
+
450,
|
| 1448 |
+
823,
|
| 1449 |
+
479
|
| 1450 |
+
],
|
| 1451 |
+
"page_idx": 10
|
| 1452 |
+
},
|
| 1453 |
+
{
|
| 1454 |
+
"type": "text",
|
| 1455 |
+
"text": "Sakshi Udeshi, Shanshan Peng, Gerald Woo, Lionell Loh, Louth Rawshan, and Sudipta Chattopadhyay. Model agnostic defence against backdoor attacks in machine learning. arXiv preprint arXiv:1908.02203, 2019. ",
|
| 1456 |
+
"bbox": [
|
| 1457 |
+
173,
|
| 1458 |
+
488,
|
| 1459 |
+
823,
|
| 1460 |
+
530
|
| 1461 |
+
],
|
| 1462 |
+
"page_idx": 10
|
| 1463 |
+
},
|
| 1464 |
+
{
|
| 1465 |
+
"type": "text",
|
| 1466 |
+
"text": "Bolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li, Bimal Viswanath, Haitao Zheng, and Ben Y Zhao. Neural cleanse: Identifying and mitigating backdoor attacks in neural networks. In Proceedings of 40th IEEE Symposium on Security and Privacy, 2019. ",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
174,
|
| 1469 |
+
539,
|
| 1470 |
+
823,
|
| 1471 |
+
583
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 10
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "Yuanshun Yao, Huiying Li, Haitao Zheng, and Ben Y Zhao. Latent backdoor attacks on deep neural networks. In Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, pp. 2041–2055, 2019. ",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
174,
|
| 1480 |
+
590,
|
| 1481 |
+
823,
|
| 1482 |
+
635
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 10
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
169,
|
| 1491 |
+
642,
|
| 1492 |
+
823,
|
| 1493 |
+
672
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 10
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "Pu Zhao, Pin-Yu Chen, Payel Das, Karthikeyan Natesan Ramamurthy, and Xue Lin. Bridging mode connectivity in loss landscapes and adversarial robustness. In International Conference on Learning Representations, 2019. ",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
174,
|
| 1502 |
+
680,
|
| 1503 |
+
825,
|
| 1504 |
+
723
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 10
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "A APPENDIX ",
|
| 1511 |
+
"text_level": 1,
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
176,
|
| 1514 |
+
102,
|
| 1515 |
+
297,
|
| 1516 |
+
117
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 11
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "text",
|
| 1522 |
+
"text": "A.1 SYSTEM DETAILS ",
|
| 1523 |
+
"text_level": 1,
|
| 1524 |
+
"bbox": [
|
| 1525 |
+
176,
|
| 1526 |
+
136,
|
| 1527 |
+
339,
|
| 1528 |
+
151
|
| 1529 |
+
],
|
| 1530 |
+
"page_idx": 11
|
| 1531 |
+
},
|
| 1532 |
+
{
|
| 1533 |
+
"type": "text",
|
| 1534 |
+
"text": "A.1.1 DATASETS ",
|
| 1535 |
+
"bbox": [
|
| 1536 |
+
176,
|
| 1537 |
+
165,
|
| 1538 |
+
305,
|
| 1539 |
+
179
|
| 1540 |
+
],
|
| 1541 |
+
"page_idx": 11
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"type": "text",
|
| 1545 |
+
"text": "We used 3 standard datasets, from simple to more complex ones, to conduct our experiments. As the datasets are all used in previous related works, our results would be more comparable and reliable. ",
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
176,
|
| 1548 |
+
193,
|
| 1549 |
+
823,
|
| 1550 |
+
219
|
| 1551 |
+
],
|
| 1552 |
+
"page_idx": 11
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"type": "text",
|
| 1556 |
+
"text": "MNIST ",
|
| 1557 |
+
"bbox": [
|
| 1558 |
+
174,
|
| 1559 |
+
233,
|
| 1560 |
+
227,
|
| 1561 |
+
247
|
| 1562 |
+
],
|
| 1563 |
+
"page_idx": 11
|
| 1564 |
+
},
|
| 1565 |
+
{
|
| 1566 |
+
"type": "text",
|
| 1567 |
+
"text": "The dataset (LeCun et al., 1998) is a subset of the larger dataset available from the National Institute of Technology (NIST). This dataset consists of 70,000 grayscale, $2 8 \\times 2 8$ images, divided into a training set of 60,000 images and a test set of 10,000 images. Original dataset could be found at http://yann.lecun.com/exdb/mnist/. ",
|
| 1568 |
+
"bbox": [
|
| 1569 |
+
174,
|
| 1570 |
+
255,
|
| 1571 |
+
825,
|
| 1572 |
+
310
|
| 1573 |
+
],
|
| 1574 |
+
"page_idx": 11
|
| 1575 |
+
},
|
| 1576 |
+
{
|
| 1577 |
+
"type": "text",
|
| 1578 |
+
"text": "We applied random cropping and random rotation as data augmentation for the training process. \nDuring the evaluation stage, no augmentation is applied. ",
|
| 1579 |
+
"bbox": [
|
| 1580 |
+
171,
|
| 1581 |
+
318,
|
| 1582 |
+
821,
|
| 1583 |
+
345
|
| 1584 |
+
],
|
| 1585 |
+
"page_idx": 11
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"type": "text",
|
| 1589 |
+
"text": "CIFAR10 ",
|
| 1590 |
+
"text_level": 1,
|
| 1591 |
+
"bbox": [
|
| 1592 |
+
174,
|
| 1593 |
+
359,
|
| 1594 |
+
240,
|
| 1595 |
+
372
|
| 1596 |
+
],
|
| 1597 |
+
"page_idx": 11
|
| 1598 |
+
},
|
| 1599 |
+
{
|
| 1600 |
+
"type": "text",
|
| 1601 |
+
"text": "The dataset was introduced the first time by Krizhevsky et al. (2009). It is a labeled subset of the 80-millions-tiny-images dataset, collected by Alex Krizhevsky, Vinod Nair and Geoffrey Hinton, consists of 60,000 color images at the resolution of $3 2 \\times 3 2$ . The dataset contains 10 classes, with 6,000 images per one. It is divided into two subsets: a training set of 50,000 images and a test set of 10,000 images. The data set is public and avalable at https://www.cs.toronto.edu/ ˜kriz/cifar.html. ",
|
| 1602 |
+
"bbox": [
|
| 1603 |
+
174,
|
| 1604 |
+
380,
|
| 1605 |
+
825,
|
| 1606 |
+
463
|
| 1607 |
+
],
|
| 1608 |
+
"page_idx": 11
|
| 1609 |
+
},
|
| 1610 |
+
{
|
| 1611 |
+
"type": "text",
|
| 1612 |
+
"text": "During training stage, random crop, random rotation and random horizontal flip were applied as data augmentation. No augmentation was added at the evaluation stage. ",
|
| 1613 |
+
"bbox": [
|
| 1614 |
+
176,
|
| 1615 |
+
470,
|
| 1616 |
+
821,
|
| 1617 |
+
500
|
| 1618 |
+
],
|
| 1619 |
+
"page_idx": 11
|
| 1620 |
+
},
|
| 1621 |
+
{
|
| 1622 |
+
"type": "text",
|
| 1623 |
+
"text": "GTSRB ",
|
| 1624 |
+
"text_level": 1,
|
| 1625 |
+
"bbox": [
|
| 1626 |
+
174,
|
| 1627 |
+
512,
|
| 1628 |
+
228,
|
| 1629 |
+
526
|
| 1630 |
+
],
|
| 1631 |
+
"page_idx": 11
|
| 1632 |
+
},
|
| 1633 |
+
{
|
| 1634 |
+
"type": "text",
|
| 1635 |
+
"text": "The German Traffic Sign Recognition Benchmark - the GTSRB (Stallkamp et al. (2012)) is used as an official dataset for the challenge held at the International Joint Conference on Neural Network (IJCNN) 2011. This dataset consists of 60,000 images with 43 classes and the resolution varying from $3 2 \\times 3 2$ to $2 5 0 \\times 2 5 0$ . It is divided into a training set of 39,209 images and a test set of 12,630. The dataset could be found at http://benchmark.ini.rub.de/?section $=$ gtsrb&subsection $=$ dataset. ",
|
| 1636 |
+
"bbox": [
|
| 1637 |
+
174,
|
| 1638 |
+
534,
|
| 1639 |
+
825,
|
| 1640 |
+
617
|
| 1641 |
+
],
|
| 1642 |
+
"page_idx": 11
|
| 1643 |
+
},
|
| 1644 |
+
{
|
| 1645 |
+
"type": "text",
|
| 1646 |
+
"text": "Input images were all resized into $3 2 \\times 3 2$ pixels, then applied random crop and random rotation at the training stage. No augmentation was used at the evaluation stage. ",
|
| 1647 |
+
"bbox": [
|
| 1648 |
+
174,
|
| 1649 |
+
625,
|
| 1650 |
+
823,
|
| 1651 |
+
652
|
| 1652 |
+
],
|
| 1653 |
+
"page_idx": 11
|
| 1654 |
+
},
|
| 1655 |
+
{
|
| 1656 |
+
"type": "text",
|
| 1657 |
+
"text": "CelebA",
|
| 1658 |
+
"text_level": 1,
|
| 1659 |
+
"bbox": [
|
| 1660 |
+
174,
|
| 1661 |
+
666,
|
| 1662 |
+
225,
|
| 1663 |
+
679
|
| 1664 |
+
],
|
| 1665 |
+
"page_idx": 11
|
| 1666 |
+
},
|
| 1667 |
+
{
|
| 1668 |
+
"type": "text",
|
| 1669 |
+
"text": "CelebFaces Attributes Dataset - CelebA, first introduced by Liu et al. (2015), is a large-scale face attributes dataset. It contains 10,177 identities with 202,599 face images. Each image has an annotation of 5 landmark locations and 40 binary attributes. The dataset is publicly available at http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html. ",
|
| 1670 |
+
"bbox": [
|
| 1671 |
+
174,
|
| 1672 |
+
688,
|
| 1673 |
+
825,
|
| 1674 |
+
743
|
| 1675 |
+
],
|
| 1676 |
+
"page_idx": 11
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"type": "text",
|
| 1680 |
+
"text": "Noted that this dataset is highly unbalanced. Due to the time limitation, we select 3 out of 40 attributes, namely Heavy Makeup, Mouth Slightly Open and Smiling, as suggested by Salem et al. (2020). We then concatenate them into 8 classes to create a multiple label classification task. The input images were all resized into $6 4 \\times 6 4$ pixels. Random crop and random rotation were applied as data augmentation at the training stage. No augmentation was applied at the evaluation stage. ",
|
| 1681 |
+
"bbox": [
|
| 1682 |
+
174,
|
| 1683 |
+
750,
|
| 1684 |
+
825,
|
| 1685 |
+
820
|
| 1686 |
+
],
|
| 1687 |
+
"page_idx": 11
|
| 1688 |
+
},
|
| 1689 |
+
{
|
| 1690 |
+
"type": "text",
|
| 1691 |
+
"text": "A.1.2 CLASSIFICATION NETWORKS ",
|
| 1692 |
+
"text_level": 1,
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
176,
|
| 1695 |
+
840,
|
| 1696 |
+
431,
|
| 1697 |
+
856
|
| 1698 |
+
],
|
| 1699 |
+
"page_idx": 11
|
| 1700 |
+
},
|
| 1701 |
+
{
|
| 1702 |
+
"type": "text",
|
| 1703 |
+
"text": "MNIST ",
|
| 1704 |
+
"bbox": [
|
| 1705 |
+
174,
|
| 1706 |
+
873,
|
| 1707 |
+
227,
|
| 1708 |
+
888
|
| 1709 |
+
],
|
| 1710 |
+
"page_idx": 11
|
| 1711 |
+
},
|
| 1712 |
+
{
|
| 1713 |
+
"type": "text",
|
| 1714 |
+
"text": "We used a simple, self-defined structure as network classifier for this dataset. Detailed architecture will be mentioned in Table 2. ",
|
| 1715 |
+
"bbox": [
|
| 1716 |
+
176,
|
| 1717 |
+
895,
|
| 1718 |
+
823,
|
| 1719 |
+
922
|
| 1720 |
+
],
|
| 1721 |
+
"page_idx": 11
|
| 1722 |
+
},
|
| 1723 |
+
{
|
| 1724 |
+
"type": "table",
|
| 1725 |
+
"img_path": "images/920d77274ec75f095d9af05d4b43071adb80376321f7d71291854521cc474eef.jpg",
|
| 1726 |
+
"table_caption": [
|
| 1727 |
+
"Table 2: Detailed architecture of MNIST classifier. $^ *$ means the layer is followed by a Dropout layer. $\\dagger$ means the layer is followed by a BatchNormalization layer. "
|
| 1728 |
+
],
|
| 1729 |
+
"table_footnote": [],
|
| 1730 |
+
"table_body": "<table><tr><td>Layer</td><td>Filter</td><td>Filter Size</td><td>Stride</td><td>Padding</td><td>Activation</td></tr><tr><td>Conv2dt</td><td>32</td><td>3×3</td><td>2</td><td>1</td><td>ReLU</td></tr><tr><td>Conv2dt</td><td>64</td><td>3×3</td><td>2</td><td>0</td><td>ReLU</td></tr><tr><td>Conv2d</td><td>64</td><td>3×3</td><td>2</td><td>0</td><td>ReLU</td></tr><tr><td>Linear*</td><td>512</td><td>-</td><td></td><td>0</td><td>ReLU</td></tr><tr><td>Linear</td><td>10</td><td>-</td><td>1</td><td>0</td><td>Softmax</td></tr></table>",
|
| 1731 |
+
"bbox": [
|
| 1732 |
+
294,
|
| 1733 |
+
141,
|
| 1734 |
+
702,
|
| 1735 |
+
243
|
| 1736 |
+
],
|
| 1737 |
+
"page_idx": 12
|
| 1738 |
+
},
|
| 1739 |
+
{
|
| 1740 |
+
"type": "text",
|
| 1741 |
+
"text": "CIFAR10 and GTSRB ",
|
| 1742 |
+
"text_level": 1,
|
| 1743 |
+
"bbox": [
|
| 1744 |
+
173,
|
| 1745 |
+
267,
|
| 1746 |
+
323,
|
| 1747 |
+
282
|
| 1748 |
+
],
|
| 1749 |
+
"page_idx": 12
|
| 1750 |
+
},
|
| 1751 |
+
{
|
| 1752 |
+
"type": "text",
|
| 1753 |
+
"text": "For the CIFAR-10 and GTSRB datasets, we use PreActRes18 (He et al., 2016) architecture as classification networks. ",
|
| 1754 |
+
"bbox": [
|
| 1755 |
+
173,
|
| 1756 |
+
290,
|
| 1757 |
+
823,
|
| 1758 |
+
316
|
| 1759 |
+
],
|
| 1760 |
+
"page_idx": 12
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"type": "text",
|
| 1764 |
+
"text": "CelebA",
|
| 1765 |
+
"bbox": [
|
| 1766 |
+
174,
|
| 1767 |
+
330,
|
| 1768 |
+
225,
|
| 1769 |
+
344
|
| 1770 |
+
],
|
| 1771 |
+
"page_idx": 12
|
| 1772 |
+
},
|
| 1773 |
+
{
|
| 1774 |
+
"type": "text",
|
| 1775 |
+
"text": "For the CelebA dataset, we use ResNet18 (He et al., 2016) architecture as the classification network. ",
|
| 1776 |
+
"bbox": [
|
| 1777 |
+
173,
|
| 1778 |
+
352,
|
| 1779 |
+
823,
|
| 1780 |
+
367
|
| 1781 |
+
],
|
| 1782 |
+
"page_idx": 12
|
| 1783 |
+
},
|
| 1784 |
+
{
|
| 1785 |
+
"type": "text",
|
| 1786 |
+
"text": "A.1.3 RUNNING TIME ",
|
| 1787 |
+
"text_level": 1,
|
| 1788 |
+
"bbox": [
|
| 1789 |
+
174,
|
| 1790 |
+
382,
|
| 1791 |
+
339,
|
| 1792 |
+
396
|
| 1793 |
+
],
|
| 1794 |
+
"page_idx": 12
|
| 1795 |
+
},
|
| 1796 |
+
{
|
| 1797 |
+
"type": "text",
|
| 1798 |
+
"text": "We use a system of a GPU RTX 2080Ti and a CPU i7 9700K to conduct our experiment. Detailed inference time of each module will be demonstrated below. ",
|
| 1799 |
+
"bbox": [
|
| 1800 |
+
171,
|
| 1801 |
+
406,
|
| 1802 |
+
823,
|
| 1803 |
+
435
|
| 1804 |
+
],
|
| 1805 |
+
"page_idx": 12
|
| 1806 |
+
},
|
| 1807 |
+
{
|
| 1808 |
+
"type": "table",
|
| 1809 |
+
"img_path": "images/89aeac61a81fb1e943c371731fed5596c6812ccec8b0f4c2104d430bd4ce1ddc.jpg",
|
| 1810 |
+
"table_caption": [
|
| 1811 |
+
"Table 3: Inference time of our modules. "
|
| 1812 |
+
],
|
| 1813 |
+
"table_footnote": [],
|
| 1814 |
+
"table_body": "<table><tr><td>MNIST</td><td>CIFAR10</td><td>GTSRB</td><td>CelebA</td></tr><tr><td>time/sample 4.37 μs</td><td>18.64 μs</td><td>18.65 μs</td><td>87.51 μs</td></tr></table>",
|
| 1815 |
+
"bbox": [
|
| 1816 |
+
303,
|
| 1817 |
+
472,
|
| 1818 |
+
692,
|
| 1819 |
+
513
|
| 1820 |
+
],
|
| 1821 |
+
"page_idx": 12
|
| 1822 |
+
},
|
| 1823 |
+
{
|
| 1824 |
+
"type": "text",
|
| 1825 |
+
"text": "A.2 ALL-TO-ALL ATTACK ",
|
| 1826 |
+
"text_level": 1,
|
| 1827 |
+
"bbox": [
|
| 1828 |
+
176,
|
| 1829 |
+
540,
|
| 1830 |
+
369,
|
| 1831 |
+
554
|
| 1832 |
+
],
|
| 1833 |
+
"page_idx": 12
|
| 1834 |
+
},
|
| 1835 |
+
{
|
| 1836 |
+
"type": "text",
|
| 1837 |
+
"text": "Beside the single-target attack scenario, we also verified the effectiveness of WaNet in multi-target scenario, often called all-to-all attack. In this scenario, the input of class $y$ would be targeted into class $c ( y ) = ( y + 1 )$ mod $| C |$ , where $| C |$ is the number of classes. ",
|
| 1838 |
+
"bbox": [
|
| 1839 |
+
174,
|
| 1840 |
+
565,
|
| 1841 |
+
825,
|
| 1842 |
+
608
|
| 1843 |
+
],
|
| 1844 |
+
"page_idx": 12
|
| 1845 |
+
},
|
| 1846 |
+
{
|
| 1847 |
+
"type": "text",
|
| 1848 |
+
"text": "A.2.1 EXPERIMENTAL SETUP ",
|
| 1849 |
+
"text_level": 1,
|
| 1850 |
+
"bbox": [
|
| 1851 |
+
174,
|
| 1852 |
+
622,
|
| 1853 |
+
392,
|
| 1854 |
+
637
|
| 1855 |
+
],
|
| 1856 |
+
"page_idx": 12
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "text",
|
| 1860 |
+
"text": "We use the same experimental setups as in the single-target scenario, with a small modification. In the attack mode at training, we replace the fixed target label $\\hat { c }$ by $( y + 1 )$ mod $| C |$ . In the attack test at evaluation, we also change the expected label similarly. ",
|
| 1861 |
+
"bbox": [
|
| 1862 |
+
174,
|
| 1863 |
+
647,
|
| 1864 |
+
825,
|
| 1865 |
+
689
|
| 1866 |
+
],
|
| 1867 |
+
"page_idx": 12
|
| 1868 |
+
},
|
| 1869 |
+
{
|
| 1870 |
+
"type": "text",
|
| 1871 |
+
"text": "A.2.2 ATTACK EXPERIMENT ",
|
| 1872 |
+
"text_level": 1,
|
| 1873 |
+
"bbox": [
|
| 1874 |
+
176,
|
| 1875 |
+
704,
|
| 1876 |
+
383,
|
| 1877 |
+
719
|
| 1878 |
+
],
|
| 1879 |
+
"page_idx": 12
|
| 1880 |
+
},
|
| 1881 |
+
{
|
| 1882 |
+
"type": "text",
|
| 1883 |
+
"text": "We conducted attack experiments and reported result in Table 4. While models still achieve stateof-the-art performance on clean data, the attack efficacies slightly decreases. This is due to the fact that the target label now varies from input to input. Though, the lowest attack accuracy is $7 8 . 5 8 \\%$ , which is still harmful to real-life deployment. ",
|
| 1884 |
+
"bbox": [
|
| 1885 |
+
174,
|
| 1886 |
+
729,
|
| 1887 |
+
825,
|
| 1888 |
+
785
|
| 1889 |
+
],
|
| 1890 |
+
"page_idx": 12
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"type": "text",
|
| 1894 |
+
"text": "Similar to all-to-one scenario, we also tested our model with noise mode and recorded the noise accuracy. ",
|
| 1895 |
+
"bbox": [
|
| 1896 |
+
173,
|
| 1897 |
+
791,
|
| 1898 |
+
823,
|
| 1899 |
+
820
|
| 1900 |
+
],
|
| 1901 |
+
"page_idx": 12
|
| 1902 |
+
},
|
| 1903 |
+
{
|
| 1904 |
+
"type": "text",
|
| 1905 |
+
"text": "A.2.3 DEFENSE EXPERIMENTS ",
|
| 1906 |
+
"text_level": 1,
|
| 1907 |
+
"bbox": [
|
| 1908 |
+
176,
|
| 1909 |
+
835,
|
| 1910 |
+
400,
|
| 1911 |
+
849
|
| 1912 |
+
],
|
| 1913 |
+
"page_idx": 12
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"type": "text",
|
| 1917 |
+
"text": "We repeat the same defense experiments used in the all-to-one scenario. Our backdoor models could also pass all the tests mentioned in Figure 7. ",
|
| 1918 |
+
"bbox": [
|
| 1919 |
+
174,
|
| 1920 |
+
859,
|
| 1921 |
+
823,
|
| 1922 |
+
888
|
| 1923 |
+
],
|
| 1924 |
+
"page_idx": 12
|
| 1925 |
+
},
|
| 1926 |
+
{
|
| 1927 |
+
"type": "table",
|
| 1928 |
+
"img_path": "images/10a8bee196006ef8af77259fc5a5828ed0487b3f55356b31463b702689964d7f.jpg",
|
| 1929 |
+
"table_caption": [
|
| 1930 |
+
"Table 4: All-to-all attack result. "
|
| 1931 |
+
],
|
| 1932 |
+
"table_footnote": [],
|
| 1933 |
+
"table_body": "<table><tr><td>Dataset</td><td>Clean Attack</td><td>Noise</td></tr><tr><td>MNIST</td><td>99.44</td><td>95.90 94.34</td></tr><tr><td>CIFAR-10</td><td>94.43</td><td>93.36 91.47</td></tr><tr><td>GTSRB</td><td>99.39</td><td>98.31 98.96</td></tr><tr><td>CelebA</td><td>78.73</td><td>78.58 76.12</td></tr></table>",
|
| 1934 |
+
"bbox": [
|
| 1935 |
+
375,
|
| 1936 |
+
126,
|
| 1937 |
+
617,
|
| 1938 |
+
213
|
| 1939 |
+
],
|
| 1940 |
+
"page_idx": 13
|
| 1941 |
+
},
|
| 1942 |
+
{
|
| 1943 |
+
"type": "image",
|
| 1944 |
+
"img_path": "images/f367396f6d2069d7ae6303e002dc2f7bba043fbf49a75bf4494886421ccd4c5d.jpg",
|
| 1945 |
+
"image_caption": [
|
| 1946 |
+
"Figure 10: Neural Cleanse against all-to-all scenario. "
|
| 1947 |
+
],
|
| 1948 |
+
"image_footnote": [],
|
| 1949 |
+
"bbox": [
|
| 1950 |
+
269,
|
| 1951 |
+
227,
|
| 1952 |
+
727,
|
| 1953 |
+
392
|
| 1954 |
+
],
|
| 1955 |
+
"page_idx": 13
|
| 1956 |
+
},
|
| 1957 |
+
{
|
| 1958 |
+
"type": "image",
|
| 1959 |
+
"img_path": "images/240110dedb949e789ebf26b2bac7cc82d7809b12aa3f28b0957d007ebe1904ab.jpg",
|
| 1960 |
+
"image_caption": [
|
| 1961 |
+
"Figure 11: Fine-pruning against all-to-all scenario. "
|
| 1962 |
+
],
|
| 1963 |
+
"image_footnote": [],
|
| 1964 |
+
"bbox": [
|
| 1965 |
+
173,
|
| 1966 |
+
426,
|
| 1967 |
+
826,
|
| 1968 |
+
564
|
| 1969 |
+
],
|
| 1970 |
+
"page_idx": 13
|
| 1971 |
+
},
|
| 1972 |
+
{
|
| 1973 |
+
"type": "image",
|
| 1974 |
+
"img_path": "images/f155d1174d16171cb056992f82c5297b7a6cf6d562778244cd94f421ada9778c.jpg",
|
| 1975 |
+
"image_caption": [
|
| 1976 |
+
"Figure 12: STRIP against all-to-all scenario. "
|
| 1977 |
+
],
|
| 1978 |
+
"image_footnote": [],
|
| 1979 |
+
"bbox": [
|
| 1980 |
+
171,
|
| 1981 |
+
597,
|
| 1982 |
+
826,
|
| 1983 |
+
699
|
| 1984 |
+
],
|
| 1985 |
+
"page_idx": 13
|
| 1986 |
+
},
|
| 1987 |
+
{
|
| 1988 |
+
"type": "text",
|
| 1989 |
+
"text": "A.3 ADDITIONAL RESULTS ",
|
| 1990 |
+
"text_level": 1,
|
| 1991 |
+
"bbox": [
|
| 1992 |
+
176,
|
| 1993 |
+
750,
|
| 1994 |
+
377,
|
| 1995 |
+
763
|
| 1996 |
+
],
|
| 1997 |
+
"page_idx": 13
|
| 1998 |
+
},
|
| 1999 |
+
{
|
| 2000 |
+
"type": "text",
|
| 2001 |
+
"text": "A.3.1 ADDIONAL IMAGES FOR METIONED BACKDOOR ATTACK METHODS ",
|
| 2002 |
+
"text_level": 1,
|
| 2003 |
+
"bbox": [
|
| 2004 |
+
174,
|
| 2005 |
+
776,
|
| 2006 |
+
692,
|
| 2007 |
+
790
|
| 2008 |
+
],
|
| 2009 |
+
"page_idx": 13
|
| 2010 |
+
},
|
| 2011 |
+
{
|
| 2012 |
+
"type": "text",
|
| 2013 |
+
"text": "We provide additional examples comparing backdoor images from WaNet and from other attack methods in Fig. 13. ",
|
| 2014 |
+
"bbox": [
|
| 2015 |
+
174,
|
| 2016 |
+
799,
|
| 2017 |
+
825,
|
| 2018 |
+
829
|
| 2019 |
+
],
|
| 2020 |
+
"page_idx": 13
|
| 2021 |
+
},
|
| 2022 |
+
{
|
| 2023 |
+
"type": "text",
|
| 2024 |
+
"text": "A.3.2 EXPERIMENT ON SPECTRAL SIGNATURE DEFENSE ",
|
| 2025 |
+
"text_level": 1,
|
| 2026 |
+
"bbox": [
|
| 2027 |
+
174,
|
| 2028 |
+
843,
|
| 2029 |
+
576,
|
| 2030 |
+
858
|
| 2031 |
+
],
|
| 2032 |
+
"page_idx": 13
|
| 2033 |
+
},
|
| 2034 |
+
{
|
| 2035 |
+
"type": "text",
|
| 2036 |
+
"text": "Tran et al. (2018) proposed a data defense method based on the spectral signature of backdoor training data. Although this data-defense configuration does not match our threat model, we find it useful to verify if our backdoor data have the spectral signature discussed in that paper. We repeated the experiment in the last plot of its Fig. 1, using 5000 clean samples and 1172 backdoor samples generated by WaNet on the CIFAR-10 dataset, which is the same dataset used in the original paper. Fig. 14 plots histograms of the correlations between these samples’ learned representations and their covariance matrix’s top right singular vector. As can be seen, the histograms of the two populations are completely inseparable. Thereby, the backdoor training samples could not be removed from the training dataset using their proposed method. One possible explanation is that the distributional difference between the clean and backdoor correlations in the traditional backdoor methods was the result of the domination of a few backdoor neurons. We do not have such a phenomenon in WaNet, as proved in Fine-Prunning experiments, eliminating the appearance of spectral signature. ",
|
| 2037 |
+
"bbox": [
|
| 2038 |
+
174,
|
| 2039 |
+
867,
|
| 2040 |
+
825,
|
| 2041 |
+
924
|
| 2042 |
+
],
|
| 2043 |
+
"page_idx": 13
|
| 2044 |
+
},
|
| 2045 |
+
{
|
| 2046 |
+
"type": "image",
|
| 2047 |
+
"img_path": "images/25ebb670000e56552dca7c83822c1e95a8e3ae6ed170efc2d36e723a3c5c3378.jpg",
|
| 2048 |
+
"image_caption": [
|
| 2049 |
+
"Figure 13: Additional images for mentioned backdoor attack methods. "
|
| 2050 |
+
],
|
| 2051 |
+
"image_footnote": [],
|
| 2052 |
+
"bbox": [
|
| 2053 |
+
173,
|
| 2054 |
+
97,
|
| 2055 |
+
825,
|
| 2056 |
+
513
|
| 2057 |
+
],
|
| 2058 |
+
"page_idx": 14
|
| 2059 |
+
},
|
| 2060 |
+
{
|
| 2061 |
+
"type": "text",
|
| 2062 |
+
"text": "",
|
| 2063 |
+
"bbox": [
|
| 2064 |
+
173,
|
| 2065 |
+
570,
|
| 2066 |
+
825,
|
| 2067 |
+
683
|
| 2068 |
+
],
|
| 2069 |
+
"page_idx": 14
|
| 2070 |
+
},
|
| 2071 |
+
{
|
| 2072 |
+
"type": "text",
|
| 2073 |
+
"text": "A.3.3 THE STABILITY OF WANET ",
|
| 2074 |
+
"text_level": 1,
|
| 2075 |
+
"bbox": [
|
| 2076 |
+
176,
|
| 2077 |
+
696,
|
| 2078 |
+
421,
|
| 2079 |
+
712
|
| 2080 |
+
],
|
| 2081 |
+
"page_idx": 14
|
| 2082 |
+
},
|
| 2083 |
+
{
|
| 2084 |
+
"type": "text",
|
| 2085 |
+
"text": "In this section, we verify if WaNet is stable to the variations of the warping field $M$ . We trained 8 WaNet backdoor models, using 8 randomly generated warping fields, in the CIFAR10 dataset. The clean, backdoor, and noise accuracies of the trained models are all stable, as shown in Table 5. ",
|
| 2086 |
+
"bbox": [
|
| 2087 |
+
176,
|
| 2088 |
+
722,
|
| 2089 |
+
825,
|
| 2090 |
+
765
|
| 2091 |
+
],
|
| 2092 |
+
"page_idx": 14
|
| 2093 |
+
},
|
| 2094 |
+
{
|
| 2095 |
+
"type": "table",
|
| 2096 |
+
"img_path": "images/adada76305d5190bb2ff588fccf01bbdec894ef8f2da6109c6dca06add2308d1.jpg",
|
| 2097 |
+
"table_caption": [
|
| 2098 |
+
"Table 5: The stability of WaNet on the CIFAR-10 dataset. "
|
| 2099 |
+
],
|
| 2100 |
+
"table_footnote": [],
|
| 2101 |
+
"table_body": "<table><tr><td></td><td>Clean</td><td>Backdoor</td><td>Noise</td></tr><tr><td>Accuracy (%)</td><td>94.42 ± 0.08</td><td>99.40 ± 0.21</td><td>93.16 ± 0.43</td></tr></table>",
|
| 2102 |
+
"bbox": [
|
| 2103 |
+
276,
|
| 2104 |
+
803,
|
| 2105 |
+
717,
|
| 2106 |
+
847
|
| 2107 |
+
],
|
| 2108 |
+
"page_idx": 14
|
| 2109 |
+
},
|
| 2110 |
+
{
|
| 2111 |
+
"type": "image",
|
| 2112 |
+
"img_path": "images/64b1c0ebfdc1868d7e11bcfaa630829bad191638ceff23bbb1669dfc01d36092.jpg",
|
| 2113 |
+
"image_caption": [
|
| 2114 |
+
"Figure 14: Spectral Signature "
|
| 2115 |
+
],
|
| 2116 |
+
"image_footnote": [],
|
| 2117 |
+
"bbox": [
|
| 2118 |
+
295,
|
| 2119 |
+
101,
|
| 2120 |
+
700,
|
| 2121 |
+
333
|
| 2122 |
+
],
|
| 2123 |
+
"page_idx": 15
|
| 2124 |
+
},
|
| 2125 |
+
{
|
| 2126 |
+
"type": "text",
|
| 2127 |
+
"text": "A.3.4 ADDITIONAL TRIGGER PATTERNS VISUALIZING THE ROLE OF THE NOISE MODE ",
|
| 2128 |
+
"text_level": 1,
|
| 2129 |
+
"bbox": [
|
| 2130 |
+
171,
|
| 2131 |
+
386,
|
| 2132 |
+
777,
|
| 2133 |
+
400
|
| 2134 |
+
],
|
| 2135 |
+
"page_idx": 15
|
| 2136 |
+
},
|
| 2137 |
+
{
|
| 2138 |
+
"type": "text",
|
| 2139 |
+
"text": "This section further demonstrates the importance of noise mode by providing trigger patterns optimized by Neural Cleanse on more datasets and with more target classes. Fig. 15a and 15b visualize the patterns on MNIST and GTSRB dataset using backdoor models trained for target label 0, similar to Fig. 8a. Fig. 15c, 15d, and 15e provide results on all three datasets but with backdoor models for label 3. As can be seen, the WaNet models without noise mode training return sparse and small patterns, thus easy to be detected by Neural Cleanse. By including that training mode, the optimized patterns are more crowded and approach clean models’ ones. Note that we skip visualizing the results on the CelebA dataset; its patterns optimized on either clean or backdoor models are all too sparse and small for humans to analyze due to subtle differences between human faces. ",
|
| 2140 |
+
"bbox": [
|
| 2141 |
+
173,
|
| 2142 |
+
409,
|
| 2143 |
+
825,
|
| 2144 |
+
535
|
| 2145 |
+
],
|
| 2146 |
+
"page_idx": 15
|
| 2147 |
+
},
|
| 2148 |
+
{
|
| 2149 |
+
"type": "image",
|
| 2150 |
+
"img_path": "images/302d62acda83b4f16685d0d77492758ba6c737fa376cd6e835ed81fe8dfa954f.jpg",
|
| 2151 |
+
"image_caption": [
|
| 2152 |
+
"Figure 15: Additional trigger patterns optimized by Neural Cleanse for the target label (small is bad). "
|
| 2153 |
+
],
|
| 2154 |
+
"image_footnote": [],
|
| 2155 |
+
"bbox": [
|
| 2156 |
+
209,
|
| 2157 |
+
549,
|
| 2158 |
+
789,
|
| 2159 |
+
873
|
| 2160 |
+
],
|
| 2161 |
+
"page_idx": 15
|
| 2162 |
+
}
|
| 2163 |
+
]
|
parse/train/eEn8KTtJOx/eEn8KTtJOx_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/eEn8KTtJOx/eEn8KTtJOx_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/eoTy4ihL0W/eoTy4ihL0W.md
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ft Robots
|
| 2 |
+
|
| 3 |
+
Jagdeep Singh Bhatia MIT CSAIL jagdeep@mit.edu
|
| 4 |
+
|
| 5 |
+
Holly Jackson
|
| 6 |
+
MIT CSAIL
|
| 7 |
+
hjackson@mit.edu
|
| 8 |
+
|
| 9 |
+
Yunsheng Tian MIT CSAIL yunsheng@csail.mit.edu
|
| 10 |
+
|
| 11 |
+
Jie Xu MIT CSAIL jiex@csail.mit.edu
|
| 12 |
+
|
| 13 |
+
Wojciech Matusik MIT CSAIL wojciech@csail.mit.edu
|
| 14 |
+
|
| 15 |
+
# Abstract
|
| 16 |
+
|
| 17 |
+
Both the design and control of a robot play equally important roles in its task performance. However, while optimal control is well studied in the machine learning and robotics community, less attention is placed on finding the optimal robot design. This is mainly because co-optimizing design and control in robotics is characterized as a challenging problem, and more importantly, a comprehensive evaluation benchmark for co-optimization does not exist. In this paper, we propose Evolution Gym, the first large-scale benchmark for co-optimizing the design and control of soft robots. In our benchmark, each robot is composed of different types of voxels (e.g., soft, rigid, actuators), resulting in a modular and expressive robot design space. Our benchmark environments span a wide range of tasks, including locomotion on various types of terrains and manipulation. Furthermore, we develop several robot co-evolution algorithms by combining state-of-the-art design optimization methods and deep reinforcement learning techniques. Evaluating the algorithms on our benchmark platform, we observe robots exhibiting increasingly complex behaviors as evolution progresses, with the best evolved designs solving many of our proposed tasks. Additionally, even though robot designs are evolved autonomously from scratch without prior knowledge, they often grow to resemble existing natural creatures while outperforming hand-designed robots. Nevertheless, all tested algorithms fail to find robots that succeed in our hardest environments. This suggests that more advanced algorithms are required to explore the high-dimensional design space and evolve increasingly intelligent robots – an area of research in which we hope Evolution Gym will accelerate progress. Our website with code, environments, documentation, and tutorials is available at http://evogym.csail.mit.edu.
|
| 18 |
+
|
| 19 |
+
# 1 Introduction
|
| 20 |
+
|
| 21 |
+
One of the main goals of artificial intelligence is to develop effective approaches for the creation of embodied intelligent systems. Inspired from real organisms, where body structure and brain are two key factors for completing any task in a real environment, a successful intelligent robot typically requires concurrently optimizing its structure design and control mechanism. Such a co-design problem has been a long-standing key challenge in the robotics and machine learning communities. Surprisingly, despite its importance, most previous research works still either only develop complex control algorithms for existing robot structures [1, 2, 17, 30], or conduct co-optimization over robot morphology and control for only a few simple tasks (e.g., running, jumping) [7, 14, 31, 32], especially in the soft body domain. The primary reasons behind the under-exploration of co-design algorithms in sophisticated problems are: (1) the underlying complex bilevel optimization scheme of a co-design algorithm, where the inner control optimization loop leads to a long iteration cycle of the whole optimization process; (2) the lack of a well-established benchmark platform providing the researchers with a suite to evaluate and compare different algorithms.
|
| 22 |
+
|
| 23 |
+
Digital benchmark environments have proven to be successful at promoting the development of advanced learning techniques via providing a comprehensive evaluation suite to make fair comparisons among different algorithms [5, 11, 36]. However, to our best knowledge, all existing benchmark platforms constrain their domains within control optimization problems, and the space of co-optimization environment suites is still rarely explored.
|
| 24 |
+
|
| 25 |
+
To fill this gap, in this work we propose Evolution Gym, a large-scale benchmark for evolving both the shape structure and controller of soft robots. The body of each robot in Evolution Gym is composed of various types of primitive building blocks (e.g., soft voxels, rigid voxels, actuator voxels), and the control of the robot includes action signals applied on the actuator voxels. We choose to use this multi-material voxel-based structure as the representation of robot body since it provides a general and universal representation for various categories of robot designs, and at the same time results in a modular and expressive structure design space. We adopt a mass-spring dynamics system [26] with penalty-based frictional contact as the underlining physics engine. Such a light-weight simulator allows the co-design algorithms to significantly reduce the simulation cost and thus accelerate the develop-evaluate iteration cycle [3, 15, 23]. The back-end simulator is fully developed in $\mathrm { C } { + + }$ t o provide further computing efficiency. Another feature of Evolution Gym is its large variety of tasks categorized by varying difficulty levels, which offer an extensive evaluation benchmark for comparing approaches. The benchmark is currently comprised of more than 30 tasks, spanning locomotion on various types of terrains and manipulation. Moreover, Evolution Gym is easy to use. In order to have user-friendly interfaces, we build a Python wrapper outside the $\mathrm { C } { + + }$ simulator and carefully design our APIs off of the well-received APIs of OpenAI Gym with minimum modifications. Evolution Gym will be released fully open-source under the MIT license.
|
| 26 |
+
|
| 27 |
+
In addition, we develop several baseline algorithms by integrating state-of-the-art design optimization approaches and reinforcement learning techniques. Specifically, in our baseline algorithms, design optimization methods are served in the outer loop to evolve the physical structures of robots and reinforcement learning algorithms are applied in the inner loop to optimize a controller for a given proposed structure design. We conduct extensive experiments to evaluate all baseline algorithms on Evolution Gym. The experiment results demonstrate that intelligent robot designs can be evolved fully autonomously while outperforming hand-designed robots in easier tasks, which reaffirms the necessity of jointly optimizing for both robot structure and control. However, none of the baseline algorithms are capable enough to successfully find robots that complete the task in our hardest environments. Such insufficiency of the existing algorithms suggests the demand for more advanced robot co-design techniques, and we believe our proposed Evolution Gym provides a comprehensive evaluation testbed for robot co-design and unlocks future research in this direction.
|
| 28 |
+
|
| 29 |
+
In summary, our work has the following key contributions: (i) We propose Evolution Gym, the first large-scale benchmark for soft robot co-design algorithms. (ii) We develop several co-design algorithms by combining state-of-the-art design optimization methods and deep reinforcement learning techniques for control optimization. (iii) The developed algorithms are evaluated and analyzed on our proposed benchmark suite, and the results validate the efficacy of robot co-design while pointing out the failure and limitations of existing algorithms.
|
| 30 |
+
|
| 31 |
+
# 2 Related work
|
| 32 |
+
|
| 33 |
+
Robot co-design Co-designing the structure (i.e., body) and control (i.e., brain) of robots is a long-standing key challenge in the robotics community. As the earliest work in this space, Sims [31] represents the structure of a rigid robot as a directed graph and proposes an evolutionary algorithm defined on graphs to optimize the robot design. Subsequently, the co-design of rigid robots is formulated as a graph search problem where more efficient search algorithms are applied [13, 27, 39, 41] to achieve increasingly interesting results. However, with the restriction of having rigid components only, these algorithms are unable to produce optimal or even feasible designs for many challenging tasks where a compliant joint or robot component is required to achieve the goal.
|
| 34 |
+
|
| 35 |
+
On the contrary, soft components offer much more flexibility to represent arbitrary shapes, making the design of more complex, agile, and high-performing robots possible. Inspired by this, some work has been conducted to co-design robots composed of soft cells. Cheney et al. [7, 8]; Van Diepen and Shea [37]; Corucci et al. [10] propose evolutionary algorithms to co-optimize the structure and control of voxel-based robots. However those algorithms typically parameterize the control as an open-loop periodic sequence of actuation, which prevents robots from learning complex non-periodic tasks such as walking on uneven or varying terrains. Spielberg et al. [32] and Medvet et al. [23] jointly optimize the spatial-varying material parameters and the neural network policy for soft robots but leave the shape of the robot fixed. Our proposed benchmark shares a similar expressive structure design space as Cheney et al. [7], but allows the control to be parameterized by a sophisticated neural network feedback policy. To handle such sophisticated joint optimization of the robot structure and high-dimensional neural network control policy, we develop several baseline co-design algorithms by combining state-of-the-art design optimization strategies and reinforcement learning techniques for control optmization.
|
| 36 |
+
|
| 37 |
+
Benchmark environments for robotics learning Present research in robotics learning is largely facilitated by emerging benchmark environments. For instance, OpenAI Gym [5], DeepMind Control Suite [36], rllab [11], and Gibson [40] have been developed to benchmark RL algorithms for controlling rigid robots. At the same time, PlasticineLab [16] is specifically designed for soft robot learning. However, the existing benchmark environments are all constructed for learning the control only. To enable the possibility of evolving the structure of a robot, the existing co-design work has to either implement their own testing environment [32, 7, 8, 10, 37], or make substantial changes on the underlying code of the existing control-only environments [29]. The independent development of testing beds requires non-trivial workload, and as a result, existing co-design works mainly focus on evaluating the robot on a few simple tasks such as walking on a flat terrain [7, 6, 8, 37, 32, 23], or swimming along a single direction [9, 39]. An unintended consequence of such independency is an indirect comparison among different algorithms. Evolution Gym fills this gap by presenting a large variety of tasks with different difficulty levels that span from locomotion to manipulation. The proposed benchmark suite can be effectively used to test the generalizability of the algorithms on different tasks, potentially accelerating research in robot co-design.
|
| 38 |
+
|
| 39 |
+
# 3 Evolution Gym
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
Figure 1: Overview of Evolution Gym and its integration with the co-design algorithms. Evolution Gym is comprised of a back-end soft body simulator (A, B) and task-specific environments (C). A user-customized co-design algorithm can be plugged in to optimize for both robot structure and control through interacting with Evolution Gym on a certain task.
|
| 43 |
+
|
| 44 |
+
# 3.1 Overview
|
| 45 |
+
|
| 46 |
+
In this section, we present Evolution Gym, a large-scale benchmark for the co-design of voxel-based soft robots. Evolution Gym is featured by its versatile and expressive multi-material voxel-based structure design space, flexibility of the controller parameterization, wide spectrum of tasks of various difficulty levels, fast back-end soft-body simulation support, and user-friendly Python interfaces.
|
| 47 |
+
|
| 48 |
+
As shown in the overview in Figure 1, Evolution Gym is comprised of a task-specific environment and a back-end soft-body simulator. The gym suite provides seamless interfaces with a user-defined co-design algorithm. The co-design algorithm typically consists of a design optimizer and a control optimizer. The design optimizer can propose a new robot structure to the control optimizer, then the control optimizer will compute an optimized controller for the given structure through interactions with Evolution Gym and finally return the maximum reward that this robot structure can achieve. In this way, Evolution Gym provides an easy-to-use platform for co-design algorithms to evolve both robot structure and control to optimize for robots’ task performances. Evolution Gym is designed to be the first comprehensive testbed for benchmarking and comparing different co-design algorithms with the hope to facilitate the development of more novel and powerful algorithms in the co-design field.
|
| 49 |
+
|
| 50 |
+
# 3.2 Multi-material voxel-based representation
|
| 51 |
+
|
| 52 |
+
Evolution Gym employs a unified multi-material voxel-based representation for all the components in the environment (e.g., robot, terrain, object) as shown in Figure 1A. Specifically, each robot in our gym is composed of rigid voxels, soft voxels, horizontal/vertical actuator voxels, and empty voxels. For terrain and objects, we use the same voxel-based structure but with passive voxel types (i.e., soft/rigid voxels).
|
| 53 |
+
|
| 54 |
+
We chose a voxel-based representation for three main reasons. First, such a multi-material structure of robots provides a general and universal representation for various categories of robot designs and results in a modular structure design space. Additionally, with just the few voxel types described above, and less than 100 voxels per robot, we are able to construct a wide diversity of morphologies due to the resulting combinatorial robot design space. Even with this simple representation, our designed robots are capable of performing complex motions and completing difficult tasks. Finally, voxel-based robots can be simulated by a fast mass-spring simulation (see section 3.4) which allows our framework to be efficient enough to train robots in a matter of minutes and provides a computationally tractable benchmark for iterating co-design algorithms.
|
| 55 |
+
|
| 56 |
+
# 3.3 Task representation
|
| 57 |
+
|
| 58 |
+
Each task in Evolution Gym contains a robot structure proposed by the co-design algorithm, environment specifications (e.g., terrain, object), and a task-related goal (e.g., locomotion or manipulation). The tasks interface with the co-design algorithm through a few key elements including robot structure specification, observation, action, and reward. We introduce each element in detail below.
|
| 59 |
+
|
| 60 |
+
Robot structure specification As described in Section 3.2, we construct each robot from primitive building blocks arranged on a grid layout. In code, each robot is specified as a material matrix of voxels $\mathcal { M }$ and a connection link list $\mathcal { C }$ . The value of entry $m \in \mathcal { M }$ is a label corresponding to a voxel type from the set {Empty, Rigid, Soft, Horizontal Actuator, Vertical Actuator}. The connection link list $\mathcal { C }$ stores a list of connection pairs of adjacent voxels. The co-design algorithm can update the robot structure in the environment through initialization function with $\mathcal { M }$ and $\mathcal { C }$ as arguments.
|
| 61 |
+
|
| 62 |
+
Observation The observation is composed in each step to inform the controller of state information of the robot, terrain information of the environment, and goal-relevant information. More specifically, let $N$ be the total number of voxel corner points of the robot. Then the state information of the robot in our tasks is a $( 2 N + 3 )$ -D vector including the relative position of each voxel corner with respect to the center of mass of the robot (2N -D), and the velocity and orientation of center of mass (3-D). To handle complex tasks, specifically those with varying terrain types, an additional observation vector including terrain information is provided. We compile terrain information within a local window of size $2 W$ around the robot into a length- $2 W$ vector observation that describes the terrain’s elevation. Furthermore, goal-related information is offered to inform the controller of the execution status of the current task. This goal-related observation is task-specific and is defined on each task separately. For instance, in manipulation tasks where the robot interacts with some object $O$ , we provide orientation and velocity as well as the position of $O$ ’s center of mass relative to the robot.
|
| 63 |
+
|
| 64 |
+
Action At each time step, an action vector from the robot’s controller is provided to step Evolution Gym’s simulator. In Evolution Gym, each component of the action vector is associated with an actuator voxel (either horizontal or vertical) of the robot, and instructs a deformation target of that voxel. Specifically, the action value $u$ is within the range [0.6, 1.6], and corresponds to a gradual expansion/contraction of that actuator to $u$ times its rest length.
|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
Figure 2: A visual overview of selected 10 environments from Evolution Gym. A verbal description of tasks is provided in Section 3.5.
|
| 68 |
+
|
| 69 |
+
Reward Each task is equipped with a reward function measuring the performance of the current robot and the control action. The value of the reward is defined step-wise and is fed back to the agent through step function. The reward function is highly task-specific and should be defined to precisely characterize the robot’s completeness of the task. Please refer to Section 3.5 and Appendix for detailed descriptions of the reward functions on each task.
|
| 70 |
+
|
| 71 |
+
# 3.4 Simulation engine
|
| 72 |
+
|
| 73 |
+
We model the dynamics of the underlying simulator as a 2D mass-spring system [26]. This simple, flexible formulation allows us to efficiently model soft robots with a wide range of capabilities in a wide range of environments. The simulation engine is written entirely in $\mathrm { C } { + + }$ . We create Python bindings of our simulator so it seamlessly interfaces with standard learning frameworks.
|
| 74 |
+
|
| 75 |
+
The simulation represents objects and their environment as a mass-spring system in a grid-like layout (Figure 1B). Objects and their environments are initialized as a set of non-overlapping, connected voxels. On initialization, each voxel is a cross-braced square, but may undergo deformation as the simulation progresses. Each edge acts as an ideal spring obeying Hooke’s law, with a spring constant defined by one of five possible material types. We employ symplectic RK-4 integration to step forward the simulation.
|
| 76 |
+
|
| 77 |
+
Collision detection is performed using a bounding-box tree structure [12]. Penalty-based contact forces and frictional forces are computed proportionally to the depth of penetration of the corresponding voxels in contact, and are applied on the voxel vertices in the normal and tangential directions of the contact respectively. Please refer to Appendix A for more details of simulation.
|
| 78 |
+
|
| 79 |
+
# 3.5 Benchmark environment suite
|
| 80 |
+
|
| 81 |
+
We have developed over 30 unique tasks with Evolution Gym and select 10 tasks here to illustrate the diversity and comprehensiveness of our benchmark task set. All tasks are organized into two categories – locomotion and manipulation – though some tasks are a mix of both. We further classify the tasks into different difficulty levels (i.e., easy, medium, hard) based on the performance of the baseline algorithms (see Section 4) on them. We briefly introduce the selected tasks in this section. For more detailed descriptions and visualizations of the tasks, please refer to our website or Appendix B. It is also worth mentioning that our gym is designed to be extendable and the user can easily create new tasks for their needs.
|
| 82 |
+
|
| 83 |
+
# 3.5.1 Locomotion tasks
|
| 84 |
+
|
| 85 |
+
Walker (Easy) This is a common standard task typically considered by previous works where the robot needs to walk on a flat terrain as fast as possible.
|
| 86 |
+
|
| 87 |
+
Bridge Walker (Easy) In this task, the robot traverses a series of soft “rope” bridges separated by fixed pillars, and similarly as before it needs to maximize its forward speed.
|
| 88 |
+
|
| 89 |
+
Up Stepper (Medium) The agent walks up a fixed staircase with steps of varying length.
|
| 90 |
+
|
| 91 |
+
Climber (Medium) The robot must climb two tall fixed walls on each side. The robot is rewarded by its upward climbing speed.
|
| 92 |
+
|
| 93 |
+
Traverser (Hard) In this hard task, the robot needs to traverse a pit of rigid blocks to get to the other side without sinking into the pit.
|
| 94 |
+
|
| 95 |
+
# 3.5.2 Object manipulation tasks
|
| 96 |
+
|
| 97 |
+
Carrier (Easy) The robot needs to catch a small, soft rectangular object initially dropped from above and then carry it along the forward direction. The robot is rewarded by the distance both it and the object have traveled.
|
| 98 |
+
|
| 99 |
+
Thrower (Medium) The robot throws a soft rectangular box as far as possible without moving itself significantly from its original position.
|
| 100 |
+
|
| 101 |
+
Beam Slider (Hard) In this task, a beam sits on top of a set of spaced-out floating platforms. The robot is rewarded for moving to the beam and sliding it in the forward direction.
|
| 102 |
+
|
| 103 |
+
Catcher (Hard) The agent needs to catch a spinning object randomly falling from a high location.
|
| 104 |
+
|
| 105 |
+
Lifter (Hard) The robot has to manipulate an object and lift it out of a hole.
|
| 106 |
+
|
| 107 |
+
# 4 Evolving soft robots
|
| 108 |
+
|
| 109 |
+
Robot evolution/co-design algorithms are formulated as a two-level optimization problem, which involves a design optimization method that evolves physical structures of the robots in the outer loop and a control optimization algorithm that computes an optimized controller for a given robot structure in the inner loop, as illustrated in Algorithm 1. We briefly introduce several instantiations of design optimization methods and control optimization methods in Section 4.1 and 4.2 that we use for evaluation on our benchmark, and more details can be found in Appendix C.
|
| 110 |
+
|
| 111 |
+
Inputs: Task specification $T$ , number of generations $n$ , population size $p$ .
|
| 112 |
+
Outputs: The best robot design $D ^ { * }$ and controller $C ^ { * }$ .
|
| 113 |
+
$S \emptyset$ // Dataset of robot designs, controllers and reward
|
| 114 |
+
$D _ { 1 } , . . . , D _ { p } \gets \mathrm { S A M P L E D E S I G N S } ( p )$ // Sample an initial population of robot designs
|
| 115 |
+
for $i \gets 1$ to $n$ do for $j 1$ to $p$ do $C _ { j } \gets 0 \mathrm { P T I M I Z E C O N T R O L } ( T , D _ { j } )$ // Optimize the controller of given robot design $r _ { j } \gets 1$ EVALUATEREWARD $( T , D _ { j } , C _ { j } )$ // Evaluate the reward of given design and controller $\bar { S } S \cup \{ ( D _ { j } , C _ { j } , r _ { j } ) \}$ // Update the evaluation result to the dataset $D _ { 1 } , . . . , D _ { p } \gets \mathrm { O P T I M I Z E D E S I G N S } ( S , p ) .$ // Optimize a population of robot designs to evaluate
|
| 116 |
+
Find the best design $D ^ { * }$ and controller $C ^ { * }$ in dataset $S$ with the maximum reward $r ^ { * }$ .
|
| 117 |
+
|
| 118 |
+
# 4.1 Design optimization
|
| 119 |
+
|
| 120 |
+
Design optimization aims at evolving robot structures to maximize the reward under two physical constraints: the body has to be connected, and actuators must exist. In this section, we introduce three instantiations of the design optimization algorithm (OPTIMIZEDESIGN in Algorithm 1).
|
| 121 |
+
|
| 122 |
+
Genetic algorithm (GA) GAs [24] are widely used in optimizing black-box functions by relying on biologically inspired operators such as mutation, crossover and selection, as demonstrated in previous works on evolving rigid robots [31, 39]. We implement a simple GA using elitism selection and a simple mutation strategy to evolve the population of robot designs. Specifically, in each generation, our elitism selection works by keeping the top $x \%$ of the robots from the current population as survivors and discarding the rest, where $x$ decreases gradually from 60 to 0 over generations. Next, we iteratively sample and mutate one of those survivors with $1 \dot { 0 } \%$ probability of changing each voxel of the robot to create more offsprings. Note that by mutating a voxel type from/to empty voxel, we are able to change the topology of the robot. The crossover operator is not implemented in our genetic algorithm.
|
| 123 |
+
|
| 124 |
+
Bayesian optimization (BO) BO [20, 25] is a commonly used global optimization method for black-box functions by learning and utilizing a surrogate model, which is usually employed to optimize expensive-to-evaluate functions, including evolving rigid robots in previous works [29, 21]. Specifically, we choose a batch BO algorithm as described in Kandasamy et al. [18] and implemented in the GPyOpt package [4] that supports categorical input data. We use Gaussian processes as the surrogate model, batch Thompson sampling for extracting the acquisition function, and L-BFGS algorithm to optimize the acquisition function. To ensure a fair comparison with other populationbased evolutionary baseline algorithms, the batch size of this algorithm is set equal to the population size of other algorithms.
|
| 125 |
+
|
| 126 |
+
CPPN-NEAT CPPN-NEAT is the predominant method for evolving soft robot design in previous literature [6, 7, 8]. In this method, the robot design is parameterized by a Compositional Pattern Producing Network (CPPN) [33]. The input to a CPPN is the spatial coordinate of a robot voxel and the output is the type of that voxel. Therefore, by querying the CPPN at all the spatial locations of a robot, we can obtain the type for each voxel to construct a robot. At the same time the NeuroEvolution of Augmenting Topologies (NEAT) algorithm [34] is used to evolve the structure of CPPNs by working as a genetic algorithm with specific mutation, crossover, and selection operators defined on network structures. Our implementation of CPPN-NEAT is based on the PyTorch-NEAT library [28] and the neat-python library [22].
|
| 127 |
+
|
| 128 |
+
# 4.2 Control optimization
|
| 129 |
+
|
| 130 |
+
In this section, we introduce the specific control optimization algorithm (OPTIMIZECONTROL in Algorithm 1) that we use in the robot evolution algorithms. In previous works on evolving soft robots, the controller is either encoded as a fixed periodic sequence of actuation [7] or is parameterized as a CPPN that outputs the frequency and phase offset of the periodic actuation for each voxel [8]. However, the periodic pattern of the control prevents robots from learning complex non-periodic tasks such as walking on uneven or varying terrains. Therefore, we use reinforcement learning (RL) [35] to train the controller, making it possible for the soft robots to perform arbitrarily complex tasks in our benchmark. Specifically, we apply a state-of-the-art RL algorithm named Proximal Policy Optimization (PPO) [30] for control optimization of robots, with code implementation given by [19].
|
| 131 |
+
|
| 132 |
+
# 5 Experiments and results
|
| 133 |
+
|
| 134 |
+
In this section we present the evaluation results of baseline robot co-design algorithms on 10 selected benchmark tasks described in Section 3.5. The complete evaluation results on all our benchmark tasks can be found in Appendix E.
|
| 135 |
+
|
| 136 |
+
We develop three baseline algorithms for robot evolution by combing the three design optimization methods in Section 4.1 and PPO for control optimization in Section 4.2. Since the control optimization method is the same for all baseline algorithms, we simply use GA, BO, CPPN-NEAT to denote these three baseline algorithms with different design optimization methods. The evaluations of our baseline algorithms are performed on machines with Intel Xeon CPU $\textcircled { \omega } 2 . 8 0 \mathrm { G H z } ^ { \ast } 8 0$ processors on Google Cloud Platform; GPU is not required. Evaluating one algorithm on a single task usually takes several hours to twenty hours, depending on the number of evaluations, size of population, etc. See Appendix D for more details on hyperparameters of all the experiments.
|
| 137 |
+
|
| 138 |
+
# 5.1 Comparisons among baseline algorithms
|
| 139 |
+
|
| 140 |
+
We plot the reward curves of the three baseline algorithms on 10 selected benchmark tasks in Figure 3. There is no single optimal algorithm that performs the best on all tasks, but overall, GA outperforms the other two baseline algorithms. This is surprising because our genetic algorithm is implemented with simple and intuitive operators for mutation and selection without sophisticated mechanisms. Therefore, we believe that with more carefully designed operators, GA has the potential to evolve much more intelligent robots. CPPN-NEAT generally performs well on locomotion tasks, as tested by previous works, but performs poorly on more complex manipulation tasks. This is possibly because
|
| 141 |
+
|
| 142 |
+
NEAT favors CPPNs with simpler structures, which encourages CPPNs to generate robots with more regular patterns. However, to succeed in complex manipulation tasks, some agile substructures of the robot must evolve, which might only exist in robots with irregular patterns. Finally, it is not surprising that BO performs poorly on most of the tasks because the high-dimensional categorical input parameter space and the noisy evaluation done by RL together pose a challenge to fitting an accurate surrogate model in BO.
|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
Figure 3: Performance comparison among baseline algorithms. We plot the best performance of robots that each algorithm has evolved w.r.t. the number of evaluations on each task. All the curves are averaged over 6 different random seeds, and the variance is shown as a shaded region.
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 4: Evolution of robot designs. For each of the three selected tasks, we visualize the population in three different generations. Each column corresponds to one generation for which we show the four top performing robots along with their average reward.
|
| 149 |
+
|
| 150 |
+
# 5.2 Evolution analysis
|
| 151 |
+
|
| 152 |
+
In Figure 4 we visualize the top four robots in three different generations on training the genetic algorithm for the Carrier, Lifter, and Bridge Walker task. We also show the average reward these designs achieve.
|
| 153 |
+
|
| 154 |
+
In the carrier task, the robot must catch an object that falls from above and then carry that object as far as possible. Therefore, a successful design for this task achieves two main goals 1) allowing the robot to catch and hold the object securely 2) allowing the robot to move fast. We observe that robots with a block-holding mechanism and with legs are selected for in the top survivors of generation 1 (randomly initialized). As evolution progresses, these structures become increasingly optimized. Specifically, in later generations, the robots’ structures allow them to walk faster while still preventing the block from falling.
|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
Figure 5: Comparison between algorithm-optimized robots and hand designed robots on three tasks. In each task, we visualize one robot optimized by the algorithm and several hand-designed robots.
|
| 158 |
+
|
| 159 |
+
A similar comparison pattern can be seen in the Lifter task, where the algorithm learns a parallel gripper-like shape underneath the robot in order to manipulate an object. Unlike in the carrier task, the design structures that the algorithm generates are not prominently found in the initial generation. Finally, these patterns are echoed in the Bridge Walker task. Here the robot learns to evolve a large front foot to maximize its surface area and friction force to best walk across the soft rope bridge.
|
| 160 |
+
|
| 161 |
+
# 5.3 Comparison against hand-designed robots
|
| 162 |
+
|
| 163 |
+
We compare the performances of robots optimized by algorithm and the hand designed robots on several tasks to show the necessity of a co-design algorithm (Figure 5). The structure of the hand designed robots are bio-inspired and manually constructed according to our best intuition, and their control are optimized by PPO.
|
| 164 |
+
|
| 165 |
+
For every task, the hand designed robots are outperformed by at least one algorithm (usually more). For instance, for the Climber task we tested numerous natural robot designs. However, none of them successfully climbed very far. The issue with our designs is that we could not find the right trade off between getting traction on the wall, and accelerating upwards. The genetic algorithm, however, is able to find this balance. It develops leg-like structures that help the robot make forward progress, as well as a long flat back that maximizes contact/frictional forces with the wall. Additionally, the genetic algorithm selects for having a hole in the center of its body, which helps it achieve a certain optimized walking motion.
|
| 166 |
+
|
| 167 |
+
For other tasks, the performance between the hand designed robots and the robots produced by the algorithms is quite comparable. This is the case with the Carrier robots, as a very natural hand-designed Carrier robot performs almost as well as the best optimized robots produced by the design-optimization algorithms.
|
| 168 |
+
|
| 169 |
+
In the final case, there are tasks where neither a hand designed nor robot produced by the algorithm could achieve satisfying performance. One such environment is the Beam Slider environment. For this task, many of the hand design robots fail to even achieve the first part of the goal and position themselves underneath the beam. While there is one robot produced by the genetic algorithm that does slide the beam across several pegs, from visual observation we believe it comes nowhere close to exhibiting the optimal behavior in this environment. This suggests that further work is needed in designing co-optimization algorithms that can complete these hard tasks.
|
| 170 |
+
|
| 171 |
+
# 6 Conclusion and future work
|
| 172 |
+
|
| 173 |
+
In this paper we proposed Evolution Gym, the first large-scale benchmark for evolving the structure and control of soft robots. Through the wide spectrum of tasks in Evolution Gym, we systematically studied the performance of current state-of-the-art co-design algorithms. As a result, we observed how intelligent robots could be evolved autonomously from scratch yet still be capable of accomplishing some surprisingly complex tasks. We also discovered the limitations of existing techniques for evolving more intelligent embodied systems.
|
| 174 |
+
|
| 175 |
+
There are several potential directions to be explored in the future. First, with the help of our proposed benchmark, it is desirable to develop more advanced co-design algorithms to solve the difficult tasks which existing methods cannot address. Our currently implemented baseline algorithms share a bi-level optimization routine where the design optimization is in the outer loop while the control optimization is in the inner loop. However, Evolution Gym is agnostic to the specific training procedure used. As a result, some ideas for future work using our framework could include concurrently co-optimizing the design and control, neuroevolution algorithms, morphogenetic development, gradient-based methods for design optimization, or algorithms with decentralized controllers.
|
| 176 |
+
|
| 177 |
+
Second, a robot will be considered more successful if it can perform multiple tasks. Our benchmark suite naturally provides a comprehensive set of tasks and can potentially promote more exciting research work about multi-task or multi-objective robot co-design algorithms.
|
| 178 |
+
|
| 179 |
+
Another consideration is the specific morphological encodings used by the codesign algorithms as more intelligent encodings could lead to better performance. For instance, [38] analyzes the strengths and weaknesses of different morphological encodings. Our baseline algorithms use a direct encoding and CPPN but exploring other encoding representations remains interesting future work.
|
| 180 |
+
|
| 181 |
+
Finally, since tasks in Evolution Gym are currently limited to either locomotion or manipulation, we plan to further extend Evolution Gym to additional task categories such as flying or swimming by incorporating new simulation capabilities.
|
| 182 |
+
|
| 183 |
+
Overall, we believe our carefully-designed benchmarking tool fills an important missing piece in research in soft robotics and robotic evolution algorithms. Armed with the flexible and expressive framework Evolution Gym provides, we are optimistic that future researchers will use Evolution Gym as a standard test bed to improve co-design methods and evolve more intelligent robots.
|
| 184 |
+
|
| 185 |
+
# Societal Impact
|
| 186 |
+
|
| 187 |
+
We regard this work as a very preliminary piece of research in the field of soft robot co-design, and therefore think that we are still far away from causing harm to society. However, we can definitely foresee some problems if this technology were to be applied in the real world on a large scale. For instance, this work may inspire the automatic design of real biological creatures in which serious ethical issues exist. Additionally, since the users have full control over the reward design when customizing the benchmark environments, they could specify pernicious goals and encourage the co-design algorithm to produce more biased results.
|
| 188 |
+
|
| 189 |
+
# Acknowledgments and Disclosure of Funding
|
| 190 |
+
|
| 191 |
+
We thank Tao Du and the anonymous reviewers for their helpful comments in revising the paper. This work is supported by the Defense Advanced Research Projects Agency (FA8750-20-C-0075).
|
| 192 |
+
|
| 193 |
+
# References
|
| 194 |
+
|
| 195 |
+
[1] Ilge Akkaya, Marcin Andrychowicz, Maciek Chociej, Mateusz Litwin, Bob McGrew, Arthur Petron, Alex Paino, Matthias Plappert, Glenn Powell, Raphael Ribas, et al. Solving rubik’s cube with a robot hand. arXiv preprint arXiv:1910.07113, 2019.
|
| 196 |
+
|
| 197 |
+
[2] OpenAI: Marcin Andrychowicz, Bowen Baker, Maciek Chociej, Rafal Jozefowicz, Bob McGrew, Jakub Pachocki, Arthur Petron, Matthias Plappert, Glenn Powell, Alex Ray, et al. Learning dexterous in-hand manipulation. The International Journal of Robotics Research, 39(1):3–20, 2020.
|
| 198 |
+
[3] Jacob Austin, Rafael Corrales-Fatou, Sofia Wyetzner, and Hod Lipson. Titan: A parallel asynchronous library for multi-agent and soft-body robotics using nvidia cuda. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 7754–7760, 2020.
|
| 199 |
+
[4] The GPyOpt authors. GPyOpt: A bayesian optimization framework in python. http:// github.com/SheffieldML/GPyOpt, 2016.
|
| 200 |
+
[5] Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016.
|
| 201 |
+
[6] Nicholas Cheney, Jeff Clune, and Hod Lipson. Evolved electrophysiological soft robots. In Artificial Life Conference Proceedings 14, pages 222–229. MIT Press, 2014.
|
| 202 |
+
[7] Nick Cheney, Robert MacCurdy, Jeff Clune, and Hod Lipson. Unshackling evolution: Evolving soft robots with multiple materials and a powerful generative encoding. SIGEVOlution, 7(1):11–23, August 2014.
|
| 203 |
+
[8] Francesco Corucci, Nick Cheney, Francesco Giorgio-Serchi, Josh Bongard, and Cecilia Laschi. Evolving soft locomotion in aquatic and terrestrial environments: effects of material properties and environmental transitions, 2017.
|
| 204 |
+
[9] Francesco Corucci, Nick Cheney, Francesco Giorgio-Serchi, Josh Bongard, and Cecilia Laschi. Evolving soft locomotion in aquatic and terrestrial environments: effects of material properties and environmental transitions. Soft robotics, 5(4):475–495, 2018.
|
| 205 |
+
[10] Francesco Corucci, Nick Cheney, Hod Lipson, Cecilia Laschi, and Josh Bongard. Evolving swimming soft-bodied creatures. In ALIFE XV, The Fifteenth International Conference on the Synthesis and Simulation of Living Systems, Late Breaking Proceedings, volume 6, 2016.
|
| 206 |
+
[11] Yan Duan, Xi Chen, Rein Houthooft, John Schulman, and Pieter Abbeel. Benchmarking deep reinforcement learning for continuous control. In International conference on machine learning, pages 1329–1338. PMLR, 2016.
|
| 207 |
+
[12] Christer Ericson. Real-time collision detection. CRC Press, 2004.
|
| 208 |
+
[13] David Ha. Reinforcement learning for improving agent design. Artificial life, 25(4):352–365, 2019.
|
| 209 |
+
[14] Donald J Hejna III, Pieter Abbeel, and Lerrel Pinto. Task-agnostic morphology evolution. arXiv preprint arXiv:2102.13100, 2021.
|
| 210 |
+
[15] Jonathan Hiller and Hod Lipson. Dynamic simulation of soft multimaterial 3d-printed objects. Soft robotics, 1(1):88–101, 2014.
|
| 211 |
+
[16] Zhiao Huang, Yuanming Hu, Tao Du, Siyuan Zhou, Hao Su, Joshua B. Tenenbaum, and Chuang Gan. Plasticinelab: A soft-body manipulation benchmark with differentiable physics, 2021.
|
| 212 |
+
[17] Jemin Hwangbo, Joonho Lee, Alexey Dosovitskiy, Dario Bellicoso, Vassilios Tsounis, Vladlen Koltun, and Marco Hutter. Learning agile and dynamic motor skills for legged robots. Science Robotics, 4(26), 2019.
|
| 213 |
+
[18] Kirthevasan Kandasamy, Akshay Krishnamurthy, Jeff Schneider, and Barnabás Póczos. Parallelised bayesian optimisation via thompson sampling. In International Conference on Artificial Intelligence and Statistics, pages 133–142. PMLR, 2018.
|
| 214 |
+
[19] Ilya Kostrikov. Pytorch implementations of reinforcement learning algorithms. https:// github.com/ikostrikov/pytorch-a2c-ppo-acktr-gail, 2018.
|
| 215 |
+
[20] Harold J Kushner. A new method of locating the maximum point of an arbitrary multipeak curve in the presence of noise. 1964.
|
| 216 |
+
[21] Thomas Liao, Grant Wang, Brian Yang, Rene Lee, Kristofer Pister, Sergey Levine, and Roberto Calandra. Data-efficient learning of morphology and controller for a microrobot. In 2019 International Conference on Robotics and Automation (ICRA), pages 2488–2494. IEEE, 2019.
|
| 217 |
+
[22] Alan McIntyre, Matt Kallada, Cesar G. Miguel, and Carolina Feher da Silva. neat-python. https://github.com/CodeReclaimers/neat-python.
|
| 218 |
+
[23] Eric Medvet, Alberto Bartoli, Andrea De Lorenzo, and Stefano Seriani. 2d-vsr-sim: A simulation tool for the optimization of 2-d voxel-based soft robots. SoftwareX, 12:100573, 2020.
|
| 219 |
+
[24] Zbigniew Michalewicz. Genetic algorithms $^ +$ data structures $=$ evolution programs. Springer Science & Business Media, 2013.
|
| 220 |
+
[25] J. Mockus. On bayesian methods for seeking the extremum. In G. I. Marchuk, editor, ˇ Optimization Techniques IFIP Technical Conference Novosibirsk, July 1–7, 1974, pages 400–404, Berlin, Heidelberg, 1975. Springer Berlin Heidelberg.
|
| 221 |
+
[26] Andrew Nealen, Matthias Müller, Richard Keiser, Eddy Boxerman, and Mark Carlson. Physically based deformable models in computer graphics. In Computer graphics forum, volume 25, pages 809–836. Wiley Online Library, 2006.
|
| 222 |
+
[27] Deepak Pathak, Chris Lu, Trevor Darrell, Phillip Isola, and Alexei A Efros. Learning to control self-assembling morphologies: a study of generalization via modularity. arXiv preprint arXiv:1902.05546, 2019.
|
| 223 |
+
[28] Uber Research. pytorch-neat. https://github.com/uber-research/PyTorch-NEAT.
|
| 224 |
+
[29] Charles Schaff, David Yunis, Ayan Chakrabarti, and Matthew R Walter. Jointly learning to construct and control agents using deep reinforcement learning. In 2019 International Conference on Robotics and Automation (ICRA), pages 9798–9805. IEEE, 2019.
|
| 225 |
+
[30] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms, 2017.
|
| 226 |
+
[31] Karl Sims. Evolving virtual creatures. In Proceedings of the 21st annual conference on Computer graphics and interactive techniques, pages 15–22, 1994.
|
| 227 |
+
[32] Andrew Spielberg, Allan Zhao, Yuanming Hu, Tao Du, Wojciech Matusik, and Daniela Rus. Learning-in-the-loop optimization: End-to-end control and co-design of soft robots through learned deep latent representations. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché- Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019.
|
| 228 |
+
[33] Kenneth O Stanley. Compositional pattern producing networks: A novel abstraction of development. Genetic programming and evolvable machines, 8(2):131–162, 2007.
|
| 229 |
+
[34] Kenneth O Stanley and Risto Miikkulainen. Evolving neural networks through augmenting topologies. Evolutionary computation, 10(2):99–127, 2002.
|
| 230 |
+
[35] Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018.
|
| 231 |
+
[36] Yuval Tassa, Yotam Doron, Alistair Muldal, Tom Erez, Yazhe Li, Diego de Las Casas, David Budden, Abbas Abdolmaleki, Josh Merel, Andrew Lefrancq, Timothy Lillicrap, and Martin Riedmiller. Deepmind control suite, 2018.
|
| 232 |
+
[37] Merel Van Diepen and Kristina Shea. A spatial grammar method for the computational design synthesis of virtual soft locomotion robots. Journal of Mechanical Design, 141(10), 2019.
|
| 233 |
+
[38] Frank Veenstra and Kyrre Glette. How different encodings affect performance and diversification when evolving the morphology and control of 2d virtual creatures. In Artificial Life Conference Proceedings, pages 592–601. MIT Press, 2020.
|
| 234 |
+
[39] Tingwu Wang, Yuhao Zhou, Sanja Fidler, and Jimmy Ba. Neural graph evolution: Towards efficient automatic robot design, 2019.
|
| 235 |
+
[40] Fei Xia, Amir R Zamir, Zhiyang He, Alexander Sax, Jitendra Malik, and Silvio Savarese. Gibson env: Real-world perception for embodied agents. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 9068–9079, 2018.
|
| 236 |
+
[41] Allan Zhao, Jie Xu, Mina Konakovic-Lukovi ´ c, Josephine Hughes, Andrew Spielberg, Daniela ´ Rus, and Wojciech Matusik. Robogrammar: Graph grammar for terrain-optimized robot design. ACM Trans. Graph., 39(6), November 2020.
|
| 237 |
+
|
| 238 |
+
# Checklist
|
| 239 |
+
|
| 240 |
+
1. For all authors...
|
| 241 |
+
|
| 242 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 243 |
+
(b) Did you describe the limitations of your work? [Yes] See Section 6.
|
| 244 |
+
(c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 6.
|
| 245 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 246 |
+
|
| 247 |
+
2. If you are including theoretical results...
|
| 248 |
+
|
| 249 |
+
(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
|
| 250 |
+
|
| 251 |
+
3. If you ran experiments...
|
| 252 |
+
|
| 253 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] The URL is presented in the abstract.
|
| 254 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Appendix D.
|
| 255 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] We ran experiments with multiple random seeds and reported error bars. See Section 5.
|
| 256 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Section 5.
|
| 257 |
+
|
| 258 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 259 |
+
|
| 260 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] The existing code implementation for our baseline algorithms are cited in Section 4.
|
| 261 |
+
(b) Did you mention the license of the assets? [Yes] This benchmark platform will be released under the MIT license. See Section 1.
|
| 262 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] The URL is presented in the abstract.
|
| 263 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
|
| 264 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
|
| 265 |
+
|
| 266 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 267 |
+
|
| 268 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 269 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 270 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/eoTy4ihL0W/eoTy4ihL0W_content_list.json
ADDED
|
@@ -0,0 +1,1267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Evolution Gym: A Large-Scale Benchmark for Evolving Soft Robots ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
217,
|
| 8 |
+
122,
|
| 9 |
+
781,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jagdeep Singh Bhatia MIT CSAIL jagdeep@mit.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
210,
|
| 19 |
+
226,
|
| 20 |
+
367,
|
| 21 |
+
268
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Holly Jackson \nMIT CSAIL \nhjackson@mit.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
408,
|
| 30 |
+
226,
|
| 31 |
+
550,
|
| 32 |
+
268
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Yunsheng Tian MIT CSAIL yunsheng@csail.mit.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
593,
|
| 41 |
+
226,
|
| 42 |
+
784,
|
| 43 |
+
268
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Jie Xu MIT CSAIL jiex@csail.mit.edu ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
272,
|
| 52 |
+
289,
|
| 53 |
+
429,
|
| 54 |
+
332
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Wojciech Matusik MIT CSAIL wojciech@csail.mit.edu ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
534,
|
| 63 |
+
289,
|
| 64 |
+
725,
|
| 65 |
+
332
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract ",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
462,
|
| 75 |
+
367,
|
| 76 |
+
535,
|
| 77 |
+
383
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Both the design and control of a robot play equally important roles in its task performance. However, while optimal control is well studied in the machine learning and robotics community, less attention is placed on finding the optimal robot design. This is mainly because co-optimizing design and control in robotics is characterized as a challenging problem, and more importantly, a comprehensive evaluation benchmark for co-optimization does not exist. In this paper, we propose Evolution Gym, the first large-scale benchmark for co-optimizing the design and control of soft robots. In our benchmark, each robot is composed of different types of voxels (e.g., soft, rigid, actuators), resulting in a modular and expressive robot design space. Our benchmark environments span a wide range of tasks, including locomotion on various types of terrains and manipulation. Furthermore, we develop several robot co-evolution algorithms by combining state-of-the-art design optimization methods and deep reinforcement learning techniques. Evaluating the algorithms on our benchmark platform, we observe robots exhibiting increasingly complex behaviors as evolution progresses, with the best evolved designs solving many of our proposed tasks. Additionally, even though robot designs are evolved autonomously from scratch without prior knowledge, they often grow to resemble existing natural creatures while outperforming hand-designed robots. Nevertheless, all tested algorithms fail to find robots that succeed in our hardest environments. This suggests that more advanced algorithms are required to explore the high-dimensional design space and evolve increasingly intelligent robots – an area of research in which we hope Evolution Gym will accelerate progress. Our website with code, environments, documentation, and tutorials is available at http://evogym.csail.mit.edu. ",
|
| 84 |
+
"bbox": [
|
| 85 |
+
232,
|
| 86 |
+
400,
|
| 87 |
+
766,
|
| 88 |
+
729
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction ",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
757,
|
| 99 |
+
310,
|
| 100 |
+
775
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "One of the main goals of artificial intelligence is to develop effective approaches for the creation of embodied intelligent systems. Inspired from real organisms, where body structure and brain are two key factors for completing any task in a real environment, a successful intelligent robot typically requires concurrently optimizing its structure design and control mechanism. Such a co-design problem has been a long-standing key challenge in the robotics and machine learning communities. Surprisingly, despite its importance, most previous research works still either only develop complex control algorithms for existing robot structures [1, 2, 17, 30], or conduct co-optimization over robot morphology and control for only a few simple tasks (e.g., running, jumping) [7, 14, 31, 32], especially in the soft body domain. The primary reasons behind the under-exploration of co-design algorithms in sophisticated problems are: (1) the underlying complex bilevel optimization scheme of a co-design algorithm, where the inner control optimization loop leads to a long iteration cycle of the whole optimization process; (2) the lack of a well-established benchmark platform providing the researchers with a suite to evaluate and compare different algorithms. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
789,
|
| 110 |
+
825,
|
| 111 |
+
900
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
92,
|
| 121 |
+
825,
|
| 122 |
+
160
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Digital benchmark environments have proven to be successful at promoting the development of advanced learning techniques via providing a comprehensive evaluation suite to make fair comparisons among different algorithms [5, 11, 36]. However, to our best knowledge, all existing benchmark platforms constrain their domains within control optimization problems, and the space of co-optimization environment suites is still rarely explored. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
167,
|
| 132 |
+
825,
|
| 133 |
+
237
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "To fill this gap, in this work we propose Evolution Gym, a large-scale benchmark for evolving both the shape structure and controller of soft robots. The body of each robot in Evolution Gym is composed of various types of primitive building blocks (e.g., soft voxels, rigid voxels, actuator voxels), and the control of the robot includes action signals applied on the actuator voxels. We choose to use this multi-material voxel-based structure as the representation of robot body since it provides a general and universal representation for various categories of robot designs, and at the same time results in a modular and expressive structure design space. We adopt a mass-spring dynamics system [26] with penalty-based frictional contact as the underlining physics engine. Such a light-weight simulator allows the co-design algorithms to significantly reduce the simulation cost and thus accelerate the develop-evaluate iteration cycle [3, 15, 23]. The back-end simulator is fully developed in $\\mathrm { C } { + + }$ t o provide further computing efficiency. Another feature of Evolution Gym is its large variety of tasks categorized by varying difficulty levels, which offer an extensive evaluation benchmark for comparing approaches. The benchmark is currently comprised of more than 30 tasks, spanning locomotion on various types of terrains and manipulation. Moreover, Evolution Gym is easy to use. In order to have user-friendly interfaces, we build a Python wrapper outside the $\\mathrm { C } { + + }$ simulator and carefully design our APIs off of the well-received APIs of OpenAI Gym with minimum modifications. Evolution Gym will be released fully open-source under the MIT license. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
242,
|
| 143 |
+
825,
|
| 144 |
+
477
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "In addition, we develop several baseline algorithms by integrating state-of-the-art design optimization approaches and reinforcement learning techniques. Specifically, in our baseline algorithms, design optimization methods are served in the outer loop to evolve the physical structures of robots and reinforcement learning algorithms are applied in the inner loop to optimize a controller for a given proposed structure design. We conduct extensive experiments to evaluate all baseline algorithms on Evolution Gym. The experiment results demonstrate that intelligent robot designs can be evolved fully autonomously while outperforming hand-designed robots in easier tasks, which reaffirms the necessity of jointly optimizing for both robot structure and control. However, none of the baseline algorithms are capable enough to successfully find robots that complete the task in our hardest environments. Such insufficiency of the existing algorithms suggests the demand for more advanced robot co-design techniques, and we believe our proposed Evolution Gym provides a comprehensive evaluation testbed for robot co-design and unlocks future research in this direction. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
174,
|
| 153 |
+
484,
|
| 154 |
+
825,
|
| 155 |
+
650
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "In summary, our work has the following key contributions: (i) We propose Evolution Gym, the first large-scale benchmark for soft robot co-design algorithms. (ii) We develop several co-design algorithms by combining state-of-the-art design optimization methods and deep reinforcement learning techniques for control optimization. (iii) The developed algorithms are evaluated and analyzed on our proposed benchmark suite, and the results validate the efficacy of robot co-design while pointing out the failure and limitations of existing algorithms. ",
|
| 162 |
+
"bbox": [
|
| 163 |
+
174,
|
| 164 |
+
656,
|
| 165 |
+
825,
|
| 166 |
+
739
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "2 Related work ",
|
| 173 |
+
"text_level": 1,
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
765,
|
| 177 |
+
316,
|
| 178 |
+
781
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Robot co-design Co-designing the structure (i.e., body) and control (i.e., brain) of robots is a long-standing key challenge in the robotics community. As the earliest work in this space, Sims [31] represents the structure of a rigid robot as a directed graph and proposes an evolutionary algorithm defined on graphs to optimize the robot design. Subsequently, the co-design of rigid robots is formulated as a graph search problem where more efficient search algorithms are applied [13, 27, 39, 41] to achieve increasingly interesting results. However, with the restriction of having rigid components only, these algorithms are unable to produce optimal or even feasible designs for many challenging tasks where a compliant joint or robot component is required to achieve the goal. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
800,
|
| 188 |
+
825,
|
| 189 |
+
911
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "On the contrary, soft components offer much more flexibility to represent arbitrary shapes, making the design of more complex, agile, and high-performing robots possible. Inspired by this, some work has been conducted to co-design robots composed of soft cells. Cheney et al. [7, 8]; Van Diepen and Shea [37]; Corucci et al. [10] propose evolutionary algorithms to co-optimize the structure and control of voxel-based robots. However those algorithms typically parameterize the control as an open-loop periodic sequence of actuation, which prevents robots from learning complex non-periodic tasks such as walking on uneven or varying terrains. Spielberg et al. [32] and Medvet et al. [23] jointly optimize the spatial-varying material parameters and the neural network policy for soft robots but leave the shape of the robot fixed. Our proposed benchmark shares a similar expressive structure design space as Cheney et al. [7], but allows the control to be parameterized by a sophisticated neural network feedback policy. To handle such sophisticated joint optimization of the robot structure and high-dimensional neural network control policy, we develop several baseline co-design algorithms by combining state-of-the-art design optimization strategies and reinforcement learning techniques for control optmization. ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
173,
|
| 198 |
+
90,
|
| 199 |
+
825,
|
| 200 |
+
285
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 2
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "Benchmark environments for robotics learning Present research in robotics learning is largely facilitated by emerging benchmark environments. For instance, OpenAI Gym [5], DeepMind Control Suite [36], rllab [11], and Gibson [40] have been developed to benchmark RL algorithms for controlling rigid robots. At the same time, PlasticineLab [16] is specifically designed for soft robot learning. However, the existing benchmark environments are all constructed for learning the control only. To enable the possibility of evolving the structure of a robot, the existing co-design work has to either implement their own testing environment [32, 7, 8, 10, 37], or make substantial changes on the underlying code of the existing control-only environments [29]. The independent development of testing beds requires non-trivial workload, and as a result, existing co-design works mainly focus on evaluating the robot on a few simple tasks such as walking on a flat terrain [7, 6, 8, 37, 32, 23], or swimming along a single direction [9, 39]. An unintended consequence of such independency is an indirect comparison among different algorithms. Evolution Gym fills this gap by presenting a large variety of tasks with different difficulty levels that span from locomotion to manipulation. The proposed benchmark suite can be effectively used to test the generalizability of the algorithms on different tasks, potentially accelerating research in robot co-design. ",
|
| 207 |
+
"bbox": [
|
| 208 |
+
173,
|
| 209 |
+
291,
|
| 210 |
+
825,
|
| 211 |
+
498
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 2
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "3 Evolution Gym ",
|
| 218 |
+
"text_level": 1,
|
| 219 |
+
"bbox": [
|
| 220 |
+
174,
|
| 221 |
+
521,
|
| 222 |
+
333,
|
| 223 |
+
537
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 2
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "image",
|
| 229 |
+
"img_path": "images/f540f0a25bd3a4ab567d628bc5020febbc9d55526a09cf77187a1637e5342b14.jpg",
|
| 230 |
+
"image_caption": [
|
| 231 |
+
"Figure 1: Overview of Evolution Gym and its integration with the co-design algorithms. Evolution Gym is comprised of a back-end soft body simulator (A, B) and task-specific environments (C). A user-customized co-design algorithm can be plugged in to optimize for both robot structure and control through interacting with Evolution Gym on a certain task. "
|
| 232 |
+
],
|
| 233 |
+
"image_footnote": [],
|
| 234 |
+
"bbox": [
|
| 235 |
+
187,
|
| 236 |
+
556,
|
| 237 |
+
807,
|
| 238 |
+
742
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "3.1 Overview ",
|
| 245 |
+
"text_level": 1,
|
| 246 |
+
"bbox": [
|
| 247 |
+
174,
|
| 248 |
+
828,
|
| 249 |
+
279,
|
| 250 |
+
843
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "In this section, we present Evolution Gym, a large-scale benchmark for the co-design of voxel-based soft robots. Evolution Gym is featured by its versatile and expressive multi-material voxel-based structure design space, flexibility of the controller parameterization, wide spectrum of tasks of various difficulty levels, fast back-end soft-body simulation support, and user-friendly Python interfaces. ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
856,
|
| 260 |
+
825,
|
| 261 |
+
911
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "As shown in the overview in Figure 1, Evolution Gym is comprised of a task-specific environment and a back-end soft-body simulator. The gym suite provides seamless interfaces with a user-defined co-design algorithm. The co-design algorithm typically consists of a design optimizer and a control optimizer. The design optimizer can propose a new robot structure to the control optimizer, then the control optimizer will compute an optimized controller for the given structure through interactions with Evolution Gym and finally return the maximum reward that this robot structure can achieve. In this way, Evolution Gym provides an easy-to-use platform for co-design algorithms to evolve both robot structure and control to optimize for robots’ task performances. Evolution Gym is designed to be the first comprehensive testbed for benchmarking and comparing different co-design algorithms with the hope to facilitate the development of more novel and powerful algorithms in the co-design field. ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
174,
|
| 270 |
+
90,
|
| 271 |
+
825,
|
| 272 |
+
242
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 3
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "3.2 Multi-material voxel-based representation ",
|
| 279 |
+
"text_level": 1,
|
| 280 |
+
"bbox": [
|
| 281 |
+
176,
|
| 282 |
+
266,
|
| 283 |
+
506,
|
| 284 |
+
281
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 3
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "Evolution Gym employs a unified multi-material voxel-based representation for all the components in the environment (e.g., robot, terrain, object) as shown in Figure 1A. Specifically, each robot in our gym is composed of rigid voxels, soft voxels, horizontal/vertical actuator voxels, and empty voxels. For terrain and objects, we use the same voxel-based structure but with passive voxel types (i.e., soft/rigid voxels). ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
174,
|
| 293 |
+
294,
|
| 294 |
+
825,
|
| 295 |
+
363
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 3
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "We chose a voxel-based representation for three main reasons. First, such a multi-material structure of robots provides a general and universal representation for various categories of robot designs and results in a modular structure design space. Additionally, with just the few voxel types described above, and less than 100 voxels per robot, we are able to construct a wide diversity of morphologies due to the resulting combinatorial robot design space. Even with this simple representation, our designed robots are capable of performing complex motions and completing difficult tasks. Finally, voxel-based robots can be simulated by a fast mass-spring simulation (see section 3.4) which allows our framework to be efficient enough to train robots in a matter of minutes and provides a computationally tractable benchmark for iterating co-design algorithms. ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
174,
|
| 304 |
+
369,
|
| 305 |
+
825,
|
| 306 |
+
494
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 3
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "3.3 Task representation ",
|
| 313 |
+
"text_level": 1,
|
| 314 |
+
"bbox": [
|
| 315 |
+
174,
|
| 316 |
+
517,
|
| 317 |
+
349,
|
| 318 |
+
532
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 3
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "Each task in Evolution Gym contains a robot structure proposed by the co-design algorithm, environment specifications (e.g., terrain, object), and a task-related goal (e.g., locomotion or manipulation). The tasks interface with the co-design algorithm through a few key elements including robot structure specification, observation, action, and reward. We introduce each element in detail below. ",
|
| 325 |
+
"bbox": [
|
| 326 |
+
174,
|
| 327 |
+
545,
|
| 328 |
+
825,
|
| 329 |
+
601
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 3
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "Robot structure specification As described in Section 3.2, we construct each robot from primitive building blocks arranged on a grid layout. In code, each robot is specified as a material matrix of voxels $\\mathcal { M }$ and a connection link list $\\mathcal { C }$ . The value of entry $m \\in \\mathcal { M }$ is a label corresponding to a voxel type from the set {Empty, Rigid, Soft, Horizontal Actuator, Vertical Actuator}. The connection link list $\\mathcal { C }$ stores a list of connection pairs of adjacent voxels. The co-design algorithm can update the robot structure in the environment through initialization function with $\\mathcal { M }$ and $\\mathcal { C }$ as arguments. ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
174,
|
| 338 |
+
607,
|
| 339 |
+
825,
|
| 340 |
+
690
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "Observation The observation is composed in each step to inform the controller of state information of the robot, terrain information of the environment, and goal-relevant information. More specifically, let $N$ be the total number of voxel corner points of the robot. Then the state information of the robot in our tasks is a $( 2 N + 3 )$ -D vector including the relative position of each voxel corner with respect to the center of mass of the robot (2N -D), and the velocity and orientation of center of mass (3-D). To handle complex tasks, specifically those with varying terrain types, an additional observation vector including terrain information is provided. We compile terrain information within a local window of size $2 W$ around the robot into a length- $2 W$ vector observation that describes the terrain’s elevation. Furthermore, goal-related information is offered to inform the controller of the execution status of the current task. This goal-related observation is task-specific and is defined on each task separately. For instance, in manipulation tasks where the robot interacts with some object $O$ , we provide orientation and velocity as well as the position of $O$ ’s center of mass relative to the robot. ",
|
| 347 |
+
"bbox": [
|
| 348 |
+
174,
|
| 349 |
+
696,
|
| 350 |
+
825,
|
| 351 |
+
863
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "Action At each time step, an action vector from the robot’s controller is provided to step Evolution Gym’s simulator. In Evolution Gym, each component of the action vector is associated with an actuator voxel (either horizontal or vertical) of the robot, and instructs a deformation target of that voxel. Specifically, the action value $u$ is within the range [0.6, 1.6], and corresponds to a gradual expansion/contraction of that actuator to $u$ times its rest length. ",
|
| 358 |
+
"bbox": [
|
| 359 |
+
176,
|
| 360 |
+
869,
|
| 361 |
+
823,
|
| 362 |
+
911
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "image",
|
| 368 |
+
"img_path": "images/053eb8c429dde48e5939018f6c3c0ddcb5a5e3b0be8c8177374baf33de67a0c2.jpg",
|
| 369 |
+
"image_caption": [
|
| 370 |
+
"Figure 2: A visual overview of selected 10 environments from Evolution Gym. A verbal description of tasks is provided in Section 3.5. "
|
| 371 |
+
],
|
| 372 |
+
"image_footnote": [],
|
| 373 |
+
"bbox": [
|
| 374 |
+
209,
|
| 375 |
+
90,
|
| 376 |
+
790,
|
| 377 |
+
276
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 4
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "",
|
| 384 |
+
"bbox": [
|
| 385 |
+
169,
|
| 386 |
+
343,
|
| 387 |
+
823,
|
| 388 |
+
371
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 4
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "Reward Each task is equipped with a reward function measuring the performance of the current robot and the control action. The value of the reward is defined step-wise and is fed back to the agent through step function. The reward function is highly task-specific and should be defined to precisely characterize the robot’s completeness of the task. Please refer to Section 3.5 and Appendix for detailed descriptions of the reward functions on each task. ",
|
| 395 |
+
"bbox": [
|
| 396 |
+
174,
|
| 397 |
+
377,
|
| 398 |
+
825,
|
| 399 |
+
446
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 4
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "3.4 Simulation engine ",
|
| 406 |
+
"text_level": 1,
|
| 407 |
+
"bbox": [
|
| 408 |
+
174,
|
| 409 |
+
464,
|
| 410 |
+
338,
|
| 411 |
+
479
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 4
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "We model the dynamics of the underlying simulator as a 2D mass-spring system [26]. This simple, flexible formulation allows us to efficiently model soft robots with a wide range of capabilities in a wide range of environments. The simulation engine is written entirely in $\\mathrm { C } { + + }$ . We create Python bindings of our simulator so it seamlessly interfaces with standard learning frameworks. ",
|
| 418 |
+
"bbox": [
|
| 419 |
+
174,
|
| 420 |
+
489,
|
| 421 |
+
825,
|
| 422 |
+
545
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 4
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "The simulation represents objects and their environment as a mass-spring system in a grid-like layout (Figure 1B). Objects and their environments are initialized as a set of non-overlapping, connected voxels. On initialization, each voxel is a cross-braced square, but may undergo deformation as the simulation progresses. Each edge acts as an ideal spring obeying Hooke’s law, with a spring constant defined by one of five possible material types. We employ symplectic RK-4 integration to step forward the simulation. ",
|
| 429 |
+
"bbox": [
|
| 430 |
+
174,
|
| 431 |
+
553,
|
| 432 |
+
825,
|
| 433 |
+
636
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 4
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "Collision detection is performed using a bounding-box tree structure [12]. Penalty-based contact forces and frictional forces are computed proportionally to the depth of penetration of the corresponding voxels in contact, and are applied on the voxel vertices in the normal and tangential directions of the contact respectively. Please refer to Appendix A for more details of simulation. ",
|
| 440 |
+
"bbox": [
|
| 441 |
+
174,
|
| 442 |
+
642,
|
| 443 |
+
825,
|
| 444 |
+
698
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 4
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "3.5 Benchmark environment suite ",
|
| 451 |
+
"text_level": 1,
|
| 452 |
+
"bbox": [
|
| 453 |
+
176,
|
| 454 |
+
712,
|
| 455 |
+
423,
|
| 456 |
+
727
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 4
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "We have developed over 30 unique tasks with Evolution Gym and select 10 tasks here to illustrate the diversity and comprehensiveness of our benchmark task set. All tasks are organized into two categories – locomotion and manipulation – though some tasks are a mix of both. We further classify the tasks into different difficulty levels (i.e., easy, medium, hard) based on the performance of the baseline algorithms (see Section 4) on them. We briefly introduce the selected tasks in this section. For more detailed descriptions and visualizations of the tasks, please refer to our website or Appendix B. It is also worth mentioning that our gym is designed to be extendable and the user can easily create new tasks for their needs. ",
|
| 463 |
+
"bbox": [
|
| 464 |
+
174,
|
| 465 |
+
737,
|
| 466 |
+
825,
|
| 467 |
+
848
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 4
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "3.5.1 Locomotion tasks ",
|
| 474 |
+
"text_level": 1,
|
| 475 |
+
"bbox": [
|
| 476 |
+
174,
|
| 477 |
+
859,
|
| 478 |
+
348,
|
| 479 |
+
873
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 4
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "text",
|
| 485 |
+
"text": "Walker (Easy) This is a common standard task typically considered by previous works where the robot needs to walk on a flat terrain as fast as possible. ",
|
| 486 |
+
"bbox": [
|
| 487 |
+
174,
|
| 488 |
+
883,
|
| 489 |
+
821,
|
| 490 |
+
911
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 4
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "Bridge Walker (Easy) In this task, the robot traverses a series of soft “rope” bridges separated by fixed pillars, and similarly as before it needs to maximize its forward speed. ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
171,
|
| 499 |
+
90,
|
| 500 |
+
823,
|
| 501 |
+
119
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 5
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "Up Stepper (Medium) The agent walks up a fixed staircase with steps of varying length. ",
|
| 508 |
+
"bbox": [
|
| 509 |
+
173,
|
| 510 |
+
126,
|
| 511 |
+
754,
|
| 512 |
+
140
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 5
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "Climber (Medium) The robot must climb two tall fixed walls on each side. The robot is rewarded by its upward climbing speed. ",
|
| 519 |
+
"bbox": [
|
| 520 |
+
174,
|
| 521 |
+
146,
|
| 522 |
+
825,
|
| 523 |
+
175
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 5
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "Traverser (Hard) In this hard task, the robot needs to traverse a pit of rigid blocks to get to the other side without sinking into the pit. ",
|
| 530 |
+
"bbox": [
|
| 531 |
+
173,
|
| 532 |
+
180,
|
| 533 |
+
823,
|
| 534 |
+
209
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 5
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "3.5.2 Object manipulation tasks ",
|
| 541 |
+
"text_level": 1,
|
| 542 |
+
"bbox": [
|
| 543 |
+
174,
|
| 544 |
+
223,
|
| 545 |
+
408,
|
| 546 |
+
239
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 5
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "Carrier (Easy) The robot needs to catch a small, soft rectangular object initially dropped from above and then carry it along the forward direction. The robot is rewarded by the distance both it and the object have traveled. ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
247,
|
| 556 |
+
825,
|
| 557 |
+
289
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 5
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "Thrower (Medium) The robot throws a soft rectangular box as far as possible without moving itself significantly from its original position. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
295,
|
| 567 |
+
823,
|
| 568 |
+
324
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 5
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "Beam Slider (Hard) In this task, a beam sits on top of a set of spaced-out floating platforms. The robot is rewarded for moving to the beam and sliding it in the forward direction. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
173,
|
| 577 |
+
330,
|
| 578 |
+
821,
|
| 579 |
+
358
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 5
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "Catcher (Hard) The agent needs to catch a spinning object randomly falling from a high location. ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
174,
|
| 588 |
+
364,
|
| 589 |
+
813,
|
| 590 |
+
380
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 5
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "Lifter (Hard) The robot has to manipulate an object and lift it out of a hole. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
176,
|
| 599 |
+
385,
|
| 600 |
+
669,
|
| 601 |
+
400
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 5
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "4 Evolving soft robots ",
|
| 608 |
+
"text_level": 1,
|
| 609 |
+
"bbox": [
|
| 610 |
+
176,
|
| 611 |
+
419,
|
| 612 |
+
372,
|
| 613 |
+
436
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 5
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "Robot evolution/co-design algorithms are formulated as a two-level optimization problem, which involves a design optimization method that evolves physical structures of the robots in the outer loop and a control optimization algorithm that computes an optimized controller for a given robot structure in the inner loop, as illustrated in Algorithm 1. We briefly introduce several instantiations of design optimization methods and control optimization methods in Section 4.1 and 4.2 that we use for evaluation on our benchmark, and more details can be found in Appendix C. ",
|
| 620 |
+
"bbox": [
|
| 621 |
+
173,
|
| 622 |
+
450,
|
| 623 |
+
825,
|
| 624 |
+
534
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 5
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "Inputs: Task specification $T$ , number of generations $n$ , population size $p$ . \nOutputs: The best robot design $D ^ { * }$ and controller $C ^ { * }$ . \n$S \\emptyset$ // Dataset of robot designs, controllers and reward \n$D _ { 1 } , . . . , D _ { p } \\gets \\mathrm { S A M P L E D E S I G N S } ( p )$ // Sample an initial population of robot designs \nfor $i \\gets 1$ to $n$ do for $j 1$ to $p$ do $C _ { j } \\gets 0 \\mathrm { P T I M I Z E C O N T R O L } ( T , D _ { j } )$ // Optimize the controller of given robot design $r _ { j } \\gets 1$ EVALUATEREWARD $( T , D _ { j } , C _ { j } )$ // Evaluate the reward of given design and controller $\\bar { S } S \\cup \\{ ( D _ { j } , C _ { j } , r _ { j } ) \\}$ // Update the evaluation result to the dataset $D _ { 1 } , . . . , D _ { p } \\gets \\mathrm { O P T I M I Z E D E S I G N S } ( S , p ) .$ // Optimize a population of robot designs to evaluate \nFind the best design $D ^ { * }$ and controller $C ^ { * }$ in dataset $S$ with the maximum reward $r ^ { * }$ . ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
179,
|
| 633 |
+
566,
|
| 634 |
+
823,
|
| 635 |
+
722
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 5
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "4.1 Design optimization ",
|
| 642 |
+
"text_level": 1,
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
739,
|
| 646 |
+
352,
|
| 647 |
+
756
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 5
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "Design optimization aims at evolving robot structures to maximize the reward under two physical constraints: the body has to be connected, and actuators must exist. In this section, we introduce three instantiations of the design optimization algorithm (OPTIMIZEDESIGN in Algorithm 1). ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
766,
|
| 657 |
+
823,
|
| 658 |
+
809
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 5
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Genetic algorithm (GA) GAs [24] are widely used in optimizing black-box functions by relying on biologically inspired operators such as mutation, crossover and selection, as demonstrated in previous works on evolving rigid robots [31, 39]. We implement a simple GA using elitism selection and a simple mutation strategy to evolve the population of robot designs. Specifically, in each generation, our elitism selection works by keeping the top $x \\%$ of the robots from the current population as survivors and discarding the rest, where $x$ decreases gradually from 60 to 0 over generations. Next, we iteratively sample and mutate one of those survivors with $1 \\dot { 0 } \\%$ probability of changing each voxel of the robot to create more offsprings. Note that by mutating a voxel type from/to empty voxel, we are able to change the topology of the robot. The crossover operator is not implemented in our genetic algorithm. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
814,
|
| 668 |
+
825,
|
| 669 |
+
911
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 5
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
92,
|
| 679 |
+
823,
|
| 680 |
+
132
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 6
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "Bayesian optimization (BO) BO [20, 25] is a commonly used global optimization method for black-box functions by learning and utilizing a surrogate model, which is usually employed to optimize expensive-to-evaluate functions, including evolving rigid robots in previous works [29, 21]. Specifically, we choose a batch BO algorithm as described in Kandasamy et al. [18] and implemented in the GPyOpt package [4] that supports categorical input data. We use Gaussian processes as the surrogate model, batch Thompson sampling for extracting the acquisition function, and L-BFGS algorithm to optimize the acquisition function. To ensure a fair comparison with other populationbased evolutionary baseline algorithms, the batch size of this algorithm is set equal to the population size of other algorithms. ",
|
| 687 |
+
"bbox": [
|
| 688 |
+
174,
|
| 689 |
+
138,
|
| 690 |
+
825,
|
| 691 |
+
263
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 6
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "CPPN-NEAT CPPN-NEAT is the predominant method for evolving soft robot design in previous literature [6, 7, 8]. In this method, the robot design is parameterized by a Compositional Pattern Producing Network (CPPN) [33]. The input to a CPPN is the spatial coordinate of a robot voxel and the output is the type of that voxel. Therefore, by querying the CPPN at all the spatial locations of a robot, we can obtain the type for each voxel to construct a robot. At the same time the NeuroEvolution of Augmenting Topologies (NEAT) algorithm [34] is used to evolve the structure of CPPNs by working as a genetic algorithm with specific mutation, crossover, and selection operators defined on network structures. Our implementation of CPPN-NEAT is based on the PyTorch-NEAT library [28] and the neat-python library [22]. ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
173,
|
| 700 |
+
270,
|
| 701 |
+
825,
|
| 702 |
+
395
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 6
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "4.2 Control optimization ",
|
| 709 |
+
"text_level": 1,
|
| 710 |
+
"bbox": [
|
| 711 |
+
174,
|
| 712 |
+
411,
|
| 713 |
+
357,
|
| 714 |
+
426
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 6
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "In this section, we introduce the specific control optimization algorithm (OPTIMIZECONTROL in Algorithm 1) that we use in the robot evolution algorithms. In previous works on evolving soft robots, the controller is either encoded as a fixed periodic sequence of actuation [7] or is parameterized as a CPPN that outputs the frequency and phase offset of the periodic actuation for each voxel [8]. However, the periodic pattern of the control prevents robots from learning complex non-periodic tasks such as walking on uneven or varying terrains. Therefore, we use reinforcement learning (RL) [35] to train the controller, making it possible for the soft robots to perform arbitrarily complex tasks in our benchmark. Specifically, we apply a state-of-the-art RL algorithm named Proximal Policy Optimization (PPO) [30] for control optimization of robots, with code implementation given by [19]. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
174,
|
| 723 |
+
436,
|
| 724 |
+
825,
|
| 725 |
+
561
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 6
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "5 Experiments and results ",
|
| 732 |
+
"text_level": 1,
|
| 733 |
+
"bbox": [
|
| 734 |
+
176,
|
| 735 |
+
582,
|
| 736 |
+
408,
|
| 737 |
+
598
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 6
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "text",
|
| 743 |
+
"text": "In this section we present the evaluation results of baseline robot co-design algorithms on 10 selected benchmark tasks described in Section 3.5. The complete evaluation results on all our benchmark tasks can be found in Appendix E. ",
|
| 744 |
+
"bbox": [
|
| 745 |
+
174,
|
| 746 |
+
613,
|
| 747 |
+
825,
|
| 748 |
+
655
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 6
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "We develop three baseline algorithms for robot evolution by combing the three design optimization methods in Section 4.1 and PPO for control optimization in Section 4.2. Since the control optimization method is the same for all baseline algorithms, we simply use GA, BO, CPPN-NEAT to denote these three baseline algorithms with different design optimization methods. The evaluations of our baseline algorithms are performed on machines with Intel Xeon CPU $\\textcircled { \\omega } 2 . 8 0 \\mathrm { G H z } ^ { \\ast } 8 0$ processors on Google Cloud Platform; GPU is not required. Evaluating one algorithm on a single task usually takes several hours to twenty hours, depending on the number of evaluations, size of population, etc. See Appendix D for more details on hyperparameters of all the experiments. ",
|
| 755 |
+
"bbox": [
|
| 756 |
+
174,
|
| 757 |
+
661,
|
| 758 |
+
825,
|
| 759 |
+
772
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 6
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "text",
|
| 765 |
+
"text": "5.1 Comparisons among baseline algorithms ",
|
| 766 |
+
"text_level": 1,
|
| 767 |
+
"bbox": [
|
| 768 |
+
174,
|
| 769 |
+
787,
|
| 770 |
+
496,
|
| 771 |
+
803
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 6
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "We plot the reward curves of the three baseline algorithms on 10 selected benchmark tasks in Figure 3. There is no single optimal algorithm that performs the best on all tasks, but overall, GA outperforms the other two baseline algorithms. This is surprising because our genetic algorithm is implemented with simple and intuitive operators for mutation and selection without sophisticated mechanisms. Therefore, we believe that with more carefully designed operators, GA has the potential to evolve much more intelligent robots. CPPN-NEAT generally performs well on locomotion tasks, as tested by previous works, but performs poorly on more complex manipulation tasks. This is possibly because ",
|
| 778 |
+
"bbox": [
|
| 779 |
+
174,
|
| 780 |
+
814,
|
| 781 |
+
825,
|
| 782 |
+
911
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 6
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "NEAT favors CPPNs with simpler structures, which encourages CPPNs to generate robots with more regular patterns. However, to succeed in complex manipulation tasks, some agile substructures of the robot must evolve, which might only exist in robots with irregular patterns. Finally, it is not surprising that BO performs poorly on most of the tasks because the high-dimensional categorical input parameter space and the noisy evaluation done by RL together pose a challenge to fitting an accurate surrogate model in BO. ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
173,
|
| 791 |
+
90,
|
| 792 |
+
825,
|
| 793 |
+
174
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 7
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "image",
|
| 799 |
+
"img_path": "images/28e51489c7a7245067ab9847f4db9c6e44c41dc3361b5bced78ec9e49378767c.jpg",
|
| 800 |
+
"image_caption": [
|
| 801 |
+
"Figure 3: Performance comparison among baseline algorithms. We plot the best performance of robots that each algorithm has evolved w.r.t. the number of evaluations on each task. All the curves are averaged over 6 different random seeds, and the variance is shown as a shaded region. "
|
| 802 |
+
],
|
| 803 |
+
"image_footnote": [],
|
| 804 |
+
"bbox": [
|
| 805 |
+
179,
|
| 806 |
+
193,
|
| 807 |
+
813,
|
| 808 |
+
479
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 7
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "image",
|
| 814 |
+
"img_path": "images/d519dc86079772f8349aceead1bdea35217b757992471ed111590a2dd19d2cf5.jpg",
|
| 815 |
+
"image_caption": [
|
| 816 |
+
"Figure 4: Evolution of robot designs. For each of the three selected tasks, we visualize the population in three different generations. Each column corresponds to one generation for which we show the four top performing robots along with their average reward. "
|
| 817 |
+
],
|
| 818 |
+
"image_footnote": [],
|
| 819 |
+
"bbox": [
|
| 820 |
+
187,
|
| 821 |
+
553,
|
| 822 |
+
808,
|
| 823 |
+
747
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 7
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "5.2 Evolution analysis ",
|
| 830 |
+
"text_level": 1,
|
| 831 |
+
"bbox": [
|
| 832 |
+
174,
|
| 833 |
+
809,
|
| 834 |
+
339,
|
| 835 |
+
824
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 7
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "In Figure 4 we visualize the top four robots in three different generations on training the genetic algorithm for the Carrier, Lifter, and Bridge Walker task. We also show the average reward these designs achieve. ",
|
| 842 |
+
"bbox": [
|
| 843 |
+
174,
|
| 844 |
+
835,
|
| 845 |
+
825,
|
| 846 |
+
876
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 7
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "In the carrier task, the robot must catch an object that falls from above and then carry that object as far as possible. Therefore, a successful design for this task achieves two main goals 1) allowing the robot to catch and hold the object securely 2) allowing the robot to move fast. We observe that robots with a block-holding mechanism and with legs are selected for in the top survivors of generation 1 (randomly initialized). As evolution progresses, these structures become increasingly optimized. Specifically, in later generations, the robots’ structures allow them to walk faster while still preventing the block from falling. ",
|
| 853 |
+
"bbox": [
|
| 854 |
+
174,
|
| 855 |
+
883,
|
| 856 |
+
821,
|
| 857 |
+
911
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 7
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "image",
|
| 863 |
+
"img_path": "images/8ffffcf3f893ce0f4598ad550be5790e071afbff144f94f4526036d0285a0e16.jpg",
|
| 864 |
+
"image_caption": [
|
| 865 |
+
"Figure 5: Comparison between algorithm-optimized robots and hand designed robots on three tasks. In each task, we visualize one robot optimized by the algorithm and several hand-designed robots. "
|
| 866 |
+
],
|
| 867 |
+
"image_footnote": [],
|
| 868 |
+
"bbox": [
|
| 869 |
+
174,
|
| 870 |
+
66,
|
| 871 |
+
825,
|
| 872 |
+
323
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 8
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "",
|
| 879 |
+
"bbox": [
|
| 880 |
+
174,
|
| 881 |
+
404,
|
| 882 |
+
825,
|
| 883 |
+
473
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 8
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "A similar comparison pattern can be seen in the Lifter task, where the algorithm learns a parallel gripper-like shape underneath the robot in order to manipulate an object. Unlike in the carrier task, the design structures that the algorithm generates are not prominently found in the initial generation. Finally, these patterns are echoed in the Bridge Walker task. Here the robot learns to evolve a large front foot to maximize its surface area and friction force to best walk across the soft rope bridge. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
174,
|
| 892 |
+
479,
|
| 893 |
+
825,
|
| 894 |
+
549
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 8
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "5.3 Comparison against hand-designed robots ",
|
| 901 |
+
"text_level": 1,
|
| 902 |
+
"bbox": [
|
| 903 |
+
174,
|
| 904 |
+
573,
|
| 905 |
+
506,
|
| 906 |
+
587
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 8
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "We compare the performances of robots optimized by algorithm and the hand designed robots on several tasks to show the necessity of a co-design algorithm (Figure 5). The structure of the hand designed robots are bio-inspired and manually constructed according to our best intuition, and their control are optimized by PPO. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
174,
|
| 915 |
+
601,
|
| 916 |
+
825,
|
| 917 |
+
656
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 8
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "For every task, the hand designed robots are outperformed by at least one algorithm (usually more). For instance, for the Climber task we tested numerous natural robot designs. However, none of them successfully climbed very far. The issue with our designs is that we could not find the right trade off between getting traction on the wall, and accelerating upwards. The genetic algorithm, however, is able to find this balance. It develops leg-like structures that help the robot make forward progress, as well as a long flat back that maximizes contact/frictional forces with the wall. Additionally, the genetic algorithm selects for having a hole in the center of its body, which helps it achieve a certain optimized walking motion. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
174,
|
| 926 |
+
662,
|
| 927 |
+
825,
|
| 928 |
+
773
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 8
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "For other tasks, the performance between the hand designed robots and the robots produced by the algorithms is quite comparable. This is the case with the Carrier robots, as a very natural hand-designed Carrier robot performs almost as well as the best optimized robots produced by the design-optimization algorithms. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
174,
|
| 937 |
+
780,
|
| 938 |
+
825,
|
| 939 |
+
835
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 8
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "In the final case, there are tasks where neither a hand designed nor robot produced by the algorithm could achieve satisfying performance. One such environment is the Beam Slider environment. For this task, many of the hand design robots fail to even achieve the first part of the goal and position themselves underneath the beam. While there is one robot produced by the genetic algorithm that does slide the beam across several pegs, from visual observation we believe it comes nowhere close to exhibiting the optimal behavior in this environment. This suggests that further work is needed in designing co-optimization algorithms that can complete these hard tasks. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
174,
|
| 948 |
+
842,
|
| 949 |
+
823,
|
| 950 |
+
911
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 8
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "",
|
| 957 |
+
"bbox": [
|
| 958 |
+
171,
|
| 959 |
+
92,
|
| 960 |
+
823,
|
| 961 |
+
119
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 9
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "6 Conclusion and future work ",
|
| 968 |
+
"text_level": 1,
|
| 969 |
+
"bbox": [
|
| 970 |
+
176,
|
| 971 |
+
140,
|
| 972 |
+
439,
|
| 973 |
+
157
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 9
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "In this paper we proposed Evolution Gym, the first large-scale benchmark for evolving the structure and control of soft robots. Through the wide spectrum of tasks in Evolution Gym, we systematically studied the performance of current state-of-the-art co-design algorithms. As a result, we observed how intelligent robots could be evolved autonomously from scratch yet still be capable of accomplishing some surprisingly complex tasks. We also discovered the limitations of existing techniques for evolving more intelligent embodied systems. ",
|
| 980 |
+
"bbox": [
|
| 981 |
+
174,
|
| 982 |
+
171,
|
| 983 |
+
825,
|
| 984 |
+
255
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 9
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "text",
|
| 990 |
+
"text": "There are several potential directions to be explored in the future. First, with the help of our proposed benchmark, it is desirable to develop more advanced co-design algorithms to solve the difficult tasks which existing methods cannot address. Our currently implemented baseline algorithms share a bi-level optimization routine where the design optimization is in the outer loop while the control optimization is in the inner loop. However, Evolution Gym is agnostic to the specific training procedure used. As a result, some ideas for future work using our framework could include concurrently co-optimizing the design and control, neuroevolution algorithms, morphogenetic development, gradient-based methods for design optimization, or algorithms with decentralized controllers. ",
|
| 991 |
+
"bbox": [
|
| 992 |
+
174,
|
| 993 |
+
262,
|
| 994 |
+
825,
|
| 995 |
+
372
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 9
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "text",
|
| 1001 |
+
"text": "Second, a robot will be considered more successful if it can perform multiple tasks. Our benchmark suite naturally provides a comprehensive set of tasks and can potentially promote more exciting research work about multi-task or multi-objective robot co-design algorithms. ",
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
176,
|
| 1004 |
+
378,
|
| 1005 |
+
820,
|
| 1006 |
+
421
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 9
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "text",
|
| 1012 |
+
"text": "Another consideration is the specific morphological encodings used by the codesign algorithms as more intelligent encodings could lead to better performance. For instance, [38] analyzes the strengths and weaknesses of different morphological encodings. Our baseline algorithms use a direct encoding and CPPN but exploring other encoding representations remains interesting future work. ",
|
| 1013 |
+
"bbox": [
|
| 1014 |
+
174,
|
| 1015 |
+
426,
|
| 1016 |
+
825,
|
| 1017 |
+
483
|
| 1018 |
+
],
|
| 1019 |
+
"page_idx": 9
|
| 1020 |
+
},
|
| 1021 |
+
{
|
| 1022 |
+
"type": "text",
|
| 1023 |
+
"text": "Finally, since tasks in Evolution Gym are currently limited to either locomotion or manipulation, we plan to further extend Evolution Gym to additional task categories such as flying or swimming by incorporating new simulation capabilities. ",
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
176,
|
| 1026 |
+
489,
|
| 1027 |
+
821,
|
| 1028 |
+
530
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 9
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "text",
|
| 1034 |
+
"text": "Overall, we believe our carefully-designed benchmarking tool fills an important missing piece in research in soft robotics and robotic evolution algorithms. Armed with the flexible and expressive framework Evolution Gym provides, we are optimistic that future researchers will use Evolution Gym as a standard test bed to improve co-design methods and evolve more intelligent robots. ",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
174,
|
| 1037 |
+
537,
|
| 1038 |
+
825,
|
| 1039 |
+
593
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 9
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "Societal Impact ",
|
| 1046 |
+
"text_level": 1,
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
174,
|
| 1049 |
+
613,
|
| 1050 |
+
305,
|
| 1051 |
+
631
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 9
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "We regard this work as a very preliminary piece of research in the field of soft robot co-design, and therefore think that we are still far away from causing harm to society. However, we can definitely foresee some problems if this technology were to be applied in the real world on a large scale. For instance, this work may inspire the automatic design of real biological creatures in which serious ethical issues exist. Additionally, since the users have full control over the reward design when customizing the benchmark environments, they could specify pernicious goals and encourage the co-design algorithm to produce more biased results. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
174,
|
| 1060 |
+
645,
|
| 1061 |
+
825,
|
| 1062 |
+
742
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 9
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "Acknowledgments and Disclosure of Funding ",
|
| 1069 |
+
"text_level": 1,
|
| 1070 |
+
"bbox": [
|
| 1071 |
+
174,
|
| 1072 |
+
762,
|
| 1073 |
+
553,
|
| 1074 |
+
781
|
| 1075 |
+
],
|
| 1076 |
+
"page_idx": 9
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "text",
|
| 1080 |
+
"text": "We thank Tao Du and the anonymous reviewers for their helpful comments in revising the paper. This work is supported by the Defense Advanced Research Projects Agency (FA8750-20-C-0075). ",
|
| 1081 |
+
"bbox": [
|
| 1082 |
+
174,
|
| 1083 |
+
795,
|
| 1084 |
+
825,
|
| 1085 |
+
824
|
| 1086 |
+
],
|
| 1087 |
+
"page_idx": 9
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"type": "text",
|
| 1091 |
+
"text": "References ",
|
| 1092 |
+
"text_level": 1,
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
176,
|
| 1095 |
+
844,
|
| 1096 |
+
266,
|
| 1097 |
+
861
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 9
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "[1] Ilge Akkaya, Marcin Andrychowicz, Maciek Chociej, Mateusz Litwin, Bob McGrew, Arthur Petron, Alex Paino, Matthias Plappert, Glenn Powell, Raphael Ribas, et al. Solving rubik’s cube with a robot hand. arXiv preprint arXiv:1910.07113, 2019. ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
183,
|
| 1106 |
+
869,
|
| 1107 |
+
825,
|
| 1108 |
+
911
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 9
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "[2] OpenAI: Marcin Andrychowicz, Bowen Baker, Maciek Chociej, Rafal Jozefowicz, Bob McGrew, Jakub Pachocki, Arthur Petron, Matthias Plappert, Glenn Powell, Alex Ray, et al. Learning dexterous in-hand manipulation. The International Journal of Robotics Research, 39(1):3–20, 2020. \n[3] Jacob Austin, Rafael Corrales-Fatou, Sofia Wyetzner, and Hod Lipson. Titan: A parallel asynchronous library for multi-agent and soft-body robotics using nvidia cuda. In 2020 IEEE International Conference on Robotics and Automation (ICRA), pages 7754–7760, 2020. \n[4] The GPyOpt authors. GPyOpt: A bayesian optimization framework in python. http:// github.com/SheffieldML/GPyOpt, 2016. \n[5] Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016. \n[6] Nicholas Cheney, Jeff Clune, and Hod Lipson. Evolved electrophysiological soft robots. In Artificial Life Conference Proceedings 14, pages 222–229. MIT Press, 2014. \n[7] Nick Cheney, Robert MacCurdy, Jeff Clune, and Hod Lipson. Unshackling evolution: Evolving soft robots with multiple materials and a powerful generative encoding. SIGEVOlution, 7(1):11–23, August 2014. \n[8] Francesco Corucci, Nick Cheney, Francesco Giorgio-Serchi, Josh Bongard, and Cecilia Laschi. Evolving soft locomotion in aquatic and terrestrial environments: effects of material properties and environmental transitions, 2017. \n[9] Francesco Corucci, Nick Cheney, Francesco Giorgio-Serchi, Josh Bongard, and Cecilia Laschi. Evolving soft locomotion in aquatic and terrestrial environments: effects of material properties and environmental transitions. Soft robotics, 5(4):475–495, 2018. \n[10] Francesco Corucci, Nick Cheney, Hod Lipson, Cecilia Laschi, and Josh Bongard. Evolving swimming soft-bodied creatures. In ALIFE XV, The Fifteenth International Conference on the Synthesis and Simulation of Living Systems, Late Breaking Proceedings, volume 6, 2016. \n[11] Yan Duan, Xi Chen, Rein Houthooft, John Schulman, and Pieter Abbeel. Benchmarking deep reinforcement learning for continuous control. In International conference on machine learning, pages 1329–1338. PMLR, 2016. \n[12] Christer Ericson. Real-time collision detection. CRC Press, 2004. \n[13] David Ha. Reinforcement learning for improving agent design. Artificial life, 25(4):352–365, 2019. \n[14] Donald J Hejna III, Pieter Abbeel, and Lerrel Pinto. Task-agnostic morphology evolution. arXiv preprint arXiv:2102.13100, 2021. \n[15] Jonathan Hiller and Hod Lipson. Dynamic simulation of soft multimaterial 3d-printed objects. Soft robotics, 1(1):88–101, 2014. \n[16] Zhiao Huang, Yuanming Hu, Tao Du, Siyuan Zhou, Hao Su, Joshua B. Tenenbaum, and Chuang Gan. Plasticinelab: A soft-body manipulation benchmark with differentiable physics, 2021. \n[17] Jemin Hwangbo, Joonho Lee, Alexey Dosovitskiy, Dario Bellicoso, Vassilios Tsounis, Vladlen Koltun, and Marco Hutter. Learning agile and dynamic motor skills for legged robots. Science Robotics, 4(26), 2019. \n[18] Kirthevasan Kandasamy, Akshay Krishnamurthy, Jeff Schneider, and Barnabás Póczos. Parallelised bayesian optimisation via thompson sampling. In International Conference on Artificial Intelligence and Statistics, pages 133–142. PMLR, 2018. \n[19] Ilya Kostrikov. Pytorch implementations of reinforcement learning algorithms. https:// github.com/ikostrikov/pytorch-a2c-ppo-acktr-gail, 2018. \n[20] Harold J Kushner. A new method of locating the maximum point of an arbitrary multipeak curve in the presence of noise. 1964. \n[21] Thomas Liao, Grant Wang, Brian Yang, Rene Lee, Kristofer Pister, Sergey Levine, and Roberto Calandra. Data-efficient learning of morphology and controller for a microrobot. In 2019 International Conference on Robotics and Automation (ICRA), pages 2488–2494. IEEE, 2019. \n[22] Alan McIntyre, Matt Kallada, Cesar G. Miguel, and Carolina Feher da Silva. neat-python. https://github.com/CodeReclaimers/neat-python. \n[23] Eric Medvet, Alberto Bartoli, Andrea De Lorenzo, and Stefano Seriani. 2d-vsr-sim: A simulation tool for the optimization of 2-d voxel-based soft robots. SoftwareX, 12:100573, 2020. \n[24] Zbigniew Michalewicz. Genetic algorithms $^ +$ data structures $=$ evolution programs. Springer Science & Business Media, 2013. \n[25] J. Mockus. On bayesian methods for seeking the extremum. In G. I. Marchuk, editor, ˇ Optimization Techniques IFIP Technical Conference Novosibirsk, July 1–7, 1974, pages 400–404, Berlin, Heidelberg, 1975. Springer Berlin Heidelberg. \n[26] Andrew Nealen, Matthias Müller, Richard Keiser, Eddy Boxerman, and Mark Carlson. Physically based deformable models in computer graphics. In Computer graphics forum, volume 25, pages 809–836. Wiley Online Library, 2006. \n[27] Deepak Pathak, Chris Lu, Trevor Darrell, Phillip Isola, and Alexei A Efros. Learning to control self-assembling morphologies: a study of generalization via modularity. arXiv preprint arXiv:1902.05546, 2019. \n[28] Uber Research. pytorch-neat. https://github.com/uber-research/PyTorch-NEAT. \n[29] Charles Schaff, David Yunis, Ayan Chakrabarti, and Matthew R Walter. Jointly learning to construct and control agents using deep reinforcement learning. In 2019 International Conference on Robotics and Automation (ICRA), pages 9798–9805. IEEE, 2019. \n[30] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms, 2017. \n[31] Karl Sims. Evolving virtual creatures. In Proceedings of the 21st annual conference on Computer graphics and interactive techniques, pages 15–22, 1994. \n[32] Andrew Spielberg, Allan Zhao, Yuanming Hu, Tao Du, Wojciech Matusik, and Daniela Rus. Learning-in-the-loop optimization: End-to-end control and co-design of soft robots through learned deep latent representations. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché- Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. \n[33] Kenneth O Stanley. Compositional pattern producing networks: A novel abstraction of development. Genetic programming and evolvable machines, 8(2):131–162, 2007. \n[34] Kenneth O Stanley and Risto Miikkulainen. Evolving neural networks through augmenting topologies. Evolutionary computation, 10(2):99–127, 2002. \n[35] Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018. \n[36] Yuval Tassa, Yotam Doron, Alistair Muldal, Tom Erez, Yazhe Li, Diego de Las Casas, David Budden, Abbas Abdolmaleki, Josh Merel, Andrew Lefrancq, Timothy Lillicrap, and Martin Riedmiller. Deepmind control suite, 2018. \n[37] Merel Van Diepen and Kristina Shea. A spatial grammar method for the computational design synthesis of virtual soft locomotion robots. Journal of Mechanical Design, 141(10), 2019. \n[38] Frank Veenstra and Kyrre Glette. How different encodings affect performance and diversification when evolving the morphology and control of 2d virtual creatures. In Artificial Life Conference Proceedings, pages 592–601. MIT Press, 2020. \n[39] Tingwu Wang, Yuhao Zhou, Sanja Fidler, and Jimmy Ba. Neural graph evolution: Towards efficient automatic robot design, 2019. \n[40] Fei Xia, Amir R Zamir, Zhiyang He, Alexander Sax, Jitendra Malik, and Silvio Savarese. Gibson env: Real-world perception for embodied agents. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 9068–9079, 2018. \n[41] Allan Zhao, Jie Xu, Mina Konakovic-Lukovi ´ c, Josephine Hughes, Andrew Spielberg, Daniela ´ Rus, and Wojciech Matusik. Robogrammar: Graph grammar for terrain-optimized robot design. ACM Trans. Graph., 39(6), November 2020. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
171,
|
| 1117 |
+
58,
|
| 1118 |
+
828,
|
| 1119 |
+
919
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 10
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
173,
|
| 1128 |
+
37,
|
| 1129 |
+
828,
|
| 1130 |
+
917
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 11
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
173,
|
| 1139 |
+
90,
|
| 1140 |
+
826,
|
| 1141 |
+
184
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 12
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Checklist ",
|
| 1148 |
+
"text_level": 1,
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
174,
|
| 1151 |
+
89,
|
| 1152 |
+
254,
|
| 1153 |
+
106
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 13
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "1. For all authors... ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
214,
|
| 1162 |
+
116,
|
| 1163 |
+
339,
|
| 1164 |
+
130
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 13
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] See Section 6. \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 6. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
238,
|
| 1173 |
+
135,
|
| 1174 |
+
825,
|
| 1175 |
+
239
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 13
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "2. If you are including theoretical results... ",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
214,
|
| 1184 |
+
243,
|
| 1185 |
+
493,
|
| 1186 |
+
258
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 13
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
238,
|
| 1195 |
+
262,
|
| 1196 |
+
738,
|
| 1197 |
+
294
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 13
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "3. If you ran experiments... ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
212,
|
| 1206 |
+
299,
|
| 1207 |
+
393,
|
| 1208 |
+
313
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 13
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] The URL is presented in the abstract. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Appendix D. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] We ran experiments with multiple random seeds and reported error bars. See Section 5. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Section 5. ",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
238,
|
| 1217 |
+
316,
|
| 1218 |
+
825,
|
| 1219 |
+
463
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 13
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
218,
|
| 1228 |
+
467,
|
| 1229 |
+
823,
|
| 1230 |
+
482
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 13
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] The existing code implementation for our baseline algorithms are cited in Section 4. \n(b) Did you mention the license of the assets? [Yes] This benchmark platform will be released under the MIT license. See Section 1. \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] The URL is presented in the abstract. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
238,
|
| 1239 |
+
486,
|
| 1240 |
+
825,
|
| 1241 |
+
635
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 13
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
214,
|
| 1250 |
+
638,
|
| 1251 |
+
705,
|
| 1252 |
+
654
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 13
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
238,
|
| 1261 |
+
657,
|
| 1262 |
+
825,
|
| 1263 |
+
747
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 13
|
| 1266 |
+
}
|
| 1267 |
+
]
|
parse/train/eoTy4ihL0W/eoTy4ihL0W_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/eoTy4ihL0W/eoTy4ihL0W_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rJgUfTEYvH/rJgUfTEYvH.md
ADDED
|
@@ -0,0 +1,374 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# VIDEOFLOW: A CONDITIONAL FLOW-BASED MODEL FOR STOCHASTIC VIDEO GENERATION
|
| 2 |
+
|
| 3 |
+
Manoj Kumar∗, Mohammad Babaeizadeh, Dumitru Erhan, Chelsea Finn, Sergey Levine, Laurent Dinh, Durk Kingma
|
| 4 |
+
|
| 5 |
+
Google Research, Brain Team {mechcoder,mbz,dumitru,chelseaf,slevine,laurentdinh,durk}@google.com
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
Generative models that can model and predict sequences of future events can, in principle, learn to capture complex real-world phenomena, such as physical interactions. However, a central challenge in video prediction is that the future is highly uncertain: a sequence of past observations of events can imply many possible futures. Although a number of recent works have studied probabilistic models that can represent uncertain futures, such models are either extremely expensive computationally as in the case of pixel-level autoregressive models, or do not directly optimize the likelihood of the data. To our knowledge, our work is the first to propose multi-frame video prediction with normalizing flows, which allows for direct optimization of the data likelihood, and produces high-quality stochastic predictions. We describe an approach for modeling the latent space dynamics, and demonstrate that flow-based generative models offer a viable and competitive approach to generative modeling of video.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Exponential progress in the capabilities of computational hardware, paired with a relentless effort towards greater insights and better methods, has pushed the field of machine learning from relative obscurity into the mainstream. Progress in the field has translated to improvements in various capabilities, such as classification of images (Krizhevsky et al., 2012), machine translation (Vaswani et al., 2017) and super-human game-playing agents (Mnih et al., 2013; Silver et al., 2017), among others. However, the application of machine learning technology has been largely constrained to situations where large amounts of supervision is available, such as in image classification or machine translation, or where highly accurate simulations of the environment are available to the learning agent, such as in game-playing agents. An appealing alternative to supervised learning is to utilize large unlabeled datasets, combined with predictive generative models. In order for a complex generative model to be able to effectively predict future events, it must build up an internal representation of the world. For example, a predictive generative model that can predict future frames in a video would need to model complex real-world phenomena, such as physical interactions. This provides an appealing mechanism for building models that have a rich understanding of the physical world, without any labeled examples. Videos of real-world interactions are plentiful and readily available, and a large generative model can be trained on large unlabeled datasets containing many video sequences, thereby learning about a wide range of real-world phenoma. Such a model could be useful for learning representations for further downstream tasks (Mathieu et al., 2016), or could even be used directly in applications where predicting the future enables effective decision making and control, such as robotics (Finn et al., 2016). A central challenge in video prediction is that the future is highly uncertain: a short sequence of observations of the present can imply many possible futures. Although a number of recent works have studied probabilistic models that can represent uncertain futures, such models are either extremely expensive computationally (as in the case of pixel-level autoregressive models), or do not directly optimize the likelihood of the data.
|
| 14 |
+
|
| 15 |
+
In this paper, we study the problem of stochastic prediction, focusing specifically on the case of conditional video prediction: synthesizing raw RGB video frames conditioned on a short context of past observations (Ranzato et al., 2014; Srivastava et al., 2015; Vondrick et al., 2015; Xingjian et al., 2015; Boots et al., 2014). Specifically, we propose a new class of video prediction models that can provide exact likelihoods, generate diverse stochastic futures, and accurately synthesize realistic and high-quality video frames. The main idea behind our approach is to extend flow-based generative models (Dinh et al., 2014; 2016) into the setting of conditional video prediction. To our knowledge, flow-based models have been applied only to generation of non-temporal data, such as images (Kingma & Dhariwal, 2018), and to audio sequences (Prenger et al., 2018). Conditional generation of videos presents its own unique challenges: the high dimensionality of video sequences makes them difficult to model as individual datapoints. Instead, we learn a latent dynamical system model that predicts future values of the flow model’s latent state. This induces Markovian dynamics on the latent state of the system, replacing the standard unconditional prior distribution. We further describe a practically applicable architecture for flow-based video prediction models, inspired by the Glow model for image generation (Kingma & Dhariwal, 2018), which we call VideoFlow.
|
| 16 |
+
|
| 17 |
+
Our empirical results show that VideoFlow achieves results that are competitive with the state-ofthe-art in stochastic video prediction on the action-free BAIR dataset, with quantitative results that rival the best VAE-based models. VideoFlow also produces excellent qualitative results, and avoids many of the common artifacts of models that use pixel-level mean-squared-error for training (e.g., blurry predictions), without the challenges associated with training adversarial models. Compared to models based on pixel-level autoregressive prediction, VideoFlow achieves substantially faster test-time image synthesis 1, making it much more practical for applications that require real-time prediction, such as robotic control (Finn & Levine, 2017). Finally, since VideoFlow directly optimizes the likelihood of training videos, without relying on a variational lower bound, we can evaluate its performance directly in terms of likelihood values.
|
| 18 |
+
|
| 19 |
+
# 2 RELATED WORK
|
| 20 |
+
|
| 21 |
+
Early work on prediction of future video frames focused on deterministic predictive models (Ranzato et al., 2014; Srivastava et al., 2015; Vondrick et al., 2015; Xingjian et al., 2015; Boots et al., 2014). Much of this research on deterministic models focused on architectural changes, such as predicting high-level structure (Villegas et al., 2017b), energy-based models (Xie et al., 2017), generative cooperative nets (Xie et al., 2020), ABPTT (Xie et al., 2019), incorporating pixel transformations (Finn et al., 2016; De Brabandere et al., 2016; Liu et al., 2017) and predictive coding architectures (Lotter et al., 2017), as well as different generation objectives (Mathieu et al., 2016; Vondrick & Torralba, 2017; Walker et al., 2015) and disentangling representations (Villegas et al., 2017a; Denton & Birodkar, 2017). With models that can successfully model many deterministic environments, the next key challenge is to address stochastic environments by building models that can effectively reason over uncertain futures. Real-world videos are always somewhat stochastic, either due to events that are inherently random, or events that are caused by unobserved or partially observable factors, such as off-screen events, humans and animals with unknown intentions, and objects with unknown physical properties. In such cases, since deterministic models can only generate one future, these models either disregard potential futures or produce blurry predictions that are the superposition or averages of possible futures.
|
| 22 |
+
|
| 23 |
+
A variety of methods have sought to overcome this challenge by incorporating stochasticity, via three types of approaches: models based on variational auto-encoders (VAEs) (Kingma & Welling, 2013; Rezende et al., 2014), generative adversarial networks (Goodfellow et al., 2014), and autoregressive models (Hochreiter & Schmidhuber, 1997; Graves, 2013; van den Oord et al., 2016b;c; Van Den Oord et al., 2016).
|
| 24 |
+
|
| 25 |
+
Among these models, techniques based on variational autoencoders which optimize an evidence lower bound on the log-likelihood have been explored most widely (Babaeizadeh et al., 2017; Denton & Fergus, 2018; Lee et al., 2018; Xue et al., 2016; Li et al., 2018). To our knowledge, the only prior class of video prediction models that directly maximize the log-likelihood of the data are autoregressive models (Hochreiter & Schmidhuber, 1997; Graves, 2013; van den Oord et al., 2016b;c; Van Den Oord et al., 2016), that generate the video one pixel at a time (Kalchbrenner et al., 2017). However, synthesis with such models is typically inherently sequential, making synthesis substantially inefficient on modern parallel hardware. Prior work has aimed to speed up training and synthesis with such auto-regressive models (Reed et al., 2017; Ramachandran et al., 2017). However, (Babaeizadeh et al., 2017) show that the predictions from these models are sharp but noisy and that the proposed VAE model produces substantially better predictions, especially for longer horizons. In contrast to autoregressive models, we find that our proposed method exhibits faster sampling, while still directly optimizing the log-likelihood and producing high-quality long-term predictions.
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 1: Left: Multi-scale prior The flow model uses a multi-scale architecture using several levels of stochastic variables. Right: Autoregressive latent-dynamic prior The input at each timestep $\mathbf { x } _ { t }$ is encoded into multiple levels of stochastic variables $( \mathbf { z } _ { t } ^ { ( 1 ) } , \ldots , \mathbf { z } _ { t } ^ { ( L ) } )$ z(L)t ). We model those levels through a sequential process $\begin{array} { r } { \prod _ { t } \prod _ { l } p ( \mathbf { \hat { z } } _ { t } ^ { ( l ) } \mid \mathbf { z } _ { < t } ^ { ( l ) } , \mathbf { z } _ { t } ^ { ( > l ) } ) } \end{array}$ .
|
| 29 |
+
|
| 30 |
+
# 3 PRELIMINARIES: FLOW-BASED GENERATIVE MODELS
|
| 31 |
+
|
| 32 |
+
Flow-based generative models (Dinh et al., 2014; 2016) have a unique set of advantages: exact latentvariable inference, exact log-likelihood evaluation, and parallel sampling. In flow-based generative models (Dinh et al., 2014; 2016), we infer the latent variable $\mathbf { z }$ corresponding to a datapoint $\mathbf { x }$ , by transforming $\mathbf { x }$ through a composition of invertible functions $\mathbf { f } = \mathbf { f } _ { 1 } \circ \mathbf { f } _ { 2 } \circ \cdots \circ \mathbf { f } _ { K }$ . We assume a tractable prior $p _ { \pmb { \theta } } ( \mathbf { z } )$ over latent variable $\mathbf { z }$ , for eg. a Logistic or a Gaussian distribution. By constraining the transformations to be invertible, we can compute the log-likelihood of $\mathbf { x }$ exactly using the change of variables rule. Formally,
|
| 33 |
+
|
| 34 |
+
$$
|
| 35 |
+
\log p _ { \pmb \theta } ( \mathbf x ) = \log p _ { \pmb \theta } ( \mathbf z ) + \sum _ { i = 1 } ^ { K } \log | \operatorname* { d e t } ( d \mathbf h _ { i } / d \mathbf h _ { i - 1 } ) |
|
| 36 |
+
$$
|
| 37 |
+
|
| 38 |
+
where $\mathbf { h } _ { 0 } = \mathbf { x }$ , $\mathbf { h } _ { i } = \mathbf { f } _ { i } ( \mathbf { h } _ { i - 1 } )$ , $\mathbf { h } _ { K } = \mathbf { z }$ and $| \operatorname* { d e t } ( d \mathbf { h } _ { i } / d \mathbf { h } _ { i - 1 } |$ is the Jacobian determinant when $\mathbf { h } _ { i - 1 }$ is transformed to $\mathbf { h } _ { i }$ by $\mathbf { f } _ { i }$ . We learn the parameters of $\mathbf { f } _ { 1 } \ldots . \mathbf { f } _ { K }$ by maximizing the log-likelihood, i.e Equation (1), over a training set. Given $\mathbf { g } = \mathbf { f } ^ { - 1 }$ , we can now generate a sample $\hat { \bf x }$ from the data distribution, by sampling $\mathbf { z } \sim p _ { \pmb { \theta } } ( \mathbf { z } )$ and computing $\hat { \mathbf { x } } = \mathbf { g } ( \mathbf { z } )$ .
|
| 39 |
+
|
| 40 |
+
# 4 PROPOSED ARCHITECTURE
|
| 41 |
+
|
| 42 |
+
We propose a generative flow for video, using the standard multi-scale flow architecture in (Dinh et al., 2016; Kingma & Dhariwal, 2018) as a building block. In our model, we break up the latent space $\mathbf { z }$ into separate latent variables per timestep: $\mathbf { z } = \{ \mathbf { z } _ { t } \} _ { t = 1 } ^ { T }$ . The latent variable $\mathbf { z } _ { t }$ at timestep $t$ is an invertible transformation of a corresponding frame of video: $\mathbf { x } _ { t } = \mathbf { g } _ { \theta } ( \mathbf { z } _ { t } )$ . Furthermore, like in (Dinh et al., 2016; Kingma & Dhariwal, 2018), we use a multi-scale architecture for ${ \bf g } _ { \pmb { \theta } } ( { \bf z } _ { t } )$ (Fig. 1): the latent variable $\mathbf { z } _ { t }$ is composed of a stack of multiple levels: where each level $l$ encodes information about frame $\mathbf { x } _ { t }$ at a particular scale: $\mathbf { z } _ { t } = \{ \mathbf { z } _ { t } ^ { ( l ) } \} _ { l = 1 } ^ { \bar { L } }$ , one component $\mathbf { z } _ { t } ^ { ( l ) }$ per level.
|
| 43 |
+
|
| 44 |
+
We first briefly describe the invertible transformations used in the multi-scale architecture to infer $\{ \mathbf { z } _ { t } ^ { ( l ) } \} _ { l = 1 } ^ { L } = \mathbf { f } _ { \pmb { \theta } } ( \mathbf { x } _ { t } )$ and refer to (Dinh et al., 2016; Kingma & Dhariwal, 2018) for more details. For convenience, we omit the subscript $t$ in this subsection. We choose invertible transformations whose Jacobian determinant in Equation 1 is simple to compute, that is a triangular matrix, diagonal matrix or a permutation matrix as explored in prior work (Rezende & Mohamed, 2015; Deco & Brauer, 1995). For permutation matrices, the Jacobian determinant is one and for triangular and diagonal Jacobian matrices, the determinant is simply the product of diagonal terms.
|
| 45 |
+
|
| 46 |
+
• Actnorm: We apply a learnable per-channel scale and shift with data-dependent initialization.
|
| 47 |
+
• Coupling: We split the input $y$ equally across channels to obtain $y _ { 1 }$ and $y _ { 2 }$ . We compute $z _ { 2 } = f ( y _ { 1 } ) * y _ { 2 } + g ( y _ { 1 } )$ where $f$ and $g$ are deep networks. We concat $y _ { 1 }$ and $z _ { 2 }$ across channels.
|
| 48 |
+
• SoftPermute: We apply a 1x1 convolution that preserves the number of channels.
|
| 49 |
+
• Squeeze: We reshape the input from $H \times W \times C$ to $H / 2 \times W / 2 \times 4 C$ which allows the flow to operate on a larger receptive field.
|
| 50 |
+
|
| 51 |
+
We infer the latent variable $z ^ { ( l ) }$ at level $l$ using:
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\begin{array} { r l } & { \operatorname { F l o w } ( y ) = \operatorname { C o u p l i n g } ( \operatorname { S o f t P e r m u t e } ( \operatorname { A c t n o r m } ( y ) ) ) ) \times N } \\ & { \operatorname { F l o w } _ { \mathrm { 1 } } ( y ) = \operatorname { S p l i t } ( \operatorname { F l o w } ( \operatorname { S q u e e z e } ( y ) ) ) } \\ & { ( \mathbf { h } ^ { ( > l ) } , \mathbf { z } ^ { l } ) \operatorname { F l o w } _ { \mathrm { 1 } } ( \mathbf { h } ^ { ( > l - 1 ) } ) } \end{array}
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
where $N$ is the number of steps of flow. In Equation (3), via Split, we split the output of Flow equally across channels into $\mathbf { h } ^ { ( > l ) }$ , the input to $\mathrm { F l o w } _ { ( \mathrm { l + 1 } ) } ( . )$ and $z ^ { ( l ) }$ , the latent variable at level $l$ . We, thus enable the flows at higher levels to operate on a lower number of dimensions and larger scales. When $l = 1$ , $\mathbf { h } ^ { ( > l - 1 ) }$ is just the input frame $x$ and for $l = L$ we omit the Split operation. Finally, our multi-scale architecture $\mathbf { f } _ { \pmb { \theta } } ( \mathbf { x } _ { t } )$ is a composition of the flows at multiple levels from $l = 1 \ldots L$ from which we obtain our latent variables i.e $\{ \mathbf { z } _ { t } ^ { ( l ) } \} _ { l = 1 } ^ { L }$ .
|
| 58 |
+
|
| 59 |
+
# 4.2 AUTOREGRESSIVE LATENT DYNAMICS MODEL
|
| 60 |
+
|
| 61 |
+
We use the multi-scale architecture described above to infer the set of corresponding latent variables for each individual frame of the video: $\{ \mathbf { z } _ { t } ^ { ( l ) } \} _ { l = 1 } ^ { L } = \mathbf { f } _ { \pmb { \theta } } ( \mathbf { x } _ { t } )$ ; see Figure 1 for an illustration. As in Equation (1), we need to choose a form of latent prior $p _ { \pmb { \theta } } ( \mathbf { z } )$ . We use the following autoregressive factorization for the latent prior:
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
p _ { \pmb { \theta } } ( \mathbf { z } ) = \prod _ { t = 1 } ^ { T } p _ { \pmb { \theta } } ( \mathbf { z } _ { t } | \mathbf { z } _ { < t } )
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
where $\mathbf { z } _ { < t }$ denotes the latent variables of frames prior to the $t$ -th timestep: $\left\{ \mathbf { z } _ { 1 } , . . . , \mathbf { z } _ { t - 1 } \right\}$ . We specify the conditional prior $p _ { \pmb { \theta } } ( \mathbf { z } _ { t } | \mathbf { z } _ { < t } )$ as having the following factorization:
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
p _ { \pmb { \theta } } \big ( \mathbf { z } _ { t } \big | \mathbf { z } _ { < t } \big ) = \prod _ { l = 1 } ^ { L } p _ { \pmb { \theta } } \big ( \mathbf { z } _ { t } ^ { ( l ) } \big | \mathbf { z } _ { < t } ^ { ( l ) } , \mathbf { z } _ { t } ^ { ( > l ) } \big )
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
where z(l)<t is the set of latent variables at previous timesteps and at the same level $l$ , while $\mathbf { z } _ { t } ^ { ( > l ) }$ is the set of latent variables at the same timestep and at higher levels. See Figure 1 for a graphical illustration of the dependencies.
|
| 74 |
+
|
| 75 |
+
We let each $p _ { \pmb { \theta } } ( \mathbf { z } _ { t } ^ { ( l ) } | \mathbf { z } _ { < t } ^ { ( l ) } , \mathbf { z } _ { t } ^ { ( > l ) } )$ be a conditionally factorized Gaussian density:
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\begin{array} { r l } & { p _ { \pmb { \theta } } ( \mathbf { z } _ { t } ^ { ( l ) } | \mathbf { z } _ { < t } ^ { ( l ) } , \mathbf { z } _ { t } ^ { ( > l ) } ) = \mathcal { N } ( \mathbf { z } _ { t } ^ { ( l ) } ; \pmb { \mu } , \sigma ) } \\ & { \quad \mathrm { w h e r e } \ ( \pmb { \mu } , \log \sigma ) = N N _ { \pmb { \theta } } ( \mathbf { z } _ { < t } ^ { ( l ) } , \mathbf { z } _ { t } ^ { ( > l ) } ) } \end{array}
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
Table 1: We compare the realism of the generated trajectories using a real-vs-fake 2AFC Amazon Mechanical Turk with SAVP-VAE and SV2P.
|
| 82 |
+
|
| 83 |
+
<table><tr><td>Model</td><td>Fooling rate</td></tr><tr><td>SAVP-VAE</td><td>16.4 %</td></tr><tr><td>VideoFlow</td><td>31.8 %</td></tr><tr><td>SV2P</td><td>17.5 %</td></tr></table>
|
| 84 |
+
|
| 85 |
+

|
| 86 |
+
Figure 2: We condition the VideoFlow model with the frame at $\mathrm { \Delta t } = 1$ and display generated trajectories at $\mathbf { t } = 2$ and $\mathrm { t } = 3$ for three different shapes.
|
| 87 |
+
|
| 88 |
+
where $N N _ { \theta } ( . )$ is a deep 3-D residual network (He et al., 2015) augmented with dilations and gated activation units and modified to predict the mean and log-scale. We describe the architecture and our ablations of the architecture in Section D and E of the appendix.
|
| 89 |
+
|
| 90 |
+
In summary, the log-likelhood objective of Equation (1) has two parts. The invertible multi-scale architecture contributes $\begin{array} { r l } { ~ } & { { } \sum _ { i = 1 } ^ { K } \log | \operatorname* { d e t } ( d \mathbf { h } _ { i } / d \mathbf { h } _ { i - 1 } ) | } \end{array}$ via the sum of the log Jacobian determinants of the invertible transformations mapping the video $\{ { \bf x } _ { t } \} _ { t = 1 } ^ { T }$ to $\{ \mathbf { z } _ { t } \} _ { t = 1 } ^ { T }$ ; the latent dynamics model contributes $\log p \pmb { \theta } ( \mathbf { z } )$ , i.e Equation (5). We jointly learn the parameters of the multi-scale architecture and latent dynamics model by maximizing this objective.
|
| 91 |
+
|
| 92 |
+
Note that in our architecture we have chosen to let the prior $p _ { \pmb { \theta } } ( \mathbf { z } )$ , as described in eq. (5), model temporal dependencies in the data, while constraining the flow $\mathbf { g } _ { \theta }$ to act on separate frames of video. We have experimented with using 3-D convolutional flows, but found this to be computationally overly expensive compared to an autoregressive prior; in terms of both number of operations and number of parameters. Further, due to memory limits, we found it only feasible to perform SGD with a small number of sequential frames per gradient step. In case of 3-D convolutions, this would make the temporal dimension considerably smaller during training than during synthesis; this would change the model’s input distribution between training and synthesis, which often leads to various temporal artifacts. Using 2-D convolutions in our flow $\mathbf { f } _ { \theta }$ with autoregressive priors, allows us to synthesize arbitrarily long sequences without introducing such artifacts.
|
| 93 |
+
|
| 94 |
+
# 5 EXPERIMENTS
|
| 95 |
+
|
| 96 |
+
All our generated videos and qualitative results can be viewed at this website. In the generated videos, a border of blue represents the conditioning frame, while a border of red represents the generated frames.
|
| 97 |
+
|
| 98 |
+
# 5.1 VIDEO MODELLING WITH THE STOCHASTIC MOVEMENT DATASET
|
| 99 |
+
|
| 100 |
+
We use VideoFlow to model the Stochastic Movement Dataset used in (Babaeizadeh et al., 2017). The first frame of every video consists of a shape placed near the center of a 64x64x3 resolution gray background with its type, size and color randomly sampled. The shape then randomly moves in one of eight directions with constant speed. (Babaeizadeh et al., 2017) show that conditioned on the first frame, a deterministic model averages out all eight possible directions in pixel space. Since the shape moves with a uniform speed, we should be able to model the position of the shape at the $( t + 1 ) ^ { t h }$ step using only the position of the shape at the $t ^ { t h }$ step. Using this insight, we extract random temporal patches of 2 frames from each video of 3 frames. We then use VideoFlow to maximize the loglikelihood of the second frame given the first, i.e the model looks back at just one frame. We observe that the bits-per-pixel on the holdout set reduces to a very low 0.04 bits-per-pixel for this model. On generating videos conditioned on the first frame, we observe that the model consistently predicts the future trajectory of the shape to be one of the eight random directions. We compare our model with two state-of-the-art stochastic video generation models SV2P and SAVP-VAE (Babaeizadeh et al., 2017; Lee et al., 2018) using their Tensor2Tensor implementation (Vaswani et al., 2018). We assess the quality of the generated videos using a real vs fake Amazon Mechanical Turk test. In the test, we inform the rater that a "real" trajectory is one in which the shape is consistent in color and congruent throughout the video. We show that VideoFlow outperforms the baselines in terms of fooling rate in Table 1 consistently generating plausible "real" trajectories at a greater rate.
|
| 101 |
+
|
| 102 |
+
Table 2: Left: We report the average bits-per-pixel across 10 target frames with 3 conditioning frames for the BAIR action-free dataset.
|
| 103 |
+
|
| 104 |
+
<table><tr><td>Model</td><td>Bits-per-pixel</td></tr><tr><td>VideoFlow</td><td>1.87</td></tr><tr><td>SAVP-VAE</td><td>≤6.73</td></tr><tr><td>SV2P</td><td>≤6.78</td></tr></table>
|
| 105 |
+
|
| 106 |
+

|
| 107 |
+
Figure 3: We measure realism using a 2AFC test and diversity using mean pairwise cosine distance between generated samples in VGG perceptual space.
|
| 108 |
+
|
| 109 |
+
# 5.2 VIDEO MODELING WITH THE BAIR DATASET
|
| 110 |
+
|
| 111 |
+
We use the action-free version of the BAIR robot pushing dataset (Ebert et al., 2017) that contain videos of a Sawyer robotic arm with resolution 64x64. In the absence of actions, the task of video generation is completely unsupervised with multiple plausible trajectories due to the partial observability of the environment and stochasticity of the robot actions. We train the baseline models, SAVP-VAE, SV2P and SVG-LP to generate 10 target frames, conditioned on 3 input frames. We extract random temporal patches of 4 frames, and train VideoFlow to maximize the log-likelihood of the 4th frame given a context of 3 past frames. We, thus ensure that all models have seen a total of 13 frames during training.
|
| 112 |
+
|
| 113 |
+
Bits-per-pixel: We estimated the variational bound of the bits-per-pixel on the test set, via importance sampling, from the posteriors for the SAVP-VAE and SV2P models. We find that VideoFlow outperforms these models on bits-per-pixel and report these values in Table 2. We attribute the high values of bits-per-pixel of the baselines to their optimization objective. They do not optimize the variational bound on the log-likelihood directly due to the presence of a $\beta \neq 1$ term in their objective and scheduled sampling (Bengio et al., 2015).
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
Figure 4: For a given set of conditioning frames on the BAIR action-free we sample 100 videos from each of the stochastic video generation models. We choose the video closest to the ground-truth on the basis of PSNR, SSIM and VGG perceptual metrics and report the best possible value for each of these metrics. All the models were trained using ten target frames but are tested to generate 27 frames. For all the reported metrics, higher is better.
|
| 117 |
+
|
| 118 |
+
Accuracy of the best sample: The BAIR robot-pushing dataset is highly stochastic and the number of plausible futures are high. Each generated video can be super realistic, can represent a plausible future in theory but can be far from the single ground truth video perceptually. To partially overcome this, we follow the metrics proposed in prior work (Babaeizadeh et al., 2017; Lee et al., 2018; Denton & Fergus, 2018) to evaluate our model. For a given set of conditioning frames in the BAIR action-free test-set, we generate 100 videos from each of the stochastic models. We then compute the closest of these generated videos to the ground truth according to three different metrics, PSNR (Peak Signal to
|
| 119 |
+
|
| 120 |
+
Noise Ratio), SSIM (Structural Similarity) (Wang et al., 2004) and cosine similarity using features obtained from a pretrained VGG network (Dosovitskiy & Brox, 2016; Johnson et al., 2016) and report our findings in Figure 4. This metric helps us understand if the true future lies in the set of all plausible futures according to the video model.
|
| 121 |
+
|
| 122 |
+
In prior work, (Lee et al., 2018; Babaeizadeh et al., 2017; Denton & Fergus, 2018) effectively tune the pixel-level variance as a hyperparameter and sample from a deterministic decoder. They obtain training stabiltiy and improve sample quality by removing pixel-level noise using this procedure. We can remove pixel-level noise in our VideoFlow model resulting in higher quality videos at the cost of diversity by sampling videos at a lower temperature, analogous to the procedure in (Kingma & Dhariwal, 2018). For a network trained with additive coupling layers, we can sample the $t ^ { t h }$ frame $x _ { t }$ from $P ( x _ { t } | x _ { < t } )$ with a temperature $T$ simply by scaling the standard deviation of the latent gaussian distribution $P ( \boldsymbol { z } _ { t } | \boldsymbol { z } _ { < t } )$ by a factor of $T$ . We report results with both a temperature of 1.0 and the optimal temperature tuned on the validation set using VGG similarity metrics in Figure 4. Additionally, we also applied low-temperature sampling to the latent gaussian priors of SV2P and SAVP-VAE and empirically found it to hurt performance. We report these results in Figure 12
|
| 123 |
+
|
| 124 |
+
For SAVP-VAE, we notice that the hyperparameters that perform the best on these metrics are the ones that have disappearing arms. For completeness, we report these numbers as well as the numbers for the best performing SAVP models that do not have disappearing arms. Our model with optimal temperature performs better or as well as the SAVP-VAE and SVG-LP models on the VGG-based similarity metrics, which correlate well with human perception (Zhang et al., 2018) and SSIM. Our model with temperature $T = 1 . 0$ is also competent with state-of-the-art video generation models on these metrics. PSNR is explicitly a pixel-level metric, which the VAE models incorporate as part of its optimization objective. VideoFlow on the other-hand models the conditional probability of the joint distribution of frames, hence as expected it underperforms on PSNR.
|
| 125 |
+
|
| 126 |
+

|
| 127 |
+
Figure 5: We display three different futures for two sets of conditioning frames (left and right) at $T = 0 . 6$ showcasing diversity in outcomes
|
| 128 |
+
|
| 129 |
+
Diversity and quality in generated samples: For each set of conditioning frames in the test set, we generate 10 videos and compute the mean distance in VGG perceptual space across these 45 different pairs. We average this across the test-set for $T = 1 . 0$ and $T = 0 . 6$ and report these numbers in Figure 3. We also assess the quality of the generated videos at $T = 1 . 0$ and $T = 0 . 6$ , using a real vs fake Amazon Mechanical Turk test and report fooling rates. We observe that VideoFlow outperforms diversity values reported in prior work (Lee et al., 2018) while being competitive in the realism axis. We also find that VideoFlow at $T = 0 . 6$ has the highest fooling rate while being competent with state-of-the-art VAE models in diversity.
|
| 130 |
+
|
| 131 |
+
On inspection of the generated videos, we find that at lower temperatures, the arm exhibits less random behaviour with the background objects remaining static and clear achieving higher realism scores. At higher temperatures, the motion of arm is much more stochastic, achieving high diversity scores with the background objects becoming much noisier leading to a drop in realism.
|
| 132 |
+
|
| 133 |
+
Fréchet Video Distance (FVD): We evaluate VideoFlow using the recently proposed Fréchet Video Distance (FVD) metric (Unterthiner et al., 2018), an adaptation of the Fréchet Inception Distance (FID) metric (Heusel et al., 2017) for video generation. (Unterthiner et al., 2018) report results with models trained on a total of 16 frames with 2 conditioning frames; while we train our VideoFlow model on a total of 13 frames with 3 conditioning frames, making our results not directly comparable to theirs. We evaluate FVD for both shorter and longer rollouts in Table 3. We show that, even in the settings that are disadvantageous to VideoFlow, where we compute the FVD on a total of 16 frames, when trained on just 13 frames, VideoFlow performs comparable to SAVP.
|
| 134 |
+
|
| 135 |
+
<table><tr><td colspan="5"># Frames Seen: Training</td></tr><tr><td>Conditioning</td><td>3</td><td>3</td><td>3</td><td>2</td></tr><tr><td>Total</td><td>13</td><td>13</td><td>13</td><td>16</td></tr><tr><td></td><td colspan="3"># Frames: Evaluation</td><td></td></tr><tr><td>Ground truth</td><td>3</td><td>3</td><td>2</td><td></td></tr><tr><td>Total</td><td>13</td><td>16</td><td>16</td><td>26</td></tr><tr><td>Model</td><td colspan="3">FVD</td><td></td></tr><tr><td>VideoFlow (T=0.8)</td><td>95±4</td><td>127±3</td><td>131±5</td><td>-</td></tr><tr><td>VideoFlow (T=1.0)</td><td>149±6</td><td>221±8</td><td>251±7</td><td>1</td></tr><tr><td>SAVP</td><td>-</td><td>-</td><td>-</td><td>116</td></tr><tr><td>SV2P</td><td>=</td><td>-</td><td>-</td><td>263</td></tr></table>
|
| 136 |
+
|
| 137 |
+
# 5.3 LATENT SPACE INTERPOLATION
|
| 138 |
+
|
| 139 |
+
BAIR robot pushing dataset: We encode the first input frame and the last target frame into the latent space using our trained VideoFlow encoder and perform interpolations. We find that the motion of the arm is interpolated in a temporally cohesive fashion between the initial and final position. Further, we use the multi-level latent representation to interpolate representations at a particular level while keeping the representations at other levels fixed. We find that the bottom level interpolates the motion of background objects which are at a smaller scale while the top level interpolates the arm motion.
|
| 140 |
+
|
| 141 |
+

|
| 142 |
+
Table 3: Fréchet Video Distance:. We report the mean and standard deviation across 5 runs for 3 different frame settings. Results are not directly comparable across models due to the differences between the total number of frames seen during training and the number of conditioning frames.
|
| 143 |
+
Figure 6: Left: We display interpolations between a) a small blue rectangle and a large yellow rectangle b) a small blue circle and a large yellow circle. Right: We display interpolations between the first input frame and the last target frame of two test videos in the BAIR robot pushing dataset.
|
| 144 |
+
|
| 145 |
+
Stochastic Movement Dataset: We encode two different shapes with their type fixed but a different size and color into the latent space. We observe that the size of the shape gets smoothly interpolated. During training, we sample the colors of the shapes from a uniform discrete distribution which is reflected in our experiments. We observe that all the colors in the interpolated space lie in the set of colors in the training set.
|
| 146 |
+
|
| 147 |
+
# 5.4 LONGER PREDICTIONS
|
| 148 |
+
|
| 149 |
+
We generate 100 frames into the future using our model trained on 13 frames with a temperature of 0.5 and display our results in Figure 7. On the top, even 100 frames into the future, the generated frames remain in the image manifold maintaining temporal consistency. In the presence of occlusions, the arm remains super-sharp but the background objects become noisier and blurrier. Our VideoFlow model has a bijection between the $\mathbf { z } _ { t }$ and $\mathbf { x } _ { t }$ meaning that the latent state $\mathbf { z } _ { t }$ cannot store information other than that present in the frame $\mathbf { x } _ { t }$ . This, in combination with the Markovian assumption in our latent dynamics means that the model can forget objects if they have been occluded for a few frames. In future work, we would address this by incorporating longer memory in our VideoFlow model; for example by parameterizing $N N _ { \theta } ( )$ as a recurrent neural network in our autoregressive prior (eq. 8) or using more memory-efficient backpropagation algorithms for invertible neural networks (Gomez et al., 2017).
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Figure 7: Left: We generate 100 frames into the future with a temperature of 0.5. The top and bottom row correspond to generated videos in the absence and presence of occlusions respectively. Right: We use VideoFlow to detect the plausibility of a temporally inconsistent frame to occur in the immediate future.
|
| 153 |
+
|
| 154 |
+
# 5.5 OUT-OF-SEQUENCE DETECTION
|
| 155 |
+
|
| 156 |
+
We use our trained VideoFlow model, conditioned on 3 frames as explained in Section 5.2, to detect the plausibility of a temporally inconsistent frame to occur in the immediate future. We condition the model on the first three frames of a test-set video $X _ { < 4 }$ to obtain a distribution $P ( X _ { 4 } | X _ { < 4 } )$ over its 4th frame $X _ { 4 }$ . We then compute the likelihood of the $t ^ { \mathrm { t h } }$ frame $X _ { t }$ of the same video to occur as the 4th time-step using this distribution. i.e, $\mathcal { P } ( X _ { 4 } = X _ { t } \vert X _ { < 4 } )$ for $t = 4 \dots 1 3$ . We average the corresponding bits-per-pixel values across the test set and report our findings in Figure 7. We find that our model assigns a monotonically decreasing log-likelihood to frames that are more far out in the future and hence less likely to occur in the 4th time-step.
|
| 157 |
+
|
| 158 |
+
# 6 OPEN SOURCE CODE AND CHECKPOINTS
|
| 159 |
+
|
| 160 |
+
We open-source the implementation of our code in the Tensor2Tensor codebase. We additionally open-source various components of our trained VideoFlow model, to evaluate log-likelihood, to generate frames and compute latent codes as reusable TFHub modules
|
| 161 |
+
|
| 162 |
+
# 7 CONCLUSION AND DISCUSSION
|
| 163 |
+
|
| 164 |
+
We describe a practically applicable architecture for flow-based video prediction models, inspired by the Glow model for image generation Kingma & Dhariwal (2018), which we call VideoFlow. We introduce a latent dynamical system model that predicts future values of the flow model’s latent state replacing the standard unconditional prior distribution. Our empirical results show that VideoFlow achieves results that are competitive with the state-of-the-art VAE models in stochastic video prediction. Finally, our model optimizes log-likelihood directly making it easy to evaluate while achieving faster synthesis compared to pixel-level autoregressive video models, making our model suitable for practical purposes. In future work, we plan to incorporate memory in VideoFlow to model arbitrary long-range dependencies and apply the model to challenging downstream tasks.
|
| 165 |
+
|
| 166 |
+
# ACKNOWLEDGEMENTS
|
| 167 |
+
|
| 168 |
+
We would like to thank Ryan Sepassi and Lukasz Kaiser for their extensive help in using Tensor2Tensor, Oscar Täckström for finding a bug in our evaluation pipeline that improved results across all models, Ruben Villegas for providing code for the SVG-LP baseline and Mostafa Dehghani for providing feedback on a draft of the rebuttal.
|
| 169 |
+
|
| 170 |
+
# REFERENCES
|
| 171 |
+
|
| 172 |
+
Mohammad Babaeizadeh, Chelsea Finn, Dumitru Erhan, Roy H Campbell, and Sergey Levine. Stochastic variational video prediction. arXiv preprint arXiv:1710.11252, 2017.
|
| 173 |
+
|
| 174 |
+
Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In Advances in Neural Information Processing Systems, pp. 1171–1179, 2015.
|
| 175 |
+
|
| 176 |
+
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.
|
| 177 |
+
|
| 178 |
+
Bert De Brabandere, Xu Jia, Tinne Tuytelaars, and Luc Van Gool. Dynamic filter networks. In Neural Information Processing Systems (NIPS), 2016.
|
| 179 |
+
|
| 180 |
+
Gustavo Deco and Wilfried Brauer. Higher order statistical decorrelation without information loss. Advances in Neural Information Processing Systems, pp. 247–254, 1995.
|
| 181 |
+
|
| 182 |
+
Emily Denton and Vighnesh Birodkar. Unsupervised learning of disentangled representations from video. arXiv preprint arXiv:1705.10915, 2017.
|
| 183 |
+
|
| 184 |
+
Emily Denton and Rob Fergus. Stochastic video generation with a learned prior. arXiv preprint arXiv:1802.07687, 2018.
|
| 185 |
+
|
| 186 |
+
Laurent Dinh, David Krueger, and Yoshua Bengio. Nice: non-linear independent components estimation. arXiv preprint arXiv:1410.8516, 2014.
|
| 187 |
+
|
| 188 |
+
Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using Real NVP. arXiv preprint arXiv:1605.08803, 2016.
|
| 189 |
+
|
| 190 |
+
Alexey Dosovitskiy and Thomas Brox. Generating images with perceptual similarity metrics based on deep networks. In Advances in Neural Information Processing Systems, pp. 658–666, 2016.
|
| 191 |
+
|
| 192 |
+
Frederik Ebert, Chelsea Finn, Alex X Lee, and Sergey Levine. Self-supervised visual planning with temporal skip connections. arXiv preprint arXiv:1710.05268, 2017.
|
| 193 |
+
|
| 194 |
+
Chelsea Finn and Sergey Levine. Deep visual foresight for planning robot motion. In International Conference on Robotics and Automation (ICRA), 2017.
|
| 195 |
+
|
| 196 |
+
Chelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In Advances in Neural Information Processing Systems, 2016.
|
| 197 |
+
|
| 198 |
+
Aidan N Gomez, Mengye Ren, Raquel Urtasun, and Roger B Grosse. The reversible residual network: Backpropagation without storing activations. In Advances in Neural Information Processing Systems, pp. 2211–2221, 2017.
|
| 199 |
+
|
| 200 |
+
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, pp. 2672–2680, 2014.
|
| 201 |
+
|
| 202 |
+
Alex Graves. Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850, 2013.
|
| 203 |
+
|
| 204 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015.
|
| 205 |
+
|
| 206 |
+
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in neural information processing systems, pp. 6626–6637, 2017.
|
| 207 |
+
|
| 208 |
+
Sepp Hochreiter and Jürgen Schmidhuber. Long Short-Term Memory. Neural computation, 9(8): 1735–1780, 1997.
|
| 209 |
+
|
| 210 |
+
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):1325–1339, 2014.
|
| 211 |
+
|
| 212 |
+
Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European Conference on Computer Vision, pp. 694–711. Springer, 2016.
|
| 213 |
+
|
| 214 |
+
Nal Kalchbrenner, Aäron van den Oord, Karen Simonyan, Ivo Danihelka, Oriol Vinyals, Alex Graves, and Koray Kavukcuoglu. Video pixel networks. International Conference on Machine Learning (ICML), 2017.
|
| 215 |
+
|
| 216 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational Bayes. Proceedings of the 2nd International Conference on Learning Representations, 2013.
|
| 217 |
+
|
| 218 |
+
Durk P Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. In Advances in Neural Information Processing Systems, pp. 10236–10245, 2018.
|
| 219 |
+
|
| 220 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoff Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems 25, pp. 1106–1114, 2012.
|
| 221 |
+
|
| 222 |
+
Alex X Lee, Richard Zhang, Frederik Ebert, Pieter Abbeel, Chelsea Finn, and Sergey Levine. Stochastic adversarial video prediction. arXiv preprint arXiv:1804.01523, 2018.
|
| 223 |
+
|
| 224 |
+
Yijun Li, Chen Fang, Jimei Yang, Zhaowen Wang, Xin Lu, and Ming-Hsuan Yang. Flow-grounded spatial-temporal video prediction from still images. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 600–615, 2018.
|
| 225 |
+
|
| 226 |
+
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.
|
| 227 |
+
|
| 228 |
+
William Lotter, Gabriel Kreiman, and David Cox. Deep predictive coding networks for video prediction and unsupervised learning. International Conference on Learning Representations (ICLR), 2017.
|
| 229 |
+
|
| 230 |
+
Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond mean square error. International Conference on Learning Representations (ICLR), 2016.
|
| 231 |
+
|
| 232 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin Riedmiller. Playing Atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602, 2013.
|
| 233 |
+
|
| 234 |
+
Ryan Prenger, Rafael Valle, and Bryan Catanzaro. Waveglow: A flow-based generative network for speech synthesis. CoRR, abs/1811.00002, 2018. URL http://arxiv.org/abs/1811. 00002.
|
| 235 |
+
|
| 236 |
+
Prajit Ramachandran, Tom Le Paine, Pooya Khorrami, Mohammad Babaeizadeh, Shiyu Chang, Yang Zhang, Mark A Hasegawa-Johnson, Roy H Campbell, and Thomas S Huang. Fast generation for convolutional autoregressive models. arXiv preprint arXiv:1704.06001, 2017.
|
| 237 |
+
|
| 238 |
+
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.
|
| 239 |
+
|
| 240 |
+
Scott Reed, Aäron van den Oord, Nal Kalchbrenner, Sergio Gómez Colmenarejo, Ziyu Wang, Dan Belov, and Nando de Freitas. Parallel multiscale autoregressive density estimation. arXiv preprint arXiv:1703.03664, 2017.
|
| 241 |
+
|
| 242 |
+
Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In Proceedings of The 32nd International Conference on Machine Learning, pp. 1530–1538, 2015.
|
| 243 |
+
|
| 244 |
+
Danilo J Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In Proceedings of the 31st International Conference on Machine Learning (ICML-14), pp. 1278–1286, 2014.
|
| 245 |
+
|
| 246 |
+
David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. Nature, 550(7676):354, 2017.
|
| 247 |
+
|
| 248 |
+
Nitish Srivastava, Elman Mansimov, and Ruslan Salakhudinov. Unsupervised learning of video representations using lstms. In International Conference on Machine Learning, 2015.
|
| 249 |
+
|
| 250 |
+
Thomas Unterthiner, Sjoerd van Steenkiste, Karol Kurach, Raphael Marinier, Marcin Michalski, and Sylvain Gelly. Towards accurate generative models of video: A new metric & challenges, 2018.
|
| 251 |
+
|
| 252 |
+
Aaron Van Den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016.
|
| 253 |
+
|
| 254 |
+
Aaron van den Oord, Nal Kalchbrenner, Lasse Espeholt, Oriol Vinyals, Alex Graves, et al. Conditional image generation with PixelCNN decoders. In Advances in Neural Information Processing Systems, pp. 4790–4798, 2016a.
|
| 255 |
+
|
| 256 |
+
Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. arXiv preprint arXiv:1601.06759, 2016b.
|
| 257 |
+
|
| 258 |
+
Aaron van den Oord, Nal Kalchbrenner, Oriol Vinyals, Lasse Espeholt, Alex Graves, and Koray Kavukcuoglu. Conditional image generation with PixelCNN decoders. arXiv preprint arXiv:1606.05328, 2016c.
|
| 259 |
+
|
| 260 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, pp. 5998–6008, 2017.
|
| 261 |
+
|
| 262 |
+
Ashish Vaswani, Samy Bengio, Eugene Brevdo, Francois Chollet, Aidan N Gomez, Stephan Gouws, Llion Jones, Łukasz Kaiser, Nal Kalchbrenner, Niki Parmar, et al. Tensor2tensor for neural machine translation. arXiv preprint arXiv:1803.07416, 2018.
|
| 263 |
+
|
| 264 |
+
Ruben Villegas, Jimei Yang, Seunghoon Hong, Xunyu Lin, and Honglak Lee. Decomposing motion and content for natural video sequence prediction. arXiv preprint arXiv:1706.08033, 2017a.
|
| 265 |
+
|
| 266 |
+
Ruben Villegas, Jimei Yang, Yuliang Zou, Sungryull Sohn, Xunyu Lin, and Honglak Lee. Learning to generate long-term future via hierarchical prediction. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 3560–3569. JMLR. org, 2017b.
|
| 267 |
+
|
| 268 |
+
Carl Vondrick and Antonio Torralba. Generating the future with adversarial transformers. In Computer Vision and Pattern Recognition (CVPR), 2017.
|
| 269 |
+
|
| 270 |
+
Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Anticipating the future by watching unlabeled video. arXiv preprint arXiv:1504.08023, 2015.
|
| 271 |
+
|
| 272 |
+
Jacob Walker, Abhinav Gupta, and Martial Hebert. Dense optical flow prediction from a static image. In International Conference on Computer Vision (ICCV), 2015.
|
| 273 |
+
|
| 274 |
+
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.
|
| 275 |
+
|
| 276 |
+
Jianwen Xie, Song-Chun Zhu, and Ying Nian Wu. Synthesizing dynamic patterns by spatial-temporal generative convnet. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017.
|
| 277 |
+
|
| 278 |
+
Jianwen Xie, Ruiqi Gao, Zilong Zheng, Song-Chun Zhu, and Ying Nian Wu. Learning dynamic generator model by alternating back-propagation through time. Proceedings of the AAAI Conference on Artificial Intelligence, 33:5498–5507, Jul 2019. ISSN 2159-5399. doi: 10.1609/aaai.v33i01. 33015498. URL http://dx.doi.org/10.1609/aaai.v33i01.33015498.
|
| 279 |
+
|
| 280 |
+
Jianwen Xie, Yang Lu, Ruiqi Gao, Song-Chun Zhu, and Ying Nian Wu. Cooperative training of descriptor and generator networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42(1):27–45, Jan 2020. ISSN 1939-3539. doi: 10.1109/tpami.2018.2879081. URL http://dx.doi.org/10.1109/TPAMI.2018.2879081.
|
| 281 |
+
|
| 282 |
+
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.
|
| 283 |
+
|
| 284 |
+
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.
|
| 285 |
+
|
| 286 |
+
Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. arXiv preprint, 2018.
|
| 287 |
+
|
| 288 |
+
# A MOVING MNIST - QUALITATIVE EXPERIMENTS
|
| 289 |
+
|
| 290 |
+

|
| 291 |
+
Figure 8: We display ten frame rollouts conditioned on a single frame on the Moving MNIST dataset.
|
| 292 |
+
|
| 293 |
+
Similar to the Stochastic Movement Dataset as described in Section 5.1, we extract random temporal patches of 2 frames on the Moving MNIST dataset (Srivastava et al., 2015). We train our VideoFlow model to maximize the log-likelihood of the second frame, given the first. Our rollouts over 10 frames capture realistic digit movement.
|
| 294 |
+
|
| 295 |
+
# B HUMAN3.6M - QUALITATIVE EXPERIMENTS
|
| 296 |
+
|
| 297 |
+
We model the Human3.6M dataset (Ionescu et al., 2014), by maximizing the log-likelihood of the 4th frame given the first three frames, in a random temporal patch of 4 frames. We observe that on this dataset, our model fails to capture reasonable human motion. We hope that by increasing model capacity and using more expressive priors, we can acheive better performance on this dataset in the future.
|
| 298 |
+
|
| 299 |
+
# C DISCRETIZATION AND UNIFORM QUANTIZATION
|
| 300 |
+
|
| 301 |
+
Let $\mathcal { D } = \{ \mathbf { x } ^ { ( i ) } \} _ { i = 1 } ^ { N }$ be our dataset of i.i.d. observations of a random variable $\mathbf { x }$ with an unknown true distribution $p ^ { * } ( \mathbf { x } )$ . Our data consist of 8-bit videos, with each dimension rescaled to the domain $[ 0 , 2 5 5 / 2 5 6 ]$ . We add a small amount of uniform noise to the data, $\mathbf { u } \sim \mathcal { U } ( 0 , 1 / 2 5 6 . )$ , matching its discretization level (Dinh et al., 2016; Kingma & Dhariwal, 2018). Let $q ( \mathbf { x } )$ be the resulting empirical distribution corresponding to this scaling and addition of noise. Note that additive noise is required to prevent $q ( \mathbf { x } )$ from having infinite densities at the datapoints, which can result in ill-behaved optimization of the log-likelihood; it also allows us to recast maximization of the log-likelihood as minimization of a KL divergence.
|
| 302 |
+
|
| 303 |
+

|
| 304 |
+
Figure 9: We display ten frame rollouts conditioned on 3 frames on the Human3.6M dataset.
|
| 305 |
+
|
| 306 |
+
# D RESIDUAL NETWORK ARCHITECTURE
|
| 307 |
+
|
| 308 |
+
Here we’ll describe the architecture for the residual network N Nθ() that maps z(l)<t, z(>t to $( \mu _ { t } ^ { ( l ) } , \log \sigma _ { t } ^ { ( l ) } )$ (Left: Figure 10). As shown in the left of Figure 10, let $\mathbf { h } _ { t } ^ { ( > l ) }$ be the tensor representing $\mathbf { z } _ { t } ^ { ( > l ) }$ after the split operation between levels in the multi-scale architecture. We apply a $1 \times 1$ convolution over $\mathbf { h } _ { t } ^ { ( > l ) }$ and concatenate this across channels to each laobtain $( ( W \mathbf { h } _ { t } ^ { ( > l ) } ; \mathbf { z } _ { t - 1 } ^ { ( l ) } ) , ( W \mathbf { h } _ { t } ^ { ( > l ) } ; \mathbf { z } _ { t - 2 } ^ { ( l ) } ) \cdot \cdot \cdot ( W \mathbf { h } _ { t } ^ { ( > l ) } ; \mathbf { z } _ { t - n } ^ { ( l ) } ) )$ l independently. In this way, we. We transform these values into $( \mu _ { t } ^ { ( l ) } , \log \sigma _ { t } ^ { ( l ) } )$ via a stack of residual blocks. We obtain a reduction in parameter count by sharing parameters across every 2 time-steps via 3-D convolutions in our residual blocks.
|
| 309 |
+
|
| 310 |
+
As shown in the right of Figure 10, each 3-D residual block consists of three layers. The first layer has a filter size of $2 \mathrm { x } 3 \mathrm { x } 3 $ with 512 output channels followed by a ReLU activation. The second layer has two $1 \times 1 \times 1$ convolutions via the Gated Activation Unit Van Den Oord et al. (2016); van den Oord et al. (2016a). The third layer has a filter size of $2 \times 3 \times 3$ with the number of output channels determined by the level. This block is replicated three times in parallel, with dilation rates 1, 2 and 4, after which the results of each block, in addition to the input of the residual block, are summed.
|
| 311 |
+
|
| 312 |
+
The first two layers are initialized using a Gaussian distribution and the last layer is initialized to zeroes. In that way, the residual network behaves as an identity network during initialization allowing stable optimization. After applying a sequence of residual blocks, we use the last temporal activation that should capture all context. We apply a final $1 \times 1$ convolution to this activation to obtain $( \Delta \mathbf { z } _ { t } ^ { ( l ) } , \log \sigma _ { t } ^ { ( l ) } )$ . We then add $\Delta \mathbf { z } _ { t } ^ { ( l ) }$ to $\mathbf { z } _ { t - 1 } ^ { ( l ) }$ to a temporal skip connection to output $\mu _ { t } ^ { ( l ) }$ . This way, the network learns to predict the change in latent variables for a given level. We have provided visualizations of the network architecture in this website
|
| 313 |
+
|
| 314 |
+
# E ABLATION STUDIES
|
| 315 |
+
|
| 316 |
+
Through an ablation study, we experimentally evaluate the importance of the following components of our VideoFlow model: (1) the use of temporal skip connections, (2) the use Gated Activation Unit (GATU) instead of ReLUs in the residual network and (3) the use of dilations in $N N _ { \pmb \theta } ( \pmb )$ in Section D
|
| 317 |
+
|
| 318 |
+
We start with a VideoFlow model with 256 channels in the coupling layer, 16 steps of flow and remove the components mentioned above to create our baseline. We use four different combinations of our components (described in Fig. 11) and keep the rest of the hyperparameters fixed across those combinations. For each combination we plot the mean bits-per-pixel on the holdout BAIR-action free dataset over $3 0 0 \mathrm { K }$ training steps for both affine and additive coupling in Figure 11. For both the coupling layers, we observe that the VideoFlow model with all the components provide a significant boost in bits-per-pixel over our baseline.
|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
Figure 10: Left: We predict a gaussian distribution over $\mathbf { z } _ { t } ^ { ( l ) }$ via a 3-D Residual network conditioned on $\mathbf { z } _ { < t } ^ { ( l ) }$ and $\mathbf { z } _ { t } ^ { ( > l ) }$ . Right: Our 3-D residual network architecture is augmented with dilations and gated activation units improving performance.
|
| 322 |
+
|
| 323 |
+

|
| 324 |
+
Figure 11: B: baseline, A: Temporal Skip Connection, C: Dilated Convolutions $^ +$ GATU, D: Dilation Convolutions $^ +$ Temporal Skip Connection, E: Dilation Convolutions $^ +$ Temporal Skip Connection $^ +$ GATU. We plot the holdout bits-per-pixel on the BAIR action-free dataset for different ablations of our VideoFlow model.
|
| 325 |
+
|
| 326 |
+
We also note that other combinations—dilated convolutions $+ \mathrm { G A T U }$ (C) and dilated convolutions $^ +$ the temporal skip connection —improve over the baseline. Finally, we experienced that increasing the receptive field in $N N _ { \pmb \theta } ( \pmb )$ using dilated convolutions alone in the absence of the temporal skip connection or the GATU makes training highly unstable.
|
| 327 |
+
|
| 328 |
+
# F EFFECT OF TEMPERATURE ON SAVP-VAE AND SV2P
|
| 329 |
+
|
| 330 |
+
We repeat our evaluations described in Figure 4 applying low temperature to the latent gaussian priors of SV2P and SAVP-VAE. We empirically find that decreasing temperature from 1.0 to 0.0 monotonically decreases the performance of the VAE models. Our insight is that the VideoFlow model gains by low-temperature sampling due to the following reason. At lower T, we obtain a tradeoff between a performance gain by noise removal from the background and a performance hit due to reduced stochasticity of the robot arm. On the other hand, the VAE models have a clear but slightly blurry background throughout from $T = 1 . 0$ to $T = 0 . 0$ . Reducing T in this case, solely reduces the stochasticity of the arm motion thus hurting performance.
|
| 331 |
+
|
| 332 |
+

|
| 333 |
+
Figure 12: We repeat our evaluations described on the SV2P and SAVP-VAE model in Figure 4 using temperatures from 0.0 to 1.0 while sampling from the latent gaussian prior.
|
| 334 |
+
|
| 335 |
+
# G LIKELIHOOD VS QUALITY
|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
Figure 13: We provide a comparison between training progression (measured in the mean bits-per-pixel objective on the test-set) and the quality of generated videos.
|
| 339 |
+
|
| 340 |
+
We show correlation between training progression (measured in bits per pixel) and quality of the generated videos in Figure 13. We display the videos generated by conditioning on frames from the test set for three different values of bits-per-pixel on the test-set. As we approach lower bits-per-pixel, our VideoFlow model learns to model the structure of the arm with high quality as well as its motion resulting in high quality video.
|
| 341 |
+
|
| 342 |
+
# H VIDEOFLOW - BAIR HYPERPARAMETERS
|
| 343 |
+
|
| 344 |
+
# H.1 QUANTITATIVE - BITS-PER-PIXEL
|
| 345 |
+
|
| 346 |
+
To report bits-per-pixel we use the following set of hyperparameters. We use a learning rate schedule of linear warmup for the first 10000 steps and apply a linear-decay schedule for the last 150000 steps.
|
| 347 |
+
|
| 348 |
+
<table><tr><td rowspan=1 colspan=1>Hyperparameter</td><td rowspan=1 colspan=1>Value</td></tr><tr><td rowspan=1 colspan=1>Flow levels</td><td rowspan=1 colspan=1>3</td></tr><tr><td rowspan=1 colspan=1>Flow steps per level</td><td rowspan=1 colspan=1>24</td></tr><tr><td rowspan=1 colspan=1>Coupling</td><td rowspan=1 colspan=1>Affine</td></tr><tr><td rowspan=1 colspan=1>Number of coupling layer channels</td><td rowspan=1 colspan=1>512</td></tr><tr><td rowspan=1 colspan=1>Optimier</td><td rowspan=1 colspan=1>Adam</td></tr><tr><td rowspan=1 colspan=1>Batch size</td><td rowspan=1 colspan=1>40</td></tr><tr><td rowspan=1 colspan=1>Learning rate</td><td rowspan=1 colspan=1>3e-4</td></tr><tr><td rowspan=1 colspan=1>Number of 3-D residual blocks</td><td rowspan=1 colspan=1>5</td></tr><tr><td rowspan=1 colspan=1>Numberof 3-D residualchannels</td><td rowspan=1 colspan=1>256</td></tr><tr><td rowspan=1 colspan=1>Training steps</td><td rowspan=1 colspan=1>600K</td></tr></table>
|
| 349 |
+
|
| 350 |
+
# H.2 QUALITATIVE EXPERIMENTS
|
| 351 |
+
|
| 352 |
+
For all qualitative experiments and quantitative comparisons with the baselines, we used the following sets of hyperparameters.
|
| 353 |
+
|
| 354 |
+
<table><tr><td rowspan=1 colspan=1>Hyperparameter</td><td rowspan=1 colspan=1>Value</td></tr><tr><td rowspan=1 colspan=1>Flowlevels</td><td rowspan=1 colspan=1>3</td></tr><tr><td rowspan=1 colspan=1>Flow steps per level</td><td rowspan=1 colspan=1>24</td></tr><tr><td rowspan=1 colspan=1>Coupling</td><td rowspan=1 colspan=1>Additive</td></tr><tr><td rowspan=1 colspan=1>Number of coupling layer channels</td><td rowspan=1 colspan=1>392</td></tr><tr><td rowspan=1 colspan=1>Optimier</td><td rowspan=1 colspan=1>Adam</td></tr><tr><td rowspan=1 colspan=1>Batch size</td><td rowspan=1 colspan=1>40</td></tr><tr><td rowspan=1 colspan=1>Learning rate</td><td rowspan=1 colspan=1>3e-4</td></tr><tr><td rowspan=1 colspan=1>Numberof 3-D residualblocks</td><td rowspan=1 colspan=1>5</td></tr><tr><td rowspan=1 colspan=1>Number of 3-D residual channels</td><td rowspan=1 colspan=1>256</td></tr><tr><td rowspan=1 colspan=1>Training steps</td><td rowspan=1 colspan=1>500K</td></tr></table>
|
| 355 |
+
|
| 356 |
+
# I HYPERPARAMETER GRID FOR THE BASELINE VIDEO MODELS.
|
| 357 |
+
|
| 358 |
+
We train all our baseline models for 300K steps using the Adam optimizer. Our models were tuned using the maximum VGG cosine similarity metric with the ground-truth across 100 decodes.
|
| 359 |
+
|
| 360 |
+
SAVP-VAE and SV2P: We use three values of latent loss multiplier 1e-3, 1e-4 and 1e-5. For the SAVP-VAE model, we additionally apply linear decay on the learning rate for the last 100K steps. SAVP-GAN: We tune the gan loss multiplier and the learning rate on a logscale from 1e-2 to 1e-4 and 1e-3 to 1e-5 respectively.
|
| 361 |
+
|
| 362 |
+
# J CORRELATION BETWEEN VGG PERCEPTUAL SIMILARITY AND BITS-PER-PIXEL
|
| 363 |
+
|
| 364 |
+
We plot correlation between cosine similarity using a pretrained VGG network and bits-per-pixel using our trained VideoFlow model. We compare $\bar { \mathcal { P } } ( X _ { 4 } ^ { - } = X _ { t } | X _ { < 4 } )$ as done in Section 5.5 and the VGG cosine similarity between $X _ { 4 }$ and $X _ { t }$ for $t = 4 \dots 1 3$ . We report our results for every video in the test set in Figure 15. We notice a weak correlation between VGG perceptual metrics and bits-per-pixel with a correlation factor of $- 0 . 5 1$ .
|
| 365 |
+
|
| 366 |
+

|
| 367 |
+
Figure 14: We compare $\mathcal { P } ( X _ { 4 } = X _ { t } \vert X _ { < 4 } )$ and VGG cosine similarity between $X _ { 4 }$ and $X _ { t }$ for $t = 4 \dots 1 3$
|
| 368 |
+
|
| 369 |
+
# K VIDEOFLOW: LOW PARAMETER REGIME
|
| 370 |
+
|
| 371 |
+
We repeated our evaluations described in Figure 4, with a smaller version of our VideoFlow model with $4 \mathbf { x }$ parameter reduction. Our model remains competetive with SVG-LP on the VGG perceptual metrics.
|
| 372 |
+
|
| 373 |
+

|
| 374 |
+
Figure 15: We repeat our evaluations described in Figure 4 with a smaller version of our VideoFlow model.
|
parse/train/rJgUfTEYvH/rJgUfTEYvH_content_list.json
ADDED
|
@@ -0,0 +1,2080 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "VIDEOFLOW: A CONDITIONAL FLOW-BASED MODEL FOR STOCHASTIC VIDEO GENERATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
825,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Manoj Kumar∗, Mohammad Babaeizadeh, Dumitru Erhan, Chelsea Finn, Sergey Levine, Laurent Dinh, Durk Kingma ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
169,
|
| 20 |
+
598,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Google Research, Brain Team {mechcoder,mbz,dumitru,chelseaf,slevine,laurentdinh,durk}@google.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
183,
|
| 30 |
+
199,
|
| 31 |
+
849,
|
| 32 |
+
226
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
262,
|
| 43 |
+
544,
|
| 44 |
+
277
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Generative models that can model and predict sequences of future events can, in principle, learn to capture complex real-world phenomena, such as physical interactions. However, a central challenge in video prediction is that the future is highly uncertain: a sequence of past observations of events can imply many possible futures. Although a number of recent works have studied probabilistic models that can represent uncertain futures, such models are either extremely expensive computationally as in the case of pixel-level autoregressive models, or do not directly optimize the likelihood of the data. To our knowledge, our work is the first to propose multi-frame video prediction with normalizing flows, which allows for direct optimization of the data likelihood, and produces high-quality stochastic predictions. We describe an approach for modeling the latent space dynamics, and demonstrate that flow-based generative models offer a viable and competitive approach to generative modeling of video. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
294,
|
| 54 |
+
766,
|
| 55 |
+
474
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
502,
|
| 66 |
+
336,
|
| 67 |
+
517
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Exponential progress in the capabilities of computational hardware, paired with a relentless effort towards greater insights and better methods, has pushed the field of machine learning from relative obscurity into the mainstream. Progress in the field has translated to improvements in various capabilities, such as classification of images (Krizhevsky et al., 2012), machine translation (Vaswani et al., 2017) and super-human game-playing agents (Mnih et al., 2013; Silver et al., 2017), among others. However, the application of machine learning technology has been largely constrained to situations where large amounts of supervision is available, such as in image classification or machine translation, or where highly accurate simulations of the environment are available to the learning agent, such as in game-playing agents. An appealing alternative to supervised learning is to utilize large unlabeled datasets, combined with predictive generative models. In order for a complex generative model to be able to effectively predict future events, it must build up an internal representation of the world. For example, a predictive generative model that can predict future frames in a video would need to model complex real-world phenomena, such as physical interactions. This provides an appealing mechanism for building models that have a rich understanding of the physical world, without any labeled examples. Videos of real-world interactions are plentiful and readily available, and a large generative model can be trained on large unlabeled datasets containing many video sequences, thereby learning about a wide range of real-world phenoma. Such a model could be useful for learning representations for further downstream tasks (Mathieu et al., 2016), or could even be used directly in applications where predicting the future enables effective decision making and control, such as robotics (Finn et al., 2016). A central challenge in video prediction is that the future is highly uncertain: a short sequence of observations of the present can imply many possible futures. Although a number of recent works have studied probabilistic models that can represent uncertain futures, such models are either extremely expensive computationally (as in the case of pixel-level autoregressive models), or do not directly optimize the likelihood of the data. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
534,
|
| 77 |
+
825,
|
| 78 |
+
866
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In this paper, we study the problem of stochastic prediction, focusing specifically on the case of conditional video prediction: synthesizing raw RGB video frames conditioned on a short context of past observations (Ranzato et al., 2014; Srivastava et al., 2015; Vondrick et al., 2015; Xingjian et al., 2015; Boots et al., 2014). Specifically, we propose a new class of video prediction models that can provide exact likelihoods, generate diverse stochastic futures, and accurately synthesize realistic and high-quality video frames. The main idea behind our approach is to extend flow-based generative models (Dinh et al., 2014; 2016) into the setting of conditional video prediction. To our knowledge, flow-based models have been applied only to generation of non-temporal data, such as images (Kingma & Dhariwal, 2018), and to audio sequences (Prenger et al., 2018). Conditional generation of videos presents its own unique challenges: the high dimensionality of video sequences makes them difficult to model as individual datapoints. Instead, we learn a latent dynamical system model that predicts future values of the flow model’s latent state. This induces Markovian dynamics on the latent state of the system, replacing the standard unconditional prior distribution. We further describe a practically applicable architecture for flow-based video prediction models, inspired by the Glow model for image generation (Kingma & Dhariwal, 2018), which we call VideoFlow. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
873,
|
| 88 |
+
823,
|
| 89 |
+
901
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
284
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Our empirical results show that VideoFlow achieves results that are competitive with the state-ofthe-art in stochastic video prediction on the action-free BAIR dataset, with quantitative results that rival the best VAE-based models. VideoFlow also produces excellent qualitative results, and avoids many of the common artifacts of models that use pixel-level mean-squared-error for training (e.g., blurry predictions), without the challenges associated with training adversarial models. Compared to models based on pixel-level autoregressive prediction, VideoFlow achieves substantially faster test-time image synthesis 1, making it much more practical for applications that require real-time prediction, such as robotic control (Finn & Levine, 2017). Finally, since VideoFlow directly optimizes the likelihood of training videos, without relying on a variational lower bound, we can evaluate its performance directly in terms of likelihood values. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
290,
|
| 110 |
+
825,
|
| 111 |
+
429
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "2 RELATED WORK ",
|
| 118 |
+
"text_level": 1,
|
| 119 |
+
"bbox": [
|
| 120 |
+
176,
|
| 121 |
+
450,
|
| 122 |
+
343,
|
| 123 |
+
467
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "Early work on prediction of future video frames focused on deterministic predictive models (Ranzato et al., 2014; Srivastava et al., 2015; Vondrick et al., 2015; Xingjian et al., 2015; Boots et al., 2014). Much of this research on deterministic models focused on architectural changes, such as predicting high-level structure (Villegas et al., 2017b), energy-based models (Xie et al., 2017), generative cooperative nets (Xie et al., 2020), ABPTT (Xie et al., 2019), incorporating pixel transformations (Finn et al., 2016; De Brabandere et al., 2016; Liu et al., 2017) and predictive coding architectures (Lotter et al., 2017), as well as different generation objectives (Mathieu et al., 2016; Vondrick & Torralba, 2017; Walker et al., 2015) and disentangling representations (Villegas et al., 2017a; Denton & Birodkar, 2017). With models that can successfully model many deterministic environments, the next key challenge is to address stochastic environments by building models that can effectively reason over uncertain futures. Real-world videos are always somewhat stochastic, either due to events that are inherently random, or events that are caused by unobserved or partially observable factors, such as off-screen events, humans and animals with unknown intentions, and objects with unknown physical properties. In such cases, since deterministic models can only generate one future, these models either disregard potential futures or produce blurry predictions that are the superposition or averages of possible futures. ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
483,
|
| 133 |
+
826,
|
| 134 |
+
704
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "A variety of methods have sought to overcome this challenge by incorporating stochasticity, via three types of approaches: models based on variational auto-encoders (VAEs) (Kingma & Welling, 2013; Rezende et al., 2014), generative adversarial networks (Goodfellow et al., 2014), and autoregressive models (Hochreiter & Schmidhuber, 1997; Graves, 2013; van den Oord et al., 2016b;c; Van Den Oord et al., 2016). ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
712,
|
| 144 |
+
825,
|
| 145 |
+
781
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Among these models, techniques based on variational autoencoders which optimize an evidence lower bound on the log-likelihood have been explored most widely (Babaeizadeh et al., 2017; Denton & Fergus, 2018; Lee et al., 2018; Xue et al., 2016; Li et al., 2018). To our knowledge, the only prior class of video prediction models that directly maximize the log-likelihood of the data are autoregressive models (Hochreiter & Schmidhuber, 1997; Graves, 2013; van den Oord et al., 2016b;c; Van Den Oord et al., 2016), that generate the video one pixel at a time (Kalchbrenner et al., 2017). However, synthesis with such models is typically inherently sequential, making synthesis substantially inefficient on modern parallel hardware. Prior work has aimed to speed up training and synthesis with such auto-regressive models (Reed et al., 2017; Ramachandran et al., 2017). However, (Babaeizadeh et al., 2017) show that the predictions from these models are sharp but noisy and that the proposed VAE model produces substantially better predictions, especially for longer horizons. In contrast to autoregressive models, we find that our proposed method exhibits faster sampling, while still directly optimizing the log-likelihood and producing high-quality long-term predictions. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
789,
|
| 155 |
+
825,
|
| 156 |
+
887
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "image",
|
| 162 |
+
"img_path": "images/0027199eb377c5633427a680c43a111c27c2795241099f59d443abe1ba5557b4.jpg",
|
| 163 |
+
"image_caption": [
|
| 164 |
+
"Figure 1: Left: Multi-scale prior The flow model uses a multi-scale architecture using several levels of stochastic variables. Right: Autoregressive latent-dynamic prior The input at each timestep $\\mathbf { x } _ { t }$ is encoded into multiple levels of stochastic variables $( \\mathbf { z } _ { t } ^ { ( 1 ) } , \\ldots , \\mathbf { z } _ { t } ^ { ( L ) } )$ z(L)t ). We model those levels through a sequential process $\\begin{array} { r } { \\prod _ { t } \\prod _ { l } p ( \\mathbf { \\hat { z } } _ { t } ^ { ( l ) } \\mid \\mathbf { z } _ { < t } ^ { ( l ) } , \\mathbf { z } _ { t } ^ { ( > l ) } ) } \\end{array}$ . "
|
| 165 |
+
],
|
| 166 |
+
"image_footnote": [],
|
| 167 |
+
"bbox": [
|
| 168 |
+
228,
|
| 169 |
+
101,
|
| 170 |
+
764,
|
| 171 |
+
267
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "",
|
| 178 |
+
"bbox": [
|
| 179 |
+
173,
|
| 180 |
+
369,
|
| 181 |
+
825,
|
| 182 |
+
454
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "3 PRELIMINARIES: FLOW-BASED GENERATIVE MODELS ",
|
| 189 |
+
"text_level": 1,
|
| 190 |
+
"bbox": [
|
| 191 |
+
176,
|
| 192 |
+
479,
|
| 193 |
+
658,
|
| 194 |
+
496
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Flow-based generative models (Dinh et al., 2014; 2016) have a unique set of advantages: exact latentvariable inference, exact log-likelihood evaluation, and parallel sampling. In flow-based generative models (Dinh et al., 2014; 2016), we infer the latent variable $\\mathbf { z }$ corresponding to a datapoint $\\mathbf { x }$ , by transforming $\\mathbf { x }$ through a composition of invertible functions $\\mathbf { f } = \\mathbf { f } _ { 1 } \\circ \\mathbf { f } _ { 2 } \\circ \\cdots \\circ \\mathbf { f } _ { K }$ . We assume a tractable prior $p _ { \\pmb { \\theta } } ( \\mathbf { z } )$ over latent variable $\\mathbf { z }$ , for eg. a Logistic or a Gaussian distribution. By constraining the transformations to be invertible, we can compute the log-likelihood of $\\mathbf { x }$ exactly using the change of variables rule. Formally, ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
173,
|
| 203 |
+
513,
|
| 204 |
+
825,
|
| 205 |
+
613
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "equation",
|
| 211 |
+
"img_path": "images/60131c79d56ff54374141232da9f459ab590cdf108e8c5a6c8b504aea3a22430.jpg",
|
| 212 |
+
"text": "$$\n\\log p _ { \\pmb \\theta } ( \\mathbf x ) = \\log p _ { \\pmb \\theta } ( \\mathbf z ) + \\sum _ { i = 1 } ^ { K } \\log | \\operatorname* { d e t } ( d \\mathbf h _ { i } / d \\mathbf h _ { i - 1 } ) |\n$$",
|
| 213 |
+
"text_format": "latex",
|
| 214 |
+
"bbox": [
|
| 215 |
+
326,
|
| 216 |
+
643,
|
| 217 |
+
669,
|
| 218 |
+
686
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 2
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "where $\\mathbf { h } _ { 0 } = \\mathbf { x }$ , $\\mathbf { h } _ { i } = \\mathbf { f } _ { i } ( \\mathbf { h } _ { i - 1 } )$ , $\\mathbf { h } _ { K } = \\mathbf { z }$ and $| \\operatorname* { d e t } ( d \\mathbf { h } _ { i } / d \\mathbf { h } _ { i - 1 } |$ is the Jacobian determinant when $\\mathbf { h } _ { i - 1 }$ is transformed to $\\mathbf { h } _ { i }$ by $\\mathbf { f } _ { i }$ . We learn the parameters of $\\mathbf { f } _ { 1 } \\ldots . \\mathbf { f } _ { K }$ by maximizing the log-likelihood, i.e Equation (1), over a training set. Given $\\mathbf { g } = \\mathbf { f } ^ { - 1 }$ , we can now generate a sample $\\hat { \\bf x }$ from the data distribution, by sampling $\\mathbf { z } \\sim p _ { \\pmb { \\theta } } ( \\mathbf { z } )$ and computing $\\hat { \\mathbf { x } } = \\mathbf { g } ( \\mathbf { z } )$ . ",
|
| 225 |
+
"bbox": [
|
| 226 |
+
173,
|
| 227 |
+
705,
|
| 228 |
+
825,
|
| 229 |
+
762
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "4 PROPOSED ARCHITECTURE ",
|
| 236 |
+
"text_level": 1,
|
| 237 |
+
"bbox": [
|
| 238 |
+
176,
|
| 239 |
+
787,
|
| 240 |
+
433,
|
| 241 |
+
804
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "We propose a generative flow for video, using the standard multi-scale flow architecture in (Dinh et al., 2016; Kingma & Dhariwal, 2018) as a building block. In our model, we break up the latent space $\\mathbf { z }$ into separate latent variables per timestep: $\\mathbf { z } = \\{ \\mathbf { z } _ { t } \\} _ { t = 1 } ^ { T }$ . The latent variable $\\mathbf { z } _ { t }$ at timestep $t$ is an invertible transformation of a corresponding frame of video: $\\mathbf { x } _ { t } = \\mathbf { g } _ { \\theta } ( \\mathbf { z } _ { t } )$ . Furthermore, like in (Dinh et al., 2016; Kingma & Dhariwal, 2018), we use a multi-scale architecture for ${ \\bf g } _ { \\pmb { \\theta } } ( { \\bf z } _ { t } )$ (Fig. 1): the latent variable $\\mathbf { z } _ { t }$ is composed of a stack of multiple levels: where each level $l$ encodes information about frame $\\mathbf { x } _ { t }$ at a particular scale: $\\mathbf { z } _ { t } = \\{ \\mathbf { z } _ { t } ^ { ( l ) } \\} _ { l = 1 } ^ { \\bar { L } }$ , one component $\\mathbf { z } _ { t } ^ { ( l ) }$ per level. ",
|
| 248 |
+
"bbox": [
|
| 249 |
+
173,
|
| 250 |
+
821,
|
| 251 |
+
825,
|
| 252 |
+
925
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "We first briefly describe the invertible transformations used in the multi-scale architecture to infer $\\{ \\mathbf { z } _ { t } ^ { ( l ) } \\} _ { l = 1 } ^ { L } = \\mathbf { f } _ { \\pmb { \\theta } } ( \\mathbf { x } _ { t } )$ and refer to (Dinh et al., 2016; Kingma & Dhariwal, 2018) for more details. For convenience, we omit the subscript $t$ in this subsection. We choose invertible transformations whose Jacobian determinant in Equation 1 is simple to compute, that is a triangular matrix, diagonal matrix or a permutation matrix as explored in prior work (Rezende & Mohamed, 2015; Deco & Brauer, 1995). For permutation matrices, the Jacobian determinant is one and for triangular and diagonal Jacobian matrices, the determinant is simply the product of diagonal terms. ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
173,
|
| 261 |
+
128,
|
| 262 |
+
826,
|
| 263 |
+
231
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 3
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "• Actnorm: We apply a learnable per-channel scale and shift with data-dependent initialization. \n• Coupling: We split the input $y$ equally across channels to obtain $y _ { 1 }$ and $y _ { 2 }$ . We compute $z _ { 2 } = f ( y _ { 1 } ) * y _ { 2 } + g ( y _ { 1 } )$ where $f$ and $g$ are deep networks. We concat $y _ { 1 }$ and $z _ { 2 }$ across channels. \n• SoftPermute: We apply a 1x1 convolution that preserves the number of channels. \n• Squeeze: We reshape the input from $H \\times W \\times C$ to $H / 2 \\times W / 2 \\times 4 C$ which allows the flow to operate on a larger receptive field. ",
|
| 270 |
+
"bbox": [
|
| 271 |
+
215,
|
| 272 |
+
243,
|
| 273 |
+
825,
|
| 274 |
+
358
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 3
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "We infer the latent variable $z ^ { ( l ) }$ at level $l$ using: ",
|
| 281 |
+
"bbox": [
|
| 282 |
+
174,
|
| 283 |
+
371,
|
| 284 |
+
483,
|
| 285 |
+
386
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 3
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "equation",
|
| 291 |
+
"img_path": "images/4e0a8e344d4be3360065c62201a78ec478073e132ed513a01d41e49b1631e57f.jpg",
|
| 292 |
+
"text": "$$\n\\begin{array} { r l } & { \\operatorname { F l o w } ( y ) = \\operatorname { C o u p l i n g } ( \\operatorname { S o f t P e r m u t e } ( \\operatorname { A c t n o r m } ( y ) ) ) ) \\times N } \\\\ & { \\operatorname { F l o w } _ { \\mathrm { 1 } } ( y ) = \\operatorname { S p l i t } ( \\operatorname { F l o w } ( \\operatorname { S q u e e z e } ( y ) ) ) } \\\\ & { ( \\mathbf { h } ^ { ( > l ) } , \\mathbf { z } ^ { l } ) \\operatorname { F l o w } _ { \\mathrm { 1 } } ( \\mathbf { h } ^ { ( > l - 1 ) } ) } \\end{array}\n$$",
|
| 293 |
+
"text_format": "latex",
|
| 294 |
+
"bbox": [
|
| 295 |
+
312,
|
| 296 |
+
392,
|
| 297 |
+
683,
|
| 298 |
+
452
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 3
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "where $N$ is the number of steps of flow. In Equation (3), via Split, we split the output of Flow equally across channels into $\\mathbf { h } ^ { ( > l ) }$ , the input to $\\mathrm { F l o w } _ { ( \\mathrm { l + 1 } ) } ( . )$ and $z ^ { ( l ) }$ , the latent variable at level $l$ . We, thus enable the flows at higher levels to operate on a lower number of dimensions and larger scales. When $l = 1$ , $\\mathbf { h } ^ { ( > l - 1 ) }$ is just the input frame $x$ and for $l = L$ we omit the Split operation. Finally, our multi-scale architecture $\\mathbf { f } _ { \\pmb { \\theta } } ( \\mathbf { x } _ { t } )$ is a composition of the flows at multiple levels from $l = 1 \\ldots L$ from which we obtain our latent variables i.e $\\{ \\mathbf { z } _ { t } ^ { ( l ) } \\} _ { l = 1 } ^ { L }$ . ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
173,
|
| 307 |
+
463,
|
| 308 |
+
826,
|
| 309 |
+
556
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 3
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "4.2 AUTOREGRESSIVE LATENT DYNAMICS MODEL ",
|
| 316 |
+
"text_level": 1,
|
| 317 |
+
"bbox": [
|
| 318 |
+
174,
|
| 319 |
+
571,
|
| 320 |
+
534,
|
| 321 |
+
585
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "We use the multi-scale architecture described above to infer the set of corresponding latent variables for each individual frame of the video: $\\{ \\mathbf { z } _ { t } ^ { ( l ) } \\} _ { l = 1 } ^ { L } = \\mathbf { f } _ { \\pmb { \\theta } } ( \\mathbf { x } _ { t } )$ ; see Figure 1 for an illustration. As in Equation (1), we need to choose a form of latent prior $p _ { \\pmb { \\theta } } ( \\mathbf { z } )$ . We use the following autoregressive factorization for the latent prior: ",
|
| 328 |
+
"bbox": [
|
| 329 |
+
173,
|
| 330 |
+
595,
|
| 331 |
+
825,
|
| 332 |
+
656
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "equation",
|
| 338 |
+
"img_path": "images/cb3760afb78626fb3f14de3229b84db0a23362a5efe9914b03b49464f86ac4df.jpg",
|
| 339 |
+
"text": "$$\np _ { \\pmb { \\theta } } ( \\mathbf { z } ) = \\prod _ { t = 1 } ^ { T } p _ { \\pmb { \\theta } } ( \\mathbf { z } _ { t } | \\mathbf { z } _ { < t } )\n$$",
|
| 340 |
+
"text_format": "latex",
|
| 341 |
+
"bbox": [
|
| 342 |
+
418,
|
| 343 |
+
662,
|
| 344 |
+
580,
|
| 345 |
+
707
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 3
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "where $\\mathbf { z } _ { < t }$ denotes the latent variables of frames prior to the $t$ -th timestep: $\\left\\{ \\mathbf { z } _ { 1 } , . . . , \\mathbf { z } _ { t - 1 } \\right\\}$ . We specify the conditional prior $p _ { \\pmb { \\theta } } ( \\mathbf { z } _ { t } | \\mathbf { z } _ { < t } )$ as having the following factorization: ",
|
| 352 |
+
"bbox": [
|
| 353 |
+
171,
|
| 354 |
+
713,
|
| 355 |
+
825,
|
| 356 |
+
742
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "equation",
|
| 362 |
+
"img_path": "images/e61a318627259f23efd58386837a6fed65a504de15b6afe174b709f1537b504e.jpg",
|
| 363 |
+
"text": "$$\np _ { \\pmb { \\theta } } \\big ( \\mathbf { z } _ { t } \\big | \\mathbf { z } _ { < t } \\big ) = \\prod _ { l = 1 } ^ { L } p _ { \\pmb { \\theta } } \\big ( \\mathbf { z } _ { t } ^ { ( l ) } \\big | \\mathbf { z } _ { < t } ^ { ( l ) } , \\mathbf { z } _ { t } ^ { ( > l ) } \\big )\n$$",
|
| 364 |
+
"text_format": "latex",
|
| 365 |
+
"bbox": [
|
| 366 |
+
377,
|
| 367 |
+
748,
|
| 368 |
+
620,
|
| 369 |
+
792
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 3
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "text",
|
| 375 |
+
"text": "where z(l)<t is the set of latent variables at previous timesteps and at the same level $l$ , while $\\mathbf { z } _ { t } ^ { ( > l ) }$ is the set of latent variables at the same timestep and at higher levels. See Figure 1 for a graphical illustration of the dependencies. ",
|
| 376 |
+
"bbox": [
|
| 377 |
+
174,
|
| 378 |
+
800,
|
| 379 |
+
825,
|
| 380 |
+
845
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 3
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "text",
|
| 386 |
+
"text": "We let each $p _ { \\pmb { \\theta } } ( \\mathbf { z } _ { t } ^ { ( l ) } | \\mathbf { z } _ { < t } ^ { ( l ) } , \\mathbf { z } _ { t } ^ { ( > l ) } )$ be a conditionally factorized Gaussian density: ",
|
| 387 |
+
"bbox": [
|
| 388 |
+
171,
|
| 389 |
+
852,
|
| 390 |
+
687,
|
| 391 |
+
871
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 3
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "equation",
|
| 397 |
+
"img_path": "images/7445babad4482e309d07729b5e7b6b57fea97161d4b46b4382c32621c044f69c.jpg",
|
| 398 |
+
"text": "$$\n\\begin{array} { r l } & { p _ { \\pmb { \\theta } } ( \\mathbf { z } _ { t } ^ { ( l ) } | \\mathbf { z } _ { < t } ^ { ( l ) } , \\mathbf { z } _ { t } ^ { ( > l ) } ) = \\mathcal { N } ( \\mathbf { z } _ { t } ^ { ( l ) } ; \\pmb { \\mu } , \\sigma ) } \\\\ & { \\quad \\mathrm { w h e r e } \\ ( \\pmb { \\mu } , \\log \\sigma ) = N N _ { \\pmb { \\theta } } ( \\mathbf { z } _ { < t } ^ { ( l ) } , \\mathbf { z } _ { t } ^ { ( > l ) } ) } \\end{array}\n$$",
|
| 399 |
+
"text_format": "latex",
|
| 400 |
+
"bbox": [
|
| 401 |
+
366,
|
| 402 |
+
877,
|
| 403 |
+
632,
|
| 404 |
+
922
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "table",
|
| 410 |
+
"img_path": "images/51696ea01196c986a78c881285ce5248e51c7f8c105a4ef82d0e0cf3b20f1c30.jpg",
|
| 411 |
+
"table_caption": [
|
| 412 |
+
"Table 1: We compare the realism of the generated trajectories using a real-vs-fake 2AFC Amazon Mechanical Turk with SAVP-VAE and SV2P. "
|
| 413 |
+
],
|
| 414 |
+
"table_footnote": [],
|
| 415 |
+
"table_body": "<table><tr><td>Model</td><td>Fooling rate</td></tr><tr><td>SAVP-VAE</td><td>16.4 %</td></tr><tr><td>VideoFlow</td><td>31.8 %</td></tr><tr><td>SV2P</td><td>17.5 %</td></tr></table>",
|
| 416 |
+
"bbox": [
|
| 417 |
+
236,
|
| 418 |
+
123,
|
| 419 |
+
436,
|
| 420 |
+
185
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 4
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "image",
|
| 426 |
+
"img_path": "images/d35db32dbe0a36e17916e99e637ed2949deae79ea445ab96809982139e8eebab.jpg",
|
| 427 |
+
"image_caption": [
|
| 428 |
+
"Figure 2: We condition the VideoFlow model with the frame at $\\mathrm { \\Delta t } = 1$ and display generated trajectories at $\\mathbf { t } = 2$ and $\\mathrm { t } = 3$ for three different shapes. "
|
| 429 |
+
],
|
| 430 |
+
"image_footnote": [],
|
| 431 |
+
"bbox": [
|
| 432 |
+
594,
|
| 433 |
+
103,
|
| 434 |
+
751,
|
| 435 |
+
205
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 4
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "where $N N _ { \\theta } ( . )$ is a deep 3-D residual network (He et al., 2015) augmented with dilations and gated activation units and modified to predict the mean and log-scale. We describe the architecture and our ablations of the architecture in Section D and E of the appendix. ",
|
| 442 |
+
"bbox": [
|
| 443 |
+
176,
|
| 444 |
+
289,
|
| 445 |
+
823,
|
| 446 |
+
332
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 4
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "In summary, the log-likelhood objective of Equation (1) has two parts. The invertible multi-scale architecture contributes $\\begin{array} { r l } { ~ } & { { } \\sum _ { i = 1 } ^ { K } \\log | \\operatorname* { d e t } ( d \\mathbf { h } _ { i } / d \\mathbf { h } _ { i - 1 } ) | } \\end{array}$ via the sum of the log Jacobian determinants of the invertible transformations mapping the video $\\{ { \\bf x } _ { t } \\} _ { t = 1 } ^ { T }$ to $\\{ \\mathbf { z } _ { t } \\} _ { t = 1 } ^ { T }$ ; the latent dynamics model contributes $\\log p \\pmb { \\theta } ( \\mathbf { z } )$ , i.e Equation (5). We jointly learn the parameters of the multi-scale architecture and latent dynamics model by maximizing this objective. ",
|
| 453 |
+
"bbox": [
|
| 454 |
+
174,
|
| 455 |
+
338,
|
| 456 |
+
825,
|
| 457 |
+
412
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 4
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "Note that in our architecture we have chosen to let the prior $p _ { \\pmb { \\theta } } ( \\mathbf { z } )$ , as described in eq. (5), model temporal dependencies in the data, while constraining the flow $\\mathbf { g } _ { \\theta }$ to act on separate frames of video. We have experimented with using 3-D convolutional flows, but found this to be computationally overly expensive compared to an autoregressive prior; in terms of both number of operations and number of parameters. Further, due to memory limits, we found it only feasible to perform SGD with a small number of sequential frames per gradient step. In case of 3-D convolutions, this would make the temporal dimension considerably smaller during training than during synthesis; this would change the model’s input distribution between training and synthesis, which often leads to various temporal artifacts. Using 2-D convolutions in our flow $\\mathbf { f } _ { \\theta }$ with autoregressive priors, allows us to synthesize arbitrarily long sequences without introducing such artifacts. ",
|
| 464 |
+
"bbox": [
|
| 465 |
+
174,
|
| 466 |
+
420,
|
| 467 |
+
825,
|
| 468 |
+
559
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 4
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "5 EXPERIMENTS ",
|
| 475 |
+
"text_level": 1,
|
| 476 |
+
"bbox": [
|
| 477 |
+
176,
|
| 478 |
+
582,
|
| 479 |
+
326,
|
| 480 |
+
597
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 4
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "All our generated videos and qualitative results can be viewed at this website. In the generated videos, a border of blue represents the conditioning frame, while a border of red represents the generated frames. ",
|
| 487 |
+
"bbox": [
|
| 488 |
+
176,
|
| 489 |
+
613,
|
| 490 |
+
825,
|
| 491 |
+
655
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 4
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "5.1 VIDEO MODELLING WITH THE STOCHASTIC MOVEMENT DATASET ",
|
| 498 |
+
"text_level": 1,
|
| 499 |
+
"bbox": [
|
| 500 |
+
176,
|
| 501 |
+
674,
|
| 502 |
+
673,
|
| 503 |
+
689
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 4
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "We use VideoFlow to model the Stochastic Movement Dataset used in (Babaeizadeh et al., 2017). The first frame of every video consists of a shape placed near the center of a 64x64x3 resolution gray background with its type, size and color randomly sampled. The shape then randomly moves in one of eight directions with constant speed. (Babaeizadeh et al., 2017) show that conditioned on the first frame, a deterministic model averages out all eight possible directions in pixel space. Since the shape moves with a uniform speed, we should be able to model the position of the shape at the $( t + 1 ) ^ { t h }$ step using only the position of the shape at the $t ^ { t h }$ step. Using this insight, we extract random temporal patches of 2 frames from each video of 3 frames. We then use VideoFlow to maximize the loglikelihood of the second frame given the first, i.e the model looks back at just one frame. We observe that the bits-per-pixel on the holdout set reduces to a very low 0.04 bits-per-pixel for this model. On generating videos conditioned on the first frame, we observe that the model consistently predicts the future trajectory of the shape to be one of the eight random directions. We compare our model with two state-of-the-art stochastic video generation models SV2P and SAVP-VAE (Babaeizadeh et al., 2017; Lee et al., 2018) using their Tensor2Tensor implementation (Vaswani et al., 2018). We assess the quality of the generated videos using a real vs fake Amazon Mechanical Turk test. In the test, we inform the rater that a \"real\" trajectory is one in which the shape is consistent in color and congruent throughout the video. We show that VideoFlow outperforms the baselines in terms of fooling rate in Table 1 consistently generating plausible \"real\" trajectories at a greater rate. ",
|
| 510 |
+
"bbox": [
|
| 511 |
+
174,
|
| 512 |
+
702,
|
| 513 |
+
825,
|
| 514 |
+
922
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 4
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "table",
|
| 520 |
+
"img_path": "images/a70a8e6392d24bb4e096625d522326824168f40900514cb2bfe7e12e83736096.jpg",
|
| 521 |
+
"table_caption": [
|
| 522 |
+
"Table 2: Left: We report the average bits-per-pixel across 10 target frames with 3 conditioning frames for the BAIR action-free dataset. "
|
| 523 |
+
],
|
| 524 |
+
"table_footnote": [],
|
| 525 |
+
"table_body": "<table><tr><td>Model</td><td>Bits-per-pixel</td></tr><tr><td>VideoFlow</td><td>1.87</td></tr><tr><td>SAVP-VAE</td><td>≤6.73</td></tr><tr><td>SV2P</td><td>≤6.78</td></tr></table>",
|
| 526 |
+
"bbox": [
|
| 527 |
+
232,
|
| 528 |
+
130,
|
| 529 |
+
441,
|
| 530 |
+
191
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 5
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "image",
|
| 536 |
+
"img_path": "images/4f86fdecfe5c88f19ab3804eaa6bdd874d0e3a55b517fd8a901450bd247a62a3.jpg",
|
| 537 |
+
"image_caption": [
|
| 538 |
+
"Figure 3: We measure realism using a 2AFC test and diversity using mean pairwise cosine distance between generated samples in VGG perceptual space. "
|
| 539 |
+
],
|
| 540 |
+
"image_footnote": [],
|
| 541 |
+
"bbox": [
|
| 542 |
+
580,
|
| 543 |
+
103,
|
| 544 |
+
761,
|
| 545 |
+
208
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 5
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "",
|
| 552 |
+
"bbox": [
|
| 553 |
+
173,
|
| 554 |
+
301,
|
| 555 |
+
823,
|
| 556 |
+
330
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 5
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "5.2 VIDEO MODELING WITH THE BAIR DATASET ",
|
| 563 |
+
"text_level": 1,
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
348,
|
| 567 |
+
532,
|
| 568 |
+
363
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 5
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "We use the action-free version of the BAIR robot pushing dataset (Ebert et al., 2017) that contain videos of a Sawyer robotic arm with resolution 64x64. In the absence of actions, the task of video generation is completely unsupervised with multiple plausible trajectories due to the partial observability of the environment and stochasticity of the robot actions. We train the baseline models, SAVP-VAE, SV2P and SVG-LP to generate 10 target frames, conditioned on 3 input frames. We extract random temporal patches of 4 frames, and train VideoFlow to maximize the log-likelihood of the 4th frame given a context of 3 past frames. We, thus ensure that all models have seen a total of 13 frames during training. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
173,
|
| 577 |
+
376,
|
| 578 |
+
825,
|
| 579 |
+
487
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 5
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "Bits-per-pixel: We estimated the variational bound of the bits-per-pixel on the test set, via importance sampling, from the posteriors for the SAVP-VAE and SV2P models. We find that VideoFlow outperforms these models on bits-per-pixel and report these values in Table 2. We attribute the high values of bits-per-pixel of the baselines to their optimization objective. They do not optimize the variational bound on the log-likelihood directly due to the presence of a $\\beta \\neq 1$ term in their objective and scheduled sampling (Bengio et al., 2015). ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
173,
|
| 588 |
+
494,
|
| 589 |
+
825,
|
| 590 |
+
578
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 5
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "image",
|
| 596 |
+
"img_path": "images/a683d1e7f1ae30c014fcb1618147921f56b5ab1a13ce574e5e1b417cbbc090af.jpg",
|
| 597 |
+
"image_caption": [
|
| 598 |
+
"Figure 4: For a given set of conditioning frames on the BAIR action-free we sample 100 videos from each of the stochastic video generation models. We choose the video closest to the ground-truth on the basis of PSNR, SSIM and VGG perceptual metrics and report the best possible value for each of these metrics. All the models were trained using ten target frames but are tested to generate 27 frames. For all the reported metrics, higher is better. "
|
| 599 |
+
],
|
| 600 |
+
"image_footnote": [],
|
| 601 |
+
"bbox": [
|
| 602 |
+
184,
|
| 603 |
+
594,
|
| 604 |
+
751,
|
| 605 |
+
728
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 5
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "Accuracy of the best sample: The BAIR robot-pushing dataset is highly stochastic and the number of plausible futures are high. Each generated video can be super realistic, can represent a plausible future in theory but can be far from the single ground truth video perceptually. To partially overcome this, we follow the metrics proposed in prior work (Babaeizadeh et al., 2017; Lee et al., 2018; Denton & Fergus, 2018) to evaluate our model. For a given set of conditioning frames in the BAIR action-free test-set, we generate 100 videos from each of the stochastic models. We then compute the closest of these generated videos to the ground truth according to three different metrics, PSNR (Peak Signal to ",
|
| 612 |
+
"bbox": [
|
| 613 |
+
173,
|
| 614 |
+
825,
|
| 615 |
+
825,
|
| 616 |
+
924
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 5
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "text",
|
| 622 |
+
"text": "Noise Ratio), SSIM (Structural Similarity) (Wang et al., 2004) and cosine similarity using features obtained from a pretrained VGG network (Dosovitskiy & Brox, 2016; Johnson et al., 2016) and report our findings in Figure 4. This metric helps us understand if the true future lies in the set of all plausible futures according to the video model. ",
|
| 623 |
+
"bbox": [
|
| 624 |
+
174,
|
| 625 |
+
103,
|
| 626 |
+
825,
|
| 627 |
+
159
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 6
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "text",
|
| 633 |
+
"text": "In prior work, (Lee et al., 2018; Babaeizadeh et al., 2017; Denton & Fergus, 2018) effectively tune the pixel-level variance as a hyperparameter and sample from a deterministic decoder. They obtain training stabiltiy and improve sample quality by removing pixel-level noise using this procedure. We can remove pixel-level noise in our VideoFlow model resulting in higher quality videos at the cost of diversity by sampling videos at a lower temperature, analogous to the procedure in (Kingma & Dhariwal, 2018). For a network trained with additive coupling layers, we can sample the $t ^ { t h }$ frame $x _ { t }$ from $P ( x _ { t } | x _ { < t } )$ with a temperature $T$ simply by scaling the standard deviation of the latent gaussian distribution $P ( \\boldsymbol { z } _ { t } | \\boldsymbol { z } _ { < t } )$ by a factor of $T$ . We report results with both a temperature of 1.0 and the optimal temperature tuned on the validation set using VGG similarity metrics in Figure 4. Additionally, we also applied low-temperature sampling to the latent gaussian priors of SV2P and SAVP-VAE and empirically found it to hurt performance. We report these results in Figure 12 ",
|
| 634 |
+
"bbox": [
|
| 635 |
+
174,
|
| 636 |
+
166,
|
| 637 |
+
825,
|
| 638 |
+
319
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 6
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "For SAVP-VAE, we notice that the hyperparameters that perform the best on these metrics are the ones that have disappearing arms. For completeness, we report these numbers as well as the numbers for the best performing SAVP models that do not have disappearing arms. Our model with optimal temperature performs better or as well as the SAVP-VAE and SVG-LP models on the VGG-based similarity metrics, which correlate well with human perception (Zhang et al., 2018) and SSIM. Our model with temperature $T = 1 . 0$ is also competent with state-of-the-art video generation models on these metrics. PSNR is explicitly a pixel-level metric, which the VAE models incorporate as part of its optimization objective. VideoFlow on the other-hand models the conditional probability of the joint distribution of frames, hence as expected it underperforms on PSNR. ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
173,
|
| 647 |
+
325,
|
| 648 |
+
825,
|
| 649 |
+
452
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "image",
|
| 655 |
+
"img_path": "images/7c96ecf49f00cd8a40874e3709c9498b9fc8b9cdb24e6e3baa904512d2a276bb.jpg",
|
| 656 |
+
"image_caption": [
|
| 657 |
+
"Figure 5: We display three different futures for two sets of conditioning frames (left and right) at $T = 0 . 6$ showcasing diversity in outcomes "
|
| 658 |
+
],
|
| 659 |
+
"image_footnote": [],
|
| 660 |
+
"bbox": [
|
| 661 |
+
238,
|
| 662 |
+
467,
|
| 663 |
+
759,
|
| 664 |
+
622
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 6
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "Diversity and quality in generated samples: For each set of conditioning frames in the test set, we generate 10 videos and compute the mean distance in VGG perceptual space across these 45 different pairs. We average this across the test-set for $T = 1 . 0$ and $T = 0 . 6$ and report these numbers in Figure 3. We also assess the quality of the generated videos at $T = 1 . 0$ and $T = 0 . 6$ , using a real vs fake Amazon Mechanical Turk test and report fooling rates. We observe that VideoFlow outperforms diversity values reported in prior work (Lee et al., 2018) while being competitive in the realism axis. We also find that VideoFlow at $T = 0 . 6$ has the highest fooling rate while being competent with state-of-the-art VAE models in diversity. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
173,
|
| 673 |
+
686,
|
| 674 |
+
825,
|
| 675 |
+
797
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 6
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "On inspection of the generated videos, we find that at lower temperatures, the arm exhibits less random behaviour with the background objects remaining static and clear achieving higher realism scores. At higher temperatures, the motion of arm is much more stochastic, achieving high diversity scores with the background objects becoming much noisier leading to a drop in realism. ",
|
| 682 |
+
"bbox": [
|
| 683 |
+
174,
|
| 684 |
+
805,
|
| 685 |
+
823,
|
| 686 |
+
861
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 6
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "Fréchet Video Distance (FVD): We evaluate VideoFlow using the recently proposed Fréchet Video Distance (FVD) metric (Unterthiner et al., 2018), an adaptation of the Fréchet Inception Distance (FID) metric (Heusel et al., 2017) for video generation. (Unterthiner et al., 2018) report results with models trained on a total of 16 frames with 2 conditioning frames; while we train our VideoFlow model on a total of 13 frames with 3 conditioning frames, making our results not directly comparable to theirs. We evaluate FVD for both shorter and longer rollouts in Table 3. We show that, even in the settings that are disadvantageous to VideoFlow, where we compute the FVD on a total of 16 frames, when trained on just 13 frames, VideoFlow performs comparable to SAVP. ",
|
| 693 |
+
"bbox": [
|
| 694 |
+
174,
|
| 695 |
+
867,
|
| 696 |
+
823,
|
| 697 |
+
924
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 6
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "table",
|
| 703 |
+
"img_path": "images/a63db14401bf423cfbd1daaa34fc87fc0b48d1a57df43cba073401d1b19f362e.jpg",
|
| 704 |
+
"table_caption": [],
|
| 705 |
+
"table_footnote": [],
|
| 706 |
+
"table_body": "<table><tr><td colspan=\"5\"># Frames Seen: Training</td></tr><tr><td>Conditioning</td><td>3</td><td>3</td><td>3</td><td>2</td></tr><tr><td>Total</td><td>13</td><td>13</td><td>13</td><td>16</td></tr><tr><td></td><td colspan=\"3\"># Frames: Evaluation</td><td></td></tr><tr><td>Ground truth</td><td>3</td><td>3</td><td>2</td><td></td></tr><tr><td>Total</td><td>13</td><td>16</td><td>16</td><td>26</td></tr><tr><td>Model</td><td colspan=\"3\">FVD</td><td></td></tr><tr><td>VideoFlow (T=0.8)</td><td>95±4</td><td>127±3</td><td>131±5</td><td>-</td></tr><tr><td>VideoFlow (T=1.0)</td><td>149±6</td><td>221±8</td><td>251±7</td><td>1</td></tr><tr><td>SAVP</td><td>-</td><td>-</td><td>-</td><td>116</td></tr><tr><td>SV2P</td><td>=</td><td>-</td><td>-</td><td>263</td></tr></table>",
|
| 707 |
+
"bbox": [
|
| 708 |
+
305,
|
| 709 |
+
99,
|
| 710 |
+
692,
|
| 711 |
+
289
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 7
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "",
|
| 718 |
+
"bbox": [
|
| 719 |
+
174,
|
| 720 |
+
367,
|
| 721 |
+
825,
|
| 722 |
+
424
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 7
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "5.3 LATENT SPACE INTERPOLATION ",
|
| 729 |
+
"text_level": 1,
|
| 730 |
+
"bbox": [
|
| 731 |
+
176,
|
| 732 |
+
440,
|
| 733 |
+
434,
|
| 734 |
+
454
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 7
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "BAIR robot pushing dataset: We encode the first input frame and the last target frame into the latent space using our trained VideoFlow encoder and perform interpolations. We find that the motion of the arm is interpolated in a temporally cohesive fashion between the initial and final position. Further, we use the multi-level latent representation to interpolate representations at a particular level while keeping the representations at other levels fixed. We find that the bottom level interpolates the motion of background objects which are at a smaller scale while the top level interpolates the arm motion. ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
174,
|
| 743 |
+
467,
|
| 744 |
+
826,
|
| 745 |
+
564
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 7
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "image",
|
| 751 |
+
"img_path": "images/aad55d52750b1b98a590db5a07d4d80b527972bc5a8c27149305eeda1edf2561.jpg",
|
| 752 |
+
"image_caption": [
|
| 753 |
+
"Table 3: Fréchet Video Distance:. We report the mean and standard deviation across 5 runs for 3 different frame settings. Results are not directly comparable across models due to the differences between the total number of frames seen during training and the number of conditioning frames. ",
|
| 754 |
+
"Figure 6: Left: We display interpolations between a) a small blue rectangle and a large yellow rectangle b) a small blue circle and a large yellow circle. Right: We display interpolations between the first input frame and the last target frame of two test videos in the BAIR robot pushing dataset. "
|
| 755 |
+
],
|
| 756 |
+
"image_footnote": [],
|
| 757 |
+
"bbox": [
|
| 758 |
+
191,
|
| 759 |
+
582,
|
| 760 |
+
802,
|
| 761 |
+
683
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 7
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "Stochastic Movement Dataset: We encode two different shapes with their type fixed but a different size and color into the latent space. We observe that the size of the shape gets smoothly interpolated. During training, we sample the colors of the shapes from a uniform discrete distribution which is reflected in our experiments. We observe that all the colors in the interpolated space lie in the set of colors in the training set. ",
|
| 768 |
+
"bbox": [
|
| 769 |
+
174,
|
| 770 |
+
768,
|
| 771 |
+
825,
|
| 772 |
+
839
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 7
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "5.4 LONGER PREDICTIONS ",
|
| 779 |
+
"text_level": 1,
|
| 780 |
+
"bbox": [
|
| 781 |
+
176,
|
| 782 |
+
856,
|
| 783 |
+
372,
|
| 784 |
+
869
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 7
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "We generate 100 frames into the future using our model trained on 13 frames with a temperature of 0.5 and display our results in Figure 7. On the top, even 100 frames into the future, the generated frames remain in the image manifold maintaining temporal consistency. In the presence of occlusions, the arm remains super-sharp but the background objects become noisier and blurrier. Our VideoFlow model has a bijection between the $\\mathbf { z } _ { t }$ and $\\mathbf { x } _ { t }$ meaning that the latent state $\\mathbf { z } _ { t }$ cannot store information other than that present in the frame $\\mathbf { x } _ { t }$ . This, in combination with the Markovian assumption in our latent dynamics means that the model can forget objects if they have been occluded for a few frames. In future work, we would address this by incorporating longer memory in our VideoFlow model; for example by parameterizing $N N _ { \\theta } ( )$ as a recurrent neural network in our autoregressive prior (eq. 8) or using more memory-efficient backpropagation algorithms for invertible neural networks (Gomez et al., 2017). ",
|
| 791 |
+
"bbox": [
|
| 792 |
+
174,
|
| 793 |
+
882,
|
| 794 |
+
825,
|
| 795 |
+
924
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 7
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "image",
|
| 801 |
+
"img_path": "images/e59075b14cf3cea96145e3da800c6534f60d2202a1632b5473557eea428a6d49.jpg",
|
| 802 |
+
"image_caption": [
|
| 803 |
+
"Figure 7: Left: We generate 100 frames into the future with a temperature of 0.5. The top and bottom row correspond to generated videos in the absence and presence of occlusions respectively. Right: We use VideoFlow to detect the plausibility of a temporally inconsistent frame to occur in the immediate future. "
|
| 804 |
+
],
|
| 805 |
+
"image_footnote": [],
|
| 806 |
+
"bbox": [
|
| 807 |
+
196,
|
| 808 |
+
106,
|
| 809 |
+
696,
|
| 810 |
+
218
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 8
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "",
|
| 817 |
+
"bbox": [
|
| 818 |
+
174,
|
| 819 |
+
295,
|
| 820 |
+
825,
|
| 821 |
+
406
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 8
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "5.5 OUT-OF-SEQUENCE DETECTION ",
|
| 828 |
+
"text_level": 1,
|
| 829 |
+
"bbox": [
|
| 830 |
+
176,
|
| 831 |
+
422,
|
| 832 |
+
434,
|
| 833 |
+
436
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 8
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "We use our trained VideoFlow model, conditioned on 3 frames as explained in Section 5.2, to detect the plausibility of a temporally inconsistent frame to occur in the immediate future. We condition the model on the first three frames of a test-set video $X _ { < 4 }$ to obtain a distribution $P ( X _ { 4 } | X _ { < 4 } )$ over its 4th frame $X _ { 4 }$ . We then compute the likelihood of the $t ^ { \\mathrm { t h } }$ frame $X _ { t }$ of the same video to occur as the 4th time-step using this distribution. i.e, $\\mathcal { P } ( X _ { 4 } = X _ { t } \\vert X _ { < 4 } )$ for $t = 4 \\dots 1 3$ . We average the corresponding bits-per-pixel values across the test set and report our findings in Figure 7. We find that our model assigns a monotonically decreasing log-likelihood to frames that are more far out in the future and hence less likely to occur in the 4th time-step. ",
|
| 840 |
+
"bbox": [
|
| 841 |
+
174,
|
| 842 |
+
448,
|
| 843 |
+
825,
|
| 844 |
+
560
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 8
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "6 OPEN SOURCE CODE AND CHECKPOINTS ",
|
| 851 |
+
"text_level": 1,
|
| 852 |
+
"bbox": [
|
| 853 |
+
174,
|
| 854 |
+
580,
|
| 855 |
+
542,
|
| 856 |
+
595
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 8
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "We open-source the implementation of our code in the Tensor2Tensor codebase. We additionally open-source various components of our trained VideoFlow model, to evaluate log-likelihood, to generate frames and compute latent codes as reusable TFHub modules ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
174,
|
| 865 |
+
611,
|
| 866 |
+
825,
|
| 867 |
+
652
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 8
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "7 CONCLUSION AND DISCUSSION ",
|
| 874 |
+
"text_level": 1,
|
| 875 |
+
"bbox": [
|
| 876 |
+
176,
|
| 877 |
+
672,
|
| 878 |
+
468,
|
| 879 |
+
689
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 8
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "We describe a practically applicable architecture for flow-based video prediction models, inspired by the Glow model for image generation Kingma & Dhariwal (2018), which we call VideoFlow. We introduce a latent dynamical system model that predicts future values of the flow model’s latent state replacing the standard unconditional prior distribution. Our empirical results show that VideoFlow achieves results that are competitive with the state-of-the-art VAE models in stochastic video prediction. Finally, our model optimizes log-likelihood directly making it easy to evaluate while achieving faster synthesis compared to pixel-level autoregressive video models, making our model suitable for practical purposes. In future work, we plan to incorporate memory in VideoFlow to model arbitrary long-range dependencies and apply the model to challenging downstream tasks. ",
|
| 886 |
+
"bbox": [
|
| 887 |
+
174,
|
| 888 |
+
703,
|
| 889 |
+
825,
|
| 890 |
+
829
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 8
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "ACKNOWLEDGEMENTS ",
|
| 897 |
+
"text_level": 1,
|
| 898 |
+
"bbox": [
|
| 899 |
+
176,
|
| 900 |
+
845,
|
| 901 |
+
333,
|
| 902 |
+
857
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 8
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "We would like to thank Ryan Sepassi and Lukasz Kaiser for their extensive help in using Tensor2Tensor, Oscar Täckström for finding a bug in our evaluation pipeline that improved results across all models, Ruben Villegas for providing code for the SVG-LP baseline and Mostafa Dehghani for providing feedback on a draft of the rebuttal. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
176,
|
| 911 |
+
867,
|
| 912 |
+
825,
|
| 913 |
+
922
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 8
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "REFERENCES ",
|
| 920 |
+
"text_level": 1,
|
| 921 |
+
"bbox": [
|
| 922 |
+
176,
|
| 923 |
+
102,
|
| 924 |
+
287,
|
| 925 |
+
118
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 9
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "Mohammad Babaeizadeh, Chelsea Finn, Dumitru Erhan, Roy H Campbell, and Sergey Levine. Stochastic variational video prediction. arXiv preprint arXiv:1710.11252, 2017. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
173,
|
| 934 |
+
126,
|
| 935 |
+
825,
|
| 936 |
+
155
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 9
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In Advances in Neural Information Processing Systems, pp. 1171–1179, 2015. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
165,
|
| 946 |
+
825,
|
| 947 |
+
207
|
| 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 |
+
173,
|
| 956 |
+
218,
|
| 957 |
+
825,
|
| 958 |
+
260
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 9
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "Bert De Brabandere, Xu Jia, Tinne Tuytelaars, and Luc Van Gool. Dynamic filter networks. In Neural Information Processing Systems (NIPS), 2016. ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
173,
|
| 967 |
+
270,
|
| 968 |
+
823,
|
| 969 |
+
300
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 9
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Gustavo Deco and Wilfried Brauer. Higher order statistical decorrelation without information loss. Advances in Neural Information Processing Systems, pp. 247–254, 1995. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
173,
|
| 978 |
+
309,
|
| 979 |
+
825,
|
| 980 |
+
339
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 9
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Emily Denton and Vighnesh Birodkar. Unsupervised learning of disentangled representations from video. arXiv preprint arXiv:1705.10915, 2017. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
173,
|
| 989 |
+
348,
|
| 990 |
+
823,
|
| 991 |
+
377
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 9
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Emily Denton and Rob Fergus. Stochastic video generation with a learned prior. arXiv preprint arXiv:1802.07687, 2018. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
173,
|
| 1000 |
+
386,
|
| 1001 |
+
825,
|
| 1002 |
+
416
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 9
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Laurent Dinh, David Krueger, and Yoshua Bengio. Nice: non-linear independent components estimation. arXiv preprint arXiv:1410.8516, 2014. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
174,
|
| 1011 |
+
425,
|
| 1012 |
+
825,
|
| 1013 |
+
455
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 9
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using Real NVP. arXiv preprint arXiv:1605.08803, 2016. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
171,
|
| 1022 |
+
464,
|
| 1023 |
+
823,
|
| 1024 |
+
493
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 9
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Alexey Dosovitskiy and Thomas Brox. Generating images with perceptual similarity metrics based on deep networks. In Advances in Neural Information Processing Systems, pp. 658–666, 2016. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
173,
|
| 1033 |
+
503,
|
| 1034 |
+
823,
|
| 1035 |
+
534
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 9
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Frederik Ebert, Chelsea Finn, Alex X Lee, and Sergey Levine. Self-supervised visual planning with temporal skip connections. arXiv preprint arXiv:1710.05268, 2017. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
171,
|
| 1044 |
+
541,
|
| 1045 |
+
823,
|
| 1046 |
+
571
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 9
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "Chelsea Finn and Sergey Levine. Deep visual foresight for planning robot motion. In International Conference on Robotics and Automation (ICRA), 2017. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
176,
|
| 1055 |
+
580,
|
| 1056 |
+
823,
|
| 1057 |
+
611
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 9
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Chelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In Advances in Neural Information Processing Systems, 2016. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
174,
|
| 1066 |
+
619,
|
| 1067 |
+
823,
|
| 1068 |
+
650
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 9
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Aidan N Gomez, Mengye Ren, Raquel Urtasun, and Roger B Grosse. The reversible residual network: Backpropagation without storing activations. In Advances in Neural Information Processing Systems, pp. 2211–2221, 2017. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
174,
|
| 1077 |
+
659,
|
| 1078 |
+
825,
|
| 1079 |
+
702
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 9
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"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, pp. 2672–2680, 2014. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
173,
|
| 1088 |
+
712,
|
| 1089 |
+
826,
|
| 1090 |
+
756
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 9
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Alex Graves. Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850, 2013. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
171,
|
| 1099 |
+
765,
|
| 1100 |
+
825,
|
| 1101 |
+
794
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 9
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015. ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
171,
|
| 1110 |
+
803,
|
| 1111 |
+
823,
|
| 1112 |
+
833
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 9
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in neural information processing systems, pp. 6626–6637, 2017. ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
173,
|
| 1121 |
+
842,
|
| 1122 |
+
823,
|
| 1123 |
+
886
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 9
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "Sepp Hochreiter and Jürgen Schmidhuber. Long Short-Term Memory. Neural computation, 9(8): 1735–1780, 1997. ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
174,
|
| 1132 |
+
895,
|
| 1133 |
+
821,
|
| 1134 |
+
924
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 9
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"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):1325–1339, 2014. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
174,
|
| 1143 |
+
103,
|
| 1144 |
+
823,
|
| 1145 |
+
146
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 10
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European Conference on Computer Vision, pp. 694–711. Springer, 2016. ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
173,
|
| 1154 |
+
155,
|
| 1155 |
+
825,
|
| 1156 |
+
185
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 10
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Nal Kalchbrenner, Aäron van den Oord, Karen Simonyan, Ivo Danihelka, Oriol Vinyals, Alex Graves, and Koray Kavukcuoglu. Video pixel networks. International Conference on Machine Learning (ICML), 2017. ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
173,
|
| 1165 |
+
194,
|
| 1166 |
+
825,
|
| 1167 |
+
237
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 10
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Diederik P Kingma and Max Welling. Auto-encoding variational Bayes. Proceedings of the 2nd International Conference on Learning Representations, 2013. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
173,
|
| 1176 |
+
246,
|
| 1177 |
+
825,
|
| 1178 |
+
275
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 10
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Durk P Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. In Advances in Neural Information Processing Systems, pp. 10236–10245, 2018. ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
174,
|
| 1187 |
+
284,
|
| 1188 |
+
821,
|
| 1189 |
+
314
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 10
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoff Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems 25, pp. 1106–1114, 2012. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
173,
|
| 1198 |
+
323,
|
| 1199 |
+
823,
|
| 1200 |
+
352
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 10
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Alex X Lee, Richard Zhang, Frederik Ebert, Pieter Abbeel, Chelsea Finn, and Sergey Levine. Stochastic adversarial video prediction. arXiv preprint arXiv:1804.01523, 2018. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
173,
|
| 1209 |
+
361,
|
| 1210 |
+
823,
|
| 1211 |
+
391
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 10
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Yijun Li, Chen Fang, Jimei Yang, Zhaowen Wang, Xin Lu, and Ming-Hsuan Yang. Flow-grounded spatial-temporal video prediction from still images. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 600–615, 2018. ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
174,
|
| 1220 |
+
400,
|
| 1221 |
+
823,
|
| 1222 |
+
443
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 10
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"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. ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
171,
|
| 1231 |
+
452,
|
| 1232 |
+
823,
|
| 1233 |
+
482
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 10
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"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. ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
173,
|
| 1242 |
+
489,
|
| 1243 |
+
825,
|
| 1244 |
+
534
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 10
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond mean square error. International Conference on Learning Representations (ICLR), 2016. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
171,
|
| 1253 |
+
542,
|
| 1254 |
+
823,
|
| 1255 |
+
571
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 10
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin Riedmiller. Playing Atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602, 2013. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
174,
|
| 1264 |
+
580,
|
| 1265 |
+
825,
|
| 1266 |
+
625
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 10
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Ryan Prenger, Rafael Valle, and Bryan Catanzaro. Waveglow: A flow-based generative network for speech synthesis. CoRR, abs/1811.00002, 2018. URL http://arxiv.org/abs/1811. 00002. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
174,
|
| 1275 |
+
633,
|
| 1276 |
+
826,
|
| 1277 |
+
676
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 10
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Prajit Ramachandran, Tom Le Paine, Pooya Khorrami, Mohammad Babaeizadeh, Shiyu Chang, Yang Zhang, Mark A Hasegawa-Johnson, Roy H Campbell, and Thomas S Huang. Fast generation for convolutional autoregressive models. arXiv preprint arXiv:1704.06001, 2017. ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
174,
|
| 1286 |
+
685,
|
| 1287 |
+
826,
|
| 1288 |
+
729
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 10
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"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. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
176,
|
| 1297 |
+
738,
|
| 1298 |
+
825,
|
| 1299 |
+
781
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 10
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Scott Reed, Aäron van den Oord, Nal Kalchbrenner, Sergio Gómez Colmenarejo, Ziyu Wang, Dan Belov, and Nando de Freitas. Parallel multiscale autoregressive density estimation. arXiv preprint arXiv:1703.03664, 2017. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
173,
|
| 1308 |
+
790,
|
| 1309 |
+
825,
|
| 1310 |
+
833
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 10
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In Proceedings of The 32nd International Conference on Machine Learning, pp. 1530–1538, 2015. ",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
169,
|
| 1319 |
+
843,
|
| 1320 |
+
825,
|
| 1321 |
+
872
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 10
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "text",
|
| 1327 |
+
"text": "Danilo J Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In Proceedings of the 31st International Conference on Machine Learning (ICML-14), pp. 1278–1286, 2014. ",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
174,
|
| 1330 |
+
881,
|
| 1331 |
+
825,
|
| 1332 |
+
924
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 10
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "text",
|
| 1338 |
+
"text": "David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. Nature, 550(7676):354, 2017. ",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
179,
|
| 1341 |
+
103,
|
| 1342 |
+
823,
|
| 1343 |
+
146
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 11
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"text": "Nitish Srivastava, Elman Mansimov, and Ruslan Salakhudinov. Unsupervised learning of video representations using lstms. In International Conference on Machine Learning, 2015. ",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
173,
|
| 1352 |
+
154,
|
| 1353 |
+
823,
|
| 1354 |
+
183
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 11
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "Thomas Unterthiner, Sjoerd van Steenkiste, Karol Kurach, Raphael Marinier, Marcin Michalski, and Sylvain Gelly. Towards accurate generative models of video: A new metric & challenges, 2018. ",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
173,
|
| 1363 |
+
190,
|
| 1364 |
+
823,
|
| 1365 |
+
219
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 11
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "Aaron Van Den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016. ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
176,
|
| 1374 |
+
227,
|
| 1375 |
+
825,
|
| 1376 |
+
270
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 11
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "Aaron van den Oord, Nal Kalchbrenner, Lasse Espeholt, Oriol Vinyals, Alex Graves, et al. Conditional image generation with PixelCNN decoders. In Advances in Neural Information Processing Systems, pp. 4790–4798, 2016a. ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
174,
|
| 1385 |
+
279,
|
| 1386 |
+
823,
|
| 1387 |
+
320
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 11
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. arXiv preprint arXiv:1601.06759, 2016b. ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
171,
|
| 1396 |
+
328,
|
| 1397 |
+
825,
|
| 1398 |
+
358
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 11
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "Aaron van den Oord, Nal Kalchbrenner, Oriol Vinyals, Lasse Espeholt, Alex Graves, and Koray Kavukcuoglu. Conditional image generation with PixelCNN decoders. arXiv preprint arXiv:1606.05328, 2016c. ",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
173,
|
| 1407 |
+
364,
|
| 1408 |
+
825,
|
| 1409 |
+
409
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 11
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, pp. 5998–6008, 2017. ",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
173,
|
| 1418 |
+
416,
|
| 1419 |
+
825,
|
| 1420 |
+
459
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 11
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "text",
|
| 1426 |
+
"text": "Ashish Vaswani, Samy Bengio, Eugene Brevdo, Francois Chollet, Aidan N Gomez, Stephan Gouws, Llion Jones, Łukasz Kaiser, Nal Kalchbrenner, Niki Parmar, et al. Tensor2tensor for neural machine translation. arXiv preprint arXiv:1803.07416, 2018. ",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
174,
|
| 1429 |
+
467,
|
| 1430 |
+
825,
|
| 1431 |
+
510
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 11
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "text",
|
| 1437 |
+
"text": "Ruben Villegas, Jimei Yang, Seunghoon Hong, Xunyu Lin, and Honglak Lee. Decomposing motion and content for natural video sequence prediction. arXiv preprint arXiv:1706.08033, 2017a. ",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
169,
|
| 1440 |
+
517,
|
| 1441 |
+
825,
|
| 1442 |
+
546
|
| 1443 |
+
],
|
| 1444 |
+
"page_idx": 11
|
| 1445 |
+
},
|
| 1446 |
+
{
|
| 1447 |
+
"type": "text",
|
| 1448 |
+
"text": "Ruben Villegas, Jimei Yang, Yuliang Zou, Sungryull Sohn, Xunyu Lin, and Honglak Lee. Learning to generate long-term future via hierarchical prediction. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 3560–3569. JMLR. org, 2017b. ",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
176,
|
| 1451 |
+
554,
|
| 1452 |
+
821,
|
| 1453 |
+
598
|
| 1454 |
+
],
|
| 1455 |
+
"page_idx": 11
|
| 1456 |
+
},
|
| 1457 |
+
{
|
| 1458 |
+
"type": "text",
|
| 1459 |
+
"text": "Carl Vondrick and Antonio Torralba. Generating the future with adversarial transformers. In Computer Vision and Pattern Recognition (CVPR), 2017. ",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
171,
|
| 1462 |
+
604,
|
| 1463 |
+
823,
|
| 1464 |
+
633
|
| 1465 |
+
],
|
| 1466 |
+
"page_idx": 11
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"type": "text",
|
| 1470 |
+
"text": "Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Anticipating the future by watching unlabeled video. arXiv preprint arXiv:1504.08023, 2015. ",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
171,
|
| 1473 |
+
642,
|
| 1474 |
+
823,
|
| 1475 |
+
671
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 11
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "Jacob Walker, Abhinav Gupta, and Martial Hebert. Dense optical flow prediction from a static image. In International Conference on Computer Vision (ICCV), 2015. ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
171,
|
| 1484 |
+
678,
|
| 1485 |
+
825,
|
| 1486 |
+
708
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 11
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"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. ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
171,
|
| 1495 |
+
715,
|
| 1496 |
+
823,
|
| 1497 |
+
744
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 11
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "Jianwen Xie, Song-Chun Zhu, and Ying Nian Wu. Synthesizing dynamic patterns by spatial-temporal generative convnet. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017. ",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
173,
|
| 1506 |
+
752,
|
| 1507 |
+
825,
|
| 1508 |
+
795
|
| 1509 |
+
],
|
| 1510 |
+
"page_idx": 11
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"type": "text",
|
| 1514 |
+
"text": "Jianwen Xie, Ruiqi Gao, Zilong Zheng, Song-Chun Zhu, and Ying Nian Wu. Learning dynamic generator model by alternating back-propagation through time. Proceedings of the AAAI Conference on Artificial Intelligence, 33:5498–5507, Jul 2019. ISSN 2159-5399. doi: 10.1609/aaai.v33i01. 33015498. URL http://dx.doi.org/10.1609/aaai.v33i01.33015498. ",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
173,
|
| 1517 |
+
803,
|
| 1518 |
+
825,
|
| 1519 |
+
859
|
| 1520 |
+
],
|
| 1521 |
+
"page_idx": 11
|
| 1522 |
+
},
|
| 1523 |
+
{
|
| 1524 |
+
"type": "text",
|
| 1525 |
+
"text": "Jianwen Xie, Yang Lu, Ruiqi Gao, Song-Chun Zhu, and Ying Nian Wu. Cooperative training of descriptor and generator networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42(1):27–45, Jan 2020. ISSN 1939-3539. doi: 10.1109/tpami.2018.2879081. URL http://dx.doi.org/10.1109/TPAMI.2018.2879081. ",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
174,
|
| 1528 |
+
867,
|
| 1529 |
+
825,
|
| 1530 |
+
924
|
| 1531 |
+
],
|
| 1532 |
+
"page_idx": 11
|
| 1533 |
+
},
|
| 1534 |
+
{
|
| 1535 |
+
"type": "text",
|
| 1536 |
+
"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. ",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
178,
|
| 1539 |
+
103,
|
| 1540 |
+
825,
|
| 1541 |
+
146
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 12
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "text",
|
| 1547 |
+
"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. ",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
176,
|
| 1550 |
+
155,
|
| 1551 |
+
823,
|
| 1552 |
+
196
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 12
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "text",
|
| 1558 |
+
"text": "Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. arXiv preprint, 2018. ",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
174,
|
| 1561 |
+
205,
|
| 1562 |
+
823,
|
| 1563 |
+
234
|
| 1564 |
+
],
|
| 1565 |
+
"page_idx": 12
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"type": "text",
|
| 1569 |
+
"text": "A MOVING MNIST - QUALITATIVE EXPERIMENTS ",
|
| 1570 |
+
"text_level": 1,
|
| 1571 |
+
"bbox": [
|
| 1572 |
+
174,
|
| 1573 |
+
258,
|
| 1574 |
+
611,
|
| 1575 |
+
276
|
| 1576 |
+
],
|
| 1577 |
+
"page_idx": 12
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "image",
|
| 1581 |
+
"img_path": "images/1ae26f8204c28db75dd59209d1dcc0d6dd90682a57d18be970e0ad56f9a81cbb.jpg",
|
| 1582 |
+
"image_caption": [
|
| 1583 |
+
"Figure 8: We display ten frame rollouts conditioned on a single frame on the Moving MNIST dataset. "
|
| 1584 |
+
],
|
| 1585 |
+
"image_footnote": [],
|
| 1586 |
+
"bbox": [
|
| 1587 |
+
207,
|
| 1588 |
+
301,
|
| 1589 |
+
813,
|
| 1590 |
+
530
|
| 1591 |
+
],
|
| 1592 |
+
"page_idx": 12
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "text",
|
| 1596 |
+
"text": "Similar to the Stochastic Movement Dataset as described in Section 5.1, we extract random temporal patches of 2 frames on the Moving MNIST dataset (Srivastava et al., 2015). We train our VideoFlow model to maximize the log-likelihood of the second frame, given the first. Our rollouts over 10 frames capture realistic digit movement. ",
|
| 1597 |
+
"bbox": [
|
| 1598 |
+
174,
|
| 1599 |
+
583,
|
| 1600 |
+
825,
|
| 1601 |
+
638
|
| 1602 |
+
],
|
| 1603 |
+
"page_idx": 12
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "text",
|
| 1607 |
+
"text": "B HUMAN3.6M - QUALITATIVE EXPERIMENTS ",
|
| 1608 |
+
"text_level": 1,
|
| 1609 |
+
"bbox": [
|
| 1610 |
+
174,
|
| 1611 |
+
659,
|
| 1612 |
+
578,
|
| 1613 |
+
676
|
| 1614 |
+
],
|
| 1615 |
+
"page_idx": 12
|
| 1616 |
+
},
|
| 1617 |
+
{
|
| 1618 |
+
"type": "text",
|
| 1619 |
+
"text": "We model the Human3.6M dataset (Ionescu et al., 2014), by maximizing the log-likelihood of the 4th frame given the first three frames, in a random temporal patch of 4 frames. We observe that on this dataset, our model fails to capture reasonable human motion. We hope that by increasing model capacity and using more expressive priors, we can acheive better performance on this dataset in the future. ",
|
| 1620 |
+
"bbox": [
|
| 1621 |
+
174,
|
| 1622 |
+
690,
|
| 1623 |
+
825,
|
| 1624 |
+
761
|
| 1625 |
+
],
|
| 1626 |
+
"page_idx": 12
|
| 1627 |
+
},
|
| 1628 |
+
{
|
| 1629 |
+
"type": "text",
|
| 1630 |
+
"text": "C DISCRETIZATION AND UNIFORM QUANTIZATION ",
|
| 1631 |
+
"text_level": 1,
|
| 1632 |
+
"bbox": [
|
| 1633 |
+
174,
|
| 1634 |
+
781,
|
| 1635 |
+
612,
|
| 1636 |
+
797
|
| 1637 |
+
],
|
| 1638 |
+
"page_idx": 12
|
| 1639 |
+
},
|
| 1640 |
+
{
|
| 1641 |
+
"type": "text",
|
| 1642 |
+
"text": "Let $\\mathcal { D } = \\{ \\mathbf { x } ^ { ( i ) } \\} _ { i = 1 } ^ { N }$ be our dataset of i.i.d. observations of a random variable $\\mathbf { x }$ with an unknown true distribution $p ^ { * } ( \\mathbf { x } )$ . Our data consist of 8-bit videos, with each dimension rescaled to the domain $[ 0 , 2 5 5 / 2 5 6 ]$ . We add a small amount of uniform noise to the data, $\\mathbf { u } \\sim \\mathcal { U } ( 0 , 1 / 2 5 6 . )$ , matching its discretization level (Dinh et al., 2016; Kingma & Dhariwal, 2018). Let $q ( \\mathbf { x } )$ be the resulting empirical distribution corresponding to this scaling and addition of noise. Note that additive noise is required to prevent $q ( \\mathbf { x } )$ from having infinite densities at the datapoints, which can result in ill-behaved optimization of the log-likelihood; it also allows us to recast maximization of the log-likelihood as minimization of a KL divergence. ",
|
| 1643 |
+
"bbox": [
|
| 1644 |
+
174,
|
| 1645 |
+
810,
|
| 1646 |
+
825,
|
| 1647 |
+
924
|
| 1648 |
+
],
|
| 1649 |
+
"page_idx": 12
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"type": "image",
|
| 1653 |
+
"img_path": "images/0b91185728f0b682c869ab816f2e0acfa8d631d2f9f9401e63f3241c1bc2e2cc.jpg",
|
| 1654 |
+
"image_caption": [
|
| 1655 |
+
"Figure 9: We display ten frame rollouts conditioned on 3 frames on the Human3.6M dataset. "
|
| 1656 |
+
],
|
| 1657 |
+
"image_footnote": [],
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
207,
|
| 1660 |
+
108,
|
| 1661 |
+
823,
|
| 1662 |
+
328
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 13
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "text",
|
| 1668 |
+
"text": "D RESIDUAL NETWORK ARCHITECTURE ",
|
| 1669 |
+
"text_level": 1,
|
| 1670 |
+
"bbox": [
|
| 1671 |
+
173,
|
| 1672 |
+
400,
|
| 1673 |
+
522,
|
| 1674 |
+
416
|
| 1675 |
+
],
|
| 1676 |
+
"page_idx": 13
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"type": "text",
|
| 1680 |
+
"text": "Here we’ll describe the architecture for the residual network N Nθ() that maps z(l)<t, z(>t to $( \\mu _ { t } ^ { ( l ) } , \\log \\sigma _ { t } ^ { ( l ) } )$ (Left: Figure 10). As shown in the left of Figure 10, let $\\mathbf { h } _ { t } ^ { ( > l ) }$ be the tensor representing $\\mathbf { z } _ { t } ^ { ( > l ) }$ after the split operation between levels in the multi-scale architecture. We apply a $1 \\times 1$ convolution over $\\mathbf { h } _ { t } ^ { ( > l ) }$ and concatenate this across channels to each laobtain $( ( W \\mathbf { h } _ { t } ^ { ( > l ) } ; \\mathbf { z } _ { t - 1 } ^ { ( l ) } ) , ( W \\mathbf { h } _ { t } ^ { ( > l ) } ; \\mathbf { z } _ { t - 2 } ^ { ( l ) } ) \\cdot \\cdot \\cdot ( W \\mathbf { h } _ { t } ^ { ( > l ) } ; \\mathbf { z } _ { t - n } ^ { ( l ) } ) )$ l independently. In this way, we. We transform these values into $( \\mu _ { t } ^ { ( l ) } , \\log \\sigma _ { t } ^ { ( l ) } )$ via a stack of residual blocks. We obtain a reduction in parameter count by sharing parameters across every 2 time-steps via 3-D convolutions in our residual blocks. ",
|
| 1681 |
+
"bbox": [
|
| 1682 |
+
173,
|
| 1683 |
+
431,
|
| 1684 |
+
825,
|
| 1685 |
+
564
|
| 1686 |
+
],
|
| 1687 |
+
"page_idx": 13
|
| 1688 |
+
},
|
| 1689 |
+
{
|
| 1690 |
+
"type": "text",
|
| 1691 |
+
"text": "As shown in the right of Figure 10, each 3-D residual block consists of three layers. The first layer has a filter size of $2 \\mathrm { x } 3 \\mathrm { x } 3 $ with 512 output channels followed by a ReLU activation. The second layer has two $1 \\times 1 \\times 1$ convolutions via the Gated Activation Unit Van Den Oord et al. (2016); van den Oord et al. (2016a). The third layer has a filter size of $2 \\times 3 \\times 3$ with the number of output channels determined by the level. This block is replicated three times in parallel, with dilation rates 1, 2 and 4, after which the results of each block, in addition to the input of the residual block, are summed. ",
|
| 1692 |
+
"bbox": [
|
| 1693 |
+
174,
|
| 1694 |
+
570,
|
| 1695 |
+
825,
|
| 1696 |
+
655
|
| 1697 |
+
],
|
| 1698 |
+
"page_idx": 13
|
| 1699 |
+
},
|
| 1700 |
+
{
|
| 1701 |
+
"type": "text",
|
| 1702 |
+
"text": "The first two layers are initialized using a Gaussian distribution and the last layer is initialized to zeroes. In that way, the residual network behaves as an identity network during initialization allowing stable optimization. After applying a sequence of residual blocks, we use the last temporal activation that should capture all context. We apply a final $1 \\times 1$ convolution to this activation to obtain $( \\Delta \\mathbf { z } _ { t } ^ { ( l ) } , \\log \\sigma _ { t } ^ { ( l ) } )$ . We then add $\\Delta \\mathbf { z } _ { t } ^ { ( l ) }$ to $\\mathbf { z } _ { t - 1 } ^ { ( l ) }$ to a temporal skip connection to output $\\mu _ { t } ^ { ( l ) }$ . This way, the network learns to predict the change in latent variables for a given level. We have provided visualizations of the network architecture in this website ",
|
| 1703 |
+
"bbox": [
|
| 1704 |
+
174,
|
| 1705 |
+
661,
|
| 1706 |
+
825,
|
| 1707 |
+
762
|
| 1708 |
+
],
|
| 1709 |
+
"page_idx": 13
|
| 1710 |
+
},
|
| 1711 |
+
{
|
| 1712 |
+
"type": "text",
|
| 1713 |
+
"text": "E ABLATION STUDIES ",
|
| 1714 |
+
"text_level": 1,
|
| 1715 |
+
"bbox": [
|
| 1716 |
+
176,
|
| 1717 |
+
785,
|
| 1718 |
+
375,
|
| 1719 |
+
801
|
| 1720 |
+
],
|
| 1721 |
+
"page_idx": 13
|
| 1722 |
+
},
|
| 1723 |
+
{
|
| 1724 |
+
"type": "text",
|
| 1725 |
+
"text": "Through an ablation study, we experimentally evaluate the importance of the following components of our VideoFlow model: (1) the use of temporal skip connections, (2) the use Gated Activation Unit (GATU) instead of ReLUs in the residual network and (3) the use of dilations in $N N _ { \\pmb \\theta } ( \\pmb )$ in Section D ",
|
| 1726 |
+
"bbox": [
|
| 1727 |
+
174,
|
| 1728 |
+
819,
|
| 1729 |
+
825,
|
| 1730 |
+
861
|
| 1731 |
+
],
|
| 1732 |
+
"page_idx": 13
|
| 1733 |
+
},
|
| 1734 |
+
{
|
| 1735 |
+
"type": "text",
|
| 1736 |
+
"text": "We start with a VideoFlow model with 256 channels in the coupling layer, 16 steps of flow and remove the components mentioned above to create our baseline. We use four different combinations of our components (described in Fig. 11) and keep the rest of the hyperparameters fixed across those combinations. For each combination we plot the mean bits-per-pixel on the holdout BAIR-action free dataset over $3 0 0 \\mathrm { K }$ training steps for both affine and additive coupling in Figure 11. For both the coupling layers, we observe that the VideoFlow model with all the components provide a significant boost in bits-per-pixel over our baseline. ",
|
| 1737 |
+
"bbox": [
|
| 1738 |
+
174,
|
| 1739 |
+
867,
|
| 1740 |
+
823,
|
| 1741 |
+
924
|
| 1742 |
+
],
|
| 1743 |
+
"page_idx": 13
|
| 1744 |
+
},
|
| 1745 |
+
{
|
| 1746 |
+
"type": "image",
|
| 1747 |
+
"img_path": "images/5c62f7722b1bac9a52aaa15acab7092dd9e004f373701395b671ba2a6b7d000b.jpg",
|
| 1748 |
+
"image_caption": [
|
| 1749 |
+
"Figure 10: Left: We predict a gaussian distribution over $\\mathbf { z } _ { t } ^ { ( l ) }$ via a 3-D Residual network conditioned on $\\mathbf { z } _ { < t } ^ { ( l ) }$ and $\\mathbf { z } _ { t } ^ { ( > l ) }$ . Right: Our 3-D residual network architecture is augmented with dilations and gated activation units improving performance. "
|
| 1750 |
+
],
|
| 1751 |
+
"image_footnote": [],
|
| 1752 |
+
"bbox": [
|
| 1753 |
+
263,
|
| 1754 |
+
98,
|
| 1755 |
+
820,
|
| 1756 |
+
392
|
| 1757 |
+
],
|
| 1758 |
+
"page_idx": 14
|
| 1759 |
+
},
|
| 1760 |
+
{
|
| 1761 |
+
"type": "text",
|
| 1762 |
+
"text": "",
|
| 1763 |
+
"bbox": [
|
| 1764 |
+
174,
|
| 1765 |
+
484,
|
| 1766 |
+
825,
|
| 1767 |
+
527
|
| 1768 |
+
],
|
| 1769 |
+
"page_idx": 14
|
| 1770 |
+
},
|
| 1771 |
+
{
|
| 1772 |
+
"type": "image",
|
| 1773 |
+
"img_path": "images/7a3a293bf33b4240af6209c8aba92fa7184ba01c0c8b6a6a636b8cac0096329f.jpg",
|
| 1774 |
+
"image_caption": [
|
| 1775 |
+
"Figure 11: B: baseline, A: Temporal Skip Connection, C: Dilated Convolutions $^ +$ GATU, D: Dilation Convolutions $^ +$ Temporal Skip Connection, E: Dilation Convolutions $^ +$ Temporal Skip Connection $^ +$ GATU. We plot the holdout bits-per-pixel on the BAIR action-free dataset for different ablations of our VideoFlow model. "
|
| 1776 |
+
],
|
| 1777 |
+
"image_footnote": [],
|
| 1778 |
+
"bbox": [
|
| 1779 |
+
191,
|
| 1780 |
+
547,
|
| 1781 |
+
754,
|
| 1782 |
+
693
|
| 1783 |
+
],
|
| 1784 |
+
"page_idx": 14
|
| 1785 |
+
},
|
| 1786 |
+
{
|
| 1787 |
+
"type": "text",
|
| 1788 |
+
"text": "We also note that other combinations—dilated convolutions $+ \\mathrm { G A T U }$ (C) and dilated convolutions $^ +$ the temporal skip connection —improve over the baseline. Finally, we experienced that increasing the receptive field in $N N _ { \\pmb \\theta } ( \\pmb )$ using dilated convolutions alone in the absence of the temporal skip connection or the GATU makes training highly unstable. ",
|
| 1789 |
+
"bbox": [
|
| 1790 |
+
173,
|
| 1791 |
+
773,
|
| 1792 |
+
825,
|
| 1793 |
+
830
|
| 1794 |
+
],
|
| 1795 |
+
"page_idx": 14
|
| 1796 |
+
},
|
| 1797 |
+
{
|
| 1798 |
+
"type": "text",
|
| 1799 |
+
"text": "F EFFECT OF TEMPERATURE ON SAVP-VAE AND SV2P",
|
| 1800 |
+
"text_level": 1,
|
| 1801 |
+
"bbox": [
|
| 1802 |
+
176,
|
| 1803 |
+
849,
|
| 1804 |
+
655,
|
| 1805 |
+
866
|
| 1806 |
+
],
|
| 1807 |
+
"page_idx": 14
|
| 1808 |
+
},
|
| 1809 |
+
{
|
| 1810 |
+
"type": "text",
|
| 1811 |
+
"text": "We repeat our evaluations described in Figure 4 applying low temperature to the latent gaussian priors of SV2P and SAVP-VAE. We empirically find that decreasing temperature from 1.0 to 0.0 monotonically decreases the performance of the VAE models. Our insight is that the VideoFlow model gains by low-temperature sampling due to the following reason. At lower T, we obtain a tradeoff between a performance gain by noise removal from the background and a performance hit due to reduced stochasticity of the robot arm. On the other hand, the VAE models have a clear but slightly blurry background throughout from $T = 1 . 0$ to $T = 0 . 0$ . Reducing T in this case, solely reduces the stochasticity of the arm motion thus hurting performance. ",
|
| 1812 |
+
"bbox": [
|
| 1813 |
+
176,
|
| 1814 |
+
882,
|
| 1815 |
+
825,
|
| 1816 |
+
924
|
| 1817 |
+
],
|
| 1818 |
+
"page_idx": 14
|
| 1819 |
+
},
|
| 1820 |
+
{
|
| 1821 |
+
"type": "image",
|
| 1822 |
+
"img_path": "images/5bb63061df6ae8787f040753d2efd8153f7bb8335a1c7b8d8c4686ae0fbd1cb8.jpg",
|
| 1823 |
+
"image_caption": [
|
| 1824 |
+
"Figure 12: We repeat our evaluations described on the SV2P and SAVP-VAE model in Figure 4 using temperatures from 0.0 to 1.0 while sampling from the latent gaussian prior. "
|
| 1825 |
+
],
|
| 1826 |
+
"image_footnote": [],
|
| 1827 |
+
"bbox": [
|
| 1828 |
+
181,
|
| 1829 |
+
99,
|
| 1830 |
+
754,
|
| 1831 |
+
377
|
| 1832 |
+
],
|
| 1833 |
+
"page_idx": 15
|
| 1834 |
+
},
|
| 1835 |
+
{
|
| 1836 |
+
"type": "text",
|
| 1837 |
+
"text": "",
|
| 1838 |
+
"bbox": [
|
| 1839 |
+
174,
|
| 1840 |
+
454,
|
| 1841 |
+
825,
|
| 1842 |
+
525
|
| 1843 |
+
],
|
| 1844 |
+
"page_idx": 15
|
| 1845 |
+
},
|
| 1846 |
+
{
|
| 1847 |
+
"type": "text",
|
| 1848 |
+
"text": "G LIKELIHOOD VS QUALITY ",
|
| 1849 |
+
"text_level": 1,
|
| 1850 |
+
"bbox": [
|
| 1851 |
+
176,
|
| 1852 |
+
553,
|
| 1853 |
+
426,
|
| 1854 |
+
570
|
| 1855 |
+
],
|
| 1856 |
+
"page_idx": 15
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "image",
|
| 1860 |
+
"img_path": "images/d738542bde975a00b392ea89c391243f5b3697e11cff5cdb08c216e539cfd2cc.jpg",
|
| 1861 |
+
"image_caption": [
|
| 1862 |
+
"Figure 13: We provide a comparison between training progression (measured in the mean bits-per-pixel objective on the test-set) and the quality of generated videos. "
|
| 1863 |
+
],
|
| 1864 |
+
"image_footnote": [],
|
| 1865 |
+
"bbox": [
|
| 1866 |
+
339,
|
| 1867 |
+
608,
|
| 1868 |
+
655,
|
| 1869 |
+
790
|
| 1870 |
+
],
|
| 1871 |
+
"page_idx": 15
|
| 1872 |
+
},
|
| 1873 |
+
{
|
| 1874 |
+
"type": "text",
|
| 1875 |
+
"text": "We show correlation between training progression (measured in bits per pixel) and quality of the generated videos in Figure 13. We display the videos generated by conditioning on frames from the test set for three different values of bits-per-pixel on the test-set. As we approach lower bits-per-pixel, our VideoFlow model learns to model the structure of the arm with high quality as well as its motion resulting in high quality video. ",
|
| 1876 |
+
"bbox": [
|
| 1877 |
+
174,
|
| 1878 |
+
853,
|
| 1879 |
+
825,
|
| 1880 |
+
924
|
| 1881 |
+
],
|
| 1882 |
+
"page_idx": 15
|
| 1883 |
+
},
|
| 1884 |
+
{
|
| 1885 |
+
"type": "text",
|
| 1886 |
+
"text": "H VIDEOFLOW - BAIR HYPERPARAMETERS ",
|
| 1887 |
+
"text_level": 1,
|
| 1888 |
+
"bbox": [
|
| 1889 |
+
173,
|
| 1890 |
+
102,
|
| 1891 |
+
560,
|
| 1892 |
+
118
|
| 1893 |
+
],
|
| 1894 |
+
"page_idx": 16
|
| 1895 |
+
},
|
| 1896 |
+
{
|
| 1897 |
+
"type": "text",
|
| 1898 |
+
"text": "H.1 QUANTITATIVE - BITS-PER-PIXEL ",
|
| 1899 |
+
"text_level": 1,
|
| 1900 |
+
"bbox": [
|
| 1901 |
+
176,
|
| 1902 |
+
136,
|
| 1903 |
+
450,
|
| 1904 |
+
151
|
| 1905 |
+
],
|
| 1906 |
+
"page_idx": 16
|
| 1907 |
+
},
|
| 1908 |
+
{
|
| 1909 |
+
"type": "text",
|
| 1910 |
+
"text": "To report bits-per-pixel we use the following set of hyperparameters. We use a learning rate schedule of linear warmup for the first 10000 steps and apply a linear-decay schedule for the last 150000 steps. ",
|
| 1911 |
+
"bbox": [
|
| 1912 |
+
169,
|
| 1913 |
+
165,
|
| 1914 |
+
825,
|
| 1915 |
+
194
|
| 1916 |
+
],
|
| 1917 |
+
"page_idx": 16
|
| 1918 |
+
},
|
| 1919 |
+
{
|
| 1920 |
+
"type": "table",
|
| 1921 |
+
"img_path": "images/887e7afd2b01320b3d4a3bdfb4b1e204a86fe6bcfac2a07d98dd20fd6a2217c4.jpg",
|
| 1922 |
+
"table_caption": [],
|
| 1923 |
+
"table_footnote": [],
|
| 1924 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Hyperparameter</td><td rowspan=1 colspan=1>Value</td></tr><tr><td rowspan=1 colspan=1>Flow levels</td><td rowspan=1 colspan=1>3</td></tr><tr><td rowspan=1 colspan=1>Flow steps per level</td><td rowspan=1 colspan=1>24</td></tr><tr><td rowspan=1 colspan=1>Coupling</td><td rowspan=1 colspan=1>Affine</td></tr><tr><td rowspan=1 colspan=1>Number of coupling layer channels</td><td rowspan=1 colspan=1>512</td></tr><tr><td rowspan=1 colspan=1>Optimier</td><td rowspan=1 colspan=1>Adam</td></tr><tr><td rowspan=1 colspan=1>Batch size</td><td rowspan=1 colspan=1>40</td></tr><tr><td rowspan=1 colspan=1>Learning rate</td><td rowspan=1 colspan=1>3e-4</td></tr><tr><td rowspan=1 colspan=1>Number of 3-D residual blocks</td><td rowspan=1 colspan=1>5</td></tr><tr><td rowspan=1 colspan=1>Numberof 3-D residualchannels</td><td rowspan=1 colspan=1>256</td></tr><tr><td rowspan=1 colspan=1>Training steps</td><td rowspan=1 colspan=1>600K</td></tr></table>",
|
| 1925 |
+
"bbox": [
|
| 1926 |
+
341,
|
| 1927 |
+
210,
|
| 1928 |
+
655,
|
| 1929 |
+
371
|
| 1930 |
+
],
|
| 1931 |
+
"page_idx": 16
|
| 1932 |
+
},
|
| 1933 |
+
{
|
| 1934 |
+
"type": "text",
|
| 1935 |
+
"text": "H.2 QUALITATIVE EXPERIMENTS ",
|
| 1936 |
+
"text_level": 1,
|
| 1937 |
+
"bbox": [
|
| 1938 |
+
174,
|
| 1939 |
+
392,
|
| 1940 |
+
419,
|
| 1941 |
+
407
|
| 1942 |
+
],
|
| 1943 |
+
"page_idx": 16
|
| 1944 |
+
},
|
| 1945 |
+
{
|
| 1946 |
+
"type": "text",
|
| 1947 |
+
"text": "For all qualitative experiments and quantitative comparisons with the baselines, we used the following sets of hyperparameters. ",
|
| 1948 |
+
"bbox": [
|
| 1949 |
+
174,
|
| 1950 |
+
420,
|
| 1951 |
+
823,
|
| 1952 |
+
449
|
| 1953 |
+
],
|
| 1954 |
+
"page_idx": 16
|
| 1955 |
+
},
|
| 1956 |
+
{
|
| 1957 |
+
"type": "table",
|
| 1958 |
+
"img_path": "images/e1df5f83cf4b56c7fd68944789e4f0156c3f0e68fff6d4a12362c545aefcf253.jpg",
|
| 1959 |
+
"table_caption": [],
|
| 1960 |
+
"table_footnote": [],
|
| 1961 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Hyperparameter</td><td rowspan=1 colspan=1>Value</td></tr><tr><td rowspan=1 colspan=1>Flowlevels</td><td rowspan=1 colspan=1>3</td></tr><tr><td rowspan=1 colspan=1>Flow steps per level</td><td rowspan=1 colspan=1>24</td></tr><tr><td rowspan=1 colspan=1>Coupling</td><td rowspan=1 colspan=1>Additive</td></tr><tr><td rowspan=1 colspan=1>Number of coupling layer channels</td><td rowspan=1 colspan=1>392</td></tr><tr><td rowspan=1 colspan=1>Optimier</td><td rowspan=1 colspan=1>Adam</td></tr><tr><td rowspan=1 colspan=1>Batch size</td><td rowspan=1 colspan=1>40</td></tr><tr><td rowspan=1 colspan=1>Learning rate</td><td rowspan=1 colspan=1>3e-4</td></tr><tr><td rowspan=1 colspan=1>Numberof 3-D residualblocks</td><td rowspan=1 colspan=1>5</td></tr><tr><td rowspan=1 colspan=1>Number of 3-D residual channels</td><td rowspan=1 colspan=1>256</td></tr><tr><td rowspan=1 colspan=1>Training steps</td><td rowspan=1 colspan=1>500K</td></tr></table>",
|
| 1962 |
+
"bbox": [
|
| 1963 |
+
334,
|
| 1964 |
+
465,
|
| 1965 |
+
663,
|
| 1966 |
+
626
|
| 1967 |
+
],
|
| 1968 |
+
"page_idx": 16
|
| 1969 |
+
},
|
| 1970 |
+
{
|
| 1971 |
+
"type": "text",
|
| 1972 |
+
"text": "I HYPERPARAMETER GRID FOR THE BASELINE VIDEO MODELS.",
|
| 1973 |
+
"text_level": 1,
|
| 1974 |
+
"bbox": [
|
| 1975 |
+
171,
|
| 1976 |
+
650,
|
| 1977 |
+
712,
|
| 1978 |
+
665
|
| 1979 |
+
],
|
| 1980 |
+
"page_idx": 16
|
| 1981 |
+
},
|
| 1982 |
+
{
|
| 1983 |
+
"type": "text",
|
| 1984 |
+
"text": "We train all our baseline models for 300K steps using the Adam optimizer. Our models were tuned using the maximum VGG cosine similarity metric with the ground-truth across 100 decodes. ",
|
| 1985 |
+
"bbox": [
|
| 1986 |
+
173,
|
| 1987 |
+
684,
|
| 1988 |
+
823,
|
| 1989 |
+
712
|
| 1990 |
+
],
|
| 1991 |
+
"page_idx": 16
|
| 1992 |
+
},
|
| 1993 |
+
{
|
| 1994 |
+
"type": "text",
|
| 1995 |
+
"text": "SAVP-VAE and SV2P: We use three values of latent loss multiplier 1e-3, 1e-4 and 1e-5. For the SAVP-VAE model, we additionally apply linear decay on the learning rate for the last 100K steps. SAVP-GAN: We tune the gan loss multiplier and the learning rate on a logscale from 1e-2 to 1e-4 and 1e-3 to 1e-5 respectively. ",
|
| 1996 |
+
"bbox": [
|
| 1997 |
+
169,
|
| 1998 |
+
718,
|
| 1999 |
+
826,
|
| 2000 |
+
775
|
| 2001 |
+
],
|
| 2002 |
+
"page_idx": 16
|
| 2003 |
+
},
|
| 2004 |
+
{
|
| 2005 |
+
"type": "text",
|
| 2006 |
+
"text": "J CORRELATION BETWEEN VGG PERCEPTUAL SIMILARITY AND BITS-PER-PIXEL ",
|
| 2007 |
+
"text_level": 1,
|
| 2008 |
+
"bbox": [
|
| 2009 |
+
173,
|
| 2010 |
+
800,
|
| 2011 |
+
722,
|
| 2012 |
+
834
|
| 2013 |
+
],
|
| 2014 |
+
"page_idx": 16
|
| 2015 |
+
},
|
| 2016 |
+
{
|
| 2017 |
+
"type": "text",
|
| 2018 |
+
"text": "We plot correlation between cosine similarity using a pretrained VGG network and bits-per-pixel using our trained VideoFlow model. We compare $\\bar { \\mathcal { P } } ( X _ { 4 } ^ { - } = X _ { t } | X _ { < 4 } )$ as done in Section 5.5 and the VGG cosine similarity between $X _ { 4 }$ and $X _ { t }$ for $t = 4 \\dots 1 3$ . We report our results for every video in the test set in Figure 15. We notice a weak correlation between VGG perceptual metrics and bits-per-pixel with a correlation factor of $- 0 . 5 1$ . ",
|
| 2019 |
+
"bbox": [
|
| 2020 |
+
174,
|
| 2021 |
+
853,
|
| 2022 |
+
825,
|
| 2023 |
+
924
|
| 2024 |
+
],
|
| 2025 |
+
"page_idx": 16
|
| 2026 |
+
},
|
| 2027 |
+
{
|
| 2028 |
+
"type": "image",
|
| 2029 |
+
"img_path": "images/92700e01fc04c693d4825d020ac49caa2609059e9174954bcaf7e0480c1bdb49.jpg",
|
| 2030 |
+
"image_caption": [
|
| 2031 |
+
"Figure 14: We compare $\\mathcal { P } ( X _ { 4 } = X _ { t } \\vert X _ { < 4 } )$ and VGG cosine similarity between $X _ { 4 }$ and $X _ { t }$ for $t = 4 \\dots 1 3$ "
|
| 2032 |
+
],
|
| 2033 |
+
"image_footnote": [],
|
| 2034 |
+
"bbox": [
|
| 2035 |
+
343,
|
| 2036 |
+
112,
|
| 2037 |
+
630,
|
| 2038 |
+
289
|
| 2039 |
+
],
|
| 2040 |
+
"page_idx": 17
|
| 2041 |
+
},
|
| 2042 |
+
{
|
| 2043 |
+
"type": "text",
|
| 2044 |
+
"text": "K VIDEOFLOW: LOW PARAMETER REGIME ",
|
| 2045 |
+
"text_level": 1,
|
| 2046 |
+
"bbox": [
|
| 2047 |
+
174,
|
| 2048 |
+
340,
|
| 2049 |
+
547,
|
| 2050 |
+
356
|
| 2051 |
+
],
|
| 2052 |
+
"page_idx": 17
|
| 2053 |
+
},
|
| 2054 |
+
{
|
| 2055 |
+
"type": "text",
|
| 2056 |
+
"text": "We repeated our evaluations described in Figure 4, with a smaller version of our VideoFlow model with $4 \\mathbf { x }$ parameter reduction. Our model remains competetive with SVG-LP on the VGG perceptual metrics. ",
|
| 2057 |
+
"bbox": [
|
| 2058 |
+
174,
|
| 2059 |
+
371,
|
| 2060 |
+
825,
|
| 2061 |
+
412
|
| 2062 |
+
],
|
| 2063 |
+
"page_idx": 17
|
| 2064 |
+
},
|
| 2065 |
+
{
|
| 2066 |
+
"type": "image",
|
| 2067 |
+
"img_path": "images/c076a1a61ad38e20102a452d42cf85215f6e6f8034a16c569e2e4227bb7e7cc0.jpg",
|
| 2068 |
+
"image_caption": [
|
| 2069 |
+
"Figure 15: We repeat our evaluations described in Figure 4 with a smaller version of our VideoFlow model. "
|
| 2070 |
+
],
|
| 2071 |
+
"image_footnote": [],
|
| 2072 |
+
"bbox": [
|
| 2073 |
+
338,
|
| 2074 |
+
428,
|
| 2075 |
+
656,
|
| 2076 |
+
597
|
| 2077 |
+
],
|
| 2078 |
+
"page_idx": 17
|
| 2079 |
+
}
|
| 2080 |
+
]
|
parse/train/rJgUfTEYvH/rJgUfTEYvH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rJgUfTEYvH/rJgUfTEYvH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vlm/dev/09hVcSDkea/0.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/1.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/10.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/11.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/12.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/13.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/14.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/15.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/16.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/17.png
ADDED
|
Git LFS Details
|
vlm/dev/09hVcSDkea/2.png
ADDED
|
Git LFS Details
|