Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/Jnspzp-oIZE/Jnspzp-oIZE.md +276 -0
- parse/train/Jnspzp-oIZE/Jnspzp-oIZE_content_list.json +1432 -0
- parse/train/Jnspzp-oIZE/Jnspzp-oIZE_middle.json +0 -0
- parse/train/Jnspzp-oIZE/Jnspzp-oIZE_model.json +0 -0
- parse/train/K6y77KRUowQ/K6y77KRUowQ.md +288 -0
- parse/train/K6y77KRUowQ/K6y77KRUowQ_content_list.json +1229 -0
- parse/train/K6y77KRUowQ/K6y77KRUowQ_middle.json +0 -0
- parse/train/K6y77KRUowQ/K6y77KRUowQ_model.json +0 -0
- parse/train/KJ5h-yfUHa/KJ5h-yfUHa.md +272 -0
- parse/train/KJ5h-yfUHa/KJ5h-yfUHa_content_list.json +1209 -0
- parse/train/KJ5h-yfUHa/KJ5h-yfUHa_middle.json +0 -0
- parse/train/KJ5h-yfUHa/KJ5h-yfUHa_model.json +0 -0
- parse/train/SJg9z6VFDr/SJg9z6VFDr.md +601 -0
- parse/train/SJg9z6VFDr/SJg9z6VFDr_content_list.json +0 -0
- parse/train/SJg9z6VFDr/SJg9z6VFDr_middle.json +0 -0
- parse/train/SJg9z6VFDr/SJg9z6VFDr_model.json +0 -0
- parse/train/rylNH20qFQ/rylNH20qFQ.md +331 -0
- parse/train/rylNH20qFQ/rylNH20qFQ_content_list.json +1815 -0
- parse/train/rylNH20qFQ/rylNH20qFQ_middle.json +0 -0
- parse/train/rylNH20qFQ/rylNH20qFQ_model.json +0 -0
parse/train/Jnspzp-oIZE/Jnspzp-oIZE.md
ADDED
|
@@ -0,0 +1,276 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GAUGE EQUIVARIANT MESH CNNS ANISOTROPIC CONVOLUTIONS ON GEOMETRIC GRAPHS
|
| 2 |
+
|
| 3 |
+
Pim de Haan∗ Qualcomm AI Research† University of Amsterdam
|
| 4 |
+
|
| 5 |
+
Taco Cohen Qualcomm AI Research
|
| 6 |
+
|
| 7 |
+
Maurice Weiler∗ QUVA Lab University of Amsterdam
|
| 8 |
+
|
| 9 |
+
Max Welling Qualcomm AI Research University of Amsterdam
|
| 10 |
+
|
| 11 |
+
# ABSTRACT
|
| 12 |
+
|
| 13 |
+
A common approach to define convolutions on meshes is to interpret them as a graph and apply graph convolutional networks (GCNs). Such GCNs utilize isotropic kernels and are therefore insensitive to the relative orientation of vertices and thus to the geometry of the mesh as a whole. We propose Gauge Equivariant Mesh CNNs which generalize GCNs to apply anisotropic gauge equivariant kernels. Since the resulting features carry orientation information, we introduce a geometric message passing scheme defined by parallel transporting features over mesh edges. Our experiments validate the significantly improved expressivity of the proposed model over conventional GCNs and other methods.
|
| 14 |
+
|
| 15 |
+
# 1 INTRODUCTION
|
| 16 |
+
|
| 17 |
+
Convolutional neural networks (CNNs) have been established as the default method for many machine learning tasks like speech recognition or planar and volumetric image classification and segmentation. Most CNNs are restricted to flat or spherical geometries, where convolutions are easily defined and optimized implementations are available. The empirical success of CNNs on such spaces has generated interest to generalize convolutions to more general spaces like graphs or Riemannian manifolds, creating a field now known as geometric deep learning (Bronstein et al., 2017).
|
| 18 |
+
|
| 19 |
+
A case of specific interest is convolution on meshes, the discrete analog of 2-dimensional embedded Riemannian manifolds. Mesh CNNs can be applied to tasks such as detecting shapes, registering different poses of the same shape and shape segmentation. If we forget the positions of vertices, and which vertices form faces, a mesh $M$ can be represented by a graph $\mathcal { G }$ . This allows for the application of graph convolutional networks (GCNs) to processing signals on meshes.
|
| 20 |
+
|
| 21 |
+
Figure 1: Two local neighbourhoods around vertices $p$ and their representations in the tangent planes $T _ { p } M$ . The distinct geometry of the neighbourhoods is reflected in the different angles $\theta _ { p q _ { i } }$ of incident edges from neighbours $q _ { i }$ . Graph convolutional networks apply isotropic kernels and can therefore not distinguish both neighbourhoods. Gauge Equivariant Mesh CNNs apply anisotropic kernels and are therefore sensitive to orientations. The arbitrariness of reference orientations, determined by a choice of neighbour $q _ { 0 }$ , is accounted for by the gauge equivariance of the model.
|
| 22 |
+
|
| 23 |
+
However, when representing a mesh by a graph, we lose important geometrical information. In particular, in a graph there is no notion of angle between or ordering of two of a node’s incident edges (see figure 1). Hence, a GCNs output at a node $p$ is designed to be independent of relative angles and invariant to any permutation of its neighbours $q _ { i } \in \bar { \mathcal { N } } ( p )$ . A graph convolution on a mesh graph therefore corresponds to applying an isotropic convolution kernel. Isotropic filters are insensitive to the orientation of input patterns, so their features are strictly less expressive than those of orientation aware anisotropic filters.
|
| 24 |
+
|
| 25 |
+
To address this limitation of graph networks we propose Gauge Equivariant Mesh CNNs (GEM-CNN), which minimally modify GCNs such that they are able to use anisotropic filters while sharing weights across different positions and respecting the local geometry. One obstacle in sharing anisotropic kernels, which are functions of the angle $\theta _ { p q }$ of neighbour $q$ with respect to vertex $p$ , over multiple vertices of a mesh is that there is no unique way of selecting a reference neighbour $q _ { 0 }$ , which has the direction $\theta _ { p q _ { 0 } } = 0$ . The reference neighbour, and hence the orientation of the neighbours, needs to be chosen arbitrarily. In order to guarantee the equivalence of the features resulting from different choices of orientations, we adapt Gauge Equivariant CNNs (Cohen et al., 2019b) to general meshes. The kernels of our model are thus designed to be equivariant under gauge transformations, that is, to guarantee that the responses for different kernel orientations are related by a prespecified transformation law. Such features are identified as geometric objects like scalars, vectors, tensors, etc., depending on the specific choice of transformation law. In order to compare such geometric features at neighbouring vertices, they need to be parallel transported along the connecting edge.
|
| 26 |
+
|
| 27 |
+
In our implementation we first specify the transformation laws of the feature spaces and compute a space of gauge equivariant kernels. Then we pick arbitrary reference orientations at each node, relative to which we compute neighbour orientations and compute the corresponding edge transporters. Given these quantities, we define the forward pass as a message passing step via edge transporters followed by a contraction with the equivariant kernels evaluated at the neighbour orientations. Algorithmically, Gauge Equivariant Mesh CNNs are therefore just GCNs with anisotropic, gauge equivariant kernels and message passing via parallel transporters. Conventional GCNs are covered in this framework for the specific choice of isotropic kernels and trivial edge transporters, given by identity maps.
|
| 28 |
+
|
| 29 |
+
In Sec. 2, we will give an outline of our method, deferring details to Secs. 3 and 4. In Sec. 3.2, we describe how to compute general geometric quantities, not specific to our method, used for the computation of the convolution. In our experiments in Sec. 6.1, we find that the enhanced expressiveness of Gauge Equivariant Mesh CNNs enables them to outperform conventional GCNs and other prior work in a shape correspondence task.
|
| 30 |
+
|
| 31 |
+
# 2 CONVOLUTIONS ON GRAPHS WITH GEOMETRY
|
| 32 |
+
|
| 33 |
+
We consider the problem of processing signals on discrete 2-dimensional manifolds, or meshes $M$ . Such meshes are described by a set $\nu$ of vertices in $\mathbb { R } ^ { 3 }$ together with a set $\mathcal { F }$ of tuples, each consisting of the vertices at the corners of a face. For a mesh to describe a proper manifold, each edge needs to be connected to two faces, and the neighbourhood of each vertex needs to be homeomorphic to a disk. Mesh $M$ induces a graph $\mathcal { G }$ by forgetting the coordinates of the vertices while preserving the edges.
|
| 34 |
+
|
| 35 |
+
A conventional graph convolution between kernel $K$ and signal $f$ , evaluated at a vertex $p$ , can be defined by
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
( K \star f ) _ { p } = K _ { \mathrm { s e l f } } f _ { p } + \sum _ { q \in { \mathcal N } _ { p } } K _ { \mathrm { n e i g h } } f _ { q } ,
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
where $\mathcal { N } _ { p }$ is the set of neighbours of $p$ in $\mathcal { G }$ , and $K _ { \mathrm { s e l f } } \in \mathbb { R } ^ { C _ { \mathrm { i n } } \times C _ { \mathrm { o u t } } }$ and $K _ { \mathrm { n e i g h } } \in \mathbb { R } ^ { C _ { \mathrm { i n } } \times C _ { \mathrm { o u t } } }$ are two linear maps which model a self interaction and the neighbour contribution, respectively. Importantly, graph convolution does not distinguish different neighbours, because each feature vector $f _ { q }$ is multiplied by the same matrix $K _ { \mathrm { n e i g h } }$ and then summed. For this reason we say the kernel is isotropic.
|
| 42 |
+
|
| 43 |
+
Consider the example in figure 1, where on the left and right, the neighbourhood of one vertex $p$ containing neighbours $q \in \mathcal { N } _ { p }$ , is visualized. An isotropic kernel would propagate the signal from the neighbours to $p$ in exactly the same way in both neighbourhoods, even though the neighbourhoods are geometrically distinct. For this reason, our method uses direction sensitive (anisotropic) kernels instead of isotropic kernels. Anisotropic kernels are inherently more expressive than isotropic ones which is why they are used universally in conventional planar CNNs.
|
| 44 |
+
|
| 45 |
+
# Algorithm 1 Gauge Equivariant Mesh CNN layer
|
| 46 |
+
|
| 47 |
+
<table><tr><td>Input: mesh M,input/output feature types pin, pout,reference neighbours (q ∈ Np)p∈M.</td><td> Sec.3</td></tr><tr><td>Compute basis kernels K'ef, Kneigh (0) Initialise weights wself and wneigh·</td><td></td></tr><tr><td>For each neighbour pair,p ∈ M,q ∈Np:</td><td> App. A.</td></tr><tr><td>compute neighbor angles θpq relative to reference neighbor</td><td></td></tr><tr><td>compute parallel transporters gq→p</td><td></td></tr><tr><td>Forward(input features (fp)p∈M, weights wself,wneigh):</td><td></td></tr><tr><td>f←∑iwselfKselffp+∑i,q∈NpwneighKneigh(0pq)Pin(gq→p)fq</td><td></td></tr></table>
|
| 48 |
+
|
| 49 |
+
We propose the Gauge Equivariant Mesh Convolution, a minimal modification of graph convolution that allows for anisotropic kernels $K ( \theta )$ whose value depends on an orientation $\theta \in [ 0 , 2 \pi )$ . 1 To define the orientations $\theta _ { p q }$ of neighbouring vertices $q \in \mathcal { N } _ { p }$ of $p$ , we first map them to the tangent plane $T _ { p } M$ at $p$ , as visualized in figure 1. We then pick an arbitrary reference neighbour $q _ { 0 } ^ { \bar { p } }$ to determine a reference orientation2 $\theta _ { p q _ { 0 } ^ { p } } : = 0$ , marked orange in figure 1. This induces a basis on the tangent plane, which, when expressed in polar coordinates, defines the angles $\theta _ { p q }$ of the other neighbours.
|
| 50 |
+
|
| 51 |
+
As we will motivate in the next section, features in a Gauge Equivariant CNN are coefficients of geometric quantities. For example, a tangent vector at vertex $p$ can be described either geometrically by a 3 dimensional vector orthogonal to the normal at $p$ or by two coefficients in the basis on the tangent plane. In order to perform convolution, geometric features at different vertices need to be linearly combined, for which it is required to first “parallel transport” the features to the same vertex. This is done by applying a matrix $\rho ( \mathsf { \bar { g } } _ { q \to p } ) \in \mathbb { R } ^ { C _ { \mathrm { i n } } \times C _ { \mathrm { i n } } }$ to the coefficients of the feature at $q$ , in order to obtain the coefficients of the feature vector transported to $p$ , which can be used for the convolution at $p$ . The transporter depends on the geometric type (group representation) of the feature, denoted by $\rho$ and described in more detail below. Details of how the tangent space is defined, how to compute the map to the tangent space, angles $\theta _ { p q }$ , and the parallel transporter are given in Appendix A.
|
| 52 |
+
|
| 53 |
+
In combination, this leads to the GEM-CNN convolution
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
( K \star f ) _ { p } ~ = ~ K _ { \mathrm { s e l f } } f _ { p } + \sum _ { q \in { \cal N } _ { p } } K _ { \mathrm { n e i g h } } ( \theta _ { p q } ) \rho ( g _ { q \to p } ) f _ { q }
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
which differs from the conventional graph convolution, defined in Eq. 1 only by the use of an anisotropic kernel and the parallel transport message passing.
|
| 60 |
+
|
| 61 |
+
We require the outcome of the convolution to be equivalent for any choice of reference orientation. This is not the case for any anisotropic kernel but only for those which are equivariant under changes of reference orientations (gauge transformations). Equivariance imposes a linear constraint on the kernels. We therefore solve for complete sets of “basis-kernels” $\dot { K } _ { \mathrm { s e l f } } ^ { i }$ and $K _ { \mathrm { n e i g h } } ^ { i }$ satisfying this constraint and linearly combine them with parameters $w _ { \mathrm { s e l f } } ^ { i }$ and $w _ { \mathrm { n e i g h } } ^ { i }$ such that $\begin{array} { r } { K _ { \mathrm { s e l f } } = \sum _ { i } w _ { \mathrm { s e l f } } ^ { i } K _ { \mathrm { s e l f } } ^ { i } } \end{array}$ and $\begin{array} { r } { K _ { \mathrm { n e i g h } } = \sum _ { i } w _ { \mathrm { n e i g h } } ^ { i } K _ { \mathrm { n e i g h } } ^ { i } } \end{array}$ . Details on the computation of basis kernels are given in section 3. The full algorithm for initialisation and forward pass, which is of time and space complexity linear in the number of vertices, for a GEM-CNN layer are listed in algorithm 1. Gradients can be computed by automatic differentiation.
|
| 62 |
+
|
| 63 |
+
The GEM-CNN is gauge equivariant, but furthermore satisfies two important properties. Firstly, it depends only on the intrinsic shape of the 2D mesh, not on the embedding of the mesh in $\mathbb { R } ^ { \bar { 3 } }$ . Secondly, whenever a map from the mesh to itself exists that preserves distances and orientation, the convolution is equivariant to moving the signal along such transformations. These properties are proven in Appendix D and empirically shown in Appendix F.2.
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Figure 2: Visualization of the Gauge Equivariant Mesh Convolution in two configurations, scalar to scalar and scalar to vector. The convolution operates in a gauge, so that vectors are expressed in coefficients in a basis and neighbours have polar coordinates, but can also be seen as a geometric convolution, a gauge-independent map from an input signal on the mesh to a output signal on the mesh. The convolution is equivariant if this geometric convolution does not depend on the intermediate chosen gauge, so if the diagram commutes.
|
| 67 |
+
|
| 68 |
+
# 3 GAUGE EQUIVARIANCE & GEOMETRIC FEATURES
|
| 69 |
+
|
| 70 |
+
On a general mesh, the choice of the reference neighbour, or gauge, which defines the orientation of the kernel, can only be made arbitrarily. However, this choice should not arbitrarily affect the outcome of the convolution, as this would impede the generalization between different locations and different meshes. Instead, Gauge Equivariant Mesh CNNs have the property that their output transforms according to a known rule as the gauge changes.
|
| 71 |
+
|
| 72 |
+
Consider the left hand side of figure 2(a). Given a neighbourhood of vertex $p$ , we want to express each neighbour $q$ in terms of its polar coordinates $( r _ { q } , \theta _ { q } )$ on the tangent plane, so that the kernel value at that neighbour $K _ { \mathrm { n e i g h } } ( \bar { \theta _ { q } } )$ is well defined. This requires choosing a basis on the tangent plane, determined by picking a neighbour as reference neighbour (denoted $q _ { 0 . }$ ), which has the zero angle $\theta _ { q _ { 0 } } = 0$ . In the top path, we pick $q _ { A }$ as reference neighbour. Let us call this gauge A, in which neighbours have angles $\theta _ { q } ^ { A }$ . In the bottom path, we instead pick neighbour $q _ { B }$ as reference point and are in gauge B. We get a different basis for the tangent plane and different angles $\underset { . } { \theta _ { q } ^ { B } }$ for each neighbour. Comparing the two gauges, we see that they are related by a rotation, so that $\theta _ { q } ^ { B } = \theta _ { q } ^ { A } - \mathsf { \bar { \theta } } _ { q B } ^ { A }$ . This change of gauge is called a gauge transformation of angle $g : = \theta _ { q _ { B } } ^ { A }$ .
|
| 73 |
+
|
| 74 |
+
In figure 2(a), we illustrate a gauge equivariant convolution that takes input and output features such as gray scale image values on the mesh, which are called scalar features. The top path represents the convolution in gauge A, the bottom path in gauge B. In either case, the convolution can be interpreted as consisting of three steps. First, for each vertex $p$ , the value of the scalar features on the mesh at each neighbouring vertex $q$ , represented by colors, is mapped to the tangent plane at $p$ at angle $\theta _ { q }$ defined by the gauge. Subsequently, the convolutional kernel sums for each neighbour $q$ , the product of the feature at $q$ and kernel $K ( \theta _ { q } )$ . Finally the output is mapped back to the mesh. These three steps can be composed into a single step, which we could call a geometric convolution, mapping from input features on the mesh to output features on the mesh. The convolution is gauge equivariant if this geometric convolution does not depend on the gauge we pick in the interim, so in figure 2(a), if the convolution in the top path in gauge A has same result the convolution in the bottom path in gauge B, making the diagram commute. In this case, however, we see that the convolution output needs to be the same in both gauges, for the convolution to be equivariant. Hence, we must have that $K ( \theta _ { q } ) = K ( \theta _ { q } - g )$ , as the orientations of the neighbours differ by some angle $g$ , and the kernel must be isotropic.
|
| 75 |
+
|
| 76 |
+
As we aim to design an anisotropic convolution, the output feature of the convolution at $p$ can, instead of a scalar, be two numbers $v \in \mathbb { R } ^ { 2 }$ , which can be interpreted as coefficients of a tangent feature vector in the tangent space at $p$ , visualized in figure 2(b). As shown on the right hand side, different gauges induce a different basis of the tangent plane, so that the same tangent vector (shown on the middle right on the mesh), is represented by different coefficients in the gauge (shown on the top and bottom on the right). This gauge equivariant convolution must be anisotropic: going from the top row to the bottom row, if we change orientations of the neighbours by $- g$ , the coefficients of the output vector $v \in \mathbb { R } ^ { 2 }$ of the kernel must be also rotated by $- g$ . This is written as $R ( - g ) v$ , where $R ( - g ) \in \mathbb { R } ^ { 2 \times 2 }$ is the matrix that rotates by angle $- g$ .
|
| 77 |
+
|
| 78 |
+
Vectors and scalars are not the only type of geometric features that can be inputs and outputs of a GEM-CNN layer. In general, the coefficients of a geometric feature of $C$ dimensions changes by an invertible linear transformation $\rho ( - g ) \in \mathbb { R } ^ { C \times C }$ if the gauge is rotated by angle $g$ . The map $\begin{array} { r } { \dot { \rho ^ { \smash { \sum } } } : [ 0 , 2 \pi ) \to \mathbb { R } ^ { C \times C } } \end{array}$ is called the type of the geometric quantity and is formally known as a group representation of the planar rotation group SO(2). Group representations have the property that $\bar { \rho ( g + h ) } = \rho ( g ) \rho ( h )$ (they are group homomorphisms), which implies in particular that $\dot { \rho } ( 0 ) = \mathbb { 1 }$ and $\rho ( - g ) = \rho ( g ) ^ { - 1 }$ . For more background on group representation theory, we refer the reader to (Serre, 1977) and, specifically in the context of equivariant deep learning, to (Lang & Weiler, 2020). From the theory of group representations, we know that any feature type can be composed from “irreducible representations” (irreps). For SO(2), these are the one dimensional invariant scalar representation $\rho _ { 0 }$ and for all $n \in { \mathbb { N } } _ { > 0 }$ , a two dimensional representation $\rho _ { n }$ ,
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\rho _ { 0 } ( g ) = 1 , \quad \rho _ { n } ( g ) = \binom { \cos n g } { \sin n g } \quad \sp { - \sin n g } \nonumber \cos n g \biggr ) .
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
where we write, for example, $\rho = \rho _ { 0 } \oplus \rho _ { 1 } \oplus \rho _ { 1 }$ to denote that representation $\rho ( g )$ is the direct sum (i.e. block-diagonal stacking) of the matrices $\dot { \rho } _ { 0 } ( g ) , \rho _ { 1 } ( g ) , \rho _ { 1 } ( g )$ . Scalars and tangent vector features correspond to $\rho _ { 0 }$ and $\rho _ { 1 }$ respectively and we have $R ( g ) = \rho _ { 1 } ( g )$ .
|
| 85 |
+
|
| 86 |
+
The type of the feature at each layer in the network can thus be fully specified (up to a change of basis) by the number of copies of each irrep. Similar to the dimensionality in a conventional CNN, the choice of type is a hyperparameter that can be freely chosen to optimize performance.
|
| 87 |
+
|
| 88 |
+
# 3.1 KERNEL CONSTRAINT
|
| 89 |
+
|
| 90 |
+
Given an input type $\rho _ { \mathrm { i n } }$ and output type $\rho _ { \mathrm { o u t } }$ of dimensions $C _ { \mathrm { i n } }$ and $C _ { \mathrm { { o u t } } }$ , the kernels are $K _ { \mathrm { s e l f } } ~ \in$ $\mathbb { R } ^ { C _ { \mathrm { o u t } } \times C _ { \mathrm { i n } } }$ and $K _ { \mathrm { n e i g h } } : [ 0 , 2 \pi ) ] \mathbb { R } ^ { C _ { \mathrm { o u t } } \times C _ { \mathrm { i n } } }$ . However, not all such kernels are equivariant. Consider again examples figure 2(a) and figure 2(b). If we map from a scalar to a scalar, we get that $K _ { \mathrm { n e i g h } } ( \theta -$ $\bar { g ) } = K _ { \mathrm { n e i g h } } \bar { ( \theta ) }$ for all angles $\theta , g$ and the convolution is isotropic. If we map from a scalar to a vector, we get that rotating the angles $\theta _ { q }$ results in the same tangent vector as rotating the output vector coefficients, so that $K _ { \mathrm { n e i g h } } ( \theta - g ) { \dot { = } } R ( - g ) K _ { \mathrm { n e i g h } } ( \theta )$ .
|
| 91 |
+
|
| 92 |
+
In general, as derived by Cohen et al. (2019b) and in appendix B, the kernels must satisfy for any gauge transformation $g \in [ 0 , 2 \pi )$ and angle $\theta \in [ 0 , 2 \pi )$ , that
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\begin{array} { r } { K _ { \mathrm { n e i g h } } ( \theta - g ) = \rho _ { \mathrm { o u t } } ( - g ) K _ { \mathrm { n e i g h } } ( \theta ) \rho _ { \mathrm { i n } } ( g ) , } \\ { K _ { \mathrm { s e l f } } = \rho _ { \mathrm { o u t } } ( - g ) \ K _ { \mathrm { s e l f } } \ \rho _ { \mathrm { i n } } ( g ) . \qquad } \end{array}
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
The kernel can be seen as consisting of multiple blocks, where each block takes as input one irrep and outputs one irrep. For example if $\rho _ { \mathrm { i n } }$ would be of type $\rho _ { 0 } \oplus \rho _ { 1 } \oplus \rho _ { 1 }$ and $\rho _ { \mathrm { o u t } }$ of type $\rho _ { 1 } \oplus \rho _ { 3 }$ , we have $4 \times 5$ matrix
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
K _ { \mathrm { n e i g h } } ( \theta ) = { \binom { K _ { 1 0 } ( \theta ) } { K _ { 3 0 } ( \theta ) } } K _ { 1 1 } ( \theta ) K _ { 1 1 } ( \theta ) \Big )
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
Table 1: Solutions to the angular kernel constraint for kernels that map from $\rho _ { n }$ to $\rho _ { m }$ . We denote $c _ { \pm } = \cos ( ( m \pm n ) \theta )$ and $s _ { \pm } = \sin ( ( m \pm n ) \theta )$ .
|
| 105 |
+
|
| 106 |
+
<table><tr><td>pin→pout</td><td>linearly independent solutions for Kneigh (0)</td></tr><tr><td>p→po</td><td>(1)</td></tr><tr><td>pn→po</td><td>(cos nθ sin nθ),(sin nθ -cos n0)</td></tr><tr><td>po→pm</td><td>(cos mθ) sin m) (sinmθ) , (-cosm0)</td></tr><tr><td>pn→pm</td><td>(c- -s_ S_ C_ (C+ S+ -S+ C+ s_ c_ -c S- S+ -C+) , c+s+)</td></tr><tr><td>pin→pout</td><td>linearly independent solutions for Kself</td></tr><tr><td>p→po</td><td>(1)</td></tr><tr><td>pn→pn</td><td>(61). (-1)</td></tr></table>
|
| 107 |
+
|
| 108 |
+
where e.g. $K _ { 3 1 } ( \theta ) \in \mathbb { R } ^ { 2 \times 2 }$ is a kernel that takes as input irrep $\rho _ { 1 }$ and as output irrep $\rho _ { 3 }$ and needs to satisfy Eq. 3. As derived by Weiler & Cesa (2019) and in Appendix C, the kernels $K _ { \mathrm { n e i g h } } ( \theta )$ and $K _ { \mathrm { s e l f } }$ mapping from irrep $\rho _ { n }$ to irrep $\rho _ { m }$ can be written as a linear combination of the basis kernels listed in Table 1. The table shows that equivariance requires the self-interaction to only map from one irrep to the same irrep. Hence, we have $K _ { \mathrm { s e l f } } = \left( \begin{array} { c c c } { 0 } & { K _ { 1 1 } } & { K _ { 1 1 } } \\ { 0 } & { 0 } & { 0 } \end{array} \right) \in \mathbb { R } ^ { 4 \times 3 } .$
|
| 109 |
+
|
| 110 |
+
All basis-kernels of all pairs of input irreps and output irreps can be linearly combined to form an arbitrary equivariant kernel from feature of type $\rho _ { \mathrm { i n } }$ to $\rho _ { \mathrm { o u t } }$ . In the above example, we have $2 \times 2 + 4 \times 4 = 2 0$ basis kernels for $K _ { \mathrm { n e i g h } }$ and 4 basis kernels for $K _ { \mathrm { s e l f } }$ . The layer thus has 24 parameters. As proven in (Weiler & Cesa, 2019) and (Lang & Weiler, 2020), this parameterization of the equivariant kernel space is complete, that is, more general equivariant kernels do not exist.
|
| 111 |
+
|
| 112 |
+
# 3.2 GEOMETRY AND PARALLEL TRANSPORT
|
| 113 |
+
|
| 114 |
+
In order to implement gauge equivariant mesh CNNs, we need to make the abstract notion of tangent spaces, gauges and transporters concrete.
|
| 115 |
+
|
| 116 |
+
As the mesh is embedded in $\mathbb { R } ^ { 3 }$ , a natural definition of the tangent spaces $T _ { p } M$ is as two dimensional subspaces that are orthogonal to the normal vector at $p$ . We follow the common definition of normal vectors at mesh vertices as the area weighted average of the adjacent faces’ normals. The Riemannian logarithm map $\log _ { p } : \mathcal { N } _ { p } \to T _ { p } M$ represents the one-ring neighborhood of each point $p$ on their tangent spaces as visualized in figure 1. Specifically, neighbors $q \in \mathcal { N } _ { p }$ are mapped to $\bar { \log _ { p } ( q ) } \in T _ { p } \bar { M }$ by first projecting them to $T _ { p } M$ and then rescaling the projection such that the norm is preserved, i.e. $| \log _ { p } ( q ) | = | q - p |$ ; see Eq. 6. A choice of reference neighbor $q _ { p } \in \mathcal { N }$ uniquely determines a right handed, orthonormal reference frame $( e _ { p , 1 } , e _ { p , 2 } )$ of $T _ { p } M$ by setting $e _ { p , 1 } : = \log _ { p } ( q _ { 0 } ) / | \log _ { p } ( q _ { 0 } ) |$ and $e _ { p , 2 } : = n \times e _ { p , 1 }$ . The polar angle $\theta _ { p q }$ of any neighbor $q \in \mathcal N$ relative to the first frame axis is then given by $\theta _ { p q } : = \mathrm { a t a n 2 } \left( e _ { p , 2 } ^ { \top } \log _ { p } ( q ) , e _ { p , 1 } ^ { \top } \log _ { p } ( q ) \right) )$ .
|
| 117 |
+
|
| 118 |
+
Given the reference frame $( e _ { p , 1 } , e _ { p , 2 } )$ , a 2-tuple of coefficients $( v _ { 1 } , v _ { 2 } ) \in \mathbb { R } ^ { 2 }$ specifies an (embedded) tangent vector $v _ { 1 } e _ { p , 1 } + v _ { 2 } e _ { p , 2 } \in T _ { p } M \subset \mathbb { R } ^ { 3 }$ . This assignment is formally given by the gauge map $E _ { p } : \mathbb { R } ^ { 2 } \to T _ { p } M \overset { \cdot } { \subset } \mathbb { R } ^ { 3 }$ which is a vector space isomorphism. In our case, it can be identified with the matrix
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
\begin{array} { r } { \boldsymbol { E _ { p } } = \left[ \begin{array} { c c } { \boldsymbol { \vert } } & { \boldsymbol { \vert } } \\ { \boldsymbol { e _ { p , 1 } } } & { \boldsymbol { e _ { p , 2 } } } \\ { \boldsymbol { \vert } } & { \boldsymbol { \vert } } \end{array} \right] \in \mathbb { R } ^ { 3 \times 2 } . } \end{array}
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
Feature vectors $f _ { p }$ and $f _ { q }$ at neighboring (or any other) vertices $p \in M$ and $q \in \mathcal { N } _ { p } \subseteq M$ live in different vector spaces and are expressed relative to independent gauges, which makes it invalid to sum them directly. Instead, they have to be parallel transported along the mesh edge that connects the two vertices. As explained above, this transport is given by group elements $\mathsf { \bar { g } } _ { q \to p } \in [ 0 , 2 \pi )$ , which determine the transformation of tangent vector coefficients as $v _ { q } \mapsto R ( g _ { q p } ) v _ { q } \in \mathbb { R } ^ { 2 }$ and, analogously, for feature vector coefficients as $f _ { q } \mapsto \rho ( g _ { q p } ) f _ { q }$ . Figure 4 in the appendix visualizes the definition of edge transporters for flat spaces and meshes. On a flat space, tangent vectors are transported by keeping them parallel in the usual sense on Euclidean spaces. However, if the source and target frame orientations disagree, the vector coefficients relative to the source frame need to be transformed to the target frame. This coordinate transformation from polar angles $\varphi _ { q }$ of $v$ to $\varphi _ { p }$ of $R ( g _ { q p } ) v$ defines the transporter $g _ { q p } = \varphi _ { p } - \varphi _ { q }$ . On meshes, the source and target tangent spaces $T _ { q } M$ and $T _ { p } M$ are not longer parallel. It is therefore additionally necessary to rotate the source tangent space and its vectors parallel to the target space, before transforming between the frames. Since transporters effectively make up for differences in the source and target frames, the parallel transporters transform under gauge transformations $g _ { p }$ and $g _ { q }$ according to $g _ { q \to p } \mapsto g _ { p } + g _ { q \to p } - g _ { q }$ . Note that this transformation law cancels with the transformation law of the coefficients at $q$ and lets the transported coefficients transform according to gauge transformations at $p$ . It is therefore valid to sum vectors and features that are parallel transported into the same gauge at $p$ .
|
| 125 |
+
|
| 126 |
+
A more detailed discussion of the concepts presented in this section can be found in Appendix A.
|
| 127 |
+
|
| 128 |
+
# 4 NON-LINEARITY
|
| 129 |
+
|
| 130 |
+
Besides convolutional layers, the GEM-CNN contains non-linear layers, which also need to be gauge equivariant, for the entire network to be gauge equivariant. The coefficients of features built out of irreducible representaions, as described in section 3, do not commute with point-wise nonlinearities (Worrall et al., 2017; Thomas et al., 2018; Weiler et al., 2018a; Kondor et al., 2018). Norm non-linearities and gated non-linearities (Weiler & Cesa, 2019) can be used with such features, but generally perform worse in practice compared to point-wise non-linearities (Weiler & Cesa,
|
| 131 |
+
|
| 132 |
+
2019). Hence, we propose the RegularNonlinearity, which uses point-wise non-linearities and is approximately gauge equivariant.
|
| 133 |
+
|
| 134 |
+
This non-linearity is built on Fourier transformations. Consider a continuous periodic signal, on which we perform a band-limited Fourier transform with band limit $b$ , obtaining $2 b + 1$ Fourier coefficients. If this continuous signal is shifted by an arbitrary angle $g$ , then the corresponding Fourier components transform with linear transformation $\rho _ { 0 : b } ( - g )$ , for $2 b + 1$ dimensional representation $\rho _ { 0 : b } : = \rho _ { 0 } \oplus \rho _ { 1 } \oplus \ldots \oplus \rho _ { b }$ .
|
| 135 |
+
|
| 136 |
+
It would be exactly equivariant to take a feature of type $\rho _ { 0 : b }$ , take a continuous inverse Fourier transform to a continuous periodic signal, then apply a point-wise non-linearity to that signal, and take the continuous Fourier transform, to recover a feature of type $\rho _ { 0 : b }$ . However, for implementation, we use $N$ intermediate samples and the discrete Fourier transform. This is exactly gauge equivariant for gauge transformation of angles multiple of $2 \pi / N$ , but only approximately equivariant for other angles. In App. G we prove that as $N \to \infty$ , the non-linearity is exactly gauge equivariant.
|
| 137 |
+
|
| 138 |
+
The run-time cost per vertex of the (inverse) Fourier transform implemented as a simple linear transformation is $\mathcal { O } ( b N )$ , which is what we use in our experiments. The pointwise non-linearity scales linearly with $N$ , so the complexity of the RegularNonLineariy is also $\mathcal { O } ( b N )$ . However, one can also use a fast Fourier transform, achieving a complexity of $\mathcal { O } ( N \log N )$ . Concrete memory and run-time cost of varying $N$ are shown in appendix F.1.
|
| 139 |
+
|
| 140 |
+
# 5 RELATED WORK
|
| 141 |
+
|
| 142 |
+
The irregular structure of meshes leads to a variety of approaches to define convolutions. Closely related to our method are graph based methods which are often based on variations of graph convolutional networks (Kipf & Welling, 2017; Defferrard et al., 2016). GCNs have been applied on spherical meshes (Perraudin et al., 2019) and cortical surfaces (Cucurull et al., 2018; Zhao et al., 2019a). Verma et al. (2018) augment GCNs with anisotropic kernels which are dynamically computed via an attention mechanism over graph neighbours.
|
| 143 |
+
|
| 144 |
+
Instead of operating on the graph underlying a mesh, several approaches leverage its geometry by treating it as a discrete manifold. Convolution kernels can then be defined in geodesic polar coordinates which corresponds to a projection of kernels from the tangent space to the mesh via the exponential map. This allows for kernels that are larger than the immediate graph neighbourhood and message passing over faces but does not resolve the issue of ambiguous kernel orientation. Masci et al. (2015); Monti et al. (2016) and Sun et al. (2018) address this issue by restricting the network to orientation invariant features which are computed by applying anisotropic kernels in several orientations and pooling over the resulting responses. The models proposed in (Boscaini et al., 2016) and (Schonsheck et al., 2018) are explicitly gauge dependent with preferred orientations chosen via the principal curvature direction and the parallel transport of kernels, respectively. Poulenard & Ovsjanikov (2018) proposed a non-trivially gauge equivariant network based on geodesic convolutions, however, the model parallel transports only partial information of the feature vectors, corresponding to certain kernel orientations. In concurrent work, Wiersma et al. (2020) also define convolutions on surfaces equivariantly to the orientation of the kernel, but differ in that they use norm non-linearities instead of regular ones and that they apply the convolution along longer geodesics, which adds complexity to the geometric pre-computation - as partial differential equations need to be solved, but may result in less susceptibility to the particular discretisation of the manifold.
|
| 145 |
+
|
| 146 |
+
Another class of approaches defines spectral convolutions on meshes. However, as argued in (Bronstein et al., 2017), the Fourier spectrum of a mesh depends heavily on its geometry, which makes such methods instable under deformations and impedes the generalization between different meshes. Spectral convolutions further correspond to isotropic kernels. Kostrikov et al. (2018) overcomes isotropy of the Laplacian by decomposing it into two applications of the first-order Dirac operator.
|
| 147 |
+
|
| 148 |
+
A construction based on toric covering maps of topologically spherical meshes was presented in (Maron et al., 2017). An entirely different approach to mesh convolutions is to apply a linear map to a spiral of neighbours (Bouritsas et al., 2019; Gong et al., 2019), which works well only for meshes with a similar graph structure.
|
| 149 |
+
|
| 150 |
+
The above-mentioned methods operate on the intrinsic, 2-dimensional geometry of the mesh. A popular alternative for embedded meshes is to define convolutions in the embedding space $\mathbb { R } ^ { 3 }$ . This can for instance be done by voxelizing space and representing the mesh in terms of an occupancy grid (Wu et al., 2015; Tchapmi et al., 2017; Hanocka et al., 2018). A downside of this approach are the high memory and compute requirements of voxel representations. If the grid occupancy is low, this can partly be addressed by resorting to an inhomogeneous grid density (Riegler et al., 2017). Instead of voxelizing space, one may interpret the set of mesh vertices as a point cloud and run a convolution on those (Qi et al., 2017a;b). Point cloud based methods can be made equivariant w.r.t. the isometries of $\mathbb { R } ^ { 3 }$ (Zhao et al., 2019b; Thomas et al., 2018), which implies in particular the isometry equivariance on the embedded mesh. In general, geodesic distances within the manifold differ usually substantially from the distances in the embedding space. Which approach is more suitable depends on the particular application.
|
| 151 |
+
|
| 152 |
+
On flat Euclidean spaces our method corresponds to Steerable CNNs (Cohen & Welling, 2017; Weiler et al., 2018a; Weiler & Cesa, 2019; Cohen et al., 2019a; Lang & Weiler, 2020). As our model, these networks process geometric feature fields of types $\rho$ and are equivariant under gauge transformations, however, due to the flat geometry, the parallel transporters become trivial. Regular nonlinearities are on flat spaces used in group convolutional networks (Cohen & Welling, 2016; Weiler et al., 2018b; Hoogeboom et al., 2018; Bekkers et al., 2018; Winkels & Cohen, 2018; Worrall & Brostow, 2018; Worrall & Welling, 2019; Sosnovik et al., 2020).
|
| 153 |
+
|
| 154 |
+
# 6 EXPERIMENTS
|
| 155 |
+
|
| 156 |
+
# 6.1 EMBEDDED MNIST
|
| 157 |
+
|
| 158 |
+
We first investigate how Gauge Equivariant Mesh CNNs perform on, and generalize between, different mesh geometries. For this purpose we conduct simple MNIST digit classification experiments on embedded rectangular meshes of $2 8 \times 2 8$ vertices. As a baseline geometry we consider a flat mesh as visualized in figure 5(a). A second type of geometry is defined as different isometric embeddings of the flat mesh, see figure 5(b). Note that this implies that the intrinsic geometry of these isometrically embedded meshes is indistinguishable from that of the flat mesh. To generate geometries which are intrinsically curved, we add random normal displacements to the flat mesh. We control the amount of curvature by smoothing the resulting displacement fields with Gaussian kernels of different widths $\sigma$ and define the roughness of the resulting mesh as $3 - \sigma$ . Figures 5(c)-5(h) show the results for roughnesses of 0.5, 1, 1.5, 2, 2.25 and 2.5. For each of the considered settings we generate 32 different train and 32 test geometries.
|
| 159 |
+
|
| 160 |
+
To test the performance on, and generalization between, different geometries, we train equivalent GEM-CNN models on a flat mesh and meshes with a roughness of 1, 1.5, 2, 2.25 and 2.5. Each model is tested individually on each of the considered test geometries, which are the flat mesh, isometric embeddings and curved embeddings with a roughness of 0.5, 1, 1.25, 1.5, 1.75, 2, 2.25 and 2.5. Figure 3 shows the test errors of the GEM-CNNs on the different train geometries (different curves) for all test geometries (shown on the x-axis). Since our model is purely defined in terms of the intrinsic geometry of a mesh, it is expected to be insensitive to isometric changes in the embeddings. This is empirically confirmed by the fact that the test performances on flat and isometric embeddings are exactly equal. As expected, the test error increases for most models with the surface roughness. Models trained on more rough surfaces are hereby more robust to deformations. The models generalize well from a rough training to smooth test geometry up to a training roughness of 1.5. Beyond that point, the test performances on smooth meshes degrades up to the point of random guessing at a training roughness of 2.5.
|
| 161 |
+
|
| 162 |
+
As a baseline, we build an isotropic graph CNN with the same network topology and number of parameters $( \approx 1 6 3 k )$ ). This model is insensitive to the mesh geometry and therefore performs exactly equal on all surfaces. While this enhances its robustness on very rough meshes, its test error of $1 9 . 8 0 \pm 3 . 4 3 \%$ is an extremely bad result on MNIST. In contrast, the use of anisotropic filters of GEM-CNN allows it to reach a test error of only $0 . 6 0 \pm 0 . 0 5 \%$ on the flat geometry. It is therefore competitive with conventional CNNs on pixel grids, which apply anisotropic kernels as well. More details on the datasets, models and further experimental setup are given in appendix E.1.
|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
Figure 3: Test errors for MNIST digit classification on embedded meshes. Different lines denote train geometries, $\mathbf { X }$ -axis shows test geometries. Regions are standard errors of the means over 6 runs.
|
| 166 |
+
|
| 167 |
+
<table><tr><td>Model</td><td>Features</td><td>Accuracy (%)</td></tr><tr><td>ACNN (Boscaini et al.,2016)</td><td>SHOT</td><td>62.4</td></tr><tr><td>Geodesic CNN (Masci et al.,2015)</td><td>SHOT</td><td>65.4</td></tr><tr><td>MoNet (Monti et al.,2016)</td><td>SHOT</td><td>73.8</td></tr><tr><td>FeaStNet (Verma et al.,2018)</td><td>XYZ</td><td>98.7</td></tr><tr><td>ZerNet (Sun et al.,2018)</td><td>XYZ</td><td>96.9</td></tr><tr><td>SpiralNet++ (Gong et al.,2019)</td><td>XYZ</td><td>99.8</td></tr><tr><td>Graph CNN</td><td>XYZ</td><td>1.40±0.5</td></tr><tr><td>Graph CNN</td><td>SHOT</td><td>23.80±8</td></tr><tr><td>Non-equiv. CNN (SHOT frames)</td><td>XYZ</td><td>73.00±4.0</td></tr><tr><td>Non-equiv. CNN (SHOT frames)</td><td>SHOT</td><td>75.11±2.4</td></tr><tr><td>GEM-CNN</td><td>XYZ</td><td>99.73±0.04</td></tr><tr><td>GEM-CNN (broken symmetry)</td><td>XYZ</td><td>99.89±0.02</td></tr></table>
|
| 168 |
+
|
| 169 |
+
Table 2: Results of FAUST shape correspondence. Statistics are means and standard errors of the mean of over three runs. All cited results are from their respective papers.
|
| 170 |
+
|
| 171 |
+
# 6.2 SHAPE CORRESPONDENCE
|
| 172 |
+
|
| 173 |
+
As a second experiment, we perform non-rigid shape correspondence on the FAUST dataset (Bogo et al., 2014), following Masci et al. (2015) 3 . The data consists of 100 meshes of human bodies in various positions, split into 80 train and 20 test meshes. The vertices are registered, such that vertices on the same position on the body, such as the tip of the left thumb, have the same identifier on all meshes. All meshes have 6890 vertices, making this a 6890-class segmentation problem.
|
| 174 |
+
|
| 175 |
+
The architecture transforms the vertices’ $X Y Z$ coordinates (of type $3 \rho _ { 0 }$ ), via 6 convolutional layers to features $6 4 \rho _ { 0 }$ , with intermediate features $1 6 ( \rho _ { 0 } \oplus \rho _ { 1 } \oplus \rho _ { 2 } )$ , with residual connections and the RegularNonlinearity with $N = 5$ samples. Afterwards, we use two $1 \times 1$ convolutions with ReLU to map first to 256 and then 6980 channels, after which a softmax predicts the registration probabilities. The $1 \times 1$ convolutions use a dropout of $50 \%$ and 1E-4 weight decay. The network is trained with a cross entropy loss with an initial learning rate of 0.01, which is halved when training loss reaches a plateau.
|
| 176 |
+
|
| 177 |
+
As all meshes in the FAUST dataset share the same topology, breaking the gauge equivariance in higher layers can actually be beneficial. As shown in (Weiler & Cesa, 2019), symmetry can be broken by treating non-invariant features as invariant features as input to the final $1 \times 1$ convolution.
|
| 178 |
+
|
| 179 |
+
As baselines, we compare to various models, some of which use more complicated pipelines, such as (1) the computation of geodesics over the mesh, which requires solving partial differential equations, (2) pooling, which requires finding a uniform sub-selection of vertices, (3) the pre-computation of SHOT features which locally describe the geometry (Tombari et al., 2010), or (4) post-processing refinement of the predictions. The GEM-CNN requires none of these additional steps. In addition, we compare to SpiralNet $^ { - + }$ (Gong et al., 2019), which requires all inputs to be similarly meshed. Finally, we compare to an isotropic version of the GEM-CNN, which reduces to a conventional graph CNN, as well as a non-gauge-equivariant CNN based on SHOT frames. The results in table 2 show that the GEM-CNN outperforms prior works and a non-gauge-equivariant CNN, that isotropic graph CNNs are unable to solve the task and that for this data set breaking gauge symmetry in the final layers of the network is beneficial. More experimental details are given in appendix E.2.
|
| 180 |
+
|
| 181 |
+
# 7 CONCLUSIONS
|
| 182 |
+
|
| 183 |
+
Convolutions on meshes are commonly performed as a convolution on their underlying graph, by forgetting geometry, such as orientation of neighbouring vertices. In this paper we propose Gauge Equivariant Mesh CNNs, which endow Graph Convolutional Networks on meshes with anisotropic kernels and parallel transport. Hence, they are sensitive to the mesh geometry, and result in equivalent outputs regardless of the arbitrary choice of kernel orientation.
|
| 184 |
+
|
| 185 |
+
We demonstrate that the inference of GEM-CNNs is invariant under isometric deformations of meshes and generalizes well over a range of non-isometric deformations. On the FAUST shape correspondence task, we show that Gauge equivariance, combined with symmetry breaking in the final layer, leads to state of the art performance.
|
| 186 |
+
|
| 187 |
+
# REFERENCES
|
| 188 |
+
|
| 189 |
+
Bekkers, E. J., Lafarge, M. W., Veta, M., Eppenhof, K. A., Pluim, J. P., and Duits, R. Roto-translation covariant convolutional networks for medical image analysis. In International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), 2018.
|
| 190 |
+
|
| 191 |
+
Bogo, F., Romero, J., Loper, M., and Black, M. J. Faust: Dataset and evaluation for 3d mesh registration. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3794–3801, 2014.
|
| 192 |
+
|
| 193 |
+
Boscaini, D., Masci, J., Rodola, E., and Bronstein, M. M. Learning shape correspondence with \` anisotropic convolutional neural networks. In NIPS, 2016.
|
| 194 |
+
|
| 195 |
+
Bouritsas, G., Bokhnyak, S., Ploumpis, S., Bronstein, M., and Zafeiriou, S. Neural 3d morphable models: Spiral convolutional networks for 3d shape representation learning and generation. In Proceedings of the IEEE International Conference on Computer Vision, pp. 7213–7222, 2019.
|
| 196 |
+
|
| 197 |
+
Bronstein, M. M., Bruna, J., LeCun, Y., Szlam, A., and Vandergheynst, P. Geometric deep learning: Going beyond Euclidean data. IEEE Signal Processing Magazine, 2017.
|
| 198 |
+
|
| 199 |
+
Cohen, T. and Welling, M. Group equivariant convolutional networks. In ICML, 2016.
|
| 200 |
+
|
| 201 |
+
Cohen, T. S. and Welling, M. Steerable CNNs. In ICLR, 2017.
|
| 202 |
+
|
| 203 |
+
Cohen, T. S., Geiger, M., and Weiler, M. A general theory of equivariant CNNs on homogeneous spaces. In Conference on Neural Information Processing Systems (NeurIPS), 2019a.
|
| 204 |
+
|
| 205 |
+
Cohen, T. S., Weiler, M., Kicanaoglu, B., and Welling, M. Gauge equivariant convolutional networks and the Icosahedral CNN. 2019b.
|
| 206 |
+
|
| 207 |
+
Crane, K., Desbrun, M., and Schroder, P. Trivial connections on discrete surfaces. ¨ Computer Graphics Forum (SGP), 29(5):1525–1533, 2010.
|
| 208 |
+
|
| 209 |
+
Crane, K., de Goes, F., Desbrun, M., and Schroder, P. Digital geometry processing with discrete ¨ exterior calculus. In ACM SIGGRAPH 2013 courses, SIGGRAPH ’13, New York, NY, USA, 2013. ACM.
|
| 210 |
+
|
| 211 |
+
Cucurull, G., Wagstyl, K., Casanova, A., Velickovi ˇ c, P., Jakobsen, E., Drozdzal, M., Romero, A., ´ Evans, A., and Bengio, Y. Convolutional neural networks for mesh-based parcellation of the cerebral cortex. 2018.
|
| 212 |
+
|
| 213 |
+
Defferrard, M., Bresson, X., and Vandergheynst, P. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in neural information processing systems, pp. 3844–3852, 2016.
|
| 214 |
+
|
| 215 |
+
Gallier, J. and Quaintance, J. Differential Geometry and Lie Groups: A Computational Perspective, volume 12. Springer Nature, 2020.
|
| 216 |
+
|
| 217 |
+
Gong, S., Chen, L., Bronstein, M., and Zafeiriou, S. Spiralnet++: A fast and highly efficient mesh convolution operator. In Proceedings of the IEEE International Conference on Computer Vision Workshops, pp. 0–0, 2019.
|
| 218 |
+
|
| 219 |
+
Hanocka, R., Fish, N., Wang, Z., Giryes, R., Fleishman, S., and Cohen-Or, D. Alignet: Partial-shape agnostic alignment via unsupervised learning. ACM Transactions on Graphics (TOG), 38(1):1–14, 2018.
|
| 220 |
+
|
| 221 |
+
Hoogeboom, E., Peters, J. W. T., Cohen, T. S., and Welling, M. HexaConv. In International Conference on Learning Representations (ICLR), 2018.
|
| 222 |
+
|
| 223 |
+
Kipf, T. N. and Welling, M. Semi-Supervised Classification with Graph Convolutional Networks. In ICLR, 2017.
|
| 224 |
+
|
| 225 |
+
Kondor, R., Lin, Z., and Trivedi, S. Clebsch-gordan nets: a fully fourier space spherical convolutional neural network. In NIPS, 2018.
|
| 226 |
+
|
| 227 |
+
Kostrikov, I., Jiang, Z., Panozzo, D., Zorin, D., and Bruna, J. Surface networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2540–2548, 2018.
|
| 228 |
+
|
| 229 |
+
Lai, Y.-K., Jin, M., Xie, X., He, Y., Palacios, J., Zhang, E., Hu, S.-M., and Gu, X. Metric-driven rosy field design and remeshing. IEEE Transactions on Visualization and Computer Graphics, 16(1): 95–108, 2009.
|
| 230 |
+
|
| 231 |
+
Lang, L. and Weiler, M. A Wigner-Eckart Theorem for Group Equivariant Convolution Kernels. arXiv preprint arXiv:2010.10952, 2020.
|
| 232 |
+
|
| 233 |
+
Maron, H., Galun, M., Aigerman, N., Trope, M., Dym, N., Yumer, E., Kim, V. G., and Lipman, Y. Convolutional neural networks on surfaces via seamless toric covers. ACM Trans. Graph., 36(4): 71–1, 2017.
|
| 234 |
+
|
| 235 |
+
Masci, J., Boscaini, D., Bronstein, M. M., and Vandergheynst, P. Geodesic convolutional neural networks on riemannian manifolds. ICCVW, 2015.
|
| 236 |
+
|
| 237 |
+
Monti, F., Boscaini, D., Masci, J., Rodola, E., Svoboda, J., and Bronstein, M. M. Geometric deep \` learning on graphs and manifolds using mixture model cnns. CoRR, abs/1611.08402, 2016. URL http://arxiv.org/abs/1611.08402.
|
| 238 |
+
|
| 239 |
+
Perraudin, N., Defferrard, M., Kacprzak, T., and Sgier, R. Deepsphere: Efficient spherical convolutional neural network with healpix sampling for cosmological applications. Astronomy and Computing, 27:130–146, 2019.
|
| 240 |
+
|
| 241 |
+
Poulenard, A. and Ovsjanikov, M. Multi-directional geodesic neural networks via equivariant convolution. ACM Transactions on Graphics, 2018.
|
| 242 |
+
|
| 243 |
+
Qi, C. R., Su, H., Mo, K., and Guibas, L. J. Pointnet: Deep learning on point sets for 3d classification and segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 652–660, 2017a.
|
| 244 |
+
|
| 245 |
+
Qi, C. R., Yi, L., Su, H., and Guibas, L. J. Pointne $^ { + + }$ : Deep hierarchical feature learning on point sets in a metric space. In Advances in neural information processing systems, pp. 5099–5108, 2017b.
|
| 246 |
+
|
| 247 |
+
Riegler, G., Osman Ulusoy, A., and Geiger, A. Octnet: Learning deep 3d representations at high resolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3577–3586, 2017.
|
| 248 |
+
|
| 249 |
+
Schonsheck, S. C., Dong, B., and Lai, R. Parallel Transport Convolution: A New Tool for Convolutional Neural Networks on Manifolds. arXiv:1805.07857 [cs, math, stat], May 2018.
|
| 250 |
+
|
| 251 |
+
Serre, J.-P. Linear representations of finite groups. 1977.
|
| 252 |
+
|
| 253 |
+
Sosnovik, I., Szmaja, M., and Smeulders, A. Scale-equivariant steerable networks. In International Conference on Learning Representations (ICLR), 2020.
|
| 254 |
+
|
| 255 |
+
Sun, Z., Rooke, E., Charton, J., He, Y., Lu, J., and Baek, S. Zernet: Convolutional neural networks on arbitrary surfaces via zernike local tangent space estimation. arXiv preprint arXiv:1812.01082, 2018.
|
| 256 |
+
|
| 257 |
+
Tchapmi, L., Choy, C., Armeni, I., Gwak, J., and Savarese, S. Segcloud: Semantic segmentation of 3d point clouds. In 2017 international conference on 3D vision (3DV), pp. 537–547. IEEE, 2017.
|
| 258 |
+
|
| 259 |
+
Thomas, N., Smidt, T., Kearnes, S., Yang, L., Li, L., Kohlhoff, K., and Riley, P. Tensor Field Networks: Rotation- and Translation-Equivariant Neural Networks for 3D Point Clouds. 2018.
|
| 260 |
+
|
| 261 |
+
Tombari, F., Salti, S., and Di Stefano, L. Unique signatures of histograms for local surface description. In European conference on computer vision, pp. 356–369. Springer, 2010.
|
| 262 |
+
|
| 263 |
+
Tu, L. W. Differential geometry: connections, curvature, and characteristic classes, volume 275. Springer, 2017.
|
| 264 |
+
|
| 265 |
+
Verma, N., Boyer, E., and Verbeek, J. Feastnet: Feature-steered graph convolutions for 3d shape analysis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2598–2606, 2018.
|
| 266 |
+
Weiler, M. and Cesa, G. General E(2)-equivariant steerable CNNs. In Conference on Neural Information Processing Systems (NeurIPS), 2019. URL https://arxiv.org/abs/1911. 08251.
|
| 267 |
+
Weiler, M., Geiger, M., Welling, M., Boomsma, W., and Cohen, T. 3D Steerable CNNs: Learning Rotationally Equivariant Features in Volumetric Data. In NeurIPS, 2018a.
|
| 268 |
+
Weiler, M., Hamprecht, F. A., and Storath, M. Learning steerable filters for rotation equivariant CNNs. In Conference on Computer Vision and Pattern Recognition (CVPR), 2018b.
|
| 269 |
+
Wiersma, R., Eisemann, E., and Hildebrandt, K. CNNs on Surfaces using Rotation-Equivariant Features. Transactions on Graphics, 39(4), July 2020. doi: 10.1145/3386569.3392437.
|
| 270 |
+
Winkels, M. and Cohen, T. S. 3D G-CNNs for pulmonary nodule detection. In Conference on Medical Imaging with Deep Learning (MIDL), 2018.
|
| 271 |
+
Worrall, D. and Welling, M. Deep scale-spaces: Equivariance over scale. In Conference on Neural Information Processing Systems (NeurIPS), 2019.
|
| 272 |
+
Worrall, D. E. and Brostow, G. J. Cubenet: Equivariance to 3D rotation and translation. In European Conference on Computer Vision (ECCV), 2018.
|
| 273 |
+
Worrall, D. E., Garbin, S. J., Turmukhambetov, D., and Brostow, G. J. Harmonic Networks: Deep Translation and Rotation Equivariance. In CVPR, 2017.
|
| 274 |
+
Wu, Z., Song, S., Khosla, A., Yu, F., Zhang, L., Tang, X., and Xiao, J. 3d shapenets: A deep representation for volumetric shapes. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1912–1920, 2015.
|
| 275 |
+
Zhao, F., Xia, S., Wu, Z., Duan, D., Wang, L., Lin, W., Gilmore, J. H., Shen, D., and Li, G. Spherical u-net on cortical surfaces: Methods and applications. CoRR, abs/1904.00906, 2019a. URL http://arxiv.org/abs/1904.00906.
|
| 276 |
+
Zhao, Y., Birdal, T., Lenssen, J. E., Menegatti, E., Guibas, L., and Tombari, F. Quaternion equivariant capsule networks for 3d point clouds. arXiv preprint arXiv:1912.12098, 2019b.
|
parse/train/Jnspzp-oIZE/Jnspzp-oIZE_content_list.json
ADDED
|
@@ -0,0 +1,1432 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "GAUGE EQUIVARIANT MESH CNNS ANISOTROPIC CONVOLUTIONS ON GEOMETRIC GRAPHS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
838,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Pim de Haan∗ Qualcomm AI Research† University of Amsterdam ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
352,
|
| 21 |
+
213
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Taco Cohen Qualcomm AI Research ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
653,
|
| 30 |
+
170,
|
| 31 |
+
813,
|
| 32 |
+
198
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Maurice Weiler∗ QUVA Lab University of Amsterdam ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
418,
|
| 41 |
+
170,
|
| 42 |
+
588,
|
| 43 |
+
212
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Max Welling Qualcomm AI Research University of Amsterdam ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
183,
|
| 52 |
+
234,
|
| 53 |
+
352,
|
| 54 |
+
276
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "ABSTRACT ",
|
| 61 |
+
"text_level": 1,
|
| 62 |
+
"bbox": [
|
| 63 |
+
454,
|
| 64 |
+
313,
|
| 65 |
+
544,
|
| 66 |
+
328
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "A common approach to define convolutions on meshes is to interpret them as a graph and apply graph convolutional networks (GCNs). Such GCNs utilize isotropic kernels and are therefore insensitive to the relative orientation of vertices and thus to the geometry of the mesh as a whole. We propose Gauge Equivariant Mesh CNNs which generalize GCNs to apply anisotropic gauge equivariant kernels. Since the resulting features carry orientation information, we introduce a geometric message passing scheme defined by parallel transporting features over mesh edges. Our experiments validate the significantly improved expressivity of the proposed model over conventional GCNs and other methods. ",
|
| 73 |
+
"bbox": [
|
| 74 |
+
233,
|
| 75 |
+
347,
|
| 76 |
+
766,
|
| 77 |
+
472
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 INTRODUCTION ",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
501,
|
| 88 |
+
336,
|
| 89 |
+
517
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Convolutional neural networks (CNNs) have been established as the default method for many machine learning tasks like speech recognition or planar and volumetric image classification and segmentation. Most CNNs are restricted to flat or spherical geometries, where convolutions are easily defined and optimized implementations are available. The empirical success of CNNs on such spaces has generated interest to generalize convolutions to more general spaces like graphs or Riemannian manifolds, creating a field now known as geometric deep learning (Bronstein et al., 2017). ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
535,
|
| 99 |
+
825,
|
| 100 |
+
618
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "A case of specific interest is convolution on meshes, the discrete analog of 2-dimensional embedded Riemannian manifolds. Mesh CNNs can be applied to tasks such as detecting shapes, registering different poses of the same shape and shape segmentation. If we forget the positions of vertices, and which vertices form faces, a mesh $M$ can be represented by a graph $\\mathcal { G }$ . This allows for the application of graph convolutional networks (GCNs) to processing signals on meshes. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
625,
|
| 110 |
+
825,
|
| 111 |
+
695
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Two local neighbourhoods around vertices $p$ and their representations in the tangent planes $T _ { p } M$ . The distinct geometry of the neighbourhoods is reflected in the different angles $\\theta _ { p q _ { i } }$ of incident edges from neighbours $q _ { i }$ . Graph convolutional networks apply isotropic kernels and can therefore not distinguish both neighbourhoods. Gauge Equivariant Mesh CNNs apply anisotropic kernels and are therefore sensitive to orientations. The arbitrariness of reference orientations, determined by a choice of neighbour $q _ { 0 }$ , is accounted for by the gauge equivariance of the model. "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"page_idx": 0
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"type": "text",
|
| 126 |
+
"text": "However, when representing a mesh by a graph, we lose important geometrical information. In particular, in a graph there is no notion of angle between or ordering of two of a node’s incident edges (see figure 1). Hence, a GCNs output at a node $p$ is designed to be independent of relative angles and invariant to any permutation of its neighbours $q _ { i } \\in \\bar { \\mathcal { N } } ( p )$ . A graph convolution on a mesh graph therefore corresponds to applying an isotropic convolution kernel. Isotropic filters are insensitive to the orientation of input patterns, so their features are strictly less expressive than those of orientation aware anisotropic filters. ",
|
| 127 |
+
"bbox": [
|
| 128 |
+
173,
|
| 129 |
+
103,
|
| 130 |
+
825,
|
| 131 |
+
202
|
| 132 |
+
],
|
| 133 |
+
"page_idx": 1
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"type": "text",
|
| 137 |
+
"text": "To address this limitation of graph networks we propose Gauge Equivariant Mesh CNNs (GEM-CNN), which minimally modify GCNs such that they are able to use anisotropic filters while sharing weights across different positions and respecting the local geometry. One obstacle in sharing anisotropic kernels, which are functions of the angle $\\theta _ { p q }$ of neighbour $q$ with respect to vertex $p$ , over multiple vertices of a mesh is that there is no unique way of selecting a reference neighbour $q _ { 0 }$ , which has the direction $\\theta _ { p q _ { 0 } } = 0$ . The reference neighbour, and hence the orientation of the neighbours, needs to be chosen arbitrarily. In order to guarantee the equivalence of the features resulting from different choices of orientations, we adapt Gauge Equivariant CNNs (Cohen et al., 2019b) to general meshes. The kernels of our model are thus designed to be equivariant under gauge transformations, that is, to guarantee that the responses for different kernel orientations are related by a prespecified transformation law. Such features are identified as geometric objects like scalars, vectors, tensors, etc., depending on the specific choice of transformation law. In order to compare such geometric features at neighbouring vertices, they need to be parallel transported along the connecting edge. ",
|
| 138 |
+
"bbox": [
|
| 139 |
+
174,
|
| 140 |
+
208,
|
| 141 |
+
825,
|
| 142 |
+
388
|
| 143 |
+
],
|
| 144 |
+
"page_idx": 1
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"type": "text",
|
| 148 |
+
"text": "In our implementation we first specify the transformation laws of the feature spaces and compute a space of gauge equivariant kernels. Then we pick arbitrary reference orientations at each node, relative to which we compute neighbour orientations and compute the corresponding edge transporters. Given these quantities, we define the forward pass as a message passing step via edge transporters followed by a contraction with the equivariant kernels evaluated at the neighbour orientations. Algorithmically, Gauge Equivariant Mesh CNNs are therefore just GCNs with anisotropic, gauge equivariant kernels and message passing via parallel transporters. Conventional GCNs are covered in this framework for the specific choice of isotropic kernels and trivial edge transporters, given by identity maps. ",
|
| 149 |
+
"bbox": [
|
| 150 |
+
174,
|
| 151 |
+
395,
|
| 152 |
+
825,
|
| 153 |
+
507
|
| 154 |
+
],
|
| 155 |
+
"page_idx": 1
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "text",
|
| 159 |
+
"text": "In Sec. 2, we will give an outline of our method, deferring details to Secs. 3 and 4. In Sec. 3.2, we describe how to compute general geometric quantities, not specific to our method, used for the computation of the convolution. In our experiments in Sec. 6.1, we find that the enhanced expressiveness of Gauge Equivariant Mesh CNNs enables them to outperform conventional GCNs and other prior work in a shape correspondence task. ",
|
| 160 |
+
"bbox": [
|
| 161 |
+
174,
|
| 162 |
+
513,
|
| 163 |
+
825,
|
| 164 |
+
583
|
| 165 |
+
],
|
| 166 |
+
"page_idx": 1
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"text": "2 CONVOLUTIONS ON GRAPHS WITH GEOMETRY ",
|
| 171 |
+
"text_level": 1,
|
| 172 |
+
"bbox": [
|
| 173 |
+
174,
|
| 174 |
+
603,
|
| 175 |
+
596,
|
| 176 |
+
619
|
| 177 |
+
],
|
| 178 |
+
"page_idx": 1
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"type": "text",
|
| 182 |
+
"text": "We consider the problem of processing signals on discrete 2-dimensional manifolds, or meshes $M$ . Such meshes are described by a set $\\nu$ of vertices in $\\mathbb { R } ^ { 3 }$ together with a set $\\mathcal { F }$ of tuples, each consisting of the vertices at the corners of a face. For a mesh to describe a proper manifold, each edge needs to be connected to two faces, and the neighbourhood of each vertex needs to be homeomorphic to a disk. Mesh $M$ induces a graph $\\mathcal { G }$ by forgetting the coordinates of the vertices while preserving the edges. ",
|
| 183 |
+
"bbox": [
|
| 184 |
+
173,
|
| 185 |
+
633,
|
| 186 |
+
825,
|
| 187 |
+
705
|
| 188 |
+
],
|
| 189 |
+
"page_idx": 1
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"type": "text",
|
| 193 |
+
"text": "A conventional graph convolution between kernel $K$ and signal $f$ , evaluated at a vertex $p$ , can be defined by ",
|
| 194 |
+
"bbox": [
|
| 195 |
+
176,
|
| 196 |
+
710,
|
| 197 |
+
823,
|
| 198 |
+
739
|
| 199 |
+
],
|
| 200 |
+
"page_idx": 1
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"type": "equation",
|
| 204 |
+
"img_path": "images/f7dc7346638ffdd597ded37e5b12f075a1233c4aa09a66d5c8203757360421fd.jpg",
|
| 205 |
+
"text": "$$\n( K \\star f ) _ { p } = K _ { \\mathrm { s e l f } } f _ { p } + \\sum _ { q \\in { \\mathcal N } _ { p } } K _ { \\mathrm { n e i g h } } f _ { q } ,\n$$",
|
| 206 |
+
"text_format": "latex",
|
| 207 |
+
"bbox": [
|
| 208 |
+
359,
|
| 209 |
+
743,
|
| 210 |
+
635,
|
| 211 |
+
772
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "where $\\mathcal { N } _ { p }$ is the set of neighbours of $p$ in $\\mathcal { G }$ , and $K _ { \\mathrm { s e l f } } \\in \\mathbb { R } ^ { C _ { \\mathrm { i n } } \\times C _ { \\mathrm { o u t } } }$ and $K _ { \\mathrm { n e i g h } } \\in \\mathbb { R } ^ { C _ { \\mathrm { i n } } \\times C _ { \\mathrm { o u t } } }$ are two linear maps which model a self interaction and the neighbour contribution, respectively. Importantly, graph convolution does not distinguish different neighbours, because each feature vector $f _ { q }$ is multiplied by the same matrix $K _ { \\mathrm { n e i g h } }$ and then summed. For this reason we say the kernel is isotropic. ",
|
| 218 |
+
"bbox": [
|
| 219 |
+
174,
|
| 220 |
+
776,
|
| 221 |
+
825,
|
| 222 |
+
834
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "Consider the example in figure 1, where on the left and right, the neighbourhood of one vertex $p$ containing neighbours $q \\in \\mathcal { N } _ { p }$ , is visualized. An isotropic kernel would propagate the signal from the neighbours to $p$ in exactly the same way in both neighbourhoods, even though the neighbourhoods are geometrically distinct. For this reason, our method uses direction sensitive (anisotropic) kernels instead of isotropic kernels. Anisotropic kernels are inherently more expressive than isotropic ones which is why they are used universally in conventional planar CNNs. ",
|
| 229 |
+
"bbox": [
|
| 230 |
+
173,
|
| 231 |
+
839,
|
| 232 |
+
825,
|
| 233 |
+
924
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "Algorithm 1 Gauge Equivariant Mesh CNN layer ",
|
| 240 |
+
"text_level": 1,
|
| 241 |
+
"bbox": [
|
| 242 |
+
179,
|
| 243 |
+
104,
|
| 244 |
+
472,
|
| 245 |
+
117
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 2
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "table",
|
| 251 |
+
"img_path": "images/0964f893a1533421235ae6a44ce853f32c081b20aa6c2a68cbe2e09b96b9866a.jpg",
|
| 252 |
+
"table_caption": [],
|
| 253 |
+
"table_footnote": [],
|
| 254 |
+
"table_body": "<table><tr><td>Input: mesh M,input/output feature types pin, pout,reference neighbours (q ∈ Np)p∈M.</td><td> Sec.3</td></tr><tr><td>Compute basis kernels K'ef, Kneigh (0) Initialise weights wself and wneigh·</td><td></td></tr><tr><td>For each neighbour pair,p ∈ M,q ∈Np:</td><td> App. A.</td></tr><tr><td>compute neighbor angles θpq relative to reference neighbor</td><td></td></tr><tr><td>compute parallel transporters gq→p</td><td></td></tr><tr><td>Forward(input features (fp)p∈M, weights wself,wneigh):</td><td></td></tr><tr><td>f←∑iwselfKselffp+∑i,q∈NpwneighKneigh(0pq)Pin(gq→p)fq</td><td></td></tr></table>",
|
| 255 |
+
"bbox": [
|
| 256 |
+
184,
|
| 257 |
+
121,
|
| 258 |
+
823,
|
| 259 |
+
252
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "We propose the Gauge Equivariant Mesh Convolution, a minimal modification of graph convolution that allows for anisotropic kernels $K ( \\theta )$ whose value depends on an orientation $\\theta \\in [ 0 , 2 \\pi )$ . 1 To define the orientations $\\theta _ { p q }$ of neighbouring vertices $q \\in \\mathcal { N } _ { p }$ of $p$ , we first map them to the tangent plane $T _ { p } M$ at $p$ , as visualized in figure 1. We then pick an arbitrary reference neighbour $q _ { 0 } ^ { \\bar { p } }$ to determine a reference orientation2 $\\theta _ { p q _ { 0 } ^ { p } } : = 0$ , marked orange in figure 1. This induces a basis on the tangent plane, which, when expressed in polar coordinates, defines the angles $\\theta _ { p q }$ of the other neighbours. ",
|
| 266 |
+
"bbox": [
|
| 267 |
+
173,
|
| 268 |
+
276,
|
| 269 |
+
825,
|
| 270 |
+
378
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 2
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "As we will motivate in the next section, features in a Gauge Equivariant CNN are coefficients of geometric quantities. For example, a tangent vector at vertex $p$ can be described either geometrically by a 3 dimensional vector orthogonal to the normal at $p$ or by two coefficients in the basis on the tangent plane. In order to perform convolution, geometric features at different vertices need to be linearly combined, for which it is required to first “parallel transport” the features to the same vertex. This is done by applying a matrix $\\rho ( \\mathsf { \\bar { g } } _ { q \\to p } ) \\in \\mathbb { R } ^ { C _ { \\mathrm { i n } } \\times C _ { \\mathrm { i n } } }$ to the coefficients of the feature at $q$ , in order to obtain the coefficients of the feature vector transported to $p$ , which can be used for the convolution at $p$ . The transporter depends on the geometric type (group representation) of the feature, denoted by $\\rho$ and described in more detail below. Details of how the tangent space is defined, how to compute the map to the tangent space, angles $\\theta _ { p q }$ , and the parallel transporter are given in Appendix A. ",
|
| 277 |
+
"bbox": [
|
| 278 |
+
173,
|
| 279 |
+
385,
|
| 280 |
+
826,
|
| 281 |
+
525
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 2
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "In combination, this leads to the GEM-CNN convolution ",
|
| 288 |
+
"bbox": [
|
| 289 |
+
174,
|
| 290 |
+
530,
|
| 291 |
+
547,
|
| 292 |
+
545
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 2
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "equation",
|
| 298 |
+
"img_path": "images/302d8166143564dabd695dacee11c43bf5872a6a1275aace591824eb21cdf787.jpg",
|
| 299 |
+
"text": "$$\n( K \\star f ) _ { p } ~ = ~ K _ { \\mathrm { s e l f } } f _ { p } + \\sum _ { q \\in { \\cal N } _ { p } } K _ { \\mathrm { n e i g h } } ( \\theta _ { p q } ) \\rho ( g _ { q \\to p } ) f _ { q }\n$$",
|
| 300 |
+
"text_format": "latex",
|
| 301 |
+
"bbox": [
|
| 302 |
+
315,
|
| 303 |
+
559,
|
| 304 |
+
681,
|
| 305 |
+
587
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 2
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "which differs from the conventional graph convolution, defined in Eq. 1 only by the use of an anisotropic kernel and the parallel transport message passing. ",
|
| 312 |
+
"bbox": [
|
| 313 |
+
173,
|
| 314 |
+
599,
|
| 315 |
+
825,
|
| 316 |
+
628
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 2
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "We require the outcome of the convolution to be equivalent for any choice of reference orientation. This is not the case for any anisotropic kernel but only for those which are equivariant under changes of reference orientations (gauge transformations). Equivariance imposes a linear constraint on the kernels. We therefore solve for complete sets of “basis-kernels” $\\dot { K } _ { \\mathrm { s e l f } } ^ { i }$ and $K _ { \\mathrm { n e i g h } } ^ { i }$ satisfying this constraint and linearly combine them with parameters $w _ { \\mathrm { s e l f } } ^ { i }$ and $w _ { \\mathrm { n e i g h } } ^ { i }$ such that $\\begin{array} { r } { K _ { \\mathrm { s e l f } } = \\sum _ { i } w _ { \\mathrm { s e l f } } ^ { i } K _ { \\mathrm { s e l f } } ^ { i } } \\end{array}$ and $\\begin{array} { r } { K _ { \\mathrm { n e i g h } } = \\sum _ { i } w _ { \\mathrm { n e i g h } } ^ { i } K _ { \\mathrm { n e i g h } } ^ { i } } \\end{array}$ . Details on the computation of basis kernels are given in section 3. The full algorithm for initialisation and forward pass, which is of time and space complexity linear in the number of vertices, for a GEM-CNN layer are listed in algorithm 1. Gradients can be computed by automatic differentiation. ",
|
| 323 |
+
"bbox": [
|
| 324 |
+
173,
|
| 325 |
+
635,
|
| 326 |
+
826,
|
| 327 |
+
768
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 2
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "text",
|
| 333 |
+
"text": "The GEM-CNN is gauge equivariant, but furthermore satisfies two important properties. Firstly, it depends only on the intrinsic shape of the 2D mesh, not on the embedding of the mesh in $\\mathbb { R } ^ { \\bar { 3 } }$ . Secondly, whenever a map from the mesh to itself exists that preserves distances and orientation, the convolution is equivariant to moving the signal along such transformations. These properties are proven in Appendix D and empirically shown in Appendix F.2. ",
|
| 334 |
+
"bbox": [
|
| 335 |
+
173,
|
| 336 |
+
775,
|
| 337 |
+
826,
|
| 338 |
+
844
|
| 339 |
+
],
|
| 340 |
+
"page_idx": 2
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"type": "image",
|
| 344 |
+
"img_path": "images/6ac0a3a2320acbde203ad94a79a9d22005edf891fd847ae6eb2d500d0f720c4e.jpg",
|
| 345 |
+
"image_caption": [
|
| 346 |
+
"Figure 2: Visualization of the Gauge Equivariant Mesh Convolution in two configurations, scalar to scalar and scalar to vector. The convolution operates in a gauge, so that vectors are expressed in coefficients in a basis and neighbours have polar coordinates, but can also be seen as a geometric convolution, a gauge-independent map from an input signal on the mesh to a output signal on the mesh. The convolution is equivariant if this geometric convolution does not depend on the intermediate chosen gauge, so if the diagram commutes. "
|
| 347 |
+
],
|
| 348 |
+
"image_footnote": [],
|
| 349 |
+
"bbox": [
|
| 350 |
+
202,
|
| 351 |
+
92,
|
| 352 |
+
789,
|
| 353 |
+
340
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 3
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "3 GAUGE EQUIVARIANCE & GEOMETRIC FEATURES ",
|
| 360 |
+
"text_level": 1,
|
| 361 |
+
"bbox": [
|
| 362 |
+
176,
|
| 363 |
+
431,
|
| 364 |
+
622,
|
| 365 |
+
448
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 3
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "On a general mesh, the choice of the reference neighbour, or gauge, which defines the orientation of the kernel, can only be made arbitrarily. However, this choice should not arbitrarily affect the outcome of the convolution, as this would impede the generalization between different locations and different meshes. Instead, Gauge Equivariant Mesh CNNs have the property that their output transforms according to a known rule as the gauge changes. ",
|
| 372 |
+
"bbox": [
|
| 373 |
+
174,
|
| 374 |
+
467,
|
| 375 |
+
825,
|
| 376 |
+
536
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 3
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "Consider the left hand side of figure 2(a). Given a neighbourhood of vertex $p$ , we want to express each neighbour $q$ in terms of its polar coordinates $( r _ { q } , \\theta _ { q } )$ on the tangent plane, so that the kernel value at that neighbour $K _ { \\mathrm { n e i g h } } ( \\bar { \\theta _ { q } } )$ is well defined. This requires choosing a basis on the tangent plane, determined by picking a neighbour as reference neighbour (denoted $q _ { 0 . }$ ), which has the zero angle $\\theta _ { q _ { 0 } } = 0$ . In the top path, we pick $q _ { A }$ as reference neighbour. Let us call this gauge A, in which neighbours have angles $\\theta _ { q } ^ { A }$ . In the bottom path, we instead pick neighbour $q _ { B }$ as reference point and are in gauge B. We get a different basis for the tangent plane and different angles $\\underset { . } { \\theta _ { q } ^ { B } }$ for each neighbour. Comparing the two gauges, we see that they are related by a rotation, so that $\\theta _ { q } ^ { B } = \\theta _ { q } ^ { A } - \\mathsf { \\bar { \\theta } } _ { q B } ^ { A }$ . This change of gauge is called a gauge transformation of angle $g : = \\theta _ { q _ { B } } ^ { A }$ . ",
|
| 383 |
+
"bbox": [
|
| 384 |
+
173,
|
| 385 |
+
542,
|
| 386 |
+
825,
|
| 387 |
+
675
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 3
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "In figure 2(a), we illustrate a gauge equivariant convolution that takes input and output features such as gray scale image values on the mesh, which are called scalar features. The top path represents the convolution in gauge A, the bottom path in gauge B. In either case, the convolution can be interpreted as consisting of three steps. First, for each vertex $p$ , the value of the scalar features on the mesh at each neighbouring vertex $q$ , represented by colors, is mapped to the tangent plane at $p$ at angle $\\theta _ { q }$ defined by the gauge. Subsequently, the convolutional kernel sums for each neighbour $q$ , the product of the feature at $q$ and kernel $K ( \\theta _ { q } )$ . Finally the output is mapped back to the mesh. These three steps can be composed into a single step, which we could call a geometric convolution, mapping from input features on the mesh to output features on the mesh. The convolution is gauge equivariant if this geometric convolution does not depend on the gauge we pick in the interim, so in figure 2(a), if the convolution in the top path in gauge A has same result the convolution in the bottom path in gauge B, making the diagram commute. In this case, however, we see that the convolution output needs to be the same in both gauges, for the convolution to be equivariant. Hence, we must have that $K ( \\theta _ { q } ) = K ( \\theta _ { q } - g )$ , as the orientations of the neighbours differ by some angle $g$ , and the kernel must be isotropic. ",
|
| 394 |
+
"bbox": [
|
| 395 |
+
173,
|
| 396 |
+
681,
|
| 397 |
+
825,
|
| 398 |
+
888
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 3
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "As we aim to design an anisotropic convolution, the output feature of the convolution at $p$ can, instead of a scalar, be two numbers $v \\in \\mathbb { R } ^ { 2 }$ , which can be interpreted as coefficients of a tangent feature vector in the tangent space at $p$ , visualized in figure 2(b). As shown on the right hand side, different gauges induce a different basis of the tangent plane, so that the same tangent vector (shown on the middle right on the mesh), is represented by different coefficients in the gauge (shown on the top and bottom on the right). This gauge equivariant convolution must be anisotropic: going from the top row to the bottom row, if we change orientations of the neighbours by $- g$ , the coefficients of the output vector $v \\in \\mathbb { R } ^ { 2 }$ of the kernel must be also rotated by $- g$ . This is written as $R ( - g ) v$ , where $R ( - g ) \\in \\mathbb { R } ^ { 2 \\times 2 }$ is the matrix that rotates by angle $- g$ . ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
173,
|
| 407 |
+
895,
|
| 408 |
+
823,
|
| 409 |
+
924
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 3
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "",
|
| 416 |
+
"bbox": [
|
| 417 |
+
173,
|
| 418 |
+
103,
|
| 419 |
+
825,
|
| 420 |
+
202
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 4
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "Vectors and scalars are not the only type of geometric features that can be inputs and outputs of a GEM-CNN layer. In general, the coefficients of a geometric feature of $C$ dimensions changes by an invertible linear transformation $\\rho ( - g ) \\in \\mathbb { R } ^ { C \\times C }$ if the gauge is rotated by angle $g$ . The map $\\begin{array} { r } { \\dot { \\rho ^ { \\smash { \\sum } } } : [ 0 , 2 \\pi ) \\to \\mathbb { R } ^ { C \\times C } } \\end{array}$ is called the type of the geometric quantity and is formally known as a group representation of the planar rotation group SO(2). Group representations have the property that $\\bar { \\rho ( g + h ) } = \\rho ( g ) \\rho ( h )$ (they are group homomorphisms), which implies in particular that $\\dot { \\rho } ( 0 ) = \\mathbb { 1 }$ and $\\rho ( - g ) = \\rho ( g ) ^ { - 1 }$ . For more background on group representation theory, we refer the reader to (Serre, 1977) and, specifically in the context of equivariant deep learning, to (Lang & Weiler, 2020). From the theory of group representations, we know that any feature type can be composed from “irreducible representations” (irreps). For SO(2), these are the one dimensional invariant scalar representation $\\rho _ { 0 }$ and for all $n \\in { \\mathbb { N } } _ { > 0 }$ , a two dimensional representation $\\rho _ { n }$ , ",
|
| 427 |
+
"bbox": [
|
| 428 |
+
173,
|
| 429 |
+
208,
|
| 430 |
+
825,
|
| 431 |
+
361
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 4
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "equation",
|
| 437 |
+
"img_path": "images/2265104b9cbc645b9b769ce1afe82e52e1f5a6d74e46342b309221ed79df66cd.jpg",
|
| 438 |
+
"text": "$$\n\\rho _ { 0 } ( g ) = 1 , \\quad \\rho _ { n } ( g ) = \\binom { \\cos n g } { \\sin n g } \\quad \\sp { - \\sin n g } \\nonumber \\cos n g \\biggr ) .\n$$",
|
| 439 |
+
"text_format": "latex",
|
| 440 |
+
"bbox": [
|
| 441 |
+
349,
|
| 442 |
+
364,
|
| 443 |
+
647,
|
| 444 |
+
400
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 4
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "where we write, for example, $\\rho = \\rho _ { 0 } \\oplus \\rho _ { 1 } \\oplus \\rho _ { 1 }$ to denote that representation $\\rho ( g )$ is the direct sum (i.e. block-diagonal stacking) of the matrices $\\dot { \\rho } _ { 0 } ( g ) , \\rho _ { 1 } ( g ) , \\rho _ { 1 } ( g )$ . Scalars and tangent vector features correspond to $\\rho _ { 0 }$ and $\\rho _ { 1 }$ respectively and we have $R ( g ) = \\rho _ { 1 } ( g )$ . ",
|
| 451 |
+
"bbox": [
|
| 452 |
+
173,
|
| 453 |
+
404,
|
| 454 |
+
823,
|
| 455 |
+
448
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 4
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "The type of the feature at each layer in the network can thus be fully specified (up to a change of basis) by the number of copies of each irrep. Similar to the dimensionality in a conventional CNN, the choice of type is a hyperparameter that can be freely chosen to optimize performance. ",
|
| 462 |
+
"bbox": [
|
| 463 |
+
174,
|
| 464 |
+
453,
|
| 465 |
+
825,
|
| 466 |
+
496
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 4
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "3.1 KERNEL CONSTRAINT ",
|
| 473 |
+
"text_level": 1,
|
| 474 |
+
"bbox": [
|
| 475 |
+
176,
|
| 476 |
+
512,
|
| 477 |
+
370,
|
| 478 |
+
526
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 4
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"text": "Given an input type $\\rho _ { \\mathrm { i n } }$ and output type $\\rho _ { \\mathrm { o u t } }$ of dimensions $C _ { \\mathrm { i n } }$ and $C _ { \\mathrm { { o u t } } }$ , the kernels are $K _ { \\mathrm { s e l f } } ~ \\in$ $\\mathbb { R } ^ { C _ { \\mathrm { o u t } } \\times C _ { \\mathrm { i n } } }$ and $K _ { \\mathrm { n e i g h } } : [ 0 , 2 \\pi ) ] \\mathbb { R } ^ { C _ { \\mathrm { o u t } } \\times C _ { \\mathrm { i n } } }$ . However, not all such kernels are equivariant. Consider again examples figure 2(a) and figure 2(b). If we map from a scalar to a scalar, we get that $K _ { \\mathrm { n e i g h } } ( \\theta -$ $\\bar { g ) } = K _ { \\mathrm { n e i g h } } \\bar { ( \\theta ) }$ for all angles $\\theta , g$ and the convolution is isotropic. If we map from a scalar to a vector, we get that rotating the angles $\\theta _ { q }$ results in the same tangent vector as rotating the output vector coefficients, so that $K _ { \\mathrm { n e i g h } } ( \\theta - g ) { \\dot { = } } R ( - g ) K _ { \\mathrm { n e i g h } } ( \\theta )$ . ",
|
| 485 |
+
"bbox": [
|
| 486 |
+
173,
|
| 487 |
+
537,
|
| 488 |
+
825,
|
| 489 |
+
622
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 4
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"text": "In general, as derived by Cohen et al. (2019b) and in appendix B, the kernels must satisfy for any gauge transformation $g \\in [ 0 , 2 \\pi )$ and angle $\\theta \\in [ 0 , 2 \\pi )$ , that ",
|
| 496 |
+
"bbox": [
|
| 497 |
+
173,
|
| 498 |
+
627,
|
| 499 |
+
483,
|
| 500 |
+
684
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 4
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "equation",
|
| 506 |
+
"img_path": "images/fbc75e930baf3cb9bad530c82dda353813ad8e002856b34fce4691a7a382a086.jpg",
|
| 507 |
+
"text": "$$\n\\begin{array} { r } { K _ { \\mathrm { n e i g h } } ( \\theta - g ) = \\rho _ { \\mathrm { o u t } } ( - g ) K _ { \\mathrm { n e i g h } } ( \\theta ) \\rho _ { \\mathrm { i n } } ( g ) , } \\\\ { K _ { \\mathrm { s e l f } } = \\rho _ { \\mathrm { o u t } } ( - g ) \\ K _ { \\mathrm { s e l f } } \\ \\rho _ { \\mathrm { i n } } ( g ) . \\qquad } \\end{array}\n$$",
|
| 508 |
+
"text_format": "latex",
|
| 509 |
+
"bbox": [
|
| 510 |
+
178,
|
| 511 |
+
688,
|
| 512 |
+
454,
|
| 513 |
+
726
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "The kernel can be seen as consisting of multiple blocks, where each block takes as input one irrep and outputs one irrep. For example if $\\rho _ { \\mathrm { i n } }$ would be of type $\\rho _ { 0 } \\oplus \\rho _ { 1 } \\oplus \\rho _ { 1 }$ and $\\rho _ { \\mathrm { o u t } }$ of type $\\rho _ { 1 } \\oplus \\rho _ { 3 }$ , we have $4 \\times 5$ matrix ",
|
| 520 |
+
"bbox": [
|
| 521 |
+
173,
|
| 522 |
+
728,
|
| 523 |
+
485,
|
| 524 |
+
796
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 4
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "equation",
|
| 530 |
+
"img_path": "images/2569c412e3aebe133e776b95db271b43767b03c0e8557d0f49d9a6c28063c646.jpg",
|
| 531 |
+
"text": "$$\nK _ { \\mathrm { n e i g h } } ( \\theta ) = { \\binom { K _ { 1 0 } ( \\theta ) } { K _ { 3 0 } ( \\theta ) } } K _ { 1 1 } ( \\theta ) K _ { 1 1 } ( \\theta ) \\Big )\n$$",
|
| 532 |
+
"text_format": "latex",
|
| 533 |
+
"bbox": [
|
| 534 |
+
184,
|
| 535 |
+
800,
|
| 536 |
+
475,
|
| 537 |
+
834
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 4
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "table",
|
| 543 |
+
"img_path": "images/9b1db510bcf3c43ffb972cd878e32ddda9d4e7acf540fb3f090e3d40f4ae2d9c.jpg",
|
| 544 |
+
"table_caption": [
|
| 545 |
+
"Table 1: Solutions to the angular kernel constraint for kernels that map from $\\rho _ { n }$ to $\\rho _ { m }$ . We denote $c _ { \\pm } = \\cos ( ( m \\pm n ) \\theta )$ and $s _ { \\pm } = \\sin ( ( m \\pm n ) \\theta )$ . "
|
| 546 |
+
],
|
| 547 |
+
"table_footnote": [],
|
| 548 |
+
"table_body": "<table><tr><td>pin→pout</td><td>linearly independent solutions for Kneigh (0)</td></tr><tr><td>p→po</td><td>(1)</td></tr><tr><td>pn→po</td><td>(cos nθ sin nθ),(sin nθ -cos n0)</td></tr><tr><td>po→pm</td><td>(cos mθ) sin m) (sinmθ) , (-cosm0)</td></tr><tr><td>pn→pm</td><td>(c- -s_ S_ C_ (C+ S+ -S+ C+ s_ c_ -c S- S+ -C+) , c+s+)</td></tr><tr><td>pin→pout</td><td>linearly independent solutions for Kself</td></tr><tr><td>p→po</td><td>(1)</td></tr><tr><td>pn→pn</td><td>(61). (-1)</td></tr></table>",
|
| 549 |
+
"bbox": [
|
| 550 |
+
498,
|
| 551 |
+
645,
|
| 552 |
+
820,
|
| 553 |
+
787
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "where e.g. $K _ { 3 1 } ( \\theta ) \\in \\mathbb { R } ^ { 2 \\times 2 }$ is a kernel that takes as input irrep $\\rho _ { 1 }$ and as output irrep $\\rho _ { 3 }$ and needs to satisfy Eq. 3. As derived by Weiler & Cesa (2019) and in Appendix C, the kernels $K _ { \\mathrm { n e i g h } } ( \\theta )$ and $K _ { \\mathrm { s e l f } }$ mapping from irrep $\\rho _ { n }$ to irrep $\\rho _ { m }$ can be written as a linear combination of the basis kernels listed in Table 1. The table shows that equivariance requires the self-interaction to only map from one irrep to the same irrep. Hence, we have $K _ { \\mathrm { s e l f } } = \\left( \\begin{array} { c c c } { 0 } & { K _ { 1 1 } } & { K _ { 1 1 } } \\\\ { 0 } & { 0 } & { 0 } \\end{array} \\right) \\in \\mathbb { R } ^ { 4 \\times 3 } .$ ",
|
| 560 |
+
"bbox": [
|
| 561 |
+
173,
|
| 562 |
+
839,
|
| 563 |
+
825,
|
| 564 |
+
928
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 4
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"text": "All basis-kernels of all pairs of input irreps and output irreps can be linearly combined to form an arbitrary equivariant kernel from feature of type $\\rho _ { \\mathrm { i n } }$ to $\\rho _ { \\mathrm { o u t } }$ . In the above example, we have $2 \\times 2 + 4 \\times 4 = 2 0$ basis kernels for $K _ { \\mathrm { n e i g h } }$ and 4 basis kernels for $K _ { \\mathrm { s e l f } }$ . The layer thus has 24 parameters. As proven in (Weiler & Cesa, 2019) and (Lang & Weiler, 2020), this parameterization of the equivariant kernel space is complete, that is, more general equivariant kernels do not exist. ",
|
| 571 |
+
"bbox": [
|
| 572 |
+
174,
|
| 573 |
+
103,
|
| 574 |
+
825,
|
| 575 |
+
174
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 5
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "3.2 GEOMETRY AND PARALLEL TRANSPORT ",
|
| 582 |
+
"text_level": 1,
|
| 583 |
+
"bbox": [
|
| 584 |
+
176,
|
| 585 |
+
190,
|
| 586 |
+
495,
|
| 587 |
+
204
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 5
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "In order to implement gauge equivariant mesh CNNs, we need to make the abstract notion of tangent spaces, gauges and transporters concrete. ",
|
| 594 |
+
"bbox": [
|
| 595 |
+
174,
|
| 596 |
+
215,
|
| 597 |
+
823,
|
| 598 |
+
244
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 5
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "As the mesh is embedded in $\\mathbb { R } ^ { 3 }$ , a natural definition of the tangent spaces $T _ { p } M$ is as two dimensional subspaces that are orthogonal to the normal vector at $p$ . We follow the common definition of normal vectors at mesh vertices as the area weighted average of the adjacent faces’ normals. The Riemannian logarithm map $\\log _ { p } : \\mathcal { N } _ { p } \\to T _ { p } M$ represents the one-ring neighborhood of each point $p$ on their tangent spaces as visualized in figure 1. Specifically, neighbors $q \\in \\mathcal { N } _ { p }$ are mapped to $\\bar { \\log _ { p } ( q ) } \\in T _ { p } \\bar { M }$ by first projecting them to $T _ { p } M$ and then rescaling the projection such that the norm is preserved, i.e. $| \\log _ { p } ( q ) | = | q - p |$ ; see Eq. 6. A choice of reference neighbor $q _ { p } \\in \\mathcal { N }$ uniquely determines a right handed, orthonormal reference frame $( e _ { p , 1 } , e _ { p , 2 } )$ of $T _ { p } M$ by setting $e _ { p , 1 } : = \\log _ { p } ( q _ { 0 } ) / | \\log _ { p } ( q _ { 0 } ) |$ and $e _ { p , 2 } : = n \\times e _ { p , 1 }$ . The polar angle $\\theta _ { p q }$ of any neighbor $q \\in \\mathcal N$ relative to the first frame axis is then given by $\\theta _ { p q } : = \\mathrm { a t a n 2 } \\left( e _ { p , 2 } ^ { \\top } \\log _ { p } ( q ) , e _ { p , 1 } ^ { \\top } \\log _ { p } ( q ) \\right) )$ . ",
|
| 605 |
+
"bbox": [
|
| 606 |
+
173,
|
| 607 |
+
251,
|
| 608 |
+
825,
|
| 609 |
+
400
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "text",
|
| 615 |
+
"text": "Given the reference frame $( e _ { p , 1 } , e _ { p , 2 } )$ , a 2-tuple of coefficients $( v _ { 1 } , v _ { 2 } ) \\in \\mathbb { R } ^ { 2 }$ specifies an (embedded) tangent vector $v _ { 1 } e _ { p , 1 } + v _ { 2 } e _ { p , 2 } \\in T _ { p } M \\subset \\mathbb { R } ^ { 3 }$ . This assignment is formally given by the gauge map $E _ { p } : \\mathbb { R } ^ { 2 } \\to T _ { p } M \\overset { \\cdot } { \\subset } \\mathbb { R } ^ { 3 }$ which is a vector space isomorphism. In our case, it can be identified with the matrix ",
|
| 616 |
+
"bbox": [
|
| 617 |
+
174,
|
| 618 |
+
405,
|
| 619 |
+
825,
|
| 620 |
+
463
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 5
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "equation",
|
| 626 |
+
"img_path": "images/1af838a9ec21d8ddaad65a26f8b728761dacd73ae62d0fa7ec56bd6dee146450.jpg",
|
| 627 |
+
"text": "$$\n\\begin{array} { r } { \\boldsymbol { E _ { p } } = \\left[ \\begin{array} { c c } { \\boldsymbol { \\vert } } & { \\boldsymbol { \\vert } } \\\\ { \\boldsymbol { e _ { p , 1 } } } & { \\boldsymbol { e _ { p , 2 } } } \\\\ { \\boldsymbol { \\vert } } & { \\boldsymbol { \\vert } } \\end{array} \\right] \\in \\mathbb { R } ^ { 3 \\times 2 } . } \\end{array}\n$$",
|
| 628 |
+
"text_format": "latex",
|
| 629 |
+
"bbox": [
|
| 630 |
+
393,
|
| 631 |
+
459,
|
| 632 |
+
604,
|
| 633 |
+
503
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 5
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "Feature vectors $f _ { p }$ and $f _ { q }$ at neighboring (or any other) vertices $p \\in M$ and $q \\in \\mathcal { N } _ { p } \\subseteq M$ live in different vector spaces and are expressed relative to independent gauges, which makes it invalid to sum them directly. Instead, they have to be parallel transported along the mesh edge that connects the two vertices. As explained above, this transport is given by group elements $\\mathsf { \\bar { g } } _ { q \\to p } \\in [ 0 , 2 \\pi )$ , which determine the transformation of tangent vector coefficients as $v _ { q } \\mapsto R ( g _ { q p } ) v _ { q } \\in \\mathbb { R } ^ { 2 }$ and, analogously, for feature vector coefficients as $f _ { q } \\mapsto \\rho ( g _ { q p } ) f _ { q }$ . Figure 4 in the appendix visualizes the definition of edge transporters for flat spaces and meshes. On a flat space, tangent vectors are transported by keeping them parallel in the usual sense on Euclidean spaces. However, if the source and target frame orientations disagree, the vector coefficients relative to the source frame need to be transformed to the target frame. This coordinate transformation from polar angles $\\varphi _ { q }$ of $v$ to $\\varphi _ { p }$ of $R ( g _ { q p } ) v$ defines the transporter $g _ { q p } = \\varphi _ { p } - \\varphi _ { q }$ . On meshes, the source and target tangent spaces $T _ { q } M$ and $T _ { p } M$ are not longer parallel. It is therefore additionally necessary to rotate the source tangent space and its vectors parallel to the target space, before transforming between the frames. Since transporters effectively make up for differences in the source and target frames, the parallel transporters transform under gauge transformations $g _ { p }$ and $g _ { q }$ according to $g _ { q \\to p } \\mapsto g _ { p } + g _ { q \\to p } - g _ { q }$ . Note that this transformation law cancels with the transformation law of the coefficients at $q$ and lets the transported coefficients transform according to gauge transformations at $p$ . It is therefore valid to sum vectors and features that are parallel transported into the same gauge at $p$ . ",
|
| 640 |
+
"bbox": [
|
| 641 |
+
173,
|
| 642 |
+
515,
|
| 643 |
+
826,
|
| 644 |
+
767
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "A more detailed discussion of the concepts presented in this section can be found in Appendix A. ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
173,
|
| 653 |
+
773,
|
| 654 |
+
807,
|
| 655 |
+
789
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 5
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "4 NON-LINEARITY ",
|
| 662 |
+
"text_level": 1,
|
| 663 |
+
"bbox": [
|
| 664 |
+
176,
|
| 665 |
+
809,
|
| 666 |
+
343,
|
| 667 |
+
824
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 5
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "Besides convolutional layers, the GEM-CNN contains non-linear layers, which also need to be gauge equivariant, for the entire network to be gauge equivariant. The coefficients of features built out of irreducible representaions, as described in section 3, do not commute with point-wise nonlinearities (Worrall et al., 2017; Thomas et al., 2018; Weiler et al., 2018a; Kondor et al., 2018). Norm non-linearities and gated non-linearities (Weiler & Cesa, 2019) can be used with such features, but generally perform worse in practice compared to point-wise non-linearities (Weiler & Cesa, ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
174,
|
| 676 |
+
839,
|
| 677 |
+
825,
|
| 678 |
+
924
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 5
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "2019). Hence, we propose the RegularNonlinearity, which uses point-wise non-linearities and is approximately gauge equivariant. ",
|
| 685 |
+
"bbox": [
|
| 686 |
+
171,
|
| 687 |
+
103,
|
| 688 |
+
823,
|
| 689 |
+
132
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 6
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "This non-linearity is built on Fourier transformations. Consider a continuous periodic signal, on which we perform a band-limited Fourier transform with band limit $b$ , obtaining $2 b + 1$ Fourier coefficients. If this continuous signal is shifted by an arbitrary angle $g$ , then the corresponding Fourier components transform with linear transformation $\\rho _ { 0 : b } ( - g )$ , for $2 b + 1$ dimensional representation $\\rho _ { 0 : b } : = \\rho _ { 0 } \\oplus \\rho _ { 1 } \\oplus \\ldots \\oplus \\rho _ { b }$ . ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
138,
|
| 699 |
+
825,
|
| 700 |
+
209
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "It would be exactly equivariant to take a feature of type $\\rho _ { 0 : b }$ , take a continuous inverse Fourier transform to a continuous periodic signal, then apply a point-wise non-linearity to that signal, and take the continuous Fourier transform, to recover a feature of type $\\rho _ { 0 : b }$ . However, for implementation, we use $N$ intermediate samples and the discrete Fourier transform. This is exactly gauge equivariant for gauge transformation of angles multiple of $2 \\pi / N$ , but only approximately equivariant for other angles. In App. G we prove that as $N \\to \\infty$ , the non-linearity is exactly gauge equivariant. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
215,
|
| 710 |
+
825,
|
| 711 |
+
299
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "The run-time cost per vertex of the (inverse) Fourier transform implemented as a simple linear transformation is $\\mathcal { O } ( b N )$ , which is what we use in our experiments. The pointwise non-linearity scales linearly with $N$ , so the complexity of the RegularNonLineariy is also $\\mathcal { O } ( b N )$ . However, one can also use a fast Fourier transform, achieving a complexity of $\\mathcal { O } ( N \\log N )$ . Concrete memory and run-time cost of varying $N$ are shown in appendix F.1. ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
174,
|
| 720 |
+
306,
|
| 721 |
+
825,
|
| 722 |
+
376
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 6
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "5 RELATED WORK ",
|
| 729 |
+
"text_level": 1,
|
| 730 |
+
"bbox": [
|
| 731 |
+
176,
|
| 732 |
+
406,
|
| 733 |
+
343,
|
| 734 |
+
422
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 6
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "The irregular structure of meshes leads to a variety of approaches to define convolutions. Closely related to our method are graph based methods which are often based on variations of graph convolutional networks (Kipf & Welling, 2017; Defferrard et al., 2016). GCNs have been applied on spherical meshes (Perraudin et al., 2019) and cortical surfaces (Cucurull et al., 2018; Zhao et al., 2019a). Verma et al. (2018) augment GCNs with anisotropic kernels which are dynamically computed via an attention mechanism over graph neighbours. ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
174,
|
| 743 |
+
443,
|
| 744 |
+
825,
|
| 745 |
+
527
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 6
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "Instead of operating on the graph underlying a mesh, several approaches leverage its geometry by treating it as a discrete manifold. Convolution kernels can then be defined in geodesic polar coordinates which corresponds to a projection of kernels from the tangent space to the mesh via the exponential map. This allows for kernels that are larger than the immediate graph neighbourhood and message passing over faces but does not resolve the issue of ambiguous kernel orientation. Masci et al. (2015); Monti et al. (2016) and Sun et al. (2018) address this issue by restricting the network to orientation invariant features which are computed by applying anisotropic kernels in several orientations and pooling over the resulting responses. The models proposed in (Boscaini et al., 2016) and (Schonsheck et al., 2018) are explicitly gauge dependent with preferred orientations chosen via the principal curvature direction and the parallel transport of kernels, respectively. Poulenard & Ovsjanikov (2018) proposed a non-trivially gauge equivariant network based on geodesic convolutions, however, the model parallel transports only partial information of the feature vectors, corresponding to certain kernel orientations. In concurrent work, Wiersma et al. (2020) also define convolutions on surfaces equivariantly to the orientation of the kernel, but differ in that they use norm non-linearities instead of regular ones and that they apply the convolution along longer geodesics, which adds complexity to the geometric pre-computation - as partial differential equations need to be solved, but may result in less susceptibility to the particular discretisation of the manifold. ",
|
| 752 |
+
"bbox": [
|
| 753 |
+
174,
|
| 754 |
+
535,
|
| 755 |
+
825,
|
| 756 |
+
770
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 6
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "Another class of approaches defines spectral convolutions on meshes. However, as argued in (Bronstein et al., 2017), the Fourier spectrum of a mesh depends heavily on its geometry, which makes such methods instable under deformations and impedes the generalization between different meshes. Spectral convolutions further correspond to isotropic kernels. Kostrikov et al. (2018) overcomes isotropy of the Laplacian by decomposing it into two applications of the first-order Dirac operator. ",
|
| 763 |
+
"bbox": [
|
| 764 |
+
174,
|
| 765 |
+
777,
|
| 766 |
+
825,
|
| 767 |
+
861
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 6
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "A construction based on toric covering maps of topologically spherical meshes was presented in (Maron et al., 2017). An entirely different approach to mesh convolutions is to apply a linear map to a spiral of neighbours (Bouritsas et al., 2019; Gong et al., 2019), which works well only for meshes with a similar graph structure. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
174,
|
| 776 |
+
867,
|
| 777 |
+
823,
|
| 778 |
+
924
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 6
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "The above-mentioned methods operate on the intrinsic, 2-dimensional geometry of the mesh. A popular alternative for embedded meshes is to define convolutions in the embedding space $\\mathbb { R } ^ { 3 }$ . This can for instance be done by voxelizing space and representing the mesh in terms of an occupancy grid (Wu et al., 2015; Tchapmi et al., 2017; Hanocka et al., 2018). A downside of this approach are the high memory and compute requirements of voxel representations. If the grid occupancy is low, this can partly be addressed by resorting to an inhomogeneous grid density (Riegler et al., 2017). Instead of voxelizing space, one may interpret the set of mesh vertices as a point cloud and run a convolution on those (Qi et al., 2017a;b). Point cloud based methods can be made equivariant w.r.t. the isometries of $\\mathbb { R } ^ { 3 }$ (Zhao et al., 2019b; Thomas et al., 2018), which implies in particular the isometry equivariance on the embedded mesh. In general, geodesic distances within the manifold differ usually substantially from the distances in the embedding space. Which approach is more suitable depends on the particular application. ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
174,
|
| 787 |
+
103,
|
| 788 |
+
825,
|
| 789 |
+
270
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "On flat Euclidean spaces our method corresponds to Steerable CNNs (Cohen & Welling, 2017; Weiler et al., 2018a; Weiler & Cesa, 2019; Cohen et al., 2019a; Lang & Weiler, 2020). As our model, these networks process geometric feature fields of types $\\rho$ and are equivariant under gauge transformations, however, due to the flat geometry, the parallel transporters become trivial. Regular nonlinearities are on flat spaces used in group convolutional networks (Cohen & Welling, 2016; Weiler et al., 2018b; Hoogeboom et al., 2018; Bekkers et al., 2018; Winkels & Cohen, 2018; Worrall & Brostow, 2018; Worrall & Welling, 2019; Sosnovik et al., 2020). ",
|
| 796 |
+
"bbox": [
|
| 797 |
+
174,
|
| 798 |
+
277,
|
| 799 |
+
825,
|
| 800 |
+
375
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 7
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "6 EXPERIMENTS ",
|
| 807 |
+
"text_level": 1,
|
| 808 |
+
"bbox": [
|
| 809 |
+
176,
|
| 810 |
+
406,
|
| 811 |
+
326,
|
| 812 |
+
422
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 7
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "6.1 EMBEDDED MNIST ",
|
| 819 |
+
"text_level": 1,
|
| 820 |
+
"bbox": [
|
| 821 |
+
176,
|
| 822 |
+
445,
|
| 823 |
+
354,
|
| 824 |
+
459
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 7
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "We first investigate how Gauge Equivariant Mesh CNNs perform on, and generalize between, different mesh geometries. For this purpose we conduct simple MNIST digit classification experiments on embedded rectangular meshes of $2 8 \\times 2 8$ vertices. As a baseline geometry we consider a flat mesh as visualized in figure 5(a). A second type of geometry is defined as different isometric embeddings of the flat mesh, see figure 5(b). Note that this implies that the intrinsic geometry of these isometrically embedded meshes is indistinguishable from that of the flat mesh. To generate geometries which are intrinsically curved, we add random normal displacements to the flat mesh. We control the amount of curvature by smoothing the resulting displacement fields with Gaussian kernels of different widths $\\sigma$ and define the roughness of the resulting mesh as $3 - \\sigma$ . Figures 5(c)-5(h) show the results for roughnesses of 0.5, 1, 1.5, 2, 2.25 and 2.5. For each of the considered settings we generate 32 different train and 32 test geometries. ",
|
| 831 |
+
"bbox": [
|
| 832 |
+
174,
|
| 833 |
+
476,
|
| 834 |
+
825,
|
| 835 |
+
628
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 7
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "To test the performance on, and generalization between, different geometries, we train equivalent GEM-CNN models on a flat mesh and meshes with a roughness of 1, 1.5, 2, 2.25 and 2.5. Each model is tested individually on each of the considered test geometries, which are the flat mesh, isometric embeddings and curved embeddings with a roughness of 0.5, 1, 1.25, 1.5, 1.75, 2, 2.25 and 2.5. Figure 3 shows the test errors of the GEM-CNNs on the different train geometries (different curves) for all test geometries (shown on the x-axis). Since our model is purely defined in terms of the intrinsic geometry of a mesh, it is expected to be insensitive to isometric changes in the embeddings. This is empirically confirmed by the fact that the test performances on flat and isometric embeddings are exactly equal. As expected, the test error increases for most models with the surface roughness. Models trained on more rough surfaces are hereby more robust to deformations. The models generalize well from a rough training to smooth test geometry up to a training roughness of 1.5. Beyond that point, the test performances on smooth meshes degrades up to the point of random guessing at a training roughness of 2.5. ",
|
| 842 |
+
"bbox": [
|
| 843 |
+
174,
|
| 844 |
+
636,
|
| 845 |
+
825,
|
| 846 |
+
816
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 7
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "As a baseline, we build an isotropic graph CNN with the same network topology and number of parameters $( \\approx 1 6 3 k )$ ). This model is insensitive to the mesh geometry and therefore performs exactly equal on all surfaces. While this enhances its robustness on very rough meshes, its test error of $1 9 . 8 0 \\pm 3 . 4 3 \\%$ is an extremely bad result on MNIST. In contrast, the use of anisotropic filters of GEM-CNN allows it to reach a test error of only $0 . 6 0 \\pm 0 . 0 5 \\%$ on the flat geometry. It is therefore competitive with conventional CNNs on pixel grids, which apply anisotropic kernels as well. More details on the datasets, models and further experimental setup are given in appendix E.1. ",
|
| 853 |
+
"bbox": [
|
| 854 |
+
174,
|
| 855 |
+
824,
|
| 856 |
+
825,
|
| 857 |
+
921
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 7
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "image",
|
| 863 |
+
"img_path": "images/b14045eeb68ab7cd2fd302585eb95df9b21376a3b7cd1e3e6c26805b57a4eb45.jpg",
|
| 864 |
+
"image_caption": [
|
| 865 |
+
"Figure 3: Test errors for MNIST digit classification on embedded meshes. Different lines denote train geometries, $\\mathbf { X }$ -axis shows test geometries. Regions are standard errors of the means over 6 runs. "
|
| 866 |
+
],
|
| 867 |
+
"image_footnote": [],
|
| 868 |
+
"bbox": [
|
| 869 |
+
173,
|
| 870 |
+
112,
|
| 871 |
+
465,
|
| 872 |
+
238
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 8
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "table",
|
| 878 |
+
"img_path": "images/346ea1e1e69741c1fe501348bf391c31c5565764484f6ee558dea2e138524ca9.jpg",
|
| 879 |
+
"table_caption": [],
|
| 880 |
+
"table_footnote": [],
|
| 881 |
+
"table_body": "<table><tr><td>Model</td><td>Features</td><td>Accuracy (%)</td></tr><tr><td>ACNN (Boscaini et al.,2016)</td><td>SHOT</td><td>62.4</td></tr><tr><td>Geodesic CNN (Masci et al.,2015)</td><td>SHOT</td><td>65.4</td></tr><tr><td>MoNet (Monti et al.,2016)</td><td>SHOT</td><td>73.8</td></tr><tr><td>FeaStNet (Verma et al.,2018)</td><td>XYZ</td><td>98.7</td></tr><tr><td>ZerNet (Sun et al.,2018)</td><td>XYZ</td><td>96.9</td></tr><tr><td>SpiralNet++ (Gong et al.,2019)</td><td>XYZ</td><td>99.8</td></tr><tr><td>Graph CNN</td><td>XYZ</td><td>1.40±0.5</td></tr><tr><td>Graph CNN</td><td>SHOT</td><td>23.80±8</td></tr><tr><td>Non-equiv. CNN (SHOT frames)</td><td>XYZ</td><td>73.00±4.0</td></tr><tr><td>Non-equiv. CNN (SHOT frames)</td><td>SHOT</td><td>75.11±2.4</td></tr><tr><td>GEM-CNN</td><td>XYZ</td><td>99.73±0.04</td></tr><tr><td>GEM-CNN (broken symmetry)</td><td>XYZ</td><td>99.89±0.02</td></tr></table>",
|
| 882 |
+
"bbox": [
|
| 883 |
+
480,
|
| 884 |
+
69,
|
| 885 |
+
816,
|
| 886 |
+
237
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 8
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "Table 2: Results of FAUST shape correspondence. Statistics are means and standard errors of the mean of over three runs. All cited results are from their respective papers. ",
|
| 893 |
+
"bbox": [
|
| 894 |
+
480,
|
| 895 |
+
248,
|
| 896 |
+
820,
|
| 897 |
+
299
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 8
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "6.2 SHAPE CORRESPONDENCE ",
|
| 904 |
+
"text_level": 1,
|
| 905 |
+
"bbox": [
|
| 906 |
+
176,
|
| 907 |
+
319,
|
| 908 |
+
398,
|
| 909 |
+
333
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 8
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "As a second experiment, we perform non-rigid shape correspondence on the FAUST dataset (Bogo et al., 2014), following Masci et al. (2015) 3 . The data consists of 100 meshes of human bodies in various positions, split into 80 train and 20 test meshes. The vertices are registered, such that vertices on the same position on the body, such as the tip of the left thumb, have the same identifier on all meshes. All meshes have 6890 vertices, making this a 6890-class segmentation problem. ",
|
| 916 |
+
"bbox": [
|
| 917 |
+
174,
|
| 918 |
+
344,
|
| 919 |
+
825,
|
| 920 |
+
414
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 8
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "The architecture transforms the vertices’ $X Y Z$ coordinates (of type $3 \\rho _ { 0 }$ ), via 6 convolutional layers to features $6 4 \\rho _ { 0 }$ , with intermediate features $1 6 ( \\rho _ { 0 } \\oplus \\rho _ { 1 } \\oplus \\rho _ { 2 } )$ , with residual connections and the RegularNonlinearity with $N = 5$ samples. Afterwards, we use two $1 \\times 1$ convolutions with ReLU to map first to 256 and then 6980 channels, after which a softmax predicts the registration probabilities. The $1 \\times 1$ convolutions use a dropout of $50 \\%$ and 1E-4 weight decay. The network is trained with a cross entropy loss with an initial learning rate of 0.01, which is halved when training loss reaches a plateau. ",
|
| 927 |
+
"bbox": [
|
| 928 |
+
174,
|
| 929 |
+
421,
|
| 930 |
+
825,
|
| 931 |
+
518
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 8
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "As all meshes in the FAUST dataset share the same topology, breaking the gauge equivariance in higher layers can actually be beneficial. As shown in (Weiler & Cesa, 2019), symmetry can be broken by treating non-invariant features as invariant features as input to the final $1 \\times 1$ convolution. ",
|
| 938 |
+
"bbox": [
|
| 939 |
+
174,
|
| 940 |
+
526,
|
| 941 |
+
825,
|
| 942 |
+
568
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 8
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "As baselines, we compare to various models, some of which use more complicated pipelines, such as (1) the computation of geodesics over the mesh, which requires solving partial differential equations, (2) pooling, which requires finding a uniform sub-selection of vertices, (3) the pre-computation of SHOT features which locally describe the geometry (Tombari et al., 2010), or (4) post-processing refinement of the predictions. The GEM-CNN requires none of these additional steps. In addition, we compare to SpiralNet $^ { - + }$ (Gong et al., 2019), which requires all inputs to be similarly meshed. Finally, we compare to an isotropic version of the GEM-CNN, which reduces to a conventional graph CNN, as well as a non-gauge-equivariant CNN based on SHOT frames. The results in table 2 show that the GEM-CNN outperforms prior works and a non-gauge-equivariant CNN, that isotropic graph CNNs are unable to solve the task and that for this data set breaking gauge symmetry in the final layers of the network is beneficial. More experimental details are given in appendix E.2. ",
|
| 949 |
+
"bbox": [
|
| 950 |
+
173,
|
| 951 |
+
574,
|
| 952 |
+
826,
|
| 953 |
+
728
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 8
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "7 CONCLUSIONS ",
|
| 960 |
+
"text_level": 1,
|
| 961 |
+
"bbox": [
|
| 962 |
+
176,
|
| 963 |
+
742,
|
| 964 |
+
328,
|
| 965 |
+
757
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 8
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "Convolutions on meshes are commonly performed as a convolution on their underlying graph, by forgetting geometry, such as orientation of neighbouring vertices. In this paper we propose Gauge Equivariant Mesh CNNs, which endow Graph Convolutional Networks on meshes with anisotropic kernels and parallel transport. Hence, they are sensitive to the mesh geometry, and result in equivalent outputs regardless of the arbitrary choice of kernel orientation. ",
|
| 972 |
+
"bbox": [
|
| 973 |
+
174,
|
| 974 |
+
767,
|
| 975 |
+
825,
|
| 976 |
+
837
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 8
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "We demonstrate that the inference of GEM-CNNs is invariant under isometric deformations of meshes and generalizes well over a range of non-isometric deformations. On the FAUST shape correspondence task, we show that Gauge equivariance, combined with symmetry breaking in the final layer, leads to state of the art performance. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
174,
|
| 985 |
+
844,
|
| 986 |
+
825,
|
| 987 |
+
900
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 8
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "REFERENCES ",
|
| 994 |
+
"text_level": 1,
|
| 995 |
+
"bbox": [
|
| 996 |
+
174,
|
| 997 |
+
102,
|
| 998 |
+
287,
|
| 999 |
+
117
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 9
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "Bekkers, E. J., Lafarge, M. W., Veta, M., Eppenhof, K. A., Pluim, J. P., and Duits, R. Roto-translation covariant convolutional networks for medical image analysis. In International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), 2018. ",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
174,
|
| 1008 |
+
126,
|
| 1009 |
+
823,
|
| 1010 |
+
169
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 9
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "Bogo, F., Romero, J., Loper, M., and Black, M. J. Faust: Dataset and evaluation for 3d mesh registration. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3794–3801, 2014. ",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
174,
|
| 1019 |
+
178,
|
| 1020 |
+
823,
|
| 1021 |
+
220
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 9
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"text": "Boscaini, D., Masci, J., Rodola, E., and Bronstein, M. M. Learning shape correspondence with \\` anisotropic convolutional neural networks. In NIPS, 2016. ",
|
| 1028 |
+
"bbox": [
|
| 1029 |
+
171,
|
| 1030 |
+
229,
|
| 1031 |
+
825,
|
| 1032 |
+
258
|
| 1033 |
+
],
|
| 1034 |
+
"page_idx": 9
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "text",
|
| 1038 |
+
"text": "Bouritsas, G., Bokhnyak, S., Ploumpis, S., Bronstein, M., and Zafeiriou, S. Neural 3d morphable models: Spiral convolutional networks for 3d shape representation learning and generation. In Proceedings of the IEEE International Conference on Computer Vision, pp. 7213–7222, 2019. ",
|
| 1039 |
+
"bbox": [
|
| 1040 |
+
176,
|
| 1041 |
+
267,
|
| 1042 |
+
823,
|
| 1043 |
+
311
|
| 1044 |
+
],
|
| 1045 |
+
"page_idx": 9
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"text": "Bronstein, M. M., Bruna, J., LeCun, Y., Szlam, A., and Vandergheynst, P. Geometric deep learning: Going beyond Euclidean data. IEEE Signal Processing Magazine, 2017. ",
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
174,
|
| 1052 |
+
319,
|
| 1053 |
+
823,
|
| 1054 |
+
349
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 9
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"text": "Cohen, T. and Welling, M. Group equivariant convolutional networks. In ICML, 2016. ",
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
174,
|
| 1063 |
+
358,
|
| 1064 |
+
741,
|
| 1065 |
+
373
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 9
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "Cohen, T. S. and Welling, M. Steerable CNNs. In ICLR, 2017. ",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
174,
|
| 1074 |
+
382,
|
| 1075 |
+
586,
|
| 1076 |
+
397
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 9
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "Cohen, T. S., Geiger, M., and Weiler, M. A general theory of equivariant CNNs on homogeneous spaces. In Conference on Neural Information Processing Systems (NeurIPS), 2019a. ",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
176,
|
| 1085 |
+
406,
|
| 1086 |
+
823,
|
| 1087 |
+
436
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 9
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "Cohen, T. S., Weiler, M., Kicanaoglu, B., and Welling, M. Gauge equivariant convolutional networks and the Icosahedral CNN. 2019b. ",
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
173,
|
| 1096 |
+
444,
|
| 1097 |
+
823,
|
| 1098 |
+
473
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 9
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "Crane, K., Desbrun, M., and Schroder, P. Trivial connections on discrete surfaces. ¨ Computer Graphics Forum (SGP), 29(5):1525–1533, 2010. ",
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
173,
|
| 1107 |
+
482,
|
| 1108 |
+
823,
|
| 1109 |
+
512
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 9
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "Crane, K., de Goes, F., Desbrun, M., and Schroder, P. Digital geometry processing with discrete ¨ exterior calculus. In ACM SIGGRAPH 2013 courses, SIGGRAPH ’13, New York, NY, USA, 2013. ACM. ",
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
173,
|
| 1118 |
+
520,
|
| 1119 |
+
825,
|
| 1120 |
+
564
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 9
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"text": "Cucurull, G., Wagstyl, K., Casanova, A., Velickovi ˇ c, P., Jakobsen, E., Drozdzal, M., Romero, A., ´ Evans, A., and Bengio, Y. Convolutional neural networks for mesh-based parcellation of the cerebral cortex. 2018. ",
|
| 1127 |
+
"bbox": [
|
| 1128 |
+
173,
|
| 1129 |
+
571,
|
| 1130 |
+
823,
|
| 1131 |
+
616
|
| 1132 |
+
],
|
| 1133 |
+
"page_idx": 9
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "text",
|
| 1137 |
+
"text": "Defferrard, M., Bresson, X., and Vandergheynst, P. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in neural information processing systems, pp. 3844–3852, 2016. ",
|
| 1138 |
+
"bbox": [
|
| 1139 |
+
173,
|
| 1140 |
+
625,
|
| 1141 |
+
823,
|
| 1142 |
+
667
|
| 1143 |
+
],
|
| 1144 |
+
"page_idx": 9
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "text",
|
| 1148 |
+
"text": "Gallier, J. and Quaintance, J. Differential Geometry and Lie Groups: A Computational Perspective, volume 12. Springer Nature, 2020. ",
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
173,
|
| 1151 |
+
676,
|
| 1152 |
+
825,
|
| 1153 |
+
707
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 9
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "Gong, S., Chen, L., Bronstein, M., and Zafeiriou, S. Spiralnet++: A fast and highly efficient mesh convolution operator. In Proceedings of the IEEE International Conference on Computer Vision Workshops, pp. 0–0, 2019. ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
173,
|
| 1162 |
+
714,
|
| 1163 |
+
826,
|
| 1164 |
+
757
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 9
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "Hanocka, R., Fish, N., Wang, Z., Giryes, R., Fleishman, S., and Cohen-Or, D. Alignet: Partial-shape agnostic alignment via unsupervised learning. ACM Transactions on Graphics (TOG), 38(1):1–14, 2018. ",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
174,
|
| 1173 |
+
766,
|
| 1174 |
+
823,
|
| 1175 |
+
809
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 9
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "Hoogeboom, E., Peters, J. W. T., Cohen, T. S., and Welling, M. HexaConv. In International Conference on Learning Representations (ICLR), 2018. ",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
173,
|
| 1184 |
+
818,
|
| 1185 |
+
823,
|
| 1186 |
+
848
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 9
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "Kipf, T. N. and Welling, M. Semi-Supervised Classification with Graph Convolutional Networks. In ICLR, 2017. ",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
174,
|
| 1195 |
+
856,
|
| 1196 |
+
821,
|
| 1197 |
+
886
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 9
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "Kondor, R., Lin, Z., and Trivedi, S. Clebsch-gordan nets: a fully fourier space spherical convolutional neural network. In NIPS, 2018. ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
174,
|
| 1206 |
+
895,
|
| 1207 |
+
821,
|
| 1208 |
+
924
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 9
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "Kostrikov, I., Jiang, Z., Panozzo, D., Zorin, D., and Bruna, J. Surface networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2540–2548, 2018. ",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
171,
|
| 1217 |
+
103,
|
| 1218 |
+
825,
|
| 1219 |
+
133
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 10
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "Lai, Y.-K., Jin, M., Xie, X., He, Y., Palacios, J., Zhang, E., Hu, S.-M., and Gu, X. Metric-driven rosy field design and remeshing. IEEE Transactions on Visualization and Computer Graphics, 16(1): 95–108, 2009. ",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
173,
|
| 1228 |
+
141,
|
| 1229 |
+
823,
|
| 1230 |
+
184
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 10
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "Lang, L. and Weiler, M. A Wigner-Eckart Theorem for Group Equivariant Convolution Kernels. arXiv preprint arXiv:2010.10952, 2020. ",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
169,
|
| 1239 |
+
193,
|
| 1240 |
+
823,
|
| 1241 |
+
223
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 10
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "Maron, H., Galun, M., Aigerman, N., Trope, M., Dym, N., Yumer, E., Kim, V. G., and Lipman, Y. Convolutional neural networks on surfaces via seamless toric covers. ACM Trans. Graph., 36(4): 71–1, 2017. ",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
173,
|
| 1250 |
+
232,
|
| 1251 |
+
825,
|
| 1252 |
+
276
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 10
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "Masci, J., Boscaini, D., Bronstein, M. M., and Vandergheynst, P. Geodesic convolutional neural networks on riemannian manifolds. ICCVW, 2015. ",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
171,
|
| 1261 |
+
285,
|
| 1262 |
+
825,
|
| 1263 |
+
315
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 10
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "Monti, F., Boscaini, D., Masci, J., Rodola, E., Svoboda, J., and Bronstein, M. M. Geometric deep \\` learning on graphs and manifolds using mixture model cnns. CoRR, abs/1611.08402, 2016. URL http://arxiv.org/abs/1611.08402. ",
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
173,
|
| 1272 |
+
324,
|
| 1273 |
+
823,
|
| 1274 |
+
367
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 10
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "text",
|
| 1280 |
+
"text": "Perraudin, N., Defferrard, M., Kacprzak, T., and Sgier, R. Deepsphere: Efficient spherical convolutional neural network with healpix sampling for cosmological applications. Astronomy and Computing, 27:130–146, 2019. ",
|
| 1281 |
+
"bbox": [
|
| 1282 |
+
174,
|
| 1283 |
+
376,
|
| 1284 |
+
825,
|
| 1285 |
+
420
|
| 1286 |
+
],
|
| 1287 |
+
"page_idx": 10
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "text",
|
| 1291 |
+
"text": "Poulenard, A. and Ovsjanikov, M. Multi-directional geodesic neural networks via equivariant convolution. ACM Transactions on Graphics, 2018. ",
|
| 1292 |
+
"bbox": [
|
| 1293 |
+
169,
|
| 1294 |
+
428,
|
| 1295 |
+
825,
|
| 1296 |
+
458
|
| 1297 |
+
],
|
| 1298 |
+
"page_idx": 10
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"type": "text",
|
| 1302 |
+
"text": "Qi, C. R., Su, H., Mo, K., and Guibas, L. J. Pointnet: Deep learning on point sets for 3d classification and segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 652–660, 2017a. ",
|
| 1303 |
+
"bbox": [
|
| 1304 |
+
174,
|
| 1305 |
+
467,
|
| 1306 |
+
825,
|
| 1307 |
+
511
|
| 1308 |
+
],
|
| 1309 |
+
"page_idx": 10
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "text",
|
| 1313 |
+
"text": "Qi, C. R., Yi, L., Su, H., and Guibas, L. J. Pointne $^ { + + }$ : Deep hierarchical feature learning on point sets in a metric space. In Advances in neural information processing systems, pp. 5099–5108, 2017b. ",
|
| 1314 |
+
"bbox": [
|
| 1315 |
+
173,
|
| 1316 |
+
520,
|
| 1317 |
+
825,
|
| 1318 |
+
563
|
| 1319 |
+
],
|
| 1320 |
+
"page_idx": 10
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"type": "text",
|
| 1324 |
+
"text": "Riegler, G., Osman Ulusoy, A., and Geiger, A. Octnet: Learning deep 3d representations at high resolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3577–3586, 2017. ",
|
| 1325 |
+
"bbox": [
|
| 1326 |
+
173,
|
| 1327 |
+
571,
|
| 1328 |
+
825,
|
| 1329 |
+
614
|
| 1330 |
+
],
|
| 1331 |
+
"page_idx": 10
|
| 1332 |
+
},
|
| 1333 |
+
{
|
| 1334 |
+
"type": "text",
|
| 1335 |
+
"text": "Schonsheck, S. C., Dong, B., and Lai, R. Parallel Transport Convolution: A New Tool for Convolutional Neural Networks on Manifolds. arXiv:1805.07857 [cs, math, stat], May 2018. ",
|
| 1336 |
+
"bbox": [
|
| 1337 |
+
174,
|
| 1338 |
+
625,
|
| 1339 |
+
825,
|
| 1340 |
+
655
|
| 1341 |
+
],
|
| 1342 |
+
"page_idx": 10
|
| 1343 |
+
},
|
| 1344 |
+
{
|
| 1345 |
+
"type": "text",
|
| 1346 |
+
"text": "Serre, J.-P. Linear representations of finite groups. 1977. ",
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
173,
|
| 1349 |
+
662,
|
| 1350 |
+
547,
|
| 1351 |
+
679
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 10
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "text",
|
| 1357 |
+
"text": "Sosnovik, I., Szmaja, M., and Smeulders, A. Scale-equivariant steerable networks. In International Conference on Learning Representations (ICLR), 2020. ",
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
173,
|
| 1360 |
+
688,
|
| 1361 |
+
825,
|
| 1362 |
+
718
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 10
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "text",
|
| 1368 |
+
"text": "Sun, Z., Rooke, E., Charton, J., He, Y., Lu, J., and Baek, S. Zernet: Convolutional neural networks on arbitrary surfaces via zernike local tangent space estimation. arXiv preprint arXiv:1812.01082, 2018. ",
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
176,
|
| 1371 |
+
727,
|
| 1372 |
+
825,
|
| 1373 |
+
770
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 10
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "text",
|
| 1379 |
+
"text": "Tchapmi, L., Choy, C., Armeni, I., Gwak, J., and Savarese, S. Segcloud: Semantic segmentation of 3d point clouds. In 2017 international conference on 3D vision (3DV), pp. 537–547. IEEE, 2017. ",
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
169,
|
| 1382 |
+
779,
|
| 1383 |
+
825,
|
| 1384 |
+
809
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 10
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "Thomas, N., Smidt, T., Kearnes, S., Yang, L., Li, L., Kohlhoff, K., and Riley, P. Tensor Field Networks: Rotation- and Translation-Equivariant Neural Networks for 3D Point Clouds. 2018. ",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
173,
|
| 1393 |
+
818,
|
| 1394 |
+
825,
|
| 1395 |
+
848
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 10
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "Tombari, F., Salti, S., and Di Stefano, L. Unique signatures of histograms for local surface description. In European conference on computer vision, pp. 356–369. Springer, 2010. ",
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
174,
|
| 1404 |
+
856,
|
| 1405 |
+
821,
|
| 1406 |
+
886
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 10
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "text",
|
| 1412 |
+
"text": "Tu, L. W. Differential geometry: connections, curvature, and characteristic classes, volume 275. Springer, 2017. ",
|
| 1413 |
+
"bbox": [
|
| 1414 |
+
174,
|
| 1415 |
+
895,
|
| 1416 |
+
821,
|
| 1417 |
+
924
|
| 1418 |
+
],
|
| 1419 |
+
"page_idx": 10
|
| 1420 |
+
},
|
| 1421 |
+
{
|
| 1422 |
+
"type": "text",
|
| 1423 |
+
"text": "Verma, N., Boyer, E., and Verbeek, J. Feastnet: Feature-steered graph convolutions for 3d shape analysis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2598–2606, 2018. \nWeiler, M. and Cesa, G. General E(2)-equivariant steerable CNNs. In Conference on Neural Information Processing Systems (NeurIPS), 2019. URL https://arxiv.org/abs/1911. 08251. \nWeiler, M., Geiger, M., Welling, M., Boomsma, W., and Cohen, T. 3D Steerable CNNs: Learning Rotationally Equivariant Features in Volumetric Data. In NeurIPS, 2018a. \nWeiler, M., Hamprecht, F. A., and Storath, M. Learning steerable filters for rotation equivariant CNNs. In Conference on Computer Vision and Pattern Recognition (CVPR), 2018b. \nWiersma, R., Eisemann, E., and Hildebrandt, K. CNNs on Surfaces using Rotation-Equivariant Features. Transactions on Graphics, 39(4), July 2020. doi: 10.1145/3386569.3392437. \nWinkels, M. and Cohen, T. S. 3D G-CNNs for pulmonary nodule detection. In Conference on Medical Imaging with Deep Learning (MIDL), 2018. \nWorrall, D. and Welling, M. Deep scale-spaces: Equivariance over scale. In Conference on Neural Information Processing Systems (NeurIPS), 2019. \nWorrall, D. E. and Brostow, G. J. Cubenet: Equivariance to 3D rotation and translation. In European Conference on Computer Vision (ECCV), 2018. \nWorrall, D. E., Garbin, S. J., Turmukhambetov, D., and Brostow, G. J. Harmonic Networks: Deep Translation and Rotation Equivariance. In CVPR, 2017. \nWu, Z., Song, S., Khosla, A., Yu, F., Zhang, L., Tang, X., and Xiao, J. 3d shapenets: A deep representation for volumetric shapes. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1912–1920, 2015. \nZhao, F., Xia, S., Wu, Z., Duan, D., Wang, L., Lin, W., Gilmore, J. H., Shen, D., and Li, G. Spherical u-net on cortical surfaces: Methods and applications. CoRR, abs/1904.00906, 2019a. URL http://arxiv.org/abs/1904.00906. \nZhao, Y., Birdal, T., Lenssen, J. E., Menegatti, E., Guibas, L., and Tombari, F. Quaternion equivariant capsule networks for 3d point clouds. arXiv preprint arXiv:1912.12098, 2019b. ",
|
| 1424 |
+
"bbox": [
|
| 1425 |
+
171,
|
| 1426 |
+
93,
|
| 1427 |
+
828,
|
| 1428 |
+
604
|
| 1429 |
+
],
|
| 1430 |
+
"page_idx": 11
|
| 1431 |
+
}
|
| 1432 |
+
]
|
parse/train/Jnspzp-oIZE/Jnspzp-oIZE_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Jnspzp-oIZE/Jnspzp-oIZE_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/K6y77KRUowQ/K6y77KRUowQ.md
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
# Towards Multi-Grained Explainability for Graph Neural Networks
|
| 2 |
+
|
| 3 |
+
Xiang Wang§†‡, Ying-Xin Wu§, An Zhang†, Xiangnan $\mathbf { H e } ^ { \ S } ;$ ∗, Tat-Seng Chua†
|
| 4 |
+
|
| 5 |
+
‡Sea-NExT Joint Lab †National University of Singapore §University of Science and Technology of China xiangwang@u.nus.edu, wuyxin@mail.ustc.edu.cn, an_zhang@nus.edu.sg xiangnanhe@gmail.com, dcscts@nus.edu.sg
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
When a graph neural network (GNN) made a prediction, one raises question about explainability: “Which fraction of the input graph is most influential to the model’s decision?” Producing an answer requires understanding the model’s inner workings in general and emphasizing the insights on the decision for the instance at hand. Nonetheless, most of current approaches focus only on one aspect: (1) local explainability, which explains each instance independently, thus hardly exhibits the class-wise patterns; and (2) global explainability, which systematizes the globally important patterns, but might be trivial in the local context. This dichotomy limits the flexibility and effectiveness of explainers greatly. A performant paradigm towards multi-grained explainability is until-now lacking and thus a focus of our work. In this work, we exploit the pre-training and fine-tuning idea to develop our explainer and generate multi-grained explanations. Specifically, the pre-training phase accounts for the contrastivity among different classes, so as to highlight the class-wise characteristics from a global view; afterwards, the fine-tuning phase adapts the explanations in the local context. Experiments on both synthetic and real-world datasets show the superiority of our explainer, in terms of AUC on explaining graph classification over the leading baselines. Our codes and datasets are available at https://github.com/Wuyxin/ReFine.
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
While graph neural networks (GNNs) [1, 2] have achieved great success in a variety of applications, they usually come as black-box models. The general problem about GNN explainability [3] is to answer “What knowledge does the model use to arrive at the conclusions in general and the specific decision at hand?”. Thoroughly answering this question requires the global understanding of the model’s inner workings and the local insights on a specific instance. Take a GNN model for molecular property prediction as an example. The global understanding exhibits the knowledge encoded in the model, such as the distribution of the chemical groups; meanwhile, the local insight identifies certain chemical groups responsible for a given molecule’s property. Such multi-grained explainability flexibly and reliably inspects the decision-making process of the GNN [4, 5], which is critical to the applications on safety, fairness, and privacy [6, 7].
|
| 14 |
+
|
| 15 |
+
In the field of GNN explainability [8], explainer models broadly attribute model prediction to the input graph, then sample a salient subgraph as the explanation for the model prediction. However, most of current explainers focus on either on local [9, 10, 6, 11, 12] or global explainability [13, 7], thereby suffer from inherent limitations correspondingly:
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Explanations on Visual Genome dataset generated from ReFine, including the pre-training and fine-tuning phases. Right indicates the changes before and after the fine-tuning.
|
| 19 |
+
|
| 20 |
+
• Local explainability aims to customize the explanatory subgraph for each instance individually. However, such local explanations fall short in systematizing the prototypical patterns shared within a class or group of instances. Thus, they lack the global understanding of the model’s workings [7, 13], which is vital to generalize to other instances being explained. • Global explainability targets at the globally important patterns across multiple instances, which could violate the local fidelity [14] — the globally important substructure may not be important or even appear in the local context, thus might fail to explain a specific instance reliably.
|
| 21 |
+
|
| 22 |
+
Briefly put, these approaches overlook the multi-granularity nature of explainability, while we argue that the local and global explainability should be exhibited simultaneously to obtain faithful explanations. Taking Figure 1 as an example, the global explainability differentiates the explanations for various classes, such as livestock-background subgraphs for the farm class, human-sports subgraphs for the stadium class. When zooming in a specific scene graph, the local explainability refines on the farm-wise patterns and specifies (sheep, on, meadow) as the final explanation. A paradigm towards such multi-grained explainability is until-now lacking, to the best of our knowledge.
|
| 23 |
+
|
| 24 |
+
Towards multi-grained explainability, we propose a novel explainer, ReFine, with pre-training and fine-tuning [15, 16] techniques for explaining GNN models. Specifically, pre-training aims to answer “What class-wise knowledge does the GNN leverage to make predictions in general?”. We combine the contrastive learning [17, 18] into class-wise generative probabilistic models [7], thereby approach coarser-grained explanations (i.e. saliency maps of all edges). Going beyond the global view, fine-tuning is to answer “Why the GNN model made the certain prediction for the instance at hand?”, where we upgrade the coarser-grained explanations to the finer-grained explanations (i.e. explanatory subgraphs of salient edges). Through this way, ReFine can faithfully generate multigrained explanations, and we empirically show its effectiveness as compared to some state-of-the-art explainers [9, 6, 7, 19]. It is also worth mentioning that, although the general understanding of GNN predictions has been considered in a recent work PGExplainer [7], it is only exploited to train a generative probabilistic model shared across all the explained instances, rather than dissecting and modeling the class-wise knowledge explicitly. Overall, our contributions are summarized as:
|
| 25 |
+
|
| 26 |
+
• We investigate the local explainability and global explainability for explaining GNNs and put forward the concept of multi-grained explainability. • We propose a pre-training and fine-tuning framework to generate multi-grained explanations, which has both global understanding of model workings and local insights on specific instances. • We achieve state-of-the-art performance on various datasets w.r.t. predictive accuracy on explaining GNNs. Quantitative and qualitative results verify multi-granularity explainability of ReFine.
|
| 27 |
+
|
| 28 |
+
# 2 Background & Task Formulation
|
| 29 |
+
|
| 30 |
+
In this section, we begin with the backgrounds on GNNs and frame the task of generating multigrained explainability for GNN models.
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
Figure 2: Model construction of proposed ReFine. Left represents the pre-training phase for a graph example, which is labeled and predicted as “Cycle”, from the BA-3motif dataset. Right demonstrates the fine-tuning process where the saliency map is fine-tuned on the instance to achieve local fidelity.
|
| 34 |
+
|
| 35 |
+
Graph Neural Networks. We denote the graph data as $\mathcal { G } = ( \nu , \mathcal { E } )$ with the node set $\nu$ and the edge set $\mathcal { E }$ . The structural feature of a graph can be represented by an adjacency matrix $\mathbf { A } \in \{ 0 , 1 \} ^ { | \mathcal { V } | \times | \mathcal { V } | }$ where $A _ { i j } = 1$ indicates an edge starting from node $i$ to node $j$ , and $A _ { i j } = 0$ otherwise. The node feature matrix is represented as $\mathbf { X } \in \mathbb { R } ^ { | \nu | \times d }$ .
|
| 36 |
+
|
| 37 |
+
Graph neural networks (GNNs) [1, 2] aim to generate powerful representation on graphs in an end-to-end fashion. Such representation facilitates the downstream tasks, such as node classification [20, 21], link prediction [22, 23, 24, 25], and graph classification [26]. Without loss of generality, we consider a graph classifier $f : \mathbb { G } \to \mathbb { R } ^ { \bar { C } }$ , which classifies an input graph $\mathcal { G } \in \mathbb { G }$ in $C$ categories and outputs prediction by $c = \arg \operatorname* { m a x } _ { i } f ( \mathcal { G } ) _ { i }$ . Typically, $f$ consists of three components: (1) learning of node representations, which distills vectorized information from neighboring nodes and updates node representations recursively; (2) learning of graph representation, which aggregates the node representations to establish the representation for the holistic graph; (3) graph classification, which maps the graph representation into the probability distribution of different categories.
|
| 38 |
+
|
| 39 |
+
Explaining Graph Neural Networks. The explainer model (aka. the explanation method) usually performs two consecutive operations: (1) feature attribution [27, 28], which associates each feature of an input $\mathcal { G } \in \mathbb { G }$ with the relevance score for the classifier’s prediction; (2) feature selection [29, 6], which extracts salient features based on the relevance scores to construct an explanatory subgraph. The subgraph is regarded as the evidence for the GNN to make the prediction.
|
| 40 |
+
|
| 41 |
+
We follow previous works [6, 7, 10, 19] and focus on the contributions of the structural features (i.e. edges). Our explainer consists of two components: an attribution module $\tau$ for edge attribution and a selection module $\mathcal { H }$ for edge selection. Specifically, $\tau$ assigns the adjacency matrix $\mathbf { A }$ with a saliency map, i.e.
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
\mathbf { M } = { \mathcal { T } } ( { \mathcal { G } } , f , c ) ,
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
where $\mathbf { M } \in \mathbb { R } ^ { | \mathcal { V } | \times | \mathcal { V } | }$ , each element of which is the importance score of the edge to the prediction class $c$ . Such saliency map can further result in an attentive graph $\mathcal { G } _ { a t t } = \mathbf { A } \odot \mathbf { M }$ . Then, the selection module $\mathcal { H }$ identifies the edges of explanatory subgraph based on the attentive graph:
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\mathbf { S } = \mathcal { H } ( \mathcal { G } _ { a t t } , f , c , \rho ) ,
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
where $\mathbf { S } \in \mathbb { R } ^ { | \mathcal { V } | \times | \mathcal { V } | }$ constructs the explanatory subgraph $\mathcal { G } _ { e x p } = \mathbf { A } \odot \mathbf { S }$ , and $\rho$ is the explanation budget [27] that equals to the number of nonzero elements in $\mathbf { s }$ .
|
| 54 |
+
|
| 55 |
+
# 3 Methodology
|
| 56 |
+
|
| 57 |
+
Here we present our explainer that purses multi-grained explainability by pre-training and fine-tuning, as Figure 2 shows. In the pre-training phase, the attribution module distills the class-wise knowledge, which contrasts the salient structures based on the prediction, answering the question “Why did the GNN model assign a group of graphs with the same prediction?”. In the next phase, the selection module goes beyond the class-wise knowledge and fine-tunes the saliency maps on a specific instance for answering “Why the GNN model made the certain prediction for the specific graph?”.
|
| 58 |
+
|
| 59 |
+
# 3.1 Pre-training Towards Global Explainability
|
| 60 |
+
|
| 61 |
+
Class-aware Attribution Module. Towards the global explainability of GNN, it is important to specify the class-wise knowledge across the instances with the same prediction. Inspired by the success of generative models [7, 30, 31] in capturing the succinct structures from the graphs, we hire multiple generative probabilistic models [7] as our attribution models (short for attributor), i.e. $\mathcal { T } _ { \theta } = \{ \mathcal { T } ^ { ( c ) } | c = 1 , \cdots , C \}$ which is parameterized by $\theta$ . The attributor $\mathcal { T } ^ { \left( c \right) }$ is responsible for uncovering the hidden patterns from some graph instances $O ^ { ( c ) } = \{ \mathcal { G } | c = \arg \operatorname* { m a x } _ { i } f ( \mathcal { G } ) _ { i } \}$ with the same prediction class $c$ .
|
| 62 |
+
|
| 63 |
+
Formally, each attributor $\mathcal { T } ^ { \left( c \right) }$ is composed of a GNN encoder $\mathrm { G N N } ^ { ( c ) }$ and a MLP decoder $\mathbf { M L P } ^ { ( c ) }$ , whose parameters are shared when explaining graphs in $\mathcal { O } ^ { ( c ) }$ , so as to systematize the class-wise patterns. Next we introduce the construction of each class-wise attributor, while we omit the superscript for conciseness. Specifically, the encoder GNN embeds each node $i$ in $\mathcal { G }$ with representation $\mathbf { z } _ { i }$ and summarize the representations of all nodes as:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\mathbf { Z } = \mathbf { G N N } ( { \mathcal { G } } , \mathbf { X } ) ,
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where $\mathbf { Z } \in \mathbb { R } ^ { | \nu | \times d ^ { \prime } }$ encodes the structural feature $\mathbf { A }$ and node feature $\mathbf { X }$ . On the top of the node representations, we model the graph structure as edge distributions and frame the generation of explanatory subgraphs by sampling from the edge distributions:
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
P ( \mathbf { M } | \mathbf { Z } ) = \prod _ { ( i , j ) \in \mathcal { E } } P ( M _ { i j } | \mathbf { z } _ { i } , \mathbf { z } _ { j } ) ,
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
where $M _ { i j }$ indicates the importance of edge $( i , j )$ . Then the MLP encoder takes the concatenation of node representations $\mathbf { z } _ { i }$ and $\mathbf { z } _ { j }$ as the inputs and outputs the importance score. To approximate the importance score to the discrete distribution and optimize the generator via gradient propagation, we adopt the reparameterization trick [7], where an independent random variable $\epsilon \sim \mathrm { U n i f o r m } ( 0 , 1 )$ is introduced. As such, the edge probability is formulated as:
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
P ( M _ { i j } | \mathbf { z } _ { i } , \mathbf { z } _ { j } ) = \sigma ( ( \log \frac { \epsilon } { 1 - \epsilon } + \alpha _ { i j } ) / \beta ) , \quad \mathrm { w i t h } \quad \alpha _ { i j } = \mathbf { M L P } ( [ \mathbf { z } _ { i } , \mathbf { z } _ { j } ] ) ,
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
where $\sigma$ is the sigmoid function, and $\beta$ denotes the temperature hyperparameter. It is worth emphasizing that our attributors is different from PGExplainer [7], where only one generative probabilistic model is involved. Thus, their attribution results are limited in differentiating the patterns of different classes and systematizing the class-wise knowledge.
|
| 82 |
+
|
| 83 |
+
Pre-training Class-wise Attribution Module. We devise the following objective function for training the class-wise attributors.
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
\operatorname* { m i n } _ { \theta } \mathcal { L } _ { 1 } + \gamma \mathcal { L } _ { c t s } ,
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
where $\gamma$ is the trade-off hyperparameter. We start from maximizing the mutual information between the attentive graphs and the target prediction of the graph, which is a widely-used learning paradigm in the literature [32, 6, 7]. It guides us to find the prediction-relevant explanatory subgraph, which equals to minimizing the following loss:
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\mathcal { L } _ { 1 } = - \mathbb { E } _ { \mathcal { G } } \mathbb { E } _ { \epsilon } \mathbb { E } _ { c ^ { \prime } } [ P ( Y = c ^ { \prime } | G = \mathcal { G } ) \log P ( Y = c ^ { \prime } | G = \mathcal { G } _ { a t t } ^ { ( c ) } ) ] ,
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
where $G$ and $Y$ are the graph and prediction variables, respectively; $\mathcal { G }$ is the full graph instance to explain; by sampling $\epsilon \in { \mathrm { U n i f o r m } } ( 0 , 1 )$ and $c ^ { \prime } \in \{ 1 , \cdots , C \}$ , the class-wise saliency map $\mathbf { M } ^ { ( c ) }$ can be generated from Equation (4); $P ( Y = c ^ { \prime } | G = \mathcal { G } ) = f ( \mathcal { G } ) _ { c ^ { \prime } }$ is the output probabilities of the prediction being $c ^ { \prime }$ when feeding $\mathcal { G }$ to the GNN model $f$ ; analogously, $P ( Y = c ^ { \prime } | G = \mathcal { G } _ { a t t } ^ { ( c ) } ) =$ $f ( \mathcal { G } _ { a t t } ^ { ( c ) } ) _ { c ^ { \prime } }$ audits the output probability when feeding $\mathcal { G } _ { a t t } ^ { ( c ) } = \mathbf { A } \odot \mathbf { M } ^ { ( c ) }$ .
|
| 96 |
+
|
| 97 |
+
Moreover, we introduce a contrastive learning [33, 34, 18, 35, 36, 37] loss to emphasize differences among the class-wise patterns — the substructure of the full graph that is distant to that of the graphs with a different prediction but close to that of the graphs with the same prediction. It makes each attributor focus on the unique and discriminative information within the class. Specifically, for the saliency maps $\mathcal { G } _ { a t t 1 } ^ { ( c _ { 1 } ) }$ of $\mathcal { G } _ { 1 }$ and $\mathcal { G } _ { a t t 2 } ^ { ( c _ { 2 } ) }$ of $\mathcal { G } _ { 2 }$ , it encourages the agreements between $\mathcal { G } _ { a t t 1 } ^ { ( c _ { 1 } ) }$ and $\mathcal { G } _ { a t t 2 } ^ { ( c _ { 2 } ) }$ when , compared to that when $c _ { 1 } \neq c _ { 2 }$ :
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
\mathcal { L } _ { c t s } = \mathbb { E } _ { \mathcal { G } , \mathcal { G } ^ { \prime } } \mathbb { E } _ { \epsilon , \epsilon ^ { \prime } } [ ( - 1 ) ^ { \mathbb { I } ( c _ { 1 } = c _ { 2 } ) } \times \mu ( \ell ( \mathcal { G } _ { a t t 1 } ^ { ( c _ { 1 } ) } , \mathcal { G } _ { a t t 2 } ^ { ( c _ { 2 } ) } ) ) ] ,
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
where as the $\mu$ is the softplus function [3presentation similarity — $\ell$ arity bewhere een two subgraphs, which is setis the graph representations by $\ell ( \mathcal { G } _ { a t t 1 } ^ { ( c _ { 1 } ) } , \mathcal { G } _ { a t t 2 } ^ { ( c _ { 2 } ) } ) = \mathbf { h } _ { 1 } ^ { \top } \mathbf { h } _ { 2 }$ $\mathbf { h } _ { 1 }$
|
| 104 |
+
feeding G(c1)att1 into the encoder $\mathrm { G N N } ^ { ( c _ { 1 } ) }$ and aggregating the node representations. Similar for $\mathbf { h } _ { 2 }$ . In addition, following [6], we adopt the element-wise entropy and $L _ { 1 }$ norm on the edge probability. By jointly optimizing these two losses in Equation (6), the class-wise attribution module learns to stratify the discriminative information for different classes and generate the saliency maps with a global view of the target GNN. Taking an information-theoretical look at Equation (8), minimizing contrastive learning loss is maximizing a lower bound of the mutual information between the latent graph representations of two graphs within the same class.
|
| 105 |
+
|
| 106 |
+
# 3.2 Fine-tuning Towards Local Explainability
|
| 107 |
+
|
| 108 |
+
Having established the saliency map that exhibits the importance of each edge, the standard way is to rank all edges based on their importance scores and simply select the top edges as the explanatory subgraphs. However, we argue that such a coarser-grained selection fails to consider the dependencies of these selected edges explicitly. Within a high-quality explanatory subgraph, edges are supposed to cooperate with each other, form the coalition, and approach the target prediction better than individuals [38, 39]. Without considering such coalition effect, the quality of the explanatory subgraph is greatly limited.For example, when explaining why the molecule graph is classified as mutagenic [13], two connected nitrogen-oxygen (N-O) bonds form a chemical group $\mathrm { N O _ { 2 } }$ and present more discriminative information about the mutagenic property [13]; whereas, two salient but disconnected N-O bonds from different chemical groups are less informative to interpret the mutagenic property.
|
| 109 |
+
|
| 110 |
+
Clearly, the coarser-grained saliency maps are insufficient to exhibit the coalition effect of edges, thus might be redundant and suboptimal explanations. Hence, we move forward to learn a finer-grained explanatory subgraph. Technically, on the top of the well-trained class-wise attribution module, we add the selection module:
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\mathbf { S } ^ { ( c ) } = \mathcal { H } ( \mathcal { G } _ { a t t } ^ { ( c ) } , f , c , \rho ) ,
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
where $\rho$ is the number of edges selected in the explanatory subgraph; $\mathcal { H }$ is a sampling (selection) function; $\mathbf { S } ^ { ( c ) }$ preserves the elements selected by the selection function and sets the other elements as 0. Instead of the hard selection that picks up the edges with the highest probability, $\mathcal { H }$ samples edges according to their probabilities. Allowing edges with low probabilities to be sampled can prevent the explainer from collapsing to suboptimal solutions with limited coalition effect.
|
| 117 |
+
|
| 118 |
+
With the new stochastic adjacency matrix $\mathbf { S } ^ { ( c ) }$ , we are able to extract the subgraph $\mathcal { G } _ { e x p } ^ { ( c ) }$ . To fine-tune the attribution and selection modules, we resort to maximize the mutual information between the explanation candidate $\mathcal { G } _ { e x p } ^ { ( c ) }$ and the target prediction of the full graph:
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
\mathcal { L } _ { 2 } = - \mathbb { E } _ { \mathcal { G } } \mathbb { E } _ { \epsilon } \mathbb { E } _ { c ^ { \prime } } [ P ( Y = c ^ { \prime } | G = \mathcal { G } ) \log P ( Y = c ^ { \prime } | G = \mathcal { G } _ { e x p } ^ { ( c ) } ) ] .
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
By optimizing the loss above, the selection module accounts for the edge coalition within $\mathbf { S } ^ { ( c ) }$ , so as to achieve higher local fidelity. Moreover, as the selection module discards some elements in the stochastic adjacency matrix, it blocks parts of gradient backpropagation and possibly acts as a dropout function to avoid the overfitting on the instance-level explanations.
|
| 125 |
+
|
| 126 |
+
# 4 Experiments
|
| 127 |
+
|
| 128 |
+
We mainly aim to investigate the following questions:
|
| 129 |
+
|
| 130 |
+
• RQ1: How effective is the pre-training phase of ReFine, as compared to that of existing methods? • RQ2: How effective is the fine-tuning phase of ReFine, as compared to that of the pre-training phase?
|
| 131 |
+
|
| 132 |
+
# 4.1 Experimental Settings
|
| 133 |
+
|
| 134 |
+
Datasets and Target GNNs. We consider four datasets with various target GNNs:
|
| 135 |
+
|
| 136 |
+
• Molecule graph classification. We use the Mutagenicity dataset [40, 41], where 4, 337 molecule graphs are classified into two classes based on their mutagenic effect on a bacterium. The welltrained Graph Isomorphism Network (GIN) [26, 42] has achieved a $100 \%$ testing accuracy.
|
| 137 |
+
|
| 138 |
+
• Scene graph classification. Following the previous work [10], we select 4, 443 (images, scene graphs) pairs from Visual Genome [43] to construct the VG-5 dataset. Wherein, the graphs are labeled with five classes: stadium, street, farm, surfing, forest. Each graph contains regions of the objects as the nodes, while edges indicates the relationships between object nodes. The target GNN is an APPNP [44] which achieves $6 4 . 3 \%$ testing accuracy.
|
| 139 |
+
|
| 140 |
+
• Handwriting graph classification. We use the MNIST superpixel dataset [45], which converts 70,000 images into the graphs of superpixel adjacency. Every graph is labeled as one of ten digit classes. We trained a Spline-based GNN [46] which gains $9 7 . 9 \%$ accuracy in the testing dataset.
|
| 141 |
+
|
| 142 |
+
• Motif graph classification. We follow prior studies [6, 7] to create a synthetic dataset, BA-3motif, which contains 3,000 graphs. Specifically, we adopt the Barabasi-Albert (BA) graphs as the base, and attach each base with one of three motifs: house, cycle, grid. The trained GNN model, ASAP [47], classifies them according to the type of attached motifs and achieved $100 \%$ testing accuracy.
|
| 143 |
+
|
| 144 |
+
Baselines. We compare our ReFine with the state-of-the-art explanation methods:
|
| 145 |
+
|
| 146 |
+
• SA [9] directly uses the gradients of the model prediction w.r.t. the adjacency matrix of the input graph as the importance of edges.
|
| 147 |
+
• GNNExplainer [6] applies the soft masks on the messages carried by edges, where each mask indicates an edge’s importance. Note that the masks of graph instances are trained individually.
|
| 148 |
+
• PGExplainer [7] hires a neural network to learn to generate the masks for the input edges. The generative model is trained over multiple explained instances.
|
| 149 |
+
• PGM-Explainer [19] collects the prediction change on the random node perturbations, and then learns a Bayesian network from these perturbation-prediction observations, so as to capture the dependencies among the nodes and the prediction. Here we transfer it to model the edge importance.
|
| 150 |
+
|
| 151 |
+
Optimization. For the parametric explanation methods (GNNExplainer, PGExplainer, PGMExplainer), we apply a grid search to tune their own hyperparameters. For our ReFine framework, we use the Adam optimizer and set the learning rate of pre-training and fine-tuning as 1e-3 and 1e-4, respectively. All experiments are done on a single Tesla V100 SXM2 GPU (32 GB).
|
| 152 |
+
|
| 153 |
+
Evaluation Metrics. It is challenging to quantitatively evaluate the quality of explanations, since the ground-truth explanations are usually unavailable. In the literature, there are three widely-used evaluation metrics:
|
| 154 |
+
|
| 155 |
+
• Predictive Accuracy $( \mathbf { A C C } @ \rho )$ [32, 48, 27]. It measures the fidelity of the explanatory subgraphs by feeding it solely into the target model and auditing how well it recovers the target prediction. We report the average $\operatorname { A C C } @ \rho$ over all graphs in the testing sets, and further denote ACC-AUC as the area under the ACC curve over different selection ratios $\rho \in \{ 0 . 1 , 0 . 2 , \cdot \cdot \cdot , 0 . 9 , 1 . 0 \}$ . $\operatorname { A C C } @ \rho$ and ACC-AUC are suitable for all the datasets.
|
| 156 |
+
|
| 157 |
+
• Recall $@ N$ . As suggested in prior studies [6, 7, 32], we can create the “ground-truth explanations” for the synthetic dataset. Specifically, for BA-3motif, the motif of each graph can be viewed as the discriminative information coherent in the model knowledge. As such, we can frame the evaluation problem as the task of top edge ranking. To be more specific, for an explanatory subgraph, the edges within the motif are positive, while the others are negative. To this end, recall can be adopted as the evaluation protocols. More formally, Recall $\ @ N = \mathbb { E } _ { \boldsymbol { \mathcal { G } } } [ | \mathcal { G } _ { s } \cap \mathcal { G } _ { s } ^ { * } | / | \mathcal { G } _ { s } ^ { * } | ]$ where $\mathcal { G } _ { s }$ is composed of the top- $N$ edges and $\mathcal { G } _ { s } ^ { * }$ is the ground-truth explanatory subgraph.
|
| 158 |
+
|
| 159 |
+
# 4.2 Quantitative Evaluations
|
| 160 |
+
|
| 161 |
+
Influence of Pre-training (RQ1). To investigate the effectiveness of pre-training, we first compare the performance of the attribution module with the state-of-the-art explainers. We denote this variant by ReFine-FT, which disables the fine-tuning phase and simply constructs the explanatory subgraphs based on the saliency scores. Moreover, we build another variant ReFine-CT, which removes the contrastive loss (Equation (8)) from the pre-training phase, to study the effect of the contrastive loss on the class-wise knowledge modeling. To be more clear, we present the difference of PGExplainer [7], ReFine and its ablation models in Table 4.2. Table 2 presents the performance comparisons, from which we have several findings:
|
| 162 |
+
|
| 163 |
+
Table 1: Structure/Training Difference of PGExplainer, ReFine and its ablation models.
|
| 164 |
+
|
| 165 |
+
<table><tr><td rowspan="2"></td><td colspan="2">Pre-training</td><td rowspan="2">Fine-tuning</td></tr><tr><td>Class-wise Attributors</td><td>Contrastive Learning</td></tr><tr><td>PG-Explainer</td><td></td><td></td><td></td></tr><tr><td>Refine-CT</td><td></td><td></td><td></td></tr><tr><td>Refine-FT</td><td></td><td></td><td></td></tr><tr><td>Refine</td><td></td><td></td><td></td></tr></table>
|
| 166 |
+
|
| 167 |
+
Table 2: Comparison of our ReFine and other baseline explainers
|
| 168 |
+
|
| 169 |
+
<table><tr><td rowspan="2"></td><td rowspan="2">Mutagenicity ACC-AUC</td><td rowspan="2">VG-5 ACC-AUC</td><td rowspan="2">MNIST ACC-AUC</td><td colspan="2">BA-3motif</td></tr><tr><td>ACC-AUC</td><td>Recall@5</td></tr><tr><td>SA</td><td>0.769</td><td>0.769</td><td>0.559</td><td>0.518</td><td>0.243</td></tr><tr><td>GNNExplainer</td><td>0.895±0.010</td><td>0.895±0.003</td><td>0.535±0.013</td><td>0.528±0.005</td><td>0.157±0.002</td></tr><tr><td>PG-Explainer</td><td>0.631±0.008</td><td>0.790±0.004</td><td>0.504±0.010</td><td>0.586±0.004</td><td>0.293±0.001</td></tr><tr><td>PGM-Explainer</td><td>0.714±0.007</td><td>0.792±0.001</td><td>0.615±0.003</td><td>0.575±0.002</td><td>0.250±0.000</td></tr><tr><td>ReFine-CT</td><td>0.888±0.008</td><td>0.891±0.002</td><td>0.526±0.007</td><td>0.610±0.004</td><td>0.248±0.001</td></tr><tr><td>ReFine-FT</td><td>0.945±0.011</td><td>0.906±0.002</td><td>0.587±0.008</td><td>0.616±0.003</td><td>0.299±0.002</td></tr><tr><td>ReFine</td><td>0.955±0.005</td><td>0.914±0.001</td><td>0.636±0.003</td><td>0.630±0.006</td><td>0.304±0.000</td></tr><tr><td>Relative Impro.</td><td>6.7%</td><td>2.1%</td><td>3.4%</td><td>7.5%</td><td>3.8%</td></tr></table>
|
| 170 |
+
|
| 171 |
+
• ReFine-FT outperforms the baseline explainers in most cases. To be more specific, it achieves significant relative improvements over the strongest baselines w.r.t. ACC-AUC by $5 . 6 \%$ and $5 . 1 \%$ in Mutagenicity and BA-3motif, respectively. This demonstrates the rationality and effectiveness of the attribution module. We attribute these improvements to the class-wise knowledge modeling: (1) By specifying the attributor models for each class, ReFine-FT is able to capture the underlying patterns shared across the instances within the same class; and (2) Conducting the contrastive learning between different class-aware attributors makes ReFine-FT better stratify the discriminative information for different classes. The class-wise knowledge endows ReFine-FT with the global view of the target model’s workings.
|
| 172 |
+
• Although PGExplainer is also equipped with the global view of the target model, its performance is worse than that of ReFine-FT. We ascribe this to the limitations of PGExplainer’s global view, which is founded upon all the explained instances, but fails to differentiate the class-wise patterns. This again verifies the rationality and effectiveness of our attribution module.
|
| 173 |
+
• ReFine-FT outperforms ReFine-CT by a large margin, indicating that the contrastive learning plays a critical role in exhibiting the class-wise knowledge. Specifically, it summarizes the patterns across similar instances and focuses on the information pertinent to specific classes, while filtering the irrelevant and redundant information out.
|
| 174 |
+
• Interestingly, in MNIST, the result of ReFine-FT is worse than that of PGM-Explainer. One possible reason is that the random perturbations in PGM-Explainer create a collection of broken graphs and offer a more comprehensive observation of the graphs. We leave the exploration of subgraph-prediction relations as future work.
|
| 175 |
+
|
| 176 |
+
Influence of Fine-tuning (RQ2). To justify the effectiveness of the fine-tuning phase, we report the performance of ReFine with our selection module in Tables 2 and 3, as compared to the performance before fine-tuning. We have the following observations:
|
| 177 |
+
|
| 178 |
+
Table 3: Performance under different selection ratios before and after fine-tuning.
|
| 179 |
+
|
| 180 |
+
<table><tr><td rowspan="2">ACC@p</td><td colspan="2">Mutagenicity</td><td colspan="2">VG-5</td><td colspan="2">MNIST</td><td colspan="2">BA-3motif</td></tr><tr><td>0.4</td><td>0.6</td><td>0.4</td><td>0.6</td><td>0.4</td><td>0.6</td><td>0.4</td><td>0.6</td></tr><tr><td>ReFine-FT</td><td>96.8%</td><td>94.0%</td><td>91.3%</td><td>91.4%</td><td>41.4%</td><td>61.4%</td><td>36.0%</td><td>65.7%</td></tr><tr><td>ReFine</td><td>97.8%</td><td>96.2%</td><td>92.2%</td><td>93.4%</td><td>71.4%</td><td>82.0%</td><td>39.0%</td><td>72.8%</td></tr><tr><td>Improvement</td><td>+1.0%</td><td>+2.2%</td><td>+0.9%</td><td>+2.0%</td><td>+30.0%</td><td>+20.6%</td><td>+3.0%</td><td>+7.1%</td></tr></table>
|
| 181 |
+
|
| 182 |
+

|
| 183 |
+
Figure 3: Qualitative Results in MNIST Superpixels dataset. Handwriting graphs are in black, which respectively represent number $\mathbf { \bar { \theta } } ^ { 6 6 } 0 ^ { 9 }$ , $^ { \cdot 6 } 2 ^ { \cdot }$ , “8” within each block from left to right. Explanatory graphs are in red, where the top $10 \%$ edges are highlighted.
|
| 184 |
+
|
| 185 |
+
• Fine-tuning with the selection module can improves the explanation performance sustainably, which indicates the effectiveness of our pre-training and fine-tuning paradigm. Specifically, in MNIST, the predictive accuracy of the explanations after fine-tuning improves from $4 1 . 4 \%$ to $7 1 . 4 \%$ when the selection rato is 0.4. We attribute these improvements to the local insights on specific instances: (1) Benefiting from the saliency map obtained in the pre-training phase, the selection module is able to filter noisy edges out and narrow down to where the target model looks to make decisions; (2) Fine-tuning the explanatory subgraphs considers the coalition effect of edges, thus approaches more information to recover the target prediction.
|
| 186 |
+
|
| 187 |
+
• Jointly analyzing Tables 2 and 3, ReFine consistently outperforms all baselines across the four datasets. Advantageous to the local or global explanations, our multi-grained explanations not only have the global understanding of model workings (i.e. the class-wise knowledge), but also account for the local insights on specific instances (i.e. the coalition effect of edges in the local context). It illustrates the superiority of our ReFine paradigm.
|
| 188 |
+
|
| 189 |
+
Overall, the empirical supports justify the significance of fine-tuning well. The contributions of fine-tuning w.r.t. the overall improvements over PG-Explainer are $3 7 . 1 \%$ and $3 1 . 8 \%$ in MNIST and BA-3motif datasets, respectively. One possible reason that fine-tuning contributes only $3 . 1 \%$ and $6 . 4 \%$ portion of overall improvements in Mutagenicity and VG-5 as compared to PG-Explainer is the existance of rich node features in these two datasets. With the assistance of node features, the global patterns might be well-captured durining pre-training, thus leaving little space for the local patterns to improve.
|
| 190 |
+
|
| 191 |
+
# 4.3 Qualitative Analysis
|
| 192 |
+
|
| 193 |
+
We present the qualitative results on MNIST superpixel in Figure 3, where the pre-trained and fine-tuned explanations are the explanatory subgraphs before fine-tuning (i.e. extracted based on the saliency map) and after fine-tuning (i.e. derived from the selection module), respectively.
|
| 194 |
+
|
| 195 |
+
Influence of Pre-training (RQ1). The pre-trained results (first row) well demonstrate the global patterns, where the explanatory subgraphs for interpreting the digit $\mathbf { \bar { \theta } } ^ { 6 } 0 ^ { 9 }$ focus more on the edges between hollows in the middle and the fringe of the number. While interpreting the prediction $\mathbf { \Delta } ^ { 6 6 } 5 ^ { 9 }$ , the explanations identify the edges spread on the bend of the number as the most important features. Also, we observe an interesting pattern in the results for explaining the prediction $\mathbf { \vec { \nu } } ^ { 6 } \mathbf { \vec { 8 } } ^ { 5 }$ , where the background edges draw more attention, rather than edges relevant to the digits, revealing the evidence for the target GNN to classify. It also shows the supporting evidence of the difference between the model explanation and the human explanation which focuses more on the digit graphs other than the background graphs. Through the pre-trained examples, the global patterns offer vital model understanding and inspections for the model’s decision-making process.
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
Figure 4: Qualitative Results in Mutagenicity dataset. The prediction of the molecule in the first row is mutagenic, while the molecule in the second row is predicted as non-mutagenic. The selection ratios range from $10 \%$ to $50 \%$ . Note that some opposite edges are visually coincident.
|
| 199 |
+
|
| 200 |
+
Table 4: Time costs (in second) of GNNExplainer, PG-Explainer and the fine-tuning phase of Refine.
|
| 201 |
+
|
| 202 |
+
<table><tr><td></td><td>Mutagenicity</td><td>VG-5</td><td>MNIST</td><td>BA-3motif</td></tr><tr><td>GNNExplainer</td><td>2.03</td><td>1.88</td><td>0.637</td><td>1.11</td></tr><tr><td>PG-Explainer</td><td>0.030</td><td>0.035</td><td>0.040</td><td>0.032</td></tr><tr><td>Refine(Fine-tuning)</td><td>0.821</td><td>0.583</td><td>0.535</td><td>0.423</td></tr></table>
|
| 203 |
+
|
| 204 |
+
Influence of Fine-tuning (RQ2). We now compare the pre-trained and fine-tuned explanations. Clearly, the fine-tuned explanatory graphs make clearer boundaries on the instances. The explanation adapted with the user-defined ratio pays greater attention to details that are only applicable to the specific instances. For example, one can take a closer look at the explanations in the 4-th column. Without the fine-tuning phase, the explanation may distracted by the edges across the digit and the background, such that these transition edges might be deemed as the most important features while achieve suboptimal predictive accuracies. In contrast, the fine-tuned explanation dispels such misunderstanding, with a higher local accuracy. Similar patterns can be found in other examples.
|
| 205 |
+
|
| 206 |
+
The qualitative results on Mutagenicity are presented in Figure 4, where each explanation has been fine-tuned on the corresponding ratio. We can see the flexibility on ReFine, which enables the fine-tuning on a specific user-defined ratio. With the selection ratio increases, the class probability output by the target GNN is generally stable or further improved. Moreover, the fine-tuning phase focuses more on the combination of features, with the constraint of selection ratio, to purse the higher accuracy rather than intercepting on a ranking based on the static edge importance, which is only valid under the addictive feature assumption [32].
|
| 207 |
+
|
| 208 |
+
# 4.4 Discussions
|
| 209 |
+
|
| 210 |
+
Efficiency for Generating Explanations. The inference time [7] to explain a new instance by the pre-trained ReFine is the same as PGExplainer under the same attributor construction. Different from GNNExplainer which has to retrain the model for each graph, ReFine only needs a few finetuning steps on the pre-trained model (20 steps on average). Thus, ReFine can gain a boosting performance for explaining graphs while remaining efficient in terms of time complexity. Specifically, we summarize the time costs in the Table 4. Clearly, our ReFine is more efficient than GNNExplainer and is computationally comparable to PG-Explainer.
|
| 211 |
+
|
| 212 |
+
Limitations. Although ReFine can well-encode the class-wise knowledge by learning the parameters of multiple attributors, it can hardly map such knowledge to the structure representation as XGNN [13]. This limits the human understanding on the core of input data via a conciseness substructure.
|
| 213 |
+
|
| 214 |
+
# 5 Related Work
|
| 215 |
+
|
| 216 |
+
We consider two classes of related work for GNNs explainability: studies on local explainability, which independently explain for each input graph without referring to other knowledge, e.g., training data; studies on global explainability, which provide explanations for multiple instances with the guide of the model-level or class-level knowledge. See [49, 8, 50] for more overviews.
|
| 217 |
+
|
| 218 |
+
• Local Explainability. In general, there are two research lines. (1) Non-parametric explanation methods [10, 9, 11] use some heuristics as the feature contributions of a specific instance, without involving additional trainable models. Gradient-like scores [10, 9, 11] are wisely-used heuristics, which is obtained by backpropagating the model prediction or loss to the input features, such as adjacency matrix [10], along with the model architecture. (2) Parametric explanation methods [6, 19, 51, 52] additionally train a parametrized explainer model to generate the saliency maps or explanatory subgraphs for individual instances. The explainer model is typically optimized towards local fidelity [32, 48, 27], which uses the explanations to recover the target predictions. For example, GNNExplainer [6] learns soft masks for an instance and applies them on the adjacency matrix. PGM-Explainer [19] trains an Bayesian network upon the pairs of graph perturbations and prediction changes. However, these methods fall short in capturing the prototypical patterns shared within the same groups or classes.
|
| 219 |
+
|
| 220 |
+
• Global Explainability. This direction is less explored compared to the local explainability of GNNs [8]. To provide a global understanding of the model prediction, PGExplainer [7] formulates the generation of multiple explanations based on its collective and inductive property, and designs the attributor as a deep neural network whose parameters are shared across the explained instances. XGNN [13] explains GNNs by training a graph generator, which outputs class-wise graph patterns to explain this class. As it is designed to explain the holistic class, making it hardly applicable on an specific instance, e.g., the graph patterns may not even exit on the instance.
|
| 221 |
+
|
| 222 |
+
# 6 Conclusion and Future Work
|
| 223 |
+
|
| 224 |
+
Multi-grained explainability promises to offer a flexible and all-round inspection of deep models’ decision-making, which has been less explored in the literature. Motivated by this, we proposed a novel generative probabilistic model, ReFine, to approach the multi-granularity explainability via pre-training and fine-tuning. To exhibit global explanations with the prototypical patterns, the pre-training phase is founded upon the class-aware attribution modules and distills the class-level knowledge by contrastive learning. When given a specific instance, the fine-tuning phase further adapts the global explanations in the local context with high fidelity. In the fashion of pre-training and fine-tuning, we can generate explanations with both global patterns and local features. Extensive results in four datasets show that our method indeed improves the quality of explanatory subgraphs.
|
| 225 |
+
|
| 226 |
+
As future direction, we consider the extension of ReFine to fulfill the counterfactual explanation [53], which answers ‘Why the target GNN model made a certain prediction, rather than another prediction?”, to enrich the multi-granularity explainability. Further, multi-grained explainability can be exhibited to explore the model robustness and heuristically guide the model construction.
|
| 227 |
+
|
| 228 |
+
# Acknowledgments and Disclosure of Funding
|
| 229 |
+
|
| 230 |
+
Funding in direct support of this work: the Sea-NExT Joint Lab, Singapore MOE AcRF T2; the National Natural Science Foundation of China (U19A2079, 62121002); the National Key Research and Development Program of China (2020YFB1406703).
|
| 231 |
+
|
| 232 |
+
# References
|
| 233 |
+
|
| 234 |
+
[1] Vijay Prakash Dwivedi, Chaitanya K. Joshi, Thomas Laurent, Yoshua Bengio, and Xavier Bresson. Benchmarking graph neural networks. CoRR, abs/2003.00982, 2020.
|
| 235 |
+
|
| 236 |
+
[2] Zonghan Wu, Shirui Pan, Fengwen Chen, Guodong Long, Chengqi Zhang, and Philip S. Yu. A comprehensive survey on graph neural networks. TNNLS, 32(1):4–24, 2021.
|
| 237 |
+
[3] Shruthi Chari, Daniel M. Gruen, Oshani Seneviratne, and Deborah L. McGuinness. Directions for explainable knowledge-enabled systems. In Knowledge Graphs for eXplainable Artificial Intelligence: Foundations, Applications and Challenges, pages 245–261. 2020.
|
| 238 |
+
[4] Christopher J. Anders, Plamen Pasliev, Ann-Kathrin Dombrowski, Klaus-Robert Müller, and Pan Kessel. Fairwashing explanations with off-manifold detergent. In ICML, pages 314–323, 2020.
|
| 239 |
+
[5] Sebastian Lapuschkin, Stephan Wäldchen, Alexander Binder, Grégoire Montavon, Wojciech Samek, and Klaus-Robert Müller. Unmasking clever hans predictors and assessing what machines really learn. Nature communications, 10(1):1–8, 2019.
|
| 240 |
+
[6] Zhitao Ying, Dylan Bourgeois, Jiaxuan You, Marinka Zitnik, and Jure Leskovec. Gnnexplainer: Generating explanations for graph neural networks. In NeurIPS, pages 9240–9251, 2019.
|
| 241 |
+
[7] Dongsheng Luo, Wei Cheng, Dongkuan Xu, Wenchao Yu, Bo Zong, Haifeng Chen, and Xiang Zhang. Parameterized explainer for graph neural network. In NeurIPS, 2020.
|
| 242 |
+
[8] Hao Yuan, Haiyang Yu, Shurui Gui, and Shuiwang Ji. Explainability in graph neural networks: A taxonomic survey. CoRR, abs/2012.15445, 2020.
|
| 243 |
+
[9] Federico Baldassarre and Hossein Azizpour. Explainability techniques for graph convolutional networks. CoRR, abs/1905.13686, 2019.
|
| 244 |
+
[10] Phillip E. Pope, Soheil Kolouri, Mohammad Rostami, Charles E. Martin, and Heiko Hoffmann. Explainability methods for graph convolutional neural networks. In CVPR, pages 10772–10781, 2019.
|
| 245 |
+
[11] Thomas Schnake, Oliver Eberle, Jonas Lederer, Shinichi Nakajima, K. T. Schutt, Klaus-Robert Muller, and Grégoire Montavon. Higher-order explanations of graph neural networks via relevant walks. arXiv, 2020.
|
| 246 |
+
[12] Michael Sejr Schlichtkrull, Nicola De Cao, and Ivan Titov. Interpreting graph neural networks for NLP with differentiable edge masking. CoRR, abs/2010.00577, 2020.
|
| 247 |
+
[13] Hao Yuan, Jiliang Tang, Xia Hu, and Shuiwang Ji. XGNN: towards model-level explanations of graph neural networks. In Rajesh Gupta, Yan Liu, Jiliang Tang, and B. Aditya Prakash, editors, KDD, pages 430–438, 2020.
|
| 248 |
+
[14] Marco Túlio Ribeiro, Sameer Singh, and Carlos Guestrin. "why should I trust you?": Explaining the predictions of any classifier. In KDD, pages 1135–1144, 2016.
|
| 249 |
+
[15] Jeremy Howard and Sebastian Ruder. Universal language model fine-tuning for text classification. In ACL, pages 328–339, 2018.
|
| 250 |
+
[16] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 251 |
+
[17] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. In ICML, volume 119, pages 1597–1607, 2020.
|
| 252 |
+
[18] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross B. Girshick. Momentum contrast for unsupervised visual representation learning. In CVPR, pages 9726–9735, 2020.
|
| 253 |
+
[19] Minh N. Vu and My T. Thai. Pgm-explainer: Probabilistic graphical model explanations for graph neural networks. In NeurIPS, 2020.
|
| 254 |
+
[20] Hongyang Gao and Shuiwang Ji. Graph u-nets. In ICML, volume 97, pages 2083–2092, 2019.
|
| 255 |
+
|
| 256 |
+
[21] Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua ´ Bengio. Graph attention networks. ICLR, 2018.
|
| 257 |
+
[22] William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In NeurIPS, pages 1024–1034, 2017.
|
| 258 |
+
[23] Xiang Wang, Xiangnan He, Meng Wang, Fuli Feng, and Tat-Seng Chua. Neural graph collaborative filtering. In SIGIR, pages 165–174, 2019.
|
| 259 |
+
[24] Xiang Wang, Xiangnan He, Yixin Cao, Meng Liu, and Tat-Seng Chua. KGAT: knowledge graph attention network for recommendation. In KDD, pages 950–958, 2019.
|
| 260 |
+
[25] Xiangnan He, Kuan Deng, Xiang Wang, Yan Li, Yong-Dong Zhang, and Meng Wang. Lightgcn: Simplifying and powering graph convolution network for recommendation. In SIGIR, pages 639–648, 2020.
|
| 261 |
+
[26] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In ICLR, 2019.
|
| 262 |
+
[27] Ian Covert, Scott Lundberg, and Su-In Lee. Feature removal is a unifying principle for model explanation methods. In NeurIPS, 2020.
|
| 263 |
+
[28] Marco Ancona, Enea Ceolini, Cengiz Öztireli, and Markus Gross. Towards better understanding of gradient-based attribution methods for deep neural networks. In ICLR, 2018.
|
| 264 |
+
[29] Constantin F Aliferis, Alexander Statnikov, Ioannis Tsamardinos, Subramani Mani, and Xenofon D Koutsoukos. Local causal and markov blanket induction for causal discovery and feature selection for classification part i: Algorithms and empirical evaluation. JMLR, 11(1), 2010.
|
| 265 |
+
[30] Peter D Hoff, Adrian E Raftery, and Mark S Handcock. Latent space approaches to social network analysis. Journal of the american Statistical association, 97(460):1090–1098, 2002.
|
| 266 |
+
[31] Max Welling Thomas N. Kipf. Variational graph auto-encoders. In NeurIPS Workshops, 2016.
|
| 267 |
+
[32] Jianbo Chen, Le Song, Martin J. Wainwright, and Michael I. Jordan. Learning to explain: An information-theoretic perspective on model interpretation. In ICML, pages 882–891, 2018.
|
| 268 |
+
[33] Lukas Faber, Amin K Moghaddam, and Roger Wattenhofer. Contrastive graph neural network explanation. 2021.
|
| 269 |
+
[34] R. Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Philip Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. In ICLR, 2019.
|
| 270 |
+
[35] Fan-Yun Sun, Jordan Hoffmann, Vikas Verma, and Jian Tang. Infograph: Unsupervised and semi-supervised graph-level representation learning via mutual information maximization. In ICLR, 2020.
|
| 271 |
+
[36] Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, and Yang Shen. Graph contrastive learning with augmentations. In NeurIPS, 2020.
|
| 272 |
+
[37] Jiancan Wu, Xiang Wang, Fuli Feng, Xiangnan He, Liang Chen, Jianxun Lian, and Xing Xie. Self-supervised graph learning for recommendation. In SIGIR, pages 726–735, 2021.
|
| 273 |
+
[38] Christopher Frye, Damien de Mijolla, Laurence Cowton, Megan Stanley, and Ilya Feige. Shapley-based explainability on the data manifold. In ICLR, 2021.
|
| 274 |
+
[39] H. W. Kuhn and A. W. Tucker. Contributions to the theory of games, volume 2. Princeton University Press, 1953.
|
| 275 |
+
[40] Jeroen Kazius, Ross McGuire, and Roberta Bursi. Derivation and validation of toxicophores for mutagenicity prediction. Journal of medicinal chemistry, 48(1):312–320, 2005.
|
| 276 |
+
[41] Kaspar Riesen and Horst Bunke. Iam graph database repository for graph based pattern recognition and machine learning. In SPR and SSPR, pages 287–297, 2008.
|
| 277 |
+
[42] Weihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik, Percy Liang, Vijay S. Pande, and Jure Leskovec. Strategies for pre-training graph neural networks. In ICLR, 2020.
|
| 278 |
+
[43] Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A. Shamma, Michael S. Bernstein, and Li Fei-Fei. Visual genome: Connecting language and vision using crowdsourced dense image annotations. IJCV, 123(1):32–73, 2017.
|
| 279 |
+
[44] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. In ICLR, 2019.
|
| 280 |
+
[45] Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodolà, Jan Svoboda, and Michael M. Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. In CVPR, pages 5425–5434, 2017.
|
| 281 |
+
[46] Matthias Fey, Jan Eric Lenssen, Frank Weichert, and Heinrich Müller. Splinecnn: Fast geometric deep learning with continuous b-spline kernels. In CVPR, pages 869–877, 2018.
|
| 282 |
+
[47] Ekagra Ranjan, Soumya Sanyal, and Partha P. Talukdar. ASAP: adaptive structure aware pooling for learning hierarchical graph representations. In AAAI, pages 5470–5477, 2020.
|
| 283 |
+
[48] Jian Liang, Bing Bai, Yuren Cao, Kun Bai, and Fei Wang. Adversarial infidelity learning for model interpretation. In KDD, pages 286–296, 2020.
|
| 284 |
+
[49] Hao Yuan, Haiyang Yu, Shurui Gui, and Shuiwang Ji. Explainability in graph neural networks: A taxonomic survey. CoRR, 2020.
|
| 285 |
+
[50] Thomas Schnake, Oliver Eberle, Jonas Lederer, Shinichi Nakajima, Kristof T. Schütt, KlausRobert Müller, and Grégoire Montavon. XAI for graphs: Explaining graph neural network predictions by identifying relevant walks. CoRR, abs/2006.03589, 2020.
|
| 286 |
+
[51] Hao Yuan, Haiyang Yu, Jie Wang, Kang Li, and Shuiwang Ji. On explainability of graph neural networks via subgraph explorations. ArXiv, 2021.
|
| 287 |
+
[52] Patrick Schwab and Walter Karlen. Cxplain: Causal explanations for model interpretation under uncertainty. In NeurIPS, pages 10220–10230, 2019.
|
| 288 |
+
[53] Raha Moraffah, Mansooreh Karami, Ruocheng Guo, Adrienne Raglin, and Huan Liu. Causal interpretability for machine learning-problems, methods and evaluation. SIGKDD Explorations, 22(1):18–33, 2020.
|
parse/train/K6y77KRUowQ/K6y77KRUowQ_content_list.json
ADDED
|
@@ -0,0 +1,1229 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Towards Multi-Grained Explainability for Graph Neural Networks ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
200,
|
| 8 |
+
122,
|
| 9 |
+
797,
|
| 10 |
+
171
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Xiang Wang§†‡, Ying-Xin Wu§, An Zhang†, Xiangnan $\\mathbf { H e } ^ { \\ S } ;$ ∗, Tat-Seng Chua† ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
228,
|
| 19 |
+
220,
|
| 20 |
+
769,
|
| 21 |
+
237
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "‡Sea-NExT Joint Lab †National University of Singapore §University of Science and Technology of China xiangwang@u.nus.edu, wuyxin@mail.ustc.edu.cn, an_zhang@nus.edu.sg xiangnanhe@gmail.com, dcscts@nus.edu.sg ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
228,
|
| 30 |
+
238,
|
| 31 |
+
769,
|
| 32 |
+
308
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
462,
|
| 42 |
+
344,
|
| 43 |
+
535,
|
| 44 |
+
361
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "When a graph neural network (GNN) made a prediction, one raises question about explainability: “Which fraction of the input graph is most influential to the model’s decision?” Producing an answer requires understanding the model’s inner workings in general and emphasizing the insights on the decision for the instance at hand. Nonetheless, most of current approaches focus only on one aspect: (1) local explainability, which explains each instance independently, thus hardly exhibits the class-wise patterns; and (2) global explainability, which systematizes the globally important patterns, but might be trivial in the local context. This dichotomy limits the flexibility and effectiveness of explainers greatly. A performant paradigm towards multi-grained explainability is until-now lacking and thus a focus of our work. In this work, we exploit the pre-training and fine-tuning idea to develop our explainer and generate multi-grained explanations. Specifically, the pre-training phase accounts for the contrastivity among different classes, so as to highlight the class-wise characteristics from a global view; afterwards, the fine-tuning phase adapts the explanations in the local context. Experiments on both synthetic and real-world datasets show the superiority of our explainer, in terms of AUC on explaining graph classification over the leading baselines. Our codes and datasets are available at https://github.com/Wuyxin/ReFine. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
375,
|
| 54 |
+
764,
|
| 55 |
+
623
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
647,
|
| 66 |
+
310,
|
| 67 |
+
665
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "While graph neural networks (GNNs) [1, 2] have achieved great success in a variety of applications, they usually come as black-box models. The general problem about GNN explainability [3] is to answer “What knowledge does the model use to arrive at the conclusions in general and the specific decision at hand?”. Thoroughly answering this question requires the global understanding of the model’s inner workings and the local insights on a specific instance. Take a GNN model for molecular property prediction as an example. The global understanding exhibits the knowledge encoded in the model, such as the distribution of the chemical groups; meanwhile, the local insight identifies certain chemical groups responsible for a given molecule’s property. Such multi-grained explainability flexibly and reliably inspects the decision-making process of the GNN [4, 5], which is critical to the applications on safety, fairness, and privacy [6, 7]. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
679,
|
| 77 |
+
825,
|
| 78 |
+
818
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In the field of GNN explainability [8], explainer models broadly attribute model prediction to the input graph, then sample a salient subgraph as the explanation for the model prediction. However, most of current explainers focus on either on local [9, 10, 6, 11, 12] or global explainability [13, 7], thereby suffer from inherent limitations correspondingly: ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
824,
|
| 88 |
+
825,
|
| 89 |
+
880
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/02a09bd0ed0a22a1739882174903150d6e2fca645f0e80d594763f96870881bd.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Explanations on Visual Genome dataset generated from ReFine, including the pre-training and fine-tuning phases. Right indicates the changes before and after the fine-tuning. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
176,
|
| 102 |
+
89,
|
| 103 |
+
820,
|
| 104 |
+
252
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "• Local explainability aims to customize the explanatory subgraph for each instance individually. However, such local explanations fall short in systematizing the prototypical patterns shared within a class or group of instances. Thus, they lack the global understanding of the model’s workings [7, 13], which is vital to generalize to other instances being explained. • Global explainability targets at the globally important patterns across multiple instances, which could violate the local fidelity [14] — the globally important substructure may not be important or even appear in the local context, thus might fail to explain a specific instance reliably. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
173,
|
| 113 |
+
316,
|
| 114 |
+
826,
|
| 115 |
+
422
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "Briefly put, these approaches overlook the multi-granularity nature of explainability, while we argue that the local and global explainability should be exhibited simultaneously to obtain faithful explanations. Taking Figure 1 as an example, the global explainability differentiates the explanations for various classes, such as livestock-background subgraphs for the farm class, human-sports subgraphs for the stadium class. When zooming in a specific scene graph, the local explainability refines on the farm-wise patterns and specifies (sheep, on, meadow) as the final explanation. A paradigm towards such multi-grained explainability is until-now lacking, to the best of our knowledge. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
434,
|
| 125 |
+
825,
|
| 126 |
+
531
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Towards multi-grained explainability, we propose a novel explainer, ReFine, with pre-training and fine-tuning [15, 16] techniques for explaining GNN models. Specifically, pre-training aims to answer “What class-wise knowledge does the GNN leverage to make predictions in general?”. We combine the contrastive learning [17, 18] into class-wise generative probabilistic models [7], thereby approach coarser-grained explanations (i.e. saliency maps of all edges). Going beyond the global view, fine-tuning is to answer “Why the GNN model made the certain prediction for the instance at hand?”, where we upgrade the coarser-grained explanations to the finer-grained explanations (i.e. explanatory subgraphs of salient edges). Through this way, ReFine can faithfully generate multigrained explanations, and we empirically show its effectiveness as compared to some state-of-the-art explainers [9, 6, 7, 19]. It is also worth mentioning that, although the general understanding of GNN predictions has been considered in a recent work PGExplainer [7], it is only exploited to train a generative probabilistic model shared across all the explained instances, rather than dissecting and modeling the class-wise knowledge explicitly. Overall, our contributions are summarized as: ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
173,
|
| 135 |
+
537,
|
| 136 |
+
825,
|
| 137 |
+
717
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "• We investigate the local explainability and global explainability for explaining GNNs and put forward the concept of multi-grained explainability. • We propose a pre-training and fine-tuning framework to generate multi-grained explanations, which has both global understanding of model workings and local insights on specific instances. • We achieve state-of-the-art performance on various datasets w.r.t. predictive accuracy on explaining GNNs. Quantitative and qualitative results verify multi-granularity explainability of ReFine. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
171,
|
| 146 |
+
729,
|
| 147 |
+
826,
|
| 148 |
+
829
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "2 Background & Task Formulation ",
|
| 155 |
+
"text_level": 1,
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
849,
|
| 159 |
+
483,
|
| 160 |
+
867
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "In this section, we begin with the backgrounds on GNNs and frame the task of generating multigrained explainability for GNN models. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
173,
|
| 169 |
+
882,
|
| 170 |
+
823,
|
| 171 |
+
911
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "image",
|
| 177 |
+
"img_path": "images/b65a07bdea6282bc06afa60e008f186a18124de65faa901d9e96c15a6cb5298b.jpg",
|
| 178 |
+
"image_caption": [
|
| 179 |
+
"Figure 2: Model construction of proposed ReFine. Left represents the pre-training phase for a graph example, which is labeled and predicted as “Cycle”, from the BA-3motif dataset. Right demonstrates the fine-tuning process where the saliency map is fine-tuned on the instance to achieve local fidelity. "
|
| 180 |
+
],
|
| 181 |
+
"image_footnote": [],
|
| 182 |
+
"bbox": [
|
| 183 |
+
176,
|
| 184 |
+
89,
|
| 185 |
+
823,
|
| 186 |
+
193
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 2
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "Graph Neural Networks. We denote the graph data as $\\mathcal { G } = ( \\nu , \\mathcal { E } )$ with the node set $\\nu$ and the edge set $\\mathcal { E }$ . The structural feature of a graph can be represented by an adjacency matrix $\\mathbf { A } \\in \\{ 0 , 1 \\} ^ { | \\mathcal { V } | \\times | \\mathcal { V } | }$ where $A _ { i j } = 1$ indicates an edge starting from node $i$ to node $j$ , and $A _ { i j } = 0$ otherwise. The node feature matrix is represented as $\\mathbf { X } \\in \\mathbb { R } ^ { | \\nu | \\times d }$ . ",
|
| 193 |
+
"bbox": [
|
| 194 |
+
173,
|
| 195 |
+
271,
|
| 196 |
+
825,
|
| 197 |
+
332
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "Graph neural networks (GNNs) [1, 2] aim to generate powerful representation on graphs in an end-to-end fashion. Such representation facilitates the downstream tasks, such as node classification [20, 21], link prediction [22, 23, 24, 25], and graph classification [26]. Without loss of generality, we consider a graph classifier $f : \\mathbb { G } \\to \\mathbb { R } ^ { \\bar { C } }$ , which classifies an input graph $\\mathcal { G } \\in \\mathbb { G }$ in $C$ categories and outputs prediction by $c = \\arg \\operatorname* { m a x } _ { i } f ( \\mathcal { G } ) _ { i }$ . Typically, $f$ consists of three components: (1) learning of node representations, which distills vectorized information from neighboring nodes and updates node representations recursively; (2) learning of graph representation, which aggregates the node representations to establish the representation for the holistic graph; (3) graph classification, which maps the graph representation into the probability distribution of different categories. ",
|
| 204 |
+
"bbox": [
|
| 205 |
+
173,
|
| 206 |
+
337,
|
| 207 |
+
825,
|
| 208 |
+
463
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "Explaining Graph Neural Networks. The explainer model (aka. the explanation method) usually performs two consecutive operations: (1) feature attribution [27, 28], which associates each feature of an input $\\mathcal { G } \\in \\mathbb { G }$ with the relevance score for the classifier’s prediction; (2) feature selection [29, 6], which extracts salient features based on the relevance scores to construct an explanatory subgraph. The subgraph is regarded as the evidence for the GNN to make the prediction. ",
|
| 215 |
+
"bbox": [
|
| 216 |
+
173,
|
| 217 |
+
474,
|
| 218 |
+
825,
|
| 219 |
+
545
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "We follow previous works [6, 7, 10, 19] and focus on the contributions of the structural features (i.e. edges). Our explainer consists of two components: an attribution module $\\tau$ for edge attribution and a selection module $\\mathcal { H }$ for edge selection. Specifically, $\\tau$ assigns the adjacency matrix $\\mathbf { A }$ with a saliency map, i.e. ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
173,
|
| 228 |
+
551,
|
| 229 |
+
825,
|
| 230 |
+
607
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "equation",
|
| 236 |
+
"img_path": "images/d09c0afee350ea5fca06045b6fc3e21e3cfd1bbbbcbf169126c196d260d45ca7.jpg",
|
| 237 |
+
"text": "$$\n\\mathbf { M } = { \\mathcal { T } } ( { \\mathcal { G } } , f , c ) ,\n$$",
|
| 238 |
+
"text_format": "latex",
|
| 239 |
+
"bbox": [
|
| 240 |
+
441,
|
| 241 |
+
619,
|
| 242 |
+
553,
|
| 243 |
+
637
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 2
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "where $\\mathbf { M } \\in \\mathbb { R } ^ { | \\mathcal { V } | \\times | \\mathcal { V } | }$ , each element of which is the importance score of the edge to the prediction class $c$ . Such saliency map can further result in an attentive graph $\\mathcal { G } _ { a t t } = \\mathbf { A } \\odot \\mathbf { M }$ . Then, the selection module $\\mathcal { H }$ identifies the edges of explanatory subgraph based on the attentive graph: ",
|
| 250 |
+
"bbox": [
|
| 251 |
+
173,
|
| 252 |
+
650,
|
| 253 |
+
825,
|
| 254 |
+
694
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "equation",
|
| 260 |
+
"img_path": "images/efe39b908e86ccb5a0e9723f7e3b51522495546498c375c2cfc5fc317a8a4688.jpg",
|
| 261 |
+
"text": "$$\n\\mathbf { S } = \\mathcal { H } ( \\mathcal { G } _ { a t t } , f , c , \\rho ) ,\n$$",
|
| 262 |
+
"text_format": "latex",
|
| 263 |
+
"bbox": [
|
| 264 |
+
428,
|
| 265 |
+
707,
|
| 266 |
+
568,
|
| 267 |
+
724
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "where $\\mathbf { S } \\in \\mathbb { R } ^ { | \\mathcal { V } | \\times | \\mathcal { V } | }$ constructs the explanatory subgraph $\\mathcal { G } _ { e x p } = \\mathbf { A } \\odot \\mathbf { S }$ , and $\\rho$ is the explanation budget [27] that equals to the number of nonzero elements in $\\mathbf { s }$ . ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
173,
|
| 276 |
+
737,
|
| 277 |
+
825,
|
| 278 |
+
767
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "3 Methodology ",
|
| 285 |
+
"text_level": 1,
|
| 286 |
+
"bbox": [
|
| 287 |
+
174,
|
| 288 |
+
792,
|
| 289 |
+
313,
|
| 290 |
+
810
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 2
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "Here we present our explainer that purses multi-grained explainability by pre-training and fine-tuning, as Figure 2 shows. In the pre-training phase, the attribution module distills the class-wise knowledge, which contrasts the salient structures based on the prediction, answering the question “Why did the GNN model assign a group of graphs with the same prediction?”. In the next phase, the selection module goes beyond the class-wise knowledge and fine-tunes the saliency maps on a specific instance for answering “Why the GNN model made the certain prediction for the specific graph?”. ",
|
| 297 |
+
"bbox": [
|
| 298 |
+
174,
|
| 299 |
+
827,
|
| 300 |
+
825,
|
| 301 |
+
911
|
| 302 |
+
],
|
| 303 |
+
"page_idx": 2
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "text",
|
| 307 |
+
"text": "3.1 Pre-training Towards Global Explainability ",
|
| 308 |
+
"text_level": 1,
|
| 309 |
+
"bbox": [
|
| 310 |
+
176,
|
| 311 |
+
90,
|
| 312 |
+
514,
|
| 313 |
+
106
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 3
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "Class-aware Attribution Module. Towards the global explainability of GNN, it is important to specify the class-wise knowledge across the instances with the same prediction. Inspired by the success of generative models [7, 30, 31] in capturing the succinct structures from the graphs, we hire multiple generative probabilistic models [7] as our attribution models (short for attributor), i.e. $\\mathcal { T } _ { \\theta } = \\{ \\mathcal { T } ^ { ( c ) } | c = 1 , \\cdots , C \\}$ which is parameterized by $\\theta$ . The attributor $\\mathcal { T } ^ { \\left( c \\right) }$ is responsible for uncovering the hidden patterns from some graph instances $O ^ { ( c ) } = \\{ \\mathcal { G } | c = \\arg \\operatorname* { m a x } _ { i } f ( \\mathcal { G } ) _ { i } \\}$ with the same prediction class $c$ . ",
|
| 320 |
+
"bbox": [
|
| 321 |
+
173,
|
| 322 |
+
116,
|
| 323 |
+
826,
|
| 324 |
+
218
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 3
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "Formally, each attributor $\\mathcal { T } ^ { \\left( c \\right) }$ is composed of a GNN encoder $\\mathrm { G N N } ^ { ( c ) }$ and a MLP decoder $\\mathbf { M L P } ^ { ( c ) }$ , whose parameters are shared when explaining graphs in $\\mathcal { O } ^ { ( c ) }$ , so as to systematize the class-wise patterns. Next we introduce the construction of each class-wise attributor, while we omit the superscript for conciseness. Specifically, the encoder GNN embeds each node $i$ in $\\mathcal { G }$ with representation $\\mathbf { z } _ { i }$ and summarize the representations of all nodes as: ",
|
| 331 |
+
"bbox": [
|
| 332 |
+
173,
|
| 333 |
+
223,
|
| 334 |
+
826,
|
| 335 |
+
296
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 3
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "equation",
|
| 341 |
+
"img_path": "images/9bc120f64f56efe32b3e7dd6d5524e642c7fc0c4cb806e898cb65847d69d5f9d.jpg",
|
| 342 |
+
"text": "$$\n\\mathbf { Z } = \\mathbf { G N N } ( { \\mathcal { G } } , \\mathbf { X } ) ,\n$$",
|
| 343 |
+
"text_format": "latex",
|
| 344 |
+
"bbox": [
|
| 345 |
+
437,
|
| 346 |
+
305,
|
| 347 |
+
558,
|
| 348 |
+
321
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "where $\\mathbf { Z } \\in \\mathbb { R } ^ { | \\nu | \\times d ^ { \\prime } }$ encodes the structural feature $\\mathbf { A }$ and node feature $\\mathbf { X }$ . On the top of the node representations, we model the graph structure as edge distributions and frame the generation of explanatory subgraphs by sampling from the edge distributions: ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
173,
|
| 357 |
+
332,
|
| 358 |
+
825,
|
| 359 |
+
376
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "equation",
|
| 365 |
+
"img_path": "images/ea882c84bd7431668a232260600690fe7f50db0ff4229792444715824c8b6912.jpg",
|
| 366 |
+
"text": "$$\nP ( \\mathbf { M } | \\mathbf { Z } ) = \\prod _ { ( i , j ) \\in \\mathcal { E } } P ( M _ { i j } | \\mathbf { z } _ { i } , \\mathbf { z } _ { j } ) ,\n$$",
|
| 367 |
+
"text_format": "latex",
|
| 368 |
+
"bbox": [
|
| 369 |
+
387,
|
| 370 |
+
382,
|
| 371 |
+
609,
|
| 372 |
+
420
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "where $M _ { i j }$ indicates the importance of edge $( i , j )$ . Then the MLP encoder takes the concatenation of node representations $\\mathbf { z } _ { i }$ and $\\mathbf { z } _ { j }$ as the inputs and outputs the importance score. To approximate the importance score to the discrete distribution and optimize the generator via gradient propagation, we adopt the reparameterization trick [7], where an independent random variable $\\epsilon \\sim \\mathrm { U n i f o r m } ( 0 , 1 )$ is introduced. As such, the edge probability is formulated as: ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
173,
|
| 381 |
+
428,
|
| 382 |
+
825,
|
| 383 |
+
498
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 3
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "equation",
|
| 389 |
+
"img_path": "images/f6b15af9448dbb43c574a4c397ef4c29fc437d28ea10f7eb8bb1c6ade6ba6f62.jpg",
|
| 390 |
+
"text": "$$\nP ( M _ { i j } | \\mathbf { z } _ { i } , \\mathbf { z } _ { j } ) = \\sigma ( ( \\log \\frac { \\epsilon } { 1 - \\epsilon } + \\alpha _ { i j } ) / \\beta ) , \\quad \\mathrm { w i t h } \\quad \\alpha _ { i j } = \\mathbf { M L P } ( [ \\mathbf { z } _ { i } , \\mathbf { z } _ { j } ] ) ,\n$$",
|
| 391 |
+
"text_format": "latex",
|
| 392 |
+
"bbox": [
|
| 393 |
+
258,
|
| 394 |
+
506,
|
| 395 |
+
738,
|
| 396 |
+
535
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 3
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "where $\\sigma$ is the sigmoid function, and $\\beta$ denotes the temperature hyperparameter. It is worth emphasizing that our attributors is different from PGExplainer [7], where only one generative probabilistic model is involved. Thus, their attribution results are limited in differentiating the patterns of different classes and systematizing the class-wise knowledge. ",
|
| 403 |
+
"bbox": [
|
| 404 |
+
173,
|
| 405 |
+
541,
|
| 406 |
+
825,
|
| 407 |
+
598
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 3
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "Pre-training Class-wise Attribution Module. We devise the following objective function for training the class-wise attributors. ",
|
| 414 |
+
"bbox": [
|
| 415 |
+
171,
|
| 416 |
+
609,
|
| 417 |
+
825,
|
| 418 |
+
638
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 3
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "equation",
|
| 424 |
+
"img_path": "images/f3d4c3d3002f3d85e403dcf6ea11f50aceb36b073183ddf3061c54439e568ca6.jpg",
|
| 425 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\theta } \\mathcal { L } _ { 1 } + \\gamma \\mathcal { L } _ { c t s } ,\n$$",
|
| 426 |
+
"text_format": "latex",
|
| 427 |
+
"bbox": [
|
| 428 |
+
439,
|
| 429 |
+
647,
|
| 430 |
+
555,
|
| 431 |
+
669
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 3
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "where $\\gamma$ is the trade-off hyperparameter. We start from maximizing the mutual information between the attentive graphs and the target prediction of the graph, which is a widely-used learning paradigm in the literature [32, 6, 7]. It guides us to find the prediction-relevant explanatory subgraph, which equals to minimizing the following loss: ",
|
| 438 |
+
"bbox": [
|
| 439 |
+
173,
|
| 440 |
+
676,
|
| 441 |
+
825,
|
| 442 |
+
733
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 3
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "equation",
|
| 448 |
+
"img_path": "images/bf7370324f3dccbaa443d193207257690137791e42060df5278c85ade8e01a29.jpg",
|
| 449 |
+
"text": "$$\n\\mathcal { L } _ { 1 } = - \\mathbb { E } _ { \\mathcal { G } } \\mathbb { E } _ { \\epsilon } \\mathbb { E } _ { c ^ { \\prime } } [ P ( Y = c ^ { \\prime } | G = \\mathcal { G } ) \\log P ( Y = c ^ { \\prime } | G = \\mathcal { G } _ { a t t } ^ { ( c ) } ) ] ,\n$$",
|
| 450 |
+
"text_format": "latex",
|
| 451 |
+
"bbox": [
|
| 452 |
+
290,
|
| 453 |
+
741,
|
| 454 |
+
705,
|
| 455 |
+
762
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 3
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "where $G$ and $Y$ are the graph and prediction variables, respectively; $\\mathcal { G }$ is the full graph instance to explain; by sampling $\\epsilon \\in { \\mathrm { U n i f o r m } } ( 0 , 1 )$ and $c ^ { \\prime } \\in \\{ 1 , \\cdots , C \\}$ , the class-wise saliency map $\\mathbf { M } ^ { ( c ) }$ can be generated from Equation (4); $P ( Y = c ^ { \\prime } | G = \\mathcal { G } ) = f ( \\mathcal { G } ) _ { c ^ { \\prime } }$ is the output probabilities of the prediction being $c ^ { \\prime }$ when feeding $\\mathcal { G }$ to the GNN model $f$ ; analogously, $P ( Y = c ^ { \\prime } | G = \\mathcal { G } _ { a t t } ^ { ( c ) } ) =$ $f ( \\mathcal { G } _ { a t t } ^ { ( c ) } ) _ { c ^ { \\prime } }$ audits the output probability when feeding $\\mathcal { G } _ { a t t } ^ { ( c ) } = \\mathbf { A } \\odot \\mathbf { M } ^ { ( c ) }$ . ",
|
| 462 |
+
"bbox": [
|
| 463 |
+
173,
|
| 464 |
+
768,
|
| 465 |
+
825,
|
| 466 |
+
851
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 3
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "Moreover, we introduce a contrastive learning [33, 34, 18, 35, 36, 37] loss to emphasize differences among the class-wise patterns — the substructure of the full graph that is distant to that of the graphs with a different prediction but close to that of the graphs with the same prediction. It makes each attributor focus on the unique and discriminative information within the class. Specifically, for the saliency maps $\\mathcal { G } _ { a t t 1 } ^ { ( c _ { 1 } ) }$ of $\\mathcal { G } _ { 1 }$ and $\\mathcal { G } _ { a t t 2 } ^ { ( c _ { 2 } ) }$ of $\\mathcal { G } _ { 2 }$ , it encourages the agreements between $\\mathcal { G } _ { a t t 1 } ^ { ( c _ { 1 } ) }$ and $\\mathcal { G } _ { a t t 2 } ^ { ( c _ { 2 } ) }$ when , compared to that when $c _ { 1 } \\neq c _ { 2 }$ : ",
|
| 473 |
+
"bbox": [
|
| 474 |
+
174,
|
| 475 |
+
854,
|
| 476 |
+
825,
|
| 477 |
+
911
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 3
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "",
|
| 484 |
+
"bbox": [
|
| 485 |
+
173,
|
| 486 |
+
88,
|
| 487 |
+
823,
|
| 488 |
+
121
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 4
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "equation",
|
| 494 |
+
"img_path": "images/974a212003ee1665a58a43a15577521fa4e1fd9930893dd616aac99c64608f8b.jpg",
|
| 495 |
+
"text": "$$\n\\mathcal { L } _ { c t s } = \\mathbb { E } _ { \\mathcal { G } , \\mathcal { G } ^ { \\prime } } \\mathbb { E } _ { \\epsilon , \\epsilon ^ { \\prime } } [ ( - 1 ) ^ { \\mathbb { I } ( c _ { 1 } = c _ { 2 } ) } \\times \\mu ( \\ell ( \\mathcal { G } _ { a t t 1 } ^ { ( c _ { 1 } ) } , \\mathcal { G } _ { a t t 2 } ^ { ( c _ { 2 } ) } ) ) ] ,\n$$",
|
| 496 |
+
"text_format": "latex",
|
| 497 |
+
"bbox": [
|
| 498 |
+
320,
|
| 499 |
+
127,
|
| 500 |
+
676,
|
| 501 |
+
148
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 4
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "where as the $\\mu$ is the softplus function [3presentation similarity — $\\ell$ arity bewhere een two subgraphs, which is setis the graph representations by $\\ell ( \\mathcal { G } _ { a t t 1 } ^ { ( c _ { 1 } ) } , \\mathcal { G } _ { a t t 2 } ^ { ( c _ { 2 } ) } ) = \\mathbf { h } _ { 1 } ^ { \\top } \\mathbf { h } _ { 2 }$ $\\mathbf { h } _ { 1 }$ \nfeeding G(c1)att1 into the encoder $\\mathrm { G N N } ^ { ( c _ { 1 } ) }$ and aggregating the node representations. Similar for $\\mathbf { h } _ { 2 }$ . In addition, following [6], we adopt the element-wise entropy and $L _ { 1 }$ norm on the edge probability. By jointly optimizing these two losses in Equation (6), the class-wise attribution module learns to stratify the discriminative information for different classes and generate the saliency maps with a global view of the target GNN. Taking an information-theoretical look at Equation (8), minimizing contrastive learning loss is maximizing a lower bound of the mutual information between the latent graph representations of two graphs within the same class. ",
|
| 508 |
+
"bbox": [
|
| 509 |
+
173,
|
| 510 |
+
155,
|
| 511 |
+
826,
|
| 512 |
+
287
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 4
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "3.2 Fine-tuning Towards Local Explainability ",
|
| 519 |
+
"text_level": 1,
|
| 520 |
+
"bbox": [
|
| 521 |
+
173,
|
| 522 |
+
305,
|
| 523 |
+
504,
|
| 524 |
+
320
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 4
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "Having established the saliency map that exhibits the importance of each edge, the standard way is to rank all edges based on their importance scores and simply select the top edges as the explanatory subgraphs. However, we argue that such a coarser-grained selection fails to consider the dependencies of these selected edges explicitly. Within a high-quality explanatory subgraph, edges are supposed to cooperate with each other, form the coalition, and approach the target prediction better than individuals [38, 39]. Without considering such coalition effect, the quality of the explanatory subgraph is greatly limited.For example, when explaining why the molecule graph is classified as mutagenic [13], two connected nitrogen-oxygen (N-O) bonds form a chemical group $\\mathrm { N O _ { 2 } }$ and present more discriminative information about the mutagenic property [13]; whereas, two salient but disconnected N-O bonds from different chemical groups are less informative to interpret the mutagenic property. ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
173,
|
| 533 |
+
330,
|
| 534 |
+
825,
|
| 535 |
+
469
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 4
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "Clearly, the coarser-grained saliency maps are insufficient to exhibit the coalition effect of edges, thus might be redundant and suboptimal explanations. Hence, we move forward to learn a finer-grained explanatory subgraph. Technically, on the top of the well-trained class-wise attribution module, we add the selection module: ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
173,
|
| 544 |
+
474,
|
| 545 |
+
825,
|
| 546 |
+
531
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "equation",
|
| 552 |
+
"img_path": "images/33a664f15d0d8f7c2f0570e908ebf7c40bcb58c0c96fb95d55bd611c458e3976.jpg",
|
| 553 |
+
"text": "$$\n\\mathbf { S } ^ { ( c ) } = \\mathcal { H } ( \\mathcal { G } _ { a t t } ^ { ( c ) } , f , c , \\rho ) ,\n$$",
|
| 554 |
+
"text_format": "latex",
|
| 555 |
+
"bbox": [
|
| 556 |
+
419,
|
| 557 |
+
535,
|
| 558 |
+
576,
|
| 559 |
+
556
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 4
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "where $\\rho$ is the number of edges selected in the explanatory subgraph; $\\mathcal { H }$ is a sampling (selection) function; $\\mathbf { S } ^ { ( c ) }$ preserves the elements selected by the selection function and sets the other elements as 0. Instead of the hard selection that picks up the edges with the highest probability, $\\mathcal { H }$ samples edges according to their probabilities. Allowing edges with low probabilities to be sampled can prevent the explainer from collapsing to suboptimal solutions with limited coalition effect. ",
|
| 566 |
+
"bbox": [
|
| 567 |
+
173,
|
| 568 |
+
563,
|
| 569 |
+
825,
|
| 570 |
+
636
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 4
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "text",
|
| 576 |
+
"text": "With the new stochastic adjacency matrix $\\mathbf { S } ^ { ( c ) }$ , we are able to extract the subgraph $\\mathcal { G } _ { e x p } ^ { ( c ) }$ . To fine-tune the attribution and selection modules, we resort to maximize the mutual information between the explanation candidate $\\mathcal { G } _ { e x p } ^ { ( c ) }$ and the target prediction of the full graph: ",
|
| 577 |
+
"bbox": [
|
| 578 |
+
174,
|
| 579 |
+
643,
|
| 580 |
+
825,
|
| 581 |
+
690
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 4
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "equation",
|
| 587 |
+
"img_path": "images/a579a8d95028b363e40986ec53f21b02af1250a08b36e1bf2eb87087eb9a52e8.jpg",
|
| 588 |
+
"text": "$$\n\\mathcal { L } _ { 2 } = - \\mathbb { E } _ { \\mathcal { G } } \\mathbb { E } _ { \\epsilon } \\mathbb { E } _ { c ^ { \\prime } } [ P ( Y = c ^ { \\prime } | G = \\mathcal { G } ) \\log P ( Y = c ^ { \\prime } | G = \\mathcal { G } _ { e x p } ^ { ( c ) } ) ] .\n$$",
|
| 589 |
+
"text_format": "latex",
|
| 590 |
+
"bbox": [
|
| 591 |
+
289,
|
| 592 |
+
698,
|
| 593 |
+
709,
|
| 594 |
+
719
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 4
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "By optimizing the loss above, the selection module accounts for the edge coalition within $\\mathbf { S } ^ { ( c ) }$ , so as to achieve higher local fidelity. Moreover, as the selection module discards some elements in the stochastic adjacency matrix, it blocks parts of gradient backpropagation and possibly acts as a dropout function to avoid the overfitting on the instance-level explanations. ",
|
| 601 |
+
"bbox": [
|
| 602 |
+
173,
|
| 603 |
+
728,
|
| 604 |
+
825,
|
| 605 |
+
785
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 4
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "4 Experiments ",
|
| 612 |
+
"text_level": 1,
|
| 613 |
+
"bbox": [
|
| 614 |
+
174,
|
| 615 |
+
805,
|
| 616 |
+
313,
|
| 617 |
+
821
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 4
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "We mainly aim to investigate the following questions: ",
|
| 624 |
+
"bbox": [
|
| 625 |
+
173,
|
| 626 |
+
837,
|
| 627 |
+
526,
|
| 628 |
+
852
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 4
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "• RQ1: How effective is the pre-training phase of ReFine, as compared to that of existing methods? • RQ2: How effective is the fine-tuning phase of ReFine, as compared to that of the pre-training phase? ",
|
| 635 |
+
"bbox": [
|
| 636 |
+
171,
|
| 637 |
+
863,
|
| 638 |
+
826,
|
| 639 |
+
911
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 4
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "text",
|
| 645 |
+
"text": "4.1 Experimental Settings ",
|
| 646 |
+
"text_level": 1,
|
| 647 |
+
"bbox": [
|
| 648 |
+
174,
|
| 649 |
+
90,
|
| 650 |
+
367,
|
| 651 |
+
106
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 5
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "text",
|
| 657 |
+
"text": "Datasets and Target GNNs. We consider four datasets with various target GNNs: ",
|
| 658 |
+
"bbox": [
|
| 659 |
+
173,
|
| 660 |
+
116,
|
| 661 |
+
712,
|
| 662 |
+
131
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 5
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "text",
|
| 668 |
+
"text": "• Molecule graph classification. We use the Mutagenicity dataset [40, 41], where 4, 337 molecule graphs are classified into two classes based on their mutagenic effect on a bacterium. The welltrained Graph Isomorphism Network (GIN) [26, 42] has achieved a $100 \\%$ testing accuracy. ",
|
| 669 |
+
"bbox": [
|
| 670 |
+
176,
|
| 671 |
+
140,
|
| 672 |
+
823,
|
| 673 |
+
183
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 5
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "text",
|
| 679 |
+
"text": "• Scene graph classification. Following the previous work [10], we select 4, 443 (images, scene graphs) pairs from Visual Genome [43] to construct the VG-5 dataset. Wherein, the graphs are labeled with five classes: stadium, street, farm, surfing, forest. Each graph contains regions of the objects as the nodes, while edges indicates the relationships between object nodes. The target GNN is an APPNP [44] which achieves $6 4 . 3 \\%$ testing accuracy. ",
|
| 680 |
+
"bbox": [
|
| 681 |
+
174,
|
| 682 |
+
185,
|
| 683 |
+
826,
|
| 684 |
+
255
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 5
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "text",
|
| 690 |
+
"text": "• Handwriting graph classification. We use the MNIST superpixel dataset [45], which converts 70,000 images into the graphs of superpixel adjacency. Every graph is labeled as one of ten digit classes. We trained a Spline-based GNN [46] which gains $9 7 . 9 \\%$ accuracy in the testing dataset. ",
|
| 691 |
+
"bbox": [
|
| 692 |
+
178,
|
| 693 |
+
258,
|
| 694 |
+
823,
|
| 695 |
+
301
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 5
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "• Motif graph classification. We follow prior studies [6, 7] to create a synthetic dataset, BA-3motif, which contains 3,000 graphs. Specifically, we adopt the Barabasi-Albert (BA) graphs as the base, and attach each base with one of three motifs: house, cycle, grid. The trained GNN model, ASAP [47], classifies them according to the type of attached motifs and achieved $100 \\%$ testing accuracy. ",
|
| 702 |
+
"bbox": [
|
| 703 |
+
174,
|
| 704 |
+
305,
|
| 705 |
+
826,
|
| 706 |
+
361
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 5
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "Baselines. We compare our ReFine with the state-of-the-art explanation methods: ",
|
| 713 |
+
"bbox": [
|
| 714 |
+
174,
|
| 715 |
+
376,
|
| 716 |
+
709,
|
| 717 |
+
390
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 5
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "• SA [9] directly uses the gradients of the model prediction w.r.t. the adjacency matrix of the input graph as the importance of edges. \n• GNNExplainer [6] applies the soft masks on the messages carried by edges, where each mask indicates an edge’s importance. Note that the masks of graph instances are trained individually. \n• PGExplainer [7] hires a neural network to learn to generate the masks for the input edges. The generative model is trained over multiple explained instances. \n• PGM-Explainer [19] collects the prediction change on the random node perturbations, and then learns a Bayesian network from these perturbation-prediction observations, so as to capture the dependencies among the nodes and the prediction. Here we transfer it to model the edge importance. ",
|
| 724 |
+
"bbox": [
|
| 725 |
+
173,
|
| 726 |
+
398,
|
| 727 |
+
826,
|
| 728 |
+
536
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 5
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "Optimization. For the parametric explanation methods (GNNExplainer, PGExplainer, PGMExplainer), we apply a grid search to tune their own hyperparameters. For our ReFine framework, we use the Adam optimizer and set the learning rate of pre-training and fine-tuning as 1e-3 and 1e-4, respectively. All experiments are done on a single Tesla V100 SXM2 GPU (32 GB). ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
174,
|
| 737 |
+
553,
|
| 738 |
+
825,
|
| 739 |
+
608
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 5
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "Evaluation Metrics. It is challenging to quantitatively evaluate the quality of explanations, since the ground-truth explanations are usually unavailable. In the literature, there are three widely-used evaluation metrics: ",
|
| 746 |
+
"bbox": [
|
| 747 |
+
174,
|
| 748 |
+
621,
|
| 749 |
+
825,
|
| 750 |
+
662
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 5
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "• Predictive Accuracy $( \\mathbf { A C C } @ \\rho )$ [32, 48, 27]. It measures the fidelity of the explanatory subgraphs by feeding it solely into the target model and auditing how well it recovers the target prediction. We report the average $\\operatorname { A C C } @ \\rho$ over all graphs in the testing sets, and further denote ACC-AUC as the area under the ACC curve over different selection ratios $\\rho \\in \\{ 0 . 1 , 0 . 2 , \\cdot \\cdot \\cdot , 0 . 9 , 1 . 0 \\}$ . $\\operatorname { A C C } @ \\rho$ and ACC-AUC are suitable for all the datasets. ",
|
| 757 |
+
"bbox": [
|
| 758 |
+
174,
|
| 759 |
+
671,
|
| 760 |
+
826,
|
| 761 |
+
741
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 5
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "• Recall $@ N$ . As suggested in prior studies [6, 7, 32], we can create the “ground-truth explanations” for the synthetic dataset. Specifically, for BA-3motif, the motif of each graph can be viewed as the discriminative information coherent in the model knowledge. As such, we can frame the evaluation problem as the task of top edge ranking. To be more specific, for an explanatory subgraph, the edges within the motif are positive, while the others are negative. To this end, recall can be adopted as the evaluation protocols. More formally, Recall $\\ @ N = \\mathbb { E } _ { \\boldsymbol { \\mathcal { G } } } [ | \\mathcal { G } _ { s } \\cap \\mathcal { G } _ { s } ^ { * } | / | \\mathcal { G } _ { s } ^ { * } | ]$ where $\\mathcal { G } _ { s }$ is composed of the top- $N$ edges and $\\mathcal { G } _ { s } ^ { * }$ is the ground-truth explanatory subgraph. ",
|
| 768 |
+
"bbox": [
|
| 769 |
+
174,
|
| 770 |
+
744,
|
| 771 |
+
825,
|
| 772 |
+
843
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 5
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "4.2 Quantitative Evaluations ",
|
| 779 |
+
"text_level": 1,
|
| 780 |
+
"bbox": [
|
| 781 |
+
174,
|
| 782 |
+
858,
|
| 783 |
+
387,
|
| 784 |
+
872
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 5
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "Influence of Pre-training (RQ1). To investigate the effectiveness of pre-training, we first compare the performance of the attribution module with the state-of-the-art explainers. We denote this variant by ReFine-FT, which disables the fine-tuning phase and simply constructs the explanatory subgraphs based on the saliency scores. Moreover, we build another variant ReFine-CT, which removes the contrastive loss (Equation (8)) from the pre-training phase, to study the effect of the contrastive loss on the class-wise knowledge modeling. To be more clear, we present the difference of PGExplainer [7], ReFine and its ablation models in Table 4.2. Table 2 presents the performance comparisons, from which we have several findings: ",
|
| 791 |
+
"bbox": [
|
| 792 |
+
173,
|
| 793 |
+
883,
|
| 794 |
+
821,
|
| 795 |
+
911
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 5
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "table",
|
| 801 |
+
"img_path": "images/97bdfa23724885b568bd14f541c1b339a8dcf8efe55634ecded98fce01905b18.jpg",
|
| 802 |
+
"table_caption": [
|
| 803 |
+
"Table 1: Structure/Training Difference of PGExplainer, ReFine and its ablation models. "
|
| 804 |
+
],
|
| 805 |
+
"table_footnote": [],
|
| 806 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">Pre-training</td><td rowspan=\"2\">Fine-tuning</td></tr><tr><td>Class-wise Attributors</td><td>Contrastive Learning</td></tr><tr><td>PG-Explainer</td><td></td><td></td><td></td></tr><tr><td>Refine-CT</td><td></td><td></td><td></td></tr><tr><td>Refine-FT</td><td></td><td></td><td></td></tr><tr><td>Refine</td><td></td><td></td><td></td></tr></table>",
|
| 807 |
+
"bbox": [
|
| 808 |
+
232,
|
| 809 |
+
109,
|
| 810 |
+
764,
|
| 811 |
+
224
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 6
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "table",
|
| 817 |
+
"img_path": "images/0e4e7fcda442fdbd50bec18de2ad571b750e5a9d9e32000c0e09345924e8dd9b.jpg",
|
| 818 |
+
"table_caption": [
|
| 819 |
+
"Table 2: Comparison of our ReFine and other baseline explainers "
|
| 820 |
+
],
|
| 821 |
+
"table_footnote": [],
|
| 822 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td rowspan=\"2\">Mutagenicity ACC-AUC</td><td rowspan=\"2\">VG-5 ACC-AUC</td><td rowspan=\"2\">MNIST ACC-AUC</td><td colspan=\"2\">BA-3motif</td></tr><tr><td>ACC-AUC</td><td>Recall@5</td></tr><tr><td>SA</td><td>0.769</td><td>0.769</td><td>0.559</td><td>0.518</td><td>0.243</td></tr><tr><td>GNNExplainer</td><td>0.895±0.010</td><td>0.895±0.003</td><td>0.535±0.013</td><td>0.528±0.005</td><td>0.157±0.002</td></tr><tr><td>PG-Explainer</td><td>0.631±0.008</td><td>0.790±0.004</td><td>0.504±0.010</td><td>0.586±0.004</td><td>0.293±0.001</td></tr><tr><td>PGM-Explainer</td><td>0.714±0.007</td><td>0.792±0.001</td><td>0.615±0.003</td><td>0.575±0.002</td><td>0.250±0.000</td></tr><tr><td>ReFine-CT</td><td>0.888±0.008</td><td>0.891±0.002</td><td>0.526±0.007</td><td>0.610±0.004</td><td>0.248±0.001</td></tr><tr><td>ReFine-FT</td><td>0.945±0.011</td><td>0.906±0.002</td><td>0.587±0.008</td><td>0.616±0.003</td><td>0.299±0.002</td></tr><tr><td>ReFine</td><td>0.955±0.005</td><td>0.914±0.001</td><td>0.636±0.003</td><td>0.630±0.006</td><td>0.304±0.000</td></tr><tr><td>Relative Impro.</td><td>6.7%</td><td>2.1%</td><td>3.4%</td><td>7.5%</td><td>3.8%</td></tr></table>",
|
| 823 |
+
"bbox": [
|
| 824 |
+
196,
|
| 825 |
+
258,
|
| 826 |
+
805,
|
| 827 |
+
421
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 6
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "",
|
| 834 |
+
"bbox": [
|
| 835 |
+
173,
|
| 836 |
+
446,
|
| 837 |
+
825,
|
| 838 |
+
531
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 6
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "• ReFine-FT outperforms the baseline explainers in most cases. To be more specific, it achieves significant relative improvements over the strongest baselines w.r.t. ACC-AUC by $5 . 6 \\%$ and $5 . 1 \\%$ in Mutagenicity and BA-3motif, respectively. This demonstrates the rationality and effectiveness of the attribution module. We attribute these improvements to the class-wise knowledge modeling: (1) By specifying the attributor models for each class, ReFine-FT is able to capture the underlying patterns shared across the instances within the same class; and (2) Conducting the contrastive learning between different class-aware attributors makes ReFine-FT better stratify the discriminative information for different classes. The class-wise knowledge endows ReFine-FT with the global view of the target model’s workings. \n• Although PGExplainer is also equipped with the global view of the target model, its performance is worse than that of ReFine-FT. We ascribe this to the limitations of PGExplainer’s global view, which is founded upon all the explained instances, but fails to differentiate the class-wise patterns. This again verifies the rationality and effectiveness of our attribution module. \n• ReFine-FT outperforms ReFine-CT by a large margin, indicating that the contrastive learning plays a critical role in exhibiting the class-wise knowledge. Specifically, it summarizes the patterns across similar instances and focuses on the information pertinent to specific classes, while filtering the irrelevant and redundant information out. \n• Interestingly, in MNIST, the result of ReFine-FT is worse than that of PGM-Explainer. One possible reason is that the random perturbations in PGM-Explainer create a collection of broken graphs and offer a more comprehensive observation of the graphs. We leave the exploration of subgraph-prediction relations as future work. ",
|
| 845 |
+
"bbox": [
|
| 846 |
+
171,
|
| 847 |
+
542,
|
| 848 |
+
826,
|
| 849 |
+
852
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 6
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "Influence of Fine-tuning (RQ2). To justify the effectiveness of the fine-tuning phase, we report the performance of ReFine with our selection module in Tables 2 and 3, as compared to the performance before fine-tuning. We have the following observations: ",
|
| 856 |
+
"bbox": [
|
| 857 |
+
174,
|
| 858 |
+
869,
|
| 859 |
+
825,
|
| 860 |
+
911
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 6
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "table",
|
| 866 |
+
"img_path": "images/b62f2e7dbe160d755f893226c3353455f69903def1ab292aeb65415d3fc3f038.jpg",
|
| 867 |
+
"table_caption": [
|
| 868 |
+
"Table 3: Performance under different selection ratios before and after fine-tuning. "
|
| 869 |
+
],
|
| 870 |
+
"table_footnote": [],
|
| 871 |
+
"table_body": "<table><tr><td rowspan=\"2\">ACC@p</td><td colspan=\"2\">Mutagenicity</td><td colspan=\"2\">VG-5</td><td colspan=\"2\">MNIST</td><td colspan=\"2\">BA-3motif</td></tr><tr><td>0.4</td><td>0.6</td><td>0.4</td><td>0.6</td><td>0.4</td><td>0.6</td><td>0.4</td><td>0.6</td></tr><tr><td>ReFine-FT</td><td>96.8%</td><td>94.0%</td><td>91.3%</td><td>91.4%</td><td>41.4%</td><td>61.4%</td><td>36.0%</td><td>65.7%</td></tr><tr><td>ReFine</td><td>97.8%</td><td>96.2%</td><td>92.2%</td><td>93.4%</td><td>71.4%</td><td>82.0%</td><td>39.0%</td><td>72.8%</td></tr><tr><td>Improvement</td><td>+1.0%</td><td>+2.2%</td><td>+0.9%</td><td>+2.0%</td><td>+30.0%</td><td>+20.6%</td><td>+3.0%</td><td>+7.1%</td></tr></table>",
|
| 872 |
+
"bbox": [
|
| 873 |
+
196,
|
| 874 |
+
109,
|
| 875 |
+
805,
|
| 876 |
+
205
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 7
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "image",
|
| 882 |
+
"img_path": "images/958274b79d85bbe255779c56ef47bf505530dc4c10daaa10196febf0acb858d1.jpg",
|
| 883 |
+
"image_caption": [
|
| 884 |
+
"Figure 3: Qualitative Results in MNIST Superpixels dataset. Handwriting graphs are in black, which respectively represent number $\\mathbf { \\bar { \\theta } } ^ { 6 6 } 0 ^ { 9 }$ , $^ { \\cdot 6 } 2 ^ { \\cdot }$ , “8” within each block from left to right. Explanatory graphs are in red, where the top $10 \\%$ edges are highlighted. "
|
| 885 |
+
],
|
| 886 |
+
"image_footnote": [],
|
| 887 |
+
"bbox": [
|
| 888 |
+
173,
|
| 889 |
+
219,
|
| 890 |
+
820,
|
| 891 |
+
366
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "• Fine-tuning with the selection module can improves the explanation performance sustainably, which indicates the effectiveness of our pre-training and fine-tuning paradigm. Specifically, in MNIST, the predictive accuracy of the explanations after fine-tuning improves from $4 1 . 4 \\%$ to $7 1 . 4 \\%$ when the selection rato is 0.4. We attribute these improvements to the local insights on specific instances: (1) Benefiting from the saliency map obtained in the pre-training phase, the selection module is able to filter noisy edges out and narrow down to where the target model looks to make decisions; (2) Fine-tuning the explanatory subgraphs considers the coalition effect of edges, thus approaches more information to recover the target prediction. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
174,
|
| 900 |
+
460,
|
| 901 |
+
825,
|
| 902 |
+
570
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "• Jointly analyzing Tables 2 and 3, ReFine consistently outperforms all baselines across the four datasets. Advantageous to the local or global explanations, our multi-grained explanations not only have the global understanding of model workings (i.e. the class-wise knowledge), but also account for the local insights on specific instances (i.e. the coalition effect of edges in the local context). It illustrates the superiority of our ReFine paradigm. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
174,
|
| 911 |
+
575,
|
| 912 |
+
826,
|
| 913 |
+
645
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 7
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "Overall, the empirical supports justify the significance of fine-tuning well. The contributions of fine-tuning w.r.t. the overall improvements over PG-Explainer are $3 7 . 1 \\%$ and $3 1 . 8 \\%$ in MNIST and BA-3motif datasets, respectively. One possible reason that fine-tuning contributes only $3 . 1 \\%$ and $6 . 4 \\%$ portion of overall improvements in Mutagenicity and VG-5 as compared to PG-Explainer is the existance of rich node features in these two datasets. With the assistance of node features, the global patterns might be well-captured durining pre-training, thus leaving little space for the local patterns to improve. ",
|
| 920 |
+
"bbox": [
|
| 921 |
+
173,
|
| 922 |
+
655,
|
| 923 |
+
825,
|
| 924 |
+
752
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 7
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "4.3 Qualitative Analysis ",
|
| 931 |
+
"text_level": 1,
|
| 932 |
+
"bbox": [
|
| 933 |
+
174,
|
| 934 |
+
768,
|
| 935 |
+
352,
|
| 936 |
+
782
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 7
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "We present the qualitative results on MNIST superpixel in Figure 3, where the pre-trained and fine-tuned explanations are the explanatory subgraphs before fine-tuning (i.e. extracted based on the saliency map) and after fine-tuning (i.e. derived from the selection module), respectively. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
794,
|
| 946 |
+
823,
|
| 947 |
+
835
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 7
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "Influence of Pre-training (RQ1). The pre-trained results (first row) well demonstrate the global patterns, where the explanatory subgraphs for interpreting the digit $\\mathbf { \\bar { \\theta } } ^ { 6 } 0 ^ { 9 }$ focus more on the edges between hollows in the middle and the fringe of the number. While interpreting the prediction $\\mathbf { \\Delta } ^ { 6 6 } 5 ^ { 9 }$ , the explanations identify the edges spread on the bend of the number as the most important features. Also, we observe an interesting pattern in the results for explaining the prediction $\\mathbf { \\vec { \\nu } } ^ { 6 } \\mathbf { \\vec { 8 } } ^ { 5 }$ , where the background edges draw more attention, rather than edges relevant to the digits, revealing the evidence for the target GNN to classify. It also shows the supporting evidence of the difference between the model explanation and the human explanation which focuses more on the digit graphs other than the background graphs. Through the pre-trained examples, the global patterns offer vital model understanding and inspections for the model’s decision-making process. ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
174,
|
| 956 |
+
842,
|
| 957 |
+
825,
|
| 958 |
+
911
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 7
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "image",
|
| 964 |
+
"img_path": "images/8c34ecf09b54fdf74ebfd5cd63461ec1c88fb307e8163089a1d2617a59c7f5bb.jpg",
|
| 965 |
+
"image_caption": [
|
| 966 |
+
"Figure 4: Qualitative Results in Mutagenicity dataset. The prediction of the molecule in the first row is mutagenic, while the molecule in the second row is predicted as non-mutagenic. The selection ratios range from $10 \\%$ to $50 \\%$ . Note that some opposite edges are visually coincident. "
|
| 967 |
+
],
|
| 968 |
+
"image_footnote": [],
|
| 969 |
+
"bbox": [
|
| 970 |
+
176,
|
| 971 |
+
89,
|
| 972 |
+
823,
|
| 973 |
+
270
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 8
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "table",
|
| 979 |
+
"img_path": "images/470800e94834f62bc8307cad5370e2cab17acab1347368b788ccd357d2a74de8.jpg",
|
| 980 |
+
"table_caption": [
|
| 981 |
+
"Table 4: Time costs (in second) of GNNExplainer, PG-Explainer and the fine-tuning phase of Refine. "
|
| 982 |
+
],
|
| 983 |
+
"table_footnote": [],
|
| 984 |
+
"table_body": "<table><tr><td></td><td>Mutagenicity</td><td>VG-5</td><td>MNIST</td><td>BA-3motif</td></tr><tr><td>GNNExplainer</td><td>2.03</td><td>1.88</td><td>0.637</td><td>1.11</td></tr><tr><td>PG-Explainer</td><td>0.030</td><td>0.035</td><td>0.040</td><td>0.032</td></tr><tr><td>Refine(Fine-tuning)</td><td>0.821</td><td>0.583</td><td>0.535</td><td>0.423</td></tr></table>",
|
| 985 |
+
"bbox": [
|
| 986 |
+
258,
|
| 987 |
+
369,
|
| 988 |
+
735,
|
| 989 |
+
441
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 8
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "",
|
| 996 |
+
"bbox": [
|
| 997 |
+
174,
|
| 998 |
+
470,
|
| 999 |
+
825,
|
| 1000 |
+
540
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 8
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "Influence of Fine-tuning (RQ2). We now compare the pre-trained and fine-tuned explanations. Clearly, the fine-tuned explanatory graphs make clearer boundaries on the instances. The explanation adapted with the user-defined ratio pays greater attention to details that are only applicable to the specific instances. For example, one can take a closer look at the explanations in the 4-th column. Without the fine-tuning phase, the explanation may distracted by the edges across the digit and the background, such that these transition edges might be deemed as the most important features while achieve suboptimal predictive accuracies. In contrast, the fine-tuned explanation dispels such misunderstanding, with a higher local accuracy. Similar patterns can be found in other examples. ",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
174,
|
| 1009 |
+
553,
|
| 1010 |
+
825,
|
| 1011 |
+
664
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 8
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "The qualitative results on Mutagenicity are presented in Figure 4, where each explanation has been fine-tuned on the corresponding ratio. We can see the flexibility on ReFine, which enables the fine-tuning on a specific user-defined ratio. With the selection ratio increases, the class probability output by the target GNN is generally stable or further improved. Moreover, the fine-tuning phase focuses more on the combination of features, with the constraint of selection ratio, to purse the higher accuracy rather than intercepting on a ranking based on the static edge importance, which is only valid under the addictive feature assumption [32]. ",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
174,
|
| 1020 |
+
670,
|
| 1021 |
+
825,
|
| 1022 |
+
767
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 8
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "text",
|
| 1028 |
+
"text": "4.4 Discussions ",
|
| 1029 |
+
"text_level": 1,
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
174,
|
| 1032 |
+
786,
|
| 1033 |
+
292,
|
| 1034 |
+
801
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 8
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "Efficiency for Generating Explanations. The inference time [7] to explain a new instance by the pre-trained ReFine is the same as PGExplainer under the same attributor construction. Different from GNNExplainer which has to retrain the model for each graph, ReFine only needs a few finetuning steps on the pre-trained model (20 steps on average). Thus, ReFine can gain a boosting performance for explaining graphs while remaining efficient in terms of time complexity. Specifically, we summarize the time costs in the Table 4. Clearly, our ReFine is more efficient than GNNExplainer and is computationally comparable to PG-Explainer. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
174,
|
| 1043 |
+
814,
|
| 1044 |
+
825,
|
| 1045 |
+
911
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 8
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "Limitations. Although ReFine can well-encode the class-wise knowledge by learning the parameters of multiple attributors, it can hardly map such knowledge to the structure representation as XGNN [13]. This limits the human understanding on the core of input data via a conciseness substructure. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
173,
|
| 1054 |
+
90,
|
| 1055 |
+
825,
|
| 1056 |
+
133
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 9
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "5 Related Work ",
|
| 1063 |
+
"text_level": 1,
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
174,
|
| 1066 |
+
151,
|
| 1067 |
+
321,
|
| 1068 |
+
167
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 9
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "We consider two classes of related work for GNNs explainability: studies on local explainability, which independently explain for each input graph without referring to other knowledge, e.g., training data; studies on global explainability, which provide explanations for multiple instances with the guide of the model-level or class-level knowledge. See [49, 8, 50] for more overviews. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
174,
|
| 1077 |
+
183,
|
| 1078 |
+
825,
|
| 1079 |
+
238
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 9
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "• Local Explainability. In general, there are two research lines. (1) Non-parametric explanation methods [10, 9, 11] use some heuristics as the feature contributions of a specific instance, without involving additional trainable models. Gradient-like scores [10, 9, 11] are wisely-used heuristics, which is obtained by backpropagating the model prediction or loss to the input features, such as adjacency matrix [10], along with the model architecture. (2) Parametric explanation methods [6, 19, 51, 52] additionally train a parametrized explainer model to generate the saliency maps or explanatory subgraphs for individual instances. The explainer model is typically optimized towards local fidelity [32, 48, 27], which uses the explanations to recover the target predictions. For example, GNNExplainer [6] learns soft masks for an instance and applies them on the adjacency matrix. PGM-Explainer [19] trains an Bayesian network upon the pairs of graph perturbations and prediction changes. However, these methods fall short in capturing the prototypical patterns shared within the same groups or classes. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
173,
|
| 1088 |
+
247,
|
| 1089 |
+
825,
|
| 1090 |
+
412
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 9
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "• Global Explainability. This direction is less explored compared to the local explainability of GNNs [8]. To provide a global understanding of the model prediction, PGExplainer [7] formulates the generation of multiple explanations based on its collective and inductive property, and designs the attributor as a deep neural network whose parameters are shared across the explained instances. XGNN [13] explains GNNs by training a graph generator, which outputs class-wise graph patterns to explain this class. As it is designed to explain the holistic class, making it hardly applicable on an specific instance, e.g., the graph patterns may not even exit on the instance. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
174,
|
| 1099 |
+
417,
|
| 1100 |
+
825,
|
| 1101 |
+
515
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 9
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "6 Conclusion and Future Work ",
|
| 1108 |
+
"text_level": 1,
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
174,
|
| 1111 |
+
532,
|
| 1112 |
+
449,
|
| 1113 |
+
550
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 9
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "Multi-grained explainability promises to offer a flexible and all-round inspection of deep models’ decision-making, which has been less explored in the literature. Motivated by this, we proposed a novel generative probabilistic model, ReFine, to approach the multi-granularity explainability via pre-training and fine-tuning. To exhibit global explanations with the prototypical patterns, the pre-training phase is founded upon the class-aware attribution modules and distills the class-level knowledge by contrastive learning. When given a specific instance, the fine-tuning phase further adapts the global explanations in the local context with high fidelity. In the fashion of pre-training and fine-tuning, we can generate explanations with both global patterns and local features. Extensive results in four datasets show that our method indeed improves the quality of explanatory subgraphs. ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
174,
|
| 1122 |
+
563,
|
| 1123 |
+
825,
|
| 1124 |
+
688
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 9
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "As future direction, we consider the extension of ReFine to fulfill the counterfactual explanation [53], which answers ‘Why the target GNN model made a certain prediction, rather than another prediction?”, to enrich the multi-granularity explainability. Further, multi-grained explainability can be exhibited to explore the model robustness and heuristically guide the model construction. ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
174,
|
| 1133 |
+
694,
|
| 1134 |
+
825,
|
| 1135 |
+
750
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 9
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "Acknowledgments and Disclosure of Funding ",
|
| 1142 |
+
"text_level": 1,
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
174,
|
| 1145 |
+
767,
|
| 1146 |
+
553,
|
| 1147 |
+
786
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 9
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "Funding in direct support of this work: the Sea-NExT Joint Lab, Singapore MOE AcRF T2; the National Natural Science Foundation of China (U19A2079, 62121002); the National Key Research and Development Program of China (2020YFB1406703). ",
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
174,
|
| 1156 |
+
799,
|
| 1157 |
+
825,
|
| 1158 |
+
840
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 9
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "References ",
|
| 1165 |
+
"text_level": 1,
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
174,
|
| 1168 |
+
859,
|
| 1169 |
+
267,
|
| 1170 |
+
876
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 9
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "[1] Vijay Prakash Dwivedi, Chaitanya K. Joshi, Thomas Laurent, Yoshua Bengio, and Xavier Bresson. Benchmarking graph neural networks. CoRR, abs/2003.00982, 2020. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
187,
|
| 1179 |
+
883,
|
| 1180 |
+
823,
|
| 1181 |
+
911
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 9
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "[2] Zonghan Wu, Shirui Pan, Fengwen Chen, Guodong Long, Chengqi Zhang, and Philip S. Yu. A comprehensive survey on graph neural networks. TNNLS, 32(1):4–24, 2021. \n[3] Shruthi Chari, Daniel M. Gruen, Oshani Seneviratne, and Deborah L. McGuinness. Directions for explainable knowledge-enabled systems. In Knowledge Graphs for eXplainable Artificial Intelligence: Foundations, Applications and Challenges, pages 245–261. 2020. \n[4] Christopher J. Anders, Plamen Pasliev, Ann-Kathrin Dombrowski, Klaus-Robert Müller, and Pan Kessel. Fairwashing explanations with off-manifold detergent. In ICML, pages 314–323, 2020. \n[5] Sebastian Lapuschkin, Stephan Wäldchen, Alexander Binder, Grégoire Montavon, Wojciech Samek, and Klaus-Robert Müller. Unmasking clever hans predictors and assessing what machines really learn. Nature communications, 10(1):1–8, 2019. \n[6] Zhitao Ying, Dylan Bourgeois, Jiaxuan You, Marinka Zitnik, and Jure Leskovec. Gnnexplainer: Generating explanations for graph neural networks. In NeurIPS, pages 9240–9251, 2019. \n[7] Dongsheng Luo, Wei Cheng, Dongkuan Xu, Wenchao Yu, Bo Zong, Haifeng Chen, and Xiang Zhang. Parameterized explainer for graph neural network. In NeurIPS, 2020. \n[8] Hao Yuan, Haiyang Yu, Shurui Gui, and Shuiwang Ji. Explainability in graph neural networks: A taxonomic survey. CoRR, abs/2012.15445, 2020. \n[9] Federico Baldassarre and Hossein Azizpour. Explainability techniques for graph convolutional networks. CoRR, abs/1905.13686, 2019. \n[10] Phillip E. Pope, Soheil Kolouri, Mohammad Rostami, Charles E. Martin, and Heiko Hoffmann. Explainability methods for graph convolutional neural networks. In CVPR, pages 10772–10781, 2019. \n[11] Thomas Schnake, Oliver Eberle, Jonas Lederer, Shinichi Nakajima, K. T. Schutt, Klaus-Robert Muller, and Grégoire Montavon. Higher-order explanations of graph neural networks via relevant walks. arXiv, 2020. \n[12] Michael Sejr Schlichtkrull, Nicola De Cao, and Ivan Titov. Interpreting graph neural networks for NLP with differentiable edge masking. CoRR, abs/2010.00577, 2020. \n[13] Hao Yuan, Jiliang Tang, Xia Hu, and Shuiwang Ji. XGNN: towards model-level explanations of graph neural networks. In Rajesh Gupta, Yan Liu, Jiliang Tang, and B. Aditya Prakash, editors, KDD, pages 430–438, 2020. \n[14] Marco Túlio Ribeiro, Sameer Singh, and Carlos Guestrin. \"why should I trust you?\": Explaining the predictions of any classifier. In KDD, pages 1135–1144, 2016. \n[15] Jeremy Howard and Sebastian Ruder. Universal language model fine-tuning for text classification. In ACL, pages 328–339, 2018. \n[16] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. \n[17] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. In ICML, volume 119, pages 1597–1607, 2020. \n[18] Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross B. Girshick. Momentum contrast for unsupervised visual representation learning. In CVPR, pages 9726–9735, 2020. \n[19] Minh N. Vu and My T. Thai. Pgm-explainer: Probabilistic graphical model explanations for graph neural networks. In NeurIPS, 2020. \n[20] Hongyang Gao and Shuiwang Ji. Graph u-nets. In ICML, volume 97, pages 2083–2092, 2019. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
171,
|
| 1190 |
+
59,
|
| 1191 |
+
828,
|
| 1192 |
+
907
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 10
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
176,
|
| 1201 |
+
896,
|
| 1202 |
+
823,
|
| 1203 |
+
912
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 10
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "[21] Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua ´ Bengio. Graph attention networks. ICLR, 2018. \n[22] William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In NeurIPS, pages 1024–1034, 2017. \n[23] Xiang Wang, Xiangnan He, Meng Wang, Fuli Feng, and Tat-Seng Chua. Neural graph collaborative filtering. In SIGIR, pages 165–174, 2019. \n[24] Xiang Wang, Xiangnan He, Yixin Cao, Meng Liu, and Tat-Seng Chua. KGAT: knowledge graph attention network for recommendation. In KDD, pages 950–958, 2019. \n[25] Xiangnan He, Kuan Deng, Xiang Wang, Yan Li, Yong-Dong Zhang, and Meng Wang. Lightgcn: Simplifying and powering graph convolution network for recommendation. In SIGIR, pages 639–648, 2020. \n[26] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In ICLR, 2019. \n[27] Ian Covert, Scott Lundberg, and Su-In Lee. Feature removal is a unifying principle for model explanation methods. In NeurIPS, 2020. \n[28] Marco Ancona, Enea Ceolini, Cengiz Öztireli, and Markus Gross. Towards better understanding of gradient-based attribution methods for deep neural networks. In ICLR, 2018. \n[29] Constantin F Aliferis, Alexander Statnikov, Ioannis Tsamardinos, Subramani Mani, and Xenofon D Koutsoukos. Local causal and markov blanket induction for causal discovery and feature selection for classification part i: Algorithms and empirical evaluation. JMLR, 11(1), 2010. \n[30] Peter D Hoff, Adrian E Raftery, and Mark S Handcock. Latent space approaches to social network analysis. Journal of the american Statistical association, 97(460):1090–1098, 2002. \n[31] Max Welling Thomas N. Kipf. Variational graph auto-encoders. In NeurIPS Workshops, 2016. \n[32] Jianbo Chen, Le Song, Martin J. Wainwright, and Michael I. Jordan. Learning to explain: An information-theoretic perspective on model interpretation. In ICML, pages 882–891, 2018. \n[33] Lukas Faber, Amin K Moghaddam, and Roger Wattenhofer. Contrastive graph neural network explanation. 2021. \n[34] R. Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Philip Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. In ICLR, 2019. \n[35] Fan-Yun Sun, Jordan Hoffmann, Vikas Verma, and Jian Tang. Infograph: Unsupervised and semi-supervised graph-level representation learning via mutual information maximization. In ICLR, 2020. \n[36] Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, and Yang Shen. Graph contrastive learning with augmentations. In NeurIPS, 2020. \n[37] Jiancan Wu, Xiang Wang, Fuli Feng, Xiangnan He, Liang Chen, Jianxun Lian, and Xing Xie. Self-supervised graph learning for recommendation. In SIGIR, pages 726–735, 2021. \n[38] Christopher Frye, Damien de Mijolla, Laurence Cowton, Megan Stanley, and Ilya Feige. Shapley-based explainability on the data manifold. In ICLR, 2021. \n[39] H. W. Kuhn and A. W. Tucker. Contributions to the theory of games, volume 2. Princeton University Press, 1953. \n[40] Jeroen Kazius, Ross McGuire, and Roberta Bursi. Derivation and validation of toxicophores for mutagenicity prediction. Journal of medicinal chemistry, 48(1):312–320, 2005. \n[41] Kaspar Riesen and Horst Bunke. Iam graph database repository for graph based pattern recognition and machine learning. In SPR and SSPR, pages 287–297, 2008. \n[42] Weihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik, Percy Liang, Vijay S. Pande, and Jure Leskovec. Strategies for pre-training graph neural networks. In ICLR, 2020. \n[43] Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A. Shamma, Michael S. Bernstein, and Li Fei-Fei. Visual genome: Connecting language and vision using crowdsourced dense image annotations. IJCV, 123(1):32–73, 2017. \n[44] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. In ICLR, 2019. \n[45] Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodolà, Jan Svoboda, and Michael M. Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. In CVPR, pages 5425–5434, 2017. \n[46] Matthias Fey, Jan Eric Lenssen, Frank Weichert, and Heinrich Müller. Splinecnn: Fast geometric deep learning with continuous b-spline kernels. In CVPR, pages 869–877, 2018. \n[47] Ekagra Ranjan, Soumya Sanyal, and Partha P. Talukdar. ASAP: adaptive structure aware pooling for learning hierarchical graph representations. In AAAI, pages 5470–5477, 2020. \n[48] Jian Liang, Bing Bai, Yuren Cao, Kun Bai, and Fei Wang. Adversarial infidelity learning for model interpretation. In KDD, pages 286–296, 2020. \n[49] Hao Yuan, Haiyang Yu, Shurui Gui, and Shuiwang Ji. Explainability in graph neural networks: A taxonomic survey. CoRR, 2020. \n[50] Thomas Schnake, Oliver Eberle, Jonas Lederer, Shinichi Nakajima, Kristof T. Schütt, KlausRobert Müller, and Grégoire Montavon. XAI for graphs: Explaining graph neural network predictions by identifying relevant walks. CoRR, abs/2006.03589, 2020. \n[51] Hao Yuan, Haiyang Yu, Jie Wang, Kang Li, and Shuiwang Ji. On explainability of graph neural networks via subgraph explorations. ArXiv, 2021. \n[52] Patrick Schwab and Walter Karlen. Cxplain: Causal explanations for model interpretation under uncertainty. In NeurIPS, pages 10220–10230, 2019. \n[53] Raha Moraffah, Mansooreh Karami, Ruocheng Guo, Adrienne Raglin, and Huan Liu. Causal interpretability for machine learning-problems, methods and evaluation. SIGKDD Explorations, 22(1):18–33, 2020. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
171,
|
| 1212 |
+
47,
|
| 1213 |
+
828,
|
| 1214 |
+
916
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 11
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
168,
|
| 1223 |
+
90,
|
| 1224 |
+
828,
|
| 1225 |
+
604
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 12
|
| 1228 |
+
}
|
| 1229 |
+
]
|
parse/train/K6y77KRUowQ/K6y77KRUowQ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/K6y77KRUowQ/K6y77KRUowQ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/KJ5h-yfUHa/KJ5h-yfUHa.md
ADDED
|
@@ -0,0 +1,272 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Attention Bottlenecks for Multimodal Fusion
|
| 2 |
+
|
| 3 |
+
Arsha Nagrani Shan Yang Anurag Arnab Aren Jansen Cordelia Schmid Chen Sun
|
| 4 |
+
|
| 5 |
+
{anagrani, shanyang, aarnab, arenjansen, cordelias, chensun}@google.com
|
| 6 |
+
|
| 7 |
+
Google Research
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Humans perceive the world by concurrently processing and fusing highdimensional inputs from multiple modalities such as vision and audio. Machine perception models, in stark contrast, are typically modality-specific and optimised for unimodal benchmarks, and hence late-stage fusion of final representations or predictions from each modality (‘late-fusion’) is still a dominant paradigm for multimodal video classification. Instead, we introduce a novel transformer based architecture that uses ‘fusion bottlenecks’ for modality fusion at multiple layers. Compared to traditional pairwise self-attention, our model forces information between different modalities to pass through a small number of bottleneck latents, requiring the model to collate and condense relevant information in each modality and share what is necessary. We find that such a strategy improves fusion performance, at the same time reducing computational cost. We conduct thorough ablation studies, and achieve state-of-the-art results on multiple audio-visual classification benchmarks including Audioset, Epic-Kitchens and VGGSound. All code and models will be released.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Simultaneous multimodal sensations are a crucial enabler of human perceptual learning [50]. For artificial learning systems, however, designing a unified model for modality fusion is challenging due to a number of factors: (i) variations in learning dynamics between modalities [56], (ii) different noise topologies, with some modality streams containing more information for the task at hand than others, as well as (iii) specialised input representations. The difference in input representations between audio and vision is particularly stark – many state of the art audio classification methods rely on short term Fourier analysis to produce log-mel spectrograms, often using them as inputs to CNN architectures designed for images [26, 48]. These time-frequency representations have different distributions to images – multiple acoustic objects can have energy at the same frequency, and the translation invariances of CNNs may no longer be a desired property (while an acoustic object can be shifted in time, a shift in frequency could alter the meaning entirely). In contrast, the visual stream in a video is three-dimensional (two spatial and one temporal), and while different spatial regions of the image correspond to different objects, there is the unique challenge of high redundancy across multiple frames. Hence input representations, and consequently neural network architectures and benchmarks tend to vary wildly for different modalities. For simplicity, the dominant paradigm for multimodal fusion therefore often consists of an ad-hoc scheme that involves integrating separate audio and visual networks via their output representations or scores i.e. ‘late-fusion’ [22, 44].
|
| 16 |
+
|
| 17 |
+
In this work, we present a new transformer based model for audiovisual fusion in video. Despite originally being proposed for NLP tasks, there has been recent interest in transformers [54] as universal perceptual models [29], due to their ability to model dense correlations between tokens, at the same time making few assumptions about their inputs (and because continuous perceptual inputs can be tokenised). By dividing dense continuous signals into patches and rasterising them to 1D tokens, transformers have been shown to perform competitively for image (ViT [16]) and video classification (ViViT [6]), and more recently, audio classification (AST [23]). Because these models are able to elegantly handle variable length sequences, a natural first extension would be to feed in a sequence of both visual and auditory patches to a transformer, with minimal changes to the architecture. This ‘early fusion’ model allows free attention flow between different spatial and temporal regions in the image, as well as across frequency and time in the audio spectrogram. While theoretically appealing, we hypothesise that full pairwise attention at all layers of the model is not necessary because audio and visual inputs contain dense, fine-grained information, much of which is redundant. This is particularly the case for video, as shown by the performance of ‘factorised’ versions of [6]. Such a model would also not scale well to longer videos due to the quadratic complexity of pairwise attention with token sequence length. To mitigate this, we propose two methods to restrict the flow of attention in our model. The first follows from a common paradigm in multimodal learning, which is to restrict cross-modal flow to later layers of the network, allowing early layers to specialise in learning and extracting unimodal patterns. Henceforth this is is referred to as ‘mid fusion’ (Fig. 1, middle left), where the layer at which cross-modal interactions are introduced is called the ‘fusion layer’. The two extreme versions of this are ‘early fusion’ (all layers are cross-modal) and ‘late fusion’ (all are unimodal) which we compare to as a baselines. Our second idea (and main contribution), is to restrict cross-modal attention flow between tokens within a layer. We do this by allowing free attention flow within a modality, but force our model to collate and ‘condense’ information from each modality before sharing it with the other. The core idea is to introduce a small set of latent fusion units that form an ‘attention bottleneck’, through which cross-modal interactions within a layer must pass. We demonstrate that this ‘bottlenecked’ version, which we name Multimodal Bottleneck Transformer (MBT), outperforms or matches its unrestricted counterpart, but with lower computational cost.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Cross-modal Fusion. Unlike late fusion (left), where no cross-modal information is exchanged in the model until after the classifier, we investigate two pathways for the exchange of cross-modal information. The first is via standard pairwise self attention across all hidden units in a layer, but applied only to later layers in the model – mid fusion (middle, left). We also propose the use of ‘fusion bottlenecks’ (middle, right) that restrict attention flow within a layer through tight latent units. Both forms of restriction can be applied in conjunction (Bottleneck Mid Fusion) for optimal performance (right). We show $B = 2$ bottleneck units and 3 hidden units per modality. Grey boxes indicate tokens that receive attention flow from both audio and video tokens.
|
| 21 |
+
|
| 22 |
+
Concretely, we make the following contributions: (i) We propose a new architecture (MBT) for audiovisual fusion. Our model restricts the flow of cross-modal information between latent units through tight fusion ‘bottlenecks’, that force the model to collect and ‘condense’ the most relevant inputs in each modality (and therefore share only that which is necessary with the other modality). This avoids the quadratic scaling cost of full pairwise attention, and leads to performance gains with less compute; (ii) We apply MBT to image and spectogram patches (Fig. 2), and explore a number of ablations related to the fusion layer, the sampling of inputs and data size; and finally (iii) We set the new state-of-the-art for video classification across a number of popular audio-visual benchmarks, including AudioSet [21], Epic-Kitchens100 [12] and VGGSound [10]. On the Audioset dataset, we outperform the current state of the art by $5 . 9 \mathrm { m A P }$ ( $12 . 7 \%$ relative improvement).
|
| 23 |
+
|
| 24 |
+
# 2 Related work
|
| 25 |
+
|
| 26 |
+
Audiovisual learning: Audiovisual multimodal learning has a rich history, both before and during the deep learning era [47]. Given the limited available data and computational resources, early work focused on relatively simple early-stage (e.g. stacking hand-designed features) and late-stage (e.g. score fusion) techniques [11]. Deep learning has allowed more sophisticated strategies in which modality-specific or joint latents are implicitly learned to mediate the fusion. The result has enabled major advances in a range of downstream supervised audiovisual tasks [43, 34, 17]. In the supervised setting, multiple modality-specific convolution networks can be jointly trained, whose intermediate activations are then combined by summation [32] or via ‘lateral connections’ [57]. In the unsupervised setting, audiovisual learning is commonly used to learn good unimodal representations, with a popular pretraining task being to synchronise signals from different modalities via a contrastive loss [4, 5, 7, 44, 30, 2, 3], however each modality is usually encoded separately under this setup.
|
| 27 |
+
|
| 28 |
+

|
| 29 |
+
Figure 2: A Multimodal Fusion Transformer applied to audiovisual inputs. The input sequence consists of image and spectrogram patches. These are then projected into tokens and appended to special CLS (classification) and FSN (fusion bottleneck) tokens. Our transformer encoder then uses self attention to model unimodal information, and restricts cross-modal information flow via cross attention with the bottleneck tokens at multiple layers of the network.
|
| 30 |
+
|
| 31 |
+
Multimodal transformers: The self attention operation of transformers provides a natural mechanism to connect multimodal signals. Multimodal transformers have been applied to various tasks including audio enhancement [17, 53], speech recognition [24], image segmentation [58, 53], crossmodal sequence generation [39, 37, 49], image and video retrieval [25, 20, 8], visual navigation [46] and image/video captioning/classification [41, 52, 51, 36, 28]. For many works, the inputs to transformers are the output representations of single modality CNNs [35, 20] – unlike these works we use transformer blocks throughout, using only a single convolutional layer to rasterise 2D patches. The tokens from different modalities are usually combined directly as inputs to the transformers [38], for example, the recently released Perceiver model [29] introduces an iterative attention mechanism which takes concatenated raw multimodal signals as inputs, which corresponds to our ‘early fusion’ baseline. In contrast, we carefully examine the impact of different modality fusion strategies, including limiting cross-modal attention flow to later layers of our model, and ‘channeling’ cross-modal connections through bottlenecks in our proposed Multimodal Bottleneck Transformer (MBT).
|
| 32 |
+
|
| 33 |
+
# 3 Multimodal fusion transformers
|
| 34 |
+
|
| 35 |
+
In this section we describe our proposed Multimodal Bottleneck Transformer (MBT). We begin by summarising the recently proposed Vision Transformer (ViT) [16] and Audio Spectrogram Transformer (AST) [23], developed for image and audio classification respectively, in Sec. 3.1. We then describe our extension to the audio-visual fusion case. We discuss three different token fusion strategies (Sec. 3.2), and finally discuss the fusion pathway in the entire model (Sec. 3.3), which involves restricting multimodal fusion to certain layers of the model.
|
| 36 |
+
|
| 37 |
+
# 3.1 The ViT and AST architectures
|
| 38 |
+
|
| 39 |
+
Vision Transformer (ViT) [16] (and a recent extension to audio – Audio Spectrogram Transformer (AST) [23]) adapts the Transformer architecture [54], originally designed for natural language processing, to process 2D inputs with minimal changes. The key insight is to extract $N$ nonoverlapping patches from the RGB image (or the audio spectrogram), $x _ { i } \in \mathbb { R } ^ { h \times w }$ , and convert them into a series of 1D tokens $z _ { i } \in \mathbb { R } ^ { d }$ , as follows:
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
\mathbf { z } = g ( \mathbf { x } ; \mathbf { E } , z _ { \mathrm { c l s } } ) = \left[ z _ { \mathrm { c l s } } , \mathbf { E } x _ { 1 } , \mathbf { E } x _ { 2 } , . . . , \mathbf { E } x _ { N } \right] + \mathbf { p } .
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
Here, $\mathbf { E }$ is a linear projection mapping each token to $\mathbb { R } ^ { d }$ , $z _ { \mathrm { c l s } }$ is a special token prepended to this sequence so that its representation at the final layer can be passed to a classifier for classification tasks [15], and $\mathbf { p } \in \bar { \mathbb { R } } ^ { ( N + 1 ) \times d }$ is a learned positional embedding added to the tokens to retain positional information (as all subsequent self-attention operations are permutation invariant).
|
| 46 |
+
|
| 47 |
+
The tokens are then passed through an encoder consisting of a sequence of $L$ transformer layers. Each transformer layer consists of Multi-Headed Self-Attention (MSA), Layer Normalisation (LN) and Multilayer Perceptron (MLP) blocks applied using residual connections. We denote a transformer layer, $\mathbf { z } ^ { \bar { l } + 1 } = \mathrm { T r a n s f o r m e r } ( \mathbf { z } ^ { l } )$ as
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\begin{array} { r } { \mathbf { y } ^ { l } = \mathrm { M S A } ( \mathrm { L N } ( \mathbf { z } ^ { l } ) ) + \mathbf { z } ^ { l } } \\ { \mathbf { z } ^ { l + 1 } = \mathrm { M L P } ( \mathrm { L N } ( \mathbf { y } ^ { l } ) ) + \mathbf { y } ^ { l } . } \end{array}
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
Here, the MSA operation [54] computes dot-product attention [54] where the queries, keys and values are all linear projections of the same tensor, $\operatorname { M S A } ( \mathbf { X } ) = \operatorname { A t t e n t i o n } ( \mathbf { W } ^ { Q } \mathbf { X } , \mathbf { W } ^ { K } \mathbf { X } , { \dot { \mathbf { W } } } ^ { V } \mathbf { X } )$ . We further define Multi-Headed Cross Attention (MCA) between two tensors, $\mathbf { X }$ and $\mathbf { Y }$ , where $\mathbf { X }$ forms the query and $\mathbf { Y }$ forms the keys and values which are used to reweight the query as $\operatorname { M C A } ( \mathbf { X } , \mathbf { Y } ) = \operatorname { A t t e n t i o n } ( \mathbf { W } ^ { Q } \mathbf { X } , \mathbf { W } ^ { K } \mathbf { Y } , \mathbf { W } ^ { V } \mathbf { Y } )$ . This will be used in our multimodal case, as described next.
|
| 54 |
+
|
| 55 |
+
# 3.2 Multimodal transformer
|
| 56 |
+
|
| 57 |
+
We now describe our extension to the multimodal case. We begin by discussing three different token fusion strategies.
|
| 58 |
+
|
| 59 |
+
# 3.2.1 Fusion via vanilla self-attention
|
| 60 |
+
|
| 61 |
+
We begin by describing a ‘vanilla’ fusion model, which simply consists of the regular transformer applied to multimodal inputs. Our method of tokenising video is straightforward – given a video clip of length $t$ seconds, we uniformly sample $F$ RGB frames and convert the audio waveform into a single spectrogram. We then embed each frame and the spectrogram independently following the encoding proposed in ViT [16], and concatenate all tokens together into a single sequence.
|
| 62 |
+
|
| 63 |
+
Formally, if we have extracted a total of $N _ { v }$ RGB patches from all $F$ sampled frames, $\mathbf { x } _ { \mathrm { r g b } } \in \mathbb { R } ^ { N _ { v } \times d }$ and $N _ { a }$ spectrogram patches, $\mathbf { x } _ { \mathrm { s p e c } } \in \mathbb { R } ^ { N _ { a } \times d }$ , our sequence of tokens is
|
| 64 |
+
|
| 65 |
+
$\mathbf { z } = [ \mathbf { z } _ { \mathrm { r g b } } | | \mathbf { z } _ { \mathrm { s p e c } } ]$ where ${ \bf z } _ { \mathrm { r g b } } = g ( { \bf x } _ { \mathrm { r g b } } ; { \bf E } _ { \mathrm { r g b } } , z _ { \mathrm { c l s - r g b } } )$ and $\begin{array} { r } { \mathbf { z } _ { \mathrm { s p e c } } = g ( \mathbf { x } _ { \mathrm { s p e c } } ; \mathbf { E } _ { \mathrm { s p e c } } , z _ { \mathrm { c l s - s p e c } } ) . } \end{array}$ (4) Here, $\left[ \mathbf { z } _ { \mathrm { r g b } } | | \mathbf { z } _ { \mathrm { s p e c } } \right]$ denotes the concatenation of the tokens for each modality. We use different projections $\mathbf { E } _ { \mathrm { r g b } }$ and $\mathbf { E } _ { \mathrm { s p e c } }$ for RGB and spectrogram patches respectively, and prepend a separate classification token for each modality.
|
| 66 |
+
|
| 67 |
+
Our multimodal encoder then applies a series of transformer layers in the same manner as above. Attention is allowed to flow freely through the network, i.e. each RGB token can attend to all other RGB and spectrogram tokens as follows: $\mathbf { \bar { z } } ^ { l + 1 } = \mathrm { T r a n s f o r m e r } ( \mathbf { z } ^ { l } ; \theta )$ with model parameters $\theta$ . Here Transformer refers to a standard transformer layer with vanilla self-attention blocks.
|
| 68 |
+
|
| 69 |
+
# 3.2.2 Fusion with modality-specific parameters
|
| 70 |
+
|
| 71 |
+
We can generalise this model by allowing each modality to have its own dedicated parameters $\theta _ { \mathrm { r g b } }$ and $\theta _ { \mathrm { s p e c } }$ , but still exchange information via the attention mechanism. For this purpose, we define a Cross-Transformer layer:
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
\begin{array} { r l } & { \mathbf { z } _ { \mathrm { r g b } } ^ { l + 1 } = \mathrm { C r o s s - T r a n s f o r m e r } ( \mathbf { z } _ { \mathrm { r g b } } ^ { l } , \mathbf { z } ^ { l } ; \theta _ { \mathrm { r g b } } ) } \\ & { \mathbf { z } _ { \mathrm { s p e c } } ^ { l + 1 } = \mathrm { C r o s s - T r a n s f o r m e r } ( \mathbf { z } _ { \mathrm { s p e c } } ^ { l } , \mathbf { z } ^ { l } ; \theta _ { \mathrm { s p e c } } ) , } \end{array}
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
where the Cross-Transformer employs the generalised cross-attention operation that takes two sets of inputs $\mathbf { z } _ { 1 }$ and $\mathbf { z } _ { 2 }$ that are not necessarily overlapping. This layer follows the original transformer layer with the difference being that Eq. 2 becomes
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\mathbf { y } ^ { l } = \mathrm { M C A } ( \mathrm { L N } ( \mathbf { z } _ { 1 } ^ { l } ) , \mathrm { L N } ( \mathbf { z } _ { 2 } ^ { l } ) ) + \mathbf { z } _ { 1 } ^ { l } .
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
Finally, note that we have explicitly defined the parameters, $\theta _ { \mathrm { r g b } }$ and $\theta _ { \mathrm { s p e c } }$ of the cross-transformer layers in Eq. 5 as they are different for each modality. However, when $\theta _ { \mathrm { r g b } }$ and $\theta _ { \mathrm { s p e c } }$ are equal, $\theta _ { \mathrm { r g b } } = \theta _ { \mathrm { s p e c } } = \theta ,$ ), the computation defined in Eq. 5 is equivalent to Sec. 3.2.1.
|
| 84 |
+
|
| 85 |
+
# 3.2.3 Fusion via attention bottlenecks
|
| 86 |
+
|
| 87 |
+
In order to tame the quadratic complexity of pairwise attention, we next introduce a small set of $B$ fusion bottleneck tokens $\mathbf { z } _ { \mathrm { f s n } } = [ \dot { z } _ { \mathrm { f s n } } ^ { 1 } , z _ { \mathrm { f s n } } ^ { \dot { 2 } } , \dots , z _ { \mathrm { f s n } } ^ { B } ]$ to our input sequence (see Fig. 2). The input sequence is now
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
\mathbf { z } = [ \mathbf { z } _ { \mathrm { r g b } } | | \mathbf { z } _ { \mathrm { f s n } } | | \mathbf { z } _ { \mathrm { s p e c } } ] .
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
We then restrict all cross-modal attention flow in our model to be via these bottleneck tokens. More formally for layer $l$ , we compute token representations as follows:
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\begin{array} { r l } & { [ \mathbf { z } _ { \mathrm { i } } ^ { l + 1 } | | \hat { \mathbf { z } } _ { \mathrm { f s n } _ { i } } ^ { l + 1 } ] = \mathrm { T r a n s f o r m e r } ( [ \mathbf { z } _ { \mathrm { i } } ^ { l } | | \mathbf { z } _ { \mathrm { f s n } } ^ { l } ] ; \theta _ { \mathrm { i } } ) } \\ & { \qquad \mathbf { z } _ { \mathrm { f s n } } ^ { l + 1 } = \mathrm { A v g _ { i } } ( \hat { \mathbf { z } } _ { \mathrm { f s n } _ { i } } ^ { l + 1 } ) } \end{array}
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
Here $i$ indexes each modality, in this case RGB and Spec, and $\mathbf { z } _ { \mathrm { r g b } }$ and $\mathbf { z } _ { \mathrm { s p e c } }$ can only exchange information via the bottleneck $\mathbf { z } _ { \mathrm { f s n } }$ within a transformer layer. We first create modality specific temporary bottleneck fusion tokens $\hat { \mathbf { z } } _ { \mathrm { f s n } _ { i } }$ , which are updated separately and simultaneously with audio and visual information (Equation 8). The final fusion tokens from each cross-modal update are then averaged in Equation 9. We also experiment with asymmetric updates for the bottleneck tokens (see appendix) and found performance was robust to this choice. We keep the number of bottleneck tokens in the network to be much smaller than the total number of latent units per modality $B \ll N _ { v }$ and $B \ll N _ a , $ ). Because all cross-modal attention flow must pass through these units, these tight ‘fusion’ bottlenecks force the model to condense information from each modality and share that which is necessary. As we show in the experiments, this increases or maintains performance for multimodal fusion, at the same time reducing computational complexity. We also note that our formulation is generic to the type and the number of modalities.
|
| 100 |
+
|
| 101 |
+
# 3.3 Where to fuse: early, mid and late
|
| 102 |
+
|
| 103 |
+
The above strategies discuss fusion within a layer, and in most transformer architectures (such as ViT), every layer consists of an identical set of operations. A common paradigm in multimodal learning, however, is to restrict early layers of a network to focus on unimodal processing, and only introduce cross-modal connections at later layers. This is conceptually intuitive if we believe lower layers are involved in processing low level features, while higher layers are focused on learning semantic concepts – low-level visual features such as edges and corners in images might not have a particular sound signature, and therefore might not benefit from early fusion with audio [57].
|
| 104 |
+
|
| 105 |
+
This can be implemented with our model as follows: We initially perform vanilla self-attention among tokens from a single modality for $L _ { f }$ layers. Thereafter, we concatenate all latent tokens together, $\mathbf { z } ^ { L _ { f } } = [ \mathbf { z } _ { \mathrm { r g b } } ^ { L _ { f } } | | \mathbf { z } _ { \mathrm { s p e c } } ^ { L _ { f } } ]$ and pass them through the remaining $L - L _ { f }$ layers where the tokens are fused according to Sec. 3.2. Here, $L _ { f } = 0$ corresponds to an ‘early-fusion’ model, $L _ { f } = L$ a ‘late-fusion’ model, and $0 < L _ { f } < L$ a ‘mid-fusion’ one. More formally, this can be denoted as
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
\begin{array} { r l } & { \mathbf { z } _ { \mathrm { r g b } } ^ { l + 1 } = \mathrm { T r a n s f o r m e r } ( \mathbf { z } _ { \mathrm { r g b } } ^ { l } ; \theta _ { \mathrm { r g b } } ) , \mathbf { z } _ { \mathrm { s p e c } } ^ { l + 1 } = \mathrm { T r a n s f o r m e r } ( \mathbf { z } _ { \mathrm { s p e c } } ^ { l } ; \theta _ { \mathrm { s p e c } } ) } & { \mathrm { i f ~ } l < L _ { f } } \\ & { \mathbf { z } ^ { l } = [ \mathbf { z } _ { \mathrm { r g b } } ^ { l } | | \mathbf { z } _ { \mathrm { s p e c } } ^ { l } ] , \mathbf { z } ^ { l + 1 } = \mathrm { M u l t i m o d a l - T r a n s f o r m e r } ( \mathbf { z } ^ { l } ; \theta _ { \mathrm { s p e c } } , \theta _ { \mathrm { r g b } } ) } & { \mathrm { o t h e r w i s e } } \end{array}
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
where Multimodal-Transformer $( \cdot )$ can refer to either of the 3 fusion strategies described in Sec 3.2.
|
| 112 |
+
|
| 113 |
+
# 3.4 Classification
|
| 114 |
+
|
| 115 |
+
For all model variants described above, we pass output representations of the CLS tokens $z _ { \mathrm { c l s - r g b } } ^ { L }$ and $z _ { \mathrm { c l s - s p e c } } ^ { L }$ to the same linear classifier and average the pre-softmax logits.
|
| 116 |
+
|
| 117 |
+
# 4 Experiments
|
| 118 |
+
|
| 119 |
+
We apply MBT to the task of video classification. In this section we first describe the datasets used to train and test multimodal fusion and their respective evaluation protocols (Sec. 4.1), then discuss implementation details (Sec. 4.2). We then ablate the key design choices in our model (Sec. 4.3), before finally comparing our model to the state of the art (Sec. 4.4).
|
| 120 |
+
|
| 121 |
+
# 4.1 Datasets and evaluation protocol
|
| 122 |
+
|
| 123 |
+
We experiment with three video classification datasets – AudioSet [21], Epic-Kitchens-100 [12] and VGGSound [10], described in more detail below. Results on two additional datasets Moments in Time [42] and Kinetics [31] are provided in the appendix.
|
| 124 |
+
|
| 125 |
+
AudioSet [21] consists of almost 2 million 10-second video clips from YouTube, annotated with 527 classes. Like other YouTube datasets, this is a dynamic dataset (we only use the clips still available online). This gives us 20,361 clips for the balanced train set (henceforth referred to as mini-AudioSet or miniAS) and 18,589 clips for the test set. This test set is exactly the same as recent works we compare to, including Perceiver [29]. Instead of using the 2M unbalanced training set, we train on a (slightly more) balanced subset consisting of 500K samples (AS-500K). Details are provided in the appendix. Because each sample has multiple labels, we train with a binary cross-entropy (BCE) loss and report mean average precision (mAP) over all classes, following standard practice.
|
| 126 |
+
|
| 127 |
+
Epic-Kitchens 100 [12] consists of egocentric videos capturing daily kitchen activities. The dataset consists of 90,000 variable length clips spanning 100 hours. We report results for action recognition following standard protocol [12] - each action label is a combination of a verb and noun, and we predict both using a single network with two ‘heads’, both trained with a cross-entropy loss. The top scoring verb and action pair predicted by the network are used, and Top-1 action accuracy is the primary metric. Actions are mainly short-term (average length is 2.6s with minimum length 0.25s).
|
| 128 |
+
|
| 129 |
+
VGGSound [10] contains almost 200K video clips of length 10s, annotated with 309 sound classes consisting of human actions, sound-emitting objects and human-object interactions. Unlike AudioSet, the sound source for each clip is ‘visually present’ in the video. This was ensured during dataset creation through the use of image classifiers. After filtering clips that are no longer available on YouTube, we end up with 172,427 training and 14,448 test clips. We train with a standard crossentropy loss for classification and report Top-1 and Top-5 classification accuracy.
|
| 130 |
+
|
| 131 |
+
# 4.2 Implementation details
|
| 132 |
+
|
| 133 |
+
Our backbone architecture follows that of ViT [16] identically, specifically we use ViT-Base (ViT-B, $L = 1 2$ , $N _ { H } = 1 2$ , $d = 3 0 7 2 )$ initialised from ImageNet-21K [14], however we note that our method is agnostic to transformer backbone. Unless otherwise specialised, we use $B = 4$ bottleneck tokens for all experiments with bottleneck fusion. Bottleneck tokens are initialized using a Gaussian with mean of 0 and standard deviation of 0.02, similar to the positional embeddings in the public ViT [16] code. We randomly sample clips of $t$ seconds for training. RGB frames for all datasets are extracted at 25 fps. For AudioSet and VGGSound we sample 8 RGB frames over the sampling window of length $t$ with a uniform stride of length $( t \times 2 5 ) / \bar { 8 }$ . We extract $1 6 \times 1 6$ patches from each frame of size $2 2 4 \times 2 2 4$ , giving us a total of $8 \times 1 4 \times 1 4 = 1 5 6 8$ patches per video. For Epic-Kitchens (because the segments are shorter), we sample 32 frames with stride 1. Audio for all datasets is sampled at $1 6 \mathrm { k H z }$ and converted to mono channel. Similar to [23], we extract log mel spectrograms with a frequency dimension of 128 computed using a $2 5 \mathrm { m s }$ Hamming window with hop length $1 0 \mathrm { m s }$ . This gives us an input of size $1 2 8 \times 1 0 0 t$ for $t$ seconds of audio. Spectrogram patches are extracted with size $1 6 \times 1 6$ , giving us $5 0 \times 8 = 4 0 0$ patches for 8 seconds of audio. For images we apply the standard data augmentations used in [6] (random crop, flip, colour jitter), and for spectrograms we use SpecAugment [45] with a max time mask length of 192 frames and max frequency mask length of 48 bins following AST [23]. We set the base learning rate to 0.5 and train for 50 epochs, using Mixup [59] with $\alpha = 0 . 3$ and stochastic depth regularisation [27] with probability $p = 0 . 3$ . All models (across datasets) are trained with a batch size of 64, synchronous SGD with momentum of 0.9, and a cosine learning rate schedule with warmup of 2.5 epochs on TPU accelerators using the Scenic library [13].
|
| 134 |
+
|
| 135 |
+
Inference: Following standard practice, we uniformly sample multiple temporal crops from the clip and average per-view logits to obtain the final result. The number of test crops is set to 4.
|
| 136 |
+
|
| 137 |
+
# 4.3 Ablation analysis
|
| 138 |
+
|
| 139 |
+
In this section we investigate the impact of the different architectural choices in MBT. Unless otherwise specified, we use the mini-AudioSet split for training and report results on the AudioSet eval split. More ablations on backbone size and pretraining initalisation can be found in the appendix.
|
| 140 |
+
|
| 141 |
+
# 4.3.1 Fusion strategies
|
| 142 |
+
|
| 143 |
+
We implement all the three fusion strategies described in Sec. 3.2:
|
| 144 |
+
|
| 145 |
+
(i) Vanilla self-attention – Unrestricted pairwise attention between all latent units within a layer; (ii) Vanilla cross-attention with separate weights: Same as above, but we now have separate weights for each modality. The latent units are updated via pairwise attention with all other latent units from both modalities; and finally
|
| 146 |
+
|
| 147 |
+
(iii) Bottleneck fusion: Here all cross-modal attention must pass through bottleneck fusion latents. Note that these three fusion strategies only describe attention flow between tokens within a layer. For strategies (ii) and (iii), we also conduct experiments showing the impact of restricting cross-modal attention to layers after a fixed fusion layer $L _ { f }$ . We investigate models with different fusion layers, $L _ { f } = 0 , 2 , 4 , 6 , 8 , 1 0 , 1 2$ , and present the results in Fig. 3.2
|
| 148 |
+
|
| 149 |
+
Sharing weights for both modalities: We first investigate the impact of sharing the encoder weights for both modalities (strategy (i) vs (ii)). The results can be found in Fig. 1 in the appendix. When modalities are fused at earlier layers, using separate encoders improves performance. For models with later fusion layers, performance is similar for both models. We hence use separate modality weights for further experiments.
|
| 150 |
+
|
| 151 |
+
Fusion layer: We then investigate the impact of varying the fusion layer $L _ { f }$ , for the latter two strategies: (ii) Vanilla Cross-Attention and (iii) Bottleneck Fusion. We conduct experiments with $L _ { f } = \stackrel { \_ } { 0 } , 2 , 4 , 6 , 8 , 1 0 , 1 2$ . We fix the input span $t$ to 4s and the number of bottleneck tokens $B$ to 4. We conduct 3 runs for each experiment and report mean and std deviation. As can be seen from Fig. 3 (left), ‘mid fusion’ outperforms both early $( L _ { f } = 0 )$ ) and late fusion $( L _ { f } = 1 2 )$ ), with optimal performance obtained by using fusion layer $L _ { f } = 1 0$ for vanilla cross-attention and $L _ { f } = 8$ for bottleneck attention. This suggests that the model benefits from restricting cross-modal connections to later layers, allowing earlier layers to specialise to learning unimodal features, however still benefits from multiple layers of cross-modal information flow. In appendix $\mathbf { D }$ , we confirm that mid fusion outperforms late fusion across a number of different datasets.
|
| 152 |
+
|
| 153 |
+
Attention bottlenecks: In Fig. 3, we also examine the effect of bottleneck attention vs vanilla cross-attention for multimodal fusion. We find that for all values of $L _ { f }$ restricting flow to bottlenecks improves or maintains performance, with improvements more prominent at lower values of $L _ { f }$ . At $L _ { f } = 1 0$ , both perform similarly, note that at this stage we only have 3 fusion layers in the model. Our best performing model uses attention bottlenecks with $L _ { f } = 8$ , and we fix this for all further experiments. We also compare the amount of computation, measured in GFLOPs, for both fusion strategies (Fig. 3, right). Using a small number of bottleneck tokens (in our experiments $B = 4$ ) adds negligible extra computation over a late fusion model, with computation remaining largely constant with varying fusion layer $L _ { f }$ . This is in contrast to vanilla cross-fusion, which has a non-negligible computational cost for every layer it is applied to. We note that for early fusion $\begin{array} { r } { { \cal L } _ { f } = 0 } \end{array}$ ), bottleneck fusion outperforms vanilla cross-attention by over $2 \mathrm { m A P } ,$ , with less than half the computational cost.
|
| 154 |
+
|
| 155 |
+
Number of bottleneck tokens $B$ : We experiment with $B = 4$ , 36, 64, 256 and 1024, and find that performance is relatively consistent (all within $0 . 5 \mathrm { \ m A P }$ ). We hence fix the number of tokens to $B = 4$ for all experiments. It is interesting that with such a small number of cross-modal connections through only 4 hidden units $B = 4$ ) at each cross-modal layer, we get large performance gains over late fusion (Fig. 3), highlighting the importance of allowing cross-modal information to flow at multiple layers of the model.
|
| 156 |
+
|
| 157 |
+
# 4.3.2 Input sampling and dataset size
|
| 158 |
+
|
| 159 |
+
In this section we investigate the impact of different modality sampling strategies. We also compare to single modality baselines – the visual-only and audio-only baselines consist of a vanilla transformer model applied to only the RGB or spectrogram patches respectively.
|
| 160 |
+
|
| 161 |
+
Sampling window size $t$ : An advantage of our transformer based model is that we can easily input variable length token sequences. We experiment with varying the sampling window $t$ with the following values $t = 2 , 4 , 6$ and 8 seconds (note that all videos in AudioSet are 10s), and show results in Fig. $\bar { 4 ^ { 3 } }$ . At inference, we uniformly sample multiple windows covering the entire video. While the number of spectrogram patches $N _ { a }$ changes with $t$ , we keep the number of RGB patches $N _ { v }$ fixed by changing the stride of frames (to avoid running out of memory). Our results indicate that the performance of both the audio and audio-visual fusion model increases with input span, however the performance of the visual-only model slightly decreases (we hypothesize that this is due to the increased fixed stride, meaning fewer frames are randomly sampled during training). We fix $t = 8 s$ in all further experiments.
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 3: The impact of using attention bottlenecks for fusion on performance (left) and compute (right) at different fusion layers $L _ { f }$ on AudioSet, using clip span $t = 4$ and $B = 4$ bottleneck tokens. Attention bottlenecks improve performance at lower computational cost.
|
| 165 |
+
|
| 166 |
+

|
| 167 |
+
Figure 4: The effect of varying input clip span $t$ on the AudioSet test set.
|
| 168 |
+
|
| 169 |
+

|
| 170 |
+
Figure 5: The effect of training data size on the AudioSet test set.
|
| 171 |
+
|
| 172 |
+
Synchronous vs asynchronous sampling: Given that auditory and visual events may not always be perfected aligned in videos [32], we also investigate asynchronous sampling of different modalities. Here input windows are sampled independently from the entire video clip for each modality. Results are provided in Fig. 2 in the appendix. We find performance to be largely robust to either case, and so for simplicity we use synchronised sampling for all further experiments.
|
| 173 |
+
|
| 174 |
+
Modality MixUp: While applying Mixup regularization [59] to training, we note that there are two different ways to apply it for multimodal inputs – the standard approach is to sample one set of mixup weights from a Beta distribution using the parameter $\alpha$ , and use it to generate all virtual modality-label pairs [59]. We also explore a modified version which we call modality mixup, which samples an independent weight for each modality. Modality mixup imposes stronger augmentation than standard mixup, leading to a slight improvement $( 4 2 . 6 \ : \mathrm { m A P }$ to $4 3 . 9 \mathrm { m A P }$ ) on AudioSet.
|
| 175 |
+
|
| 176 |
+
Impact of dataset size: We show the impact of varying the number of training samples in Fig. 5, and find a monotonic increase with dataset size (more steeply for audio-only than visual-only).
|
| 177 |
+
|
| 178 |
+
# 4.4 Results
|
| 179 |
+
|
| 180 |
+
Comparison to single modality performance: We compare MBT to visual-only and audio-only baselines on AudioSet (Table 1), Epic-Kitchens (Table 2) and VGGSound (Table 3). Note we use the best parameters obtained via the ablations above, i.e. bottleneck fusion with $t = 8$ , $B = 4$ , $F _ { l } = 8$ and modality mixup. For all datasets, multimodal fusion outperforms the higher-performing single modality baseline, demonstrating the value of complementary information. The relative importance of modalities for the classification labels varies (audio-only has higher relative performance for AudioSet and lower for Epic-Kitchens, while both audio and visual baselines are equally strong for VGGSound). This is (unsurprisingly) largely a function of the dataset annotation procedure and positions VGGSound as a uniquely suitable dataset for fusion. We also show that audio-visual fusion provides slight performance gains for traditionally video only datasets such as Kinetics and Moments in Time (details provided in Appendix C ). We also examine per-class performance on the Audioset dataset (Figures 3 and 4 in the Appendix), and find that for the top 60 classes (ranked by overall performance), audio-visual fusion improves performance over audio only or visual only for almost all (57 out of 60) classes, except for ‘bagpiping’, ‘emergency vehicle’ and ‘didgeridoo’ which have strong audio signatures. For classes such as ‘bicycle’ and ‘shuffling cards’ where audio signals are weaker, fusion improves over the audio-only baseline by over $60 \%$ in absolute AP.
|
| 181 |
+
|
| 182 |
+
Table 1: Comparison to SOTA on AudioSet [21]. We report mean average precision (mAP). We outperform works that train on the full Audioset (2M samples), while we train on only $5 0 0 \mathrm { K }$ samples.
|
| 183 |
+
|
| 184 |
+
<table><tr><td>Model</td><td>Training Set</td><td>tAonly</td><td>V only</td><td>AVFusion</td></tr><tr><td>GBlend [56]</td><td>MiniAS</td><td>29.1</td><td>22.1</td><td>37.8</td></tr><tr><td>GBlend [56]</td><td>FullAS-2M</td><td>32.4</td><td>18.8</td><td>41.8</td></tr><tr><td>Attn Audio-Visual[18]</td><td>FullAS-2M</td><td>38.4</td><td>25.7</td><td>46.2</td></tr><tr><td>Perceiver [29]</td><td>FullAS-2M</td><td>38.4</td><td>25.8</td><td>44.2</td></tr><tr><td>MBT</td><td>MiniAS</td><td>31.3</td><td>27.7</td><td>43.9</td></tr><tr><td>MBT</td><td>AS-500K</td><td>44.3</td><td>32.3</td><td>52.1</td></tr></table>
|
| 185 |
+
|
| 186 |
+
Table 2: Comparison to SOTA on EpicKitchens-100 [12]. Modalities are A: Audio, V: Visual, F: Optical flow. †Uses pretraining on VGGSound.
|
| 187 |
+
|
| 188 |
+
<table><tr><td>Model</td><td>Modalities</td><td>Verb</td><td>Noun</td><td>Action</td></tr><tr><td>Damen et al. [12]</td><td>A</td><td>42.1</td><td>21.5</td><td>14.8</td></tr><tr><td>AudioSlowFast [33]t</td><td>A</td><td>46.5</td><td>22.78</td><td>15.4</td></tr><tr><td>TSN [55]</td><td>V,F</td><td>60.2</td><td>46.0</td><td>33.2</td></tr><tr><td>TRN [60]</td><td>V,F</td><td>65.9</td><td>45.4</td><td>35.3</td></tr><tr><td>TBN [32]</td><td>A,V,F</td><td>66.0</td><td>47.2</td><td>36.7</td></tr><tr><td>TSM[40]</td><td>V,F</td><td>67.9</td><td>49.0</td><td>38.3</td></tr><tr><td>SlowFast [19]</td><td>V</td><td>65.6</td><td>50.0</td><td>38.5</td></tr><tr><td>MBT</td><td>A</td><td>44.3</td><td>22.4</td><td>13.0</td></tr><tr><td>MBT</td><td>V</td><td>62.0</td><td>56.4</td><td>40.7</td></tr><tr><td>MBT</td><td>A,V</td><td>64.8</td><td>58.0</td><td>43.4</td></tr></table>
|
| 189 |
+
|
| 190 |
+
Comparison to state of the art: We compare MBT to previous fusion methods on AudioSet in Table 1. We outperform all previous works on fusion (even though we only train on a quarter of the training set – 500K samples), including the recently introduced Perceiver [29] which uses early fusion followed by multiple self attention layers, and Attn Audio-Visual [18] which uses self-attention fusion on top of individual modality CNNs. We compare to previous video classification methods on Epic-Kitchens in Table 2, and note that our model outperforms all previous works that use vision only, as well as TBN [32] which uses three modalities - RGB, audio and optical flow. Given VGGSound is a relatively new dataset, we compare to two existing audio-only works4 (Table 3), and set the first audiovisual benchmark (that we are aware of) on this dataset.
|
| 191 |
+
|
| 192 |
+
Table 3: Comparison to the state of the art on VGGSound [10]. Modalities are A: Audio, V: Visual, F: Optical flow. $\ddagger$ We calculate metrics on our test set for a fair comparison using the scores provided by the authors.
|
| 193 |
+
|
| 194 |
+
<table><tr><td>Model</td><td>Modalities</td><td>Top-1 Acc</td><td>Top-5 Acc</td></tr><tr><td>Chen et al‡ [10]</td><td>A</td><td>48.8</td><td>76.5</td></tr><tr><td>AudioSlowFastt [33]</td><td>A</td><td>50.1</td><td>77.9</td></tr><tr><td>MBT</td><td>A</td><td>52.3</td><td>78.1</td></tr><tr><td>MBT</td><td>V</td><td>51.2</td><td>72.6</td></tr><tr><td>MBT</td><td>A,V</td><td>64.1</td><td>85.6</td></tr></table>
|
| 195 |
+
|
| 196 |
+

|
| 197 |
+
Figure 6: Attention Maps. We compute maps of the attention from the output CLS tokens to the RGB image input space for a vanilla self-attention model and MBT on the Audioset test set. For each video clip, we show the original middle frame on the left with the ground truth labels overlayed at the bottom. The attention is particularly focused on sound source regions in the video that contain motion, eg. the fingertips on the piano, the hands on the string instrument, faces of humans. The bottlenecks in MBT further force the attention to be localised to smaller regions of the images (i.e the mouth of the baby on the top left and the mouth of the woman singing on the bottom right).
|
| 198 |
+
|
| 199 |
+
Visualisation of attention maps Finally, we compute maps of the attention from the output CLS tokens to the RGB image input space using Attention Rollout [1]. Results on test images for both a vanilla fusion model and MBT trained on Audioset-mini (fusion layer $L _ { f } = 8$ ) are shown in Figure 6. We show the attention maps summed over all the frames in the video clip. We note that first, the model focuses on semantically salient regions in the video for audio classification, particularly regions where there is motion that creates or modifies sound, i.e. the mouth of humans making sounds, fingertips on a piano, hands and instruments. This is unlike state of the art sound source localisation techniques trained with images [9], which tend to highlight the entire object. We further note that the attention maps for MBT are more localised to these regions, showing that the tight bottlenecks do force the model to focus only on the image patches that are actually relevant for the audio classification task and which benefit from early fusion with audio.
|
| 200 |
+
|
| 201 |
+
# 5 Conclusion
|
| 202 |
+
|
| 203 |
+
We propose a new transformer architecture (MBT) for audiovisual fusion, and explore a number of different fusion strategies using cross-attention between latent tokens. We propose a novel strategy to restrict cross-modal attention via a small set of fusion ‘bottlenecks’, and demonstrate that this improves performance over vanilla cross-attention at lower computational cost, achieving state of the art results on a number of benchmarks. Future work will involve extending MBT to other modalities such as text and optical flow.
|
| 204 |
+
|
| 205 |
+
Limitations: The fusion layer is a hyperparameter and may need to be tuned specifically for different tasks and datasets. We also only explore fully supervised fusion, and future work will tackle extensions to a self-supervised learning framework.
|
| 206 |
+
|
| 207 |
+
Broader impact: Multimodal fusion strategies are important for machine learning, as fusing complementary information from different modalities can increase robustness when applied to real world applications. We also note that transformers are in general compute-heavy, which can have adverse environmental effects. We propose a token fusion method via bottlenecks that helps reduce computational complexity when applying transformers for multimodal fusion. Finally, we observe that training datasets contain biases that may render models trained on them unsuitable for certain applications. It is thus possible that people use classification models (intentionally or not) to make decisions that impact different groups in society differently, and it is important to keep this in mind when deploying, analysing and building upon these models.
|
| 208 |
+
|
| 209 |
+
Acknowledgements: We would like to thank Joao Carreira for helpful discussions on the Perceiver [29].
|
| 210 |
+
|
| 211 |
+
# References
|
| 212 |
+
|
| 213 |
+
[1] Samira Abnar and Willem Zuidema. Quantifying attention flow in transformers. arXiv preprint arXiv:2005.00928, 2020.
|
| 214 |
+
[2] Hassan Akbari, Linagzhe Yuan, Rui Qian, Wei-Hong Chuang, Shih-Fu Chang, Yin Cui, and Boqing Gong. Vatt: Transformers for multimodal self-supervised learning from raw video, audio and text. NeurIPS, 2021.
|
| 215 |
+
[3] Jean-Baptiste Alayrac, Adrià Recasens, Rosalia Schneider, Relja Arandjelovic, Jason Ramapu- ´ ram, Jeffrey De Fauw, Lucas Smaira, Sander Dieleman, and Andrew Zisserman. Self-supervised multimodal versatile networks. In NeurIPS, 2020.
|
| 216 |
+
[4] Relja Arandjelovic and Andrew Zisserman. Look, listen and learn. In ICCV, 2017.
|
| 217 |
+
[5] Relja Arandjelovic and Andrew Zisserman. Objects that sound. In ECCV, 2018.
|
| 218 |
+
[6] Anurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun, Mario Luciˇ c, and Cordelia ´ Schmid. Vivit: A video vision transformer. ICCV, 2021.
|
| 219 |
+
[7] Yusuf Aytar, Carl Vondrick, and Antonio Torralba. Soundnet: Learning sound representations from unlabeled video. In NeurIPS, 2016.
|
| 220 |
+
[8] Max Bain, Arsha Nagrani, Gül Varol, and Andrew Zisserman. Frozen in time: A joint video and image encoder for end-to-end retrieval. ICCV, 2021.
|
| 221 |
+
[9] Honglie Chen, Weidi Xie, Triantafyllos Afouras, Arsha Nagrani, Andrea Vedaldi, and Andrew Zisserman. Localizing visual sounds the hard way. In CVPR, 2021.
|
| 222 |
+
[10] Honglie Chen, Weidi Xie, Andrea Vedaldi, and Andrew Zisserman. VGGSound: A large-scale audio-visual dataset. In ICASSP, 2020.
|
| 223 |
+
[11] Tsuhan Chen and Ram R Rao. Audio-visual integration in multimodal communication. Proceedings of the IEEE, 86(5):837–852, 1998.
|
| 224 |
+
[12] Dima Damen, Hazel Doughty, Giovanni Maria Farinella, Antonino Furnari, Evangelos Kazakos, Jian Ma, Davide Moltisanti, Jonathan Munro, Toby Perrett, Will Price, et al. Rescaling egocentric vision. arXiv preprint arXiv:2006.13256, 2020.
|
| 225 |
+
[13] Mostafa Dehghani, Alexey Gritsenko, Anurag Arnab, Matthias Minderer, and Yi Tay. Scenic: A JAX library for computer vision research and beyond. arXiv preprint arXiv:2110.11403, 2021.
|
| 226 |
+
[14] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, pages 248–255. Ieee, 2009.
|
| 227 |
+
[15] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In NAACL, 2019.
|
| 228 |
+
[16] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
|
| 229 |
+
[17] Ariel Ephrat, Inbar Mosseri, Oran Lang, Tali Dekel, Kevin Wilson, Avinatan Hassidim, William T Freeman, and Michael Rubinstein. Looking to listen at the cocktail party: a speaker-independent audio-visual model for speech separation. ACM Transactions on Graphics (TOG), 37(4):1–11, 2018.
|
| 230 |
+
[18] Haytham M Fayek and Anurag Kumar. Large scale audiovisual learning of sounds with weakly labeled data. arXiv preprint arXiv:2006.01595, 2020.
|
| 231 |
+
[19] Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. Slowfast networks for video recognition. In ICCV, pages 6202–6211, 2019.
|
| 232 |
+
[20] Valentin Gabeur, Chen Sun, Karteek Alahari, and Cordelia Schmid. Multi-modal transformer for video retrieval. In ECCV, volume 5. Springer, 2020.
|
| 233 |
+
[21] Jort F Gemmeke, Daniel PW Ellis, Dylan Freedman, Aren Jansen, Wade Lawrence, R Channing Moore, Manoj Plakal, and Marvin Ritter. Audio set: An ontology and human-labeled dataset for audio events. In ICASSP, pages 776–780. IEEE, 2017.
|
| 234 |
+
[22] Bernard Ghanem, Juan Carlos Niebles, Cees Snoek, Fabian Caba Heilbron, Humam Alwassel, Victor Escorcia, Ranjay Krishna, Shyamal Buch, and Cuong Duc Dao. The activitynet largescale activity recognition challenge 2018 summary. arXiv preprint arXiv:1808.03766, 2018.
|
| 235 |
+
[23] Yuan Gong, Yu-An Chung, and James Glass. AST: audio spectrogram transformer. arXiv preprint arXiv:2104.01778, 2021.
|
| 236 |
+
[24] David Harwath, Antonio Torralba, and James R Glass. Unsupervised learning of spoken language with visual context. NeurIPS, 2017.
|
| 237 |
+
[25] Lisa Anne Hendricks, John Mellor, Rosalia Schneider, Jean-Baptiste Alayrac, and Aida Nematzadeh. Decoupling the role of data, attention, and losses in multimodal transformers. arXiv preprint arXiv:2102.00529, 2021.
|
| 238 |
+
[26] Shawn Hershey, Sourish Chaudhuri, Daniel PW Ellis, Jort F Gemmeke, Aren Jansen, R Channing Moore, Manoj Plakal, Devin Platt, Rif A Saurous, Bryan Seybold, et al. CNN architectures for large-scale audio classification. In ICASSP, pages 131–135. IEEE, 2017.
|
| 239 |
+
[27] Gao Huang, Yu Sun, Zhuang Liu, Daniel Sedra, and Kilian Q Weinberger. Deep networks with stochastic depth. In ECCV, 2016.
|
| 240 |
+
[28] Vladimir Iashin and Esa Rahtu. Multi-modal dense video captioning. In CVPR Workshops, pages 958–959, 2020.
|
| 241 |
+
[29] Andrew Jaegle, Felix Gimeno, Andrew Brock, Andrew Zisserman, Oriol Vinyals, and Joao Carreira. Perceiver: General perception with iterative attention. arXiv preprint arXiv:2103.03206, 2021.
|
| 242 |
+
[30] Aren Jansen, Daniel PW Ellis, Shawn Hershey, R Channing Moore, Manoj Plakal, Ashok C Popat, and Rif A Saurous. Coincidence, categorization, and consolidation: Learning to recognize sounds with minimal supervision. In ICASSP, 2020.
|
| 243 |
+
[31] Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijayanarasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, et al. The kinetics human action video dataset. arXiv preprint arXiv:1705.06950, 2017.
|
| 244 |
+
[32] Evangelos Kazakos, Arsha Nagrani, Andrew Zisserman, and Dima Damen. Epic-fusion: Audiovisual temporal binding for egocentric action recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 5492–5501, 2019.
|
| 245 |
+
[33] Evangelos Kazakos, Arsha Nagrani, Andrew Zisserman, and Dima Damen. Slow-fast auditory streams for audio recognition. In ICASSP, pages 855–859. IEEE, 2021.
|
| 246 |
+
[34] Yelin Kim, Honglak Lee, and Emily Mower Provost. Deep learning for robust feature generation in audiovisual emotion recognition. In ICASSP. IEEE, 2013.
|
| 247 |
+
[35] Sangho Lee, Youngjae Yu, Gunhee Kim, Thomas Breuel, Jan Kautz, and Yale Song. Parameter efficient multimodal transformers for video representation learning. arXiv preprint arXiv:2012.04124, 2020.
|
| 248 |
+
[36] Guang Li, Linchao Zhu, Ping Liu, and Yi Yang. Entangled transformer for image captioning. In ICCV, pages 8928–8937, 2019.
|
| 249 |
+
[37] Jiaman Li, Yihang Yin, Hang Chu, Yi Zhou, Tingwu Wang, Sanja Fidler, and Hao Li. Learning to generate diverse dance motions with transformer. arXiv preprint arXiv:2008.08171, 2020.
|
| 250 |
+
[38] Liunian Harold Li, Mark Yatskar, Da Yin, Cho-Jui Hsieh, and Kai-Wei Chang. Visualbert: A simple and performant baseline for vision and language. arXiv preprint arXiv:1908.03557, 2019.
|
| 251 |
+
[39] Ruilong Li, Shan Yang, David A Ross, and Angjoo Kanazawa. Learn to dance with aist++: Music conditioned 3d dance generation. arXiv preprint arXiv:2101.08779, 2021.
|
| 252 |
+
[40] Ji Lin, Chuang Gan, and Song Han. Temporal shift module for efficient video understanding. 2019 ieee. In ICCV, pages 7082–7092, 2019.
|
| 253 |
+
[41] Jiasen Lu, Dhruv Batra, Devi Parikh, and Stefan Lee. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. In NeurIPS, 2019.
|
| 254 |
+
[42] Mathew Monfort, Alex Andonian, Bolei Zhou, Kandan Ramakrishnan, Sarah Adel Bargal, Tom Yan, Lisa Brown, Quanfu Fan, Dan Gutfreund, Carl Vondrick, et al. Moments in time dataset: one million videos for event understanding. IEEE transactions on pattern analysis and machine intelligence, 42(2):502–508, 2019.
|
| 255 |
+
[43] Jiquan Ngiam, Aditya Khosla, Mingyu Kim, Juhan Nam, Honglak Lee, and Andrew $\mathrm { ~ Y ~ N ~ g ~ }$ . Multimodal deep learning. In ICML, 2011.
|
| 256 |
+
[44] Andrew Owens and Alexei A Efros. Audio-visual scene analysis with self-supervised multisensory features. In ECCV, 2018.
|
| 257 |
+
[45] Daniel S Park, William Chan, Yu Zhang, Chung-Cheng Chiu, Barret Zoph, Ekin D Cubuk, and Quoc V Le. Specaugment: A simple data augmentation method for automatic speech recognition. arXiv preprint arXiv:1904.08779, 2019.
|
| 258 |
+
[46] Alexander Pashevich, Cordelia Schmid, and Chen Sun. Episodic transformer for vision-andlanguage navigation. In ICCV, 2021.
|
| 259 |
+
[47] Dhanesh Ramachandram and Graham W Taylor. Deep multimodal learning: A survey on recent advances and trends. IEEE Signal Processing Magazine, 34(6):96–108, 2017.
|
| 260 |
+
[48] Justin Salamon and Juan Pablo Bello. Deep convolutional neural networks and data augmentation for environmental sound classification. IEEE Signal Processing Letters, 24(3):279–283, 2017.
|
| 261 |
+
[49] Paul Hongsuck Seo, Arsha Nagrani, and Cordelia Schmid. Look before you speak: Visually contextualized utterances. In CVPR, 2021.
|
| 262 |
+
[50] Linda Smith and Michael Gasser. The development of embodied cognition: Six lessons from babies. Artificial life, 11(1-2):13–29, 2005.
|
| 263 |
+
[51] Chen Sun, Fabien Baradel, Kevin Murphy, and Cordelia Schmid. Learning video representations using contrastive bidirectional transformer. arXiv preprint arXiv:1906.05743, 2019.
|
| 264 |
+
[52] Chen Sun, Austin Myers, Carl Vondrick, Kevin Murphy, and Cordelia Schmid. Videobert: A joint model for video and language representation learning. In ICCV, 2019.
|
| 265 |
+
[53] Efthymios Tzinis, Scott Wisdom, Aren Jansen, Shawn Hershey, Tal Remez, Daniel PW Ellis, and John R Hershey. Into the wild with audioscope: Unsupervised audio-visual separation of on-screen sounds. arXiv preprint arXiv:2011.01143, 2020.
|
| 266 |
+
[54] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017.
|
| 267 |
+
[55] Limin Wang, Yuanjun Xiong, Zhe Wang, Yu Qiao, Dahua Lin, Xiaoou Tang, and Luc Van Gool. Temporal segment networks: Towards good practices for deep action recognition. In ECCV. Springer, 2016.
|
| 268 |
+
[56] Weiyao Wang, Du Tran, and Matt Feiszli. What makes training multi-modal classification networks hard? In CVPR, pages 12695–12705, 2020.
|
| 269 |
+
[57] Fanyi Xiao, Yong Jae Lee, Kristen Grauman, Jitendra Malik, and Christoph Feichtenhofer. Audiovisual slowfast networks for video recognition. arXiv preprint arXiv:2001.08740, 2020.
|
| 270 |
+
[58] Linwei Ye, Mrigank Rochan, Zhi Liu, and Yang Wang. Cross-modal self-attention network for referring image segmentation. In CVPR, 2019.
|
| 271 |
+
[59] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017.
|
| 272 |
+
[60] Bolei Zhou, Alex Andonian, Aude Oliva, and Antonio Torralba. Temporal relational reasoning in videos. In ECCV, pages 803–818, 2018.
|
parse/train/KJ5h-yfUHa/KJ5h-yfUHa_content_list.json
ADDED
|
@@ -0,0 +1,1209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
225,
|
| 8 |
+
122,
|
| 9 |
+
772,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Arsha Nagrani Shan Yang Anurag Arnab Aren Jansen Cordelia Schmid Chen Sun ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
279,
|
| 19 |
+
196,
|
| 20 |
+
712,
|
| 21 |
+
224
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "{anagrani, shanyang, aarnab, arenjansen, cordelias, chensun}@google.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
225,
|
| 30 |
+
227,
|
| 31 |
+
771,
|
| 32 |
+
238
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Google Research ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
442,
|
| 41 |
+
242,
|
| 42 |
+
555,
|
| 43 |
+
256
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
295,
|
| 54 |
+
535,
|
| 55 |
+
313
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Humans perceive the world by concurrently processing and fusing highdimensional inputs from multiple modalities such as vision and audio. Machine perception models, in stark contrast, are typically modality-specific and optimised for unimodal benchmarks, and hence late-stage fusion of final representations or predictions from each modality (‘late-fusion’) is still a dominant paradigm for multimodal video classification. Instead, we introduce a novel transformer based architecture that uses ‘fusion bottlenecks’ for modality fusion at multiple layers. Compared to traditional pairwise self-attention, our model forces information between different modalities to pass through a small number of bottleneck latents, requiring the model to collate and condense relevant information in each modality and share what is necessary. We find that such a strategy improves fusion performance, at the same time reducing computational cost. We conduct thorough ablation studies, and achieve state-of-the-art results on multiple audio-visual classification benchmarks including Audioset, Epic-Kitchens and VGGSound. All code and models will be released. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
328,
|
| 65 |
+
766,
|
| 66 |
+
534
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
559,
|
| 77 |
+
310,
|
| 78 |
+
577
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Simultaneous multimodal sensations are a crucial enabler of human perceptual learning [50]. For artificial learning systems, however, designing a unified model for modality fusion is challenging due to a number of factors: (i) variations in learning dynamics between modalities [56], (ii) different noise topologies, with some modality streams containing more information for the task at hand than others, as well as (iii) specialised input representations. The difference in input representations between audio and vision is particularly stark – many state of the art audio classification methods rely on short term Fourier analysis to produce log-mel spectrograms, often using them as inputs to CNN architectures designed for images [26, 48]. These time-frequency representations have different distributions to images – multiple acoustic objects can have energy at the same frequency, and the translation invariances of CNNs may no longer be a desired property (while an acoustic object can be shifted in time, a shift in frequency could alter the meaning entirely). In contrast, the visual stream in a video is three-dimensional (two spatial and one temporal), and while different spatial regions of the image correspond to different objects, there is the unique challenge of high redundancy across multiple frames. Hence input representations, and consequently neural network architectures and benchmarks tend to vary wildly for different modalities. For simplicity, the dominant paradigm for multimodal fusion therefore often consists of an ad-hoc scheme that involves integrating separate audio and visual networks via their output representations or scores i.e. ‘late-fusion’ [22, 44]. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
590,
|
| 88 |
+
825,
|
| 89 |
+
825
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this work, we present a new transformer based model for audiovisual fusion in video. Despite originally being proposed for NLP tasks, there has been recent interest in transformers [54] as universal perceptual models [29], due to their ability to model dense correlations between tokens, at the same time making few assumptions about their inputs (and because continuous perceptual inputs can be tokenised). By dividing dense continuous signals into patches and rasterising them to 1D tokens, transformers have been shown to perform competitively for image (ViT [16]) and video classification (ViViT [6]), and more recently, audio classification (AST [23]). Because these models are able to elegantly handle variable length sequences, a natural first extension would be to feed in a sequence of both visual and auditory patches to a transformer, with minimal changes to the architecture. This ‘early fusion’ model allows free attention flow between different spatial and temporal regions in the image, as well as across frequency and time in the audio spectrogram. While theoretically appealing, we hypothesise that full pairwise attention at all layers of the model is not necessary because audio and visual inputs contain dense, fine-grained information, much of which is redundant. This is particularly the case for video, as shown by the performance of ‘factorised’ versions of [6]. Such a model would also not scale well to longer videos due to the quadratic complexity of pairwise attention with token sequence length. To mitigate this, we propose two methods to restrict the flow of attention in our model. The first follows from a common paradigm in multimodal learning, which is to restrict cross-modal flow to later layers of the network, allowing early layers to specialise in learning and extracting unimodal patterns. Henceforth this is is referred to as ‘mid fusion’ (Fig. 1, middle left), where the layer at which cross-modal interactions are introduced is called the ‘fusion layer’. The two extreme versions of this are ‘early fusion’ (all layers are cross-modal) and ‘late fusion’ (all are unimodal) which we compare to as a baselines. Our second idea (and main contribution), is to restrict cross-modal attention flow between tokens within a layer. We do this by allowing free attention flow within a modality, but force our model to collate and ‘condense’ information from each modality before sharing it with the other. The core idea is to introduce a small set of latent fusion units that form an ‘attention bottleneck’, through which cross-modal interactions within a layer must pass. We demonstrate that this ‘bottlenecked’ version, which we name Multimodal Bottleneck Transformer (MBT), outperforms or matches its unrestricted counterpart, but with lower computational cost. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
832,
|
| 99 |
+
825,
|
| 100 |
+
901
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/cf31d718e1493908ff58400e72597290e9e88c3348dcc4c9bd28952c3484a552.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Cross-modal Fusion. Unlike late fusion (left), where no cross-modal information is exchanged in the model until after the classifier, we investigate two pathways for the exchange of cross-modal information. The first is via standard pairwise self attention across all hidden units in a layer, but applied only to later layers in the model – mid fusion (middle, left). We also propose the use of ‘fusion bottlenecks’ (middle, right) that restrict attention flow within a layer through tight latent units. Both forms of restriction can be applied in conjunction (Bottleneck Mid Fusion) for optimal performance (right). We show $B = 2$ bottleneck units and 3 hidden units per modality. Grey boxes indicate tokens that receive attention flow from both audio and video tokens. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
90,
|
| 114 |
+
823,
|
| 115 |
+
199
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
352,
|
| 125 |
+
825,
|
| 126 |
+
669
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Concretely, we make the following contributions: (i) We propose a new architecture (MBT) for audiovisual fusion. Our model restricts the flow of cross-modal information between latent units through tight fusion ‘bottlenecks’, that force the model to collect and ‘condense’ the most relevant inputs in each modality (and therefore share only that which is necessary with the other modality). This avoids the quadratic scaling cost of full pairwise attention, and leads to performance gains with less compute; (ii) We apply MBT to image and spectogram patches (Fig. 2), and explore a number of ablations related to the fusion layer, the sampling of inputs and data size; and finally (iii) We set the new state-of-the-art for video classification across a number of popular audio-visual benchmarks, including AudioSet [21], Epic-Kitchens100 [12] and VGGSound [10]. On the Audioset dataset, we outperform the current state of the art by $5 . 9 \\mathrm { m A P }$ ( $12 . 7 \\%$ relative improvement). ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
675,
|
| 136 |
+
825,
|
| 137 |
+
814
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 Related work ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
835,
|
| 148 |
+
316,
|
| 149 |
+
853
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Audiovisual learning: Audiovisual multimodal learning has a rich history, both before and during the deep learning era [47]. Given the limited available data and computational resources, early work focused on relatively simple early-stage (e.g. stacking hand-designed features) and late-stage (e.g. score fusion) techniques [11]. Deep learning has allowed more sophisticated strategies in which modality-specific or joint latents are implicitly learned to mediate the fusion. The result has enabled major advances in a range of downstream supervised audiovisual tasks [43, 34, 17]. In the supervised setting, multiple modality-specific convolution networks can be jointly trained, whose intermediate activations are then combined by summation [32] or via ‘lateral connections’ [57]. In the unsupervised setting, audiovisual learning is commonly used to learn good unimodal representations, with a popular pretraining task being to synchronise signals from different modalities via a contrastive loss [4, 5, 7, 44, 30, 2, 3], however each modality is usually encoded separately under this setup. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
176,
|
| 158 |
+
869,
|
| 159 |
+
823,
|
| 160 |
+
911
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "image",
|
| 166 |
+
"img_path": "images/571f07835a2d97d79335d6c5c47ed9d82d879cd1029f0ee9a914560b0db1f7df.jpg",
|
| 167 |
+
"image_caption": [
|
| 168 |
+
"Figure 2: A Multimodal Fusion Transformer applied to audiovisual inputs. The input sequence consists of image and spectrogram patches. These are then projected into tokens and appended to special CLS (classification) and FSN (fusion bottleneck) tokens. Our transformer encoder then uses self attention to model unimodal information, and restricts cross-modal information flow via cross attention with the bottleneck tokens at multiple layers of the network. "
|
| 169 |
+
],
|
| 170 |
+
"image_footnote": [],
|
| 171 |
+
"bbox": [
|
| 172 |
+
181,
|
| 173 |
+
88,
|
| 174 |
+
820,
|
| 175 |
+
251
|
| 176 |
+
],
|
| 177 |
+
"page_idx": 2
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"text": "",
|
| 182 |
+
"bbox": [
|
| 183 |
+
173,
|
| 184 |
+
352,
|
| 185 |
+
825,
|
| 186 |
+
463
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 2
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "Multimodal transformers: The self attention operation of transformers provides a natural mechanism to connect multimodal signals. Multimodal transformers have been applied to various tasks including audio enhancement [17, 53], speech recognition [24], image segmentation [58, 53], crossmodal sequence generation [39, 37, 49], image and video retrieval [25, 20, 8], visual navigation [46] and image/video captioning/classification [41, 52, 51, 36, 28]. For many works, the inputs to transformers are the output representations of single modality CNNs [35, 20] – unlike these works we use transformer blocks throughout, using only a single convolutional layer to rasterise 2D patches. The tokens from different modalities are usually combined directly as inputs to the transformers [38], for example, the recently released Perceiver model [29] introduces an iterative attention mechanism which takes concatenated raw multimodal signals as inputs, which corresponds to our ‘early fusion’ baseline. In contrast, we carefully examine the impact of different modality fusion strategies, including limiting cross-modal attention flow to later layers of our model, and ‘channeling’ cross-modal connections through bottlenecks in our proposed Multimodal Bottleneck Transformer (MBT). ",
|
| 193 |
+
"bbox": [
|
| 194 |
+
173,
|
| 195 |
+
463,
|
| 196 |
+
826,
|
| 197 |
+
642
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "3 Multimodal fusion transformers ",
|
| 204 |
+
"text_level": 1,
|
| 205 |
+
"bbox": [
|
| 206 |
+
174,
|
| 207 |
+
661,
|
| 208 |
+
473,
|
| 209 |
+
678
|
| 210 |
+
],
|
| 211 |
+
"page_idx": 2
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"type": "text",
|
| 215 |
+
"text": "In this section we describe our proposed Multimodal Bottleneck Transformer (MBT). We begin by summarising the recently proposed Vision Transformer (ViT) [16] and Audio Spectrogram Transformer (AST) [23], developed for image and audio classification respectively, in Sec. 3.1. We then describe our extension to the audio-visual fusion case. We discuss three different token fusion strategies (Sec. 3.2), and finally discuss the fusion pathway in the entire model (Sec. 3.3), which involves restricting multimodal fusion to certain layers of the model. ",
|
| 216 |
+
"bbox": [
|
| 217 |
+
174,
|
| 218 |
+
693,
|
| 219 |
+
825,
|
| 220 |
+
776
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "3.1 The ViT and AST architectures ",
|
| 227 |
+
"text_level": 1,
|
| 228 |
+
"bbox": [
|
| 229 |
+
176,
|
| 230 |
+
792,
|
| 231 |
+
431,
|
| 232 |
+
808
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 2
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "Vision Transformer (ViT) [16] (and a recent extension to audio – Audio Spectrogram Transformer (AST) [23]) adapts the Transformer architecture [54], originally designed for natural language processing, to process 2D inputs with minimal changes. The key insight is to extract $N$ nonoverlapping patches from the RGB image (or the audio spectrogram), $x _ { i } \\in \\mathbb { R } ^ { h \\times w }$ , and convert them into a series of 1D tokens $z _ { i } \\in \\mathbb { R } ^ { d }$ , as follows: ",
|
| 239 |
+
"bbox": [
|
| 240 |
+
174,
|
| 241 |
+
818,
|
| 242 |
+
825,
|
| 243 |
+
888
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 2
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "equation",
|
| 249 |
+
"img_path": "images/5645e1f391eda2168ceb75db451b6589e8671d9dc771ea73d8a687f52e808d47.jpg",
|
| 250 |
+
"text": "$$\n\\mathbf { z } = g ( \\mathbf { x } ; \\mathbf { E } , z _ { \\mathrm { c l s } } ) = \\left[ z _ { \\mathrm { c l s } } , \\mathbf { E } x _ { 1 } , \\mathbf { E } x _ { 2 } , . . . , \\mathbf { E } x _ { N } \\right] + \\mathbf { p } .\n$$",
|
| 251 |
+
"text_format": "latex",
|
| 252 |
+
"bbox": [
|
| 253 |
+
331,
|
| 254 |
+
895,
|
| 255 |
+
666,
|
| 256 |
+
912
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 2
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "Here, $\\mathbf { E }$ is a linear projection mapping each token to $\\mathbb { R } ^ { d }$ , $z _ { \\mathrm { c l s } }$ is a special token prepended to this sequence so that its representation at the final layer can be passed to a classifier for classification tasks [15], and $\\mathbf { p } \\in \\bar { \\mathbb { R } } ^ { ( N + 1 ) \\times d }$ is a learned positional embedding added to the tokens to retain positional information (as all subsequent self-attention operations are permutation invariant). ",
|
| 263 |
+
"bbox": [
|
| 264 |
+
174,
|
| 265 |
+
90,
|
| 266 |
+
825,
|
| 267 |
+
148
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 3
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "The tokens are then passed through an encoder consisting of a sequence of $L$ transformer layers. Each transformer layer consists of Multi-Headed Self-Attention (MSA), Layer Normalisation (LN) and Multilayer Perceptron (MLP) blocks applied using residual connections. We denote a transformer layer, $\\mathbf { z } ^ { \\bar { l } + 1 } = \\mathrm { T r a n s f o r m e r } ( \\mathbf { z } ^ { l } )$ as ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
173,
|
| 276 |
+
154,
|
| 277 |
+
825,
|
| 278 |
+
210
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 3
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "equation",
|
| 284 |
+
"img_path": "images/85935015db6efc2dd0e28ab9c623193d55197ae35a11d0641b35dcc28e5224c9.jpg",
|
| 285 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { y } ^ { l } = \\mathrm { M S A } ( \\mathrm { L N } ( \\mathbf { z } ^ { l } ) ) + \\mathbf { z } ^ { l } } \\\\ { \\mathbf { z } ^ { l + 1 } = \\mathrm { M L P } ( \\mathrm { L N } ( \\mathbf { y } ^ { l } ) ) + \\mathbf { y } ^ { l } . } \\end{array}\n$$",
|
| 286 |
+
"text_format": "latex",
|
| 287 |
+
"bbox": [
|
| 288 |
+
400,
|
| 289 |
+
212,
|
| 290 |
+
596,
|
| 291 |
+
255
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 3
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "Here, the MSA operation [54] computes dot-product attention [54] where the queries, keys and values are all linear projections of the same tensor, $\\operatorname { M S A } ( \\mathbf { X } ) = \\operatorname { A t t e n t i o n } ( \\mathbf { W } ^ { Q } \\mathbf { X } , \\mathbf { W } ^ { K } \\mathbf { X } , { \\dot { \\mathbf { W } } } ^ { V } \\mathbf { X } )$ . We further define Multi-Headed Cross Attention (MCA) between two tensors, $\\mathbf { X }$ and $\\mathbf { Y }$ , where $\\mathbf { X }$ forms the query and $\\mathbf { Y }$ forms the keys and values which are used to reweight the query as $\\operatorname { M C A } ( \\mathbf { X } , \\mathbf { Y } ) = \\operatorname { A t t e n t i o n } ( \\mathbf { W } ^ { Q } \\mathbf { X } , \\mathbf { W } ^ { K } \\mathbf { Y } , \\mathbf { W } ^ { V } \\mathbf { Y } )$ . This will be used in our multimodal case, as described next. ",
|
| 298 |
+
"bbox": [
|
| 299 |
+
173,
|
| 300 |
+
255,
|
| 301 |
+
825,
|
| 302 |
+
338
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 3
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "3.2 Multimodal transformer ",
|
| 309 |
+
"text_level": 1,
|
| 310 |
+
"bbox": [
|
| 311 |
+
174,
|
| 312 |
+
353,
|
| 313 |
+
383,
|
| 314 |
+
368
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 3
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "text",
|
| 320 |
+
"text": "We now describe our extension to the multimodal case. We begin by discussing three different token fusion strategies. ",
|
| 321 |
+
"bbox": [
|
| 322 |
+
174,
|
| 323 |
+
378,
|
| 324 |
+
825,
|
| 325 |
+
409
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 3
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "3.2.1 Fusion via vanilla self-attention ",
|
| 332 |
+
"text_level": 1,
|
| 333 |
+
"bbox": [
|
| 334 |
+
176,
|
| 335 |
+
421,
|
| 336 |
+
444,
|
| 337 |
+
436
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 3
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "We begin by describing a ‘vanilla’ fusion model, which simply consists of the regular transformer applied to multimodal inputs. Our method of tokenising video is straightforward – given a video clip of length $t$ seconds, we uniformly sample $F$ RGB frames and convert the audio waveform into a single spectrogram. We then embed each frame and the spectrogram independently following the encoding proposed in ViT [16], and concatenate all tokens together into a single sequence. ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
173,
|
| 346 |
+
445,
|
| 347 |
+
825,
|
| 348 |
+
515
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "Formally, if we have extracted a total of $N _ { v }$ RGB patches from all $F$ sampled frames, $\\mathbf { x } _ { \\mathrm { r g b } } \\in \\mathbb { R } ^ { N _ { v } \\times d }$ and $N _ { a }$ spectrogram patches, $\\mathbf { x } _ { \\mathrm { s p e c } } \\in \\mathbb { R } ^ { N _ { a } \\times d }$ , our sequence of tokens is ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
173,
|
| 357 |
+
520,
|
| 358 |
+
825,
|
| 359 |
+
551
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "$\\mathbf { z } = [ \\mathbf { z } _ { \\mathrm { r g b } } | | \\mathbf { z } _ { \\mathrm { s p e c } } ]$ where ${ \\bf z } _ { \\mathrm { r g b } } = g ( { \\bf x } _ { \\mathrm { r g b } } ; { \\bf E } _ { \\mathrm { r g b } } , z _ { \\mathrm { c l s - r g b } } )$ and $\\begin{array} { r } { \\mathbf { z } _ { \\mathrm { s p e c } } = g ( \\mathbf { x } _ { \\mathrm { s p e c } } ; \\mathbf { E } _ { \\mathrm { s p e c } } , z _ { \\mathrm { c l s - s p e c } } ) . } \\end{array}$ (4) Here, $\\left[ \\mathbf { z } _ { \\mathrm { r g b } } | | \\mathbf { z } _ { \\mathrm { s p e c } } \\right]$ denotes the concatenation of the tokens for each modality. We use different projections $\\mathbf { E } _ { \\mathrm { r g b } }$ and $\\mathbf { E } _ { \\mathrm { s p e c } }$ for RGB and spectrogram patches respectively, and prepend a separate classification token for each modality. ",
|
| 366 |
+
"bbox": [
|
| 367 |
+
174,
|
| 368 |
+
554,
|
| 369 |
+
826,
|
| 370 |
+
616
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "Our multimodal encoder then applies a series of transformer layers in the same manner as above. Attention is allowed to flow freely through the network, i.e. each RGB token can attend to all other RGB and spectrogram tokens as follows: $\\mathbf { \\bar { z } } ^ { l + 1 } = \\mathrm { T r a n s f o r m e r } ( \\mathbf { z } ^ { l } ; \\theta )$ with model parameters $\\theta$ . Here Transformer refers to a standard transformer layer with vanilla self-attention blocks. ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
173,
|
| 379 |
+
621,
|
| 380 |
+
825,
|
| 381 |
+
678
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "3.2.2 Fusion with modality-specific parameters ",
|
| 388 |
+
"text_level": 1,
|
| 389 |
+
"bbox": [
|
| 390 |
+
176,
|
| 391 |
+
691,
|
| 392 |
+
513,
|
| 393 |
+
707
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 3
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "We can generalise this model by allowing each modality to have its own dedicated parameters $\\theta _ { \\mathrm { r g b } }$ and $\\theta _ { \\mathrm { s p e c } }$ , but still exchange information via the attention mechanism. For this purpose, we define a Cross-Transformer layer: ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
174,
|
| 402 |
+
714,
|
| 403 |
+
825,
|
| 404 |
+
757
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "equation",
|
| 410 |
+
"img_path": "images/cb0294e9307f7a8ede9ae32b1c2d4737098d0e10cbd80a8b6550ec66318c974b.jpg",
|
| 411 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathbf { z } _ { \\mathrm { r g b } } ^ { l + 1 } = \\mathrm { C r o s s - T r a n s f o r m e r } ( \\mathbf { z } _ { \\mathrm { r g b } } ^ { l } , \\mathbf { z } ^ { l } ; \\theta _ { \\mathrm { r g b } } ) } \\\\ & { \\mathbf { z } _ { \\mathrm { s p e c } } ^ { l + 1 } = \\mathrm { C r o s s - T r a n s f o r m e r } ( \\mathbf { z } _ { \\mathrm { s p e c } } ^ { l } , \\mathbf { z } ^ { l } ; \\theta _ { \\mathrm { s p e c } } ) , } \\end{array}\n$$",
|
| 412 |
+
"text_format": "latex",
|
| 413 |
+
"bbox": [
|
| 414 |
+
352,
|
| 415 |
+
758,
|
| 416 |
+
642,
|
| 417 |
+
803
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "where the Cross-Transformer employs the generalised cross-attention operation that takes two sets of inputs $\\mathbf { z } _ { 1 }$ and $\\mathbf { z } _ { 2 }$ that are not necessarily overlapping. This layer follows the original transformer layer with the difference being that Eq. 2 becomes ",
|
| 424 |
+
"bbox": [
|
| 425 |
+
173,
|
| 426 |
+
803,
|
| 427 |
+
823,
|
| 428 |
+
845
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 3
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "equation",
|
| 434 |
+
"img_path": "images/32b2062f24980f619eb2dab672536ed4eed1c705e5b61169b46d92b57f83beff.jpg",
|
| 435 |
+
"text": "$$\n\\mathbf { y } ^ { l } = \\mathrm { M C A } ( \\mathrm { L N } ( \\mathbf { z } _ { 1 } ^ { l } ) , \\mathrm { L N } ( \\mathbf { z } _ { 2 } ^ { l } ) ) + \\mathbf { z } _ { 1 } ^ { l } .\n$$",
|
| 436 |
+
"text_format": "latex",
|
| 437 |
+
"bbox": [
|
| 438 |
+
377,
|
| 439 |
+
848,
|
| 440 |
+
619,
|
| 441 |
+
867
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 3
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "Finally, note that we have explicitly defined the parameters, $\\theta _ { \\mathrm { r g b } }$ and $\\theta _ { \\mathrm { s p e c } }$ of the cross-transformer layers in Eq. 5 as they are different for each modality. However, when $\\theta _ { \\mathrm { r g b } }$ and $\\theta _ { \\mathrm { s p e c } }$ are equal, $\\theta _ { \\mathrm { r g b } } = \\theta _ { \\mathrm { s p e c } } = \\theta ,$ ), the computation defined in Eq. 5 is equivalent to Sec. 3.2.1. ",
|
| 448 |
+
"bbox": [
|
| 449 |
+
174,
|
| 450 |
+
869,
|
| 451 |
+
826,
|
| 452 |
+
911
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 3
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "text",
|
| 458 |
+
"text": "3.2.3 Fusion via attention bottlenecks ",
|
| 459 |
+
"text_level": 1,
|
| 460 |
+
"bbox": [
|
| 461 |
+
176,
|
| 462 |
+
90,
|
| 463 |
+
446,
|
| 464 |
+
106
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "In order to tame the quadratic complexity of pairwise attention, we next introduce a small set of $B$ fusion bottleneck tokens $\\mathbf { z } _ { \\mathrm { f s n } } = [ \\dot { z } _ { \\mathrm { f s n } } ^ { 1 } , z _ { \\mathrm { f s n } } ^ { \\dot { 2 } } , \\dots , z _ { \\mathrm { f s n } } ^ { B } ]$ to our input sequence (see Fig. 2). The input sequence is now ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
176,
|
| 473 |
+
114,
|
| 474 |
+
825,
|
| 475 |
+
156
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "equation",
|
| 481 |
+
"img_path": "images/af4f1dac72e0c7d60524772f63734313bc2b0f94ca5e3f297a3cafa2f605cfdd.jpg",
|
| 482 |
+
"text": "$$\n\\mathbf { z } = [ \\mathbf { z } _ { \\mathrm { r g b } } | | \\mathbf { z } _ { \\mathrm { f s n } } | | \\mathbf { z } _ { \\mathrm { s p e c } } ] .\n$$",
|
| 483 |
+
"text_format": "latex",
|
| 484 |
+
"bbox": [
|
| 485 |
+
428,
|
| 486 |
+
155,
|
| 487 |
+
570,
|
| 488 |
+
172
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 4
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "We then restrict all cross-modal attention flow in our model to be via these bottleneck tokens. More formally for layer $l$ , we compute token representations as follows: ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
174,
|
| 497 |
+
174,
|
| 498 |
+
825,
|
| 499 |
+
203
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "equation",
|
| 505 |
+
"img_path": "images/d64c2ead00ee85823c36ee12318ad2bd770c9f416c10a38ac938c9d56278de3e.jpg",
|
| 506 |
+
"text": "$$\n\\begin{array} { r l } & { [ \\mathbf { z } _ { \\mathrm { i } } ^ { l + 1 } | | \\hat { \\mathbf { z } } _ { \\mathrm { f s n } _ { i } } ^ { l + 1 } ] = \\mathrm { T r a n s f o r m e r } ( [ \\mathbf { z } _ { \\mathrm { i } } ^ { l } | | \\mathbf { z } _ { \\mathrm { f s n } } ^ { l } ] ; \\theta _ { \\mathrm { i } } ) } \\\\ & { \\qquad \\mathbf { z } _ { \\mathrm { f s n } } ^ { l + 1 } = \\mathrm { A v g _ { i } } ( \\hat { \\mathbf { z } } _ { \\mathrm { f s n } _ { i } } ^ { l + 1 } ) } \\end{array}\n$$",
|
| 507 |
+
"text_format": "latex",
|
| 508 |
+
"bbox": [
|
| 509 |
+
359,
|
| 510 |
+
227,
|
| 511 |
+
637,
|
| 512 |
+
272
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 4
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "Here $i$ indexes each modality, in this case RGB and Spec, and $\\mathbf { z } _ { \\mathrm { r g b } }$ and $\\mathbf { z } _ { \\mathrm { s p e c } }$ can only exchange information via the bottleneck $\\mathbf { z } _ { \\mathrm { f s n } }$ within a transformer layer. We first create modality specific temporary bottleneck fusion tokens $\\hat { \\mathbf { z } } _ { \\mathrm { f s n } _ { i } }$ , which are updated separately and simultaneously with audio and visual information (Equation 8). The final fusion tokens from each cross-modal update are then averaged in Equation 9. We also experiment with asymmetric updates for the bottleneck tokens (see appendix) and found performance was robust to this choice. We keep the number of bottleneck tokens in the network to be much smaller than the total number of latent units per modality $B \\ll N _ { v }$ and $B \\ll N _ a , $ ). Because all cross-modal attention flow must pass through these units, these tight ‘fusion’ bottlenecks force the model to condense information from each modality and share that which is necessary. As we show in the experiments, this increases or maintains performance for multimodal fusion, at the same time reducing computational complexity. We also note that our formulation is generic to the type and the number of modalities. ",
|
| 519 |
+
"bbox": [
|
| 520 |
+
173,
|
| 521 |
+
273,
|
| 522 |
+
825,
|
| 523 |
+
440
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 4
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "3.3 Where to fuse: early, mid and late ",
|
| 530 |
+
"text_level": 1,
|
| 531 |
+
"bbox": [
|
| 532 |
+
176,
|
| 533 |
+
457,
|
| 534 |
+
449,
|
| 535 |
+
472
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 4
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "The above strategies discuss fusion within a layer, and in most transformer architectures (such as ViT), every layer consists of an identical set of operations. A common paradigm in multimodal learning, however, is to restrict early layers of a network to focus on unimodal processing, and only introduce cross-modal connections at later layers. This is conceptually intuitive if we believe lower layers are involved in processing low level features, while higher layers are focused on learning semantic concepts – low-level visual features such as edges and corners in images might not have a particular sound signature, and therefore might not benefit from early fusion with audio [57]. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
173,
|
| 544 |
+
482,
|
| 545 |
+
825,
|
| 546 |
+
580
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "This can be implemented with our model as follows: We initially perform vanilla self-attention among tokens from a single modality for $L _ { f }$ layers. Thereafter, we concatenate all latent tokens together, $\\mathbf { z } ^ { L _ { f } } = [ \\mathbf { z } _ { \\mathrm { r g b } } ^ { L _ { f } } | | \\mathbf { z } _ { \\mathrm { s p e c } } ^ { L _ { f } } ]$ and pass them through the remaining $L - L _ { f }$ layers where the tokens are fused according to Sec. 3.2. Here, $L _ { f } = 0$ corresponds to an ‘early-fusion’ model, $L _ { f } = L$ a ‘late-fusion’ model, and $0 < L _ { f } < L$ a ‘mid-fusion’ one. More formally, this can be denoted as ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
585,
|
| 556 |
+
825,
|
| 557 |
+
661
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "equation",
|
| 563 |
+
"img_path": "images/0f7707c700a89b8a039061ac746476e7b278126894d461ed55687d7df16b7a40.jpg",
|
| 564 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathbf { z } _ { \\mathrm { r g b } } ^ { l + 1 } = \\mathrm { T r a n s f o r m e r } ( \\mathbf { z } _ { \\mathrm { r g b } } ^ { l } ; \\theta _ { \\mathrm { r g b } } ) , \\mathbf { z } _ { \\mathrm { s p e c } } ^ { l + 1 } = \\mathrm { T r a n s f o r m e r } ( \\mathbf { z } _ { \\mathrm { s p e c } } ^ { l } ; \\theta _ { \\mathrm { s p e c } } ) } & { \\mathrm { i f ~ } l < L _ { f } } \\\\ & { \\mathbf { z } ^ { l } = [ \\mathbf { z } _ { \\mathrm { r g b } } ^ { l } | | \\mathbf { z } _ { \\mathrm { s p e c } } ^ { l } ] , \\mathbf { z } ^ { l + 1 } = \\mathrm { M u l t i m o d a l - T r a n s f o r m e r } ( \\mathbf { z } ^ { l } ; \\theta _ { \\mathrm { s p e c } } , \\theta _ { \\mathrm { r g b } } ) } & { \\mathrm { o t h e r w i s e } } \\end{array}\n$$",
|
| 565 |
+
"text_format": "latex",
|
| 566 |
+
"bbox": [
|
| 567 |
+
187,
|
| 568 |
+
667,
|
| 569 |
+
807,
|
| 570 |
+
712
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 4
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "text",
|
| 576 |
+
"text": "where Multimodal-Transformer $( \\cdot )$ can refer to either of the 3 fusion strategies described in Sec 3.2. ",
|
| 577 |
+
"bbox": [
|
| 578 |
+
171,
|
| 579 |
+
717,
|
| 580 |
+
823,
|
| 581 |
+
733
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 4
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "3.4 Classification ",
|
| 588 |
+
"text_level": 1,
|
| 589 |
+
"bbox": [
|
| 590 |
+
173,
|
| 591 |
+
747,
|
| 592 |
+
307,
|
| 593 |
+
762
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 4
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "For all model variants described above, we pass output representations of the CLS tokens $z _ { \\mathrm { c l s - r g b } } ^ { L }$ and $z _ { \\mathrm { c l s - s p e c } } ^ { L }$ to the same linear classifier and average the pre-softmax logits. ",
|
| 600 |
+
"bbox": [
|
| 601 |
+
174,
|
| 602 |
+
773,
|
| 603 |
+
823,
|
| 604 |
+
806
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 4
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "text",
|
| 610 |
+
"text": "4 Experiments ",
|
| 611 |
+
"text_level": 1,
|
| 612 |
+
"bbox": [
|
| 613 |
+
174,
|
| 614 |
+
824,
|
| 615 |
+
312,
|
| 616 |
+
842
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 4
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "text",
|
| 622 |
+
"text": "We apply MBT to the task of video classification. In this section we first describe the datasets used to train and test multimodal fusion and their respective evaluation protocols (Sec. 4.1), then discuss implementation details (Sec. 4.2). We then ablate the key design choices in our model (Sec. 4.3), before finally comparing our model to the state of the art (Sec. 4.4). ",
|
| 623 |
+
"bbox": [
|
| 624 |
+
174,
|
| 625 |
+
854,
|
| 626 |
+
825,
|
| 627 |
+
911
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 4
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "text",
|
| 633 |
+
"text": "4.1 Datasets and evaluation protocol ",
|
| 634 |
+
"text_level": 1,
|
| 635 |
+
"bbox": [
|
| 636 |
+
176,
|
| 637 |
+
92,
|
| 638 |
+
439,
|
| 639 |
+
106
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 5
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "text",
|
| 645 |
+
"text": "We experiment with three video classification datasets – AudioSet [21], Epic-Kitchens-100 [12] and VGGSound [10], described in more detail below. Results on two additional datasets Moments in Time [42] and Kinetics [31] are provided in the appendix. ",
|
| 646 |
+
"bbox": [
|
| 647 |
+
176,
|
| 648 |
+
118,
|
| 649 |
+
823,
|
| 650 |
+
160
|
| 651 |
+
],
|
| 652 |
+
"page_idx": 5
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"type": "text",
|
| 656 |
+
"text": "AudioSet [21] consists of almost 2 million 10-second video clips from YouTube, annotated with 527 classes. Like other YouTube datasets, this is a dynamic dataset (we only use the clips still available online). This gives us 20,361 clips for the balanced train set (henceforth referred to as mini-AudioSet or miniAS) and 18,589 clips for the test set. This test set is exactly the same as recent works we compare to, including Perceiver [29]. Instead of using the 2M unbalanced training set, we train on a (slightly more) balanced subset consisting of 500K samples (AS-500K). Details are provided in the appendix. Because each sample has multiple labels, we train with a binary cross-entropy (BCE) loss and report mean average precision (mAP) over all classes, following standard practice. ",
|
| 657 |
+
"bbox": [
|
| 658 |
+
174,
|
| 659 |
+
160,
|
| 660 |
+
825,
|
| 661 |
+
270
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 5
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "text",
|
| 667 |
+
"text": "Epic-Kitchens 100 [12] consists of egocentric videos capturing daily kitchen activities. The dataset consists of 90,000 variable length clips spanning 100 hours. We report results for action recognition following standard protocol [12] - each action label is a combination of a verb and noun, and we predict both using a single network with two ‘heads’, both trained with a cross-entropy loss. The top scoring verb and action pair predicted by the network are used, and Top-1 action accuracy is the primary metric. Actions are mainly short-term (average length is 2.6s with minimum length 0.25s). ",
|
| 668 |
+
"bbox": [
|
| 669 |
+
174,
|
| 670 |
+
271,
|
| 671 |
+
825,
|
| 672 |
+
353
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 5
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "VGGSound [10] contains almost 200K video clips of length 10s, annotated with 309 sound classes consisting of human actions, sound-emitting objects and human-object interactions. Unlike AudioSet, the sound source for each clip is ‘visually present’ in the video. This was ensured during dataset creation through the use of image classifiers. After filtering clips that are no longer available on YouTube, we end up with 172,427 training and 14,448 test clips. We train with a standard crossentropy loss for classification and report Top-1 and Top-5 classification accuracy. ",
|
| 679 |
+
"bbox": [
|
| 680 |
+
174,
|
| 681 |
+
353,
|
| 682 |
+
825,
|
| 683 |
+
435
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 5
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "text",
|
| 689 |
+
"text": "4.2 Implementation details ",
|
| 690 |
+
"text_level": 1,
|
| 691 |
+
"bbox": [
|
| 692 |
+
174,
|
| 693 |
+
444,
|
| 694 |
+
374,
|
| 695 |
+
458
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 5
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "Our backbone architecture follows that of ViT [16] identically, specifically we use ViT-Base (ViT-B, $L = 1 2$ , $N _ { H } = 1 2$ , $d = 3 0 7 2 )$ initialised from ImageNet-21K [14], however we note that our method is agnostic to transformer backbone. Unless otherwise specialised, we use $B = 4$ bottleneck tokens for all experiments with bottleneck fusion. Bottleneck tokens are initialized using a Gaussian with mean of 0 and standard deviation of 0.02, similar to the positional embeddings in the public ViT [16] code. We randomly sample clips of $t$ seconds for training. RGB frames for all datasets are extracted at 25 fps. For AudioSet and VGGSound we sample 8 RGB frames over the sampling window of length $t$ with a uniform stride of length $( t \\times 2 5 ) / \\bar { 8 }$ . We extract $1 6 \\times 1 6$ patches from each frame of size $2 2 4 \\times 2 2 4$ , giving us a total of $8 \\times 1 4 \\times 1 4 = 1 5 6 8$ patches per video. For Epic-Kitchens (because the segments are shorter), we sample 32 frames with stride 1. Audio for all datasets is sampled at $1 6 \\mathrm { k H z }$ and converted to mono channel. Similar to [23], we extract log mel spectrograms with a frequency dimension of 128 computed using a $2 5 \\mathrm { m s }$ Hamming window with hop length $1 0 \\mathrm { m s }$ . This gives us an input of size $1 2 8 \\times 1 0 0 t$ for $t$ seconds of audio. Spectrogram patches are extracted with size $1 6 \\times 1 6$ , giving us $5 0 \\times 8 = 4 0 0$ patches for 8 seconds of audio. For images we apply the standard data augmentations used in [6] (random crop, flip, colour jitter), and for spectrograms we use SpecAugment [45] with a max time mask length of 192 frames and max frequency mask length of 48 bins following AST [23]. We set the base learning rate to 0.5 and train for 50 epochs, using Mixup [59] with $\\alpha = 0 . 3$ and stochastic depth regularisation [27] with probability $p = 0 . 3$ . All models (across datasets) are trained with a batch size of 64, synchronous SGD with momentum of 0.9, and a cosine learning rate schedule with warmup of 2.5 epochs on TPU accelerators using the Scenic library [13]. ",
|
| 702 |
+
"bbox": [
|
| 703 |
+
173,
|
| 704 |
+
470,
|
| 705 |
+
825,
|
| 706 |
+
761
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 5
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "Inference: Following standard practice, we uniformly sample multiple temporal crops from the clip and average per-view logits to obtain the final result. The number of test crops is set to 4. ",
|
| 713 |
+
"bbox": [
|
| 714 |
+
173,
|
| 715 |
+
761,
|
| 716 |
+
823,
|
| 717 |
+
789
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 5
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "4.3 Ablation analysis ",
|
| 724 |
+
"text_level": 1,
|
| 725 |
+
"bbox": [
|
| 726 |
+
176,
|
| 727 |
+
810,
|
| 728 |
+
333,
|
| 729 |
+
824
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 5
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "In this section we investigate the impact of the different architectural choices in MBT. Unless otherwise specified, we use the mini-AudioSet split for training and report results on the AudioSet eval split. More ablations on backbone size and pretraining initalisation can be found in the appendix. ",
|
| 736 |
+
"bbox": [
|
| 737 |
+
176,
|
| 738 |
+
837,
|
| 739 |
+
825,
|
| 740 |
+
878
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 5
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "4.3.1 Fusion strategies ",
|
| 747 |
+
"text_level": 1,
|
| 748 |
+
"bbox": [
|
| 749 |
+
174,
|
| 750 |
+
92,
|
| 751 |
+
343,
|
| 752 |
+
106
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 6
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "We implement all the three fusion strategies described in Sec. 3.2: ",
|
| 759 |
+
"bbox": [
|
| 760 |
+
173,
|
| 761 |
+
116,
|
| 762 |
+
606,
|
| 763 |
+
128
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 6
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "(i) Vanilla self-attention – Unrestricted pairwise attention between all latent units within a layer; (ii) Vanilla cross-attention with separate weights: Same as above, but we now have separate weights for each modality. The latent units are updated via pairwise attention with all other latent units from both modalities; and finally ",
|
| 770 |
+
"bbox": [
|
| 771 |
+
174,
|
| 772 |
+
130,
|
| 773 |
+
825,
|
| 774 |
+
184
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 6
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "(iii) Bottleneck fusion: Here all cross-modal attention must pass through bottleneck fusion latents. Note that these three fusion strategies only describe attention flow between tokens within a layer. For strategies (ii) and (iii), we also conduct experiments showing the impact of restricting cross-modal attention to layers after a fixed fusion layer $L _ { f }$ . We investigate models with different fusion layers, $L _ { f } = 0 , 2 , 4 , 6 , 8 , 1 0 , 1 2$ , and present the results in Fig. 3.2 ",
|
| 781 |
+
"bbox": [
|
| 782 |
+
174,
|
| 783 |
+
185,
|
| 784 |
+
825,
|
| 785 |
+
255
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 6
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "Sharing weights for both modalities: We first investigate the impact of sharing the encoder weights for both modalities (strategy (i) vs (ii)). The results can be found in Fig. 1 in the appendix. When modalities are fused at earlier layers, using separate encoders improves performance. For models with later fusion layers, performance is similar for both models. We hence use separate modality weights for further experiments. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
173,
|
| 794 |
+
256,
|
| 795 |
+
825,
|
| 796 |
+
323
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 6
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "Fusion layer: We then investigate the impact of varying the fusion layer $L _ { f }$ , for the latter two strategies: (ii) Vanilla Cross-Attention and (iii) Bottleneck Fusion. We conduct experiments with $L _ { f } = \\stackrel { \\_ } { 0 } , 2 , 4 , 6 , 8 , 1 0 , 1 2$ . We fix the input span $t$ to 4s and the number of bottleneck tokens $B$ to 4. We conduct 3 runs for each experiment and report mean and std deviation. As can be seen from Fig. 3 (left), ‘mid fusion’ outperforms both early $( L _ { f } = 0 )$ ) and late fusion $( L _ { f } = 1 2 )$ ), with optimal performance obtained by using fusion layer $L _ { f } = 1 0$ for vanilla cross-attention and $L _ { f } = 8$ for bottleneck attention. This suggests that the model benefits from restricting cross-modal connections to later layers, allowing earlier layers to specialise to learning unimodal features, however still benefits from multiple layers of cross-modal information flow. In appendix $\\mathbf { D }$ , we confirm that mid fusion outperforms late fusion across a number of different datasets. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
173,
|
| 805 |
+
324,
|
| 806 |
+
825,
|
| 807 |
+
460
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 6
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "Attention bottlenecks: In Fig. 3, we also examine the effect of bottleneck attention vs vanilla cross-attention for multimodal fusion. We find that for all values of $L _ { f }$ restricting flow to bottlenecks improves or maintains performance, with improvements more prominent at lower values of $L _ { f }$ . At $L _ { f } = 1 0$ , both perform similarly, note that at this stage we only have 3 fusion layers in the model. Our best performing model uses attention bottlenecks with $L _ { f } = 8$ , and we fix this for all further experiments. We also compare the amount of computation, measured in GFLOPs, for both fusion strategies (Fig. 3, right). Using a small number of bottleneck tokens (in our experiments $B = 4$ ) adds negligible extra computation over a late fusion model, with computation remaining largely constant with varying fusion layer $L _ { f }$ . This is in contrast to vanilla cross-fusion, which has a non-negligible computational cost for every layer it is applied to. We note that for early fusion $\\begin{array} { r } { { \\cal L } _ { f } = 0 } \\end{array}$ ), bottleneck fusion outperforms vanilla cross-attention by over $2 \\mathrm { m A P } ,$ , with less than half the computational cost. ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
173,
|
| 816 |
+
462,
|
| 817 |
+
825,
|
| 818 |
+
613
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 6
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "Number of bottleneck tokens $B$ : We experiment with $B = 4$ , 36, 64, 256 and 1024, and find that performance is relatively consistent (all within $0 . 5 \\mathrm { \\ m A P }$ ). We hence fix the number of tokens to $B = 4$ for all experiments. It is interesting that with such a small number of cross-modal connections through only 4 hidden units $B = 4$ ) at each cross-modal layer, we get large performance gains over late fusion (Fig. 3), highlighting the importance of allowing cross-modal information to flow at multiple layers of the model. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
174,
|
| 827 |
+
613,
|
| 828 |
+
825,
|
| 829 |
+
695
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 6
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "4.3.2 Input sampling and dataset size ",
|
| 836 |
+
"text_level": 1,
|
| 837 |
+
"bbox": [
|
| 838 |
+
176,
|
| 839 |
+
712,
|
| 840 |
+
444,
|
| 841 |
+
727
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 6
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "In this section we investigate the impact of different modality sampling strategies. We also compare to single modality baselines – the visual-only and audio-only baselines consist of a vanilla transformer model applied to only the RGB or spectrogram patches respectively. ",
|
| 848 |
+
"bbox": [
|
| 849 |
+
174,
|
| 850 |
+
736,
|
| 851 |
+
825,
|
| 852 |
+
777
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 6
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "Sampling window size $t$ : An advantage of our transformer based model is that we can easily input variable length token sequences. We experiment with varying the sampling window $t$ with the following values $t = 2 , 4 , 6$ and 8 seconds (note that all videos in AudioSet are 10s), and show results in Fig. $\\bar { 4 ^ { 3 } }$ . At inference, we uniformly sample multiple windows covering the entire video. While the number of spectrogram patches $N _ { a }$ changes with $t$ , we keep the number of RGB patches $N _ { v }$ fixed by changing the stride of frames (to avoid running out of memory). Our results indicate that the performance of both the audio and audio-visual fusion model increases with input span, however the performance of the visual-only model slightly decreases (we hypothesize that this is due to the increased fixed stride, meaning fewer frames are randomly sampled during training). We fix $t = 8 s$ in all further experiments. ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
174,
|
| 861 |
+
779,
|
| 862 |
+
825,
|
| 863 |
+
847
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 6
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "image",
|
| 869 |
+
"img_path": "images/b9edffab7708afc79614b4e1edcbfb86b3d50d5eff07fed808b001f22d8ef7e4.jpg",
|
| 870 |
+
"image_caption": [
|
| 871 |
+
"Figure 3: The impact of using attention bottlenecks for fusion on performance (left) and compute (right) at different fusion layers $L _ { f }$ on AudioSet, using clip span $t = 4$ and $B = 4$ bottleneck tokens. Attention bottlenecks improve performance at lower computational cost. "
|
| 872 |
+
],
|
| 873 |
+
"image_footnote": [],
|
| 874 |
+
"bbox": [
|
| 875 |
+
176,
|
| 876 |
+
90,
|
| 877 |
+
821,
|
| 878 |
+
222
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 7
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "image",
|
| 884 |
+
"img_path": "images/78c397a11b2b43241bea996075b0420424a7ff01fc3b19a5640a831630113b57.jpg",
|
| 885 |
+
"image_caption": [
|
| 886 |
+
"Figure 4: The effect of varying input clip span $t$ on the AudioSet test set. "
|
| 887 |
+
],
|
| 888 |
+
"image_footnote": [],
|
| 889 |
+
"bbox": [
|
| 890 |
+
189,
|
| 891 |
+
284,
|
| 892 |
+
472,
|
| 893 |
+
439
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 7
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "image",
|
| 899 |
+
"img_path": "images/52df0536c4b0f292541eff06643a52573084266c8addf3a6b7d36d7642cbfec0.jpg",
|
| 900 |
+
"image_caption": [
|
| 901 |
+
"Figure 5: The effect of training data size on the AudioSet test set. "
|
| 902 |
+
],
|
| 903 |
+
"image_footnote": [],
|
| 904 |
+
"bbox": [
|
| 905 |
+
522,
|
| 906 |
+
282,
|
| 907 |
+
802,
|
| 908 |
+
439
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 7
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "",
|
| 915 |
+
"bbox": [
|
| 916 |
+
174,
|
| 917 |
+
496,
|
| 918 |
+
825,
|
| 919 |
+
564
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 7
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "Synchronous vs asynchronous sampling: Given that auditory and visual events may not always be perfected aligned in videos [32], we also investigate asynchronous sampling of different modalities. Here input windows are sampled independently from the entire video clip for each modality. Results are provided in Fig. 2 in the appendix. We find performance to be largely robust to either case, and so for simplicity we use synchronised sampling for all further experiments. ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
174,
|
| 928 |
+
565,
|
| 929 |
+
825,
|
| 930 |
+
633
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 7
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "Modality MixUp: While applying Mixup regularization [59] to training, we note that there are two different ways to apply it for multimodal inputs – the standard approach is to sample one set of mixup weights from a Beta distribution using the parameter $\\alpha$ , and use it to generate all virtual modality-label pairs [59]. We also explore a modified version which we call modality mixup, which samples an independent weight for each modality. Modality mixup imposes stronger augmentation than standard mixup, leading to a slight improvement $( 4 2 . 6 \\ : \\mathrm { m A P }$ to $4 3 . 9 \\mathrm { m A P }$ ) on AudioSet. ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
174,
|
| 939 |
+
635,
|
| 940 |
+
825,
|
| 941 |
+
717
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 7
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "Impact of dataset size: We show the impact of varying the number of training samples in Fig. 5, and find a monotonic increase with dataset size (more steeply for audio-only than visual-only). ",
|
| 948 |
+
"bbox": [
|
| 949 |
+
174,
|
| 950 |
+
717,
|
| 951 |
+
825,
|
| 952 |
+
744
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 7
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "4.4 Results ",
|
| 959 |
+
"text_level": 1,
|
| 960 |
+
"bbox": [
|
| 961 |
+
174,
|
| 962 |
+
761,
|
| 963 |
+
263,
|
| 964 |
+
775
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 7
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "Comparison to single modality performance: We compare MBT to visual-only and audio-only baselines on AudioSet (Table 1), Epic-Kitchens (Table 2) and VGGSound (Table 3). Note we use the best parameters obtained via the ablations above, i.e. bottleneck fusion with $t = 8$ , $B = 4$ , $F _ { l } = 8$ and modality mixup. For all datasets, multimodal fusion outperforms the higher-performing single modality baseline, demonstrating the value of complementary information. The relative importance of modalities for the classification labels varies (audio-only has higher relative performance for AudioSet and lower for Epic-Kitchens, while both audio and visual baselines are equally strong for VGGSound). This is (unsurprisingly) largely a function of the dataset annotation procedure and positions VGGSound as a uniquely suitable dataset for fusion. We also show that audio-visual fusion provides slight performance gains for traditionally video only datasets such as Kinetics and Moments in Time (details provided in Appendix C ). We also examine per-class performance on the Audioset dataset (Figures 3 and 4 in the Appendix), and find that for the top 60 classes (ranked by overall performance), audio-visual fusion improves performance over audio only or visual only for almost all (57 out of 60) classes, except for ‘bagpiping’, ‘emergency vehicle’ and ‘didgeridoo’ which have strong audio signatures. For classes such as ‘bicycle’ and ‘shuffling cards’ where audio signals are weaker, fusion improves over the audio-only baseline by over $60 \\%$ in absolute AP. ",
|
| 971 |
+
"bbox": [
|
| 972 |
+
174,
|
| 973 |
+
786,
|
| 974 |
+
825,
|
| 975 |
+
911
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 7
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "table",
|
| 981 |
+
"img_path": "images/333428d305c00902c3e8dc2209df8a44b444b6230c5a3c638a647ca99a2ed997.jpg",
|
| 982 |
+
"table_caption": [
|
| 983 |
+
"Table 1: Comparison to SOTA on AudioSet [21]. We report mean average precision (mAP). We outperform works that train on the full Audioset (2M samples), while we train on only $5 0 0 \\mathrm { K }$ samples. "
|
| 984 |
+
],
|
| 985 |
+
"table_footnote": [],
|
| 986 |
+
"table_body": "<table><tr><td>Model</td><td>Training Set</td><td>tAonly</td><td>V only</td><td>AVFusion</td></tr><tr><td>GBlend [56]</td><td>MiniAS</td><td>29.1</td><td>22.1</td><td>37.8</td></tr><tr><td>GBlend [56]</td><td>FullAS-2M</td><td>32.4</td><td>18.8</td><td>41.8</td></tr><tr><td>Attn Audio-Visual[18]</td><td>FullAS-2M</td><td>38.4</td><td>25.7</td><td>46.2</td></tr><tr><td>Perceiver [29]</td><td>FullAS-2M</td><td>38.4</td><td>25.8</td><td>44.2</td></tr><tr><td>MBT</td><td>MiniAS</td><td>31.3</td><td>27.7</td><td>43.9</td></tr><tr><td>MBT</td><td>AS-500K</td><td>44.3</td><td>32.3</td><td>52.1</td></tr></table>",
|
| 987 |
+
"bbox": [
|
| 988 |
+
250,
|
| 989 |
+
88,
|
| 990 |
+
746,
|
| 991 |
+
203
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 8
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "table",
|
| 997 |
+
"img_path": "images/2e147ab4f85de997e76a274860a5bf1486453fdbaf386b8fc5a020b6a9aea0eb.jpg",
|
| 998 |
+
"table_caption": [
|
| 999 |
+
"Table 2: Comparison to SOTA on EpicKitchens-100 [12]. Modalities are A: Audio, V: Visual, F: Optical flow. †Uses pretraining on VGGSound. "
|
| 1000 |
+
],
|
| 1001 |
+
"table_footnote": [],
|
| 1002 |
+
"table_body": "<table><tr><td>Model</td><td>Modalities</td><td>Verb</td><td>Noun</td><td>Action</td></tr><tr><td>Damen et al. [12]</td><td>A</td><td>42.1</td><td>21.5</td><td>14.8</td></tr><tr><td>AudioSlowFast [33]t</td><td>A</td><td>46.5</td><td>22.78</td><td>15.4</td></tr><tr><td>TSN [55]</td><td>V,F</td><td>60.2</td><td>46.0</td><td>33.2</td></tr><tr><td>TRN [60]</td><td>V,F</td><td>65.9</td><td>45.4</td><td>35.3</td></tr><tr><td>TBN [32]</td><td>A,V,F</td><td>66.0</td><td>47.2</td><td>36.7</td></tr><tr><td>TSM[40]</td><td>V,F</td><td>67.9</td><td>49.0</td><td>38.3</td></tr><tr><td>SlowFast [19]</td><td>V</td><td>65.6</td><td>50.0</td><td>38.5</td></tr><tr><td>MBT</td><td>A</td><td>44.3</td><td>22.4</td><td>13.0</td></tr><tr><td>MBT</td><td>V</td><td>62.0</td><td>56.4</td><td>40.7</td></tr><tr><td>MBT</td><td>A,V</td><td>64.8</td><td>58.0</td><td>43.4</td></tr></table>",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
287,
|
| 1005 |
+
270,
|
| 1006 |
+
710,
|
| 1007 |
+
439
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 8
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
173,
|
| 1016 |
+
522,
|
| 1017 |
+
825,
|
| 1018 |
+
619
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 8
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "Comparison to state of the art: We compare MBT to previous fusion methods on AudioSet in Table 1. We outperform all previous works on fusion (even though we only train on a quarter of the training set – 500K samples), including the recently introduced Perceiver [29] which uses early fusion followed by multiple self attention layers, and Attn Audio-Visual [18] which uses self-attention fusion on top of individual modality CNNs. We compare to previous video classification methods on Epic-Kitchens in Table 2, and note that our model outperforms all previous works that use vision only, as well as TBN [32] which uses three modalities - RGB, audio and optical flow. Given VGGSound is a relatively new dataset, we compare to two existing audio-only works4 (Table 3), and set the first audiovisual benchmark (that we are aware of) on this dataset. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
173,
|
| 1027 |
+
619,
|
| 1028 |
+
825,
|
| 1029 |
+
717
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 8
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "table",
|
| 1035 |
+
"img_path": "images/1501ed1b9c217be75cd27072b8ae537abbdee05ad833a6de9fb6687a4d8cfdc3.jpg",
|
| 1036 |
+
"table_caption": [
|
| 1037 |
+
"Table 3: Comparison to the state of the art on VGGSound [10]. Modalities are A: Audio, V: Visual, F: Optical flow. $\\ddagger$ We calculate metrics on our test set for a fair comparison using the scores provided by the authors. "
|
| 1038 |
+
],
|
| 1039 |
+
"table_footnote": [],
|
| 1040 |
+
"table_body": "<table><tr><td>Model</td><td>Modalities</td><td>Top-1 Acc</td><td>Top-5 Acc</td></tr><tr><td>Chen et al‡ [10]</td><td>A</td><td>48.8</td><td>76.5</td></tr><tr><td>AudioSlowFastt [33]</td><td>A</td><td>50.1</td><td>77.9</td></tr><tr><td>MBT</td><td>A</td><td>52.3</td><td>78.1</td></tr><tr><td>MBT</td><td>V</td><td>51.2</td><td>72.6</td></tr><tr><td>MBT</td><td>A,V</td><td>64.1</td><td>85.6</td></tr></table>",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
284,
|
| 1043 |
+
755,
|
| 1044 |
+
714,
|
| 1045 |
+
856
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 8
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "image",
|
| 1051 |
+
"img_path": "images/514c1102137c765a226ed7728c9c0650366fea7402ea28932f1f1ccbd15adb39.jpg",
|
| 1052 |
+
"image_caption": [
|
| 1053 |
+
"Figure 6: Attention Maps. We compute maps of the attention from the output CLS tokens to the RGB image input space for a vanilla self-attention model and MBT on the Audioset test set. For each video clip, we show the original middle frame on the left with the ground truth labels overlayed at the bottom. The attention is particularly focused on sound source regions in the video that contain motion, eg. the fingertips on the piano, the hands on the string instrument, faces of humans. The bottlenecks in MBT further force the attention to be localised to smaller regions of the images (i.e the mouth of the baby on the top left and the mouth of the woman singing on the bottom right). "
|
| 1054 |
+
],
|
| 1055 |
+
"image_footnote": [],
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
173,
|
| 1058 |
+
87,
|
| 1059 |
+
821,
|
| 1060 |
+
268
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 9
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
173,
|
| 1069 |
+
406,
|
| 1070 |
+
821,
|
| 1071 |
+
434
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 9
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Visualisation of attention maps Finally, we compute maps of the attention from the output CLS tokens to the RGB image input space using Attention Rollout [1]. Results on test images for both a vanilla fusion model and MBT trained on Audioset-mini (fusion layer $L _ { f } = 8$ ) are shown in Figure 6. We show the attention maps summed over all the frames in the video clip. We note that first, the model focuses on semantically salient regions in the video for audio classification, particularly regions where there is motion that creates or modifies sound, i.e. the mouth of humans making sounds, fingertips on a piano, hands and instruments. This is unlike state of the art sound source localisation techniques trained with images [9], which tend to highlight the entire object. We further note that the attention maps for MBT are more localised to these regions, showing that the tight bottlenecks do force the model to focus only on the image patches that are actually relevant for the audio classification task and which benefit from early fusion with audio. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
174,
|
| 1080 |
+
435,
|
| 1081 |
+
825,
|
| 1082 |
+
587
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 9
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "5 Conclusion ",
|
| 1089 |
+
"text_level": 1,
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
174,
|
| 1092 |
+
607,
|
| 1093 |
+
297,
|
| 1094 |
+
625
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 9
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "We propose a new transformer architecture (MBT) for audiovisual fusion, and explore a number of different fusion strategies using cross-attention between latent tokens. We propose a novel strategy to restrict cross-modal attention via a small set of fusion ‘bottlenecks’, and demonstrate that this improves performance over vanilla cross-attention at lower computational cost, achieving state of the art results on a number of benchmarks. Future work will involve extending MBT to other modalities such as text and optical flow. ",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
174,
|
| 1103 |
+
638,
|
| 1104 |
+
825,
|
| 1105 |
+
722
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 9
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "Limitations: The fusion layer is a hyperparameter and may need to be tuned specifically for different tasks and datasets. We also only explore fully supervised fusion, and future work will tackle extensions to a self-supervised learning framework. ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
174,
|
| 1114 |
+
723,
|
| 1115 |
+
825,
|
| 1116 |
+
763
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 9
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "Broader impact: Multimodal fusion strategies are important for machine learning, as fusing complementary information from different modalities can increase robustness when applied to real world applications. We also note that transformers are in general compute-heavy, which can have adverse environmental effects. We propose a token fusion method via bottlenecks that helps reduce computational complexity when applying transformers for multimodal fusion. Finally, we observe that training datasets contain biases that may render models trained on them unsuitable for certain applications. It is thus possible that people use classification models (intentionally or not) to make decisions that impact different groups in society differently, and it is important to keep this in mind when deploying, analysing and building upon these models. ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
173,
|
| 1125 |
+
763,
|
| 1126 |
+
825,
|
| 1127 |
+
875
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 9
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
171,
|
| 1136 |
+
92,
|
| 1137 |
+
563,
|
| 1138 |
+
106
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 10
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "Acknowledgements: We would like to thank Joao Carreira for helpful discussions on the Perceiver [29]. ",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
173,
|
| 1147 |
+
118,
|
| 1148 |
+
825,
|
| 1149 |
+
147
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 10
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "References ",
|
| 1156 |
+
"text_level": 1,
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
174,
|
| 1159 |
+
167,
|
| 1160 |
+
266,
|
| 1161 |
+
184
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 10
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "[1] Samira Abnar and Willem Zuidema. Quantifying attention flow in transformers. arXiv preprint arXiv:2005.00928, 2020. \n[2] Hassan Akbari, Linagzhe Yuan, Rui Qian, Wei-Hong Chuang, Shih-Fu Chang, Yin Cui, and Boqing Gong. Vatt: Transformers for multimodal self-supervised learning from raw video, audio and text. NeurIPS, 2021. \n[3] Jean-Baptiste Alayrac, Adrià Recasens, Rosalia Schneider, Relja Arandjelovic, Jason Ramapu- ´ ram, Jeffrey De Fauw, Lucas Smaira, Sander Dieleman, and Andrew Zisserman. Self-supervised multimodal versatile networks. In NeurIPS, 2020. \n[4] Relja Arandjelovic and Andrew Zisserman. Look, listen and learn. In ICCV, 2017. \n[5] Relja Arandjelovic and Andrew Zisserman. Objects that sound. In ECCV, 2018. \n[6] Anurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun, Mario Luciˇ c, and Cordelia ´ Schmid. Vivit: A video vision transformer. ICCV, 2021. \n[7] Yusuf Aytar, Carl Vondrick, and Antonio Torralba. Soundnet: Learning sound representations from unlabeled video. In NeurIPS, 2016. \n[8] Max Bain, Arsha Nagrani, Gül Varol, and Andrew Zisserman. Frozen in time: A joint video and image encoder for end-to-end retrieval. ICCV, 2021. \n[9] Honglie Chen, Weidi Xie, Triantafyllos Afouras, Arsha Nagrani, Andrea Vedaldi, and Andrew Zisserman. Localizing visual sounds the hard way. In CVPR, 2021. \n[10] Honglie Chen, Weidi Xie, Andrea Vedaldi, and Andrew Zisserman. VGGSound: A large-scale audio-visual dataset. In ICASSP, 2020. \n[11] Tsuhan Chen and Ram R Rao. Audio-visual integration in multimodal communication. Proceedings of the IEEE, 86(5):837–852, 1998. \n[12] Dima Damen, Hazel Doughty, Giovanni Maria Farinella, Antonino Furnari, Evangelos Kazakos, Jian Ma, Davide Moltisanti, Jonathan Munro, Toby Perrett, Will Price, et al. Rescaling egocentric vision. arXiv preprint arXiv:2006.13256, 2020. \n[13] Mostafa Dehghani, Alexey Gritsenko, Anurag Arnab, Matthias Minderer, and Yi Tay. Scenic: A JAX library for computer vision research and beyond. arXiv preprint arXiv:2110.11403, 2021. \n[14] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, pages 248–255. Ieee, 2009. \n[15] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In NAACL, 2019. \n[16] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020. \n[17] Ariel Ephrat, Inbar Mosseri, Oran Lang, Tali Dekel, Kevin Wilson, Avinatan Hassidim, William T Freeman, and Michael Rubinstein. Looking to listen at the cocktail party: a speaker-independent audio-visual model for speech separation. ACM Transactions on Graphics (TOG), 37(4):1–11, 2018. \n[18] Haytham M Fayek and Anurag Kumar. Large scale audiovisual learning of sounds with weakly labeled data. arXiv preprint arXiv:2006.01595, 2020. \n[19] Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. Slowfast networks for video recognition. In ICCV, pages 6202–6211, 2019. \n[20] Valentin Gabeur, Chen Sun, Karteek Alahari, and Cordelia Schmid. Multi-modal transformer for video retrieval. In ECCV, volume 5. Springer, 2020. \n[21] Jort F Gemmeke, Daniel PW Ellis, Dylan Freedman, Aren Jansen, Wade Lawrence, R Channing Moore, Manoj Plakal, and Marvin Ritter. Audio set: An ontology and human-labeled dataset for audio events. In ICASSP, pages 776–780. IEEE, 2017. \n[22] Bernard Ghanem, Juan Carlos Niebles, Cees Snoek, Fabian Caba Heilbron, Humam Alwassel, Victor Escorcia, Ranjay Krishna, Shyamal Buch, and Cuong Duc Dao. The activitynet largescale activity recognition challenge 2018 summary. arXiv preprint arXiv:1808.03766, 2018. \n[23] Yuan Gong, Yu-An Chung, and James Glass. AST: audio spectrogram transformer. arXiv preprint arXiv:2104.01778, 2021. \n[24] David Harwath, Antonio Torralba, and James R Glass. Unsupervised learning of spoken language with visual context. NeurIPS, 2017. \n[25] Lisa Anne Hendricks, John Mellor, Rosalia Schneider, Jean-Baptiste Alayrac, and Aida Nematzadeh. Decoupling the role of data, attention, and losses in multimodal transformers. arXiv preprint arXiv:2102.00529, 2021. \n[26] Shawn Hershey, Sourish Chaudhuri, Daniel PW Ellis, Jort F Gemmeke, Aren Jansen, R Channing Moore, Manoj Plakal, Devin Platt, Rif A Saurous, Bryan Seybold, et al. CNN architectures for large-scale audio classification. In ICASSP, pages 131–135. IEEE, 2017. \n[27] Gao Huang, Yu Sun, Zhuang Liu, Daniel Sedra, and Kilian Q Weinberger. Deep networks with stochastic depth. In ECCV, 2016. \n[28] Vladimir Iashin and Esa Rahtu. Multi-modal dense video captioning. In CVPR Workshops, pages 958–959, 2020. \n[29] Andrew Jaegle, Felix Gimeno, Andrew Brock, Andrew Zisserman, Oriol Vinyals, and Joao Carreira. Perceiver: General perception with iterative attention. arXiv preprint arXiv:2103.03206, 2021. \n[30] Aren Jansen, Daniel PW Ellis, Shawn Hershey, R Channing Moore, Manoj Plakal, Ashok C Popat, and Rif A Saurous. Coincidence, categorization, and consolidation: Learning to recognize sounds with minimal supervision. In ICASSP, 2020. \n[31] Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijayanarasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, et al. The kinetics human action video dataset. arXiv preprint arXiv:1705.06950, 2017. \n[32] Evangelos Kazakos, Arsha Nagrani, Andrew Zisserman, and Dima Damen. Epic-fusion: Audiovisual temporal binding for egocentric action recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 5492–5501, 2019. \n[33] Evangelos Kazakos, Arsha Nagrani, Andrew Zisserman, and Dima Damen. Slow-fast auditory streams for audio recognition. In ICASSP, pages 855–859. IEEE, 2021. \n[34] Yelin Kim, Honglak Lee, and Emily Mower Provost. Deep learning for robust feature generation in audiovisual emotion recognition. In ICASSP. IEEE, 2013. \n[35] Sangho Lee, Youngjae Yu, Gunhee Kim, Thomas Breuel, Jan Kautz, and Yale Song. Parameter efficient multimodal transformers for video representation learning. arXiv preprint arXiv:2012.04124, 2020. \n[36] Guang Li, Linchao Zhu, Ping Liu, and Yi Yang. Entangled transformer for image captioning. In ICCV, pages 8928–8937, 2019. \n[37] Jiaman Li, Yihang Yin, Hang Chu, Yi Zhou, Tingwu Wang, Sanja Fidler, and Hao Li. Learning to generate diverse dance motions with transformer. arXiv preprint arXiv:2008.08171, 2020. \n[38] Liunian Harold Li, Mark Yatskar, Da Yin, Cho-Jui Hsieh, and Kai-Wei Chang. Visualbert: A simple and performant baseline for vision and language. arXiv preprint arXiv:1908.03557, 2019. \n[39] Ruilong Li, Shan Yang, David A Ross, and Angjoo Kanazawa. Learn to dance with aist++: Music conditioned 3d dance generation. arXiv preprint arXiv:2101.08779, 2021. \n[40] Ji Lin, Chuang Gan, and Song Han. Temporal shift module for efficient video understanding. 2019 ieee. In ICCV, pages 7082–7092, 2019. \n[41] Jiasen Lu, Dhruv Batra, Devi Parikh, and Stefan Lee. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. In NeurIPS, 2019. \n[42] Mathew Monfort, Alex Andonian, Bolei Zhou, Kandan Ramakrishnan, Sarah Adel Bargal, Tom Yan, Lisa Brown, Quanfu Fan, Dan Gutfreund, Carl Vondrick, et al. Moments in time dataset: one million videos for event understanding. IEEE transactions on pattern analysis and machine intelligence, 42(2):502–508, 2019. \n[43] Jiquan Ngiam, Aditya Khosla, Mingyu Kim, Juhan Nam, Honglak Lee, and Andrew $\\mathrm { ~ Y ~ N ~ g ~ }$ . Multimodal deep learning. In ICML, 2011. \n[44] Andrew Owens and Alexei A Efros. Audio-visual scene analysis with self-supervised multisensory features. In ECCV, 2018. \n[45] Daniel S Park, William Chan, Yu Zhang, Chung-Cheng Chiu, Barret Zoph, Ekin D Cubuk, and Quoc V Le. Specaugment: A simple data augmentation method for automatic speech recognition. arXiv preprint arXiv:1904.08779, 2019. \n[46] Alexander Pashevich, Cordelia Schmid, and Chen Sun. Episodic transformer for vision-andlanguage navigation. In ICCV, 2021. \n[47] Dhanesh Ramachandram and Graham W Taylor. Deep multimodal learning: A survey on recent advances and trends. IEEE Signal Processing Magazine, 34(6):96–108, 2017. \n[48] Justin Salamon and Juan Pablo Bello. Deep convolutional neural networks and data augmentation for environmental sound classification. IEEE Signal Processing Letters, 24(3):279–283, 2017. \n[49] Paul Hongsuck Seo, Arsha Nagrani, and Cordelia Schmid. Look before you speak: Visually contextualized utterances. In CVPR, 2021. \n[50] Linda Smith and Michael Gasser. The development of embodied cognition: Six lessons from babies. Artificial life, 11(1-2):13–29, 2005. \n[51] Chen Sun, Fabien Baradel, Kevin Murphy, and Cordelia Schmid. Learning video representations using contrastive bidirectional transformer. arXiv preprint arXiv:1906.05743, 2019. \n[52] Chen Sun, Austin Myers, Carl Vondrick, Kevin Murphy, and Cordelia Schmid. Videobert: A joint model for video and language representation learning. In ICCV, 2019. \n[53] Efthymios Tzinis, Scott Wisdom, Aren Jansen, Shawn Hershey, Tal Remez, Daniel PW Ellis, and John R Hershey. Into the wild with audioscope: Unsupervised audio-visual separation of on-screen sounds. arXiv preprint arXiv:2011.01143, 2020. \n[54] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017. \n[55] Limin Wang, Yuanjun Xiong, Zhe Wang, Yu Qiao, Dahua Lin, Xiaoou Tang, and Luc Van Gool. Temporal segment networks: Towards good practices for deep action recognition. In ECCV. Springer, 2016. \n[56] Weiyao Wang, Du Tran, and Matt Feiszli. What makes training multi-modal classification networks hard? In CVPR, pages 12695–12705, 2020. \n[57] Fanyi Xiao, Yong Jae Lee, Kristen Grauman, Jitendra Malik, and Christoph Feichtenhofer. Audiovisual slowfast networks for video recognition. arXiv preprint arXiv:2001.08740, 2020. \n[58] Linwei Ye, Mrigank Rochan, Zhi Liu, and Yang Wang. Cross-modal self-attention network for referring image segmentation. In CVPR, 2019. \n[59] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017. \n[60] Bolei Zhou, Alex Andonian, Aude Oliva, and Antonio Torralba. Temporal relational reasoning in videos. In ECCV, pages 803–818, 2018. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
171,
|
| 1170 |
+
176,
|
| 1171 |
+
828,
|
| 1172 |
+
915
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 10
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
171,
|
| 1181 |
+
30,
|
| 1182 |
+
828,
|
| 1183 |
+
920
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 11
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
171,
|
| 1192 |
+
32,
|
| 1193 |
+
828,
|
| 1194 |
+
920
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 12
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
171,
|
| 1203 |
+
90,
|
| 1204 |
+
828,
|
| 1205 |
+
270
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 13
|
| 1208 |
+
}
|
| 1209 |
+
]
|
parse/train/KJ5h-yfUHa/KJ5h-yfUHa_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/KJ5h-yfUHa/KJ5h-yfUHa_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJg9z6VFDr/SJg9z6VFDr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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ORDINARY DIFFERENTIAL EQUATIONS ON GRAPH NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Recently various neural networks have been proposed for irregularly structured data such as graphs and manifolds. To our knowledge, all existing graph networks have discrete depth. Inspired by neural ordinary differential equation (NODE) for data in the Euclidean domain, we extend the idea of continuous-depth models to graphs, and propose graph ordinary differential equation (GODE). The derivative of hidden node states are parameterized with a graph neural network, and the output states are the solution to this ordinary differential equation. Noticing that NODEs are typically trained with the adjoint method, with the advantages of adaptive evaluation and a free-form continuous invertible model; however, their performance on benchmark image classification tasks is significantly inferior to discrete-layer models. We show the reason is adjoint method generates inaccurate gradient due to numerical error in reverse-mode integration. We then propose a memory-efficient framework for free-form ODEs with accurate gradient estimation, which is fundamental to deep-learning models. Furthermore, when applied to invertible blocks, our method achieves constant memory cost with GODE (NODE). We show our method for free-form ODEs generalizes to various model structures and achieves high accuracy for both NODE and GODE in benchmark tasks.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Convolutional neural networks (CNN) have achieved great success in various tasks, such as image classification (He et al., 2016) and segmentation (Long et al., 2015), video processing (Deng et al., 2014) and machine translation (Sutskever et al., 2014). However, CNNs are limited to data that can be represented by a grid in the Euclidean domain, such as images (2D grid) and text (1D grid), which hinders their application in irregularly structured datasets.
|
| 12 |
+
|
| 13 |
+
A graph data structure represents objects as nodes and relations between objects as edges. Graphs are widely used to model irregularly structured data, such as social networks (Kipf & Welling, 2016), protein interaction networks (Fout et al., 2017), citation and knowledge graphs (Hamaguchi et al., 2017). Early works use traditional methods such as random walk (Lovasz et al., 1993), independent ´ component analysis (ICA) (Hyvarinen & Oja, 2000) and graph embedding (Yan et al., 2006) to ¨ model graphs, however their performance is inferior due to the low expressive capacity.
|
| 14 |
+
|
| 15 |
+
Recently a new class of models called graph neural networks (GNN) (Scarselli et al., 2008) were proposed. Inspired by the success of CNNs, researchers generalize convolution operations to graphs to capture the local information. There are mainly two types of methods to perform convolution on a graph: spectral methods and non-spectral methods. Spectral methods typically first compute the graph Laplacian, then perform filtering in the spectral domain (Bruna et al., 2013). Other methods aim to approximate the filters without computing the graph Laplacian for faster speed (Defferrard et al., 2016). For non-spectral methods, the convolution operation is directly performed in the graph domain, aggregating information only from the neighbors of a node (Duvenaud et al., 2015; Atwood & Towsley, 2016). The recently proposed GraphSAGE (Hamilton et al., 2017) learns a convolution kernel in an inductive manner.
|
| 16 |
+
|
| 17 |
+
To our knowledge, all existing GNN models mentioned above have a structure of discrete layers. The discrete structure makes it hard for the GNN to model continuous diffusion processes (Freidlin & Wentzell, 1993; Kondor & Lafferty, 2002) in graphs. The recently proposed neural ordinary differential equation (NODE) (Chen et al., 2018) views a neural network as an ordinary differential equation (ODE), whose derivative is parameterized by the network, and the output is the solution to this ODE. We extend NODE from the Euclidean domain to graphs and propose graph ordinary differential equations (GODE), where the message propagation on a graph is modeled as an ODE.
|
| 18 |
+
|
| 19 |
+
NODEs are typically trained with adjoint method. NODEs have the advantages of adaptive evaluation, accuracy-speed control by changing error tolerance, and are free-form continuous invertible models (Chen et al., 2018; Grathwohl et al., 2018). However, to our knowledge, in benchmark image classification tasks, NODEs are significantly inferior to state-of-the-art discrete-layer models (error rate: $19 \%$ for NODE vs $7 \%$ for ResNet18 on CIFAR10) (Dupont et al., 2019; Gholami et al., 2019). In this work, we show this is caused by error in gradient estimation during training of NODE, and propose a memory-efficient framework for accurate gradient estimation. We demonstrate our framework for free-form ODEs generalizes to various model structures, and achieves high accuracy for both NODE and GODE in benchmark tasks. Our contribution can be summarized as follows:
|
| 20 |
+
|
| 21 |
+
1. We propose a framework for free-form NODEs to accurately estimate the gradient, which is fundamental to deep-learning models. Our method significantly improves the performance on benchmark classification (reduces test error from $19 \%$ to $5 \%$ on CIFAR10).
|
| 22 |
+
|
| 23 |
+
2. Our framework is memory-efficient for free-form ODEs. When applied to restricted-form invertible blocks, the model achieves constant memory usage.
|
| 24 |
+
|
| 25 |
+
. We generalize ODE to graph data and propose GODE models.
|
| 26 |
+
|
| 27 |
+
4. We demonstrate improved performance on different graph models and various datasets.
|
| 28 |
+
|
| 29 |
+
# 2 RELATED WORKS
|
| 30 |
+
|
| 31 |
+
# 2.1 NEURAL NETWORKS AND DIFFERENTIAL EQUATIONS
|
| 32 |
+
|
| 33 |
+
There have been efforts to view neural networks as differential equations. Lu (2017) viewed a residual network as a discretization of a differential equation and proposed several new architectures based on numerical methods in ODE solver. Haber & Ruthotto (2017) proposed a stable architecture based on analysis of the ODE. Chen et al. (2018) proposed neural ordinary differential equation (NODE), which treats the neural network as a continuous ODE. NODE was later used in a continuous normalizing flow for generative models (Grathwohl et al., 2018).
|
| 34 |
+
|
| 35 |
+
There have been many studies on the training of NODE. The adjoint method has long been widely used in optimal control (Stapor et al., 2018) and geophysical problems (Plessix, 2006), and recently applied to ODE (Chen et al., 2018). Dupont et al. (2019) proposed augmented neural ODEs to improve the expressive capacity of NODEs. However, to our knowledge, none of the methods above discusses the inaccurate gradient estimation issue; empirical performances of NODE in benchmark classification tasks are significantly inferior to state-of-the-art discrete-layer models.
|
| 36 |
+
|
| 37 |
+
# 2.2 GRAPH NEURAL NETWORKS
|
| 38 |
+
|
| 39 |
+
GNNs can be divided into two categories: spectral methods and non-spectral methods. Spectral GNNs perform filtering in the Fourier domain of a graph, thus need information of the whole graph to determine the graph Laplacian. In contrast, non-spectral GNNs only consider message aggregation around neighbor nodes, therefore are localized and generally require less computation (Zhou et al., 2018).
|
| 40 |
+
|
| 41 |
+
We first briefly introduce several spectral methods. Bruna et al. (2013) first introduced graph convolution in the Fourier domain based on the graph Laplacian, however the computation burden is heavy because of non-localized filters. Henaff et al. (2015) incorporated a graph estimation procedure in spectral networks and parameterized spectral filters into a localized version with smooth coefficients. Defferrard et al. (2016) used Chebyshev expansion to approximate the filters without the need to compute the graph Laplacian and its eigenvectors, therefore significantly accelerated the running speed. Kipf & Welling (2016) proposed to use a localized first-order approximation of graph convolution on graph data and achieved superior performance in semi-supervised tasks for node classification. Defferrard et al. (2016) proposed fast localized spectral filtering on graphs.
|
| 42 |
+
|
| 43 |
+
Non-spectral methods typically define convolution operations on a graph, only considering neighbors of a certain node. MoNet (Monti, 2017) uses a mixture of CNNs to generalize convolution to graphs. GraphSAGE (Hamilton et al., 2017) samples a fixed size of neighbors for each node for fast localized inference. Graph attention networks (Velickovi ˇ c et al., 2017) learn different weights ´ for different neighbors of a node. The graph isomorphism network (GIN) (Xu et al., 2018) has a structure as expressive as the Weisfeiler-Lehman graph isomorphism test.
|
| 44 |
+
|
| 45 |
+
# 2.3 INVERTIBLE BLOCKS
|
| 46 |
+
|
| 47 |
+
Invertible blocks are a family of neural network blocks whose forward function is a bijective mapping. Therefore, the input to a bijective block can be accurately reconstructed from its outputs. Invertible blocks have been used in normalizing flow (Rezende & Mohamed, 2015; Dinh, 2016; Kingma & Dhariwal, 2018; Dinh et al., 2014; Kingma et al., 2016), where the model is required to be invertible in order to calculate the log-density of data distribution. Later on, Jacobsen et al. (2018) used bijective blocks to build invertible networks. Gomez et al. (2017) proposed to use invertible blocks to perform back propagation without storing activation, which achieves a memory-efficient network structure. They were able to discard activation of middle layers, because each layer’s activation can be reconstructed from the next layer with invertible blocks.
|
| 48 |
+
|
| 49 |
+
# 3 ACCURATE GRADIENT ESTIMATION FOR TRAINING OF NODE
|
| 50 |
+
|
| 51 |
+
# 3.1 FROM DISCRETE MODELS TO CONTINUOUS MODELS
|
| 52 |
+
|
| 53 |
+
We first consider discrete-layer models with residual connection (He et al., 2016), which can be represented as:
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
x _ { k + 1 } = x _ { k } + f _ { k } ( x _ { k } )
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
where $x _ { k }$ is the states in the $k$ th layer; $f _ { k } ( \cdot )$ is any differentiable function whose output has the same shape as its input.
|
| 60 |
+
|
| 61 |
+
When we add more layers with shared weights, and let the stepsize in Eq. 1 go to infinitesimal, the difference equation turns into a neural ordinary differential equation (NODE) (Chen et al., 2018):
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
\frac { \mathrm { d } \boldsymbol { z } ( t ) } { \mathrm { d } t } = \boldsymbol { f } ( \boldsymbol { z } ( t ) , t )
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
We use $z ( t )$ in the continuous case and $x _ { k }$ in the discrete case to represent hidden states. $f ( \cdot )$ is the derivative parameterized by a network. Note that a key difference between Eq. 1 and 2 is the form of $f$ : in the discrete case, different layers (different $k$ values) have their own function $f _ { k }$ ; while in the continuous case, $f$ is shared across all time $t$ .
|
| 68 |
+
|
| 69 |
+
The forward pass of model with discrete layers can be written as:
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
x _ { 0 } = i n p u t , x _ { 1 } = x _ { 0 } + f _ { 0 } ( x _ { 0 } ) , . . . , x _ { K } = x _ { K - 1 } + f _ { K - 1 } ( x _ { K - 1 } )
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
where $K$ is the total number of layers. Then an output layer (e.g. fully-connected layer for classification) is applied on $x _ { K }$ .
|
| 76 |
+
|
| 77 |
+
The forward pass of a NODE is:
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
z ( T ) = z ( 0 ) + \int _ { t = 0 } ^ { T } { \frac { \mathrm { d } z ( t ) } { \mathrm { d } t } } \mathrm { d } t = \operatorname* { i n p u t } + \int _ { t = 0 } ^ { T } f ( z ( t ) , t ) \mathrm { d } t
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
where $z ( 0 ) =$ input and $T$ is the integration time, corresponding to number of layers $K$ in the discrete case. The transformation of states $z$ is modeled as the solution to the NODE. Then an output layer is applied on $z ( T )$ . Integration in the forward pass can be performed with any ODE solver, such as the Euler Method, Runge-Kutta Method, VODE solver and Dopris Solver (Milne & Milne, 1953; Brown et al., 1989; Ascher et al., 1997).
|
| 84 |
+
|
| 85 |
+
# 3.2 BACK-PROP WITH ADJOINT METHOD IS SENSITIVE TO NUMERICAL ERROR
|
| 86 |
+
|
| 87 |
+
The adjoint method is widely used in optimal process control and functional analysis (Stapor et al., 2018; Pontryagin, 2018). We follow the method by (Chen et al., 2018). Denote model parameters as $\theta$ , which is independent of time. Define the adjoint as:
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
a ( t ) = { \frac { \partial L } { \partial z ( t ) } }
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+

|
| 94 |
+
Figure 1: Comparison of two methods for back-propagation on NODE. As in figure (a), the ODE solver is discretized at points $\left\{ t _ { 0 } , t _ { 1 } , . . . , t _ { N } \right\}$ during forward pass. Black dashed curve shows hidden state solved in forward-time, denoted as $z ( t )$ . Figure (b) shows the adjoint method, red solid line shows the hidden state solved in reverse-time, denoted as $h ( t )$ . Ideally $z ( t ) = h ( t )$ and dashed curve overlaps with solid curve; however, the reverse-time solution could be numerically unstable, and causes $z ( t ) \neq h ( \bar { t } )$ , thus causes error in gradient. Figure (c) shows the direct back-propagation through ODE solver. In direct back-propagation, we save evaluation time points $\left\{ t _ { 0 } , t _ { 1 } , . . . t _ { N } \right\}$ during forward pass; during backward pass, we re-build the computation graph by directly evaluating at the same time points. In this way, $z ( t _ { i } ) = h ( t _ { i } )$ . Since the hidden state can be accurately reconstructed, the gradient can be accurately evaluated.
|
| 95 |
+
|
| 96 |
+
where $L$ is the loss function. Then we have
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\frac { \mathrm { d } a ( t ) } { \mathrm { d } t } = - a ( t ) ^ { T } \frac { \partial f ( z ( t ) , t , \theta ) } { z ( t ) } , \quad \frac { \mathrm { d } L } { \mathrm { d } \theta } = - \int _ { T } ^ { 0 } a ( t ) ^ { T } \frac { \partial f ( z ( t ) , t , \theta ) } { \partial \theta } \mathrm { d } t
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
with detailed proof from optimization perspective in appendix F. Then we can perform gradient descent to optimize $\theta$ to minimize $L$ . Eq. 6 is a reverse-time integration, which can be solved with any ODE solver (Chen et al., 2018). To evaluate $\frac { \partial f ( { \boldsymbol { z } } ( t ) , t , \theta ) } { \partial \theta }$ , we need to determine $z ( t )$ by solving Eq. 2 reverse-time (Directly storing $z ( t )$ during forward pass requires a large memory consumption, because the continuous model is equivalent to an infinite-layer model). To summarize, in the forward pass we solve Eq. 2 forward in time; in the backward pass, we solve Eq. 2 and 6 reverse in time, with initial condition determined from Eq. 5 at time $T$ .
|
| 103 |
+
|
| 104 |
+
We give an intuition why the reverse-time ODE solver causes inaccurate gradient in adjoint methods. The backward pass (Eq. 6) requires determining $f ( z ( t ) , t , \theta )$ and $\frac { \partial \mathbf { \tilde { f } } ( \boldsymbol { z } ( t ) , t , \theta ) } { \partial \theta }$ , which requires determining $z ( t )$ by solving Eq. 2 reverse-time. As shown in Fig. 1 (a,b), the hidden state solved forward-time $( z ( t _ { i } ) )$ and the hidden state solved reverse-time $( h ( t _ { i } ) )$ may not be equal; this could be caused by the instability of reverse-time ODE, and is represented by the mismatch between $z ( t )$ (dashed curve) and $h ( t )$ (solid curve). Error $h ( t ) - z ( t )$ will cause error in gradient $\frac { \mathrm { d } L } { \mathrm { d } \theta }$
|
| 105 |
+
|
| 106 |
+
Proposition 1 For an ODE in the form $\begin{array} { r } { \frac { \mathrm { d } \boldsymbol { z } ( t ) } { \mathrm { d } t } = \boldsymbol { f } ( \boldsymbol { z } ( t ) , t ) , } \end{array}$ , denote the Jacobian of $f$ as $J _ { f }$ . If this ODE is stable both in forward-time and reverse-time, then $\operatorname { R e } ( \lambda _ { i } ( J _ { f } ) ) = 0 ~ \forall i$ , where $\lambda _ { i } ( J _ { f } )$ is the ith eigenvalue of $J _ { f }$ , and $\mathrm { R e } ( \lambda )$ is the real part of $\lambda$ .
|
| 107 |
+
|
| 108 |
+
Detailed proof is in appendix C. Proposition 1 indicates that if the Jacobian of the original system Eq. 2 has eigenvalues whose real-part are not 0, then either the reverse-time or forward-time ODE is unstable. When $| \mathrm { R e } ( \lambda ) |$ is large, either forward-time or reverse-time ODE is sensitive to numerical errors. This phenomenon is also addressed in Chang et al. (2018). This instability affects the accuracy of solution to Eq. 2 and 6, thus affects the accuracy of the computed gradient.
|
| 109 |
+
|
| 110 |
+
# 3.3 MEMORY-EFFICIENT DIRECT BACK-PROPAGATION THROUGH ODE SOLVER
|
| 111 |
+
|
| 112 |
+
The adjoint method might be sensitive to numerical errors when solving the ODE in reverse-time.
|
| 113 |
+
To resolve this, we propose to directly back-propagate through the ODE solver.
|
| 114 |
+
|
| 115 |
+
As in Fig. 1(a), the ODE solver uses discretization for numerical integration, evaluated at time points $\left\{ t _ { 0 } , t _ { 1 } , . . . t _ { N } \right\}$ . Fig. 1(c) demonstrates the direct back-propagation with accurate hidden states $h ( t _ { i } )$ , which can be achieved with two methods: (1) the activation $z ( t _ { i } )$ can be saved in cache for back-prop, but requires huge memory; or (2) we can accurately reconstruct $z ( t _ { i } )$ by re-building the computation graph directly at evaluated time points $\{ t _ { i } \}$ . Since the model is evaluated at the same time points $t _ { i }$ in forward-time, it’s guaranteed that $\dot { z } ( \dot { t } _ { i } ) ~ = ~ h ( t _ { i } )$ . Therefore direct back-prop is accurate, regardless of the stability of Eq. 2.
|
| 116 |
+
|
| 117 |
+
Similar to the continuous case, we can define the adjoint with discrete time. Then we have:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
a _ { i } = \frac { \partial L } { \partial z ( t _ { i } ) } , \quad a _ { i + 1 } = a _ { i } \frac { \partial z ( t _ { i + 1 } ) } { \partial z ( t _ { i } ) } , \quad \frac { \mathrm { d } L } { \mathrm { d } \theta } = \sum _ { i = 1 } ^ { N } a _ { i } \frac { \partial z ( t _ { i } ) } { \partial \theta }
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
where $a _ { i }$ is the adjoint for the ith step in discrete forward-time ODE solution. Eq. 7 can be viewed as a numerical discretization of Eq. 6. We show Eq. 6 can be derived from an optimization perspective. Detailed derivations of Eq. 6-7 are in appendix E and F.
|
| 124 |
+
|
| 125 |
+
# Algorithm 1: Algorithm for accurate gradient estimation in ODE solver for free-form functions
|
| 126 |
+
|
| 127 |
+
Define model $\begin{array} { r } { \frac { \mathrm { d } \boldsymbol { z } ( t ) } { \mathrm { d } t } = \boldsymbol { f } ( \boldsymbol { z } ( t ) , t ) } \end{array}$ , where $f$ is a free-form function. Denote integration time as $T$
|
| 128 |
+
|
| 129 |
+
Forward $( f , T , z _ { 0 } , t o l e r a n c e ) \colon$ : $t = 0 , z = z _ { 0 }$ $s t a t e _ { 0 } = f . s t a t e \_ d i c t ( )$ , cache.save $\left( s t a t e _ { 0 } \right)$ Select initial step size $h = h _ { 0 }$ (adaptively with adaptive step-size solver). time points $: =$ empty list() While $t < T$ : state = f.state dict(), accept step = F alse While Not accept step: $f$ .load state dict(state) with grad disabled: $z . n e w , e r r o r \_ e s t i m a t e = s t e p ( f , z , t , h )$ If error estimate $<$ tolerance: accept step = T rue $\ z = z . n e w , \ t = t + h , \ t i m e \mathrm { - } p o i n t s . a p p e n d ( t )$ else: reduce stepsize $h$ according to error estimate delete $z$ new, error estimate and related local computation graph cache.save(time points) return $z$ , cache
|
| 130 |
+
Backward $( f , T , z _ { 0 } , t o l e r a n c e , c a c h e )$ : $\left\{ t _ { 0 } , t _ { 1 } , t _ { 2 } , . . . t _ { N - 1 } , t _ { N } \right\} = c a c$ che.time points For $t _ { i }$ in $\left\{ t _ { 0 } , t _ { 1 } , t _ { 2 } , . . . t _ { N - 1 } , t _ { N } \right\}$ : $z ( t _ { i + 1 } ) = s t e p ( f , z ( t _ { i } ) , t _ { i } , s t e p = t _ { i + 1 } - t _ { i } )$ For $t _ { i }$ in $\left\{ t _ { N } , t _ { N - 1 } , . . . , t _ { 1 } , t _ { 0 } \right\}$ : Determine $\begin{array} { r } { a ( t _ { i } ) = \frac { \partial L } { \partial z ( t _ { i } ) } } \end{array}$ and $\frac { \partial z ( t _ { i } ) } { \partial { \theta } }$ dLdθ PNi=1 ai ∂z(ti∂θ return dL dθ
|
| 131 |
+
|
| 132 |
+
Details of our method are summarized in Algorithm 1. We discuss its properties below:
|
| 133 |
+
|
| 134 |
+
Summary of the algorithm (1) During forward pass, the solver performs a numerical integration, with the stepsize adaptively varying with error estimation. (2) During forward pass, the solver outputs the integrated value, and the evaluation time points $\{ t _ { i } \}$ . All middle activations are deleted to save memory. (3) During backward pass, the solver re-builds the computation graph, by directly evaluating at saved time points, without adaptive searching. (4) During backward pass, the solver performs a numerical version (Eq. 7) of reverse-time integration (Eq. 6).
|
| 135 |
+
|
| 136 |
+
Support for free-form continuous dynamics There’s no constraint on the form of $f$ . Therefore, our algorithm is a generic method.
|
| 137 |
+
|
| 138 |
+
Memory consumption analysis (1) Suppose $f$ has $N _ { f }$ layers, the number of forward evaluation step is $N _ { t }$ on average, and the evaluations to adaptively search for an optimal stepsize is $K$ . A naive solver will take ${ \bar { O ( N _ { f } \times N _ { t } \times K ) } }$ , while our method consumes $O ( N _ { f } \times N _ { t } )$ because all middle activations are deleted during forward pass, and we don’t need to search for optimal stepsize in backward pass. (2) If we perform step-wise checkpoint method, where we only store $z ( t _ { i } )$ for all $t _ { i }$ , and compute the gradient $\frac { \partial z ( t _ { i + 1 } ) } { \partial z ( t _ { i } ) }$ for one $t _ { i }$ at a time, then the memory consumption can be reduced to $O ( N _ { f } + N _ { t } )$ . (3) Since the solver can handle free-form functions, it can also handle restricted form invertible block (see below). In this case, we don’t need to store $z ( t _ { i } )$ , and the memory consumption can reduce to $O ( N _ { f } )$ .
|
| 139 |
+
|
| 140 |
+
More memory-efficient solver with invertible blocks Restricting the form of $f$ to invertible blocks (Gomez et al., 2017) allows for $O ( N _ { f } )$ memory consumption. For invertible blocks, input $x$ is split into two parts $( x _ { 1 } , x _ { 2 } )$ of the same size (e.g. $x$ has shape $N \times C$ , where $N$ is batch size, $C$ is channel number; we can split $x$ into $x _ { 1 }$ and $x _ { 2 }$ with shape $N \times { \frac { C } { 2 } } .$ ). The forward and inverse of a bijective block can be denoted as:
|
| 141 |
+
|
| 142 |
+
$$
|
| 143 |
+
\left\{ \begin{array} { c } { { y _ { 2 } = \psi { \Big ( } x _ { 2 } , F ( x _ { 1 } ) { \Big ) } } } \\ { { y _ { 1 } = \psi { \Big ( } x _ { 1 } , G ( y _ { 2 } ) { \Big ) } } } \end{array} \right. \left\{ \begin{array} { c } { { x _ { 1 } = \psi ^ { - 1 } { \Big ( } y _ { 1 } , G ( y _ { 2 } ) { \Big ) } } } \\ { { x _ { 2 } = \psi ^ { - 1 } { \Big ( } y _ { 2 } , F ( x _ { 1 } ) { \Big ) } } } \end{array} \right.
|
| 144 |
+
$$
|
| 145 |
+
|
| 146 |
+
where the output of a bijective block is denoted as $( y _ { 1 } , y _ { 2 } )$ with the same size as $( x _ { 1 } , x _ { 2 } )$ . $F$ and $G$ are any differentiable neural networks, whose output has the same shape as the input. $\psi ( \alpha , \beta )$ is a differentiable bijective function $w . r . t \alpha$ when $\beta$ is given; $\psi ^ { - 1 } ( \alpha , \beta )$ is the inverse function of $\psi$ .
|
| 147 |
+
|
| 148 |
+
Theorem 1 If $\psi ( \alpha , \beta )$ is a bijective function w.r.t $\alpha$ when $\beta$ is given, then the block defined by Eq. 8 is a bijective mapping.
|
| 149 |
+
|
| 150 |
+
Proof of Theorem 1 is given in appendix D. Based on this, we can apply different $\psi$ functions for different tasks. Since $x$ can be accurately reconstructed from $y$ , there’s no need to store activations, hence is memory-efficient. Details for back-prop without storing activation are in appendix $\mathbf { B }$ .
|
| 151 |
+
|
| 152 |
+
# 4 NEURAL ORDINARY DIFFERENTIAL EQUATION ON GRAPH NETWORKS
|
| 153 |
+
|
| 154 |
+
We first introduce graph neural networks with discrete layers, then extend to the continuous case and introduce graph ordinary differential equations (GODE).
|
| 155 |
+
|
| 156 |
+
# 4.1 MESSAGE PASSING IN GNN
|
| 157 |
+
|
| 158 |
+
As shown in Fig. 2, a graph is represented with nodes (marked with circles) and edges (solid lines). We assign a unique color to each node for ease of visualization. Current GNNs can generally be represented in a message passing scheme (Fey & Lenssen, 2019):
|
| 159 |
+
|
| 160 |
+
$$
|
| 161 |
+
m e s s a g e _ { ( v , u ) } = \phi ^ { ( k ) } ( x _ { k - 1 } ^ { u } , x _ { k - 1 } ^ { v } , \mathbf { e } _ { u , v } )
|
| 162 |
+
$$
|
| 163 |
+
|
| 164 |
+
$$
|
| 165 |
+
a g g r e g a t i o n _ { u } = \zeta _ { v \in N ( u ) } ( m e s s a g e _ { ( v , u ) } )
|
| 166 |
+
$$
|
| 167 |
+
|
| 168 |
+
$$
|
| 169 |
+
x _ { k } ^ { u } = \gamma ^ { ( k ) } ( x _ { k - 1 } ^ { u } , a g g r e g a t i o n _ { u } )
|
| 170 |
+
$$
|
| 171 |
+
|
| 172 |
+
where $x _ { k } ^ { u }$ represents states of the uth node in the graph at $k$ th layer and $\mathbf { e } _ { u , v }$ represents the edge between nodes $u$ and $v$ . $\mathcal { N } ( u )$ represents the set of neighbor nodes for node $u$ . $\zeta$ represents a differentiable, permutation invariant operation such as mean, max or sum. $\gamma ^ { ( k ) }$ and $\phi ^ { ( k ) }$ are differentiable functions parameterized by neural networks.
|
| 173 |
+
|
| 174 |
+
For a specific node $u$ , a GNN can be viewed as a 3-stage model, corresponding to Eq. 9-11: (1) Message passing, where neighbor nodes $v \in \mathcal { N } ( u )$ send information to node $u$ , denoted by $m e s s a g e _ { ( v , u ) }$ . The message is generated from function $\phi ( \cdot )$ , parameterized by a neural network. (2) Message aggregation, where a node $u$ aggregates all messages from its neighbors $\mathcal { N } ( u )$ , denoted as aggregationu. The aggregation function $\zeta$ is typically permutation invariant operations such as mean and sum, because graphs are invariant to permutation. (3) Update, where the states of a node are updated according to its original states $x _ { k - 1 } ^ { u }$ and aggregation of messages aggregationu, denoted as $\gamma ( \cdot )$ .
|
| 175 |
+
|
| 176 |
+
# 4.2 CONTINUOUS-TIME MODELS ON GRAPHS
|
| 177 |
+
|
| 178 |
+
We can convert a discrete-time GNN to continuous-time GNN by replacing $f$ in Eq. 2 with the message passing process defined in Eq. 9 to 11, which we call graph ordinary differential equation (GODE). A diagram of GODE is shown in Fig. 2. Because GODE is an ODE in nature, it can capture highly non-linear functions, thus has the potential to outperform its discrete-layer counterparts.
|
| 179 |
+
|
| 180 |
+
We demonstrate that the asymptotic stability of GODE could be related to the over-smoothing phenomena (Li et al., 2018). It’s demonstrated that graph convolution is a special case of Laplacian smoothing (Li et al., 2018), which can be written as $\bar { Y } = ( I - \gamma \tilde { D } ^ { - 1 / 2 } \tilde { L } \tilde { D } ^ { - 1 / 2 } ) X$ where $X$ and $Y$ are the input and output of a graph-conv layer respectively, ${ \tilde { A } } = A + I$ where $A$ is the adjacency matrix, and $\tilde { D }$ is the corresponding degree matrix of $\tilde { A }$ , and $\gamma$ is a positive scaling constant.
|
| 181 |
+
|
| 182 |
+
When modified from a discrete model to a continuous model, the continuous smoothing process is:
|
| 183 |
+
|
| 184 |
+
$$
|
| 185 |
+
\frac { d X } { d t } = - \gamma \tilde { D } ^ { - 1 / 2 } \tilde { L } \tilde { D } ^ { - 1 / 2 } X
|
| 186 |
+
$$
|
| 187 |
+
|
| 188 |
+
Since all eigenvalues of the symmetrically normalized Laplacian are real and non-negative, then all eigenvalues of the above ODE are real and non-positive. Suppose all eigenvalues of the normalized Laplacian are non-zero. In this case, the ODE has only negative eigenvalues, hence the ODE above is asymptotically stable (Lyapunov, 1992). Hence as time $t$ grows sufficiently large, all trajectories are close enough. In the experiments, this suggests if integration time $T$ is large enough, all nodes (from different classes) will have very similar features, thus the classification accuracy will drop.
|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
Figure 2: Diecrete-time and continuous-time models on a graph. Nodes are represented with circles, and each node is represented with a unique color. Edges are represented with solid lines. For discrete-time models in (a), the hidden states of nodes are updated with discrete steps. For continuous-time models in (b), hidden states of each node evolves continuously with time. The dynamics of nodes are represented with dashed lines, with the same color as corresponding nodes.
|
| 192 |
+
|
| 193 |
+
# 5 EXPERIMENTS
|
| 194 |
+
|
| 195 |
+
# 5.1 DATASETS
|
| 196 |
+
|
| 197 |
+
To evaluate our method on general NODE, we conducted experiments with a CNN-NODE on two benchmark image classification tasks (CIFAR10 and CIFAR100) (Krizhevsky et al., 2009).
|
| 198 |
+
|
| 199 |
+
We also evaluated our method on benchmark graph datasets, including 2 bioinformatic graph classification datasets (MUTAG and PROTEINS), 2 social network graph classification datasets (IMDBBINRAY, REDDIT-BINARY) (Yanardag & Vishwanathan, 2015), and 3 citation networks (Cora, CiteSeer and PubMed). For graph classification tasks, different from the experiment settings in $\mathrm { X u }$ et al. (2018), we input the raw dataset into our models without pre-processing. For node classification tasks, we performed transductive inference and strictly followed the train-validation-test split by Kipf & Welling (2016), where less than $6 \%$ nodes are used as training examples. Details of datasets are summarized in appendix A.
|
| 200 |
+
|
| 201 |
+
# 5.2 MODEL STRUCTURES
|
| 202 |
+
|
| 203 |
+
For image classification tasks, we directly modify a ResNet18 into its corresponding NODE model. For each block, the function is $\begin{array} { r } { \frac { d z ( t ) } { d t } \stackrel { \cdot } { = } \stackrel { \cdot } { f } ( z ( t ) ) } \end{array}$ where $f$ is a sequence of $c o n v \mathrm { ~ - ~ } b n \mathrm { ~ - ~ } r e l u \mathrm { ~ - ~ }$ $c o n v - b n - r e l u$ layers. $f$ is the same as residual branch in ResNet, and it can be replaced with any free-form functions.
|
| 204 |
+
|
| 205 |
+
<table><tr><td rowspan="2"></td><td colspan="5">Ours</td><td colspan="4">Literature</td></tr><tr><td></td><td>Adaptive Stepsize Solvers</td><td></td><td>Fixed stepsize solvers</td><td></td><td>adjoint-ODE</td><td>ResNet18</td><td>ResNet50</td><td>ResNet101</td></tr><tr><td>CIFAR10</td><td>Heun-Euler</td><td>RK23</td><td>RK45</td><td>Euler</td><td>RK2 RK4</td><td></td><td></td><td></td><td></td></tr><tr><td>CIFAR100</td><td>4.85 22.66</td><td>4.92 24.13</td><td>5.29 23.56</td><td>5.52 24.44</td><td>5.27 5.24 24.44 24.43</td><td>19.2 37.6</td><td>6.98 27.08</td><td>6.38 25.73</td><td>6.25 24.84</td></tr></table>
|
| 206 |
+
|
| 207 |
+
Table 1: Error rate on test set. “Ours” represent NODE models directly modified from ResNet18, trained with Heun-Euler solver, but tested with different solvers. “Adjoint” is the result when trained and tested with adjoint method, reported by (Gholami et al., 2019). We also report results from standard ResNet.
|
| 208 |
+
|
| 209 |
+
Table 2: Accuracy of adjoint method and direct back-prop, for a GODE model with GCN as the derivative function.
|
| 210 |
+
|
| 211 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>MUTAG</td><td rowspan=1 colspan=1>PROTEINS</td><td rowspan=1 colspan=1>IMDB</td><td rowspan=1 colspan=1>REDDIT</td></tr><tr><td rowspan=1 colspan=1>adjoint</td><td rowspan=1 colspan=1>68.1± 4.6</td><td rowspan=1 colspan=1>67.0±3.7</td><td rowspan=1 colspan=1>72.1±0.4</td><td rowspan=1 colspan=1>69.5±5.9</td></tr><tr><td rowspan=1 colspan=1>ours</td><td rowspan=1 colspan=1>80.8±8.3</td><td rowspan=1 colspan=1>73.9±3.1</td><td rowspan=1 colspan=1>74.6±5.1</td><td rowspan=1 colspan=1>92.4±2.1</td></tr></table>
|
| 212 |
+
|
| 213 |
+
For tasks on graph datasets, GODE can be applied to any graph neural network by simply replacing $f$ in Eq. 2 with corresponding structures (free-form functions), or replacing $F , G$ in Eq. 8 with other structures (invertible blocks). To demonstrate that GODE is easily generalized to existing structures, we used several different GNN architectures, including the graph convolutional network (GCN) (Kipf & Welling, 2016), graph attention network (GAT) (Velickovi ˇ c et al., 2017), graph ´ network approximated with Chebyshev expansion (ChebNet) (Defferrard et al., 2016), and graph isomorphism network (GIN) (Xu et al., 2018). For a fair comparison, we trained GNNs with different depths of layers (1-3 middle layers, besides an initial layer to transform data into specified channels, and a final layer to generate prediction), and reported the best results among all depths for each model structure.
|
| 214 |
+
|
| 215 |
+
On the same task, different models use the same hyper-parameters on model structures, such as channel number. For graph classification tasks, we set the channel number of hidden layers as 32 for all models; for ChebNet, we set the number of hops as 16. For node classification tasks, we set the channel number as 16 for GCN and ChebNet, and set number of hops as 3 for ChebNet; for GAT, we used 8 heads, and set each head as 8 channels.
|
| 216 |
+
|
| 217 |
+
For every GNN structure, we experimented with different number of hidden layers (1,2,3), and calculated the mean and variance of accuracy of 10 runs.
|
| 218 |
+
|
| 219 |
+
# 5.3 COMPARISON OF BACK-PROPAGATION METHODS
|
| 220 |
+
|
| 221 |
+
We compared the adjoint method and direct back-propagation on the same network, and demonstrated direct back-prop generates higher accuracy. For CNN-NODE on classification tasks, we directly modify a ResNet18 into NODE18, and report resuls in Table. 1; for graph networks, we train a GODE model with a GCN to parameterize the derivative, and report results in Table. 2.
|
| 222 |
+
|
| 223 |
+
Empirical performance Direct back-propagation consistently outperformed the adjoint method for both tasks. This result validates our analysis on the instability of the adjoint method, which is intuitively caused by the instability of the reverse-time ODE. On image classification tasks, compared to adjoint method, our training method reduces error rate of NODE18 from $19 \%$ $( 3 7 \% )$ to $5 \% ( 2 3 \% )$ on CIFAR10 (CIFAR100). Furthermore, NODE18 has the same number of parameters as ResNet18, but outperforms deeper networks such as ResNet101 on both datasets. Our method also consistently outperforms the adjoint method on several benchmark graph datasets, as shown in Table. 2.
|
| 224 |
+
|
| 225 |
+
Robustness to ODE solvers We implemented adaptive ODE solvers of different orders, as shown in Table 1. HeunEuler, RK23, RK45 are of order 1, 2, 4 respectively, i.e., for each step forward in time $f$ is evaluated 1, 2, 4 times respectively. During inference, using different solvers is equivalent to changing model depth (without re-training the network): for discrete-layer models, it generally causes huge error; for continuous models, we observe only around $1 \%$ increase in error rate. This suggests our method is robust to different orders of ODE solvers.
|
| 226 |
+
|
| 227 |
+
Support for free-form functions Our method supports NODE and GODE models with free-form functions; for example, $f$ in NODE18 in Table. 1 is a free-form function.
|
| 228 |
+
|
| 229 |
+
<table><tr><td rowspan=1 colspan=3>Model</td><td rowspan=1 colspan=1>MUTAG</td><td rowspan=1 colspan=1>PROTEINS</td><td rowspan=1 colspan=1>IMDB</td><td rowspan=1 colspan=1>REDDIT</td></tr><tr><td rowspan=3 colspan=1>GCN</td><td rowspan=1 colspan=2>DISC</td><td rowspan=1 colspan=1>73.3±5.2</td><td rowspan=1 colspan=1>72.4±3.1</td><td rowspan=1 colspan=1>74.2±3.6</td><td rowspan=1 colspan=1>85.9±1.8</td></tr><tr><td rowspan=2 colspan=1>ODE</td><td rowspan=1 colspan=1>INV</td><td rowspan=1 colspan=1>78.1±6.2**</td><td rowspan=1 colspan=1>74.7±4.3**</td><td rowspan=1 colspan=1>75.3±5.3*</td><td rowspan=1 colspan=1>89.2±3.2**</td></tr><tr><td rowspan=1 colspan=1>free</td><td rowspan=1 colspan=1>75.1±5.3**</td><td rowspan=1 colspan=1>76.6±3.9**</td><td rowspan=1 colspan=1>73.9±4.6</td><td rowspan=1 colspan=1>88.5±3.0**</td></tr><tr><td rowspan=3 colspan=1>Cheb</td><td rowspan=1 colspan=2>DISC</td><td rowspan=1 colspan=1>84.0±6.4</td><td rowspan=1 colspan=1>70.6±3.9</td><td rowspan=1 colspan=1>71.9±3.8</td><td rowspan=1 colspan=1>91.0±1.5</td></tr><tr><td rowspan=2 colspan=1>ODE</td><td></td><td></td><td></td><td></td><td rowspan=1 colspan=1>91.2±1.5</td></tr><tr><td rowspan=1 colspan=1>free</td><td rowspan=1 colspan=1>86.1±6.3*</td><td rowspan=1 colspan=1>72.5±4.7**</td><td rowspan=1 colspan=1>73.6±4.0**</td><td rowspan=1 colspan=1>92.4±1.6**</td></tr><tr><td rowspan=2 colspan=1>GIN</td><td rowspan=1 colspan=2>DISC</td><td rowspan=1 colspan=1>85.0±6.4</td><td rowspan=1 colspan=1>73.0±3.1</td><td rowspan=1 colspan=1>73.3±5.1</td><td rowspan=1 colspan=1>89.2±2.5</td></tr><tr><td rowspan=1 colspan=1>ODE</td><td></td><td></td><td></td><td></td><td rowspan=1 colspan=1>90.5±1.5**</td></tr></table>
|
| 230 |
+
|
| 231 |
+
Table 3: Results on node classification tasks. We compared various discrete-layer structures (marked with DISC) and their corresponding GODE models (marked with ODE). We tested GODE model with different $\psi$ functions (“l sig” represents linear sigmoid). For each model, we use $^ { \ast } \left( { ^ { \ast \ast \ast } } \right)$ to mark GODE models that outperform corresponding discrete-layer baselines at a $5 \%$ $( 1 \% )$ significance level under paired t-test.
|
| 232 |
+
|
| 233 |
+
<table><tr><td rowspan=1 colspan=2>Model</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>Cora</td><td rowspan=1 colspan=1>CiteSeer</td><td rowspan=1 colspan=1>PubMed</td></tr><tr><td rowspan=3 colspan=1>GCN</td><td rowspan=1 colspan=1>DISC</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>81.6±0.5</td><td rowspan=1 colspan=1>71.6±0.3</td><td rowspan=1 colspan=1>79.2±0.1</td></tr><tr><td rowspan=2 colspan=1>ODE</td><td rowspan=1 colspan=1>add</td><td rowspan=1 colspan=1>81.7±0.7</td><td rowspan=1 colspan=1>72.4±0.6**</td><td rowspan=1 colspan=1>80.0±0.2**</td></tr><tr><td rowspan=1 colspan=1>1.sig</td><td rowspan=1 colspan=1>81.8±0.3**</td><td rowspan=1 colspan=1>72.4±0.8**</td><td rowspan=1 colspan=1>80.1±0.3**</td></tr><tr><td rowspan=3 colspan=1>GAT</td><td rowspan=1 colspan=1>DISC</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>82.9±0.3</td><td rowspan=1 colspan=1>71.7±0.8</td><td rowspan=1 colspan=1>78.9±0.3</td></tr><tr><td rowspan=2 colspan=1>ODE</td><td rowspan=1 colspan=1>add</td><td rowspan=1 colspan=1>83.3±0.3**</td><td rowspan=1 colspan=1>72.1±0.6**</td><td rowspan=1 colspan=1>79.1±0.5*</td></tr><tr><td rowspan=1 colspan=1>Lsig</td><td rowspan=1 colspan=1>83.1±0.4*</td><td rowspan=1 colspan=1>72.1±0.3**</td><td rowspan=1 colspan=1>79.0±0.5</td></tr><tr><td rowspan=3 colspan=1>Cheb</td><td rowspan=1 colspan=1>DISC</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>82.1±0.5</td><td rowspan=1 colspan=1>70.8±0.5</td><td rowspan=1 colspan=1>76.6±0.8</td></tr><tr><td rowspan=2 colspan=1>ODE</td><td rowspan=1 colspan=1>add</td><td rowspan=1 colspan=1>82.4±0.5*</td><td rowspan=1 colspan=1>71.1±0.5**</td><td rowspan=1 colspan=1>77.8±1.2**</td></tr><tr><td rowspan=1 colspan=1>L_sig</td><td rowspan=1 colspan=1>82.2±0.4*</td><td rowspan=1 colspan=1>70.8±0.6</td><td rowspan=1 colspan=1>77.0±1.1*</td></tr></table>
|
| 234 |
+
|
| 235 |
+
Table 4: Results on graph-classification tasks. For each base model structure, discerete-layer model is marked with DISC; for corresponding GODE, we tested both free-form functions (“free”), and their invertible block form (“INV”). For each model, we use $^ { \ast } \left( ^ { \ast \ast } \right)$ to mark GODE models that outperform corresponding discrete-layer baselines at a $5 \%$ $( 1 \% )$ significance level under paired t-test.
|
| 236 |
+
|
| 237 |
+
<table><tr><td>Integrationtime</td><td>0.5</td><td>1.0</td><td>1.5</td><td>2.0</td><td>5.0</td><td>10.0</td><td>20.0</td><td>100.0</td></tr><tr><td>Cora</td><td>80.5</td><td>81.6</td><td>80.1</td><td>80.1</td><td>79.3</td><td>77.6</td><td>68.9</td><td>35.1</td></tr><tr><td>CIFAR10</td><td>91.3</td><td>95.2</td><td>94.2</td><td>88.4</td><td>10.0</td><td>10.0</td><td>-</td><td>-</td></tr></table>
|
| 238 |
+
|
| 239 |
+
Table 5: Accuracy of a free-form GCNODE on Cora and NODE18 on CIFAR10, varying with integration time.
|
| 240 |
+
|
| 241 |
+
# 5.4 GENERAL BIJECTIVE BLOCKS
|
| 242 |
+
|
| 243 |
+
We demonstrate that bijective blocks defined as Eq. 8 can be easily generalized: $F$ and $G$ are general neural networks, which can be adapted to different tasks; $\psi ( \alpha , \beta )$ can be any differentiable bijective mapping w.r.t. $\alpha$ when $\beta$ is given. We demonstrate two examples of $\psi$ : (1) additive, forward is $\eta = \psi ( \alpha , \beta ) = \alpha + \beta$ , inverse is $\alpha = \psi ^ { - 1 } ( \eta , \beta ) = \eta - \bar { \beta }$ ; (2) linear sigmoid, forward is $\eta = \psi ( \alpha , \beta ) = \alpha \times \mathrm { s i g m o i d } ( \beta )$ , inverse is $\alpha = \psi ^ { - 1 } ( \eta , \beta ) = \eta / \mathrm { s i g m o i d } ( \beta )$ .
|
| 244 |
+
|
| 245 |
+
Results for different $\psi$ are reported in Table 3. Note that we experimented with different depths and reported the best accuracy for each model, and performed a paired t-test on results from GODE and their discrete-layer counterparts. Most GODE models outperformed their corresponding discretelayer models significantly, validating the effectiveness of GODE; different $\psi$ functions behaved similarly on our node classification tasks, indicating the continuous-time model is more important than coupling function $\psi$ . We also validate the lower memory cost, with details in appendix B.
|
| 246 |
+
|
| 247 |
+
# 5.5 RESULTS ON GRAPH CLASSIFICATION TASK
|
| 248 |
+
|
| 249 |
+
Results for different models on graph classification tasks are summarized in Table 4. We experimented with different structures, including GCN, ChebNet and GIN; for corresponding GODE models (marked with ODE), we tested both free-form (marked with “free”) and invertible block (marked with “INV”). We performed paired t-test comparing GODE and its discrete-layer counterparts. For most experiments, GODE models performed significantly better. This indicates the continuous process model might be important for graph models.
|
| 250 |
+
|
| 251 |
+
# 5.6 IMPACT OF INTEGRATION TIME
|
| 252 |
+
|
| 253 |
+
For a NODE and GODE model, during inference, we test the influence of integration time. Results are summarized in Table. 5. When integration time is short, the network does not gather sufficient information from neighbors; when integration time is too long, the model is sensitive to over-smooth issue, as discussed in Sec. 4.2. We observe accuracy drop in both cases.
|
| 254 |
+
|
| 255 |
+
# 6 CONCLUSIONS
|
| 256 |
+
|
| 257 |
+
We propose GODE, which enables us to model continuous diffusion process on graphs. We propose a memory-efficient direct back-propagation method to accurately determine the gradient for general free-form NODEs, and validate its superior performance on both image classification tasks and graph data. Furthermore, we related the over-smoothing of GNN to asymptotic stability of ODE. Our paper tackles the fundamental problem of gradient estimation for NODE; to our knowledge, it’s the first paper to improve accuracy on benchmark tasks to comparable with state-of-the-art discrete layer models. It’s an important step to apply NODE from theory to practice.
|
| 258 |
+
|
| 259 |
+
# REFERENCES
|
| 260 |
+
|
| 261 |
+
Uri M Ascher, Steven J Ruuth, and Raymond J Spiteri. Implicit-explicit runge-kutta methods for time-dependent partial differential equations. Applied Numerical Mathematics, 25(2-3):151–167, 1997.
|
| 262 |
+
|
| 263 |
+
James Atwood and Don Towsley. Diffusion-convolutional neural networks. In NIPS, 2016.
|
| 264 |
+
|
| 265 |
+
Peter N Brown, George D Byrne, and Alan C Hindmarsh. Vode: A variable-coefficient ode solver. SIAM, 1989.
|
| 266 |
+
|
| 267 |
+
Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. arXiv preprint arXiv:1312.6203, 2013.
|
| 268 |
+
|
| 269 |
+
Bo Chang, Lili Meng, Eldad Haber, Lars Ruthotto, David Begert, and Elliot Holtham. Reversible architectures for arbitrarily deep residual neural networks. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
|
| 270 |
+
|
| 271 |
+
Tian Qi Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. In Advances in neural information processing systems, pp. 6571–6583, 2018.
|
| 272 |
+
|
| 273 |
+
Michael 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.
|
| 274 |
+
|
| 275 |
+
Li Deng, Dong Yu, et al. Deep learning: methods and applications. Foundations and Trends $\textsuperscript { \textregistered }$ in Signal Processing, 7(3–4):197–387, 2014.
|
| 276 |
+
|
| 277 |
+
Laurent Dinh, David Krueger, and Yoshua Bengio. Nice: Non-linear independent components estimation. arXiv preprint arXiv:1410.8516, 2014.
|
| 278 |
+
|
| 279 |
+
Laurent et al Dinh. Density estimation using real nvp. arXiv, 2016.
|
| 280 |
+
|
| 281 |
+
Emilien Dupont, Arnaud Doucet, and Yee Whye Teh. Augmented neural odes. arXiv preprint arXiv:1904.01681, 2019.
|
| 282 |
+
|
| 283 |
+
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, pp. 2224–2232, 2015.
|
| 284 |
+
|
| 285 |
+
Matthias Fey and Jan Eric Lenssen. Fast graph representation learning with pytorch geometric. arXiv preprint arXiv:1903.02428, 2019.
|
| 286 |
+
|
| 287 |
+
Alex Fout, Jonathon Byrd, Basir Shariat, and Asa Ben-Hur. Protein interface prediction using graph convolutional networks. In Advances in Neural Information Processing Systems, pp. 6530–6539, 2017.
|
| 288 |
+
|
| 289 |
+
Mark I Freidlin and Alexander D Wentzell. Diffusion processes on graphs and the averaging principle. The Annals of probability, 1993.
|
| 290 |
+
|
| 291 |
+
Amir Gholami, Kurt Keutzer, and George Biros. Anode: Unconditionally accurate memory-efficient gradients for neural odes. arXiv preprint arXiv:1902.10298, 2019.
|
| 292 |
+
|
| 293 |
+
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. 2214–2224, 2017.
|
| 294 |
+
|
| 295 |
+
Will Grathwohl, Ricky TQ Chen, Jesse Betterncourt, Ilya Sutskever, and David Duvenaud. Ffjord: Free-form continuous dynamics for scalable reversible generative models. arXiv preprint arXiv:1810.01367, 2018.
|
| 296 |
+
|
| 297 |
+
Eldad Haber and Lars Ruthotto. Stable architectures for deep neural networks. Inverse Problems, 2017.
|
| 298 |
+
|
| 299 |
+
Takuo Hamaguchi, Hidekazu Oiwa, Masashi Shimbo, and Yuji Matsumoto. Knowledge transfer for out-of-knowledge-base entities: A graph neural network approach. arXiv preprint arXiv:1706.05674, 2017.
|
| 300 |
+
|
| 301 |
+
Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, pp. 1024–1034, 2017.
|
| 302 |
+
|
| 303 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 304 |
+
|
| 305 |
+
Mikael Henaff, Joan Bruna, and Yann LeCun. Deep convolutional networks on graph-structured data. arXiv preprint arXiv:1506.05163, 2015.
|
| 306 |
+
|
| 307 |
+
Aapo Hyvarinen and Erkki Oja. Independent component analysis: algorithms and applications. ¨ Neural networks, 13(4-5):411–430, 2000.
|
| 308 |
+
|
| 309 |
+
Jorn-Henrik Jacobsen, Arnold Smeulders, and Edouard Oyallon. i-revnet: Deep invertible networks. ¨ arXiv preprint arXiv:1802.07088, 2018.
|
| 310 |
+
|
| 311 |
+
Durk P Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. In NIPS, 2018.
|
| 312 |
+
|
| 313 |
+
Durk P Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen, Ilya Sutskever, and Max Welling. Improved variational inference with inverse autoregressive flow. In Advances in neural information processing systems, pp. 4743–4751, 2016.
|
| 314 |
+
|
| 315 |
+
Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
|
| 316 |
+
|
| 317 |
+
Risi Imre Kondor and John Lafferty. Diffusion kernels on graphs and other discrete structures. In ICML, 2002.
|
| 318 |
+
|
| 319 |
+
Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009.
|
| 320 |
+
|
| 321 |
+
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.
|
| 322 |
+
|
| 323 |
+
Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3431–3440, 2015.
|
| 324 |
+
|
| 325 |
+
Laszl ´ o Lov ´ asz et al. Random walks on graphs: A survey. ´ Combinatorics, Paul erdos is eighty, 2(1): 1–46, 1993.
|
| 326 |
+
|
| 327 |
+
Yiping et al Lu. Beyond finite layer neural networks: Bridging deep architectures and numerical differential equations. arXiv, 2017.
|
| 328 |
+
|
| 329 |
+
Aleksandr Mikhailovich Lyapunov. The general problem of the stability of motion. International journal of control, 55(3):531–534, 1992.
|
| 330 |
+
|
| 331 |
+
William Edmund Milne and WE Milne. Numerical solution of differential equations. 1953.
|
| 332 |
+
|
| 333 |
+
Federico et al Monti. Geometric deep learning on graphs and manifolds using mixture model cnns. In CVPR, 2017.
|
| 334 |
+
|
| 335 |
+
R-E Plessix. A review of the adjoint-state method for computing the gradient of a functional with geophysical applications. Geophysical Journal International, 167(2):495–503, 2006.
|
| 336 |
+
|
| 337 |
+
Lev Semenovich Pontryagin. Mathematical theory of optimal processes. Routledge, 2018.
|
| 338 |
+
|
| 339 |
+
Danilo Jimenez Rezende and Shakir Mohamed. Variational inference with normalizing flows. arXiv, 2015.
|
| 340 |
+
|
| 341 |
+
Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80, 2008.
|
| 342 |
+
Paul Stapor, Fabian Froehlich, and Jan Hasenauer. Optimization and uncertainty analysis of ode models using second order adjoint sensitivity analysis. BioRxiv, pp. 272005, 2018.
|
| 343 |
+
Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014.
|
| 344 |
+
Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua ´ Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017.
|
| 345 |
+
Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? arXiv preprint arXiv:1810.00826, 2018.
|
| 346 |
+
Shuicheng Yan, Dong Xu, Benyu Zhang, Hong-Jiang Zhang, Qiang Yang, and Stephen Lin. Graph embedding and extensions: A general framework for dimensionality reduction. IEEE transactions on pattern analysis and machine intelligence, 29(1):40–51, 2006.
|
| 347 |
+
Pinar Yanardag and SVN Vishwanathan. Deep graph kernels. In ACM KDD, 2015.
|
| 348 |
+
Jie Zhou, Ganqu Cui, Zhengyan Zhang, Cheng Yang, Zhiyuan Liu, and Maosong Sun. Graph neural networks: A review of methods and applications. arXiv preprint arXiv:1812.08434, 2018.
|
| 349 |
+
|
| 350 |
+
# A DATASETS
|
| 351 |
+
|
| 352 |
+
We perform experiments on various datasets, including citation networks (Cora, CiteSeer, PubMed), social networks (COLLAB, IMDB-BINARY, REDDIT-BINARY), and bioinformatics datasets (MUTAG, PROTEINS). Details of each dataset are summarized in Table 1.
|
| 353 |
+
|
| 354 |
+
Table 1: Statistics of datasets
|
| 355 |
+
|
| 356 |
+
<table><tr><td>Dataset</td><td>Graphs</td><td>Nodes</td><td>Edges</td><td>Features</td><td>Classes</td><td>Label rate</td></tr><tr><td>Cora</td><td>1</td><td>2,708</td><td>5,278</td><td>1,433</td><td>7</td><td>0.052</td></tr><tr><td>CiteSeer</td><td>1</td><td>3,327</td><td>4,552</td><td>3,703</td><td>6</td><td>0.036</td></tr><tr><td>PubMEd</td><td>1</td><td>19,717</td><td>44,324</td><td>500</td><td>3</td><td>0.003</td></tr><tr><td>MUTAG</td><td>188</td><td>17.93</td><td>19.79</td><td>7</td><td>2</td><td>0.8</td></tr><tr><td>PROTEINS</td><td>1,113</td><td>39.06</td><td>72.82</td><td>3</td><td>2</td><td>0.8</td></tr><tr><td>IMDB-BINARY</td><td>1,000</td><td>19.77</td><td>96.53</td><td>1</td><td>2</td><td>0.8</td></tr><tr><td>REDDIT-BINARY</td><td>200</td><td>429.63</td><td>497.76</td><td>=</td><td>2</td><td>0.8</td></tr></table>
|
| 357 |
+
|
| 358 |
+
# B DETAILS ABOUT INVERTIBLE BLOCKS
|
| 359 |
+
|
| 360 |
+

|
| 361 |
+
Figure 1: Structure of bijective blocks. $F$ and $G$ can be any differentiable neural network whose output has the same shape as its input. Blue dot (Orange diamond) represents the forward (inverse) of a bijective function, corresponding to $\psi$ $( \psi ^ { \hat { - } 1 } )$ in Eq. 8 of the main paper. Left (right) figure represents the forward (inverse) as in Eq. 8.
|
| 362 |
+
|
| 363 |
+
We explain the structure and conduct experiments for the invertible block here.
|
| 364 |
+
|
| 365 |
+
Structure of invertible blocks Structure of invertible blocks are shown in Fig. 1. We follow the work of Gomez et al. (2017) with two important modifications: (1) We generalize to a family of bijective blocks with different $\psi$ in Eq. 8 in the main paper, while Gomez et al. (2017) restrict the form of $\psi$ to be sum. (2) We propose a parameter state checkpoint method, which enables bijective blocks to be called more than once, while still generating accurate inversion.
|
| 366 |
+
|
| 367 |
+
The algorithm is summarized in Algo. 2. We write the pseudo code for forward and backward function as in PyTorch. Note that we use “inversion” to represent reconstructing input from the output, and use “backward” to denote calculation of the gradient. To reduce memory consumption, in the forward function, we only keep the outputs $y _ { 1 } , y _ { 2 }$ and delete all other variables and computation graphs. In the backward function, we first “inverse” the block to calculate $x _ { 1 } , x _ { 2 }$ from $y _ { 1 } , y _ { 2 }$ , then perform a local forward and calculate the gradient $\frac { \partial [ y _ { 1 } , y _ { 2 } ] } { \partial [ x _ { 1 } , x _ { 2 } ] }$ .
|
| 368 |
+
|
| 369 |
+
Experiments In this section we demonstrate that our bijective block is memory efficient. We trained a GODE model with bijective blocks, and compared the memory consumption using our memory-efficient function as in Algo. 2 and a memory-inefficient method as in conventional backpropagation. Results were measured with a batchsize of 100 on MUTAG dataset.
|
| 370 |
+
|
| 371 |
+
Table 2: Memory consumption of bijective blocks. “Conventional” represents storing activation of all layers in cache, “memory-efficient” represents our method in Algo. 2.
|
| 372 |
+
|
| 373 |
+
<table><tr><td rowspan=1 colspan=1>Depth</td><td rowspan=1 colspan=1>Memory-efficient</td><td rowspan=1 colspan=1>Conventional</td></tr><tr><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>2.2G</td><td rowspan=1 colspan=1>5.3G</td></tr><tr><td rowspan=1 colspan=1>20</td><td rowspan=1 colspan=1>2.6G</td><td rowspan=1 colspan=1>10.5G</td></tr></table>
|
| 374 |
+
|
| 375 |
+
Results are summarized in Table. 2. We measured the memory consumption with different depths, which is the number of ODE blocks. When depth increases from 10 to 20, the memory by conventional methods increases from 5.3G to 10.5G, while our memory-efficient version only increases from 2.2G to 2.6G. In theory, our bijective block takes $\mathcal { O } ( 1 )$ memory, because we only need to store the outputs in cache, while deleting activations of middle layers. For memory-efficient network, the slightly increased memory consumption is because states of $F , G$ need to be cached; but this step takes up minimal memory compared to input data.
|
| 376 |
+
|
| 377 |
+
Algorithm 2: Function for memory-efficient bijective blocks
|
| 378 |
+
|
| 379 |
+
<table><tr><td>Forward (cache,x1,x2,F,G,$) cache.save([F states,G states])</td><td>Backward(cache, y1, y2,F,G,,y, aL aL y2 Reset Fand G states from cache</td></tr><tr><td>forward in Eq. 8</td><td>Inverse from y1,y2 to x1,2</td></tr><tr><td>n1 =F(x1),y2=γ(x2,n1)</td><td>n2 =G(y2),x1=-1(yi,n2)</td></tr><tr><td>n2=G(y2),yi=γ(x1,n2)</td><td>η1 =F(x1),x2=-1(y2,n1)</td></tr><tr><td>delete ni,n2,x1,x2</td><td>Local forward passand gradient</td></tr><tr><td>delete computation graphs generated by F and G return cache,y1, y2</td><td>X1,X2= x1.detach(),x2.detach()</td></tr><tr><td></td><td>calculateY1,Y2 from X1,X2 as Eq. 8</td></tr><tr><td></td><td>determine δ[Yi,Y2]/a[X1,X2,0F,0G]</td></tr><tr><td></td><td>aL aL a[Y,Y2]</td></tr><tr><td></td><td>x1,x2] 0y1,y2]0XX2] aL aL Y,Y2]</td></tr><tr><td></td><td>[0F,G] y1y2]FG]</td></tr><tr><td></td><td>deleteY,Y2,X1,X2</td></tr><tr><td></td><td>return dL/d[x1,x2],δL/δ[0F,0G]</td></tr><tr><td></td><td></td></tr></table>
|
| 380 |
+
|
| 381 |
+
# C PROOF FOR PROPOSITION 1
|
| 382 |
+
|
| 383 |
+
Proposition 1 For an ODE in the form $\begin{array} { r } { \frac { \mathrm { d } \boldsymbol { z } ( t ) } { \mathrm { d } t } = \boldsymbol { f } ( \boldsymbol { z } ( t ) , t ) , } \end{array}$ , denote the Jacobian of $f$ as $J _ { f }$ . If this ODE is stable both in forward-time and reverse-time, then $\operatorname { R e } ( \lambda _ { i } ( J _ { f } ) ) = 0 ~ \forall i$ , where $\lambda _ { i } ( \dot { J } _ { f } )$ is the ith eigenvalue of $J _ { f }$ , and $\mathrm { R e } ( \lambda )$ is the real part of $\lambda$ .
|
| 384 |
+
|
| 385 |
+
Proof Denote $s = T - t$ , where $T$ is the end time. Notice that the reverse-time in $t$ is equivalent to forward-time in $s$ .
|
| 386 |
+
|
| 387 |
+
Therefore, we have forward-time ODE:
|
| 388 |
+
|
| 389 |
+
$$
|
| 390 |
+
\frac { \mathrm { d } \boldsymbol { z } ( t ) } { \mathrm { d } t } = \boldsymbol { f } ( \boldsymbol { z } ( t ) , t )
|
| 391 |
+
$$
|
| 392 |
+
|
| 393 |
+
and reverse-time ODE:
|
| 394 |
+
|
| 395 |
+
$$
|
| 396 |
+
\frac { \mathrm { d } z ( s ) } { \mathrm { d } s } = - f ( z ( s ) , s ) = g ( z ( s ) , s )
|
| 397 |
+
$$
|
| 398 |
+
|
| 399 |
+
Therefore, we have $\lambda ( J _ { f } ) = - \lambda ( J _ { g } )$ . For both forward-time and reverse-time ODE to be stable, the eigenvalues of $J$ need to have non-positive real part.
|
| 400 |
+
|
| 401 |
+
Therefore
|
| 402 |
+
|
| 403 |
+
$$
|
| 404 |
+
\mathrm { R e } \lambda _ { i } ( J _ { f } ) \leq 0 , \ \mathrm { R e } \lambda _ { i } ( J _ { g } ) = - \mathrm { R e } \lambda _ { i } ( J _ { f } ) \leq 0 , \ \forall i
|
| 405 |
+
$$
|
| 406 |
+
|
| 407 |
+
The only solution is
|
| 408 |
+
|
| 409 |
+
$$
|
| 410 |
+
\mathrm { R e } \lambda _ { i } ( J _ { g } ) = - \mathrm { R e } \lambda _ { i } ( J _ { f } ) = 0 , \ \forall i
|
| 411 |
+
$$
|
| 412 |
+
|
| 413 |
+
# D PROOF FOR THEOREM 1
|
| 414 |
+
|
| 415 |
+
Theorem 1 For bijective block whose forward and reverse mappings are defined as
|
| 416 |
+
|
| 417 |
+
$$
|
| 418 |
+
F o r w a r d ( x _ { 1 } , x _ { 2 } ) = \left\{ \begin{array} { l l } { y _ { 2 } = \psi \Big ( x _ { 2 } , F ( x _ { 1 } ) \Big ) } \\ { y _ { 1 } = \psi \Big ( x _ { 1 } , G ( y _ { 2 } ) \Big ) } \end{array} \right. R e v e r s e ( y _ { 1 } , y _ { 2 } ) = \left\{ \begin{array} { l l } { x _ { 1 } = \psi ^ { - 1 } \Big ( y _ { 1 } , G ( y _ { 2 } ) \Big ) } \\ { x _ { 2 } = \psi ^ { - 1 } \Big ( y _ { 2 } , F ( x _ { 1 } ) \Big ) } \end{array} \right.
|
| 419 |
+
$$
|
| 420 |
+
|
| 421 |
+
If $\psi ( \alpha , \beta )$ is a bijective function w.r.t $\alpha$ when $\beta$ is given, then the block is a bijective mapping.
|
| 422 |
+
|
| 423 |
+
Proof To prove the forward mapping is bijective, it is equivalent to prove the mapping is both injective and surjective.
|
| 424 |
+
|
| 425 |
+
Injective We need to prove, if F o $\mathbf { \cdot } w a r d ( x _ { 1 } , x _ { 2 } ) = F o r w a r d ( x _ { 3 } , x _ { 4 } )$ , then $x _ { 1 } = x _ { 3 } , x _ { 2 } = x _ { 4 } $
|
| 426 |
+
|
| 427 |
+
The assumption above is equivalent to
|
| 428 |
+
|
| 429 |
+
$$
|
| 430 |
+
{ \begin{array} { r l r } & { } & { F o r w a r d ( x _ { 1 } , x _ { 2 } ) = F o r w a r d ( x _ { 3 } , x _ { 4 } ) \iff y _ { 2 } = \psi ( x _ { 2 } , F ( x _ { 1 } ) ) = \psi ( x _ { 4 } , F ( x _ { 3 } ) ) } \\ & { } & { \psi ( x _ { 1 } , G ( y _ { 2 } ) ) = \psi ( x _ { 3 } , G ( y _ { 2 } ) ) } \end{array} }
|
| 431 |
+
$$
|
| 432 |
+
|
| 433 |
+
Since $\psi ( \alpha , \beta )$ is bijective $w . r . t \alpha$ when $\beta$ is given, from Eq.(6), we have $x _ { 1 } = x _ { 3 }$ .
|
| 434 |
+
Similarly, condition on $x _ { 1 } = x _ { 3 }$ and Eq.(5), using bijective property of $\psi$ , we have $x _ { 2 } = x _ { 4 }$ .
|
| 435 |
+
Therefore, the mapping is injective.
|
| 436 |
+
|
| 437 |
+
Surjective We need to prove $\forall [ y _ { 1 } , y _ { 2 } ]$ , ∃ $[ x _ { 1 } , x _ { 2 } ]$ s.t. F orward(x1, x2) = [y1, y2].
|
| 438 |
+
|
| 439 |
+
Given $y _ { 1 } , y _ { 2 }$ , we construct
|
| 440 |
+
|
| 441 |
+
$$
|
| 442 |
+
x _ { 1 } = \psi ^ { - 1 } { \Big ( } y _ { 1 } , G ( y _ { 2 } ) { \Big ) } , x _ { 2 } = \psi ^ { - 1 } { \Big ( } y _ { 2 } , F ( x _ { 1 } ) { \Big ) }
|
| 443 |
+
$$
|
| 444 |
+
|
| 445 |
+
Then for the forward function, given bijective property of $\psi$ , apply F orward and Reverse defined in the proposition statement,
|
| 446 |
+
|
| 447 |
+
$$
|
| 448 |
+
z _ { 2 } = \psi ( x _ { 2 } , F ( x _ { 1 } ) ) = \psi \Bigl ( \psi ^ { - 1 } \bigl ( y _ { 2 } , F ( x _ { 1 } ) \bigr ) , F ( x _ { 1 } ) \Bigr ) = y _ { 2 }
|
| 449 |
+
$$
|
| 450 |
+
|
| 451 |
+
$$
|
| 452 |
+
z _ { 1 } = \psi ( x _ { 1 } , G ( y _ { 2 } ) ) = \psi \Bigl ( \psi ^ { - 1 } \bigl ( y _ { 1 } , G ( y _ { 2 } ) \bigr ) , G ( y _ { 2 } ) \Bigr ) = y _ { 1 }
|
| 453 |
+
$$
|
| 454 |
+
|
| 455 |
+
Therefore we construct $x _ { 1 } , x _ { 2 }$ s.t. F orwar $d ( x _ { 1 } , x _ { 2 } ) = [ y _ { 1 } , y _ { 2 } ]$ .
|
| 456 |
+
|
| 457 |
+
Therefore the mapping is surjective.
|
| 458 |
+
|
| 459 |
+
Therefore is bijective.
|
| 460 |
+
|
| 461 |
+
# E DERIVATION OF GRADIENT IN DISCRETE CASE
|
| 462 |
+
|
| 463 |
+
We use a figure to demonstrate the computation graph, and derive the gradient from the computation graph.
|
| 464 |
+
|
| 465 |
+

|
| 466 |
+
|
| 467 |
+
The loss is $L$ , forward pass is denoted with black arrows, gradient back-propagation is shown with red arrows. We use $p$ to denote each path from $\theta$ to $L$ , corresponding to all paths in red that goes from $L$ to $\theta$ .
|
| 468 |
+
|
| 469 |
+
$$
|
| 470 |
+
{ \frac { \mathrm { d } L } { \mathrm { d } \theta } } = \sum _ { p } { \frac { \partial L _ { p } } { \partial \theta } } = \sum _ { i } { \frac { \partial L } { \partial z _ { ( } t _ { i } ) } } { \frac { \partial z ( t _ { i } ) } { \partial \theta } } = \sum _ { i } a _ { i } { \frac { \partial z ( t _ { i } ) } { \partial \theta } }
|
| 471 |
+
$$
|
| 472 |
+
|
| 473 |
+
$$
|
| 474 |
+
a _ { i } = \frac { \partial L } { \partial z ( t _ { i } ) } = \frac { \partial L } { \partial z ( t _ { i + 1 } ) } \frac { \partial z ( t _ { i + 1 } ) } { \partial z ( t _ { i } ) } = a _ { i + 1 } \frac { \partial z ( t _ { i + 1 } ) } { \partial z ( t _ { i } ) }
|
| 475 |
+
$$
|
| 476 |
+
|
| 477 |
+
# F DERIVATION OF PARAMETER GRADIENTS IN CONTINUOUS CASE
|
| 478 |
+
|
| 479 |
+
In this section we derive the gradient of parameters in an neural-ODE model from an optimization perspective. Then we extend from continuous cases to discrete cases.
|
| 480 |
+
|
| 481 |
+
Notations With the same notations as in the main paper, we use $z ( t )$ to denote hidden states $z$ at time $t$ . Denote parameters as $\theta$ , and input as $x$ , target as $y$ , and predicted output as $\hat { y }$ . Denote the loss as $J ( \hat { y } , y )$ . Denote the integration time as 0 to $T$ .
|
| 482 |
+
|
| 483 |
+
Problem setup The continuous model is defined to follow an ODE:
|
| 484 |
+
|
| 485 |
+
$$
|
| 486 |
+
\frac { d z ( t ) } { d t } = f ( z ( t ) , t , \theta ) , s . t . z ( 0 ) = x
|
| 487 |
+
$$
|
| 488 |
+
|
| 489 |
+
We assume $f$ is differentiable, since $f$ is represented by a neural network in our case. The forward pass is defined as:
|
| 490 |
+
|
| 491 |
+
$$
|
| 492 |
+
\hat { y } = z ( T ) = z ( 0 ) + \int _ { 0 } ^ { T } f ( z ( t ) , t , \theta ) d t
|
| 493 |
+
$$
|
| 494 |
+
|
| 495 |
+
The loss function is defined as:
|
| 496 |
+
|
| 497 |
+
$$
|
| 498 |
+
J ( \hat { y } , y ) = J ( z ( T ) , y )
|
| 499 |
+
$$
|
| 500 |
+
|
| 501 |
+
We formulate the training process as an optimization problem:
|
| 502 |
+
|
| 503 |
+
$$
|
| 504 |
+
\operatorname { a r g m i n } _ { \theta } \frac { 1 } { N } \sum _ { i = 1 } ^ { N } J ( \hat { y } _ { i } , y _ { i } ) { s . t . } \frac { d z ( t ) } { d t } = f ( z ( t ) , t , \theta ) , { z } _ { i } ( 0 ) = x _ { i }
|
| 505 |
+
$$
|
| 506 |
+
|
| 507 |
+
For simplicity, Eq. 15 only considers one ODE block. In the case of multiple blocks, $z ( T )$ is the input to the next ODE block. As long as we can derive $\textstyle { \frac { d L o s s } { d \theta } }$ and $\begin{array} { r } { \frac { d L o s s } { d z ( 0 ) } } \end{array}$ when $\begin{array} { l } { \frac { d L o s s } { d z ( T ) } } \end{array}$ is given, the same analysis here can be applied to the case with a chain of ODE blocks.
|
| 508 |
+
|
| 509 |
+
Lagrangian Multiplier Method We use the Lagrangian Multiplier Method to solve the problem defined in Eq. 15. For simplicity, only consider one example (can be easily extended to multiple examples cases), the Lagrangian is
|
| 510 |
+
|
| 511 |
+
$$
|
| 512 |
+
L = J ( z ( T ) , y ) + \int _ { 0 } ^ { T } \lambda ( t ) [ \frac { d z ( t ) } { d t } - f ( z ( t ) , t , \theta ) ] d t
|
| 513 |
+
$$
|
| 514 |
+
|
| 515 |
+
Karush-Kuhn-Tucker (KKT) conditions are necessary conditions for an solution to be optimal. In the following sections we start from the KKT condition and derive our results.
|
| 516 |
+
|
| 517 |
+
Derivative w.r.t. $\lambda$ At optimal point, we have $\begin{array} { r } { \frac { \delta L } { \delta \lambda } = 0 } \end{array}$ . Note that $\lambda$ is a function of $t$ , we derive the derivative from calculus of variation.
|
| 518 |
+
|
| 519 |
+
Consider a cotninuous and differentiable perturbation $\overline { { \lambda ( t ) } }$ on $\lambda ( t )$ , and a scalar $\epsilon$ , $L$ now becomes a function of $\epsilon$ ,
|
| 520 |
+
|
| 521 |
+
$$
|
| 522 |
+
L ( \epsilon ) = J ( z ( 0 ) + \int _ { 0 } ^ { T } f ( z ( t ) , t , \theta ) , y ) + \int _ { 0 } ^ { T } ( \lambda ( t ) + \epsilon { \overline { { \lambda ( t ) } } } ) [ { \frac { d z ( t ) } { d t } } - f ( z ( t ) , t , \theta ) ] d t
|
| 523 |
+
$$
|
| 524 |
+
|
| 525 |
+
It’s easy to check the conditions for Leibniz integral rule, and we can switch integral and differentiation, thus:
|
| 526 |
+
|
| 527 |
+
$$
|
| 528 |
+
\frac { d L } { d \epsilon } = \int _ { 0 } ^ { T } \overline { { \lambda ( t ) } } [ \frac { d z ( t ) } { d t } - f ( z ( t ) , t , \theta ) ] d t
|
| 529 |
+
$$
|
| 530 |
+
|
| 531 |
+
At optimal $\begin{array} { r } { \lambda ( t ) , \frac { d L } { d \epsilon } | _ { \epsilon = 0 } = 0 } \end{array}$ for all continuous differentiable $\overline { { \lambda ( t ) } }$
|
| 532 |
+
|
| 533 |
+
Therefore,
|
| 534 |
+
|
| 535 |
+
$$
|
| 536 |
+
\frac { d z ( t ) } { d t } - f ( z ( t ) , t , \theta ) = 0 , \forall t \in ( 0 , T )
|
| 537 |
+
$$
|
| 538 |
+
|
| 539 |
+
Derivative w.r.t $z$ Consider perturbation $\overline { { z ( t ) } }$ on $z ( t )$ , with scale $\epsilon$ . With similar analysis:
|
| 540 |
+
|
| 541 |
+
$$
|
| 542 |
+
L ( \epsilon ) = J ( z ( T ) + \epsilon \overline { { z ( T ) } } , y ) + \int _ { 0 } ^ { T } \lambda ( t ) [ \frac { d z ( t ) + \epsilon \overline { { z ( t ) } } } { d t } - f ( z ( t ) + \epsilon \overline { { z ( t ) } } , t , \theta ) ] d t
|
| 543 |
+
$$
|
| 544 |
+
|
| 545 |
+
Take derivative w.r.t $\epsilon$ , it’s easy to check conditions for Leibniz integral rule are satisfied, when $f$ and $\overline { { z ( t ) } }$ are Lipschitz continuous differentiable functions:
|
| 546 |
+
|
| 547 |
+
(1) $f ( z ( t ) , t , \theta )$ is a Lebesgue-integrable function of $\theta$ for each $\boldsymbol { z } ( t ) \in \mathbf { R } ^ { d }$ , since we use a neural network to represent $f$ , which is continuous and differentiable almost everywhere.
|
| 548 |
+
|
| 549 |
+
(2) for almost all θ, ∂f (z(t),t,θ) exists for almost all $x \in \mathbf { R } ^ { d }$ .
|
| 550 |
+
|
| 551 |
+
(3 ) ∂f(z(t),t,θ)∂z(t) is bounded by g(θ) for all z(t) for almost all θ.
|
| 552 |
+
|
| 553 |
+
Then we calculat e dL()d , note that we can switch integral and derivative:
|
| 554 |
+
|
| 555 |
+
$$
|
| 556 |
+
\begin{array} { r l } { \frac { d L } { d \varepsilon } | _ { - \infty } = - \frac { \partial J } { \partial \varepsilon ( T ) } \overline { { \varepsilon ( T ) } } + \frac { d } { d \varepsilon } \int _ { 0 } ^ { 2 \pi } \lambda ( t ) \frac { d \varepsilon ( t ) } { d t } + \overline { { \varepsilon ( t ) } } - f ( \varepsilon ( t ) + \varepsilon \overline { { \varepsilon ( t ) } } , t , \theta ) | d t } & { ( 2 1 , \theta ) } \\ & { = \frac { \partial J } { \partial \varepsilon ( T ) } \overline { { \varepsilon ( T ) } } + \int _ { 0 } ^ { 2 \pi } \lambda ( t ) \frac { d \overline { { \varepsilon ( t ) } } } { d t } - \frac { \partial J } { \partial \varepsilon } \frac { \partial \overline { { \varepsilon ( t ) } } ( \varepsilon , t , \theta ) } { \partial \varepsilon ( t ) } \overline { { \varepsilon ( t ) } } | d t } & { ( 2 2 , \theta ) } \\ & { = \frac { \partial J } { \partial \varepsilon ( T ) } \overline { { \varepsilon ( T ) } } + \int _ { 0 } ^ { T } \mathbb { I } ( \lambda ( t ) \frac { d \overline { { \varepsilon ( t ) } } } { d t } + \frac { d \lambda ( t ) } { d t } \overline { { \varepsilon ( t ) } } - \frac { d \lambda ( t ) } { d t } \overline { { \varepsilon ( t ) } } - \lambda ( t ) \frac { \partial \overline { { \varepsilon ( t ) } } ( \varepsilon , t , \theta ) } { \partial \varepsilon ( t ) } \overline { { \varepsilon ( t ) } } | d t } \\ & { = \frac { \partial J } { \partial \varepsilon ( T ) } \overline { { \varepsilon ( T ) } } + \lambda ( t ) \overline { { \varepsilon ( t ) } } | _ { 0 } ^ { \pi } - \int _ { 0 } ^ { T } \overline { { \varepsilon ( t ) } } | \frac { d \lambda ( t ) } { d t } + \lambda ( t ) \frac { \partial \overline { { f } } [ \varepsilon ( t ) , t , \theta ) } { \partial \varepsilon ( t ) } | d t } & { ( 2 4 , \theta ) } \\ & { = \frac { \partial J } { \partial \varepsilon ( T ) } \overline { { \varepsilon ( T ) } } + \lambda ( \overline { { \varepsilon ( T ) } } \overline { { \varepsilon ( T ) } } - \lambda ( t ) \overline { { \varepsilon ( 0 ) } } - \int _ { 0 } ^ { T } \overline { { \varepsilon ( t ) } } | \frac { d \lambda ( t ) } { d t } + \lambda ( t ) \frac { \partial \overline { { f } } ( \varepsilon ( t ) , t , \theta ) } { \partial \varepsilon ( t ) } | d t } & ( 2 \overline { { s } } \end{array}
|
| 557 |
+
$$
|
| 558 |
+
|
| 559 |
+
Since the initial condition $z ( 0 ) = x$ is given, perturbation $\overline { { z ( 0 ) } }$ at $t = 0$ is 0, then we have:
|
| 560 |
+
|
| 561 |
+
$$
|
| 562 |
+
\frac { d L } { d \epsilon } | _ { \epsilon = 0 } = ( \frac { \partial J } { \partial z ( T ) } + \lambda ( T ) ) \overline { { z ( T ) } } - \int _ { 0 } ^ { T } \overline { { z ( t ) } } [ \frac { d \lambda ( t ) } { d t } + \lambda ( t ) \frac { \partial f ( z ( t ) , t , \theta ) } { \partial z ( t ) } ] d t = 0
|
| 563 |
+
$$
|
| 564 |
+
|
| 565 |
+
for any $\overline { { z ( t ) } }$ s.t. $\overline { { z ( 0 ) } } = 0$ and $\overline { { z ( t ) } }$ is differentiable.
|
| 566 |
+
|
| 567 |
+
The solution is:
|
| 568 |
+
|
| 569 |
+
$$
|
| 570 |
+
\begin{array} { c } { \displaystyle \frac { \partial J } { \partial z ( T ) } + \lambda ( T ) = 0 } \\ { \displaystyle \frac { d \lambda ( t ) } { d t } + \lambda ( t ) \frac { \partial f ( z ( t ) , t , \theta ) } { \partial z ( t ) } = 0 \mathrm { ~ } \forall t \in ( 0 , T ) } \end{array}
|
| 571 |
+
$$
|
| 572 |
+
|
| 573 |
+
Derivative w.r.t $\theta$ From Eq. 16,
|
| 574 |
+
|
| 575 |
+
$$
|
| 576 |
+
\frac { d L } { d \theta } = - \int _ { 0 } ^ { T } \lambda ( t ) \frac { \partial f ( z ( t ) , t , \theta ) } { \partial \theta } d t
|
| 577 |
+
$$
|
| 578 |
+
|
| 579 |
+
To sum up, first solve the ODE forward-in-time with Eq. 19, then determine the boundary condition by Eq. 28, then solve the ODE backward with Eq. 29, and finally calculate the gradient with Eq. 30. In fact $\lambda$ corresponds to the negative adjoint.
|
| 580 |
+
|
| 581 |
+
From continuous to discrete case To derive corresponding results in discrete cases, we need to replace all integration with finite sum.
|
| 582 |
+
|
| 583 |
+
In discrete cases, the ODE condition turns into:
|
| 584 |
+
|
| 585 |
+
$$
|
| 586 |
+
\frac { z _ { i + 1 } - z _ { i } } { t _ { i + 1 } - t _ { i } } = f ( z _ { i } , t _ { i } , \theta )
|
| 587 |
+
$$
|
| 588 |
+
|
| 589 |
+
from Eq. 31, we can get:
|
| 590 |
+
|
| 591 |
+
$$
|
| 592 |
+
\frac { \partial L } { \partial z _ { i } } = \frac { \partial L } { \partial z _ { i + 1 } } \frac { \partial z _ { i + 1 } } { \partial z _ { i } } = \frac { \partial L } { \partial z _ { i + 1 } } ( I + \frac { \partial f ( z _ { i } , t _ { i } , \theta ) } { \partial z _ { i } } ( t _ { i + 1 } - t _ { i } ) )
|
| 593 |
+
$$
|
| 594 |
+
|
| 595 |
+
Re-arranging terms we have:
|
| 596 |
+
|
| 597 |
+
$$
|
| 598 |
+
[ ( - \frac { \partial L } { \partial z _ { i + 1 } } ) - ( - \frac { \partial L } { \partial z _ { i } } ) ] / [ t _ { i + 1 } - t _ { i } ] + ( - \frac { \partial L } { \partial z _ { i + 1 } } ) \frac { \partial f ( z _ { i } , t _ { i } , \theta ) } { \partial z _ { i } } = 0
|
| 599 |
+
$$
|
| 600 |
+
|
| 601 |
+
which is the discrete version of Eq. 29. Which also corresponds to our analysis in Eq. 10 and 11.
|
parse/train/SJg9z6VFDr/SJg9z6VFDr_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJg9z6VFDr/SJg9z6VFDr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJg9z6VFDr/SJg9z6VFDr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rylNH20qFQ/rylNH20qFQ.md
ADDED
|
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LEARNING TO INFER AND EXECUTE 3D SHAPE PROGRAMS
|
| 2 |
+
|
| 3 |
+
Yonglong Tian†, Andrew Luo†, Xingyuan $\mathbf { S u n } ^ { \ddagger }$ , Kevin Ellis†, William T. Freeman†∗, Joshua B. Tenenbaum† & Jiajun Wu†
|
| 4 |
+
|
| 5 |
+
†Massachusetts Institute of Technology
|
| 6 |
+
‡Princeton University
|
| 7 |
+
∗Google Research
|
| 8 |
+
{yonglong,aluo,ellisk,billf,jbt,jiajunwu}@mit.edu
|
| 9 |
+
xs5@princeton.edu
|
| 10 |
+
|
| 11 |
+
# ABSTRACT
|
| 12 |
+
|
| 13 |
+
Human perception of 3D shapes goes beyond reconstructing them as a set of points or a composition of geometric primitives: we also effortlessly understand higherlevel shape structure such as the repetition and reflective symmetry of object parts. In contrast, recent advances in 3D shape sensing focus more on low-level geometry but less on these higher-level relationships. In this paper, we propose $3 D$ shape programs, integrating bottom-up recognition systems with top-down, symbolic program structure to capture both low-level geometry and high-level structural priors for 3D shapes. Because there are no annotations of shape programs for real shapes, we develop neural modules that not only learn to infer 3D shape programs from raw, unannotated shapes, but also to execute these programs for shape reconstruction. After initial bootstrapping, our end-to-end differentiable model learns 3D shape programs by reconstructing shapes in a self-supervised manner. Experiments demonstrate that our model accurately infers and executes 3D shape programs for highly complex shapes from various categories. It can also be integrated with an image-to-shape module to infer 3D shape programs directly from an RGB image, leading to 3D shape reconstructions that are both more accurate and more physically plausible.
|
| 14 |
+
|
| 15 |
+
# 1 INTRODUCTION
|
| 16 |
+
|
| 17 |
+
Given the table in Figure 1, humans are able to instantly recognize its parts and regularities: there exist sharp edges, smooth surfaces, a table top that is a perfect circle, and two lower, square layers. Beyond these basic components, we also perceive higher-level, abstract concepts: the shape is bilateral symmetric; the legs are all of equal length and laid out on the opposite positions of a 2D grid. Knowledge like this is crucial for visual recognition and reasoning (Koffka, 2013; Dilks et al., 2011).
|
| 18 |
+
|
| 19 |
+
Recent AI systems for 3D shape understanding have made impressive progress on shape classification, parsing, reconstruction, and completion (Qi et al., 2017; Tulsiani et al., 2017), many making use of large shape repositories like ShapeNet (Chang et al., 2015). Popular shape representations include voxels (Wu et al., 2015), point clouds (Qi et al., 2017), and meshes (Wang et al., 2018). While each has its own advantages, these methods fall short on capturing the strong shape priors we just described, such as sharp edges and smooth surfaces.
|
| 20 |
+
|
| 21 |
+
A few recent papers have studied modeling 3D shapes as a collection of primitives (Tulsiani et al., 2017), with simple operations such as addition and subtraction (Sharma et al., 2018). These representations have demonstrated success in explaining complex 3D shapes. In this paper, we go beyond them to capture the high-level regularity within a 3D shape, such as symmetry and repetition.
|
| 22 |
+
|
| 23 |
+
In this paper, we propose to represent 3D shapes as shape programs. We define a domain-specific language (DSL) for shapes, containing both basic shape primitives for parts with their geometric and semantic attributes, as well as statements such as loops to enforce higher-level structural priors.
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
Figure 1: A 3D shape can be represented by a program via a program generator. This program can be executed by a neural program executor to produce the corresponding 3D shape.
|
| 27 |
+
|
| 28 |
+
Because 3D shape programs are a new shape representation, there exist no annotations of shape programs for 3D shapes. The lack of annotations makes it difficult to train an inference model with full supervision. To overcome this obstacle, we propose to learn a shape program executor that reconstructs a 3D shape from a shape program. After initial bootstrapping, our model can then learn in a self-supervised way, by attempting to explain and reconstruct unlabeled 3D shapes with 3D shape programs. This design minimizes the amount of supervision needed to get our model off the ground.
|
| 29 |
+
|
| 30 |
+
With the learned neural program executor, our model learns to explain input shapes without ground truth program annotations. Experiments on ShapeNet show that our model infers accurate 3D shape programs for highly complex shapes from various categories. We further extend our model by integrating with an image-to-shape reconstruction module, so it directly infers a 3D shape program from a color image. This leads to 3D shape reconstructions that are both more accurate and more physically plausible.
|
| 31 |
+
|
| 32 |
+
Our contributions are three-fold. First, we propose 3D shape programs: a new representation for shapes, building on classic findings in cognitive science and computer graphics. Second, we propose to infer 3D shape programs by explaining the input shape, making use of a neural shape program executor. Third, we demonstrate that the inference model, the executor, and the programs they recover all achieve good performance on ShapeNet, learning to explain and reconstruct complex shapes. We further show that an extension of the model can infer shape programs and reconstruct 3D shapes directly from images.
|
| 33 |
+
|
| 34 |
+
# 2 RELATED WORK
|
| 35 |
+
|
| 36 |
+
Inverse procedural graphics. The problem of inferring programs from voxels is closely related to inverse procedural graphics, where a procedural graphics program is inferred from an image or declarative specification (Ritchie et al., 2016; St’ava et al. ˇ , 2010). Where the systems have been most successful, however, are when they leverage a large shape–component library (Chaudhuri et al., 2011; Schulz et al., 2017) or are applied to a sparse solution space (van den Hengel et al., 2015). Kulkarni et al. (2015a) approached the problem of inverse graphics as inference in a probabilistic program for generating 2D images, or image contours, from an underlying 3D model. They demonstrated results on several different applications using parametric generative models for faces, bodies, and simple multi-part objects based on generalized cylinders. In this work, we extend the idea of inverse procedural graphics to 3-D voxel representations, and show how this idea can apply to large data sets like ShapeNet. We furthermore do not have to match components to a library of possible shapes, instead using a neural network to directly infer shapes and their parameters.
|
| 37 |
+
|
| 38 |
+
A few recent papers have explored the use of simple geometric primitives to describe shapes (Tulsiani et al., 2017; Zou et al., 2017; Liu et al., 2018), putting the classic idea of generalized cylinders (Roberts, 1963; Binford, 1971) or geons (Biederman, 1987) in the modern context of deep learning. In particular, Sharma et al. (2018) extended these papers and addressed the problem of inferring 3-D CAD programs from perceptual input. We find this work inspiring, but also feel that a key goal of 3-D program inference is to reconstruct a program in terms of semantically meaningful parts and their spatial regularity, which we address here. Some other graphics papers also explore regularity, but without using programs (Mitra et al., 2013; Zhu et al., 2018; Nishida et al., 2018; Li et al., 2017).
|
| 39 |
+
|
| 40 |
+
Work in the HCI community has also addressed the problem of inferring parametric graphics primitives from perceptual input. For example, Nishida et al. (2016) proposed to learn to instantiate procedural primitives for an interactive modeling system. In our work, we instead learn to instantiate multiple procedural graphics primitives simultaneously, without assistance from a human user.
|
| 41 |
+
|
| 42 |
+
Table 1: The domain specific language (DSL) for 3D shapes. Semantics depends on the types of objects that are modeled, i.e., semantics for vehicle and furniture should be different. For details of DSL in our experimental setting, please refer to supplementary.
|
| 43 |
+
|
| 44 |
+
<table><tr><td>Program</td><td>→</td></tr><tr><td>Statement</td><td>Draw(Semantics,Shape,Position_Params,Geometry Params)</td></tr><tr><td>Statement</td><td>For(For_Params); Program; EndFor</td></tr><tr><td>Semantics</td><td>semantics 1|semantics 2|semantics 3|..</td></tr><tr><td>Shape</td><td>Cuboid|Cylinder丨Rectangle|Circle|Line</td></tr><tr><td>Position_Params</td><td>(x,y,z)</td></tr><tr><td>Geometry_Params</td><td>(g1,92,93,94,...)</td></tr><tr><td>For_Params</td><td>Translation_Params|Rotation_Params</td></tr><tr><td>Translation_Params</td><td>(times i, orientation u)</td></tr><tr><td>Rotation_Params</td><td>(times i,angle θ,axis a)</td></tr></table>
|
| 45 |
+
|
| 46 |
+
Program synthesis. In the AI literature, Ellis et al. (2018) leveraged symbolic program synthesis techniques to infer 2D graphics programs from images, extending their earlier work by using neural nets for faster inference of low-level cues such as strokes (Ellis et al., 2015). Here, we show how a purely end–to–end network can recover 3D graphics programs from voxels, conceptually relevant to RobustFill (Devlin et al., 2017), which presents a purely end-to-end neural program synthesizer for text editing. The very recent SPIRAL system (Ganin et al., 2018) also takes as its goal to learn structured program–like models from (2D) images. An important distinction from our work here is that SPIRAL explains an image in terms of paint-like “brush strokes”, whereas we explain 3D voxels in terms of high-level objects and semantically meaningful parts of objects, like legs or tops. Other tangential related work on program synthesis includes Balog et al. (2017); Devlin et al. (2017); Parisotto et al. (2017); Gaunt et al. (2016); Sun et al. (2018a); Liu et al. (2019).
|
| 47 |
+
|
| 48 |
+
Learning to execute programs. Neural Program Interpreters (NPI) have been extensively studied for programs that abstract and execute tasks such as sorting, shape manipulation, and grade-school arithmetic (Reed & De Freitas, 2016; Cai et al., 2017; Bosnjak et al. ˇ , 2017). In NPI (Reed & De Freitas, 2016), the key insight is that a program execution trace can be decomposed into predefined operations that are more primitive; and at each step, an NPI learns to predict what operation to take next depending on the general environment, domain specific state , and previous actions. Cai et al. (2017) improved the generalization of NPIs by adding recursion. Johnson et al. (2017) learned to execute programs for visual question and answering. In this paper, we also learn a 3D shape program executor that renders 3D shapes from programs as a component of our model.
|
| 49 |
+
|
| 50 |
+
# 3 3D SHAPE PROGRAMS
|
| 51 |
+
|
| 52 |
+
In this section, we define the domain-specific language for 3D shapes, as well as the problem of shape program synthesis.
|
| 53 |
+
|
| 54 |
+
Table 1 shows our DSL for 3D shape programs. Each shape program consists of a variable number of program statements. A program statement can be either Draw, which describes a shape primitive as well as its geometric and semantic attributes, or For, which contains a sub-program and parameters specifying how the subprogram should be repeatedly executed. The number of arguments for each program statement varies. We tokenize programs for the purpose of neural network prediction.
|
| 55 |
+
|
| 56 |
+
Each shape primitive models a semantically-meaningful part of an object. Its geometric attributes (Table 1: Geometry Params, Position Params) specify the position and orientation of the part. Its semantic attributes (Table 1: Semantics) specify its relative role within the whole shape (e.g., top, back, leg). They do not affect the geometry of the primitive; instead, they associate geometric parts with their semantic meanings conveying how parts can be shared across object categories semantically and functionally (e.g., a chair and a table may have similar legs).
|
| 57 |
+
|
| 58 |
+
Our For statement captures high-level regularity across parts. For example, the legs of a table can be symmetric with respect to particular rotation angles. The horizontal bars of a chair may lay out regularly with a fixed vertical gap. Each For statement can contain sub-programs, allowing recursive generation of shape programs.
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
Figure 2: The core of our 3D shape program generator are two LSTMs. The Block LSTM emits features for each program block. The Step LSTM takes these features as input and outputs programs inside each block, which includes either a single drawing statement or compound statements.
|
| 62 |
+
|
| 63 |
+
The problem of inferring a 3D shape program is defined as follows: predicting a 3D shape program that reconstructs the input shape when the program is executed. In this paper, we use voxelized shapes as input with a resolution of $3 2 \times 3 2 \times 3 2$ .
|
| 64 |
+
|
| 65 |
+
# 4 INFERRING AND EXECUTING 3D SHAPE PROGRAMS
|
| 66 |
+
|
| 67 |
+
Our model, called Shape Programs, consists of a program generator and a neural program executor. The program generator takes a 3D shape as input and outputs a sequence of primitive programs that describe this 3D shape. The neural program executor takes these programs as input and generates the corresponding 3D shapes. This allows our model to learn in a self-supervised way by generating programs from input shapes, executing these programs, and back-propagating the difference between the generated shapes and the raw input.
|
| 68 |
+
|
| 69 |
+
# 4.1 PROGRAM GENERATOR
|
| 70 |
+
|
| 71 |
+
We model program generation as a sequential prediction problem. We partition full programs into two types of subprograms, which we call blocks: (1) a single drawing statement describing a semantic part, e.g. circle top; and (2) compound statements, which are a loop structure that interprets a set of translated or rotated parts, e.g. four symmetric legs. This part-based, symmetry-aware decomposition is inspired by human perception (Fleuret et al., 2011).
|
| 72 |
+
|
| 73 |
+
Our program generator is shown in Figure 2. The core of the program generator consists of two orthogonal LSTMs. The first one,the Block LSTM, connects sequential blocks. The second one, the Step LSTM, generates programs for each block. At each block, we first render the shape described by previous program blocks with a graphics engine. Then, the rendered shape and the raw shape are combined along the channel dimension and fed into a 3D ConvNet. The Block LSTM takes the features output by the 3D ConvNet and outputs features of the current block, which are further fed into the step LSTM to predict the block programs. The reason why we need the step LSTM is that each block might have a different length (e.g., loop bodies of different sizes).
|
| 74 |
+
|
| 75 |
+
Given block feature $h _ { b l k }$ , the Step LSTM predicts a sequence of program tokens, each consisting of a program id and an argument matrix. The $i$ -th row of the argument matrix serves for the $i$ -th primitive program. From the LSTM hidden state $h _ { t }$ , two decoders generate the output. The softmax classification probability over program sets is obtained by $f _ { \mathrm { p r o g } } : \mathbb { R } ^ { M } \to \mathbb { R } ^ { N }$ . The argument matrix is computed by $f _ { \mathrm { p a r a m } } : \mathbb { R } ^ { M } \to \mathbb { R } ^ { N \times K }$ , where $N$ is the total number of program primitives and $K$ is the maximum possible number of arguments. The feed-forward steps of the Step LSTM are summarized as
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\begin{array} { r l } & { h _ { t } = f _ { \mathrm { l s t m } } ( x _ { t } , h _ { t - 1 } ) , } \\ & { p _ { t } = f _ { \mathrm { p r o g } } ( h _ { t } ) , ~ a _ { t } = f _ { \mathrm { p a r a m } } ( h _ { t } ) , } \end{array}
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
where the $p _ { t }$ and $a _ { t }$ corresponds to the program probability distribution and argument matrix at time $t$ . After getting the program $\mathrm { I D }$ , we obtain its arguments by retrieving the corresponding row in the argument matrix. At each time step, the input of the Step LSTM $x _ { t }$ is the embedding of the output in the previous step. For the first step, the block feature $h _ { b l k }$ is used instead.
|
| 82 |
+
|
| 83 |
+

|
| 84 |
+
Figure 3: The learned program executor consits of an LSTM, which encodes multiple steps of programs, and a subsequent 3D DeconvNet which decodes the features to a 3D shape.
|
| 85 |
+
|
| 86 |
+
We pretrain our program generator on a synthetic dataset with a few pre-defined simple program templates. The set of all templates for tables are shown in Section A1. These templates are much simpler than the actual shapes. The generator is trained to predict the program token and regress the corresponding arguments via the following loss $\begin{array} { r } { l _ { \mathrm { g e n } } = \sum _ { b , i } w _ { p } l _ { \mathrm { c l s } } ( p _ { b , i } , \hat { p _ { b , i } } ) ) + w _ { a } l _ { \mathrm { r e g } } ( a _ { b , i } , \hat { a } _ { b , i } ) } \end{array}$ , where $l _ { \mathrm { c l s } } ( p _ { b , i } , \hat { p } _ { b , i } ) )$ and $l _ { \mathrm { r e g } } ( a _ { b , i } , \hat { a } _ { b , i } )$ are the cross-entropy loss of program ID classification and the $\mathscr { L } \mathrm { - } 2$ loss of argument regression, in step $i$ of block $b$ , respectively. The weights $w _ { p }$ and $w _ { a }$ balance the losses between classification and regression.
|
| 87 |
+
|
| 88 |
+
# 4.2 NEURAL PROGRAM EXECUTOR
|
| 89 |
+
|
| 90 |
+
We propose to learn a neural program executor, an approximate but differentiable graphics engine, which generates a shape from a program. The program executor can then be used for training the program generator by back-propagating gradients. An alternative is to design a graphics engine that explicitly executes a symbolic program to produce a voxelized 3D shape. Certain high-level program commands, such as For statements, will make the executor non-differentiable. Our use of a neural, differentiable executor enables gradient-based fine-tuning of the program synthesizer on unannotated shapes, which allows the model to generalize effectively to novel shapes outside training categories.
|
| 91 |
+
|
| 92 |
+
Learning to execute a long sequence of programs is difficult, since an executor has to learn to interpret not only single statements but also complex combinations of multiple statements. We decompose the problem by learning an executor that executes programs at the block level, e.g., either a single drawing statement or a compound statements. Afterwards, we integrate these block-level shapes by max-pooling to form the shape corresponding to a long sequence of programs. Our neural program executor includes an LSTM followed by a deconv CNN, as shown in Figure 3. The LSTM aggregates the block-level program into a fixed-length representation. The following deconv CNN takes this representation and generates the desired shape.
|
| 93 |
+
|
| 94 |
+
To train the program executor, we synthesize large amounts of block-level programs and their corresponding shapes. During training, we minimize the sum of the weighted binary cross-entropy losses over all voxels via
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\mathcal { L } = \sum _ { v \in V } - w _ { 1 } y _ { v } \log \hat { y } _ { v } - w _ { 0 } ( 1 - y _ { v } ) \log ( 1 - \hat { y } _ { v } ) ,
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $v$ is a single voxel of the whole voxel space $V$ , $y _ { v }$ and $\hat { y } _ { v }$ are the ground truth and prediction, respectively, while $w _ { 0 }$ and $w _ { 1 }$ balance the losses between vacant and occupied voxels. This training leverages only synthetic data, not annotated shape and program pairs, which is a blessing of our disentangled representation.
|
| 101 |
+
|
| 102 |
+
# 4.3 GUIDED ADAPTATION
|
| 103 |
+
|
| 104 |
+
A program generator trained only on a synthetic dataset does not generalize well to real-world datasets. With the learned differentiable neural program executor, we can adapt our model to other datasets such as ShapeNet, where program-level supervision is not available. We execute the predicted program by the learned neural program executor and compute the reconstruction loss between the generated shape and the input. Afterwards, the program generator is updated by the gradient back-propagated from the learned program executor, whose weights are frozen.
|
| 105 |
+
|
| 106 |
+
This adaptation is guided by the learned program executor and therefore called guided adaptation $( G A )$ , and is shown in Figure 4. Given an input shape, the program generator first outputs multiple block programs. Each block is interpreted as 3D shapes by the program executor. A max-pooling operation over these block-level shapes generates the reconstructed shape. The use of max-pooling also enables our executor to handle programs of variable length. Vacant tokens are also executed and pooled. Gradients can then propagate through vacant tokens and the model can learn to add new program primitives accordingly. Here, the loss for Guided Adaptation is the summation of the binary cross-entropy loss over all voxels.
|
| 107 |
+
|
| 108 |
+

|
| 109 |
+
Figure 4: Given an input 3D shape, the neural program executor executes the generated programs. Errors between the rendered shape and the raw input are back-propagated.
|
| 110 |
+
|
| 111 |
+
# 5 EXPERIMENTS
|
| 112 |
+
|
| 113 |
+
We present program generation and shape reconstruction results on three datasets: our synthetic dataset, ShapeNet (Chang et al., 2015), and Pix3D (Sun et al., 2018b).
|
| 114 |
+
|
| 115 |
+
Setup. In our experiments, we use a single model to predict programs for multiple categories. Our model is first pretrained on the synthetic dataset and subsequently adapted to target dataset such as ShapeNet and Pix3D under the guidance of the neural program executor. All components of our model are trained with Adam (Kingma & Ba, 2015).
|
| 116 |
+
|
| 117 |
+
# 5.1 EVALUATION ON THE SYNTHETIC DATASET
|
| 118 |
+
|
| 119 |
+
Program generator. We first pre-train our program generator on our synthetic dataset with simple templates. The synthetic training set includes 100,000 chairs and 100,000 tables. The generator is evaluated on 5,000 chairs and tables. More than $9 9 . 9 \%$ of the programs are accurately predicted. The shapes rendered by the predicted programs have an average IoU of 0.991 with the input shapes. This high accuracy is due to the simplicity of the synthetic dataset.
|
| 120 |
+
|
| 121 |
+
Program executor. Our program executor is trained on 500,000 pairs of synthetic block programs and corresponding shapes, and tested on 30,000 pairs. The IoU between the shapes rendered by the executor and the ground truth is 0.93 for a single drawing statement and 0.88 for compound statements. This shows the neural program executor is a good approximation of the graphics engine.
|
| 122 |
+
|
| 123 |
+
# 5.2 GUIDED ADAPTATION ON SHAPENET
|
| 124 |
+
|
| 125 |
+
Setup. We validate the effectiveness of guided adaptation by testing our model on unseen examples from ShapeNet. For both tables and chairs, we randomly select 1,000 shapes for evaluation and all the remaining ones for guided adaptation.
|
| 126 |
+
|
| 127 |
+
Quantitative results. After our model generates programs from input shapes, we execute these programs with a graphics engine and measure the reconstruction quality. Evaluation metrics include IoU, Chamfer distance (CD) (Barrow et al., 1977), and Earth Mover’s distance (EMD) (Rubner et al., 2000). While the pre-trained model achieves 0.99 IoU on the synthetic dataset, the IoU drops below 0.5 on ShapeNet, showing the significant disparity between these two domains. As shown in Table 2, all evaluation metrics suggests improvement after guided adaptation. For example, the IoUs of table and chair increase by 0.104 and 0.094, respectively. We compare our method with Tulsiani et al. (2017), which describes shapes with a set of primitives; and CSGNet (Sharma et al., 2018), which learns to describe shapes by applying arithmetic over primitives. For CSGNet, we evaluate two variants: first, CSGNet-original, where we directly test the model released by the original authors;
|
| 128 |
+
|
| 129 |
+
Table 2: Shape reconstruction results on ShapeNet, evaluated in intersection over union (IoU, higher is better), Chamfer distance (CD, lower is better), and Earth Mover’s distance (EMD, lower is better). Our model outperforms the baselines.
|
| 130 |
+
|
| 131 |
+
<table><tr><td rowspan="2">Models</td><td colspan="2">IoU↑</td><td colspan="2">CD↓</td><td colspan="2">EMD↓</td></tr><tr><td>table</td><td>chair</td><td>table</td><td>chair</td><td>table</td><td>chair</td></tr><tr><td>CSGNet-original</td><td>0.111</td><td>0.154</td><td>0.216</td><td>0.175</td><td>0.205</td><td>0.177</td></tr><tr><td>Tulsiani et al. (2017)</td><td>0.357</td><td>0.406</td><td>0.083</td><td>0.079</td><td>0.073</td><td>0.072</td></tr><tr><td>CSGNet-augmented</td><td>0.406</td><td>0.365</td><td>0.072</td><td>0.077</td><td>0.069</td><td>0.076</td></tr><tr><td>Nearest Neighbour</td><td>0.445</td><td>0.389</td><td>0.083</td><td>0.084</td><td>0.084</td><td>0.084</td></tr><tr><td>Shape Programs w/o GA</td><td>0.487</td><td>0.422</td><td>0.067</td><td>0.072</td><td>0.063</td><td>0.072</td></tr><tr><td> Shape Programs</td><td>0.591</td><td>0.516</td><td>0.058</td><td>0.063</td><td>0.056</td><td>0.060</td></tr></table>
|
| 132 |
+
|
| 133 |
+
second, CSGNet-augmented, where we retrain CSGNet on our dataset with the additional shape primitives we introduced. We also introduce a nearest neighbor baseline, where we use Hamming distance to search for a nearest neighbour from the training set for each testing sample.
|
| 134 |
+
|
| 135 |
+
Our model without guided adaptation outperforms Tulsiani et al. (2017) and CSGNet by a margin, showing the benefit of capturing regularities such as symmetry and translation. The NN baseline suggests that simply memorizing the training set does not generalize well to test shapes. With the learned neural program executor, we try to directly train our program generator on ShapeNet without any pre-training. This trial failed, possibly because of the extremely huge and complicated combinatorial space of programs. However, the initial programs for pre-training can be very simple: e.g., 10 simple table templates (Fig. A1) are sufficient to initialize the model, which later achieves good performance under execution-guided adaptation.
|
| 136 |
+
|
| 137 |
+
Qualitative results. Figure 5 shows some program generation and shape reconstruction results for tables and chairs, respectively. The input shapes can be noisy and contain components that are not covered by templates in our synthetic dataset. After guided adaption, our model is able to extract more meaningful programs and reconstruct the input shape reasonably well.
|
| 138 |
+
|
| 139 |
+
Our model can be adapted to either add or delete programs, as shown in Figure 5. In (a), we observe an addition of translation describing the armrests. In (b) the “cylinder support” program is removed and a nested translation is added to describe four legs. In (c) and (d), the addition of “Horizontal bar” and “Rectangle layer” leads to more accurate representation. Improvements utilizing modifications to compound programs are not restricted to translations, but can also be observed in rotations, e.g., the times of rotation in (a) is increased from 4 to 5. We also notice new templates emerges after adaptation, e.g., tables in (c) and (d) are not in the synthetic dataset (check the synthetic templates for tables in supplementary). These changes are significant because it indicates the generator can map complex, non-linear relationships to the program space.
|
| 140 |
+
|
| 141 |
+
# 5.3 STABILITY AND CONNECTIVITY MEASUREMENT
|
| 142 |
+
|
| 143 |
+
Stability and connectivity are necessary for the functioning of many real-world shapes. This is difficult to capture using purely low-level primitives, but are better suited to our program representations.
|
| 144 |
+
|
| 145 |
+
We define a shape as stable if its center of mass falls within the convex hull of its ground contacts, and we define a shape as connected if all voxels form one connected component. In Table 3 we compare our model against Tulsiani et al. (2017) and observe significant improvements in the stability of shapes produced by our model when compared to this baseline. This is likely because our model is able to represent multiple identical objects by utilizing translations and rotations. Before GA, our model produces chairs with lower connectivity, but we observe significant improvements with GA. This can be explained by the significant diversity in the ShapeNet dataset under the “chair” class. However, the improvements with GA also demonstrate an ability for our model to generalize. Measured by the percentage of produced shapes that are stable and connected, our model gets significantly better results, and continues to improve with guided adaptation.
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 5: The program generation for ShapeNet chairs and tables. For each shape, the first and second rows represent results before and after guided adaptation. Best viewed in color.
|
| 149 |
+
|
| 150 |
+
<table><tr><td rowspan="2">Models</td><td colspan="2">Stable (%)</td><td colspan="2">Conn. (%)</td><td colspan="2">Stable & Conn. (%)</td></tr><tr><td>table</td><td>chair</td><td>table</td><td>chair</td><td>table</td><td>chair</td></tr><tr><td>Tulsiani et al. (2017)</td><td>36.7</td><td>31.3</td><td>37.1</td><td>68.9</td><td>15.4</td><td>19.6</td></tr><tr><td> Shape Programs w/o GA</td><td>94.7</td><td>95.1</td><td>76.6</td><td>54.2</td><td>73.7</td><td>51.6</td></tr><tr><td>Shape Programs</td><td>97.0</td><td>96.5</td><td>78.4</td><td>68.5</td><td>77.0</td><td>66.0</td></tr><tr><td>Ground Truth</td><td>98.9</td><td>97.6</td><td>98.8</td><td>97.8</td><td>97.7</td><td>95.5</td></tr></table>
|
| 151 |
+
|
| 152 |
+
Table 3: Measurement of stability and connectivity. Our model is able to capture shape regularity such as symmetry. Therefore, shapes represented by our programs are more stable and better connected.
|
| 153 |
+
|
| 154 |
+
# 5.4 GENERALIZATION ON OTHER SHAPES
|
| 155 |
+
|
| 156 |
+
While our program generator is pre-trained only on synthetic chairs and tables, generalization on other shape categories is desirable. We further demonstrate that with guided adaptation, our program generator can be transferred to other unseen categories.
|
| 157 |
+
|
| 158 |
+
<table><tr><td rowspan="3">Models</td><td colspan="4">IoU↑</td><td colspan="4">CD←</td></tr><tr><td>bed</td><td>sofa</td><td>cabinet</td><td>bench</td><td>bed</td><td>sofa</td><td>cabinet</td><td>bench</td></tr><tr><td>Shape Programs w/o GA</td><td>0.234</td><td>0.296</td><td>0.251</td><td>0.176</td><td>0.126</td><td>0.103</td><td>0.104</td><td>0.098</td></tr><tr><td>Shape Programs</td><td>0.367</td><td>0.597</td><td>0.478</td><td>0.418</td><td>0.096</td><td>0.067</td><td>0.092</td><td>0.059</td></tr></table>
|
| 159 |
+
|
| 160 |
+
Table 4: Shape reconstruction results on unseen categories. Results with or without guided adaptation in intersection over union (IoU, higher is better) and Chamfer distance (CD, lower is better).
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
Figure 6: ShapeNet objects from unseen categories reconstructed with shape programs before and after guided adaptation. Shape Programs can learn to adapt and explain objects from novel classes.
|
| 164 |
+
|
| 165 |
+

|
| 166 |
+
Figure 7: 3D reconstruction results on Pix3D dataset. MarrNet generates fragmentary shapes and our model further smooths and completes such shapes.
|
| 167 |
+
|
| 168 |
+
We consider Bed, Bench, Cabinet, and Sofa, which share similar semantics with table and chair but are unseen during pre-training. We split $80 \%$ shapes of each category for guided adaptation and the remaining for evaluation. Table 4 suggests the pre-trained model performs poorly for these unseen shapes but its performance improves with this unsupervised guided adaptation. The IoU of bed improves from 0.23 to 0.37, sofa from 0.30 to 0.60, cabinet from 0.25 to 0.48, and bench from 0.18 to 0.42. This clearly illustrates the generalization ability of our framework. Visualized examples are show in Figure 6.
|
| 169 |
+
|
| 170 |
+
# 5.5 SHAPE COMPLETION AND SMOOTHING BY PROGRAMS
|
| 171 |
+
|
| 172 |
+
One natural application of our model is to complete and smooth fragmentary shapes reconstructed from 2D images. We separately train a MarrNet (Wu et al., 2017) model for chairs and tables on ShapeNet, and then reconstruct 3D shapes from 2D images on the Pix3D dataset. As shown in Figure 7, MarrNet can generate fragmentary shapes, which are then fed into our model to generate programs. These programs are executed by the graphics engine to produce a smooth and complete shape. For instance, our model can complete the legs of chairs and tables, as shown in Figure 7.
|
| 173 |
+
|
| 174 |
+
While stacking our model on top of MarrNet does not change the IoU of 3D reconstruction, our model produces more visually appealing and human-perceptible results. A user study on AMT shows that $78 . 9 \%$ of the participant responses prefer our results rather than MarrNet’s.
|
| 175 |
+
|
| 176 |
+
# 6 DISCUSSION
|
| 177 |
+
|
| 178 |
+
We have introduced 3D shape programs as a new shape representation. We have also proposed a model for inferring shape programs, which combines a neural program synthesizer and a neural executor. Experiments on ShapeNet show that our model successfully explains shapes as programs and generalizes to shapes outside training categories. Further experiments on Pix3D show our model can be extended to infer shape programs and reconstruct 3D shapes directly from color images. We now discuss key design choices and future work.
|
| 179 |
+
|
| 180 |
+

|
| 181 |
+
Figure 8: We visualize the effect of manipulating individual dimensions in the intermediate representation of neural program executor. For example, dimension 27 corresponds to the height of primitives, dimension 25 to the radius of primitives, and dimension 41 to the times of primitive repetition.
|
| 182 |
+
|
| 183 |
+
Analyzing the neural program executor. We look deep into the intermediate representation of the neural program executor, which is a 64-dimensional vector output by the LSTM (see Figure 3). We manipulate individual dimensions and visualize the generated voxels. Figure 8 shows that these dimensions capture interpretable geometric features (e.g., height, radius, and number of repetitions).
|
| 184 |
+
|
| 185 |
+
Design of the DSL. Our design of the DSL for shape programs makes certain semantic commitments. A DSL with these semantics has advantages and disadvantages: it naturally supports semantic correspondences across shapes and enables better in-class reconstructions; on the other hand, it may limit the ability to generalize to shapes outside training classes. Our current instantiation focuses on the semantics of furniture (a superclass, whose subclasses share similar semantics). Within this superclass, our model generalizes well: trained on chairs and tables, it generalizes to new furniture categories such as beds. In future work, we are interested in learning a library of shape primitives directly from data, which will allow our approach to adapt automatically to new superclasses or domains of shape.
|
| 186 |
+
|
| 187 |
+
Structure search vs. amortized inference. For our program synthesis task, we use neural nets for amortized inference rather than structure search, due to the large search space and our desire to return a shape interpretation nearly instantaneously, effectively trading neural net training time for fast inference at test time. Our model takes $5 \mathrm { m s }$ to infer a shape program with a Titan X GPU. We also considered various possible approaches for structured search over the space of shape programs, but decided that these would most likely be too our slow for our goals.
|
| 188 |
+
|
| 189 |
+
One approach to structured search is constraint solving. Ellis et al. (2015) used the performant Z3 SMT solver (De Moura & Bjørner, 2008) to infer 2D graphics programs, taking 5-20 minutes for problems arguably simpler than our 3D shape programs. Other approaches could be based on stochastic search, such as MCMC in the space of programs. For the related problem of inverse graphics from 2D images, MCMC, like constraint solving, takes too long for perception at a glance (Kulkarni et al., 2015b). Efficient integration of discrete search and amortized inference, however, is a promising future research direction.
|
| 190 |
+
|
| 191 |
+
Acknowledgments. We thank Keyulu Xu and Xiuming Zhang for insightful discussions and anonymous reviewers for their feedback. This work is supported by the Center for Brains, Minds and Machines (NSF #1231216), NSF #1447476, ONR MURI N00014-16-1-2007, and Facebook.
|
| 192 |
+
|
| 193 |
+
# REFERENCES
|
| 194 |
+
|
| 195 |
+
Matej Balog, Alexander L Gaunt, Marc Brockschmidt, Sebastian Nowozin, and Daniel Tarlow. Deepcoder: Learning to write programs. In ICLR, 2017. 3
|
| 196 |
+
|
| 197 |
+
Harry G Barrow, Jay M Tenenbaum, Robert C Bolles, and Helen C Wolf. Parametric correspondence and chamfer matching: Two new techniques for image matching. In IJCAI, 1977. 6
|
| 198 |
+
|
| 199 |
+
Irving Biederman. Recognition-by-components: a theory of human image understanding. Psychol. Rev., 94(2):115, 1987. 2
|
| 200 |
+
|
| 201 |
+
Thomas O Binford. Visual perception by computer. Invited talk at IEEE Conf. on Systems and Control, 1971. 2
|
| 202 |
+
|
| 203 |
+
Matko Bosnjak, Tim Rockt ˇ aschel, Jason Naradowsky, and Sebastian Riedel. Programming with a ¨ differentiable forth interpreter. In ICML, 2017. 3
|
| 204 |
+
|
| 205 |
+
Jonathon Cai, Richard Shin, and Dawn Song. Making neural programming architectures generalize via recursion. In ICLR, 2017. 3
|
| 206 |
+
|
| 207 |
+
Angel X Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. Shapenet: An information-rich 3d model repository. arXiv:1512.03012, 2015. 1, 6
|
| 208 |
+
|
| 209 |
+
Siddhartha Chaudhuri, Evangelos Kalogerakis, Leonidas Guibas, and Vladlen Koltun. Probabilistic reasoning for assembly-based 3d modeling. ACM TOG, 30(4):35, 2011. 2
|
| 210 |
+
|
| 211 |
+
Leonardo De Moura and Nikolaj Bjørner. Z3: An efficient smt solver. In TACAS, 2008. 10
|
| 212 |
+
|
| 213 |
+
Jacob Devlin, Jonathan Uesato, Surya Bhupatiraju, Rishabh Singh, Abdel-rahman Mohamed, and Pushmeet Kohli. Robustfill: Neural program learning under noisy i/o. In ICML, 2017. 3
|
| 214 |
+
|
| 215 |
+
Daniel D Dilks, Joshua B Julian, Jonas Kubilius, Elizabeth S Spelke, and Nancy Kanwisher. Mirrorimage sensitivity and invariance in object and scene processing pathways. J. Neurosci., 31(31): 11305–11312, 2011. 1
|
| 216 |
+
|
| 217 |
+
Kevin Ellis, Armando Solar-Lezama, and Josh Tenenbaum. Unsupervised learning by program synthesis. In NeurIPS, 2015. 3, 10
|
| 218 |
+
|
| 219 |
+
Kevin Ellis, Daniel Ritchie, Armando Solar-Lezama, and Joshua B Tenenbaum. Learning to infer graphics programs from hand-drawn imatges. In NeurIPS, 2018. 3
|
| 220 |
+
|
| 221 |
+
Franc¸ois Fleuret, Ting Li, Charles Dubout, Emma K Wampler, Steven Yantis, and Donald Geman. Comparing machines and humans on a visual categorization test. PNAS, 108(43):17621–17625, 2011. 4
|
| 222 |
+
|
| 223 |
+
Yaroslav Ganin, Tejas Kulkarni, Igor Babuschkin, SM Eslami, and Oriol Vinyals. Synthesizing programs for images using reinforced adversarial learning. In ICML, 2018. 3
|
| 224 |
+
|
| 225 |
+
Alexander L Gaunt, Marc Brockschmidt, Rishabh Singh, Nate Kushman, Pushmeet Kohli, Jonathan Taylor, and Daniel Tarlow. Terpret: A probabilistic programming language for program induction. arXiv preprint arXiv:1608.04428, 2016. 3
|
| 226 |
+
|
| 227 |
+
Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Judy Hoffman, Li Fei-Fei, C Lawrence Zitnick, and Ross Girshick. Inferring and executing programs for visual reasoning. In ICCV, 2017. 3
|
| 228 |
+
|
| 229 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015. 6
|
| 230 |
+
|
| 231 |
+
Kurt Koffka. Principles of Gestalt psychology. Routledge, 2013. 1
|
| 232 |
+
|
| 233 |
+
Tejas D Kulkarni, Pushmeet Kohli, Joshua B Tenenbaum, and Vikash Mansinghka. Picture: A probabilistic programming language for scene perception. In CVPR, 2015a. 2
|
| 234 |
+
|
| 235 |
+
Tejas D Kulkarni, William F Whitney, Pushmeet Kohli, and Josh Tenenbaum. Deep convolutional inverse graphics network. In NeurIPS, 2015b. 10
|
| 236 |
+
|
| 237 |
+
Jun Li, Kai Xu, Siddhartha Chaudhuri, Ersin Yumer, Hao Zhang, and Leonidas Guibas. Grass: Generative recursive autoencoders for shape structures. In SIGGRAPH, 2017. 2
|
| 238 |
+
|
| 239 |
+
Yunchao Liu, Zheng Wu, Daniel Ritchie, William T Freeman, Joshua B Tenenbaum, and Jiajun Wu. Learning to describe scenes with programs. In ICLR, 2019. 3
|
| 240 |
+
|
| 241 |
+
Zhijian Liu, William T Freeman, Joshua B Tenenbaum, and Jiajun Wu. Physical primitive decomposition. In ECCV, 2018. 2
|
| 242 |
+
|
| 243 |
+
Niloy Mitra, Michael Wand, Hao Richard Zhang, Daniel Cohen-Or, Vladimir Kim, and Qi-Xing Huang. Structure-aware shape processing. In SIGGRAPH Asia Courses, 2013. 2
|
| 244 |
+
|
| 245 |
+
Gen Nishida, Ignacio Garcia-Dorado, Daniel G Aliaga, Bedrich Benes, and Adrien Bousseau. Interactive sketching of urban procedural models. ACM TOG, 35(4):130, 2016. 2
|
| 246 |
+
|
| 247 |
+
Gen Nishida, Adrien Bousseau, and Daniel G Aliaga. Procedural modeling of a building from a single image. CGF, 37(2):415–429, 2018. 2
|
| 248 |
+
|
| 249 |
+
Emilio Parisotto, Abdel-rahman Mohamed, Rishabh Singh, Lihong Li, Dengyong Zhou, and Pushmeet Kohli. Neuro-symbolic program synthesis. In ICLR, 2017. 3
|
| 250 |
+
|
| 251 |
+
Charles R Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. In NeurIPS, 2017. 1
|
| 252 |
+
|
| 253 |
+
Scott Reed and Nando De Freitas. Neural programmer-interpreters. In ICLR, 2016. 3
|
| 254 |
+
|
| 255 |
+
Daniel Ritchie, Anna Thomas, Pat Hanrahan, and Noah Goodman. Neurally-guided procedural models: Amortized inference for procedural graphics programs using neural networks. In NeurIPS, 2016. 2
|
| 256 |
+
|
| 257 |
+
Lawrence G Roberts. Machine perception of three-dimensional solids. PhD thesis, Massachusetts Institute of Technology, 1963. 2
|
| 258 |
+
|
| 259 |
+
Yossi Rubner, Carlo Tomasi, and Leonidas J Guibas. The earth mover’s distance as a metric for image retrieval. IJCV, 40(2):99–121, 2000. 6
|
| 260 |
+
|
| 261 |
+
Adriana Schulz, Ariel Shamir, Ilya Baran, David IW Levin, Pitchaya Sitthi-Amorn, and Wojciech Matusik. Retrieval on parametric shape collections. ACM TOG, 36(1):11, 2017. 2
|
| 262 |
+
|
| 263 |
+
Gopal Sharma, Rishabh Goyal, Difan Liu, Evangelos Kalogerakis, and Subhransu Maji. Csgnet: Neural shape parser for constructive solid geometry. In CVPR, 2018. 1, 2, 6
|
| 264 |
+
|
| 265 |
+
Ondrej St’ava, Bedrich Bene ˇ s, Radomir M ˇ ech, Daniel G Aliaga, and Peter Kri ˇ stof. Inverse procedural ˇ modeling by automatic generation of l-systems. CGF, 29(2):665–674, 2010. 2
|
| 266 |
+
|
| 267 |
+
Shao-Hua Sun, Hyeonwoo Noh, Sriram Somasundaram, and Joseph Lim. Neural program synthesis from diverse demonstration videos. In ICML, 2018a. 3
|
| 268 |
+
|
| 269 |
+
Xingyuan Sun, Jiajun Wu, Xiuming Zhang, Zhoutong Zhang, Chengkai Zhang, Tianfan Xue, Joshua B Tenenbaum, and William T Freeman. Pix3d: Dataset and methods for single-image 3d shape modeling. In CVPR, 2018b. 6
|
| 270 |
+
|
| 271 |
+
Shubham Tulsiani, Hao Su, Leonidas J Guibas, Alexei A Efros, and Jitendra Malik. Learning shape abstractions by assembling volumetric primitives. In CVPR, 2017. 1, 2, 6, 7, 8
|
| 272 |
+
|
| 273 |
+
Anton van den Hengel, Chris Russell, Anthony Dick, John Bastian, Daniel Pooley, Lachlan Fleming, and Lourdes Agapito. Part-based modelling of compound scenes from images. In CVPR, 2015. 2
|
| 274 |
+
|
| 275 |
+
Nanyang Wang, Yinda Zhang, Zhuwen Li, Yanwei Fu, Wei Liu, and Yu-Gang Jiang. Pixel2mesh: Generating 3d mesh models from single rgb images. In ECCV, 2018. 1
|
| 276 |
+
|
| 277 |
+
Jiajun Wu, Yifan Wang, Tianfan Xue, Xingyuan Sun, William T Freeman, and Joshua B Tenenbaum. MarrNet: 3D Shape Reconstruction via 2.5D Sketches. In NeurIPS, 2017. 9
|
| 278 |
+
|
| 279 |
+
Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 3d shapenets: A deep representation for volumetric shapes. In CVPR, 2015. 1
|
| 280 |
+
|
| 281 |
+
Chenyang Zhu, Kai Xu, Siddhartha Chaudhuri, Renjiao Yi, and Hao Zhang. Scores: Shape composition with recursive substructure priors. In SIGGRAPH Asia, 2018. 2
|
| 282 |
+
|
| 283 |
+
Chuhang Zou, Ersin Yumer, Jimei Yang, Duygu Ceylan, and Derek Hoiem. 3d-prnn: Generating shape primitives with recurrent neural networks. In ICCV, 2017. 2
|
| 284 |
+
|
| 285 |
+
# A.1 DEFINED PROGRAMS
|
| 286 |
+
|
| 287 |
+
The details of semantics and shape primitives in our experimental setting for furniture are shown in Table 5. Due to the semantic nature of objects, while a few semantics are category specific, e.g., “ChairBeam”, other semantics are shared across different shape categories, e.g., “Leg” and “Top”.
|
| 288 |
+
|
| 289 |
+
<table><tr><td rowspan="6"></td><td>Leg</td><td>Chair leg, table leg,etc. Usually long and used jointly for support</td></tr><tr><td>Top</td><td>Seat top, table top,etc.Usually a broad and flat surface</td></tr><tr><td>Layer</td><td>Shelf embedded in table,cabinet shelf etc.Usually a flat surface between other similar shapes</td></tr><tr><td>Support</td><td>Chair support, table support etc.A monolithic object used to raise things off the ground</td></tr><tr><td>Base</td><td>Base of an sofa, table etc. Usually a flat surface on the ground to help with stability</td></tr><tr><td>Sideboard</td><td>Sideboard of a cabinet, table etc.A vertical, flat surface on the</td></tr><tr><td>Semantics Horizontal Bar</td><td>bottom half of an object Horizontal bar of a chair etc.A thin bar used for structural</td></tr><tr><td>Vertical Board</td><td>integrity Vertical board of a arm rest etc.A vertical, flat surface used by</td></tr><tr><td>Locker</td><td>humans for arm support Table drawer etc. A boxy object used to put things in</td></tr><tr><td>Back</td><td>Chair back, Sofa back etc.A surface used for resting backs on</td></tr><tr><td>Back support</td><td>Office chair back support beam etc.A beam used to support a</td></tr><tr><td>ChairBeam</td><td>back rest Arm rest support beam in chairs,benches etc.A long object used</td></tr><tr><td rowspan="5"> Shapes</td><td>Cylinder (Cyl)</td><td>to support an arm rest P = (x,y,z),G = (t,r),draw a cylinder at (x,y,z) with sizes (t,r)</td></tr><tr><td>Cuboid (Cub)</td><td>P = (x,y,z),G = (t,r1,r2,[angl), draw a cuboid at (x,y,z) with sizes (t,r1,r2) and optional ang of tilt along front/back</td></tr><tr><td>Circle (Cir)</td><td>P = (x,y,z),G = (t,r), draw a circle at (x,y,z) with sizes (t,r),t is usually small</td></tr><tr><td>Square (Sqr)</td><td>P = (x,y,z),G = (t,r), draw a square at (x,y,z) with sizes (t,r),t is usually small</td></tr><tr><td>Rectangle (Rect)</td><td>P = (x,y,z),G= (t,r1,r2), draw a rectangle at (x,y,z) with sizes (t,r1,r2),t is usually small</td></tr><tr><td>Line (Line)</td><td></td><td>P = (𝑥1,y1,z1),G = (x2,y2, z2),draw a line from P to G</td></tr></table>
|
| 290 |
+
|
| 291 |
+
Table 5: The list of semantics and shapes, as well as associated parameters used by our model
|
| 292 |
+
|
| 293 |
+
# A.2 ARCHITECTURE DETAILS
|
| 294 |
+
|
| 295 |
+
Program Generator. The program executor contains a 3D ConvNet and two LSTMS. (1) 3D ConvNet. This 3D ConvNet is the first part of the program generator model. It consists of 8 3D convolutional layers. The kernel size of each layer is 3 except for the first one whose kernel size is 5. The number of output channels are (8,16,16,32,32,64,64,64), respectively. The output of the last layer is averaged over the spatial resolution, which gives a 64-dimension embedding. (2) Block LSTM and Step LSTM. These two LSTMs share similar structure. Both are one-layer LSTMs. The dimensions of the input and hidden state are both 64.
|
| 296 |
+
|
| 297 |
+

|
| 298 |
+
Figure A1: (a) shows random samples from all of our 10 table templates for synthetic dataset (b) shows raw and reconstructed tables on ShapeNet
|
| 299 |
+
|
| 300 |
+
Program Executor. The program executor contains an LSTM and a 3D DeConvNet. (1) LSTM. This LSTM aggregates a block-level programs into a 64-dimensional vector. The dimension of the hidden state is also 64. The input of each time step is the concatenation of category distribution over programs and the corresponding parameters retrieved from the parameter matrix. (2) 3D DeConvNet. It consists of 7 layers. TransposedConv layer with kernel size 4 and Conv layer with kernel size 3 are alternating. The number of output channels are (64, 64, 16, 16, 4, 4, 2), respectively. The output of the last layer is fed into a sigmoid function to generate the 3D voxel shape.
|
| 301 |
+
|
| 302 |
+
End-to-end differentiability. The end-to-end differentiability is obtained via our design of the neural program executor. The output of the program inference model is actually continuous. A real execution engine (not the neural executor) actually contains two steps: (1) discretize such output, and (2) execute the discretized program to generate the voxel. Our neural executor is learned to jointly approximate both steps, thus the whole pipeline can be differentiable in an end-to-end manner.
|
| 303 |
+
|
| 304 |
+
# A.3 SYNTHETIC TEMPLATES V.S. SHAPENET
|
| 305 |
+
|
| 306 |
+
ShapeNet was proposed to be the ImageNet of shapes; it is therefore highly diverse and intrinsically challenging. Our synthetic dataset were designed to provide minimal, simple guidance to the network. In Figure A1, (a) shows sampled shapes from all of our 10 table templates, while (b) shows the ground truth and reconstructed tables in ShapeNet, which are siginificantly more complex. Such disparity of complexity explains why we saw a dramatic drop of IoU when we directly tested on ShapeNet with model only pretrained on synthetic dataset. Our guided adaptation further adapt the pre-trained model.
|
| 307 |
+
|
| 308 |
+
# A.4 ADDITIONAL RESULTS
|
| 309 |
+
|
| 310 |
+
In Figure A2 through Figure A8, we show the generated shape and programs using a network that is only pretrained jointly on synthetic “table” and “chair” objects, and a network that is pretrained then further enhanced by guided adaptation on ShapeNet data. Figure A2 and Figure A3 correspond to “chairs”, Figure A4 to “tables”, Figure A5 to “benches”, Figure A6 to “couches”, Figure A7 to “cabinets”, and Figure A8 to “beds”. In Figure A2, Figure A3, and Figure A4, even though “chair” and “table” have been seen in the synthetic dataset, we still note improvements in program inference and shape reconstruction on ShapeNet after guided adaptation. This is because our synthetic data is simpler than ShapeNet data. When directly using a model pretrained on synthetic “chairs” and “tables” to other classes, it is not surprised some shapes are interpreted as tables or chairs. However, such mispredictions dramatically drop after our guided adaptation.
|
| 311 |
+
|
| 312 |
+

|
| 313 |
+
Figure A2: (a) to (f) show the generated shapes and programs for ShapeNet chairs
|
| 314 |
+
|
| 315 |
+

|
| 316 |
+
Figure A3: (a) to (f) show the generated shapes and programs for ShapeNet chairs
|
| 317 |
+
|
| 318 |
+

|
| 319 |
+
Figure A4: (a) to (f) show the generated shapes and programs for ShapeNet tables
|
| 320 |
+
|
| 321 |
+

|
| 322 |
+
Figure A5: (a) to (f) show the generated shapes and programs for ShapeNet benches
|
| 323 |
+
|
| 324 |
+

|
| 325 |
+
Figure A6: (a) to (f) show the generated shapes and programs for ShapeNet couches
|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
Figure A7: (a) to (d) show the generated shapes and programs for ShapeNet cabinets
|
| 329 |
+
|
| 330 |
+

|
| 331 |
+
Figure A8: (a) and (b) show the generated shapes and programs for ShapeNet beds
|
parse/train/rylNH20qFQ/rylNH20qFQ_content_list.json
ADDED
|
@@ -0,0 +1,1815 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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FER AND EXECUTE 3D SHAPE PROGRAMS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
99,
|
| 9 |
+
607,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yonglong Tian†, Andrew Luo†, Xingyuan $\\mathbf { S u n } ^ { \\ddagger }$ , Kevin Ellis†, William T. Freeman†∗, Joshua B. Tenenbaum† & Jiajun Wu† ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
169,
|
| 20 |
+
769,
|
| 21 |
+
199
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "†Massachusetts Institute of Technology \n‡Princeton University \n∗Google Research \n{yonglong,aluo,ellisk,billf,jbt,jiajunwu}@mit.edu \nxs5@princeton.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
200,
|
| 31 |
+
661,
|
| 32 |
+
270
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
308,
|
| 43 |
+
544,
|
| 44 |
+
321
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Human perception of 3D shapes goes beyond reconstructing them as a set of points or a composition of geometric primitives: we also effortlessly understand higherlevel shape structure such as the repetition and reflective symmetry of object parts. In contrast, recent advances in 3D shape sensing focus more on low-level geometry but less on these higher-level relationships. In this paper, we propose $3 D$ shape programs, integrating bottom-up recognition systems with top-down, symbolic program structure to capture both low-level geometry and high-level structural priors for 3D shapes. Because there are no annotations of shape programs for real shapes, we develop neural modules that not only learn to infer 3D shape programs from raw, unannotated shapes, but also to execute these programs for shape reconstruction. After initial bootstrapping, our end-to-end differentiable model learns 3D shape programs by reconstructing shapes in a self-supervised manner. Experiments demonstrate that our model accurately infers and executes 3D shape programs for highly complex shapes from various categories. It can also be integrated with an image-to-shape module to infer 3D shape programs directly from an RGB image, leading to 3D shape reconstructions that are both more accurate and more physically plausible. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
232,
|
| 53 |
+
337,
|
| 54 |
+
766,
|
| 55 |
+
574
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
598,
|
| 66 |
+
336,
|
| 67 |
+
613
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Given the table in Figure 1, humans are able to instantly recognize its parts and regularities: there exist sharp edges, smooth surfaces, a table top that is a perfect circle, and two lower, square layers. Beyond these basic components, we also perceive higher-level, abstract concepts: the shape is bilateral symmetric; the legs are all of equal length and laid out on the opposite positions of a 2D grid. Knowledge like this is crucial for visual recognition and reasoning (Koffka, 2013; Dilks et al., 2011). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
630,
|
| 77 |
+
825,
|
| 78 |
+
699
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Recent AI systems for 3D shape understanding have made impressive progress on shape classification, parsing, reconstruction, and completion (Qi et al., 2017; Tulsiani et al., 2017), many making use of large shape repositories like ShapeNet (Chang et al., 2015). Popular shape representations include voxels (Wu et al., 2015), point clouds (Qi et al., 2017), and meshes (Wang et al., 2018). While each has its own advantages, these methods fall short on capturing the strong shape priors we just described, such as sharp edges and smooth surfaces. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
707,
|
| 88 |
+
825,
|
| 89 |
+
790
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "A few recent papers have studied modeling 3D shapes as a collection of primitives (Tulsiani et al., 2017), with simple operations such as addition and subtraction (Sharma et al., 2018). These representations have demonstrated success in explaining complex 3D shapes. In this paper, we go beyond them to capture the high-level regularity within a 3D shape, such as symmetry and repetition. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
797,
|
| 99 |
+
825,
|
| 100 |
+
853
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In this paper, we propose to represent 3D shapes as shape programs. We define a domain-specific language (DSL) for shapes, containing both basic shape primitives for parts with their geometric and semantic attributes, as well as statements such as loops to enforce higher-level structural priors. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
176,
|
| 109 |
+
861,
|
| 110 |
+
825,
|
| 111 |
+
902
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/0078615a136e87ccda4833b82ddc1a3755c2b08066ad9a09f38bb79f25ca614b.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: A 3D shape can be represented by a program via a program generator. This program can be executed by a neural program executor to produce the corresponding 3D shape. "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
88,
|
| 125 |
+
816,
|
| 126 |
+
172
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Because 3D shape programs are a new shape representation, there exist no annotations of shape programs for 3D shapes. The lack of annotations makes it difficult to train an inference model with full supervision. To overcome this obstacle, we propose to learn a shape program executor that reconstructs a 3D shape from a shape program. After initial bootstrapping, our model can then learn in a self-supervised way, by attempting to explain and reconstruct unlabeled 3D shapes with 3D shape programs. This design minimizes the amount of supervision needed to get our model off the ground. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
238,
|
| 136 |
+
825,
|
| 137 |
+
321
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "With the learned neural program executor, our model learns to explain input shapes without ground truth program annotations. Experiments on ShapeNet show that our model infers accurate 3D shape programs for highly complex shapes from various categories. We further extend our model by integrating with an image-to-shape reconstruction module, so it directly infers a 3D shape program from a color image. This leads to 3D shape reconstructions that are both more accurate and more physically plausible. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
329,
|
| 147 |
+
825,
|
| 148 |
+
412
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "Our contributions are three-fold. First, we propose 3D shape programs: a new representation for shapes, building on classic findings in cognitive science and computer graphics. Second, we propose to infer 3D shape programs by explaining the input shape, making use of a neural shape program executor. Third, we demonstrate that the inference model, the executor, and the programs they recover all achieve good performance on ShapeNet, learning to explain and reconstruct complex shapes. We further show that an extension of the model can infer shape programs and reconstruct 3D shapes directly from images. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
420,
|
| 158 |
+
825,
|
| 159 |
+
517
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 RELATED WORK ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
540,
|
| 170 |
+
343,
|
| 171 |
+
556
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Inverse procedural graphics. The problem of inferring programs from voxels is closely related to inverse procedural graphics, where a procedural graphics program is inferred from an image or declarative specification (Ritchie et al., 2016; St’ava et al. ˇ , 2010). Where the systems have been most successful, however, are when they leverage a large shape–component library (Chaudhuri et al., 2011; Schulz et al., 2017) or are applied to a sparse solution space (van den Hengel et al., 2015). Kulkarni et al. (2015a) approached the problem of inverse graphics as inference in a probabilistic program for generating 2D images, or image contours, from an underlying 3D model. They demonstrated results on several different applications using parametric generative models for faces, bodies, and simple multi-part objects based on generalized cylinders. In this work, we extend the idea of inverse procedural graphics to 3-D voxel representations, and show how this idea can apply to large data sets like ShapeNet. We furthermore do not have to match components to a library of possible shapes, instead using a neural network to directly infer shapes and their parameters. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
173,
|
| 180 |
+
574,
|
| 181 |
+
825,
|
| 182 |
+
742
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "A few recent papers have explored the use of simple geometric primitives to describe shapes (Tulsiani et al., 2017; Zou et al., 2017; Liu et al., 2018), putting the classic idea of generalized cylinders (Roberts, 1963; Binford, 1971) or geons (Biederman, 1987) in the modern context of deep learning. In particular, Sharma et al. (2018) extended these papers and addressed the problem of inferring 3-D CAD programs from perceptual input. We find this work inspiring, but also feel that a key goal of 3-D program inference is to reconstruct a program in terms of semantically meaningful parts and their spatial regularity, which we address here. Some other graphics papers also explore regularity, but without using programs (Mitra et al., 2013; Zhu et al., 2018; Nishida et al., 2018; Li et al., 2017). ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
750,
|
| 192 |
+
825,
|
| 193 |
+
861
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Work in the HCI community has also addressed the problem of inferring parametric graphics primitives from perceptual input. For example, Nishida et al. (2016) proposed to learn to instantiate procedural primitives for an interactive modeling system. In our work, we instead learn to instantiate multiple procedural graphics primitives simultaneously, without assistance from a human user. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
868,
|
| 203 |
+
823,
|
| 204 |
+
924
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "table",
|
| 210 |
+
"img_path": "images/6a43c2aec2f86f6b7930f5c6c571629e3e1b4e4b9a0d633373ee2ed3d474602c.jpg",
|
| 211 |
+
"table_caption": [
|
| 212 |
+
"Table 1: The domain specific language (DSL) for 3D shapes. Semantics depends on the types of objects that are modeled, i.e., semantics for vehicle and furniture should be different. For details of DSL in our experimental setting, please refer to supplementary. "
|
| 213 |
+
],
|
| 214 |
+
"table_footnote": [],
|
| 215 |
+
"table_body": "<table><tr><td>Program</td><td>→</td></tr><tr><td>Statement</td><td>Draw(Semantics,Shape,Position_Params,Geometry Params)</td></tr><tr><td>Statement</td><td>For(For_Params); Program; EndFor</td></tr><tr><td>Semantics</td><td>semantics 1|semantics 2|semantics 3|..</td></tr><tr><td>Shape</td><td>Cuboid|Cylinder丨Rectangle|Circle|Line</td></tr><tr><td>Position_Params</td><td>(x,y,z)</td></tr><tr><td>Geometry_Params</td><td>(g1,92,93,94,...)</td></tr><tr><td>For_Params</td><td>Translation_Params|Rotation_Params</td></tr><tr><td>Translation_Params</td><td>(times i, orientation u)</td></tr><tr><td>Rotation_Params</td><td>(times i,angle θ,axis a)</td></tr></table>",
|
| 216 |
+
"bbox": [
|
| 217 |
+
196,
|
| 218 |
+
88,
|
| 219 |
+
799,
|
| 220 |
+
237
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "Program synthesis. In the AI literature, Ellis et al. (2018) leveraged symbolic program synthesis techniques to infer 2D graphics programs from images, extending their earlier work by using neural nets for faster inference of low-level cues such as strokes (Ellis et al., 2015). Here, we show how a purely end–to–end network can recover 3D graphics programs from voxels, conceptually relevant to RobustFill (Devlin et al., 2017), which presents a purely end-to-end neural program synthesizer for text editing. The very recent SPIRAL system (Ganin et al., 2018) also takes as its goal to learn structured program–like models from (2D) images. An important distinction from our work here is that SPIRAL explains an image in terms of paint-like “brush strokes”, whereas we explain 3D voxels in terms of high-level objects and semantically meaningful parts of objects, like legs or tops. Other tangential related work on program synthesis includes Balog et al. (2017); Devlin et al. (2017); Parisotto et al. (2017); Gaunt et al. (2016); Sun et al. (2018a); Liu et al. (2019). ",
|
| 227 |
+
"bbox": [
|
| 228 |
+
174,
|
| 229 |
+
304,
|
| 230 |
+
825,
|
| 231 |
+
458
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 2
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "text",
|
| 237 |
+
"text": "Learning to execute programs. Neural Program Interpreters (NPI) have been extensively studied for programs that abstract and execute tasks such as sorting, shape manipulation, and grade-school arithmetic (Reed & De Freitas, 2016; Cai et al., 2017; Bosnjak et al. ˇ , 2017). In NPI (Reed & De Freitas, 2016), the key insight is that a program execution trace can be decomposed into predefined operations that are more primitive; and at each step, an NPI learns to predict what operation to take next depending on the general environment, domain specific state , and previous actions. Cai et al. (2017) improved the generalization of NPIs by adding recursion. Johnson et al. (2017) learned to execute programs for visual question and answering. In this paper, we also learn a 3D shape program executor that renders 3D shapes from programs as a component of our model. ",
|
| 238 |
+
"bbox": [
|
| 239 |
+
173,
|
| 240 |
+
474,
|
| 241 |
+
825,
|
| 242 |
+
599
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "3 3D SHAPE PROGRAMS ",
|
| 249 |
+
"text_level": 1,
|
| 250 |
+
"bbox": [
|
| 251 |
+
176,
|
| 252 |
+
627,
|
| 253 |
+
393,
|
| 254 |
+
643
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"text": "In this section, we define the domain-specific language for 3D shapes, as well as the problem of shape program synthesis. ",
|
| 261 |
+
"bbox": [
|
| 262 |
+
174,
|
| 263 |
+
665,
|
| 264 |
+
823,
|
| 265 |
+
694
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 2
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "Table 1 shows our DSL for 3D shape programs. Each shape program consists of a variable number of program statements. A program statement can be either Draw, which describes a shape primitive as well as its geometric and semantic attributes, or For, which contains a sub-program and parameters specifying how the subprogram should be repeatedly executed. The number of arguments for each program statement varies. We tokenize programs for the purpose of neural network prediction. ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
174,
|
| 274 |
+
700,
|
| 275 |
+
825,
|
| 276 |
+
770
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 2
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "Each shape primitive models a semantically-meaningful part of an object. Its geometric attributes (Table 1: Geometry Params, Position Params) specify the position and orientation of the part. Its semantic attributes (Table 1: Semantics) specify its relative role within the whole shape (e.g., top, back, leg). They do not affect the geometry of the primitive; instead, they associate geometric parts with their semantic meanings conveying how parts can be shared across object categories semantically and functionally (e.g., a chair and a table may have similar legs). ",
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
776,
|
| 286 |
+
825,
|
| 287 |
+
861
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "Our For statement captures high-level regularity across parts. For example, the legs of a table can be symmetric with respect to particular rotation angles. The horizontal bars of a chair may lay out regularly with a fixed vertical gap. Each For statement can contain sub-programs, allowing recursive generation of shape programs. ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
176,
|
| 296 |
+
867,
|
| 297 |
+
823,
|
| 298 |
+
924
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "image",
|
| 304 |
+
"img_path": "images/c46d39b3d3edb1639719777c7549269b6cc0b684983a73fa25a926867bf35aad.jpg",
|
| 305 |
+
"image_caption": [
|
| 306 |
+
"Figure 2: The core of our 3D shape program generator are two LSTMs. The Block LSTM emits features for each program block. The Step LSTM takes these features as input and outputs programs inside each block, which includes either a single drawing statement or compound statements. "
|
| 307 |
+
],
|
| 308 |
+
"image_footnote": [],
|
| 309 |
+
"bbox": [
|
| 310 |
+
174,
|
| 311 |
+
80,
|
| 312 |
+
823,
|
| 313 |
+
261
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 3
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "The problem of inferring a 3D shape program is defined as follows: predicting a 3D shape program that reconstructs the input shape when the program is executed. In this paper, we use voxelized shapes as input with a resolution of $3 2 \\times 3 2 \\times 3 2$ . ",
|
| 320 |
+
"bbox": [
|
| 321 |
+
174,
|
| 322 |
+
335,
|
| 323 |
+
825,
|
| 324 |
+
377
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 3
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "4 INFERRING AND EXECUTING 3D SHAPE PROGRAMS ",
|
| 331 |
+
"text_level": 1,
|
| 332 |
+
"bbox": [
|
| 333 |
+
176,
|
| 334 |
+
398,
|
| 335 |
+
638,
|
| 336 |
+
416
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 3
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "text",
|
| 342 |
+
"text": "Our model, called Shape Programs, consists of a program generator and a neural program executor. The program generator takes a 3D shape as input and outputs a sequence of primitive programs that describe this 3D shape. The neural program executor takes these programs as input and generates the corresponding 3D shapes. This allows our model to learn in a self-supervised way by generating programs from input shapes, executing these programs, and back-propagating the difference between the generated shapes and the raw input. ",
|
| 343 |
+
"bbox": [
|
| 344 |
+
174,
|
| 345 |
+
433,
|
| 346 |
+
825,
|
| 347 |
+
517
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 3
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "text",
|
| 353 |
+
"text": "4.1 PROGRAM GENERATOR ",
|
| 354 |
+
"text_level": 1,
|
| 355 |
+
"bbox": [
|
| 356 |
+
176,
|
| 357 |
+
535,
|
| 358 |
+
377,
|
| 359 |
+
549
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "We model program generation as a sequential prediction problem. We partition full programs into two types of subprograms, which we call blocks: (1) a single drawing statement describing a semantic part, e.g. circle top; and (2) compound statements, which are a loop structure that interprets a set of translated or rotated parts, e.g. four symmetric legs. This part-based, symmetry-aware decomposition is inspired by human perception (Fleuret et al., 2011). ",
|
| 366 |
+
"bbox": [
|
| 367 |
+
174,
|
| 368 |
+
561,
|
| 369 |
+
825,
|
| 370 |
+
632
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "Our program generator is shown in Figure 2. The core of the program generator consists of two orthogonal LSTMs. The first one,the Block LSTM, connects sequential blocks. The second one, the Step LSTM, generates programs for each block. At each block, we first render the shape described by previous program blocks with a graphics engine. Then, the rendered shape and the raw shape are combined along the channel dimension and fed into a 3D ConvNet. The Block LSTM takes the features output by the 3D ConvNet and outputs features of the current block, which are further fed into the step LSTM to predict the block programs. The reason why we need the step LSTM is that each block might have a different length (e.g., loop bodies of different sizes). ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
174,
|
| 379 |
+
638,
|
| 380 |
+
825,
|
| 381 |
+
751
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "Given block feature $h _ { b l k }$ , the Step LSTM predicts a sequence of program tokens, each consisting of a program id and an argument matrix. The $i$ -th row of the argument matrix serves for the $i$ -th primitive program. From the LSTM hidden state $h _ { t }$ , two decoders generate the output. The softmax classification probability over program sets is obtained by $f _ { \\mathrm { p r o g } } : \\mathbb { R } ^ { M } \\to \\mathbb { R } ^ { N }$ . The argument matrix is computed by $f _ { \\mathrm { p a r a m } } : \\mathbb { R } ^ { M } \\to \\mathbb { R } ^ { N \\times K }$ , where $N$ is the total number of program primitives and $K$ is the maximum possible number of arguments. The feed-forward steps of the Step LSTM are summarized as ",
|
| 388 |
+
"bbox": [
|
| 389 |
+
174,
|
| 390 |
+
756,
|
| 391 |
+
825,
|
| 392 |
+
854
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 3
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "equation",
|
| 398 |
+
"img_path": "images/e4b0a3c37c26bf0efebc9ab54755f80a6dbfca69b9dcc7afaf6684cba04d46d1.jpg",
|
| 399 |
+
"text": "$$\n\\begin{array} { r l } & { h _ { t } = f _ { \\mathrm { l s t m } } ( x _ { t } , h _ { t - 1 } ) , } \\\\ & { p _ { t } = f _ { \\mathrm { p r o g } } ( h _ { t } ) , ~ a _ { t } = f _ { \\mathrm { p a r a m } } ( h _ { t } ) , } \\end{array}\n$$",
|
| 400 |
+
"text_format": "latex",
|
| 401 |
+
"bbox": [
|
| 402 |
+
390,
|
| 403 |
+
852,
|
| 404 |
+
606,
|
| 405 |
+
890
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "where the $p _ { t }$ and $a _ { t }$ corresponds to the program probability distribution and argument matrix at time $t$ . After getting the program $\\mathrm { I D }$ , we obtain its arguments by retrieving the corresponding row in the argument matrix. At each time step, the input of the Step LSTM $x _ { t }$ is the embedding of the output in the previous step. For the first step, the block feature $h _ { b l k }$ is used instead. ",
|
| 412 |
+
"bbox": [
|
| 413 |
+
173,
|
| 414 |
+
895,
|
| 415 |
+
823,
|
| 416 |
+
924
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 3
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "image",
|
| 422 |
+
"img_path": "images/46c86448fd736070a798429d012aa62b2c97a64d9db7f626d2ab0cc25adfb483.jpg",
|
| 423 |
+
"image_caption": [
|
| 424 |
+
"Figure 3: The learned program executor consits of an LSTM, which encodes multiple steps of programs, and a subsequent 3D DeconvNet which decodes the features to a 3D shape. "
|
| 425 |
+
],
|
| 426 |
+
"image_footnote": [],
|
| 427 |
+
"bbox": [
|
| 428 |
+
181,
|
| 429 |
+
80,
|
| 430 |
+
820,
|
| 431 |
+
154
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 4
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "",
|
| 438 |
+
"bbox": [
|
| 439 |
+
174,
|
| 440 |
+
210,
|
| 441 |
+
823,
|
| 442 |
+
239
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 4
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "We pretrain our program generator on a synthetic dataset with a few pre-defined simple program templates. The set of all templates for tables are shown in Section A1. These templates are much simpler than the actual shapes. The generator is trained to predict the program token and regress the corresponding arguments via the following loss $\\begin{array} { r } { l _ { \\mathrm { g e n } } = \\sum _ { b , i } w _ { p } l _ { \\mathrm { c l s } } ( p _ { b , i } , \\hat { p _ { b , i } } ) ) + w _ { a } l _ { \\mathrm { r e g } } ( a _ { b , i } , \\hat { a } _ { b , i } ) } \\end{array}$ , where $l _ { \\mathrm { c l s } } ( p _ { b , i } , \\hat { p } _ { b , i } ) )$ and $l _ { \\mathrm { r e g } } ( a _ { b , i } , \\hat { a } _ { b , i } )$ are the cross-entropy loss of program ID classification and the $\\mathscr { L } \\mathrm { - } 2$ loss of argument regression, in step $i$ of block $b$ , respectively. The weights $w _ { p }$ and $w _ { a }$ balance the losses between classification and regression. ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
173,
|
| 451 |
+
246,
|
| 452 |
+
825,
|
| 453 |
+
347
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 4
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "4.2 NEURAL PROGRAM EXECUTOR ",
|
| 460 |
+
"text_level": 1,
|
| 461 |
+
"bbox": [
|
| 462 |
+
176,
|
| 463 |
+
362,
|
| 464 |
+
431,
|
| 465 |
+
376
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 4
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "We propose to learn a neural program executor, an approximate but differentiable graphics engine, which generates a shape from a program. The program executor can then be used for training the program generator by back-propagating gradients. An alternative is to design a graphics engine that explicitly executes a symbolic program to produce a voxelized 3D shape. Certain high-level program commands, such as For statements, will make the executor non-differentiable. Our use of a neural, differentiable executor enables gradient-based fine-tuning of the program synthesizer on unannotated shapes, which allows the model to generalize effectively to novel shapes outside training categories. ",
|
| 472 |
+
"bbox": [
|
| 473 |
+
174,
|
| 474 |
+
387,
|
| 475 |
+
825,
|
| 476 |
+
486
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 4
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "Learning to execute a long sequence of programs is difficult, since an executor has to learn to interpret not only single statements but also complex combinations of multiple statements. We decompose the problem by learning an executor that executes programs at the block level, e.g., either a single drawing statement or a compound statements. Afterwards, we integrate these block-level shapes by max-pooling to form the shape corresponding to a long sequence of programs. Our neural program executor includes an LSTM followed by a deconv CNN, as shown in Figure 3. The LSTM aggregates the block-level program into a fixed-length representation. The following deconv CNN takes this representation and generates the desired shape. ",
|
| 483 |
+
"bbox": [
|
| 484 |
+
173,
|
| 485 |
+
492,
|
| 486 |
+
825,
|
| 487 |
+
604
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 4
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "To train the program executor, we synthesize large amounts of block-level programs and their corresponding shapes. During training, we minimize the sum of the weighted binary cross-entropy losses over all voxels via ",
|
| 494 |
+
"bbox": [
|
| 495 |
+
174,
|
| 496 |
+
611,
|
| 497 |
+
825,
|
| 498 |
+
651
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 4
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "equation",
|
| 504 |
+
"img_path": "images/169d4a3542dea6e6aad93d77b2376ec05a6739000ea8f6b23cb3f1c47d70230d.jpg",
|
| 505 |
+
"text": "$$\n\\mathcal { L } = \\sum _ { v \\in V } - w _ { 1 } y _ { v } \\log \\hat { y } _ { v } - w _ { 0 } ( 1 - y _ { v } ) \\log ( 1 - \\hat { y } _ { v } ) ,\n$$",
|
| 506 |
+
"text_format": "latex",
|
| 507 |
+
"bbox": [
|
| 508 |
+
331,
|
| 509 |
+
654,
|
| 510 |
+
666,
|
| 511 |
+
689
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 4
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "where $v$ is a single voxel of the whole voxel space $V$ , $y _ { v }$ and $\\hat { y } _ { v }$ are the ground truth and prediction, respectively, while $w _ { 0 }$ and $w _ { 1 }$ balance the losses between vacant and occupied voxels. This training leverages only synthetic data, not annotated shape and program pairs, which is a blessing of our disentangled representation. ",
|
| 518 |
+
"bbox": [
|
| 519 |
+
174,
|
| 520 |
+
693,
|
| 521 |
+
825,
|
| 522 |
+
750
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "4.3 GUIDED ADAPTATION ",
|
| 529 |
+
"text_level": 1,
|
| 530 |
+
"bbox": [
|
| 531 |
+
176,
|
| 532 |
+
765,
|
| 533 |
+
367,
|
| 534 |
+
780
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 4
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "A program generator trained only on a synthetic dataset does not generalize well to real-world datasets. With the learned differentiable neural program executor, we can adapt our model to other datasets such as ShapeNet, where program-level supervision is not available. We execute the predicted program by the learned neural program executor and compute the reconstruction loss between the generated shape and the input. Afterwards, the program generator is updated by the gradient back-propagated from the learned program executor, whose weights are frozen. ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
173,
|
| 543 |
+
790,
|
| 544 |
+
825,
|
| 545 |
+
875
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 4
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "This adaptation is guided by the learned program executor and therefore called guided adaptation $( G A )$ , and is shown in Figure 4. Given an input shape, the program generator first outputs multiple block programs. Each block is interpreted as 3D shapes by the program executor. A max-pooling operation over these block-level shapes generates the reconstructed shape. The use of max-pooling also enables our executor to handle programs of variable length. Vacant tokens are also executed and pooled. Gradients can then propagate through vacant tokens and the model can learn to add new program primitives accordingly. Here, the loss for Guided Adaptation is the summation of the binary cross-entropy loss over all voxels. ",
|
| 552 |
+
"bbox": [
|
| 553 |
+
174,
|
| 554 |
+
882,
|
| 555 |
+
823,
|
| 556 |
+
924
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 4
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "image",
|
| 562 |
+
"img_path": "images/e201fc250df4b206c3ca6217d010ceddee2a10e165fd5ac0051309bd0d971d13.jpg",
|
| 563 |
+
"image_caption": [
|
| 564 |
+
"Figure 4: Given an input 3D shape, the neural program executor executes the generated programs. Errors between the rendered shape and the raw input are back-propagated. "
|
| 565 |
+
],
|
| 566 |
+
"image_footnote": [],
|
| 567 |
+
"bbox": [
|
| 568 |
+
236,
|
| 569 |
+
101,
|
| 570 |
+
754,
|
| 571 |
+
234
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 5
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "",
|
| 578 |
+
"bbox": [
|
| 579 |
+
174,
|
| 580 |
+
290,
|
| 581 |
+
825,
|
| 582 |
+
359
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 5
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "5 EXPERIMENTS ",
|
| 589 |
+
"text_level": 1,
|
| 590 |
+
"bbox": [
|
| 591 |
+
176,
|
| 592 |
+
381,
|
| 593 |
+
326,
|
| 594 |
+
397
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 5
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "We present program generation and shape reconstruction results on three datasets: our synthetic dataset, ShapeNet (Chang et al., 2015), and Pix3D (Sun et al., 2018b). ",
|
| 601 |
+
"bbox": [
|
| 602 |
+
173,
|
| 603 |
+
415,
|
| 604 |
+
823,
|
| 605 |
+
443
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 5
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "Setup. In our experiments, we use a single model to predict programs for multiple categories. Our model is first pretrained on the synthetic dataset and subsequently adapted to target dataset such as ShapeNet and Pix3D under the guidance of the neural program executor. All components of our model are trained with Adam (Kingma & Ba, 2015). ",
|
| 612 |
+
"bbox": [
|
| 613 |
+
174,
|
| 614 |
+
453,
|
| 615 |
+
825,
|
| 616 |
+
508
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 5
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "text",
|
| 622 |
+
"text": "5.1 EVALUATION ON THE SYNTHETIC DATASET ",
|
| 623 |
+
"text_level": 1,
|
| 624 |
+
"bbox": [
|
| 625 |
+
174,
|
| 626 |
+
526,
|
| 627 |
+
517,
|
| 628 |
+
541
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 5
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "Program generator. We first pre-train our program generator on our synthetic dataset with simple templates. The synthetic training set includes 100,000 chairs and 100,000 tables. The generator is evaluated on 5,000 chairs and tables. More than $9 9 . 9 \\%$ of the programs are accurately predicted. The shapes rendered by the predicted programs have an average IoU of 0.991 with the input shapes. This high accuracy is due to the simplicity of the synthetic dataset. ",
|
| 635 |
+
"bbox": [
|
| 636 |
+
174,
|
| 637 |
+
553,
|
| 638 |
+
825,
|
| 639 |
+
622
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 5
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "text",
|
| 645 |
+
"text": "Program executor. Our program executor is trained on 500,000 pairs of synthetic block programs and corresponding shapes, and tested on 30,000 pairs. The IoU between the shapes rendered by the executor and the ground truth is 0.93 for a single drawing statement and 0.88 for compound statements. This shows the neural program executor is a good approximation of the graphics engine. ",
|
| 646 |
+
"bbox": [
|
| 647 |
+
174,
|
| 648 |
+
632,
|
| 649 |
+
825,
|
| 650 |
+
689
|
| 651 |
+
],
|
| 652 |
+
"page_idx": 5
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"type": "text",
|
| 656 |
+
"text": "5.2 GUIDED ADAPTATION ON SHAPENET ",
|
| 657 |
+
"text_level": 1,
|
| 658 |
+
"bbox": [
|
| 659 |
+
176,
|
| 660 |
+
705,
|
| 661 |
+
472,
|
| 662 |
+
720
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 5
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "text",
|
| 668 |
+
"text": "Setup. We validate the effectiveness of guided adaptation by testing our model on unseen examples from ShapeNet. For both tables and chairs, we randomly select 1,000 shapes for evaluation and all the remaining ones for guided adaptation. ",
|
| 669 |
+
"bbox": [
|
| 670 |
+
174,
|
| 671 |
+
732,
|
| 672 |
+
825,
|
| 673 |
+
775
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 5
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "text",
|
| 679 |
+
"text": "Quantitative results. After our model generates programs from input shapes, we execute these programs with a graphics engine and measure the reconstruction quality. Evaluation metrics include IoU, Chamfer distance (CD) (Barrow et al., 1977), and Earth Mover’s distance (EMD) (Rubner et al., 2000). While the pre-trained model achieves 0.99 IoU on the synthetic dataset, the IoU drops below 0.5 on ShapeNet, showing the significant disparity between these two domains. As shown in Table 2, all evaluation metrics suggests improvement after guided adaptation. For example, the IoUs of table and chair increase by 0.104 and 0.094, respectively. We compare our method with Tulsiani et al. (2017), which describes shapes with a set of primitives; and CSGNet (Sharma et al., 2018), which learns to describe shapes by applying arithmetic over primitives. For CSGNet, we evaluate two variants: first, CSGNet-original, where we directly test the model released by the original authors; ",
|
| 680 |
+
"bbox": [
|
| 681 |
+
173,
|
| 682 |
+
785,
|
| 683 |
+
825,
|
| 684 |
+
924
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 5
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "table",
|
| 690 |
+
"img_path": "images/b01be23ffd408f276b1c532dfffdc4832507032aa30b9011aceb0e858e3c19e3.jpg",
|
| 691 |
+
"table_caption": [
|
| 692 |
+
"Table 2: Shape reconstruction results on ShapeNet, evaluated in intersection over union (IoU, higher is better), Chamfer distance (CD, lower is better), and Earth Mover’s distance (EMD, lower is better). Our model outperforms the baselines. "
|
| 693 |
+
],
|
| 694 |
+
"table_footnote": [],
|
| 695 |
+
"table_body": "<table><tr><td rowspan=\"2\">Models</td><td colspan=\"2\">IoU↑</td><td colspan=\"2\">CD↓</td><td colspan=\"2\">EMD↓</td></tr><tr><td>table</td><td>chair</td><td>table</td><td>chair</td><td>table</td><td>chair</td></tr><tr><td>CSGNet-original</td><td>0.111</td><td>0.154</td><td>0.216</td><td>0.175</td><td>0.205</td><td>0.177</td></tr><tr><td>Tulsiani et al. (2017)</td><td>0.357</td><td>0.406</td><td>0.083</td><td>0.079</td><td>0.073</td><td>0.072</td></tr><tr><td>CSGNet-augmented</td><td>0.406</td><td>0.365</td><td>0.072</td><td>0.077</td><td>0.069</td><td>0.076</td></tr><tr><td>Nearest Neighbour</td><td>0.445</td><td>0.389</td><td>0.083</td><td>0.084</td><td>0.084</td><td>0.084</td></tr><tr><td>Shape Programs w/o GA</td><td>0.487</td><td>0.422</td><td>0.067</td><td>0.072</td><td>0.063</td><td>0.072</td></tr><tr><td> Shape Programs</td><td>0.591</td><td>0.516</td><td>0.058</td><td>0.063</td><td>0.056</td><td>0.060</td></tr></table>",
|
| 696 |
+
"bbox": [
|
| 697 |
+
233,
|
| 698 |
+
94,
|
| 699 |
+
759,
|
| 700 |
+
241
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "second, CSGNet-augmented, where we retrain CSGNet on our dataset with the additional shape primitives we introduced. We also introduce a nearest neighbor baseline, where we use Hamming distance to search for a nearest neighbour from the training set for each testing sample. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
176,
|
| 709 |
+
316,
|
| 710 |
+
821,
|
| 711 |
+
359
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "Our model without guided adaptation outperforms Tulsiani et al. (2017) and CSGNet by a margin, showing the benefit of capturing regularities such as symmetry and translation. The NN baseline suggests that simply memorizing the training set does not generalize well to test shapes. With the learned neural program executor, we try to directly train our program generator on ShapeNet without any pre-training. This trial failed, possibly because of the extremely huge and complicated combinatorial space of programs. However, the initial programs for pre-training can be very simple: e.g., 10 simple table templates (Fig. A1) are sufficient to initialize the model, which later achieves good performance under execution-guided adaptation. ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
174,
|
| 720 |
+
366,
|
| 721 |
+
825,
|
| 722 |
+
478
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 6
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "Qualitative results. Figure 5 shows some program generation and shape reconstruction results for tables and chairs, respectively. The input shapes can be noisy and contain components that are not covered by templates in our synthetic dataset. After guided adaption, our model is able to extract more meaningful programs and reconstruct the input shape reasonably well. ",
|
| 729 |
+
"bbox": [
|
| 730 |
+
174,
|
| 731 |
+
500,
|
| 732 |
+
825,
|
| 733 |
+
556
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 6
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "Our model can be adapted to either add or delete programs, as shown in Figure 5. In (a), we observe an addition of translation describing the armrests. In (b) the “cylinder support” program is removed and a nested translation is added to describe four legs. In (c) and (d), the addition of “Horizontal bar” and “Rectangle layer” leads to more accurate representation. Improvements utilizing modifications to compound programs are not restricted to translations, but can also be observed in rotations, e.g., the times of rotation in (a) is increased from 4 to 5. We also notice new templates emerges after adaptation, e.g., tables in (c) and (d) are not in the synthetic dataset (check the synthetic templates for tables in supplementary). These changes are significant because it indicates the generator can map complex, non-linear relationships to the program space. ",
|
| 740 |
+
"bbox": [
|
| 741 |
+
174,
|
| 742 |
+
563,
|
| 743 |
+
825,
|
| 744 |
+
689
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 6
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"text": "5.3 STABILITY AND CONNECTIVITY MEASUREMENT ",
|
| 751 |
+
"text_level": 1,
|
| 752 |
+
"bbox": [
|
| 753 |
+
174,
|
| 754 |
+
718,
|
| 755 |
+
552,
|
| 756 |
+
732
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 6
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "Stability and connectivity are necessary for the functioning of many real-world shapes. This is difficult to capture using purely low-level primitives, but are better suited to our program representations. ",
|
| 763 |
+
"bbox": [
|
| 764 |
+
176,
|
| 765 |
+
750,
|
| 766 |
+
823,
|
| 767 |
+
777
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 6
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "We define a shape as stable if its center of mass falls within the convex hull of its ground contacts, and we define a shape as connected if all voxels form one connected component. In Table 3 we compare our model against Tulsiani et al. (2017) and observe significant improvements in the stability of shapes produced by our model when compared to this baseline. This is likely because our model is able to represent multiple identical objects by utilizing translations and rotations. Before GA, our model produces chairs with lower connectivity, but we observe significant improvements with GA. This can be explained by the significant diversity in the ShapeNet dataset under the “chair” class. However, the improvements with GA also demonstrate an ability for our model to generalize. Measured by the percentage of produced shapes that are stable and connected, our model gets significantly better results, and continues to improve with guided adaptation. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
174,
|
| 776 |
+
785,
|
| 777 |
+
825,
|
| 778 |
+
924
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 6
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "image",
|
| 784 |
+
"img_path": "images/ded628b82e2a5fb0e0c1e5652b34007fdbbb0e1d2e7e74ee68570a9cb7d4dd5d.jpg",
|
| 785 |
+
"image_caption": [
|
| 786 |
+
"Figure 5: The program generation for ShapeNet chairs and tables. For each shape, the first and second rows represent results before and after guided adaptation. Best viewed in color. "
|
| 787 |
+
],
|
| 788 |
+
"image_footnote": [],
|
| 789 |
+
"bbox": [
|
| 790 |
+
179,
|
| 791 |
+
85,
|
| 792 |
+
821,
|
| 793 |
+
642
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 7
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "table",
|
| 799 |
+
"img_path": "images/955465af30e73d939953b25ca0339ce567a10495906873f6360b846ca8e6b64d.jpg",
|
| 800 |
+
"table_caption": [],
|
| 801 |
+
"table_footnote": [],
|
| 802 |
+
"table_body": "<table><tr><td rowspan=\"2\">Models</td><td colspan=\"2\">Stable (%)</td><td colspan=\"2\">Conn. (%)</td><td colspan=\"2\">Stable & Conn. (%)</td></tr><tr><td>table</td><td>chair</td><td>table</td><td>chair</td><td>table</td><td>chair</td></tr><tr><td>Tulsiani et al. (2017)</td><td>36.7</td><td>31.3</td><td>37.1</td><td>68.9</td><td>15.4</td><td>19.6</td></tr><tr><td> Shape Programs w/o GA</td><td>94.7</td><td>95.1</td><td>76.6</td><td>54.2</td><td>73.7</td><td>51.6</td></tr><tr><td>Shape Programs</td><td>97.0</td><td>96.5</td><td>78.4</td><td>68.5</td><td>77.0</td><td>66.0</td></tr><tr><td>Ground Truth</td><td>98.9</td><td>97.6</td><td>98.8</td><td>97.8</td><td>97.7</td><td>95.5</td></tr></table>",
|
| 803 |
+
"bbox": [
|
| 804 |
+
225,
|
| 805 |
+
693,
|
| 806 |
+
769,
|
| 807 |
+
813
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 7
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "Table 3: Measurement of stability and connectivity. Our model is able to capture shape regularity such as symmetry. Therefore, shapes represented by our programs are more stable and better connected. ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
173,
|
| 816 |
+
821,
|
| 817 |
+
826,
|
| 818 |
+
851
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 7
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "5.4 GENERALIZATION ON OTHER SHAPES ",
|
| 825 |
+
"text_level": 1,
|
| 826 |
+
"bbox": [
|
| 827 |
+
174,
|
| 828 |
+
859,
|
| 829 |
+
478,
|
| 830 |
+
875
|
| 831 |
+
],
|
| 832 |
+
"page_idx": 7
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"text": "While our program generator is pre-trained only on synthetic chairs and tables, generalization on other shape categories is desirable. We further demonstrate that with guided adaptation, our program generator can be transferred to other unseen categories. ",
|
| 837 |
+
"bbox": [
|
| 838 |
+
174,
|
| 839 |
+
886,
|
| 840 |
+
825,
|
| 841 |
+
928
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 7
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "table",
|
| 847 |
+
"img_path": "images/c52f28037e29231d27581c976a36b942dff1486db435ae1188fe25df579a9c5d.jpg",
|
| 848 |
+
"table_caption": [],
|
| 849 |
+
"table_footnote": [],
|
| 850 |
+
"table_body": "<table><tr><td rowspan=\"3\">Models</td><td colspan=\"4\">IoU↑</td><td colspan=\"4\">CD←</td></tr><tr><td>bed</td><td>sofa</td><td>cabinet</td><td>bench</td><td>bed</td><td>sofa</td><td>cabinet</td><td>bench</td></tr><tr><td>Shape Programs w/o GA</td><td>0.234</td><td>0.296</td><td>0.251</td><td>0.176</td><td>0.126</td><td>0.103</td><td>0.104</td><td>0.098</td></tr><tr><td>Shape Programs</td><td>0.367</td><td>0.597</td><td>0.478</td><td>0.418</td><td>0.096</td><td>0.067</td><td>0.092</td><td>0.059</td></tr></table>",
|
| 851 |
+
"bbox": [
|
| 852 |
+
179,
|
| 853 |
+
88,
|
| 854 |
+
813,
|
| 855 |
+
166
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 8
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "Table 4: Shape reconstruction results on unseen categories. Results with or without guided adaptation in intersection over union (IoU, higher is better) and Chamfer distance (CD, lower is better). ",
|
| 862 |
+
"bbox": [
|
| 863 |
+
174,
|
| 864 |
+
174,
|
| 865 |
+
823,
|
| 866 |
+
202
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 8
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "image",
|
| 872 |
+
"img_path": "images/72d80cc5701ec201976be27ab0d60378add0c4e625fd011f4babf62f5825b50b.jpg",
|
| 873 |
+
"image_caption": [
|
| 874 |
+
"Figure 6: ShapeNet objects from unseen categories reconstructed with shape programs before and after guided adaptation. Shape Programs can learn to adapt and explain objects from novel classes. "
|
| 875 |
+
],
|
| 876 |
+
"image_footnote": [],
|
| 877 |
+
"bbox": [
|
| 878 |
+
176,
|
| 879 |
+
212,
|
| 880 |
+
821,
|
| 881 |
+
320
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 8
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "image",
|
| 887 |
+
"img_path": "images/d45ccafaf1881850b1fbd7f3cf75bc6aaaaaccfd983e2e7e370be3bb66a72ac8.jpg",
|
| 888 |
+
"image_caption": [
|
| 889 |
+
"Figure 7: 3D reconstruction results on Pix3D dataset. MarrNet generates fragmentary shapes and our model further smooths and completes such shapes. "
|
| 890 |
+
],
|
| 891 |
+
"image_footnote": [],
|
| 892 |
+
"bbox": [
|
| 893 |
+
178,
|
| 894 |
+
367,
|
| 895 |
+
823,
|
| 896 |
+
511
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 8
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "We consider Bed, Bench, Cabinet, and Sofa, which share similar semantics with table and chair but are unseen during pre-training. We split $80 \\%$ shapes of each category for guided adaptation and the remaining for evaluation. Table 4 suggests the pre-trained model performs poorly for these unseen shapes but its performance improves with this unsupervised guided adaptation. The IoU of bed improves from 0.23 to 0.37, sofa from 0.30 to 0.60, cabinet from 0.25 to 0.48, and bench from 0.18 to 0.42. This clearly illustrates the generalization ability of our framework. Visualized examples are show in Figure 6. ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
174,
|
| 905 |
+
570,
|
| 906 |
+
825,
|
| 907 |
+
669
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 8
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "5.5 SHAPE COMPLETION AND SMOOTHING BY PROGRAMS",
|
| 914 |
+
"text_level": 1,
|
| 915 |
+
"bbox": [
|
| 916 |
+
174,
|
| 917 |
+
684,
|
| 918 |
+
593,
|
| 919 |
+
699
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 8
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "One natural application of our model is to complete and smooth fragmentary shapes reconstructed from 2D images. We separately train a MarrNet (Wu et al., 2017) model for chairs and tables on ShapeNet, and then reconstruct 3D shapes from 2D images on the Pix3D dataset. As shown in Figure 7, MarrNet can generate fragmentary shapes, which are then fed into our model to generate programs. These programs are executed by the graphics engine to produce a smooth and complete shape. For instance, our model can complete the legs of chairs and tables, as shown in Figure 7. ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
174,
|
| 928 |
+
710,
|
| 929 |
+
825,
|
| 930 |
+
795
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 8
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "While stacking our model on top of MarrNet does not change the IoU of 3D reconstruction, our model produces more visually appealing and human-perceptible results. A user study on AMT shows that $78 . 9 \\%$ of the participant responses prefer our results rather than MarrNet’s. ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
174,
|
| 939 |
+
801,
|
| 940 |
+
821,
|
| 941 |
+
843
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 8
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "6 DISCUSSION ",
|
| 948 |
+
"text_level": 1,
|
| 949 |
+
"bbox": [
|
| 950 |
+
174,
|
| 951 |
+
863,
|
| 952 |
+
310,
|
| 953 |
+
878
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 8
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "We have introduced 3D shape programs as a new shape representation. We have also proposed a model for inferring shape programs, which combines a neural program synthesizer and a neural executor. Experiments on ShapeNet show that our model successfully explains shapes as programs and generalizes to shapes outside training categories. Further experiments on Pix3D show our model can be extended to infer shape programs and reconstruct 3D shapes directly from color images. We now discuss key design choices and future work. ",
|
| 960 |
+
"bbox": [
|
| 961 |
+
173,
|
| 962 |
+
895,
|
| 963 |
+
823,
|
| 964 |
+
924
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 8
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "image",
|
| 970 |
+
"img_path": "images/010f1a29adc54fcf714d9d5a3d3edeb695bb863a4eb34f384d3174a8754b9fd9.jpg",
|
| 971 |
+
"image_caption": [
|
| 972 |
+
"Figure 8: We visualize the effect of manipulating individual dimensions in the intermediate representation of neural program executor. For example, dimension 27 corresponds to the height of primitives, dimension 25 to the radius of primitives, and dimension 41 to the times of primitive repetition. "
|
| 973 |
+
],
|
| 974 |
+
"image_footnote": [],
|
| 975 |
+
"bbox": [
|
| 976 |
+
178,
|
| 977 |
+
83,
|
| 978 |
+
815,
|
| 979 |
+
339
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 9
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "",
|
| 986 |
+
"bbox": [
|
| 987 |
+
174,
|
| 988 |
+
421,
|
| 989 |
+
825,
|
| 990 |
+
477
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 9
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "Analyzing the neural program executor. We look deep into the intermediate representation of the neural program executor, which is a 64-dimensional vector output by the LSTM (see Figure 3). We manipulate individual dimensions and visualize the generated voxels. Figure 8 shows that these dimensions capture interpretable geometric features (e.g., height, radius, and number of repetitions). ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
174,
|
| 999 |
+
488,
|
| 1000 |
+
825,
|
| 1001 |
+
544
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 9
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "Design of the DSL. Our design of the DSL for shape programs makes certain semantic commitments. A DSL with these semantics has advantages and disadvantages: it naturally supports semantic correspondences across shapes and enables better in-class reconstructions; on the other hand, it may limit the ability to generalize to shapes outside training classes. Our current instantiation focuses on the semantics of furniture (a superclass, whose subclasses share similar semantics). Within this superclass, our model generalizes well: trained on chairs and tables, it generalizes to new furniture categories such as beds. In future work, we are interested in learning a library of shape primitives directly from data, which will allow our approach to adapt automatically to new superclasses or domains of shape. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
174,
|
| 1010 |
+
554,
|
| 1011 |
+
825,
|
| 1012 |
+
679
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 9
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "Structure search vs. amortized inference. For our program synthesis task, we use neural nets for amortized inference rather than structure search, due to the large search space and our desire to return a shape interpretation nearly instantaneously, effectively trading neural net training time for fast inference at test time. Our model takes $5 \\mathrm { m s }$ to infer a shape program with a Titan X GPU. We also considered various possible approaches for structured search over the space of shape programs, but decided that these would most likely be too our slow for our goals. ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
174,
|
| 1021 |
+
689,
|
| 1022 |
+
825,
|
| 1023 |
+
772
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 9
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "One approach to structured search is constraint solving. Ellis et al. (2015) used the performant Z3 SMT solver (De Moura & Bjørner, 2008) to infer 2D graphics programs, taking 5-20 minutes for problems arguably simpler than our 3D shape programs. Other approaches could be based on stochastic search, such as MCMC in the space of programs. For the related problem of inverse graphics from 2D images, MCMC, like constraint solving, takes too long for perception at a glance (Kulkarni et al., 2015b). Efficient integration of discrete search and amortized inference, however, is a promising future research direction. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
174,
|
| 1032 |
+
773,
|
| 1033 |
+
825,
|
| 1034 |
+
871
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 9
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "Acknowledgments. We thank Keyulu Xu and Xiuming Zhang for insightful discussions and anonymous reviewers for their feedback. This work is supported by the Center for Brains, Minds and Machines (NSF #1231216), NSF #1447476, ONR MURI N00014-16-1-2007, and Facebook. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
176,
|
| 1043 |
+
882,
|
| 1044 |
+
823,
|
| 1045 |
+
922
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 9
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "REFERENCES ",
|
| 1052 |
+
"text_level": 1,
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
176,
|
| 1055 |
+
102,
|
| 1056 |
+
287,
|
| 1057 |
+
118
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 10
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Matej Balog, Alexander L Gaunt, Marc Brockschmidt, Sebastian Nowozin, and Daniel Tarlow. Deepcoder: Learning to write programs. In ICLR, 2017. 3 ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
174,
|
| 1066 |
+
133,
|
| 1067 |
+
826,
|
| 1068 |
+
164
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 10
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Harry G Barrow, Jay M Tenenbaum, Robert C Bolles, and Helen C Wolf. Parametric correspondence and chamfer matching: Two new techniques for image matching. In IJCAI, 1977. 6 ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
173,
|
| 1077 |
+
172,
|
| 1078 |
+
823,
|
| 1079 |
+
202
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 10
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Irving Biederman. Recognition-by-components: a theory of human image understanding. Psychol. Rev., 94(2):115, 1987. 2 ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
173,
|
| 1088 |
+
212,
|
| 1089 |
+
823,
|
| 1090 |
+
241
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 10
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Thomas O Binford. Visual perception by computer. Invited talk at IEEE Conf. on Systems and Control, 1971. 2 ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
173,
|
| 1099 |
+
250,
|
| 1100 |
+
823,
|
| 1101 |
+
279
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 10
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "Matko Bosnjak, Tim Rockt ˇ aschel, Jason Naradowsky, and Sebastian Riedel. Programming with a ¨ differentiable forth interpreter. In ICML, 2017. 3 ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
171,
|
| 1110 |
+
289,
|
| 1111 |
+
823,
|
| 1112 |
+
318
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 10
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Jonathon Cai, Richard Shin, and Dawn Song. Making neural programming architectures generalize via recursion. In ICLR, 2017. 3 ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
171,
|
| 1121 |
+
327,
|
| 1122 |
+
825,
|
| 1123 |
+
356
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 10
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "Angel X Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. Shapenet: An information-rich 3d model repository. arXiv:1512.03012, 2015. 1, 6 ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
174,
|
| 1132 |
+
366,
|
| 1133 |
+
823,
|
| 1134 |
+
410
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 10
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "Siddhartha Chaudhuri, Evangelos Kalogerakis, Leonidas Guibas, and Vladlen Koltun. Probabilistic reasoning for assembly-based 3d modeling. ACM TOG, 30(4):35, 2011. 2 ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
171,
|
| 1143 |
+
417,
|
| 1144 |
+
825,
|
| 1145 |
+
446
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 10
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Leonardo De Moura and Nikolaj Bjørner. Z3: An efficient smt solver. In TACAS, 2008. 10 ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
173,
|
| 1154 |
+
457,
|
| 1155 |
+
771,
|
| 1156 |
+
472
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 10
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Jacob Devlin, Jonathan Uesato, Surya Bhupatiraju, Rishabh Singh, Abdel-rahman Mohamed, and Pushmeet Kohli. Robustfill: Neural program learning under noisy i/o. In ICML, 2017. 3 ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
176,
|
| 1165 |
+
481,
|
| 1166 |
+
823,
|
| 1167 |
+
511
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 10
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Daniel D Dilks, Joshua B Julian, Jonas Kubilius, Elizabeth S Spelke, and Nancy Kanwisher. Mirrorimage sensitivity and invariance in object and scene processing pathways. J. Neurosci., 31(31): 11305–11312, 2011. 1 ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
173,
|
| 1176 |
+
520,
|
| 1177 |
+
825,
|
| 1178 |
+
563
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 10
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Kevin Ellis, Armando Solar-Lezama, and Josh Tenenbaum. Unsupervised learning by program synthesis. In NeurIPS, 2015. 3, 10 ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
174,
|
| 1187 |
+
571,
|
| 1188 |
+
823,
|
| 1189 |
+
602
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 10
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Kevin Ellis, Daniel Ritchie, Armando Solar-Lezama, and Joshua B Tenenbaum. Learning to infer graphics programs from hand-drawn imatges. In NeurIPS, 2018. 3 ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
173,
|
| 1198 |
+
611,
|
| 1199 |
+
823,
|
| 1200 |
+
640
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 10
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Franc¸ois Fleuret, Ting Li, Charles Dubout, Emma K Wampler, Steven Yantis, and Donald Geman. Comparing machines and humans on a visual categorization test. PNAS, 108(43):17621–17625, 2011. 4 ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
173,
|
| 1209 |
+
648,
|
| 1210 |
+
825,
|
| 1211 |
+
693
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 10
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Yaroslav Ganin, Tejas Kulkarni, Igor Babuschkin, SM Eslami, and Oriol Vinyals. Synthesizing programs for images using reinforced adversarial learning. In ICML, 2018. 3 ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
171,
|
| 1220 |
+
702,
|
| 1221 |
+
823,
|
| 1222 |
+
732
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 10
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "Alexander L Gaunt, Marc Brockschmidt, Rishabh Singh, Nate Kushman, Pushmeet Kohli, Jonathan Taylor, and Daniel Tarlow. Terpret: A probabilistic programming language for program induction. arXiv preprint arXiv:1608.04428, 2016. 3 ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
176,
|
| 1231 |
+
739,
|
| 1232 |
+
825,
|
| 1233 |
+
784
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 10
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Judy Hoffman, Li Fei-Fei, C Lawrence Zitnick, and Ross Girshick. Inferring and executing programs for visual reasoning. In ICCV, 2017. 3 ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
176,
|
| 1242 |
+
792,
|
| 1243 |
+
825,
|
| 1244 |
+
835
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 10
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015. 6 ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
171,
|
| 1253 |
+
845,
|
| 1254 |
+
823,
|
| 1255 |
+
861
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 10
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Kurt Koffka. Principles of Gestalt psychology. Routledge, 2013. 1 ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
173,
|
| 1264 |
+
871,
|
| 1265 |
+
612,
|
| 1266 |
+
886
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 10
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Tejas D Kulkarni, Pushmeet Kohli, Joshua B Tenenbaum, and Vikash Mansinghka. Picture: A probabilistic programming language for scene perception. In CVPR, 2015a. 2 ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
174,
|
| 1275 |
+
895,
|
| 1276 |
+
821,
|
| 1277 |
+
924
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 10
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Tejas D Kulkarni, William F Whitney, Pushmeet Kohli, and Josh Tenenbaum. Deep convolutional inverse graphics network. In NeurIPS, 2015b. 10 ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
171,
|
| 1286 |
+
103,
|
| 1287 |
+
825,
|
| 1288 |
+
132
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 11
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "Jun Li, Kai Xu, Siddhartha Chaudhuri, Ersin Yumer, Hao Zhang, and Leonidas Guibas. Grass: Generative recursive autoencoders for shape structures. In SIGGRAPH, 2017. 2 ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
174,
|
| 1297 |
+
141,
|
| 1298 |
+
823,
|
| 1299 |
+
171
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 11
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Yunchao Liu, Zheng Wu, Daniel Ritchie, William T Freeman, Joshua B Tenenbaum, and Jiajun Wu. Learning to describe scenes with programs. In ICLR, 2019. 3 ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
173,
|
| 1308 |
+
180,
|
| 1309 |
+
825,
|
| 1310 |
+
210
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 11
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "Zhijian Liu, William T Freeman, Joshua B Tenenbaum, and Jiajun Wu. Physical primitive decomposition. In ECCV, 2018. 2 ",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
173,
|
| 1319 |
+
219,
|
| 1320 |
+
823,
|
| 1321 |
+
248
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 11
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "text",
|
| 1327 |
+
"text": "Niloy Mitra, Michael Wand, Hao Richard Zhang, Daniel Cohen-Or, Vladimir Kim, and Qi-Xing Huang. Structure-aware shape processing. In SIGGRAPH Asia Courses, 2013. 2 ",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
173,
|
| 1330 |
+
258,
|
| 1331 |
+
821,
|
| 1332 |
+
287
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 11
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "text",
|
| 1338 |
+
"text": "Gen Nishida, Ignacio Garcia-Dorado, Daniel G Aliaga, Bedrich Benes, and Adrien Bousseau. Interactive sketching of urban procedural models. ACM TOG, 35(4):130, 2016. 2 ",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
174,
|
| 1341 |
+
296,
|
| 1342 |
+
823,
|
| 1343 |
+
327
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 11
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"text": "Gen Nishida, Adrien Bousseau, and Daniel G Aliaga. Procedural modeling of a building from a single image. CGF, 37(2):415–429, 2018. 2 ",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
176,
|
| 1352 |
+
337,
|
| 1353 |
+
823,
|
| 1354 |
+
366
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 11
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "Emilio Parisotto, Abdel-rahman Mohamed, Rishabh Singh, Lihong Li, Dengyong Zhou, and Pushmeet Kohli. Neuro-symbolic program synthesis. In ICLR, 2017. 3 ",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
176,
|
| 1363 |
+
375,
|
| 1364 |
+
825,
|
| 1365 |
+
404
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 11
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "Charles R Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. In NeurIPS, 2017. 1 ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
174,
|
| 1374 |
+
412,
|
| 1375 |
+
823,
|
| 1376 |
+
443
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 11
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "Scott Reed and Nando De Freitas. Neural programmer-interpreters. In ICLR, 2016. 3 ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
173,
|
| 1385 |
+
452,
|
| 1386 |
+
735,
|
| 1387 |
+
468
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 11
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "Daniel Ritchie, Anna Thomas, Pat Hanrahan, and Noah Goodman. Neurally-guided procedural models: Amortized inference for procedural graphics programs using neural networks. In NeurIPS, 2016. 2 ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
176,
|
| 1396 |
+
477,
|
| 1397 |
+
825,
|
| 1398 |
+
521
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 11
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "Lawrence G Roberts. Machine perception of three-dimensional solids. PhD thesis, Massachusetts Institute of Technology, 1963. 2 ",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
173,
|
| 1407 |
+
530,
|
| 1408 |
+
825,
|
| 1409 |
+
559
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 11
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "Yossi Rubner, Carlo Tomasi, and Leonidas J Guibas. The earth mover’s distance as a metric for image retrieval. IJCV, 40(2):99–121, 2000. 6 ",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
174,
|
| 1418 |
+
569,
|
| 1419 |
+
821,
|
| 1420 |
+
598
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 11
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "text",
|
| 1426 |
+
"text": "Adriana Schulz, Ariel Shamir, Ilya Baran, David IW Levin, Pitchaya Sitthi-Amorn, and Wojciech Matusik. Retrieval on parametric shape collections. ACM TOG, 36(1):11, 2017. 2 ",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
173,
|
| 1429 |
+
607,
|
| 1430 |
+
821,
|
| 1431 |
+
637
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 11
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "text",
|
| 1437 |
+
"text": "Gopal Sharma, Rishabh Goyal, Difan Liu, Evangelos Kalogerakis, and Subhransu Maji. Csgnet: Neural shape parser for constructive solid geometry. In CVPR, 2018. 1, 2, 6 ",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
173,
|
| 1440 |
+
646,
|
| 1441 |
+
823,
|
| 1442 |
+
676
|
| 1443 |
+
],
|
| 1444 |
+
"page_idx": 11
|
| 1445 |
+
},
|
| 1446 |
+
{
|
| 1447 |
+
"type": "text",
|
| 1448 |
+
"text": "Ondrej St’ava, Bedrich Bene ˇ s, Radomir M ˇ ech, Daniel G Aliaga, and Peter Kri ˇ stof. Inverse procedural ˇ modeling by automatic generation of l-systems. CGF, 29(2):665–674, 2010. 2 ",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
173,
|
| 1451 |
+
686,
|
| 1452 |
+
823,
|
| 1453 |
+
717
|
| 1454 |
+
],
|
| 1455 |
+
"page_idx": 11
|
| 1456 |
+
},
|
| 1457 |
+
{
|
| 1458 |
+
"type": "text",
|
| 1459 |
+
"text": "Shao-Hua Sun, Hyeonwoo Noh, Sriram Somasundaram, and Joseph Lim. Neural program synthesis from diverse demonstration videos. In ICML, 2018a. 3 ",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
173,
|
| 1462 |
+
726,
|
| 1463 |
+
823,
|
| 1464 |
+
755
|
| 1465 |
+
],
|
| 1466 |
+
"page_idx": 11
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"type": "text",
|
| 1470 |
+
"text": "Xingyuan Sun, Jiajun Wu, Xiuming Zhang, Zhoutong Zhang, Chengkai Zhang, Tianfan Xue, Joshua B Tenenbaum, and William T Freeman. Pix3d: Dataset and methods for single-image 3d shape modeling. In CVPR, 2018b. 6 ",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
176,
|
| 1473 |
+
765,
|
| 1474 |
+
823,
|
| 1475 |
+
808
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 11
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "Shubham Tulsiani, Hao Su, Leonidas J Guibas, Alexei A Efros, and Jitendra Malik. Learning shape abstractions by assembling volumetric primitives. In CVPR, 2017. 1, 2, 6, 7, 8 ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
171,
|
| 1484 |
+
816,
|
| 1485 |
+
825,
|
| 1486 |
+
847
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 11
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "Anton van den Hengel, Chris Russell, Anthony Dick, John Bastian, Daniel Pooley, Lachlan Fleming, and Lourdes Agapito. Part-based modelling of compound scenes from images. In CVPR, 2015. 2 ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
174,
|
| 1495 |
+
856,
|
| 1496 |
+
821,
|
| 1497 |
+
886
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 11
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "Nanyang Wang, Yinda Zhang, Zhuwen Li, Yanwei Fu, Wei Liu, and Yu-Gang Jiang. Pixel2mesh: Generating 3d mesh models from single rgb images. In ECCV, 2018. 1 ",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
173,
|
| 1506 |
+
895,
|
| 1507 |
+
826,
|
| 1508 |
+
924
|
| 1509 |
+
],
|
| 1510 |
+
"page_idx": 11
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"type": "text",
|
| 1514 |
+
"text": "Jiajun Wu, Yifan Wang, Tianfan Xue, Xingyuan Sun, William T Freeman, and Joshua B Tenenbaum. MarrNet: 3D Shape Reconstruction via 2.5D Sketches. In NeurIPS, 2017. 9 ",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
171,
|
| 1517 |
+
103,
|
| 1518 |
+
825,
|
| 1519 |
+
132
|
| 1520 |
+
],
|
| 1521 |
+
"page_idx": 12
|
| 1522 |
+
},
|
| 1523 |
+
{
|
| 1524 |
+
"type": "text",
|
| 1525 |
+
"text": "Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 3d shapenets: A deep representation for volumetric shapes. In CVPR, 2015. 1 ",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
173,
|
| 1528 |
+
140,
|
| 1529 |
+
823,
|
| 1530 |
+
170
|
| 1531 |
+
],
|
| 1532 |
+
"page_idx": 12
|
| 1533 |
+
},
|
| 1534 |
+
{
|
| 1535 |
+
"type": "text",
|
| 1536 |
+
"text": "Chenyang Zhu, Kai Xu, Siddhartha Chaudhuri, Renjiao Yi, and Hao Zhang. Scores: Shape composition with recursive substructure priors. In SIGGRAPH Asia, 2018. 2 ",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
174,
|
| 1539 |
+
178,
|
| 1540 |
+
825,
|
| 1541 |
+
208
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 12
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "text",
|
| 1547 |
+
"text": "Chuhang Zou, Ersin Yumer, Jimei Yang, Duygu Ceylan, and Derek Hoiem. 3d-prnn: Generating shape primitives with recurrent neural networks. In ICCV, 2017. 2 ",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
173,
|
| 1550 |
+
217,
|
| 1551 |
+
825,
|
| 1552 |
+
246
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 12
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "text",
|
| 1558 |
+
"text": "A.1 DEFINED PROGRAMS ",
|
| 1559 |
+
"text_level": 1,
|
| 1560 |
+
"bbox": [
|
| 1561 |
+
176,
|
| 1562 |
+
102,
|
| 1563 |
+
401,
|
| 1564 |
+
118
|
| 1565 |
+
],
|
| 1566 |
+
"page_idx": 13
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "text",
|
| 1570 |
+
"text": "The details of semantics and shape primitives in our experimental setting for furniture are shown in Table 5. Due to the semantic nature of objects, while a few semantics are category specific, e.g., “ChairBeam”, other semantics are shared across different shape categories, e.g., “Leg” and “Top”. ",
|
| 1571 |
+
"bbox": [
|
| 1572 |
+
173,
|
| 1573 |
+
135,
|
| 1574 |
+
826,
|
| 1575 |
+
178
|
| 1576 |
+
],
|
| 1577 |
+
"page_idx": 13
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "table",
|
| 1581 |
+
"img_path": "images/03fc8be5d4cf013221ea28ef3d47cdb67b05486a25c96fbf0941e4ee93b19928.jpg",
|
| 1582 |
+
"table_caption": [],
|
| 1583 |
+
"table_footnote": [],
|
| 1584 |
+
"table_body": "<table><tr><td rowspan=\"6\"></td><td>Leg</td><td>Chair leg, table leg,etc. Usually long and used jointly for support</td></tr><tr><td>Top</td><td>Seat top, table top,etc.Usually a broad and flat surface</td></tr><tr><td>Layer</td><td>Shelf embedded in table,cabinet shelf etc.Usually a flat surface between other similar shapes</td></tr><tr><td>Support</td><td>Chair support, table support etc.A monolithic object used to raise things off the ground</td></tr><tr><td>Base</td><td>Base of an sofa, table etc. Usually a flat surface on the ground to help with stability</td></tr><tr><td>Sideboard</td><td>Sideboard of a cabinet, table etc.A vertical, flat surface on the</td></tr><tr><td>Semantics Horizontal Bar</td><td>bottom half of an object Horizontal bar of a chair etc.A thin bar used for structural</td></tr><tr><td>Vertical Board</td><td>integrity Vertical board of a arm rest etc.A vertical, flat surface used by</td></tr><tr><td>Locker</td><td>humans for arm support Table drawer etc. A boxy object used to put things in</td></tr><tr><td>Back</td><td>Chair back, Sofa back etc.A surface used for resting backs on</td></tr><tr><td>Back support</td><td>Office chair back support beam etc.A beam used to support a</td></tr><tr><td>ChairBeam</td><td>back rest Arm rest support beam in chairs,benches etc.A long object used</td></tr><tr><td rowspan=\"5\"> Shapes</td><td>Cylinder (Cyl)</td><td>to support an arm rest P = (x,y,z),G = (t,r),draw a cylinder at (x,y,z) with sizes (t,r)</td></tr><tr><td>Cuboid (Cub)</td><td>P = (x,y,z),G = (t,r1,r2,[angl), draw a cuboid at (x,y,z) with sizes (t,r1,r2) and optional ang of tilt along front/back</td></tr><tr><td>Circle (Cir)</td><td>P = (x,y,z),G = (t,r), draw a circle at (x,y,z) with sizes (t,r),t is usually small</td></tr><tr><td>Square (Sqr)</td><td>P = (x,y,z),G = (t,r), draw a square at (x,y,z) with sizes (t,r),t is usually small</td></tr><tr><td>Rectangle (Rect)</td><td>P = (x,y,z),G= (t,r1,r2), draw a rectangle at (x,y,z) with sizes (t,r1,r2),t is usually small</td></tr><tr><td>Line (Line)</td><td></td><td>P = (𝑥1,y1,z1),G = (x2,y2, z2),draw a line from P to G</td></tr></table>",
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
176,
|
| 1587 |
+
189,
|
| 1588 |
+
830,
|
| 1589 |
+
741
|
| 1590 |
+
],
|
| 1591 |
+
"page_idx": 13
|
| 1592 |
+
},
|
| 1593 |
+
{
|
| 1594 |
+
"type": "text",
|
| 1595 |
+
"text": "Table 5: The list of semantics and shapes, as well as associated parameters used by our model ",
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
186,
|
| 1598 |
+
746,
|
| 1599 |
+
805,
|
| 1600 |
+
761
|
| 1601 |
+
],
|
| 1602 |
+
"page_idx": 13
|
| 1603 |
+
},
|
| 1604 |
+
{
|
| 1605 |
+
"type": "text",
|
| 1606 |
+
"text": "A.2 ARCHITECTURE DETAILS ",
|
| 1607 |
+
"text_level": 1,
|
| 1608 |
+
"bbox": [
|
| 1609 |
+
176,
|
| 1610 |
+
791,
|
| 1611 |
+
437,
|
| 1612 |
+
809
|
| 1613 |
+
],
|
| 1614 |
+
"page_idx": 13
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "text",
|
| 1618 |
+
"text": "Program Generator. The program executor contains a 3D ConvNet and two LSTMS. (1) 3D ConvNet. This 3D ConvNet is the first part of the program generator model. It consists of 8 3D convolutional layers. The kernel size of each layer is 3 except for the first one whose kernel size is 5. The number of output channels are (8,16,16,32,32,64,64,64), respectively. The output of the last layer is averaged over the spatial resolution, which gives a 64-dimension embedding. (2) Block LSTM and Step LSTM. These two LSTMs share similar structure. Both are one-layer LSTMs. The dimensions of the input and hidden state are both 64. ",
|
| 1619 |
+
"bbox": [
|
| 1620 |
+
173,
|
| 1621 |
+
825,
|
| 1622 |
+
826,
|
| 1623 |
+
924
|
| 1624 |
+
],
|
| 1625 |
+
"page_idx": 13
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "image",
|
| 1629 |
+
"img_path": "images/446a9041dff0425de2ff3b31a52f092ebc14555950b91bc78b2585d8ef128a88.jpg",
|
| 1630 |
+
"image_caption": [
|
| 1631 |
+
"Figure A1: (a) shows random samples from all of our 10 table templates for synthetic dataset (b) shows raw and reconstructed tables on ShapeNet "
|
| 1632 |
+
],
|
| 1633 |
+
"image_footnote": [],
|
| 1634 |
+
"bbox": [
|
| 1635 |
+
174,
|
| 1636 |
+
107,
|
| 1637 |
+
818,
|
| 1638 |
+
219
|
| 1639 |
+
],
|
| 1640 |
+
"page_idx": 14
|
| 1641 |
+
},
|
| 1642 |
+
{
|
| 1643 |
+
"type": "text",
|
| 1644 |
+
"text": "Program Executor. The program executor contains an LSTM and a 3D DeConvNet. (1) LSTM. This LSTM aggregates a block-level programs into a 64-dimensional vector. The dimension of the hidden state is also 64. The input of each time step is the concatenation of category distribution over programs and the corresponding parameters retrieved from the parameter matrix. (2) 3D DeConvNet. It consists of 7 layers. TransposedConv layer with kernel size 4 and Conv layer with kernel size 3 are alternating. The number of output channels are (64, 64, 16, 16, 4, 4, 2), respectively. The output of the last layer is fed into a sigmoid function to generate the 3D voxel shape. ",
|
| 1645 |
+
"bbox": [
|
| 1646 |
+
173,
|
| 1647 |
+
279,
|
| 1648 |
+
826,
|
| 1649 |
+
376
|
| 1650 |
+
],
|
| 1651 |
+
"page_idx": 14
|
| 1652 |
+
},
|
| 1653 |
+
{
|
| 1654 |
+
"type": "text",
|
| 1655 |
+
"text": "End-to-end differentiability. The end-to-end differentiability is obtained via our design of the neural program executor. The output of the program inference model is actually continuous. A real execution engine (not the neural executor) actually contains two steps: (1) discretize such output, and (2) execute the discretized program to generate the voxel. Our neural executor is learned to jointly approximate both steps, thus the whole pipeline can be differentiable in an end-to-end manner. ",
|
| 1656 |
+
"bbox": [
|
| 1657 |
+
174,
|
| 1658 |
+
382,
|
| 1659 |
+
825,
|
| 1660 |
+
453
|
| 1661 |
+
],
|
| 1662 |
+
"page_idx": 14
|
| 1663 |
+
},
|
| 1664 |
+
{
|
| 1665 |
+
"type": "text",
|
| 1666 |
+
"text": "A.3 SYNTHETIC TEMPLATES V.S. SHAPENET ",
|
| 1667 |
+
"text_level": 1,
|
| 1668 |
+
"bbox": [
|
| 1669 |
+
176,
|
| 1670 |
+
473,
|
| 1671 |
+
563,
|
| 1672 |
+
488
|
| 1673 |
+
],
|
| 1674 |
+
"page_idx": 14
|
| 1675 |
+
},
|
| 1676 |
+
{
|
| 1677 |
+
"type": "text",
|
| 1678 |
+
"text": "ShapeNet was proposed to be the ImageNet of shapes; it is therefore highly diverse and intrinsically challenging. Our synthetic dataset were designed to provide minimal, simple guidance to the network. In Figure A1, (a) shows sampled shapes from all of our 10 table templates, while (b) shows the ground truth and reconstructed tables in ShapeNet, which are siginificantly more complex. Such disparity of complexity explains why we saw a dramatic drop of IoU when we directly tested on ShapeNet with model only pretrained on synthetic dataset. Our guided adaptation further adapt the pre-trained model. ",
|
| 1679 |
+
"bbox": [
|
| 1680 |
+
174,
|
| 1681 |
+
505,
|
| 1682 |
+
825,
|
| 1683 |
+
603
|
| 1684 |
+
],
|
| 1685 |
+
"page_idx": 14
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"type": "text",
|
| 1689 |
+
"text": "A.4 ADDITIONAL RESULTS ",
|
| 1690 |
+
"text_level": 1,
|
| 1691 |
+
"bbox": [
|
| 1692 |
+
176,
|
| 1693 |
+
622,
|
| 1694 |
+
415,
|
| 1695 |
+
638
|
| 1696 |
+
],
|
| 1697 |
+
"page_idx": 14
|
| 1698 |
+
},
|
| 1699 |
+
{
|
| 1700 |
+
"type": "text",
|
| 1701 |
+
"text": "In Figure A2 through Figure A8, we show the generated shape and programs using a network that is only pretrained jointly on synthetic “table” and “chair” objects, and a network that is pretrained then further enhanced by guided adaptation on ShapeNet data. Figure A2 and Figure A3 correspond to “chairs”, Figure A4 to “tables”, Figure A5 to “benches”, Figure A6 to “couches”, Figure A7 to “cabinets”, and Figure A8 to “beds”. In Figure A2, Figure A3, and Figure A4, even though “chair” and “table” have been seen in the synthetic dataset, we still note improvements in program inference and shape reconstruction on ShapeNet after guided adaptation. This is because our synthetic data is simpler than ShapeNet data. When directly using a model pretrained on synthetic “chairs” and “tables” to other classes, it is not surprised some shapes are interpreted as tables or chairs. However, such mispredictions dramatically drop after our guided adaptation. ",
|
| 1702 |
+
"bbox": [
|
| 1703 |
+
173,
|
| 1704 |
+
655,
|
| 1705 |
+
826,
|
| 1706 |
+
795
|
| 1707 |
+
],
|
| 1708 |
+
"page_idx": 14
|
| 1709 |
+
},
|
| 1710 |
+
{
|
| 1711 |
+
"type": "image",
|
| 1712 |
+
"img_path": "images/d6ab01c9a904e2222475f38726f9131b96f5c828c52a7740ba16b3141be41c55.jpg",
|
| 1713 |
+
"image_caption": [
|
| 1714 |
+
"Figure A2: (a) to (f) show the generated shapes and programs for ShapeNet chairs "
|
| 1715 |
+
],
|
| 1716 |
+
"image_footnote": [],
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
199,
|
| 1719 |
+
66,
|
| 1720 |
+
795,
|
| 1721 |
+
886
|
| 1722 |
+
],
|
| 1723 |
+
"page_idx": 15
|
| 1724 |
+
},
|
| 1725 |
+
{
|
| 1726 |
+
"type": "image",
|
| 1727 |
+
"img_path": "images/52ca785d25fe5c151e6c0918acb987306ae61ca2fa7f6927dc2df5e3c96fea77.jpg",
|
| 1728 |
+
"image_caption": [
|
| 1729 |
+
"Figure A3: (a) to (f) show the generated shapes and programs for ShapeNet chairs "
|
| 1730 |
+
],
|
| 1731 |
+
"image_footnote": [],
|
| 1732 |
+
"bbox": [
|
| 1733 |
+
174,
|
| 1734 |
+
102,
|
| 1735 |
+
823,
|
| 1736 |
+
842
|
| 1737 |
+
],
|
| 1738 |
+
"page_idx": 16
|
| 1739 |
+
},
|
| 1740 |
+
{
|
| 1741 |
+
"type": "image",
|
| 1742 |
+
"img_path": "images/5a66c558f74805a02a426ed56d7b5ecb7e3158c60ec23e4b8e43fd70d918bca6.jpg",
|
| 1743 |
+
"image_caption": [
|
| 1744 |
+
"Figure A4: (a) to (f) show the generated shapes and programs for ShapeNet tables "
|
| 1745 |
+
],
|
| 1746 |
+
"image_footnote": [],
|
| 1747 |
+
"bbox": [
|
| 1748 |
+
173,
|
| 1749 |
+
127,
|
| 1750 |
+
815,
|
| 1751 |
+
839
|
| 1752 |
+
],
|
| 1753 |
+
"page_idx": 17
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"type": "image",
|
| 1757 |
+
"img_path": "images/4872d1ad12fecb6b999a3a3922a6875175193b8d709678ab242887cd7d483052.jpg",
|
| 1758 |
+
"image_caption": [
|
| 1759 |
+
"Figure A5: (a) to (f) show the generated shapes and programs for ShapeNet benches "
|
| 1760 |
+
],
|
| 1761 |
+
"image_footnote": [],
|
| 1762 |
+
"bbox": [
|
| 1763 |
+
174,
|
| 1764 |
+
141,
|
| 1765 |
+
816,
|
| 1766 |
+
857
|
| 1767 |
+
],
|
| 1768 |
+
"page_idx": 18
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "image",
|
| 1772 |
+
"img_path": "images/8eb4283962893da5968b2f641d78910cf5a82ffcf131f8bdda603741e1f67d44.jpg",
|
| 1773 |
+
"image_caption": [
|
| 1774 |
+
"Figure A6: (a) to (f) show the generated shapes and programs for ShapeNet couches "
|
| 1775 |
+
],
|
| 1776 |
+
"image_footnote": [],
|
| 1777 |
+
"bbox": [
|
| 1778 |
+
173,
|
| 1779 |
+
181,
|
| 1780 |
+
825,
|
| 1781 |
+
834
|
| 1782 |
+
],
|
| 1783 |
+
"page_idx": 19
|
| 1784 |
+
},
|
| 1785 |
+
{
|
| 1786 |
+
"type": "image",
|
| 1787 |
+
"img_path": "images/d172a3fc7d4bc1d82cd1097244706708aa357ba84be148faff4556fdfd5ce34f.jpg",
|
| 1788 |
+
"image_caption": [
|
| 1789 |
+
"Figure A7: (a) to (d) show the generated shapes and programs for ShapeNet cabinets "
|
| 1790 |
+
],
|
| 1791 |
+
"image_footnote": [],
|
| 1792 |
+
"bbox": [
|
| 1793 |
+
183,
|
| 1794 |
+
126,
|
| 1795 |
+
820,
|
| 1796 |
+
539
|
| 1797 |
+
],
|
| 1798 |
+
"page_idx": 20
|
| 1799 |
+
},
|
| 1800 |
+
{
|
| 1801 |
+
"type": "image",
|
| 1802 |
+
"img_path": "images/25e7d4760083ffbc28c6484f3c016a3c1a06a10ed7c758a4746bda07ab487df4.jpg",
|
| 1803 |
+
"image_caption": [
|
| 1804 |
+
"Figure A8: (a) and (b) show the generated shapes and programs for ShapeNet beds "
|
| 1805 |
+
],
|
| 1806 |
+
"image_footnote": [],
|
| 1807 |
+
"bbox": [
|
| 1808 |
+
179,
|
| 1809 |
+
662,
|
| 1810 |
+
821,
|
| 1811 |
+
837
|
| 1812 |
+
],
|
| 1813 |
+
"page_idx": 20
|
| 1814 |
+
}
|
| 1815 |
+
]
|
parse/train/rylNH20qFQ/rylNH20qFQ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rylNH20qFQ/rylNH20qFQ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|