ZHANGYUXUAN-zR commited on
Commit
0c97677
·
verified ·
1 Parent(s): 872ff11

Add files using upload-large-folder tool

Browse files
parse/train/HJ_aoCyRZ/HJ_aoCyRZ.md ADDED
@@ -0,0 +1,542 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SPECTRALNET: SPECTRAL CLUSTERING USING DEEP NEURAL NETWORKS
2
+
3
+ Uri Shaham∗†, Kelly Stanton∗, Henry Li∗
4
+ Yale University
5
+ New Haven, CT, USA
6
+ {uri.shaham, kelly.stanton, henry.li}@yale.edu
7
+
8
+ # Yuval Kluger
9
+
10
+ Boaz Nadler, Ronen Basri
11
+ Weizmann Institute of Science
12
+ Rehovot, Israel
13
+ {boaz.nadler, ronen.basri}@gmail.com
14
+
15
+ Yale University New Haven, CT, USA yuval.kluger@yale.edu
16
+
17
+ # ABSTRACT
18
+
19
+ Spectral clustering is a leading and popular technique in unsupervised data analysis. Two of its major limitations are scalability and generalization of the spectral embedding (i.e., out-of-sample-extension). In this paper we introduce a deep learning approach to spectral clustering that overcomes the above shortcomings. Our network, which we call SpectralNet, learns a map that embeds input data points into the eigenspace of their associated graph Laplacian matrix and subsequently clusters them. We train SpectralNet using a procedure that involves constrained stochastic optimization. Stochastic optimization allows it to scale to large datasets, while the constraints, which are implemented using a specialpurpose output layer, allow us to keep the network output orthogonal. Moreover, the map learned by SpectralNet naturally generalizes the spectral embedding to unseen data points. To further improve the quality of the clustering, we replace the standard pairwise Gaussian affinities with affinities learned from the given unlabeled data using a Siamese network. Additional improvement of the resulting clustering can be achieved by applying the network to code representations produced, e.g., by standard autoencoders. Our end-to-end learning procedure is fully unsupervised. In addition, we apply VC dimension theory to derive a lower bound on the size of SpectralNet. State-of-the-art clustering results are reported on the Reuters dataset. Our implementation is publicly available at https://github.com/kstant0725/SpectralNet.
20
+
21
+ # 1 INTRODUCTION
22
+
23
+ Discovering clusters in unlabeled data is a task of significant scientific and practical value. With technological progress images, texts, and other types of data are acquired in large numbers. Their labeling, however, is often expensive, tedious, or requires expert knowledge. Clustering techniques provide useful tools to analyze such data and to reveal its underlying structure.
24
+
25
+ Spectral Clustering (Shi & Malik, 2000; $\mathrm { N g }$ et al., 2002; Von Luxburg, 2007) is a leading and highly popular clustering algorithm. It works by embedding the data in the eigenspace of the Laplacian matrix, derived from the pairwise similarities between data points, and applying $k$ -means to this representation to obtain the clusters. Several properties make spectral clustering appealing: First, its embedding optimizes a natural cost function, minimizing pairwise distances between similar data points; moreover, this optimal embedding can be found analytically. Second, spectral clustering variants arise as relaxations of graph balanced-cut problems (Von Luxburg, 2007). Third, spectral clustering was shown to outperform other popular clustering algorithms such as $k$ -means (Von Luxburg, 2007), arguably due to its ability to handle non-convex clusters. Finally, it has a solid probabilistic interpretation, since the Euclidean distance in the embedding space is equal to a diffusion distance, which, informally, measures the time it takes probability mass to transfer between points, via all the other points in the dataset (Nadler et al., 2006; Coifman & Lafon, 2006a).
26
+
27
+ ![](images/cce14ac5e75034178b1104d64bd8efe36caa7ab333478be3aa3fab6b3217250f.jpg)
28
+ Figure 1: Illustrative 2D and 3D examples showing the results of our SpectralNet clustering (top) compared to typical results obtained with DCN, VaDE, DEPICT and IMSAT (bottom) on simulated datasets in 2D and 3D. Our approach successfully finds these non-convex clusters, whereas the competing algorithms fail on all five examples. (The full set of results for these algorithms is shown in Figure 4 in Appendix A.)
29
+
30
+ While spectral embedding of data points can be achieved by a simple eigen-decomposition of their graph Laplacian matrix, with large datasets direct computation of eigenvectors may be prohibitive. Moreover, generalizing a spectral embedding to unseen data points, a task commonly referred to as out-of-sample-extension (OOSE), is a non-trivial task; see, for example, (Belkin et al., 2006; Bengio et al., 2004; Fowlkes et al., 2004; Coifman & Lafon, 2006b).
31
+
32
+ In this work we introduce SpectralNet, a deep learning approach to spectral clustering, which addresses the scalability and OOSE problems pointed above. Specifically, SpectralNet is trained in a stochastic fashion, which allows it to scale. Moreover, once trained, it provides a function, implemented as a feed-forward network, that maps each input data point to its spectral embedding coordinates. This map can easily be applied to new test data. Unlike optimization of standard deep learning models, SpectralNet is trained using constrained optimization, where the constraint (orthogonality of the net outputs) is enforced by adding a linear layer, whose weights are set by the QR decomposition of its inputs. In addition, as good affinity functions are crucial for the success of spectral clustering, rather than using the common Euclidean distance to compute Gaussian affinity, we show how Siamese networks can be trained from the given unlabeled data to learn more informative pairwise distances and consequently significantly improve the quality of the clustering. Further improvement can be achieved if our network is applied to transformed data obtained by an autoencoder (AE). On the theoretical front, we utilize VC-dimension theory to derive a lower bound on the size of neural networks that compute spectral clustering. Our experiments indicate that our network indeed approximates the Laplacian eigenvectors well, allowing the network to cluster challenging non-convex point sets, which recent deep network based methods fail to handle; see examples in Figure 1. Finally, SpetralNet achieves competitive performance on MNIST handwritten digit dataset and state-of-the-art on the Reuters document dataset, whose size makes standard spectral clustering inapplicable.
33
+
34
+ # 2 RELATED WORK
35
+
36
+ Recent deep learning approaches to clustering largely attempt to learn a code for the input that is amenable to clustering according to either the $k$ -means or mixture of gaussians clustering models. DCN (Yang et al., 2017) directly optimizes a loss composed of a reconstruction term (for the code) and the $k$ -means functional. DEC (Xie et al., 2016) iteratively updates a target distribution to sharpen cluster associations. DEPICT (Dizaji et al., 2017) adds a regularization term that prefers balanced clusters. All three methods are pre-trained as autoencoders, while DEPICT also initializes its target distribution using $k$ -means or other standard clustering algorithms. Several other recent approaches rely on a variational autoencoder that utilizes a Gaussian mixture prior, see, for example, VaDE (Zheng et al., 2016) and GMVAE (Dilokthanakul et al., 2016). IMSAT (Hu et al., 2017) is based on data augmentation, where the net is trained to maximize the mutual information between inputs and predicted clusters, while regularizing the net so that the cluster assignment of original data points will be consistent with the assignment of augmented points. Different approaches are proposed by Chen (2015), who uses a deep belief net followed by non-parametric maximum margin clustering (NMMC), and by Yang et al. (2016), who introduce a recurrent-agglomerative framework to image clustering.
37
+
38
+ While these approaches achieve accurate clustering results on standard datasets (such as the MNIST and Reuters), the use of the $k$ -means criterion, as well as the Gaussian mixture prior, seems to introduce an implicit bias towards the formation of clusters with convex shapes. This limitation seems to hold even in code space. This bias is demonstrated in Figure 1(bottom), which shows the failure of several of the above approaches on relatively simple clustering tasks. In contrast, as is indicated in Figure 1(top), our SpectralNet approach appears to be less vulnerable to such bias. The full set of runs can be found in Appendix A.
39
+
40
+ In the context of spectral clustering, Tian et al. (2014) learn an autoencoder that maps the rows of a graph Laplacian matrix onto the corresponding spectral embedding, and then use $k$ -means in code space to cluster the underlying data. Unlike our work, which learns to map an input data point to its spectral embedding, Tian et al.’s network takes as input an entire row of the graph Laplacian, and therefore OOSE is impractical, as it requires to compute the affinities of each new data point to all the training data. Also of interest is the kernel spectral method by Alzate & Suykens (2010), which allows for out of sample extension and handles large datasets through smart sampling (but does not use a neural network).
41
+
42
+ Yi et al. (2016) address the problem of 3D shape segmentation. Their work, which focuses on learning graph convolutions, uses a graph spectral embedding through eigenvector decomposition, which is not learned. In addition, we enforce orthogonalization stochastically through a constraint layer, while they attempt to learn orthogonalized functional maps by adding an orthogonalization term to the loss function, which involves non-trivial balancing between two loss components.
43
+
44
+ Other deep learning works use a spectral approach in the context of supervised learning. Law et al. (2017) apply supervised metric learning, showing that their method approximates the eigenvectors of a 0-1 affinity matrix constructed from the true labels. Mishne et al. (2017) trained a network to compute graph Laplacian eigenvectors using supervised regression. Their approach, however, requires the true eigenvectors for training, and hence does not easily scale to large datasets.
45
+
46
+ Finally, a number of papers showed that stochastic gradient descent can be used effectively to compute the principal components of covariance matrices, see, e.g., (Shamir, 2015) and references therein. The setup in these papers assumes that in each iteration a noisy estimate of the entire input matrix is provided. In contrast, in our work we use in each iteration only a small submatrix of the affinity matrix, corresponding to a small minibatch. In future work, we plan to examine how these algorithms can be adapted to improve the convergence rate of our proposed network.
47
+
48
+ # 3 SPECTRALNET
49
+
50
+ In this section we present our proposed approach, describe its key components, and explain its connection to spectral clustering. Consider the following standard clustering setup: Let $\scriptscriptstyle \textit { \textbf { X } } =$ $\{ x _ { 1 } , \ldots , x _ { n } \} \subseteq \mathbb { R } ^ { d }$ denote a collection of unlabeled data points drawn from some unknown distribution $\mathcal { D }$ ; given a target number of clusters $k$ and a distance measure between points, the goal is to learn a similarity measure between points in $\mathcal { X }$ and use it to learn a map that assigns each of $x _ { 1 } , \ldots , x _ { n }$ to one of $k$ possible clusters, so that similar points tend to be grouped in the same cluster. As in classification tasks we further aim to use the learned map to determine the cluster assignments of new, yet unseen, points drawn from $\mathcal { D }$ . Such out-of-sample-extension is based solely on the learned map, and requires neither computation of similarities between the new points and the training points nor re-clustering of combined data.
51
+
52
+ In this work we propose SpectralNet, a neural network approach for spectral clustering. Once trained, SpectralNet computes a map $F _ { \theta } : \mathbb { R } ^ { d } \mathbb { R } ^ { k }$ and a cluster assignment function $c : \mathbb { R } ^ { k } $ $\{ 1 , \ldots , k \}$ . It maps each input point $x$ to an output $y = F _ { \theta } ( x )$ and provides its cluster assignment $c ( y )$ . The spectral map $F _ { \theta }$ is implemented using a neural network, and the parameter vector $\theta$ denotes the network weights.
53
+
54
+ The training of SpectralNet consists of three components: (i) unsupervised learning of an affinity given the input distance measure, via a Siamese network (see Section 3.2); (ii) unsupervised learning of the map $F _ { \theta }$ by optimizing a spectral clustering objective while enforcing orthogonality (see Section 3.1); (iii) learning the cluster assignments, by k-means clustering in the embedded space.
55
+
56
+ # 3.1 LEARNING THE SPECTRAL MAP $F _ { \theta }$
57
+
58
+ In this section we describe the main learning step in SpectralNet, component (ii) above. To this end, let $w : \mathbb { R } ^ { d } \times \mathbb { R } ^ { d } \to [ 0 , \infty )$ be a symmetric affinity function, such that $w ( x , x ^ { \prime } )$ expresses the similarity between $x$ and $x ^ { \prime }$ . Given $w$ , we would like points $x , x ^ { \prime }$ which are similar to each other (i.e., with large $w ( x , x ^ { \prime } ) )$ to be embedded close to each other. Hence, we define the loss
59
+
60
+ $$
61
+ \begin{array} { r } { \mathcal { L } _ { \mathrm { S p e c t r a l N e t } } ( \theta ) = \mathbb { E } \left[ w ( x , x ^ { \prime } ) \lVert y - y ^ { \prime } \rVert ^ { 2 } \right] , } \end{array}
62
+ $$
63
+
64
+ where $y , y ^ { \prime } \in \mathbb { R } ^ { k }$ , the expectation is taken with respect to pairs of i.i.d. elements $( x , x ^ { \prime } )$ drawn from $\mathcal { D }$ , and $\theta$ denotes the parameters of the map $y = F _ { \theta } ( x )$ . Clearly, the loss $\mathcal { L } _ { \mathrm { S p e c t r a l N e t } } ( \theta )$ can be minimized by mapping all points to the same output vector $( F _ { \theta } ( x ) = y _ { 0 }$ for all $x$ ). To prevent this, we require that the outputs will be orthonormal in expectation with respect to $\mathcal { D }$ , i.e.,
65
+
66
+ $$
67
+ \mathbb { E } \left[ y y ^ { T } \right] = I _ { k \times k } .
68
+ $$
69
+
70
+ As the distribution $\mathcal { D }$ is unknown, we replace the expectations in (1) and (2) by their empirical analogues. Furthermore, we perform the optimization in a stochastic fashion. Specifically, at each iteration we randomly sample a minibatch of $m$ samples, which without loss of generality we denote $x _ { 1 } , \ldots , x _ { m } \in \mathcal { X }$ , and organize them in an $m \times d$ matrix $X$ whose $i$ th row contains $x _ { i } ^ { T }$ . We then minimize the loss
71
+
72
+ $$
73
+ L _ { { \mathrm { S p e c t r a l N e t } } } ( \theta ) = \frac { 1 } { m ^ { 2 } } \sum _ { i , j = 1 } ^ { m } W _ { i , j } \| y _ { i } - y _ { j } \| ^ { 2 } ,
74
+ $$
75
+
76
+ where $y _ { i } = F _ { \theta } ( x _ { i } )$ and $W$ is a $m \times m$ matrix such that $W _ { i , j } = w ( x _ { i } , x _ { j } )$ . The analogue of (2) for a small minibatch is
77
+
78
+ $$
79
+ { \frac { 1 } { m } } Y ^ { T } Y = I _ { k \times k } ,
80
+ $$
81
+
82
+ where $Y$ is a $m \times k$ matrix of the outputs whose $i$ th row is $y _ { i } ^ { T }$
83
+
84
+ We implement the map $F _ { \theta }$ as a general neural network whose last layer enforces the orthogonality constraint (4). This layer gets input from $k$ units, and acts as a linear layer with $k$ outputs, where the weights are set to orthogonalize the output $Y$ for the minibatch $X$ . Let $\tilde { Y }$ denote the $m \times k$ matrix containing the inputs to this layer for $X$ (i.e., the outputs of $F _ { \theta }$ over the minibatch before orthogonalization). A linear map that orthogonalizes the columns of $\tilde { Y }$ is computed through its QR decomposition. Specifically, for any matrix $A$ such that $A ^ { T } A$ is full rank, one can obtain the QR decomposition via the Cholesky decomposition $A ^ { T } A = L L ^ { T }$ , where $L$ is a lower triangular matrix, and then setting $Q \ : = \ : A \left( L ^ { - 1 } \right) ^ { T }$ . This is verified in Appendix B. Therefore, in order to orthogonalize $\tilde { Y }$ , the last layer multiplies $\tilde { Y }$ from the right by $\sqrt { m } \left( \tilde { L } ^ { - 1 } \right) ^ { T }$ , where $\tilde { L }$ is obtained from the Cholesky decomposition of $\tilde { Y } ^ { T } \tilde { Y }$ and the $\sqrt { m }$ factor is needed to satisfy (4).
85
+
86
+ We train this spectral map in a coordinate descent fashion, where we alternate between orthogonalization and gradient steps. Each of these steps uses a different minibatch (possibly of different sizes), sampled uniformly from the training set $\mathcal { X }$ . In each orthogonalization step we use the QR decomposition to tune the weights of the last layer. In each gradient step we tune the remaining weights using standard backpropagation. Once SpectralNet is trained, all the weights are freezed, including those of the last layer, which simply acts as a linear layer. Finally, to obtain the cluster assignments $c _ { 1 } , \ldots c _ { 2 }$ , we propagate $x _ { 1 } , \ldots . x _ { n }$ through it to obtain the embeddings $y _ { 1 } , \ldots , y _ { n } \in \mathbb { R } ^ { k }$ , and perform $k$ -means on them, obtaining $k$ cluster centers, as in standard spectral clustering. These algorithmic steps are summarized below in Algorithm 1 in Sec. 3.3.
87
+
88
+ # Connection with Spectral Clustering The loss (3) can also be written as
89
+
90
+ $$
91
+ L _ { \mathrm { S p e c t r a l N e t } } ( \theta ) = \frac { 2 } { m ^ { 2 } } \operatorname { t r a c e } \left( Y ^ { T } ( D - W ) Y \right) ,
92
+ $$
93
+
94
+ where $D$ is a $m \times m$ diagonal matrix such that $\begin{array} { r } { D _ { i , i } = \sum _ { j } W _ { i , j } } \end{array}$ . The symmetric, positive semidefinite matrix $D - W$ forms the (unnormalized) graph Laplacian of the minibatch $x _ { 1 } , \ldots , x _ { m }$ . For $k = 1$ the loss is minimized when $y$ is the eigenvector of $D - W$ corresponding to the smallest eigenvalue. Similarly, for general $k$ , under the constraint (4), the minimum is attained when the column space of $Y$ is the subspace of the $k$ eigenvectors corresponding to the smallest $k$ eigenvalues of $D - W$ . Note that this subspace includes the constant vector whose inclusion does not affect the final cluster assignment.
95
+
96
+ Hence, SpectralNet approximates spectral clustering, where the main differences are that the training is done in a stochastic fashion, and that the orthogonality constraint with respect to the full dataset $\mathcal { X }$ holds only approximately. SpectralNet therefore trades accuracy with scalability and generalization ability. Specifically, while its outputs are an approximation of the true eigenvectors, the stochastic training enables its scalability and thus allows one to cluster large datasets that are prohibitive for standard spectral clustering. Moreover, once trained, SpectralNet provides a parametric function whose image for the training points is (approximately) the eigenvectors of the graph Laplacian. This function can now naturally embed new test points, which were not present at training time. Our experiments with the MNIST dataset (Section 5) indicate that the outputs of SpectralNet closely approximate the true eigenvectors.
97
+
98
+ Finally, as in common spectral clustering applications, cluster assignments are determined by applying $k$ -means to the embeddings $y _ { 1 } , \ldots y _ { n }$ . We note that the $k$ -means step can be replaced by other clustering algorithms. Our preference to use $k$ -means is based on the interpretation (for normalized Laplacian matrices) of the Euclidean distance in the embedding space as diffusion distance in the input space (Nadler et al., 2006; Coifman $\&$ Lafon, 2006a).
99
+
100
+ Normalized graph Laplacian In spectral clustering, the symmetric normalized graph Laplacian $I - D ^ { - { \frac { 1 } { 2 } } } W D ^ { - { \frac { 1 } { 2 } } }$ can use as an alternative to the unnormalized Laplacian $D - W$ . In order to train SpectralNet with normalized graph Laplacian, the loss function (3) should be replaced by
101
+
102
+ $$
103
+ L _ { \mathrm { S p e c t r a l N e t } } ( \theta ) = \frac { 1 } { m ^ { 2 } } \sum _ { i , j = 1 } ^ { m } W _ { i , j } \left\| \frac { y _ { i } } { d _ { i } } - \frac { y _ { j } } { d _ { j } } \right\| ^ { 2 } ,
104
+ $$
105
+
106
+ where $\begin{array} { r } { d _ { i } = D _ { i , i } = \sum _ { j = 1 } ^ { m } W _ { i , j } } \end{array}$
107
+
108
+ Batch size considerations Typically in classification or regression, the loss is a sum over the losses of individual examples. In contrast, SpectralNet loss (3) is summed over pairs of points, and each summand describes relationships between data points. This relation is encoded by the full $n \times n$ affinity matrix $W _ { \mathrm { f u l l } }$ (which we never compute explicitly). The minibatch size $m$ should therefore be sufficiently large to capture the structure of the data. For this reason, it is also highly important that minibatches will be sampled at random from the entire dataset at each step, and not be fixed across epochs. When the minibatches are fixed, the knowledge of $W _ { \mathrm { f u l l } }$ is reduced to a (possibly permuted) diagonal sequence of $m \times m$ blocks, thus ignoring many of the entries of $W _ { \mathrm { f u l l } }$ . In addition, while the output layer orthogonalizes $\tilde { Y }$ , we do not have any guarantees on how well it orthogonalizes other random minibatches. However, in our experiments we observed that if $m$ is large enough, it approximately orthogonalizes other batches as well, and its weights stabilize as training progresses. Therefore, to train SpectralNet, we use larger minibatches compared to common choices made by practitioners in the context of classification. In our experiments we use minibatches of size 1024 for MNIST and 2048 for Reuters, re-sampled randomly at every step.
109
+
110
+ # 3.2 LEARNING AFFINITIES USING A SIAMESE NETWORK
111
+
112
+ Choosing a good affinity measure is crucial to the success of spectral clustering. In many applications, practitioners use an affinity measure that is positive for a set of nearest neighbor pairs, combined with a Gaussian kernel with some scale $\sigma > 0$ , e.g.,
113
+
114
+ $$
115
+ W _ { i , j } = \left\{ \begin{array} { l l } { \exp \left( - \frac { \| x _ { i } - x _ { j } \| ^ { 2 } } { 2 \sigma ^ { 2 } } \right) , } & { ~ x _ { j } \mathrm { ~ i s ~ a m o n g ~ t h e ~ n e a r e s t ~ n e i g h b o r s ~ o f ~ } x _ { i } } \\ { 0 , } & { \mathrm { ~ o t h e r w i s e , } } \end{array} \right.
116
+ $$
117
+
118
+ where one typically symmetrizes $W$ , for example, by setting $W _ { i , j } \gets ( W _ { i , j } + W _ { j , i } ) / 2$
119
+
120
+ Euclidean distance may be overly simplistic measure of similarity; seeking methods that can capture more complex similarity relations might turn out advantageous. Siamese nets (Hadsell et al., 2006; Shaham & Lederman, 2018) are trained to learn affinity relations between data points; we empirically found that the unsupervised application of a Siamese net to determine the distances often improves the quality of the clustering.
121
+
122
+ Siamese nets are typically trained on a collection of similar (positive) and dissimilar (negative) pairs of data points. When labeled data are available, such pairs can be chosen based on label information (i.e., pairs of points with the same label are considered positive, while pairs of points with different labels are considered negative). Here we focus on datasets that are unlabeled. In this case we can learn the affinities directly from Euclidean proximity or from graph distance, e.g., by “labeling” points $x _ { i } , x _ { j }$ positive if $\| x _ { i } - x _ { j } \|$ is small and negative otherwise. In our experiments, we construct positive pairs from the nearest neighbors of each point. Negative pairs are constructed from points with larger distances. This Siamese network, therefore, is trained to learn an adaptive nearest neighbor metric.
123
+
124
+ A Siamese net maps every data point $x _ { i }$ into an embedding $z _ { i } = G _ { \theta _ { \mathrm { s i a m e s e } } } ( x _ { i } )$ in some space. The net is typically trained to minimize contrastive loss, defined as
125
+
126
+ $$
127
+ L _ { \mathrm { s i a m e s e } } ( \theta _ { \mathrm { s i a m e s e } } ; x _ { i } , x _ { j } ) = \left\{ \begin{array} { l l } { \| z _ { i } - z _ { j } \| ^ { 2 } , } & { ( x _ { i } , x _ { j } ) \mathrm { ~ i s ~ a ~ p o s i t i v e ~ p a i r } } \\ { \operatorname* { m a x } \left( c - \| z _ { i } - z _ { j } \| , 0 ) \right) ^ { 2 } , } & { ( x _ { i } , x _ { j } ) \mathrm { ~ i s ~ a ~ n e g a t i v e ~ p a i r } , } \end{array} \right.
128
+ $$
129
+
130
+ where $c$ is a margin (typically set to 1).
131
+
132
+ Once the Siamese net is trained, we use it to define a batch affinity matrix $W$ for the training of SpectralNet, by replacing the Euclidean distance $\| x _ { i } - x _ { j } \|$ in (6) with $\| z _ { i } - z _ { j } \|$ .
133
+
134
+ Remarkably, despite being trained in an unsupervised fashion on a training set constructed from relatively naive nearest neighbor relations, in Section 5 we show that affinities that use the Siamese distances yield dramatically improved clustering quality over affinities that use Euclidean distances. This implies that unsupervised training of Siamese nets can lead to learning useful and rich affinity relations.
135
+
136
+ # 3.3 ALGORITHM
137
+
138
+ Our end-to-end training approach is summarized in Algorithm 1.
139
+
140
+ Input: $\mathcal { X } \subseteq \mathbb { R } ^ { d }$ , number of clusters $k$ , batch size $m$
141
+
142
+ Output: embeddings $y _ { 1 } , \dots , y _ { n } , \ y _ { i } \in \mathbb { R } ^ { k }$ , cluster assignments $c _ { 1 } , \ldots c _ { n } , \ c _ { i } \in \{ 1 , \ldots k \}$ Construct a training set of positive and negative pairs for the Siamese network; Train a Siamese network;
143
+
144
+ Randomly initialize the network weights $\theta$ ; while $L _ { S p e c t r a l N e t } ( \theta )$ not converged do
145
+
146
+ # Orthogonalization step:
147
+
148
+ Sample a random minibatch $X$ of size $m$ ;
149
+
150
+ Forward propagate $X$ and compute inputs to orthogonalization layer $\tilde { Y }$ ;
151
+
152
+ Compute the Cholesky factorization $L L ^ { T } = \tilde { Y } ^ { T } \tilde { Y }$
153
+
154
+ Set the weights of the orthogonalization layer to be $\sqrt { m } \left( L ^ { - 1 } \right) ^ { T }$ ;
155
+
156
+ # Gradient step:
157
+
158
+ Sample a random minibatch $x _ { 1 } , \ldots , x _ { m }$ ;
159
+ Compute the $m \times m$ affinity matrix $W$ using the Siamese net;
160
+ Forward propagate $x _ { 1 } , \ldots , x _ { m }$ to get $y _ { 1 } , \ldots , y _ { m }$ ;
161
+ Compute the loss (3) or (5);
162
+ Use the gradient of $L _ { \mathrm { S p e c t r a l N e t } } ( \theta )$ to tune all $F _ { \theta }$ weights, except those of the output layer;
163
+
164
+ # end
165
+
166
+ Forward propagate $x _ { 1 } , \ldots , x _ { n }$ and obtain $F _ { \theta }$ outputs $y _ { 1 } , \ldots , y _ { n }$ ;
167
+ Run $k$ -means on $y _ { 1 } , \ldots , y _ { n }$ to determine cluster centers;
168
+
169
+ Algorithm 1: SpectralNet training
170
+
171
+ Once SpectralNet is trained, computing the embeddings of new test points (i.e., out-of-sampleextension) and their cluster assignments is straightforward: we simply propagate each test point $x _ { i }$ through the network $F _ { \theta }$ to obtain their embeddings $y _ { i }$ , and assign the point to its nearest centroid, where the centroids were computed using $k$ -means on the training data, at the last line of Algorithm 1.
172
+
173
+ # 3.4 SPECTRAL CLUSTERING IN CODE SPACE
174
+
175
+ Given a dataset $\mathcal { X }$ , one can either apply SpectralNet in the original input space, or in a code space (obtained, for example, by an autoencoder). A code space representation is typically lower dimensional, and often contains less nuisance information (i.e., information on which an appropriate similarity measure should not depend). Following (Yang et al., 2017; Xie et al., 2016; Zheng et al., 2016) and others, we empirically observed that SpectralNet performs best in code space. Unlike these works, which use an autoencoder as an initialization for their clustering networks, we use the code as our data representation and apply SpectralNet directly in that space, (i.e., we do not change the code space while training SpectralNet). In our experiments, we use code spaces obtained from publicly available autoencoders trained by Zheng et al. (2016) on the MNIST and Reuters datasets.
176
+
177
+ # 4 THEORETICAL ANALYSIS
178
+
179
+ Our proposed SpectralNet not only determines cluster assignments in training, as clustering algorithms commonly do, but it also produces a map that can generalize to unseen data points at test time. Given a training set with $n$ points, it is thus natural to ask how large should such a network be to represent this spectral map. The theory of VC-dimension can provide useful worst-case bounds for this size.
180
+
181
+ In this section, we use the VC dimension theory to study the minimal size a neural network should have in order to compute spectral clustering for $k = 2$ . Specifically, we consider the class of functions that map all training points to binary values, determined by thresholding at zero the eigenvector of the graph Laplacian with the second smallest eigenvalue. We denote this class of binary classifiers $\mathcal { F } _ { n } ^ { \mathrm { s g } }$ ectral clustering. Note that with $k = 2$ , $k$ -means can be replaced by thresholding of the second smallest eigenvector, albeit not necessarily at zero. We are interested in the minimal number of weights and neurons required to allow the net to compute such functions, assuming the affinities decay exponentially with the Euclidean distance. We do so by studying the VC dimension of function classes obtained by performing spectral clustering on $n$ points in arbitrary Euclidean spaces $\mathbb { R } ^ { d }$ , with $d \geq 3$ . We will make no assumption on the underlying distribution of the points.
182
+
183
+ In the main result of this section, we prove a lower bound on the VC dimension of spectral clustering, which is linear in the number of points $n$ . In contrast, the VC dimension of $k$ -means, for example, depends solely on the dimension $d$ , but not on $n$ , hence making $k$ -means significantly less expressive than spectral clustering1. As a result of our main theorem, we bound from below the number of weights and neurons in any net that is required to compute Laplacian eigenvectors. The reader might find the analysis in this section interesting in its own right.
184
+
185
+ Our main result shows that for data in $\mathbb { R } ^ { d }$ with $d \geq 3$ , the VC dimension of $\mathcal { F } _ { n } ^ { \mathrm { s p e c t r a l ~ c l u s t e r i n g } }$ is linear in the number $n$ of points, making spectral clustering almost as rich as arbitrary clustering of the $n$ points.
186
+
187
+ Theorem 4.1. VC dim(F spectral clusteringn ) ≥ 110 n.
188
+
189
+ The formal proof of Theorem 4.1 is deferred to Appendix C. Below we informally sketch its principles. We show that for any integer $n$ (assuming for simplicity that $n$ is divisible by 10), there exists a set of $m = n / 1 0$ points in $\mathbb { R } ^ { d }$ that is shattered by $\mathcal { F } _ { n } ^ { \mathrm { s p } }$ ectral clustering. In particular, we show this for the set of $m$ points placed in a 2-dimensional grid in $\mathbb { R } ^ { d }$ . We then show that for any arbitrary dichotomy of these $m$ points, we can augment the set of points to a larger set $X$ , containing $n = 1 0 m$ points, with a balanced partition of $X$ into two disjoint sets $S$ and $T$ that respects the dichotomy of the original $m$ points. The larger set has the special properties: (1) within $S$ (and resp. $T$ ), there is a path between any two points such that the distances between all pairs of consecutive points along the path are small, and (2) all pairs $( s , t ) \in S \times T$ are far apart. We complete the proof by constructing a Gaussian affinity $W$ with a suitable value of $\sigma$ and showing that the minimizer of the spectral clustering loss for $( X , W )$ (i.e., the second eigenvector of the Laplacian), when thresholded at 0, separates $S$ from $T$ , and hence respects the original dichotomy.
190
+
191
+ By connecting Theorem 4.1 with known results regarding the VC dimension of neural nets, see, e.g., (Shalev-Shwartz & Ben-David, 2014), we can bound the size from below (in terms of number of weights and neurons) of any neural net that computes spectral clustering. This is formalized in the following corollary.
192
+
193
+ # Corollary 4.2.
194
+
195
+ 1. For the class of neural nets with $| v |$ sigmoid nodes and $| w |$ weights to represent all functions realizable by spectral clustering (i.e., second eigenvector of the Laplacian, thresholded at 0) on n points, it is necessary to have $| w | ^ { 2 } | v | ^ { 2 } \geq O ( n )$ .
196
+ 2. For the class of neural nets with $| w |$ weights from a finite family (e.g., single-precision weights) to represent all functions realizable by spectral clustering, it is necessary to have $| w | \geq O ( n )$ .
197
+
198
+ #
199
+
200
+ 1. The VC dimension of the class of neural nets with $| v |$ sigmoid units and $| w |$ weights is at most $O ( | w | ^ { 2 } | v | ^ { 2 } )$ (Shalev-Shwartz & Ben-David, 2014, p. 275). Hence, if $| w | ^ { 2 } \bar { | v | } ^ { 2 } <$ $O ( n )$ , such net cannot shatter any collection of points of size $O ( n )$ . From Theorem 4.1, $\mathcal { F } _ { n } ^ { \mathrm { s p e c t r a l ~ c l u s t e r i n g } }$ shatters at least $O ( n )$ points. Therefore, in order for a class of networks to be able to express any function that can be computed using spectral clustering, it is a necessary (but not sufficient) condition to satisfy $| w | ^ { 2 } | v | ^ { 2 } \geq O ( n )$ .
201
+
202
+ 2. The VC dimension of the class of neural nets with $| w |$ weights from a finite family is $O ( w )$ (Shalev-Shwartz & Ben-David, 2014, p. 276). The arguments above imply that $| w | \geq$ $O ( n )$ .
203
+
204
+ Corollary 4.2 implies that in the general case (i.e., without assuming any structure on the $n$ data points), to perform spectral clustering, the size of the net has to grow with $n$ . However, when the data has some geometric structure, the net size can be much smaller. Indeed, in a related result, the ability of neural networks to learn eigenvectors of Laplacian matrices was demonstrated both empirically and theoretically by Mishne et al. (2017). They proved that there exist networks which approximate the eigenfunctions of manifold Laplacians arbitrarily well (where the size of the network depends on the desired error and the parameters of the manifold, but not on $n$ ).
205
+
206
+ # 5 EXPERIMENTAL RESULTS
207
+
208
+ # 5.1 EVALUATION METRICS
209
+
210
+ To numerically evaluate the accuracy of the clustering, we use two commonly used measures, the unsupervised clustering accuracy (ACC), and the normalized mutual information (NMI). For completeness, we define ACC and NMI below, and refer the reader to (Cai et al., 2011) for more details. For data point $x _ { i }$ , let $l _ { i }$ and $c _ { i }$ denote its true label and predicted cluster, respectively. Let $l = ( l _ { 1 } , \ldots l _ { n } )$ and similarly $c = ( c _ { 1 } , \ldots c _ { n } )$ .
211
+
212
+ ACC is defined as
213
+
214
+ $$
215
+ \operatorname { A C C } ( l , c ) = { \frac { 1 } { n } } \operatorname* { m a x } _ { \pi \in \Pi } \sum _ { i = 1 } ^ { n } \mathbb { 1 } \left\{ l _ { i } = \pi \left( c _ { i } \right) \right\} ,
216
+ $$
217
+
218
+ where $\Pi$ is the collection of all permutations of $\{ 1 , \ldots k \}$ . The optimal permutation $\pi$ can be computed using the Kuhn-Munkres algorithm (Munkres, 1957).
219
+
220
+ Table 1: Performance of various clustering methods on MNIST and Reuters datasets. $( ^ { * } )$ reported in (Xie et al., 2016). $( ^ { * * } )$ reported in (Yang et al., 2017), $( ^ { \dag } )$ reported in (Zheng et al., 2016), $( ^ { \ddagger } )$ ) reported in (Dizaji et al., 2017), $( ^ { \dag \dag } )$ reported in (Yang et al., 2016), $( ^ { \ddagger \ddagger } )$ reported in (Hu et al., 2017). The IMSAT result on Reuters was obtained on a subset of 10,000 from the full dataset.
221
+
222
+ <table><tr><td rowspan=1 colspan=1>Algorithm</td><td rowspan=1 colspan=1>ACC (MNIST)</td><td rowspan=1 colspan=1>NMI (MNIST)</td><td rowspan=1 colspan=1>ACC(Reuters)</td><td rowspan=1 colspan=1>NMI (Reuters)</td></tr><tr><td rowspan=1 colspan=1>k-means</td><td rowspan=1 colspan=1>.534</td><td rowspan=1 colspan=1>.499</td><td rowspan=1 colspan=1>.533</td><td rowspan=1 colspan=1>.401</td></tr><tr><td rowspan=1 colspan=1>Spectral clustering</td><td rowspan=1 colspan=1>.717</td><td rowspan=1 colspan=1>.754</td><td rowspan=1 colspan=1>NA</td><td rowspan=1 colspan=1>NA</td></tr><tr><td rowspan=1 colspan=1>DEC</td><td rowspan=1 colspan=1>.843*</td><td rowspan=1 colspan=1>.8**</td><td rowspan=1 colspan=1>.756*</td><td rowspan=1 colspan=1>not reported</td></tr><tr><td rowspan=1 colspan=1>DCN</td><td rowspan=1 colspan=1>.83**</td><td rowspan=1 colspan=1>.81**</td><td rowspan=1 colspan=1>not reported</td><td rowspan=1 colspan=1>not reported</td></tr><tr><td rowspan=1 colspan=1>VaDE</td><td rowspan=1 colspan=1>.9446†</td><td rowspan=1 colspan=1>not reported</td><td rowspan=1 colspan=1>.7938†</td><td rowspan=1 colspan=1>not reported</td></tr><tr><td rowspan=1 colspan=1>JULE</td><td rowspan=1 colspan=1>not reported</td><td rowspan=1 colspan=1>.913</td><td rowspan=1 colspan=1>not reported</td><td rowspan=1 colspan=1>not reported</td></tr><tr><td rowspan=1 colspan=1>DEPICT</td><td rowspan=1 colspan=1>.965tt</td><td rowspan=1 colspan=1>.9171t</td><td rowspan=1 colspan=1>not reported</td><td rowspan=1 colspan=1>not reported</td></tr><tr><td rowspan=1 colspan=1>IMSAT</td><td rowspan=1 colspan=1>.984±.004‡#</td><td rowspan=1 colspan=1>not reported</td><td rowspan=1 colspan=1>.719</td><td rowspan=1 colspan=1>not reported</td></tr><tr><td rowspan=1 colspan=1>SpectralNet (input space,Euclidean distance)</td><td rowspan=1 colspan=1>.622±.008</td><td rowspan=1 colspan=1>.687±.004</td><td rowspan=1 colspan=1>.645±.01</td><td rowspan=1 colspan=1>.444±.01</td></tr><tr><td rowspan=1 colspan=1>SpectralNet (input space,Siamese distance)</td><td rowspan=1 colspan=1>.826±.03</td><td rowspan=1 colspan=1>.884±.02</td><td rowspan=1 colspan=1>.661± 017</td><td rowspan=1 colspan=1>.381 ± .057</td></tr><tr><td rowspan=1 colspan=1>SpectralNet (code space,Euclidean distance)</td><td rowspan=1 colspan=1>.800±.003</td><td rowspan=1 colspan=1>.814±.008</td><td rowspan=1 colspan=1>.605±.053</td><td rowspan=1 colspan=1>.401±.061</td></tr><tr><td rowspan=1 colspan=1>SpectralNet (code space, Siamese distance)</td><td rowspan=1 colspan=1>.971±.001</td><td rowspan=1 colspan=1>.924±.001</td><td rowspan=1 colspan=1>.803±.006</td><td rowspan=1 colspan=1>.532±.010</td></tr></table>
223
+
224
+ NMI is defined as
225
+
226
+ $$
227
+ \operatorname { N M I } ( l , c ) = \frac { I ( l ; c ) } { \operatorname* { m a x } \{ H ( l ) , H ( c ) \} } ,
228
+ $$
229
+
230
+ where $I ( l ; c )$ denotes the mutual information between $l$ and $c$ , and $H ( \cdot )$ denotes their entropy. Both ACC and NMI are in $[ 0 , 1 ]$ , with higher values indicating better correspondence the clusters and the true labels.
231
+
232
+ # 5.2 CLUSTERING
233
+
234
+ We compare SpectralNet to several deep learning-based clustering approaches on two real world datasets. In all runs we assume the number of clusters is given $_ { \mathrm { k = 1 0 } }$ in MNIST and ${ \bf k } { = } 4$ in Reuters). As a reference, we also report the performance of $k$ -means and (standard) spectral clustering. Specifically, we compare SpectralNet to DEC (Xie et al., 2016), DCN (Yang et al., 2017), VaDE (Zheng et al., 2016), JULE (Yang et al., 2016), DEPICT (Dizaji et al., 2017), and IMSAT (Hu et al., 2017). The results for these six methods are reported in the corresponding papers. Technical details regarding the application of $k$ -means and spectral clustering appear in Appendix D.
235
+
236
+ We considered two variants of Gaussian affinity functions: using Euclidean distances (6), and Siamese distances; the latter case follows Algorithm 1. In all experiments we used the loss (3). In addition, we report results of SpectralNet (and the Siamese net) in both input space and code space. The code spaces are obtained using the publicly available autoencoders which are used to pre-train the weights of $\mathrm { V a D E } ^ { 2 }$ , and are 10-dimensional. We refer the reader to Appendix D for technical details about the architectures and training procedures.
237
+
238
+ # 5.2.1 MNIST
239
+
240
+ MNIST is a collection of $7 0 , 0 0 0 2 8 \times 2 8$ gray-scale images of handwritten digits, divided to training (60,000) and test (10,000) sets. To construct positive pairs for the Siamese net, we paired each instance with its two nearest neighbors. An equal number of negative pairs were chosen randomly from non-neighboring points.
241
+
242
+ Table 1 shows the performance of the various clustering algorithms on the MNIST dataset, using all 70,000 images for training. As can be seen, the performance of SpectralNet is significantly improved when using Siamese distance instead of Euclidean distance, and when the data is represented in code space rather than in pixel space. With these two components, SpectralNet outperforms DEC, DCN, VaDE, DEPICT and JULE, and is competitive with IMSAT.
243
+
244
+ To evaluate how well the outputs of SpectralNet approximate the true eigenvectors of the graph Laplacian, we compute the Grassmann distance between the subspace of SpectralNet outputs and that of the true eigenvectors. The squared Grassmann distance measures the sum of squared sines of the angles between two $k$ -dimensional subspaces; the distance is in $[ 0 , k ]$ . Figure 2 shows the Grassmann distance on the MNIST dataset as a function of the training time (expressed as number of parameter updates). It can be seen that the distance decreases rapidly at the beginning of training and stabilizes around 0.026 as time progresses.
245
+
246
+ ![](images/f93e3b7ecef14241f849e4c0db9373612fcec33d0574b020c421e8c5db2e56f1.jpg)
247
+ Figure 2: Grassmann distance as a function of iteration update for the MNIST dataset.
248
+
249
+ To check the generalization ability of SpectralNet to new test points, we repeated the experiment, this time training SpectralNet only on the training set, and predicting the labels of the test examples by passing them through the net and associating each test example with the nearest centroid from the $k$ -means that were performed on the embedding of the training examples. The accuracy on test examples was .970, implying that SpectralNet generalizes well to unseen test data in this case. We similarly also evaluated the generalization performance of $\mathbf { k }$ -means. The accuracy of $\mathbf { k }$ -means on the test set is .546 when using the input space and .776 when using the code space, both significantly inferior to SpectralNet.
250
+
251
+ # 5.2.2 REUTERS
252
+
253
+ The Reuters dataset is a collection of English news, labeled by category. Like DEC and VaDE, we used the following categories: corporate/industrial, government/social, markets, and economics as labels and discarded all documents with multiple labels. Each article is represented by a tfidf vector, using the $2 0 0 0 \ \mathrm { m o s t }$ frequent words. The dataset contains $n = 6 8 5 , 0 7 1$ documents. Performing vanilla spectral clustering on a dataset of this size in a standard way is prohibitive. The AE used to map the data to code space was trained based on a random subset of 10,000 samples from the full dataset. To construct positive pairs for the Siamese net, we randomly sampled 300,000 examples from the entire dataset, and paired each one with a random neighbor from its 3000 nearest neighbors. An equal number of negative pairs was obtained by randomly pairing each point with one of the remaining points.
254
+
255
+ Table 1 shows the performance of the various algorithms on the Reuters dataset. Overall, we see similar behavior to what we observed on MNIST: SpectralNet outperforms all other methods, and performs best in code space, and using Siamese affinity. Our SpectralNet implementation took less than 20 minutes to learn the spectral map on this dataset, using a GeForce GTX 1080 GPU. For comparison, computing the top four eigenvectors of the Laplacian matrix of the complete data, needed for spectral clustering, took over 100 minutes using ARPACK. Note that both SpectralNet and spectral clustering require pre-computed nearest neighbor graph. Moreover, spectral clustering using the ARPACK eigenvectors failed to produce reasonable clustering. This illustrates the robustness of our method in contrast to the well known instability of spectral clustering to outliers.
256
+
257
+ To evaluate the generalization ability of SpectralNet, we divided the data randomly to a $90 \%$ - $10 \%$ split, re-trained the Siamese net and SpectralNet on the larger subset, and predicted the labels of the smaller subset. The test accuracy was 0.798, implying that as on MNIST, SpectralNet generalizes well to new examples.
258
+
259
+ # 6 CONCLUSIONS
260
+
261
+ We have introduced SpectralNet, a deep learning approach for approximate spectral clustering. The stochastic training of SpectralNet allows us to scale to larger datasets than what vanilla spectral clustering can handle, and the parametric map obtained from the net enables straightforward out of sample extension. In addition, we propose to use unsupervised Siamese networks to compute distances, and empirically show that this results in better performance, comparing to standard Euclidean distances. Further improvement are achieved by applying our network to code representations produced with a standard stacked autoencoder. We present a novel analysis of the VC dimension of spectral clustering, and derive a lower bound on the size of neural nets that compute it. In addition, we report state of the art results on two benchmark datasets, and show that SpectralNet outperforms existing methods when the clusters cannot be contained in non overlapping convex shapes. We believe the integration of spectral clustering with deep learning provides a useful tool for unsupervised deep learning.
262
+
263
+ # ACKNOWLEDGEMENTS
264
+
265
+ We thank Raphy Coifman and Sahand Negahban for helpful discussions. R.B is supported in part by the Minerva foundation with funding from the Federal German Ministry for Education and Research. Y.K and B.N are supported by NIH grant 1R01HG008383-01A1.
266
+
267
+ # REFERENCES
268
+
269
+ Carlos Alzate and Johan AK Suykens. Multiway spectral clustering with out-of-sample extensions through weighted kernel pca. IEEE transactions on pattern analysis and machine intelligence, 32 (2):335–347, 2010.
270
+
271
+ Mikhail Belkin, Partha Niyogi, and Vikas Sindhwani. Manifold regularization: A geometric framework for learning from labeled and unlabeled examples. Journal of machine learning research, 7 (Nov):2399–2434, 2006.
272
+
273
+ Yoshua Bengio, Jean-franc¸cois Paiement, Pascal Vincent, Olivier Delalleau, Nicolas L Roux, and Marie Ouimet. Out-of-sample extensions for lle, isomap, mds, eigenmaps, and spectral clustering. In Advances in neural information processing systems, pp. 177–184, 2004.
274
+
275
+ Deng Cai, Xiaofei He, and Jiawei Han. Locally consistent concept factorization for document clustering. IEEE Transactions on Knowledge and Data Engineering, 23(6):902–913, 2011.
276
+
277
+ Gang Chen. Deep learning with nonparametric clustering. arXiv preprint arXiv:1501.03084, 2015.
278
+
279
+ Ronald R Coifman and Stephane Lafon. Diffusion maps. ´ Applied and computational harmonic analysis, 21(1):5–30, 2006a.
280
+
281
+ Ronald R Coifman and Stephane Lafon. Geometric harmonics: a novel tool for multiscale out-of- ´ sample extension of empirical functions. Applied and Computational Harmonic Analysis, 21(1): 31–52, 2006b.
282
+
283
+ Nat Dilokthanakul, Pedro AM Mediano, Marta Garnelo, Matthew CH Lee, Hugh Salimbeni, Kai Arulkumaran, and Murray Shanahan. Deep unsupervised clustering with gaussian mixture variational autoencoders. arXiv preprint arXiv:1611.02648, 2016.
284
+
285
+ Kamran Ghasedi Dizaji, Amirhossein Herandi, and Heng Huang. Deep clustering via joint convolutional autoencoder embedding and relative entropy minimization. arXiv preprint arXiv:1704.06327, 2017.
286
+
287
+ Charless Fowlkes, Serge Belongie, Fan Chung, and Jitendra Malik. Spectral grouping using the nystrom method. IEEE transactions on pattern analysis and machine intelligence, 26(2):214– 225, 2004.
288
+
289
+ Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In Computer vision and pattern recognition, 2006 IEEE computer society conference on, volume 2, pp. 1735–1742. IEEE, 2006.
290
+
291
+ Weihua Hu, Takeru Miyato, Seiya Tokui, Eiichi Matsumoto, and Masashi Sugiyama. Learning discrete representations via information maximizing self augmented training. arXiv preprint arXiv:1702.08720, 2017.
292
+
293
+ Marc T Law, Raquel Urtasun, and Richard S Zemel. Deep spectral clustering learning. In International Conference on Machine Learning, pp. 1985–1994, 2017.
294
+
295
+ Gal Mishne, Uri Shaham, Alexander Cloninger, and Israel Cohen. Diffusion nets. Applied and Computational Harmonic Analysis, 2017.
296
+
297
+ James Munkres. Algorithms for the assignment and transportation problems. Journal of the society for industrial and applied mathematics, 5(1):32–38, 1957.
298
+
299
+ Boaz Nadler, Stephane Lafon, Ioannis Kevrekidis, and Ronald R Coifman. Diffusion maps, spectral clustering and eigenfunctions of fokker-planck operators. In Advances in neural information processing systems, pp. 955–962, 2006.
300
+
301
+ Andrew Y Ng, Michael I Jordan, and Yair Weiss. On spectral clustering: Analysis and an algorithm. In Advances in neural information processing systems, pp. 849–856, 2002.
302
+
303
+ Uri Shaham and Roy R Lederman. Learning by coincidence: Siamese networks and common variable learning. Pattern Recognition, 74:52–63, 2018.
304
+
305
+ Shai Shalev-Shwartz and Shai Ben-David. Understanding machine learning: From theory to algorithms. Cambridge university press, 2014.
306
+
307
+ Ohad Shamir. A stochastic pca and svd algorithm with an exponential convergence rate. In Proceedings of the 32nd International Conference on Machine Learning (ICML-15), pp. 144–152, 2015.
308
+
309
+ Jianbo Shi and Jitendra Malik. Normalized cuts and image segmentation. IEEE Transactions on pattern analysis and machine intelligence, 22(8):888–905, 2000.
310
+
311
+ Fei Tian, Bin Gao, Qing Cui, Enhong Chen, and Tie-Yan Liu. Learning deep representations for graph clustering. In AAAI, pp. 1293–1299, 2014.
312
+
313
+ Ulrike Von Luxburg. A tutorial on spectral clustering. Statistics and computing, 17(4):395–416, 2007.
314
+
315
+ Junyuan Xie, Ross Girshick, and Ali Farhadi. Unsupervised deep embedding for clustering analysis. In International Conference on Machine Learning (ICML), 2016.
316
+
317
+ Bo Yang, Xiao Fu, Nicholas D Sidiropoulos, and Mingyi Hong. Towards k-means-friendly spaces: Simultaneous deep learning and clustering. International Conference on Machine Learning (ICML), 2017.
318
+
319
+ Jianwei Yang, Devi Parikh, and Dhruv Batra. Joint unsupervised learning of deep representations and image clusters. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 5147–5156, 2016.
320
+
321
+ Li Yi, Hao Su, Xingwen Guo, and Leonidas Guibas. Syncspeccnn: Synchronized spectral cnn for 3d shape segmentation. arXiv preprint arXiv:1612.00606, 2016.
322
+
323
+ Yin Zheng, Huachun Tan, Bangsheng Tang, Hanning Zhou, et al. Variational deep embedding: A generative approach to clustering. arXiv preprint arXiv:1611.05148, 2016.
324
+
325
+ ![](images/739b5ebb06c9d939b24aba474a0d11edbae9d0e47657cacb7e3bb6eef34ff190.jpg)
326
+ Figure 3: SpectralNet performance on the nested $\mathbf { \tilde { C } } \mathbf { \Psi }$ example. Top row: clustering using SpectralNet (left), spectral clustering (center), and $k$ -means (right). Bottom row, left panel: SpectralNet outputs (plotted in blue and green) vs. the true eigenvectors. Bottom row, right panel: loss and Grassmann distance as a function of iteration number; the values on the horizontal axis $\times 1 0 0$ are the numbers of the parameter updates.
327
+
328
+ # A ILLUSTRATIVE DATASETS
329
+
330
+ To compare SpectralNet to spectral clustering, we consider a simple dataset of 1500 points in two dimensions, containing two nested $\mathbf { \bar { C } } '$ -shaped clusters. We applied spectral clustering to the dataset by computing the eigenvectors of the unnormalized graph Laplacian $L = D - W$ corresponding to the two smallest eigenvalues, and then applying $k$ -means (with $k { = } 2$ ) to these eigenvector embeddings. The affinity matrix $W$ was computed using $\begin{array} { r } { W _ { i , j } = \exp \left( { - \frac { \| x _ { i } - x _ { j } \| ^ { 2 } } { \sigma ^ { 2 } } } \right) } \end{array}$ , where the scale $\sigma$ was set to be the median distance between a point to its 3rd neighbor – a standard practice in diffusion applications.
331
+
332
+ Figure 3 shows the clustering of the data obtained by SpectralNet, standard spectral clustering, and $k$ -means. It can be seen that both SpectralNet and spectral clustering identify the correct cluster structure, while $k$ -means fails to do so. Moreover, despite the stochastic training, the net outputs closely approximate the two true eigenvectors of $W$ with smallest eigenvalues. Indeed the Grassmann distance between the net outputs and the true eigenvectors approaches zero as the loss decreases.
333
+
334
+ In the next experiment, we trained, DCN, VaDE, DEPICT (using agglomerative clustering initialization) and IMSAT (using adversarial perturbations for data augmentation) on the 2D datasets of Figure 1. The experiments were performed using the code published by the authors of each paper. For each method, we tested various network architectures and hyper-parameter settings. Unfortunately, we were unable to find a setting that will yield an appropriate clustering on any of the datasets for DCN, VaDE and DEPICT. IMSAT worked on two out of the five datasets, however failed to yield an appropriate clustering in fairly simple cases. Plots with typical results of each of the methods on each of the five 2D datasets is shown in Figure 4.
335
+
336
+ To further investigate why these methods fail, we performed a sequence of experiments with the two nested ’C’s data, while changing the distance between the two clusters. The results are shown in Figure 5. We can see that all three methods fail to cluster the points correctly once the clusters cannot be linearly separated.
337
+
338
+ Interestingly, although the target distribution of DEPICT was initialized with agglomerative clustering, which successfully clusters the nested ’C’s, its target distribution becomes corrupted throughout the training, although its loss is considerably reduced, see Figure 6.
339
+
340
+ ![](images/88632c7ab15857817e7c33daf8c8baf048b3b8ede672c77163311d0296056c46.jpg)
341
+ Figure 4: from top to bottom: Results of DCN, VaDE, DEPICT and IMSAT on our illustrative datasets.
342
+
343
+ ![](images/cf18cc1727d052768abac2b32cb2d0fb9630b3e3aec7c351045b74fbaa5e1dec.jpg)
344
+ Figure 5: From top: Typical results of DCN, VaDE, DEPICT and IMSAT on the nested ’C’s, with several different distances between the two clusters.
345
+
346
+ ![](images/545636146f1c96b47d8afd990dc4645e46b0e447502cf4a5485c76f72ae9b66e.jpg)
347
+ Figure 6: The nested ’C’s, colored by DEPICT target distribution. Left: at initialization (with agglomerative clustering initialization). the DEPICT loss at this stage is 9.01. Right: after DEPICT training. The loss is 0.22. Although the loss decreases with training, the target distribution becomes corrupted.
348
+
349
+ # B CORRECTNESS OF THE $Q R$ DECOMPOSITION
350
+
351
+ We next verify that the Cholesky decomposition can indeed be used to compute the QR decomposition of a positive definite matrix. First, observe that since $L$ is lower triangular, then so is $L ^ { - 1 }$ , and $( L ^ { - 1 } ) ^ { T }$ is upper triangular. Hence for $i = 1 , \ldots m$ , the column space of the first $i$ columns of $A$ is the same as the column space of the first $i$ columns of $Q = A ( \dot { L } ^ { - 1 } ) ^ { T }$ . To show that the columns of $Q$ corresponds to Gram-Schmidt orthogonalization of the columns of $A$ , it therefore remains to show that $\hat { Q } ^ { T } Q = I$ . Indeed:
352
+
353
+ $$
354
+ Q ^ { T } Q = L ^ { - 1 } A ^ { T } A ( L ^ { - 1 } ) ^ { T } = L ^ { - 1 } L L ^ { T } ( L ^ { - 1 } ) ^ { T } = ( L ^ { - 1 } L ) ^ { T } = I .
355
+ $$
356
+
357
+ # C SECTION 4 PROOFS
358
+
359
+ # C.1 PRELIMINARIES
360
+
361
+ To prove Theorem 4.1, we begin with the following definition and lemmas.
362
+
363
+ Definition C.1 $( \alpha , \beta )$ -separated graph). Let $\alpha > \beta \ge 0$ . An $( \alpha , \beta )$ -separated graph is $G =$ $( V , W )$ , where $V$ has an even number of vertices and has a balanced partition $V = S \cup T$ , $| S | = | T |$ , and $W$ is an affinity matrix so that:
364
+
365
+ • For any $v _ { i } , v _ { j } \in S$ (resp. $T _ { \cdot }$ ), there is a path $v _ { i } = v _ { k _ { 1 } } , v _ { k _ { 2 } } , \ldots , v _ { k _ { l } } = v _ { j } \in S$ , so that for every two consecutive points $v _ { k _ { l } } , v _ { k _ { l + 1 } }$ along the path, $W _ { k _ { l } , k _ { l + 1 } } \geq \alpha$ .
366
+
367
+ • For any $v _ { i } \in S , \ v _ { j } \in T , W _ { i , j } \leq \beta .$
368
+
369
+ Lemma C.2. For any integer $m > 0$ there exists a set ${ \tilde { X } } = \{ x _ { 1 } , \ldots , x _ { m } \} \subseteq \mathbb { R } ^ { d } \left( d \geq 3 \right)$ , so that for any binary partition ${ \tilde { X } } = { \tilde { S } } \cup { \tilde { T } }$ , we can construct a set $X$ of $n = 1 0 m$ points, ${ \tilde { X } } \subset X$ , and $a$ balanced binary partition $X = S \cup T$ , $| S | = | T |$ of it, such that
370
+
371
+ • $\tilde { S } \subset S , \tilde { T } \subset T$
372
+ • For any $x _ { i } , x _ { j } \in S \left( r e s p . \ T \right)$ , there is a path $x _ { i } , x _ { k _ { 1 } } , x _ { k _ { 2 } } , \ldots , x _ { k _ { l } } , x _ { j } \in S$ , so that for every two consecutive points $x _ { k _ { l } } , x _ { k _ { l + 1 } }$ along the path, $\| x _ { k _ { l } } - x _ { k _ { l + 1 } } \| \le b < 1$ (property $\pmb { a }$ ).
373
+ • For any $x _ { i } \in S , \ x _ { j } \in T , \ \| x _ { i } - x _ { j } | \geq 1 ( p r o p e r t y \ b ) .$
374
+
375
+ Proof. We will prove this for the case $d = 3$ ; the proof holds for any $d \geq 3$ .
376
+
377
+ Let $m > 0$ be integer. We choose the set $\tilde { X }$ to lie in a 2-dimensional unit grid inside a square of minimal diameter, which is placed in the $Z = 0$ plane. Each point $x _ { i }$ is at a distance 1 from its neighbors.
378
+
379
+ Next, given a partition of $x _ { 1 } , \ldots , x _ { m }$ to two subsets, $\tilde { S }$ and $\tilde { T }$ , we will construct a set $X \supset { \tilde { X } }$ with $n = 1 0 m$ points and a partition $S \cup T$ that satisfy the conditions of the lemma (an illustration can be seen in Figure 7). First, we add points to obtain a balanced partition. We do so by adding $m$ new points $x _ { m + 1 } , \ldots , x _ { 2 m }$ , assigning each of them arbitrarily to either $\tilde { S }$ or $\tilde { T }$ until $| \tilde { S } | = | \tilde { T } | = m$ . We place all these points also on grid points in the $Z = 0$ plane so that all $2 m$ points lie inside a square of minimal diameter. We further add all the points in $\bar { \tilde { S } }$ to $S$ and those in $\tilde { T }$ to $T$ .
380
+
381
+ ![](images/c8c20b018fdd0d7d18405f40366bb3bc5ae6e66cca2404ba836e6a8bbb3fd305.jpg)
382
+ Figure 7: Illustration of the construction of Lemma C.2. We select the set $\tilde { X }$ to lie in a grid in the $Z = 0$ plane. Given an arbitrary dichotomy ${ \tilde { X } } = { \tilde { S } } \cup { \tilde { T } }$ (points are marked with filled circles, colored respectively in red and blue), we first add points to make the sets balanced (not shown). Next, we make a copy for $S$ at $Z = 1$ and for $T$ at $Z = - 1$ (filled squares). We then add midpoints between each point and its copy (empty circles), and finally add more points along the minimal length spanning tree (empty squares). Together, all the red points form the set $S$ ; the blue points form the set $T$ , and $X = S \cup T$ .
383
+
384
+ In the next step, we prepare a copy of the $\tilde { S }$ -points at $Z = 1$ (with the same $X , Y$ coordinates) and a copy of the $\tilde { T }$ -points at $Z = - 1$ . We denote these copies by $x _ { 1 } ^ { \prime } , . . . , x _ { 2 m } ^ { \prime }$ and refer to the lifted points at $Z = 1$ by $S ^ { \prime }$ and at $Z = - 1$ by $T ^ { \prime }$ . Next, we will add $6 m$ more points to make the full set of $n = 1 0 m$ points satisfy properties a and $\mathbf { b }$ . First, we will add the midpoint between every point and its copy, i.e., $x _ { i } ^ { \prime \prime } = ( x _ { i } + x _ { i } ^ { \prime } ) / 2$ . We assign each such midpoint to $S$ (resp. $T$ ) if it is placed between $x _ { i } \in S$ and $x _ { i } ^ { \prime } \in S ^ { \prime }$ (resp. $T$ and $T ^ { \prime }$ ). Then we connect the points in $S ^ { \prime }$ (resp. $T ^ { \prime }$ ) by a minimal length spanning tree and add $4 m$ more points along the edges of these two spanning trees so that the added points are equally spaced along every edge. We assign the new points on the spanning tree of $S ^ { \prime }$ to $S$ and of $T ^ { \prime }$ to $T$ .
385
+
386
+ We argue that the obtained point set $X$ of size $1 0 m$ satisfies the conditions of the lemma. Clearly, $\tilde { S } \subset \bar { S }$ and $\tilde { T } \subset T$ . To show that property a is satisfied, note that the length of each spanning tree cannot exceed $2 m$ , since the full $2 m$ grid points $\tilde { X }$ can be connected with a tree of length $2 m - 1$ . It is evident therefore that every two points $x _ { i } , x _ { j } \in S$ (resp. $T$ ) are connected by a path in which the distance between each two consecutive points is strictly less than 1 (property a). Property $\mathbf { b }$ too is satisfied because the grid points in $\tilde { X }$ are at least distance 1 apart; each midpoint $x _ { i } ^ { \prime \prime }$ is distance $1 / 2$ from $x _ { i }$ and $\boldsymbol { x } _ { i } ^ { \prime }$ (and they all belong to the same set, either $S$ or $T$ ), but its distance to the rest of the points in $\tilde { X }$ exceeds 1, and the rest of the points in $S$ (resp. $T$ ) are on the $Z = 1$ (resp. $Z = 1$ ) plane, and so they are at least distance 1 away from members of the opposite set which all lie in the $Z \le 0$ (resp. $Z \geq 0$ ) half space. □
387
+
388
+ Lemma C.3. . Let $f ( \cdot )$ be the spectral clustering loss
389
+
390
+ $$
391
+ f ( y ) = \sum _ { i , j } W _ { i , j } ( y _ { i } - y _ { j } ) ^ { 2 } .
392
+ $$
393
+
394
+ Let $G = ( X , W )$ be a $( \alpha , \beta )$ -separated graph, such that $\vert X \vert = n \ge 4$ . Let $y ^ { * }$ be a minimizer of $f ( y ) w . r . t W$ , subject to $1 ^ { T } y = 0 , \ \| y \| = 1$ . Let
395
+
396
+ and similarly
397
+
398
+ $$
399
+ \begin{array} { r l } & { \Delta _ { S } = \operatorname* { m a x } \{ y _ { i } ^ { * } - y _ { j } ^ { * } : x _ { i } , x _ { j } \in S \} , } \\ & { } \\ & { \Delta _ { T } = \operatorname* { m a x } \{ y _ { i } ^ { * } - y _ { j } ^ { * } : x _ { i } , x _ { j } \in T \} . } \end{array}
400
+ $$
401
+
402
+ Let $\Delta = \operatorname* { m a x } \left\{ \Delta _ { S } , \Delta _ { T } \right\}$ . Then
403
+
404
+ $$
405
+ \frac { \alpha } { \beta } \Delta ^ { 2 } \leq \frac { n ^ { 2 } } { 2 } .
406
+ $$
407
+
408
+ Proof. Without loss of generality, assume that $x _ { 1 } , \ldots , x _ { \frac { n } { 2 } } \in S$ , $x _ { \frac { n } { 2 } + 1 } , \ldots , x _ { n } \in T$ , and that $y _ { 1 } ^ { * } \leq$ $y _ { 2 } ^ { * } \leq . . . \leq y _ { \frac { n } { 2 } } ^ { * }$ and $y _ { \frac { n } { 2 } + 1 } ^ { * } \leq y _ { \frac { n } { 2 } + 2 } ^ { * } \leq \cdot \cdot \cdot \leq y _ { n } ^ { * }$ . Also wlog, $\Delta = \Delta ^ { \acute { \prime } } s$ . We begin by lower-bounding $f ( y ^ { * } )$ .
409
+
410
+ $$
411
+ \begin{array} { l } { f ( y ^ { * } ) = \displaystyle \sum _ { i , j } W _ { i , j } ( y _ { i } ^ { * } - y _ { j } ^ { * } ) ^ { 2 } } \\ { \geq \displaystyle \sum _ { x _ { i } , x _ { j } \in S } W _ { i , j } ( y _ { i } ^ { * } - y _ { j } ^ { * } ) ^ { 2 } + \displaystyle \sum _ { x _ { i } , x _ { j } \in T } W _ { i , j } ( y _ { i } ^ { * } - y _ { j } ^ { * } ) ^ { 2 } . } \end{array}
412
+ $$
413
+
414
+ Since $G$ is $( \alpha , \beta )$ -separated, there exists a path from $y _ { 1 }$ to $y _ { \frac { n } { 2 } }$ (and likewise from $y _ { \frac { n } { 2 } + 1 } ^ { { n } }$ to $y _ { n }$ where the affinity of every pair of consecutive points exceeds $\alpha$ . Denote this path by $\Gamma _ { S }$ (resp. $\Gamma _ { T }$ ), therefore
415
+
416
+ $$
417
+ f ( \boldsymbol { y } ^ { * } ) \ge \alpha \left( \sum _ { x _ { k _ { i } } , x _ { k _ { i + 1 } } \in \Gamma _ { S } } ( \boldsymbol { y } _ { k _ { i + 1 } } ^ { * } - \boldsymbol { y } _ { k _ { i } } ^ { * } ) ^ { 2 } + \sum _ { x _ { k _ { i } } , x _ { k _ { i + 1 } } \in \Gamma _ { T } } ( \boldsymbol { y } _ { k _ { i + 1 } } ^ { * } - \boldsymbol { y } _ { k _ { i } } ^ { * } ) ^ { 2 } \right) .
418
+ $$
419
+
420
+ Note that these are telescopic sums of squares. Clearly, such sum of squares is minimized if all $n / 2$ points are ordered and equi-distant, i.e., if we divide a segment of length $\Delta$ into $n / 2 - 1$ segments of equal length. Consequently, discarding the second summand,
421
+
422
+ $$
423
+ f ( y ^ { * } ) \geq \alpha \left( \frac { n } { 2 } - 1 \right) \left( \frac { \Delta } { n / 2 - 1 } \right) ^ { 2 } = \frac { 2 \Delta ^ { 2 } \alpha } { n - 2 } \geq \frac { 2 \Delta ^ { 2 } \alpha } { n } ,
424
+ $$
425
+
426
+ Next, to produce an upper bound, we consider the vector $\bar { y } = \textstyle \frac { 1 } { \sqrt { n } } ( - 1 , \dotsc , - 1 , 1 , \dotsc 1 )$ , i.e., $\bar { y } _ { i } =$ $- { \frac { 1 } { \sqrt { n } } }$ for $i \leq \frac { n } { 2 }$ , and $\scriptstyle { \frac { 1 } { \sqrt { n } } }$ otherwise. For this vector,
427
+
428
+ $$
429
+ f ( \bar { y } ) \leq \beta \left( \frac { n } { 2 } \right) ^ { 2 } \left( \frac { 2 } { \sqrt { n } } \right) ^ { 2 } = n \beta .
430
+ $$
431
+
432
+ In summary, we obtain
433
+
434
+ Hence
435
+
436
+ $$
437
+ \begin{array} { c } { { \displaystyle \frac { 2 \Delta ^ { 2 } \alpha } { n } \leq f ( y ^ { * } ) \leq f ( \bar { y } ) \leq n \beta , } } \\ { { { } } } \\ { { \displaystyle \frac { \alpha } { \beta } \Delta ^ { 2 } \leq \frac { n ^ { 2 } } { 2 } . } } \end{array}
438
+ $$
439
+
440
+ Lemma C.4. Let $y \in \mathbb { R } ^ { n }$ be a vector such that $1 ^ { T } y ~ = ~ 0$ , and $\| y \| = 1$ . Let $X \ = \ S \cup T$ , $\begin{array} { r } { | S | = | T | = \frac { n } { 2 } } \end{array}$ .
441
+
442
+ and similarly
443
+
444
+ $$
445
+ \begin{array} { r l } & { \Delta _ { S } = \operatorname* { m a x } \{ y _ { i } - y _ { j } : x _ { i } , x _ { j } \in S \} , } \\ & { } \\ & { \Delta _ { T } = \operatorname* { m a x } \{ y _ { i } - y _ { j } : x _ { i } , x _ { j } \in T \} . } \end{array}
446
+ $$
447
+
448
+ Let $\Delta = \operatorname* { m a x } \left\{ \Delta _ { S } , \Delta _ { T } \right\}$ . If $\begin{array} { r } { \Delta < \frac { 1 } { \sqrt { 2 n } } } \end{array}$ , then
449
+
450
+ $$
451
+ \operatorname* { m a x } \{ y _ { i } : x _ { i } \in S \} < 0 < \operatorname* { m i n } \{ y _ { i } : x _ { i } \in T \} .
452
+ $$
453
+
454
+ Proof. Let
455
+
456
+ $$
457
+ m _ { S } = \frac { 2 } { n } \sum _ { x _ { i } \in S } y _ { i } , m _ { T } = \frac { 2 } { n } \sum _ { x _ { i } \in T } y _ { i } .
458
+ $$
459
+
460
+ Since $1 ^ { T } y = 0$ , we have $m _ { S } = - m _ { T }$ . Without loss of generality, assume that $m _ { S } < 0 < m _ { T }$ . For every $y _ { i }$ such that $x _ { i } \in S$ ,
461
+
462
+ $$
463
+ ( y _ { i } - m _ { S } ) ^ { 2 } \leq \Delta ^ { 2 } .
464
+ $$
465
+
466
+ Similarly, for every $y _ { i }$ such that $x _ { i } \in T$ ,
467
+
468
+ $$
469
+ ( y _ { i } + m _ { S } ) ^ { 2 } = ( y _ { i } - m _ { T } ) ^ { 2 } \leq \Delta ^ { 2 } .
470
+ $$
471
+
472
+ This gives
473
+
474
+ $$
475
+ \begin{array} { r c l } { { } } & { { } } & { { { n \displaystyle \Delta ^ { 2 } \geq \sum _ { x _ { i } \in S } ( y _ { i } - m _ { S } ) ^ { 2 } + \sum _ { x _ { i } \in T } ( y _ { i } + m _ { S } ) ^ { 2 } } } } \\ { { } } & { { } } & { { = \displaystyle \sum _ { x _ { i } \in S \cup T } y _ { i } ^ { 2 } - 2 m _ { S } \sum _ { x _ { i } \in S } y _ { i } + 2 m _ { S } \sum _ { x _ { i } \in T } y _ { i } + n m _ { S } ^ { 2 } } } \\ { { } } & { { } } & { { = 1 - 2 m _ { S } \cdot m _ { S } \frac { n } { 2 } + 2 m _ { S } \cdot - m _ { S } \frac { n } { 2 } + n m _ { S } ^ { 2 } } } \\ { { } } & { { } } & { { = 1 - n m _ { S } ^ { 2 } , } } \end{array}
476
+ $$
477
+
478
+ which gives
479
+
480
+ $$
481
+ m _ { S } ^ { 2 } \geq \frac { 1 - n \Delta ^ { 2 } } { n } .
482
+ $$
483
+
484
+ In order to obtain the desired result, i.e., that $\operatorname* { m a x } \{ y _ { i } : x _ { i } \in S \} < 0 < \operatorname* { m i n } \{ y _ { i } : x _ { i } \in T \}$ , it therefore remains to show that for a sufficiently small $\Delta$ , by (7), $m _ { S } + \Delta < 0$ (this will also yield $m _ { T } - \Delta > 0 ,$ ). Hence, we will require
485
+
486
+ $$
487
+ { \frac { 1 - n \Delta ^ { 2 } } { n } } \geq \Delta ^ { 2 } ,
488
+ $$
489
+
490
+ which holds for $\begin{array} { r } { \Delta < \frac { 1 } { \sqrt { 2 n } } } \end{array}$
491
+
492
+ # C.2 PROOF OF THEOREM 4.1
493
+
494
+ Proof. To determine the VC-dimension of $\mathcal { F } _ { n } ^ { \mathrm { s p } }$ ectral clustering we need to show that there exists a set of $m = n / 1 0$ points (assuming for simplicity that $n$ is divisible by 10) that is shattered by spectral clustering. By Lemma C.2, there exists a set of $m$ points $\tilde { X } \subseteq \mathbb { R } ^ { d } \left( d \geq 3 \right)$ so that for any dichotomy of $\tilde { X }$ there exists a set $X \supset { \tilde { X } }$ of $n = 1 0 m$ points, with a balanced partition $X = S \cup T$ that respects the dichotomy of $\tilde { X }$ , and whose points satisfy properties a and $\mathbf { b }$ of Lemma C.2 with $0 \leq b < 1$ .
495
+
496
+ Consider next the complete graph $G = ( V , W )$ whose vertices $v _ { i } \in V$ correspond to point $x _ { i }$ and the affinity matrix $W$ is set with the standard Gaussian affinity $\begin{array} { r } { W _ { i , j } = \exp \left( { - \frac { \| x _ { i } - x _ { j } \| ^ { 2 } } { 2 \sigma ^ { 2 } } } \right) } \end{array}$ where the value of $\sigma$ will be provided below. It can be readily verified that, due to properties a and $\mathbf { b }$ , $G$ is $( \alpha , \beta )$ -separated, where
497
+
498
+ $$
499
+ \alpha = \exp \left( - \frac { b ^ { 2 } } { 2 \sigma ^ { 2 } } \right) , \beta = \exp \left( - \frac { 1 } { 2 \sigma ^ { 2 } } \right) .
500
+ $$
501
+
502
+ Let $y ^ { * }$ be the second-smallest eigenvector of the graph Laplacian matrix for $G$ , i.e., the minimizer of
503
+
504
+ $$
505
+ f ( y ) = \sum _ { i , j } W _ { i , j } ( y _ { i } - y _ { j } ) ^ { 2 } , \quad \mathrm { s . t . } \quad 1 ^ { T } y = 0 , y ^ { T } y = 1 .
506
+ $$
507
+
508
+ By Lemma C.3, since $G$ is $( \alpha , \beta )$ -separated, $\Delta$ , i.e, the spread of the entries of $y ^ { * }$ for the partition $S \cup T$ , should satisfy
509
+
510
+ $$
511
+ \frac { \alpha } { \beta } \Delta ^ { 2 } \leq \frac { n ^ { 2 } } { 2 } .
512
+ $$
513
+
514
+ Notice that
515
+
516
+ $$
517
+ \frac { \alpha } { \beta } = \exp \left( \frac { 1 - b ^ { 2 } } { 2 \sigma ^ { 2 } } \right) ,
518
+ $$
519
+
520
+ allowing us to make $\Delta$ arbitrarily small by pushing the scale $\sigma$ towards $0 ^ { 3 }$ . In particular, we can set $\sigma$ so as to make $\Delta$ satisfy $\Delta < 1 / \sqrt { 2 n }$ . Therefore, by lemma (C.4), thresholding $y ^ { * }$ at 0 respects the partition of $X$ , and hence also the dichotomy of $\tilde { X }$ .
521
+
522
+ In summary, we have shown that any dichotomy of $\tilde { X }$ can be obtained from a second-smallest eigenvector of some graph Laplacian of $n$ points. Hence the VC dimension of $\mathcal { F }$ is at least $m =$ $n / 1 0$ . □
523
+
524
+ Table 2: Siamese net and SpectralNet architectures in the MNIST and Reuters experiments.
525
+
526
+ <table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Siamese net</td><td rowspan=1 colspan=1>SpectralNet</td></tr><tr><td rowspan=1 colspan=1>MNIST</td><td rowspan=1 colspan=1>ReLU,size=1024ReLU,size = 1024ReLU,size = 512ReLU,size = 10■</td><td rowspan=1 colspan=1>ReLU,size=1024ReLU,size = 1024ReLU,size = 512tanh, size = 10orthonorm</td></tr><tr><td rowspan=1 colspan=1>Reuters</td><td rowspan=1 colspan=1>ReLU, size= 512ReLU,size = 256ReLU,size = 128=</td><td rowspan=1 colspan=1>ReLU, size = 512ReLU, size = 256tanh, size =4orthonorm</td></tr></table>
527
+
528
+ Table 3: Additional technical details.
529
+
530
+ <table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>MNISTSiamese</td><td rowspan=1 colspan=1>MNISTSpectralNet</td><td rowspan=1 colspan=1>ReutersSiamese</td><td rowspan=1 colspan=1>ReutersSpectralNet</td></tr><tr><td rowspan=1 colspan=1>Batch size</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>1024</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>2048</td></tr><tr><td rowspan=1 colspan=1>Ortho.batch size</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>1024</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>2048</td></tr><tr><td rowspan=1 colspan=1>Initial LR</td><td rowspan=1 colspan=1>10-3</td><td rowspan=1 colspan=1>10-3</td><td rowspan=1 colspan=1>10-3</td><td rowspan=1 colspan=1>5·10-5</td></tr><tr><td rowspan=1 colspan=1>LR decay</td><td rowspan=1 colspan=1>.1</td><td rowspan=1 colspan=1>.1</td><td rowspan=1 colspan=1>.1</td><td rowspan=1 colspan=1>.1</td></tr><tr><td rowspan=1 colspan=1>Optimizer</td><td rowspan=1 colspan=1>RMSprop</td><td rowspan=1 colspan=1>RMSprop</td><td rowspan=1 colspan=1>RMSprop</td><td rowspan=1 colspan=1>RMSprop</td></tr><tr><td rowspan=1 colspan=1>Patience epochs</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>10</td></tr></table>
531
+
532
+ # D TECHNICAL DETAILS
533
+
534
+ For $k$ -means we used Python’s sklearn.cluster; we used the default configuration (in particular, 300 iterations of the algorithm, 10 restarts from different centroid seeds, final results are from the run with the best objective). To perform spectral clustering, we computed an affinity matrix $W$ using (6), with the number of neighbors set to 25 and the scale $\sigma$ set to the median distance from each point to its $2 5 \mathrm { t h }$ neighbor. Once $W$ was computed, we took the $k$ eigenvectors of $D - W$ corresponding to the smallest eigenvalues, and then applied $k$ -means to that embedding. The $k$ -means configuration was as above. In our experiments, the loss (3) was computed with a factor of $\frac { 1 } { m }$ rather than $\scriptstyle { \frac { 1 } { m ^ { 2 } } }$ , for numerical stability. The architectures of the Siamese net and SpectralNet are described in Table 2. Additional technical details are shown in Table 3.
535
+
536
+ The learning rate policy for all nets was determined by monitoring the loss on a validation set (a random subset of the training set); once the validation loss did not improve for a specified number of epochs (see patience epochs in Table 3), we divided the learning rate by 10 (see $L R$ decay in Table 3). Training stopped once the learning rate reached $1 0 ^ { - 8 }$ . Typical training took about 100 epochs for a Siamese net and less than 20,000 parameter updates for SpectralNet, on both MNIST and Reuters.
537
+
538
+ In the MNIST experiments, the training set for the Siamese was obtained by pairing each data point with its two nearest neighbors (in Euclidean distance). During the training of the spectral map, we construct the batch affinity matrix $W$ by connecting each point to its nearest two neighbors in the Siamese distance. The scale $\sigma$ in (6) was set to the median of the distances from each point to its nearest neighbor.
539
+
540
+ In the Reuters experiment, we obtained the training set for the Siamese net by pairing each point from that set to a random point from its 100 nearest neighbors, found by approximate nearest neighbor algorithm4. To evaluate the generalization performance, the Siamese nets were trained using training data only. The scale $\sigma$ in (6) was set globally to the median (across all points in the dataset) distance from any point to its 10th neighbor.
541
+
542
+ Finally, we used the validation loss to determine the hyper-parameters. To demonstrate that indeed the validation loss is correlated to clustering accuracy, we conducted a series of experiments with the MNIST dataset, where we varied the net architectures and learning rate policies; the Siamese net and Gaussian scale parameter $\sigma$ were held fixed throughout all experiments. In each experiment, we measured the loss on a validation set and the clustering accuracy (over the entire data). The correlation between loss and accuracy across these experiments was -0.771. This implies that hyperparameter setting for the spectral map learning can be chosen based on the validation loss, and a setup that yields a smaller validation loss should be preferred. We remark that we also use the convergence of the validation loss to determine our learning rate schedule and stopping criterion.
parse/train/HJ_aoCyRZ/HJ_aoCyRZ_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJ_aoCyRZ/HJ_aoCyRZ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/HJ_aoCyRZ/HJ_aoCyRZ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Hy7fDog0b/Hy7fDog0b.md ADDED
@@ -0,0 +1,404 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AMBIENTGAN: GENERATIVE MODELS FROM LOSSY MEASUREMENTS
2
+
3
+ # Eric Price
4
+
5
+ Ashish Bora Department of Computer Science University of Texas at Austin ashish.bora@utexas.edu
6
+
7
+ Department of Computer Science University of Texas at Austin ecprice@cs.utexas.edu
8
+
9
+ Alexandros G. Dimakis
10
+ Department of Electrical and Computer Engineering
11
+ University of Texas at Austin
12
+ dimakis@austin.utexas.edu
13
+
14
+ # ABSTRACT
15
+
16
+ Generative models provide a way to model structure in complex distributions and have been shown to be useful for many tasks of practical interest. However, current techniques for training generative models require access to fully-observed samples. In many settings, it is expensive or even impossible to obtain fullyobserved samples, but economical to obtain partial, noisy observations. We consider the task of learning an implicit generative model given only lossy measurements of samples from the distribution of interest. We show that the true underlying distribution can be provably recovered even in the presence of per-sample information loss for a class of measurement models. Based on this, we propose a new method of training Generative Adversarial Networks (GANs) which we call AmbientGAN. On three benchmark datasets, and for various measurement models, we demonstrate substantial qualitative and quantitative improvements. Generative models trained with our method can obtain $2 { - } 4 \mathbf { x }$ higher inception scores than the baselines.
17
+
18
+ # 1 INTRODUCTION
19
+
20
+ Generative models are powerful tools to concisely represent the structure in large datasets. An implicit generative model is a mechanism that only specifies a stochastic procedure to produce samples from a probability distribution. These models are attractive since they do not require an explicit parametrization of the probability distribution they are trying to model.
21
+
22
+ Recently, there has been substantial progress in neural-network based implicit generative models within the autoregressive and the adversarial framework. The adversarial framework was pioneered by Generative Adversarial Networks (GANs) [Goodfellow et al. (2014)]. In these models, a generator network attempts to map samples from a simple low-dimensional distribution (such as standard Gaussian) to points in a high-dimensional space that resemble the learned data distribution. At the same time, a discriminator network attempts to distinguish between real and generated samples. By setting up a min-max game between them, the two networks are jointly trained. The latent probability distribution along with the learned generator network define a stochastic procedure that can produce new samples. The adversarial framework has been shown to be extremely successful in modeling complex distributions [Berthelot et al. (2017); Vondrick et al. (2016); Pascual et al. (2017); Wu et al. (2016)], and the priors induced by these models are useful for various applications [Shrivastava et al. (2016); Ho & Ermon (2016)].
23
+
24
+ This procedure for training generative models requires access to a large number of fully-observed samples from the desired distribution. Unfortunately, obtaining multiple high-resolution samples can be expensive or impractical for some applications. For example, many sensing and tomography problems (e.g. MRI, CT Scan) require a large number of projections for good reconstruction. Compressed sensing [Donoho (2006); Candes et al. (2006)] attempts to ameliorate this problem using models of the data structure. Recent work has shown that generative models can be particularly effective for easier sensing [Bora et al. (2017); Mardani et al. (2017)]—but if sensing is expensive in the first place, how can we collect enough data to train a generative model to start with?
25
+
26
+ ![](images/51c37674a10740991f2bd1a893a307af611ee97edd1cbd4ef98a023425af46cc.jpg)
27
+ Figure 1: AmbientGAN training. The output of the generator is passed through a simulated random measurement function $f _ { \Theta }$ . The discriminator must decide if a measurement is real or generated.
28
+
29
+ This work solves this chicken-and-egg problem by training a generative model directly from noisy or incomplete samples. We show that our observations can be even projections or more general measurements of different types and the unknown distribution is still provably recoverable. A critical assumption for our framework and theory to work is that the measurement process is known and satisfies certain technical conditions.
30
+
31
+ We present several measurement processes for which it is possible to learn a generative model from a dataset of measured samples, both in theory and in practice. Our approach uses a new way of training GANs, which we call AmbientGAN. The idea is simple: rather than distinguish a real image from a generated image as in a traditional GAN, our discriminator must distinguish a real measurement from a simulated measurement of a generated image; see Figure 1. We empirically demonstrate the effectiveness of our approach on three datasets and a variety of measurement models. Our method is able to construct good generative models from extremely noisy observations and even from low dimensional projections with drastic per-sample information loss. We show this qualitatively by exhibiting samples with good visual quality, and quantitatively by comparing inception scores [Salimans et al. (2016)] to baseline methods.
32
+
33
+ Theoretical results. We first consider measurements that are noisy, blurred versions of the desired images. That is, we consider convolving the original image with a Gaussian kernel and adding independent Gaussian noise to each pixel (our actual theorem applies to more general kernels and noise distributions). Because of the noise, this process is not invertible for a single image. However, we show that the distribution of measured images uniquely determines the distribution of original images. This implies that a pure Nash equilibrium for the GAN game must find a generative model that matches the true distribution. We show similar results for a dropout measurement model, where each pixel is set to zero with some probability $p$ , and a random projection measurement model, where we observe the inner product of the image with a random Gaussian vector.
34
+
35
+ Empirical results. Our empirical work also considers measurement models for which we do not have provable guarantees. We present results on some of our models now and defer the full exploration to Section 8.
36
+
37
+ In Fig. 2, we consider the celebA dataset of celebrity faces [Liu et al. (2015)] under randomly placed occlusions, where a randomly placed square containing $1 / 4$ of the pixels is set to zero. It is hard to inpaint individual images, so cleaning up the data by inpainting and then learning a GAN on the result yields significant artifacts. By incorporating the measurement process into the GAN training, we can produce much better samples.
38
+
39
+ In Fig. 3a we consider learning from noisy, blurred version of images from the celebA dataset. Each image is convolved with a Gaussian kernel and then IID Gaussian noise is added to each pixel.
40
+
41
+ ![](images/a13d65e89fbc9b3770a321646a003f0ee39f8a9dfe231b0f478d90600a07e3e7.jpg)
42
+ Figure 2: (Left) Samples of lossy measurements used for training. Samples produced by (middle) a baseline that trains from inpainted images, and (right) our model.
43
+
44
+ (a) (left) Samples of lossy measurements. Each image is a blurred noisy version of the original. Samples produced by (middle) a baseline that uses Wiener deconvolution, and (right) our model.
45
+
46
+ ![](images/bf0c968b12a9a7bfd6dfcfe3afdcfe3d8cea340b86963bc151d3f4620b633895.jpg)
47
+ Figure 3: Results with Convolve $^ +$ Noise on celebA (left) and 1D-projections on MNIST (right).
48
+
49
+ ![](images/b28986aaea93b814a4485df540f63b399c089ce755ed9826135a197286bd7b17.jpg)
50
+
51
+ (b) Samples produced by our model trained from two 1D projections of each image. On left, the training data does not include the angle of the projections, so it cannot identify orientation or chirality. On right, the training data includes the angle.
52
+
53
+ Learning a GAN on images denoised by Wiener deconvolution leads to poor sample quality while our models are able to produce cleaner samples.
54
+
55
+ In Fig. 3b, we consider learning a generative model on the 2D images in the MNIST handwritten digit dataset [LeCun et al. (1998)] from pairs of 1D projections. That is, measurements consist of picking two random lines and projecting the image onto each line, so the observed value along the line is the sum of all pixels that project to that point. We consider two variants: in the first, the choice of line is forgotten, while in the second the measurement includes the choice of line. We find for both variants that AmbientGAN recovers a lot of the underlying structure, although the first variant cannot identify the distribution up to rotation or reflection.
56
+
57
+ # 2 RELATED WORK
58
+
59
+ There are two distinct approaches to constructing neural network based implicit generative models;
60
+ autoregressive [Kingma & Welling (2013); Oord et al. (2016b;a)], and adversarial [Goodfellow et al.
61
+ (2014)]. Some combination approaches have also been successful [Mescheder et al. (2017)].
62
+
63
+ The adversarial framework has been shown to be extremely powerful in modeling complex data distributions such as images [Radford et al. (2015); Arjovsky et al. (2017); Berthelot et al. (2017)], video [Liang et al. (2017); Vondrick et al. (2016)], and 3D models [Achlioptas et al. (2017); Wu et al. (2016)]. A learned generative model can be useful for many applications. A string of papers [Bora et al. (2017); Zhu et al. (2016); Yeh et al. (2016)] explore the utility of generative priors to solve ill-posed inverse problems. [Shrivastava et al. (2016)] demonstrate that synthetic data can be made more realistic using GANs. [Isola et al. (2016)] and [Zhu et al. (2017)] show how to translate images from one domain to another using GANs.
64
+
65
+ The idea of operating generators and discriminators on different spaces has been proposed before. [Neyshabur et al. (2017)] explores an interesting connection of training stability with low dimensional projections of samples. They show that training a generator against an array of discriminators, each operating on a different low-dimensional projection of the data can improve stability. Our work is also closely related to [Gadelha et al. (2016)] where the authors create 3D object shapes from a dataset of 2D projections. We note that their setup is a special case of the AmbientGAN framework where the measurement process creates 2D projections using weighted sums of voxel occupancies.
66
+
67
+ # 3 NOTATION AND OUR APPROACH
68
+
69
+ Throughout, we use superscript $\cdot _ { r } ,$ to denote real or true distribution, superscript $\dot { \boldsymbol g }$ ’ for the generated distributions, $\cdot _ { x } { \mathrm { : } }$ ’ for the underlying space and $\cdot _ { y } ,$ for measurements. Let $p _ { x } ^ { r }$ be a real underlying distribution over $\mathbb { R } ^ { n }$ . We observe lossy measurements performed on samples from $p _ { x } ^ { r }$ . If we let $m$ be the size of each observed measurement, then, each measurement is an output of some measurement function $f _ { \theta } : \mathbb { R } ^ { n } \mathbb { R } ^ { m }$ , parameterized by $\theta$ . We allow the measurement function to be stochastic by letting the parameters of the measurement functions have a distribution $p _ { \theta }$ . With this notation, for a given $x$ and $\theta$ , the measurements are given by $y = f _ { \boldsymbol { \theta } } ( \boldsymbol { x } )$ . We assume that it is easy to sample $\Theta \sim p _ { \theta }$ and to compute $f _ { \boldsymbol { \theta } } ( \boldsymbol { x } )$ for any $x$ and $\theta$ . The distributions $p _ { x } ^ { r }$ and $p _ { \theta }$ naturally induce a distribution over the measurements $y$ which we shall denote by $p _ { y } ^ { r }$ . In other words, if $X \sim p _ { x } ^ { r }$ and $\Theta \sim p _ { \theta }$ , then $Y = f _ { \Theta } ( X ) \sim p _ { y } ^ { r }$ .
70
+
71
+ Our task is the following: there is some unknown distribution $p _ { x } ^ { r }$ and a known distribution $p _ { \theta }$ . We are given a set of IID realizations $\{ y _ { 1 } , y _ { 2 } , \dots , y _ { s } \}$ from the distribution $p _ { y } ^ { r }$ . Using these, our goal is to create an implicit generative model of $p _ { x } ^ { r }$ , i.e., a stochastic procedure that can sample from $p _ { x } ^ { r }$ .
72
+
73
+ Our main idea is to combine the measurement process with the adversarial training framework, as shown in Fig. 1. Just like in the standard GAN setting, let $Z \in \mathbb { R } ^ { k } , Z \sim p _ { z }$ be a random latent vector for a distribution $p _ { z }$ that is easy to sample from, such as IID Gaussian or IID uniform. Let $G : \mathbb { R } ^ { k } \mathbb { R } ^ { n }$ be a generator. Let $X ^ { g } = G ( Z )$ , and let $p _ { x } ^ { g }$ be the distribution of $X ^ { g }$ . Thus, our goal is to learn a generator $G$ such that $p _ { x } ^ { g }$ is close to $p _ { x } ^ { r }$ .
74
+
75
+ However, unlike the standard GAN setting, we do not have access to the desired objects $( X \sim p _ { x } ^ { r } )$ . Instead, we only have a dataset of measurements (samples from $Y \sim p _ { y } ^ { r } )$ . Our main idea is to simulate random measurements on the generated objects $X ^ { g }$ , and use the discriminator to distinguish real measurements from fake measurements. Thus, we sample a random measurement function $f _ { \Theta }$ by sampling $\Theta \sim p _ { \theta }$ and apply it on $X ^ { g }$ to obtain $Y ^ { g } = \bar { { f } _ { \Theta } } ( X ^ { g } ) = f _ { \Theta } ( { G } ( Z ) )$ . Let $p _ { y } ^ { g }$ be the distribution of $Y ^ { g }$ . We set up the discriminator to predict if a given $y$ is a sample from the real measurement distribution $p _ { u } ^ { r }$ as opposed to the generated measurement distribution $p _ { y } ^ { g }$ . Thus, the discriminator is a function $\dot { D } : \mathbb { R } ^ { \dot { m } } \mathbb { R }$ .
76
+
77
+ We let $q ( \cdot )$ be the quality function that is used to define the objective, based on the discriminator output. For vanilla GAN, $q ( x ) = \log ( x )$ and for Wasserstein GAN [Arjovsky et al. (2017)], $q ( x ) =$ $x$ . Accordingly, the AmbientGAN objective is the following:
78
+
79
+ $$
80
+ \operatorname* { m i n } _ { G } \operatorname* { m a x } _ { D } \mathbb { E } _ { Y ^ { r } \sim p _ { y } ^ { r } } [ q ( D ( Y ^ { r } ) ) ] + \mathbb { E } _ { Z \sim p _ { z } , \Theta \sim p _ { \theta } } [ q ( 1 - D ( f _ { \Theta } ( G ( Z ) ) ) ) ] .
81
+ $$
82
+
83
+ We additionally require $f _ { \theta }$ to be differentiable with respect to its inputs for all $\theta$ . We implement $G$ and $D$ as feedforward neural networks. With these assumptions, our model is end-to-end differentiable and can be trained using an approach similar to the standard gradient-based GAN training procedure. In each iteration, we sample $Z \sim p _ { z }$ , $\Theta \sim p _ { \theta }$ , and $Y ^ { r } \sim \mathrm { U N I F } \{ y _ { 1 } , y _ { 2 } , . . . , y _ { s } \}$ to use them to compute stochastic gradients of the objective with respect to parameters in $G$ and $D$ by backpropagation. We alternate between updates to parameters of $D$ and updates to parameters of $G$ .
84
+
85
+ We note that our approach is compatible with and complementary to the various improvements proposed to the GAN objective, network architectures, and the training procedures. Additionally, we can easily incorporate additional information, such as per sample labels, in our framework through conditional versions of the generator and discriminator. This is exemplified in our experiments, where we use unconditional and conditional versions of DCGAN [Radford et al. (2015)], unconditional Wasserstein GAN with gradient penalty [Gulrajani et al. (2017)], and an Auxiliary Classifier Wasserstein GAN [Odena et al. (2016)] with gradient penalty.
86
+
87
+ # 4 MEASUREMENT MODELS
88
+
89
+ Now, we describe the measurement models that we use for our theoretical and empirical results. We primarily focus on 2D images and thus our measurement models are tailored to this setting. The AmbientGAN learning framework, however, is more general and can be used for other data formats and other measurement models as well. For the rest of this section, we assume that input to the measurement function $( x )$ is a 2D image. We consider the following measurement models:
90
+
91
+ Block-Pixels: Each pixel is independently set to zero with probability $p$ . Convolve+Noise: Let $k$ be a convolution kernel and let $\Theta \sim p _ { \theta }$ be the distribution of noise. Then the measurements are given by $f _ { \Theta } ( x ) = k * x + \Theta$ , where $^ *$ is the convolution operator. Block-Patch: A randomly chosen $k \times k$ patch is set to zero. Keep-Patch: All pixels outside a randomly chosen $k \times k$ patch are set to zero. Extract-Patch: A random $k \times k$ patch is extracted. Note that unlike the previous measurement function, the information about the location of the patch is lost. Pad-Rotate-Project: We pad the image on all four sides by zeros. Then we rotate the image by a random angle $\mathbf { \eta } ^ { ( \theta ) }$ about its center. The padding is done to make sure that the original pixels stay within the boundary. Finally, for each channel in the image, we sum the pixels along the vertical axis to get one measurement vector. PadRotate-Project- $\theta$ : This is the same as the previous measurement function, except that along with the projection values, the chosen angle is also included in the measurements. Gaussian-Projection: We project onto a random Gaussian vector which is included in the measurements. So, $\Theta \sim \mathcal { N } ( 0 , I _ { n } )$ , and $f _ { \Theta } ( x ) = ( \Theta , \langle \Theta , x \rangle )$ .
92
+
93
+ # 5 THEORETICAL RESULTS
94
+
95
+ We show that we can provably recover the true underlying distribution $p _ { x } ^ { r }$ for certain measurement models. Our broad approach is to show that there is a unique distribution $p _ { x } ^ { r }$ consistent with the observed measurement distribution $p _ { y } ^ { r }$ , i.e., the mapping of distributions of samples $p _ { x } ^ { r }$ to distribution of measurements $p _ { y } ^ { r }$ is invertible even though the map from an individual image $x$ to its measurements $f _ { \boldsymbol { \theta } } ( \boldsymbol { x } )$ is not. If this holds, then the following lemma immediately gives a consistency guarantee with the AmbientGAN training procedure.
96
+
97
+ Lemma 5.1. As in Section 3, let $p _ { x } ^ { r }$ be the data distribution, $p _ { \theta }$ be the distribution over parameters of the measurement functions and $p _ { y } ^ { r }$ be the induced measurement distribution. Further, assume that for the given $p _ { \theta }$ , there is a unique probability distribution $p _ { x } ^ { r }$ that induces the given measurement distribution $p _ { y } ^ { r }$ . Then, for the vanilla GAN model [Goodfellow et al. (2014)], if the Discriminator $D$ is optimal, so that $\begin{array} { r } { D ( \cdot ) = \frac { p _ { y } ^ { r } ( \cdot ) } { p _ { y } ^ { r } ( \cdot ) + p _ { y } ^ { g } ( \cdot ) } } \end{array}$ , then a generator $G$ is optimal iff $p _ { x } ^ { g } = p _ { x } ^ { r }$ .
98
+
99
+ All proofs including this one are deferred to Appendix A. Note that the previous lemma makes a non-trivial assumption of uniqueness of the true underlying distribution given the measurement distribution. The next few theorems show that this assumption is satisfied under Gaussian-Projection, Convolve $^ +$ Noise and Block-Pixels measurement models, thus showing that that we can recover the true underlying distribution with the AmbientGAN framework.
100
+
101
+ Theorem 5.2. For the Gaussian-Projection measurement model (Section 4), there is a unique underlying distribution $p _ { x } ^ { r }$ that can induce the observed measurement distribution $p _ { y } ^ { r }$ .
102
+
103
+ Theorem 5.3. Let $\mathcal F ( \cdot )$ denote the Fourier transform and let $\operatorname { s u p p } ( \cdot )$ be the support of a function. Consider the Convolve $^ +$ Noise measurement model (Section 4) with the convolution kernel $k$ and additive noise distribution $p _ { \theta }$ . If $\operatorname { s u p p } ( \mathcal { F } ( k ) ) ^ { c } = \phi$ and $\operatorname { s u p p } ( \mathcal { F } ( p _ { \theta } ) ) ^ { c } = \phi$ , then there is a unique distribution $p _ { x } ^ { r }$ that can induce the measurement distribution $p _ { y } ^ { r }$ .
104
+
105
+ We remark that the required conditions in the preceding theorem are easily satisfied for the common setting of Gaussian blurring kernel with additive Gaussian noise. The same guarantee can be generalized for any continuous and invertible function instead of a convolution. We omit the details.
106
+
107
+ Our next theorem makes an assumption of a finite discrete set of pixel values. This assumption holds in most practical scenarios since images are represented with a finite number of discrete values per channel. In this setting, in addition to a consistency guarantee, we also give a sample complexity result for approximately learning the distributions in the AmbientGAN framework.
108
+
109
+ Theorem 5.4. Assume that each image pixel takes values in a finite set P. Thus $x \in P ^ { n } \subset \mathbb { R } ^ { n }$ . Assume $0 \in P$ , and consider the Block-Pixels measurement model (Section 4) with $p$ being the probability of blocking a pixel. If $p < 1$ , then there is a unique distribution $p _ { x } ^ { r }$ that can induce the measurement distribution $p _ { y } ^ { r }$ . Further, for any $\epsilon > 0$ , $\delta \in ( 0 , 1 ]$ , given a dataset of
110
+
111
+ $$
112
+ s = \Omega \left( \frac { | P | ^ { 2 n } } { \left( 1 - p \right) ^ { 2 n } \epsilon ^ { 2 } } \log { \left( \frac { | P | ^ { n } } { \delta } \right) } \right)
113
+ $$
114
+
115
+ IID measurement samples from $p _ { y } ^ { r }$ , if the discriminator $D$ is optimal, then with probability $\geq 1 - \delta$ over the dataset, any optimal generator $G$ must satisfy $d _ { T V } ( p _ { x } ^ { g } , p _ { x } ^ { r } ) \leq \epsilon$ , where $d _ { T V } ( \cdot , \cdot )$ is the total variation distance.
116
+
117
+ # 6 DATASETS AND MODEL ARCHITECTURES
118
+
119
+ We used three datasets for our experiments. MNIST is a dataset of $2 8 \times 2 8$ images of handwritten digits [LeCun et al. (1998)]. CelebA is a dataset of face images of celebrities [Liu et al. (2015)]. We use an aligned and cropped version where each image is $6 4 \times 6 4$ RGB. The CIFAR-10 dataset consists of $3 2 \times 3 2$ RGB images from 10 different classes [Krizhevsky & Hinton (2009)].
120
+
121
+ We briefly describe the generative models we used for our experiments. More details on architectures and hyperparameters can be found in the appendix. For the MNIST dataset, we use two GAN models. The first model is a conditional DCGAN which follows the architecture in [Radford et al. $( 2 0 1 5 ) ] ^ { 1 }$ , while the second model is an unconditional Wasserstein GAN with gradient penalty (WGANGP) which follows the architecture in [Gulrajani et al. $( 2 0 1 7 ) ] ^ { 2 }$ . For the celebA dataset, we use an unconditional DCGAN and follow the architecture in [Radford et al. $( 2 0 1 5 ) ] ^ { 3 }$ . For the CIFAR-10 dataset, we use an Auxiliary Classifier Wasserstein GAN with gradient penalty (ACWGANGP) which follows the residual architecture in [Gulrajani et al. $( 2 0 1 7 ) ] ^ { 4 }$ .
122
+
123
+ For measurements with 2D outputs, i.e. Block-Pixels, Block-Patch, Keep-Patch, Extract-Patch, and Convolve $+$ Noise (see Section 4), we use the same discriminator architectures as in the original work. For 1D projections, i.e. Pad-Rotate-Project, Pad-Rotate-Project- $\theta$ , we use fully connected discriminators. The architecture of the fully connected discriminator used for the MNIST dataset was 25-25-1 and for the celebA dataset was 100-100-1.
124
+
125
+ # 7 BASELINES
126
+
127
+ Now, we describe some baseline approaches that we implemented to evaluate the relative performance of the AmbientGAN framework. Recall that we have a dataset of IID samples $\{ y _ { 1 } , y _ { 2 } , . . . . y _ { s } \}$ from the measurement distribution $p _ { y } ^ { r }$ and our goal is to create an implicit generative model for $p _ { x } ^ { r }$ .
128
+
129
+ A crude baseline is to ignore that any measurement happened at all. In other words, for cases where the measurements lie in the same space as the full-samples (for example Convolve+Noise) we can learn a generative model directly on the measurements and test how well it approximates the true distribution $p _ { x } ^ { r }$ . We call this the “ignore” baseline.
130
+
131
+ A stronger baseline is based on the following observation: If the measurement functions $f _ { \theta }$ were invertible, and we observed $\theta _ { i }$ for each measurement $y _ { i }$ in our dataset, we could just invert the functions to obtain full-samples $x _ { i } = f _ { \theta _ { i } } ^ { - 1 } ( y _ { i } )$ . Then we could directly learn a generative model using these full-samples. Notice that both assumptions are violated in the AmbientGAN setting. First, we may not observe $\theta _ { i }$ and second, the functions may not be invertible. Indeed all the measurement models in Section 4 violate one of the assumptions. However, we can try to approximate an inverse function and use the inverted samples to train a generative model. Thus, given a measurement $y _ { i } = f _ { \boldsymbol { \theta } _ { i } } ( x _ { i } )$ , we try to “unmeasure” it and obtain $\widehat { x } _ { i }$ , an estimate of $x _ { i }$ . We then learn a generative bmodel with the estimated inverse samples and test how well it approximates $p _ { x } ^ { r }$ .
132
+
133
+ ![](images/d20502dc83ca7926d16b6fd2c4cd621065c145c49dd096f2d9b7a0a37eb0e91f.jpg)
134
+ Figure 4: Results with Block-Pixels on celebA. (left) Samples of lossy measurements. Each pixel is blocked independently with probability $p = 0 . 9 5$ . Samples produced by (middle) unmeasure-blur baseline, and (right) our model.
135
+
136
+ ![](images/e3ace6a56e04f1d401067ba2ef70d66148c3475e4418e1d20de22f705a45806d.jpg)
137
+
138
+ (a) (left) Samples of lossy measurements. All except a randomly chosen $3 2 \times 3 2$ patch is set to zero. (right) Samples produced by our model.
139
+
140
+ ![](images/1bd8881fd1f6cb91d938ab6218e2a96f539aa0b7b50def00641abf7ce5d3e3fa.jpg)
141
+ (b) Samples produced by our model with Pad-Rotate-Project- $\theta$ measurements.
142
+ Figure 5: Results on celebA with (a) Keep-Patch, and (b) 1D projections.
143
+
144
+ For the measurement models described in Section 4, we now describe the methods we used to obtain approximate inverse functions: (a) For the Block-Pixels measurements, a simple approximate inverse function is to just blur the image so that zero pixels are filled in from the surrounding. We also implemented a more sophisticated approach to fill in the pixels by using total variation inpainting. (b) For Convolve+Noise measurements with a Gaussian kernel and additive Gaussian Noise, we approximate the inverse by a Wiener deconvolution. (c) For Block-Patch measurements, we use the Navier Stokes based inpainting method [Bertalmio et al. (2001)] to fill in the zero pixels.
145
+
146
+ For other measurement models, it is unclear how to obtain an approximate inverse function. For the Keep-Patch measurement model, no pixels outside a box are known and thus inpainting methods are not suitable. Inverting Extract-Patch measurements is even harder since the information about the position of the patch is also lost. For the Pad-Rotate-Project- $\theta$ measurements, a conventional technique is to sample many angles, and use techniques for inverting the Radon transform [Deans (2007)]. However, since we observe only a few projections at a time, these methods aren’t readily applicable. Inverting Pad-Rotate-Project measurements is even harder since it lacks information about $\theta$ . So, on this subset of experiments, we report only the results with the AmbientGAN models.
147
+
148
+ # 8 QUALITATIVE RESULTS
149
+
150
+ We present some samples generated by the baselines and our models. For each experiment, we show the samples from the dataset of measurements $( Y ^ { r } )$ available for training, samples generated by the baselines (when applicable) and the samples generated by our models $( X ^ { g } )$ . We show samples only for a selected value of parameter settings. More results are provided in the appendix. All results on MNIST are deferred to the appendix.
151
+
152
+ Block-Pixels: Fig. 4 shows results on celebA with DCGAN and Fig. 6 on CIFAR-10 with ACWGANGP. We see that the samples are heavily degraded in our measurement process (left image). Thus, it is challenging for baselines to invert the measurements process, and correspondingly, they do not produce good samples (middle image). Our models are able to produce images with good visual quality (right image).
153
+
154
+ Convolve+Noise: We use a Gaussian kernel and IID Gaussian noise. Fig. 3a shows results on celebA with DCGAN. We see that the measurements are drowned in noise (left image) and the baselines struggle to extract the original image, giving samples of low quality (middle image). Our models are able to produce samples with clear faces (right image).
155
+
156
+ ![](images/75361c5173e18fbc98f3334d46b893d75d6d5138f3a7078abba97c4b84f9d858.jpg)
157
+ Figure 6: Results with Block-Pixels on CIFAR-10. (left) Samples of lossy measurements. Each pixel is blocked independently with probability $p = 0 . 8$ . Samples produced by (middle) unmeasure-blur baseline, and (right) our model.
158
+
159
+ Block-Patch, Keep-Patch: Fig. 2 shows the results for Block-Patch and Fig. 5a for Keep-Patch measurements on celebA with DCGAN. On both measurement distributions, our models are able to create coherent faces (right image) by observing only parts of one image at a time.
160
+
161
+ 1D projections: Pad-Rotate-Project and Pad-Rotate-Project- $\theta$ measurement models exhibit drastic signal degradation; most of the information in a sample is lost during the measurements process. For our experiments, we use two measurements at a time. Fig. 3b shows the results on MNIST with DCGAN. While the first model is able to learn only up to rotation and reflection (left image), we note that generated digits have similar orientations and chirality within each class without any explicit incentive. We hypothesize that the model prefers this mode because it is easier to learn with consistent orientation per class. The second measurement model contains the rotation angle and thus produces upright digits (right image). While in both cases, the generated images are of lesser visual quality, our method demonstrates that we can produce images of digits given only 1D projections.
162
+
163
+ Failure case: In Fig. 5b, we show the samples obtained from our model trained on celebA dataset with Pad-Rotate-Project- $\cdot \theta$ measurements with a DCGAN. We see that the model has learned a very crude outline of a face, but lacks details. This highlights the difficulty in learning complex distributions with just 1D projections and a need for better understanding of distribution recovery under projection measurement model as well as better methods for training GANs.
164
+
165
+ # 9 QUANTITATIVE RESULTS
166
+
167
+ We report inception scores [Salimans et al. (2016)] to quantify the quality of the generative models learned in the AmbientGAN framework. For the CIFAR-10 dataset, we use the Inception model[Szegedy et al. (2016)] trained on the ImageNet dataset [Deng et al. $( 2 0 0 9 ) ] ^ { 1 }$ . For computing a similar score on MNIST, we trained a classification model with two conv+pool layers followed by two fully connected layers2. The final test set accuracy of this model was $9 9 . 2 \%$ .
168
+
169
+ # 9.1 MNIST
170
+
171
+ For Block-Pixels measurements on MNIST, we trained several models with our approach and the baselines, each with a different probability $p$ of blocking pixels. For each model, after convergence, we computed the inception score using the network described above. A plot of the inception scores as a function of $p$ is shown in Fig. 7 (left). We note that at $p = 0$ , i.e. if no pixels are blocked, our model is equivalent to a conventional GAN. As we increase $p$ , the baseline models quickly start to perform poorly, while the AmbientGAN models continue to perform relatively well.
172
+
173
+ ![](images/d01f15ed3eae1a255775fecb3efc931f67658bcfc06365b5f8467be528ac4be7.jpg)
174
+ Figure 7: Results on MNIST with WGANGP. (left) Block-Pixels (right) Convolve+Noise
175
+
176
+ ![](images/caf6bd49ebfdbecfdf4b4bc12e688f2fa0758753cfa2dc0c209d6de8a6134b23.jpg)
177
+ Figure 8: Quantitative results on CIFAR-10 with ACWGANGP, Block-Pixels measurement. (left) Inception score vs blocking probability $p$ . (right) Inception score vs training iteration with darkness proportional to $1 - p$ . Vertical bars indicate $9 5 \%$ confidence intervals.
178
+
179
+ For the Convolve+Noise measurements with a Gaussian kernel of radius 1 pixel, and additive Gaussian noise with zero mean and standard deviation $\sigma$ , we trained several models on MNIST by varying the value of $\sigma$ . A plot of the inception score as a function of $\sigma$ is shown in Fig. 7 (right). We see that for small variance of additive noise, Wiener deconvolution and the “ignore” baseline perform quite well. However, as we start to increase the noise levels, these baselines quickly deteriorate in performance, while the AmbientGAN models maintain a high inception score.
180
+
181
+ For 1D projection measurements, we report the inception scores for the samples produced by the AmbientGAN models trained with two projection measurements at a time. The Pad-Rotate-Project model produces digits at various orientations and thus does quite poorly, achieving an inception score of just 4.18. The model with Pad-Rotate-Project- $\cdot \theta$ measurements produces well-aligned digits and achieves an inception score of 8.12. For comparison, the vanilla GAN model trained with fullyobserved samples achieves an inception score of 8.99. Thus, the second model comes quite close to the performance of the fully-observed case while being trained only on 1D projections.
182
+
183
+ # 9.2 CIFAR-10
184
+
185
+ In Fig. 8 (left), we show a plot of inception score vs the probability of blocking pixels $p$ in the BlockPixels measurement model on CIFAR-10. We note that the total variation inpainting method is quite slow and the performance on MNIST was about the same as unmeasure-blur baseline. So, we do not run inpainting baselines on the CIFAR-10 dataset. From the plots, we see a trend similar to the plot obtained with MNIST (Fig. 7, left), showing the superiority of our approach over baselines. We show the inception score as a function of training iteration in Fig. 8 (right).
186
+
187
+ # 10 CONCLUSION
188
+
189
+ Generative models are powerful tools, but constructing a generative model requires a large, highquality dataset of the distribution of interest. We show how to relax this requirement, by learning a distribution from a dataset that only contains incomplete, noisy measurements of the distribution. We hope that this will allow for the construction of new generative models of distributions for which no high-quality dataset exists.
190
+
191
+ # ACKNOWLEDGEMENTS
192
+
193
+ We would like to thank Philipp Krahenb ¨ uhl, Ajil Jalal, Surbhi Goel, and Jessica Hoffmann for ¨ helpful discussions. This research has been supported by NSF Grants CCF 1407278, 1422549, 1618689, DMS 1723052, ARO YIP W911NF-14-1-0258 and NVIDIA Corporation.
194
+
195
+ # REFERENCES
196
+
197
+ Panos Achlioptas, Olga Diamanti, Ioannis Mitliagkas, and Leonidas Guibas. Representation learning and adversarial generation of 3d point clouds. arXiv preprint arXiv:1707.02392, 2017.
198
+ Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein gan. ´ arXiv preprint arXiv:1701.07875, 2017.
199
+ Marcelo Bertalmio, Andrea L Bertozzi, and Guillermo Sapiro. Navier-stokes, fluid dynamics, and image and video inpainting. In Computer Vision and Pattern Recognition, 2001. CVPR 2001. Proceedings of the 2001 IEEE Computer Society Conference on, volume 1, pp. I–I. IEEE, 2001.
200
+ David Berthelot, Tom Schumm, and Luke Metz. Began: Boundary equilibrium generative adversarial networks. arXiv preprint arXiv:1703.10717, 2017.
201
+ Ashish Bora, Ajil Jalal, Eric Price, and Alexandros G Dimakis. Compressed sensing using generative models. arXiv preprint arXiv:1703.03208, 2017.
202
+ Emmanuel J Candes, Justin K Romberg, and Terence Tao. Stable signal recovery from incomplete and inaccurate measurements. Communications on pure and applied mathematics, 59(8):1207– 1223, 2006.
203
+ Harald Cramer and Herman Wold. Some theorems on distribution functions. ´ Journal of the London Mathematical Society, 1(4):290–294, 1936.
204
+ Stanley R Deans. The Radon transform and some of its applications. Courier Corporation, 2007.
205
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on, pp. 248–255. IEEE, 2009.
206
+ David L Donoho. Compressed sensing. IEEE Transactions on information theory, 52(4):1289– 1306, 2006.
207
+ Matheus Gadelha, Subhransu Maji, and Rui Wang. 3d shape induction from 2d views of multiple objects. arXiv preprint arXiv:1612.05872, 2016.
208
+ Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014.
209
+ Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017.
210
+ Jonathan Ho and Stefano Ermon. Generative adversarial imitation learning. In Advances in Neural Information Processing Systems, pp. 4565–4573, 2016.
211
+ Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. arXiv preprint arXiv:1611.07004, 2016.
212
+ Diederik $\mathrm { \bf P }$ Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
213
+ Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009.
214
+ Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
215
+ Xiaodan Liang, Lisa Lee, Wei Dai, and Eric P Xing. Dual motion gan for future-flow embedded video prediction. arXiv preprint arXiv:1708.00284, 2017.
216
+ Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of the IEEE International Conference on Computer Vision, pp. 3730–3738, 2015.
217
+ Morteza Mardani, Enhao Gong, Joseph Y Cheng, Shreyas Vasanawala, Greg Zaharchuk, Marcus Alley, Neil Thakur, Song Han, William Dally, John M Pauly, et al. Deep generative adversarial networks for compressed sensing automates mri. arXiv preprint arXiv:1706.00051, 2017.
218
+ Lars Mescheder, Sebastian Nowozin, and Andreas Geiger. Adversarial variational bayes: Unifying variational autoencoders and generative adversarial networks. arXiv preprint arXiv:1701.04722, 2017.
219
+ Behnam Neyshabur, Srinadh Bhojanapalli, and Ayan Chakrabarti. Stabilizing gan training with multiple random projections. arXiv preprint arXiv:1705.07831, 2017.
220
+ Augustus Odena, Christopher Olah, and Jonathon Shlens. Conditional image synthesis with auxiliary classifier gans. arXiv preprint arXiv:1610.09585, 2016.
221
+ Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016a.
222
+ Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. arXiv preprint arXiv:1601.06759, 2016b.
223
+ Santiago Pascual, Antonio Bonafonte, and Joan Serra. Segan: Speech enhancement generative \` adversarial network. arXiv preprint arXiv:1703.09452, 2017.
224
+ Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
225
+ Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. In Advances in Neural Information Processing Systems, pp. 2234–2242, 2016.
226
+ Ashish Shrivastava, Tomas Pfister, Oncel Tuzel, Josh Susskind, Wenda Wang, and Russ Webb. Learning from simulated and unsupervised images through adversarial training. arXiv preprint arXiv:1612.07828, 2016.
227
+ Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2818–2826, 2016.
228
+ Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In Advances In Neural Information Processing Systems, pp. 613–621, 2016.
229
+ Jiajun Wu, Chengkai Zhang, Tianfan Xue, Bill Freeman, and Josh Tenenbaum. Learning a probabilistic latent space of object shapes via 3d generative-adversarial modeling. In Advances in Neural Information Processing Systems, pp. 82–90, 2016.
230
+ Raymond Yeh, Chen Chen, Teck Yian Lim, Mark Hasegawa-Johnson, and Minh N Do. Semantic image inpainting with perceptual and contextual losses. arXiv preprint arXiv:1607.07539, 2016.
231
+
232
+ Jun-Yan Zhu, Philipp Krahenb ¨ uhl, Eli Shechtman, and Alexei A Efros. Generative visual manipu- ¨ lation on the natural image manifold. In European Conference on Computer Vision, pp. 597–613. Springer, 2016.
233
+
234
+ Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. arXiv preprint arXiv:1703.10593, 2017.
235
+
236
+ # APPENDIX A
237
+
238
+ # 10.1 PROOF OF LEMMA 5.1
239
+
240
+ Lemma. As in Section 3, let $p _ { x } ^ { r }$ be the data distribution, $p _ { \theta }$ be the distribution over parameters of the measurement functions and $p _ { y } ^ { r }$ be the induced measurement distribution. Further, assume that for the given $p _ { \theta }$ , there is a unique probability distribution $p _ { x } ^ { r }$ that induces the given measurement distribution $p _ { y } ^ { r }$ . Then, for the vanilla GAN model [Goodfellow et al. (2014)], if the Discriminator $D$ is optimal, so that
241
+
242
+ $$
243
+ D ( \cdot ) = \frac { p _ { y } ^ { r } ( \cdot ) } { p _ { y } ^ { r } ( \cdot ) + p _ { y } ^ { g } ( \cdot ) } ,
244
+ $$
245
+
246
+ then a generator $G$ is optimal iff $p _ { x } ^ { g } = p _ { x } ^ { r }$
247
+
248
+ Proof. From the same argument as in Theorem 1 in [Goodfellow et al. (2014)], it follows that $p _ { y } ^ { g } =$ $p _ { y } ^ { r }$ . Then, since there is a unique probability distribution $p _ { x } ^ { r }$ that can induce the given measurement distribution, it follows that $p _ { x } ^ { g } = p _ { x } ^ { r }$ . The converse is trivially true. □
249
+
250
+ # 10.2 PROOF OF THEOREM 5.2
251
+
252
+ Theorem. For the Gaussian-Projection measurement model (Section 4), there is a unique underlying distribution $p _ { x } ^ { r }$ that can induce the observed measurement distribution $p _ { y } ^ { r }$ .
253
+
254
+ Proof. We note that Since $\Theta \sim \mathcal { N } ( 0 , I _ { n } )$ , all possible directions for projections are covered. Further, since the measurement model includes the projection vector $\Theta$ as a part of the measurements, in order to match the measurement distribution, the underlying distribution $p _ { x } ^ { r }$ must be such that all 1D marginals are matched. Thus, by Cramer-Wold theorem [Cramer & Wold (1936)], any sequence ´ of random vectors that match the 1D marginals must converge in distribution to the true underlying distribution. Thus, in particular, there is a unique probability distribution $p _ { x } ^ { r }$ that can match all 1D marginals obtained with the Gaussian projection measurements. □
255
+
256
+ # 10.3 PROOF OF THEOREM 5.3
257
+
258
+ Theorem. Let $\mathcal F ( \cdot )$ denote the Fourier transform and let $\operatorname { s u p p } ( \cdot )$ be the support of a function. Consider the Convolve+Noise measurement model (Section 4) with the convolution kernel $k$ and additive noise distribution $p _ { \theta }$ . If $\operatorname { s u p p } ( \mathcal { F } ( k ) ) ^ { c } = \phi$ and $\operatorname { s u p p } ( \mathcal { F } ( p _ { \theta } ) ) ^ { c } = \phi$ , then there is a unique distribution $p _ { x } ^ { r }$ that can induce the measurement distribution $p _ { y } ^ { r }$ .
259
+
260
+ Proof. Let $X \sim p _ { x }$ . Let $\Theta \sim p _ { \theta }$ . Let $Z = k * X$ so that $Z \sim p _ { z }$ , and $Y = Z + \Theta$ , so $Y \sim p _ { y }$ . With a slight abuse of notation, we will denote the probability density functions (pdf) also by $p$ subscripted with the variable name. Then we have
261
+
262
+ $$
263
+ \begin{array} { r l } & { \quad \quad Z = k * X , } \\ & { \Leftrightarrow \mathcal { F } ( Z ) = \mathcal { F } ( k ) \mathcal { F } ( X ) , } \\ & { \Leftrightarrow \mathcal { F } ( X ) = \mathcal { F } ( Z ) / \mathcal { F } ( k ) , } \\ & { \quad \quad \Leftrightarrow X = \mathcal { F } ^ { - 1 } ( \mathcal { F } ( Z ) / \mathcal { F } ( k ) ) , } \end{array}
264
+ $$
265
+
266
+ where the penultimate step follows since by assumption, $\mathcal { F } ( k )$ is nowhere 0. In the last step, ${ \mathcal { F } } ^ { - 1 }$ is the inverse Fourier transform.
267
+
268
+ Thus, there is a bijective map between $X$ and $Z$ . Since the Fourier and the inverse Fourier are continuous transformations, this map is also continuous. So, we can write $Z = h ( X )$ , where $h$ is a bijective, differentiable function. So, the pdfs of $X$ and $Z$ are related as
269
+
270
+ $$
271
+ p _ { x } ( \cdot ) = p _ { z } ( h ( \cdot ) ) \left| { \operatorname* { d e t } ( J _ { h } ( \cdot ) ) } \right| ,
272
+ $$
273
+
274
+ where $J _ { h } ( \widetilde { x } )$ is the Jacobian of $h$ evaluated at $\tilde { x }$
275
+
276
+ Now, note that since Y is a sum of two random variables, its pdf is a convolution of the individual probability density functions. So we have:
277
+
278
+ $$
279
+ p _ { y } = p _ { z } * p _ { \theta }
280
+ $$
281
+
282
+ Taking the Fourier transform on both sides, we have
283
+
284
+ $$
285
+ \begin{array} { r l } & { \mathcal { F } ( { p _ { y } } ) = \mathcal { F } ( { p _ { z } } ) \mathcal { F } ( { p _ { \theta } } ) , } \\ & { \Leftrightarrow \mathcal { F } ( { p _ { z } } ) = \mathcal { F } ( { p _ { y } } ) / \mathcal { F } ( { p _ { \theta } } ) , } \\ & { \qquad \Leftrightarrow p _ { z } = \mathcal { F } ^ { - 1 } ( \mathcal { F } ( { p _ { y } } ) / \mathcal { F } ( { p _ { \theta } } ) ) , } \end{array}
286
+ $$
287
+
288
+ where the penultimate step follows since by assumption, $\mathcal { F } ( p _ { \theta } )$ is nowhere 0.
289
+
290
+ Combining the two results, we have a reverse map from the measurement distribution $p _ { y }$ to a sample distribution $p _ { x }$ . Thus, the reverse map uniquely determines the true underlying distribution $p _ { x }$ , concluding the proof. □
291
+
292
+ # 10.4 PROOF OF THEOREM 5.4
293
+
294
+ We first state a slightly different version of Theorem 1 from [Goodfellow et al. (2014)] for the discrete setting. We shall use $[ n ]$ to denote the set $\{ 1 , 2 , \ldots n \}$ , and use $\mathbb { I } ( \cdot )$ to denote the indicator function.
295
+
296
+ Lemma 10.1. Consider a dataset of measurement samples $\left\{ y _ { 1 } , y _ { 2 } , \dots y _ { s } \right\}$ , where each $y _ { i } \in [ t ]$ . We define the empirical version of the vanilla GAN objective as
297
+
298
+ $$
299
+ \operatorname* { m i n } _ { G } \operatorname* { m a x } _ { D } \frac { 1 } { s } \sum _ { i = 1 } ^ { s } \log ( D ( y _ { i } ) ) + \mathbb { E } _ { Y ^ { g } \sim p _ { y } ^ { g } } [ \log ( 1 - D ( Y ^ { g } ) ) ] .
300
+ $$
301
+
302
+ For $j \in [ t ]$ , let $\hat { p } _ { y } ^ { r } ( j ) = \sum \mathbb { I } ( y _ { i } = j ) / s$ be the empirical distribution of samples. Then the optimal discriminator for the empirical objective is such that
303
+
304
+ $$
305
+ D ( \cdot ) = \frac { \hat { p } _ { y } ^ { r } ( \cdot ) } { \hat { p } _ { y } ^ { r } ( \cdot ) + p _ { y } ^ { g } ( \cdot ) } .
306
+ $$
307
+
308
+ Additionally, if we fix the discriminator to be optimal, then any optimal generator must satisfy $p _ { y } ^ { g } = \hat { p } _ { y } ^ { r }$ .
309
+
310
+ Proof. The Empirical Risk Minimization (ERM) version of the loss is equivalent to the taking expectation of the data dependent term with respect to the empirical distribution. Replacing the real data distribution with the empirical version in the proof of Theorem 1 from [Goodfellow et al. (2014)], we obtain the result. □
311
+
312
+ Now we give a proof of Theorem 5.4.
313
+
314
+ Theorem. Assume that each image pixel takes values in a finite set P. Thus $x \in P ^ { n } \subset \mathbb { R } ^ { n }$ . Assume $0 \in P$ , and consider the Block-Pixels measurement model (Section 4) with $p$ being the probability of blocking a pixel. If $p < 1$ , then there is a unique distribution $p _ { x } ^ { r }$ that can induce the measurement distribution $p _ { y } ^ { r }$ . Further, for any $\epsilon > 0$ , $\delta \in ( 0 , 1 ]$ , given a dataset of
315
+
316
+ $$
317
+ s = \Omega \left( \frac { | P | ^ { 2 n } } { { ( 1 - p ) } ^ { 2 n } \epsilon ^ { 2 } } \log { \left( \frac { | P | ^ { n } } { \delta } \right) } \right)
318
+ $$
319
+
320
+ IID measurement samples from $p _ { y } ^ { r }$ , if the discriminator $D$ is optimal, then with probability $\geq 1 - \delta$ over the dataset, any optimal generator $G$ must satisfy $d _ { T V } ( p _ { x } ^ { g } , p _ { x } ^ { r } ) \leq \epsilon$ , where $d _ { T V } ( \cdot , \cdot )$ is the total variation distance.
321
+
322
+ Proof. We first consider a more general case and apply that to the Block-Pixels model. Consider a discrete distribution $p _ { x }$ over $[ t ]$ . We apply random measurement functions to samples from $p _ { x }$ to obtain measurements. Assume that each measurement also belongs to the same set, i.e. $[ t ]$ . Let $A \ \in \ \mathbb { R } ^ { t \times t }$ be the transition matrix so that $A _ { i j }$ is the probability (under the randomness in measurement functions) that measurement $i$ was produced by sample $j$ . Then the distribution over measurements $p _ { y }$ can be written in terms of $p _ { x }$ and $A$ as:
323
+
324
+ $$
325
+ p _ { y } = A p _ { x }
326
+ $$
327
+
328
+ Thus, if the matrix $A$ is invertible, we can guarantee that the distribution $p _ { x }$ is recoverable from $p _ { y }$
329
+
330
+ Assuming $A$ is invertible, we now turn to the sample complexity. Let $\lambda$ be the minimum of magnitude of eigenvalues of $A$ . Since $A$ is invertible, $\lambda > 0$ . Let the dataset of measurements be $\left\{ y _ { 1 } , y _ { 2 } , \dots y _ { s } \right\}$ . For $j \in [ t ]$ and for $k \in [ s ]$ , Let $Y _ { k } ^ { j } = \mathbb { I } ( y _ { k } = j )$ . Then for any $\epsilon > 0$ , we have
331
+
332
+ $$
333
+ \begin{array} { r l } { \mathbb { E } \left( \left| | \hat { \nu } _ { y } ^ { \star } - \bar { p } _ { y } ^ { \star } | \right| \geq \frac { \lambda ^ { 2 } \epsilon ^ { 2 } } { t } \right) = } & { \mathbb { E } \left( \displaystyle \sum _ { i = 1 } ^ { t } \bar { ( \hat { \nu } _ { y } ^ { \star } ( j ) - p _ { i } ^ { \star } ( j ) ) ^ { 2 } } \geq \frac { \lambda ^ { 2 } \epsilon ^ { 2 } } { t } \right) , } \\ & { \leq \mathbb { E } \left( \displaystyle \sum _ { i = 1 } ^ { t } \left( \bar { ( \hat { \nu } _ { y } ^ { \star } ( j ) - p _ { i } ^ { \star } ( j ) ) ^ { 2 } } \geq \frac { \lambda ^ { 2 } \epsilon ^ { 2 } } { \lambda ^ { 2 } } \right) \right) , } \\ & { \leq \displaystyle \sum _ { i = 1 } ^ { t } \mathbb { E } \left( | | \hat { \nu } _ { y } ^ { \star } ( j ) - p _ { i } ^ { \star } ( j ) | \geq \frac { \lambda ^ { 2 } } { t } \right) , } \\ & { = \displaystyle \sum _ { j = 1 } ^ { t } \mathbb { E } \left( \left| \sum _ { i = 1 } ^ { t } \bar { \lambda } _ { i } ^ { j } - p _ { i } ^ { \star } ( j ) \right| \geq \frac { \lambda ^ { 2 } } { t } \right) , } \\ & { \leq \displaystyle \sum _ { j = 1 } ^ { t } \exp \left( | \sum _ { i = 1 } ^ { t } \bar { \lambda } _ { i } ^ { j } - p _ { i } ^ { \star } ( j ) | \right) \lesssim \frac { \lambda ^ { 2 } } { t } \int _ { 0 } ^ { t } \int _ { 0 } ^ { t } \int _ { 0 } ^ { t } \hat { \nu } ( j ) , } \\ & { \leq \displaystyle \sum _ { j = 1 } ^ { t } \exp ( - 2 \lambda \hat { \nu } _ { i } ^ { 2 } \epsilon ^ { 2 } j ) ^ { 2 } , } \\ & { = 2 \exp ( - 2 \lambda \hat { \nu } _ { i } ^ { 2 } \epsilon ^ { 2 } j ) . } \end{array}
334
+ $$
335
+
336
+ where we used union bound and Chernoff inequalities. Setting this to $\delta$ , we get
337
+
338
+ $$
339
+ s = \frac { t ^ { 2 } } { 2 \lambda ^ { 2 } \epsilon ^ { 2 } } \log \left( \frac { 2 t } { \delta } \right) .
340
+ $$
341
+
342
+ From Lemma 10.1, we know that the optimal generator must satisfy $p _ { y } ^ { g } = \hat { p } _ { y } ^ { r }$ . By invertibility of $A$ , we know that $p _ { x } ^ { g } = A ^ { - 1 } p _ { y } ^ { g }$ , and that $p _ { x } ^ { r } = A ^ { - 1 } p _ { y } ^ { r }$ . Thus, we obtain that with probability $\geq 1 - \delta$ ,
343
+
344
+ $$
345
+ \begin{array} { r l } { 2 d _ { T V } ( p _ { z } ^ { \theta } , p _ { x } ^ { \theta ^ { \prime } } ) = \| p _ { x } ^ { \theta } - p _ { x } ^ { \theta ^ { \prime } } \| _ { 0 } , } & { } \\ & { \leq \sqrt { t } \| p _ { x } ^ { \theta ^ { \prime } } - p _ { x } ^ { \theta ^ { \prime } } \| _ { 2 } , } \\ & { = \sqrt { t } \| A ^ { - } \boldsymbol { b } _ { y } ^ { \theta ^ { \prime } } - p _ { x } ^ { \theta ^ { \prime } } \| _ { 2 } , } \\ & { = \sqrt { t } \| A ^ { - } \boldsymbol { b } _ { y } ^ { \theta ^ { \prime } } - p _ { x } ^ { \theta ^ { \prime } } \| _ { 2 } , } \\ & { = \sqrt { t } \| A ^ { - 1 } ( p _ { y } ^ { \theta ^ { \prime } } + \bar { p } _ { y } ^ { \theta ^ { \prime } } - p _ { y } ^ { \theta ^ { \prime } } ) - p _ { x } ^ { \theta ^ { \prime } } \| _ { 2 } , } \\ & { = \sqrt { t } \| p _ { x } ^ { \theta } + A ^ { - 1 } ( \bar { p } _ { y } ^ { \theta ^ { \prime } } - p _ { y } ^ { \theta ^ { \prime } } ) - p _ { z } ^ { \theta ^ { \prime } } \| _ { 2 } , } \\ & { \leq \sqrt { t } \| A ^ { - 1 } \| _ { 2 } \| \bar { p } _ { y } ^ { \theta ^ { \prime } } - p _ { y } ^ { \theta ^ { \prime } } \| _ { 2 } , } \\ & { \leq \sqrt { t } \frac { 1 } { \lambda } \frac { \lambda \epsilon } { \sqrt { t } } , } \\ & { = \epsilon , } \end{array}
346
+ $$
347
+
348
+ Now we turn to the specific case of Block-Pixels measurement. We proceed by dividing the set of all possible $| P | ^ { n }$ images into $n + 1$ classes. The $i \cdot$ -th class has those images that have exactly $i$ pixels with zero value. We sort the images according to their class number (arbitrary ordering within the class) and consider the transition matrix $A$ . Note that given an image from class $i$ it must have $j \geq i$ zero pixels after the measurement. Also, no image in class $i$ can produce another image in the same class after measurements. Thus, the transition matrix is lower triangular.
349
+
350
+ Since each pixel is blocked independently with probability $p$ and since there are $n$ pixels, the event that no pixels are blocked occurs with probability $\left( 1 - p \right) ^ { n }$ . Thus, every image has at least $\left( 1 - p \right) ^ { n }$ chance of being unaffected by the measurements. Any unaffected image maps to itself and thus forms diagonal entries in the transition matrix. So, we observe that the diagonal entries of the transition matrix are strictly positive and their minimum value is $\left( 1 - p \right) ^ { n }$ .
351
+
352
+ For a triangular matrix, the diagonal entries are precisely the eigenvalues and hence we have proved that $A$ is invertible and the smallest eigenvalue is $( 1 { \overset { \cdot } { - } } p ) ^ { n }$ . Combined with the result above, by setting $\lambda = ( 1 - p ) ^ { n }$ , and $t = | P | ^ { n }$ , we conclude the proof.
353
+
354
+ # APPENDIX B
355
+
356
+ # 10.5 MODEL ARCHITECTURE DETAILS
357
+
358
+ The DCGAN model on MNIST follows the architecture in [Radford et al. (2015)]. The noise input to the generator $( Z )$ has 100 dimensions where each coordinate is sampled IID Uniform on $[ - 1 , 1 ]$ . The generator uses two linear layers followed by two deconvolutional layers. The labels are concatenated with the inputs of each layer. The discriminator uses two convolutional layers followed by two linear layers. As with the generator, the labels are concatenated with the inputs of each layer. Batch-norm is used in both generator and the discriminator.
359
+
360
+ The WGANGP model on MNIST follows the architecture in [Gulrajani et al. (2017)]. The generator takes in a latent vector of 128 dimensions where each coordinate is sampled IID Uniform on $[ - 1 , 1 ]$ . The generator then applies one linear and three deconvolutional layers. The discriminator uses three convolutional layers followed by one linear layer. Batch-norm is not used.
361
+
362
+ The unconditional DCGAN model on celebA follows the architecture in [Radford et al. (2015)]. The latent vector has 100 dimensions where each coordinate is Uniform on $[ - 1 , 1 ]$ . The generator applies one linear layer followed by four deconvolutional layers. The discriminator uses four convolutional layers followed by a linear layer. Batch-norm is used in both generator and the discriminator.
363
+
364
+ The ACWGANGP model on CIFAR-10 follows the residual architecture in [Gulrajani et al. (2017)]. The latent vector has 128 dimensions where each coordinate is sampled from IID standard Gaussian distribution. The generator has a linear layer followed by three residual blocks. Each residual block consists of two repetitions of the following three operations: conditional batch normalization followed by a nonlinearity followed by an upconvolution layer. The residual blocks are followed by another conditional batch normalization, a final convolution, and a final tanh non-linearity. The discriminator consists of one residual block with two convolutional layers followed by three residual blocks, and a final linear layer.
365
+
366
+ # APPENDIX C
367
+
368
+ Here, we present some more results for various measurement models.
369
+
370
+ ![](images/ca7d06add2dfe80f231edc8a658745c4533b88b44935c836971a3e73f33713e8.jpg)
371
+ Figure 9: Results on MNIST with (a) Keep-Patch, and (b) Extract-Patch
372
+
373
+ ![](images/c5b12e085f576ef22d46caec7cca7183e549a6388d8f8107ea1b90e57b867b81.jpg)
374
+ Figure 10: Results with Convolve+Noise on MNIST. Each image is blurred with a Gaussian kernel of radius 1 pixel and noise of std dev $\sigma$ is added. Rows from top to bottom have $\sigma = 0 . 0$ , 0.1, 0.2, and 0.5 respectively. Columns from left to right are: (1) Samples of lossy measurements. (2) Samples produced by ignore baseline. (3) Samples produced by unmeasure-wiener-deconvolution baseline. (4) Samples produced by our model.
375
+
376
+ ![](images/f6cf191d70deb607a85f427333ec6a0581f3aa269a992cdeca12b264a59eaaea.jpg)
377
+ Figure 11: Results with Block-Pixels on MNIST. Rows from top to bottom have blocking probability 0.1, 0.5, 0.8, 0.9, 0.95 and 0.99 respectively. Columns from left to right are: (1) Samples of lossy measurements. (2) Samples produced by unmeasure-blur baseline. (3) Samples produced by unmeasure-inpaint-total-variation baseline. (4) Samples produced by our model.
378
+
379
+ ![](images/598e9bf15f2976333e628b0c3515b8d086624e240c50a6a350c5d6db0bd00321.jpg)
380
+ Figure 12: Results with Block-Patch on MNIST. (left) Samples of lossy measurements. A randomly chosen $1 4 \times 1 4$ patch is set to zero. (middle) Samples produced by unmeasure-navier-stokesinpainting baseline. (right) Samples produced by the our model.
381
+
382
+ ![](images/8e787131d99403a6eac017a3188005f1ed0fc521dc0acba534fd1cda9ed88ef4.jpg)
383
+ Figure 13: Results with Convolve+Noise on celebA. Each image is blurred with a Gaussian kernel of radius 1 pixel and noise of std dev $\sigma$ is added. Rows from top to bottom have $\sigma = 0 . 0$ , 0.1, and 0.2 respectively. The left column shows samples of lossy measurements. The right column shows samples produced by our model.
384
+
385
+ ![](images/1129973e5b8c1e39e867b6c0018b3e34038ce4ecc0621896cc7c966320800e08.jpg)
386
+ Figure 14: Results with Block-Pixels on celebA. Rows from top to bottom have blocking probability 0.5, 0.8, 0.9, and 0.98 respectively. The left column shows samples of lossy measurements. The right column shows samples produced by our model.
387
+
388
+ ![](images/3e6bf86af14d4d2e9b35a26e048363cd88fce4af2dd6af479c4dc788b8331634.jpg)
389
+ Figure 15: Results with Block-Pixels on CIFAR-10. Rows from top to bottom have blocking probability 0.1, 0.5, 0.9, and 0.95 respectively. Columns from left to right are: (1) Samples of lossy measurements. (2) Samples produced by unmeasure-blur baseline. (3) Samples produced by our model.
390
+
391
+ ![](images/b81a0314ccd3cda163b7a016813a2544750f870c2e9b1414b33b4095d046b219.jpg)
392
+ Figure 16: MNIST with WGANGP (left) Robustness experiment with Block-Pixels measurement (right) Compressed sensing using AmbientGAN. Vertical bars indicate $9 5 \%$ confidence intervals.
393
+
394
+ # 10.6 ROBUSTNESS TO MEASUREMENT MODEL MISMATCH
395
+
396
+ So far, in our analysis and experiments, we assumed that the parametric form of the measurement function and the distribution of those parameters is exactly known. This was then used for simulating the stochastic measurement process. Here, we consider the case where the parameter distribution is only approximately known. In this case, one would like the training process to be robust, i.e. the quality of the learned generator to be close to the case where the parameter distribution is exactly known. Through the following experiment, we empirically demonstrate that the AmbientGAN approach is robust to systematic mismatches in the parameter distribution of the measurement function.
397
+
398
+ Consider the Block-Pixels measurement model (Section 4). We use the MNIST dataset. Pixels are blocked with probability $p ^ { * } = 0 . 5$ to obtain a dataset of measurements. For several values of blocking probability $p$ for the measurement function applied to the output of the generator, we train AmbientGAN models with this dataset. After training, we compute the inception score of the learned generators and plot it as a function of $p$ in Fig. 16 (left). We note that the plot peaks at $p = p ^ { * } = 0 . 5$ and gradually drops on both sides. This suggests that our method is somewhat robust to parameter distribution mismatch.
399
+
400
+ # 10.7 COMPRESSED SENSING USING AMBIENTGAN
401
+
402
+ We provide further evidence that the generator learned through AmbientGAN approach captures the data distribution well. Generative models have been shown to improve sensing over sparsitybased approaches [Bora et al. (2017)]. We attempt to use the GAN learned using our procedure for compressed sensing.
403
+
404
+ We trained an AmbientGAN with Block-Pixels measurement model (Section 4) on MNIST with $p = 0 . 5$ . Using the learned generator, we followed the rest of the procedure in [Bora et al. (2017)] using their code3. Fig. 16 (right) shows a plot of reconstruction error vs the number of measurements, comparing Lasso with AmbienGAN. Thus, we observe a similar reduction in the number of measurements while using AmbientGAN trained with corrupted samples instead of a regular GAN trained with fully observed samples.
parse/train/Hy7fDog0b/Hy7fDog0b_content_list.json ADDED
@@ -0,0 +1,1941 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "AMBIENTGAN: GENERATIVE MODELS FROM LOSSY MEASUREMENTS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 821,
10
+ 145
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Eric Price ",
17
+ "text_level": 1,
18
+ "bbox": [
19
+ 593,
20
+ 171,
21
+ 665,
22
+ 184
23
+ ],
24
+ "page_idx": 0
25
+ },
26
+ {
27
+ "type": "text",
28
+ "text": "Ashish Bora Department of Computer Science University of Texas at Austin ashish.bora@utexas.edu ",
29
+ "bbox": [
30
+ 184,
31
+ 170,
32
+ 405,
33
+ 226
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Department of Computer Science University of Texas at Austin ecprice@cs.utexas.edu ",
40
+ "bbox": [
41
+ 593,
42
+ 185,
43
+ 813,
44
+ 226
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Alexandros G. Dimakis \nDepartment of Electrical and Computer Engineering \nUniversity of Texas at Austin \ndimakis@austin.utexas.edu ",
51
+ "bbox": [
52
+ 184,
53
+ 247,
54
+ 527,
55
+ 303
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "ABSTRACT ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 454,
65
+ 340,
66
+ 544,
67
+ 354
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Generative models provide a way to model structure in complex distributions and have been shown to be useful for many tasks of practical interest. However, current techniques for training generative models require access to fully-observed samples. In many settings, it is expensive or even impossible to obtain fullyobserved samples, but economical to obtain partial, noisy observations. We consider the task of learning an implicit generative model given only lossy measurements of samples from the distribution of interest. We show that the true underlying distribution can be provably recovered even in the presence of per-sample information loss for a class of measurement models. Based on this, we propose a new method of training Generative Adversarial Networks (GANs) which we call AmbientGAN. On three benchmark datasets, and for various measurement models, we demonstrate substantial qualitative and quantitative improvements. Generative models trained with our method can obtain $2 { - } 4 \\mathbf { x }$ higher inception scores than the baselines. ",
74
+ "bbox": [
75
+ 233,
76
+ 369,
77
+ 764,
78
+ 563
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "1 INTRODUCTION ",
85
+ "text_level": 1,
86
+ "bbox": [
87
+ 176,
88
+ 587,
89
+ 336,
90
+ 603
91
+ ],
92
+ "page_idx": 0
93
+ },
94
+ {
95
+ "type": "text",
96
+ "text": "Generative models are powerful tools to concisely represent the structure in large datasets. An implicit generative model is a mechanism that only specifies a stochastic procedure to produce samples from a probability distribution. These models are attractive since they do not require an explicit parametrization of the probability distribution they are trying to model. ",
97
+ "bbox": [
98
+ 174,
99
+ 617,
100
+ 823,
101
+ 672
102
+ ],
103
+ "page_idx": 0
104
+ },
105
+ {
106
+ "type": "text",
107
+ "text": "Recently, there has been substantial progress in neural-network based implicit generative models within the autoregressive and the adversarial framework. The adversarial framework was pioneered by Generative Adversarial Networks (GANs) [Goodfellow et al. (2014)]. In these models, a generator network attempts to map samples from a simple low-dimensional distribution (such as standard Gaussian) to points in a high-dimensional space that resemble the learned data distribution. At the same time, a discriminator network attempts to distinguish between real and generated samples. By setting up a min-max game between them, the two networks are jointly trained. The latent probability distribution along with the learned generator network define a stochastic procedure that can produce new samples. The adversarial framework has been shown to be extremely successful in modeling complex distributions [Berthelot et al. (2017); Vondrick et al. (2016); Pascual et al. (2017); Wu et al. (2016)], and the priors induced by these models are useful for various applications [Shrivastava et al. (2016); Ho & Ermon (2016)]. ",
108
+ "bbox": [
109
+ 174,
110
+ 680,
111
+ 825,
112
+ 847
113
+ ],
114
+ "page_idx": 0
115
+ },
116
+ {
117
+ "type": "text",
118
+ "text": "This procedure for training generative models requires access to a large number of fully-observed samples from the desired distribution. Unfortunately, obtaining multiple high-resolution samples can be expensive or impractical for some applications. For example, many sensing and tomography problems (e.g. MRI, CT Scan) require a large number of projections for good reconstruction. Compressed sensing [Donoho (2006); Candes et al. (2006)] attempts to ameliorate this problem using models of the data structure. Recent work has shown that generative models can be particularly effective for easier sensing [Bora et al. (2017); Mardani et al. (2017)]—but if sensing is expensive in the first place, how can we collect enough data to train a generative model to start with? ",
119
+ "bbox": [
120
+ 176,
121
+ 854,
122
+ 823,
123
+ 924
124
+ ],
125
+ "page_idx": 0
126
+ },
127
+ {
128
+ "type": "image",
129
+ "img_path": "images/51c37674a10740991f2bd1a893a307af611ee97edd1cbd4ef98a023425af46cc.jpg",
130
+ "image_caption": [
131
+ "Figure 1: AmbientGAN training. The output of the generator is passed through a simulated random measurement function $f _ { \\Theta }$ . The discriminator must decide if a measurement is real or generated. "
132
+ ],
133
+ "image_footnote": [],
134
+ "bbox": [
135
+ 338,
136
+ 102,
137
+ 661,
138
+ 262
139
+ ],
140
+ "page_idx": 1
141
+ },
142
+ {
143
+ "type": "text",
144
+ "text": "",
145
+ "bbox": [
146
+ 174,
147
+ 335,
148
+ 825,
149
+ 377
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "This work solves this chicken-and-egg problem by training a generative model directly from noisy or incomplete samples. We show that our observations can be even projections or more general measurements of different types and the unknown distribution is still provably recoverable. A critical assumption for our framework and theory to work is that the measurement process is known and satisfies certain technical conditions. ",
156
+ "bbox": [
157
+ 174,
158
+ 385,
159
+ 823,
160
+ 454
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "We present several measurement processes for which it is possible to learn a generative model from a dataset of measured samples, both in theory and in practice. Our approach uses a new way of training GANs, which we call AmbientGAN. The idea is simple: rather than distinguish a real image from a generated image as in a traditional GAN, our discriminator must distinguish a real measurement from a simulated measurement of a generated image; see Figure 1. We empirically demonstrate the effectiveness of our approach on three datasets and a variety of measurement models. Our method is able to construct good generative models from extremely noisy observations and even from low dimensional projections with drastic per-sample information loss. We show this qualitatively by exhibiting samples with good visual quality, and quantitatively by comparing inception scores [Salimans et al. (2016)] to baseline methods. ",
167
+ "bbox": [
168
+ 174,
169
+ 462,
170
+ 825,
171
+ 601
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "Theoretical results. We first consider measurements that are noisy, blurred versions of the desired images. That is, we consider convolving the original image with a Gaussian kernel and adding independent Gaussian noise to each pixel (our actual theorem applies to more general kernels and noise distributions). Because of the noise, this process is not invertible for a single image. However, we show that the distribution of measured images uniquely determines the distribution of original images. This implies that a pure Nash equilibrium for the GAN game must find a generative model that matches the true distribution. We show similar results for a dropout measurement model, where each pixel is set to zero with some probability $p$ , and a random projection measurement model, where we observe the inner product of the image with a random Gaussian vector. ",
178
+ "bbox": [
179
+ 174,
180
+ 622,
181
+ 825,
182
+ 747
183
+ ],
184
+ "page_idx": 1
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "Empirical results. Our empirical work also considers measurement models for which we do not have provable guarantees. We present results on some of our models now and defer the full exploration to Section 8. ",
189
+ "bbox": [
190
+ 174,
191
+ 770,
192
+ 823,
193
+ 810
194
+ ],
195
+ "page_idx": 1
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "In Fig. 2, we consider the celebA dataset of celebrity faces [Liu et al. (2015)] under randomly placed occlusions, where a randomly placed square containing $1 / 4$ of the pixels is set to zero. It is hard to inpaint individual images, so cleaning up the data by inpainting and then learning a GAN on the result yields significant artifacts. By incorporating the measurement process into the GAN training, we can produce much better samples. ",
200
+ "bbox": [
201
+ 174,
202
+ 818,
203
+ 823,
204
+ 888
205
+ ],
206
+ "page_idx": 1
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "In Fig. 3a we consider learning from noisy, blurred version of images from the celebA dataset. Each image is convolved with a Gaussian kernel and then IID Gaussian noise is added to each pixel. ",
211
+ "bbox": [
212
+ 174,
213
+ 895,
214
+ 823,
215
+ 922
216
+ ],
217
+ "page_idx": 1
218
+ },
219
+ {
220
+ "type": "image",
221
+ "img_path": "images/a13d65e89fbc9b3770a321646a003f0ee39f8a9dfe231b0f478d90600a07e3e7.jpg",
222
+ "image_caption": [
223
+ "Figure 2: (Left) Samples of lossy measurements used for training. Samples produced by (middle) a baseline that trains from inpainted images, and (right) our model. "
224
+ ],
225
+ "image_footnote": [],
226
+ "bbox": [
227
+ 183,
228
+ 101,
229
+ 815,
230
+ 262
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "(a) (left) Samples of lossy measurements. Each image is a blurred noisy version of the original. Samples produced by (middle) a baseline that uses Wiener deconvolution, and (right) our model. ",
237
+ "bbox": [
238
+ 178,
239
+ 472,
240
+ 475,
241
+ 522
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "image",
247
+ "img_path": "images/bf0c968b12a9a7bfd6dfcfe3afdcfe3d8cea340b86963bc151d3f4620b633895.jpg",
248
+ "image_caption": [
249
+ "Figure 3: Results with Convolve $^ +$ Noise on celebA (left) and 1D-projections on MNIST (right). "
250
+ ],
251
+ "image_footnote": [],
252
+ "bbox": [
253
+ 179,
254
+ 318,
255
+ 470,
256
+ 465
257
+ ],
258
+ "page_idx": 2
259
+ },
260
+ {
261
+ "type": "image",
262
+ "img_path": "images/b28986aaea93b814a4485df540f63b399c089ce755ed9826135a197286bd7b17.jpg",
263
+ "image_caption": [],
264
+ "image_footnote": [],
265
+ "bbox": [
266
+ 496,
267
+ 325,
268
+ 810,
269
+ 445
270
+ ],
271
+ "page_idx": 2
272
+ },
273
+ {
274
+ "type": "text",
275
+ "text": "(b) Samples produced by our model trained from two 1D projections of each image. On left, the training data does not include the angle of the projections, so it cannot identify orientation or chirality. On right, the training data includes the angle. ",
276
+ "bbox": [
277
+ 496,
278
+ 452,
279
+ 818,
280
+ 515
281
+ ],
282
+ "page_idx": 2
283
+ },
284
+ {
285
+ "type": "text",
286
+ "text": "Learning a GAN on images denoised by Wiener deconvolution leads to poor sample quality while our models are able to produce cleaner samples. ",
287
+ "bbox": [
288
+ 173,
289
+ 577,
290
+ 823,
291
+ 606
292
+ ],
293
+ "page_idx": 2
294
+ },
295
+ {
296
+ "type": "text",
297
+ "text": "In Fig. 3b, we consider learning a generative model on the 2D images in the MNIST handwritten digit dataset [LeCun et al. (1998)] from pairs of 1D projections. That is, measurements consist of picking two random lines and projecting the image onto each line, so the observed value along the line is the sum of all pixels that project to that point. We consider two variants: in the first, the choice of line is forgotten, while in the second the measurement includes the choice of line. We find for both variants that AmbientGAN recovers a lot of the underlying structure, although the first variant cannot identify the distribution up to rotation or reflection. ",
298
+ "bbox": [
299
+ 174,
300
+ 612,
301
+ 825,
302
+ 709
303
+ ],
304
+ "page_idx": 2
305
+ },
306
+ {
307
+ "type": "text",
308
+ "text": "2 RELATED WORK ",
309
+ "text_level": 1,
310
+ "bbox": [
311
+ 176,
312
+ 731,
313
+ 344,
314
+ 747
315
+ ],
316
+ "page_idx": 2
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "There are two distinct approaches to constructing neural network based implicit generative models; \nautoregressive [Kingma & Welling (2013); Oord et al. (2016b;a)], and adversarial [Goodfellow et al. \n(2014)]. Some combination approaches have also been successful [Mescheder et al. (2017)]. ",
321
+ "bbox": [
322
+ 174,
323
+ 763,
324
+ 823,
325
+ 805
326
+ ],
327
+ "page_idx": 2
328
+ },
329
+ {
330
+ "type": "text",
331
+ "text": "The adversarial framework has been shown to be extremely powerful in modeling complex data distributions such as images [Radford et al. (2015); Arjovsky et al. (2017); Berthelot et al. (2017)], video [Liang et al. (2017); Vondrick et al. (2016)], and 3D models [Achlioptas et al. (2017); Wu et al. (2016)]. A learned generative model can be useful for many applications. A string of papers [Bora et al. (2017); Zhu et al. (2016); Yeh et al. (2016)] explore the utility of generative priors to solve ill-posed inverse problems. [Shrivastava et al. (2016)] demonstrate that synthetic data can be made more realistic using GANs. [Isola et al. (2016)] and [Zhu et al. (2017)] show how to translate images from one domain to another using GANs. ",
332
+ "bbox": [
333
+ 174,
334
+ 811,
335
+ 825,
336
+ 924
337
+ ],
338
+ "page_idx": 2
339
+ },
340
+ {
341
+ "type": "text",
342
+ "text": "The idea of operating generators and discriminators on different spaces has been proposed before. [Neyshabur et al. (2017)] explores an interesting connection of training stability with low dimensional projections of samples. They show that training a generator against an array of discriminators, each operating on a different low-dimensional projection of the data can improve stability. Our work is also closely related to [Gadelha et al. (2016)] where the authors create 3D object shapes from a dataset of 2D projections. We note that their setup is a special case of the AmbientGAN framework where the measurement process creates 2D projections using weighted sums of voxel occupancies. ",
343
+ "bbox": [
344
+ 174,
345
+ 103,
346
+ 825,
347
+ 202
348
+ ],
349
+ "page_idx": 3
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "3 NOTATION AND OUR APPROACH",
354
+ "text_level": 1,
355
+ "bbox": [
356
+ 176,
357
+ 223,
358
+ 470,
359
+ 238
360
+ ],
361
+ "page_idx": 3
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "Throughout, we use superscript $\\cdot _ { r } ,$ to denote real or true distribution, superscript $\\dot { \\boldsymbol g }$ ’ for the generated distributions, $\\cdot _ { x } { \\mathrm { : } }$ ’ for the underlying space and $\\cdot _ { y } ,$ for measurements. Let $p _ { x } ^ { r }$ be a real underlying distribution over $\\mathbb { R } ^ { n }$ . We observe lossy measurements performed on samples from $p _ { x } ^ { r }$ . If we let $m$ be the size of each observed measurement, then, each measurement is an output of some measurement function $f _ { \\theta } : \\mathbb { R } ^ { n } \\mathbb { R } ^ { m }$ , parameterized by $\\theta$ . We allow the measurement function to be stochastic by letting the parameters of the measurement functions have a distribution $p _ { \\theta }$ . With this notation, for a given $x$ and $\\theta$ , the measurements are given by $y = f _ { \\boldsymbol { \\theta } } ( \\boldsymbol { x } )$ . We assume that it is easy to sample $\\Theta \\sim p _ { \\theta }$ and to compute $f _ { \\boldsymbol { \\theta } } ( \\boldsymbol { x } )$ for any $x$ and $\\theta$ . The distributions $p _ { x } ^ { r }$ and $p _ { \\theta }$ naturally induce a distribution over the measurements $y$ which we shall denote by $p _ { y } ^ { r }$ . In other words, if $X \\sim p _ { x } ^ { r }$ and $\\Theta \\sim p _ { \\theta }$ , then $Y = f _ { \\Theta } ( X ) \\sim p _ { y } ^ { r }$ . ",
366
+ "bbox": [
367
+ 173,
368
+ 255,
369
+ 825,
370
+ 398
371
+ ],
372
+ "page_idx": 3
373
+ },
374
+ {
375
+ "type": "text",
376
+ "text": "Our task is the following: there is some unknown distribution $p _ { x } ^ { r }$ and a known distribution $p _ { \\theta }$ . We are given a set of IID realizations $\\{ y _ { 1 } , y _ { 2 } , \\dots , y _ { s } \\}$ from the distribution $p _ { y } ^ { r }$ . Using these, our goal is to create an implicit generative model of $p _ { x } ^ { r }$ , i.e., a stochastic procedure that can sample from $p _ { x } ^ { r }$ . ",
377
+ "bbox": [
378
+ 176,
379
+ 402,
380
+ 823,
381
+ 445
382
+ ],
383
+ "page_idx": 3
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "Our main idea is to combine the measurement process with the adversarial training framework, as shown in Fig. 1. Just like in the standard GAN setting, let $Z \\in \\mathbb { R } ^ { k } , Z \\sim p _ { z }$ be a random latent vector for a distribution $p _ { z }$ that is easy to sample from, such as IID Gaussian or IID uniform. Let $G : \\mathbb { R } ^ { k } \\mathbb { R } ^ { n }$ be a generator. Let $X ^ { g } = G ( Z )$ , and let $p _ { x } ^ { g }$ be the distribution of $X ^ { g }$ . Thus, our goal is to learn a generator $G$ such that $p _ { x } ^ { g }$ is close to $p _ { x } ^ { r }$ . ",
388
+ "bbox": [
389
+ 173,
390
+ 452,
391
+ 825,
392
+ 523
393
+ ],
394
+ "page_idx": 3
395
+ },
396
+ {
397
+ "type": "text",
398
+ "text": "However, unlike the standard GAN setting, we do not have access to the desired objects $( X \\sim p _ { x } ^ { r } )$ . Instead, we only have a dataset of measurements (samples from $Y \\sim p _ { y } ^ { r } )$ . Our main idea is to simulate random measurements on the generated objects $X ^ { g }$ , and use the discriminator to distinguish real measurements from fake measurements. Thus, we sample a random measurement function $f _ { \\Theta }$ by sampling $\\Theta \\sim p _ { \\theta }$ and apply it on $X ^ { g }$ to obtain $Y ^ { g } = \\bar { { f } _ { \\Theta } } ( X ^ { g } ) = f _ { \\Theta } ( { G } ( Z ) )$ . Let $p _ { y } ^ { g }$ be the distribution of $Y ^ { g }$ . We set up the discriminator to predict if a given $y$ is a sample from the real measurement distribution $p _ { u } ^ { r }$ as opposed to the generated measurement distribution $p _ { y } ^ { g }$ . Thus, the discriminator is a function $\\dot { D } : \\mathbb { R } ^ { \\dot { m } } \\mathbb { R }$ . ",
399
+ "bbox": [
400
+ 173,
401
+ 529,
402
+ 825,
403
+ 640
404
+ ],
405
+ "page_idx": 3
406
+ },
407
+ {
408
+ "type": "text",
409
+ "text": "We let $q ( \\cdot )$ be the quality function that is used to define the objective, based on the discriminator output. For vanilla GAN, $q ( x ) = \\log ( x )$ and for Wasserstein GAN [Arjovsky et al. (2017)], $q ( x ) =$ $x$ . Accordingly, the AmbientGAN objective is the following: ",
410
+ "bbox": [
411
+ 174,
412
+ 647,
413
+ 825,
414
+ 689
415
+ ],
416
+ "page_idx": 3
417
+ },
418
+ {
419
+ "type": "equation",
420
+ "img_path": "images/62b9839fbf2251848f9cd6f14bbe0c62a952784aeb610d7b4af64bd394cf6c92.jpg",
421
+ "text": "$$\n\\operatorname* { m i n } _ { G } \\operatorname* { m a x } _ { D } \\mathbb { E } _ { Y ^ { r } \\sim p _ { y } ^ { r } } [ q ( D ( Y ^ { r } ) ) ] + \\mathbb { E } _ { Z \\sim p _ { z } , \\Theta \\sim p _ { \\theta } } [ q ( 1 - D ( f _ { \\Theta } ( G ( Z ) ) ) ) ] .\n$$",
422
+ "text_format": "latex",
423
+ "bbox": [
424
+ 269,
425
+ 696,
426
+ 725,
427
+ 720
428
+ ],
429
+ "page_idx": 3
430
+ },
431
+ {
432
+ "type": "text",
433
+ "text": "We additionally require $f _ { \\theta }$ to be differentiable with respect to its inputs for all $\\theta$ . We implement $G$ and $D$ as feedforward neural networks. With these assumptions, our model is end-to-end differentiable and can be trained using an approach similar to the standard gradient-based GAN training procedure. In each iteration, we sample $Z \\sim p _ { z }$ , $\\Theta \\sim p _ { \\theta }$ , and $Y ^ { r } \\sim \\mathrm { U N I F } \\{ y _ { 1 } , y _ { 2 } , . . . , y _ { s } \\}$ to use them to compute stochastic gradients of the objective with respect to parameters in $G$ and $D$ by backpropagation. We alternate between updates to parameters of $D$ and updates to parameters of $G$ . ",
434
+ "bbox": [
435
+ 174,
436
+ 734,
437
+ 825,
438
+ 820
439
+ ],
440
+ "page_idx": 3
441
+ },
442
+ {
443
+ "type": "text",
444
+ "text": "We note that our approach is compatible with and complementary to the various improvements proposed to the GAN objective, network architectures, and the training procedures. Additionally, we can easily incorporate additional information, such as per sample labels, in our framework through conditional versions of the generator and discriminator. This is exemplified in our experiments, where we use unconditional and conditional versions of DCGAN [Radford et al. (2015)], unconditional Wasserstein GAN with gradient penalty [Gulrajani et al. (2017)], and an Auxiliary Classifier Wasserstein GAN [Odena et al. (2016)] with gradient penalty. ",
445
+ "bbox": [
446
+ 173,
447
+ 825,
448
+ 825,
449
+ 924
450
+ ],
451
+ "page_idx": 3
452
+ },
453
+ {
454
+ "type": "text",
455
+ "text": "4 MEASUREMENT MODELS ",
456
+ "text_level": 1,
457
+ "bbox": [
458
+ 176,
459
+ 102,
460
+ 416,
461
+ 117
462
+ ],
463
+ "page_idx": 4
464
+ },
465
+ {
466
+ "type": "text",
467
+ "text": "Now, we describe the measurement models that we use for our theoretical and empirical results. We primarily focus on 2D images and thus our measurement models are tailored to this setting. The AmbientGAN learning framework, however, is more general and can be used for other data formats and other measurement models as well. For the rest of this section, we assume that input to the measurement function $( x )$ is a 2D image. We consider the following measurement models: ",
468
+ "bbox": [
469
+ 174,
470
+ 135,
471
+ 825,
472
+ 205
473
+ ],
474
+ "page_idx": 4
475
+ },
476
+ {
477
+ "type": "text",
478
+ "text": "Block-Pixels: Each pixel is independently set to zero with probability $p$ . Convolve+Noise: Let $k$ be a convolution kernel and let $\\Theta \\sim p _ { \\theta }$ be the distribution of noise. Then the measurements are given by $f _ { \\Theta } ( x ) = k * x + \\Theta$ , where $^ *$ is the convolution operator. Block-Patch: A randomly chosen $k \\times k$ patch is set to zero. Keep-Patch: All pixels outside a randomly chosen $k \\times k$ patch are set to zero. Extract-Patch: A random $k \\times k$ patch is extracted. Note that unlike the previous measurement function, the information about the location of the patch is lost. Pad-Rotate-Project: We pad the image on all four sides by zeros. Then we rotate the image by a random angle $\\mathbf { \\eta } ^ { ( \\theta ) }$ about its center. The padding is done to make sure that the original pixels stay within the boundary. Finally, for each channel in the image, we sum the pixels along the vertical axis to get one measurement vector. PadRotate-Project- $\\theta$ : This is the same as the previous measurement function, except that along with the projection values, the chosen angle is also included in the measurements. Gaussian-Projection: We project onto a random Gaussian vector which is included in the measurements. So, $\\Theta \\sim \\mathcal { N } ( 0 , I _ { n } )$ , and $f _ { \\Theta } ( x ) = ( \\Theta , \\langle \\Theta , x \\rangle )$ . ",
479
+ "bbox": [
480
+ 173,
481
+ 212,
482
+ 826,
483
+ 393
484
+ ],
485
+ "page_idx": 4
486
+ },
487
+ {
488
+ "type": "text",
489
+ "text": "5 THEORETICAL RESULTS ",
490
+ "text_level": 1,
491
+ "bbox": [
492
+ 176,
493
+ 416,
494
+ 406,
495
+ 433
496
+ ],
497
+ "page_idx": 4
498
+ },
499
+ {
500
+ "type": "text",
501
+ "text": "We show that we can provably recover the true underlying distribution $p _ { x } ^ { r }$ for certain measurement models. Our broad approach is to show that there is a unique distribution $p _ { x } ^ { r }$ consistent with the observed measurement distribution $p _ { y } ^ { r }$ , i.e., the mapping of distributions of samples $p _ { x } ^ { r }$ to distribution of measurements $p _ { y } ^ { r }$ is invertible even though the map from an individual image $x$ to its measurements $f _ { \\boldsymbol { \\theta } } ( \\boldsymbol { x } )$ is not. If this holds, then the following lemma immediately gives a consistency guarantee with the AmbientGAN training procedure. ",
502
+ "bbox": [
503
+ 173,
504
+ 449,
505
+ 825,
506
+ 535
507
+ ],
508
+ "page_idx": 4
509
+ },
510
+ {
511
+ "type": "text",
512
+ "text": "Lemma 5.1. As in Section 3, let $p _ { x } ^ { r }$ be the data distribution, $p _ { \\theta }$ be the distribution over parameters of the measurement functions and $p _ { y } ^ { r }$ be the induced measurement distribution. Further, assume that for the given $p _ { \\theta }$ , there is a unique probability distribution $p _ { x } ^ { r }$ that induces the given measurement distribution $p _ { y } ^ { r }$ . Then, for the vanilla GAN model [Goodfellow et al. (2014)], if the Discriminator $D$ is optimal, so that $\\begin{array} { r } { D ( \\cdot ) = \\frac { p _ { y } ^ { r } ( \\cdot ) } { p _ { y } ^ { r } ( \\cdot ) + p _ { y } ^ { g } ( \\cdot ) } } \\end{array}$ , then a generator $G$ is optimal iff $p _ { x } ^ { g } = p _ { x } ^ { r }$ . ",
513
+ "bbox": [
514
+ 173,
515
+ 546,
516
+ 825,
517
+ 630
518
+ ],
519
+ "page_idx": 4
520
+ },
521
+ {
522
+ "type": "text",
523
+ "text": "All proofs including this one are deferred to Appendix A. Note that the previous lemma makes a non-trivial assumption of uniqueness of the true underlying distribution given the measurement distribution. The next few theorems show that this assumption is satisfied under Gaussian-Projection, Convolve $^ +$ Noise and Block-Pixels measurement models, thus showing that that we can recover the true underlying distribution with the AmbientGAN framework. ",
524
+ "bbox": [
525
+ 174,
526
+ 647,
527
+ 825,
528
+ 717
529
+ ],
530
+ "page_idx": 4
531
+ },
532
+ {
533
+ "type": "text",
534
+ "text": "Theorem 5.2. For the Gaussian-Projection measurement model (Section 4), there is a unique underlying distribution $p _ { x } ^ { r }$ that can induce the observed measurement distribution $p _ { y } ^ { r }$ . ",
535
+ "bbox": [
536
+ 171,
537
+ 728,
538
+ 823,
539
+ 757
540
+ ],
541
+ "page_idx": 4
542
+ },
543
+ {
544
+ "type": "text",
545
+ "text": "Theorem 5.3. Let $\\mathcal F ( \\cdot )$ denote the Fourier transform and let $\\operatorname { s u p p } ( \\cdot )$ be the support of a function. Consider the Convolve $^ +$ Noise measurement model (Section 4) with the convolution kernel $k$ and additive noise distribution $p _ { \\theta }$ . If $\\operatorname { s u p p } ( \\mathcal { F } ( k ) ) ^ { c } = \\phi$ and $\\operatorname { s u p p } ( \\mathcal { F } ( p _ { \\theta } ) ) ^ { c } = \\phi$ , then there is a unique distribution $p _ { x } ^ { r }$ that can induce the measurement distribution $p _ { y } ^ { r }$ . ",
546
+ "bbox": [
547
+ 174,
548
+ 770,
549
+ 825,
550
+ 828
551
+ ],
552
+ "page_idx": 4
553
+ },
554
+ {
555
+ "type": "text",
556
+ "text": "We remark that the required conditions in the preceding theorem are easily satisfied for the common setting of Gaussian blurring kernel with additive Gaussian noise. The same guarantee can be generalized for any continuous and invertible function instead of a convolution. We omit the details. ",
557
+ "bbox": [
558
+ 174,
559
+ 847,
560
+ 825,
561
+ 888
562
+ ],
563
+ "page_idx": 4
564
+ },
565
+ {
566
+ "type": "text",
567
+ "text": "Our next theorem makes an assumption of a finite discrete set of pixel values. This assumption holds in most practical scenarios since images are represented with a finite number of discrete values per channel. In this setting, in addition to a consistency guarantee, we also give a sample complexity result for approximately learning the distributions in the AmbientGAN framework. ",
568
+ "bbox": [
569
+ 174,
570
+ 895,
571
+ 823,
572
+ 924
573
+ ],
574
+ "page_idx": 4
575
+ },
576
+ {
577
+ "type": "text",
578
+ "text": "",
579
+ "bbox": [
580
+ 169,
581
+ 103,
582
+ 823,
583
+ 132
584
+ ],
585
+ "page_idx": 5
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "Theorem 5.4. Assume that each image pixel takes values in a finite set P. Thus $x \\in P ^ { n } \\subset \\mathbb { R } ^ { n }$ . Assume $0 \\in P$ , and consider the Block-Pixels measurement model (Section 4) with $p$ being the probability of blocking a pixel. If $p < 1$ , then there is a unique distribution $p _ { x } ^ { r }$ that can induce the measurement distribution $p _ { y } ^ { r }$ . Further, for any $\\epsilon > 0$ , $\\delta \\in ( 0 , 1 ]$ , given a dataset of ",
590
+ "bbox": [
591
+ 173,
592
+ 143,
593
+ 825,
594
+ 200
595
+ ],
596
+ "page_idx": 5
597
+ },
598
+ {
599
+ "type": "equation",
600
+ "img_path": "images/4b0919d453f9b40f0e7288b08d2625e343446fdec31acf38fc9c3633a9a835f4.jpg",
601
+ "text": "$$\ns = \\Omega \\left( \\frac { | P | ^ { 2 n } } { \\left( 1 - p \\right) ^ { 2 n } \\epsilon ^ { 2 } } \\log { \\left( \\frac { | P | ^ { n } } { \\delta } \\right) } \\right)\n$$",
602
+ "text_format": "latex",
603
+ "bbox": [
604
+ 377,
605
+ 205,
606
+ 619,
607
+ 248
608
+ ],
609
+ "page_idx": 5
610
+ },
611
+ {
612
+ "type": "text",
613
+ "text": "IID measurement samples from $p _ { y } ^ { r }$ , if the discriminator $D$ is optimal, then with probability $\\geq 1 - \\delta$ over the dataset, any optimal generator $G$ must satisfy $d _ { T V } ( p _ { x } ^ { g } , p _ { x } ^ { r } ) \\leq \\epsilon$ , where $d _ { T V } ( \\cdot , \\cdot )$ is the total variation distance. ",
614
+ "bbox": [
615
+ 174,
616
+ 251,
617
+ 825,
618
+ 295
619
+ ],
620
+ "page_idx": 5
621
+ },
622
+ {
623
+ "type": "text",
624
+ "text": "6 DATASETS AND MODEL ARCHITECTURES ",
625
+ "text_level": 1,
626
+ "bbox": [
627
+ 174,
628
+ 316,
629
+ 550,
630
+ 333
631
+ ],
632
+ "page_idx": 5
633
+ },
634
+ {
635
+ "type": "text",
636
+ "text": "We used three datasets for our experiments. MNIST is a dataset of $2 8 \\times 2 8$ images of handwritten digits [LeCun et al. (1998)]. CelebA is a dataset of face images of celebrities [Liu et al. (2015)]. We use an aligned and cropped version where each image is $6 4 \\times 6 4$ RGB. The CIFAR-10 dataset consists of $3 2 \\times 3 2$ RGB images from 10 different classes [Krizhevsky & Hinton (2009)]. ",
637
+ "bbox": [
638
+ 174,
639
+ 347,
640
+ 825,
641
+ 404
642
+ ],
643
+ "page_idx": 5
644
+ },
645
+ {
646
+ "type": "text",
647
+ "text": "We briefly describe the generative models we used for our experiments. More details on architectures and hyperparameters can be found in the appendix. For the MNIST dataset, we use two GAN models. The first model is a conditional DCGAN which follows the architecture in [Radford et al. $( 2 0 1 5 ) ] ^ { 1 }$ , while the second model is an unconditional Wasserstein GAN with gradient penalty (WGANGP) which follows the architecture in [Gulrajani et al. $( 2 0 1 7 ) ] ^ { 2 }$ . For the celebA dataset, we use an unconditional DCGAN and follow the architecture in [Radford et al. $( 2 0 1 5 ) ] ^ { 3 }$ . For the CIFAR-10 dataset, we use an Auxiliary Classifier Wasserstein GAN with gradient penalty (ACWGANGP) which follows the residual architecture in [Gulrajani et al. $( 2 0 1 7 ) ] ^ { 4 }$ . ",
648
+ "bbox": [
649
+ 174,
650
+ 410,
651
+ 825,
652
+ 522
653
+ ],
654
+ "page_idx": 5
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "For measurements with 2D outputs, i.e. Block-Pixels, Block-Patch, Keep-Patch, Extract-Patch, and Convolve $+$ Noise (see Section 4), we use the same discriminator architectures as in the original work. For 1D projections, i.e. Pad-Rotate-Project, Pad-Rotate-Project- $\\theta$ , we use fully connected discriminators. The architecture of the fully connected discriminator used for the MNIST dataset was 25-25-1 and for the celebA dataset was 100-100-1. ",
659
+ "bbox": [
660
+ 174,
661
+ 529,
662
+ 825,
663
+ 598
664
+ ],
665
+ "page_idx": 5
666
+ },
667
+ {
668
+ "type": "text",
669
+ "text": "7 BASELINES",
670
+ "text_level": 1,
671
+ "bbox": [
672
+ 176,
673
+ 618,
674
+ 300,
675
+ 635
676
+ ],
677
+ "page_idx": 5
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "Now, we describe some baseline approaches that we implemented to evaluate the relative performance of the AmbientGAN framework. Recall that we have a dataset of IID samples $\\{ y _ { 1 } , y _ { 2 } , . . . . y _ { s } \\}$ from the measurement distribution $p _ { y } ^ { r }$ and our goal is to create an implicit generative model for $p _ { x } ^ { r }$ . ",
682
+ "bbox": [
683
+ 174,
684
+ 650,
685
+ 825,
686
+ 693
687
+ ],
688
+ "page_idx": 5
689
+ },
690
+ {
691
+ "type": "text",
692
+ "text": "A crude baseline is to ignore that any measurement happened at all. In other words, for cases where the measurements lie in the same space as the full-samples (for example Convolve+Noise) we can learn a generative model directly on the measurements and test how well it approximates the true distribution $p _ { x } ^ { r }$ . We call this the “ignore” baseline. ",
693
+ "bbox": [
694
+ 174,
695
+ 699,
696
+ 825,
697
+ 755
698
+ ],
699
+ "page_idx": 5
700
+ },
701
+ {
702
+ "type": "text",
703
+ "text": "A stronger baseline is based on the following observation: If the measurement functions $f _ { \\theta }$ were invertible, and we observed $\\theta _ { i }$ for each measurement $y _ { i }$ in our dataset, we could just invert the functions to obtain full-samples $x _ { i } = f _ { \\theta _ { i } } ^ { - 1 } ( y _ { i } )$ . Then we could directly learn a generative model using these full-samples. Notice that both assumptions are violated in the AmbientGAN setting. First, we may not observe $\\theta _ { i }$ and second, the functions may not be invertible. Indeed all the measurement models in Section 4 violate one of the assumptions. However, we can try to approximate an inverse function and use the inverted samples to train a generative model. Thus, given a measurement $y _ { i } = f _ { \\boldsymbol { \\theta } _ { i } } ( x _ { i } )$ , we try to “unmeasure” it and obtain $\\widehat { x } _ { i }$ , an estimate of $x _ { i }$ . We then learn a generative bmodel with the estimated inverse samples and test how well it approximates $p _ { x } ^ { r }$ . ",
704
+ "bbox": [
705
+ 174,
706
+ 762,
707
+ 825,
708
+ 887
709
+ ],
710
+ "page_idx": 5
711
+ },
712
+ {
713
+ "type": "image",
714
+ "img_path": "images/d20502dc83ca7926d16b6fd2c4cd621065c145c49dd096f2d9b7a0a37eb0e91f.jpg",
715
+ "image_caption": [
716
+ "Figure 4: Results with Block-Pixels on celebA. (left) Samples of lossy measurements. Each pixel is blocked independently with probability $p = 0 . 9 5$ . Samples produced by (middle) unmeasure-blur baseline, and (right) our model. "
717
+ ],
718
+ "image_footnote": [],
719
+ "bbox": [
720
+ 174,
721
+ 101,
722
+ 807,
723
+ 199
724
+ ],
725
+ "page_idx": 6
726
+ },
727
+ {
728
+ "type": "image",
729
+ "img_path": "images/e3ace6a56e04f1d401067ba2ef70d66148c3475e4418e1d20de22f705a45806d.jpg",
730
+ "image_caption": [],
731
+ "image_footnote": [],
732
+ "bbox": [
733
+ 174,
734
+ 275,
735
+ 584,
736
+ 372
737
+ ],
738
+ "page_idx": 6
739
+ },
740
+ {
741
+ "type": "text",
742
+ "text": "(a) (left) Samples of lossy measurements. All except a randomly chosen $3 2 \\times 3 2$ patch is set to zero. (right) Samples produced by our model. ",
743
+ "bbox": [
744
+ 173,
745
+ 378,
746
+ 589,
747
+ 404
748
+ ],
749
+ "page_idx": 6
750
+ },
751
+ {
752
+ "type": "image",
753
+ "img_path": "images/1bd8881fd1f6cb91d938ab6218e2a96f539aa0b7b50def00641abf7ce5d3e3fa.jpg",
754
+ "image_caption": [
755
+ "(b) Samples produced by our model with Pad-Rotate-Project- $\\theta$ measurements. ",
756
+ "Figure 5: Results on celebA with (a) Keep-Patch, and (b) 1D projections. "
757
+ ],
758
+ "image_footnote": [],
759
+ "bbox": [
760
+ 612,
761
+ 270,
762
+ 820,
763
+ 367
764
+ ],
765
+ "page_idx": 6
766
+ },
767
+ {
768
+ "type": "text",
769
+ "text": "For the measurement models described in Section 4, we now describe the methods we used to obtain approximate inverse functions: (a) For the Block-Pixels measurements, a simple approximate inverse function is to just blur the image so that zero pixels are filled in from the surrounding. We also implemented a more sophisticated approach to fill in the pixels by using total variation inpainting. (b) For Convolve+Noise measurements with a Gaussian kernel and additive Gaussian Noise, we approximate the inverse by a Wiener deconvolution. (c) For Block-Patch measurements, we use the Navier Stokes based inpainting method [Bertalmio et al. (2001)] to fill in the zero pixels. ",
770
+ "bbox": [
771
+ 174,
772
+ 468,
773
+ 825,
774
+ 565
775
+ ],
776
+ "page_idx": 6
777
+ },
778
+ {
779
+ "type": "text",
780
+ "text": "For other measurement models, it is unclear how to obtain an approximate inverse function. For the Keep-Patch measurement model, no pixels outside a box are known and thus inpainting methods are not suitable. Inverting Extract-Patch measurements is even harder since the information about the position of the patch is also lost. For the Pad-Rotate-Project- $\\theta$ measurements, a conventional technique is to sample many angles, and use techniques for inverting the Radon transform [Deans (2007)]. However, since we observe only a few projections at a time, these methods aren’t readily applicable. Inverting Pad-Rotate-Project measurements is even harder since it lacks information about $\\theta$ . So, on this subset of experiments, we report only the results with the AmbientGAN models. ",
781
+ "bbox": [
782
+ 174,
783
+ 571,
784
+ 825,
785
+ 684
786
+ ],
787
+ "page_idx": 6
788
+ },
789
+ {
790
+ "type": "text",
791
+ "text": "8 QUALITATIVE RESULTS ",
792
+ "text_level": 1,
793
+ "bbox": [
794
+ 176,
795
+ 708,
796
+ 401,
797
+ 724
798
+ ],
799
+ "page_idx": 6
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "We present some samples generated by the baselines and our models. For each experiment, we show the samples from the dataset of measurements $( Y ^ { r } )$ available for training, samples generated by the baselines (when applicable) and the samples generated by our models $( X ^ { g } )$ . We show samples only for a selected value of parameter settings. More results are provided in the appendix. All results on MNIST are deferred to the appendix. ",
804
+ "bbox": [
805
+ 174,
806
+ 742,
807
+ 823,
808
+ 811
809
+ ],
810
+ "page_idx": 6
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "Block-Pixels: Fig. 4 shows results on celebA with DCGAN and Fig. 6 on CIFAR-10 with ACWGANGP. We see that the samples are heavily degraded in our measurement process (left image). Thus, it is challenging for baselines to invert the measurements process, and correspondingly, they do not produce good samples (middle image). Our models are able to produce images with good visual quality (right image). ",
815
+ "bbox": [
816
+ 174,
817
+ 818,
818
+ 823,
819
+ 888
820
+ ],
821
+ "page_idx": 6
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "Convolve+Noise: We use a Gaussian kernel and IID Gaussian noise. Fig. 3a shows results on celebA with DCGAN. We see that the measurements are drowned in noise (left image) and the baselines struggle to extract the original image, giving samples of low quality (middle image). Our models are able to produce samples with clear faces (right image). ",
826
+ "bbox": [
827
+ 174,
828
+ 895,
829
+ 823,
830
+ 924
831
+ ],
832
+ "page_idx": 6
833
+ },
834
+ {
835
+ "type": "image",
836
+ "img_path": "images/75361c5173e18fbc98f3334d46b893d75d6d5138f3a7078abba97c4b84f9d858.jpg",
837
+ "image_caption": [
838
+ "Figure 6: Results with Block-Pixels on CIFAR-10. (left) Samples of lossy measurements. Each pixel is blocked independently with probability $p = 0 . 8$ . Samples produced by (middle) unmeasure-blur baseline, and (right) our model. "
839
+ ],
840
+ "image_footnote": [],
841
+ "bbox": [
842
+ 174,
843
+ 101,
844
+ 805,
845
+ 231
846
+ ],
847
+ "page_idx": 7
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "",
852
+ "bbox": [
853
+ 173,
854
+ 315,
855
+ 823,
856
+ 343
857
+ ],
858
+ "page_idx": 7
859
+ },
860
+ {
861
+ "type": "text",
862
+ "text": "Block-Patch, Keep-Patch: Fig. 2 shows the results for Block-Patch and Fig. 5a for Keep-Patch measurements on celebA with DCGAN. On both measurement distributions, our models are able to create coherent faces (right image) by observing only parts of one image at a time. ",
863
+ "bbox": [
864
+ 174,
865
+ 349,
866
+ 825,
867
+ 392
868
+ ],
869
+ "page_idx": 7
870
+ },
871
+ {
872
+ "type": "text",
873
+ "text": "1D projections: Pad-Rotate-Project and Pad-Rotate-Project- $\\theta$ measurement models exhibit drastic signal degradation; most of the information in a sample is lost during the measurements process. For our experiments, we use two measurements at a time. Fig. 3b shows the results on MNIST with DCGAN. While the first model is able to learn only up to rotation and reflection (left image), we note that generated digits have similar orientations and chirality within each class without any explicit incentive. We hypothesize that the model prefers this mode because it is easier to learn with consistent orientation per class. The second measurement model contains the rotation angle and thus produces upright digits (right image). While in both cases, the generated images are of lesser visual quality, our method demonstrates that we can produce images of digits given only 1D projections. ",
874
+ "bbox": [
875
+ 174,
876
+ 398,
877
+ 825,
878
+ 525
879
+ ],
880
+ "page_idx": 7
881
+ },
882
+ {
883
+ "type": "text",
884
+ "text": "Failure case: In Fig. 5b, we show the samples obtained from our model trained on celebA dataset with Pad-Rotate-Project- $\\cdot \\theta$ measurements with a DCGAN. We see that the model has learned a very crude outline of a face, but lacks details. This highlights the difficulty in learning complex distributions with just 1D projections and a need for better understanding of distribution recovery under projection measurement model as well as better methods for training GANs. ",
885
+ "bbox": [
886
+ 174,
887
+ 531,
888
+ 825,
889
+ 601
890
+ ],
891
+ "page_idx": 7
892
+ },
893
+ {
894
+ "type": "text",
895
+ "text": "9 QUANTITATIVE RESULTS ",
896
+ "text_level": 1,
897
+ "bbox": [
898
+ 176,
899
+ 626,
900
+ 413,
901
+ 642
902
+ ],
903
+ "page_idx": 7
904
+ },
905
+ {
906
+ "type": "text",
907
+ "text": "We report inception scores [Salimans et al. (2016)] to quantify the quality of the generative models learned in the AmbientGAN framework. For the CIFAR-10 dataset, we use the Inception model[Szegedy et al. (2016)] trained on the ImageNet dataset [Deng et al. $( 2 0 0 9 ) ] ^ { 1 }$ . For computing a similar score on MNIST, we trained a classification model with two conv+pool layers followed by two fully connected layers2. The final test set accuracy of this model was $9 9 . 2 \\%$ . ",
908
+ "bbox": [
909
+ 174,
910
+ 660,
911
+ 825,
912
+ 731
913
+ ],
914
+ "page_idx": 7
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "9.1 MNIST ",
919
+ "text_level": 1,
920
+ "bbox": [
921
+ 174,
922
+ 752,
923
+ 269,
924
+ 766
925
+ ],
926
+ "page_idx": 7
927
+ },
928
+ {
929
+ "type": "text",
930
+ "text": "For Block-Pixels measurements on MNIST, we trained several models with our approach and the baselines, each with a different probability $p$ of blocking pixels. For each model, after convergence, we computed the inception score using the network described above. A plot of the inception scores as a function of $p$ is shown in Fig. 7 (left). We note that at $p = 0$ , i.e. if no pixels are blocked, our model is equivalent to a conventional GAN. As we increase $p$ , the baseline models quickly start to perform poorly, while the AmbientGAN models continue to perform relatively well. ",
931
+ "bbox": [
932
+ 174,
933
+ 780,
934
+ 825,
935
+ 864
936
+ ],
937
+ "page_idx": 7
938
+ },
939
+ {
940
+ "type": "image",
941
+ "img_path": "images/d01f15ed3eae1a255775fecb3efc931f67658bcfc06365b5f8467be528ac4be7.jpg",
942
+ "image_caption": [
943
+ "Figure 7: Results on MNIST with WGANGP. (left) Block-Pixels (right) Convolve+Noise "
944
+ ],
945
+ "image_footnote": [],
946
+ "bbox": [
947
+ 189,
948
+ 104,
949
+ 807,
950
+ 270
951
+ ],
952
+ "page_idx": 8
953
+ },
954
+ {
955
+ "type": "image",
956
+ "img_path": "images/caf6bd49ebfdbecfdf4b4bc12e688f2fa0758753cfa2dc0c209d6de8a6134b23.jpg",
957
+ "image_caption": [
958
+ "Figure 8: Quantitative results on CIFAR-10 with ACWGANGP, Block-Pixels measurement. (left) Inception score vs blocking probability $p$ . (right) Inception score vs training iteration with darkness proportional to $1 - p$ . Vertical bars indicate $9 5 \\%$ confidence intervals. "
959
+ ],
960
+ "image_footnote": [],
961
+ "bbox": [
962
+ 189,
963
+ 328,
964
+ 803,
965
+ 492
966
+ ],
967
+ "page_idx": 8
968
+ },
969
+ {
970
+ "type": "text",
971
+ "text": "For the Convolve+Noise measurements with a Gaussian kernel of radius 1 pixel, and additive Gaussian noise with zero mean and standard deviation $\\sigma$ , we trained several models on MNIST by varying the value of $\\sigma$ . A plot of the inception score as a function of $\\sigma$ is shown in Fig. 7 (right). We see that for small variance of additive noise, Wiener deconvolution and the “ignore” baseline perform quite well. However, as we start to increase the noise levels, these baselines quickly deteriorate in performance, while the AmbientGAN models maintain a high inception score. ",
972
+ "bbox": [
973
+ 174,
974
+ 588,
975
+ 825,
976
+ 671
977
+ ],
978
+ "page_idx": 8
979
+ },
980
+ {
981
+ "type": "text",
982
+ "text": "For 1D projection measurements, we report the inception scores for the samples produced by the AmbientGAN models trained with two projection measurements at a time. The Pad-Rotate-Project model produces digits at various orientations and thus does quite poorly, achieving an inception score of just 4.18. The model with Pad-Rotate-Project- $\\cdot \\theta$ measurements produces well-aligned digits and achieves an inception score of 8.12. For comparison, the vanilla GAN model trained with fullyobserved samples achieves an inception score of 8.99. Thus, the second model comes quite close to the performance of the fully-observed case while being trained only on 1D projections. ",
983
+ "bbox": [
984
+ 174,
985
+ 679,
986
+ 825,
987
+ 776
988
+ ],
989
+ "page_idx": 8
990
+ },
991
+ {
992
+ "type": "text",
993
+ "text": "9.2 CIFAR-10 ",
994
+ "text_level": 1,
995
+ "bbox": [
996
+ 174,
997
+ 808,
998
+ 289,
999
+ 821
1000
+ ],
1001
+ "page_idx": 8
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "text": "In Fig. 8 (left), we show a plot of inception score vs the probability of blocking pixels $p$ in the BlockPixels measurement model on CIFAR-10. We note that the total variation inpainting method is quite slow and the performance on MNIST was about the same as unmeasure-blur baseline. So, we do not run inpainting baselines on the CIFAR-10 dataset. From the plots, we see a trend similar to the plot obtained with MNIST (Fig. 7, left), showing the superiority of our approach over baselines. We show the inception score as a function of training iteration in Fig. 8 (right). ",
1006
+ "bbox": [
1007
+ 174,
1008
+ 840,
1009
+ 825,
1010
+ 924
1011
+ ],
1012
+ "page_idx": 8
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "text": "10 CONCLUSION ",
1017
+ "text_level": 1,
1018
+ "bbox": [
1019
+ 176,
1020
+ 102,
1021
+ 330,
1022
+ 118
1023
+ ],
1024
+ "page_idx": 9
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "Generative models are powerful tools, but constructing a generative model requires a large, highquality dataset of the distribution of interest. We show how to relax this requirement, by learning a distribution from a dataset that only contains incomplete, noisy measurements of the distribution. We hope that this will allow for the construction of new generative models of distributions for which no high-quality dataset exists. ",
1029
+ "bbox": [
1030
+ 174,
1031
+ 133,
1032
+ 825,
1033
+ 204
1034
+ ],
1035
+ "page_idx": 9
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "ACKNOWLEDGEMENTS ",
1040
+ "text_level": 1,
1041
+ "bbox": [
1042
+ 176,
1043
+ 227,
1044
+ 367,
1045
+ 241
1046
+ ],
1047
+ "page_idx": 9
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "text": "We would like to thank Philipp Krahenb ¨ uhl, Ajil Jalal, Surbhi Goel, and Jessica Hoffmann for ¨ helpful discussions. This research has been supported by NSF Grants CCF 1407278, 1422549, 1618689, DMS 1723052, ARO YIP W911NF-14-1-0258 and NVIDIA Corporation. ",
1052
+ "bbox": [
1053
+ 174,
1054
+ 257,
1055
+ 825,
1056
+ 299
1057
+ ],
1058
+ "page_idx": 9
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "REFERENCES ",
1063
+ "text_level": 1,
1064
+ "bbox": [
1065
+ 176,
1066
+ 321,
1067
+ 285,
1068
+ 335
1069
+ ],
1070
+ "page_idx": 9
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "Panos Achlioptas, Olga Diamanti, Ioannis Mitliagkas, and Leonidas Guibas. Representation learning and adversarial generation of 3d point clouds. arXiv preprint arXiv:1707.02392, 2017. \nMartin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein gan. ´ arXiv preprint arXiv:1701.07875, 2017. \nMarcelo Bertalmio, Andrea L Bertozzi, and Guillermo Sapiro. Navier-stokes, fluid dynamics, and image and video inpainting. In Computer Vision and Pattern Recognition, 2001. CVPR 2001. Proceedings of the 2001 IEEE Computer Society Conference on, volume 1, pp. I–I. IEEE, 2001. \nDavid Berthelot, Tom Schumm, and Luke Metz. Began: Boundary equilibrium generative adversarial networks. arXiv preprint arXiv:1703.10717, 2017. \nAshish Bora, Ajil Jalal, Eric Price, and Alexandros G Dimakis. Compressed sensing using generative models. arXiv preprint arXiv:1703.03208, 2017. \nEmmanuel J Candes, Justin K Romberg, and Terence Tao. Stable signal recovery from incomplete and inaccurate measurements. Communications on pure and applied mathematics, 59(8):1207– 1223, 2006. \nHarald Cramer and Herman Wold. Some theorems on distribution functions. ´ Journal of the London Mathematical Society, 1(4):290–294, 1936. \nStanley R Deans. The Radon transform and some of its applications. Courier Corporation, 2007. \nJia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on, pp. 248–255. IEEE, 2009. \nDavid L Donoho. Compressed sensing. IEEE Transactions on information theory, 52(4):1289– 1306, 2006. \nMatheus Gadelha, Subhransu Maji, and Rui Wang. 3d shape induction from 2d views of multiple objects. arXiv preprint arXiv:1612.05872, 2016. \nIan Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014. \nIshaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017. \nJonathan Ho and Stefano Ermon. Generative adversarial imitation learning. In Advances in Neural Information Processing Systems, pp. 4565–4573, 2016. \nPhillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. arXiv preprint arXiv:1611.07004, 2016. \nDiederik $\\mathrm { \\bf P }$ Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013. \nAlex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009. \nYann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. \nXiaodan Liang, Lisa Lee, Wei Dai, and Eric P Xing. Dual motion gan for future-flow embedded video prediction. arXiv preprint arXiv:1708.00284, 2017. \nZiwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of the IEEE International Conference on Computer Vision, pp. 3730–3738, 2015. \nMorteza Mardani, Enhao Gong, Joseph Y Cheng, Shreyas Vasanawala, Greg Zaharchuk, Marcus Alley, Neil Thakur, Song Han, William Dally, John M Pauly, et al. Deep generative adversarial networks for compressed sensing automates mri. arXiv preprint arXiv:1706.00051, 2017. \nLars Mescheder, Sebastian Nowozin, and Andreas Geiger. Adversarial variational bayes: Unifying variational autoencoders and generative adversarial networks. arXiv preprint arXiv:1701.04722, 2017. \nBehnam Neyshabur, Srinadh Bhojanapalli, and Ayan Chakrabarti. Stabilizing gan training with multiple random projections. arXiv preprint arXiv:1705.07831, 2017. \nAugustus Odena, Christopher Olah, and Jonathon Shlens. Conditional image synthesis with auxiliary classifier gans. arXiv preprint arXiv:1610.09585, 2016. \nAaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016a. \nAaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. arXiv preprint arXiv:1601.06759, 2016b. \nSantiago Pascual, Antonio Bonafonte, and Joan Serra. Segan: Speech enhancement generative \\` adversarial network. arXiv preprint arXiv:1703.09452, 2017. \nAlec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015. \nTim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. In Advances in Neural Information Processing Systems, pp. 2234–2242, 2016. \nAshish Shrivastava, Tomas Pfister, Oncel Tuzel, Josh Susskind, Wenda Wang, and Russ Webb. Learning from simulated and unsupervised images through adversarial training. arXiv preprint arXiv:1612.07828, 2016. \nChristian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2818–2826, 2016. \nCarl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In Advances In Neural Information Processing Systems, pp. 613–621, 2016. \nJiajun Wu, Chengkai Zhang, Tianfan Xue, Bill Freeman, and Josh Tenenbaum. Learning a probabilistic latent space of object shapes via 3d generative-adversarial modeling. In Advances in Neural Information Processing Systems, pp. 82–90, 2016. \nRaymond Yeh, Chen Chen, Teck Yian Lim, Mark Hasegawa-Johnson, and Minh N Do. Semantic image inpainting with perceptual and contextual losses. arXiv preprint arXiv:1607.07539, 2016. ",
1075
+ "bbox": [
1076
+ 169,
1077
+ 340,
1078
+ 826,
1079
+ 926
1080
+ ],
1081
+ "page_idx": 9
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "",
1086
+ "bbox": [
1087
+ 171,
1088
+ 63,
1089
+ 828,
1090
+ 930
1091
+ ],
1092
+ "page_idx": 10
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "Jun-Yan Zhu, Philipp Krahenb ¨ uhl, Eli Shechtman, and Alexei A Efros. Generative visual manipu- ¨ lation on the natural image manifold. In European Conference on Computer Vision, pp. 597–613. Springer, 2016. ",
1097
+ "bbox": [
1098
+ 173,
1099
+ 103,
1100
+ 823,
1101
+ 145
1102
+ ],
1103
+ "page_idx": 11
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. arXiv preprint arXiv:1703.10593, 2017. ",
1108
+ "bbox": [
1109
+ 173,
1110
+ 155,
1111
+ 823,
1112
+ 184
1113
+ ],
1114
+ "page_idx": 11
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "APPENDIX A ",
1119
+ "text_level": 1,
1120
+ "bbox": [
1121
+ 176,
1122
+ 102,
1123
+ 282,
1124
+ 117
1125
+ ],
1126
+ "page_idx": 12
1127
+ },
1128
+ {
1129
+ "type": "text",
1130
+ "text": "10.1 PROOF OF LEMMA 5.1 ",
1131
+ "text_level": 1,
1132
+ "bbox": [
1133
+ 176,
1134
+ 133,
1135
+ 379,
1136
+ 148
1137
+ ],
1138
+ "page_idx": 12
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Lemma. As in Section 3, let $p _ { x } ^ { r }$ be the data distribution, $p _ { \\theta }$ be the distribution over parameters of the measurement functions and $p _ { y } ^ { r }$ be the induced measurement distribution. Further, assume that for the given $p _ { \\theta }$ , there is a unique probability distribution $p _ { x } ^ { r }$ that induces the given measurement distribution $p _ { y } ^ { r }$ . Then, for the vanilla GAN model [Goodfellow et al. (2014)], if the Discriminator $D$ is optimal, so that ",
1143
+ "bbox": [
1144
+ 173,
1145
+ 160,
1146
+ 826,
1147
+ 231
1148
+ ],
1149
+ "page_idx": 12
1150
+ },
1151
+ {
1152
+ "type": "equation",
1153
+ "img_path": "images/62d0a65029769107f54493af1c6430cda8aa03fdc21a2c6741da7e96685e6407.jpg",
1154
+ "text": "$$\nD ( \\cdot ) = \\frac { p _ { y } ^ { r } ( \\cdot ) } { p _ { y } ^ { r } ( \\cdot ) + p _ { y } ^ { g } ( \\cdot ) } ,\n$$",
1155
+ "text_format": "latex",
1156
+ "bbox": [
1157
+ 423,
1158
+ 231,
1159
+ 573,
1160
+ 268
1161
+ ],
1162
+ "page_idx": 12
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "then a generator $G$ is optimal iff $p _ { x } ^ { g } = p _ { x } ^ { r }$ ",
1167
+ "bbox": [
1168
+ 176,
1169
+ 272,
1170
+ 449,
1171
+ 287
1172
+ ],
1173
+ "page_idx": 12
1174
+ },
1175
+ {
1176
+ "type": "text",
1177
+ "text": "Proof. From the same argument as in Theorem 1 in [Goodfellow et al. (2014)], it follows that $p _ { y } ^ { g } =$ $p _ { y } ^ { r }$ . Then, since there is a unique probability distribution $p _ { x } ^ { r }$ that can induce the given measurement distribution, it follows that $p _ { x } ^ { g } = p _ { x } ^ { r }$ . The converse is trivially true. □ ",
1178
+ "bbox": [
1179
+ 174,
1180
+ 308,
1181
+ 825,
1182
+ 351
1183
+ ],
1184
+ "page_idx": 12
1185
+ },
1186
+ {
1187
+ "type": "text",
1188
+ "text": "10.2 PROOF OF THEOREM 5.2 ",
1189
+ "text_level": 1,
1190
+ "bbox": [
1191
+ 176,
1192
+ 368,
1193
+ 395,
1194
+ 382
1195
+ ],
1196
+ "page_idx": 12
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "Theorem. For the Gaussian-Projection measurement model (Section 4), there is a unique underlying distribution $p _ { x } ^ { r }$ that can induce the observed measurement distribution $p _ { y } ^ { r }$ . ",
1201
+ "bbox": [
1202
+ 173,
1203
+ 395,
1204
+ 821,
1205
+ 424
1206
+ ],
1207
+ "page_idx": 12
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "Proof. We note that Since $\\Theta \\sim \\mathcal { N } ( 0 , I _ { n } )$ , all possible directions for projections are covered. Further, since the measurement model includes the projection vector $\\Theta$ as a part of the measurements, in order to match the measurement distribution, the underlying distribution $p _ { x } ^ { r }$ must be such that all 1D marginals are matched. Thus, by Cramer-Wold theorem [Cramer & Wold (1936)], any sequence ´ of random vectors that match the 1D marginals must converge in distribution to the true underlying distribution. Thus, in particular, there is a unique probability distribution $p _ { x } ^ { r }$ that can match all 1D marginals obtained with the Gaussian projection measurements. □ ",
1212
+ "bbox": [
1213
+ 173,
1214
+ 444,
1215
+ 825,
1216
+ 544
1217
+ ],
1218
+ "page_idx": 12
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "10.3 PROOF OF THEOREM 5.3 ",
1223
+ "text_level": 1,
1224
+ "bbox": [
1225
+ 176,
1226
+ 561,
1227
+ 395,
1228
+ 575
1229
+ ],
1230
+ "page_idx": 12
1231
+ },
1232
+ {
1233
+ "type": "text",
1234
+ "text": "Theorem. Let $\\mathcal F ( \\cdot )$ denote the Fourier transform and let $\\operatorname { s u p p } ( \\cdot )$ be the support of a function. Consider the Convolve+Noise measurement model (Section 4) with the convolution kernel $k$ and additive noise distribution $p _ { \\theta }$ . If $\\operatorname { s u p p } ( \\mathcal { F } ( k ) ) ^ { c } = \\phi$ and $\\operatorname { s u p p } ( \\mathcal { F } ( p _ { \\theta } ) ) ^ { c } = \\phi$ , then there is a unique distribution $p _ { x } ^ { r }$ that can induce the measurement distribution $p _ { y } ^ { r }$ . ",
1235
+ "bbox": [
1236
+ 173,
1237
+ 588,
1238
+ 825,
1239
+ 646
1240
+ ],
1241
+ "page_idx": 12
1242
+ },
1243
+ {
1244
+ "type": "text",
1245
+ "text": "Proof. Let $X \\sim p _ { x }$ . Let $\\Theta \\sim p _ { \\theta }$ . Let $Z = k * X$ so that $Z \\sim p _ { z }$ , and $Y = Z + \\Theta$ , so $Y \\sim p _ { y }$ . With a slight abuse of notation, we will denote the probability density functions (pdf) also by $p$ subscripted with the variable name. Then we have ",
1246
+ "bbox": [
1247
+ 174,
1248
+ 664,
1249
+ 823,
1250
+ 707
1251
+ ],
1252
+ "page_idx": 12
1253
+ },
1254
+ {
1255
+ "type": "equation",
1256
+ "img_path": "images/d96fe201a3fd6042e3258cd73f6021e7f9e29443d10f8b1e379fdcb8bcf6f44c.jpg",
1257
+ "text": "$$\n\\begin{array} { r l } & { \\quad \\quad Z = k * X , } \\\\ & { \\Leftrightarrow \\mathcal { F } ( Z ) = \\mathcal { F } ( k ) \\mathcal { F } ( X ) , } \\\\ & { \\Leftrightarrow \\mathcal { F } ( X ) = \\mathcal { F } ( Z ) / \\mathcal { F } ( k ) , } \\\\ & { \\quad \\quad \\Leftrightarrow X = \\mathcal { F } ^ { - 1 } ( \\mathcal { F } ( Z ) / \\mathcal { F } ( k ) ) , } \\end{array}\n$$",
1258
+ "text_format": "latex",
1259
+ "bbox": [
1260
+ 388,
1261
+ 714,
1262
+ 606,
1263
+ 790
1264
+ ],
1265
+ "page_idx": 12
1266
+ },
1267
+ {
1268
+ "type": "text",
1269
+ "text": "where the penultimate step follows since by assumption, $\\mathcal { F } ( k )$ is nowhere 0. In the last step, ${ \\mathcal { F } } ^ { - 1 }$ is the inverse Fourier transform. ",
1270
+ "bbox": [
1271
+ 174,
1272
+ 797,
1273
+ 823,
1274
+ 827
1275
+ ],
1276
+ "page_idx": 12
1277
+ },
1278
+ {
1279
+ "type": "text",
1280
+ "text": "Thus, there is a bijective map between $X$ and $Z$ . Since the Fourier and the inverse Fourier are continuous transformations, this map is also continuous. So, we can write $Z = h ( X )$ , where $h$ is a bijective, differentiable function. So, the pdfs of $X$ and $Z$ are related as ",
1281
+ "bbox": [
1282
+ 174,
1283
+ 832,
1284
+ 825,
1285
+ 876
1286
+ ],
1287
+ "page_idx": 12
1288
+ },
1289
+ {
1290
+ "type": "equation",
1291
+ "img_path": "images/a8fa707e601de110cc6d3dffd3f4c0746553dd6f2971fee6f5b42785108b1297.jpg",
1292
+ "text": "$$\np _ { x } ( \\cdot ) = p _ { z } ( h ( \\cdot ) ) \\left| { \\operatorname* { d e t } ( J _ { h } ( \\cdot ) ) } \\right| ,\n$$",
1293
+ "text_format": "latex",
1294
+ "bbox": [
1295
+ 397,
1296
+ 883,
1297
+ 599,
1298
+ 901
1299
+ ],
1300
+ "page_idx": 12
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "text": "where $J _ { h } ( \\widetilde { x } )$ is the Jacobian of $h$ evaluated at $\\tilde { x }$ ",
1305
+ "bbox": [
1306
+ 174,
1307
+ 909,
1308
+ 488,
1309
+ 924
1310
+ ],
1311
+ "page_idx": 12
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "Now, note that since Y is a sum of two random variables, its pdf is a convolution of the individual probability density functions. So we have: ",
1316
+ "bbox": [
1317
+ 171,
1318
+ 103,
1319
+ 825,
1320
+ 132
1321
+ ],
1322
+ "page_idx": 13
1323
+ },
1324
+ {
1325
+ "type": "equation",
1326
+ "img_path": "images/866a1545a097a85875989ceef6fbf6d2dc1920680f9aec16585595e7b6322e1b.jpg",
1327
+ "text": "$$\np _ { y } = p _ { z } * p _ { \\theta }\n$$",
1328
+ "text_format": "latex",
1329
+ "bbox": [
1330
+ 454,
1331
+ 143,
1332
+ 544,
1333
+ 159
1334
+ ],
1335
+ "page_idx": 13
1336
+ },
1337
+ {
1338
+ "type": "text",
1339
+ "text": "Taking the Fourier transform on both sides, we have ",
1340
+ "bbox": [
1341
+ 173,
1342
+ 172,
1343
+ 517,
1344
+ 188
1345
+ ],
1346
+ "page_idx": 13
1347
+ },
1348
+ {
1349
+ "type": "equation",
1350
+ "img_path": "images/507ce0682c787b2d3a0a5e3bf99efceedff3a613d0adf7d9a2c650f510eb9a64.jpg",
1351
+ "text": "$$\n\\begin{array} { r l } & { \\mathcal { F } ( { p _ { y } } ) = \\mathcal { F } ( { p _ { z } } ) \\mathcal { F } ( { p _ { \\theta } } ) , } \\\\ & { \\Leftrightarrow \\mathcal { F } ( { p _ { z } } ) = \\mathcal { F } ( { p _ { y } } ) / \\mathcal { F } ( { p _ { \\theta } } ) , } \\\\ & { \\qquad \\Leftrightarrow p _ { z } = \\mathcal { F } ^ { - 1 } ( \\mathcal { F } ( { p _ { y } } ) / \\mathcal { F } ( { p _ { \\theta } } ) ) , } \\end{array}\n$$",
1352
+ "text_format": "latex",
1353
+ "bbox": [
1354
+ 382,
1355
+ 195,
1356
+ 611,
1357
+ 253
1358
+ ],
1359
+ "page_idx": 13
1360
+ },
1361
+ {
1362
+ "type": "text",
1363
+ "text": "where the penultimate step follows since by assumption, $\\mathcal { F } ( p _ { \\theta } )$ is nowhere 0. ",
1364
+ "bbox": [
1365
+ 174,
1366
+ 258,
1367
+ 681,
1368
+ 275
1369
+ ],
1370
+ "page_idx": 13
1371
+ },
1372
+ {
1373
+ "type": "text",
1374
+ "text": "Combining the two results, we have a reverse map from the measurement distribution $p _ { y }$ to a sample distribution $p _ { x }$ . Thus, the reverse map uniquely determines the true underlying distribution $p _ { x }$ , concluding the proof. □ ",
1375
+ "bbox": [
1376
+ 174,
1377
+ 280,
1378
+ 825,
1379
+ 323
1380
+ ],
1381
+ "page_idx": 13
1382
+ },
1383
+ {
1384
+ "type": "text",
1385
+ "text": "10.4 PROOF OF THEOREM 5.4 ",
1386
+ "text_level": 1,
1387
+ "bbox": [
1388
+ 176,
1389
+ 340,
1390
+ 395,
1391
+ 356
1392
+ ],
1393
+ "page_idx": 13
1394
+ },
1395
+ {
1396
+ "type": "text",
1397
+ "text": "We first state a slightly different version of Theorem 1 from [Goodfellow et al. (2014)] for the discrete setting. We shall use $[ n ]$ to denote the set $\\{ 1 , 2 , \\ldots n \\}$ , and use $\\mathbb { I } ( \\cdot )$ to denote the indicator function. ",
1398
+ "bbox": [
1399
+ 174,
1400
+ 367,
1401
+ 825,
1402
+ 410
1403
+ ],
1404
+ "page_idx": 13
1405
+ },
1406
+ {
1407
+ "type": "text",
1408
+ "text": "Lemma 10.1. Consider a dataset of measurement samples $\\left\\{ y _ { 1 } , y _ { 2 } , \\dots y _ { s } \\right\\}$ , where each $y _ { i } \\in [ t ]$ . We define the empirical version of the vanilla GAN objective as ",
1409
+ "bbox": [
1410
+ 171,
1411
+ 421,
1412
+ 825,
1413
+ 452
1414
+ ],
1415
+ "page_idx": 13
1416
+ },
1417
+ {
1418
+ "type": "equation",
1419
+ "img_path": "images/8b45d254a508389e3edb9f376a32288b299eb5969fd17ce46c2d8c0b5a8d2d18.jpg",
1420
+ "text": "$$\n\\operatorname* { m i n } _ { G } \\operatorname* { m a x } _ { D } \\frac { 1 } { s } \\sum _ { i = 1 } ^ { s } \\log ( D ( y _ { i } ) ) + \\mathbb { E } _ { Y ^ { g } \\sim p _ { y } ^ { g } } [ \\log ( 1 - D ( Y ^ { g } ) ) ] .\n$$",
1421
+ "text_format": "latex",
1422
+ "bbox": [
1423
+ 308,
1424
+ 469,
1425
+ 687,
1426
+ 511
1427
+ ],
1428
+ "page_idx": 13
1429
+ },
1430
+ {
1431
+ "type": "text",
1432
+ "text": "For $j \\in [ t ]$ , let $\\hat { p } _ { y } ^ { r } ( j ) = \\sum \\mathbb { I } ( y _ { i } = j ) / s$ be the empirical distribution of samples. Then the optimal discriminator for the empirical objective is such that ",
1433
+ "bbox": [
1434
+ 173,
1435
+ 523,
1436
+ 825,
1437
+ 551
1438
+ ],
1439
+ "page_idx": 13
1440
+ },
1441
+ {
1442
+ "type": "equation",
1443
+ "img_path": "images/2d9bac6052711648cea3bcde00e035dac665bd9ebd164fb855046f77a5a325d8.jpg",
1444
+ "text": "$$\nD ( \\cdot ) = \\frac { \\hat { p } _ { y } ^ { r } ( \\cdot ) } { \\hat { p } _ { y } ^ { r } ( \\cdot ) + p _ { y } ^ { g } ( \\cdot ) } .\n$$",
1445
+ "text_format": "latex",
1446
+ "bbox": [
1447
+ 423,
1448
+ 559,
1449
+ 575,
1450
+ 598
1451
+ ],
1452
+ "page_idx": 13
1453
+ },
1454
+ {
1455
+ "type": "text",
1456
+ "text": "Additionally, if we fix the discriminator to be optimal, then any optimal generator must satisfy $p _ { y } ^ { g } = \\hat { p } _ { y } ^ { r }$ . ",
1457
+ "bbox": [
1458
+ 173,
1459
+ 611,
1460
+ 821,
1461
+ 642
1462
+ ],
1463
+ "page_idx": 13
1464
+ },
1465
+ {
1466
+ "type": "text",
1467
+ "text": "Proof. The Empirical Risk Minimization (ERM) version of the loss is equivalent to the taking expectation of the data dependent term with respect to the empirical distribution. Replacing the real data distribution with the empirical version in the proof of Theorem 1 from [Goodfellow et al. (2014)], we obtain the result. □ ",
1468
+ "bbox": [
1469
+ 173,
1470
+ 660,
1471
+ 825,
1472
+ 717
1473
+ ],
1474
+ "page_idx": 13
1475
+ },
1476
+ {
1477
+ "type": "text",
1478
+ "text": "Now we give a proof of Theorem 5.4. ",
1479
+ "bbox": [
1480
+ 174,
1481
+ 737,
1482
+ 419,
1483
+ 752
1484
+ ],
1485
+ "page_idx": 13
1486
+ },
1487
+ {
1488
+ "type": "text",
1489
+ "text": "Theorem. Assume that each image pixel takes values in a finite set P. Thus $x \\in P ^ { n } \\subset \\mathbb { R } ^ { n }$ . Assume $0 \\in P$ , and consider the Block-Pixels measurement model (Section 4) with $p$ being the probability of blocking a pixel. If $p < 1$ , then there is a unique distribution $p _ { x } ^ { r }$ that can induce the measurement distribution $p _ { y } ^ { r }$ . Further, for any $\\epsilon > 0$ , $\\delta \\in ( 0 , 1 ]$ , given a dataset of ",
1490
+ "bbox": [
1491
+ 173,
1492
+ 763,
1493
+ 825,
1494
+ 820
1495
+ ],
1496
+ "page_idx": 13
1497
+ },
1498
+ {
1499
+ "type": "equation",
1500
+ "img_path": "images/616207b7dacd45af5b70f3363761c941636f1be09a9216a49bfe369a0c575757.jpg",
1501
+ "text": "$$\ns = \\Omega \\left( \\frac { | P | ^ { 2 n } } { { ( 1 - p ) } ^ { 2 n } \\epsilon ^ { 2 } } \\log { \\left( \\frac { | P | ^ { n } } { \\delta } \\right) } \\right)\n$$",
1502
+ "text_format": "latex",
1503
+ "bbox": [
1504
+ 379,
1505
+ 829,
1506
+ 619,
1507
+ 872
1508
+ ],
1509
+ "page_idx": 13
1510
+ },
1511
+ {
1512
+ "type": "text",
1513
+ "text": "IID measurement samples from $p _ { y } ^ { r }$ , if the discriminator $D$ is optimal, then with probability $\\geq 1 - \\delta$ over the dataset, any optimal generator $G$ must satisfy $d _ { T V } ( p _ { x } ^ { g } , p _ { x } ^ { r } ) \\leq \\epsilon$ , where $d _ { T V } ( \\cdot , \\cdot )$ is the total variation distance. ",
1514
+ "bbox": [
1515
+ 174,
1516
+ 880,
1517
+ 825,
1518
+ 924
1519
+ ],
1520
+ "page_idx": 13
1521
+ },
1522
+ {
1523
+ "type": "text",
1524
+ "text": "Proof. We first consider a more general case and apply that to the Block-Pixels model. Consider a discrete distribution $p _ { x }$ over $[ t ]$ . We apply random measurement functions to samples from $p _ { x }$ to obtain measurements. Assume that each measurement also belongs to the same set, i.e. $[ t ]$ . Let $A \\ \\in \\ \\mathbb { R } ^ { t \\times t }$ be the transition matrix so that $A _ { i j }$ is the probability (under the randomness in measurement functions) that measurement $i$ was produced by sample $j$ . Then the distribution over measurements $p _ { y }$ can be written in terms of $p _ { x }$ and $A$ as: ",
1525
+ "bbox": [
1526
+ 173,
1527
+ 102,
1528
+ 825,
1529
+ 188
1530
+ ],
1531
+ "page_idx": 14
1532
+ },
1533
+ {
1534
+ "type": "equation",
1535
+ "img_path": "images/a299bc5561077c871700bd622efe3e4597f5e5fddc9dd9d337384010ac15823d.jpg",
1536
+ "text": "$$\np _ { y } = A p _ { x }\n$$",
1537
+ "text_format": "latex",
1538
+ "bbox": [
1539
+ 464,
1540
+ 194,
1541
+ 534,
1542
+ 212
1543
+ ],
1544
+ "page_idx": 14
1545
+ },
1546
+ {
1547
+ "type": "text",
1548
+ "text": "Thus, if the matrix $A$ is invertible, we can guarantee that the distribution $p _ { x }$ is recoverable from $p _ { y }$ ",
1549
+ "bbox": [
1550
+ 169,
1551
+ 224,
1552
+ 821,
1553
+ 241
1554
+ ],
1555
+ "page_idx": 14
1556
+ },
1557
+ {
1558
+ "type": "text",
1559
+ "text": "Assuming $A$ is invertible, we now turn to the sample complexity. Let $\\lambda$ be the minimum of magnitude of eigenvalues of $A$ . Since $A$ is invertible, $\\lambda > 0$ . Let the dataset of measurements be $\\left\\{ y _ { 1 } , y _ { 2 } , \\dots y _ { s } \\right\\}$ . For $j \\in [ t ]$ and for $k \\in [ s ]$ , Let $Y _ { k } ^ { j } = \\mathbb { I } ( y _ { k } = j )$ . Then for any $\\epsilon > 0$ , we have ",
1560
+ "bbox": [
1561
+ 174,
1562
+ 246,
1563
+ 825,
1564
+ 292
1565
+ ],
1566
+ "page_idx": 14
1567
+ },
1568
+ {
1569
+ "type": "equation",
1570
+ "img_path": "images/423a4cc5d97a5141e7ce0e4a1680aa5241e2cb88d826c7d5721b314b9636e976.jpg",
1571
+ "text": "$$\n\\begin{array} { r l } { \\mathbb { E } \\left( \\left| | \\hat { \\nu } _ { y } ^ { \\star } - \\bar { p } _ { y } ^ { \\star } | \\right| \\geq \\frac { \\lambda ^ { 2 } \\epsilon ^ { 2 } } { t } \\right) = } & { \\mathbb { E } \\left( \\displaystyle \\sum _ { i = 1 } ^ { t } \\bar { ( \\hat { \\nu } _ { y } ^ { \\star } ( j ) - p _ { i } ^ { \\star } ( j ) ) ^ { 2 } } \\geq \\frac { \\lambda ^ { 2 } \\epsilon ^ { 2 } } { t } \\right) , } \\\\ & { \\leq \\mathbb { E } \\left( \\displaystyle \\sum _ { i = 1 } ^ { t } \\left( \\bar { ( \\hat { \\nu } _ { y } ^ { \\star } ( j ) - p _ { i } ^ { \\star } ( j ) ) ^ { 2 } } \\geq \\frac { \\lambda ^ { 2 } \\epsilon ^ { 2 } } { \\lambda ^ { 2 } } \\right) \\right) , } \\\\ & { \\leq \\displaystyle \\sum _ { i = 1 } ^ { t } \\mathbb { E } \\left( | | \\hat { \\nu } _ { y } ^ { \\star } ( j ) - p _ { i } ^ { \\star } ( j ) | \\geq \\frac { \\lambda ^ { 2 } } { t } \\right) , } \\\\ & { = \\displaystyle \\sum _ { j = 1 } ^ { t } \\mathbb { E } \\left( \\left| \\sum _ { i = 1 } ^ { t } \\bar { \\lambda } _ { i } ^ { j } - p _ { i } ^ { \\star } ( j ) \\right| \\geq \\frac { \\lambda ^ { 2 } } { t } \\right) , } \\\\ & { \\leq \\displaystyle \\sum _ { j = 1 } ^ { t } \\exp \\left( | \\sum _ { i = 1 } ^ { t } \\bar { \\lambda } _ { i } ^ { j } - p _ { i } ^ { \\star } ( j ) | \\right) \\lesssim \\frac { \\lambda ^ { 2 } } { t } \\int _ { 0 } ^ { t } \\int _ { 0 } ^ { t } \\int _ { 0 } ^ { t } \\hat { \\nu } ( j ) , } \\\\ & { \\leq \\displaystyle \\sum _ { j = 1 } ^ { t } \\exp ( - 2 \\lambda \\hat { \\nu } _ { i } ^ { 2 } \\epsilon ^ { 2 } j ) ^ { 2 } , } \\\\ & { = 2 \\exp ( - 2 \\lambda \\hat { \\nu } _ { i } ^ { 2 } \\epsilon ^ { 2 } j ) . } \\end{array}\n$$",
1572
+ "text_format": "latex",
1573
+ "bbox": [
1574
+ 267,
1575
+ 315,
1576
+ 728,
1577
+ 570
1578
+ ],
1579
+ "page_idx": 14
1580
+ },
1581
+ {
1582
+ "type": "text",
1583
+ "text": "where we used union bound and Chernoff inequalities. Setting this to $\\delta$ , we get ",
1584
+ "bbox": [
1585
+ 171,
1586
+ 575,
1587
+ 694,
1588
+ 592
1589
+ ],
1590
+ "page_idx": 14
1591
+ },
1592
+ {
1593
+ "type": "equation",
1594
+ "img_path": "images/c8274a440875c533750d02b5d2c133d4a4cc7dcd669cca04bca7eb7105d3183a.jpg",
1595
+ "text": "$$\ns = \\frac { t ^ { 2 } } { 2 \\lambda ^ { 2 } \\epsilon ^ { 2 } } \\log \\left( \\frac { 2 t } { \\delta } \\right) .\n$$",
1596
+ "text_format": "latex",
1597
+ "bbox": [
1598
+ 423,
1599
+ 597,
1600
+ 575,
1601
+ 632
1602
+ ],
1603
+ "page_idx": 14
1604
+ },
1605
+ {
1606
+ "type": "text",
1607
+ "text": "From Lemma 10.1, we know that the optimal generator must satisfy $p _ { y } ^ { g } = \\hat { p } _ { y } ^ { r }$ . By invertibility of $A$ , we know that $p _ { x } ^ { g } = A ^ { - 1 } p _ { y } ^ { g }$ , and that $p _ { x } ^ { r } = A ^ { - 1 } p _ { y } ^ { r }$ . Thus, we obtain that with probability $\\geq 1 - \\delta$ , ",
1608
+ "bbox": [
1609
+ 174,
1610
+ 645,
1611
+ 825,
1612
+ 678
1613
+ ],
1614
+ "page_idx": 14
1615
+ },
1616
+ {
1617
+ "type": "equation",
1618
+ "img_path": "images/2b0d9f1a2d34dd6eedfd51ceb4b31ec2a21b08bfa2e4a3fcaec52567d32482fc.jpg",
1619
+ "text": "$$\n\\begin{array} { r l } { 2 d _ { T V } ( p _ { z } ^ { \\theta } , p _ { x } ^ { \\theta ^ { \\prime } } ) = \\| p _ { x } ^ { \\theta } - p _ { x } ^ { \\theta ^ { \\prime } } \\| _ { 0 } , } & { } \\\\ & { \\leq \\sqrt { t } \\| p _ { x } ^ { \\theta ^ { \\prime } } - p _ { x } ^ { \\theta ^ { \\prime } } \\| _ { 2 } , } \\\\ & { = \\sqrt { t } \\| A ^ { - } \\boldsymbol { b } _ { y } ^ { \\theta ^ { \\prime } } - p _ { x } ^ { \\theta ^ { \\prime } } \\| _ { 2 } , } \\\\ & { = \\sqrt { t } \\| A ^ { - } \\boldsymbol { b } _ { y } ^ { \\theta ^ { \\prime } } - p _ { x } ^ { \\theta ^ { \\prime } } \\| _ { 2 } , } \\\\ & { = \\sqrt { t } \\| A ^ { - 1 } ( p _ { y } ^ { \\theta ^ { \\prime } } + \\bar { p } _ { y } ^ { \\theta ^ { \\prime } } - p _ { y } ^ { \\theta ^ { \\prime } } ) - p _ { x } ^ { \\theta ^ { \\prime } } \\| _ { 2 } , } \\\\ & { = \\sqrt { t } \\| p _ { x } ^ { \\theta } + A ^ { - 1 } ( \\bar { p } _ { y } ^ { \\theta ^ { \\prime } } - p _ { y } ^ { \\theta ^ { \\prime } } ) - p _ { z } ^ { \\theta ^ { \\prime } } \\| _ { 2 } , } \\\\ & { \\leq \\sqrt { t } \\| A ^ { - 1 } \\| _ { 2 } \\| \\bar { p } _ { y } ^ { \\theta ^ { \\prime } } - p _ { y } ^ { \\theta ^ { \\prime } } \\| _ { 2 } , } \\\\ & { \\leq \\sqrt { t } \\frac { 1 } { \\lambda } \\frac { \\lambda \\epsilon } { \\sqrt { t } } , } \\\\ & { = \\epsilon , } \\end{array}\n$$",
1620
+ "text_format": "latex",
1621
+ "bbox": [
1622
+ 333,
1623
+ 702,
1624
+ 663,
1625
+ 905
1626
+ ],
1627
+ "page_idx": 14
1628
+ },
1629
+ {
1630
+ "type": "text",
1631
+ "text": "Now we turn to the specific case of Block-Pixels measurement. We proceed by dividing the set of all possible $| P | ^ { n }$ images into $n + 1$ classes. The $i \\cdot$ -th class has those images that have exactly $i$ pixels with zero value. We sort the images according to their class number (arbitrary ordering within the class) and consider the transition matrix $A$ . Note that given an image from class $i$ it must have $j \\geq i$ zero pixels after the measurement. Also, no image in class $i$ can produce another image in the same class after measurements. Thus, the transition matrix is lower triangular. ",
1632
+ "bbox": [
1633
+ 174,
1634
+ 103,
1635
+ 825,
1636
+ 188
1637
+ ],
1638
+ "page_idx": 15
1639
+ },
1640
+ {
1641
+ "type": "text",
1642
+ "text": "Since each pixel is blocked independently with probability $p$ and since there are $n$ pixels, the event that no pixels are blocked occurs with probability $\\left( 1 - p \\right) ^ { n }$ . Thus, every image has at least $\\left( 1 - p \\right) ^ { n }$ chance of being unaffected by the measurements. Any unaffected image maps to itself and thus forms diagonal entries in the transition matrix. So, we observe that the diagonal entries of the transition matrix are strictly positive and their minimum value is $\\left( 1 - p \\right) ^ { n }$ . ",
1643
+ "bbox": [
1644
+ 174,
1645
+ 194,
1646
+ 825,
1647
+ 263
1648
+ ],
1649
+ "page_idx": 15
1650
+ },
1651
+ {
1652
+ "type": "text",
1653
+ "text": "For a triangular matrix, the diagonal entries are precisely the eigenvalues and hence we have proved that $A$ is invertible and the smallest eigenvalue is $( 1 { \\overset { \\cdot } { - } } p ) ^ { n }$ . Combined with the result above, by setting $\\lambda = ( 1 - p ) ^ { n }$ , and $t = | P | ^ { n }$ , we conclude the proof. ",
1654
+ "bbox": [
1655
+ 174,
1656
+ 271,
1657
+ 823,
1658
+ 313
1659
+ ],
1660
+ "page_idx": 15
1661
+ },
1662
+ {
1663
+ "type": "text",
1664
+ "text": "APPENDIX B ",
1665
+ "text_level": 1,
1666
+ "bbox": [
1667
+ 176,
1668
+ 354,
1669
+ 281,
1670
+ 371
1671
+ ],
1672
+ "page_idx": 15
1673
+ },
1674
+ {
1675
+ "type": "text",
1676
+ "text": "10.5 MODEL ARCHITECTURE DETAILS ",
1677
+ "text_level": 1,
1678
+ "bbox": [
1679
+ 178,
1680
+ 386,
1681
+ 454,
1682
+ 400
1683
+ ],
1684
+ "page_idx": 15
1685
+ },
1686
+ {
1687
+ "type": "text",
1688
+ "text": "The DCGAN model on MNIST follows the architecture in [Radford et al. (2015)]. The noise input to the generator $( Z )$ has 100 dimensions where each coordinate is sampled IID Uniform on $[ - 1 , 1 ]$ . The generator uses two linear layers followed by two deconvolutional layers. The labels are concatenated with the inputs of each layer. The discriminator uses two convolutional layers followed by two linear layers. As with the generator, the labels are concatenated with the inputs of each layer. Batch-norm is used in both generator and the discriminator. ",
1689
+ "bbox": [
1690
+ 174,
1691
+ 411,
1692
+ 825,
1693
+ 496
1694
+ ],
1695
+ "page_idx": 15
1696
+ },
1697
+ {
1698
+ "type": "text",
1699
+ "text": "The WGANGP model on MNIST follows the architecture in [Gulrajani et al. (2017)]. The generator takes in a latent vector of 128 dimensions where each coordinate is sampled IID Uniform on $[ - 1 , 1 ]$ . The generator then applies one linear and three deconvolutional layers. The discriminator uses three convolutional layers followed by one linear layer. Batch-norm is not used. ",
1700
+ "bbox": [
1701
+ 174,
1702
+ 502,
1703
+ 825,
1704
+ 559
1705
+ ],
1706
+ "page_idx": 15
1707
+ },
1708
+ {
1709
+ "type": "text",
1710
+ "text": "The unconditional DCGAN model on celebA follows the architecture in [Radford et al. (2015)]. The latent vector has 100 dimensions where each coordinate is Uniform on $[ - 1 , 1 ]$ . The generator applies one linear layer followed by four deconvolutional layers. The discriminator uses four convolutional layers followed by a linear layer. Batch-norm is used in both generator and the discriminator. ",
1711
+ "bbox": [
1712
+ 174,
1713
+ 565,
1714
+ 825,
1715
+ 621
1716
+ ],
1717
+ "page_idx": 15
1718
+ },
1719
+ {
1720
+ "type": "text",
1721
+ "text": "The ACWGANGP model on CIFAR-10 follows the residual architecture in [Gulrajani et al. (2017)]. The latent vector has 128 dimensions where each coordinate is sampled from IID standard Gaussian distribution. The generator has a linear layer followed by three residual blocks. Each residual block consists of two repetitions of the following three operations: conditional batch normalization followed by a nonlinearity followed by an upconvolution layer. The residual blocks are followed by another conditional batch normalization, a final convolution, and a final tanh non-linearity. The discriminator consists of one residual block with two convolutional layers followed by three residual blocks, and a final linear layer. ",
1722
+ "bbox": [
1723
+ 174,
1724
+ 628,
1725
+ 825,
1726
+ 739
1727
+ ],
1728
+ "page_idx": 15
1729
+ },
1730
+ {
1731
+ "type": "text",
1732
+ "text": "APPENDIX C ",
1733
+ "text_level": 1,
1734
+ "bbox": [
1735
+ 176,
1736
+ 760,
1737
+ 282,
1738
+ 776
1739
+ ],
1740
+ "page_idx": 15
1741
+ },
1742
+ {
1743
+ "type": "text",
1744
+ "text": "Here, we present some more results for various measurement models. ",
1745
+ "bbox": [
1746
+ 178,
1747
+ 792,
1748
+ 630,
1749
+ 806
1750
+ ],
1751
+ "page_idx": 15
1752
+ },
1753
+ {
1754
+ "type": "image",
1755
+ "img_path": "images/ca7d06add2dfe80f231edc8a658745c4533b88b44935c836971a3e73f33713e8.jpg",
1756
+ "image_caption": [
1757
+ "Figure 9: Results on MNIST with (a) Keep-Patch, and (b) Extract-Patch "
1758
+ ],
1759
+ "image_footnote": [],
1760
+ "bbox": [
1761
+ 173,
1762
+ 112,
1763
+ 823,
1764
+ 280
1765
+ ],
1766
+ "page_idx": 16
1767
+ },
1768
+ {
1769
+ "type": "image",
1770
+ "img_path": "images/c5b12e085f576ef22d46caec7cca7183e549a6388d8f8107ea1b90e57b867b81.jpg",
1771
+ "image_caption": [
1772
+ "Figure 10: Results with Convolve+Noise on MNIST. Each image is blurred with a Gaussian kernel of radius 1 pixel and noise of std dev $\\sigma$ is added. Rows from top to bottom have $\\sigma = 0 . 0$ , 0.1, 0.2, and 0.5 respectively. Columns from left to right are: (1) Samples of lossy measurements. (2) Samples produced by ignore baseline. (3) Samples produced by unmeasure-wiener-deconvolution baseline. (4) Samples produced by our model. "
1773
+ ],
1774
+ "image_footnote": [],
1775
+ "bbox": [
1776
+ 181,
1777
+ 339,
1778
+ 816,
1779
+ 827
1780
+ ],
1781
+ "page_idx": 16
1782
+ },
1783
+ {
1784
+ "type": "image",
1785
+ "img_path": "images/f6cf191d70deb607a85f427333ec6a0581f3aa269a992cdeca12b264a59eaaea.jpg",
1786
+ "image_caption": [
1787
+ "Figure 11: Results with Block-Pixels on MNIST. Rows from top to bottom have blocking probability 0.1, 0.5, 0.8, 0.9, 0.95 and 0.99 respectively. Columns from left to right are: (1) Samples of lossy measurements. (2) Samples produced by unmeasure-blur baseline. (3) Samples produced by unmeasure-inpaint-total-variation baseline. (4) Samples produced by our model. "
1788
+ ],
1789
+ "image_footnote": [],
1790
+ "bbox": [
1791
+ 181,
1792
+ 116,
1793
+ 816,
1794
+ 845
1795
+ ],
1796
+ "page_idx": 17
1797
+ },
1798
+ {
1799
+ "type": "image",
1800
+ "img_path": "images/598e9bf15f2976333e628b0c3515b8d086624e240c50a6a350c5d6db0bd00321.jpg",
1801
+ "image_caption": [
1802
+ "Figure 12: Results with Block-Patch on MNIST. (left) Samples of lossy measurements. A randomly chosen $1 4 \\times 1 4$ patch is set to zero. (middle) Samples produced by unmeasure-navier-stokesinpainting baseline. (right) Samples produced by the our model. "
1803
+ ],
1804
+ "image_footnote": [],
1805
+ "bbox": [
1806
+ 256,
1807
+ 121,
1808
+ 741,
1809
+ 244
1810
+ ],
1811
+ "page_idx": 18
1812
+ },
1813
+ {
1814
+ "type": "image",
1815
+ "img_path": "images/8e787131d99403a6eac017a3188005f1ed0fc521dc0acba534fd1cda9ed88ef4.jpg",
1816
+ "image_caption": [
1817
+ "Figure 13: Results with Convolve+Noise on celebA. Each image is blurred with a Gaussian kernel of radius 1 pixel and noise of std dev $\\sigma$ is added. Rows from top to bottom have $\\sigma = 0 . 0$ , 0.1, and 0.2 respectively. The left column shows samples of lossy measurements. The right column shows samples produced by our model. "
1818
+ ],
1819
+ "image_footnote": [],
1820
+ "bbox": [
1821
+ 289,
1822
+ 347,
1823
+ 709,
1824
+ 832
1825
+ ],
1826
+ "page_idx": 18
1827
+ },
1828
+ {
1829
+ "type": "image",
1830
+ "img_path": "images/1129973e5b8c1e39e867b6c0018b3e34038ce4ecc0621896cc7c966320800e08.jpg",
1831
+ "image_caption": [
1832
+ "Figure 14: Results with Block-Pixels on celebA. Rows from top to bottom have blocking probability 0.5, 0.8, 0.9, and 0.98 respectively. The left column shows samples of lossy measurements. The right column shows samples produced by our model. "
1833
+ ],
1834
+ "image_footnote": [],
1835
+ "bbox": [
1836
+ 289,
1837
+ 162,
1838
+ 709,
1839
+ 808
1840
+ ],
1841
+ "page_idx": 19
1842
+ },
1843
+ {
1844
+ "type": "image",
1845
+ "img_path": "images/3e6bf86af14d4d2e9b35a26e048363cd88fce4af2dd6af479c4dc788b8331634.jpg",
1846
+ "image_caption": [
1847
+ "Figure 15: Results with Block-Pixels on CIFAR-10. Rows from top to bottom have blocking probability 0.1, 0.5, 0.9, and 0.95 respectively. Columns from left to right are: (1) Samples of lossy measurements. (2) Samples produced by unmeasure-blur baseline. (3) Samples produced by our model. "
1848
+ ],
1849
+ "image_footnote": [],
1850
+ "bbox": [
1851
+ 184,
1852
+ 148,
1853
+ 813,
1854
+ 803
1855
+ ],
1856
+ "page_idx": 20
1857
+ },
1858
+ {
1859
+ "type": "image",
1860
+ "img_path": "images/b81a0314ccd3cda163b7a016813a2544750f870c2e9b1414b33b4095d046b219.jpg",
1861
+ "image_caption": [
1862
+ "Figure 16: MNIST with WGANGP (left) Robustness experiment with Block-Pixels measurement (right) Compressed sensing using AmbientGAN. Vertical bars indicate $9 5 \\%$ confidence intervals. "
1863
+ ],
1864
+ "image_footnote": [],
1865
+ "bbox": [
1866
+ 189,
1867
+ 140,
1868
+ 810,
1869
+ 311
1870
+ ],
1871
+ "page_idx": 21
1872
+ },
1873
+ {
1874
+ "type": "text",
1875
+ "text": "10.6 ROBUSTNESS TO MEASUREMENT MODEL MISMATCH ",
1876
+ "text_level": 1,
1877
+ "bbox": [
1878
+ 176,
1879
+ 383,
1880
+ 584,
1881
+ 397
1882
+ ],
1883
+ "page_idx": 21
1884
+ },
1885
+ {
1886
+ "type": "text",
1887
+ "text": "So far, in our analysis and experiments, we assumed that the parametric form of the measurement function and the distribution of those parameters is exactly known. This was then used for simulating the stochastic measurement process. Here, we consider the case where the parameter distribution is only approximately known. In this case, one would like the training process to be robust, i.e. the quality of the learned generator to be close to the case where the parameter distribution is exactly known. Through the following experiment, we empirically demonstrate that the AmbientGAN approach is robust to systematic mismatches in the parameter distribution of the measurement function. ",
1888
+ "bbox": [
1889
+ 174,
1890
+ 409,
1891
+ 825,
1892
+ 507
1893
+ ],
1894
+ "page_idx": 21
1895
+ },
1896
+ {
1897
+ "type": "text",
1898
+ "text": "Consider the Block-Pixels measurement model (Section 4). We use the MNIST dataset. Pixels are blocked with probability $p ^ { * } = 0 . 5$ to obtain a dataset of measurements. For several values of blocking probability $p$ for the measurement function applied to the output of the generator, we train AmbientGAN models with this dataset. After training, we compute the inception score of the learned generators and plot it as a function of $p$ in Fig. 16 (left). We note that the plot peaks at $p = p ^ { * } = 0 . 5$ and gradually drops on both sides. This suggests that our method is somewhat robust to parameter distribution mismatch. ",
1899
+ "bbox": [
1900
+ 174,
1901
+ 513,
1902
+ 825,
1903
+ 611
1904
+ ],
1905
+ "page_idx": 21
1906
+ },
1907
+ {
1908
+ "type": "text",
1909
+ "text": "10.7 COMPRESSED SENSING USING AMBIENTGAN ",
1910
+ "text_level": 1,
1911
+ "bbox": [
1912
+ 174,
1913
+ 628,
1914
+ 540,
1915
+ 642
1916
+ ],
1917
+ "page_idx": 21
1918
+ },
1919
+ {
1920
+ "type": "text",
1921
+ "text": "We provide further evidence that the generator learned through AmbientGAN approach captures the data distribution well. Generative models have been shown to improve sensing over sparsitybased approaches [Bora et al. (2017)]. We attempt to use the GAN learned using our procedure for compressed sensing. ",
1922
+ "bbox": [
1923
+ 174,
1924
+ 654,
1925
+ 825,
1926
+ 710
1927
+ ],
1928
+ "page_idx": 21
1929
+ },
1930
+ {
1931
+ "type": "text",
1932
+ "text": "We trained an AmbientGAN with Block-Pixels measurement model (Section 4) on MNIST with $p = 0 . 5$ . Using the learned generator, we followed the rest of the procedure in [Bora et al. (2017)] using their code3. Fig. 16 (right) shows a plot of reconstruction error vs the number of measurements, comparing Lasso with AmbienGAN. Thus, we observe a similar reduction in the number of measurements while using AmbientGAN trained with corrupted samples instead of a regular GAN trained with fully observed samples. ",
1933
+ "bbox": [
1934
+ 173,
1935
+ 717,
1936
+ 825,
1937
+ 800
1938
+ ],
1939
+ "page_idx": 21
1940
+ }
1941
+ ]
parse/train/Hy7fDog0b/Hy7fDog0b_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Hy7fDog0b/Hy7fDog0b_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/IpmfpAGoH2KbX/IpmfpAGoH2KbX.md ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Deep learning and the renormalization group
2
+
3
+ # Cedric B ´ eny ´
4
+
5
+ Institut fur Theoretische Physik ¨ Leibniz Universitat Hannover ¨ Appelstraße 2, 30167 Hannover, Germany cedric.beny@gmail.com
6
+
7
+ # Abstract
8
+
9
+ Renormalization group (RG) methods, which model the way in which the effective behavior of a system depends on the scale at which it is observed, are key to modern condensed-matter theory and particle physics. We compare the ideas behind the RG on the one hand and deep machine learning on the other, where depth and scale play a similar role. In order to illustrate this connection, we review a recent numerical method based on the RG—the multiscale entanglement renormalization ansatz (MERA)—and show how it can be converted into a learning algorithm based on a generative hierarchical Bayesian network model. Under the assumption—common in physics—that the distribution to be learned is fully characterized by local correlations, this algorithm involves only explicit evaluation of probabilities, hence doing away with sampling.
10
+
11
+ Natural sciences extend the process by which we intuitively discover patterns in our sensory data to domains beyond our natural sensory abilities, but also beyond our intuitive reasoning abilities. Already, machine learning methods are becoming important in fields where the patterns are too complex to be modeled with simple equations, and too far removed from intuition to be comprehended without formal tools.
12
+
13
+ Physics may seem an unlikely candidate for application of machine learning, given that it specifically focuses on systems which can be understood with simple laws. Nevertheless, these very compact laws have to be compared to experiments, and hence require a “decompression” process which rapidly leads to overwhelming levels of complexity.
14
+
15
+ The renormalization group (RG) was designed to handle some of these complexities and had a tremendous influence in particle physics and condensed-matter physics [1]. It models the dependence of a system’s effective behavior on a parameter which is usually thought of as scale or energy, but which we will think of here as depth. Although the RG idea is not recent, new approaches have emerged which have the potential to fully automatize it [2–5]. These methods are designed for simulation rather than learning, but, because they are defined through clever representations of certain classes of (quantum) states, they can be adapted to learning tasks as well [6, 7].
16
+
17
+ In this paper, I will explain how one of these methods (the multiscale entanglement renormalization ansatz [8]) can be made into a deep learning algorithm for classical probability distributions, assuming no prior knowledge of RG or MERA, nor of quantum mechanics. The machine learning framework task that I am considering is that of building a representation of a probability distribution which optimizes the likelihood of the training data.
18
+
19
+ # 1 The renormalization group
20
+
21
+ Let us take the point of view of condensed matter physics, where the system of interest is a $d$ - dimensional lattice which we think of as a graph $\Gamma$ which could be embedded in $\mathbb { R } ^ { d }$ in such a way that the edges loosely indicate proximity of sites. Hence we can think of it as a discrete version of a $d$ -dimensional space. We take the graph as fixed once and for all, but we associate with each vertex $v$ , which we call a site, a random variable $X _ { v }$ which can take any of $n$ possible values. The joint probability distribution for all these variables will be referred to as the lattice’s state, and is the object that we want to model.
22
+
23
+ In the context of machine learning, an example would be a probability distribution over images. In this example, the dimension is $d = 2$ , the sites are pixels linked to their four neighbors, and the random variables are the pixels color values.
24
+
25
+ Physicists are often interested in such system at thermal equilibrium, where the state can be encoded in a ridiculously compact way through the system’s Hamiltonian, or energy function, which is proportional to the logarithm of the probability distribution. What makes this description compact is that the Hamiltonian is usually a sum of local functions, i.e., functions which depend only on a little group of neighboring sites. Hence, the state is a Markov random field with respect to the graph $\Gamma$ .
26
+
27
+ However, deducing any property of the state from the Hamiltonian (such as marginal probabilities) is generally very difficult. In fact, the large majority of the work done in theoretical physics is purely concerned with doing just that: deriving approximate properties of systems whose state is defined by a given Hamiltonian, i.e., decompressing the Hamiltonian description, so that predictions can be compared to experiments. In this sense, the Hamiltonian, although it is a compact representation of the state, is not very useful as a representation of what one knows about the system’s properties.
28
+
29
+ A Hamiltonian is not, however, entirely useless. Given a Hamiltonian, it is relatively easy to make predictions about short-range correlations. For instance, by sampling the distribution using a MonteCarlo simulation. However, the computational cost grows exponentially with the range of the correlations.
30
+
31
+ The RG approach is based on the observation that longer range correlations can often be summarized by an effective Hamiltonian on a smaller array of coarse-grained random variables which are, for instance, averages of neighboring sites. That is, one can build a stochastic map from the state of the system to that of coarser array of new variables in such a way that the new state can also be described by a local Hamiltonian. This process can be iterated, leading to a hierarchy of effective Hamiltonians labeled by a scale. This family, if it could be computed, would provide an efficient encoding of the system’s behavior at all scales.
32
+
33
+ The actual choice of “binning”, i.e., the form of the stochastic maps which implement the coarsegrainings, is an essential element of the process, as it selects the proper, emergent, order parameters which contain non-trivial information about the large-scale properties of the system. One may think of these local order parameters as higher-order concepts needed to understand the full state. Typically, the only variables left at the largest scale are the thermodynamic variables which are averages over the whole system. If the coarse-graining procedure is chosen correctly, those variables should identify in which thermodynamic phase the system finds itself.
34
+
35
+ This hierarchical scale-by-scale encoding of a probability distribution resembles, for instance, a deep encoding of an image whose features are defined by iteratively combining locale patterns into more complex—and larger—patterns. Where this analogy fails, however, is that the distribution to be learned in the context of image recognition is likely not generated by a local Hamiltonian. Nevertheless, we may still think of a local Hamiltonian which appropriately reproduces the shortrange correlations within neighboring pixels. For instance, this Hamiltonian could assign higher probabilities to edge filters. The edge orientations themselves may then be the next coarser variables governed by their own effective Hamiltonian which prefers certain assembly of neighboring edges, and so on until, at the deepest level, the only variables left encodes what the whole image represents, with an effective Hamiltonian yielding the relative frequency of the different classes in the learning data.
36
+
37
+ The renormalization “group” denotes the set of coarse-graining operations with composition as group operation, although it is rarely a group given that its elements typically have no inverse, and cannot all be composed together. It is more fruitful to think of it as a flow on the “manifold” of Hamiltonians (assuming a continuum of scales), where each possible Hamiltonian flows toward its effective version at larger and larger scales. This picture, however, relies on the Hamiltonian uniquely defining the state, and must be given up if we trust the Hamiltonians to encode only the short-range correlations.
38
+
39
+ The previous discussion is rather idealized, as a lot of work is needed to transform these ideas into concrete methods. This is why most techniques classified under the umbrella of RG are very modelspecific and hence of little use for us.
40
+
41
+ However, the study of quantum phase transitions (i.e. phase transitions at zero temperatures, where all fluctuations are quantum instead of thermal) has motivated the appearance of much more generic numerical methods based on an ansatz, i.e., a parameterization of a manageably small set of states which happen to nearly contain many of the interesting physical states. For instance, the very successful density-matrix renormalization group (DMRG) can be understood as an optimization method within the matrix product state (MPS) ansatz. Classically, an MPS can be thought of as a type of stochastic finite-state machine (although another classical version has been proposed [9]). This, however, only works on one-dimensional systems, at least in the quantum setting. In addition, the connection with the RG is somewhat weak (even though it is faithful to a proposal made in the seminal paper by Wilson on the renormalization group [1]).
42
+
43
+ Here, we will consider instead a more recent proposal which can be formulated in any dimension, and which more directly incorporates the idea of a multiscale description of the system.
44
+
45
+ # 2 Stochastic version of MERA
46
+
47
+ The multiscale entanglement renormalization ansatz (MERA) is an efficient parametrization of a certain subset of quantum states (which one may think of as probability distributions but where the probabilities take complex values). It is numerically efficient in two ways which are important for its use in physics. Firstly, the number of parameters involved typically grows linearly with the number $N$ of sites. Secondly, marginal distributions over a constant number of sites (not necessarily contiguous) can be explicitly computed in a time of order $\log N$ .
48
+
49
+ Instead of describing the full quantum MERA, I will only introduce a classical version of it. Since all entanglement (a.k.a. quantum correlations) is replaced by classical correlations, let us call it the correlation renormalization ansatz (CORA).
50
+
51
+ For simplicity, I will describe the model as it would apply to data living on a square $d$ -dimensional lattice, such as a time series for $d = 1$ or an image for $d = 2$ , and assume a renormalization model where the coarse-graining is done by grouping blocks of $2 \times 2 \times . . . = 2 ^ { d }$ neighboring sites. Generalization to other lattices or other coarse-graining scheme are rather straightforward.
52
+
53
+ Instead of starting with an algorithm per se, we start with a “knowledge representation”, that is, a parameterization of a certain set of probability distributions on the observed data. Provided that this parameterization can be stored efficiently, and that the cost function for the learning process be computable efficiently, then an algorithm can be devised to minimize the cost function.
54
+
55
+ We call $\Gamma _ { 0 }$ the original square lattice on which the data lives, and $\Gamma _ { j }$ , $j = 1 , 2 , \dots$ the successive coarse-graining of that lattice. Each site of $\Gamma _ { j }$ must be thought of as representing a block of $2 ^ { d }$ sites of $\Gamma _ { j - 1 }$ , in the sense that the neighborhood relations between the sites of $\Gamma _ { j }$ represent that of the corresponding blocks on $\Gamma _ { j - 1 }$ .
56
+
57
+ Since the number of sites of $\Gamma _ { j }$ is a constant fraction of that of $\Gamma _ { j - 1 }$ $( 1 / 2 ^ { d }$ in this case), the total number of coarse-graining steps is logarithmic in the total size $N$ of $\Gamma _ { 0 }$ , i.e. in the total number of variables.
58
+
59
+ By a state on $\Gamma _ { j }$ , we refer to a joint probability distribution for the values of the variables associated with each site of $\Gamma _ { j }$ . We denote the set of these distributions by $S ( \Gamma _ { j } )$ . The idea is to represent a state $\mu \in S ( \Gamma _ { 0 } )$ through a sequence of stochastic maps
60
+
61
+ $$
62
+ \pi _ { j } : S ( \Gamma _ { j } ) \to S ( \Gamma _ { j - 1 } )
63
+ $$
64
+
65
+ $$
66
+ \mu = \pi _ { 1 } \circ \pi _ { 2 } \circ \ldots \circ \pi _ { j _ { \mathrm { m a x } } } ( e ) ,
67
+ $$
68
+
69
+ where $\circ$ denotes composition, and $e$ is some fiducial state on the coarsest lattice $\Gamma _ { j _ { \mathrm { m a x } } }$ , e.g., the uniform distribution. In the original MERA, these maps $\pi _ { j }$ are isometric operator on a Hilbert space, which is the quantum equivalent of stochastic maps, in the sense that they are the most general maps preserving the basic properties of the states.
70
+
71
+ ![](images/5d836d86583635f9820878b24931dfcfa3dbc9596025711633050c9d94bc1956.jpg)
72
+ Figure 1: Example of a MERA for a one-dimensional lattice, where only two layers are represented. The boxes and triangles are arbitrary isometric maps between Hilbert spaces represented by the vertical lines. We obtain a CORA by replacing the boxes and triangles by stochastic maps between random variables. This diagram can then be read as an operational recipe to produce the state on the lattice $\Gamma _ { 0 }$ , from that of $\Gamma _ { 2 }$ : each vertical line represents some data, or random variable, and a box or triangle is a specific stochastic map which must be applied to the joint probability distribution of all its input(s) (the lines coming in from above) in order to produce the joint distribution of its outputs (represented by the lines coming out below it). This can be equivalently represented by the Bayesian network of Figure 2. The parameters of the model are the components of all the local stochastic maps (boxes and triangles), together with the initial state of the last layer $\Gamma _ { j _ { \mathrm { m a x } } }$ .
73
+
74
+ One may think of these $\pi _ { j }$ as the inverse of the coarse-graining channels defining the renormalization group. Indeed, instead of destroying information by mapping a precise lattice to a coarser one with fewer sites, it introduces information by creating additional sites, hence constructing the full state scale by scale. In this sense, MERA is a “generative” interpretation of the RG.
75
+
76
+ In the original MERA, these maps are specifically required to be implementable by local maps (stochastic maps in the classical case or isometries in the quantum case), such as represented in Figures 1 and 2 for a one-dimensional lattice. Such a given structure being fixed, the variational parameters left to be learned are the components of each local map.
77
+
78
+ The required decomposability of the maps $\pi _ { j }$ into local operations renders the number of variational parameters linear in the lattice size. Apart from this, however, the particular way in which the local maps are combined is not essential, except for the causal properties of the complete maps $\pi _ { j }$ allowed: Firstly, $\pi _ { j } : S ( \Gamma _ { j } ) \to S ( \Gamma _ { j - 1 } )$ must be such that, through it, each site of $\Gamma _ { j }$ can only causally influence the block of sites of $\Gamma _ { j - 1 }$ that it represents, or their neighbors as well, up to a constant distance. In Figure 1 for instance, it is apparent that a given site can only influence the values of the block of two sites that it represents, immediately below it, together with their nearest neighbors.
79
+
80
+ The concept of causality that is used is defined as follows: for a given stochastic matrix with several input and output variables, we say that the $i$ th input cannot causally influence the $j$ th output if the variable $i$ is not required for the calculation of the marginal over $j$ , no matter what the complete input is. That is, the marginal over $j$ can be computed purely from the marginal over all original input variables but the ith.
81
+
82
+ Secondly, something which is also apparent in Figure 1, is the fact that $\pi _ { j }$ cannot introduce any correlations between far-away sites if its input is uncorrelated, where “far-away” means that these output sites cannot be influenced by the same input site, in terms of the first causality condition.
83
+
84
+ It is in this sense that each layer $\pi _ { j }$ can only create, and therefore represent, correlations at a given scale.
85
+
86
+ ![](images/612ca86be3b7f2de0d843d807e4d1066501eff814882cc80508e2d84a55f8e3f.jpg)
87
+ Figure 2: Example of Figure 1 represented as a Bayesian network (only two layers are represented). The bottom nodes are observed. Note that the graph is truncated, as the nodes of $\Gamma _ { 2 }$ must be linked to the next layer which is not represented, as well as to each other, in the same manner as the two layers below it.
88
+
89
+ ![](images/e8118b83c54c0b2d70f1a54521d23c2d746125eaad7ad4f4cdfde4b8503f7e9e.jpg)
90
+ Figure 3: Stochastic maps involved in the last two steps of the computation of the marginal state on 3 consecutive output sites. The lines ending abruptly indicates that the corresponding variable is summed over. The “past” of any region of $\Gamma _ { 0 }$ of size $L$ always involves just 3 sites before level Γ[log2(L)].
91
+
92
+ # 3 Learning CORA
93
+
94
+ The causal properties inherent in the definition of MERA/CORA imply that a marginal over any finite group of $L$ sites can be computed (explicitly, i.e., without sampling) in a time of order $e ^ { L } \log ( N )$ . Indeed, due to the particular causal structure of the maps $\pi _ { j }$ , the past of any set of sites of $\Gamma _ { j }$ , namely those sites of $\Gamma _ { j + 1 }$ on which their values depend explicitly through $\pi _ { j }$ , always ends up involving a constant number of sites independent of $N$ (and generally manageably small). This is illustrated in Figure 3.
95
+
96
+ In the quantum physical setting for which MERA was introduced, the state that we want to represent is not defined by samples, but instead by a Hamiltonian, or energy function, that it minimizes, i.e., the cost function itself. Most often, the Hamiltonians considered are local, which implies that the evaluation of their expectation only requires the use of marginal states over small clusters of neighboring sites. Therefore the cost function can be evaluated efficiently and exactly.
97
+
98
+ Such a procedure can be adapted to a situation where, instead of being handed the Hamiltonian, we are given samples from the unknown distribution: the training data. In physics, this situation presents itself when an experimentalists wants to reconstruct a state that he has access to only through experiments (which yields the samples), a process which is called “state tomography”. This is, of course, no different from a typical learning task.
99
+
100
+ A difference, however, is that in physics one is often interested in states which minimize some unknown local Hamiltonian. This assumptions implies that it is sufficient to work with the efficiently computable marginals over small groups of neighboring sites (so called reduced states in quantum theory). Therefore, we can set the parameters of the channels $\pi _ { j }$ by maximizing the probabilities that these reduced states assign to the training data. In the quantum context, this was proposed in Ref. [7]. For CORA, the cost function can be calculated in the same way, but the optimization procedure must be slightly modified to account for the fact that the constraints on the stochastic maps components are different from the quantum MERA.
101
+
102
+ # 3.1 States not determined by local laws
103
+
104
+ It is clear, however, that a MERA, or CORA, can represent a much vaster class of states, in particular states whose long-range correlation structure is not determined by the nature of the short range correlations, such as one would expect for natural or artificial images for instance. Indeed, the components of the stochastic maps $\pi _ { j }$ can be modified directly at any scale $j$ with minimal effect on the short range correlations.
105
+
106
+ Let us therefore consider learning in the more general situation. Mirroring our discussion of section 1, we can still use the efficiently computable local reduced states in order to optimize the component of the first channel $\pi _ { 1 }$ , since it cannot anyway encode information about longer ranged correlations. We say that we are working with training length $\epsilon _ { \mathrm { 0 } }$ , ignoring all correlations in the data at larger lengthscales.
107
+
108
+ This can be done in two different ways. We may simply optimize $\pi _ { 1 }$ by locally comparing the training data to $\pi _ { 1 } ( e )$ where $e$ is the uniform distribution, or any other prior (method 1), or we can already optimize all layers simultaneously as would be done for a tomography problem, focusing only on short-range correlation (method 2). This would have the advantage of already making long range—or deep—deductions from the data. For instance, if all neighboring pixels were the same color, this would already deduce that the whole image is uniform.
109
+
110
+ In a second pass, we need to compare the data to marginals generated over the new training length $\epsilon _ { 1 }$ associated with the next channel $\pi _ { 2 }$ . We do not want to do this by comparing the data to the full candidate state generated at the level of $\Gamma _ { 0 }$ , as the number of sites involved would grow by a factor $2 ^ { d }$ with a bad exponential increase in complexity. Instead, we want to directly compare the reduced state at level $\Gamma _ { 1 }$ to a coarse-grained (i.e., “renormalized”) version of the training data at that level.
111
+
112
+ Performing this step is where the difficulties lie, and could likely not be done quantum mechanically. Classically, however, it may be possible to use sampling in this step. This coarse-graining must be done by the Bayesian inverse of $\pi _ { 1 }$ , with prior $e$ (method 1), or a prior generated by the previous layers (method 2), which is possible because we really only need the prior over scale $\epsilon _ { 1 }$ . An example of the type of Bayesian networks involved is represented in Figure 2.
113
+
114
+ This process can be iterated until all ${ \mathcal { O } } ( \log N )$ layers/channels have been trained, and the training length covers the whole system. Further training passes can then be done in the same way in order to exploit the better priors generated by the already trained layers.
115
+
116
+ # Acknowledgments
117
+
118
+ Helpful discussions with Tobias Osborne are gratefully acknowledged. This work was supported by the cluster of excellence EXC 201 “Quantum Engineering and Space-Time Research”.
119
+
120
+ # References
121
+
122
+ [1] K.G. Wilson. The renormalization group and critical phenomena. Rev. Mod. Phys., 55(3):583, 1983. [2] G. Vidal. Entanglement renormalization. Physical Review Letters, 99:220405, 2007.
123
+
124
+ [3] G. Vidal. Class of quantum many-body states that can be efficiently simulated. Phys. Rev. Lett., 101:110501, 2008.
125
+ [4] D. Perez-Garcia, F. Verstraete, M.M. Wolf, and J.I. Cirac. ArXiv:quant-ph/0608197, 2006.
126
+ [5] F. Verstraete, M.M. Wolf, D. Perez-Garcia, and J.I. Cirac. Criticality, the area law, and the computational power of projected entangled pair states. Phys. Rev. Lett., 96(22):220601, 2006.
127
+ [6] M. Cramer, M. B. Plenio, S. T. Flammia, R. Somma, D. Gross, S. D. Bartlett, O. LandonCardinal, D. Poulin, and Y.-K. Liu. Efficient quantum state tomography. Nature Communications, 2010.
128
+ [7] O. Landon-Cardinal and D. Poulin. Practical learning method for multi-scale entangled states. New Journal of Physics, 2012.
129
+ [8] G. Vidal. Entanglement Renormalization: an introduction. ArXiv:0912.1651, 2009.
130
+ [9] Kristan Temme and Frank Verstraete. Stochastic matrix product states. Phys. Rev. Lett., 104:210502, 2010.
parse/train/IpmfpAGoH2KbX/IpmfpAGoH2KbX_content_list.json ADDED
@@ -0,0 +1,720 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Deep learning and the renormalization group ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 223,
8
+ 135,
9
+ 772,
10
+ 160
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Cedric B ´ eny ´ ",
17
+ "text_level": 1,
18
+ "bbox": [
19
+ 457,
20
+ 213,
21
+ 544,
22
+ 227
23
+ ],
24
+ "page_idx": 0
25
+ },
26
+ {
27
+ "type": "text",
28
+ "text": "Institut fur Theoretische Physik ¨ Leibniz Universitat Hannover ¨ Appelstraße 2, 30167 Hannover, Germany cedric.beny@gmail.com ",
29
+ "bbox": [
30
+ 361,
31
+ 228,
32
+ 637,
33
+ 284
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Abstract ",
40
+ "text_level": 1,
41
+ "bbox": [
42
+ 462,
43
+ 319,
44
+ 535,
45
+ 335
46
+ ],
47
+ "page_idx": 0
48
+ },
49
+ {
50
+ "type": "text",
51
+ "text": "Renormalization group (RG) methods, which model the way in which the effective behavior of a system depends on the scale at which it is observed, are key to modern condensed-matter theory and particle physics. We compare the ideas behind the RG on the one hand and deep machine learning on the other, where depth and scale play a similar role. In order to illustrate this connection, we review a recent numerical method based on the RG—the multiscale entanglement renormalization ansatz (MERA)—and show how it can be converted into a learning algorithm based on a generative hierarchical Bayesian network model. Under the assumption—common in physics—that the distribution to be learned is fully characterized by local correlations, this algorithm involves only explicit evaluation of probabilities, hence doing away with sampling. ",
52
+ "bbox": [
53
+ 233,
54
+ 353,
55
+ 764,
56
+ 506
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Natural sciences extend the process by which we intuitively discover patterns in our sensory data to domains beyond our natural sensory abilities, but also beyond our intuitive reasoning abilities. Already, machine learning methods are becoming important in fields where the patterns are too complex to be modeled with simple equations, and too far removed from intuition to be comprehended without formal tools. ",
63
+ "bbox": [
64
+ 174,
65
+ 526,
66
+ 823,
67
+ 594
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Physics may seem an unlikely candidate for application of machine learning, given that it specifically focuses on systems which can be understood with simple laws. Nevertheless, these very compact laws have to be compared to experiments, and hence require a “decompression” process which rapidly leads to overwhelming levels of complexity. ",
74
+ "bbox": [
75
+ 174,
76
+ 603,
77
+ 823,
78
+ 659
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "The renormalization group (RG) was designed to handle some of these complexities and had a tremendous influence in particle physics and condensed-matter physics [1]. It models the dependence of a system’s effective behavior on a parameter which is usually thought of as scale or energy, but which we will think of here as depth. Although the RG idea is not recent, new approaches have emerged which have the potential to fully automatize it [2–5]. These methods are designed for simulation rather than learning, but, because they are defined through clever representations of certain classes of (quantum) states, they can be adapted to learning tasks as well [6, 7]. ",
85
+ "bbox": [
86
+ 174,
87
+ 665,
88
+ 825,
89
+ 763
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "In this paper, I will explain how one of these methods (the multiscale entanglement renormalization ansatz [8]) can be made into a deep learning algorithm for classical probability distributions, assuming no prior knowledge of RG or MERA, nor of quantum mechanics. The machine learning framework task that I am considering is that of building a representation of a probability distribution which optimizes the likelihood of the training data. ",
96
+ "bbox": [
97
+ 174,
98
+ 770,
99
+ 823,
100
+ 840
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "1 The renormalization group ",
107
+ "text_level": 1,
108
+ "bbox": [
109
+ 176,
110
+ 861,
111
+ 431,
112
+ 880
113
+ ],
114
+ "page_idx": 0
115
+ },
116
+ {
117
+ "type": "text",
118
+ "text": "Let us take the point of view of condensed matter physics, where the system of interest is a $d$ - dimensional lattice which we think of as a graph $\\Gamma$ which could be embedded in $\\mathbb { R } ^ { d }$ in such a way that the edges loosely indicate proximity of sites. Hence we can think of it as a discrete version of a $d$ -dimensional space. We take the graph as fixed once and for all, but we associate with each vertex $v$ , which we call a site, a random variable $X _ { v }$ which can take any of $n$ possible values. The joint probability distribution for all these variables will be referred to as the lattice’s state, and is the object that we want to model. ",
119
+ "bbox": [
120
+ 176,
121
+ 895,
122
+ 823,
123
+ 924
124
+ ],
125
+ "page_idx": 0
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "",
130
+ "bbox": [
131
+ 174,
132
+ 103,
133
+ 825,
134
+ 172
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "In the context of machine learning, an example would be a probability distribution over images. In this example, the dimension is $d = 2$ , the sites are pixels linked to their four neighbors, and the random variables are the pixels color values. ",
141
+ "bbox": [
142
+ 176,
143
+ 180,
144
+ 821,
145
+ 222
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "Physicists are often interested in such system at thermal equilibrium, where the state can be encoded in a ridiculously compact way through the system’s Hamiltonian, or energy function, which is proportional to the logarithm of the probability distribution. What makes this description compact is that the Hamiltonian is usually a sum of local functions, i.e., functions which depend only on a little group of neighboring sites. Hence, the state is a Markov random field with respect to the graph $\\Gamma$ . ",
152
+ "bbox": [
153
+ 174,
154
+ 229,
155
+ 825,
156
+ 299
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "However, deducing any property of the state from the Hamiltonian (such as marginal probabilities) is generally very difficult. In fact, the large majority of the work done in theoretical physics is purely concerned with doing just that: deriving approximate properties of systems whose state is defined by a given Hamiltonian, i.e., decompressing the Hamiltonian description, so that predictions can be compared to experiments. In this sense, the Hamiltonian, although it is a compact representation of the state, is not very useful as a representation of what one knows about the system’s properties. ",
163
+ "bbox": [
164
+ 174,
165
+ 306,
166
+ 825,
167
+ 390
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "A Hamiltonian is not, however, entirely useless. Given a Hamiltonian, it is relatively easy to make predictions about short-range correlations. For instance, by sampling the distribution using a MonteCarlo simulation. However, the computational cost grows exponentially with the range of the correlations. ",
174
+ "bbox": [
175
+ 174,
176
+ 396,
177
+ 823,
178
+ 452
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "The RG approach is based on the observation that longer range correlations can often be summarized by an effective Hamiltonian on a smaller array of coarse-grained random variables which are, for instance, averages of neighboring sites. That is, one can build a stochastic map from the state of the system to that of coarser array of new variables in such a way that the new state can also be described by a local Hamiltonian. This process can be iterated, leading to a hierarchy of effective Hamiltonians labeled by a scale. This family, if it could be computed, would provide an efficient encoding of the system’s behavior at all scales. ",
185
+ "bbox": [
186
+ 174,
187
+ 459,
188
+ 825,
189
+ 556
190
+ ],
191
+ "page_idx": 1
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "The actual choice of “binning”, i.e., the form of the stochastic maps which implement the coarsegrainings, is an essential element of the process, as it selects the proper, emergent, order parameters which contain non-trivial information about the large-scale properties of the system. One may think of these local order parameters as higher-order concepts needed to understand the full state. Typically, the only variables left at the largest scale are the thermodynamic variables which are averages over the whole system. If the coarse-graining procedure is chosen correctly, those variables should identify in which thermodynamic phase the system finds itself. ",
196
+ "bbox": [
197
+ 174,
198
+ 564,
199
+ 823,
200
+ 661
201
+ ],
202
+ "page_idx": 1
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "This hierarchical scale-by-scale encoding of a probability distribution resembles, for instance, a deep encoding of an image whose features are defined by iteratively combining locale patterns into more complex—and larger—patterns. Where this analogy fails, however, is that the distribution to be learned in the context of image recognition is likely not generated by a local Hamiltonian. Nevertheless, we may still think of a local Hamiltonian which appropriately reproduces the shortrange correlations within neighboring pixels. For instance, this Hamiltonian could assign higher probabilities to edge filters. The edge orientations themselves may then be the next coarser variables governed by their own effective Hamiltonian which prefers certain assembly of neighboring edges, and so on until, at the deepest level, the only variables left encodes what the whole image represents, with an effective Hamiltonian yielding the relative frequency of the different classes in the learning data. ",
207
+ "bbox": [
208
+ 174,
209
+ 667,
210
+ 825,
211
+ 820
212
+ ],
213
+ "page_idx": 1
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "The renormalization “group” denotes the set of coarse-graining operations with composition as group operation, although it is rarely a group given that its elements typically have no inverse, and cannot all be composed together. It is more fruitful to think of it as a flow on the “manifold” of Hamiltonians (assuming a continuum of scales), where each possible Hamiltonian flows toward its effective version at larger and larger scales. This picture, however, relies on the Hamiltonian uniquely defining the state, and must be given up if we trust the Hamiltonians to encode only the short-range correlations. ",
218
+ "bbox": [
219
+ 174,
220
+ 828,
221
+ 825,
222
+ 898
223
+ ],
224
+ "page_idx": 1
225
+ },
226
+ {
227
+ "type": "text",
228
+ "text": "",
229
+ "bbox": [
230
+ 173,
231
+ 103,
232
+ 823,
233
+ 132
234
+ ],
235
+ "page_idx": 2
236
+ },
237
+ {
238
+ "type": "text",
239
+ "text": "The previous discussion is rather idealized, as a lot of work is needed to transform these ideas into concrete methods. This is why most techniques classified under the umbrella of RG are very modelspecific and hence of little use for us. ",
240
+ "bbox": [
241
+ 176,
242
+ 138,
243
+ 821,
244
+ 180
245
+ ],
246
+ "page_idx": 2
247
+ },
248
+ {
249
+ "type": "text",
250
+ "text": "However, the study of quantum phase transitions (i.e. phase transitions at zero temperatures, where all fluctuations are quantum instead of thermal) has motivated the appearance of much more generic numerical methods based on an ansatz, i.e., a parameterization of a manageably small set of states which happen to nearly contain many of the interesting physical states. For instance, the very successful density-matrix renormalization group (DMRG) can be understood as an optimization method within the matrix product state (MPS) ansatz. Classically, an MPS can be thought of as a type of stochastic finite-state machine (although another classical version has been proposed [9]). This, however, only works on one-dimensional systems, at least in the quantum setting. In addition, the connection with the RG is somewhat weak (even though it is faithful to a proposal made in the seminal paper by Wilson on the renormalization group [1]). ",
251
+ "bbox": [
252
+ 174,
253
+ 188,
254
+ 825,
255
+ 327
256
+ ],
257
+ "page_idx": 2
258
+ },
259
+ {
260
+ "type": "text",
261
+ "text": "Here, we will consider instead a more recent proposal which can be formulated in any dimension, and which more directly incorporates the idea of a multiscale description of the system. ",
262
+ "bbox": [
263
+ 174,
264
+ 334,
265
+ 825,
266
+ 362
267
+ ],
268
+ "page_idx": 2
269
+ },
270
+ {
271
+ "type": "text",
272
+ "text": "2 Stochastic version of MERA ",
273
+ "text_level": 1,
274
+ "bbox": [
275
+ 176,
276
+ 382,
277
+ 441,
278
+ 398
279
+ ],
280
+ "page_idx": 2
281
+ },
282
+ {
283
+ "type": "text",
284
+ "text": "The multiscale entanglement renormalization ansatz (MERA) is an efficient parametrization of a certain subset of quantum states (which one may think of as probability distributions but where the probabilities take complex values). It is numerically efficient in two ways which are important for its use in physics. Firstly, the number of parameters involved typically grows linearly with the number $N$ of sites. Secondly, marginal distributions over a constant number of sites (not necessarily contiguous) can be explicitly computed in a time of order $\\log N$ . ",
285
+ "bbox": [
286
+ 174,
287
+ 412,
288
+ 825,
289
+ 497
290
+ ],
291
+ "page_idx": 2
292
+ },
293
+ {
294
+ "type": "text",
295
+ "text": "Instead of describing the full quantum MERA, I will only introduce a classical version of it. Since all entanglement (a.k.a. quantum correlations) is replaced by classical correlations, let us call it the correlation renormalization ansatz (CORA). ",
296
+ "bbox": [
297
+ 176,
298
+ 503,
299
+ 821,
300
+ 546
301
+ ],
302
+ "page_idx": 2
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "For simplicity, I will describe the model as it would apply to data living on a square $d$ -dimensional lattice, such as a time series for $d = 1$ or an image for $d = 2$ , and assume a renormalization model where the coarse-graining is done by grouping blocks of $2 \\times 2 \\times . . . = 2 ^ { d }$ neighboring sites. Generalization to other lattices or other coarse-graining scheme are rather straightforward. ",
307
+ "bbox": [
308
+ 174,
309
+ 553,
310
+ 825,
311
+ 609
312
+ ],
313
+ "page_idx": 2
314
+ },
315
+ {
316
+ "type": "text",
317
+ "text": "Instead of starting with an algorithm per se, we start with a “knowledge representation”, that is, a parameterization of a certain set of probability distributions on the observed data. Provided that this parameterization can be stored efficiently, and that the cost function for the learning process be computable efficiently, then an algorithm can be devised to minimize the cost function. ",
318
+ "bbox": [
319
+ 174,
320
+ 616,
321
+ 825,
322
+ 671
323
+ ],
324
+ "page_idx": 2
325
+ },
326
+ {
327
+ "type": "text",
328
+ "text": "We call $\\Gamma _ { 0 }$ the original square lattice on which the data lives, and $\\Gamma _ { j }$ , $j = 1 , 2 , \\dots$ the successive coarse-graining of that lattice. Each site of $\\Gamma _ { j }$ must be thought of as representing a block of $2 ^ { d }$ sites of $\\Gamma _ { j - 1 }$ , in the sense that the neighborhood relations between the sites of $\\Gamma _ { j }$ represent that of the corresponding blocks on $\\Gamma _ { j - 1 }$ . ",
329
+ "bbox": [
330
+ 174,
331
+ 678,
332
+ 825,
333
+ 738
334
+ ],
335
+ "page_idx": 2
336
+ },
337
+ {
338
+ "type": "text",
339
+ "text": "Since the number of sites of $\\Gamma _ { j }$ is a constant fraction of that of $\\Gamma _ { j - 1 }$ $( 1 / 2 ^ { d }$ in this case), the total number of coarse-graining steps is logarithmic in the total size $N$ of $\\Gamma _ { 0 }$ , i.e. in the total number of variables. ",
340
+ "bbox": [
341
+ 174,
342
+ 744,
343
+ 825,
344
+ 786
345
+ ],
346
+ "page_idx": 2
347
+ },
348
+ {
349
+ "type": "text",
350
+ "text": "By a state on $\\Gamma _ { j }$ , we refer to a joint probability distribution for the values of the variables associated with each site of $\\Gamma _ { j }$ . We denote the set of these distributions by $S ( \\Gamma _ { j } )$ . The idea is to represent a state $\\mu \\in S ( \\Gamma _ { 0 } )$ through a sequence of stochastic maps ",
351
+ "bbox": [
352
+ 174,
353
+ 794,
354
+ 825,
355
+ 837
356
+ ],
357
+ "page_idx": 2
358
+ },
359
+ {
360
+ "type": "equation",
361
+ "img_path": "images/d7544c38e7dda2688298cf395c8cc274accdf0b13cf4fbff29d9b5ed8b2a0e10.jpg",
362
+ "text": "$$\n\\pi _ { j } : S ( \\Gamma _ { j } ) \\to S ( \\Gamma _ { j - 1 } )\n$$",
363
+ "text_format": "latex",
364
+ "bbox": [
365
+ 419,
366
+ 842,
367
+ 578,
368
+ 859
369
+ ],
370
+ "page_idx": 2
371
+ },
372
+ {
373
+ "type": "equation",
374
+ "img_path": "images/ef2a1d877613c123ae500090d9d8315e167ef2f7fc370727d4d89814beb5e9f8.jpg",
375
+ "text": "$$\n\\mu = \\pi _ { 1 } \\circ \\pi _ { 2 } \\circ \\ldots \\circ \\pi _ { j _ { \\mathrm { m a x } } } ( e ) ,\n$$",
376
+ "text_format": "latex",
377
+ "bbox": [
378
+ 400,
379
+ 877,
380
+ 596,
381
+ 893
382
+ ],
383
+ "page_idx": 2
384
+ },
385
+ {
386
+ "type": "text",
387
+ "text": "where $\\circ$ denotes composition, and $e$ is some fiducial state on the coarsest lattice $\\Gamma _ { j _ { \\mathrm { m a x } } }$ , e.g., the uniform distribution. In the original MERA, these maps $\\pi _ { j }$ are isometric operator on a Hilbert space, which is the quantum equivalent of stochastic maps, in the sense that they are the most general maps preserving the basic properties of the states. ",
388
+ "bbox": [
389
+ 173,
390
+ 896,
391
+ 826,
392
+ 924
393
+ ],
394
+ "page_idx": 2
395
+ },
396
+ {
397
+ "type": "image",
398
+ "img_path": "images/5d836d86583635f9820878b24931dfcfa3dbc9596025711633050c9d94bc1956.jpg",
399
+ "image_caption": [
400
+ "Figure 1: Example of a MERA for a one-dimensional lattice, where only two layers are represented. The boxes and triangles are arbitrary isometric maps between Hilbert spaces represented by the vertical lines. We obtain a CORA by replacing the boxes and triangles by stochastic maps between random variables. This diagram can then be read as an operational recipe to produce the state on the lattice $\\Gamma _ { 0 }$ , from that of $\\Gamma _ { 2 }$ : each vertical line represents some data, or random variable, and a box or triangle is a specific stochastic map which must be applied to the joint probability distribution of all its input(s) (the lines coming in from above) in order to produce the joint distribution of its outputs (represented by the lines coming out below it). This can be equivalently represented by the Bayesian network of Figure 2. The parameters of the model are the components of all the local stochastic maps (boxes and triangles), together with the initial state of the last layer $\\Gamma _ { j _ { \\mathrm { m a x } } }$ . "
401
+ ],
402
+ "image_footnote": [],
403
+ "bbox": [
404
+ 235,
405
+ 98,
406
+ 763,
407
+ 289
408
+ ],
409
+ "page_idx": 3
410
+ },
411
+ {
412
+ "type": "text",
413
+ "text": "",
414
+ "bbox": [
415
+ 174,
416
+ 491,
417
+ 823,
418
+ 518
419
+ ],
420
+ "page_idx": 3
421
+ },
422
+ {
423
+ "type": "text",
424
+ "text": "One may think of these $\\pi _ { j }$ as the inverse of the coarse-graining channels defining the renormalization group. Indeed, instead of destroying information by mapping a precise lattice to a coarser one with fewer sites, it introduces information by creating additional sites, hence constructing the full state scale by scale. In this sense, MERA is a “generative” interpretation of the RG. ",
425
+ "bbox": [
426
+ 174,
427
+ 525,
428
+ 825,
429
+ 582
430
+ ],
431
+ "page_idx": 3
432
+ },
433
+ {
434
+ "type": "text",
435
+ "text": "In the original MERA, these maps are specifically required to be implementable by local maps (stochastic maps in the classical case or isometries in the quantum case), such as represented in Figures 1 and 2 for a one-dimensional lattice. Such a given structure being fixed, the variational parameters left to be learned are the components of each local map. ",
436
+ "bbox": [
437
+ 174,
438
+ 588,
439
+ 825,
440
+ 643
441
+ ],
442
+ "page_idx": 3
443
+ },
444
+ {
445
+ "type": "text",
446
+ "text": "The required decomposability of the maps $\\pi _ { j }$ into local operations renders the number of variational parameters linear in the lattice size. Apart from this, however, the particular way in which the local maps are combined is not essential, except for the causal properties of the complete maps $\\pi _ { j }$ allowed: Firstly, $\\pi _ { j } : S ( \\Gamma _ { j } ) \\to S ( \\Gamma _ { j - 1 } )$ must be such that, through it, each site of $\\Gamma _ { j }$ can only causally influence the block of sites of $\\Gamma _ { j - 1 }$ that it represents, or their neighbors as well, up to a constant distance. In Figure 1 for instance, it is apparent that a given site can only influence the values of the block of two sites that it represents, immediately below it, together with their nearest neighbors. ",
447
+ "bbox": [
448
+ 174,
449
+ 651,
450
+ 825,
451
+ 762
452
+ ],
453
+ "page_idx": 3
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "The concept of causality that is used is defined as follows: for a given stochastic matrix with several input and output variables, we say that the $i$ th input cannot causally influence the $j$ th output if the variable $i$ is not required for the calculation of the marginal over $j$ , no matter what the complete input is. That is, the marginal over $j$ can be computed purely from the marginal over all original input variables but the ith. ",
458
+ "bbox": [
459
+ 174,
460
+ 770,
461
+ 823,
462
+ 839
463
+ ],
464
+ "page_idx": 3
465
+ },
466
+ {
467
+ "type": "text",
468
+ "text": "Secondly, something which is also apparent in Figure 1, is the fact that $\\pi _ { j }$ cannot introduce any correlations between far-away sites if its input is uncorrelated, where “far-away” means that these output sites cannot be influenced by the same input site, in terms of the first causality condition. ",
469
+ "bbox": [
470
+ 174,
471
+ 847,
472
+ 823,
473
+ 888
474
+ ],
475
+ "page_idx": 3
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "It is in this sense that each layer $\\pi _ { j }$ can only create, and therefore represent, correlations at a given scale. ",
480
+ "bbox": [
481
+ 174,
482
+ 895,
483
+ 823,
484
+ 924
485
+ ],
486
+ "page_idx": 3
487
+ },
488
+ {
489
+ "type": "image",
490
+ "img_path": "images/612ca86be3b7f2de0d843d807e4d1066501eff814882cc80508e2d84a55f8e3f.jpg",
491
+ "image_caption": [
492
+ "Figure 2: Example of Figure 1 represented as a Bayesian network (only two layers are represented). The bottom nodes are observed. Note that the graph is truncated, as the nodes of $\\Gamma _ { 2 }$ must be linked to the next layer which is not represented, as well as to each other, in the same manner as the two layers below it. "
493
+ ],
494
+ "image_footnote": [],
495
+ "bbox": [
496
+ 235,
497
+ 95,
498
+ 761,
499
+ 287
500
+ ],
501
+ "page_idx": 4
502
+ },
503
+ {
504
+ "type": "image",
505
+ "img_path": "images/e8118b83c54c0b2d70f1a54521d23c2d746125eaad7ad4f4cdfde4b8503f7e9e.jpg",
506
+ "image_caption": [
507
+ "Figure 3: Stochastic maps involved in the last two steps of the computation of the marginal state on 3 consecutive output sites. The lines ending abruptly indicates that the corresponding variable is summed over. The “past” of any region of $\\Gamma _ { 0 }$ of size $L$ always involves just 3 sites before level Γ[log2(L)]. "
508
+ ],
509
+ "image_footnote": [],
510
+ "bbox": [
511
+ 235,
512
+ 377,
513
+ 763,
514
+ 574
515
+ ],
516
+ "page_idx": 4
517
+ },
518
+ {
519
+ "type": "text",
520
+ "text": "3 Learning CORA ",
521
+ "text_level": 1,
522
+ "bbox": [
523
+ 174,
524
+ 679,
525
+ 344,
526
+ 696
527
+ ],
528
+ "page_idx": 4
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "The causal properties inherent in the definition of MERA/CORA imply that a marginal over any finite group of $L$ sites can be computed (explicitly, i.e., without sampling) in a time of order $e ^ { L } \\log ( N )$ . Indeed, due to the particular causal structure of the maps $\\pi _ { j }$ , the past of any set of sites of $\\Gamma _ { j }$ , namely those sites of $\\Gamma _ { j + 1 }$ on which their values depend explicitly through $\\pi _ { j }$ , always ends up involving a constant number of sites independent of $N$ (and generally manageably small). This is illustrated in Figure 3. ",
533
+ "bbox": [
534
+ 173,
535
+ 713,
536
+ 825,
537
+ 797
538
+ ],
539
+ "page_idx": 4
540
+ },
541
+ {
542
+ "type": "text",
543
+ "text": "In the quantum physical setting for which MERA was introduced, the state that we want to represent is not defined by samples, but instead by a Hamiltonian, or energy function, that it minimizes, i.e., the cost function itself. Most often, the Hamiltonians considered are local, which implies that the evaluation of their expectation only requires the use of marginal states over small clusters of neighboring sites. Therefore the cost function can be evaluated efficiently and exactly. ",
544
+ "bbox": [
545
+ 174,
546
+ 804,
547
+ 825,
548
+ 875
549
+ ],
550
+ "page_idx": 4
551
+ },
552
+ {
553
+ "type": "text",
554
+ "text": "Such a procedure can be adapted to a situation where, instead of being handed the Hamiltonian, we are given samples from the unknown distribution: the training data. In physics, this situation presents itself when an experimentalists wants to reconstruct a state that he has access to only through experiments (which yields the samples), a process which is called “state tomography”. This is, of course, no different from a typical learning task. ",
555
+ "bbox": [
556
+ 176,
557
+ 882,
558
+ 823,
559
+ 924
560
+ ],
561
+ "page_idx": 4
562
+ },
563
+ {
564
+ "type": "text",
565
+ "text": "",
566
+ "bbox": [
567
+ 173,
568
+ 103,
569
+ 823,
570
+ 132
571
+ ],
572
+ "page_idx": 5
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "A difference, however, is that in physics one is often interested in states which minimize some unknown local Hamiltonian. This assumptions implies that it is sufficient to work with the efficiently computable marginals over small groups of neighboring sites (so called reduced states in quantum theory). Therefore, we can set the parameters of the channels $\\pi _ { j }$ by maximizing the probabilities that these reduced states assign to the training data. In the quantum context, this was proposed in Ref. [7]. For CORA, the cost function can be calculated in the same way, but the optimization procedure must be slightly modified to account for the fact that the constraints on the stochastic maps components are different from the quantum MERA. ",
577
+ "bbox": [
578
+ 174,
579
+ 138,
580
+ 825,
581
+ 251
582
+ ],
583
+ "page_idx": 5
584
+ },
585
+ {
586
+ "type": "text",
587
+ "text": "3.1 States not determined by local laws ",
588
+ "text_level": 1,
589
+ "bbox": [
590
+ 176,
591
+ 270,
592
+ 457,
593
+ 285
594
+ ],
595
+ "page_idx": 5
596
+ },
597
+ {
598
+ "type": "text",
599
+ "text": "It is clear, however, that a MERA, or CORA, can represent a much vaster class of states, in particular states whose long-range correlation structure is not determined by the nature of the short range correlations, such as one would expect for natural or artificial images for instance. Indeed, the components of the stochastic maps $\\pi _ { j }$ can be modified directly at any scale $j$ with minimal effect on the short range correlations. ",
600
+ "bbox": [
601
+ 174,
602
+ 297,
603
+ 825,
604
+ 367
605
+ ],
606
+ "page_idx": 5
607
+ },
608
+ {
609
+ "type": "text",
610
+ "text": "Let us therefore consider learning in the more general situation. Mirroring our discussion of section 1, we can still use the efficiently computable local reduced states in order to optimize the component of the first channel $\\pi _ { 1 }$ , since it cannot anyway encode information about longer ranged correlations. We say that we are working with training length $\\epsilon _ { \\mathrm { 0 } }$ , ignoring all correlations in the data at larger lengthscales. ",
611
+ "bbox": [
612
+ 174,
613
+ 375,
614
+ 825,
615
+ 443
616
+ ],
617
+ "page_idx": 5
618
+ },
619
+ {
620
+ "type": "text",
621
+ "text": "This can be done in two different ways. We may simply optimize $\\pi _ { 1 }$ by locally comparing the training data to $\\pi _ { 1 } ( e )$ where $e$ is the uniform distribution, or any other prior (method 1), or we can already optimize all layers simultaneously as would be done for a tomography problem, focusing only on short-range correlation (method 2). This would have the advantage of already making long range—or deep—deductions from the data. For instance, if all neighboring pixels were the same color, this would already deduce that the whole image is uniform. ",
622
+ "bbox": [
623
+ 174,
624
+ 450,
625
+ 825,
626
+ 535
627
+ ],
628
+ "page_idx": 5
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "In a second pass, we need to compare the data to marginals generated over the new training length $\\epsilon _ { 1 }$ associated with the next channel $\\pi _ { 2 }$ . We do not want to do this by comparing the data to the full candidate state generated at the level of $\\Gamma _ { 0 }$ , as the number of sites involved would grow by a factor $2 ^ { d }$ with a bad exponential increase in complexity. Instead, we want to directly compare the reduced state at level $\\Gamma _ { 1 }$ to a coarse-grained (i.e., “renormalized”) version of the training data at that level. ",
633
+ "bbox": [
634
+ 174,
635
+ 541,
636
+ 825,
637
+ 611
638
+ ],
639
+ "page_idx": 5
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "Performing this step is where the difficulties lie, and could likely not be done quantum mechanically. Classically, however, it may be possible to use sampling in this step. This coarse-graining must be done by the Bayesian inverse of $\\pi _ { 1 }$ , with prior $e$ (method 1), or a prior generated by the previous layers (method 2), which is possible because we really only need the prior over scale $\\epsilon _ { 1 }$ . An example of the type of Bayesian networks involved is represented in Figure 2. ",
644
+ "bbox": [
645
+ 174,
646
+ 617,
647
+ 825,
648
+ 688
649
+ ],
650
+ "page_idx": 5
651
+ },
652
+ {
653
+ "type": "text",
654
+ "text": "This process can be iterated until all ${ \\mathcal { O } } ( \\log N )$ layers/channels have been trained, and the training length covers the whole system. Further training passes can then be done in the same way in order to exploit the better priors generated by the already trained layers. ",
655
+ "bbox": [
656
+ 174,
657
+ 694,
658
+ 825,
659
+ 737
660
+ ],
661
+ "page_idx": 5
662
+ },
663
+ {
664
+ "type": "text",
665
+ "text": "Acknowledgments ",
666
+ "text_level": 1,
667
+ "bbox": [
668
+ 176,
669
+ 760,
670
+ 328,
671
+ 776
672
+ ],
673
+ "page_idx": 5
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "Helpful discussions with Tobias Osborne are gratefully acknowledged. This work was supported by the cluster of excellence EXC 201 “Quantum Engineering and Space-Time Research”. ",
678
+ "bbox": [
679
+ 171,
680
+ 792,
681
+ 823,
682
+ 821
683
+ ],
684
+ "page_idx": 5
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "References ",
689
+ "text_level": 1,
690
+ "bbox": [
691
+ 174,
692
+ 844,
693
+ 266,
694
+ 861
695
+ ],
696
+ "page_idx": 5
697
+ },
698
+ {
699
+ "type": "text",
700
+ "text": "[1] K.G. Wilson. The renormalization group and critical phenomena. Rev. Mod. Phys., 55(3):583, 1983. [2] G. Vidal. Entanglement renormalization. Physical Review Letters, 99:220405, 2007. ",
701
+ "bbox": [
702
+ 173,
703
+ 873,
704
+ 826,
705
+ 924
706
+ ],
707
+ "page_idx": 5
708
+ },
709
+ {
710
+ "type": "text",
711
+ "text": "[3] G. Vidal. Class of quantum many-body states that can be efficiently simulated. Phys. Rev. Lett., 101:110501, 2008. \n[4] D. Perez-Garcia, F. Verstraete, M.M. Wolf, and J.I. Cirac. ArXiv:quant-ph/0608197, 2006. \n[5] F. Verstraete, M.M. Wolf, D. Perez-Garcia, and J.I. Cirac. Criticality, the area law, and the computational power of projected entangled pair states. Phys. Rev. Lett., 96(22):220601, 2006. \n[6] M. Cramer, M. B. Plenio, S. T. Flammia, R. Somma, D. Gross, S. D. Bartlett, O. LandonCardinal, D. Poulin, and Y.-K. Liu. Efficient quantum state tomography. Nature Communications, 2010. \n[7] O. Landon-Cardinal and D. Poulin. Practical learning method for multi-scale entangled states. New Journal of Physics, 2012. \n[8] G. Vidal. Entanglement Renormalization: an introduction. ArXiv:0912.1651, 2009. \n[9] Kristan Temme and Frank Verstraete. Stochastic matrix product states. Phys. Rev. Lett., 104:210502, 2010. ",
712
+ "bbox": [
713
+ 171,
714
+ 102,
715
+ 826,
716
+ 315
717
+ ],
718
+ "page_idx": 6
719
+ }
720
+ ]
parse/train/IpmfpAGoH2KbX/IpmfpAGoH2KbX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/IpmfpAGoH2KbX/IpmfpAGoH2KbX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rkeJRhNYDH/rkeJRhNYDH.md ADDED
@@ -0,0 +1,465 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TABFACT: A LARGE-SCALE DATASET FOR TABLEBASED FACT VERIFICATION
2
+
3
+ Wenhu Chen, Hongmin Wang, Jianshu Chen, Yunkai Zhang, Hong Wang, Shiyang Li, Xiyou Zhou, William Yang Wang
4
+
5
+ University of California, Santa Barbara, CA, USA
6
+ Tencent AI Lab, Bellevue, WA, USA
7
+ {wenhuchen,hongmin wang,yunkai zhang,hongwang600,william}@ucsb.edu
8
+ {shiyangli,xiyou}@cs.ucsb.edu jianshuchen@tencent.com
9
+
10
+ # ABSTRACT
11
+
12
+ The problem of verifying whether a textual hypothesis holds based on the given evidence, also known as fact verification, plays an important role in the study of natural language understanding and semantic representation. However, existing studies are mainly restricted to dealing with unstructured evidence (e.g., natural language sentences and documents, news, etc), while verification under structured evidence, such as tables, graphs, and databases, remains under-explored. This paper specifically aims to study the fact verification given semi-structured data as evidence. To this end, we construct a large-scale dataset called TabFact with 16k Wikipedia tables as the evidence for $1 1 8 \mathrm { k }$ human-annotated natural language statements, which are labeled as either ENTAILED or REFUTED. TabFact is challenging since it involves both soft linguistic reasoning and hard symbolic reasoning. To address these reasoning challenges, we design two different models: Table-BERT and Latent Program Algorithm (LPA). Table-BERT leverages the state-of-the-art pre-trained language model to encode the linearized tables and statements into continuous vectors for verification. LPA parses statements into programs and executes them against the tables to obtain the returned binary value for verification. Both methods achieve similar accuracy but still lag far behind human performance. We also perform a comprehensive analysis to demonstrate great future opportunities. The data and code of the dataset are provided in https://github.com/wenhuchen/Table-Fact-Checking.
13
+
14
+ # 1 INTRODUCTION
15
+
16
+ Verifying whether a textual hypothesis is entailed or refuted by the given evidence is a fundamental problem in natural language understanding (Katz & Fodor, 1963; Van Benthem et al., 2008). It can benefit many downstream applications like misinformation detection, fake news detection, etc. Recently, the first-ever end-to-end fact-checking system has been designed and proposed in Hassan et al. (2017). The verification problem has been extensively studied under different natural language tasks such as recognizing textual entailment (RTE) (Dagan et al., 2005), natural language inference (NLI) (Bowman et al., 2015), claim verification (Popat et al., 2017; Hanselowski et al., 2018; Thorne et al., 2018) and multimodal language reasoning (NLVR/NLVR2) (Suhr et al., 2017; 2019). RTE and NLI view a premise sentence as the evidence, claim verification views passage collection like Wikipedia1 as the evidence, NLVR/NLVR2 views images as the evidence. These problems have been previously addressed using a variety of techniques including logic rules, knowledge bases, and neural networks. Recently large-scale pre-trained language models (Devlin et al., 2019; Peters et al., 2018; Yang et al., 2019; Liu et al., 2019) have surged to dominate the other algorithms to approach human performance on several textual entailment tasks (Wang et al., 2018; 2019).
17
+
18
+ However, existing studies are restricted to dealing with unstructured text as the evidence, which would not generalize to the cases where the evidence has a highly structured format. Since such structured evidence (graphs, tables, or databases) are also ubiquitous in real-world applications like database systems, dialog systems, commercial management systems, social networks, etc, we argue that the fact verification under structured evidence forms is an equivalently important yet underexplored problem. Therefore, in this paper, we are specifically interested in studying fact verification with semi-structured Wikipedia tables (Bhagavatula et al., 2013)2 as evidence owing to its structured and ubiquitous nature (Jauhar et al., 2016; Zhong et al., 2017; Pasupat & Liang, 2015). To this end, we introduce a large-scale dataset called TABFACT, which consists of 118K manually annotated statements with regard to 16K Wikipedia tables, their relations are classified as ENTAILED and REFUTED3. The entailed and refuted statements are both annotated by human workers. With some examples in Figure 1, we can clearly observe that unlike the previous verification related problems, TABFACT combines two different forms of reasoning in the statements, (i) Linguistic Reasoning: the verification requires semantic-level understanding. For example, “John J. Mcfall failed to be re-elected though being unopposed.” requires understanding over the phrase “lost renomination ...” in the table to correctly classify the entailment relation. Unlike the existing QA datasets (Zhong et al., 2017; Pasupat & Liang, 2015), where the linguistic reasoning is dominated by paraphrasing, TABFACT requires more linguistic inference or common sense. (ii) Symbolic Reasoning: the verification requires symbolic execution on the table structure. For example, the phrase “There are three Democrats incumbents” requires both condition operation (where condition) and arithmetic operation (count). Unlike question answering, a statement could contain compound facts, all of these facts need to be verified to predict the verdict. For example, the ”There are ...” in Figure 1 requires verifying three QA pairs (total coun $\scriptstyle { \mathrm { t } } = 5$ , democratic coun ${ \boldsymbol { \cdot } } = 2$ , republic coun $^ { - 3 }$ ). The two forms of reasoning are interleaved across the statements making it challenging for existing models.
19
+
20
+ United States House of Representatives Elections, 1972
21
+
22
+ <table><tr><td>District</td><td>Incumbent</td><td>Party</td><td>Result</td><td colspan="2"></td><td>Candidates</td></tr><tr><td>California 3</td><td>JohnE.Moss</td><td>democratic</td><td>re-elected</td><td colspan="2"></td><td>John E.Moss (d) 69.9% John Rakus (r)30.1%</td></tr><tr><td>California 5</td><td>Phillip Burton</td><td>democratic</td><td>re-elected</td><td colspan="2"></td><td>Phillip Burton (d) 81.8% Edlo E.Powell(r)18.2%</td></tr><tr><td>California 8</td><td>George Paul Miller</td><td>democratic</td><td></td><td colspan="2">lost renomination democratic hold</td><td>Pete Stark (d) 52.9% Lew M.Warden,Jr. (r)47.1%</td></tr><tr><td colspan="2">California 14</td><td>Jerome R.Waldie</td><td>republican</td><td colspan="2">re-elected</td><td>Jerome R.Waldie (d) 77.6%Floyd E.Sims (r) 22.4%</td></tr><tr><td colspan="2">California 15</td><td>John J. Mcfall</td><td>republican</td><td colspan="2">re-elected</td><td>John J.Mcfal (d) unopposed</td></tr><tr><td colspan="5">Entailed Statement</td><td colspan="2">Refuted Statement</td></tr><tr><td colspan="5">John E.Moss and Phillip Burton are both re-elected in the 1. house of representative election. John J. Mcfallis unopposed during the re-election.</td><td colspan="2">1. John E.Moss and George Paul Miller are both re-electedin the house of representative election.</td></tr><tr><td colspan="5">2. 3.</td><td colspan="2">2. John J. Mcfallfailed to be re-elected though being unopposed.</td></tr><tr><td colspan="5">There are three different incumbents from democratic.</td><td colspan="2">3. There are five candidates in total, two of them are democrats and three of them are republicans.</td></tr></table>
23
+
24
+ In this paper, we particularly propose two approaches to deal with such mixed-reasoning challenge: (i) Table-BERT, this model views the verification task completely as an NLI problem by linearizing a table as a premise sentence $p$ , and applies state-of-the-art language understanding pre-trained model to encode both the table and statements $h$ into distributed representation for classification. This model excels at linguistic reasoning like paraphrasing and inference but lacks symbolic reasoning skills. (ii) Latent Program Algorithm, this model applies lexical matching to find linked entities and triggers to filter pre-defined APIs (e.g. argmax, argmin, count, etc). We adopt bread-first-search with memorization to construct the potential program candidates, a discriminator is further utilized to select the most “consistent” latent programs. This model excels at the symbolic reasoning aspects by executing database queries, which also provides better interpretability by laying out the decision rationale. We perform extensive experiments to investigate their performances: the best-achieved accuracy of both models are reasonable, but far below human performance. Thus, we believe that the proposed table-based fact verification task can serve as an important new benchmark towards the goal of building powerful AI that can reason over both soft linguistic form and hard symbolic forms. To facilitate future research, we released all the data, code with the intermediate results.
25
+
26
+ # 2 TABLE FACT VERIFICATION DATASET
27
+
28
+ First, we follow the previous Table-based Q&A datasets (Pasupat & Liang, 2015; Zhong et al., 2017) to extract web tables (Bhagavatula et al., 2013) with captions from WikiTables4. Here we filter out overly complicated and huge tables (e.g. multirows, multicolumns, latex symbol) and obtain 18K relatively clean tables with less than 50 rows and 10 columns.
29
+
30
+ For crowd-sourcing jobs, we follow the human subject research protocols5 to pay Amazon Mechanical Turk6 workers from the native English-speaking countries “US, GB, NZ, CA, AU” with approval rates higher than $9 5 \%$ and more than 500 accepted HITs. Following WikiTableQuestion (Pasupat & Liang, 2015), we provide the annotators with the corresponding table captions to help them better understand the background. To ensure the annotation quality, we develop a pipeline of “positive two-channel annotation” “negative statement rewriting” “verification”, as described below.
31
+
32
+ 2.1 POSITIVE TWO-CHANNEL COLLECTION & NEGATIVE REWRITING STRATEGY
33
+
34
+ To harvest statements of different difficulty levels, we design a two-channel collection process:
35
+
36
+ Low-Reward Simple Channel: the workers are paid 0.45 USD for annotating one Human Intelligent Task (HIT) that requires writing five statements. The workers are encouraged to produce plain statements meeting the requirements: (i) corresponding to a single row/record in the table with unary fact without involving compound logical inference. (ii) mention the cell values without dramatic modification or paraphrasing. The average annotation time of a HIT is $4 . 2 \mathrm { m i n }$ .
37
+
38
+ High-Reward Complex Channel: the workers are paid 0.75 USD for annotating a HIT (five statements). They are guided to produce more sophisticated statements to meet the requirements: (i) involving multiple rows in the tables with higher-order semantics like argmax, argmin, count, difference, average, summarize, etc. (ii) rephrase the table records to involve more semantic understanding. The average annotation time of a HIT is $6 . 8 \mathrm { { m i n } }$ . The data obtained from the complex channel are harder in terms of both linguistic and symbolic reasoning, the goal of the two-channel split is to help us understand the proposed models can reach under different levels of difficulty.
39
+
40
+ As suggested in (Zellers et al., 2018), there might be annotation artifacts and conditional stylistic patterns such as length and word-preference biases, which can allow shallow models (e.g. bag-ofwords) to obtain artificially high performance. Therefore, we design a negative rewriting strategy to minimize such linguistic cues or patterns. Instead of letting the annotators write negative statements from scratch, we let them rewrite the collected entailed statements. During the annotation, the workers are explicitly guided to modify the words, phrases or sentence structures but retain the sentence style/length to prevent artificial cues. We disallow naive negations by adding “not, never, etc” to revert the statement polarity in case of obvious linguistic patterns.
41
+
42
+ # 2.2 QUALITY CONTROL
43
+
44
+ To control the quality of the annotation process, we review a randomly sampled statement from each HIT to decide whether the whole annotation job should be rejected during the annotation process. Specifically, a HIT must satisfy the following criteria to be accepted: (i) the statements should contain neither typos nor grammatical errors. (ii) the statements do not contain vague claims like might, few, etc. (iii) the claims should be explicitly supported or contradicted by the table without requiring the additional knowledge, no middle ground is permitted. After the data collection, we re-distribute all the annotated samples to further filter erroneous statements, the workers are paid 0.05 USD per statement to decide whether the statement should be rejected. The criteria we apply are similar: no ambiguity, no typos, explicitly supported or contradictory. Through the post-filtering process, roughly $18 \%$ entailed and $27 \%$ refuted instances are further abandoned due to poor quality.
45
+
46
+ ![](images/85ad40328213abc8f4e715fbb7a475f7accddb45ff5934d7eaccf84b73fcd1bf.jpg)
47
+ Proportion of different Higher-order Operations
48
+
49
+ Figure 2: Proportion of different higher-order operations from the simple/complex channels.
50
+
51
+ <table><tr><td>Channel</td><td>#Sentence</td><td>#Table</td><td>Len(Ent)</td><td>Len(Ref)</td><td>Split</td><td>#Sentence</td><td>Table</td><td>Row</td><td>Col</td></tr><tr><td>Simple</td><td>50,244</td><td>9,189</td><td>13.2</td><td>13.1</td><td>Train</td><td>92,283</td><td>13,182</td><td>14.1</td><td>5.5</td></tr><tr><td>Complex</td><td>68,031</td><td>7,392</td><td>14.2</td><td>14.2</td><td>Val</td><td>12,792</td><td>1,696</td><td>14.0</td><td>5.4</td></tr><tr><td>Total</td><td>118,275</td><td>16,573</td><td>13.8</td><td>13.8</td><td>Test</td><td>12,779</td><td>1,695</td><td>14.2</td><td>5.4</td></tr></table>
52
+
53
+ Table 1: Basic statistics of the data collected from the simple/complex channel and the division of Train/Val/Test Split in the dataset, where “Len” denotes the averaged sentence length.
54
+
55
+ # 2.3 DATASET STATISTICS
56
+
57
+ Inter-Annotator Agreement: After the data collection pipeline, we merged the instances from two different channels to obtain a diverse yet clean dataset for table-based fact verification. We sample 1000 annotated (table, statement) pairs and re-distribute each to 5 individual workers to re-label them as either ENTAILED or REFUTED. We follow the previous works (Thorne et al., 2018; Bowman et al., 2015) to adopt the Fleiss Kappa (Fleiss, 1971) as an indicator, where Fleiss $\begin{array} { r } { \kappa = { \frac { \bar { p _ { c } } - \bar { p _ { e } } } { 1 - \bar { p _ { e } } } } } \end{array}$ p¯c−p¯e is computed from from the observed agreement $\bar { p _ { c } }$ and the agreement by chance $\bar { p _ { e } }$ . We obtain a Fleiss $\kappa = 0 . 7 5$ , which indicates strong inter-annotator agreement and good-quality.
58
+
59
+ Dataset Statistics: As shown in Table 1, the amount of data harvested via the complex channel slightly outnumbers the simple channel, the averaged length of both the positive and negative samples are indistinguishable. More specifically, to analyze to which extent the higher-order operations are included in two channels, we group the common higher-order operations into 8 different categories. As shown in Figure 2, we sample 200 sentences from two different channels to visualize their distribution. We can see that the complex channel overwhelms the simple channel in terms of the higher-order logic, among which, count and superlatives are the most frequent. We split the whole data roughly with 8:1:1 into train, validation7, and test splits and shows their statistics in Table 1. Each table with an average of 14 rows and 5-6 columns corresponds to 2-20 different statements, while each cell has an average of 2.1 words. In the training split, the positive instances slightly outnumber the negative instances, while the validation and test split both have rather balanced distributions over positive and negative instances.
60
+
61
+ # 3 MODELS
62
+
63
+ With the collected dataset, we now formally define the table-based fact verification task: the dataset is comprised of triple instances $( \mathbf { T } , S , L )$ consisting of a table $\mathbf { T }$ , a natural language statement $S = s _ { 1 } , \cdots , s _ { n }$ and a verification label $\dot { L } \in \{ 0 , 1 \}$ . The table $\mathbf { T } = \{ T _ { i , j } | i \leq \bar { R _ { T } } , \bar { j } \leq C _ { T } \}$ has $R _ { T }$ rows and $C _ { T }$ columns with the $T _ { i j }$ being the content in the $( i , j )$ -th cell. $T _ { i j }$ could be a word, a number, a phrase, or even a natural language sentence. The statement S describes a fact to be verified against the content in the table $\mathbf { T }$ . If it is entailed by $\mathbf { T }$ , then $L = 1$ , otherwise the label $L = 0$ . Figure 1 shows some entailed and refuted examples. During training, the model and the learning algorithm are presented with $K$ instances like $( \boldsymbol { \hat { \mathbf { T } } } , \boldsymbol { S } , \boldsymbol { L } ) _ { k = 1 } ^ { K }$ from the training split. In the testing stage, the model is presented with $( \mathbf { T } , S ) _ { k = 1 } ^ { K ^ { \prime } }$ and supposed to predict the label as $\hat { L }$ . We measure the performance by the prediction accuracy $\begin{array} { r } { A c c = \frac { 1 } { K ^ { \prime } } \sum _ { 1 } ^ { K ^ { \prime } } \mathbb { I } ( \hat { L } _ { k } = L _ { k } ) } \end{array}$ on the test set. Before building the model, we first perform entity linking to detect all the entities in the statements. Briefly, we first lemmatize the words and search for the longest sub-string matching pairs between statements and table cells/captions, where the matched phrases are denoted as the linked entities. To focus on statement verification against the table, we do not feed the caption to the model and simply mask the phrases in the statements which link to the caption with placeholders. The details of the entity linker are listed in the Appendix. We describe our two proposed models as follows.
64
+
65
+ # 3.1 LATENT PROGRAM ALGORITHM (LPA)
66
+
67
+ In this approach, we formulate the table fact verification as a program synthesis problem, where the latent program algorithm is not given in TABFACT. Thus, it can be seen as a weakly supervised learning problem as discussed in Liang et al. (2017); Lao et al. (2011). Under such a setting, we propose to break down the verification into two stages: (i) latent program search, (ii) discriminator ranking. In the first program synthesis step, we aim to parse the statement into programs to represent its semantics. We define the plausible API set to include roughly 50 different functions like min, max, count, average, filter, and and realize their interpreter with Python-Pandas. Each API is defined to take arguments of specific types (number, string, bool, and view (e.g sub-table)) to output specifictype variables. During the program execution, we store the generated intermediate variables to different-typed caches $\mathcal { N } , \mathcal { R } , B , \mathcal { V }$ (Num, Str, Bool, View). At each execution step, the program can fetch the intermediate variable from the caches to achieve semantic compositionality. In order to shrink the search space, we follow NSM (Liang et al., 2017) to use trigger words to prune the API set and accelerate the search speed. The definitions of all API, trigger words can be found in the Appendix. The comprehensive the latent program search procedure is summarized in Algorithm 1, and the searching procedure is illustrated in Figure 3.
68
+
69
+ Algorithm 1 Latent Program Search with Comments
70
+
71
+ <table><tr><td rowspan=1 colspan=1>20:</td></tr><tr><td rowspan=1 colspan=1>21:</td></tr></table>
72
+
73
+ After we collected all the potential program candidates $\mathcal { P } = \{ ( P _ { 1 } , A _ { 1 } ) , \cdots , ( P _ { n } , A _ { n } ) \}$ for a given statement $S$ (where $( P _ { i } , A _ { i } )$ refers to $i$ -th candidate), we need to learn a discriminator to identify the “appropriate” traces from the set from many erroneous and spurious traces. Since we do not have the ground truth label about such discriminator, we use a weakly supervised training algorithm by viewing all the label-consistent programs as positive instances $\{ \bar { P _ { i } } | ( P _ { i } , A _ { i } ) ; A _ { i } \stackrel { . } { = } L \}$ and the label-inconsistent program as negative instances $\{ P _ { i } | ( P _ { i } , A _ { i } ) ; A _ { i } \ \stackrel { . } { \neq } \ \dot { L } \}$ to minimize the cross-entropy of discriminator $p _ { \theta } ( S , P )$ with the weakly supervised label. Specifically, we build our discriminator with a Transformer-based two-way encoder (Vaswani et al., 2017), where the statement encoder encodes the input statement $S$ as a vector $E n c ^ { S } ( S ) \ \in \ \mathbb { R } ^ { n \times D }$ with dimension $D$ , while the program encoder encodes the program $P ~ = ~ p _ { 1 } , \cdot \cdot \cdot , p _ { m }$ as another vector $E n c ^ { P } ( { \cal P } ) \in \mathbb { R } ^ { m \times \hat { D } }$ , we concatenate these two vectors and feed it into a linear projection layer to compute $p _ { \theta } ( S , P ) = \sigma ( v _ { p } ^ { T } [ E n c ^ { S } ( S ) ; E n c ^ { P } ( P ) ] )$ as the relevance between S and $P$ with weight $v _ { p } \in \mathbb { R } ^ { D }$ . At test time, we use the discriminator $p _ { \theta }$ to assign confidence $p _ { \theta } ( S , P )$ to each candidate $\bar { P } \in \mathcal { P }$ , and then either aggregate the prediction from all hypothesis with the confidence weights or rank the highest-confident hypothesis and use their outputs as the prediction.
74
+
75
+ ![](images/37f019384ab116dfeec8bf1b54970e74ed72f73a72a5068f41f633a93167bff4.jpg)
76
+ Figure 3: The program synthesis procedure for the table in Figure 1. We link the entity (e.g. democratic, republican), and then composite functions on the fly to return the values from the table.
77
+
78
+ ![](images/92f12be640234412878dcc76845c6c58f8c2cb9f87582f83b20a8cea0c2c0b32.jpg)
79
+ Figure 4: The diagram of Table-BERT with horizontal scan, two different linearizations are depicted.
80
+
81
+ # 3.2 TABLE-BERT
82
+
83
+ In this approach, we view the table verification problem as a two-sequence binary classification problem like NLI or MPRC (Wang et al., 2018) by linearizing a table $\mathbf { T }$ into a sequence and treating the statement as another sequence. Since the linearized table can be extremely long surpassing the limit of sequence models like LSTM, Transformers, etc. We propose to shrink the sequence by only retaining the columns containing entities linked to the statement to alleviate such a memory issue. In order to encode such sub-table as a sequence, we propose two different linearization methods, as is depicted in Figure 4. (i) Concatenation: we simply concatenate the table cells with [SEP] tokens in between and restart position counter at the cell boundaries; the column name is fed as another type embedding to the input layer. Such design retains the table information in its machine format. (ii) Template: we adopt simple natural language templates to transform a table into a “somewhat natural” sentence. Taking the horizontal scan as an example, we linearize a table as “row one’s game is 51; the date is February; ..., the score is 3.4 (ot). row 2 is ...”. The isolated cells are connected with punctuations and copula verbs in a language-like format.
84
+
85
+ After obtaining the linearized sub-table $\tilde { \mathbf { T } }$ , we concatenate it with the natural language statement S and prefix a [CLS] token to the sentence to obtain the sequence-level representation ${ \cal H } = f _ { B E R T } ( [ { \bf \tilde { T } } , S ] )$ , with $H \in \mathbb { R } ^ { 7 6 8 }$ from pre-trained BERT (Devlin et al., 2019). The representation is further fed into multi-layer perceptron $f _ { M L P }$ to obtain the entailment probability $p _ { \theta } ( \tilde { \mathbf { T } } , S ) = \sigma ( f _ { M L P } ( H ) )$ , where $\sigma$ is the sigmoid function. We finetune the model $\theta$ (including the parameters of BERT and MLP) to minimize the binary cross entropy $\mathcal { L } ( p _ { \theta } ( \mathbf { \tilde { T } } , S ) , L )$ on the training set. At test time, we use the trained BERT model to compute the matching probability between the (table, statement) pair, and classify it as ENTAILED statement when $p _ { \theta } ( \tilde { \mathbf { T } } , S )$ is greater than 0.5.
86
+
87
+ # 4 EXPERIMENTS
88
+
89
+ In this section, we aim to evaluate the proposed methods on TABFACT. Besides the standard validation and test sets, we also split the test set into a simple and a complex partition based on the channel from which they were collected. This facilitates analyzing how well the model performs under different levels of difficulty. Additionally, we also hold out a small test set with 2K samples for human evaluation, where we distribute each (table, statement) pair to 5 different workers to approximate human judgments based on their majority voting, the results are reported in Table 2.
90
+
91
+ <table><tr><td>Model</td><td>Val</td><td>Test</td><td>Test (simple)</td><td>Test (complex)</td><td>Small Test</td></tr><tr><td>BERTclassifier w/o Table</td><td>50.9</td><td>50.5</td><td>51.0</td><td>50.1</td><td>50.4</td></tr><tr><td>Table-BERT-Horizontal-F+T-Concatenate</td><td>50.7</td><td>50.4</td><td>50.8</td><td>50.0</td><td>50.3</td></tr><tr><td>Table-BERT-Vertical-F+T-Template</td><td>56.7</td><td>56.2</td><td>59.8</td><td>55.0</td><td>56.2</td></tr><tr><td>Table-BERT-Vertical-T+F-Template</td><td>56.7</td><td>57.0</td><td>60.6</td><td>54.3</td><td>55.5</td></tr><tr><td>Table-BERT-Horizontal-F+T-Template</td><td>66.0</td><td>65.1</td><td>79.0</td><td>58.1</td><td>67.9</td></tr><tr><td>Table-BERT-Horizontal-T+F-Template</td><td>66.1</td><td>65.1</td><td>79.1</td><td>58.2</td><td>68.1</td></tr><tr><td>NSM w/RL (Binary Reward)</td><td>54.1</td><td>54.1</td><td>55.4</td><td>53.1</td><td>55.8</td></tr><tr><td>NSM w/LPA-guided ML + RL</td><td>63.2</td><td>63.5</td><td>77.4</td><td>56.1</td><td>66.9</td></tr><tr><td>LPA-Voting w/o Discriminator</td><td>57.7</td><td>58.2</td><td>68.5</td><td>53.2</td><td>61.5</td></tr><tr><td>LPA-Weighted-Voting</td><td>62.5</td><td>63.1</td><td>74.6</td><td>57.3</td><td>66.8</td></tr><tr><td>LPA-Ranking w/Discriminator</td><td>65.2</td><td>65.0</td><td>78.4</td><td>58.5</td><td>68.6</td></tr><tr><td>LPA-Ranking w/ Discriminator (Caption)</td><td>65.1</td><td>65.3</td><td>78.7</td><td>58.5</td><td>68.9</td></tr><tr><td>Human Performance</td><td>-</td><td>-</td><td>1</td><td>-</td><td>92.1</td></tr></table>
92
+
93
+ Table 2: The results of different models, the numbers are in percentage. $\mathrm { T } { \mathrm { + F } }$ means table followed by fact, while $\mathrm { F } { + } \mathrm { T }$ means fact followed by table. NSM is modified from Liang et al. (2017).
94
+
95
+ NSM We follow Liang et al. (2017) to modify their approach to fit the setting of TABFACT. Specifically, we adopt an LSTM as an encoder and another LSTM with copy mechanism as a decoder to synthesize the program. However, without any ground truth annotation for the intermediate programs, directly training with reinforcement learning is difficult as the binary reward is underspecified, which is listed in Table 2 as ”NSM w/ RL”. Further, we use LPA as a teacher to search the top programs for the NSM to bootstrap and then use reinforcement learning to finetune the model, which achieves reasonable performance on our dataset listed as ”NSM w/ $\mathbf { M L } + \mathbf { R L } ^ { \prime }$ .
96
+
97
+ Table-BERT We build Table-BERT based on the open-source implementation of BERT8 using the pre-trained model with 12-layer, 768-hidden, 12-heads, and 110M parameters trained in 104 languages. We use the standard BERT tokenizer to break the words in both statements and tables into subwords and join the two sequences with a [SEP] token in between. The representation corresponding to [CLS] is fed into an MLP layer to predict the verification label. We finetune the model on a single TITAN X GPU with a mini-batch size of 6. The best performance is reached after about 3 hours of training (around 10K steps). We implement and compare the following variants of the Table-BERT model including (i) Concatenation vs. Template: whether to use natural language templates during linearization. (ii) Horizontal vs. Vertical: scan direction in linearization.
98
+
99
+ LPA We run the latent program search in a distributed fashion on three 64-core machines to generate the latent programs. The search terminates once the buffer has more than 50 traces or the path length is larger than 7. The average search time for each statement is about 2.5s. For the discriminator model, we design two transformer-based encoders (3 layers, 128-dimension hidden embedding, and 4 heads at each layer) to encode the programs and statements, respectively. The variants of LPA models considered include (i) Voting: assign each program with equal weight and vote without the learned discriminator. (ii) Weighted-Voting: compute a weighted-sum to aggregate the predictions of all latent programs with the discriminator confidence as the weights. (iii) Ranking: rank all the hypotheses by the discriminator confidence and use the top-rated hypothesis as the output. (Caption) means feeding the caption as a sequence of words to the discriminator during ranking.
100
+
101
+ Preliminary Evaluation In order to test whether our negative rewriting strategy eliminates the artifacts or shallow cues, we also fine-tune a pre-trained BERT (Devlin et al., 2019) to classify the statement $S$ without feeding in table information. The result is reported as “BERT classifier w/o
102
+
103
+ Table” in Table 2, which is approximately the majority guess and reflects the effectiveness of the rewriting strategy. Before presenting the experiment results, we first perform a preliminary study to evaluate how well the entity linking system, program search, and the statement-program discriminator perform. Since we do not have the ground truth labels for these models, we randomly sample 100 samples from the dev set to perform the human study. For the entity linking, we evaluate its accuracy as the number of correctly linked sentences / total sentences. For the latent program search, we evaluate whether the “true” programs are included in the candidate set $\mathcal { P }$ as recall score.
104
+
105
+ Results We report the performance of different methods as well as human performance in Table 2. First of all, we observe that the naive serialized model fails to learn anything effective (same as the Majority Guess). It reveals the importance of template when using the pre-trained BERT (Devlin et al., 2019) model: the “natural” connection words between individual cells is able to unleash the power of the large pre-trained language model and enable it to perform reasoning on the structured table form. Such behavior is understandable given the fact that BERT is pre-trained on purely natural language corpora. In addition, we also observe that the horizontal scan excels in the vertical scan because it better captures the convention of human expression. Among different LPA methods, we found that LPA-Ranking performs the best since it can better suppress the spurious programs than the voting-based algorithm. Overall, the LPA model is on par with Table-BERT on both simple and test split without any pre-training on external corpus, which reflects the effectiveness of LPA to leverage symbolic operations in the verification process.
106
+
107
+ Through our human evaluation, we found that only $58 \%$ of sentences have been correctly linked without missing-link or over-link, while the systematic search has a recall of $51 \%$ under the cases where the sentence is correctly linked. With that being said, the chance for LPA method to cover the correct program (rationale) is roughly under $30 \%$ . After the discriminator’s re-ranking step, the probability of selecting these particular oracle program is even much lower. However, we still observe a final overall accuracy of $65 \%$ , which indicates that the spurious problem is quite severe in LPA, where the correct label is predicted based on the wrong reason.
108
+
109
+ Through our human evaluation, we also observe that Table-BERT exhibits poor consistency as it can misclassify simple cases but correctly-classify hard cases. These two major weaknesses are yet to be solved in future studies. In contrast, LPA behaves much more consistently and provides a clear latent rationale for its decision. But, such a pipeline system requires laborious handcrafting of API operations and is also very sensitive to the entity linking accuracy. Both methods have pros and cons; how to combine them still remains an open question.
110
+
111
+ Program Annotation To further promote the development of different models in our dataset, we collect roughly 1400 human-annotated programs paired with the original statements. These statements include the most popular logical operations like superlative, counting, comparison, unique, etc. We provide these annotations in Github9, which can either be used to bootstrap the semantic parsers or provide the rationale for NLI models.
112
+
113
+ # 5 RELATED WORK
114
+
115
+ Natural Language Inference & Reasoning: Modeling reasoning and inference in human language is a fundamental and challenging problem towards true natural language understanding. There has been extensive research on RTE in the early years (Dagan et al., 2005) and more recently shifted to NLI (Bowman et al., 2015; Williams et al., 2017). NLI seeks to determine whether a natural language hypothesis $h$ can be inferred from a natural language premise $p$ . With the surge of deep learning, there have been many powerful algorithms like the Decomposed Model (Parikh et al., 2016), Enhanced-LSTM (Chen et al., 2017) and BERT (Devlin et al., 2019). Besides the textual evidence, NLVR (Suhr et al., 2017) and NLVR2 (Suhr et al., 2019) have been proposed to use images as the evidence for statement verification on multi-modal setting. Our proposed fact verification task is closely related to these inference tasks, where our semi-structured table can be seen as a collection of “premises” exhibited in a semi-structured format. Our proposed problem hence could be viewed as the generalization of NLI under the semi-structured domain.
116
+
117
+ Table Question Answering: Another line of research closely related to our task is the table-based question answering, such as MCQ (Jauhar et al., 2016), WikiTableQuestion (Pasupat & Liang, 2015), Spider (Yu et al., 2018), Sequential Q&A (Iyyer et al., 2017), and WikiSQL (Zhong et al., 2017), for which approaches have been extended to handle large-scale tables from Wikipedia (Bhagavatula et al., 2013). However, in these Q&A tasks, the question types typically provide strong signals needed for identifying the type of answers, while TABFACT does not provide such specificity. The uniqueness of TABFACT lies in two folds: 1) a given fact is regarded as a false claim as long as any part of the statement contains misinformation. Due to the conjunctive nature of verification, a fact needs to be broken down into several sub-clauses or (Q, A) pairs to separate evaluate their correctness. Such a compositional nature of the verification problem makes it more challenging than a standard QA setting. On one hand, the model needs to recognize the multiple QA pairs and their relationship. On the other hand, the multiple sub-clauses make the semantic form longer and logic inference harder than the standard QA setting. 2) some facts cannot even be handled using semantic forms, as they are driven by linguistic inference or common sense. In order to verify these statements, more inference techniques have to be leveraged to enable robust verification. We visualize the above two characteristics of TABFACT in Figure 5.
118
+
119
+ ![](images/84b555a1c00412ee22dcd1ade812c4f361e58ae1670a6e4d81198e9863daf7a4.jpg)
120
+ Figure 5: The two uniqueness of Table-based fact verification against standard QA problems.
121
+
122
+ Program Synthesis & Semantic Parsing: There have also been great interests in using program synthesis or logic forms to solve different natural language processing problems like question answering (Liang et al., 2013; Berant et al., 2013; Berant & Liang, 2014), visual navigation (Artzi et al., 2014; Artzi & Zettlemoyer, 2013), code generation (Yin & Neubig, 2017; Dong & Lapata, 2016), SQL synthesis (Yu et al., 2018), etc. The traditional semantic parsing papers (Artzi et al., 2014; Artzi & Zettlemoyer, 2013; Zettlemoyer & Collins, 2005; Liang et al., 2013; Berant et al., 2013) greatly rely on rules, lexicon to parse natural language sentences into different forms like lambda calculus, DCS, etc. More recently, researchers strive to propose neural models to directly perform end-to-end formal reasoning like Theory Prover (Riedel et al., 2017; Rocktaschel & Riedel, ¨ 2017), Neural Turing Machine (Graves et al., 2014), Neural Programmer (Neelakantan et al., 2016; 2017) and Neural-Symbolic Machines (Liang et al., 2017; 2018; Agarwal et al., 2019). The proposed TABFACT serves as a great benchmark to evaluate the reasoning ability of different neural reasoning models. Specifically, TABFACT poses the following challenges: 1) spurious programs (i.e., wrong programs with the true returned answers): since the program output is only a binary label, which can cause serious spurious problems and misguide the reinforcement learning with the under-specified binary rewards. 2) decomposition: the model needs to decompose the statement into sub-clauses and verify the sub-clauses one by one, which normally requires the longer logic inference chains to infer the statement verdict. 3) linguistic reasoning like inference and paraphrasing.
123
+
124
+ Fact Checking The problem of verifying claims and hypotheses on the web has drawn significant attention recently due to its high social influence. Different fact-checking pioneering studies have been performed including LIAR (Wang, 2017), PolitiFact (Vlachos & Riedel, 2014), FEVER (Thorne et al., 2018) and AggChecker (Jo et al., 2019), etc. The former three studies are mainly based on textual evidence on social media or Wikipedia, while AggChecker is closest to ours in using relational databases as the evidence. Compared to AggChecker, our paper proposes a much larger dataset to benchmark the progress in this direction.
125
+
126
+ # 6 CONCLUSION
127
+
128
+ This paper investigates a very important yet previously under-explored research problem: semistructured fact verification. We construct a large-scale dataset and proposed two methods, TableBERT and LPA, based on the state-of-the-art pre-trained natural language inference model and program synthesis. In the future, we plan to push forward this research direction by inspiring more sophisticated architectures that can perform both linguistic and symbolic reasoning.
129
+
130
+ # REFERENCES
131
+
132
+ Rishabh Agarwal, Chen Liang, Dale Schuurmans, and Mohammad Norouzi. Learning to generalize from sparse and underspecified rewards. International Conference of Machine Learning, 2019.
133
+
134
+ Yoav Artzi and Luke Zettlemoyer. Weakly supervised learning of semantic parsers for mapping instructions to actions. Transactions of the Association for Computational Linguistics, 1:49–62, 2013.
135
+
136
+ Yoav Artzi, Dipanjan Das, and Slav Petrov. Learning compact lexicons for ccg semantic parsing. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1273–1283, 2014.
137
+
138
+ Jonathan Berant and Percy Liang. Semantic parsing via paraphrasing. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1415–1425, 2014.
139
+
140
+ Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. Semantic parsing on freebase from question-answer pairs. In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pp. 1533–1544, 2013.
141
+
142
+ Chandra Sekhar Bhagavatula, Thanapon Noraset, and Doug Downey. Methods for exploring and mining tables on wikipedia. In Proceedings of the ACM SIGKDD Workshop on Interactive Data Exploration and Analytics, pp. 18–26. ACM, 2013.
143
+
144
+ Samuel R Bowman, Gabor Angeli, Christopher Potts, and Christopher D Manning. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 632–642, 2015.
145
+
146
+ Qian Chen, Xiaodan Zhu, Zhen-Hua Ling, Si Wei, Hui Jiang, and Diana Inkpen. Enhanced lstm for natural language inference. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1657–1668, 2017.
147
+
148
+ Ido Dagan, Oren Glickman, and Bernardo Magnini. The pascal recognising textual entailment challenge. In Machine Learning Challenges Workshop, pp. 177–190. Springer, 2005.
149
+
150
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. Proceedings of NAACL-HLT, 2019.
151
+
152
+ Li Dong and Mirella Lapata. Language to logical form with neural attention. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 33–43, 2016.
153
+
154
+ Joseph L Fleiss. Measuring nominal scale agreement among many raters. Psychological bulletin, 76(5):378, 1971.
155
+
156
+ Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv preprint arXiv:1410.5401, 2014.
157
+
158
+ Andreas Hanselowski, Hao Zhang, Zile Li, Daniil Sorokin, Benjamin Schiller, Claudia Schulz, and Iryna Gurevych. Ukp-athene: Multi-sentence textual entailment for claim verification. arXiv preprint arXiv:1809.01479, 2018.
159
+
160
+ Naeemul Hassan, Gensheng Zhang, Fatma Arslan, Josue Caraballo, Damian Jimenez, Siddhant Gawsane, Shohedul Hasan, Minumol Joseph, Aaditya Kulkarni, Anil Kumar Nayak, et al. Claimbuster: the first-ever end-to-end fact-checking system. Proceedings of the VLDB Endowment, 10 (12):1945–1948, 2017.
161
+
162
+ Mohit Iyyer, Wen-tau Yih, and Ming-Wei Chang. Search-based neural structured learning for sequential question answering. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), volume 1, pp. 1821–1831, 2017.
163
+
164
+ Sujay Kumar Jauhar, Peter Turney, and Eduard Hovy. Tables as semi-structured knowledge for question answering. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), volume 1, pp. 474–483, 2016.
165
+
166
+ Saehan Jo, Immanuel Trummer, Weicheng Yu, Xuezhi Wang, Cong Yu, Daniel Liu, and Niyati Mehta. Aggchecker: A fact-checking system for text summaries of relational data sets. Proceedings of the VLDB Endowment, 12(12), 2019.
167
+
168
+ Jerrold J Katz and Jerry A Fodor. The structure of a semantic theory. language, 39(2):170–210, 1963.
169
+
170
+ Ni Lao, Tom Mitchell, and William W Cohen. Random walk inference and learning in a large scale knowledge base. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 529–539. Association for Computational Linguistics, 2011.
171
+
172
+ Chen Liang, Jonathan Berant, Quoc Le, Kenneth D Forbus, and Ni Lao. Neural symbolic machines: Learning semantic parsers on freebase with weak supervision. International Conference of Machine Learning, 2017.
173
+
174
+ Chen Liang, Mohammad Norouzi, Jonathan Berant, Quoc V Le, and Ni Lao. Memory augmented policy optimization for program synthesis and semantic parsing. In Advances in Neural Information Processing Systems, pp. 9994–10006, 2018.
175
+
176
+ Percy Liang, Michael I Jordan, and Dan Klein. Learning dependency-based compositional semantics. Computational Linguistics, 39(2):389–446, 2013.
177
+
178
+ Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019.
179
+
180
+ Arvind Neelakantan, Quoc V Le, and Ilya Sutskever. Neural programmer: Inducing latent programs with gradient descent. International Conference on Learning Representation, 2016.
181
+
182
+ Arvind Neelakantan, Quoc V Le, Martin Abadi, Andrew McCallum, and Dario Amodei. Learning a natural language interface with neural programmer. International Conference on Learning Representation, 2017.
183
+
184
+ Ankur Parikh, Oscar Tackstr ¨ om, Dipanjan Das, and Jakob Uszkoreit. A decomposable attention ¨ model for natural language inference. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 2249–2255, 2016.
185
+
186
+ Panupong Pasupat and Percy Liang. Compositional semantic parsing on semi-structured tables. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), volume 1, pp. 1470–1480, 2015.
187
+
188
+ Matthew E Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. In Proceedings of NAACL-HLT, pp. 2227–2237, 2018.
189
+
190
+ Kashyap Popat, Subhabrata Mukherjee, Jannik Strotgen, and Gerhard Weikum. Where the truth lies: ¨ Explaining the credibility of emerging claims on the web and social media. In Proceedings of the 26th International Conference on World Wide Web Companion, pp. 1003–1012. International World Wide Web Conferences Steering Committee, 2017.
191
+
192
+ Sebastian Riedel, Matko Bosnjak, and Tim Rocktaschel. Programming with a differentiable forth ¨ interpreter. ICML, 2017.
193
+
194
+ Tim Rocktaschel and Sebastian Riedel. End-to-end differentiable proving. In ¨ Advances in Neural Information Processing Systems, pp. 3788–3800, 2017.
195
+
196
+ Alane Suhr, Mike Lewis, James Yeh, and Yoav Artzi. A corpus of natural language for visual reasoning. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 217–223, 2017.
197
+
198
+ Alane Suhr, Stephanie Zhou, Ally Zhang, Iris Zhang, Huajun Bai, and Yoav Artzi. A corpus for reasoning about natural language grounded in photographs. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2019.
199
+
200
+ James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. Fever: a largescale dataset for fact extraction and verification. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), volume 1, pp. 809–819, 2018.
201
+
202
+ Johan Van Benthem et al. A brief history of natural logic. LondonCollege Publications9781904987444, 2008.
203
+
204
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017.
205
+
206
+ Andreas Vlachos and Sebastian Riedel. Fact checking: Task definition and dataset construction. In Proceedings of the ACL 2014 Workshop on Language Technologies and Computational Social Science, pp. 18–22, 2014.
207
+
208
+ Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. Glue: A multi-task benchmark and analysis platform for natural language understanding. EMNLP 2018, pp. 353, 2018.
209
+
210
+ Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. Superglue: A stickier benchmark for general-purpose language understanding systems. arXiv preprint arXiv:1905.00537, 2019.
211
+
212
+ William Yang Wang. liar, liar pants on fire: A new benchmark dataset for fake news detection. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 422–426, 2017.
213
+
214
+ Adina Williams, Nikita Nangia, and Samuel R Bowman. A broad-coverage challenge corpus for sentence understanding through inference. arXiv preprint arXiv:1704.05426, 2017.
215
+
216
+ Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Ruslan Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. Advances in neural information processing systems, 2019.
217
+
218
+ Pengcheng Yin and Graham Neubig. A syntactic neural model for general-purpose code generation. arXiv preprint arXiv:1704.01696, 2017.
219
+
220
+ Tao Yu, Rui Zhang, Kai Yang, Michihiro Yasunaga, Dongxu Wang, Zifan Li, James Ma, Irene Li, Qingning Yao, Shanelle Roman, et al. Spider: A large-scale human-labeled dataset for complex and cross-domain semantic parsing and text-to-sql task. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 3911–3921, 2018.
221
+
222
+ Rowan Zellers, Yonatan Bisk, Roy Schwartz, and Yejin Choi. Swag: A large-scale adversarial dataset for grounded commonsense inference. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 93–104, 2018.
223
+
224
+ Luke S Zettlemoyer and Michael Collins. Learning to map sentences to logical form: structured classification with probabilistic categorial grammars. In Proceedings of the Twenty-First Conference on Uncertainty in Artificial Intelligence, pp. 658–666. AUAI Press, 2005.
225
+
226
+ Victor Zhong, Caiming Xiong, and Richard Socher. Seq2sql: Generating structured queries from natural language using reinforcement learning. arXiv preprint arXiv:1709.00103, 2017.
227
+
228
+ # A APPENDIX
229
+
230
+ # A.1 FUNCTION DESCRIPTION
231
+
232
+ We list the detailed function description in Figure 6. We also visualize the functionality of the most
233
+
234
+ <table><tr><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Arguments</td><td rowspan=1 colspan=1>Output</td><td rowspan=1 colspan=1>Comment</td></tr><tr><td rowspan=1 colspan=1>Count</td><td rowspan=1 colspan=1>View</td><td rowspan=1 colspan=1>Number</td><td rowspan=1 colspan=1>Return the number of rows in the View</td></tr><tr><td rowspan=1 colspan=1>within</td><td rowspan=1 colspan=1>View, Header String, CellString/Number</td><td rowspan=1 colspan=1>Bool</td><td rowspan=1 colspan=1>Return whether the cellstring/number exists under the Header Column of the givenview</td></tr><tr><td rowspan=1 colspan=1>Without</td><td rowspan=1 colspan=1>View, Header String, CellString/Number</td><td rowspan=1 colspan=1>Bool</td><td rowspan=1 colspan=1>Return whether the cellstring/number does not exist under the Header Column of thegiven view</td></tr><tr><td rowspan=1 colspan=1>None</td><td rowspan=1 colspan=1>String</td><td rowspan=1 colspan=1>Bool</td><td rowspan=1 colspan=1>Whether the string represents None,like“None&quot;,&quot;No,&quot;-&quot;,&quot;No information provided&quot;</td></tr><tr><td rowspan=1 colspan=1>Before/After</td><td rowspan=1 colspan=1>Row, Row</td><td rowspan=1 colspan=1>Row</td><td rowspan=1 colspan=1>Returns whether rowlis before/after row2</td></tr><tr><td rowspan=1 colspan=1>First/Second/Third/Fourth</td><td rowspan=1 colspan=1>View,Row</td><td rowspan=1 colspan=1>Bool</td><td rowspan=1 colspan=1>Returns whether the row is in the first/second/third position of the view</td></tr><tr><td rowspan=1 colspan=1>Average/Sum/Max/Min</td><td rowspan=1 colspan=1>View, Header String</td><td rowspan=1 colspan=1>Number</td><td rowspan=1 colspan=1>Returns the average/summation/max/min value under the Header Column of the givenview</td></tr><tr><td rowspan=1 colspan=1>Argmin/Argmax</td><td rowspan=1 colspan=1>View, Header String</td><td rowspan=1 colspan=1>Row</td><td rowspan=1 colspan=1>Returns the row with the maximum/minimum value under the Header Column of thegiven view</td></tr><tr><td rowspan=1 colspan=1>Hop</td><td rowspan=1 colspan=1>Row, Header String</td><td rowspan=1 colspan=1>Number/String</td><td rowspan=1 colspan=1>Returns the cell value under the Header Column of the given row</td></tr><tr><td rowspan=1 colspan=1>Diff/Add</td><td rowspan=1 colspan=1>Number, Number</td><td rowspan=1 colspan=1>Number</td><td rowspan=1 colspan=1>Perform arithmetic operations on two numbers</td></tr><tr><td rowspan=1 colspan=1>Greater/Less</td><td rowspan=1 colspan=1>Number, Number</td><td rowspan=1 colspan=1>Bool</td><td rowspan=1 colspan=1>Returns whether the first number is greater/less than the second number</td></tr><tr><td rowspan=1 colspan=1>Equal/Unequal</td><td rowspan=1 colspan=1>String, String/Number, Number</td><td rowspan=1 colspan=1>Bool</td><td rowspan=1 colspan=1>Compare two numbers or strings to see whether they are the same</td></tr><tr><td rowspan=1 colspan=1>Filter_eq/Filter_greater/Filter_less/Filter_greater_or_equal/Filter_less_or_equal</td><td rowspan=1 colspan=1>View, Header String,Number</td><td rowspan=1 colspan=1>View</td><td rowspan=1 colspan=1>Returns the subview of the given with the cellvalues under the Header columngreater/less/eq/..against the given number</td></tr><tr><td rowspan=1 colspan=1>All_eq/All.greater/All_less/AllgreaterorequaI/All_less_or_equal</td><td rowspan=1 colspan=1>View, Header String,Number</td><td rowspan=1 colspan=1>Bool</td><td rowspan=1 colspan=1>Returns the whether all of the cell values under the Header column aregreater/less/eq/.. against the given number</td></tr><tr><td rowspan=1 colspan=1>And/Or</td><td rowspan=1 colspan=1>Bool,Bol</td><td rowspan=1 colspan=1>Bool</td><td rowspan=1 colspan=1>Returns the Boolean operation results of two inputs</td></tr></table>
235
+
236
+ typical functions and their input/output examples in Figure 7.
237
+
238
+ ![](images/2b9890036ef48d62e436f765e6ed67f1068832ca151aef636e57d8d036cca811.jpg)
239
+ Figure 6: The function definition used in TabFact.
240
+ Figure 7: The visualization of different functions.
241
+
242
+ We list all the trigger words for different functions in Figure 8
243
+ Figure 8: The trigger words used to shrink the search space.
244
+
245
+ <table><tr><td rowspan=1 colspan=1>Trigger</td><td rowspan=1 colspan=1>Function</td></tr><tr><td rowspan=1 colspan=1>&#x27;average&#x27;</td><td rowspan=1 colspan=1>average</td></tr><tr><td rowspan=1 colspan=1>&#x27;difference&#x27;,&#x27;gap&#x27;,&#x27;than&#x27;,&#x27;separate&#x27;</td><td rowspan=1 colspan=1>diff</td></tr><tr><td rowspan=1 colspan=1>&#x27;sum&#x27;,&#x27;summation&#x27;,&#x27;combine&#x27;,&#x27;combined&#x27;,&#x27;total&#x27;,&#x27;add&#x27;,&#x27;all&#x27;,&#x27;thereare&#x27;</td><td rowspan=1 colspan=1>ddd, sum</td></tr><tr><td rowspan=1 colspan=1>&#x27;not&#x27;,&#x27;no&#x27;,&#x27;never&#x27;,&quot;didn&#x27;t&quot;,&quot;won&#x27;t&quot;,&quot;wasn&#x27;t&quot;,&quot;isn&#x27;t,&quot;haven&#x27;t&quot;,&quot;weren&#x27;t&quot;,&quot;won&#x27;t&quot;,&#x27;neither&#x27;,&#x27;none&#x27;,&#x27;unable,&#x27;fail&#x27;,&#x27;different&#x27;,&#x27;outside&#x27;,&#x27;unable&#x27;,&#x27;fail&#x27;</td><td rowspan=1 colspan=1>not_eq, not_within,Filter_not_eq,none</td></tr><tr><td rowspan=1 colspan=1>&#x27;not&#x27;,&#x27;no&#x27;,&#x27;none&#x27;</td><td rowspan=1 colspan=1>none</td></tr><tr><td rowspan=1 colspan=1>&#x27;first&#x27;,&#x27;top&#x27;,&#x27;atest&#x27;,&#x27;most&#x27;</td><td rowspan=1 colspan=1>first</td></tr><tr><td rowspan=1 colspan=1>&quot;last&#x27;,&#x27;bottom&#x27;,&#x27;latest&#x27;,&#x27;most&#x27;</td><td rowspan=1 colspan=1>last</td></tr><tr><td rowspan=1 colspan=1>&#x27;RBR&#x27;,&#x27;JJR&#x27;,&#x27;more&#x27;,&#x27;than&#x27;,&#x27;above&#x27;,&#x27;after&#x27;</td><td rowspan=1 colspan=1>filter_greater, greater</td></tr><tr><td rowspan=1 colspan=1>&#x27;RBR&#x27;,&#x27;JJR&#x27;,&#x27;less&#x27;,&#x27;than&#x27;,&#x27;below&#x27;,&#x27;under&#x27;</td><td rowspan=1 colspan=1>filter_less, less</td></tr><tr><td rowspan=1 colspan=1>&#x27;all&#x27;,&#x27;every&#x27;,&#x27;each&#x27;</td><td rowspan=1 colspan=1>all_eq,all_less,all_greater,</td></tr><tr><td rowspan=1 colspan=1>[&#x27;all&#x27;,&#x27;every&#x27;,&#x27;each&#x27;],[&#x27;not&#x27;,&#x27;no&#x27;,&#x27;never&#x27;,&quot;didn&#x27;t&quot;,&quot;won&#x27;t&quot;,&quot;wasn&#x27;t&quot;]</td><td rowspan=1 colspan=1>all_not_eq</td></tr><tr><td rowspan=1 colspan=1>&#x27;at most&#x27;,&#x27;than&#x27;</td><td rowspan=1 colspan=1>all_less_eq,all_greater_eq</td></tr><tr><td rowspan=1 colspan=1>&#x27;RBR&#x27;,&#x27;RBS&#x27;,&#x27;JJR&#x27;,&#x27;JJS&#x27;</td><td rowspan=1 colspan=1>max, min</td></tr><tr><td rowspan=1 colspan=1>&#x27;JR&#x27;,&#x27;JJS&#x27;,&#x27;RBR&#x27;,&#x27;RBS&#x27;,&#x27;to&#x27;,&#x27;fst</td><td rowspan=1 colspan=1>argmax,argmin</td></tr><tr><td rowspan=1 colspan=1>&#x27;within&#x27;,&#x27;one&#x27;,&#x27;of,&#x27;among&#x27;</td><td rowspan=1 colspan=1>within</td></tr><tr><td rowspan=1 colspan=1>&#x27;follow&#x27;,&#x27;following&#x27;,&#x27;followed&#x27;,&#x27;after&#x27;,&#x27;before&#x27;,&#x27;above&#x27;,&#x27;precede&#x27;</td><td rowspan=1 colspan=1>before</td></tr><tr><td rowspan=1 colspan=1>&#x27;follow&#x27;,&#x27;following&#x27;,&#x27;followed&#x27;,&#x27;after&#x27;,&#x27;before&#x27;,&#x27;above&#x27;,&#x27;precede&#x27;</td><td rowspan=1 colspan=1>after</td></tr><tr><td rowspan=1 colspan=1>&#x27;most&#x27;</td><td rowspan=1 colspan=1>most_freq</td></tr><tr><td rowspan=1 colspan=1>ordinal</td><td rowspan=1 colspan=1>First,second,third,fourth</td></tr></table>
246
+
247
+ # B HIGHER-ORDER OPERATIONS
248
+
249
+ 1. Aggregation: the aggregation operation refers to sentences like “the averaged age of all ....”, “the total amount of scores obtained in ...”, etc.
250
+ 2. Negation: the negation operation refers to sentences like “xxx did not get the best score”, “xxx has never obtained a score higher than 5”.
251
+ 3. Superlative: the superlative operation refers to sentences like “xxx achieves the highest score in”, “xxx is the lowest player in the team”.
252
+ 4. Comparative: the comparative operation refers to sentences like “xxx has a higher score than yyy”.
253
+ 5. Ordinal: the ordinal operation refers to sentences like “the first country to achieve xxx is xxx”, “xxx is the second oldest person in the country”.
254
+ 6. Unique: the unique operation refers to sentences like “there are 5 different nations in the tournament, ”, “there are no two different players from U.S”
255
+ 7. All: the for all operation refers to sentences like “all of the trains are departing in the morning”, “none of the people are older than 25.”
256
+ 8. None: the sentences which do not involve higher-order operations like “xxx achieves 2 points in xxx game”, “xxx player is from xxx country”.
257
+
258
+ # C ERROR ANALYSIS
259
+
260
+ Before we quantitatively demonstrate the error analysis of the two methods, we first theoretically analyze the bottlenecks of the two methods as follows:
261
+
262
+ Symbolic We first provide a case in which the symbolic execution can not deal with theoretically in Figure 9. The failure cases of symbolic are either due to the entity link problem or function coverage problem. For example, in the given statement below, there is no explicit mention of ”7-5, 6-4” cell. Therefore, the entity linking model fails to link to this cell content. Furthermore, even though we can successfully link to this string, there is no defined function to parse ”7-5, 6-5” as ”won two games” because it requires linguistic/mathematical inference to understand the implication from the string. Such cases are the weakness of symbolic reasoning models.
263
+
264
+ ![](images/3f106b1aa4b5c51cc3639b4f44ed439f435600f8d159aa1666a75ed594195679.jpg)
265
+
266
+ ![](images/40d64137defec9335b2dfb050d1e9dc89c03e9aabae152515b9b2f85a1a3446e.jpg)
267
+ Figure 9: The error case of symbolic reasoning model
268
+
269
+ BERT In contrast, Table-BERT model seems to have no coverage problem as long as it can feed the whole table content. However, due to the template linearization, the table is unfolded into a long sequence as depicted in Figure 10. The useful information, ”clay” are separated in a very long span of unrelated words. How to grasp such a long dependency and memorize the history information poses a great challenge to the Table-BERT model.
270
+
271
+ ![](images/7485090f421bd8789ee5f1f327e6529721e2677f8d70fdc2c8b4ba6e89c3f259.jpg)
272
+ Figure 10: The error case of BERT NLI model
273
+
274
+ Statistics Here we pick 200 samples from the validation set which only involve single semantic and divide them into different categories. We denote the above-mentioned cases as ”linguistic inference”, and the sentences which only describe information from one row as ”Trivial”, the rest are based on their logic operation like Aggregation, Superlative, Count, etc. We visualize the accuracy of LPA and Table-BERT in Figure 11. From which we can observe that the statements with linguistic inference are much better handled with the BERT model, while LPA achieves an accuracy barely higher than a random guess. The BERT model can deal with trivial cases well as it uses a horizontal scan order. In contrast, the LPA model outperforms BERT on higher-order logic cases, especially when the statement involves operations like Count and Superlative.
275
+
276
+ ![](images/245d9e87e13a0862c0b5d27a3c5b5c9a0d3b6c7d8fde191a1a7272c227e106d7.jpg)
277
+ Error Analysis of LPA/Table-BERT
278
+ Figure 11: The error analysis of two different models
279
+
280
+ # D REASONING DEPTH
281
+
282
+ Given that our LPA has the breadth to cover a large semantic space. Here we also show the reasoning depth in terms of how many logic inference steps are required to tackle verify the given claims. We visualize the histogram in Figure 12 and observe that the reasoning steps are concentrated between 4 to 7. Such statistics indicate the difficulty of fact verification in our TABFACT dataset.
283
+
284
+ ![](images/825127291fce4bdd67ad4861d2182476f16528f3a53e6052fd99887fcd2bf4be.jpg)
285
+ Figure 12: The histogram of reasoning steps required to verify the claims
286
+
287
+ # E WHETHER TO KEEP WIKIPEDIA CONTEXT
288
+
289
+ Before crowd-sourcing the annotation for the tables, we observed that the previous WikiTableQuestion Pasupat & Liang (2015) provides context (Wikipedia title) during annotation while the WikiSQL Zhong et al. (2017) does not. Therefore, we particularly design ablation annotation tasks to compare the annotation quality between w/ and w/o Wikipedia title as context. We demonstrate a typical example in Figure 13, where a Wiki table10 aims to describe the achievements of a tennis player named Dennis, but itself does not provide any explicit hint about “Tennis Player Dennis”. Unsurprisingly, the sentence fluency and coherence significantly drop without such information. Actually, a great portion of these Wikipedia tables requires background knowledge (like sports, celebrity, music, etc) to understand. We perform a small user study to measure the fluency of annotated statements. Specifically, we collected 50 sentences from both annotation w/ and w/o title context and randomly shuffle them as pairs, which are distributed to the 8 experts without telling them their source to compare the language fluency. It turns out that the experts ubiquitously agree that the statements with Wikipedia titles are more human-readable. Therefore, we argue that such a context is necessary for annotators to understand the background knowledge to write more fluent sentences. On the other end, we also hope to minimize the influence of the textual context in the table-based verification task, therefore, we design an annotation criterion: the Wikipedia title is provided to the workers during the annotation, but they are explicitly banned from bringing any unrelated background information other than the title into the annotation. As illustrated in Figure 13, the title only acts as a placeholder in the statements to make it sound more natural.
290
+
291
+ ![](images/301a78c316e95c017869c01f69e36cbf3cfa0d4be97ddc3c08353e60d268a470.jpg)
292
+
293
+ # F ENTITY LINKING
294
+
295
+ Here we propose to use the longest string match to find all the candidate entities in the table, when multiple candidates coexist, we select the one with the minimum edit distances. The visualization is demonstrated in Figure 14.
296
+
297
+ ![](images/a5d843ef5754ca7d5195b4bde57e48ecd0512435de24d714e28c48650edb50fe.jpg)
298
+ Statement: John E. Moss is a democratic who is from California 3 district
299
+
300
+ ![](images/4ecef75b775904b0569e94f0b9ee6617c45d45e9015b1e0dd502fe9a3787175b.jpg)
301
+ Figure 14: Entity Linking System.
302
+
303
+ # G THE PROGRAM CANDIDATES
304
+
305
+ Here we demonstrate some program candidates in Figure 15, and show how our proposed discriminator is designed to compute the matching probability between the statement and program. Specifically, we employ two transformer-based encoder Vaswani et al. (2017), the left one is aimed to encode the program sequence and the right one is aimed to encode the statement sequence. Their output from [CLS] position is concatenated and fed into an MLP to classify the verification label.
306
+
307
+ # H HIT INTERFACE
308
+
309
+ We provide the human intelligent task interface on AMT in the following. Very detailed instructions on what are trivial statements and what are non-trivial statements. Comprehensive examples have been given to guide the Turkers to write well-formed while logically plausible statements. In order to harvest fake statements without statistical cues, we also provide detailed instructions on how to re-write the ”fake” statements. During the annotation, we hire 8 experts to perform sanity checks on each of the HIT to make sure that the annotated dataset is clean and meets our requirements.
310
+
311
+ Survey Instructions (Click to expand)
312
+
313
+ You are given a table with its wikipedia source, your job is to compose non-trivial statements supported by the table.
314
+
315
+ - "Trivial": the sentence can be easily generated by looking only a certain row without understanding the table.
316
+
317
+ - "Non-trivial": the sentence requires reading multiple rows of the table and understanding of the table content. For example, the sentences which include summarization, comparative, negation, relational, inclusion, superlative, aggregational, rephrase or combinations of them are non-trivial. But non-trvial is not limited to these types, any statement involving understanding and reasoning is accepted.
318
+
319
+ We list two examples below to help you understand, you are encouraged to open the table wikipedia link to understand the context of the table. (Everything in the table is lower-cased, you are free to use lower or upper case in your sentence):
320
+
321
+ Table Wikipedia Link: Road_Rules_Challenge:_The_Island (https://en.wikipedia.org/wiki/Real_World/Road_Rules_Challenge:_The_Island)
322
+
323
+ <table><tr><td rowspan=1 colspan=1>player</td><td rowspan=1 colspan=1> original season</td><td rowspan=1 colspan=1>gender</td><td rowspan=1 colspan=1> eliminated</td><td rowspan=1 colspan=1> placing</td></tr><tr><td rowspan=1 colspan=1>derrick kosinski</td><td rowspan=1 colspan=1>rr : x - treme</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>winner</td><td rowspan=1 colspan=1>winner</td></tr><tr><td rowspan=1 colspan=1>evelyn smith</td><td rowspan=1 colspan=1>fresh meat</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>winner</td><td rowspan=1 colspan=1>winner</td></tr><tr><td rowspan=1 colspan=1> johnny devenanzio</td><td rowspan=1 colspan=1>rw : key west</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>winner</td><td rowspan=1 colspan=1>winner</td></tr><tr><td rowspan=1 colspan=1>kenny santucci</td><td rowspan=1 colspan=1>fresh meat</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>winner</td><td rowspan=1 colspan=1>winner</td></tr><tr><td rowspan=1 colspan=1> jenn grijalva</td><td rowspan=1 colspan=1>rw :denver</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>episode 8</td><td rowspan=1 colspan=1>runner - up</td></tr><tr><td rowspan=1 colspan=1> paula meronek</td><td rowspan=1 colspan=1>rw : key west</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>episode 8</td><td rowspan=1 colspan=1>runner - up</td></tr><tr><td rowspan=1 colspan=1>robin hibbard</td><td rowspan=1 colspan=1>rw : san diego</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>episode 8</td><td rowspan=1 colspan=1>runner - up</td></tr><tr><td rowspan=1 colspan=1>ryan kehoe</td><td rowspan=1 colspan=1>fresh meat</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>episode 8</td><td rowspan=1 colspan=1>runner - up</td></tr><tr><td rowspan=1 colspan=1>dunbar merrill</td><td rowspan=1 colspan=1>rw : sydney</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>episode 8</td><td rowspan=1 colspan=1>9th place</td></tr><tr><td rowspan=1 colspan=1> johanna botta</td><td rowspan=1 colspan=1>rw : austin</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>episode 8</td><td rowspan=1 colspan=1>10th place</td></tr><tr><td rowspan=1 colspan=1> kellyanne judd</td><td rowspan=1 colspan=1>rw : sydney</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>episode 8</td><td rowspan=1 colspan=1>11th place</td></tr><tr><td rowspan=1 colspan=1>dan walsh</td><td rowspan=1 colspan=1>r : viewers&#x27; revenge</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>episode 8</td><td rowspan=1 colspan=1>12th place</td></tr><tr><td rowspan=1 colspan=1>colie edison</td><td rowspan=1 colspan=1>rw :denver</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>episode7</td><td rowspan=1 colspan=1>13th place</td></tr><tr><td rowspan=1 colspan=1>cohutta grindstaff</td><td rowspan=1 colspan=1>rw : sydney</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>episode 6</td><td rowspan=1 colspan=1>14th place</td></tr><tr><td rowspan=1 colspan=1>tyrie ballard</td><td rowspan=1 colspan=1>rw :denver</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>episode 5</td><td rowspan=1 colspan=1>15th place</td></tr><tr><td rowspan=1 colspan=1>ashli robson</td><td rowspan=1 colspan=1>rw : sydney</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>episode 4</td><td rowspan=1 colspan=1>16th place</td></tr><tr><td rowspan=1 colspan=1>rachel robinson</td><td rowspan=1 colspan=1>rr : campus crawl</td><td rowspan=1 colspan=1>female</td><td rowspan=1 colspan=1>episode 3</td><td rowspan=1 colspan=1>17th place</td></tr><tr><td rowspan=1 colspan=1>abram boise</td><td rowspan=1 colspan=1>rr : south pacific</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>episode 2</td><td rowspan=1 colspan=1>18th place</td></tr><tr><td rowspan=1 colspan=1>dave malinosky</td><td rowspan=1 colspan=1>rw : hollywood</td><td rowspan=1 colspan=1>male</td><td rowspan=1 colspan=1>episode 2 (quit)</td><td rowspan=1 colspan=1>19th place</td></tr></table>
324
+
325
+ # Rejected ("Trivial") examples:
326
+
327
+ 1. In the TV series "The Island", Derrick Kosinski is a male character. (Easy! You can simply look into first row to produce this sentence.)
328
+
329
+ 2. Derrick Kosinski has the placing of winner in the TV series.
330
+
331
+ 3. Kenny Santucci is from original season of "Fresh Meat".
332
+
333
+ 4. Jenn Grijalva is Runner-Up of the challenge.
334
+
335
+ # Accepted ("Non-Trivial") examples:
336
+
337
+ (Superlative): In the TV series "The Island", Evelyn Smith is the highest ranked female.
338
+ (Comparitive): In the TV series "The Island", Jenn Grijalva appears later than Colie Edison in the series.
339
+ (Relational): Ashli Robson appears one episode later than Rachel Robinson in the TV series.
340
+ (Summarization): there are three male winners in the challenge.
341
+ (Rephrase): Evelyn Smith never eliminated in any episode in the TV series.
342
+ (Combination): Derrick Kosinski is the winner and Jenn Grijalva is Runner-Up of the challenge.
343
+ (Negation): jenn grijalva is not the female winning the challenge.
344
+ (Inclusion): Evelyn smith is one of the four winner for the challenge.
345
+
346
+ Table Wikipedia Link: AFC_Champions_League (https://en.wikipedia.org/wiki/AFC_Champions_League)
347
+
348
+ <table><tr><td rowspan=1 colspan=1>rank</td><td rowspan=1 colspan=1>member association</td><td rowspan=1 colspan=1> points</td><td rowspan=1 colspan=1> group stage</td><td rowspan=1 colspan=1> play - off</td><td rowspan=1 colspan=1> afc cup</td></tr><tr><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>saudi arabia</td><td rowspan=1 colspan=1>860.5</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td></tr><tr><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>qatar</td><td rowspan=1 colspan=1>838.2</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>iran</td><td rowspan=1 colspan=1>813.5</td><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td></tr><tr><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>uae</td><td rowspan=1 colspan=1>750.2</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>0</td></tr><tr><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>uzbekistan</td><td rowspan=1 colspan=1>680.8</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td></tr><tr><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>india</td><td rowspan=1 colspan=1>106.4</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>2</td></tr><tr><td rowspan=1 colspan=1>7</td><td rowspan=1 colspan=1>jordan</td><td rowspan=1 colspan=1>128.7</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>2</td></tr></table>
349
+
350
+ # Rejected ("Trivial") examples:
351
+
352
+ 1. In the rank, it has 0 play - off.
353
+ 2. ratar is in rank 2.
354
+ 3. When member association is india, the points is 106.4.
355
+
356
+ # Accepted ("Non-Trivial") examples:
357
+
358
+ (Negation): iran is one of the two countries getting into the 4th stage. (Average): uae and qatar have an average of 1 play - off during the champion league.
359
+
360
+ (Algorithmic): saudi arabia achieves 22.3 more points than qatar.
361
+
362
+ (Comparison): india got lower points than jordan in the league.
363
+
364
+ (Superlative): In the Champions League, saudi arabia achieves the highest points.
365
+
366
+ (Combination): saudi arabia is the group stage 4 while iran is in group stage 3.
367
+
368
+ Tips1: We set minimum length to 9, and sentences with more complicated grammar structures are preferred.
369
+ Tips2: Do not limited to only one type of description like superlative or relative.
370
+ Tips3: Copying the records from the table is encouraged, which can help avoid typos and mis-spelling as much as possible, .
371
+ Tips4: Do not vague words like "maybe", "perhaps", "good", "excellent", "most", etc.
372
+
373
+ First Read the following table, then write five diverse non-trivial facts for this given table:
374
+
375
+ Table Source: athletics at the 1952 summer olympics - men 's pole vault (https://en.wikipedia.org/wiki/Athletics_at_the_1952_Summer_Olympics_%E2%80%93_Men%27s_pole_vault)
376
+
377
+ <table><tr><td rowspan=1 colspan=1>athlete</td><td rowspan=1 colspan=1>nationality</td><td rowspan=1 colspan=1>3.60</td><td rowspan=1 colspan=1>3.80</td><td rowspan=1 colspan=1>3.95</td><td rowspan=1 colspan=1>result</td></tr><tr><td rowspan=1 colspan=1>bob richards</td><td rowspan=1 colspan=1>united states</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.55 or</td></tr><tr><td rowspan=1 colspan=1>don laz</td><td rowspan=1 colspan=1>united states</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.50</td></tr><tr><td rowspan=1 colspan=1>ragnar lundberg</td><td rowspan=1 colspan=1>sweden</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.40</td></tr><tr><td rowspan=1 colspan=1>petro denysenko</td><td rowspan=1 colspan=1>soviet union</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.40</td></tr><tr><td rowspan=1 colspan=1>valto olenius</td><td rowspan=1 colspan=1>finland</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>4.30</td></tr><tr><td rowspan=1 colspan=1>bunkichi sawada</td><td rowspan=1 colspan=1>japan</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>xx0</td><td rowspan=1 colspan=1>4.20</td></tr><tr><td rowspan=1 colspan=1>volodymyr brazhnyk</td><td rowspan=1 colspan=1>soviet union</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.20</td></tr><tr><td rowspan=1 colspan=1>viktor knyazev</td><td rowspan=1 colspan=1>soviet union</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.20</td></tr><tr><td rowspan=1 colspan=1>george mattos</td><td rowspan=1 colspan=1>united states</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.20</td></tr><tr><td rowspan=1 colspan=1>erkki kataja</td><td rowspan=1 colspan=1>finland</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.10</td></tr><tr><td rowspan=1 colspan=1>tamás homonnay</td><td rowspan=1 colspan=1>sweden</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.10</td></tr><tr><td rowspan=1 colspan=1>lennart lind</td><td rowspan=1 colspan=1>hungary</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4.10</td></tr><tr><td rowspan=1 colspan=1>milan milakov</td><td rowspan=1 colspan=1>yugoslavia</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>。</td><td rowspan=1 colspan=1>x0</td><td rowspan=1 colspan=1>4.10</td></tr><tr><td rowspan=1 colspan=1>rigas efstathiadis</td><td rowspan=1 colspan=1>greece</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>3.95</td></tr><tr><td rowspan=1 colspan=1>torfy bryngeirsson</td><td rowspan=1 colspan=1>iceland</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>3.95</td></tr><tr><td rowspan=1 colspan=1>erling kaas</td><td rowspan=1 colspan=1>norway</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>xxx</td><td rowspan=1 colspan=1>3.80</td></tr><tr><td rowspan=1 colspan=1>theodosios balafas</td><td rowspan=1 colspan=1>greece</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>。</td><td rowspan=1 colspan=1>xxx</td><td rowspan=1 colspan=1>3.80</td></tr><tr><td rowspan=1 colspan=1> jukka piironen</td><td rowspan=1 colspan=1>finland</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>x0</td><td rowspan=1 colspan=1>xX</td><td rowspan=1 colspan=1>3.80</td></tr><tr><td rowspan=1 colspan=1> zeno dragomir</td><td rowspan=1 colspan=1>romania</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>x0</td><td rowspan=1 colspan=1>xX</td><td rowspan=1 colspan=1>3.80</td></tr></table>
378
+
379
+ Please write a non-trivial statement, minimum 9 words
380
+
381
+ Please write a non-trivial statement, minimum 9 words
382
+
383
+ Please write a non-trivial statement, minimum 9 words
384
+
385
+ Please write a non-trivial statement, minimum 9 words
386
+
387
+ Please write a non-trivial statement, minimum 9 words
388
+
389
+ # Survey Instructions (Click to expand)
390
+
391
+ Please first read a table to understand its content, an example is shown below, which contains the leaderboard of a competition.
392
+
393
+ <table><tr><td rowspan=1 colspan=1>Player</td><td rowspan=1 colspan=1> Original Season</td><td rowspan=1 colspan=1>Gender</td><td rowspan=1 colspan=1> Eliminated</td><td rowspan=1 colspan=1>Placing</td></tr><tr><td rowspan=1 colspan=1>Derrick Kosinski</td><td rowspan=1 colspan=1>RR: X-Treme</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Winner</td><td rowspan=1 colspan=1>Winner</td></tr><tr><td rowspan=1 colspan=1>Evelyn Smith</td><td rowspan=1 colspan=1>Fresh Meat</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Winner</td><td rowspan=1 colspan=1>Winner</td></tr><tr><td rowspan=1 colspan=1>Johnny Devenanzio</td><td rowspan=1 colspan=1>RW: Key West</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Winner</td><td rowspan=1 colspan=1>Winner</td></tr><tr><td rowspan=1 colspan=1>Kenny Santucci</td><td rowspan=1 colspan=1>Fresh Meat</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Winner</td><td rowspan=1 colspan=1>Winner</td></tr><tr><td rowspan=1 colspan=1> Jenn Grijalva</td><td rowspan=1 colspan=1>RW: Denver</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode 8</td><td rowspan=1 colspan=1>Runner-Up</td></tr><tr><td rowspan=1 colspan=1>Paula Meronek</td><td rowspan=1 colspan=1>RW: Key West</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode 8</td><td rowspan=1 colspan=1>Runner-Up</td></tr><tr><td rowspan=1 colspan=1>Robin Hibbard</td><td rowspan=1 colspan=1>RW: San Diego</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode 8</td><td rowspan=1 colspan=1>Runner-Up</td></tr><tr><td rowspan=1 colspan=1>Ryan Kehoe</td><td rowspan=1 colspan=1>Fresh Meat</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Episode 8</td><td rowspan=1 colspan=1>Runner-Up</td></tr><tr><td rowspan=1 colspan=1>Dunbar Merrill</td><td rowspan=1 colspan=1>RW: Sydney</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Episode 8</td><td rowspan=1 colspan=1>9th Place</td></tr><tr><td rowspan=1 colspan=1>Johanna Botta</td><td rowspan=1 colspan=1>RW: Austin</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode8</td><td rowspan=1 colspan=1>10th Place</td></tr><tr><td rowspan=1 colspan=1> KellyAnne Judd</td><td rowspan=1 colspan=1>RW: Sydney</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode 8</td><td rowspan=1 colspan=1>11th Place</td></tr><tr><td rowspan=1 colspan=1>Dan Walsh</td><td rowspan=1 colspan=1>RR: Viewers&#x27; Revenge</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Episode 8</td><td rowspan=1 colspan=1>12th Place</td></tr><tr><td rowspan=1 colspan=1>Colie Edison</td><td rowspan=1 colspan=1>RW: Denver</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode 7</td><td rowspan=1 colspan=1>13th Place</td></tr><tr><td rowspan=1 colspan=1>Cohutta Grindstaff</td><td rowspan=1 colspan=1>RW: Sydney</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Episode 6</td><td rowspan=1 colspan=1>14th Place</td></tr><tr><td rowspan=1 colspan=1>Tyrie Ballard</td><td rowspan=1 colspan=1>RW: Denver</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Episode 5</td><td rowspan=1 colspan=1>15th Place</td></tr><tr><td rowspan=1 colspan=1>Ashli Robson</td><td rowspan=1 colspan=1>RW: Sydney</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode 4</td><td rowspan=1 colspan=1>16th Place</td></tr><tr><td rowspan=1 colspan=1>Rachel Robinson</td><td rowspan=1 colspan=1>RR: Campus Crawl</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode 3</td><td rowspan=1 colspan=1>17th Place</td></tr><tr><td rowspan=1 colspan=1>Abram Boise</td><td rowspan=1 colspan=1>RR: South Pacific</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Episode 2</td><td rowspan=1 colspan=1>18th Place</td></tr><tr><td rowspan=1 colspan=1>Dave Malinosky</td><td rowspan=1 colspan=1>RW: Hollywood</td><td rowspan=1 colspan=1>Male</td><td rowspan=1 colspan=1>Episode 2 (quit)</td><td rowspan=1 colspan=1>19th Place</td></tr><tr><td rowspan=1 colspan=1>Tonya Cooley</td><td rowspan=1 colspan=1>RW: Chicago</td><td rowspan=1 colspan=1>Female</td><td rowspan=1 colspan=1>Episode 1</td><td rowspan=1 colspan=1>20th Place</td></tr></table>
394
+
395
+ You are given a sentence to describe a fact in the table, please follow the following two cases to finish the job:
396
+
397
+ \* If the given sentence is fluent and consistent with the table, then please re-write it to make it "fake" based on the following criteria:
398
+
399
+ 1. Contradictory: it should still be a fluent and coherent, but it needs be explicitly contrdictory to the facts in the table.
400
+
401
+ 2. Do not simply add NOT to revert the sentence meaning.
402
+
403
+ 3. Do not write neutral or non-verifiable sentences, you need to confirm it in the table.
404
+
405
+ 3. The fake statement needs to be clear, explicit and natural, do not use vague or ambiguous words like "bad", "good", "many", etc.
406
+
407
+ 4. try to use diverse fake types during annotatoin.
408
+
409
+ Example 1. Given statement: Ashli Robson was eliminated in episode 4.
410
+ Good Faking: Ashli Robson survives through episode 1 to episode 5.
411
+ Good Faking: Ashli Robson is not the only one eliminated in episode 4.
412
+ Bad Faking (Simply add not): Ashli Robson was not eliminated on episode 4. Bad Faking (Ambiguous, who is Ashli?): Ashli was not eliminated on episode 4.
413
+ Bad Faking (Irrelevant): Ashli was born in Mexico.
414
+ Bad Faking (Too subjective, what do you mean by "early"): AshlDerrick Kosinski lost the game very early.
415
+ Bad Faking (Not verifiable): AshlDerrick Kosinski was the most popular player. Example 2. Given statement: Tonya Cooley is in the 20th place.
416
+ Good Faking: Tonya Cooley is not the last in placing.
417
+ Good Faking: Tonya Cooley is eliminated in episode 1 but not the last in placing.
418
+ Bad Faking: (There is nothing larger than 20th) Tonya Cooley is after the 20th place.
419
+ Bad Faking: (Half Wrong/half Right) When the gneder is female, the player is Tonya Colley.
420
+ Bad Faking (Introduce values outside the table): Tonya Cooley is in the 43th place.
421
+ Bad Faking (Typo): Tonya Cooler is in the 20th palace.
422
+
423
+ \* If the given statement is erroneous (see following), please type in N/A in the input box.
424
+
425
+ 1. critical grammar error like missing verbs, nouns, etc. Do not count small errors like tense, singular/plural, case errors.
426
+ 2. serious typo, misspelling.
427
+ 3. the described fact is contradictory to the table.
428
+
429
+ You can use the highlight button to help you find the mentions in the table, you can use either upper or lower case, not important
430
+
431
+ First Read the given tables, then rewrite the statements to make them fake:
432
+
433
+ Table Source: 2003 - 04 isu junior grand prix (https://en.wikipedia.org/wiki/2003%E2%80%9304_ISU_Junior_Grand_Prix)
434
+
435
+ <table><tr><td rowspan=1 colspan=1>rank</td><td rowspan=1 colspan=1>nation</td><td rowspan=1 colspan=1>gold</td><td rowspan=1 colspan=1>silver</td><td rowspan=1 colspan=1>bronze</td><td rowspan=1 colspan=1>total</td></tr><tr><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>russia</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>14</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>32</td></tr><tr><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>united states</td><td rowspan=1 colspan=1>9</td><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>7</td><td rowspan=1 colspan=1>22</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>canada</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>16</td></tr><tr><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1> japan</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>13</td></tr><tr><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>hungary</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>6</td></tr><tr><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>czech republic</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>4</td></tr><tr><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>ukraine</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>4</td></tr><tr><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>italy</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>4</td></tr><tr><td rowspan=1 colspan=1>7</td><td rowspan=1 colspan=1>sweden</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>3</td></tr><tr><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>israel</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>2</td></tr><tr><td rowspan=1 colspan=1>9</td><td rowspan=1 colspan=1>finland</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td></tr><tr><td rowspan=1 colspan=1>9</td><td rowspan=1 colspan=1>france</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>1</td></tr></table>
436
+
437
+ Hightlight Mentions, Click Me!
438
+
439
+ Given Statement: russia won the most silver medals in the grand prix
440
+
441
+ Please rewrite a sentence which is contradictory to the table
442
+
443
+ Hightlight Mentions, Click Me!
444
+
445
+ Given Statement: france and finland won the least medals in the grand prix
446
+
447
+ Please rewrite a sentence which is contradictory to the table
448
+
449
+ Hightlight Mentions, Click Me!
450
+
451
+ Given Statement: hungary and finland were the only countries that idd not win any silver medals
452
+
453
+ Please rewrite a sentence which is contradictory to the table
454
+
455
+ Hightlight Mentions, Click Me!
456
+
457
+ Given Statement: the united states won more gold medals than canada
458
+
459
+ Please rewrite a sentence which is contradictory to the table
460
+
461
+ Hightlight Mentions, Click Me!
462
+
463
+ Given Statement: canada won the most bronze medals in the grand prix
464
+
465
+ Please rewrite a sentence which is contradictory to the table
parse/train/rkeJRhNYDH/rkeJRhNYDH_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rkeJRhNYDH/rkeJRhNYDH_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rkeJRhNYDH/rkeJRhNYDH_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/tHzvH4Rv1Qa/tHzvH4Rv1Qa.md ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generative Occupancy Fields for 3D Surface-Aware Image Synthesis
2
+
3
+ Xudong $\mathbf { X } \mathbf { u } ^ { \dag }$ Xingang Pan‡ Dahua Lin† Bo Dai§ †CUHK - SenseTime Joint Lab, The Chinese University of Hong Kong
4
+ ‡Max Planck Institute for Informatics $^ { \ S } S$ - Lab, Nanyang Technological University
5
+ $^ \dag \{ \tt x x 0 1 8$ , dhlin}@ie.cuhk.edu.hk ‡xpan@mpi-inf.mpg.de §bo.dai@ntu.edu.sg
6
+
7
+ # Abstract
8
+
9
+ The advent of generative radiance fields has significantly promoted the development of 3D-aware image synthesis. The cumulative rendering process in radiance fields makes training these generative models much easier since gradients are distributed over the entire volume, but leads to diffused object surfaces. In the meantime, compared to radiance fields occupancy representations could inherently ensure deterministic surfaces. However, if we directly apply occupancy representations to generative models, during training they will only receive sparse gradients located on object surfaces and eventually suffer from the convergence problem. In this paper, we propose Generative Occupancy Fields (GOF), a novel model based on generative radiance fields that can learn compact object surfaces without impeding its training convergence. The key insight of GOF is a dedicated transition from the cumulative rendering in radiance fields to rendering with only the surface points as the learned surface gets more and more accurate. In this way, GOF combines the merits of two representations in a unified framework. In practice, the training-time transition of start from radiance fields and march to occupancy representations is achieved in GOF by gradually shrinking the sampling region in its rendering process from the entire volume to a minimal neighboring region around the surface. Through comprehensive experiments on multiple datasets, we demonstrate that GOF can synthesize high-quality images with 3D consistency and simultaneously learn compact and smooth object surfaces. Our code is available at https://github.com/SheldonTsui/GOF_NeurIPS2021.
10
+
11
+ # 1 Introduction
12
+
13
+ Deep generative adversarial networks [1–4] have demonstrated their superiority in synthesizing photorealistic and striking images. However, these models are often constrained in the 2D domain, struggling to generate 3D consistent images, let alone grasping the underlying 3D object shapes. 3D-aware image synthesis thus becomes an appealing and promising choice as it learns a 3D representation explicitly from a collection of unposed images. Consequently, it can not only synthesize 3D consistent images by manually controlling the rendering camera poses, but also pave the way for various downstream tasks such as shape editing and relighting.
14
+
15
+ Inspired by the success of neural radiance fields (NeRF) [5] in 3D scene modeling, recent 3D-aware generative models, referred to as generative radiance fields (GRAFs), have applied NeRF as the explicit 3D representation for image synthesis [6, 7]. With the help of NeRF, they are capable of hallucinating photorealistic images in a 3D consistent manner. Moreover, since NeRF holds the superior ability for rendering translucent objects by compositing colored densities along each ray in its volume rendering process, it also significantly facilitates the training of GRAFs as gradients are naturally distributed over the entire volume. However, they still incur an inevitable incapacity of capturing an accurate and compact object surface. As shown in Fig. 1(a), the state-of-the-art GRAF model pi-GAN is prone to predict diffused object surfaces, as the volume densities are smoothly spread around the surfaces. Such diffused surfaces could significantly hamper the applications of GRAF models in downstream tasks such as shape recovery. Moreover, under different light conditions, the artifacts of surfaces could be amplified and inherited through the rendering process, resulting in synthesized images that are messy and faulty.
16
+
17
+ ![](images/8e4cfc63bb10b58b927f5606b09142659b4d5b7e80778cc5cc03f1ee4f7ac8b7.jpg)
18
+ Figure 1: (a) The cumulative rendering weights (color weights) of our approach GOF more focus on the surface (y-axis) than previous methods like pi-GAN [6], which indicates our predicted volume densities more concentrate on the object surfaces. (b) Owing to the diffused volume densities, the preceding method pi-GAN captures messy surface normals and object shapes. Moreover, the image rendered only with the surface points is quite noisy. In contrast, more surface-centralized densities predicted by our method ensure compact and smooth object surfaces thus enable a high-quality surface rendering during inference. (Zoom in for best view)
19
+
20
+ In this work, we propose Generative Occupancy Fields (GOF), a novel GRAF-like image synthesis model that can learn compact object surfaces. GOF is inspired by the design of occupancy networks [8] that implicitly represents a 3D surface with the continuous decision boundary of a neural classifier. In this way, occupancy networks are capable of effectively locating surfaces via root-finding and encouraging the compactness of modeled surfaces inherently. However, GOF avoids directly applying such a design to 3D-aware image synthesis. While occupancy networks require precise object masks to train [9, 10], a more crucial factor is that they rely on the surface points for differentiable rendering [11, 12, 9, 13]. A generative model equipped with occupancy representations will thus meet severe convergence problems during training due to the sparsity of gradients. To unify the merits of both NeRF and occupancy networks for 3D-aware image synthesis, GOF adopts the design of GRAFs and at the same time leverages a nontrivial transition from the cumulative rendering to rendering with only the surface points, i.e. start from radiance fields and march to occupancy representations. Specifically, GOF will reinterpret the alpha values in the cumulative rendering process as occupancy values, so that it can locate the learned surface via root-finding. Subsequently, it can naturally encourage the compactness of learned surfaces by gradually shrinking the sampling region in the rendering process from the entire volume to a minimal neighboring region around the surface.
21
+
22
+ Thanks to the unified integration of radiance fields and occupancy representations, GOF can benefit from the representation effectiveness of radiance fields while ensuring the compactness of learned object surfaces through the shrinking process. As presented in Fig. 1(a), in GOF the distribution of cumulative rendering weights concentrates more closely around object surfaces compared to that of pi-GAN, eventually resulting in a compact and smooth surface. Moreover, GOF can thus alternatively render an image only with points on the learned surfaces like occupancy networks as illustrated in Fig. 1 (b). And during inference such a rendering scheme has the potential to alleviate the burden of sampling a large number of points along each ray for synthesizing a single image. Through exhaustive experiments on synthetic and real-world datasets, we demonstrate that GOF can achieve state-of-the-art performance on 3D-aware image synthesis. Meanwhile, it is capable of capturing compact and accurate 3D shapes that empower its applications in various downstream tasks such as 3D shape reconstruction. We validate this point by quantitative results of 3D shape reconstruction on the Synface dataset. Finally, we have also verified the ability of GOF in rendering high-quality images with only the surface points, which is hardly achievable in previous approaches.
23
+
24
+ # 2 Related Work
25
+
26
+ Neural implicit function for 3D representations. A plethora of works [14, 8, 15–21] has exploited neural implicit functions for 3D geometry modeling. Among these works, neural radiance fields (NeRF) [5] has attracted growing attention due to its compelling results on novel view synthesis. It leverages an MLP network to approximate the radiance fields of static 3D scenes. And by learning to reconstruct existing views, it is capable of capturing 3D geometric details from only 2D supervision. A series of succeeding variants of NeRF have been proposed to improve it, including utilizing the spatial sparsity to reduce its computational complexity [22, 23], refining the rendering process to improve its efficiency [24, 25], as well as adopting reflectance decompositions to enhance its modeling capacity [26, 27]. There are also works that capitalize on the differentiable rendering of neural implicit functions for 3D reconstruction [11, 12, 9, 13, 28, 29]. Specifically, SDFDiff [12] relies on the interpolation of eight neighboring SDF samples around the surface intersection to obtain the derivatives, while Atzmon et al [28] use a sample network to relate samples’ positions to network parameters and thus achieve an improved generalization ability. More interestingly, by adopting occupancy representations, DVR [11] and IDR [9] show volumetric rendering is inherently differentiable so that network parameters can be optimized directly with derived analytic gradients. Different from methods aforementioned above, GOF is a generative model for 3D-aware image synthesis that can learn 3D representations from a set of 2D images with unknown camera poses.
27
+
28
+ Generative 3D-aware image synthesis. In order to synthesize 3D consistent images, researchers have explored a lot on how to incorporate 3D representations into the classical GAN model [1]. Some methods [30–32] resort to learning from 3D data directly, yet the requirement of 3D supervision limits their practical applicability. A more appealing alternative is thus learn from unposed 2D images in an unsupervised manner. Preceding works along this line of research adopt voxels as their intermediate 3D representations [33–35] and achieve explicit control over the pose of synthesized images. Inspired by the superior representation capacity of radiance fields over voxels, recent attempts [6, 7, 36] have replaced voxels with neural radiance fields [5] to improve the fidelity of synthesized 3D consistent images. Despite the striking performance, these models, referred to as generative radiance fields (GRAFs), tend to predict diffused object surfaces, which impedes its applicability in various downstream tasks. In this work, GOF aims at resolving this problem of GRAFs by combining them with the perspective of occupancy networks [8] and recent successes of recovering smooth and accurate shapes from natural images [37–40]. Recently, three concurrent works, UNISURF [10], NeuS [41] and VolSDF [42], also combine implicit surfaces and radiance fields in a unified framework, sharing similar spirits with our proposed GOF but different in tasks and focuses. Specifically, They focus on multi-view 3D reconstruction and attempt to alleviate the requirement of training-time precise masks through the integration of radiance fields and occupancy representations. Nevertheless, they still require images with ground-truth poses for training. By contrast, GOF targets on the challenging task of 3D-aware image synthesis, where the synthesized images should be not only natural and vivid, but also consistent in the 3D space. By integrating radiance fields and occupancy representations, GOF is able to facilitate the convergence of GRAFs and ensure the compactness of learned object surfaces. Compared to existing GRAFs, the applicability of GOF is thus significantly broadened.
29
+
30
+ # 3 Methodology
31
+
32
+ We propose generative occupancy fields (GOF), a novel synthesis model, belonging to generative radiance fields and aiming to learn from unposed images. Conditioned on a latent code $\mathbf { z } \sim p _ { \mathbf { z } }$ , our generator $g _ { \theta }$ can generate a 3D radiance field $\mathbf { R }$ , from which we can render a realistic image with a sampled camera pose $\xi \sim p _ { \xi }$ and simultaneously recover smooth and compact object surfaces. In the following, we first present the background of neural radiance fields, and then introduce our proposed GOF model in detail.
33
+
34
+ # 3.1 Neural Radiance Fields
35
+
36
+ We adopt neural radiance fields (NeRF) as our explicit 3D representation for image synthesis, owing to its strong performance in novel view synthesis on complex scenes. NeRF represents a static scene as per-point volume densities and view-dependent RGB colors. Given a 3D point $\mathbf { x } \in \mathbb { R } ^ { 3 }$ in space and a view direction $\mathbf { d } \in \mathbb { R } ^ { 3 }$ , NeRF capitalizes on a multi-layer perceptron (MLP) to predict the volume density $\sigma ( \mathbf { x } ) \in \mathbb { R }$ and the emitted color $\mathbf { c } ( \mathbf { x } , \mathbf { d } ) \in \mathbb { R } ^ { 3 }$ . To render a novel view for the scene, NeRF leverages the classic volume rendering technique [43] to estimate the color of each pixel. It starts by accumulating the colored densities of $N$ points $\left\{ { \bf x } _ { i } = { \bf o } + t _ { i } { \bf d } \right\}$ sampled within near and far bounds $[ t _ { n } , t _ { f } ]$ along the camera ray $\mathbf { r } ( t ) = \mathbf { o } \overset { \cdot } { + } t \mathbf { d }$ , where $\mathbf { o }$ stands for the camera origin. The integrated color is then estimated via alpha composition as follows:
37
+
38
+ ![](images/bd983df8c4534842b7ff7b61a0d089ed1c071f2c9a46de2898073258adf48897.jpg)
39
+ Figure 2: Shrinking process. During the training, the sampling interval $\Delta$ is initially a half of the distance between near $t _ { n }$ and far bounds $t _ { f }$ and shrinks gradually to a pre-defined value $\Delta _ { \mathrm { m i n } }$ . For inference, we can use cumulative rendering by sampling points in the minimal interval $\Delta _ { \mathrm { m i n } }$ and alternatively render only with the surface points.
40
+
41
+ $$
42
+ \hat { \mathbf { C } } ( \mathbf { r } ) = \sum _ { i = 1 } ^ { N } T _ { i } \Big ( 1 - \exp \big ( - \sigma ( \mathbf { x } _ { i } ) \delta _ { i } \big ) \Big ) \mathbf { c } ( \mathbf { x } _ { i } , \mathbf { d } ) , \mathrm { ~ w h e r e ~ } T _ { i } = \exp ( - \sum _ { j = 1 } ^ { i - 1 } \sigma ( \mathbf { x } _ { j } ) \delta _ { j } ) ,
43
+ $$
44
+
45
+ where $\delta _ { i } = | x _ { i + 1 } - x _ { i } |$ is the distance between adjacent points. Note that, equation (1) is naturally differentiable and NeRF can be directly optimized through the reconstruction error of existing views.
46
+
47
+ # 3.2 3D Surface-Aware Image Synthesis via Generative Occupancy Fields
48
+
49
+ To apply NeRF as the 3D representation, the proposed generative occupancy fields (GOF) incorporates an additional latent code $\mathbf { z } \sim p _ { \mathbf { z } }$ into NeRF, such that synthesizing an image follows a reformulated cumulative rendering process:
50
+
51
+ $$
52
+ \hat { \mathbf { C } } ( \mathbf { r } , \mathbf { z } ) = \sum _ { i = 1 } ^ { N } T _ { i } \Big ( 1 - \exp \big ( - \sigma _ { \theta } ( \mathbf { x } _ { i } , \mathbf { z } ) \delta _ { i } \big ) \Big ) \mathbf { c } _ { \theta } \big ( \mathbf { x } _ { i } , \mathbf { d } , \mathbf { z } \big ) , \mathrm { ~ w h e r e ~ } T _ { i } = \exp \big ( - \sum _ { j = 1 } ^ { i - 1 } \sigma _ { \theta } ( \mathbf { x } _ { j } , \mathbf { z } ) \delta _ { j } \big ) .
53
+ $$
54
+
55
+ However, directly training GOF according to Eq.(2) fails to maintain the surface compactness as reported in previous approaches [6, 7]. Actually, such a defect arises from an inevitable “shape-color ambiguity” of the cumulative rendering process, i.e., small perturbations on surfaces still lead to realistic RGB images which are enough to fool the discriminator.
56
+
57
+ Owing to the constrained range of poses seen at training, the discriminator is less motivated to further concentrate the color weights $w _ { i } \bar { = } T _ { i } \big ( 1 - \exp ( - \sigma _ { \theta } ( \mathbf { \bar { x } } _ { i } , \mathbf { z } ) \delta _ { i } ) \big )$ aforementioned in Fig. 1 (a) on the exact object surface. On the other hand, we observe that although leading to diffused surfaces at the end, color weights $w _ { i }$ gradually concentrate around the object surface as the training proceeds. Inspired by this observation, in GOF we propose a training-time operation to facilitate the concentration of color weights $w _ { i }$ . The basic idea is gradually shrinking the sample region in the cumulative rendering process from the entire volume to a narrow interval around the surface, so that color weights are enforced to continuously move towards the exact surface.
58
+
59
+ To enable the proposed training-time shrinking process, GOF is required to locate the surface by thresholding the predicted densities $\sigma _ { \boldsymbol { \theta } } ( \mathbf { x } , \mathbf { z } )$ , assuming points on the surface have the largest densities, However, values of the densities predicted in generative radiance fields could range from 0 to 50, making it hard to determine an effective threshold $\tau$ during the whole training period. On the other hand, in the cumulative rendering process shown in Eq.(2), we found that the intermediate alpha values used for numerical stability inherently fall in a fixed value range as:
60
+
61
+ $$
62
+ \alpha _ { \theta } ( \mathbf { x } _ { i } , \mathbf { z } ) = 1 - \exp ( - \sigma _ { \theta } ( \mathbf { x } _ { i } , \mathbf { z } ) \delta _ { i } ) \in [ 0 , 1 ] .
63
+ $$
64
+
65
+ More importantly, these alpha values $\alpha _ { \boldsymbol { \theta } } ( \mathbf { x } , \mathbf { z } )$ come close to 1 for points in the occupied space while approaching 0 for points in the free space, making them resemble the occupancy values [8] in both quantity and semantics. Inspired by the similarity, we thus propose to reformulate generative radiance fields by predicting alpha values $\alpha _ { \boldsymbol { \theta } } ( \mathbf { x } , \mathbf { z } )$ directly instead of volume densities $\sigma _ { \boldsymbol { \theta } } \bar { ( } \mathbf { x } , \mathbf { z } )$ . In the mean time, we reinterpret the alpha values as occupancy values, and subsequently locate surfaces with root-finding, a more effective strategy originated in occupancy networks [11]. According to the above reformulation and reinterpretation, we thus dub our method as Generative Occupancy Fields.
66
+
67
+ As GOF estimates alpha values instead of volume densities, the original volume rendering process in Eq.(2) conditioned on the latent code $\mathbf { z }$ is reformulated as
68
+
69
+ $$
70
+ \hat { \mathbf { C } } ( \mathbf { r } , \mathbf { z } ) = \sum _ { i = 1 } ^ { N } \alpha _ { \theta } \big ( \mathbf { x } _ { i } , \mathbf { z } \big ) \prod _ { j < i } \big ( 1 - \alpha _ { \theta } \big ( \mathbf { x } _ { j } , \mathbf { z } \big ) \big ) \mathbf { c } _ { \theta } \big ( \mathbf { x } _ { i } , \mathbf { d } , \mathbf { z } \big ) ,
71
+ $$
72
+
73
+ where the value range of $\alpha _ { \theta } ( \mathbf { x } _ { i } , \mathbf { z } )$ is guaranteed with a sigmoid function. And to locate the surface via root-finding, for a specific ray $\dot { \mathbf { r } } ( t ) = \mathbf { o } + t \mathbf { d }$ we will evenly sample $M$ points $\begin{array} { r } { \left\{ \mathbf { x } _ { k } = \mathbf { o } + t _ { k } \mathbf { d } ; k = \right. } \end{array}$ $1 , . . . , M \}$ that partition the entire volume $[ t _ { n } , t _ { f } ]$ into $M$ equally-spaced bins. After obtaining the corresponding alpha values $\{ \alpha _ { \boldsymbol { \theta } } ( \mathbf { x } _ { k } , \mathbf { z } ) ; k \stackrel { - } { = } 1 , . . . , M \}$ by querying the generator $g _ { \theta }$ , the surface $s$ is located in the $k ^ { \dot { S } }$ -th bin where $\alpha \theta$ changes for the first time from free space $( \alpha _ { \theta } < \tau )$ to occupied space $( \alpha _ { \theta } < \tau )$ ):
74
+
75
+ $$
76
+ k ^ { S } = \underset { k } { \mathrm { a r g m i n } } \big ( \alpha _ { \theta } ( \mathbf { x } _ { k } , \mathbf { z } ) < \tau \leq \alpha _ { \theta } ( \mathbf { x } _ { k + 1 } , \mathbf { z } ) \big ) ,
77
+ $$
78
+
79
+ where $\tau$ is a pre-defined threshold. In practice, we empirically set $\tau$ as 0.5. In order to find the surface point $\mathbf { x } _ { s } = \mathbf { o } + t _ { s } \mathbf { d }$ more precisely, we further apply the above secant method iteratively for $m _ { s }$ times, resulting in a fine-grained bin $\left[ \mathbf { x } _ { k ^ { s } } , \mathbf { x } _ { k ^ { s } + 1 } \right]$ . It’s worth noting that the $M$ sampled points are only used for root-finding. Thus they do not require the computation of gradients in the implementation.
80
+
81
+ Based on the located surface $s$ , we can thus successfully conduct the proposed shrinking process, which is schematically elaborated in Fig. 2. Specifically, when sampling $N$ points for Eq.(4) at each training step, we will only sample within a region neighboring the surface $[ t _ { s } - \Delta , t _ { s } + \Delta ]$ :
82
+
83
+ $$
84
+ t _ { i } \sim \mathcal { U } \left[ t _ { s } - \Delta + \frac { 2 i - 2 } { N } \Delta , t _ { s } - \Delta + \frac { 2 i } { N } \Delta \right] , \mathrm { w h e r e } i = 1 , 2 , . . . , N .
85
+ $$
86
+
87
+ $\Delta$ is the sampling interval, which is set to $\Delta _ { \mathrm { i n i t } } = ( t _ { f } - t _ { n } ) / 2$ at the beginning, a half of the distance between near $t _ { n }$ and far bounds $t _ { f }$ . And it will decrease monotonically with an exponential decay rate $\gamma$ until it drops to a pre-defined minimal value $\Delta _ { \mathrm { m i n } }$ . Formally, $\Delta _ { n } = \mathrm { m a x } ( \Delta _ { \mathrm { i n i t } } \exp ( - \gamma n ) , \Delta _ { \mathrm { m i n } } )$ for $n$ -th decaying step. Additionally, during training when the estimated $t _ { s }$ is too close to the near or the far bound so that the sampling region $[ t _ { s } - \Delta , t _ { s } + \Delta ]$ exceeds the original range $[ t _ { n } , t _ { f } ]$ , we will shift the region $[ t _ { s } - \Delta , t _ { s } + \Delta ]$ back to within $[ t _ { n } , t _ { f } ]$ . As shown in Fig. 2, at the beginning of training, points sampled for Eq.(4) will cover the entire volume, leading to dispersed gradients which facilitate the convergence of GOF. And as the training goes, the predicted surface will become more and more accurate, which is the outcome of gradually refining the sampling region, and in turn also makes the above shrinking operation valid.
88
+
89
+ Thanks to the dedicated shrinking process, the color weights $w _ { i }$ can successfully concentrate on the object surface as illustrated in Fig. 1(a). As a result, GOF is capable of synthesizing highfidelity images in a 3D-consistent manner and simultaneously capturing compact object surfaces. During inference, to synthesize an image under a random camera pose $\xi \sim p _ { \xi }$ , the generator $g _ { \boldsymbol { \theta } }$ will fetch a truncated latent code $\hat { \mathbf { z } }$ and sample $N$ points $\{ { \bf { x } } _ { i } \}$ on each ray within the minimal region $[ t _ { s } - \Delta _ { \mathrm { m i n } } , t _ { s } + \Delta _ { \mathrm { m i n } } ]$ for the rendering as in Eq.(4). An important benefit of learning a compact object surface is that we can effectively reduce the number of sampled points for rendering, even using only one point on each ray, i.e. the surface point. As shown in Fig. 1 (b), the image rendered with only the surface point is almost indistinguishable from that with multiple points. Such equivalence can be guaranteed theoretically when $\Delta _ { \operatorname* { m i n } } 0$ , and we include the proof in the supplementary material.
90
+
91
+ # 3.3 Loss Functions
92
+
93
+ Instead of training on posed 2D images, the proposed GOF leverages a corpus of unposed images for 3D-aware image synthesis, where multiple loss functions are adopted.
94
+
95
+ GAN Loss. Following pi-GAN [6], a GAN loss is used where GOF synthesizes fake images by randomly sampling camera poses $\xi$ from a dataset-related distribution $p _ { \xi }$ and rendering according to Eq.(4). Denote $I$ as a real image from the data distribution $p _ { \mathcal { D } }$ , the non-saturating GAN loss can be described as follows:
96
+
97
+ $$
98
+ \begin{array} { r l } & { \mathcal { L } _ { \mathrm { o r i g i n } } ( \theta _ { D } , \theta _ { G } ) = { \bf E } _ { { \bf z } \sim p _ { \bf z } , \xi \sim p _ { \xi } } \left[ f \Big ( D _ { \theta _ { D } } ( G _ { \theta _ { G } } ( { \bf z } , \xi ) ) \Big ) \right] } \\ & { \quad \quad \quad \quad \quad + { \bf E } _ { I \sim p _ { \mathcal D } } \left[ f ( - D _ { \theta _ { D } } ( I ) ) + \lambda | \nabla D _ { \theta _ { D } } ( I ) | ^ { 2 } \right] , } \\ & { \quad \quad \quad \quad \quad \mathrm { w h e r e ~ } f ( u ) = - \log ( 1 + \exp ( - u ) ) . } \end{array}
99
+ $$
100
+
101
+ However, $\mathcal { L } _ { \mathrm { o r i g i n } }$ alone is not sufficient to guide the training, which may lead to messy images with smoke-like artifacts. Therefore, two more regularizations are incorporated to reduce artifacts and further smooth the learned surfaces.
102
+
103
+ Normal Regularization. The first regularization is a prior on the surface normal smoothness, which is specially useful for learning from 2D real-world images [11]. In GOF, this normal prior is only employed for the surface points $\mathbf { x } _ { s } \in \mathcal { S }$ to encourage a natural and smooth surface:
104
+
105
+ $$
106
+ \mathcal { L } _ { \mathrm { n o r m a l } } = \sum _ { \mathbf { x } _ { s } \in \mathcal { S } } | | \mathbf { n } _ { \theta } ( \mathbf { x } _ { s } , \mathbf { z } ) - \mathbf { n } _ { \theta } ( \mathbf { x } _ { s } + \epsilon , \mathbf { z } ) | | _ { 2 } ,
107
+ $$
108
+
109
+ where $\epsilon$ is a small random 3D perturbation and $\mathbf { n } _ { \theta }$ denotes the normal vector, which can be computed by $\begin{array} { r } { \mathbf { n } _ { \theta } ( \mathbf { x } , \mathbf { z } ) = \nabla _ { \mathbf { x } } \alpha _ { \theta } ( \mathbf { x } , \mathbf { z } ) / | | \mathcal { \bar { \nabla } } _ { \mathbf { x } } \alpha _ { \theta } ( \mathbf { x } , \mathbf { z } ) | | _ { 2 } } \end{array}$ .
110
+
111
+ Opacity Regularization. Since alpha values predicted in GOF can be regarded as occupancy values, ideally the entropy of them should be 0 so that $\alpha _ { \boldsymbol { \theta } } ( \mathbf { x } , \mathbf { z } )$ values will equal 1 for points in the occupied space and 0 for points in the free space. We thus apply the second opacity regularization, aiming to reduce the entropy of predicted alpha values:
112
+
113
+ $$
114
+ \mathcal { L } _ { \mathrm { o p a c i t y } } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \log ( \alpha _ { \theta } ( \mathbf { x } _ { i } , \mathbf { z } ) ) + \log ( 1 - \alpha _ { \theta } ( \mathbf { x } _ { i } , \mathbf { z } ) ) .
115
+ $$
116
+
117
+ In summary, the final loss function for training GOF can be written as:
118
+
119
+ $$
120
+ \mathcal { L } ( \theta , \phi ) = \mathcal { L } _ { \mathrm { o r i g i n } } ( \theta , \phi ) + \lambda _ { \mathrm { n o r m a l } } \mathcal { L } _ { \mathrm { n o r m a l } } + \lambda _ { \mathrm { o p a c i t y } } \mathcal { L } _ { \mathrm { o p a c i t y } } ,
121
+ $$
122
+
123
+ where $\lambda _ { \mathrm { { n o r m a l } } }$ and $\lambda _ { \mathrm { o p a c i t y } }$ are both balancing coefficients.
124
+
125
+ # 4 Experiments
126
+
127
+ Implementation Details. Unless stated otherwise, in all experiments we set $N$ , the number of points sampled for rendering, to 12, and set $M$ , the number of bins used in root-finding, to 12. As discussed in Sec.3.2, we apply an iterative process in root-finding. In practice, the number of iterations is set to $m _ { s } = 3$ times. During inference, GOF requires $M + m _ { s } + N$ queries to obtain the color of a pixel, while existing methods require $2 N$ queries due to the use of a hierarchical sampling strategy. Recall it is sufficient for GOF to sample only the surface point to render an image, GOF is thus capable of using just $M + m _ { s } + 1$ queries, potentially speeding up the rendering process in off-line applications. More training and implementation details can be found in the supplemental material.
128
+
129
+ Datasets. To assess our method comprehensively, we conduct experiments on three datasets, namely CelebA [44], BFM [45], and Cats [46]. Specifically, CelebA is a high-resolution face dataset containing 200, 000 diverse face images. Following pi-GAN [6], we crop all images in CelebA from the top of the hair to the bottom of the chin as a pre-processing step. As for the Cats dataset, it contains 6, 444 cat faces of size $1 2 8 \times 1 2 8$ . Finally, BFM is a synthetic face dataset rendered with Basel Face Model, where each face is paired with a ground-truth depth map, making it a good benchmark for quantitatively evaluating the quality of learned surfaces.
130
+
131
+ Comparison with baselines. To validate the effectiveness of GOF, we compare it with two representative GRAF methods, namely GRAF [7] and pi-GAN. Firstly, Fig. 3 demonstrates the qualitative comparison between these three methods, where we include the synthesized images, the learned surfaces in the form of 3D meshes, as well as the corresponding normal maps. As can be observed, GRAF struggles to render good images, let alone estimate compact and reasonable underlying surfaces. Compared to GRAF, pi-GAN can synthesize images and estimate corresponding surfaces with improved quality. However, messy parts can be clearly recognized on its learned surfaces and normal maps, indicating it is incapable of capturing the compact 3D geometric details. In contrast to both pi-GAN and GRAF, the proposed GOF is shown to hallucinate realistic images with 3D consistency and simultaneously learn smooth surface normals as well as compact object surfaces, which verifies the benefit of adopting the transition from radiance fields to occupancy fields. More qualitative results of synthesized images and corresponding surfaces are included in Fig. 4.
132
+
133
+ Table 1: Quantitative results $( 1 2 8 \times 1 2 8 \mathrm { p x } )$ ) on BFM, CelebA and Cats datasets, on three metrics Fréchet Inception Distance (FID), Inception Score (IS) and the weighted variance of sampled depth $\Sigma _ { t _ { i } } ( \times 1 0 ^ { - 4 } )$ .
134
+
135
+ ![](images/7cbd855904b7fe282b61597f75dac06c7e87466d77949262c3f765c73762a11b.jpg)
136
+ Figure 3: Qualitative comparison on BFM (top), CelebA (middle), and Cats (bottom) datasets. Our method synthesizes realistic images while ensuring compact object surfaces.
137
+
138
+ Table 2: Comparisons on the compactness and accuracy of learned surfaces.
139
+
140
+ <table><tr><td>Method</td><td>SIDE↓</td><td>MAD↓</td></tr><tr><td>Supervised</td><td>0.412</td><td>10.84</td></tr><tr><td>Unsup3d [37]</td><td>0.795</td><td>16.51</td></tr><tr><td>GRAF[7]</td><td>1.866</td><td>26.69</td></tr><tr><td>pi-GAN [6]</td><td>0.727</td><td>20.46</td></tr><tr><td>GAN2Shape [38]</td><td>0.759</td><td>14.94</td></tr><tr><td>Ours</td><td>0.779</td><td>13.81</td></tr></table>
141
+
142
+ Table 3: Comparisons on the geometry properties of learned surfaces. We report mean curvature $( \mathbf { M C } ) ( \times 1 0 ^ { - 3 } )$ and mean geodesic distance(MGD) between random points to assess the geometry properties of recovered surfaces.
143
+
144
+ <table><tr><td colspan="2"></td><td>BFM</td><td>CelebA</td><td>Cats</td></tr><tr><td>MC↓</td><td>pi-GAN Ours</td><td>16.84 12.25</td><td>25.94 23.13</td><td>34.05 30.14</td></tr><tr><td>MGD↓</td><td>pi-GAN Ours</td><td>0.483 0.226</td><td>0.450 0.231</td><td>0.494 0.317</td></tr></table>
145
+
146
+ ![](images/dcca993f4bffe3c3b1f7a9950ad87ce0db78468086b69de1bfce327dbd7d8445.jpg)
147
+ Figure 4: Generated images and their 3D meshes on CelebA and Cats datasets.
148
+
149
+ To quantitatively evaluate the quality of generated images, we report the Fréchet Inception Distance (FID) scores and Inception Score (IS) scores in Table 1. On these two metrics, GOF demonstrates substantial improvements over baseline methods. To further measure the compactness of learned surfaces, the concentration of color weights $w _ { i }$ as mentioned in Fig. 1 (a) is also computed. Specifically, We sample $N = 3 6$ equally-spaced points $\left\{ { \bf x } _ { i } = { \bf o } + t _ { i } { \bf d } \right\}$ within near and far bounds $[ t _ { n } , t _ { f } ]$ and calculate the corresponding color weights $w _ { i } , i = 1 , 2 , . . . , N$ . Actually, the weighted variance of these samples’ depth $t _ { i }$ reflects the concentration of color weights in a single image:
150
+
151
+ $$
152
+ \Sigma _ { t _ { i } } = \frac { N } { ( N - 1 ) \sum _ { i = 1 } ^ { N } w _ { i } } \sum _ { i = 1 } ^ { N } w _ { i } ( t _ { i } - \bar { t } ) ^ { 2 } , \mathrm { ~ w h e r e ~ } \bar { t } = \sum w _ { i } t _ { i } \Big / \sum w _ { i } .
153
+ $$
154
+
155
+ Intuitively, a smaller variance implies the learned surface is more compact. Finally, for each method, the overall concentration of color weights is averaged over 1000 randomly synthesized images at the $2 5 6 \times 2 5 6$ resolution. The results in terms of this new metric are also included in Table 1.
156
+
157
+ For the quality of learned surfaces, we first evaluate the compactness and accuracy of surfaces on the BFM dataset, since it contains ground-truth depth maps. Specifically, $5 0 K$ images are generated by each method, together with their corresponding depth maps. For each method, we train a separate CNN on these generated images and depth maps to predict depths from images. Subsequently, we can measure the accuracy of learned surfaces by running the CNN on the test split of BFM and comparing its outputs to the ground-truth depth maps using the scale-invariant depth error (SIDE) and the mean angle deviation (MAD). While MAD focuses more on the compactness of surfaces, SIDE emphasizes more on the accuracy of depth. As shown in Table 2, GOF significantly outperforms baseline methods on the MAD metric and is comparable to strong baselines on the SIDE metric. Moreover, we also report mean curvature (MC) and mean geodesic distance (MGD) between random points to assess the geometry properties of learned surfaces. The lower these two metrics, the smoother recovered object surfaces. Owing to the absence of such two metrics on ground-truth surfaces for reference, we consider the smoother surfaces better conform to ground-truth cases. The reported values on these two metrics are averaged over 100 randomly synthesized 3D meshes. Quantitative comparisons in Table 3 demonstrate our method GOF can preserve better geometry properties.
158
+
159
+ ![](images/c20bafb595ef5d7fa5bc4c0af2f9acc0c1208d6bb2c6dfcbecdce20dd989e116.jpg)
160
+
161
+ ![](images/fe2f6263b603daba3a83f200e962cbc2b4ca2663d8e455e97bf4bdbe003bba8b.jpg)
162
+ Figure 5: Rendering with only surface points. Images (right) rendered only with surface points are indistinguishable from those (left) obtained with cumulative rendering.
163
+ Figure 6: Qualitative ablation on proposed priors (upper row w/o $\mathcal { L } _ { \mathrm { o p a c i t y } }$ , bottom row w/o $\mathcal { L } _ { \mathrm { { n o r m a l } } }$ ).
164
+
165
+ Rendering only with surface points. As mentioned in Sec. 3.2, GOF is able to render an image using only the surface points. To verify this, we showcase in Fig. 5 images rendered by GOF using multiple points and only the surface point. As can be observed, images synthesized with these two strategies are nearly indistinguishable from each other. Thus, GOF possesses the potential to significantly reduce the number of generator queries when synthesizing an image. To compare the efficiency straightforwardly, we estimate the rendering speed of $2 5 6 \times 2 5 6$ images for both pi-GAN and GOF on a single Intel Xeon(R) CPU. On average, pi-GAN costs about 78s per image, while GOF takes about 56s, saving approximately $2 8 \%$ of the time. Owing to the reduction in the burden of queries, GOF enables a light rendering scheme that is promising for applications on mobile devices.
166
+
167
+ Ablation studies. We here analyze the effects of the proposed regularizations ${ \mathcal { L } } _ { \mathrm { n o r m a l } }$ and $\mathcal { L } _ { \mathrm { o p a c i t y } }$ Table 1 includes the quantitative ablation study on these priors. We also include qualitative samples in Fig. 6, which contains images synthesized by GOF without one regularization item. As shown in the BFM cases 6(a), removing opacity prior leads to the smoke-like artifacts around the cheek part and the absence of normal regularization might degrade the quality of learned normal maps. While testing on the real-world dataset 6(b), undesirable specular highlights emerge on the face and the hollows appear on the corresponding shapes if without the normal regularization. Moreover, we observe that removing opacity prior on CelebA dataset will make the face surfaces too flat and unnatural. It is worth noting that although the performance of GOF is deteriorated due to the absence of these priors, images and surfaces produced by GOF are still of reasonable quality when compared to that from previous approaches, indicating the transition from radiance fields to occupancy fields is the main cause that leads to the success of GOF. Moreover, we showcase the degenerated results on BFM dataset if our model is trained without the shrinking process. As illustrated in Fig. 7, despite the realistic generated images, there emerges random noise on the corresponding normal maps and some nasty dents appear on the face shapes, which demonstrates that the combination of our proposed occupancy representation and the shrinking sampling procedure ensures the surface compactness.
168
+
169
+ ![](images/2e63847e62eb4fcb42c3cea2912d095c6950567cf2c7548ca11ad33ff7ab0e8b.jpg)
170
+ Figure 7: GOF results without the shrinking process. Noise emerges on normals and dents appear on shapes.
171
+
172
+ ![](images/a907662b559911063e7819033757f9a4f74bf1aa539a5f3860dc58fe58fbe1cb.jpg)
173
+ Figure 8: GAN inversion results on real images. GOF can reconstruct the target images and simultaneously learn the corresponding normal maps as well as 3D shapes.
174
+
175
+ ![](images/c31620b9ba6ed83b55c6864d7ece026799eb5f6d372621310c845f2aada1e1c8.jpg)
176
+ Figure 9: Relighting results. Our method GOF generates desirable images under various light conditions while baseline results are far from satisfactory.
177
+
178
+ Inverse rendering. Through GAN inversion, our method is also capable of inverse rendering as shown in Fig. 8. Given a real image, GOF can reconstruct the target image successfully and realize free view synthesis by controlling the viewpoints. Besides, the recovered normal maps as well as 3D shapes pave the way for downstream tasks such as relighting and editing.
179
+
180
+ Relighting. In Fig. 9 we provide the relighting results based on the learned normal maps by explicitly controlling the lighting directions. As our method and baselines can’t predict the corresponding albedo, the face-forwarding image is considered as the pseudo albedo. Thanks to better learned normal maps, our method GOF presents promising images under different light conditions. In contrast to ours, baseline methods like pi-GAN [6] tend to generate messy normal maps with obvious checkerboard-like artifacts, leading to noisy and dissatisfied relighting results.
181
+
182
+ Limitations. While training on real-world datasets, our method GOF might present similar dents in the hair regions as in existing approaches [6]. Besides, the adopted FiLMed-SIREN backbone in the generator will lead to stripe artifacts in the generated images especially when they are rendered only with surface points. Meanwhile, surface rendering mode will make furry cat images over-smooth and less realistic. Moreover, our method is more suitable for solid objects with only one surface.
183
+
184
+ # 5 Conclusion
185
+
186
+ In this work, we propose generative occupancy fields (GOF), a novel generative radiance fields for 3D-aware image synthesis. The crux of GOF is a dedicated transition from the cumulative rendering in radiance fields to rendering with only the surface points. Such a transition is inspired by the resemblance between the alpha values in radiance fields and the occupancy values in occupancy networks, so that we can reinterpret one as the other. In practice, such a transition is achieved during training by gradually shrinking the sampling region in the rendering process of GOF from the entire volume to a minimal neighboring region around the surface, where the surface is located via rootfinding on predicted alpha values. Thanks to the transition, surfaces learned by GOF continuously converge during the training, ensuring their compactness at the end. On three diverse datasets, GOF is shown to demonstrate great superiority in synthesizing 3D consistent images and in the meantime capturing compact surfaces, significantly broadening the application of generative radiance fields in downstream tasks.
187
+
188
+ # Acknowlegements
189
+
190
+ We would like to thank Eric R. Chan for sharing the codebase of pi-GAN. This work is supported by the Collaborative Research Grant from SenseTime (CUHK Agreement No. TS1712093), the General Research Fund (GRF) of Hong Kong (No. 14205719), the RIE2020 Industry Alignment Fund – Industry Collaboration Projects (IAF-ICP) Funding Initiative, as well as cash and in-kind contribution from the industry partner(s).
191
+
192
+ # References
193
+
194
+ [1] I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. C. Courville, and Y. Bengio, “Generative adversarial nets,” in NIPS, 2014.
195
+ [2] A. Brock, J. Donahue, and K. Simonyan, “Large scale gan training for high fidelity natural image synthesis,” in International Conference on Learning Representations, 2018.
196
+ [3] T. Karras, S. Laine, and T. Aila, “A style-based generator architecture for generative adversarial networks,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4401–4410, 2019.
197
+ [4] T. Karras, S. Laine, M. Aittala, J. Hellsten, J. Lehtinen, and T. Aila, “Analyzing and improving the image quality of stylegan,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8110–8119, 2020.
198
+ [5] B. Mildenhall, P. P. Srinivasan, M. Tancik, J. T. Barron, R. Ramamoorthi, and R. Ng, “Nerf: Representing scenes as neural radiance fields for view synthesis,” in ECCV, pp. 405–421, Springer, 2020.
199
+ [6] E. R. Chan, M. Monteiro, P. Kellnhofer, J. Wu, and G. Wetzstein, “pi-gan: Periodic implicit generative adversarial networks for 3d-aware image synthesis,” in CVPR, 2021.
200
+ [7] K. Schwarz, Y. Liao, M. Niemeyer, and A. Geiger, “Graf: Generative radiance fields for 3d-aware image synthesis,” in NeurIPS, vol. 33, 2020.
201
+ [8] L. Mescheder, M. Oechsle, M. Niemeyer, S. Nowozin, and A. Geiger, “Occupancy networks: Learning 3d reconstruction in function space,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4460–4470, 2019.
202
+ [9] L. Yariv, Y. Kasten, D. Moran, M. Galun, M. Atzmon, B. Ronen, and Y. Lipman, “Multiview neural surface reconstruction by disentangling geometry and appearance,” Advances in Neural Information Processing Systems, vol. 33, 2020.
203
+ [10] M. Oechsle, S. Peng, and A. Geiger, “Unisurf: Unifying neural implicit surfaces and radiance fields for multi-view reconstruction,” arXiv preprint arXiv:2104.10078, 2021.
204
+ [11] M. Niemeyer, L. Mescheder, M. Oechsle, and A. Geiger, “Differentiable volumetric rendering: Learning implicit 3d representations without 3d supervision,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3504–3515, 2020.
205
+ [12] Y. Jiang, D. Ji, Z. Han, and M. Zwicker, “Sdfdiff: Differentiable rendering of signed distance fields for 3d shape optimization,” in The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020.
206
+ [13] S. Liu, Y. Zhang, S. Peng, B. Shi, M. Pollefeys, and Z. Cui, “Dist: Rendering deep implicit signed distance function with differentiable sphere tracing,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2019–2028, 2020.
207
+ [14] J. J. Park, P. Florence, J. Straub, R. Newcombe, and S. Lovegrove, “Deepsdf: Learning continuous signed distance functions for shape representation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 165–174, 2019.
208
+ [15] Z. Chen and H. Zhang, “Learning implicit fields for generative shape modeling,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5939–5948, 2019.
209
+ [16] K. Genova, F. Cole, D. Vlasic, A. Sarna, W. T. Freeman, and T. Funkhouser, “Learning shape templates with structured implicit functions,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 7154–7164, 2019.
210
+ [17] M. Michalkiewicz, J. K. Pontes, D. Jack, M. Baktashmotlagh, and A. Eriksson, “Implicit surface representations as layers in neural networks,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4743–4752, 2019.
211
+ [18] S. Saito, Z. Huang, R. Natsume, S. Morishima, A. Kanazawa, and H. Li, “Pifu: Pixel-aligned implicit function for high-resolution clothed human digitization,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 2304–2314, 2019.
212
+ [19] S. Saito, T. Simon, J. Saragih, and H. Joo, “Pifuhd: Multi-level pixel-aligned implicit function for high-resolution 3d human digitization,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 84–93, 2020.
213
+ [20] V. Sitzmann, E. R. Chan, R. Tucker, N. Snavely, and G. Wetzstein, “Metasdf: Meta-learning signed distance functions,” arXiv preprint arXiv:2006.09662, 2020.
214
+ [21] V. Sitzmann, M. Zollhöfer, and G. Wetzstein, “Scene representation networks: Continuous 3d-structure-aware neural scene representations,” in Advances in Neural Information Processing Systems, 2019.
215
+ [22] L. Liu, J. Gu, K. Z. Lin, T.-S. Chua, and C. Theobalt, “Neural sparse voxel fields,” arXiv preprint arXiv:2007.11571, 2020.
216
+ [23] A. Yu, R. Li, M. Tancik, H. Li, R. Ng, and A. Kanazawa, “Plenoctrees for real-time rendering of neural radiance fields,” arXiv preprint arXiv:2103.14024, 2021.
217
+ [24] T. Neff, P. Stadlbauer, M. Parger, A. Kurz, J. H. Mueller, C. R. A. Chaitanya, A. Kaplanyan, and M. Steinberger, “Donerf: Towards real-time rendering of compact neural radiance fields using depth oracle networks,” arXiv preprint arXiv:2103.03231, 2021.
218
+ [25] P. Hedman, P. P. Srinivasan, B. Mildenhall, J. T. Barron, and P. Debevec, “Baking neural radiance fields for real-time view synthesis,” arXiv preprint arXiv:2103.14645, 2021.
219
+ [26] M. Boss, R. Braun, V. Jampani, J. T. Barron, C. Liu, and H. Lensch, “Nerd: Neural reflectance decomposition from image collections,” arXiv preprint arXiv:2012.03918, 2020.
220
+ [27] P. P. Srinivasan, B. Deng, X. Zhang, M. Tancik, B. Mildenhall, and J. T. Barron, “Nerv: Neural reflectance and visibility fields for relighting and view synthesis,” arXiv preprint arXiv:2012.03927, 2020.
221
+ [28] M. Atzmon, N. Haim, L. Yariv, O. Israelov, H. Maron, and Y. Lipman, “Controlling neural level sets,” arXiv preprint arXiv:1905.11911, 2019.
222
+ [29] P. Kellnhofer, L. C. Jebe, A. Jones, R. Spicer, K. Pulli, and G. Wetzstein, “Neural lumigraph rendering,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4287–4297, 2021.
223
+ [30] J. Wu, C. Zhang, T. Xue, B. Freeman, and J. Tenenbaum, “Learning a probabilistic latent space of object shapes via 3d generative-adversarial modeling,” in NIPS, 2016.
224
+ [31] X. Chen, D. Cohen-Or, B. Chen, and N. J. Mitra, “Towards a neural graphics pipeline for controllable image generation,” Computer Graphics Forum, vol. 40, no. 2, 2021.
225
+ [32] J.-Y. Zhu, Z. Zhang, C. Zhang, J. Wu, A. Torralba, J. Tenenbaum, and B. Freeman, “Visual object networks: Image generation with disentangled 3d representations,” in NeurIPS, 2018.
226
+ [33] Y. Liao, K. Schwarz, L. Mescheder, and A. Geiger, “Towards unsupervised learning of generative models for 3d controllable image synthesis,” in CVPR, pp. 5871–5880, 2020.
227
+ [34] T. Nguyen-Phuoc, C. Richardt, L. Mai, Y.-L. Yang, and N. Mitra, “Blockgan: Learning 3d object-aware scene representations from unlabelled images,” in Advances in Neural Information Processing Systems 33, Nov 2020.
228
+ [35] T. Nguyen-Phuoc, C. Li, L. Theis, C. Richardt, and Y.-L. Yang, “Hologan: Unsupervised learning of 3d representations from natural images,” in ICCV, pp. 7588–7597, 2019.
229
+ [36] M. Niemeyer and A. Geiger, “Giraffe: Representing scenes as compositional generative neural feature fields,” in CVPR, 2021.
230
+ [37] S. Wu, C. Rupprecht, and A. Vedaldi, “Unsupervised learning of probably symmetric deformable 3d objects from images in the wild,” in CVPR, 2020.
231
+ [38] X. Pan, B. Dai, Z. Liu, C. C. Loy, and P. Luo, “Do 2d gans know 3d shape? unsupervised 3d shape reconstruction from 2d image gans,” in ICLR, 2021.
232
+ [39] M. Sahasrabudhe, Z. Shu, E. Bartrum, R. Alp Guler, D. Samaras, and I. Kokkinos, “Lifting autoencoders: Unsupervised learning of a fully-disentangled 3d morphable model using deep non-rigid structure from motion,” in ICCV Workshops, pp. 0–0, 2019.
233
+ [40] X. Li, S. Liu, K. Kim, S. De Mello, V. Jampani, M.-H. Yang, and J. Kautz, “Self-supervised single-view 3d reconstruction via semantic consistency,” ECCV, 2020.
234
+ [41] P. Wang, L. Liu, Y. Liu, C. Theobalt, T. Komura, and W. Wang, “Neus: Learning neural implicit surfaces by volume rendering for multi-view reconstruction,” arXiv preprint arXiv:2106.10689, 2021.
235
+ [42] L. Yariv, J. Gu, Y. Kasten, and Y. Lipman, “Volume rendering of neural implicit surfaces,” arXiv preprint arXiv:2106.12052, 2021.
236
+ [43] J. T. Kajiya and B. P. Von Herzen, “Ray tracing volume densities,” ACM SIGGRAPH computer graphics, vol. 18, no. 3, pp. 165–174, 1984.
237
+ [44] Z. Liu, P. Luo, X. Wang, and X. Tang, “Deep learning face attributes in the wild,” in ICCV, pp. 3730–3738, 2015.
238
+ [45] P. Paysan, R. Knothe, B. Amberg, S. Romdhani, and T. Vetter, “A 3d face model for pose and illumination invariant face recognition,” in 2009 Sixth IEEE International Conference on Advanced Video and Signal Based Surveillance, pp. 296–301, Ieee, 2009.
239
+ [46] W. Zhang, J. Sun, and X. Tang, “Cat head detection-how to effectively exploit shape and texture features,” in ECCV, pp. 802–816, Springer, 2008.
parse/train/tHzvH4Rv1Qa/tHzvH4Rv1Qa_content_list.json ADDED
@@ -0,0 +1,1025 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Generative Occupancy Fields for 3D Surface-Aware Image Synthesis ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 187,
8
+ 122,
9
+ 813,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Xudong $\\mathbf { X } \\mathbf { u } ^ { \\dag }$ Xingang Pan‡ Dahua Lin† Bo Dai§ †CUHK - SenseTime Joint Lab, The Chinese University of Hong Kong \n‡Max Planck Institute for Informatics $^ { \\ S } S$ - Lab, Nanyang Technological University \n$^ \\dag \\{ \\tt x x 0 1 8$ , dhlin}@ie.cuhk.edu.hk ‡xpan@mpi-inf.mpg.de §bo.dai@ntu.edu.sg ",
17
+ "bbox": [
18
+ 223,
19
+ 224,
20
+ 774,
21
+ 285
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 319,
32
+ 535,
33
+ 337
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "The advent of generative radiance fields has significantly promoted the development of 3D-aware image synthesis. The cumulative rendering process in radiance fields makes training these generative models much easier since gradients are distributed over the entire volume, but leads to diffused object surfaces. In the meantime, compared to radiance fields occupancy representations could inherently ensure deterministic surfaces. However, if we directly apply occupancy representations to generative models, during training they will only receive sparse gradients located on object surfaces and eventually suffer from the convergence problem. In this paper, we propose Generative Occupancy Fields (GOF), a novel model based on generative radiance fields that can learn compact object surfaces without impeding its training convergence. The key insight of GOF is a dedicated transition from the cumulative rendering in radiance fields to rendering with only the surface points as the learned surface gets more and more accurate. In this way, GOF combines the merits of two representations in a unified framework. In practice, the training-time transition of start from radiance fields and march to occupancy representations is achieved in GOF by gradually shrinking the sampling region in its rendering process from the entire volume to a minimal neighboring region around the surface. Through comprehensive experiments on multiple datasets, we demonstrate that GOF can synthesize high-quality images with 3D consistency and simultaneously learn compact and smooth object surfaces. Our code is available at https://github.com/SheldonTsui/GOF_NeurIPS2021. ",
40
+ "bbox": [
41
+ 233,
42
+ 352,
43
+ 766,
44
+ 641
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 667,
55
+ 312,
56
+ 685
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Deep generative adversarial networks [1–4] have demonstrated their superiority in synthesizing photorealistic and striking images. However, these models are often constrained in the 2D domain, struggling to generate 3D consistent images, let alone grasping the underlying 3D object shapes. 3D-aware image synthesis thus becomes an appealing and promising choice as it learns a 3D representation explicitly from a collection of unposed images. Consequently, it can not only synthesize 3D consistent images by manually controlling the rendering camera poses, but also pave the way for various downstream tasks such as shape editing and relighting. ",
63
+ "bbox": [
64
+ 174,
65
+ 699,
66
+ 825,
67
+ 797
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Inspired by the success of neural radiance fields (NeRF) [5] in 3D scene modeling, recent 3D-aware generative models, referred to as generative radiance fields (GRAFs), have applied NeRF as the explicit 3D representation for image synthesis [6, 7]. With the help of NeRF, they are capable of hallucinating photorealistic images in a 3D consistent manner. Moreover, since NeRF holds the superior ability for rendering translucent objects by compositing colored densities along each ray in its volume rendering process, it also significantly facilitates the training of GRAFs as gradients are naturally distributed over the entire volume. However, they still incur an inevitable incapacity of capturing an accurate and compact object surface. As shown in Fig. 1(a), the state-of-the-art GRAF model pi-GAN is prone to predict diffused object surfaces, as the volume densities are smoothly spread around the surfaces. Such diffused surfaces could significantly hamper the applications of GRAF models in downstream tasks such as shape recovery. Moreover, under different light conditions, the artifacts of surfaces could be amplified and inherited through the rendering process, resulting in synthesized images that are messy and faulty. ",
74
+ "bbox": [
75
+ 174,
76
+ 803,
77
+ 825,
78
+ 900
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "image",
84
+ "img_path": "images/8e4cfc63bb10b58b927f5606b09142659b4d5b7e80778cc5cc03f1ee4f7ac8b7.jpg",
85
+ "image_caption": [
86
+ "Figure 1: (a) The cumulative rendering weights (color weights) of our approach GOF more focus on the surface (y-axis) than previous methods like pi-GAN [6], which indicates our predicted volume densities more concentrate on the object surfaces. (b) Owing to the diffused volume densities, the preceding method pi-GAN captures messy surface normals and object shapes. Moreover, the image rendered only with the surface points is quite noisy. In contrast, more surface-centralized densities predicted by our method ensure compact and smooth object surfaces thus enable a high-quality surface rendering during inference. (Zoom in for best view) "
87
+ ],
88
+ "image_footnote": [],
89
+ "bbox": [
90
+ 187,
91
+ 101,
92
+ 815,
93
+ 268
94
+ ],
95
+ "page_idx": 1
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "",
100
+ "bbox": [
101
+ 174,
102
+ 387,
103
+ 825,
104
+ 470
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "In this work, we propose Generative Occupancy Fields (GOF), a novel GRAF-like image synthesis model that can learn compact object surfaces. GOF is inspired by the design of occupancy networks [8] that implicitly represents a 3D surface with the continuous decision boundary of a neural classifier. In this way, occupancy networks are capable of effectively locating surfaces via root-finding and encouraging the compactness of modeled surfaces inherently. However, GOF avoids directly applying such a design to 3D-aware image synthesis. While occupancy networks require precise object masks to train [9, 10], a more crucial factor is that they rely on the surface points for differentiable rendering [11, 12, 9, 13]. A generative model equipped with occupancy representations will thus meet severe convergence problems during training due to the sparsity of gradients. To unify the merits of both NeRF and occupancy networks for 3D-aware image synthesis, GOF adopts the design of GRAFs and at the same time leverages a nontrivial transition from the cumulative rendering to rendering with only the surface points, i.e. start from radiance fields and march to occupancy representations. Specifically, GOF will reinterpret the alpha values in the cumulative rendering process as occupancy values, so that it can locate the learned surface via root-finding. Subsequently, it can naturally encourage the compactness of learned surfaces by gradually shrinking the sampling region in the rendering process from the entire volume to a minimal neighboring region around the surface. ",
111
+ "bbox": [
112
+ 174,
113
+ 477,
114
+ 825,
115
+ 710
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "Thanks to the unified integration of radiance fields and occupancy representations, GOF can benefit from the representation effectiveness of radiance fields while ensuring the compactness of learned object surfaces through the shrinking process. As presented in Fig. 1(a), in GOF the distribution of cumulative rendering weights concentrates more closely around object surfaces compared to that of pi-GAN, eventually resulting in a compact and smooth surface. Moreover, GOF can thus alternatively render an image only with points on the learned surfaces like occupancy networks as illustrated in Fig. 1 (b). And during inference such a rendering scheme has the potential to alleviate the burden of sampling a large number of points along each ray for synthesizing a single image. Through exhaustive experiments on synthetic and real-world datasets, we demonstrate that GOF can achieve state-of-the-art performance on 3D-aware image synthesis. Meanwhile, it is capable of capturing compact and accurate 3D shapes that empower its applications in various downstream tasks such as 3D shape reconstruction. We validate this point by quantitative results of 3D shape reconstruction on the Synface dataset. Finally, we have also verified the ability of GOF in rendering high-quality images with only the surface points, which is hardly achievable in previous approaches. ",
122
+ "bbox": [
123
+ 174,
124
+ 718,
125
+ 825,
126
+ 911
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "2 Related Work ",
133
+ "text_level": 1,
134
+ "bbox": [
135
+ 174,
136
+ 89,
137
+ 321,
138
+ 106
139
+ ],
140
+ "page_idx": 2
141
+ },
142
+ {
143
+ "type": "text",
144
+ "text": "Neural implicit function for 3D representations. A plethora of works [14, 8, 15–21] has exploited neural implicit functions for 3D geometry modeling. Among these works, neural radiance fields (NeRF) [5] has attracted growing attention due to its compelling results on novel view synthesis. It leverages an MLP network to approximate the radiance fields of static 3D scenes. And by learning to reconstruct existing views, it is capable of capturing 3D geometric details from only 2D supervision. A series of succeeding variants of NeRF have been proposed to improve it, including utilizing the spatial sparsity to reduce its computational complexity [22, 23], refining the rendering process to improve its efficiency [24, 25], as well as adopting reflectance decompositions to enhance its modeling capacity [26, 27]. There are also works that capitalize on the differentiable rendering of neural implicit functions for 3D reconstruction [11, 12, 9, 13, 28, 29]. Specifically, SDFDiff [12] relies on the interpolation of eight neighboring SDF samples around the surface intersection to obtain the derivatives, while Atzmon et al [28] use a sample network to relate samples’ positions to network parameters and thus achieve an improved generalization ability. More interestingly, by adopting occupancy representations, DVR [11] and IDR [9] show volumetric rendering is inherently differentiable so that network parameters can be optimized directly with derived analytic gradients. Different from methods aforementioned above, GOF is a generative model for 3D-aware image synthesis that can learn 3D representations from a set of 2D images with unknown camera poses. ",
145
+ "bbox": [
146
+ 174,
147
+ 119,
148
+ 825,
149
+ 354
150
+ ],
151
+ "page_idx": 2
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "Generative 3D-aware image synthesis. In order to synthesize 3D consistent images, researchers have explored a lot on how to incorporate 3D representations into the classical GAN model [1]. Some methods [30–32] resort to learning from 3D data directly, yet the requirement of 3D supervision limits their practical applicability. A more appealing alternative is thus learn from unposed 2D images in an unsupervised manner. Preceding works along this line of research adopt voxels as their intermediate 3D representations [33–35] and achieve explicit control over the pose of synthesized images. Inspired by the superior representation capacity of radiance fields over voxels, recent attempts [6, 7, 36] have replaced voxels with neural radiance fields [5] to improve the fidelity of synthesized 3D consistent images. Despite the striking performance, these models, referred to as generative radiance fields (GRAFs), tend to predict diffused object surfaces, which impedes its applicability in various downstream tasks. In this work, GOF aims at resolving this problem of GRAFs by combining them with the perspective of occupancy networks [8] and recent successes of recovering smooth and accurate shapes from natural images [37–40]. Recently, three concurrent works, UNISURF [10], NeuS [41] and VolSDF [42], also combine implicit surfaces and radiance fields in a unified framework, sharing similar spirits with our proposed GOF but different in tasks and focuses. Specifically, They focus on multi-view 3D reconstruction and attempt to alleviate the requirement of training-time precise masks through the integration of radiance fields and occupancy representations. Nevertheless, they still require images with ground-truth poses for training. By contrast, GOF targets on the challenging task of 3D-aware image synthesis, where the synthesized images should be not only natural and vivid, but also consistent in the 3D space. By integrating radiance fields and occupancy representations, GOF is able to facilitate the convergence of GRAFs and ensure the compactness of learned object surfaces. Compared to existing GRAFs, the applicability of GOF is thus significantly broadened. ",
156
+ "bbox": [
157
+ 174,
158
+ 362,
159
+ 825,
160
+ 679
161
+ ],
162
+ "page_idx": 2
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "3 Methodology ",
167
+ "text_level": 1,
168
+ "bbox": [
169
+ 174,
170
+ 699,
171
+ 313,
172
+ 715
173
+ ],
174
+ "page_idx": 2
175
+ },
176
+ {
177
+ "type": "text",
178
+ "text": "We propose generative occupancy fields (GOF), a novel synthesis model, belonging to generative radiance fields and aiming to learn from unposed images. Conditioned on a latent code $\\mathbf { z } \\sim p _ { \\mathbf { z } }$ , our generator $g _ { \\theta }$ can generate a 3D radiance field $\\mathbf { R }$ , from which we can render a realistic image with a sampled camera pose $\\xi \\sim p _ { \\xi }$ and simultaneously recover smooth and compact object surfaces. In the following, we first present the background of neural radiance fields, and then introduce our proposed GOF model in detail. ",
179
+ "bbox": [
180
+ 174,
181
+ 729,
182
+ 825,
183
+ 813
184
+ ],
185
+ "page_idx": 2
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "3.1 Neural Radiance Fields ",
190
+ "text_level": 1,
191
+ "bbox": [
192
+ 174,
193
+ 829,
194
+ 375,
195
+ 844
196
+ ],
197
+ "page_idx": 2
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "We adopt neural radiance fields (NeRF) as our explicit 3D representation for image synthesis, owing to its strong performance in novel view synthesis on complex scenes. NeRF represents a static scene as per-point volume densities and view-dependent RGB colors. Given a 3D point $\\mathbf { x } \\in \\mathbb { R } ^ { 3 }$ in space and a view direction $\\mathbf { d } \\in \\mathbb { R } ^ { 3 }$ , NeRF capitalizes on a multi-layer perceptron (MLP) to predict the volume density $\\sigma ( \\mathbf { x } ) \\in \\mathbb { R }$ and the emitted color $\\mathbf { c } ( \\mathbf { x } , \\mathbf { d } ) \\in \\mathbb { R } ^ { 3 }$ . To render a novel view for the scene, NeRF leverages the classic volume rendering technique [43] to estimate the color of each pixel. It starts by accumulating the colored densities of $N$ points $\\left\\{ { \\bf x } _ { i } = { \\bf o } + t _ { i } { \\bf d } \\right\\}$ sampled within near and far bounds $[ t _ { n } , t _ { f } ]$ along the camera ray $\\mathbf { r } ( t ) = \\mathbf { o } \\overset { \\cdot } { + } t \\mathbf { d }$ , where $\\mathbf { o }$ stands for the camera origin. The integrated color is then estimated via alpha composition as follows: ",
202
+ "bbox": [
203
+ 174,
204
+ 856,
205
+ 823,
206
+ 911
207
+ ],
208
+ "page_idx": 2
209
+ },
210
+ {
211
+ "type": "image",
212
+ "img_path": "images/bd983df8c4534842b7ff7b61a0d089ed1c071f2c9a46de2898073258adf48897.jpg",
213
+ "image_caption": [
214
+ "Figure 2: Shrinking process. During the training, the sampling interval $\\Delta$ is initially a half of the distance between near $t _ { n }$ and far bounds $t _ { f }$ and shrinks gradually to a pre-defined value $\\Delta _ { \\mathrm { m i n } }$ . For inference, we can use cumulative rendering by sampling points in the minimal interval $\\Delta _ { \\mathrm { m i n } }$ and alternatively render only with the surface points. "
215
+ ],
216
+ "image_footnote": [],
217
+ "bbox": [
218
+ 178,
219
+ 95,
220
+ 818,
221
+ 270
222
+ ],
223
+ "page_idx": 3
224
+ },
225
+ {
226
+ "type": "text",
227
+ "text": "",
228
+ "bbox": [
229
+ 176,
230
+ 368,
231
+ 823,
232
+ 439
233
+ ],
234
+ "page_idx": 3
235
+ },
236
+ {
237
+ "type": "equation",
238
+ "img_path": "images/ab8a0834b245eeae09ef29e0a4f601743a52e4e59d199a8cfba9da7e8dcad62f.jpg",
239
+ "text": "$$\n\\hat { \\mathbf { C } } ( \\mathbf { r } ) = \\sum _ { i = 1 } ^ { N } T _ { i } \\Big ( 1 - \\exp \\big ( - \\sigma ( \\mathbf { x } _ { i } ) \\delta _ { i } \\big ) \\Big ) \\mathbf { c } ( \\mathbf { x } _ { i } , \\mathbf { d } ) , \\mathrm { ~ w h e r e ~ } T _ { i } = \\exp ( - \\sum _ { j = 1 } ^ { i - 1 } \\sigma ( \\mathbf { x } _ { j } ) \\delta _ { j } ) ,\n$$",
240
+ "text_format": "latex",
241
+ "bbox": [
242
+ 225,
243
+ 446,
244
+ 769,
245
+ 492
246
+ ],
247
+ "page_idx": 3
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "where $\\delta _ { i } = | x _ { i + 1 } - x _ { i } |$ is the distance between adjacent points. Note that, equation (1) is naturally differentiable and NeRF can be directly optimized through the reconstruction error of existing views. ",
252
+ "bbox": [
253
+ 173,
254
+ 501,
255
+ 828,
256
+ 530
257
+ ],
258
+ "page_idx": 3
259
+ },
260
+ {
261
+ "type": "text",
262
+ "text": "3.2 3D Surface-Aware Image Synthesis via Generative Occupancy Fields ",
263
+ "text_level": 1,
264
+ "bbox": [
265
+ 173,
266
+ 546,
267
+ 692,
268
+ 563
269
+ ],
270
+ "page_idx": 3
271
+ },
272
+ {
273
+ "type": "text",
274
+ "text": "To apply NeRF as the 3D representation, the proposed generative occupancy fields (GOF) incorporates an additional latent code $\\mathbf { z } \\sim p _ { \\mathbf { z } }$ into NeRF, such that synthesizing an image follows a reformulated cumulative rendering process: ",
275
+ "bbox": [
276
+ 174,
277
+ 573,
278
+ 825,
279
+ 616
280
+ ],
281
+ "page_idx": 3
282
+ },
283
+ {
284
+ "type": "equation",
285
+ "img_path": "images/797b16944b571a44379ac992bef13820c84dd8eba7bfb950fe58d624d64a2a01.jpg",
286
+ "text": "$$\n\\hat { \\mathbf { C } } ( \\mathbf { r } , \\mathbf { z } ) = \\sum _ { i = 1 } ^ { N } T _ { i } \\Big ( 1 - \\exp \\big ( - \\sigma _ { \\theta } ( \\mathbf { x } _ { i } , \\mathbf { z } ) \\delta _ { i } \\big ) \\Big ) \\mathbf { c } _ { \\theta } \\big ( \\mathbf { x } _ { i } , \\mathbf { d } , \\mathbf { z } \\big ) , \\mathrm { ~ w h e r e ~ } T _ { i } = \\exp \\big ( - \\sum _ { j = 1 } ^ { i - 1 } \\sigma _ { \\theta } ( \\mathbf { x } _ { j } , \\mathbf { z } ) \\delta _ { j } \\big ) .\n$$",
287
+ "text_format": "latex",
288
+ "bbox": [
289
+ 179,
290
+ 622,
291
+ 799,
292
+ 667
293
+ ],
294
+ "page_idx": 3
295
+ },
296
+ {
297
+ "type": "text",
298
+ "text": "However, directly training GOF according to Eq.(2) fails to maintain the surface compactness as reported in previous approaches [6, 7]. Actually, such a defect arises from an inevitable “shape-color ambiguity” of the cumulative rendering process, i.e., small perturbations on surfaces still lead to realistic RGB images which are enough to fool the discriminator. ",
299
+ "bbox": [
300
+ 174,
301
+ 675,
302
+ 825,
303
+ 732
304
+ ],
305
+ "page_idx": 3
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "Owing to the constrained range of poses seen at training, the discriminator is less motivated to further concentrate the color weights $w _ { i } \\bar { = } T _ { i } \\big ( 1 - \\exp ( - \\sigma _ { \\theta } ( \\mathbf { \\bar { x } } _ { i } , \\mathbf { z } ) \\delta _ { i } ) \\big )$ aforementioned in Fig. 1 (a) on the exact object surface. On the other hand, we observe that although leading to diffused surfaces at the end, color weights $w _ { i }$ gradually concentrate around the object surface as the training proceeds. Inspired by this observation, in GOF we propose a training-time operation to facilitate the concentration of color weights $w _ { i }$ . The basic idea is gradually shrinking the sample region in the cumulative rendering process from the entire volume to a narrow interval around the surface, so that color weights are enforced to continuously move towards the exact surface. ",
310
+ "bbox": [
311
+ 173,
312
+ 738,
313
+ 825,
314
+ 849
315
+ ],
316
+ "page_idx": 3
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "To enable the proposed training-time shrinking process, GOF is required to locate the surface by thresholding the predicted densities $\\sigma _ { \\boldsymbol { \\theta } } ( \\mathbf { x } , \\mathbf { z } )$ , assuming points on the surface have the largest densities, However, values of the densities predicted in generative radiance fields could range from 0 to 50, making it hard to determine an effective threshold $\\tau$ during the whole training period. On the other hand, in the cumulative rendering process shown in Eq.(2), we found that the intermediate alpha values used for numerical stability inherently fall in a fixed value range as: ",
321
+ "bbox": [
322
+ 174,
323
+ 856,
324
+ 825,
325
+ 911
326
+ ],
327
+ "page_idx": 3
328
+ },
329
+ {
330
+ "type": "text",
331
+ "text": "",
332
+ "bbox": [
333
+ 169,
334
+ 90,
335
+ 823,
336
+ 119
337
+ ],
338
+ "page_idx": 4
339
+ },
340
+ {
341
+ "type": "equation",
342
+ "img_path": "images/e3e38d7a50b0d08cde08486d0fa6b19f2a03bc42974ad1bab492ef2559f5b468.jpg",
343
+ "text": "$$\n\\alpha _ { \\theta } ( \\mathbf { x } _ { i } , \\mathbf { z } ) = 1 - \\exp ( - \\sigma _ { \\theta } ( \\mathbf { x } _ { i } , \\mathbf { z } ) \\delta _ { i } ) \\in [ 0 , 1 ] .\n$$",
344
+ "text_format": "latex",
345
+ "bbox": [
346
+ 351,
347
+ 127,
348
+ 647,
349
+ 145
350
+ ],
351
+ "page_idx": 4
352
+ },
353
+ {
354
+ "type": "text",
355
+ "text": "More importantly, these alpha values $\\alpha _ { \\boldsymbol { \\theta } } ( \\mathbf { x } , \\mathbf { z } )$ come close to 1 for points in the occupied space while approaching 0 for points in the free space, making them resemble the occupancy values [8] in both quantity and semantics. Inspired by the similarity, we thus propose to reformulate generative radiance fields by predicting alpha values $\\alpha _ { \\boldsymbol { \\theta } } ( \\mathbf { x } , \\mathbf { z } )$ directly instead of volume densities $\\sigma _ { \\boldsymbol { \\theta } } \\bar { ( } \\mathbf { x } , \\mathbf { z } )$ . In the mean time, we reinterpret the alpha values as occupancy values, and subsequently locate surfaces with root-finding, a more effective strategy originated in occupancy networks [11]. According to the above reformulation and reinterpretation, we thus dub our method as Generative Occupancy Fields. ",
356
+ "bbox": [
357
+ 173,
358
+ 151,
359
+ 825,
360
+ 250
361
+ ],
362
+ "page_idx": 4
363
+ },
364
+ {
365
+ "type": "text",
366
+ "text": "As GOF estimates alpha values instead of volume densities, the original volume rendering process in Eq.(2) conditioned on the latent code $\\mathbf { z }$ is reformulated as ",
367
+ "bbox": [
368
+ 171,
369
+ 256,
370
+ 823,
371
+ 285
372
+ ],
373
+ "page_idx": 4
374
+ },
375
+ {
376
+ "type": "equation",
377
+ "img_path": "images/82de6dbde825611fb0e4215a901b1bdf49320bdf86d10cbecb3fbd8bad796ffd.jpg",
378
+ "text": "$$\n\\hat { \\mathbf { C } } ( \\mathbf { r } , \\mathbf { z } ) = \\sum _ { i = 1 } ^ { N } \\alpha _ { \\theta } \\big ( \\mathbf { x } _ { i } , \\mathbf { z } \\big ) \\prod _ { j < i } \\big ( 1 - \\alpha _ { \\theta } \\big ( \\mathbf { x } _ { j } , \\mathbf { z } \\big ) \\big ) \\mathbf { c } _ { \\theta } \\big ( \\mathbf { x } _ { i } , \\mathbf { d } , \\mathbf { z } \\big ) ,\n$$",
379
+ "text_format": "latex",
380
+ "bbox": [
381
+ 310,
382
+ 291,
383
+ 686,
384
+ 337
385
+ ],
386
+ "page_idx": 4
387
+ },
388
+ {
389
+ "type": "text",
390
+ "text": "where the value range of $\\alpha _ { \\theta } ( \\mathbf { x } _ { i } , \\mathbf { z } )$ is guaranteed with a sigmoid function. And to locate the surface via root-finding, for a specific ray $\\dot { \\mathbf { r } } ( t ) = \\mathbf { o } + t \\mathbf { d }$ we will evenly sample $M$ points $\\begin{array} { r } { \\left\\{ \\mathbf { x } _ { k } = \\mathbf { o } + t _ { k } \\mathbf { d } ; k = \\right. } \\end{array}$ $1 , . . . , M \\}$ that partition the entire volume $[ t _ { n } , t _ { f } ]$ into $M$ equally-spaced bins. After obtaining the corresponding alpha values $\\{ \\alpha _ { \\boldsymbol { \\theta } } ( \\mathbf { x } _ { k } , \\mathbf { z } ) ; k \\stackrel { - } { = } 1 , . . . , M \\}$ by querying the generator $g _ { \\theta }$ , the surface $s$ is located in the $k ^ { \\dot { S } }$ -th bin where $\\alpha \\theta$ changes for the first time from free space $( \\alpha _ { \\theta } < \\tau )$ to occupied space $( \\alpha _ { \\theta } < \\tau )$ ): ",
391
+ "bbox": [
392
+ 173,
393
+ 344,
394
+ 826,
395
+ 428
396
+ ],
397
+ "page_idx": 4
398
+ },
399
+ {
400
+ "type": "equation",
401
+ "img_path": "images/f6f7bd69162e3ec7dd1f8f3b6af81a3088e02140fc99cca2b2cfa8fad9a5a2fa.jpg",
402
+ "text": "$$\nk ^ { S } = \\underset { k } { \\mathrm { a r g m i n } } \\big ( \\alpha _ { \\theta } ( \\mathbf { x } _ { k } , \\mathbf { z } ) < \\tau \\leq \\alpha _ { \\theta } ( \\mathbf { x } _ { k + 1 } , \\mathbf { z } ) \\big ) ,\n$$",
403
+ "text_format": "latex",
404
+ "bbox": [
405
+ 341,
406
+ 428,
407
+ 655,
408
+ 455
409
+ ],
410
+ "page_idx": 4
411
+ },
412
+ {
413
+ "type": "text",
414
+ "text": "where $\\tau$ is a pre-defined threshold. In practice, we empirically set $\\tau$ as 0.5. In order to find the surface point $\\mathbf { x } _ { s } = \\mathbf { o } + t _ { s } \\mathbf { d }$ more precisely, we further apply the above secant method iteratively for $m _ { s }$ times, resulting in a fine-grained bin $\\left[ \\mathbf { x } _ { k ^ { s } } , \\mathbf { x } _ { k ^ { s } + 1 } \\right]$ . It’s worth noting that the $M$ sampled points are only used for root-finding. Thus they do not require the computation of gradients in the implementation. ",
415
+ "bbox": [
416
+ 174,
417
+ 459,
418
+ 825,
419
+ 530
420
+ ],
421
+ "page_idx": 4
422
+ },
423
+ {
424
+ "type": "text",
425
+ "text": "Based on the located surface $s$ , we can thus successfully conduct the proposed shrinking process, which is schematically elaborated in Fig. 2. Specifically, when sampling $N$ points for Eq.(4) at each training step, we will only sample within a region neighboring the surface $[ t _ { s } - \\Delta , t _ { s } + \\Delta ]$ : ",
426
+ "bbox": [
427
+ 174,
428
+ 535,
429
+ 825,
430
+ 579
431
+ ],
432
+ "page_idx": 4
433
+ },
434
+ {
435
+ "type": "equation",
436
+ "img_path": "images/b5ec8f54a9387d9407c3749baf2d8dfb37136abbd48ca5ee34c58c3b0395dced.jpg",
437
+ "text": "$$\nt _ { i } \\sim \\mathcal { U } \\left[ t _ { s } - \\Delta + \\frac { 2 i - 2 } { N } \\Delta , t _ { s } - \\Delta + \\frac { 2 i } { N } \\Delta \\right] , \\mathrm { w h e r e } i = 1 , 2 , . . . , N .\n$$",
438
+ "text_format": "latex",
439
+ "bbox": [
440
+ 269,
441
+ 584,
442
+ 728,
443
+ 621
444
+ ],
445
+ "page_idx": 4
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "$\\Delta$ is the sampling interval, which is set to $\\Delta _ { \\mathrm { i n i t } } = ( t _ { f } - t _ { n } ) / 2$ at the beginning, a half of the distance between near $t _ { n }$ and far bounds $t _ { f }$ . And it will decrease monotonically with an exponential decay rate $\\gamma$ until it drops to a pre-defined minimal value $\\Delta _ { \\mathrm { m i n } }$ . Formally, $\\Delta _ { n } = \\mathrm { m a x } ( \\Delta _ { \\mathrm { i n i t } } \\exp ( - \\gamma n ) , \\Delta _ { \\mathrm { m i n } } )$ for $n$ -th decaying step. Additionally, during training when the estimated $t _ { s }$ is too close to the near or the far bound so that the sampling region $[ t _ { s } - \\Delta , t _ { s } + \\Delta ]$ exceeds the original range $[ t _ { n } , t _ { f } ]$ , we will shift the region $[ t _ { s } - \\Delta , t _ { s } + \\Delta ]$ back to within $[ t _ { n } , t _ { f } ]$ . As shown in Fig. 2, at the beginning of training, points sampled for Eq.(4) will cover the entire volume, leading to dispersed gradients which facilitate the convergence of GOF. And as the training goes, the predicted surface will become more and more accurate, which is the outcome of gradually refining the sampling region, and in turn also makes the above shrinking operation valid. ",
450
+ "bbox": [
451
+ 173,
452
+ 627,
453
+ 825,
454
+ 767
455
+ ],
456
+ "page_idx": 4
457
+ },
458
+ {
459
+ "type": "text",
460
+ "text": "Thanks to the dedicated shrinking process, the color weights $w _ { i }$ can successfully concentrate on the object surface as illustrated in Fig. 1(a). As a result, GOF is capable of synthesizing highfidelity images in a 3D-consistent manner and simultaneously capturing compact object surfaces. During inference, to synthesize an image under a random camera pose $\\xi \\sim p _ { \\xi }$ , the generator $g _ { \\boldsymbol { \\theta } }$ will fetch a truncated latent code $\\hat { \\mathbf { z } }$ and sample $N$ points $\\{ { \\bf { x } } _ { i } \\}$ on each ray within the minimal region $[ t _ { s } - \\Delta _ { \\mathrm { m i n } } , t _ { s } + \\Delta _ { \\mathrm { m i n } } ]$ for the rendering as in Eq.(4). An important benefit of learning a compact object surface is that we can effectively reduce the number of sampled points for rendering, even using only one point on each ray, i.e. the surface point. As shown in Fig. 1 (b), the image rendered with only the surface point is almost indistinguishable from that with multiple points. Such equivalence can be guaranteed theoretically when $\\Delta _ { \\operatorname* { m i n } } 0$ , and we include the proof in the supplementary material. ",
461
+ "bbox": [
462
+ 173,
463
+ 772,
464
+ 826,
465
+ 912
466
+ ],
467
+ "page_idx": 4
468
+ },
469
+ {
470
+ "type": "text",
471
+ "text": "3.3 Loss Functions ",
472
+ "text_level": 1,
473
+ "bbox": [
474
+ 174,
475
+ 90,
476
+ 318,
477
+ 106
478
+ ],
479
+ "page_idx": 5
480
+ },
481
+ {
482
+ "type": "text",
483
+ "text": "Instead of training on posed 2D images, the proposed GOF leverages a corpus of unposed images for 3D-aware image synthesis, where multiple loss functions are adopted. ",
484
+ "bbox": [
485
+ 173,
486
+ 116,
487
+ 823,
488
+ 145
489
+ ],
490
+ "page_idx": 5
491
+ },
492
+ {
493
+ "type": "text",
494
+ "text": "GAN Loss. Following pi-GAN [6], a GAN loss is used where GOF synthesizes fake images by randomly sampling camera poses $\\xi$ from a dataset-related distribution $p _ { \\xi }$ and rendering according to Eq.(4). Denote $I$ as a real image from the data distribution $p _ { \\mathcal { D } }$ , the non-saturating GAN loss can be described as follows: ",
495
+ "bbox": [
496
+ 174,
497
+ 150,
498
+ 825,
499
+ 205
500
+ ],
501
+ "page_idx": 5
502
+ },
503
+ {
504
+ "type": "equation",
505
+ "img_path": "images/545d70e8373b5e4adee054dc9cc78b49164dec8b128b090fcb011b837baf5916.jpg",
506
+ "text": "$$\n\\begin{array} { r l } & { \\mathcal { L } _ { \\mathrm { o r i g i n } } ( \\theta _ { D } , \\theta _ { G } ) = { \\bf E } _ { { \\bf z } \\sim p _ { \\bf z } , \\xi \\sim p _ { \\xi } } \\left[ f \\Big ( D _ { \\theta _ { D } } ( G _ { \\theta _ { G } } ( { \\bf z } , \\xi ) ) \\Big ) \\right] } \\\\ & { \\quad \\quad \\quad \\quad \\quad + { \\bf E } _ { I \\sim p _ { \\mathcal D } } \\left[ f ( - D _ { \\theta _ { D } } ( I ) ) + \\lambda | \\nabla D _ { \\theta _ { D } } ( I ) | ^ { 2 } \\right] , } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\mathrm { w h e r e ~ } f ( u ) = - \\log ( 1 + \\exp ( - u ) ) . } \\end{array}\n$$",
507
+ "text_format": "latex",
508
+ "bbox": [
509
+ 302,
510
+ 208,
511
+ 694,
512
+ 273
513
+ ],
514
+ "page_idx": 5
515
+ },
516
+ {
517
+ "type": "text",
518
+ "text": "However, $\\mathcal { L } _ { \\mathrm { o r i g i n } }$ alone is not sufficient to guide the training, which may lead to messy images with smoke-like artifacts. Therefore, two more regularizations are incorporated to reduce artifacts and further smooth the learned surfaces. ",
519
+ "bbox": [
520
+ 176,
521
+ 277,
522
+ 823,
523
+ 319
524
+ ],
525
+ "page_idx": 5
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "Normal Regularization. The first regularization is a prior on the surface normal smoothness, which is specially useful for learning from 2D real-world images [11]. In GOF, this normal prior is only employed for the surface points $\\mathbf { x } _ { s } \\in \\mathcal { S }$ to encourage a natural and smooth surface: ",
530
+ "bbox": [
531
+ 173,
532
+ 325,
533
+ 825,
534
+ 368
535
+ ],
536
+ "page_idx": 5
537
+ },
538
+ {
539
+ "type": "equation",
540
+ "img_path": "images/24dba99d571f7c03138eeb76877eb5e04b4efe0ff73d4bb1d6b3dc94612c3f5b.jpg",
541
+ "text": "$$\n\\mathcal { L } _ { \\mathrm { n o r m a l } } = \\sum _ { \\mathbf { x } _ { s } \\in \\mathcal { S } } | | \\mathbf { n } _ { \\theta } ( \\mathbf { x } _ { s } , \\mathbf { z } ) - \\mathbf { n } _ { \\theta } ( \\mathbf { x } _ { s } + \\epsilon , \\mathbf { z } ) | | _ { 2 } ,\n$$",
542
+ "text_format": "latex",
543
+ "bbox": [
544
+ 344,
545
+ 372,
546
+ 651,
547
+ 406
548
+ ],
549
+ "page_idx": 5
550
+ },
551
+ {
552
+ "type": "text",
553
+ "text": "where $\\epsilon$ is a small random 3D perturbation and $\\mathbf { n } _ { \\theta }$ denotes the normal vector, which can be computed by $\\begin{array} { r } { \\mathbf { n } _ { \\theta } ( \\mathbf { x } , \\mathbf { z } ) = \\nabla _ { \\mathbf { x } } \\alpha _ { \\theta } ( \\mathbf { x } , \\mathbf { z } ) / | | \\mathcal { \\bar { \\nabla } } _ { \\mathbf { x } } \\alpha _ { \\theta } ( \\mathbf { x } , \\mathbf { z } ) | | _ { 2 } } \\end{array}$ . ",
554
+ "bbox": [
555
+ 174,
556
+ 410,
557
+ 823,
558
+ 440
559
+ ],
560
+ "page_idx": 5
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "Opacity Regularization. Since alpha values predicted in GOF can be regarded as occupancy values, ideally the entropy of them should be 0 so that $\\alpha _ { \\boldsymbol { \\theta } } ( \\mathbf { x } , \\mathbf { z } )$ values will equal 1 for points in the occupied space and 0 for points in the free space. We thus apply the second opacity regularization, aiming to reduce the entropy of predicted alpha values: ",
565
+ "bbox": [
566
+ 173,
567
+ 444,
568
+ 825,
569
+ 501
570
+ ],
571
+ "page_idx": 5
572
+ },
573
+ {
574
+ "type": "equation",
575
+ "img_path": "images/45a1b647c4cb2cfd8eb04484ac4ea99db82a96bff5e166c4cac839c09bf2e962.jpg",
576
+ "text": "$$\n\\mathcal { L } _ { \\mathrm { o p a c i t y } } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log ( \\alpha _ { \\theta } ( \\mathbf { x } _ { i } , \\mathbf { z } ) ) + \\log ( 1 - \\alpha _ { \\theta } ( \\mathbf { x } _ { i } , \\mathbf { z } ) ) .\n$$",
577
+ "text_format": "latex",
578
+ "bbox": [
579
+ 316,
580
+ 505,
581
+ 679,
582
+ 549
583
+ ],
584
+ "page_idx": 5
585
+ },
586
+ {
587
+ "type": "text",
588
+ "text": "In summary, the final loss function for training GOF can be written as: ",
589
+ "bbox": [
590
+ 169,
591
+ 558,
592
+ 635,
593
+ 573
594
+ ],
595
+ "page_idx": 5
596
+ },
597
+ {
598
+ "type": "equation",
599
+ "img_path": "images/3e66c2651a2167effc62feed5e7f4cbd580101a86fe54dfc54faae2366bc4498.jpg",
600
+ "text": "$$\n\\mathcal { L } ( \\theta , \\phi ) = \\mathcal { L } _ { \\mathrm { o r i g i n } } ( \\theta , \\phi ) + \\lambda _ { \\mathrm { n o r m a l } } \\mathcal { L } _ { \\mathrm { n o r m a l } } + \\lambda _ { \\mathrm { o p a c i t y } } \\mathcal { L } _ { \\mathrm { o p a c i t y } } ,\n$$",
601
+ "text_format": "latex",
602
+ "bbox": [
603
+ 312,
604
+ 577,
605
+ 684,
606
+ 594
607
+ ],
608
+ "page_idx": 5
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "where $\\lambda _ { \\mathrm { { n o r m a l } } }$ and $\\lambda _ { \\mathrm { o p a c i t y } }$ are both balancing coefficients. ",
613
+ "bbox": [
614
+ 173,
615
+ 598,
616
+ 544,
617
+ 614
618
+ ],
619
+ "page_idx": 5
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "4 Experiments ",
624
+ "text_level": 1,
625
+ "bbox": [
626
+ 174,
627
+ 632,
628
+ 312,
629
+ 648
630
+ ],
631
+ "page_idx": 5
632
+ },
633
+ {
634
+ "type": "text",
635
+ "text": "Implementation Details. Unless stated otherwise, in all experiments we set $N$ , the number of points sampled for rendering, to 12, and set $M$ , the number of bins used in root-finding, to 12. As discussed in Sec.3.2, we apply an iterative process in root-finding. In practice, the number of iterations is set to $m _ { s } = 3$ times. During inference, GOF requires $M + m _ { s } + N$ queries to obtain the color of a pixel, while existing methods require $2 N$ queries due to the use of a hierarchical sampling strategy. Recall it is sufficient for GOF to sample only the surface point to render an image, GOF is thus capable of using just $M + m _ { s } + 1$ queries, potentially speeding up the rendering process in off-line applications. More training and implementation details can be found in the supplemental material. ",
636
+ "bbox": [
637
+ 173,
638
+ 661,
639
+ 826,
640
+ 773
641
+ ],
642
+ "page_idx": 5
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "Datasets. To assess our method comprehensively, we conduct experiments on three datasets, namely CelebA [44], BFM [45], and Cats [46]. Specifically, CelebA is a high-resolution face dataset containing 200, 000 diverse face images. Following pi-GAN [6], we crop all images in CelebA from the top of the hair to the bottom of the chin as a pre-processing step. As for the Cats dataset, it contains 6, 444 cat faces of size $1 2 8 \\times 1 2 8$ . Finally, BFM is a synthetic face dataset rendered with Basel Face Model, where each face is paired with a ground-truth depth map, making it a good benchmark for quantitatively evaluating the quality of learned surfaces. ",
647
+ "bbox": [
648
+ 173,
649
+ 779,
650
+ 825,
651
+ 877
652
+ ],
653
+ "page_idx": 5
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "Comparison with baselines. To validate the effectiveness of GOF, we compare it with two representative GRAF methods, namely GRAF [7] and pi-GAN. Firstly, Fig. 3 demonstrates the qualitative comparison between these three methods, where we include the synthesized images, the learned surfaces in the form of 3D meshes, as well as the corresponding normal maps. As can be observed, GRAF struggles to render good images, let alone estimate compact and reasonable underlying surfaces. Compared to GRAF, pi-GAN can synthesize images and estimate corresponding surfaces with improved quality. However, messy parts can be clearly recognized on its learned surfaces and normal maps, indicating it is incapable of capturing the compact 3D geometric details. In contrast to both pi-GAN and GRAF, the proposed GOF is shown to hallucinate realistic images with 3D consistency and simultaneously learn smooth surface normals as well as compact object surfaces, which verifies the benefit of adopting the transition from radiance fields to occupancy fields. More qualitative results of synthesized images and corresponding surfaces are included in Fig. 4. ",
658
+ "bbox": [
659
+ 173,
660
+ 882,
661
+ 823,
662
+ 912
663
+ ],
664
+ "page_idx": 5
665
+ },
666
+ {
667
+ "type": "table",
668
+ "img_path": "",
669
+ "table_caption": [
670
+ "Table 1: Quantitative results $( 1 2 8 \\times 1 2 8 \\mathrm { p x } )$ ) on BFM, CelebA and Cats datasets, on three metrics Fréchet Inception Distance (FID), Inception Score (IS) and the weighted variance of sampled depth $\\Sigma _ { t _ { i } } ( \\times 1 0 ^ { - 4 } )$ . "
671
+ ],
672
+ "table_footnote": [],
673
+ "page_idx": 6
674
+ },
675
+ {
676
+ "type": "image",
677
+ "img_path": "images/7cbd855904b7fe282b61597f75dac06c7e87466d77949262c3f765c73762a11b.jpg",
678
+ "image_caption": [
679
+ "Figure 3: Qualitative comparison on BFM (top), CelebA (middle), and Cats (bottom) datasets. Our method synthesizes realistic images while ensuring compact object surfaces. "
680
+ ],
681
+ "image_footnote": [],
682
+ "bbox": [
683
+ 176,
684
+ 132,
685
+ 823,
686
+ 777
687
+ ],
688
+ "page_idx": 6
689
+ },
690
+ {
691
+ "type": "text",
692
+ "text": "",
693
+ "bbox": [
694
+ 174,
695
+ 814,
696
+ 825,
697
+ 911
698
+ ],
699
+ "page_idx": 6
700
+ },
701
+ {
702
+ "type": "table",
703
+ "img_path": "images/c2686d2f02030b67a30d3cc43f6418532383b3bfd859454cb663a831e12f2c92.jpg",
704
+ "table_caption": [
705
+ "Table 2: Comparisons on the compactness and accuracy of learned surfaces. "
706
+ ],
707
+ "table_footnote": [],
708
+ "table_body": "<table><tr><td>Method</td><td>SIDE↓</td><td>MAD↓</td></tr><tr><td>Supervised</td><td>0.412</td><td>10.84</td></tr><tr><td>Unsup3d [37]</td><td>0.795</td><td>16.51</td></tr><tr><td>GRAF[7]</td><td>1.866</td><td>26.69</td></tr><tr><td>pi-GAN [6]</td><td>0.727</td><td>20.46</td></tr><tr><td>GAN2Shape [38]</td><td>0.759</td><td>14.94</td></tr><tr><td>Ours</td><td>0.779</td><td>13.81</td></tr></table>",
709
+ "bbox": [
710
+ 191,
711
+ 132,
712
+ 468,
713
+ 251
714
+ ],
715
+ "page_idx": 7
716
+ },
717
+ {
718
+ "type": "table",
719
+ "img_path": "images/8dd52bfe0ab61e55da49dfab84a584c1a8b95d0396bf9f9d174f738b6c7eb69a.jpg",
720
+ "table_caption": [
721
+ "Table 3: Comparisons on the geometry properties of learned surfaces. We report mean curvature $( \\mathbf { M C } ) ( \\times 1 0 ^ { - 3 } )$ and mean geodesic distance(MGD) between random points to assess the geometry properties of recovered surfaces. "
722
+ ],
723
+ "table_footnote": [],
724
+ "table_body": "<table><tr><td colspan=\"2\"></td><td>BFM</td><td>CelebA</td><td>Cats</td></tr><tr><td>MC↓</td><td>pi-GAN Ours</td><td>16.84 12.25</td><td>25.94 23.13</td><td>34.05 30.14</td></tr><tr><td>MGD↓</td><td>pi-GAN Ours</td><td>0.483 0.226</td><td>0.450 0.231</td><td>0.494 0.317</td></tr></table>",
725
+ "bbox": [
726
+ 504,
727
+ 167,
728
+ 833,
729
+ 257
730
+ ],
731
+ "page_idx": 7
732
+ },
733
+ {
734
+ "type": "image",
735
+ "img_path": "images/dcca993f4bffe3c3b1f7a9950ad87ce0db78468086b69de1bfce327dbd7d8445.jpg",
736
+ "image_caption": [
737
+ "Figure 4: Generated images and their 3D meshes on CelebA and Cats datasets. "
738
+ ],
739
+ "image_footnote": [],
740
+ "bbox": [
741
+ 181,
742
+ 270,
743
+ 816,
744
+ 434
745
+ ],
746
+ "page_idx": 7
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "",
751
+ "bbox": [
752
+ 174,
753
+ 468,
754
+ 825,
755
+ 511
756
+ ],
757
+ "page_idx": 7
758
+ },
759
+ {
760
+ "type": "text",
761
+ "text": "To quantitatively evaluate the quality of generated images, we report the Fréchet Inception Distance (FID) scores and Inception Score (IS) scores in Table 1. On these two metrics, GOF demonstrates substantial improvements over baseline methods. To further measure the compactness of learned surfaces, the concentration of color weights $w _ { i }$ as mentioned in Fig. 1 (a) is also computed. Specifically, We sample $N = 3 6$ equally-spaced points $\\left\\{ { \\bf x } _ { i } = { \\bf o } + t _ { i } { \\bf d } \\right\\}$ within near and far bounds $[ t _ { n } , t _ { f } ]$ and calculate the corresponding color weights $w _ { i } , i = 1 , 2 , . . . , N$ . Actually, the weighted variance of these samples’ depth $t _ { i }$ reflects the concentration of color weights in a single image: ",
762
+ "bbox": [
763
+ 173,
764
+ 516,
765
+ 825,
766
+ 614
767
+ ],
768
+ "page_idx": 7
769
+ },
770
+ {
771
+ "type": "equation",
772
+ "img_path": "images/f6a0af330b6838ce28e8b7e9dc6cf6fc277e89e55e101b28a4b44b80c1f420e0.jpg",
773
+ "text": "$$\n\\Sigma _ { t _ { i } } = \\frac { N } { ( N - 1 ) \\sum _ { i = 1 } ^ { N } w _ { i } } \\sum _ { i = 1 } ^ { N } w _ { i } ( t _ { i } - \\bar { t } ) ^ { 2 } , \\mathrm { ~ w h e r e ~ } \\bar { t } = \\sum w _ { i } t _ { i } \\Big / \\sum w _ { i } .\n$$",
774
+ "text_format": "latex",
775
+ "bbox": [
776
+ 248,
777
+ 616,
778
+ 746,
779
+ 654
780
+ ],
781
+ "page_idx": 7
782
+ },
783
+ {
784
+ "type": "text",
785
+ "text": "Intuitively, a smaller variance implies the learned surface is more compact. Finally, for each method, the overall concentration of color weights is averaged over 1000 randomly synthesized images at the $2 5 6 \\times 2 5 6$ resolution. The results in terms of this new metric are also included in Table 1. ",
786
+ "bbox": [
787
+ 174,
788
+ 656,
789
+ 825,
790
+ 698
791
+ ],
792
+ "page_idx": 7
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "For the quality of learned surfaces, we first evaluate the compactness and accuracy of surfaces on the BFM dataset, since it contains ground-truth depth maps. Specifically, $5 0 K$ images are generated by each method, together with their corresponding depth maps. For each method, we train a separate CNN on these generated images and depth maps to predict depths from images. Subsequently, we can measure the accuracy of learned surfaces by running the CNN on the test split of BFM and comparing its outputs to the ground-truth depth maps using the scale-invariant depth error (SIDE) and the mean angle deviation (MAD). While MAD focuses more on the compactness of surfaces, SIDE emphasizes more on the accuracy of depth. As shown in Table 2, GOF significantly outperforms baseline methods on the MAD metric and is comparable to strong baselines on the SIDE metric. Moreover, we also report mean curvature (MC) and mean geodesic distance (MGD) between random points to assess the geometry properties of learned surfaces. The lower these two metrics, the smoother recovered object surfaces. Owing to the absence of such two metrics on ground-truth surfaces for reference, we consider the smoother surfaces better conform to ground-truth cases. The reported values on these two metrics are averaged over 100 randomly synthesized 3D meshes. Quantitative comparisons in Table 3 demonstrate our method GOF can preserve better geometry properties. ",
797
+ "bbox": [
798
+ 173,
799
+ 704,
800
+ 825,
801
+ 911
802
+ ],
803
+ "page_idx": 7
804
+ },
805
+ {
806
+ "type": "image",
807
+ "img_path": "images/c20bafb595ef5d7fa5bc4c0af2f9acc0c1208d6bb2c6dfcbecdce20dd989e116.jpg",
808
+ "image_caption": [],
809
+ "image_footnote": [],
810
+ "bbox": [
811
+ 179,
812
+ 87,
813
+ 816,
814
+ 345
815
+ ],
816
+ "page_idx": 8
817
+ },
818
+ {
819
+ "type": "image",
820
+ "img_path": "images/fe2f6263b603daba3a83f200e962cbc2b4ca2663d8e455e97bf4bdbe003bba8b.jpg",
821
+ "image_caption": [
822
+ "Figure 5: Rendering with only surface points. Images (right) rendered only with surface points are indistinguishable from those (left) obtained with cumulative rendering. ",
823
+ "Figure 6: Qualitative ablation on proposed priors (upper row w/o $\\mathcal { L } _ { \\mathrm { o p a c i t y } }$ , bottom row w/o $\\mathcal { L } _ { \\mathrm { { n o r m a l } } }$ ). "
824
+ ],
825
+ "image_footnote": [],
826
+ "bbox": [
827
+ 183,
828
+ 383,
829
+ 813,
830
+ 522
831
+ ],
832
+ "page_idx": 8
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "Rendering only with surface points. As mentioned in Sec. 3.2, GOF is able to render an image using only the surface points. To verify this, we showcase in Fig. 5 images rendered by GOF using multiple points and only the surface point. As can be observed, images synthesized with these two strategies are nearly indistinguishable from each other. Thus, GOF possesses the potential to significantly reduce the number of generator queries when synthesizing an image. To compare the efficiency straightforwardly, we estimate the rendering speed of $2 5 6 \\times 2 5 6$ images for both pi-GAN and GOF on a single Intel Xeon(R) CPU. On average, pi-GAN costs about 78s per image, while GOF takes about 56s, saving approximately $2 8 \\%$ of the time. Owing to the reduction in the burden of queries, GOF enables a light rendering scheme that is promising for applications on mobile devices. ",
837
+ "bbox": [
838
+ 174,
839
+ 559,
840
+ 825,
841
+ 684
842
+ ],
843
+ "page_idx": 8
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "Ablation studies. We here analyze the effects of the proposed regularizations ${ \\mathcal { L } } _ { \\mathrm { n o r m a l } }$ and $\\mathcal { L } _ { \\mathrm { o p a c i t y } }$ Table 1 includes the quantitative ablation study on these priors. We also include qualitative samples in Fig. 6, which contains images synthesized by GOF without one regularization item. As shown in the BFM cases 6(a), removing opacity prior leads to the smoke-like artifacts around the cheek part and the absence of normal regularization might degrade the quality of learned normal maps. While testing on the real-world dataset 6(b), undesirable specular highlights emerge on the face and the hollows appear on the corresponding shapes if without the normal regularization. Moreover, we observe that removing opacity prior on CelebA dataset will make the face surfaces too flat and unnatural. It is worth noting that although the performance of GOF is deteriorated due to the absence of these priors, images and surfaces produced by GOF are still of reasonable quality when compared to that from previous approaches, indicating the transition from radiance fields to occupancy fields is the main cause that leads to the success of GOF. Moreover, we showcase the degenerated results on BFM dataset if our model is trained without the shrinking process. As illustrated in Fig. 7, despite the realistic generated images, there emerges random noise on the corresponding normal maps and some nasty dents appear on the face shapes, which demonstrates that the combination of our proposed occupancy representation and the shrinking sampling procedure ensures the surface compactness. ",
848
+ "bbox": [
849
+ 174,
850
+ 690,
851
+ 825,
852
+ 911
853
+ ],
854
+ "page_idx": 8
855
+ },
856
+ {
857
+ "type": "image",
858
+ "img_path": "images/2e63847e62eb4fcb42c3cea2912d095c6950567cf2c7548ca11ad33ff7ab0e8b.jpg",
859
+ "image_caption": [
860
+ "Figure 7: GOF results without the shrinking process. Noise emerges on normals and dents appear on shapes. "
861
+ ],
862
+ "image_footnote": [],
863
+ "bbox": [
864
+ 174,
865
+ 89,
866
+ 395,
867
+ 215
868
+ ],
869
+ "page_idx": 9
870
+ },
871
+ {
872
+ "type": "image",
873
+ "img_path": "images/a907662b559911063e7819033757f9a4f74bf1aa539a5f3860dc58fe58fbe1cb.jpg",
874
+ "image_caption": [
875
+ "Figure 8: GAN inversion results on real images. GOF can reconstruct the target images and simultaneously learn the corresponding normal maps as well as 3D shapes. "
876
+ ],
877
+ "image_footnote": [],
878
+ "bbox": [
879
+ 405,
880
+ 92,
881
+ 818,
882
+ 213
883
+ ],
884
+ "page_idx": 9
885
+ },
886
+ {
887
+ "type": "image",
888
+ "img_path": "images/c31620b9ba6ed83b55c6864d7ece026799eb5f6d372621310c845f2aada1e1c8.jpg",
889
+ "image_caption": [
890
+ "Figure 9: Relighting results. Our method GOF generates desirable images under various light conditions while baseline results are far from satisfactory. "
891
+ ],
892
+ "image_footnote": [],
893
+ "bbox": [
894
+ 178,
895
+ 280,
896
+ 820,
897
+ 417
898
+ ],
899
+ "page_idx": 9
900
+ },
901
+ {
902
+ "type": "text",
903
+ "text": "Inverse rendering. Through GAN inversion, our method is also capable of inverse rendering as shown in Fig. 8. Given a real image, GOF can reconstruct the target image successfully and realize free view synthesis by controlling the viewpoints. Besides, the recovered normal maps as well as 3D shapes pave the way for downstream tasks such as relighting and editing. ",
904
+ "bbox": [
905
+ 174,
906
+ 469,
907
+ 825,
908
+ 525
909
+ ],
910
+ "page_idx": 9
911
+ },
912
+ {
913
+ "type": "text",
914
+ "text": "Relighting. In Fig. 9 we provide the relighting results based on the learned normal maps by explicitly controlling the lighting directions. As our method and baselines can’t predict the corresponding albedo, the face-forwarding image is considered as the pseudo albedo. Thanks to better learned normal maps, our method GOF presents promising images under different light conditions. In contrast to ours, baseline methods like pi-GAN [6] tend to generate messy normal maps with obvious checkerboard-like artifacts, leading to noisy and dissatisfied relighting results. ",
915
+ "bbox": [
916
+ 174,
917
+ 531,
918
+ 825,
919
+ 614
920
+ ],
921
+ "page_idx": 9
922
+ },
923
+ {
924
+ "type": "text",
925
+ "text": "Limitations. While training on real-world datasets, our method GOF might present similar dents in the hair regions as in existing approaches [6]. Besides, the adopted FiLMed-SIREN backbone in the generator will lead to stripe artifacts in the generated images especially when they are rendered only with surface points. Meanwhile, surface rendering mode will make furry cat images over-smooth and less realistic. Moreover, our method is more suitable for solid objects with only one surface. ",
926
+ "bbox": [
927
+ 174,
928
+ 621,
929
+ 825,
930
+ 690
931
+ ],
932
+ "page_idx": 9
933
+ },
934
+ {
935
+ "type": "text",
936
+ "text": "5 Conclusion ",
937
+ "text_level": 1,
938
+ "bbox": [
939
+ 174,
940
+ 712,
941
+ 299,
942
+ 729
943
+ ],
944
+ "page_idx": 9
945
+ },
946
+ {
947
+ "type": "text",
948
+ "text": "In this work, we propose generative occupancy fields (GOF), a novel generative radiance fields for 3D-aware image synthesis. The crux of GOF is a dedicated transition from the cumulative rendering in radiance fields to rendering with only the surface points. Such a transition is inspired by the resemblance between the alpha values in radiance fields and the occupancy values in occupancy networks, so that we can reinterpret one as the other. In practice, such a transition is achieved during training by gradually shrinking the sampling region in the rendering process of GOF from the entire volume to a minimal neighboring region around the surface, where the surface is located via rootfinding on predicted alpha values. Thanks to the transition, surfaces learned by GOF continuously converge during the training, ensuring their compactness at the end. On three diverse datasets, GOF is shown to demonstrate great superiority in synthesizing 3D consistent images and in the meantime capturing compact surfaces, significantly broadening the application of generative radiance fields in downstream tasks. ",
949
+ "bbox": [
950
+ 174,
951
+ 746,
952
+ 825,
953
+ 911
954
+ ],
955
+ "page_idx": 9
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "Acknowlegements ",
960
+ "text_level": 1,
961
+ "bbox": [
962
+ 176,
963
+ 89,
964
+ 326,
965
+ 106
966
+ ],
967
+ "page_idx": 10
968
+ },
969
+ {
970
+ "type": "text",
971
+ "text": "We would like to thank Eric R. Chan for sharing the codebase of pi-GAN. This work is supported by the Collaborative Research Grant from SenseTime (CUHK Agreement No. TS1712093), the General Research Fund (GRF) of Hong Kong (No. 14205719), the RIE2020 Industry Alignment Fund – Industry Collaboration Projects (IAF-ICP) Funding Initiative, as well as cash and in-kind contribution from the industry partner(s). ",
972
+ "bbox": [
973
+ 174,
974
+ 119,
975
+ 825,
976
+ 189
977
+ ],
978
+ "page_idx": 10
979
+ },
980
+ {
981
+ "type": "text",
982
+ "text": "References ",
983
+ "text_level": 1,
984
+ "bbox": [
985
+ 174,
986
+ 209,
987
+ 266,
988
+ 224
989
+ ],
990
+ "page_idx": 10
991
+ },
992
+ {
993
+ "type": "text",
994
+ "text": "[1] I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. C. Courville, and Y. Bengio, “Generative adversarial nets,” in NIPS, 2014. \n[2] A. Brock, J. Donahue, and K. Simonyan, “Large scale gan training for high fidelity natural image synthesis,” in International Conference on Learning Representations, 2018. \n[3] T. Karras, S. Laine, and T. Aila, “A style-based generator architecture for generative adversarial networks,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4401–4410, 2019. \n[4] T. Karras, S. Laine, M. Aittala, J. Hellsten, J. Lehtinen, and T. Aila, “Analyzing and improving the image quality of stylegan,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8110–8119, 2020. \n[5] B. Mildenhall, P. P. Srinivasan, M. Tancik, J. T. Barron, R. Ramamoorthi, and R. Ng, “Nerf: Representing scenes as neural radiance fields for view synthesis,” in ECCV, pp. 405–421, Springer, 2020. \n[6] E. R. Chan, M. Monteiro, P. Kellnhofer, J. Wu, and G. Wetzstein, “pi-gan: Periodic implicit generative adversarial networks for 3d-aware image synthesis,” in CVPR, 2021. \n[7] K. Schwarz, Y. Liao, M. Niemeyer, and A. Geiger, “Graf: Generative radiance fields for 3d-aware image synthesis,” in NeurIPS, vol. 33, 2020. \n[8] L. Mescheder, M. Oechsle, M. Niemeyer, S. Nowozin, and A. Geiger, “Occupancy networks: Learning 3d reconstruction in function space,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4460–4470, 2019. \n[9] L. Yariv, Y. Kasten, D. Moran, M. Galun, M. Atzmon, B. Ronen, and Y. Lipman, “Multiview neural surface reconstruction by disentangling geometry and appearance,” Advances in Neural Information Processing Systems, vol. 33, 2020. \n[10] M. Oechsle, S. Peng, and A. Geiger, “Unisurf: Unifying neural implicit surfaces and radiance fields for multi-view reconstruction,” arXiv preprint arXiv:2104.10078, 2021. \n[11] M. Niemeyer, L. Mescheder, M. Oechsle, and A. Geiger, “Differentiable volumetric rendering: Learning implicit 3d representations without 3d supervision,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3504–3515, 2020. \n[12] Y. Jiang, D. Ji, Z. Han, and M. Zwicker, “Sdfdiff: Differentiable rendering of signed distance fields for 3d shape optimization,” in The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020. \n[13] S. Liu, Y. Zhang, S. Peng, B. Shi, M. Pollefeys, and Z. Cui, “Dist: Rendering deep implicit signed distance function with differentiable sphere tracing,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2019–2028, 2020. \n[14] J. J. Park, P. Florence, J. Straub, R. Newcombe, and S. Lovegrove, “Deepsdf: Learning continuous signed distance functions for shape representation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 165–174, 2019. \n[15] Z. Chen and H. Zhang, “Learning implicit fields for generative shape modeling,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5939–5948, 2019. \n[16] K. Genova, F. Cole, D. Vlasic, A. Sarna, W. T. Freeman, and T. Funkhouser, “Learning shape templates with structured implicit functions,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 7154–7164, 2019. \n[17] M. Michalkiewicz, J. K. Pontes, D. Jack, M. Baktashmotlagh, and A. Eriksson, “Implicit surface representations as layers in neural networks,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4743–4752, 2019. \n[18] S. Saito, Z. Huang, R. Natsume, S. Morishima, A. Kanazawa, and H. Li, “Pifu: Pixel-aligned implicit function for high-resolution clothed human digitization,” in Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 2304–2314, 2019. \n[19] S. Saito, T. Simon, J. Saragih, and H. Joo, “Pifuhd: Multi-level pixel-aligned implicit function for high-resolution 3d human digitization,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 84–93, 2020. \n[20] V. Sitzmann, E. R. Chan, R. Tucker, N. Snavely, and G. Wetzstein, “Metasdf: Meta-learning signed distance functions,” arXiv preprint arXiv:2006.09662, 2020. \n[21] V. Sitzmann, M. Zollhöfer, and G. Wetzstein, “Scene representation networks: Continuous 3d-structure-aware neural scene representations,” in Advances in Neural Information Processing Systems, 2019. \n[22] L. Liu, J. Gu, K. Z. Lin, T.-S. Chua, and C. Theobalt, “Neural sparse voxel fields,” arXiv preprint arXiv:2007.11571, 2020. \n[23] A. Yu, R. Li, M. Tancik, H. Li, R. Ng, and A. Kanazawa, “Plenoctrees for real-time rendering of neural radiance fields,” arXiv preprint arXiv:2103.14024, 2021. \n[24] T. Neff, P. Stadlbauer, M. Parger, A. Kurz, J. H. Mueller, C. R. A. Chaitanya, A. Kaplanyan, and M. Steinberger, “Donerf: Towards real-time rendering of compact neural radiance fields using depth oracle networks,” arXiv preprint arXiv:2103.03231, 2021. \n[25] P. Hedman, P. P. Srinivasan, B. Mildenhall, J. T. Barron, and P. Debevec, “Baking neural radiance fields for real-time view synthesis,” arXiv preprint arXiv:2103.14645, 2021. \n[26] M. Boss, R. Braun, V. Jampani, J. T. Barron, C. Liu, and H. Lensch, “Nerd: Neural reflectance decomposition from image collections,” arXiv preprint arXiv:2012.03918, 2020. \n[27] P. P. Srinivasan, B. Deng, X. Zhang, M. Tancik, B. Mildenhall, and J. T. Barron, “Nerv: Neural reflectance and visibility fields for relighting and view synthesis,” arXiv preprint arXiv:2012.03927, 2020. \n[28] M. Atzmon, N. Haim, L. Yariv, O. Israelov, H. Maron, and Y. Lipman, “Controlling neural level sets,” arXiv preprint arXiv:1905.11911, 2019. \n[29] P. Kellnhofer, L. C. Jebe, A. Jones, R. Spicer, K. Pulli, and G. Wetzstein, “Neural lumigraph rendering,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4287–4297, 2021. \n[30] J. Wu, C. Zhang, T. Xue, B. Freeman, and J. Tenenbaum, “Learning a probabilistic latent space of object shapes via 3d generative-adversarial modeling,” in NIPS, 2016. \n[31] X. Chen, D. Cohen-Or, B. Chen, and N. J. Mitra, “Towards a neural graphics pipeline for controllable image generation,” Computer Graphics Forum, vol. 40, no. 2, 2021. \n[32] J.-Y. Zhu, Z. Zhang, C. Zhang, J. Wu, A. Torralba, J. Tenenbaum, and B. Freeman, “Visual object networks: Image generation with disentangled 3d representations,” in NeurIPS, 2018. \n[33] Y. Liao, K. Schwarz, L. Mescheder, and A. Geiger, “Towards unsupervised learning of generative models for 3d controllable image synthesis,” in CVPR, pp. 5871–5880, 2020. \n[34] T. Nguyen-Phuoc, C. Richardt, L. Mai, Y.-L. Yang, and N. Mitra, “Blockgan: Learning 3d object-aware scene representations from unlabelled images,” in Advances in Neural Information Processing Systems 33, Nov 2020. \n[35] T. Nguyen-Phuoc, C. Li, L. Theis, C. Richardt, and Y.-L. Yang, “Hologan: Unsupervised learning of 3d representations from natural images,” in ICCV, pp. 7588–7597, 2019. \n[36] M. Niemeyer and A. Geiger, “Giraffe: Representing scenes as compositional generative neural feature fields,” in CVPR, 2021. \n[37] S. Wu, C. Rupprecht, and A. Vedaldi, “Unsupervised learning of probably symmetric deformable 3d objects from images in the wild,” in CVPR, 2020. \n[38] X. Pan, B. Dai, Z. Liu, C. C. Loy, and P. Luo, “Do 2d gans know 3d shape? unsupervised 3d shape reconstruction from 2d image gans,” in ICLR, 2021. \n[39] M. Sahasrabudhe, Z. Shu, E. Bartrum, R. Alp Guler, D. Samaras, and I. Kokkinos, “Lifting autoencoders: Unsupervised learning of a fully-disentangled 3d morphable model using deep non-rigid structure from motion,” in ICCV Workshops, pp. 0–0, 2019. \n[40] X. Li, S. Liu, K. Kim, S. De Mello, V. Jampani, M.-H. Yang, and J. Kautz, “Self-supervised single-view 3d reconstruction via semantic consistency,” ECCV, 2020. \n[41] P. Wang, L. Liu, Y. Liu, C. Theobalt, T. Komura, and W. Wang, “Neus: Learning neural implicit surfaces by volume rendering for multi-view reconstruction,” arXiv preprint arXiv:2106.10689, 2021. \n[42] L. Yariv, J. Gu, Y. Kasten, and Y. Lipman, “Volume rendering of neural implicit surfaces,” arXiv preprint arXiv:2106.12052, 2021. \n[43] J. T. Kajiya and B. P. Von Herzen, “Ray tracing volume densities,” ACM SIGGRAPH computer graphics, vol. 18, no. 3, pp. 165–174, 1984. \n[44] Z. Liu, P. Luo, X. Wang, and X. Tang, “Deep learning face attributes in the wild,” in ICCV, pp. 3730–3738, 2015. \n[45] P. Paysan, R. Knothe, B. Amberg, S. Romdhani, and T. Vetter, “A 3d face model for pose and illumination invariant face recognition,” in 2009 Sixth IEEE International Conference on Advanced Video and Signal Based Surveillance, pp. 296–301, Ieee, 2009. \n[46] W. Zhang, J. Sun, and X. Tang, “Cat head detection-how to effectively exploit shape and texture features,” in ECCV, pp. 802–816, Springer, 2008. ",
995
+ "bbox": [
996
+ 171,
997
+ 229,
998
+ 826,
999
+ 915
1000
+ ],
1001
+ "page_idx": 10
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "text": "",
1006
+ "bbox": [
1007
+ 171,
1008
+ 60,
1009
+ 828,
1010
+ 914
1011
+ ],
1012
+ "page_idx": 11
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "text": "",
1017
+ "bbox": [
1018
+ 168,
1019
+ 85,
1020
+ 828,
1021
+ 583
1022
+ ],
1023
+ "page_idx": 12
1024
+ }
1025
+ ]
parse/train/tHzvH4Rv1Qa/tHzvH4Rv1Qa_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/tHzvH4Rv1Qa/tHzvH4Rv1Qa_model.json ADDED
The diff for this file is too large to render. See raw diff