Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/HJ1JBJ5gl/HJ1JBJ5gl.md +306 -0
- parse/train/HJ1JBJ5gl/HJ1JBJ5gl_model.json +0 -0
- parse/train/S1M6Z2Cctm/S1M6Z2Cctm.md +354 -0
- parse/train/S1M6Z2Cctm/S1M6Z2Cctm_content_list.json +1789 -0
- parse/train/S1M6Z2Cctm/S1M6Z2Cctm_middle.json +0 -0
- parse/train/S1M6Z2Cctm/S1M6Z2Cctm_model.json +0 -0
- parse/train/TiXl51SCNw8/TiXl51SCNw8.md +278 -0
- parse/train/TiXl51SCNw8/TiXl51SCNw8_model.json +0 -0
- parse/train/YFysbLCFdIe/YFysbLCFdIe.md +263 -0
- parse/train/YFysbLCFdIe/YFysbLCFdIe_content_list.json +1129 -0
- parse/train/YFysbLCFdIe/YFysbLCFdIe_middle.json +0 -0
- parse/train/YFysbLCFdIe/YFysbLCFdIe_model.json +0 -0
- parse/train/hwoK62_GkiT/hwoK62_GkiT.md +238 -0
- parse/train/hwoK62_GkiT/hwoK62_GkiT_content_list.json +1176 -0
- parse/train/hwoK62_GkiT/hwoK62_GkiT_middle.json +0 -0
- parse/train/hwoK62_GkiT/hwoK62_GkiT_model.json +0 -0
- parse/train/i7aMbliTkHs/i7aMbliTkHs.md +352 -0
- parse/train/i7aMbliTkHs/i7aMbliTkHs_content_list.json +0 -0
- parse/train/i7aMbliTkHs/i7aMbliTkHs_middle.json +0 -0
- parse/train/i7aMbliTkHs/i7aMbliTkHs_model.json +0 -0
parse/train/HJ1JBJ5gl/HJ1JBJ5gl.md
ADDED
|
@@ -0,0 +1,306 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# REPRESENTING INFERENTIAL UNCERTAINTY IN DEEP NEURAL NETWORKS THROUGH SAMPLING
|
| 2 |
+
|
| 3 |
+
Patrick McClure & Nikolaus Kriegeskorte
|
| 4 |
+
MRC Cognition and Brain Sciences Unit
|
| 5 |
+
University of Cambridge
|
| 6 |
+
Cambridge, UK
|
| 7 |
+
{patrick.mcclure,nikolaus.kriegeskorte}@mrc-cbu.cam.ac.uk
|
| 8 |
+
|
| 9 |
+
# ABSTRACT
|
| 10 |
+
|
| 11 |
+
As deep neural networks (DNNs) are applied to increasingly challenging problems, they will need to be able to represent their own uncertainty. Modelling uncertainty is one of the key features of Bayesian methods. Bayesian DNNs that use dropout-based variational distributions and scale to complex tasks have recently been proposed. We evaluate Bayesian DNNs trained with Bernoulli or Gaussian multiplicative masking of either the units (dropout) or the weights (dropconnect). We compare these Bayesian DNNs ability to represent their uncertainty about their outputs through sampling during inference. We tested the calibration of these Bayesian fully connected and convolutional DNNs on two visual inference tasks (MNIST and CIFAR-10). By adding different levels of Gaussian noise to the test images in z-score space, we assessed how these DNNs represented their uncertainty about regions of input space not covered by the training set. These Bayesian DNNs represented their own uncertainty more accurately than traditional DNNs with a softmax output. We find that sampling of weights, whether Gaussian or Bernoulli, led to more accurate representation of uncertainty compared to sampling of units. However, sampling units using either Gaussian or Bernoulli dropout led to increased convolutional neural network (CNN) classification accuracy. Based on these findings we use both Bernoulli dropout and Gaussian dropconnect concurrently, which approximates the use of a spike-andslab variational distribution. We find that networks with spike-and-slab sampling combine the advantages of the other methods: they classify with high accuracy and robustly represent the uncertainty of their classifications for all tested architectures.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Deep neural networks (DNNs), particularly convolutional neural networks (CNN), have recently been used to solve complex perceptual and decision tasks (Krizhevsky et al., 2012; Mnih et al., 2015; Silver et al., 2016). However, these networks fail to model the uncertainty of their predictions or actions. Although many networks deterministically map an input to a probabilistic prediction, they do not model the uncertainty of that mapping. In contrast, Bayesian neural networks (NNs) attempt to learn a distribution over their parameters thereby offering uncertainty estimates for their outputs (MacKay, 1992; Neal, 2012). However, these methods do not scale well due to the difficulty in computing the posterior of a network’s parameters.
|
| 16 |
+
|
| 17 |
+
One type of method for sampling from the posteriors of these networks is Hamiltonian Monte Carlo (HMC) (Neal, 2012). These techniques use the gradient information calculated using backpropagation to perform Markov chain Monte Carlo (MCMC) sampling by randomly walking through parameter space. proposed stochastic gadient Langevien dynamcis (SGLD)
|
| 18 |
+
|
| 19 |
+
Approximate methods, in particular variational inference, have been used to make Bayesian NNs more tractable (Hinton & Van Camp, 1993; Barber & Bishop, 1998; Graves, 2011; Blundell et al., 2015). Due in large part to the fact that these methods substantially increase the number of parameters in a network, they have not been applied to large DNNs, such as CNNs. Gal & Ghahramani (2016) and Kingma et al. (2015) bypassed this issue by developing Bayesian CNNs using dropout (Srivastava et al., 2014). Dropout is a widely used regularization technique where units are dropped out of a network with a probability $p$ during training and the output of all unit are multiplied by $p$ during inference. A similar technique is dropconnect (Wan et al., 2013), which drops network connections instead of units. Gal & Ghahramani (2015) detailed how dropping units was equivalent to sampling weights from a Bernoulli-based variational distribution and that in order to make a DNN with dropout Bayesian, sampling should be used during both training and inference. Monte-Carlo (MC) sampling at inference allows a DNN to efficiently model a distribution over its outputs. One limitation of the Bayesian dropout method is that it does not model the uncertatiniy of each network parameter. The uncertainty of a DNN can then be calculated using this probability distribution. In addition to Bernoulli and Gaussian distributions, there has also been work done using spike-anslab distributions (Louizos, 2015), a combination of the two, which has been shown to increase the quality of linear regression (Ishwaran & Rao, 2005). Interestingly, dropout and dropconnect can be seen as approximations to spike-and-slab distributions for units and weights, respectively (Louizos, 2015; Gal, 2016; Li et al., 2016). Dropout- and dropconnect-based variational DNNs are dependent on the dropout probability, which is often used as a hyperparameter. However, work has been done on automatically learning the dropout probability during training for dropconnect (Louizos, 2015) using spike-and-slab distributions and Gaussian dropout (Kingma et al., 2015).
|
| 20 |
+
|
| 21 |
+
In this paper, we investigate how using MC sampling to model uncertainty affects a network’s probabilistic predictions. Specifically, we test if using MC sampling improves the calibration of the probabilistic predictions made by Bayesian DNNs with softmax output layers. We used variational distributions based on dropout and dropconnect with either Bernoulli or Gaussian sampling during both training and inference. Additonally, we propose a formulation of a spike-and-slab variational distribution based on Bernoulli dropout and Gaussian dropconnect. We find that the spike-and-slab networks robustly represented their uncertainty like Bayesian dropconnect networks and have the increased CNN classification accuracy of Bayesian dropout networks. Each of these variational distributions scale extremely well and make the results of this work applicable to a large range of state-of-the-art DNNs.
|
| 22 |
+
|
| 23 |
+
# 2 METHODS
|
| 24 |
+
|
| 25 |
+
# 2.1 BAYESIAN NEURAL NETWORKS
|
| 26 |
+
|
| 27 |
+
Artificial neural networks (NNs) can be trained using Bayesian learning by finding the maximum a posteriori (MAP) weights given the training data $( D _ { t r a i n } )$ and a prior over the weight matrix $W$ $( p ( W ) )$ :
|
| 28 |
+
|
| 29 |
+
$$
|
| 30 |
+
\operatorname* { m a x } _ { W } p ( W | D _ { t r a i n } ) = \operatorname* { m a x } _ { W } p ( D _ { t r a i n } | W ) p ( W )
|
| 31 |
+
$$
|
| 32 |
+
|
| 33 |
+
This is usually done by minimizing the mean squared error (MSE) or cross entropy error for either regression or classification, respectively, while using L2 regularization, which corresponds to a Gaussian prior over the weights. At inference, the probability of the test data $( D _ { t e s t } )$ is then calculated using only the maximum likelihood estimate (MLE) of the weights $( W ^ { * } )$ :
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
p ( D _ { t e s t } | W ^ { * } )
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
However, ideally the full posterior distribution over the weights would be learned instead of just the MLE:
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
p ( W | D _ { t r a i n } ) = \frac { p ( D _ { t r a i n } | W ) p ( W ) } { p ( D _ { t r a i n } ) }
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
This can be intractable due to both the difficulty in calculating $p ( D _ { t r a i n } )$ and in calculating the joint distribution of a large number of parameters. Instead, $p ( W | D _ { t r a i n } )$ can be approximated using a variational distribution $q ( W )$ . This distribution is constructed to allow for easy generation of samples. Using variational inference, $q ( W )$ is learned by minimizing:
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
- \int \log \ p ( D _ { t r a i n } | W ) q ( W ) d W + K L ( q ( W ) | | p ( W ) )
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
Monte-Carlo (MC) sampling can then be used to estimate the probability of test data using $q ( W )$
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
p ( D _ { t e s t } ) \approx \frac { 1 } { n } \sum _ { i } ^ { n } p ( D _ { t e s t } | \hat { W } ^ { i } ) ~ w h e r e ~ \hat { W } ^ { i } \sim q ( W )
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+

|
| 58 |
+
Figure 1: A visualization of the different variational distributions on a simple neural network.
|
| 59 |
+
|
| 60 |
+
# 2.2 VARIATIONAL DISTRIBUTIONS
|
| 61 |
+
|
| 62 |
+
The number and continuous nature of the parameters in DNNs makes sampling from the entire distribution of possible weight matrices computationally challenging. However, variational distributions can make sampling easier. In deep learning, the most common sampling method is dropout with Bernoulli variables. However, dropconnect, which independently samples a Bernoulli for each weight, and Gaussian weights have also been used. A visualization of the different methods is shown in Figure 1. All of these methods can be formulated as variational distributions where weights are sampled by element-wise multiplying the variational parameters $V$ , the $n \times n$ connection matrix with an element for each connection between the $n$ units in the network, by a mask $\hat { M }$ , which is sampled from some probability distribution. Mathematically, this can be written as:
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\hat { W } = V \circ \hat { M } w h e r e \hat { M } \sim p ( M )
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
From this perspective, the difference between dropout and dropconnect, as well as Bernoulli and Gaussian methods, is simply the probability distribution used to generate the mask sample, $\hat { M }$ (Figure 2).
|
| 69 |
+
|
| 70 |
+

|
| 71 |
+
Figure 2: An illustration of sampling network weights using the different variational distributions.
|
| 72 |
+
|
| 73 |
+
# 2.2.1 BERNOULLI DROPCONNECT & DROPOUT
|
| 74 |
+
|
| 75 |
+
Bernoulli distributions are simple distributions which return 1 with probability $p$ and 0 with probability $( 1 - p )$ . In Bernoulli dropconnect, each element of the mask is sampled independently, so $\hat { m } _ { i , j } \sim B e r n o u l l i ( p )$ . This sets $\hat { w } _ { i , j }$ to $v _ { i , j }$ with probability $p$ and 0 with a probability $( 1 - p )$ .
|
| 76 |
+
|
| 77 |
+
In dropout, however, the weights are not sampled independently. Instead, one Bernoulli variable is sampled for each row of the weight matrix, so $\hat { m } _ { i , * } \sim B e r n o u l l i ( p )$ .
|
| 78 |
+
|
| 79 |
+
# 2.2.2 GAUSSIAN DROPCONNECT & DROPOUT
|
| 80 |
+
|
| 81 |
+
In Gaussian dropconnect and dropout, the elements of the mask are sampled from normal distributions. This corresponds to sampling $\hat { w } _ { i , j }$ from a Gaussian distribution centered at variational parameter $v _ { i , j }$ . Srivastava et al. (2014) proposed using Gaussian distribution with a mean of 1 and a variance of $\sigma _ { d c } ^ { 2 } = ( 1 - p ) / p$ , which matches the mean and variance of dropout when training time scaling is used. In Gaussian dropconnect, each element of the mask is sampled independently, which results in $\hat { m } _ { i , j } \sim { \mathcal N } ( 1 , \sigma _ { d c } ^ { 2 } )$ . In Gaussian dropout, each element in a row has the same random variable, so $\hat { m } _ { i , * } \sim \mathcal N ( 1 , \sigma _ { d c } ^ { 2 } )$ .
|
| 82 |
+
|
| 83 |
+
# 2.2.3 SPIKE-AND-SLAB DROPOUT
|
| 84 |
+
|
| 85 |
+
A spike-and-slab distribution is the normalized linear combination of a ”spike” of probability mass at zero andprobability $p _ { s p i k e }$ b” consisting of a Gaussian distribution. This spor a random sample from a Gaussian distribution $\mathcal { N } ( \mu _ { s l a b } , \sigma _ { s l a b } ^ { 2 } )$ urns a 0 with. We propose and-slab variational distribution by optimizing a lower-bound of the objective function (See Appendix A). In this formulation, $m _ { i , j } \sim b _ { i , * } \mathcal { N } ( \bar { 1 } , \sigma _ { d c } ^ { 2 } )$ , where $b _ { i , * } \sim B e r n ( p _ { d o } )$ for each mask row and $\sigma _ { d c } ^ { 2 } = p _ { d c } / ( 1 - p _ { d c } )$ . As for Bernoulli dropout, each row of the mask $M$ , $m _ { i , * }$ , is multiplied by 0 with probability $\left( 1 - p _ { d o } \right)$ , otherwise each element in that row is multiplied by a value independently sampled from a Gaussian distribution as in Gaussian dropconnect. During non-sampling inference, spike-and-slab dropout uses the mean weight values and, per Bernoulli dropout, multiplies unit outputs by $p _ { d o }$ . This differs from the work done by Louizos (2015) and Gal (2016) in that they used additive Gaussian noise and learn separate means and variances for each weight. In contrast, we define the variance as a function of the learned weight mean $v _ { i , j }$ . Tying the variance of a weight to its magnitude makes it only beneficial to learn large weights if they are robust to variance (Wang & Manning, 2013). Although we treat $p _ { d o }$ and $p _ { d c }$ as a hyperparameters thereby reducing the space of variational distributions we optimize over, similar methods could potentially learn these during training (Louizos, 2015; Kingma et al., 2015; Gal, 2016).
|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
Figure 3: Examples of MNIST images with added Gaussian noise with varying standard deviations.
|
| 89 |
+
|
| 90 |
+
# 3 RESULTS
|
| 91 |
+
|
| 92 |
+
In this paper, we investigate how using MC sampling affects a DNN’s ability to represent the uncertainty of it’s probabalistic predictions. To test this, we trained several networks differing only in whether no sampling was performed (baseline DNN and DNN with L2-regularization), sampling was only performed during training (dropout and dropconnect), or sampling was performed both during training and inference (MC dropout and MC dropconnect). We used the MNIST and CIFAR10 datasets to train networks that sampled from different variational distribution using the above methods.
|
| 93 |
+
|
| 94 |
+
For these DNNs, we compared the test classification error, the uncertainty of the softmax output, and the calibration of the softmax output for each type of sampling and variational distribution. The test classification error shows how well the probability distribution learned by each DNN models the data. The uncertainty shows how the probability distribution learned by each DNN is distributed across classes. A low entropy means that the probability mass is primarily located at a few labels and a high entropy means that the probability mass is distributed across many labels. The calibration shows how well the probability distribution learned by the DNN models it’s own uncertainty. We evaluated how calibrated a prediction was by the following procedure: (1) We binned test set predictions by predicted probability. (2) We calculated the percentage of predictions in each predicted-probability bin that correctly predicted a target label. Perfect calibration means that targets predicted with probability $z$ are correct in $z$ times $100 \%$ of the cases. We therefore (3) calculated the mean squared calibration error (i.e. the mean across bins of the squared deviations between the bin-mean predicted probability and the proportion of correct predictions in that bin). We evaluated these three measures for the trained networks on the MNIST and CIFAR test set with noise sampled from Gaussian distributions with varying standard deviations (Figure 3). This tested how well modelled each network’s uncertainty was for the test sets and the regions of input space not seen in the training set. For dropout and dropconnect, $p$ was set to 0.5, which corresponds to the best value for regularizing a linear layer Baldi & Sadowski (2013). However in practice, different values for $p$ have been used Srivastava et al. (2014). We found that 0.5 was a robust choice for different networks, measures and sampling methods we used. The one exception were the dropconnect parameter used for spike-and-slab distributions where 0.5 made learning difficult due to the variance during training. Through validation, we found that using larger values spike-and-slab probabilities (0.75 for the fully connected and 0.9 for the convolutional) allowed the networks to fit to the training data better while still maintaining good generalization.
|
| 95 |
+
|
| 96 |
+

|
| 97 |
+
Figure 4: The MNIST test classification error, entropy, and calibration of the predictions of the fully connected networks: NN, $_ { \mathrm { N N + L } 2 }$ , Bernoulli DropConnect (BDC) with and without Monte-Carlo (MC) sampling, Gaussian DropConnect (GDC) with and without MC sampling, Bernoulli Dropout (BDO) with and without MC sampling, Gaussian Dropout with and without MC sampling, and spike-and-slab Dropout (SSD) with and without MC sampling.
|
| 98 |
+
|
| 99 |
+

|
| 100 |
+
Figure 5: The calibration curves for the MNIST test set with and without Gaussian noise of the softmax outputs of the fully connected networks: NN, $_ { \mathrm { N N + L } 2 }$ , Bernoulli DropConnect (BDC) with and without Monte-Carlo (MC) sampling, Gaussian DropConnect (GDC) with and without MC sampling, Bernoulli Dropout (BDO) with and without MC sampling, Gaussian Dropout with and without MC sampling, and spike-and-slab Dropout (SSD) with and without MC sampling.
|
| 101 |
+
|
| 102 |
+
Table 1: MNIST test error for the trained fully connected neural networks with and without MonteCarlo (MC) sampling using 100 samples.
|
| 103 |
+
|
| 104 |
+
<table><tr><td>Method</td><td>Mean Error(%)</td><td>Std. Dev.</td></tr><tr><td>NN</td><td>1.68</td><td>-</td></tr><tr><td>NN+L2</td><td>1.64</td><td></td></tr><tr><td>Bernoulli DropConnect</td><td>1.33</td><td></td></tr><tr><td>MC Bernoulli DropConnect</td><td>1.30</td><td>0.04</td></tr><tr><td>Gaussian DropConnect</td><td>1.24</td><td></td></tr><tr><td>MC Gaussian DropConnect</td><td>1.27</td><td>0.03</td></tr><tr><td>Bernoulli Dropout</td><td>1.45</td><td>-</td></tr><tr><td>MC Bernoulli Dropout</td><td>1.42</td><td>0.03</td></tr><tr><td>Gaussian Dropout</td><td>1.36</td><td></td></tr><tr><td>MC Gaussian Dropout</td><td>1.37</td><td>0.03</td></tr><tr><td>Spike-and-Slab Dropout</td><td>1.23</td><td></td></tr><tr><td>MC Spike-and-Slab Dropout</td><td>1.23</td><td>0.03</td></tr></table>
|
| 105 |
+
|
| 106 |
+
# 3.1 MNIST
|
| 107 |
+
|
| 108 |
+
We trained two groups of DNNs, one with a fully connected (FC) architecture and one with a convolutional architecture, on digit classification using the MNIST dataset (LeCun et al., 1998). This set contains 60,000 training images and 10,000 testing images. No data augmentation was used.
|
| 109 |
+
|
| 110 |
+
# 3.1.1 FULLY CONNECTED NEURAL NETWORKS
|
| 111 |
+
|
| 112 |
+
First, we trained DNNs with two FC hidden layers, each with 800 units and ReLU non-linearities. For the L2-regularized network, an L2-coefficient of 1e-5 was used for all weights. For the dropout methods, unit sampling was performed after each FC layer. For the dropconnect methods, every weight was sampled. The classification errors of the FC networks on the MNIST test set are shown in Table 1. Sampling during learning significantly increased accuracy in comparison to the baseline NNs, with the dropconnect-based networks being the most accurate. MC sampling at inference did not significantly increase accuracy. We found that Gaussian dropconnect and spike-and-slab dropout had the best accuracy.
|
| 113 |
+
|
| 114 |
+
The classification error, uncertainty, and calibration of the learned probability distributions of each FC network for varying levels of noise are shown in Figure 4. While not improving accuracy, MC sampling led to networks that better represent their own uncertainty. As the noise in the test set was increased, the uncertainty of the networks with MC sampling highly increased, especially when compared to networks with no sampling at inference. This resulted in better calibrated FC networks for all levels of noise.
|
| 115 |
+
|
| 116 |
+
The calibration curves show that sampling only during training, especially when using only dropout, led to overconfidence through placing too much probability mass on the most predicted label (Figure 5). In particular, sampling only during training resulted in under-confidence for low predicted probabilities and over-confidence for high predicted probabilities. By distributing probability mass over several labels, the DNNs that sampled at inference better represented the uncertainty of their predictions.
|
| 117 |
+
|
| 118 |
+

|
| 119 |
+
Figure 6: The MNIST test classification error, entropy, and calibration of the predictions of the convolutional networks: CNN, $\mathrm { C N N + L } 2$ , Bernoulli DropConnect (BDC) with and without MonteCarlo (MC) sampling, Gaussian DropConnect (GDC) with and without MC sampling, Bernoulli Dropout (BDO) with and without MC sampling, Gaussian Dropout with and without MC sampling, and spike-and-slab Dropout (SSD) with and without MC sampling.
|
| 120 |
+
|
| 121 |
+

|
| 122 |
+
Figure 7: The calibration curves for the MNIST test set with and without Gaussian noise of the softmax outputs of the convolutional networks: CNN, $\mathrm { C N N + L } 2$ , Bernoulli DropConnect (BDC) with and without Monte-Carlo (MC) sampling, Gaussian DropConnect (GDC) with and without MC sampling, Bernoulli Dropout (BDO) with and without MC sampling, Gaussian Dropout with and without MC sampling, and spike-and-slab Dropout (SSD) with and without MC sampling.
|
| 123 |
+
|
| 124 |
+
# 3.1.2 CONVOLUTIONAL NEURAL NETWORKS
|
| 125 |
+
|
| 126 |
+
We also trained CNNs on MNIST. Every network had two convolutional layers and a fully-connected layer (See Appendix B for details). For the L2-regularized network, an L2-coefficient of 1e-5 was used for all weights. For Bernoulli and Gaussian dropout, dropout was performed after each convolutional layer and after the FC layer. For Bernoulli and Gaussian dropconnect, every weight was sampled. The classification error of the CNNs on the MNIST test set is shown in Table 2. Sampling during training significantly increased the accuracy for the all of the networks, but especially for the Gaussian dropout network. However, unlike for the FC networks, the dropout-based methods were more accurate than the dropconnect-based methods. Unlike for the FC networks, spike-and-slab had accuracies more similar to Bernoulli dropout, which classified more accurately than Gaussian dropconnect. MC sampling during inference did not significantly increase the accuracy of the networks.
|
| 127 |
+
|
| 128 |
+
Table 2: MNIST test error for the trained convolutional neural networks (CNNs) with and without Monte-Carlo (MC) sampling using 100 samples.
|
| 129 |
+
|
| 130 |
+
<table><tr><td>Method</td><td>Mean Error(%)</td><td>Error Std.Dev.</td></tr><tr><td>CNN</td><td>0.70</td><td>-</td></tr><tr><td>CNN+L2</td><td>0.70</td><td></td></tr><tr><td>Bernoulli DropConnect</td><td>0.59</td><td>-</td></tr><tr><td>MC Bernoulli DropConnect</td><td>0.59</td><td>0.02</td></tr><tr><td>Gaussian DropConnect</td><td>0.49</td><td></td></tr><tr><td>MC Gaussian DropConnect</td><td>0.49</td><td>0.01</td></tr><tr><td>Bernoulli Dropout</td><td>0.45</td><td>-</td></tr><tr><td>MC Bernoulli Dropout</td><td>0.46</td><td>0.01</td></tr><tr><td>Gaussian Dropout</td><td>0.38</td><td>-</td></tr><tr><td>MC Gaussian Dropout</td><td>0.37</td><td>0.01</td></tr><tr><td>Spike-and-Slab Dropout</td><td>0.43</td><td>1</td></tr><tr><td>MC Spike-and-Slab Dropout</td><td>0.44</td><td>0.01</td></tr></table>
|
| 131 |
+
|
| 132 |
+
The classification error, uncertainty, and calibration of the learned probability distributions of each network for varying levels of noise are shown in Figure 6. As with the FC networks, MC sampling at inference greatly increased the CNNs’ ability to estimate their own uncertainty, particularly for inputs that are different from the training set. MC sampling led to increased entropy as inputs became more noisy, which resulted in better calibration. In particular, this was true of both the Bernoulli and Gaussian dropconnect networks, which very accurately represented their uncertainty even for highly noisy inputs. The spike-and-slab CNN had similar robust calibration. The calibration curves show that not using MC sampling at inference led networks that were under-confident when making low probability predictions and over-confident when making high probability predictions (Figure 7).
|
| 133 |
+
|
| 134 |
+
# 3.2 CIFAR-10
|
| 135 |
+
|
| 136 |
+
We trained large CNNs on natural image classification using the CIFAR-10 dataset, which contains 50,000 training images and 10,000 testing images (Krizhevsky & Hinton, 2009). The CNNs had 13 convolutional layer followed by a fully connected layer (See Appendix B for details). For L2- regularization, an L2-coefficient of 5e-4 was used for all weights. For the dropout networks, was used after each convolutional layer, but before the non-linearities. For the dropconnect networks, all weights were sampled. During training, random horizontal flipping was used. The classification error of the CNNs on the CIFAR-10 test set is shown in Table 3. For each variational distribution, MC sampling significantly increased test accuracy. Also, the that used dropout, including spike-andslab, had significantly higher accuracies than the networks that only used dropconnect.
|
| 137 |
+
|
| 138 |
+
The classification error, uncertainty, and calibration of the learned probability distributions of each network for varying levels of noise are shown in Figure 8. One of the major differences between the CIFAR-10 and the MNIST results was that using the layer-wise expectation for dropout did not produce good models, regardless of what variational distribution was used. Instead, the standard test time dropout methods led to relatively inaccurate networks with very high output entropy even when no input noise was used. This agrees with the results reported by Gal & Ghahramani (2015)), who also found that using dropout at every layer can reduce accuracy if MC sampling is not used. However, these results differ from those of Srivastava et al. (2014). In our experience, deeper networks with higher regularization (e.g. Bernoulli dropout probabilities closer to 0.5) result in traditional dropout inference performing significantly worse than MC dropout. As for the MNIST networks, MC sampling at inference overall greatly increased the CIFAR-10 trained CNNs’ ability to estimate their own uncertainty when no or little noise was added to the test images.
|
| 139 |
+
|
| 140 |
+
Table 3: CIFAR-10 test error for the trained convolutional neural networks (CNNs) with and without Monte-Carlo (MC) sampling using 100 samples.
|
| 141 |
+
|
| 142 |
+
<table><tr><td>Method</td><td>Mean Error(%)</td><td>Error Std. Dev.</td></tr><tr><td>CNN</td><td>19.63</td><td>1</td></tr><tr><td>CNN+L2</td><td>19.44</td><td>1</td></tr><tr><td>Bernoulli DropConnect</td><td>17.64</td><td>=</td></tr><tr><td>MC Bernoulli DropConnect</td><td>17.29</td><td>0.05</td></tr><tr><td>Gaussian DropConnect</td><td>16.00</td><td></td></tr><tr><td>MC Gaussian DropConnect</td><td>15.63</td><td>0.04</td></tr><tr><td>Bernoulli Dropout</td><td>37.47</td><td></td></tr><tr><td>MC Bernoulli Dropout</td><td>10.19</td><td>0.06</td></tr><tr><td>Gaussian Dropout</td><td>24.10</td><td></td></tr><tr><td>MC Gaussian Dropout</td><td>9.29</td><td>0.10</td></tr><tr><td>Spike-and-Slab Dropout</td><td>18.05</td><td></td></tr><tr><td>MCSpike-and-Slab Dropout</td><td>10.44</td><td>0.03</td></tr></table>
|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
Figure 8: The CIFAR-10 test classification error, entropy, and calibration of the predictions of the convolutional neural networks: CNN, $\mathrm { C N N + L } 2$ , Bernoulli DropConnect (BDC) with and without Monte-Carlo (MC) sampling, Gaussian DropConnect (GDC) with and without MC sampling, Bernoulli Dropout (BDO) with and without MC sampling, Gaussian Dropout with and without MC sampling, and spike-and-slab Dropout (SSD) with and without MC sampling.
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 9: The calibration curves for the CIFAR-10 test set with and without Gaussian noise of the softmax outputs of the convolutional neural networks: CNN, $\mathrm { C N N + L } 2$ , Bernoulli DropConnect (BDC) with and without Monte-Carlo (MC) sampling, Gaussian DropConnect (GDC) with and without MC sampling, Bernoulli Dropout (BDO) with and without MC sampling, Gaussian Dropout with and without MC sampling, and spike-and-slab Dropout (SSD) with and without MC sampling.
|
| 149 |
+
|
| 150 |
+
The classification accuracies and the ability to model uncertainty of the networks with dropconnect sampling were far more robust to noise than the networks with only dropout. However, the MC dropconnect networks are significantly less accurate than the MC dropout networks for the CIFAR
|
| 151 |
+
|
| 152 |
+
10 test set when no noise was added. Networks that used traditional dropout inference instead of sampling were consistently uncertain, regardless of the noise. These networks have worse calibration than the MC dropout networks at low levels of noise but better calibration than the MC dropout networks at low levels of noise because they always had high uncertainty. For CIFAR-10, not using MC sampling resulted in networks that were generally over-confident when making predictions (Figure 9). However, this was not true for the non-sampling dropout networks when no input noise was used. In that case, the networks were highly under-confident.
|
| 153 |
+
|
| 154 |
+
# 4 DISCUSSION
|
| 155 |
+
|
| 156 |
+
In this paper, we investigated the ability of MC sampling to improve a DNN’s representation of its own uncertainty. We did this by training Bayesian DNNs with either multiplicative masking of the weights (dropconnect) or units (dropout) using Bernoulli, Gaussian, or spike-and-slab sampling. Based on the results, we draw the following main conclusions:
|
| 157 |
+
|
| 158 |
+
1. Sampling during both learning and inference improved a network’s ability to represent its own uncertainty
|
| 159 |
+
|
| 160 |
+
MC sampling at inference improved the calibration of a network’s predictions. Overall, this improvement was particularly large for inputs from outside the training set, which traditional models classified with high confidence despite not being trained on similar inputs.
|
| 161 |
+
|
| 162 |
+
2. Sampling weights independently led to networks that best represented their own uncertainty
|
| 163 |
+
|
| 164 |
+
For all the network architectures and datasets tested, using dropconnect sampling at training and inference resulted in the best calibrated networks overall. This was true regardless of whether dropconnect sampling led to the most accurate network. This is in contrast to CNNs with Gaussian dropout sampling, which were significantly the most accurate and also the worst calibrated of the networks with sampling both during training an inference
|
| 165 |
+
|
| 166 |
+
3. Sampling weights independently led to the most accurate FC networks, but sampling units led to the most accurate CNNs
|
| 167 |
+
|
| 168 |
+
For the FC networks, using dropconnect, particularly with Gaussian sampling, resulted in the most accurate networks. However, using dropout led to the most accurate CNNs. A potential cause of this is the large correlation in the information contained by adjacent elements in an image, which are often covered by the same convolutional kernel. This could mean that sampling the weights of a kernel does not provide as much regularization as the dropout methods.
|
| 169 |
+
|
| 170 |
+
4. Sampling using both Bernoulli dropout and Gaussian dropconnect led to accurate and well calibrated networks
|
| 171 |
+
|
| 172 |
+
Using spike-and-slab dropout, which combines Bernoulli dropout and Gaussian dropconnect, resulted in networks that performed well for all architectures. Spike-and-slab networks had accuracies similar to the Bernoulli dropout or Gaussian dropconnect depending on which performed better for a given architecture and task, Gaussian dropconnect for FC networks and Bernoulli dropout for CNNs. Spike-and-slab networks also were robustly well calibrated similar to all of the other dropconnect methods.
|
| 173 |
+
|
| 174 |
+
These scalable methods for improving a network’s representation of its own uncertainty are widely applicable, since most DNNs already use dropout and getting uncertainty estimates only requires using MC sampling at inference. We plan to further investigate the use of different variational distributions. We also plan to evaluate the use of dropout and dropconnect sampling on large recurrent neural networks. Our results suggest that sampling at inference allows DNNs to efficiently represent their own uncertainty, an essential part of real-world perception and decision making.
|
| 175 |
+
|
| 176 |
+
# ACKNOWLEDGMENTS
|
| 177 |
+
|
| 178 |
+
We would like to thank Yarin Gal and Sergii Strelchuk for their helpful discussions regarding the manuscript. This research was funded by the Cambridge Commonwealth, European & International Trust, the UK Medical Research Council (Program MC-A060-5PR20), and a European Research Council Starting Grant (ERC-2010-StG 261352).
|
| 179 |
+
|
| 180 |
+
# REFERENCES
|
| 181 |
+
|
| 182 |
+
Pierre Baldi and Peter J Sadowski. Understanding dropout. In Advances in Neural Information Processing Systems, pp. 2814–2822, 2013.
|
| 183 |
+
|
| 184 |
+
David Barber and Christopher M Bishop. Ensemble learning in bayesian neural networks. NATO ASI SERIES F COMPUTER AND SYSTEMS SCIENCES, 168:215–238, 1998.
|
| 185 |
+
|
| 186 |
+
Charles Blundell, Julien Cornebise, Koray Kavukcuoglu, and Daan Wierstra. Weight uncertainty in neural network. In Proceedings of The 32nd International Conference on Machine Learning, pp. 1613–1622, 2015.
|
| 187 |
+
|
| 188 |
+
Yarin Gal. Uncertainty in Deep Learning. PhD thesis, University of Cambridge, 2016.
|
| 189 |
+
|
| 190 |
+
Yarin Gal and Zoubin Ghahramani. Dropout as a bayesian approximation: Insights and applications. In Deep Learning Workshop, ICML, 2015.
|
| 191 |
+
|
| 192 |
+
Yarin Gal and Zoubin Ghahramani. Bayesian convolutional neural networks with Bernoulli approximate variational inference. In 4th International Conference on Learning Representations (ICLR) workshop track, 2016.
|
| 193 |
+
|
| 194 |
+
Alex Graves. Practical variational inference for neural networks. In Advances in Neural Information Processing Systems, pp. 2348–2356, 2011.
|
| 195 |
+
|
| 196 |
+
Geoffrey E Hinton and Drew Van Camp. Keeping the neural networks simple by minimizing the description length of the weights. In Proceedings of the sixth annual conference on Computational learning theory, pp. 5–13. ACM, 1993.
|
| 197 |
+
|
| 198 |
+
Hemant Ishwaran and J Sunil Rao. Spike and slab variable selection: frequentist and bayesian strategies. Annals of Statistics, pp. 730–773, 2005.
|
| 199 |
+
|
| 200 |
+
Diederik P Kingma, Tim Salimans, and Max Welling. Variational dropout and the local reparameterization trick. In Advances in Neural Information Processing Systems, pp. 2575–2583, 2015.
|
| 201 |
+
|
| 202 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images, 2009.
|
| 203 |
+
|
| 204 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012.
|
| 205 |
+
|
| 206 |
+
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.
|
| 207 |
+
|
| 208 |
+
Chunyuan Li, Andrew Stevens, Changyou Chen, Yunchen Pu, Zhe Gan, and Lawrence Carin. Learning weight uncertainty with stochastic gradient mcmc for shape classification. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016.
|
| 209 |
+
|
| 210 |
+
Christos Louizos. Smart regularization of deep architectures. Master’s thesis, University of Amsterdam, 2015.
|
| 211 |
+
|
| 212 |
+
David JC MacKay. A practical bayesian framework for backpropagation networks. Neural computation, 4(3):448–472, 1992.
|
| 213 |
+
|
| 214 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
|
| 215 |
+
|
| 216 |
+
Radford M Neal. Bayesian learning for neural networks, volume 118. Springer Science & Business Media, 2012.
|
| 217 |
+
|
| 218 |
+
David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. Nature, 529(7587):484–489, 2016.
|
| 219 |
+
|
| 220 |
+
Nitish Srivastava, Geoffrey E Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15(1):1929–1958, 2014.
|
| 221 |
+
|
| 222 |
+
Li Wan, Matthew Zeiler, Sixin Zhang, Yann L Cun, and Rob Fergus. Regularization of neural networks using dropconnect. In Proceedings of the 30th International Conference on Machine Learning (ICML-13), pp. 1058–1066, 2013.
|
| 223 |
+
|
| 224 |
+
Sida Wang and Christopher Manning. Fast dropout training. In Proceedings of the 30th International Conference on Machine Learning (ICML), pp. 118–126, 2013.
|
| 225 |
+
|
| 226 |
+
# A DERIVATION OF APPROXIMATE SPIKE-AND-SLAB DROPOUT
|
| 227 |
+
|
| 228 |
+
For Bayesian inference:
|
| 229 |
+
|
| 230 |
+
$$
|
| 231 |
+
p ( D _ { t e s t } | D _ { t r a i n } ) = \int p ( D _ { t e s t } | W ) p ( W | D _ { t r a i n } ) d W
|
| 232 |
+
$$
|
| 233 |
+
|
| 234 |
+
Using variational inference:
|
| 235 |
+
|
| 236 |
+
$$
|
| 237 |
+
p ( D _ { t e s t } ) = \int p ( D _ { t e s t } | W ) q ( W ) d W
|
| 238 |
+
$$
|
| 239 |
+
|
| 240 |
+
Where the variational distribution $q ( W )$ is learned by maximizing the log-evidence lower bound:
|
| 241 |
+
|
| 242 |
+
$$
|
| 243 |
+
l o g ( p ( D _ { t r a i n } ) ) \ge \int \log ( p ( D _ { t r a i n } | W ) ) q ( W ) d W - K L ( q ( W ) | | p ( W ) )
|
| 244 |
+
$$
|
| 245 |
+
|
| 246 |
+
For spike-and-slab dropout, as when using Bernoulli dropout, $W = B \circ V$ where $b _ { i , * } \sim B e r n ( p _ { d o } )$ so if we assume independence between the random variables $B$ and $V$ :
|
| 247 |
+
|
| 248 |
+
$$
|
| 249 |
+
\begin{array} { c } { { l o g ( p ( D _ { t r a i n } ) ) \ge \displaystyle \sum _ { B } \int _ { V } \log ( p ( D _ { t r a i n } | B , V ) ) q ( B ) q ( V ) d V d B } } \\ { { - K L ( q ( B ) | | p ( B ) ) - K L ( q ( V ) | | p ( V ) ) } } \end{array}
|
| 250 |
+
$$
|
| 251 |
+
|
| 252 |
+
For a spike-distribution, bution, each element of . As in Gaussian dropco $V$ is iect, s. pled from a Gaussiancan be sampled using $\mathcal { N } ( \mu _ { v _ { i , j } } , \sigma _ { v _ { i , j } } ^ { 2 } )$ $\sigma _ { v _ { i , j } } ^ { 2 } = \alpha \mu _ { v _ { i , j } } ^ { 2 }$ $V$ the “reparameterization trick”:
|
| 253 |
+
|
| 254 |
+
$$
|
| 255 |
+
v _ { i , j } = N ( \mu _ { v _ { i , j } } , \alpha \mu _ { v _ { i , j } } ^ { 2 } ) = g ( \mu _ { v _ { i , j } } , \epsilon _ { i , j } ) = \mu _ { v _ { i , j } } + \sqrt { \alpha } \mu _ { v _ { i , j } } \epsilon _ { i , j }
|
| 256 |
+
$$
|
| 257 |
+
|
| 258 |
+
where $\epsilon \sim N ( 0 , 1 )$ , $\alpha = ( 1 - p _ { d c } ) / p _ { d c }$ , and $p _ { d c }$ is the dropconnect keep probability.
|
| 259 |
+
|
| 260 |
+
This leads to:
|
| 261 |
+
|
| 262 |
+
$$
|
| 263 |
+
\begin{array} { r l r } & { } & { l o g ( p ( D _ { t r a i n } ) ) \ge \displaystyle \sum _ { B } \int _ { \epsilon } \log ( p ( D _ { t r a i n } | B , V ) q ( \epsilon ) q ( B ) d \epsilon d B } \\ & { } & { \quad - K L ( q ( B ) | | p ( B ) ) - K L ( q ( V ) | | p ( V ) ) } \end{array}
|
| 264 |
+
$$
|
| 265 |
+
|
| 266 |
+
This results in the following minimization objective function:
|
| 267 |
+
|
| 268 |
+
$$
|
| 269 |
+
\mathcal { L } _ { \mu _ { V } } : = - \sum _ { B } \int _ { \epsilon } \log ( p ( D _ { t r a i n } | B , V ) ) q ( \epsilon ) q ( B ) d \epsilon d B + K L ( q ( B ) | | p ( B ) ) + K L ( q ( V ) | | p ( V ) ) ,
|
| 270 |
+
$$
|
| 271 |
+
|
| 272 |
+
Using $B e r n ( p _ { d o } )$ as a prior for $B$ leads to a constant KLD of zero. Using a prior of $\mathcal { N } ( 0 , \sigma _ { p } ^ { 2 } )$ for each element of $V$ leads to the following:
|
| 273 |
+
|
| 274 |
+
$$
|
| 275 |
+
K L ( q ( v _ { i , j } ) | | p ( v _ { i , j } ) ) = \frac { ( \mu _ { v _ { i , j } } - 0 ) ^ { 2 } } { 2 \sigma _ { p } ^ { 2 } } + \log \frac { \sigma _ { p } } { \sigma _ { v _ { i , j } } } + \frac { \sigma _ { v _ { i , j } } ^ { 2 } } { 2 \sigma _ { p } ^ { 2 } } - \frac { 1 } { 2 }
|
| 276 |
+
$$
|
| 277 |
+
|
| 278 |
+
By using L2 regularization, we are optimizing a lower-bound of the KLD between $q ( V )$ and $\dot { \mathcal { N } } ( 0 , \lambda ^ { - 1 } )$ by only matching the first moment (i.e. the mean):
|
| 279 |
+
|
| 280 |
+
$$
|
| 281 |
+
\mathcal { L } _ { \mu \nu } \geq \widetilde { \mathcal { L } } _ { \mu \nu } : = - \sum _ { B } \int _ { \epsilon } \log ( p ( D _ { t r a i n } | B , V ) ) q ( \epsilon ) q ( B ) d \epsilon d B + \frac { \lambda } { 2 } \mu _ { V } \mu _ { V } ^ { \intercal }
|
| 282 |
+
$$
|
| 283 |
+
|
| 284 |
+
where $\mu _ { V }$ is a vector containing each $\mu _ { v _ { i , j } }$ and $\epsilon$ is a vector containing each $\epsilon _ { i , j }$ .
|
| 285 |
+
|
| 286 |
+
Approximating using Monte Carlo integration for learning (Eq. A.10) and inference (Eq. A.11):
|
| 287 |
+
|
| 288 |
+
$$
|
| 289 |
+
\begin{array} { c l c r } { { \displaystyle \widetilde { \mathcal { L } } _ { \mu \nu } : \approx - \frac { 1 } { n } \sum _ { ( B , \epsilon ) } \log ( p ( D _ { t r a i n } | B , V ) ) + \frac { \lambda } { 2 } \mu _ { V } \mu _ { V } ^ { \intercal } } } \\ { { \displaystyle p ( D _ { t e s t } ) \approx \frac { 1 } { n } \sum _ { ( B , \epsilon ) } p ( D _ { t e s t } | B , V ) } } \end{array}
|
| 290 |
+
$$
|
| 291 |
+
|
| 292 |
+
where $b _ { i , * } \sim B e r n ( p _ { d o } )$ and $\epsilon \sim N ( 0 , 1 )$ .
|
| 293 |
+
|
| 294 |
+
# B CONVOLUTIONAL NEURAL NETWORK ARCHITECTURES
|
| 295 |
+
|
| 296 |
+
# B.1 MNIST
|
| 297 |
+
|
| 298 |
+
Table B.1: The convolutional neural network (CNN) architecture used for MNIST.
|
| 299 |
+
|
| 300 |
+
<table><tr><td rowspan=1 colspan=1>Layer</td><td rowspan=1 colspan=1>Kernel Size</td><td rowspan=1 colspan=1>#Features</td><td rowspan=1 colspan=1>Stride</td><td rowspan=1 colspan=1>Non-linearity</td></tr><tr><td rowspan=1 colspan=1>Conv-1</td><td rowspan=1 colspan=1>5x5</td><td rowspan=1 colspan=1>32</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>MaxPool-1</td><td rowspan=1 colspan=1>2x2</td><td rowspan=1 colspan=1>32</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>Max</td></tr><tr><td rowspan=1 colspan=1>Conv-2</td><td rowspan=1 colspan=1>5x5</td><td rowspan=1 colspan=1>64</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>MaxPool-2</td><td rowspan=1 colspan=1>2x2</td><td rowspan=1 colspan=1>64</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>Max</td></tr><tr><td rowspan=1 colspan=1>FC</td><td rowspan=1 colspan=1>1500</td><td rowspan=1 colspan=1>500</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Linear</td><td rowspan=1 colspan=1>500</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td></tr></table>
|
| 301 |
+
|
| 302 |
+
# B.2 CIFAR-10
|
| 303 |
+
|
| 304 |
+
Table B.2: The convolutional neural network (CNN) architecture used for CIFAR-10.
|
| 305 |
+
|
| 306 |
+
<table><tr><td rowspan=1 colspan=1>Layer</td><td rowspan=1 colspan=1>Kernel Size</td><td rowspan=1 colspan=1>#Features</td><td rowspan=1 colspan=1>Stride</td><td rowspan=1 colspan=1>Non-linearity</td></tr><tr><td rowspan=1 colspan=1>Conv-1</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>64</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Conv-2</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>64</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>MaxPool-1</td><td rowspan=1 colspan=1>2x2</td><td rowspan=1 colspan=1>64</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>Max</td></tr><tr><td rowspan=1 colspan=1>Conv-3</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Conv-4</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>MaxPool-2</td><td rowspan=1 colspan=1>2x2</td><td rowspan=1 colspan=1>128</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>Max</td></tr><tr><td rowspan=1 colspan=1>Conv-5</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>256</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Conv-6</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>256</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Conv-7</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>256</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>MaxPool-3</td><td rowspan=1 colspan=1>2x2</td><td rowspan=1 colspan=1>256</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>Max</td></tr><tr><td rowspan=1 colspan=1>Conv-8</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Conv-9</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Conv-10</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>MaxPool-4</td><td rowspan=1 colspan=1>2x2</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>Max</td></tr><tr><td rowspan=1 colspan=1>Conv-11</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Conv-12</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Conv-13</td><td rowspan=1 colspan=1>3x3</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>MaxPool-5</td><td rowspan=1 colspan=1>2x2</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>Max</td></tr><tr><td rowspan=1 colspan=1>FC</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>二</td><td rowspan=1 colspan=1>ReLU</td></tr><tr><td rowspan=1 colspan=1>Linear</td><td rowspan=1 colspan=1>512</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td></tr></table>
|
parse/train/HJ1JBJ5gl/HJ1JBJ5gl_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1M6Z2Cctm/S1M6Z2Cctm.md
ADDED
|
@@ -0,0 +1,354 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# HARMONIC UNPAIRED IMAGE-TO-IMAGE TRANSLATION
|
| 2 |
+
|
| 3 |
+
Tomas Pfister
|
| 4 |
+
Google Cloud AI
|
| 5 |
+
Sunnyvale, USA
|
| 6 |
+
tpfister@google.com
|
| 7 |
+
Rui Zhang
|
| 8 |
+
Google Cloud AI &
|
| 9 |
+
Chinese Academy of Sciences
|
| 10 |
+
Beijing, China
|
| 11 |
+
zhangrui@ict.ac.cn
|
| 12 |
+
Jia Li
|
| 13 |
+
Google Cloud AI
|
| 14 |
+
Sunnyvale, USA
|
| 15 |
+
lijiali@google.com
|
| 16 |
+
|
| 17 |
+
# ABSTRACT
|
| 18 |
+
|
| 19 |
+
The recent direction of unpaired image-to-image translation is on one hand very exciting as it alleviates the big burden in obtaining label-intensive pixel-to-pixel supervision, but it is on the other hand not fully satisfactory due to the presence of artifacts and degenerated transformations. In this paper, we take a manifold view of the problem by introducing a smoothness term over the sample graph to attain harmonic functions to enforce consistent mappings during the translation. We develop HarmonicGAN to learn bi-directional translations between the source and the target domains. With the help of similarity-consistency, the inherent selfconsistency property of samples can be maintained. Distance metrics defined on two types of features including histogram and CNN are exploited. Under an identical problem setting as CycleGAN, without additional manual inputs and only at a small training-time cost, HarmonicGAN demonstrates a significant qualitative and quantitative improvement over the state of the art, as well as improved interpretability. We show experimental results in a number of applications including medical imaging, object transfiguration, and semantic labeling. We outperform the competing methods in all tasks, and for a medical imaging task in particular our method turns CycleGAN from a failure to a success, halving the mean-squared error, and generating images that radiologists prefer over competing methods in $9 5 \%$ of cases.
|
| 20 |
+
|
| 21 |
+
# 1 INTRODUCTION
|
| 22 |
+
|
| 23 |
+
Image-to-image translation (Isola et al., 2017) aims to learn a mapping from a source domain to a target domain. As a significant and challenging task in computer vision, image-to-image translation benefits many vision and graphics tasks, such as realistic image synthesis (Isola et al., 2017; Zhu et al., 2017a), medical image generation (Zhang et al., 2018; Dar et al., 2018), and domain adaptation (Hoffman et al., 2018). Given a pair of training images with detailed pixel-to-pixel correspondences between the source and the target, image-to-image translation can be cast as a regression problem using e.g. Fully Convolutional Neural Networks (FCNs) (Long et al., 2015) by minimizing e.g. the per-pixel prediction loss. Recently, approaches using rich generative models based on Generative Adaptive Networks (GANs) (Goodfellow et al., 2014; Radford et al., 2016; Arjovsky et al., 2017) have achieved astonishing success. The main benefit of introducing GANs (Goodfellow et al., 2014) to image-to-image translation (Isola et al., 2017) is to attain additional image-level (often through patches) feedback about the overall quality of the translation, and information which is not directly accessible through the per-pixel regression objective.
|
| 24 |
+
|
| 25 |
+
The method by Isola et al. (2017) is able to generate high-quality images, but it requires paired training data which is difficult to collect and often does not exist. To perform translation without paired data, circularity-based approaches (Zhu et al., 2017a; Kim et al., 2017; Yi et al., 2017) have been proposed to learn translations from a set to another set, using a circularity constraint to establish relationships between the source and target domains and forcing the result generated from a sample in the source domain to map back and generate the original sample. The original image-to-image translation problem (Isola et al., 2017) is supervised in pixel-level, whereas the unpaired image-to-image translation task (Zhu et al., 2017a) is considered unsupervised, with pixel-level supervision absent but with adversarial supervision at the image-level (in the target domain) present. By using a cycled regression for the pixel-level prediction (source target source) plus a term for the adversarial difference between the transferred images and the target images, CycleGAN is able to successfully, in many cases, train a translation model without paired source target supervision. However, lacking a mechanism to enforce regularity in the translation creates problems like in Fig. 1 (a) and Fig. 2, making undesirable changes to the image contents, superficially removing tumors (the first row) or creating tumors (the second row) at the wrong positions in the target domain. Fig. 1 (b) also shows some artifacts of CycleGAN on natural images when translating horses into zebras.
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 1: HarmonicGAN corrects major failures in multiple domains: (a) for medical images it corrects incorrectly removed (top) and added (bottom) tumors; and (b) for horse zebra transfiguration it does not incorrectly transform the background (top) and performs a complete translation (bottom).
|
| 29 |
+
|
| 30 |
+
To combat the above issue, in this paper we look at the problem of unpaired image-to-image translation from a manifold learning perspective (Tenenbaum et al., 2000; Roweis & Saul, 2000). Intuitively, the problem can be alleviated by introducing a regularization term in the translation, encouraging similar contents (based on textures or semantics) in the same image to undergo similar translations/transformations. A common principle in manifold learning is to preserve local distances after the unfolding: forcing neighboring (similar) samples in the original space to be neighbors in the new space. The same principle has been applied to graph-based semisupervised learning (Zhu, 2006) where harmonic functions with graph Laplacians (Zhu et al., 2003; Belkin et al., 2006) are used to obtain regularized labels of unlabeled data points.
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
Figure 2: For CycleGAN, the reconstructed image may perfectly match the source image under the circularity constraint while translated image dose not maintain the inherent property of the source image (e.g. a tumor), thus generating unexpected results (e.g. incorrectly removing a tumor).
|
| 34 |
+
|
| 35 |
+
During the translation/transformation, some domain-specific attributes are changed, such as the colors, texture, and semantics of certain image regions. Although there is no supervised information for these changes, certain consistency during the transformation is desirable, meaning that for image contents similar in the source space should also be similar in the target space. Inspired by graphbased semi-supervised learning (Zhu et al., 2003; Zhu, 2006), we introduce smoothness terms to unpaired image-to-image translation (Zhu et al., 2017a) by providing a stronger regularization for the translation/transformation between the source and target domains, aiming to exploit the “manifold structure” of the source and target domains. For a pair of similar samples (two different locations in an image; one can think of them as two patches although the receptive fields of CNN are quite large), we add the smoothness term to minimize a weighted distance of the corresponding locations in the target image. Note that two spatially distant samples might be neighbors in the feature space. We name our algorithm HarmonicGAN as it behaves harmonically along with the circularity and adversarial constraints to learn a pair of dual translations between the source and target domains, as shown in Fig. 1. Distance metrics defined on two alternative features are adopted: (1) a low-level soft RGB histograms; and (2) CNN (VGG) features with pre-trained semantics.
|
| 36 |
+
|
| 37 |
+
We conduct experiments in a number of applications, showing that in each of them our method outperforms existing methods quantitatively, qualitatively, and with user studies. For a medical imaging task (Cohen et al., 2018) that was recently calling attention to a major CycleGAN failure case (learning to accidentally add/remove tumors in an MRI image translation task), our proposed method provides a large improvement over CycleGAN, halving the mean-squared error, and generating images that radiologists prefer over competing methods in $9 5 \%$ of cases.
|
| 38 |
+
|
| 39 |
+
# CONTRIBUTIONS
|
| 40 |
+
|
| 41 |
+
1. We introduce smooth regularization over the graph for unpaired image-to-image translation to attain harmonic translations.
|
| 42 |
+
2. When building an end-to-end learning pipeline, we adopt two alternative types of feature measures to compute the weight matrix for the graph Laplacian, one based on a soft histogram (Wang et al., 2016) and another based on semantic CNN (VGG) features (Simonyan & Zisserman, 2015).
|
| 43 |
+
3. We show that this method results in significantly improved consistency for transformations. With experiments on multiple translation tasks, we demonstrate that HarmonicGAN outperforms the state-of-the-art.
|
| 44 |
+
|
| 45 |
+
# 2 RELATED WORK
|
| 46 |
+
|
| 47 |
+
As discussed in the introduction, the general image-to-image translation task in the deep learning era was pioneered by (Isola et al., 2017), but there are prior works such as image analogies (Hertzmann et al., 2001) that aim at a similar goal, along with other exemplar-based methods (Efros & Freeman, 2001; Criminisi et al., 2004; Barnes et al., 2009). After (Isola et al., 2017), a series of other works have also exploited pixel-level reconstruction constraints to build connections between the source and target domains (Zhang et al., 2017; Wang et al., 2018). The image-to-image translation framework (Isola et al., 2017) is very powerful but it requires a sufficient amount of training data with paired source to target images, which are often laborious to obtain in the general tasks such as labeling (Long et al., 2015), synthesis (Chen & Koltun, 2017), and style transfer (Huang & Belongie, 2017).
|
| 48 |
+
|
| 49 |
+
Unpaired image-to-image translation frameworks (Zhu et al., 2017a;b; Liu et al., 2017; Shrivastava et al., 2017; Kim et al., 2017) such as CycleGAN remove the requirement of having detailed pixellevel supervision. In CycleGAN this is achieved by enforcing a bi-directional prediction from source to target and target back to source, with an adversarial penalty in the translated images in the target domain. Similar unsupervised circularity-based approaches (Kim et al., 2017; Yi et al., 2017) have also been developed. The CycleGAN family models (Zhu et al., 2017a;b) point to an exciting direction of unsupervised approaches but they also create artifacts in many applications. As shown in Fig. 2, one reason for this is that the circularity constraint in CycleGAN lacks the straightforward description of the target domain, so it may change the inherent properties of the original samples and generate unexpected results which are inconsistent at different image locations. These failures have been prominently explored in recent works, showing that CycleGAN (Zhu et al., 2017a) may add or remove tumors accidentally in cross-modal medical image synthesis (Cohen et al., 2018), and that in the task of natural image transfiguration, e.g. from a horse to zebra, regions in the background may also be translated into a zebra-like texture (Zhu et al., 2018) (see Fig. 1 (b)).
|
| 50 |
+
|
| 51 |
+
Here we propose HarmonicGAN that introduces a smoothness term into the CycleGAN framework to enforce a regularized translation, enforcing similar image content in the source space to also be similar in the target space. We follow the general design principle in manifold learning (Tenenbaum et al., 2000; Roweis & Saul, 2000) and the development of harmonic functions in the graph-based semi-supervised learning literature (Zhu et al., 2003; Belkin et al., 2006; Zhu, 2006; Weston et al., 2012). There has been previous work, DistanceGAN (Benaim & Wolf, 2017), in which distance preservation was also implemented. However, DistanceGAN differs from HarmonicGAN in (1) motivation, (2) formulation, (3) implementation, and (4) performance. The primary motivation of DistanceGAN demonstrates an alternative loss term for the per-pixel difference in CycleGAN. In HarmonicGAN, we observe that the cycled per-pixel loss is effective and we aim to make the translation harmonic by introducing additional regularization. The smoothness term acts as a graph Laplacian imposed on all pairs of samples (using random samples in implementation). In the experimental results, we show that the artifacts in CycleGAN are still present in DistanceGAN, whereas HarmonicGAN provides a significant boost to the performance of CycleGAN.
|
| 52 |
+
|
| 53 |
+
In addition, it is worth mentioning that the smoothness term proposed here is quite different from the binary term used in the Conditional Random Fields literature (Lafferty et al., 2001; Krahenb ¨ uhl &¨ Koltun, 2011), either fully supervised (Chen et al., 2018; Zheng et al., 2015) or weakly-supervised (Tang et al., 2018; Lin et al., 2016). The two differ in (1) output space (multi-class label vs. highdimensional features), (2) mathematical formulation (a joint conditional probably for the neighboring labels vs. a Laplacian function over the graph), (3) application domain (image labeling vs. image translation), (4) effectiveness (boundary smoothing vs. manifold structure preserving), and (5) the role in the overall algorithm (post-processing effect with relatively small improvement vs. large-area error correction).
|
| 54 |
+
|
| 55 |
+
# 3 HARMONICGAN FOR UNPAIRED IMAGE-TO-IMAGE TRANSLATION
|
| 56 |
+
|
| 57 |
+
Follothe tarwhere baain . T formulation in CycleGAN (Zhu et al.,, we consider unpaired training samples goal of image-to-image translation is to for the where ir of du doma, and ings, $X$ $Y$ $\{ \mathbf { x } _ { k } \} _ { k = 1 } ^ { N }$ $\mathbf { x } _ { k } \in X$ $\{ \mathbf { y } _ { k } \} _ { k = 1 } ^ { N }$ $\mathbf { y } _ { k } \in Y$
|
| 58 |
+
forward mapping $G : X Y$ and backward mapping $F : Y X$ . Two discriminators $D _ { X }$ and
|
| 59 |
+
$D _ { Y }$ are adopted in (Zhu et al., 2017a) to distinguish between real images and generated images.
|
| 60 |
+
In particular, the discriminator $D _ { X }$ aims to distinguish real image $\{ { \bf x } \}$ from the generated image
|
| 61 |
+
$\{ \bar { F ( \mathbf { y } ) } \}$ ; similarly discriminator $D _ { Y }$ distinguishes $\{ \mathbf { y } \}$ from $\{ G ( \mathbf { x } ) \}$ .
|
| 62 |
+
|
| 63 |
+
Therefore, the objective of adversarial constraint is applied in both source and target domains, expressed in (Zhu et al., 2017a) as:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\mathcal { L } _ { \mathrm { G A N } } ( G , D _ { Y } , X , Y ) = \mathbb { E } _ { { \mathbf { y } } \in Y } [ \log D _ { Y } ( { \mathbf { y } } ) ] + \mathbb { E } _ { { \mathbf { x } } \in X } [ \log ( 1 - D _ { Y } ( G ( { \mathbf { x } } ) ) ) ] ,
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
and
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
{ \mathcal { L } } _ { \mathrm { G A N } } ( F , D _ { X } , X , Y ) = \mathbb { E } _ { \mathbf { x } \in X } [ \log D _ { X } ( \mathbf { x } ) ] + \mathbb { E } _ { \mathbf { y } \in Y } [ \log ( 1 - D _ { X } ( F ( \mathbf { y } ) ) ) ] .
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
For notational simplicity, we denote the GAN loss as
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\mathcal { L } _ { \mathrm { G A N } } ( G , F ) = \arg \operatorname* { m a x } _ { D _ { Y } , D _ { X } } [ \mathcal { L } _ { \mathrm { G A N } } ( G , D _ { Y } , X , Y ) + \mathcal { L } _ { \mathrm { G A N } } ( F , D _ { X } , X , Y ) ] .
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
Since the data in the two domains are unpaired, a circularity constraint is introduced in (Zhu et al., 2017a) to establish relationships between $X$ and $Y$ . The circularity constraint enforces that $G$ and $F$ are a pair of inverse mappings, and that the translated sample can be mapped back to the original sample. The circularity constraint contains consistencies in two aspects: the forward cycle $\mathbf { x } \to G ( X ) \to F ( G ( \mathbf { x } ) ) \sim \mathbf { x }$ and the backward cycle $\mathbf { y } \to F ( \mathbf { y } ) \to G ( F ( \mathbf { y } ) ) \sim \mathbf { y }$ . Thus, the circularity constraint is formulated as (Zhu et al., 2017a):
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { c y c } } ( G , F ) = \mathbb { E } _ { \mathbf { x } \in X } | | F ( G ( \mathbf { x } ) ) - \mathbf { x } | | _ { 1 } + \mathbb { E } _ { \mathbf { y } \in Y } | | G ( F ( \mathbf { y } ) ) - \mathbf { y } | | _ { 1 } . } \end{array}
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
Here we rewrite the overall objective in (Zhu et al., 2017a) to minimize as:
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
\mathcal { L } _ { \mathrm { C y c l e G A N } } ( G , F ) = \lambda _ { \mathrm { G A N } } \times \mathcal { L } _ { \mathrm { G A N } } ( G , F ) + \lambda _ { \mathrm { c y c } } \times \mathcal { L } _ { \mathrm { c y c } } ( G , F ) ,
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
where the weights $\lambda _ { \mathrm { G A N } }$ and $\lambda _ { \mathrm { c y c } }$ control the importance of the corresponding objectives.
|
| 94 |
+
|
| 95 |
+
# 3.1 SMOOTHNESS TERM OVER THE GRAPH
|
| 96 |
+
|
| 97 |
+
The full objective of circularity-based approach contains adversarial constraints and a circularity constraint. The adversarial constraints ensure the generated samples are in the distribution of the source or target domain, but ignore the relationship between the input and output of the forward or backward translations. The circularity constraint establishes connections between the source and target domain by forcing the forward and backward translations to be the inverse of each other. However, CycleGAN has limitations: as shown in Fig. 2, the circular projection might perfectly match the input, and the translated image might look very well like a real one, but the translated image may not maintain the inherent property of the input and contain a large artifact that is not connected to the input.
|
| 98 |
+
|
| 99 |
+

|
| 100 |
+
Figure 3: Architecture of HarmonicGAN, consisting of a pair of inverse generators $G$ , $F$ and two discriminators $D _ { X }$ , $D _ { Y }$ . The objective combines an adversarial constraint, circularity constraint and smoothness term.
|
| 101 |
+
|
| 102 |
+
Here we propose a smoothness term to enforce a stronger correlation between the source and target domains that focuses on providing similarity-consistency between image patches during the translation. The smoothness term defines a graph Laplacian with the minimal value achieved as a harmonic function. We define the set consisting of individual image patches as the nodes of the graph $\mathcal { G }$ . $\vec { x } _ { i }$ is referred to as the feature vector of the $i$ -th image patch in $\mathbf { x } \in X$ . For the image set $X$ , we define the set that consists of individual samples (image patches) of source image set $X$ as $S = \{ \vec { x } ( i ) , i = 1 . . M \}$ where $M$ is the total number of the samples/patches. An affinity measure (similarity) computed on image patch $\vec { x } ( i )$ and image patch $\vec { x } ( j )$ , $w _ { i j } ( X )$ (a scalar), defines the edge on the graph $\mathcal { G }$ of $S$ . The smoothness term acts as a graph Laplacian imposed on all pairs of image patches. Therefore, we define a smoothness term over the graph as
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { S m o u t } } ( G , X , Y ) = \mathbb { E } _ { \mathbf { x } \in X } \left[ \sum _ { i , j } w _ { i j } ( X ) \times D i s t [ G ( \vec { x } ) ( i ) , G ( \vec { x } ) ( j ) ] + \sum _ { i , j } w _ { i j } ( G ( X ) ) \times D i s t [ F ( G ( \vec { x } ) ) ( i ) , F ( G ( \vec { x } ) ) ( j ) ] \right] , } \end{array}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
where $w _ { i j } ( X ) = \exp \{ - D i s t [ \vec { x } ( i ) , \vec { x } ( j ) ] / \sigma ^ { 2 } \}$ (Zhu et al., 2003) defines the affinity between two patches $\vec { x } ( i )$ and $\vec { x } ( j )$ based on their distances (e.g. measured on histogram or CNN features). $D i s t [ G ( \vec { y } ) ( i ) , G ( \vec { y } ) ( j ) ]$ defines the distance between two image patches after translation at the same locations. In implementation, we first normalize the features to the scale of [0,1] and then use the L1 distance of normalized features as the Dist function (for both histogram and CNN features). Similarly, we define a smoothness term for the backward part as
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { S m o u t } } ( F , Y , X ) = \mathbb { E } _ { \mathbf { y } \in Y } \Big [ \sum _ { i , j } w _ { i j } ( Y ) \times D i s t [ F ( \vec { y } ) ( i ) , F ( \vec { y } ) ( j ) ] + \sum _ { i , j } w _ { i j } ( F ( Y ) ) \times D i s t [ G ( F ( \vec { y } ) ) ( i ) , G ( F ( \vec { y } ) ) ( j ) ] \Big ] , } \end{array}
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
The combined loss for the smoothness thus becomes
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
{ \mathcal { L } } _ { \mathrm { S m o o t h } } ( G , F ) = { \mathcal { L } } _ { \mathrm { S m o o t h } } ( G , X , Y ) + { \mathcal { L } } _ { \mathrm { S m o o t h } } ( F , Y , X ) .
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
# 3.2 OVERALL OBJECTIVE FUNCTION
|
| 121 |
+
|
| 122 |
+
As shown in Fig. 3, HarmonicGAN consists of a pair of inverse generators $G$ , $F$ and two discriminators $D _ { X } , D _ { Y }$ , defined in Eqn. (1) and Eqn. (2). The full objective combines an adversarial constraint (see Eqn. (3)), a circularity constraint (see Eqn. (4)), and a smoothness term (see Eqn. (8)). The adversarial constraint forces the translated images to be plausible and indistinguishable from the real images; the circularity constraint ensures the cycle-consistency of translated images; and the smoothness term provides a stronger similarity-consistency between patches to maintain inherent properties of the images.
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
Figure 4: Visualization using t-SNE (Maaten & Hinton, 2008) to illustrate the effectiveness of the smoothness term in HarmonicGAN (best viewed in color). As shown in the top two figures (source and target respectively), the smoothness term acts as a graph Laplacian imposed on all pairs of image patches. Bottom-left: For two similar patches in the original sample, if one patch is translated to a tumor region while the other is not, the two patches will have a large distance in the target space, resulting in a translation that incorrectly adds a tumor into the original sample (result for CycleGAN shown). Bottom-right: For two similar patches in the original sample, if the translation maintains the non-tumor property of these two patches in the translated sample then the two patches will also be similar in the target space (result for HarmonicGAN shown).
|
| 126 |
+
|
| 127 |
+
Combining Eqn. (5) and Eqn. (8), the overall objective for our proposed HarmonicGAN under the smoothness constraint becomes
|
| 128 |
+
|
| 129 |
+
$$
|
| 130 |
+
{ \mathcal { L } } _ { \mathrm { H a r m o n i c G A N } } ( G , F ) = { \mathcal { L } } _ { \mathrm { C y c l e G A N } } ( G , F ) + \lambda _ { \mathrm { S m o o t h } } \times { \mathcal { L } } _ { \mathrm { S m o o t h } } ( G , F ) .
|
| 131 |
+
$$
|
| 132 |
+
|
| 133 |
+
Similar to the graph-based semi-supervised learning definition (Zhu et al., 2003; Zhu, 2006), the solution to Eqn. (9) leads to a harmonic function. The optimization process during training obtains:
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
G ^ { * } , F ^ { * } = \arg \operatorname* { m i n } _ { G , F } { \mathcal { L } } _ { \mathrm { H a r m o n i c G A N } } ( G , F ) .
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
The effectiveness of the smoothness term of Eqn. (8) is evident. In Fig. 4, we show (using tSNE (Maaten & Hinton, 2008)) that the local neighborhood structure is being preserved by HarmonicGAN, whereas CycleGAN results in two similar patches being far apart after translation.
|
| 140 |
+
|
| 141 |
+
# 3.3 FEATURE DESIGN
|
| 142 |
+
|
| 143 |
+
In the smoothness constraint, the similarity of a pair of patches is measured on the features for each patch (sample point). All the patches in an image form a graph. Here we adopt two types of features: (1) a low-level soft histogram, and (2) pre-trained CNN (VGG) features that carry semantic information. Soft histogram features are lightweight and easy to implement but without much semantic information; VGG requires an additional CNN network but carries more semantics.
|
| 144 |
+
|
| 145 |
+
# 3.3.1 SOFT RGB HISTOGRAM FEATURES
|
| 146 |
+
|
| 147 |
+
We first design a weight matrix based on simple low-level RGB histograms. To make the end-to-end learning system work, it is crucial to make the computation of gradient in the histograms derivable.
|
| 148 |
+
|
| 149 |
+
We adopt a soft histogram representation proposed in (Wang et al., 2016) but fix the means and the bin size. This histogram representation is differentiable and its gradient is back-propagateable. This soft histogram function contains a family of linear basis functions $\psi _ { b } , b = 1 , \ldots , B$ , where $B$ is the number of bins in the histogram. As $\vec { x } _ { i }$ represents the $i$ -th patch in image domain $X$ , for each pixel $j$ in $\vec { x } _ { i }$ , $\psi _ { b } ( \vec { x } _ { i } ( j ) )$ represents pixel $j$ voting for the b-th bin, expressed as:
|
| 150 |
+
|
| 151 |
+
$$
|
| 152 |
+
\begin{array} { r } { \psi _ { b } ( \vec { x } _ { i } ( j ) ) = \mathrm { m a x } \{ 0 , 1 - | \vec { x } _ { i } ( j ) - \mu _ { b } | \times w _ { b } \} , } \end{array}
|
| 153 |
+
$$
|
| 154 |
+
|
| 155 |
+
where $\mu _ { b }$ and $w _ { b }$ are the center and width of the b-th bin. The representation of $\vec { x } _ { i }$ in the RGB space is the linear combination of linear basis functions on all the pixels in $\vec { x } _ { i }$ , expressed as:
|
| 156 |
+
|
| 157 |
+
$$
|
| 158 |
+
\phi _ { h } ( X , i , b ) = \phi _ { h } ( \vec { x } _ { i } , b ) = \sum _ { j } \psi _ { b } ( \vec { x } _ { i } ( j ) ) ,
|
| 159 |
+
$$
|
| 160 |
+
|
| 161 |
+
where $\phi _ { h }$ is the RGB histogram feature, $b$ is the index of dimension of the RGB histogram representation, and $j$ represents any pixel in the patch $\vec { x } _ { i }$ . The RGB histogram representation $\phi _ { h } ( X , i )$ of $\vec { x } _ { i }$ is a $B$ -dimensional vector.
|
| 162 |
+
|
| 163 |
+
# 3.3.2 SEMANTIC CNN FEATURES
|
| 164 |
+
|
| 165 |
+
For some domains we instead use semantic features to acquire higher-level representations of patches. The semantic representations are extracted from a pre-trained Convolutional Neural Network (CNN). The CNN encodes semantically relevant features from training on a large-scale dataset. It extracts semantic information of local patches in the image through multiple pooling or stride operators. Each point in the feature maps of the CNN is a semantic descriptor of the corresponding image patch. Additionally, the semantic features learned from the CNN are differentiable and the CNN can be integrated into HarmonicGAN and be trained end-to-end. We instantiate the semantic feature $\phi _ { s }$ as a pre-trained CNN model e.g. VGGNet (Simonyan & Zisserman, 2014). In implementation, we select the layer 4 3 after ReLU from VGG-16 network for computing the semantic features.
|
| 166 |
+
|
| 167 |
+
# 4 EXPERIMENTS
|
| 168 |
+
|
| 169 |
+
We evaluate the proposed method on three different applications: medical imaging, semantic labeling, and object transfiguration. We compare against several unpaired image-to-image translation methods: CycleGAN (Zhu et al., 2017a), DiscoGAN (Kim et al., 2017), DistanceGAN (Benaim & Wolf, 2017), and UNIT (Liu et al., 2017). We also provide two user studies as well as qualitative results. The appendix provides additional results and analysis.
|
| 170 |
+
|
| 171 |
+
# 4.1 DATASETS AND EVALUATION METRICS
|
| 172 |
+
|
| 173 |
+
Medical imaging. This task evaluates cross-modal medical image synthesis, Flair $ \mathrm { T } 1$ . The models are trained on the BRATS dataset (Menze et al., 2015) which contains paired MRI data to allow quantitative evaluation. Similar to the previous work (Cohen et al., 2018), we use a training set of 1400 image slices $50 \%$ healthy and $50 \%$ tumors) and a test set of 300, and use their unpaired training scenario. We adopt the Mean Absolute Error (MAE) and the Mean Squared Error (MSE) between the generated images and the real images to evaluate the reconstruction errors, and further use the Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index Measure (SSIM) to evaluate the reconstruction quality of generated images.
|
| 174 |
+
|
| 175 |
+
Semantic labeling. We also test our method on the labels photos task using the Cityscapes dataset (Cordts et al., 2016) under the unpaired setting as in the original CycleGAN paper. For quantitative evaluation, in line with previous work, for labels photos we adopt the “FCN score” (Isola et al., 2017), which evaluates how interpretable the generated photos are according to a semantic segmentation algorithm. For photos labels, we use the standard segmentation metrics, including per-pixel accuracy, per-class accuracy, and mean class Intersection-Over-Union (Class IOU).
|
| 176 |
+
|
| 177 |
+
Object transfiguration. Finally, we test our method on the horse zebra task using the standard CycleGAN dataset (2401 training images, 260 test images). This task does not have a quantitative evaluation measure, so we instead provide a user study together with qualitative results.
|
| 178 |
+
|
| 179 |
+
# 4.2 IMPLEMENTATION DETAILS
|
| 180 |
+
|
| 181 |
+
We apply the proposed smoothness term on the framework of CycleGAN (Zhu et al., 2017a). Similar with CycleGAN, we adopt the architecture of (Johnson et al., 2016) as the generator and the PatchGAN (Isola et al., 2017) as the discriminator. The log likelihood objective in the original GAN is replaced with a least-squared loss (Mao et al., 2017) for more stable training. We resize the input images to the size of $2 5 6 \times 2 5 6$ . For the histogram feature, we equally split the RGB range of [0, 255] to 16 bins, each with a range of 16. Images are divided into non-overlapping patches of $8 ~ \times$ 8 and the histogram feature is computed on each patch. For the semantic feature, we adopt a VGG network pre-trained on ImageNet to obtain semantic features. We select the feature map of layer relu4 3 in VGG. The loss weights are set as $\lambda _ { \mathrm { G A N } } = \lambda _ { \mathrm { S m o o t h } } = 1$ , $\lambda _ { \mathrm { c y c } } = 1 0$ . Following CycleGAN, we adopt the Adam optimizer (Kingma & Ba, 2015) with a learning rate of 0.0002. The learning rate is fixed for the first 100 epochs and linearly decayed to zero over the next 100 epochs.
|
| 182 |
+
|
| 183 |
+
# 4.3 QUANTITATIVE COMPARISON
|
| 184 |
+
|
| 185 |
+
Medical imaging. Table 1 shows the reconstruction performance on medical image synthesis, Flair $ \mathrm { { T } 1 }$ . The proposed method yields a large improvement over CycleGAN, showing lower MAE and MSE reconstruction losses, and higher PSNR and SSIM reconstruction scores, highlighting the significance of the proposed smoothness regularization. HarmonicGAN based on histogram and VGG features shows similar performance; the reconstruction losses of histogram-based HarmonicGAN are slightly lower than the VGG-based one in Flair $ \mathrm { T } 1$ , while they are slightly higher in $\mathrm { T } 1 $ Flair, indicating that both low-level RGB values and high-level CNN features can represent the inherent property of medical images well and help to maintain the smoothness-consistency of samples.
|
| 186 |
+
|
| 187 |
+
Table 1: Reconstruction evaluation of cross-modal medical image synthesis on the BRATS dataset.
|
| 188 |
+
|
| 189 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">Flair→T1</td><td colspan="4">T1→Flair</td></tr><tr><td>MAE↓</td><td>MSE↓</td><td>PSNR↑</td><td>SSIM↑</td><td>MAE↓</td><td>MSE↓</td><td>PSNR ↑</td><td>SSIM↑</td></tr><tr><td>CycleGAN</td><td>10.47</td><td>674.40</td><td>22.35</td><td>0.80</td><td>11.81</td><td>1026.19</td><td>18.73</td><td>0.74</td></tr><tr><td>DiscoGAN</td><td>10.63</td><td>641.35</td><td>20.06</td><td>0.79</td><td>10.66</td><td>839.15</td><td>19.14</td><td>0.69</td></tr><tr><td>DistanceGAN</td><td>14.93</td><td>1197.64</td><td>17.92</td><td>0.67</td><td>10.57</td><td>716.75</td><td>19.95</td><td>0.64</td></tr><tr><td>UNIT</td><td>9.48</td><td>439.33</td><td>22.24</td><td>0.76</td><td>6.69</td><td>261.26</td><td>25.11</td><td>0.76</td></tr><tr><td colspan="9">HarmonicGAN (ours)</td></tr><tr><td>Histogram</td><td>6.38</td><td>216.83</td><td>24.34</td><td>0.83</td><td>5.04</td><td>163.29</td><td>26.72</td><td>0.75</td></tr><tr><td>VGG</td><td>6.86</td><td>237.94</td><td>24.14</td><td>0.81</td><td>4.69</td><td>127.84</td><td>27.22</td><td>0.76</td></tr></table>
|
| 190 |
+
|
| 191 |
+
Semantic labeling. We report semantic labeling results in Table 2. The proposed method using VGG features yields a $3 \%$ improvement in Pixel Accuracy in translation scores for photo label and also shows stable improvements in other metrics, clearly outperforming all competing methods. The performance using a histogram is slightly lower than CycleGAN; we hypothesize that the reason is that the objects in photos have a large intra-class variance and inter-class similarity in appearance, e.g. cars have different colors, while vegetation and terrain have similar colors, thus the regularization of the RGB histogram is not appropriate to extract the inherent property of photos.
|
| 192 |
+
|
| 193 |
+
# 4.4 USER STUDIES
|
| 194 |
+
|
| 195 |
+
Medical imaging. We randomly selected 100 images from BRATS test set. For each image, we showed one radiologist the real ground truth image, followed by images generated by CycleGAN, DistanceGAN and HarmonicGAN (different order for each image set to avoid bias). The radiologist was told to evaluate similarity by how likely they would lead to the same clinical diagnosis, and was asked to rate similarity of the generation methods on a Likert scale from 1 to 5 (1 is not similar at all, 5 is exactly same). Results are in shown in Table 3. In $9 5 \%$ of cases, the radiologist preferred images generated by our method over the competing methods, and the average Likert score was 4.00 compared to 1.68 for CycleGAN, confirming that our generated images are significantly better. This is significant as it confirms that we solve the issue presented in a recent paper (Cohen et al., 2018) showing that CycleGAN can learn to accidentally add/remove tumors in images.
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
Figure 5: Qualitative comparison for BRATS, Cityscapes and horse zebra (see appendix for more images).
|
| 199 |
+
|
| 200 |
+
Table 2: FCN scores of Photo Label translation on the Cityscapes dataset.
|
| 201 |
+
|
| 202 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Label →Photo</td><td colspan="3">Photo →Label</td></tr><tr><td>Pixel Acc. ↑</td><td>Class Acc.↑</td><td>Class IoU↑</td><td>Pixel Acc. ↑</td><td>Class Acc. ↑</td><td>Class IoU↑</td></tr><tr><td>CycleGAN</td><td>52.7</td><td>15.2</td><td>11.0</td><td>57.2</td><td>21.0</td><td>15.7</td></tr><tr><td>DiscoGAN</td><td>45.0</td><td>11.1</td><td>7.0</td><td>45.2</td><td>10.9</td><td>6.3</td></tr><tr><td>DistanceGAN</td><td>48.5</td><td>10.9</td><td>7.3</td><td>20.5</td><td>8.2</td><td>3.4</td></tr><tr><td>UNIT</td><td>48.5</td><td>12.9</td><td>7.9</td><td>56.0</td><td>20.5</td><td>14.3</td></tr><tr><td colspan="7">HarmonicGAN (ours)</td></tr><tr><td>Histogram</td><td>52.2</td><td>14.8</td><td>10.9</td><td>56.6</td><td>20.9</td><td>15.7</td></tr><tr><td>VGG</td><td>55.9</td><td>17.6</td><td>13.3</td><td>59.8</td><td>22.1</td><td>17.2</td></tr></table>
|
| 203 |
+
|
| 204 |
+
Table 3: User study on the BRATS dataset.
|
| 205 |
+
|
| 206 |
+
<table><tr><td>Metric</td><td>CycleGAN</td><td>DistanceGAN</td><td>HarmonicGAN</td></tr><tr><td>Prefer[%]↑</td><td>5</td><td>0</td><td>95</td></tr><tr><td>Mean Likert 个</td><td>1.68</td><td>1.62</td><td>4.00</td></tr><tr><td>Std Likert</td><td>0.99</td><td>0.95</td><td>0.88</td></tr></table>
|
| 207 |
+
|
| 208 |
+
Table 4: User study on the horse to zebra dataset.
|
| 209 |
+
|
| 210 |
+
<table><tr><td>Metric</td><td>CycleGAN</td><td>DistanceGAN</td><td>HarmonicGAN</td></tr><tr><td>Prefer[%]↑</td><td>28</td><td>0</td><td>72</td></tr><tr><td>Mean Likert↑</td><td>3.16</td><td>1.08</td><td>3.60</td></tr><tr><td>Std Likert</td><td>0.81</td><td>0.23</td><td>0.78</td></tr></table>
|
| 211 |
+
|
| 212 |
+
Object transfiguration. We evaluate our algorithm on horse zebra with a human perceptual study. We randomly selected 50 images from the horse2zebra test set and showed the input images and three generated images from CycleGAN, DistanceGAN and HarmonicGAN (with generated images in random order). 10 participants were asked to score the generated images on a Likert scale from 1 to 5 (as above). As shown in Table 4, the participants give the highest score to the proposed method (in $72 \%$ of cases), significantly more often than CycleGAN (in $28 \%$ of cases). Additionally, the average Likert score of our method was 3.60, outperforming 3.16 of CycleGAN and 1.08 of DistanceGAN, indicating that our method generates better results.
|
| 213 |
+
|
| 214 |
+
# 4.5 QUALITATIVE COMPARISON
|
| 215 |
+
|
| 216 |
+
Medical imaging. Fig. 5 shows the qualitative comparison of the proposed method (HarmonicGAN) and the baseline methods CycleGAN on Flair $ \mathrm { T } 1$ . It shows that CycleGAN may remove tumors in the original images and add tumors to other locations in the brain. In contrast, our method preserves the location of tumors, confirming that the harmonic regularization can maintain the inherent property of tumor/non-tumor regions and solves the tumor add/remove problem introduced in Cohen et al. (2018). More results and analysis are shown in Fig. 6 and Fig. 9.
|
| 217 |
+
|
| 218 |
+
Object transfiguration. Fig. 5 shows a qualitative comparison of our method on the horse zebra task. We observe that we correct several problems in CycleGAN, including not changing the background and performing more complete transformations. More results and analysis are shown in Fig. 7 and Fig. 10.
|
| 219 |
+
|
| 220 |
+
# 5 CONCLUSION
|
| 221 |
+
|
| 222 |
+
We introduce a smoothness term over the sample graph to enforce smoothness-consistency between the source and target domains. We have shown that by introducing additional regularization to enforce consistent mappings during the image-to-image translation, the inherent self-consistency property of samples can be maintained. Through a set of quantitative, qualitative and user studies, we have demonstrated that this results in a significant improvement over the current state-of-the-art methods in a number of applications including medical imaging, object transfiguration, and semantic labeling. In a medical imaging task in particular our method provides a very significant improvement over CycleGAN.
|
| 223 |
+
|
| 224 |
+
# REFERENCES
|
| 225 |
+
|
| 226 |
+
Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein generative adversarial networks. ´ In ICML, 2017.
|
| 227 |
+
|
| 228 |
+
Connelly Barnes, Eli Shechtman, Adam Finkelstein, and Dan B Goldman. Patchmatch: A randomized correspondence algorithm for structural image editing. ACM Trans. Graphics (ToG), 2009.
|
| 229 |
+
|
| 230 |
+
Mikhail Belkin, Partha Niyogi, and Vikas Sindhwani. Manifold regularization: A geometric framework for learning from labeled and unlabeled examples. JMLR, 2006.
|
| 231 |
+
|
| 232 |
+
Sagie Benaim and Lior Wolf. One-sided unsupervised domain mapping. In NIPS, 2017.
|
| 233 |
+
|
| 234 |
+
Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, and Alan L Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE transactions on pattern analysis and machine intelligence, 40(4): 834–848, 2018.
|
| 235 |
+
|
| 236 |
+
Qifeng Chen and Vladlen Koltun. Photographic image synthesis with cascaded refinement networks. In ICCV, 2017.
|
| 237 |
+
|
| 238 |
+
Joseph Paul Cohen, Margaux Luck, and Sina Honari. Distribution matching losses can hallucinate features in medical image translation. In MICCAI, 2018.
|
| 239 |
+
|
| 240 |
+
Marius Cordts, Mohamed Omran, Sebastian Ramos, Timo Rehfeld, Markus Enzweiler, Rodrigo Benenson, Uwe Franke, Stefan Roth, and Bernt Schiele. The cityscapes dataset for semantic urban scene understanding. In CVPR, 2016.
|
| 241 |
+
|
| 242 |
+
Antonio Criminisi, Patrick Perez, and Kentaro Toyama. Region filling and object removal by ´ exemplar-based image inpainting. IEEE Trans. image processing, 2004.
|
| 243 |
+
|
| 244 |
+
Salman Ul Hassan Dar, Mahmut Yurt, Levent Karacan, Aykut Erdem, Erkut Erdem, and Tolga C¸ ukur. Image synthesis in multi-contrast MRI with conditional generative adversarial networks. arXiv preprint, 2018.
|
| 245 |
+
|
| 246 |
+
Alexei A Efros and William T Freeman. Image quilting for texture synthesis and transfer. In Proc. Computer graphics and interactive techniques, 2001.
|
| 247 |
+
|
| 248 |
+
Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron C. Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014.
|
| 249 |
+
|
| 250 |
+
Aaron Hertzmann, Charles E Jacobs, Nuria Oliver, Brian Curless, and David H Salesin. Image analogies. In Proc. Computer graphics and interactive techniques, 2001.
|
| 251 |
+
|
| 252 |
+
Judy Hoffman, Eric Tzeng, Taesung Park, Jun-Yan Zhu, Phillip Isola, Kate Saenko, Alexei A Efros, and Trevor Darrell. Cycada: Cycle-consistent adversarial domain adaptation. In ICML, 2018.
|
| 253 |
+
|
| 254 |
+
Xun Huang and Serge J Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In ICCV, 2017.
|
| 255 |
+
|
| 256 |
+
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A. Efros. Image-to-image translation with conditional adversarial networks. In CVPR, 2017.
|
| 257 |
+
|
| 258 |
+
Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In ECCV, 2016.
|
| 259 |
+
|
| 260 |
+
Taeksoo Kim, Moonsu Cha, Hyunsoo Kim, Jung Kwon Lee, and Jiwon Kim. Learning to discover cross-domain relations with generative adversarial networks. In ICML, 2017.
|
| 261 |
+
|
| 262 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015.
|
| 263 |
+
|
| 264 |
+
Philipp Krahenb ¨ uhl and Vladlen Koltun. Efficient inference in fully connected crfs with gaussian¨ edge potentials. In NIPS, 2011.
|
| 265 |
+
|
| 266 |
+
John Lafferty, Andrew McCallum, and Fernando CN Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In ICML, 2001.
|
| 267 |
+
|
| 268 |
+
Di Lin, Jifeng Dai, Jiaya Jia, Kaiming He, and Jian Sun. Scribblesup: Scribble-supervised convolutional networks for semantic segmentation. In CVPR, 2016.
|
| 269 |
+
|
| 270 |
+
Ming-Yu Liu, Thomas Breuel, and Jan Kautz. Unsupervised image-to-image translation networks. In NIPS, 2017.
|
| 271 |
+
|
| 272 |
+
Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In CVPR, 2015.
|
| 273 |
+
|
| 274 |
+
Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. JMLR, 2008.
|
| 275 |
+
|
| 276 |
+
Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In ICCV, 2017.
|
| 277 |
+
|
| 278 |
+
Bjoern H Menze, Andras Jakab, Stefan Bauer, Jayashree Kalpathy-Cramer, Keyvan Farahani, Justin Kirby, Yuliya Burren, Nicole Porz, Johannes Slotboom, Roland Wiest, et al. The multimodal brain tumor image segmentation benchmark (brats). IEEE trans. medical imaging, 2015.
|
| 279 |
+
|
| 280 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. In ICLR, 2016.
|
| 281 |
+
|
| 282 |
+
Sam T Roweis and Lawrence K Saul. Nonlinear dimensionality reduction by locally linear embedding. Science, 2000.
|
| 283 |
+
|
| 284 |
+
Ashish Shrivastava, Tomas Pfister, Oncel Tuzel, Joshua Susskind, Wenda Wang, and Russell Webb. Learning from simulated and unsupervised images through adversarial training. In CVPR, 2017.
|
| 285 |
+
|
| 286 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 287 |
+
|
| 288 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015.
|
| 289 |
+
|
| 290 |
+
Meng Tang, Federico Perazzi, Abdelaziz Djelouah, Ismail Ben Ayed, Christopher Schroers, and Yuri Boykov. On regularized losses for weakly-supervised cnn segmentation. In ECCV, 2018.
|
| 291 |
+
|
| 292 |
+
Joshua B Tenenbaum, Vin De Silva, and John C Langford. A global geometric framework for nonlinear dimensionality reduction. Science, 2000.
|
| 293 |
+
|
| 294 |
+
Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Highresolution image synthesis and semantic manipulation with conditional gans. In CVPR, 2018.
|
| 295 |
+
|
| 296 |
+
Zhe Wang, Hongsheng Li, Wanli Ouyang, and Xiaogang Wang. Learnable histogram: Statistical context features for deep neural networks. In ECCV, 2016.
|
| 297 |
+
|
| 298 |
+
Jason Weston, Fred´ eric Ratle, Hossein Mobahi, and Ronan Collobert. Deep learning via semi- ´ supervised embedding. In Neural Networks: Tricks of the Trade, pp. 639–655. Springer, 2012.
|
| 299 |
+
|
| 300 |
+
Zili Yi, Hao (Richard) Zhang, Ping Tan, and Minglun Gong. Dualgan: Unsupervised dual learning for image-to-image translation. In ICCV, 2017.
|
| 301 |
+
|
| 302 |
+
Han Zhang, Tao Xu, Hongsheng Li, Shaoting Zhang, Xiaolei Huang, Xiaogang Wang, and Dimitris Metaxas. StackGAN: Text to photo-realistic image synthesis with stacked generative adversarial networks. arXiv preprint, 2017.
|
| 303 |
+
|
| 304 |
+
Zizhao Zhang, Lin Yang, and Yefeng Zheng. Translating and segmenting multimodal medical volumes with cycle-and shapeconsistency generative adversarial network. In CVPR, 2018.
|
| 305 |
+
|
| 306 |
+
Shuai Zheng, Sadeep Jayasumana, Bernardino Romera-Paredes, Vibhav Vineet, Zhizhong Su, Dalong Du, Chang Huang, and Philip HS Torr. Conditional random fields as recurrent neural networks. In ICCV, 2015.
|
| 307 |
+
|
| 308 |
+
Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In ICCV, 2017a.
|
| 309 |
+
Jun-Yan Zhu, Richard Zhang, Deepak Pathak, Trevor Darrell, Alexei A Efros, Oliver Wang, and Eli Shechtman. Toward multimodal image-to-image translation. In NIPS, 2017b.
|
| 310 |
+
Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. CycleGAN failure cases. https: //github.com/junyanz/CycleGAN#failure-cases, 2018.
|
| 311 |
+
Xiaojin Zhu. Semi-supervised learning literature survey. Computer Science, University of Wisconsin-Madison, 2006.
|
| 312 |
+
Xiaojin Zhu, Zoubin Ghahramani, and John D Lafferty. Semi-supervised learning using gaussian fields and harmonic functions. In ICML, 2003.
|
| 313 |
+
|
| 314 |
+
# 6 APPENDIX
|
| 315 |
+
|
| 316 |
+
# 6.1 COMPARISON TO DISTANCEGAN
|
| 317 |
+
|
| 318 |
+
The proposed HarmonicGAN looks a bit similar to DistanceGAN Benaim & Wolf (2017), but actually there is a large difference between them. DistanceGAN encourages the distance of samples to an absolute mean during translation. In contrast, HarmonicGAN enforces a smoothness term naturally under the graph Laplacian, making the motivations of DistanceGAN and HarmonicGAN quite different. Comparing the distance constraint in DistanceGAN and the smoothness constraint in HarmonicGAN, we can conclude the following main differences between them:
|
| 319 |
+
|
| 320 |
+
(1) They show different motivations and formulations. The distance constraint aims to preserve the distance between samples in the mapping in a direct way, so it minimizes the expectation of differences between distances in two domains. The distance constraint in DistanceGAN is not doing a graph-based Laplacian to explicitly enforce smoothness. In contrast, the smoothness constraint is designed from a graph Laplacian to build the similarity-consistency between image patches. Thus, the smoothness constraint uses the affinity between two patches as weight to measure the similarityconsistency between two domains. The whole idea is based on manifold learning. The smoothness term defines a Laplacian $\Delta = D - W$ , where $W$ is our weight matrix and $D$ is a diagonal matrix with $\begin{array} { r } { D _ { i } = \sum _ { j } \bar { w _ { i j } } } \end{array}$ , thus, the smoothness term defines a graph Laplacian with the minimal value achieved as a harmonic function.
|
| 321 |
+
|
| 322 |
+
(2) They are different in implementation. The smoothness constraint in HarmonicGAN is computed on image patches while the distance constraint in DistanceGAN is computed on whole image samples. Therefore, the smoothness constraint is fine-grained compared to the distance constraint. Moreover, the distances in DistanceGAN is directly computed from the samples in each domain. They scale the distances with the precomputed means and stds of two domains to reduce the effect of the gap between two domains. Differently, the smoothness constraint in HarmonicGAN is measured on the features (Histogram or CNN features) of each patch, which maps samples in two domains into the same feature space and removes the gap between two domains.
|
| 323 |
+
|
| 324 |
+
(3) They show different results. Fig. 6 shows the qualitative results of CycleGAN, DistanceGAN and the proposed HarmonicGAN on the BRATS dataset. As shown in Fig. 6, the problem of randomly adding/removing tumors in the translation of CycleGAN is still present in the results of DistanceGAN, while HarmonicGAN can correct the location of tumors. Table 1 shows the quantitative results on the whole test set, which also yields the same conclusion. The results of DistanceGAN on four metrics are even worse than CycleGAN, while HarmonicGAN yields a large improvement over CycleGAN.
|
| 325 |
+
|
| 326 |
+

|
| 327 |
+
Figure 6: Comparison of CycleGAN, DistanceGAN and the proposed HarmonicGAN on BRATS dataset.
|
| 328 |
+
|
| 329 |
+
# 6.2 COMPARISON TO CRF
|
| 330 |
+
|
| 331 |
+
There are some fundamental differences between the CRF literature and our work. They differ in output space, mathematical formulation, application domain, effectiveness, and the role in the overall algorithm. The similarity between CRF and HarmonicGAN lies the adoption of a regularization term: a binary term in the CRF case and a Laplacian term in HarmonicGAN.
|
| 332 |
+
|
| 333 |
+
The smoothness term in HarmonicGAN is not about obtaining ‘smoother’ images/labels in the translated domain, as seen in the experiments; instead, HarmonicGAN is about preserving the overall integrity of the translation itself for the image manifold. This is the main reason for the large improvement of HarmonicGAN over CycleGAN.
|
| 334 |
+
|
| 335 |
+
To further demonstrate the difference of HarmonicGAN and CRF, we perform an experiment applying the pairwise regularization of CRFs to the CycleGAN framework. For each pixel of the generated image, we compute the unary term and binary term with its 8 neighbors, and then minimize the objective function of CRF. The results are shown in Table 5. The pairwise regularization of CRF is unable to handle the problem of CycleGAN illustrated in Fig. 1. What’s worse, using the pairwise regularization may over-smooth the boundary of generated images, which results in extra artifacts. In contrast, HarmonicGAN aims at preserving similarity from the overall view of the image manifold, and can thus exploit similarity-consistency of the generated images, rather than over-smooth the boundary.
|
| 336 |
+
|
| 337 |
+
Table 5: Reconstruction evaluation on the BRATS dataset with comparison to CRF.
|
| 338 |
+
|
| 339 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">Flair→T1</td><td colspan="2">T1→Flair</td></tr><tr><td>MAE↓</td><td>MSE↓</td><td>MAE↓</td><td>MSE↓</td></tr><tr><td>CycleGAN</td><td>10.47</td><td>674.40</td><td>11.81</td><td>1026.19</td></tr><tr><td>CycleGAN+CRF</td><td>11.24</td><td>839.47</td><td>12.25</td><td>1138.42</td></tr><tr><td>HarmonicGAN-Histogram (ours)</td><td>6.38</td><td>216.83</td><td>5.04</td><td>163.29</td></tr><tr><td>HarmonicGAN-VGG (ours)</td><td>6.86</td><td>237.94</td><td>4.69</td><td>127.84</td></tr></table>
|
| 340 |
+
|
| 341 |
+

|
| 342 |
+
Figure 7: Comparison on horse zebra for the Putin photo. CycleGAN translates both the background and human to a zebra-like texture. In contrast, HarmonicGAN does better in background region and achieves an improvement in some regions of of the human (Putin’s face), but it still fails on the human body. We hypothesize this is because the semantic features used by HarmonicGAN have not been trained on humans without a shirt.
|
| 343 |
+
|
| 344 |
+

|
| 345 |
+
Figure 8: For similar image patches in input images, visualizing the average distance of corresponding image patches in translated images for cross-modal medical image synthesis on BRATS dataset. The distance of image patches in the target space shows the inconsistently translated patches.
|
| 346 |
+
|
| 347 |
+

|
| 348 |
+
Figure 9: Comparison on BRATS dataset.
|
| 349 |
+
|
| 350 |
+

|
| 351 |
+
Figure 10: Comparison on horse zebra.
|
| 352 |
+
|
| 353 |
+

|
| 354 |
+
Figure 11: Additional results of the proposed HarmonicGAN. From top to bottom are: apple to orange, orange to apple, facade to label, label to facade, aerial to map, map to aerial, summer to winter, winter to summer.
|
parse/train/S1M6Z2Cctm/S1M6Z2Cctm_content_list.json
ADDED
|
@@ -0,0 +1,1789 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "HARMONIC UNPAIRED IMAGE-TO-IMAGE TRANSLATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
145
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Tomas Pfister \nGoogle Cloud AI \nSunnyvale, USA \ntpfister@google.com \nRui Zhang \nGoogle Cloud AI & \nChinese Academy of Sciences \nBeijing, China \nzhangrui@ict.ac.cn \nJia Li \nGoogle Cloud AI \nSunnyvale, USA \nlijiali@google.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
411,
|
| 19 |
+
170,
|
| 20 |
+
599,
|
| 21 |
+
227
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "",
|
| 28 |
+
"bbox": [
|
| 29 |
+
183,
|
| 30 |
+
170,
|
| 31 |
+
383,
|
| 32 |
+
239
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "",
|
| 39 |
+
"bbox": [
|
| 40 |
+
625,
|
| 41 |
+
170,
|
| 42 |
+
805,
|
| 43 |
+
227
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "ABSTRACT ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
454,
|
| 53 |
+
276,
|
| 54 |
+
544,
|
| 55 |
+
291
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "The recent direction of unpaired image-to-image translation is on one hand very exciting as it alleviates the big burden in obtaining label-intensive pixel-to-pixel supervision, but it is on the other hand not fully satisfactory due to the presence of artifacts and degenerated transformations. In this paper, we take a manifold view of the problem by introducing a smoothness term over the sample graph to attain harmonic functions to enforce consistent mappings during the translation. We develop HarmonicGAN to learn bi-directional translations between the source and the target domains. With the help of similarity-consistency, the inherent selfconsistency property of samples can be maintained. Distance metrics defined on two types of features including histogram and CNN are exploited. Under an identical problem setting as CycleGAN, without additional manual inputs and only at a small training-time cost, HarmonicGAN demonstrates a significant qualitative and quantitative improvement over the state of the art, as well as improved interpretability. We show experimental results in a number of applications including medical imaging, object transfiguration, and semantic labeling. We outperform the competing methods in all tasks, and for a medical imaging task in particular our method turns CycleGAN from a failure to a success, halving the mean-squared error, and generating images that radiologists prefer over competing methods in $9 5 \\%$ of cases. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
306,
|
| 65 |
+
764,
|
| 66 |
+
569
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 INTRODUCTION ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
594,
|
| 77 |
+
336,
|
| 78 |
+
609
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Image-to-image translation (Isola et al., 2017) aims to learn a mapping from a source domain to a target domain. As a significant and challenging task in computer vision, image-to-image translation benefits many vision and graphics tasks, such as realistic image synthesis (Isola et al., 2017; Zhu et al., 2017a), medical image generation (Zhang et al., 2018; Dar et al., 2018), and domain adaptation (Hoffman et al., 2018). Given a pair of training images with detailed pixel-to-pixel correspondences between the source and the target, image-to-image translation can be cast as a regression problem using e.g. Fully Convolutional Neural Networks (FCNs) (Long et al., 2015) by minimizing e.g. the per-pixel prediction loss. Recently, approaches using rich generative models based on Generative Adaptive Networks (GANs) (Goodfellow et al., 2014; Radford et al., 2016; Arjovsky et al., 2017) have achieved astonishing success. The main benefit of introducing GANs (Goodfellow et al., 2014) to image-to-image translation (Isola et al., 2017) is to attain additional image-level (often through patches) feedback about the overall quality of the translation, and information which is not directly accessible through the per-pixel regression objective. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
625,
|
| 88 |
+
825,
|
| 89 |
+
805
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "The method by Isola et al. (2017) is able to generate high-quality images, but it requires paired training data which is difficult to collect and often does not exist. To perform translation without paired data, circularity-based approaches (Zhu et al., 2017a; Kim et al., 2017; Yi et al., 2017) have been proposed to learn translations from a set to another set, using a circularity constraint to establish relationships between the source and target domains and forcing the result generated from a sample in the source domain to map back and generate the original sample. The original image-to-image translation problem (Isola et al., 2017) is supervised in pixel-level, whereas the unpaired image-to-image translation task (Zhu et al., 2017a) is considered unsupervised, with pixel-level supervision absent but with adversarial supervision at the image-level (in the target domain) present. By using a cycled regression for the pixel-level prediction (source target source) plus a term for the adversarial difference between the transferred images and the target images, CycleGAN is able to successfully, in many cases, train a translation model without paired source target supervision. However, lacking a mechanism to enforce regularity in the translation creates problems like in Fig. 1 (a) and Fig. 2, making undesirable changes to the image contents, superficially removing tumors (the first row) or creating tumors (the second row) at the wrong positions in the target domain. Fig. 1 (b) also shows some artifacts of CycleGAN on natural images when translating horses into zebras. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
813,
|
| 99 |
+
823,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/9a4775015eff999787f42dc541df64f20f0afb26e08cd8a9aa3dabaab50f15af.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: HarmonicGAN corrects major failures in multiple domains: (a) for medical images it corrects incorrectly removed (top) and added (bottom) tumors; and (b) for horse zebra transfiguration it does not incorrectly transform the background (top) and performs a complete translation (bottom). "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
176,
|
| 113 |
+
101,
|
| 114 |
+
821,
|
| 115 |
+
260
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
354,
|
| 125 |
+
825,
|
| 126 |
+
465
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "To combat the above issue, in this paper we look at the problem of unpaired image-to-image translation from a manifold learning perspective (Tenenbaum et al., 2000; Roweis & Saul, 2000). Intuitively, the problem can be alleviated by introducing a regularization term in the translation, encouraging similar contents (based on textures or semantics) in the same image to undergo similar translations/transformations. A common principle in manifold learning is to preserve local distances after the unfolding: forcing neighboring (similar) samples in the original space to be neighbors in the new space. The same principle has been applied to graph-based semisupervised learning (Zhu, 2006) where harmonic functions with graph Laplacians (Zhu et al., 2003; Belkin et al., 2006) are used to obtain regularized labels of unlabeled data points. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
473,
|
| 136 |
+
450,
|
| 137 |
+
776
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "image",
|
| 143 |
+
"img_path": "images/96d5ce59b87862c975114c52e9602e0c2e08be96e69bec6f76b7d3b4d8d6f0e5.jpg",
|
| 144 |
+
"image_caption": [
|
| 145 |
+
"Figure 2: For CycleGAN, the reconstructed image may perfectly match the source image under the circularity constraint while translated image dose not maintain the inherent property of the source image (e.g. a tumor), thus generating unexpected results (e.g. incorrectly removing a tumor). "
|
| 146 |
+
],
|
| 147 |
+
"image_footnote": [],
|
| 148 |
+
"bbox": [
|
| 149 |
+
467,
|
| 150 |
+
488,
|
| 151 |
+
820,
|
| 152 |
+
654
|
| 153 |
+
],
|
| 154 |
+
"page_idx": 1
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"type": "text",
|
| 158 |
+
"text": "During the translation/transformation, some domain-specific attributes are changed, such as the colors, texture, and semantics of certain image regions. Although there is no supervised information for these changes, certain consistency during the transformation is desirable, meaning that for image contents similar in the source space should also be similar in the target space. Inspired by graphbased semi-supervised learning (Zhu et al., 2003; Zhu, 2006), we introduce smoothness terms to unpaired image-to-image translation (Zhu et al., 2017a) by providing a stronger regularization for the translation/transformation between the source and target domains, aiming to exploit the “manifold structure” of the source and target domains. For a pair of similar samples (two different locations in an image; one can think of them as two patches although the receptive fields of CNN are quite large), we add the smoothness term to minimize a weighted distance of the corresponding locations in the target image. Note that two spatially distant samples might be neighbors in the feature space. We name our algorithm HarmonicGAN as it behaves harmonically along with the circularity and adversarial constraints to learn a pair of dual translations between the source and target domains, as shown in Fig. 1. Distance metrics defined on two alternative features are adopted: (1) a low-level soft RGB histograms; and (2) CNN (VGG) features with pre-trained semantics. ",
|
| 159 |
+
"bbox": [
|
| 160 |
+
173,
|
| 161 |
+
785,
|
| 162 |
+
825,
|
| 163 |
+
924
|
| 164 |
+
],
|
| 165 |
+
"page_idx": 1
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"type": "text",
|
| 169 |
+
"text": "",
|
| 170 |
+
"bbox": [
|
| 171 |
+
174,
|
| 172 |
+
103,
|
| 173 |
+
823,
|
| 174 |
+
174
|
| 175 |
+
],
|
| 176 |
+
"page_idx": 2
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"type": "text",
|
| 180 |
+
"text": "We conduct experiments in a number of applications, showing that in each of them our method outperforms existing methods quantitatively, qualitatively, and with user studies. For a medical imaging task (Cohen et al., 2018) that was recently calling attention to a major CycleGAN failure case (learning to accidentally add/remove tumors in an MRI image translation task), our proposed method provides a large improvement over CycleGAN, halving the mean-squared error, and generating images that radiologists prefer over competing methods in $9 5 \\%$ of cases. ",
|
| 181 |
+
"bbox": [
|
| 182 |
+
174,
|
| 183 |
+
180,
|
| 184 |
+
825,
|
| 185 |
+
263
|
| 186 |
+
],
|
| 187 |
+
"page_idx": 2
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"type": "text",
|
| 191 |
+
"text": "CONTRIBUTIONS ",
|
| 192 |
+
"text_level": 1,
|
| 193 |
+
"bbox": [
|
| 194 |
+
174,
|
| 195 |
+
281,
|
| 196 |
+
292,
|
| 197 |
+
295
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "1. We introduce smooth regularization over the graph for unpaired image-to-image translation to attain harmonic translations. \n2. When building an end-to-end learning pipeline, we adopt two alternative types of feature measures to compute the weight matrix for the graph Laplacian, one based on a soft histogram (Wang et al., 2016) and another based on semantic CNN (VGG) features (Simonyan & Zisserman, 2015). \n3. We show that this method results in significantly improved consistency for transformations. With experiments on multiple translation tasks, we demonstrate that HarmonicGAN outperforms the state-of-the-art. ",
|
| 204 |
+
"bbox": [
|
| 205 |
+
212,
|
| 206 |
+
301,
|
| 207 |
+
825,
|
| 208 |
+
439
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "2 RELATED WORK ",
|
| 215 |
+
"text_level": 1,
|
| 216 |
+
"bbox": [
|
| 217 |
+
176,
|
| 218 |
+
460,
|
| 219 |
+
344,
|
| 220 |
+
477
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "As discussed in the introduction, the general image-to-image translation task in the deep learning era was pioneered by (Isola et al., 2017), but there are prior works such as image analogies (Hertzmann et al., 2001) that aim at a similar goal, along with other exemplar-based methods (Efros & Freeman, 2001; Criminisi et al., 2004; Barnes et al., 2009). After (Isola et al., 2017), a series of other works have also exploited pixel-level reconstruction constraints to build connections between the source and target domains (Zhang et al., 2017; Wang et al., 2018). The image-to-image translation framework (Isola et al., 2017) is very powerful but it requires a sufficient amount of training data with paired source to target images, which are often laborious to obtain in the general tasks such as labeling (Long et al., 2015), synthesis (Chen & Koltun, 2017), and style transfer (Huang & Belongie, 2017). ",
|
| 227 |
+
"bbox": [
|
| 228 |
+
174,
|
| 229 |
+
492,
|
| 230 |
+
825,
|
| 231 |
+
631
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 2
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "text",
|
| 237 |
+
"text": "Unpaired image-to-image translation frameworks (Zhu et al., 2017a;b; Liu et al., 2017; Shrivastava et al., 2017; Kim et al., 2017) such as CycleGAN remove the requirement of having detailed pixellevel supervision. In CycleGAN this is achieved by enforcing a bi-directional prediction from source to target and target back to source, with an adversarial penalty in the translated images in the target domain. Similar unsupervised circularity-based approaches (Kim et al., 2017; Yi et al., 2017) have also been developed. The CycleGAN family models (Zhu et al., 2017a;b) point to an exciting direction of unsupervised approaches but they also create artifacts in many applications. As shown in Fig. 2, one reason for this is that the circularity constraint in CycleGAN lacks the straightforward description of the target domain, so it may change the inherent properties of the original samples and generate unexpected results which are inconsistent at different image locations. These failures have been prominently explored in recent works, showing that CycleGAN (Zhu et al., 2017a) may add or remove tumors accidentally in cross-modal medical image synthesis (Cohen et al., 2018), and that in the task of natural image transfiguration, e.g. from a horse to zebra, regions in the background may also be translated into a zebra-like texture (Zhu et al., 2018) (see Fig. 1 (b)). ",
|
| 238 |
+
"bbox": [
|
| 239 |
+
173,
|
| 240 |
+
638,
|
| 241 |
+
825,
|
| 242 |
+
833
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "Here we propose HarmonicGAN that introduces a smoothness term into the CycleGAN framework to enforce a regularized translation, enforcing similar image content in the source space to also be similar in the target space. We follow the general design principle in manifold learning (Tenenbaum et al., 2000; Roweis & Saul, 2000) and the development of harmonic functions in the graph-based semi-supervised learning literature (Zhu et al., 2003; Belkin et al., 2006; Zhu, 2006; Weston et al., 2012). There has been previous work, DistanceGAN (Benaim & Wolf, 2017), in which distance preservation was also implemented. However, DistanceGAN differs from HarmonicGAN in (1) motivation, (2) formulation, (3) implementation, and (4) performance. The primary motivation of DistanceGAN demonstrates an alternative loss term for the per-pixel difference in CycleGAN. In HarmonicGAN, we observe that the cycled per-pixel loss is effective and we aim to make the translation harmonic by introducing additional regularization. The smoothness term acts as a graph Laplacian imposed on all pairs of samples (using random samples in implementation). In the experimental results, we show that the artifacts in CycleGAN are still present in DistanceGAN, whereas HarmonicGAN provides a significant boost to the performance of CycleGAN. ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
174,
|
| 251 |
+
840,
|
| 252 |
+
825,
|
| 253 |
+
922
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "",
|
| 260 |
+
"bbox": [
|
| 261 |
+
174,
|
| 262 |
+
103,
|
| 263 |
+
825,
|
| 264 |
+
215
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 3
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "In addition, it is worth mentioning that the smoothness term proposed here is quite different from the binary term used in the Conditional Random Fields literature (Lafferty et al., 2001; Krahenb ¨ uhl &¨ Koltun, 2011), either fully supervised (Chen et al., 2018; Zheng et al., 2015) or weakly-supervised (Tang et al., 2018; Lin et al., 2016). The two differ in (1) output space (multi-class label vs. highdimensional features), (2) mathematical formulation (a joint conditional probably for the neighboring labels vs. a Laplacian function over the graph), (3) application domain (image labeling vs. image translation), (4) effectiveness (boundary smoothing vs. manifold structure preserving), and (5) the role in the overall algorithm (post-processing effect with relatively small improvement vs. large-area error correction). ",
|
| 271 |
+
"bbox": [
|
| 272 |
+
173,
|
| 273 |
+
222,
|
| 274 |
+
825,
|
| 275 |
+
347
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 3
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "3 HARMONICGAN FOR UNPAIRED IMAGE-TO-IMAGE TRANSLATION ",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
171,
|
| 285 |
+
367,
|
| 286 |
+
758,
|
| 287 |
+
383
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 3
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "Follothe tarwhere baain . T formulation in CycleGAN (Zhu et al.,, we consider unpaired training samples goal of image-to-image translation is to for the where ir of du doma, and ings, $X$ $Y$ $\\{ \\mathbf { x } _ { k } \\} _ { k = 1 } ^ { N }$ $\\mathbf { x } _ { k } \\in X$ $\\{ \\mathbf { y } _ { k } \\} _ { k = 1 } ^ { N }$ $\\mathbf { y } _ { k } \\in Y$ \nforward mapping $G : X Y$ and backward mapping $F : Y X$ . Two discriminators $D _ { X }$ and \n$D _ { Y }$ are adopted in (Zhu et al., 2017a) to distinguish between real images and generated images. \nIn particular, the discriminator $D _ { X }$ aims to distinguish real image $\\{ { \\bf x } \\}$ from the generated image \n$\\{ \\bar { F ( \\mathbf { y } ) } \\}$ ; similarly discriminator $D _ { Y }$ distinguishes $\\{ \\mathbf { y } \\}$ from $\\{ G ( \\mathbf { x } ) \\}$ . ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
173,
|
| 296 |
+
397,
|
| 297 |
+
825,
|
| 298 |
+
497
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 3
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "Therefore, the objective of adversarial constraint is applied in both source and target domains, expressed in (Zhu et al., 2017a) as: ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
169,
|
| 307 |
+
502,
|
| 308 |
+
821,
|
| 309 |
+
531
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 3
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "equation",
|
| 315 |
+
"img_path": "images/e9cfa318610eedad6997b6703858b0c3421febebcf720e8f9b0b1c4643a78d98.jpg",
|
| 316 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { G A N } } ( G , D _ { Y } , X , Y ) = \\mathbb { E } _ { { \\mathbf { y } } \\in Y } [ \\log D _ { Y } ( { \\mathbf { y } } ) ] + \\mathbb { E } _ { { \\mathbf { x } } \\in X } [ \\log ( 1 - D _ { Y } ( G ( { \\mathbf { x } } ) ) ) ] ,\n$$",
|
| 317 |
+
"text_format": "latex",
|
| 318 |
+
"bbox": [
|
| 319 |
+
253,
|
| 320 |
+
537,
|
| 321 |
+
743,
|
| 322 |
+
556
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 3
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "and ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
173,
|
| 331 |
+
563,
|
| 332 |
+
200,
|
| 333 |
+
575
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 3
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "equation",
|
| 339 |
+
"img_path": "images/b1f9bea9aa55f507949ee13c036aa543b5e855578615c432d24855513af8ae1d.jpg",
|
| 340 |
+
"text": "$$\n{ \\mathcal { L } } _ { \\mathrm { G A N } } ( F , D _ { X } , X , Y ) = \\mathbb { E } _ { \\mathbf { x } \\in X } [ \\log D _ { X } ( \\mathbf { x } ) ] + \\mathbb { E } _ { \\mathbf { y } \\in Y } [ \\log ( 1 - D _ { X } ( F ( \\mathbf { y } ) ) ) ] .\n$$",
|
| 341 |
+
"text_format": "latex",
|
| 342 |
+
"bbox": [
|
| 343 |
+
253,
|
| 344 |
+
574,
|
| 345 |
+
743,
|
| 346 |
+
590
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 3
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "For notational simplicity, we denote the GAN loss as ",
|
| 353 |
+
"bbox": [
|
| 354 |
+
173,
|
| 355 |
+
593,
|
| 356 |
+
522,
|
| 357 |
+
608
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 3
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "equation",
|
| 363 |
+
"img_path": "images/7deb5ea7bdf6bcfe2d165f05ee452cca0c834846808d84c38b4c71cf5c1b9e9e.jpg",
|
| 364 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { G A N } } ( G , F ) = \\arg \\operatorname* { m a x } _ { D _ { Y } , D _ { X } } [ \\mathcal { L } _ { \\mathrm { G A N } } ( G , D _ { Y } , X , Y ) + \\mathcal { L } _ { \\mathrm { G A N } } ( F , D _ { X } , X , Y ) ] .\n$$",
|
| 365 |
+
"text_format": "latex",
|
| 366 |
+
"bbox": [
|
| 367 |
+
256,
|
| 368 |
+
613,
|
| 369 |
+
740,
|
| 370 |
+
638
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "Since the data in the two domains are unpaired, a circularity constraint is introduced in (Zhu et al., 2017a) to establish relationships between $X$ and $Y$ . The circularity constraint enforces that $G$ and $F$ are a pair of inverse mappings, and that the translated sample can be mapped back to the original sample. The circularity constraint contains consistencies in two aspects: the forward cycle $\\mathbf { x } \\to G ( X ) \\to F ( G ( \\mathbf { x } ) ) \\sim \\mathbf { x }$ and the backward cycle $\\mathbf { y } \\to F ( \\mathbf { y } ) \\to G ( F ( \\mathbf { y } ) ) \\sim \\mathbf { y }$ . Thus, the circularity constraint is formulated as (Zhu et al., 2017a): ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
173,
|
| 379 |
+
652,
|
| 380 |
+
823,
|
| 381 |
+
737
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "equation",
|
| 387 |
+
"img_path": "images/ead1e00dc2f392580793739684a50d9d4c21315b5bd5fbaf22db0586601fd2fe.jpg",
|
| 388 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { \\mathrm { c y c } } ( G , F ) = \\mathbb { E } _ { \\mathbf { x } \\in X } | | F ( G ( \\mathbf { x } ) ) - \\mathbf { x } | | _ { 1 } + \\mathbb { E } _ { \\mathbf { y } \\in Y } | | G ( F ( \\mathbf { y } ) ) - \\mathbf { y } | | _ { 1 } . } \\end{array}\n$$",
|
| 389 |
+
"text_format": "latex",
|
| 390 |
+
"bbox": [
|
| 391 |
+
281,
|
| 392 |
+
742,
|
| 393 |
+
717,
|
| 394 |
+
761
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 3
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "Here we rewrite the overall objective in (Zhu et al., 2017a) to minimize as: ",
|
| 401 |
+
"bbox": [
|
| 402 |
+
178,
|
| 403 |
+
765,
|
| 404 |
+
661,
|
| 405 |
+
781
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "equation",
|
| 411 |
+
"img_path": "images/64ddd8923562ae7345b5bbcfa1d192a7be344c7d029f725365e59b97825b1473.jpg",
|
| 412 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { C y c l e G A N } } ( G , F ) = \\lambda _ { \\mathrm { G A N } } \\times \\mathcal { L } _ { \\mathrm { G A N } } ( G , F ) + \\lambda _ { \\mathrm { c y c } } \\times \\mathcal { L } _ { \\mathrm { c y c } } ( G , F ) ,\n$$",
|
| 413 |
+
"text_format": "latex",
|
| 414 |
+
"bbox": [
|
| 415 |
+
290,
|
| 416 |
+
786,
|
| 417 |
+
705,
|
| 418 |
+
804
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 3
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "where the weights $\\lambda _ { \\mathrm { G A N } }$ and $\\lambda _ { \\mathrm { c y c } }$ control the importance of the corresponding objectives. ",
|
| 425 |
+
"bbox": [
|
| 426 |
+
171,
|
| 427 |
+
810,
|
| 428 |
+
756,
|
| 429 |
+
825
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 3
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "3.1 SMOOTHNESS TERM OVER THE GRAPH ",
|
| 436 |
+
"text_level": 1,
|
| 437 |
+
"bbox": [
|
| 438 |
+
176,
|
| 439 |
+
842,
|
| 440 |
+
480,
|
| 441 |
+
856
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 3
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "The full objective of circularity-based approach contains adversarial constraints and a circularity constraint. The adversarial constraints ensure the generated samples are in the distribution of the source or target domain, but ignore the relationship between the input and output of the forward or backward translations. The circularity constraint establishes connections between the source and target domain by forcing the forward and backward translations to be the inverse of each other. However, CycleGAN has limitations: as shown in Fig. 2, the circular projection might perfectly match the input, and the translated image might look very well like a real one, but the translated image may not maintain the inherent property of the input and contain a large artifact that is not connected to the input. ",
|
| 448 |
+
"bbox": [
|
| 449 |
+
174,
|
| 450 |
+
867,
|
| 451 |
+
823,
|
| 452 |
+
924
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 3
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "image",
|
| 458 |
+
"img_path": "images/adfdd441402b193fda323c1a37669af4bbf6c0840412563d205f9709ae0962c3.jpg",
|
| 459 |
+
"image_caption": [
|
| 460 |
+
"Figure 3: Architecture of HarmonicGAN, consisting of a pair of inverse generators $G$ , $F$ and two discriminators $D _ { X }$ , $D _ { Y }$ . The objective combines an adversarial constraint, circularity constraint and smoothness term. "
|
| 461 |
+
],
|
| 462 |
+
"image_footnote": [],
|
| 463 |
+
"bbox": [
|
| 464 |
+
178,
|
| 465 |
+
107,
|
| 466 |
+
818,
|
| 467 |
+
332
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 4
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "",
|
| 474 |
+
"bbox": [
|
| 475 |
+
174,
|
| 476 |
+
406,
|
| 477 |
+
825,
|
| 478 |
+
477
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 4
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"text": "Here we propose a smoothness term to enforce a stronger correlation between the source and target domains that focuses on providing similarity-consistency between image patches during the translation. The smoothness term defines a graph Laplacian with the minimal value achieved as a harmonic function. We define the set consisting of individual image patches as the nodes of the graph $\\mathcal { G }$ . $\\vec { x } _ { i }$ is referred to as the feature vector of the $i$ -th image patch in $\\mathbf { x } \\in X$ . For the image set $X$ , we define the set that consists of individual samples (image patches) of source image set $X$ as $S = \\{ \\vec { x } ( i ) , i = 1 . . M \\}$ where $M$ is the total number of the samples/patches. An affinity measure (similarity) computed on image patch $\\vec { x } ( i )$ and image patch $\\vec { x } ( j )$ , $w _ { i j } ( X )$ (a scalar), defines the edge on the graph $\\mathcal { G }$ of $S$ . The smoothness term acts as a graph Laplacian imposed on all pairs of image patches. Therefore, we define a smoothness term over the graph as ",
|
| 485 |
+
"bbox": [
|
| 486 |
+
173,
|
| 487 |
+
483,
|
| 488 |
+
825,
|
| 489 |
+
622
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 4
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "equation",
|
| 495 |
+
"img_path": "images/ba878ad513a5983dbe228fa4e31d6f4c1b59093965e7ffa2cd44289531d76f33.jpg",
|
| 496 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { \\mathrm { S m o u t } } ( G , X , Y ) = \\mathbb { E } _ { \\mathbf { x } \\in X } \\left[ \\sum _ { i , j } w _ { i j } ( X ) \\times D i s t [ G ( \\vec { x } ) ( i ) , G ( \\vec { x } ) ( j ) ] + \\sum _ { i , j } w _ { i j } ( G ( X ) ) \\times D i s t [ F ( G ( \\vec { x } ) ) ( i ) , F ( G ( \\vec { x } ) ) ( j ) ] \\right] , } \\end{array}\n$$",
|
| 497 |
+
"text_format": "latex",
|
| 498 |
+
"bbox": [
|
| 499 |
+
179,
|
| 500 |
+
627,
|
| 501 |
+
813,
|
| 502 |
+
646
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 4
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "where $w _ { i j } ( X ) = \\exp \\{ - D i s t [ \\vec { x } ( i ) , \\vec { x } ( j ) ] / \\sigma ^ { 2 } \\}$ (Zhu et al., 2003) defines the affinity between two patches $\\vec { x } ( i )$ and $\\vec { x } ( j )$ based on their distances (e.g. measured on histogram or CNN features). $D i s t [ G ( \\vec { y } ) ( i ) , G ( \\vec { y } ) ( j ) ]$ defines the distance between two image patches after translation at the same locations. In implementation, we first normalize the features to the scale of [0,1] and then use the L1 distance of normalized features as the Dist function (for both histogram and CNN features). Similarly, we define a smoothness term for the backward part as ",
|
| 509 |
+
"bbox": [
|
| 510 |
+
174,
|
| 511 |
+
656,
|
| 512 |
+
825,
|
| 513 |
+
741
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "equation",
|
| 519 |
+
"img_path": "images/99b31867fcc9047c659676520a8e28673a72c8b9cf2f8ec1766ce463f62c9ff2.jpg",
|
| 520 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { \\mathrm { S m o u t } } ( F , Y , X ) = \\mathbb { E } _ { \\mathbf { y } \\in Y } \\Big [ \\sum _ { i , j } w _ { i j } ( Y ) \\times D i s t [ F ( \\vec { y } ) ( i ) , F ( \\vec { y } ) ( j ) ] + \\sum _ { i , j } w _ { i j } ( F ( Y ) ) \\times D i s t [ G ( F ( \\vec { y } ) ) ( i ) , G ( F ( \\vec { y } ) ) ( j ) ] \\Big ] , } \\end{array}\n$$",
|
| 521 |
+
"text_format": "latex",
|
| 522 |
+
"bbox": [
|
| 523 |
+
186,
|
| 524 |
+
746,
|
| 525 |
+
810,
|
| 526 |
+
765
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 4
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "text",
|
| 532 |
+
"text": "The combined loss for the smoothness thus becomes ",
|
| 533 |
+
"bbox": [
|
| 534 |
+
176,
|
| 535 |
+
775,
|
| 536 |
+
519,
|
| 537 |
+
790
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 4
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "equation",
|
| 543 |
+
"img_path": "images/ab73dc43fa2b5cf505a1f097475e66bb2731e523eb02d845db25c3997660d5c0.jpg",
|
| 544 |
+
"text": "$$\n{ \\mathcal { L } } _ { \\mathrm { S m o o t h } } ( G , F ) = { \\mathcal { L } } _ { \\mathrm { S m o o t h } } ( G , X , Y ) + { \\mathcal { L } } _ { \\mathrm { S m o o t h } } ( F , Y , X ) .\n$$",
|
| 545 |
+
"text_format": "latex",
|
| 546 |
+
"bbox": [
|
| 547 |
+
313,
|
| 548 |
+
795,
|
| 549 |
+
683,
|
| 550 |
+
813
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 4
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "text",
|
| 556 |
+
"text": "3.2 OVERALL OBJECTIVE FUNCTION ",
|
| 557 |
+
"text_level": 1,
|
| 558 |
+
"bbox": [
|
| 559 |
+
176,
|
| 560 |
+
828,
|
| 561 |
+
439,
|
| 562 |
+
843
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 4
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "text",
|
| 568 |
+
"text": "As shown in Fig. 3, HarmonicGAN consists of a pair of inverse generators $G$ , $F$ and two discriminators $D _ { X } , D _ { Y }$ , defined in Eqn. (1) and Eqn. (2). The full objective combines an adversarial constraint (see Eqn. (3)), a circularity constraint (see Eqn. (4)), and a smoothness term (see Eqn. (8)). The adversarial constraint forces the translated images to be plausible and indistinguishable from the real images; the circularity constraint ensures the cycle-consistency of translated images; and the smoothness term provides a stronger similarity-consistency between patches to maintain inherent properties of the images. ",
|
| 569 |
+
"bbox": [
|
| 570 |
+
174,
|
| 571 |
+
853,
|
| 572 |
+
825,
|
| 573 |
+
924
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 4
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "image",
|
| 579 |
+
"img_path": "images/46e6c62829e8f49b4103ba63cc0b44325c2be733a85eee92f4bb0d85c7dc7f29.jpg",
|
| 580 |
+
"image_caption": [
|
| 581 |
+
"Figure 4: Visualization using t-SNE (Maaten & Hinton, 2008) to illustrate the effectiveness of the smoothness term in HarmonicGAN (best viewed in color). As shown in the top two figures (source and target respectively), the smoothness term acts as a graph Laplacian imposed on all pairs of image patches. Bottom-left: For two similar patches in the original sample, if one patch is translated to a tumor region while the other is not, the two patches will have a large distance in the target space, resulting in a translation that incorrectly adds a tumor into the original sample (result for CycleGAN shown). Bottom-right: For two similar patches in the original sample, if the translation maintains the non-tumor property of these two patches in the translated sample then the two patches will also be similar in the target space (result for HarmonicGAN shown). "
|
| 582 |
+
],
|
| 583 |
+
"image_footnote": [],
|
| 584 |
+
"bbox": [
|
| 585 |
+
181,
|
| 586 |
+
117,
|
| 587 |
+
816,
|
| 588 |
+
410
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 5
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "",
|
| 595 |
+
"bbox": [
|
| 596 |
+
174,
|
| 597 |
+
556,
|
| 598 |
+
823,
|
| 599 |
+
585
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 5
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"text": "Combining Eqn. (5) and Eqn. (8), the overall objective for our proposed HarmonicGAN under the smoothness constraint becomes ",
|
| 606 |
+
"bbox": [
|
| 607 |
+
173,
|
| 608 |
+
590,
|
| 609 |
+
823,
|
| 610 |
+
619
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 5
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "equation",
|
| 616 |
+
"img_path": "images/6b5da6232b865e1088756617fd3f284e5cdd7b2285682ecde2274c15e496514e.jpg",
|
| 617 |
+
"text": "$$\n{ \\mathcal { L } } _ { \\mathrm { H a r m o n i c G A N } } ( G , F ) = { \\mathcal { L } } _ { \\mathrm { C y c l e G A N } } ( G , F ) + \\lambda _ { \\mathrm { S m o o t h } } \\times { \\mathcal { L } } _ { \\mathrm { S m o o t h } } ( G , F ) .\n$$",
|
| 618 |
+
"text_format": "latex",
|
| 619 |
+
"bbox": [
|
| 620 |
+
276,
|
| 621 |
+
623,
|
| 622 |
+
722,
|
| 623 |
+
641
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 5
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "Similar to the graph-based semi-supervised learning definition (Zhu et al., 2003; Zhu, 2006), the solution to Eqn. (9) leads to a harmonic function. The optimization process during training obtains: ",
|
| 630 |
+
"bbox": [
|
| 631 |
+
173,
|
| 632 |
+
643,
|
| 633 |
+
823,
|
| 634 |
+
671
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 5
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "equation",
|
| 640 |
+
"img_path": "images/8b567d2400ff2a9fb2452c7802822bcaa3adf114f8e82c6ab80fdf39c5d499a8.jpg",
|
| 641 |
+
"text": "$$\nG ^ { * } , F ^ { * } = \\arg \\operatorname* { m i n } _ { G , F } { \\mathcal { L } } _ { \\mathrm { H a r m o n i c G A N } } ( G , F ) .\n$$",
|
| 642 |
+
"text_format": "latex",
|
| 643 |
+
"bbox": [
|
| 644 |
+
369,
|
| 645 |
+
674,
|
| 646 |
+
629,
|
| 647 |
+
699
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 5
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "The effectiveness of the smoothness term of Eqn. (8) is evident. In Fig. 4, we show (using tSNE (Maaten & Hinton, 2008)) that the local neighborhood structure is being preserved by HarmonicGAN, whereas CycleGAN results in two similar patches being far apart after translation. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
702,
|
| 657 |
+
821,
|
| 658 |
+
744
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 5
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "3.3 FEATURE DESIGN ",
|
| 665 |
+
"text_level": 1,
|
| 666 |
+
"bbox": [
|
| 667 |
+
174,
|
| 668 |
+
761,
|
| 669 |
+
336,
|
| 670 |
+
775
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 5
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "In the smoothness constraint, the similarity of a pair of patches is measured on the features for each patch (sample point). All the patches in an image form a graph. Here we adopt two types of features: (1) a low-level soft histogram, and (2) pre-trained CNN (VGG) features that carry semantic information. Soft histogram features are lightweight and easy to implement but without much semantic information; VGG requires an additional CNN network but carries more semantics. ",
|
| 677 |
+
"bbox": [
|
| 678 |
+
174,
|
| 679 |
+
786,
|
| 680 |
+
825,
|
| 681 |
+
857
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 5
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "3.3.1 SOFT RGB HISTOGRAM FEATURES ",
|
| 688 |
+
"text_level": 1,
|
| 689 |
+
"bbox": [
|
| 690 |
+
176,
|
| 691 |
+
871,
|
| 692 |
+
468,
|
| 693 |
+
886
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "We first design a weight matrix based on simple low-level RGB histograms. To make the end-to-end learning system work, it is crucial to make the computation of gradient in the histograms derivable. ",
|
| 700 |
+
"bbox": [
|
| 701 |
+
174,
|
| 702 |
+
895,
|
| 703 |
+
825,
|
| 704 |
+
924
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 5
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "We adopt a soft histogram representation proposed in (Wang et al., 2016) but fix the means and the bin size. This histogram representation is differentiable and its gradient is back-propagateable. This soft histogram function contains a family of linear basis functions $\\psi _ { b } , b = 1 , \\ldots , B$ , where $B$ is the number of bins in the histogram. As $\\vec { x } _ { i }$ represents the $i$ -th patch in image domain $X$ , for each pixel $j$ in $\\vec { x } _ { i }$ , $\\psi _ { b } ( \\vec { x } _ { i } ( j ) )$ represents pixel $j$ voting for the b-th bin, expressed as: ",
|
| 711 |
+
"bbox": [
|
| 712 |
+
173,
|
| 713 |
+
103,
|
| 714 |
+
823,
|
| 715 |
+
174
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 6
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "equation",
|
| 721 |
+
"img_path": "images/fbb0e3b07a8b59159918aa5bc058abe3a30ed64c98fb7f3a6d0ed7b235f5dd73.jpg",
|
| 722 |
+
"text": "$$\n\\begin{array} { r } { \\psi _ { b } ( \\vec { x } _ { i } ( j ) ) = \\mathrm { m a x } \\{ 0 , 1 - | \\vec { x } _ { i } ( j ) - \\mu _ { b } | \\times w _ { b } \\} , } \\end{array}\n$$",
|
| 723 |
+
"text_format": "latex",
|
| 724 |
+
"bbox": [
|
| 725 |
+
346,
|
| 726 |
+
178,
|
| 727 |
+
650,
|
| 728 |
+
195
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 6
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "where $\\mu _ { b }$ and $w _ { b }$ are the center and width of the b-th bin. The representation of $\\vec { x } _ { i }$ in the RGB space is the linear combination of linear basis functions on all the pixels in $\\vec { x } _ { i }$ , expressed as: ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
171,
|
| 737 |
+
200,
|
| 738 |
+
823,
|
| 739 |
+
228
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 6
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "equation",
|
| 745 |
+
"img_path": "images/1bf002b98bdfbc1cb3fff9b95edf03827ffb9cfb54d97691312befaf4ff1fb96.jpg",
|
| 746 |
+
"text": "$$\n\\phi _ { h } ( X , i , b ) = \\phi _ { h } ( \\vec { x } _ { i } , b ) = \\sum _ { j } \\psi _ { b } ( \\vec { x } _ { i } ( j ) ) ,\n$$",
|
| 747 |
+
"text_format": "latex",
|
| 748 |
+
"bbox": [
|
| 749 |
+
361,
|
| 750 |
+
233,
|
| 751 |
+
635,
|
| 752 |
+
268
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 6
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "where $\\phi _ { h }$ is the RGB histogram feature, $b$ is the index of dimension of the RGB histogram representation, and $j$ represents any pixel in the patch $\\vec { x } _ { i }$ . The RGB histogram representation $\\phi _ { h } ( X , i )$ of $\\vec { x } _ { i }$ is a $B$ -dimensional vector. ",
|
| 759 |
+
"bbox": [
|
| 760 |
+
174,
|
| 761 |
+
272,
|
| 762 |
+
825,
|
| 763 |
+
314
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 6
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "3.3.2 SEMANTIC CNN FEATURES ",
|
| 770 |
+
"text_level": 1,
|
| 771 |
+
"bbox": [
|
| 772 |
+
176,
|
| 773 |
+
329,
|
| 774 |
+
419,
|
| 775 |
+
343
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 6
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "For some domains we instead use semantic features to acquire higher-level representations of patches. The semantic representations are extracted from a pre-trained Convolutional Neural Network (CNN). The CNN encodes semantically relevant features from training on a large-scale dataset. It extracts semantic information of local patches in the image through multiple pooling or stride operators. Each point in the feature maps of the CNN is a semantic descriptor of the corresponding image patch. Additionally, the semantic features learned from the CNN are differentiable and the CNN can be integrated into HarmonicGAN and be trained end-to-end. We instantiate the semantic feature $\\phi _ { s }$ as a pre-trained CNN model e.g. VGGNet (Simonyan & Zisserman, 2014). In implementation, we select the layer 4 3 after ReLU from VGG-16 network for computing the semantic features. ",
|
| 782 |
+
"bbox": [
|
| 783 |
+
173,
|
| 784 |
+
354,
|
| 785 |
+
825,
|
| 786 |
+
492
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 6
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "4 EXPERIMENTS ",
|
| 793 |
+
"text_level": 1,
|
| 794 |
+
"bbox": [
|
| 795 |
+
176,
|
| 796 |
+
512,
|
| 797 |
+
326,
|
| 798 |
+
529
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 6
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "We evaluate the proposed method on three different applications: medical imaging, semantic labeling, and object transfiguration. We compare against several unpaired image-to-image translation methods: CycleGAN (Zhu et al., 2017a), DiscoGAN (Kim et al., 2017), DistanceGAN (Benaim & Wolf, 2017), and UNIT (Liu et al., 2017). We also provide two user studies as well as qualitative results. The appendix provides additional results and analysis. ",
|
| 805 |
+
"bbox": [
|
| 806 |
+
174,
|
| 807 |
+
544,
|
| 808 |
+
825,
|
| 809 |
+
614
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 6
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "4.1 DATASETS AND EVALUATION METRICS ",
|
| 816 |
+
"text_level": 1,
|
| 817 |
+
"bbox": [
|
| 818 |
+
176,
|
| 819 |
+
630,
|
| 820 |
+
485,
|
| 821 |
+
645
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 6
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "Medical imaging. This task evaluates cross-modal medical image synthesis, Flair $ \\mathrm { T } 1$ . The models are trained on the BRATS dataset (Menze et al., 2015) which contains paired MRI data to allow quantitative evaluation. Similar to the previous work (Cohen et al., 2018), we use a training set of 1400 image slices $50 \\%$ healthy and $50 \\%$ tumors) and a test set of 300, and use their unpaired training scenario. We adopt the Mean Absolute Error (MAE) and the Mean Squared Error (MSE) between the generated images and the real images to evaluate the reconstruction errors, and further use the Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index Measure (SSIM) to evaluate the reconstruction quality of generated images. ",
|
| 828 |
+
"bbox": [
|
| 829 |
+
174,
|
| 830 |
+
656,
|
| 831 |
+
825,
|
| 832 |
+
767
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 6
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "Semantic labeling. We also test our method on the labels photos task using the Cityscapes dataset (Cordts et al., 2016) under the unpaired setting as in the original CycleGAN paper. For quantitative evaluation, in line with previous work, for labels photos we adopt the “FCN score” (Isola et al., 2017), which evaluates how interpretable the generated photos are according to a semantic segmentation algorithm. For photos labels, we use the standard segmentation metrics, including per-pixel accuracy, per-class accuracy, and mean class Intersection-Over-Union (Class IOU). ",
|
| 839 |
+
"bbox": [
|
| 840 |
+
174,
|
| 841 |
+
782,
|
| 842 |
+
825,
|
| 843 |
+
867
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 6
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"text": "Object transfiguration. Finally, we test our method on the horse zebra task using the standard CycleGAN dataset (2401 training images, 260 test images). This task does not have a quantitative evaluation measure, so we instead provide a user study together with qualitative results. ",
|
| 850 |
+
"bbox": [
|
| 851 |
+
176,
|
| 852 |
+
882,
|
| 853 |
+
823,
|
| 854 |
+
924
|
| 855 |
+
],
|
| 856 |
+
"page_idx": 6
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "text",
|
| 860 |
+
"text": "4.2 IMPLEMENTATION DETAILS ",
|
| 861 |
+
"text_level": 1,
|
| 862 |
+
"bbox": [
|
| 863 |
+
176,
|
| 864 |
+
103,
|
| 865 |
+
406,
|
| 866 |
+
117
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 7
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "We apply the proposed smoothness term on the framework of CycleGAN (Zhu et al., 2017a). Similar with CycleGAN, we adopt the architecture of (Johnson et al., 2016) as the generator and the PatchGAN (Isola et al., 2017) as the discriminator. The log likelihood objective in the original GAN is replaced with a least-squared loss (Mao et al., 2017) for more stable training. We resize the input images to the size of $2 5 6 \\times 2 5 6$ . For the histogram feature, we equally split the RGB range of [0, 255] to 16 bins, each with a range of 16. Images are divided into non-overlapping patches of $8 ~ \\times$ 8 and the histogram feature is computed on each patch. For the semantic feature, we adopt a VGG network pre-trained on ImageNet to obtain semantic features. We select the feature map of layer relu4 3 in VGG. The loss weights are set as $\\lambda _ { \\mathrm { G A N } } = \\lambda _ { \\mathrm { S m o o t h } } = 1$ , $\\lambda _ { \\mathrm { c y c } } = 1 0$ . Following CycleGAN, we adopt the Adam optimizer (Kingma & Ba, 2015) with a learning rate of 0.0002. The learning rate is fixed for the first 100 epochs and linearly decayed to zero over the next 100 epochs. ",
|
| 873 |
+
"bbox": [
|
| 874 |
+
173,
|
| 875 |
+
130,
|
| 876 |
+
825,
|
| 877 |
+
282
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 7
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "text",
|
| 883 |
+
"text": "4.3 QUANTITATIVE COMPARISON ",
|
| 884 |
+
"text_level": 1,
|
| 885 |
+
"bbox": [
|
| 886 |
+
176,
|
| 887 |
+
299,
|
| 888 |
+
418,
|
| 889 |
+
314
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 7
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "Medical imaging. Table 1 shows the reconstruction performance on medical image synthesis, Flair $ \\mathrm { { T } 1 }$ . The proposed method yields a large improvement over CycleGAN, showing lower MAE and MSE reconstruction losses, and higher PSNR and SSIM reconstruction scores, highlighting the significance of the proposed smoothness regularization. HarmonicGAN based on histogram and VGG features shows similar performance; the reconstruction losses of histogram-based HarmonicGAN are slightly lower than the VGG-based one in Flair $ \\mathrm { T } 1$ , while they are slightly higher in $\\mathrm { T } 1 $ Flair, indicating that both low-level RGB values and high-level CNN features can represent the inherent property of medical images well and help to maintain the smoothness-consistency of samples. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
173,
|
| 898 |
+
325,
|
| 899 |
+
825,
|
| 900 |
+
450
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 7
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "table",
|
| 906 |
+
"img_path": "images/902d727e8c406ff74795529af1eeb9bacc2d6699581834d7b5448be3f9459b6e.jpg",
|
| 907 |
+
"table_caption": [
|
| 908 |
+
"Table 1: Reconstruction evaluation of cross-modal medical image synthesis on the BRATS dataset. "
|
| 909 |
+
],
|
| 910 |
+
"table_footnote": [],
|
| 911 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"4\">Flair→T1</td><td colspan=\"4\">T1→Flair</td></tr><tr><td>MAE↓</td><td>MSE↓</td><td>PSNR↑</td><td>SSIM↑</td><td>MAE↓</td><td>MSE↓</td><td>PSNR ↑</td><td>SSIM↑</td></tr><tr><td>CycleGAN</td><td>10.47</td><td>674.40</td><td>22.35</td><td>0.80</td><td>11.81</td><td>1026.19</td><td>18.73</td><td>0.74</td></tr><tr><td>DiscoGAN</td><td>10.63</td><td>641.35</td><td>20.06</td><td>0.79</td><td>10.66</td><td>839.15</td><td>19.14</td><td>0.69</td></tr><tr><td>DistanceGAN</td><td>14.93</td><td>1197.64</td><td>17.92</td><td>0.67</td><td>10.57</td><td>716.75</td><td>19.95</td><td>0.64</td></tr><tr><td>UNIT</td><td>9.48</td><td>439.33</td><td>22.24</td><td>0.76</td><td>6.69</td><td>261.26</td><td>25.11</td><td>0.76</td></tr><tr><td colspan=\"9\">HarmonicGAN (ours)</td></tr><tr><td>Histogram</td><td>6.38</td><td>216.83</td><td>24.34</td><td>0.83</td><td>5.04</td><td>163.29</td><td>26.72</td><td>0.75</td></tr><tr><td>VGG</td><td>6.86</td><td>237.94</td><td>24.14</td><td>0.81</td><td>4.69</td><td>127.84</td><td>27.22</td><td>0.76</td></tr></table>",
|
| 912 |
+
"bbox": [
|
| 913 |
+
176,
|
| 914 |
+
489,
|
| 915 |
+
833,
|
| 916 |
+
621
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 7
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "Semantic labeling. We report semantic labeling results in Table 2. The proposed method using VGG features yields a $3 \\%$ improvement in Pixel Accuracy in translation scores for photo label and also shows stable improvements in other metrics, clearly outperforming all competing methods. The performance using a histogram is slightly lower than CycleGAN; we hypothesize that the reason is that the objects in photos have a large intra-class variance and inter-class similarity in appearance, e.g. cars have different colors, while vegetation and terrain have similar colors, thus the regularization of the RGB histogram is not appropriate to extract the inherent property of photos. ",
|
| 923 |
+
"bbox": [
|
| 924 |
+
174,
|
| 925 |
+
643,
|
| 926 |
+
825,
|
| 927 |
+
742
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 7
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "4.4 USER STUDIES ",
|
| 934 |
+
"text_level": 1,
|
| 935 |
+
"bbox": [
|
| 936 |
+
176,
|
| 937 |
+
758,
|
| 938 |
+
316,
|
| 939 |
+
772
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 7
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Medical imaging. We randomly selected 100 images from BRATS test set. For each image, we showed one radiologist the real ground truth image, followed by images generated by CycleGAN, DistanceGAN and HarmonicGAN (different order for each image set to avoid bias). The radiologist was told to evaluate similarity by how likely they would lead to the same clinical diagnosis, and was asked to rate similarity of the generation methods on a Likert scale from 1 to 5 (1 is not similar at all, 5 is exactly same). Results are in shown in Table 3. In $9 5 \\%$ of cases, the radiologist preferred images generated by our method over the competing methods, and the average Likert score was 4.00 compared to 1.68 for CycleGAN, confirming that our generated images are significantly better. This is significant as it confirms that we solve the issue presented in a recent paper (Cohen et al., 2018) showing that CycleGAN can learn to accidentally add/remove tumors in images. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
174,
|
| 948 |
+
784,
|
| 949 |
+
825,
|
| 950 |
+
924
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 7
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "image",
|
| 956 |
+
"img_path": "images/cda88029c448fdb9092c985dc74da17ec1c06eb7f1004111ce4db63c0d1275ff.jpg",
|
| 957 |
+
"image_caption": [
|
| 958 |
+
"Figure 5: Qualitative comparison for BRATS, Cityscapes and horse zebra (see appendix for more images). "
|
| 959 |
+
],
|
| 960 |
+
"image_footnote": [],
|
| 961 |
+
"bbox": [
|
| 962 |
+
196,
|
| 963 |
+
117,
|
| 964 |
+
815,
|
| 965 |
+
863
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 8
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "table",
|
| 971 |
+
"img_path": "images/7745dd45cf4a0fd17f390dc133a2362ae259bee6e2a18ea762f21785fa6e30af.jpg",
|
| 972 |
+
"table_caption": [
|
| 973 |
+
"Table 2: FCN scores of Photo Label translation on the Cityscapes dataset. "
|
| 974 |
+
],
|
| 975 |
+
"table_footnote": [],
|
| 976 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"3\">Label →Photo</td><td colspan=\"3\">Photo →Label</td></tr><tr><td>Pixel Acc. ↑</td><td>Class Acc.↑</td><td>Class IoU↑</td><td>Pixel Acc. ↑</td><td>Class Acc. ↑</td><td>Class IoU↑</td></tr><tr><td>CycleGAN</td><td>52.7</td><td>15.2</td><td>11.0</td><td>57.2</td><td>21.0</td><td>15.7</td></tr><tr><td>DiscoGAN</td><td>45.0</td><td>11.1</td><td>7.0</td><td>45.2</td><td>10.9</td><td>6.3</td></tr><tr><td>DistanceGAN</td><td>48.5</td><td>10.9</td><td>7.3</td><td>20.5</td><td>8.2</td><td>3.4</td></tr><tr><td>UNIT</td><td>48.5</td><td>12.9</td><td>7.9</td><td>56.0</td><td>20.5</td><td>14.3</td></tr><tr><td colspan=\"7\">HarmonicGAN (ours)</td></tr><tr><td>Histogram</td><td>52.2</td><td>14.8</td><td>10.9</td><td>56.6</td><td>20.9</td><td>15.7</td></tr><tr><td>VGG</td><td>55.9</td><td>17.6</td><td>13.3</td><td>59.8</td><td>22.1</td><td>17.2</td></tr></table>",
|
| 977 |
+
"bbox": [
|
| 978 |
+
214,
|
| 979 |
+
126,
|
| 980 |
+
784,
|
| 981 |
+
270
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 9
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "table",
|
| 987 |
+
"img_path": "images/760c877a93dfb32acd27cbffe1c345c5a5c2ffc81477e5da4ffd3dcd54caa6d4.jpg",
|
| 988 |
+
"table_caption": [
|
| 989 |
+
"Table 3: User study on the BRATS dataset. "
|
| 990 |
+
],
|
| 991 |
+
"table_footnote": [],
|
| 992 |
+
"table_body": "<table><tr><td>Metric</td><td>CycleGAN</td><td>DistanceGAN</td><td>HarmonicGAN</td></tr><tr><td>Prefer[%]↑</td><td>5</td><td>0</td><td>95</td></tr><tr><td>Mean Likert 个</td><td>1.68</td><td>1.62</td><td>4.00</td></tr><tr><td>Std Likert</td><td>0.99</td><td>0.95</td><td>0.88</td></tr></table>",
|
| 993 |
+
"bbox": [
|
| 994 |
+
186,
|
| 995 |
+
309,
|
| 996 |
+
495,
|
| 997 |
+
359
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 9
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "table",
|
| 1003 |
+
"img_path": "images/69378398a689a6641adc7780ef5757d4604846b9fce8830e8e556fdfa1dd6a8b.jpg",
|
| 1004 |
+
"table_caption": [
|
| 1005 |
+
"Table 4: User study on the horse to zebra dataset. "
|
| 1006 |
+
],
|
| 1007 |
+
"table_footnote": [],
|
| 1008 |
+
"table_body": "<table><tr><td>Metric</td><td>CycleGAN</td><td>DistanceGAN</td><td>HarmonicGAN</td></tr><tr><td>Prefer[%]↑</td><td>28</td><td>0</td><td>72</td></tr><tr><td>Mean Likert↑</td><td>3.16</td><td>1.08</td><td>3.60</td></tr><tr><td>Std Likert</td><td>0.81</td><td>0.23</td><td>0.78</td></tr></table>",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
517,
|
| 1011 |
+
309,
|
| 1012 |
+
826,
|
| 1013 |
+
359
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 9
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Object transfiguration. We evaluate our algorithm on horse zebra with a human perceptual study. We randomly selected 50 images from the horse2zebra test set and showed the input images and three generated images from CycleGAN, DistanceGAN and HarmonicGAN (with generated images in random order). 10 participants were asked to score the generated images on a Likert scale from 1 to 5 (as above). As shown in Table 4, the participants give the highest score to the proposed method (in $72 \\%$ of cases), significantly more often than CycleGAN (in $28 \\%$ of cases). Additionally, the average Likert score of our method was 3.60, outperforming 3.16 of CycleGAN and 1.08 of DistanceGAN, indicating that our method generates better results. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
174,
|
| 1022 |
+
385,
|
| 1023 |
+
825,
|
| 1024 |
+
497
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 9
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "4.5 QUALITATIVE COMPARISON ",
|
| 1031 |
+
"text_level": 1,
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
176,
|
| 1034 |
+
513,
|
| 1035 |
+
408,
|
| 1036 |
+
527
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 9
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "Medical imaging. Fig. 5 shows the qualitative comparison of the proposed method (HarmonicGAN) and the baseline methods CycleGAN on Flair $ \\mathrm { T } 1$ . It shows that CycleGAN may remove tumors in the original images and add tumors to other locations in the brain. In contrast, our method preserves the location of tumors, confirming that the harmonic regularization can maintain the inherent property of tumor/non-tumor regions and solves the tumor add/remove problem introduced in Cohen et al. (2018). More results and analysis are shown in Fig. 6 and Fig. 9. ",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
174,
|
| 1045 |
+
539,
|
| 1046 |
+
825,
|
| 1047 |
+
623
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 9
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "Object transfiguration. Fig. 5 shows a qualitative comparison of our method on the horse zebra task. We observe that we correct several problems in CycleGAN, including not changing the background and performing more complete transformations. More results and analysis are shown in Fig. 7 and Fig. 10. ",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
176,
|
| 1056 |
+
638,
|
| 1057 |
+
825,
|
| 1058 |
+
695
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 9
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "5 CONCLUSION ",
|
| 1065 |
+
"text_level": 1,
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
176,
|
| 1068 |
+
714,
|
| 1069 |
+
318,
|
| 1070 |
+
731
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 9
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "We introduce a smoothness term over the sample graph to enforce smoothness-consistency between the source and target domains. We have shown that by introducing additional regularization to enforce consistent mappings during the image-to-image translation, the inherent self-consistency property of samples can be maintained. Through a set of quantitative, qualitative and user studies, we have demonstrated that this results in a significant improvement over the current state-of-the-art methods in a number of applications including medical imaging, object transfiguration, and semantic labeling. In a medical imaging task in particular our method provides a very significant improvement over CycleGAN. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
174,
|
| 1079 |
+
746,
|
| 1080 |
+
825,
|
| 1081 |
+
858
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 9
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": "REFERENCES ",
|
| 1088 |
+
"text_level": 1,
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
176,
|
| 1091 |
+
102,
|
| 1092 |
+
287,
|
| 1093 |
+
118
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 10
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein generative adversarial networks. ´ In ICML, 2017. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
173,
|
| 1102 |
+
126,
|
| 1103 |
+
823,
|
| 1104 |
+
154
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 10
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Connelly Barnes, Eli Shechtman, Adam Finkelstein, and Dan B Goldman. Patchmatch: A randomized correspondence algorithm for structural image editing. ACM Trans. Graphics (ToG), 2009. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
174,
|
| 1113 |
+
164,
|
| 1114 |
+
823,
|
| 1115 |
+
207
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 10
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Mikhail Belkin, Partha Niyogi, and Vikas Sindhwani. Manifold regularization: A geometric framework for learning from labeled and unlabeled examples. JMLR, 2006. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
171,
|
| 1124 |
+
217,
|
| 1125 |
+
823,
|
| 1126 |
+
244
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 10
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Sagie Benaim and Lior Wolf. One-sided unsupervised domain mapping. In NIPS, 2017. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
173,
|
| 1135 |
+
255,
|
| 1136 |
+
751,
|
| 1137 |
+
270
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 10
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, and Alan L Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE transactions on pattern analysis and machine intelligence, 40(4): 834–848, 2018. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
173,
|
| 1146 |
+
279,
|
| 1147 |
+
825,
|
| 1148 |
+
335
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 10
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Qifeng Chen and Vladlen Koltun. Photographic image synthesis with cascaded refinement networks. In ICCV, 2017. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
174,
|
| 1157 |
+
344,
|
| 1158 |
+
821,
|
| 1159 |
+
373
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 10
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Joseph Paul Cohen, Margaux Luck, and Sina Honari. Distribution matching losses can hallucinate features in medical image translation. In MICCAI, 2018. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
173,
|
| 1168 |
+
382,
|
| 1169 |
+
821,
|
| 1170 |
+
412
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 10
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Marius Cordts, Mohamed Omran, Sebastian Ramos, Timo Rehfeld, Markus Enzweiler, Rodrigo Benenson, Uwe Franke, Stefan Roth, and Bernt Schiele. The cityscapes dataset for semantic urban scene understanding. In CVPR, 2016. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
173,
|
| 1179 |
+
421,
|
| 1180 |
+
825,
|
| 1181 |
+
464
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 10
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Antonio Criminisi, Patrick Perez, and Kentaro Toyama. Region filling and object removal by ´ exemplar-based image inpainting. IEEE Trans. image processing, 2004. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
173,
|
| 1190 |
+
473,
|
| 1191 |
+
823,
|
| 1192 |
+
502
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 10
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Salman Ul Hassan Dar, Mahmut Yurt, Levent Karacan, Aykut Erdem, Erkut Erdem, and Tolga C¸ ukur. Image synthesis in multi-contrast MRI with conditional generative adversarial networks. arXiv preprint, 2018. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
174,
|
| 1201 |
+
512,
|
| 1202 |
+
825,
|
| 1203 |
+
554
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 10
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Alexei A Efros and William T Freeman. Image quilting for texture synthesis and transfer. In Proc. Computer graphics and interactive techniques, 2001. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
173,
|
| 1212 |
+
564,
|
| 1213 |
+
821,
|
| 1214 |
+
593
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 10
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron C. Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
171,
|
| 1223 |
+
602,
|
| 1224 |
+
823,
|
| 1225 |
+
632
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 10
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Aaron Hertzmann, Charles E Jacobs, Nuria Oliver, Brian Curless, and David H Salesin. Image analogies. In Proc. Computer graphics and interactive techniques, 2001. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
171,
|
| 1234 |
+
640,
|
| 1235 |
+
823,
|
| 1236 |
+
670
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 10
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "Judy Hoffman, Eric Tzeng, Taesung Park, Jun-Yan Zhu, Phillip Isola, Kate Saenko, Alexei A Efros, and Trevor Darrell. Cycada: Cycle-consistent adversarial domain adaptation. In ICML, 2018. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
171,
|
| 1245 |
+
679,
|
| 1246 |
+
823,
|
| 1247 |
+
708
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 10
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "Xun Huang and Serge J Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In ICCV, 2017. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
171,
|
| 1256 |
+
717,
|
| 1257 |
+
823,
|
| 1258 |
+
746
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 10
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A. Efros. Image-to-image translation with conditional adversarial networks. In CVPR, 2017. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
169,
|
| 1267 |
+
756,
|
| 1268 |
+
825,
|
| 1269 |
+
785
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 10
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In ECCV, 2016. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
174,
|
| 1278 |
+
794,
|
| 1279 |
+
821,
|
| 1280 |
+
823
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 10
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Taeksoo Kim, Moonsu Cha, Hyunsoo Kim, Jung Kwon Lee, and Jiwon Kim. Learning to discover cross-domain relations with generative adversarial networks. In ICML, 2017. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
174,
|
| 1289 |
+
832,
|
| 1290 |
+
821,
|
| 1291 |
+
861
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 10
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
174,
|
| 1300 |
+
871,
|
| 1301 |
+
810,
|
| 1302 |
+
886
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 10
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Philipp Krahenb ¨ uhl and Vladlen Koltun. Efficient inference in fully connected crfs with gaussian¨ edge potentials. In NIPS, 2011. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
174,
|
| 1311 |
+
895,
|
| 1312 |
+
821,
|
| 1313 |
+
924
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 10
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "John Lafferty, Andrew McCallum, and Fernando CN Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In ICML, 2001. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
171,
|
| 1322 |
+
103,
|
| 1323 |
+
823,
|
| 1324 |
+
133
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 11
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Di Lin, Jifeng Dai, Jiaya Jia, Kaiming He, and Jian Sun. Scribblesup: Scribble-supervised convolutional networks for semantic segmentation. In CVPR, 2016. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
171,
|
| 1333 |
+
141,
|
| 1334 |
+
823,
|
| 1335 |
+
171
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 11
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Ming-Yu Liu, Thomas Breuel, and Jan Kautz. Unsupervised image-to-image translation networks. In NIPS, 2017. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
173,
|
| 1344 |
+
179,
|
| 1345 |
+
823,
|
| 1346 |
+
208
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 11
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In CVPR, 2015. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
173,
|
| 1355 |
+
217,
|
| 1356 |
+
825,
|
| 1357 |
+
247
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 11
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. JMLR, 2008. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
171,
|
| 1366 |
+
256,
|
| 1367 |
+
759,
|
| 1368 |
+
272
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 11
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In ICCV, 2017. ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
171,
|
| 1377 |
+
280,
|
| 1378 |
+
821,
|
| 1379 |
+
309
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "Bjoern H Menze, Andras Jakab, Stefan Bauer, Jayashree Kalpathy-Cramer, Keyvan Farahani, Justin Kirby, Yuliya Burren, Nicole Porz, Johannes Slotboom, Roland Wiest, et al. The multimodal brain tumor image segmentation benchmark (brats). IEEE trans. medical imaging, 2015. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
173,
|
| 1388 |
+
318,
|
| 1389 |
+
825,
|
| 1390 |
+
362
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 11
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. In ICLR, 2016. ",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
174,
|
| 1399 |
+
369,
|
| 1400 |
+
821,
|
| 1401 |
+
400
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 11
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"text": "Sam T Roweis and Lawrence K Saul. Nonlinear dimensionality reduction by locally linear embedding. Science, 2000. ",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
174,
|
| 1410 |
+
409,
|
| 1411 |
+
821,
|
| 1412 |
+
438
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 11
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "Ashish Shrivastava, Tomas Pfister, Oncel Tuzel, Joshua Susskind, Wenda Wang, and Russell Webb. Learning from simulated and unsupervised images through adversarial training. In CVPR, 2017. ",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
174,
|
| 1421 |
+
446,
|
| 1422 |
+
823,
|
| 1423 |
+
477
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 11
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. ",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
174,
|
| 1432 |
+
484,
|
| 1433 |
+
823,
|
| 1434 |
+
515
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 11
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015. ",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
173,
|
| 1443 |
+
523,
|
| 1444 |
+
823,
|
| 1445 |
+
553
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 11
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "Meng Tang, Federico Perazzi, Abdelaziz Djelouah, Ismail Ben Ayed, Christopher Schroers, and Yuri Boykov. On regularized losses for weakly-supervised cnn segmentation. In ECCV, 2018. ",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
173,
|
| 1454 |
+
561,
|
| 1455 |
+
823,
|
| 1456 |
+
590
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 11
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"text": "Joshua B Tenenbaum, Vin De Silva, and John C Langford. A global geometric framework for nonlinear dimensionality reduction. Science, 2000. ",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
173,
|
| 1465 |
+
599,
|
| 1466 |
+
823,
|
| 1467 |
+
628
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 11
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"text": "Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Highresolution image synthesis and semantic manipulation with conditional gans. In CVPR, 2018. ",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
174,
|
| 1476 |
+
637,
|
| 1477 |
+
825,
|
| 1478 |
+
667
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 11
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "text",
|
| 1484 |
+
"text": "Zhe Wang, Hongsheng Li, Wanli Ouyang, and Xiaogang Wang. Learnable histogram: Statistical context features for deep neural networks. In ECCV, 2016. ",
|
| 1485 |
+
"bbox": [
|
| 1486 |
+
169,
|
| 1487 |
+
676,
|
| 1488 |
+
823,
|
| 1489 |
+
705
|
| 1490 |
+
],
|
| 1491 |
+
"page_idx": 11
|
| 1492 |
+
},
|
| 1493 |
+
{
|
| 1494 |
+
"type": "text",
|
| 1495 |
+
"text": "Jason Weston, Fred´ eric Ratle, Hossein Mobahi, and Ronan Collobert. Deep learning via semi- ´ supervised embedding. In Neural Networks: Tricks of the Trade, pp. 639–655. Springer, 2012. ",
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
171,
|
| 1498 |
+
714,
|
| 1499 |
+
823,
|
| 1500 |
+
744
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 11
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "text",
|
| 1506 |
+
"text": "Zili Yi, Hao (Richard) Zhang, Ping Tan, and Minglun Gong. Dualgan: Unsupervised dual learning for image-to-image translation. In ICCV, 2017. ",
|
| 1507 |
+
"bbox": [
|
| 1508 |
+
169,
|
| 1509 |
+
752,
|
| 1510 |
+
823,
|
| 1511 |
+
781
|
| 1512 |
+
],
|
| 1513 |
+
"page_idx": 11
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"type": "text",
|
| 1517 |
+
"text": "Han Zhang, Tao Xu, Hongsheng Li, Shaoting Zhang, Xiaolei Huang, Xiaogang Wang, and Dimitris Metaxas. StackGAN: Text to photo-realistic image synthesis with stacked generative adversarial networks. arXiv preprint, 2017. ",
|
| 1518 |
+
"bbox": [
|
| 1519 |
+
176,
|
| 1520 |
+
790,
|
| 1521 |
+
823,
|
| 1522 |
+
834
|
| 1523 |
+
],
|
| 1524 |
+
"page_idx": 11
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "text",
|
| 1528 |
+
"text": "Zizhao Zhang, Lin Yang, and Yefeng Zheng. Translating and segmenting multimodal medical volumes with cycle-and shapeconsistency generative adversarial network. In CVPR, 2018. ",
|
| 1529 |
+
"bbox": [
|
| 1530 |
+
169,
|
| 1531 |
+
843,
|
| 1532 |
+
823,
|
| 1533 |
+
872
|
| 1534 |
+
],
|
| 1535 |
+
"page_idx": 11
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"type": "text",
|
| 1539 |
+
"text": "Shuai Zheng, Sadeep Jayasumana, Bernardino Romera-Paredes, Vibhav Vineet, Zhizhong Su, Dalong Du, Chang Huang, and Philip HS Torr. Conditional random fields as recurrent neural networks. In ICCV, 2015. ",
|
| 1540 |
+
"bbox": [
|
| 1541 |
+
174,
|
| 1542 |
+
881,
|
| 1543 |
+
823,
|
| 1544 |
+
924
|
| 1545 |
+
],
|
| 1546 |
+
"page_idx": 11
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"type": "text",
|
| 1550 |
+
"text": "Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In ICCV, 2017a. \nJun-Yan Zhu, Richard Zhang, Deepak Pathak, Trevor Darrell, Alexei A Efros, Oliver Wang, and Eli Shechtman. Toward multimodal image-to-image translation. In NIPS, 2017b. \nJun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. CycleGAN failure cases. https: //github.com/junyanz/CycleGAN#failure-cases, 2018. \nXiaojin Zhu. Semi-supervised learning literature survey. Computer Science, University of Wisconsin-Madison, 2006. \nXiaojin Zhu, Zoubin Ghahramani, and John D Lafferty. Semi-supervised learning using gaussian fields and harmonic functions. In ICML, 2003. ",
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
171,
|
| 1553 |
+
101,
|
| 1554 |
+
826,
|
| 1555 |
+
284
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 12
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "6 APPENDIX ",
|
| 1562 |
+
"text_level": 1,
|
| 1563 |
+
"bbox": [
|
| 1564 |
+
174,
|
| 1565 |
+
102,
|
| 1566 |
+
294,
|
| 1567 |
+
117
|
| 1568 |
+
],
|
| 1569 |
+
"page_idx": 13
|
| 1570 |
+
},
|
| 1571 |
+
{
|
| 1572 |
+
"type": "text",
|
| 1573 |
+
"text": "6.1 COMPARISON TO DISTANCEGAN ",
|
| 1574 |
+
"text_level": 1,
|
| 1575 |
+
"bbox": [
|
| 1576 |
+
176,
|
| 1577 |
+
136,
|
| 1578 |
+
444,
|
| 1579 |
+
150
|
| 1580 |
+
],
|
| 1581 |
+
"page_idx": 13
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"type": "text",
|
| 1585 |
+
"text": "The proposed HarmonicGAN looks a bit similar to DistanceGAN Benaim & Wolf (2017), but actually there is a large difference between them. DistanceGAN encourages the distance of samples to an absolute mean during translation. In contrast, HarmonicGAN enforces a smoothness term naturally under the graph Laplacian, making the motivations of DistanceGAN and HarmonicGAN quite different. Comparing the distance constraint in DistanceGAN and the smoothness constraint in HarmonicGAN, we can conclude the following main differences between them: ",
|
| 1586 |
+
"bbox": [
|
| 1587 |
+
174,
|
| 1588 |
+
162,
|
| 1589 |
+
825,
|
| 1590 |
+
247
|
| 1591 |
+
],
|
| 1592 |
+
"page_idx": 13
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "text",
|
| 1596 |
+
"text": "(1) They show different motivations and formulations. The distance constraint aims to preserve the distance between samples in the mapping in a direct way, so it minimizes the expectation of differences between distances in two domains. The distance constraint in DistanceGAN is not doing a graph-based Laplacian to explicitly enforce smoothness. In contrast, the smoothness constraint is designed from a graph Laplacian to build the similarity-consistency between image patches. Thus, the smoothness constraint uses the affinity between two patches as weight to measure the similarityconsistency between two domains. The whole idea is based on manifold learning. The smoothness term defines a Laplacian $\\Delta = D - W$ , where $W$ is our weight matrix and $D$ is a diagonal matrix with $\\begin{array} { r } { D _ { i } = \\sum _ { j } \\bar { w _ { i j } } } \\end{array}$ , thus, the smoothness term defines a graph Laplacian with the minimal value achieved as a harmonic function. ",
|
| 1597 |
+
"bbox": [
|
| 1598 |
+
173,
|
| 1599 |
+
255,
|
| 1600 |
+
825,
|
| 1601 |
+
395
|
| 1602 |
+
],
|
| 1603 |
+
"page_idx": 13
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "text",
|
| 1607 |
+
"text": "(2) They are different in implementation. The smoothness constraint in HarmonicGAN is computed on image patches while the distance constraint in DistanceGAN is computed on whole image samples. Therefore, the smoothness constraint is fine-grained compared to the distance constraint. Moreover, the distances in DistanceGAN is directly computed from the samples in each domain. They scale the distances with the precomputed means and stds of two domains to reduce the effect of the gap between two domains. Differently, the smoothness constraint in HarmonicGAN is measured on the features (Histogram or CNN features) of each patch, which maps samples in two domains into the same feature space and removes the gap between two domains. ",
|
| 1608 |
+
"bbox": [
|
| 1609 |
+
173,
|
| 1610 |
+
401,
|
| 1611 |
+
825,
|
| 1612 |
+
513
|
| 1613 |
+
],
|
| 1614 |
+
"page_idx": 13
|
| 1615 |
+
},
|
| 1616 |
+
{
|
| 1617 |
+
"type": "text",
|
| 1618 |
+
"text": "(3) They show different results. Fig. 6 shows the qualitative results of CycleGAN, DistanceGAN and the proposed HarmonicGAN on the BRATS dataset. As shown in Fig. 6, the problem of randomly adding/removing tumors in the translation of CycleGAN is still present in the results of DistanceGAN, while HarmonicGAN can correct the location of tumors. Table 1 shows the quantitative results on the whole test set, which also yields the same conclusion. The results of DistanceGAN on four metrics are even worse than CycleGAN, while HarmonicGAN yields a large improvement over CycleGAN. ",
|
| 1619 |
+
"bbox": [
|
| 1620 |
+
173,
|
| 1621 |
+
520,
|
| 1622 |
+
825,
|
| 1623 |
+
617
|
| 1624 |
+
],
|
| 1625 |
+
"page_idx": 13
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "image",
|
| 1629 |
+
"img_path": "images/ad84f316926cf2190e66e0fe76a39d6f9178aa038c1ff14a3714b39753746362.jpg",
|
| 1630 |
+
"image_caption": [
|
| 1631 |
+
"Figure 6: Comparison of CycleGAN, DistanceGAN and the proposed HarmonicGAN on BRATS dataset. "
|
| 1632 |
+
],
|
| 1633 |
+
"image_footnote": [],
|
| 1634 |
+
"bbox": [
|
| 1635 |
+
179,
|
| 1636 |
+
636,
|
| 1637 |
+
818,
|
| 1638 |
+
803
|
| 1639 |
+
],
|
| 1640 |
+
"page_idx": 13
|
| 1641 |
+
},
|
| 1642 |
+
{
|
| 1643 |
+
"type": "text",
|
| 1644 |
+
"text": "6.2 COMPARISON TO CRF ",
|
| 1645 |
+
"text_level": 1,
|
| 1646 |
+
"bbox": [
|
| 1647 |
+
174,
|
| 1648 |
+
867,
|
| 1649 |
+
369,
|
| 1650 |
+
882
|
| 1651 |
+
],
|
| 1652 |
+
"page_idx": 13
|
| 1653 |
+
},
|
| 1654 |
+
{
|
| 1655 |
+
"type": "text",
|
| 1656 |
+
"text": "There are some fundamental differences between the CRF literature and our work. They differ in output space, mathematical formulation, application domain, effectiveness, and the role in the overall algorithm. The similarity between CRF and HarmonicGAN lies the adoption of a regularization term: a binary term in the CRF case and a Laplacian term in HarmonicGAN. ",
|
| 1657 |
+
"bbox": [
|
| 1658 |
+
176,
|
| 1659 |
+
895,
|
| 1660 |
+
823,
|
| 1661 |
+
924
|
| 1662 |
+
],
|
| 1663 |
+
"page_idx": 13
|
| 1664 |
+
},
|
| 1665 |
+
{
|
| 1666 |
+
"type": "text",
|
| 1667 |
+
"text": "",
|
| 1668 |
+
"bbox": [
|
| 1669 |
+
173,
|
| 1670 |
+
103,
|
| 1671 |
+
821,
|
| 1672 |
+
132
|
| 1673 |
+
],
|
| 1674 |
+
"page_idx": 14
|
| 1675 |
+
},
|
| 1676 |
+
{
|
| 1677 |
+
"type": "text",
|
| 1678 |
+
"text": "The smoothness term in HarmonicGAN is not about obtaining ‘smoother’ images/labels in the translated domain, as seen in the experiments; instead, HarmonicGAN is about preserving the overall integrity of the translation itself for the image manifold. This is the main reason for the large improvement of HarmonicGAN over CycleGAN. ",
|
| 1679 |
+
"bbox": [
|
| 1680 |
+
174,
|
| 1681 |
+
138,
|
| 1682 |
+
823,
|
| 1683 |
+
194
|
| 1684 |
+
],
|
| 1685 |
+
"page_idx": 14
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"type": "text",
|
| 1689 |
+
"text": "To further demonstrate the difference of HarmonicGAN and CRF, we perform an experiment applying the pairwise regularization of CRFs to the CycleGAN framework. For each pixel of the generated image, we compute the unary term and binary term with its 8 neighbors, and then minimize the objective function of CRF. The results are shown in Table 5. The pairwise regularization of CRF is unable to handle the problem of CycleGAN illustrated in Fig. 1. What’s worse, using the pairwise regularization may over-smooth the boundary of generated images, which results in extra artifacts. In contrast, HarmonicGAN aims at preserving similarity from the overall view of the image manifold, and can thus exploit similarity-consistency of the generated images, rather than over-smooth the boundary. ",
|
| 1690 |
+
"bbox": [
|
| 1691 |
+
174,
|
| 1692 |
+
202,
|
| 1693 |
+
825,
|
| 1694 |
+
327
|
| 1695 |
+
],
|
| 1696 |
+
"page_idx": 14
|
| 1697 |
+
},
|
| 1698 |
+
{
|
| 1699 |
+
"type": "table",
|
| 1700 |
+
"img_path": "images/adb204aa22d6b0f40ef025631b0641a58ef8355689435eb774f049625d649a21.jpg",
|
| 1701 |
+
"table_caption": [
|
| 1702 |
+
"Table 5: Reconstruction evaluation on the BRATS dataset with comparison to CRF. "
|
| 1703 |
+
],
|
| 1704 |
+
"table_footnote": [],
|
| 1705 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">Flair→T1</td><td colspan=\"2\">T1→Flair</td></tr><tr><td>MAE↓</td><td>MSE↓</td><td>MAE↓</td><td>MSE↓</td></tr><tr><td>CycleGAN</td><td>10.47</td><td>674.40</td><td>11.81</td><td>1026.19</td></tr><tr><td>CycleGAN+CRF</td><td>11.24</td><td>839.47</td><td>12.25</td><td>1138.42</td></tr><tr><td>HarmonicGAN-Histogram (ours)</td><td>6.38</td><td>216.83</td><td>5.04</td><td>163.29</td></tr><tr><td>HarmonicGAN-VGG (ours)</td><td>6.86</td><td>237.94</td><td>4.69</td><td>127.84</td></tr></table>",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
261,
|
| 1708 |
+
366,
|
| 1709 |
+
735,
|
| 1710 |
+
462
|
| 1711 |
+
],
|
| 1712 |
+
"page_idx": 14
|
| 1713 |
+
},
|
| 1714 |
+
{
|
| 1715 |
+
"type": "image",
|
| 1716 |
+
"img_path": "images/5b137aea5fc7a75338e7e48ee7a01aa6ade906e6ab5516996c2a80f1150f1294.jpg",
|
| 1717 |
+
"image_caption": [
|
| 1718 |
+
"Figure 7: Comparison on horse zebra for the Putin photo. CycleGAN translates both the background and human to a zebra-like texture. In contrast, HarmonicGAN does better in background region and achieves an improvement in some regions of of the human (Putin’s face), but it still fails on the human body. We hypothesize this is because the semantic features used by HarmonicGAN have not been trained on humans without a shirt. "
|
| 1719 |
+
],
|
| 1720 |
+
"image_footnote": [],
|
| 1721 |
+
"bbox": [
|
| 1722 |
+
240,
|
| 1723 |
+
520,
|
| 1724 |
+
756,
|
| 1725 |
+
731
|
| 1726 |
+
],
|
| 1727 |
+
"page_idx": 14
|
| 1728 |
+
},
|
| 1729 |
+
{
|
| 1730 |
+
"type": "image",
|
| 1731 |
+
"img_path": "images/7485832a797a6eafb17db676d5cac03dc090762c94b00b56dac27313411c675b.jpg",
|
| 1732 |
+
"image_caption": [
|
| 1733 |
+
"Figure 8: For similar image patches in input images, visualizing the average distance of corresponding image patches in translated images for cross-modal medical image synthesis on BRATS dataset. The distance of image patches in the target space shows the inconsistently translated patches. "
|
| 1734 |
+
],
|
| 1735 |
+
"image_footnote": [],
|
| 1736 |
+
"bbox": [
|
| 1737 |
+
186,
|
| 1738 |
+
378,
|
| 1739 |
+
816,
|
| 1740 |
+
587
|
| 1741 |
+
],
|
| 1742 |
+
"page_idx": 15
|
| 1743 |
+
},
|
| 1744 |
+
{
|
| 1745 |
+
"type": "image",
|
| 1746 |
+
"img_path": "images/f359d07ea9fc2cc3e5b41db9aabb779da52b2a3c3aaa790813faa2e73c63326f.jpg",
|
| 1747 |
+
"image_caption": [
|
| 1748 |
+
"Figure 9: Comparison on BRATS dataset. "
|
| 1749 |
+
],
|
| 1750 |
+
"image_footnote": [],
|
| 1751 |
+
"bbox": [
|
| 1752 |
+
183,
|
| 1753 |
+
112,
|
| 1754 |
+
818,
|
| 1755 |
+
890
|
| 1756 |
+
],
|
| 1757 |
+
"page_idx": 16
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "image",
|
| 1761 |
+
"img_path": "images/e6e239af50aa223e27fe0949d0898570941a7391f0687a3221499d3966c693a2.jpg",
|
| 1762 |
+
"image_caption": [
|
| 1763 |
+
"Figure 10: Comparison on horse zebra. "
|
| 1764 |
+
],
|
| 1765 |
+
"image_footnote": [],
|
| 1766 |
+
"bbox": [
|
| 1767 |
+
187,
|
| 1768 |
+
131,
|
| 1769 |
+
818,
|
| 1770 |
+
887
|
| 1771 |
+
],
|
| 1772 |
+
"page_idx": 17
|
| 1773 |
+
},
|
| 1774 |
+
{
|
| 1775 |
+
"type": "image",
|
| 1776 |
+
"img_path": "images/5274b54835d86cc916ba2c37397785dd45038636c947fc17207f80c471479df6.jpg",
|
| 1777 |
+
"image_caption": [
|
| 1778 |
+
"Figure 11: Additional results of the proposed HarmonicGAN. From top to bottom are: apple to orange, orange to apple, facade to label, label to facade, aerial to map, map to aerial, summer to winter, winter to summer. "
|
| 1779 |
+
],
|
| 1780 |
+
"image_footnote": [],
|
| 1781 |
+
"bbox": [
|
| 1782 |
+
183,
|
| 1783 |
+
181,
|
| 1784 |
+
815,
|
| 1785 |
+
804
|
| 1786 |
+
],
|
| 1787 |
+
"page_idx": 18
|
| 1788 |
+
}
|
| 1789 |
+
]
|
parse/train/S1M6Z2Cctm/S1M6Z2Cctm_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1M6Z2Cctm/S1M6Z2Cctm_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/TiXl51SCNw8/TiXl51SCNw8.md
ADDED
|
@@ -0,0 +1,278 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# BSQ: EXPLORING BIT-LEVEL SPARSITY FOR MIXEDPRECISION NEURAL NETWORK QUANTIZATION
|
| 2 |
+
|
| 3 |
+
Huanrui Yang, Lin Duan, Yiran Chen & Hai Li
|
| 4 |
+
|
| 5 |
+
Department of Electrical and Computer Engineering
|
| 6 |
+
Duke University
|
| 7 |
+
Durham, NC 27708, USA
|
| 8 |
+
{huanrui.yang, lin.duan, yiran.chen, hai.li}@duke.edu
|
| 9 |
+
|
| 10 |
+
# ABSTRACT
|
| 11 |
+
|
| 12 |
+
Mixed-precision quantization can potentially achieve the optimal tradeoff between performance and compression rate of deep neural networks, and thus, have been widely investigated. However, it lacks a systematic method to determine the exact quantization scheme. Previous methods either examine only a small manuallydesigned search space or utilize a cumbersome neural architecture search to explore the vast search space. These approaches cannot lead to an optimal quantization scheme efficiently. This work proposes bit-level sparsity quantization (BSQ) to tackle the mixed-precision quantization from a new angle of inducing bit-level sparsity. We consider each bit of quantized weights as an independent trainable variable and introduce a differentiable bit-sparsity regularizer. BSQ can induce all-zero bits across a group of weight elements and realize the dynamic precision reduction, leading to a mixed-precision quantization scheme of the original model. Our method enables the exploration of the full mixed-precision space with a single gradient-based optimization process, with only one hyperparameter to tradeoff the performance and compression. BSQ achieves both higher accuracy and higher bit reduction on various model architectures on the CIFAR-10 and ImageNet datasets comparing to previous methods.
|
| 13 |
+
|
| 14 |
+
# 1 INTRODUCTION
|
| 15 |
+
|
| 16 |
+
Numerous deep neural network (DNN) models have been designed to tackle real-world problems and achieved beyond-human performance. DNN models commonly demand extremely high computation cost and large memory consumption, making the deployment and real-time processing on embedded and edge devices difficult (Han et al., 2015b; Wen et al., 2016). To address this challenge, model compression techniques, such as pruning (Han et al., 2015b; Wen et al., 2016; Yang et al., 2020), factorization (Jaderberg et al., 2014; Zhang et al., 2015) and fixed-point quantization (Zhou et al., 2016; Wu et al., 2019; Dong et al., 2019), have been extensively studied. Among them, fixed-point quantization works directly on the data representation by converting weight parameters originally in the 32-bit floating-point form to low-precision values in a fixed-point format. For a DNN model, its quantized version requires much less memory for weight storage. Moreover, it can better utilize fixed-point processing units in mobile and edge devices to run much faster and more efficiently.
|
| 17 |
+
|
| 18 |
+
Typically, model compression techniques aim to reduce a DNN model size while maintaining its performance. The two optimization objectives in this tradeoff, however, have a contrary nature: the performance can be formulated as a differentiable loss function $\mathcal { L } ( W )$ w.r.t. the model’s weights $W$ ; yet the model size, typically measured by the number of non-zero parameters or operations, is a discrete function determined mainly by the model architecture. To co-optimize the performance and model size, some previous pruning and factorization methods relax the representation of model size as a differentiable regularization term $R ( W )$ . For example, group Lasso (Wen et al., 2016) and DeepHoyer (Yang et al., 2020) induce weight sparsity for pruning, and the attractive force regularizer (Wen et al., 2017) and nuclear norm $\mathrm { X u }$ et al., 2018) are utilized to induce low rank. The combined objective ${ \mathcal { L } } ( W ) + \alpha R ( W )$ can be directly minimized with a gradient-based optimizer for optimizing the performance and model size simultaneously. Here, the hyperparameter $\alpha$ controls the strength of the regularization and governs the performance-size tradeoff of the compressed model.
|
| 19 |
+
|
| 20 |
+
Unlike for pruning and factorization, there lacks a well-defined differentiable regularization term that can effectively induce quantization schemes. Early works in quantization mitigate the tradeoff exploration complexity by applying the same precision to the entire model. This line of research focuses on improving the accuracy of ultra low-precision DNN models, e.g., quantizing all the weights to 3 or less bits (Zhou et al., 2016; Zhang et al., 2018), even to 1-bit (Rastegari et al., 2016). These models commonly incur significant accuracy loss, even after integrating emerging training techniques like straight-through estimator (Bengio et al., 2013; Zhou et al., 2016), dynamic range scaling (Polino et al., 2018) and non-linear trainable quantizers (Zhang et al., 2018). As different layers of a DNN model present different sensitivities with performance, a mixed-precision quantization scheme would be ideal for the performance-size tradeoff (Dong et al., 2019). There have also been accelerator designs to support the efficient inference of mixed-precision DNN models (Sharma et al., 2018). However, to achieve the optimal layer-wise precision configuration, it needs to exhaustively explore the aforementioned discrete search space, the size of which grows exponentially with the number of layers. Moreover, the dynamic change of each layer’s precision cannot be formulated into a differentiable objective, which hinders the efficiency of the design space exploration. Prior studies (Wu et al., 2019; Wang et al., 2019) utilize neural architecture search (NAS), which suffers from extremely high searching cost due to the large space of mixed-precision quantization scheme. Recently, Dong et al. (2019) propose to rank each layer based on the corresponding Hessian information and then determine the relative precision order of layers based on their ranking. The method, however, still requires to manually select the precision level for each layer.
|
| 21 |
+
|
| 22 |
+
Here, we propose to revisit the fixed-point quantization process from a new angle of bit-level sparsity: decreasing the precision of a fixed-point number can be taken as forcing one or a few bits, most likely the least significant bit (LSB), to be zero; and reducing the precision of a layer is equivalent to zeroing out a specific bit of all the weight parameters of the layer. In other words, the precision reduction can be viewed as increasing the layer-wise bit-level sparsity. By considering the bits of fixed-point DNN parameters as continuous trainable variables during DNN training, we can utilize a sparsity-inducing regularizer to explore the bit-level sparsity with gradient-based optimization, dynamically reduce the layer precision and lead to a series of mixed-precision quantization schemes. More specific, we propose Bit-level Sparsity Quantization (BSQ) method with the following contributions:
|
| 23 |
+
|
| 24 |
+
• We propose a gradient based training algorithm for bit-level quantized DNN models. The algorithm considers each bit of quantized weights as an independent trainable variable and enables the gradient-based optimization with straight-through estimator (STE). • We propose a bit-level group Lasso regularizer to dynamically reduce the weight precision of every layer and therefore induce mixed-precision quantization schemes. • BSQ uses only one hyperparameter, the strength of the regularizer, to trade-off the model performance and size, making the exploration more efficient.
|
| 25 |
+
|
| 26 |
+
This work exclusively focuses on layer-wise mixed-precision quantization, which is the granularity considered in most previous works. However, the flexibility of BSQ enables it to explore mixedprecision quantization of any granularity with the same cost regardless of the search space size.
|
| 27 |
+
|
| 28 |
+
# 2 RELATED WORKS ON DNN QUANTIZATION
|
| 29 |
+
|
| 30 |
+
Quantization techniques convert floating-point weight parameters to low-precision fixed-point representations. Directly quantizing a pre-trained model inevitably introduces significant accuracy loss. So many of early research focus on how to finetune quantized models in low-precision configurations. As the quantized weights adopt discrete values, conventional gradient-based methods that are designed for continuous space cannot be directly used for training quantized models. To mitigate this problem, algorithms like DoReFa-Net utilize a straight-through estimator (STE) to approximate the quantized model training with trainable floating-point parameters (Zhou et al., 2016). As shown in Equation (1), a floating-point weight element $w$ is kept throughout the entire training process. Along the forward pass, the STE will quantize $w$ to $n$ -bit fixed-point representation $w _ { q }$ , which will be used to compute the model output and loss $\mathcal { L }$ . During the backward pass, the STE will directly pass the gradient w.r.t. $w _ { q }$ onto $w$ , which enables $w$ to be updated with the standard gradient-based optimizer.
|
| 31 |
+
|
| 32 |
+
$$
|
| 33 |
+
w _ { q } = \frac { 1 } { 2 ^ { n } - 1 } R o u n d [ ( 2 ^ { n } - 1 ) w ] ; ~ \mathbf { B a c k w a r d : } ~ \frac { \partial \mathcal { L } } { \partial w } = \frac { \partial \mathcal { L } } { \partial w _ { q } } .
|
| 34 |
+
$$
|
| 35 |
+
|
| 36 |
+
Early studies revealed that weights of different layers have different dynamic ranges. It is important to keep the dynamic range of each layer for maintaining the model performance, especially for quantized models. He et al. (2016b) and Polino et al. (2018) propose to explicitly keep track of the dynamic range of each layer by scaling all the weight elements in a layer to the range of [0,1] at every training step, before applying the quantization STE. Other techniques, such as learnable nonlinear quantifier function (Zhang et al., 2018) and incremental quantization (Zhou et al., 2017), are also useful in improving the performance of quantized models. However, it is still very difficult to quantize the entire DNN model to a unified ultra-low precision without incurring significant accuracy loss.
|
| 37 |
+
|
| 38 |
+
Recent research shows that different layers in a DNN model contribute to the overall performance in varying extents. Therefore mixed-precision quantization scheme that assigns different precision to layers (Wu et al., 2019; Dong et al., 2019) presents a better accuracy-compression tradeoff. The challenge lies in how to determine the quantization scheme, i.e., the precision of each layer, as it needs to explore a large and discrete search space. Some works design quantization criteria based on concepts like “noise gain” (Sakr & Shanbhag, 2018; 2019) to constraint the relationship between each layer’s precision and thus largely reduce the search space, yet those criteria are often heuristic, preventing these methods to reach ultra-low precision and find the optimal tradeoff point between model size and accuracy. Other works utilize neural architecture search (NAS). For example, Wang et al. (2019) consider the precision assignment of each layer as an action and seek for the optimal design policy via reinforcement learning. Wu et al. (2019) combine all possible design choices into a “stochastic super net” and approximate the optimal scheme via sampling. However, the cost of NAS methods scales up quickly as the quantization search space grows exponentially with the number of layers. Common practices of constraining the search cost include limiting the precision choices or designing the quantization scheme in a coarse granularity. A recent line of research work attempts to rank layers based on their importance measured by the sensitivity or Hessian information. Higher precision will then be assigned to more important layers (Dong et al., 2019). The exact precision of each layer, however, needs to be manually selected. So these methods cannot adequately explore the whole search space for the optimal quantization scheme.
|
| 39 |
+
|
| 40 |
+
# 3 THE BSQ METHOD
|
| 41 |
+
|
| 42 |
+
BSQ aims to obtain an optimal mixed-precision quantization scheme through a single-pass training process of a quantized model. In this section, we first introduce how to convert a DNN model to the bit representation and propose a gradient-based algorithm for training the resulted bit-level model. A bit-level group Lasso regularizer is then proposed to induce precision reduction. In the end, we elaborate the overall training objective of BSQ and the dynamical precision adjustment procedure.
|
| 43 |
+
|
| 44 |
+
# 3.1 TRAINING THE BIT REPRESENTATION OF DNN
|
| 45 |
+
|
| 46 |
+
As illustrated in Figure 1(a), we convert a floating-point weight matrix $W$ of a pretrained network to its bit representation through a pipeline of scaling, quantization and binary conversion. Similar to the practice in (He et al., 2016b; Polino et al., 2018), we retain the dynamic range of $W$ by scaling all the elements to the range of [0, 1] before applying quantization. However, these prior works always scale the largest element to 1 to fully utilize all the quantized bins at every training step, which makes the dynamic precision reduction impossible. Instead, our method conducts the scaling only
|
| 47 |
+
|
| 48 |
+
$$
|
| 49 |
+
{ \begin{array} { c c } { { \underline { { { \mathrm { s c a l i n g } } } } } } & { { \leq \underline { { { \mathrm { s c a l i n g } } } } } } \\ { { \mathrm { 2 . 0 } } } \\ { { \mathrm { 1 . 2 } } } \\ { { \begin{array} { l } { { \mathrm { 8 . 0 } } } \\ { { \mathrm { 8 . 8 } } } \\ { { \mathrm { W } } } \end{array} = [ { \begin{array} { l } { 1 . 0 } \\ { 0 . 6 } \\ { 0 . 1 } \end{array} } ] } } & { { [ \begin{array} { l l l } { { \mathrm { 1 . ~ 1 } } } & { { \mathrm { 1 . } } } \\ { { \mathrm { 1 . } } } & { { \mathrm { 1 . } } } \\ { { \mathrm { 0 . } } } & { { 0 } } & { { 0 } } \\ { { \mathrm { - } } } & { { \mathrm { 8 . } } } \end{array} ] } } } \\ { { \mathrm { \begin{array} { l l l l } { { \mathrm { 0 . 0 } } } & { { \mathrm { 1 . 1 } } } & { { \mathrm { 1 . } } } \\ { { \mathrm { 0 . 0 } } } & { { \mathrm { 1 . } } } \end{array} } } & { { [ \begin{array} { l } { { \mathrm { 1 . } } } \\ { { \mathrm { 1 . } } } \\ { { \mathrm { - } } } \\ { { \mathrm { 0 . } } } & { { 0 } } \end{array} ] } } & { { [ \begin{array} { l l l } { { \mathrm { 2 . } } } & { { \mathrm { 1 . } } } & { { \mathrm { 0 . 8 } } } \\ { { \mathrm { - } } } & { { \mathrm { 1 . } } } & { { \mathrm { 0 . 8 } } } \end{array} ] - \begin{array} { l } { { \mathrm { 1 . } } } & { { \mathrm { 1 . } } } \\ { { \mathrm { - } } } & { { \mathrm { 5 7 . } } } \\ { { \mathrm { 1 . } } } & { { \mathrm { 1 . } } } \end{array} ] } } & { { \mathrm { 1 . } } } \\ { { \mathrm { ~ } } } & { { \mathrm { ~ } } } \\ { { \mathrm { ~ c a u a r i t z a t i o n } } } & { { \mathrm { 3 . } } } \\ { { \mathrm { ~ } } } & { { \mathrm { 0 u a r i t z a t i o n } } } \\ { { \mathrm { ( a ) } } } & { { \mathrm { ~ } } } \end{array} } & { { \mathrm { U p d a t e d a n d } } } & \begin{array} { l l l } \end{array}
|
| 50 |
+
$$
|
| 51 |
+
|
| 52 |
+
Figure 1: An example of DNN training under the bit representation with precision $n = 3$ . (a) Pipeline of converting from the floating-point weight $W$ to the bit representation; (b) Training the bit-level model weight with STE.
|
| 53 |
+
|
| 54 |
+
once, which is right before the bit representation training. Formally, before converting $W$ to its bit representation, we first extract its dynamic range as $W = s \cdot W _ { s }$ , where $s = \operatorname* { m a x } | W |$ is the scaling factor and $W _ { s }$ is the scaled weight matrix. The absolute value of any element $w _ { s }$ in $W _ { s }$ is within the range of $[ 0 , 1 ]$ . Now we apply an $n$ -bit uniform quantization to the absolute value of $w _ { s }$ such as $w _ { q } = R o \bar { u } n d [ | w _ { s } | \times ( 2 ^ { n } - 1 ) ] / ( 2 ^ { n } - 1 )$ . Then $w _ { q }$ can be exactly represented by a $n$ -bit binary number as $\begin{array} { r } { w _ { q } = [ \sum _ { b = 0 } ^ { n - 1 } w _ { s } ^ { ( b ) } 2 ^ { b } ] / ( 2 ^ { n } - 1 ) . } \end{array}$ , where $w _ { s } ^ { ( b ) }$ denotes the $b ^ { t h }$ bit in the binary representation. Till this point, $W$ in the floating-point form is replaced with
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
W \equiv s i g n ( W ) \odot s W _ { q } \equiv s i g n ( W ) \odot \frac { s } { 2 ^ { n } - 1 } \sum _ { b = 0 } ^ { n - 1 } W _ { s } ^ { ( b ) } 2 ^ { b } ,
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where $\odot$ denotes the element-wise Hadamard product. We consider the bit representation $W _ { s } ^ { ( b ) }$ where $b \in [ 0 , n - 1 ]$ and the scaling factor $s$ as independent trainable variables in the training process.
|
| 61 |
+
|
| 62 |
+
Note that $W _ { s } ^ { ( b ) }$ is composed of binary values by definition and $s i g n ( W )$ is a discrete function. Neither of them can be directly trained with gradient descent. To mitigate the binary constraint of $W _ { s } ^ { ( b ) }$ , we adopt the STE proposed by Bengio et al. (2013) during the training process. As shown in Equation (1), STE enables a quantized model to be trained with continuous floating-point weights. Specifically, the STE for the bit representation training is defined as:
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
: W _ { q } = \frac { 1 } { 2 ^ { n } - 1 } R o u n d \left[ \sum _ { b = 0 } ^ { n - 1 } W _ { s } ^ { ( b ) } 2 ^ { b } \right] ; ~ \mathbf { B a c k w a r d } \colon \frac { \partial \mathcal { L } } { \partial W _ { s } ^ { ( b ) } } = \frac { 2 ^ { b } } { 2 ^ { n } - 1 } \frac { \partial \mathcal { L } } { \partial W _ { q } } .
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
STE relaxes the binary constraint and allows gradient updates for the elements in $W _ { s } ^ { ( b ) }$ . As illustrated in Figure 1(b), during the forward pass, $s \cdot W _ { q }$ will be used to reconstruct the model weight $W$ and compute the loss, which demonstrates the performance of the current model after quantization. The gradient w.r.t. $W _ { q }$ from the back-propagation will be passed through the rounding function and updated on the continuous values of $W _ { s } ^ { ( b ) }$ . The proposed bit representation can therefore be trained with any gradient-based optimizer.
|
| 69 |
+
|
| 70 |
+
The proposed bit representation training only leads to minimal computational and run-time memory overhead comparing to the normal back propagation procedure. From the memory consumption perspective, the bit representation training treats each bit as separated floating-point trainable variables, so a $N$ -bit model in bit representation will have $N$ times more parameters and gradients to be stored comparing to that of the baseline training. Though for actual run-time memory consumption, the hidden feature between each layer consumes a significantly larger memory than weights and gradients. As the bit representation does not affect the hidden features, the increase in trainable variables does not lead to significant increase in run-time memory consumption. From the perspective of computation cost, note that the gradient w.r.t. each $W _ { s } ^ { ( b ) }$ can be computed as the gradient w.r.t. the corresponding $W _ { q }$ scaled by a power of 2. So under a $N$ -bit scheme there will only be $N$ additional scaling for each parameter comparing to the normal training. These additional computations are very cheap comparing to the floating-point operations involved in back propagation. So the proposed bit representation training only leads to minimal computational overhead comparing to a normal back propagation.
|
| 71 |
+
|
| 72 |
+
We restrict the value of $W _ { s } ^ { ( b ) }$ within $[ 0 , 2 ]$ throughout the training, so that the corresponding $W _ { q }$ has the chance to increase or decrease its precision in the “precision adjustment” step, which will be discussed in Section 3.3. This is enforced by trimming $\bar { W } _ { s } ^ { ( b ) }$ to 0 or 2 if it exceeds the range after a training step.
|
| 73 |
+
|
| 74 |
+
To enable the dynamic update of $s i g n ( W )$ during training, we separate the positive and negative elements in $W _ { s }$ as $W _ { s } = \left( W _ { p } - W _ { n } \right)$ before quantization. Here $W _ { p } = W _ { s } \odot \mathbb { 1 } ( W _ { s } \ge 0 )$ contains all the positive elements and $\hat { W _ { n } } = - W _ { s } \odot \mathbb { 1 } ( W _ { s } < 0 )$ includes the absolute value of all the negative weight elements. $W _ { p }$ and $W _ { n }$ will be respectively converted to $W _ { p } ^ { ( b ) }$ and $W _ { n } ^ { ( b ) }$ by following the process in Equation (2), so that $W _ { s } ^ { ( b ) } = W _ { p } ^ { ( b ) } - W _ { n } ^ { ( b ) }$ . Note that the replacement of $W _ { s } ^ { ( b ) }$ with W (b)p − $W _ { p } ^ { ( b ) } - W _ { n } ^ { ( b ) }$ does not introduce any non-differentiable function. Therefore all elements in $W _ { p } ^ { ( b ) }$ and W (b)n can take continuous values between $[ 0 , 2 ]$ and be trained with the bit representation STE in Equation (3). As such, the original weight matrix $W$ is converted into trainable variables $W _ { p } ^ { ( b ) }$ , $W _ { n } ^ { ( b ) }$ and $s$ throughout the BSQ training process.
|
| 75 |
+
|
| 76 |
+
To induce the mixed-precision quantization scheme of a DNN model during training, we propose a bit-level group Lasso $( B _ { G L } )$ regularizer based on the group Lasso (Hastie et al., 2015) and apply it to W (b)p a nd W (b)n t hat are converted from a group of weights $W ^ { g }$ . The regularizer is defined as:
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
B _ { G L } ( W ^ { g } ) = \sum _ { b = 0 } ^ { n - 1 } \left. \left[ W _ { p } ^ { ( b ) } ; W _ { n } ^ { ( b ) } \right] \right. _ { 2 } ,
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where W (b)p a nd $W _ { n } ^ { ( b ) }$ are bit representations converted from $W ^ { g }$ , and $[ \cdot ; \cdot ]$ denotes the concatenation of matrices. $B _ { G L }$ could make a certain bit $b$ of all elements in both $W _ { p } ^ { ( b ) }$ and $W _ { n } ^ { ( b ) }$ zero simultaneously. The bit can thus be safely removed for the precision reduction. Note that the granularity of the quantization scheme induced by $B _ { G L }$ is determined by how $W ^ { g }$ is grouped. Our experiments organize $W ^ { g }$ in a layer-wise fashion. So all elements in a layer have the same precision, which is a common setting in previous mixed-precision quantization work. $W ^ { g }$ can also be arranged as any group of weight elements, such as block-wise, filter-wise or even element-wise if needed. Accordingly, the formulation of the regularizer need to be revised to assist the exploration of the mixed-precision quantization at the given granularity. The cost for evaluating and optimizing the regularizer will remain the same under different granularity settings.
|
| 83 |
+
|
| 84 |
+
# 3.3 OVERALL TRAINING PROCESS
|
| 85 |
+
|
| 86 |
+
The overall training process starts with converting each layer of a pretrained floating-point model to the bit representation with a relatively high initial precision (e.g., 8-bit fixed-point). BSQ training is then preformed on the achieved bit representation with bit-level group Lasso integrated into the training objective. Re-quantization steps are conducted periodically to identify the bit-level sparsity induced by the regularizer and allow dynamic precision adjustment. As the mixed-precision quantization scheme is finalized, the achieved model is further finetuned for a higher accuracy.
|
| 87 |
+
|
| 88 |
+
Objective of BSQ training. For higher memory efficiency it is desired to find a mixed-precision quantization scheme that minimizes the total number of bits in the model. Thus, in BSQ training we propose to penalize more on the layers with more bits by performing a memory consumption-aware reweighing to $B _ { G L }$ across layers. Specifically, the overall objective of training a $L$ -layer DNN model with BSQ is formulated as:
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\mathcal { L } = \mathcal { L } _ { C E } ( W _ { q } ^ { ( 1 : L ) } ) + \alpha \sum _ { l = 1 } ^ { L } \frac { \# P a r a ( W ^ { l } ) \times \# B i t ( W ^ { l } ) } { \# P a r a ( W ^ { ( 1 : L ) } ) } B _ { G L } ( W ^ { l } ) .
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
Here $\mathcal { L } _ { C E } ( W _ { q } ^ { ( 1 : L ) } )$ is the original cross entropy loss evaluated with the quantized weight $W _ { q }$ acquired from the STE in Equation (3), $\alpha$ is a hyperparameter controlling the regularization strength, and $\# P a r a ( W ^ { l } )$ and $\# B i t ( W ^ { l } )$ respectively denote the parameter number and precision of layer $l$ The loss function in Equation (5) enables a layer-wise adjustment in the regularization strength by applying a stronger regularization on a layer with higher memory usage.
|
| 95 |
+
|
| 96 |
+
Re-quantization and precision adjustment. As BSQ trains the bit representation of the model with floating-point variables, we perform re-quantization to convert W (b)p and $W _ { n } ^ { ( b ) }$ to exact binary values and identify the all-zero bits that can be removed for precision reduction. The requantization step reconstructs the quantized scaled weight $W _ { q } ^ { \prime }$ from $W _ { p } ^ { ( b ) }$ an d W (b)n as: $W _ { q } ^ { \prime } =$ Round $\begin{array} { r } { \left[ \sum _ { b = 0 } ^ { n - 1 } W _ { p } ^ { ( b ) } 2 ^ { b } - \sum _ { b = 0 } ^ { n - 1 } W _ { n } ^ { ( b ) } 2 ^ { b } \right] . } \end{array}$ . As we allow the values of $W _ { p } ^ { ( b ) }$ ) and W (b)n t o be within $[ 0 , 2 ]$ , the reconstructed $W _ { q } ^ { \prime }$ has a maximum absolute value of $2 ^ { n + 1 }$ . In this way, $W _ { q } ^ { \prime }$ is converted to a $( n + 1 )$ -bit binary number, where each bit is denoted by $W _ { q } ^ { ( b ) }$ . After the re-quantization, we will adjust the precision of each layer. Specifically, we first check $W _ { q } ^ { ( b ) }$ from the MSB down to the LSB and remove the bits with all zero elements until the first non-zero bit. The scaling factor $s$ of the layer remains unchanged during this process. A similar check will then be conducted from the LSB up to the MSB. $s$ needs to be doubled when a bit from the LSB side is removed, as all elements in $W _ { \underline { { q } } } ^ { \prime }$ are shifted right for one bit. Assume that the precision adjustment makes the precision of a layer change from $n$ to $n ^ { \prime }$ , the scaling factor will be updated as $s ^ { \prime } = s \frac { 2 ^ { n ^ { \prime } } - 1 } { 2 ^ { n } - 1 }$ . In this way, the bit representations of $W$ before and after the precision adjustment are equivalent, as indicated in Equation (6). The precision of a $n$ -bit layer may change between 0 and $( n + 1 )$ -bit after the precision adjustment.
|
| 97 |
+
|
| 98 |
+

|
| 99 |
+
Figure 2: Quantization schemes achieved with or without layer-wise regularization reweighing. The compression rate and the accuracy after finetuning are listed in the legend.
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
W \equiv \frac { s } { 2 ^ { n } - 1 } \sum _ { b = 0 } ^ { n - 1 } W _ { q } ^ { ( b ) } 2 ^ { b } \equiv \frac { s ^ { \prime } } { 2 ^ { n ^ { \prime } } - 1 } \sum _ { b = 0 } ^ { n ^ { \prime } - 1 } W _ { q } ^ { ( b ) } 2 ^ { b } .
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
As formulated in Equation (5), the regularization strength assigned to each layer will change with the quantization scheme of the model. The re-quantization and precision adjustment step will be performed periodically during the training process, with an interval of several training epochs. After each precision adjustment, we separate the positive elements and negative elements in $\mathbf { \nabla } W _ { q } ^ { \prime }$ to form the new $W _ { p } ^ { ( b ) }$ and $W _ { n } ^ { ( b ) }$ , respectively. The training can then resume with the newly adjusted $W _ { p } ^ { ( b ) }$ and $W _ { n } ^ { ( b ) }$ and scaling factor $s ^ { \prime }$ . It is worth mentioning that $s W _ { q }$ from the forward pass STE remains unchanged before and after the re-quantization and precision adjustment, so the model performance and the gradient from the loss $\mathcal { L } _ { C E }$ will not be affected. The interval between re-quantizations needs to be carefully chosen: it shall promptly and properly adjust the regularization strength for stable convergence. The ablation study on re-quantization interval selection is presented in Appendix B.1.
|
| 106 |
+
|
| 107 |
+
Activation quantization. Since BSQ modifies only the precision of weights but not affecting the precision of activations, we predetermine the activation precision and fix it throughout the BSQ training process. The activations are quantized in the same way as proposed by Polino et al. (2018). For training stability, we use ReLU-6 activation function for layers with 4-bit or above activations, and use PACT (Choi et al., 2018) for layers with a lower activation precision.
|
| 108 |
+
|
| 109 |
+
Post-training finetuning. At the end of the BSQ training, we perform a final re-quantization and precision adjustment to get the final mixed-quantization scheme. The achieved model can be further finetuned under the obtained precision for improving the overall accuracy. As the quantization scheme is fixed, we adopt the quantization-aware training method proposed by Polino et al. (2018) for finetuning in our experiment.
|
| 110 |
+
|
| 111 |
+
# 4 ABLATION STUDY
|
| 112 |
+
|
| 113 |
+
We perform the ablation studies on key design choices of the BSQ algorithm. This section presents the effectiveness of layer-wise memory consumption-aware regularization reweighing and the model size-accuracy tradeoff under different regularization strengths. All experiments are conducted with ResNet-20 models (He et al., 2016a) with 4-bit activation on the CIFAR-10 dataset (Krizhevsky & Hinton, 2009). Detailed experiment setup and hyperparameter choices can be found in Appendix A.
|
| 114 |
+
|
| 115 |
+
# 4.1 EFFECT OF LAYER-WISE REGULARIZATION REWEIGHING
|
| 116 |
+
|
| 117 |
+
As stated in Equation (5), we propose to apply layer-wise memory consumption-aware reweighing on the $B _ { G L }$ regularizer to penalize more on larger layers during the BSQ training. Figure 2 compares the quantization scheme and the model performance achieved when performing the BSQ training with or without such a reweighing term. Here we set the regularization strength $\alpha$ to 5e-3 when training with the reweighing, and to 2e-3 when training without the reweighing to achieve comparable compression rates. All the other hyperparameters are kept the same. As shown in the figure, training without the reweighing term will lead to over-penalization on earlier layers with fewer parameters, while later layers with more parameters are not compressed enough. Therefore the achieved quantized model will have less accuracy even with a smaller compression rate comparing to the model achieved with layer-wise regularization reweighing. As we only show one pair of comparison here, the difference between BSQ training with or without the reweighing term is consistent when varying the regularization strength $\alpha$ . Additional results with other $\alpha$ values are shown in Appendix B.2.
|
| 118 |
+
|
| 119 |
+

|
| 120 |
+
Figure 3: Layer-wise precision comparison of the quantization schemes achieved under different regularization strengths.
|
| 121 |
+
|
| 122 |
+
Table 1: Accuracy-#Bits tradeoff under different regularization strengths. “FT” stands for finetuning. The last row is achieved by training with quantization schemes achieved by BSQ from scratch.
|
| 123 |
+
|
| 124 |
+
<table><tr><td>Strength α</td><td>3e-3</td><td>5e-3</td><td>7e-3</td><td>1e-2</td><td>2e-2</td></tr><tr><td>#Bits per Para /Comp(×)</td><td>3.02 / 10.60</td><td>2.25/14.24</td><td>1.66 / 19.24</td><td>1.37 / 23.44</td><td>0.87 / 36.63</td></tr><tr><td>BSQ acc before /after FT (%)</td><td>91.30 /92.60</td><td>90.98 /92.32</td><td>90.42 / 91.48</td><td>90.35 / 91.16</td><td>85.77 / 89.49</td></tr><tr><td>Train from scratch acc (%)</td><td>91.72</td><td>91.45</td><td>91.12</td><td>89.57</td><td>89.14</td></tr></table>
|
| 125 |
+
|
| 126 |
+
# 4.2 ACCURACY-#BITS TRADEOFF UNDER DIFFERENT REGULARIZATION STRENGTHS
|
| 127 |
+
|
| 128 |
+
We fix all the other hyperparameters while varying only the regularization strength $\alpha$ from 3e3 to 2e-2, to control the tradeoff between the model size and accuracy achieved by BSQ. The quantization schemes achieved by running BSQ with different $\alpha$ ’s are shown in Figure 3, and the detailed comparison on the compression rate comparing to the 32-bit floating point model (denoted as “Comp”) and the validation accuracy (denoted as “Acc”) is summarized in Table 1. As shown in Figure 3, the relative ranking of the precision assignment is mostly consistent under different $\alpha$ ’s, which is consistent with the previous observation that more important layers should be assigned with higher precision. This effect is further illustrated in Appendix B.3, where we compare the quantization scheme achieved by BSQ with the layer importance measured in HAWQ (Dong et al., 2019). Furthermore, as $\alpha$ increases, the overall bit reduction increases with the cost of a small performance loss. This tradeoff is also observed on models trained with 2-bit or 3-bit activation as we show their quantization schemes and performances in Appendix B.4. Note that some layers achieve 0-bit precision under large regularization strength, indicating all the weights become zero and the layer can be skipped. This is possible as the shortcut connection existing in the ResNet architecture enables the pass of information even if the weights are all zero in some layers. We also note that BSQ not only finds the desired mixed-precision quantization scheme, but also provides a model with higher performance under the same quantization scheme. As shown in Table 1, when training a model with the same quantization scheme as achieved by BSQ using the DoReFa-Net algorithm (Zhou et al., 2016) from scratch, the resulted accuracy is always lower than the BSQ model after finetuning.
|
| 129 |
+
|
| 130 |
+
# 5 EXPERIMENTAL RESULTS
|
| 131 |
+
|
| 132 |
+
In this section we compare BSQ with previous state-of-the-art methods. Here, ResNet-20 models are used for the comparison on the CIFAR-10 dataset, and ResNet-50 and Inception-V3 models (Szegedy et al., 2016) are utilized for the experiments on the ImageNet dataset (Russakovsky et al., 2015). The hyperparameters used for BSQ training and finetuning are listed in Appendix A. All the compression rates reported in Table 2 and Table 3 are compared to the 32-bit floating point model, and all the accuracy reported is the testing accuracy evaluated on models after finetuning.
|
| 133 |
+
|
| 134 |
+
Table 2: Quantization results of ResNet-20 models on the CIFAR-10 dataset. BSQ is compared with DoReFa-Net (Zhou et al., 2016), PACT (Choi et al., 2018), LQ-Net (Zhang et al., 2018), DNAS (Wu et al., 2019) and HAWQ (Dong et al., 2019). “MP” denotes mixed-precision quantization.
|
| 135 |
+
|
| 136 |
+
<table><tr><td colspan="5">Benchmarks</td><td colspan="3">BSQ</td></tr><tr><td>Act. Prec.</td><td>Method</td><td>Weight Prec.</td><td>Comp(×)</td><td>Acc (%)</td><td>a</td><td>Comp(×)</td><td>Acc (%)</td></tr><tr><td>32-bit</td><td>Baseline</td><td>32</td><td>1.00</td><td>92.62</td><td rowspan="3">5e-3</td><td rowspan="3"></td><td>92.77</td></tr><tr><td></td><td>LQ-Nets</td><td>3</td><td>10.67</td><td>92.00</td><td>14.24 91.87</td></tr><tr><td></td><td>DNAS</td><td>MP</td><td>11.60</td><td>92.72</td><td>19.24</td></tr><tr><td></td><td>LQ-Nets</td><td>2</td><td>16.00</td><td>91.80</td><td rowspan="2">5e-3</td><td rowspan="2"></td><td></td></tr><tr><td>4-bit</td><td>HAWQ</td><td>MP</td><td>13.11</td><td>92.22</td><td>14.24</td></tr><tr><td>3-bit</td><td>LQ-Nets</td><td>3</td><td>10.67</td><td>91.60</td><td rowspan="2">2e-3 5e-3</td><td>11.04</td><td>92.16</td></tr><tr><td></td><td>PACT</td><td>3</td><td>10.67</td><td>91.10</td><td>16.37</td><td>91.72</td></tr><tr><td></td><td>DoReFa</td><td>3</td><td>10.67</td><td>89.90</td><td rowspan="2"></td><td rowspan="2"></td><td rowspan="2"></td></tr><tr><td>2-bit</td><td>LQ-Nets</td><td>2</td><td>16.00</td><td>90.20</td></tr><tr><td></td><td>PACT</td><td>2</td><td>16.00</td><td>89.70</td><td rowspan="2">5e-3</td><td rowspan="2">18.85</td><td rowspan="2">90.19</td></tr><tr><td></td><td>DoReFa</td><td>2</td><td>16.00</td><td>88.20</td></tr></table>
|
| 137 |
+
|
| 138 |
+
Table 3: Quantization results of ResNet-50 and Inception-V3 models on the ImageNet dataset. BSQ is compared with DoReFa-Net (Zhou et al., 2016), PACT (Choi et al., 2018), LSQ (Esser et al., 2019), LQ-Net (Zhang et al., 2018), Deep Compression (DC) (Han et al., 2015a), Integer (Jacob et al., 2018), RVQ (Park et al., 2018), HAQ (Wang et al., 2019) and HAWQ (Dong et al., 2019).
|
| 139 |
+
|
| 140 |
+
<table><tr><td colspan="4">ResNet-50</td><td colspan="4">Inception-V3</td></tr><tr><td>Method</td><td>Prec.</td><td>Comp (x)</td><td>Top1 (%)</td><td>Method</td><td>Prec.</td><td>Comp(x)</td><td>Top1 (%)</td></tr><tr><td>Baseline</td><td>32</td><td>1.00</td><td>76.13</td><td>Baseline</td><td>32</td><td>1.00</td><td>77.21</td></tr><tr><td>DoReFa</td><td>3</td><td>10.67</td><td>69.90</td><td>Integer</td><td>8</td><td>4.00</td><td>75.40</td></tr><tr><td>PACT</td><td>3</td><td>10.67</td><td>75.30</td><td>Integer</td><td>7</td><td>4.57</td><td>75.00</td></tr><tr><td>LQ-Nets</td><td>3</td><td>10.67</td><td>74.20</td><td>RVQ</td><td>MP</td><td>10.67</td><td>74.14</td></tr><tr><td>DC</td><td>3</td><td>10.41</td><td>75.10</td><td>HAWQ</td><td>MP</td><td>12.04</td><td>75.52</td></tr><tr><td>HAQ</td><td>MP</td><td>10.57</td><td>75.30</td><td></td><td></td><td></td><td></td></tr><tr><td>LSQ</td><td>3</td><td>10.67</td><td>75.80</td><td></td><td></td><td></td><td></td></tr><tr><td>BSQ 5e-3</td><td>MP</td><td>11.90</td><td>75.29</td><td>BSQ 1e-2</td><td>MP</td><td>11.38</td><td>76.60</td></tr><tr><td>BSQ 7e-3</td><td>MP</td><td>13.90</td><td>75.16</td><td>BSQ2e-2</td><td>MP</td><td>12.89</td><td>75.90</td></tr></table>
|
| 141 |
+
|
| 142 |
+
Table 2 reports the quantization results of ResNet-20 models on the CIFAR-10 dataset. Here we set the activation of the first convolutional layer and the final FC layer to 8 bits while all the other activations to 4, 3 or 2 bits respectively to match the settings of previous methods. The reported 32-bit activation model performance is achieved by finetuning the 4-bit activation model under full precision activation. The exact BSQ quantization schemes of the 4-bit activation models are listed in Figure 3, while those of the 2-bit and 3-bit activation models can be found in Appendix B.4. Comparing to previous mixed-precision quantization methods, the model obtained by BSQ with 4-bit activation and $\alpha = 5 \mathrm { e } { - 3 }$ has slightly higher accuracy as the model achieved by HAWQ (Dong et al., 2019), but a higher compression rate ( $1 4 . 2 4 \times$ vs. $1 3 . 1 1 \times$ ). The same model with 32-bit activation obtains $23 \%$ more compression rate with the same accuracy as the model found by DNAS (Wu et al., 2019), with a much less training cost as our method does not involve the costly neural architecture search. The advantage of BSQ is even larger comparing to single-precision quantization methods (Zhou et al., 2016; Choi et al., 2018; Zhang et al., 2018), as BSQ achieves both higher compression rate and higher accuracy comparing to all methods with the same activation precision.
|
| 143 |
+
|
| 144 |
+
The results of BSQ and previous quantization methods on the ImageNet dataset are summarized in Table 3. The exact BSQ quantization schemes can be found in Appendix C. For ResNet models, the activation of the first and the final layer are set to 8 bits while all the other activations are set to 4 bits. For Inception-V3 models the activation of all the layers are set to 6 bits. On ResNet-50 models, BSQ with $\alpha = 5 \mathrm { e } { - 3 }$ achieves the same top-1 accuracy as PACT (Choi et al., 2018) and $0 . 5 \%$ less top-1 accuracy as the best available method LSQ (Esser et al., 2019) with a higher compression rate ( $1 1 . 9 0 \times$ vs. $1 0 . 6 7 \times )$ , showing competitive accuracy-compression tradeoff. BSQ can further increase the compression rate of ResNet-50 to $1 3 . 9 0 \times$ with $\alpha = 7 \mathrm { e } { - 3 }$ , with only $0 . 1 3 \%$ top-1 accuracy loss over the “5e-3” model. On Inception-V3 models, BSQ with $\alpha = 2 \mathrm { e } { - } 2$ achieves both higher accuracy $( 7 5 . 9 0 \%$ vs. $7 5 . 5 2 \%$ ) and higher compression rate ( $. 2 . 8 9 \times$ vs $1 2 . 0 4 \times $ ) comparing to the best previous method HAWQ (Dong et al., 2019). Adopting a smaller $\alpha = 1 0 ^ { - 2 }$ makes BSQ to achieve $0 . 7 \%$ accuracy improvement trading off ${ \sim } 1 0 \%$ less compression rate comparing to the $" 2 \mathrm { e } \mathrm { - } 2 "$ model.
|
| 145 |
+
|
| 146 |
+
# 6 CONCLUSIONS
|
| 147 |
+
|
| 148 |
+
In this work, we propose BSQ, which fully explores the accuracy-model size tradeoff of DNN’s mixed-precision quantization schemes with a differentiable training algorithm using DNN’s bit representation as trainable variables. A bit-level group Lasso regularizer with memory consumptionaware layer-wise reweighing is applied to induce bit-level sparsity, which leads to the dynamic adjustment of each layer’s precision and finally a mixed-precision quantization scheme through a single-pass gradient-based training process. This enables BSQ to dynamically produce a series of quantization schemes trading off accuracy and model size and provides models with higher accuracy comparing to training from scratch under the same quantization scheme. We apply BSQ in training ResNet-20 models on the CIFAR-10 dataset and training ResNet-50 and Inception-V3 models on the ImageNet dataset. In all the experiments, BSQ demonstrates the ability to reach both a better accuracy and a higher compression rate comparing to previous quantization methods. Our results prove that BSQ can successfully fill in the gap of inducing a mixed-precision quantization scheme with a differentiable regularizer, so as to effectively explore the tradeoff between accuracy and compression rate for finding DNN models with both higher accuracy and fewer bits.
|
| 149 |
+
|
| 150 |
+
# ACKNOWLEDGMENTS
|
| 151 |
+
|
| 152 |
+
This work is supported in part by NSF CCF-1910299 and NSF CNS-1822085.
|
| 153 |
+
|
| 154 |
+
# REFERENCES
|
| 155 |
+
|
| 156 |
+
Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013.
|
| 157 |
+
Jungwook Choi, Zhuo Wang, Swagath Venkataramani, Pierce I-Jen Chuang, Vijayalakshmi Srinivasan, and Kailash Gopalakrishnan. Pact: Parameterized clipping activation for quantized neural networks. arXiv preprint arXiv:1805.06085, 2018.
|
| 158 |
+
Zhen Dong, Zhewei Yao, Amir Gholami, Michael W Mahoney, and Kurt Keutzer. Hawq: Hessian aware quantization of neural networks with mixed-precision. In Proceedings of the IEEE International Conference on Computer Vision, pp. 293–302, 2019.
|
| 159 |
+
Steven K Esser, Jeffrey L McKinstry, Deepika Bablani, Rathinakumar Appuswamy, and Dharmendra S Modha. Learned step size quantization. arXiv preprint arXiv:1902.08153, 2019.
|
| 160 |
+
Song Han, Huizi Mao, and William J Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. arXiv preprint arXiv:1510.00149, 2015a.
|
| 161 |
+
Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In Advances in neural information processing systems, pp. 1135–1143, 2015b.
|
| 162 |
+
Trevor Hastie, Robert Tibshirani, and Martin Wainwright. Statistical learning with sparsity: the lasso and generalizations. CRC press, 2015.
|
| 163 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016a.
|
| 164 |
+
Qinyao He, He Wen, Shuchang Zhou, Yuxin Wu, Cong Yao, Xinyu Zhou, and Yuheng Zou. Effective quantization methods for recurrent neural networks. arXiv preprint arXiv:1611.10176, 2016b.
|
| 165 |
+
|
| 166 |
+
Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. Quantization and training of neural networks for efficient integer-arithmeticonly inference. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2704–2713, 2018.
|
| 167 |
+
|
| 168 |
+
Max Jaderberg, Andrea Vedaldi, and Andrew Zisserman. Speeding up convolutional neural networks with low rank expansions. arXiv preprint arXiv:1405.3866, 2014.
|
| 169 |
+
|
| 170 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009.
|
| 171 |
+
|
| 172 |
+
Eunhyeok Park, Sungjoo Yoo, and Peter Vajda. Value-aware quantization for training and inference of neural networks. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 580–595, 2018.
|
| 173 |
+
|
| 174 |
+
A. Polino, R. Pascanu, and D. Alistarh. Model compression via distillation and quantization. arXiv preprint arXiv:1802.05668, 2018.
|
| 175 |
+
|
| 176 |
+
Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. In European conference on computer vision, pp. 525–542. Springer, 2016.
|
| 177 |
+
|
| 178 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision (IJCV), 115(3):211–252, 2015. doi: 10.1007/s11263-015-0816-y.
|
| 179 |
+
|
| 180 |
+
Charbel Sakr and Naresh Shanbhag. An analytical method to determine minimum per-layer precision of deep neural networks. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 1090–1094. IEEE, 2018.
|
| 181 |
+
|
| 182 |
+
Charbel Sakr and Naresh Shanbhag. Per-tensor fixed-point quantization of the back-propagation algorithm. In International Conference on Learning Representations, 2019. URL https://openreview.net/ forum?id $\equiv$ rkxaNjA9Ym.
|
| 183 |
+
|
| 184 |
+
Hardik Sharma, Jongse Park, Naveen Suda, Liangzhen Lai, Benson Chau, Vikas Chandra, and Hadi Esmaeilzadeh. Bit fusion: Bit-level dynamically composable architecture for accelerating deep neural network. In 2018 ACM/IEEE 45th Annual International Symposium on Computer Architecture (ISCA), pp. 764–775. IEEE, 2018.
|
| 185 |
+
|
| 186 |
+
Ilya Sutskever, James Martens, George Dahl, and Geoffrey Hinton. On the importance of initialization and momentum in deep learning. In International conference on machine learning, pp. 1139–1147, 2013.
|
| 187 |
+
|
| 188 |
+
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.
|
| 189 |
+
|
| 190 |
+
Kuan Wang, Zhijian Liu, Yujun Lin, Ji Lin, and Song Han. Haq: Hardware-aware automated quantization with mixed precision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 8612–8620, 2019.
|
| 191 |
+
|
| 192 |
+
Wei Wen, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Learning structured sparsity in deep neural networks. In Advances in neural information processing systems, pp. 2074–2082, 2016.
|
| 193 |
+
|
| 194 |
+
Wei Wen, Cong Xu, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Coordinating filters for faster deep neural networks. In Proceedings of the IEEE International Conference on Computer Vision, pp. 658–666, 2017.
|
| 195 |
+
|
| 196 |
+
Bichen Wu, Xiaoliang Dai, Peizhao Zhang, Yanghan Wang, Fei Sun, Yiming Wu, Yuandong Tian, Peter Vajda, Yangqing Jia, and Kurt Keutzer. Fbnet: Hardware-aware efficient convnet design via differentiable neural architecture search. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 10734–10742, 2019.
|
| 197 |
+
|
| 198 |
+
Yuhui Xu, Yuxi Li, Shuai Zhang, Wei Wen, Botao Wang, Yingyong Qi, Yiran Chen, Weiyao Lin, and Hongkai Xiong. Trained rank pruning for efficient deep neural networks. arXiv preprint arXiv:1812.02402, 2018.
|
| 199 |
+
|
| 200 |
+
Huanrui Yang, Wei Wen, and Hai Li. Deephoyer: Learning sparser neural network with differentiable scaleinvariant sparsity measures. In International Conference on Learning Representations, 2020. URL https: //openreview.net/forum?id=rylBK34FDS.
|
| 201 |
+
|
| 202 |
+
Dongqing Zhang, Jiaolong Yang, Dongqiangzi Ye, and Gang Hua. Lq-nets: Learned quantization for highly accurate and compact deep neural networks. In Proceedings of the European conference on computer vision (ECCV), pp. 365–382, 2018.
|
| 203 |
+
|
| 204 |
+
Xiangyu Zhang, Jianhua Zou, Kaiming He, and Jian Sun. Accelerating very deep convolutional networks for classification and detection. IEEE transactions on pattern analysis and machine intelligence, 38(10): 1943–1955, 2015.
|
| 205 |
+
|
| 206 |
+
Aojun Zhou, Anbang Yao, Yiwen Guo, Lin Xu, and Yurong Chen. Incremental network quantization: Towards lossless cnns with low-precision weights. arXiv preprint arXiv:1702.03044, 2017.
|
| 207 |
+
|
| 208 |
+
Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, and Yuheng Zou. Dorefa-net: Training low bitwidth convolutional neural networks with low bitwidth gradients. arXiv preprint arXiv:1606.06160, 2016.
|
| 209 |
+
|
| 210 |
+
# A HYPERPARAMETER CHOICES IN THE EXPERIMENTS
|
| 211 |
+
|
| 212 |
+
# A.1 CIFAR-10 EXPERIMENTS
|
| 213 |
+
|
| 214 |
+
We use ResNet-20 models on the CIFAR-10 dataset (Krizhevsky & Hinton, 2009) to do all of our ablation studies and evaluate the performance of BSQ. The CIFAR-10 dataset can be directly accessed through the dataset API provided in the “torchvision” python package. We do not change the splitting between the training and the test set. Standard preprocessing procedures, including random crop with a padding of 4, random horizontal flip and normalization, are used on the training set to train the model. The validation set is normalized with the same mean and variance as the training set. We implemented ResNet-20 models following the description in (He et al., 2016a), and pretrain the model for 350 epochs. The learning rate is set to 0.1 initially, and decayed by 0.1 at epoch 150, 250 and 325. The weights of all the layers except the batch normalization are then quantized to 8-bit before the BSQ training. The batch normalization layers are kept in the floating-point format throughout the training process. Similar to previous quantization works, we also apply the activation quantization during the training. For 4-bit or above activation precision we replace all the ReLU activation function in the model with the ReLU6 activation function. For lower activation precision we use the trainable PACT activation (Choi et al., 2018) with weight decay 0.0001. These changes will help achieving higher accuracy and better training stability when the activation is quantized as it eliminates extremely large activation values. As BSQ does not consider activation quantization as an objective, we fix the activation precision throughout the BSQ training and the finetuning process.
|
| 215 |
+
|
| 216 |
+
We start the BSQ training with the 8-bit quantized pretrained model following the process described in Section 3.3. The BSQ training is done for 350 epochs, with the first 250 epochs using learning rate 0.1 and the rest using learning rate 0.01. Unless otherwise specified, the re-quantization and precision adjustment is done every 100 epochs, as well as after the BSQ training is finished to adjust and finalize the quantization scheme. Different regularization strengths $\alpha$ are tried to explore the tradeoff between accuracy and compression rate. The exact $\alpha$ used for each set of experiment is reported alongside the results in the main article. For comparing with previous methods, we further finetune the achieved mixed-precision model with the DoReFa-Net algorithm (Zhou et al., 2016) while fixing the quantization scheme. The finetuning is performed for 300 epochs with an initial learning rate 0.01 and the learning rate decay by 0.1 at epoch 150 and 250. The “train from scratch” accuracy reported in Table 1 is achieved by first quantizing a pretrained floating-point model to the mixed precision quantization scheme achieved by BSQ, then performing DoReFa-Net quantization aware training on the model. The training is done for 350 epochs, with an initial learning rate 0.1 and the learning rate decay by 0.1 at epoch 150, 250 and 325. All the training tasks are optimized with the SGD optimizer (Sutskever et al., 2013) with momentum 0.9 and weight decay 0.0001, and the batch size is set to 128. All the training processes are done on a single TITAN XP GPU.
|
| 217 |
+
|
| 218 |
+
# A.2 IMAGENET EXPERIMENTS
|
| 219 |
+
|
| 220 |
+
The ImageNet dataset is used to further compare BSQ with previous methods in Table 3. The ImageNet dataset is a large-scale color-image dataset containing 1.2 million images of 1,000 categories (Russakovsky et al., 2015), which has long been utilized as an important benchmark on image classification problems. In this paper, we use the “ILSVRC2012” version of the dataset, which can be found at http://www.image-net.org/challenges/LSVRC/ 2012/nonpub-downloads. We use all the data in the provided training set to train our model, and use the provided validation set to evaluate our model and report the testing accuracy. We follow the data reading and preprocessing pipeline suggested by the official PyTorch ImageNet example. For training images, we first perform the random sized crop on the training images with the desired input size, then apply random horizontal flipping and finally normalize them before feeding them into the network. We use an input size of $2 2 4 \times 2 2 4$ for experiments on the ResNet-50, and use an size of $2 9 9 \times 2 9 9$ for the Inception-V3 experiments. Validation images are resized then center cropped to the desired input size and normalized before used for testing. For both the ResNet-50 and the Inception-V3 model, the model architecture and the pretrained model provided in the “torchvision” package are directly utilized. The first convolutional layer of the ResNet-50 model and the first 5 conventional layers of the Inception-V3 model are quantized to 8-bit, while all the other layers are quantized to 6-bits before the BSQ training. Similar to the CIFAR-10 experiments, the batch normalization layers are kept as floating-point.
|
| 221 |
+
|
| 222 |
+

|
| 223 |
+
Figure 4: Range of testing accuracy and bit reduction rate achieved from 5 repeated runs with different random seeds. Solid line links the average performance, error bar marks the maximal and minimal performance achieved with each set of hyperparameters.
|
| 224 |
+
|
| 225 |
+
We start the BSQ training with the quantized pretrained model. For both ResNet-50 and Inception-V3 models, the BSQ training is done for 90 epochs, with the first 30 epochs using learning rate 0.01 and the rest using learning rate 0.001. The re-quantization interval is set to 10 epochs for all the ImageNet experiments. The regularization strength $\alpha$ used is reported alongside the results in Table 3. The model after BSQ training is further finetuned with DoReFa-Net for 90 epochs, with the initial learning rate 0.001 and a learning rate decay by 0.1 after 30 epochs. All the models are optimized with the SGD optimizer with momentum 0.9 and weight decay 0.0001, and the batch size is set as 256 for all the experiments. Two TITAN RTX GPUs are used in parallel for the BSQ training and finetuning of both ResNet-50 and Inception-V3 models.
|
| 226 |
+
|
| 227 |
+
# B ADDITIONAL ABLATION STUDY RESULTS
|
| 228 |
+
|
| 229 |
+
# B.1 CHOICE OF RE-QUANTIZATION INTERVAL
|
| 230 |
+
|
| 231 |
+
We propose the layer-wise regularization reweighing in Section 3.3 and show its importance in Section 4.1. This reweighing can be more effective if we adjust the precision of each layer regularly throughout the BSQ training routine. The precision adjustment is done through periodic re-quantization. From the one hand, a smaller re-quantization interval would help the precision to be adjusted in-time. From the other hand, it may cause the training unstable due to the frequent change in bit representation and regularizer values. So here we gradually increase the re-quantization interval to find the best choice that can reach high and stable performance. Figure 4 demonstrates the stability and performance under re-quantization intervals 20, 50, 100 and compare them with the performance achieved without re-quantization during the training. Each point in the figure corresponds to the averaged compression rate and accuracy after 5-time repeated BSQ training with a fixed regularization strength $\alpha$ but with different random seeds. The observation in the figure supports our analysis that as re-quantization is important to reach a better accuracy-# bits tradeoff, applying it too frequent will make the training unstable and hinders the overall performance. Comparing to not performing the re-quantization and applying it every 20 epochs, re-quantizing every 50 or 100 epochs yields similarly better tradeoff between accuracy and compression rate. Re-quantization interval 100 leads to a higher accuracy in a wider range of compression rate comparing to the Int 50 model, and the performance is more stable throughout the repeated trails. Therefore in all the other CIFAR-10 experiments we set the re-quantization interval to 100 epochs.
|
| 232 |
+
|
| 233 |
+
# B.2 ADDITIONAL RESULTS ON REGULARIZATION REWEIGHING
|
| 234 |
+
|
| 235 |
+
Figure 5 and Figure 6 compares the quantization scheme and the model performance achieved when performing the BSQ training with or without the memory consumption-aware reweighing of the bit-level group Lasso regularizer under additional choices of regularization strength $\alpha$ . The $\alpha$ used for each set of experiment are chosen so that comparable compression rates are achieved with or without reweighing. The $\alpha$ used are listed in the caption of the figures. All the other hyperparameters are kept the same. From both figures we can observe a consistent trend that training without the reweighing term will lead to less precision assigned to earlier layers with fewer parameters, while later layers with more parameters are not compressed enough. Therefore the achieved quantized model will have less accuracy and smaller compression rate comparing to the model achieved with layer-wise regularization reweighing. This observation is consistent with the results shown in Section 4.1. All these results show that the memory consumption-aware reweighing proposed in BSQ training is crucial for generating models with both higher compression rate and higher accuracy.
|
| 236 |
+
|
| 237 |
+

|
| 238 |
+
|
| 239 |
+

|
| 240 |
+
Figure 5: Quantization schemes achieved with or without layer-wise regularization reweighing. The compression rate and the accuracy after finetuning are listed in the legend. $\alpha { = } 6 \mathrm { e } { - } 3$ with reweighing and $\alpha = 3 \mathrm { e } { - 3 }$ without reweighing.
|
| 241 |
+
Figure 6: Quantization schemes achieved with or without layer-wise regularization reweighing. The compression rate and the accuracy after finetuning are listed in the legend. $\alpha { = } 0 . 0 1 5$ with reweighing and $\alpha = 5 \mathrm { e } { - 3 }$ without reweighing.
|
| 242 |
+
|
| 243 |
+
# B.3 QUANTIZATION SCHEME COMPARISON WITH HAWQ
|
| 244 |
+
|
| 245 |
+
As discussed in Section 4.2 and shown in Figure 3, for the same model architecture the relative ranking of the precision assignment by BSQ is mostly consistent under different $\alpha$ ’s. Here we compare quantization schemes achieved by BSQ with the “layer importance ranking” measured in HAWQ (Dong et al., 2019) to further analyze this consistency. HAWQ proposes to rank all the layers in the model with an importance score $S _ { i } = \lambda _ { i } / n _ { i }$ , where $\lambda _ { i }$ denotes the top eigenvalue of the Hessian matrix of layer $i$ , and $n _ { i }$ represents the number of parameters in layer $i$ . A layer with a higher $S _ { i }$ will be assigned with higher precision in the mixed-precision quantization scheme. The quantization schemes achieved by BSQ and HAWQ are compared in Figure 7, where the black dotted line shows the HAWQ scheme while the color solid lines demonstrate the schemes achieved by BSQ under different $\alpha$ . It can be observed that the relative ranking of BSQ’s precision is consistent with the ranking of precision in HAWQ, which to some extent shows that BSQ can dynamically identify the important layers during the training and assign higher precision to them. Note that HAWQ can only come up with the precision ranking of each layer, while the exact precision is designed manually. BSQ on the other hand is able to explicitly assign the precision to each layer during a single training process, and can dynamically tradeoff model size and accuracy by only changing $\alpha$ . Thus BSQ can easily find better tradeoff points with both higher accuracy and higher compression rate comparing to HAWQ and other quantization methods, as discussed in Section 5.
|
| 246 |
+
|
| 247 |
+

|
| 248 |
+
Figure 7: Layer-wise precision comparison between the quantization schemes achieved with BSQ and the scheme achieved with HAWQ (Dong et al., 2019) on the ResNet-20 model.
|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
Figure 8: Layer-wise precision comparison of the quantization schemes achieved under different regularization strengths with 2-bit activation.
|
| 252 |
+
|
| 253 |
+
Table 4: Accuracy-#Bits tradeoff with 2-bit activation. “FT” stands for finetuning.
|
| 254 |
+
|
| 255 |
+
<table><tr><td>Strength α</td><td>1e-3</td><td>2e-3</td><td>3e-3</td><td>5e-3</td></tr><tr><td>#Bits per Para/Comp(×)</td><td>3.77 /8.48</td><td>2.86 /11.20</td><td>2.26 /14.13</td><td>1.70 / 18.85</td></tr><tr><td>BSQ acc before / after FT (%)</td><td>91.03 /91.21</td><td>90.19 /90.70</td><td>89.54 / 90.39</td><td>88.13 /90.19</td></tr></table>
|
| 256 |
+
|
| 257 |
+
# B.4 MODELS ACHIEVED UNDER DIFFERENT ACTIVATION PRECISION
|
| 258 |
+
|
| 259 |
+
As we discuss the BSQ quantization schemes and model performances under 4-bit activation in Figure 3 and Table 1, here we show the tradeoff between model size and accuracy under different regularization strength $\alpha$ with 2-bit activation in Figure 8 and Table 4, as well as those with 3-bit activation in Figure 9 and Table 5. In both cases we observe that the relative ranking of the precision assignment is mostly consistent under different $\alpha$ ’s. As $\alpha$ increases, less bits are assigned to each layer, leading to increasing overall bit reduction with the cost of a small performance loss. This tradeoff is consistent with our previous observations on the 4-bit activation models .
|
| 260 |
+
|
| 261 |
+
# C DETAILED QUANTIZATION SCHEMES FOR IMAGENET EXPERIMENTS
|
| 262 |
+
|
| 263 |
+
The quantization schemes of the reported ResNet-50 and Inception-V3 models can be found in Table 6 and Table 7 respectively.
|
| 264 |
+
|
| 265 |
+

|
| 266 |
+
Figure 9: Layer-wise precision comparison of the quantization schemes achieved under different regularization strengths with 3-bit activation.
|
| 267 |
+
|
| 268 |
+
Table 5: Accuracy-#Bits tradeoff with 3-bit activation. “FT” stands for finetuning.
|
| 269 |
+
|
| 270 |
+
<table><tr><td>Strength α</td><td>2e-3</td><td>5e-3</td><td>8e-3</td><td>1e-2</td></tr><tr><td>#Bits per Para /Comp(×)</td><td>2.90 / 11.04</td><td>1.95 /16.37</td><td>1.39 /23.04</td><td>1.28 / 25.06</td></tr><tr><td>BSQ acc before /after FT (%)</td><td>90.45 /92.16</td><td>90.44 / 91.72</td><td>89.01 /90.93</td><td>88.41 /90.51</td></tr></table>
|
| 271 |
+
|
| 272 |
+
Table 6: Quantization schemes of ResNet-50 models on ImageNet dataset achieved by BSQ in Table 3. The scheme on the left is achieved with $\alpha = 5 \mathrm { e } { - 3 }$ and the one on the right is achieved with $\alpha = 7 \mathrm { e } { - 3 }$ . Except the first row for the leading convolutional layer and the last row for the FC layer, each row in the table reports the precision assigned to the 3 layers in a residual block, with layer 1-3 listed from left to right.
|
| 273 |
+
|
| 274 |
+
<table><tr><td></td><td>BSQ 5e-3</td><td></td><td>BSQ 7e-3</td><td></td></tr><tr><td>Conv 1</td><td>17</td><td></td><td>17</td><td></td></tr><tr><td>Block 1-0</td><td>7</td><td>6 6</td><td>7</td><td>6 6 6</td></tr><tr><td>Block 1-1</td><td>6</td><td>6 6 6</td><td>6</td><td>6 6</td></tr><tr><td>Block 1-2</td><td>6</td><td>6</td><td>6</td><td>5</td></tr><tr><td>Block 2-0</td><td>4 4</td><td>3 4</td><td>4</td><td>3</td></tr><tr><td>Block 2-1</td><td>4 4</td><td>4</td><td>4</td><td>3</td></tr><tr><td>Block 2-2</td><td>4</td><td>4</td><td>4</td><td>3</td></tr><tr><td>Block 2-3</td><td>4 3</td><td></td><td>43</td><td>3</td></tr><tr><td>Block 3-0</td><td>4 3</td><td>3</td><td>4</td><td>3</td></tr><tr><td>Block 3-1</td><td>33</td><td>3 ×</td><td>3</td><td>3</td></tr><tr><td>Block 3-2</td><td>3</td><td>3</td><td>3</td><td>3</td></tr><tr><td>Block 3-3</td><td>3</td><td></td><td>3</td><td>3</td></tr><tr><td></td><td>3</td><td>3</td><td></td><td>2 3 3</td></tr><tr><td>Block 3-4</td><td>3 3</td><td>3</td><td>3</td><td>3 3</td></tr><tr><td>Block 3-5</td><td>3</td><td>3</td><td>3</td><td>3</td></tr><tr><td>Block 4-0</td><td>3 2</td><td>2</td><td>3</td><td>2</td></tr><tr><td>Block 4-1</td><td>2</td><td>2 3</td><td>2</td><td>2</td></tr><tr><td>Block 4-2</td><td></td><td></td><td>2</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td>2</td></tr><tr><td></td><td>13</td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td>2</td><td></td><td></td><td></td></tr><tr><td></td><td></td><td>3 3</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>FC</td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td>2</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr></table>
|
| 275 |
+
|
| 276 |
+
Table 7: Quantization schemes of Inception-V3 model on ImageNet dataset achieved by BSQ in Table 3. The scheme on the left is achieved with $\alpha = 1 { \mathrm e } { - } 2$ and the one on the right is achieved with $\alpha =$ 2e-2. Except for the first 5 convolutional layers and the final FC layer, each row in the table reports the precision assigned to the layers within the inception block. The order from left to right follows the parameter definition order provided in the torchvision package implementation (https://github. com/pytorch/vision/blob/master/torchvision/models/inception.py).
|
| 277 |
+
|
| 278 |
+
<table><tr><td></td><td></td><td colspan="10">BSQ 1e-2</td><td></td><td></td><td>BSQ 2e-2</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Conv 1a</td><td>8</td><td colspan="10"></td><td>8</td><td colspan="10"></td></tr><tr><td>Conv 2a</td><td>7</td><td colspan="10"></td><td colspan="10">7</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Conv 2b</td><td>6</td><td colspan="10"></td><td colspan="10">6</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Conv 3b</td><td>8</td><td colspan="10"></td><td colspan="10">8</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Conv 4a</td><td>5</td><td colspan="10"></td><td>4</td><td colspan="10"></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Mixed 5b</td><td>4</td><td>4</td><td>4</td><td>4</td><td>4</td><td></td><td>3</td><td>4</td><td></td><td></td><td></td><td></td><td>4</td><td>4</td><td></td><td>3</td><td>4</td><td>3</td><td></td><td>3</td><td></td><td>4</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Mixed 5c</td><td>4</td><td>4</td><td>3</td><td>4</td><td>3</td><td>3</td><td></td><td>4</td><td></td><td></td><td></td><td></td><td>4</td><td>4</td><td>3</td><td></td><td>4 4</td><td>3 3</td><td></td><td>3</td><td></td><td>4</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Mixed 5d</td><td>4</td><td>4</td><td>4</td><td>4</td><td>4</td><td></td><td>3</td><td>4</td><td></td><td></td><td></td><td></td><td>4</td><td>4</td><td>3</td><td></td><td></td><td></td><td></td><td>3</td><td>4</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Mixed 6a</td><td>2</td><td>4</td><td>4</td><td>3</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>2</td><td>4</td><td>3</td><td></td><td>3</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>3</td><td></td></tr><tr><td>Mixed 6b</td><td>4</td><td>3</td><td>3</td><td>3</td><td>3</td><td></td><td>3</td><td>3</td><td>3</td><td>3</td><td></td><td>3</td><td>3</td><td>3</td><td>3</td><td></td><td>3</td><td>3 3</td><td></td><td>3</td><td></td><td>3</td><td>3</td><td></td><td>3 2</td><td></td><td>3</td></tr><tr><td>Mixed 6c</td><td>4</td><td>4</td><td>3</td><td>3</td><td>4</td><td></td><td>3</td><td>3</td><td>3</td><td>3</td><td></td><td>3</td><td>3</td><td>3</td><td>3</td><td></td><td>3</td><td></td><td></td><td>3</td><td></td><td>3</td><td></td><td>2 3</td><td></td><td></td><td>3</td></tr><tr><td>Mixed 6d</td><td>5</td><td>3</td><td>3</td><td>3 3</td><td>4 3</td><td></td><td>3 3</td><td>3 3</td><td>3 3</td><td>3 3</td><td></td><td>3 4</td><td>5</td><td>3 3</td><td></td><td>3 2</td><td>3 2</td><td>3</td><td>4</td><td>3 3</td><td></td><td>3 3</td><td></td><td>3</td><td>2 3</td><td></td><td>3</td></tr><tr><td>Mixed 6e</td><td>5</td><td>4</td><td>3</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>4</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Mixed 7a</td><td>3</td><td>3</td><td>4</td><td>3</td><td>3</td><td></td><td>2</td><td></td><td></td><td></td><td></td><td></td><td>3</td><td>3</td><td></td><td>3</td><td>3</td><td></td><td>3</td><td>2</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Mixed 7b</td><td>2</td><td>3</td><td>3</td><td>3</td><td>2</td><td></td><td>2</td><td>3</td><td>2 3</td><td></td><td>3</td><td></td><td>2</td><td>2</td><td></td><td>3 3</td><td>3 3</td><td></td><td>2 2</td><td>1</td><td></td><td>2</td><td></td><td>2</td><td>2</td><td></td><td></td></tr><tr><td>Mixed 7c</td><td>2</td><td>2</td><td>3</td><td>3</td><td>3</td><td></td><td>2</td><td>3</td><td></td><td></td><td>2</td><td></td><td>2</td><td>2</td><td></td><td></td><td></td><td></td><td></td><td>2</td><td></td><td>3</td><td>3</td><td></td><td>2</td><td></td><td></td></tr><tr><td>FC</td><td>3</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>3</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
|
parse/train/TiXl51SCNw8/TiXl51SCNw8_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/YFysbLCFdIe/YFysbLCFdIe.md
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Neural Human Performer: Learning Generalizable Radiance Fields for Human Performance Rendering
|
| 2 |
+
|
| 3 |
+
Youngjoong Kwon1, Dahun $\mathbf { K i m ^ { 2 } }$ , Duygu Ceylan3, Henry Fuchs1 1University of North Carolina at Chapel Hill. 2KAIST. 3Adobe Research. {youngjoong,fuchs}@cs.unc.edu {mcahny}@kaist.ac.kr {ceylan}@adobe.com
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
In this paper, we aim at synthesizing a free-viewpoint video of an arbitrary human performance using sparse multi-view cameras. Recently, several works have addressed this problem by learning person-specific neural radiance fields (NeRF) to capture the appearance of a particular human. In parallel, some work proposed to use pixel-aligned features to generalize radiance fields to arbitrary new scenes and objects. Adopting such generalization approaches to humans, however, is highly challenging due to the heavy occlusions and dynamic articulations of body parts. To tackle this, we propose Neural Human Performer, a novel approach that learns generalizable neural radiance fields based on a parametric human body model for robust performance capture. Specifically, we first introduce a temporal transformer that aggregates tracked visual features based on the skeletal body motion over time. Moreover, a multi-view transformer is proposed to perform cross-attention between the temporally-fused features and the pixel-aligned features at each time step to integrate observations on the fly from multiple views. Experiments on the ZJU-MoCap and AIST datasets show that our method significantly outperforms recent generalizable NeRF methods on unseen identities and poses. The video results and code are available at https://youngjoongunc.github.io/nhp.
|
| 8 |
+
|
| 9 |
+
# 1 Introduction
|
| 10 |
+
|
| 11 |
+
Free-viewpoint video of a human performer has a variety of applications in the area of telepresence, mixed reality, gaming and etc. Conventional free-viewpoint video systems require extremely expensive setups such as dense camera rigs [4, 7, 43] or accurate depth sensors [6, 13], to capture person-specific appearance information. In this paper, we aim at a scalable solution for free-viewpoint human performance rendering that generalizes across different human performers and requires only sparse camera views. However, representing and rendering arbitrary human performances is extremely challenging when the observations are highly sparse (up to three to four views) due to heavy self-occlusions and dynamic articulations of the body parts. In particular, an effective solution needs to coherently aggregate appearance information from sparse multi-view observations across time as the body undergoes a 3D motion. Furthermore, the solution needs to generalize to unseen motions and characters at test time.
|
| 12 |
+
|
| 13 |
+
Recently, neural radiance fields (NeRF) [26, 11, 17, 30, 33, 35, 36, 47, 50, 52, 53] have shown photo-realistic novel view synthesis results in per-scene optimization settings. To avoid the expensive per-scene training and improve the practicality, generalizable NeRFs [36, 52, 47] have been proposed which use image-conditioned, pixel-aligned features and achieve feed-forward view synthesis from sparse input views [36, 52]. Direct application of these methods to complex and non-rigid human motion is not straightforward, however, and naive solutions suffer from significant artifacts as shown in Fig. 3. Some existing methods [37, 52] aggregate image features across multiple views by simple average pooling, which often leads to over-smoothed outputs when details observed from multiple views (e.g., front and side views) differ due to self occlusions of humans. Alternatively, several methods [23, 33] have proposed to learn person-specific global appearance features from multi-view observations. However, such methods are not able to generalize to new human performers.
|
| 14 |
+
|
| 15 |
+
To address these challenges, we propose Neural Human Performer, a novel approach that learns generalizable radiance fields based on a parametric 3D body model for robust performance capture. In addition to exploiting a parametric body model as a geometric prior, the core of our method is a combination of temporal and multi-view transformers which help to effectively aggregate spatio-temporal observations to robustly compute the density and color of a query point. First, the temporal transformer aggregates trackable visual features based on the input skeletal body motion across time. The following multi-view transformer performs cross-attention between the temporallyaugmented skeletal features and the pixel-aligned features for each time step. The proposed modules collectively contribute to the adaptive aggregation of multi-time and multi-view information, resulting in significant improvements in synthesis results in different generalization settings of unseen motions and identities.
|
| 16 |
+
|
| 17 |
+
We study the efficacy of Neural Human Performer on two multi-view human performance capture datasets, ZJU-MoCap [33] and AIST [16]. Experiments show that our method significantly outperforms recent generalizable radience field (NeRF) methods. Furthermore, we compare ours with identity-specific methods [33, 44, 49] that also utilize a 3D human body model prior. Surprisingly, our generalized method achieves better rendering quality than the person-specific dedicated methods when tested on novel poses demonstrating the effectiveness of our transformer-based generalizable representation.
|
| 18 |
+
|
| 19 |
+
To summarize, our contributions are:
|
| 20 |
+
|
| 21 |
+
• We present a new feed-forward method of synthesizing novel-view videos of arbitrary human performers from sparse camera views. We propose Neural Human Performer that learns generalizable neural radiance representations by leveraging a 3D body motion prior.
|
| 22 |
+
• We design a combination of temporal and multi-view transformers that can aggregate information on the fly over video frames across multiple views to render each frame of the novel-view video.
|
| 23 |
+
• We show significant improvements over recent generalizable NeRF methods on unseen identities and poses. Moreover, our generalization results can outperform even personspecific methods when tested on unseen poses.
|
| 24 |
+
|
| 25 |
+
# 2 Related works
|
| 26 |
+
|
| 27 |
+
Human performance capture. Novel view synthesis of human performance has a long history in computer vision and graphics. Traditional methods rely on complicated hardware such as dense camera rigs [4, 7, 43] or accurate depth sensors [6, 13]. To enable free-view video from sparse camera views, template-based methods [3, 5, 10, 42] exploit pre-scanned human models to track the motion of a person. However, their synthesis results are not photo-realistic and pre-scanned human models are not available in most cases. Recent methods [27, 37, 38, 54] learn 3D human geometry priors along with pixel aligned features to enable detailed 3D human reconstructions even from single images. However, these methods often suffer under complex human poses that are never seen during training and hence cannot be directly used for our purpose of human performance synthesis.
|
| 28 |
+
|
| 29 |
+
Neural 3D representations. Recently, there has been great progress in learning neural networks to represent the shape and appearance of scenes. The 3D representations are learned from 2D images via differentiable rendering networks. Convolutional neural networks are used to predict volumetric representations via 3D voxel-grid features [40, 23, 29, 25, 14, 15], point clouds [1, 49], textured meshes [18, 21, 44] and multi-plane images [8, 55]. The learnt representations are projected by a 3D-to-2D operation to synthesize images. Some methods [14, 15] introduce consistency loss to improve the multi-view and temporal consistency. However, these methods often have difficulty in scaling to higher resolution due to memory restrictions.
|
| 30 |
+
|
| 31 |
+
To eschew these problems, implicit function-based methods [20, 22, 28, 41] learn a multi-layer perceptron that directly translates a 3D positional feature into a pixel generator. The more recent NeRF [26] learns implicit fields of density and color with a volume rendering technique and achieves photo-realistic view synthesis. Among many following NeRF extensions, [30, 31, 35, 53, 17, 50] focus on dynamic scenes. While showing impressive results, it’s an extremely under-constrained problem to jointly learn NeRF and highly dynamic deformation fields. To regularize the training, Neural Body [33] combines NeRF with a deformable human body model (e.g., SMPL [24]). Despite the promising results, these general deformable NeRF [17, 53] and human-specific NeRF [11, 9, 33, 32] methods must be optimized for each new video separately, and generalize poorly on unseen scenarios. Generalizable NeRFs [36, 47, 52] try to avoid the expensive per-scene optimization by image-conditioning using pixel-aligned features. However, directly extending such methods to model complex and dynamic 3D humans is not straightforward when available observations are highly sparse. Unlike existing works, our method exploits temporal and multi-view information on-the-fly and achieves free-viewpoint human rendering in a feed-forward manner, also generalizing to new, unseen human identities and poses.
|
| 32 |
+
|
| 33 |
+

|
| 34 |
+
Figure 1: Given a sparse set of multi-view videos of a person, Neural Human Performer uses temporal and multi-view transformers to learn pixel aligned features on the surface of a deformable body template such as SMPL. Such features are utilized to predict the color and density value of query points to render novel views of possibly unseen poses of the person.
|
| 35 |
+
|
| 36 |
+
# 3 Method
|
| 37 |
+
|
| 38 |
+
# 3.1 Neural Human Performer
|
| 39 |
+
|
| 40 |
+
Problem definition. In our setting, given a sparse set (e.g., 3 or 4) of multi-view cameras $c = 1 , \ldots , C$ , input videos of an arbitrary human performance $I _ { c , 1 : T } : = \{ I _ { c , 1 } , I _ { c , 2 } , . . . , I _ { c , T } \}$ are captured for each camera view $c$ defined by $\{ \mathbf { K } _ { c } , [ \mathbf { R } | \mathbf { t } ] _ { c } \}$ . We assume that the 3D human body model fit corresponding to each frame is given. Our goal is to synthesize a novel view video $\hat { I } _ { q , 1 : T }$ for a query viewpoint $q$ defined by $\{ \mathbf { K } _ { q } , \mathbf { \bar { [ R | t ] } } _ { q } \}$ .
|
| 41 |
+
|
| 42 |
+
Overview. To compensate for the sparsity of available input views, we propose to exploit temporal information across video frames. In practice, we sample $M$ memory frames from the original input videos to augment each queried timestep $t$ . Our goal is to learn generalizable 3D representations of human performers from multi-time $( M )$ and multi-view $( C )$ observations.
|
| 43 |
+
|
| 44 |
+
To this end, the Neural Human Performer is proposed with two main components as illustrated in Fig. 1. First, we construct the time-augmented skeletal features $\{ s \}$ . We exploit a human body model (SMPL [24]) to construct 3D skeletal features by projecting all the SMPL vertices onto each memory frame and picking up the pixel-aligned image features [36, 37, 52] at the projected 2D locations. The skeletal features are sampled from all memory frames to construct the skeletal feature bank. Inspired by Transformers[2, 46, 48], we propose a temporal Transformer that aggregates these memory features into the time-augmented skeletal features $\{ s ^ { \prime } \}$ .
|
| 45 |
+
|
| 46 |
+
In the second stage, given a query 3D point $\mathbf { x }$ , skeletal features are sampled at $\mathbf { x }$ . In addition, pixel-aligned features $\{ p \}$ at each time $t$ are sampled by directly projecting $\mathbf { x }$ onto the input images $\{ I \} _ { t }$ . The multi-view Transformer is proposed to learn the correlation between the pixel-aligned features $\{ p \}$ and the time-augmented skeletal features $\{ s ^ { \prime } \}$ , and to adaptively fuse the multi-view information. The final fused feature of the query point $\mathbf { x }$ is fed into the radiance field module to predict its color and density.
|
| 47 |
+
|
| 48 |
+
# 3.2 Construction of time-augmented skeletal features
|
| 49 |
+
|
| 50 |
+
Unlike static scenes, video inputs of moving characters inherently contain more visual cues as the occluded regions in a frame may be visible in other (potentially distant) frames. To take advantage of this temporal information, we first build up the skeletal feature bank from memory frames by leveraging a parametric body model (see Fig. 1). Then, we propose a temporal Transformer module that aggregates such collected features.
|
| 51 |
+
|
| 52 |
+
For each view $c$ and time $t$ , we first build frame-level skeletal features $s _ { c , t } \in \mathbb { R } ^ { L \times d }$ by sampling image features at the projection of the SMPL vertices in each image $I _ { c , t } \in \mathbb { R } ^ { H \times W \times 3 }$ . $L$ denotes the number of SMPL vertices and $d$ is the dimension of image features.
|
| 53 |
+
|
| 54 |
+
After collecting all the skeletal features from all memory frames, we aggregate the time information in an attention-aware manner, instead of using simple average pooling. Specifically, for any $i ^ { t h }$ skeletal feature vertex $s _ { c , t } ^ { i } \in \mathbb { R } ^ { d }$ , the proposed temporal Transformer casts attention over all other features contained in the vertex’s memory bank we compute soft weights for all memory $\boldsymbol { s } _ { c , t _ { 1 } : t _ { M } } ^ { i } = \{ \boldsymbol { s } _ { c , t _ { 1 } } ^ { i } , \boldsymbol { s } _ { c , t _ { 2 } } ^ { i } , . . . , \boldsymbol { s } _ { c , t _ { M } } ^ { i } \} \in \mathbb { R } ^ { M \times d }$ . In particular,respect to the current timestep $t$ . Then, the values of the memory features are weighted summed as
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\begin{array} { l l } { { t _ { \perp } a t t _ { c , t } ^ { i } = \psi \big ( \frac { 1 } { \sqrt { d _ { 0 } } } q ( s _ { c , t } ^ { i } ) \cdot k ( s _ { c , t _ { 1 } : t _ { M } } ^ { i } ) ^ { T } \big ) , } } & { { t _ { - } a t t _ { c , t } ^ { i } \in \mathbb { R } ^ { 1 \times M } } } \\ { { s _ { c , t } ^ { \prime } { } ^ { i } = t _ { - } a t t _ { c , t } ^ { i } \cdot v \big ( s _ { c , t _ { 1 } : t _ { M } } ^ { i } \big ) + s _ { c , t } ^ { i } , } } & { { s _ { c , t } ^ { \prime } \in \mathbb { R } ^ { L \times d } \forall i } } \end{array}
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where $\psi$ represents the softmax operator along the second axis, $q ( \cdot ) , k ( \cdot )$ and $v ( \cdot )$ are learnable query, key and value embedding functions $\mathbb { R } ^ { d d _ { 0 } }$ of the temporal Transformer.
|
| 61 |
+
|
| 62 |
+
In other words, the representation $s _ { c , t } ^ { i }$ of each skeletal vertex at time $t$ is computed through a dynamically weighted combination of all its previous and next representations in the memory frames. This allows our network to incorporate helpful information and ignore irrelevant ones from other timesteps. In practice, the temporal Transformer operation in Eq. (1) is performed by a batch matrix multiplication for all skeletal vertices $L$ and all available viewpoints $C$ .
|
| 63 |
+
|
| 64 |
+
# 3.3 Multi-view aggregation of skeletal and query features
|
| 65 |
+
|
| 66 |
+
Given a query 3D point $\mathbf { x } \in \mathbb { R } ^ { 3 }$ , we retrieve the corresponding (time-augmented) skeletal feature $s _ { c , t } ^ { \prime } \in \mathring { \mathbb { R } } ^ { d }$ at the queried location via trilinear interpolation in the SMPL space with SparseConvNet [19], following [39, 34, 51, 33].
|
| 67 |
+
|
| 68 |
+
In addition, we sample pixel-aligned image feature $p _ { c , t } ^ { \mathbf { x } }$ via direct $\mathbb { R } ^ { 3 \to 2 }$ projection of the query point $\mathbf { x }$ on $I _ { c , t }$ . It is important to note that the pixel-aligned feature $p _ { c , t } ^ { \mathbf { x } }$ is time-specific and represents the exact query location of $\mathbf { x }$ , while the skeletal feature $s _ { c , t } ^ { \prime } { } ^ { \mathbf { x } }$ is time-augmented (w.r.t $t$ ) and contains inherent geometric deviations in the SMPL vertices and the following trilinear interpolations. We propose to combine these two complementary features, which will be shown to be effective in Sec. 4.4.
|
| 69 |
+
|
| 70 |
+
Given the two sets of multi-view features, skeletal s′1:C,tx $s _ { 1 : C , t } ^ { \prime } \mathbf { \Psi } ^ { \mathbf { x } } = \{ s _ { c , t } ^ { \prime } \mathbf { \Psi } ^ { \mathbf { x } } | c = 1 , . . . , C \} \in \mathbb { R } ^ { C \times d }$ and pixel-aligned $p _ { 1 : C , t } ^ { \bf x } = \{ p _ { c , t } ^ { \bf x } | c = 1 , . . . , C \} \in \mathbb { R } ^ { C \times d }$ , we propose a multi-view Transformer that performs cross-attention from skeletal to pixel-aligned features. Specifically, the values of pixelaligned features from all viewpoints is re-weighted based on how much compatible they are with each skeletal features. The non-local cross-attention mv_att is constructed as:
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\begin{array} { r l r } & { m v _ { - } a t t _ { t } ^ { \mathbf { x } } = \psi \bigl ( \frac { 1 } { \sqrt { d _ { 1 } } } k \bigl ( s _ { 1 : C , t } ^ { \prime } \bigr ) \cdot k \bigl ( p _ { 1 : C , t } ^ { \mathbf { x } } \bigr ) ^ { T } \bigr ) , \quad m v _ { - } a t t _ { t } ^ { \mathbf { x } } \in \mathbb { R } ^ { C \times C } } & \\ & { z _ { 1 : C , t } ^ { \mathbf { x } } = m v _ { - } a t t _ { t } ^ { \mathbf { x } } \cdot v \bigl ( p _ { 1 : C , t } ^ { \mathbf { x } } \bigr ) + v \bigl ( s _ { 1 : C , t } ^ { \prime } \bigr ) , \qquad z _ { 1 : C , t } ^ { \mathbf { x } } \in \mathbb { R } ^ { C \times d } , \quad z _ { c , t } ^ { \mathbf { x } } \in \mathbb { R } ^ { 1 \times d } } & \end{array}
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
where $\psi$ represents the softmax operator along the second axis. Note that $k$ and $v$ are new layers independent from those in the temporal Transformer. The confident observations in each view will have large weights and be highlighted, and vice versa. Finally, we use the view-wise mean of $\begin{array} { r } { z _ { t } ^ { \mathbf { x } } = \frac { 1 } { C } \sum _ { c } z _ { c , t } ^ { \mathbf { x } } \in \mathbb { R } ^ { d } } \end{array}$ as our meta-time and meta-view representation of the query point $x$ .
|
| 77 |
+
|
| 78 |
+
The final density $\sigma _ { t } ( \mathbf { x } )$ and color values $r g b _ { t } ( { \bf x } )$ at time $t$ are computed as:
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\sigma _ { t } ( \mathbf { x } ) = M L P _ { \sigma } ( z _ { t } ^ { \mathbf { x } } ) , \qquad r g b _ { t } ( \mathbf { X } ) = M L P _ { \mathbf { r g b } } ( \sum _ { c } { ( z _ { c , t } ^ { \mathbf { x } } ; \gamma _ { \mathbf { d } } ( \mathbf { d } ) ) } / C ) ,
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
where $M L P _ { \sigma }$ and $M L P _ { \mathbf { r g b } }$ consist of four and two linear layers respectively, and $\gamma _ { \mathbf { d } } : \mathbb { R } ^ { 3 6 \times l }$ is a positional encoding of viewing direction $\mathbf { d } \in \mathbb { R } ^ { 3 }$ as in [26] with $2 \times l$ different basis functions.
|
| 85 |
+
|
| 86 |
+
More details on the network architecture can be found in the supplementary material.
|
| 87 |
+
|
| 88 |
+
# 3.4 Volume Rendering
|
| 89 |
+
|
| 90 |
+
The predicted color of a pixel $p \in \mathbb { R } ^ { 2 }$ for a target viewpoint $q$ in the focal plane of the camera and center $\mathbf { r } _ { 0 } \in \mathbb { R } ^ { 3 }$ is obtained by marching rays into the scene using the camera-to-world projection matrix, P−1 = [Rq|tq]−1K−1q with the direction of the rays given by d = P−1p−r0∥P−1p−r0∥ .
|
| 91 |
+
|
| 92 |
+
We then accumulate the radiance and opacity along the ray $\mathbf { r } ( z ) = \mathbf { r } _ { 0 } + z \mathbf { d }$ for $z \in [ z _ { \mathrm { n e a r } } , z _ { \mathrm { f a r } } ]$ as defined in NeRF [26] as follows:
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\mathbf { I } _ { q } ( p ) = \int _ { z _ { \mathrm { n e a r } } } ^ { z _ { \mathrm { f a r } } } \mathbf { T } ( z ) \sigma ( \mathbf { r } ( z ) ) \mathbf { c } ( \mathbf { r } ( z ) , \mathbf { d } ) d z , \quad w h e r e \quad \mathbf { T } ( z ) = \exp \left( - \int _ { z _ { \mathrm { n e a r } } } ^ { z } \sigma ( \mathbf { r } ( s ) ) d s \right)
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
In practice, we uniformly sample a set of 64 points $z \sim [ z _ { n e a r } , z _ { f a r } ]$ . We set $\mathbf { X } = \mathbf { r } ( z )$ and use the quadrature rule to approximate the integral. We compute the 3D bounding box of the SMPL parameters at time $t$ and derive the bounds for ray sampling $z _ { n e a r } , z _ { f a r }$ .
|
| 99 |
+
|
| 100 |
+
# 3.5 Loss Function
|
| 101 |
+
|
| 102 |
+
Given the ground truth target images $\mathbf { I } _ { q , t }$ , we train both the radiance field and feature extraction networks using a simple photometric reconstruction loss $\mathcal { L } = \Vert \hat { \mathbf { I } } _ { q , t } - \mathbf { I } _ { q , t } \Vert _ { 2 }$ .
|
| 103 |
+
|
| 104 |
+
# 4 Experiments
|
| 105 |
+
|
| 106 |
+
We present novel view synthesis and 3d reconstruction results of human performances in different generalization scenarios. We compare our method against the current best view-synthesis methods from two classes: per-subject optimization methods that also use a human body model prior (Sec. 4.1) and generalizable NeRF methods (Sec. 4.2). We experiment on the ZJU-MoCap [33] and AIST datasets [45, 16]. For training and testing our model as well as the baselines, we remove the background using the foreground masks that are either provided by the dataset or pre-computed using an off-the-shelf method. Unless otherwise specified, we sample two memory frames $\{ t - \mathsf { 2 0 } , t + 2 0 \bar \}$ at time $t$ (i.e., three timesteps in total) and take three canonical input views in all experiments. The details of the implementation, datasets, training process are provided in the supplementary material.
|
| 107 |
+
|
| 108 |
+
# 4.1 Comparison with body model-based, per-subject optimization methods.
|
| 109 |
+
|
| 110 |
+
Baselines. We perform comparisons with the state-of-the-art Neural Body (NB) [33] that combines the body model prior SMPL and NeRF in a per-subject optimization setting. Neural Textures (NT) [44] renders a coarse mesh with latent texture maps and uses a 2D CNN to render target images. We use the SMPL mesh as the coarse mesh input to NT in our experiments. NHR [49] extracts 3D features from input point clouds and renders them into 2D images. Since dense point clouds are difficult to obtain from sparse camera views, we use the SMPL vertices as input point clouds. These methods have reported that they can adapt to new poses of the same performer, hence we compare to them for the task of novel pose synthesis.
|
| 111 |
+
|
| 112 |
+
Setup. We experiment with ZJU-MoCap dataset [33] which provides performance captures of 10 human subjects captured from 23 synchronized cameras, human body model parameters as well as the foreground mask corresponding to each frame. Each video contains complex motions such as kicking and Taichi and is between 1000 to 2000 frames long. We first split the dataset into two parts: source and target videos. In all comparisons, the first 300 frames of either source or target videos are used during training, and the remaining next frames (unseen poses) are held out for testing. Note that the baseline methods are always trained in a per-subject manner. To validate whether the training is reproducible, we experiment with 5 independent runs with random train/test splits and observe a variance of 0.15 PSNR, showing that the results are consistent. In each independent run, we used seven models for training and the other three for testing.
|
| 113 |
+
|
| 114 |
+
<table><tr><td>Method</td><td>PSNR</td><td>SSIM</td></tr><tr><td colspan="2">Trained on target subjects</td><td></td></tr><tr><td>NB</td><td>22.88</td><td>0.880</td></tr><tr><td>NHR</td><td>22.03</td><td>0.875</td></tr><tr><td>NT</td><td>21.92</td><td>0.873</td></tr><tr><td>Trained on</td><td>source subjects</td><td></td></tr><tr><td>Ours</td><td>24.75</td><td>0.906</td></tr></table>
|
| 115 |
+
|
| 116 |
+
b . Test results on unseen poses of target subjects
|
| 117 |
+
|
| 118 |
+
Table 1: Comparison with other body model-based, per-subject optimization methods.
|
| 119 |
+
|
| 120 |
+
<table><tr><td>Method</td><td>PSNR</td><td>SSIM</td></tr><tr><td colspan="2">Trained on source subjects</td><td></td></tr><tr><td>NB NHR</td><td>23.79 22.31</td><td>0.887 0.871</td></tr><tr><td>NT</td><td>22.28</td><td>0.872</td></tr><tr><td colspan="3">Trained on source subjects</td></tr><tr><td>Ours</td><td>26.94</td><td>0.929</td></tr></table>
|
| 121 |
+
|
| 122 |
+
a . Test results on unseen poses of source subjects
|
| 123 |
+
|
| 124 |
+
<table><tr><td colspan="2">Method PSNR</td><td>SSIM</td></tr><tr><td colspan="3">Trained on source subjects</td></tr><tr><td>NB</td><td>28.51</td><td>0.947</td></tr><tr><td>NHR</td><td>23.95</td><td>0.897</td></tr><tr><td>NT</td><td>23.86</td><td>0.896</td></tr><tr><td colspan="3">Trained on source subjects</td></tr><tr><td>Ours</td><td>28.73</td><td>0.936</td></tr><tr><td>Ours per-subject</td><td>31.57</td><td>0.966</td></tr></table>
|
| 125 |
+
|
| 126 |
+
c . Test results on seen poses of source subjects
|
| 127 |
+
|
| 128 |
+

|
| 129 |
+
Figure 2: Pose generalization – comparison with per-scene optimization methods that use a human body prior. Results of NT(Neural textures) [44], NHR (Neural human rendering) [49], NB (Neural body) [33] and ours. Novel view synthesis on the ZJU-MoCap for unseen poses of source subjects. While ours is a single model trained on all source subjects; baselines are trained in a per-subject manner.
|
| 130 |
+
|
| 131 |
+
Results. We present three different comparison settings to validate our method. We would like to point out that all the comparison settings place our method (‘ours’) in disadvantage. This is because our model is trained on all the source subjects at once (one network for all subjects), while the competing methods are per-subject trained on the subject to be tested (one network for one subject) - easier setting. First, we evaluate the pose generalization capability (Table. 1a and Fig. 2) where we train on the training splits of the source subjects and test on the testing splits, i.e., unseen poses, of the same source subjects. Our method significantly outperforms all the baselines and the state-of-the-art Neural Body [33] by ${ \bf + 3 . 1 5 }$ PSNR and $+ 0 . 0 4 2$ SSIM scores. We next evaluate the identity generalization capability (Table. 1b) by testing on the unseen poses of target subjects. While our method is trained on source subjects only, baselines are trained on target subjects. Note that this comparison is disadvantageous to us since unlike our method the baselines have seen the testing subjects as they must be trained separately for each subject. Surprisingly, however, our method still outperforms all the baselines by a healthy margin of $+ 1 . 8 7$ PSNR and $+ 0 . 0 2 6$ SSIM scores. These results indicate that our proposed architecture with the temporal and the multi-view transformers generalizes well across unseen identities and poses, and produces photo-realistic results. Finally, in Table. 1c, we evaluate our method and baselines on seen poses of seen subjects. Even when we train a single model of our method for all the source sobjects (‘ours’), ours achieves comparable results with the state-of-the-art per-subject based methods [33]. To make a more fair comparison, we also train our method in the same per-subject setting similar to the baselines. Table. 1c shows that in this case, our model (‘ours per-subject’) achieves a significant improvement over the best-performing baseline [33] by $+ 3$ PSNR and $+ 1 . 4 \%$ SSIM.
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
Figure 3: Identity-and-pose generalization – comparison with generalizable NeRF methods. Results of Pixel-Nerf [52], PVA (Pixel-aligned volumetric avatar) [36] and ours. Novel view synthesis on the ZJU-MoCap dataset where all methods are trained on source subjects and tested on unseen poses of target subjects.
|
| 135 |
+
|
| 136 |
+
<table><tr><td>Method</td><td>PSNR</td><td>SSIM</td></tr><tr><td>Pixel-NeRF</td><td>18.06</td><td>0.7304</td></tr><tr><td>PVA</td><td>17.82</td><td>0.7211</td></tr><tr><td>Ours</td><td>19.03</td><td>0.8390</td></tr></table>
|
| 137 |
+
|
| 138 |
+
b . Generalization results on AIST.
|
| 139 |
+
|
| 140 |
+
Table 2: Comparison with generalizable NeRF methods.
|
| 141 |
+
|
| 142 |
+
<table><tr><td>Method</td><td>PSNR</td><td>SSIM</td></tr><tr><td>Pixel-NeRF</td><td>23.17</td><td>0.8693</td></tr><tr><td>PVA</td><td>23.15</td><td>0.8663</td></tr><tr><td>Ours</td><td>24.75</td><td>0.9058</td></tr></table>
|
| 143 |
+
|
| 144 |
+
a . Generalization results on ZJU-MoCap.
|
| 145 |
+
|
| 146 |
+
# 4.2 Comparison with generalizable NeRF methods.
|
| 147 |
+
|
| 148 |
+
Baselines. Among the recent generalizable NeRF methods [36, 52, 47], we compare with PixelNeRF [52] and PVA [36] which focus on very sparse (up to 3 or 4) input views. We reimplement [36] since the code is not available.
|
| 149 |
+
|
| 150 |
+
Setup. In addition to the ZJU-MoCap dataset (see Sec. 4.1), we experiment on the larger AIST dataset [45, 16] to further evaluate the generalization abilities of different methods. AIST dataset provides dance videos of 30 human subjects captured from 9 cameras, together with the corresponding SMPL fits. We extract the foregroud mask of each image using an off-the-shelf human parser [12]. AIST dataset contains highly diverse motions, slow to fast, simple to complex. We split the dataset into 20 and 10 subjects for training and testing respectively, where the testing dataset contains unseen poses of unseen subjects.
|
| 151 |
+
|
| 152 |
+
Novel view synthesis results. As shown in Table. 2, across all the datasets and all the metrics, our method consistently outperforms the baselines by healthy margins of $+ 1 . 6$ PSNR and $+ 0 . 0 3 7$ SSIM scores. Fig. 3 and Fig. 5 present the same tendency in visualizations. Pixel-NeRF and PVA aggregate multi-view observations via average pooling without explicitly considering the correlation between the views. In contrast, our temporal and multi-view transformers learn to model the correlation between input views and integrate different observations to help the NeRF module to produce higher quality results. Another advantage of our method is that the used body model prior provides a robust geometric cue to handle the self-occlusion of the human body.
|
| 153 |
+
|
| 154 |
+
3D reconstruction results. We also evaluate the 3D reconstruction quality of generalizable NeRF methods and our method on the ZJU-MoCap (Fig. 4) and AIST datasets (Fig. 5) given three input views. The visualizations show that our 3D reconstructions align well with the input images, and is more accurate than even the per-subject method [33] (e.g., the shape of the upper cloth in Fig. 4).
|
| 155 |
+
|
| 156 |
+
Overall, these results verify that since humans are complex and prone to occlusions, more sophisticated designs compared to simple image-conditioning are required to learn robust and accurate appearance representations.
|
| 157 |
+
|
| 158 |
+
# 4.3 Cross-dataset generalization.
|
| 159 |
+
|
| 160 |
+
We further study the generalization ability of our method across different datasets by training on one dataset and testing on another one as shown in Table. 4a. We would like to point out that the two datasets [33, 16] have significantly different statistics both in terms of color distribution (background, lighting) and distance of the camera to the subject, making the cross-dataset generalization task extremely challenging. Nevertheless, we found that only 8-minute fine-tuning on the target dataset can already outperform the baselines fully-trained on the target dataset. 16-minute fine-tuning performs on par with our model fully-trained on the target dataset.
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
Figure 4: 3D reconstruction on ZJU-MoCap. Tested on unseen poses of unseen subjects (except Neural Body which is a subject specific method). NB (Neural Body) [33], PVA (Pixel volumetric avatar) [36], Pixel-NeRF [52] and ours.
|
| 164 |
+
|
| 165 |
+

|
| 166 |
+
Figure 5: Generalization results on AIST. Novel view synthesis and 3D reconstruction results on unseen poses of unseen subjects.
|
| 167 |
+
|
| 168 |
+
# 4.4 Ablation studies
|
| 169 |
+
|
| 170 |
+
Table. 3 shows the ablation study on the ZJU-MoCap dataset for unseen subjects and unseen poses, using three time-steps and three camera views as input. Note that all the variations without either temporal or multi-view transformer modules use simple average pooling instead, to fuse temporal or multi-view observations respectively.
|
| 171 |
+
|
| 172 |
+
Complementariness of skeletal and pixel-aligned query features. ‘Sk’ uses only timeaugmented skeletal features (Sec. 3.2) without time-specific pixel-aligned features, while $\mathbf { \nabla } ^ { \circ } \mathbf { P } \mathbf { X } ^ { \prime }$ uses only the time-specific pixel-aligned features, on the contrary. Both ‘only’ models show the largest drops compared to our full model, and $\mathbf { \hat { S } k } + \mathbf { P x } ^ { \prime }$ model improves them by $+ 1 . 2$ PSNR and $+ 0 . 9$ PSNR respectively. This validates the complementariness between the skeletal and pixel-aligned features in that one is time-augmented but involves slight geometric deviations, while another is time-specific and represents exact query location, as discussed in Sec. 3.3.
|
| 173 |
+
|
| 174 |
+
Impact of temporal and multi-view transformers. $\mathbf { \nabla } \cdot \mathbf { S } \mathbf { k } + \mathbf { P } \mathbf { X } ^ { \prime }$ uses no transformers so far, falling behind our full model by -1.3 PSNR score. Then $\mathbf { \hat { S } k } + \mathbf { P x } + \mathbf { T } ^ { \prime }$ adds the temporal transformer and improves $+ 0 . 7$ PSNR score, showing its effectiveness in aggregating information over video frames. $\mathbf { \dot { S } k } + \mathbf { P x } + \mathbf { M V } ^ { \prime }$ uses the multi-view transformer module and shows the largest gain of $+ 1 . 0$ PSNR, indicating the efficacy of learnt cross-attention between the skeletal features and pixel-aligned features, as well as the importance of learnt inter-view correlations. Our full model $\mathbf { \ddot { S } k } + \mathbf { P x } + \mathbf { T } +$ MV’ shows the best use of all the proposed components and achieves 24.75 PSNR and 0.9058 SSIM.
|
| 175 |
+
|
| 176 |
+
Impact of number of camera views. Table. 4b shows the performance of our method when tested with different number of input views, fixing the number of timesteps to one. As expected, the performance degrades slightly with fewer input views (e.g., as few as one).
|
| 177 |
+
|
| 178 |
+
<table><tr><td>Variant</td><td>Skeletal</td><td>Pixel-aligned</td><td>T-transformer MV-transformer</td><td>PSNR</td><td>SSIM</td></tr><tr><td>Sk</td><td>√</td><td></td><td></td><td>22.31</td><td>0.8865</td></tr><tr><td>Px</td><td></td><td>√</td><td></td><td>22.58</td><td>0.8780</td></tr><tr><td>Sk + Px</td><td>√</td><td>√</td><td></td><td>23.47</td><td>0.8906</td></tr><tr><td>Sk + Px + T</td><td>√</td><td>√</td><td>1</td><td>24.21</td><td>0.9016</td></tr><tr><td>Sk + Px+ MV</td><td>√</td><td>√</td><td>√ √</td><td>24.44</td><td>0.9034</td></tr><tr><td>Sk+Px+T+MV</td><td>√</td><td>√</td><td>√</td><td>24.75</td><td>0.9058</td></tr></table>
|
| 179 |
+
|
| 180 |
+
Table 3: Ablation study. Results on the ZJU-MoCap dataset for unseen subjects and unseen poses. Sk: skeletal features, $\mathrm { P x }$ : pixel-aligned features, T: temporal transformer, MV: multi-view transformer.
|
| 181 |
+
|
| 182 |
+
<table><tr><td rowspan=1 colspan=1>Exp.protocol</td><td rowspan=1 colspan=1>Fine-tune</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td></tr><tr><td rowspan=2 colspan=1>Trained onAISTFine-tuned on ZJU-Mocap</td><td rowspan=1 colspan=1>8-min</td><td rowspan=1 colspan=1>24.25</td><td rowspan=1 colspan=1>0.8954</td></tr><tr><td rowspan=1 colspan=1>16-min</td><td rowspan=1 colspan=1>24.73</td><td rowspan=1 colspan=1>0.9023</td></tr><tr><td rowspan=2 colspan=1>Trained on ZJU-MocapFine-tuned on AIST</td><td rowspan=1 colspan=1>8-min</td><td rowspan=1 colspan=1>18.63</td><td rowspan=1 colspan=1>0.8242</td></tr><tr><td rowspan=1 colspan=1>16-min</td><td rowspan=1 colspan=1>18.83</td><td rowspan=1 colspan=1>0.8374</td></tr></table>
|
| 183 |
+
|
| 184 |
+
a . Cross-dataset generalization.
|
| 185 |
+
|
| 186 |
+
<table><tr><td># Timesteps</td><td>#Views</td><td>PSNR</td><td>SSIM</td></tr><tr><td rowspan="5">1</td><td>1</td><td>20.13</td><td>0.835</td></tr><tr><td>2</td><td>21.82</td><td>0.871</td></tr><tr><td>3</td><td>23.33</td><td>0.906</td></tr><tr><td>4</td><td>23.51</td><td>0.913</td></tr><tr><td></td><td></td><td></td></tr></table>
|
| 187 |
+
|
| 188 |
+
b . Impact of number of camera views.
|
| 189 |
+
Table 4: Cross-dataset generalization (left) and impact of different number of camera views tested on the ZJU-Mocap dataset for unseen poses of unseen subjects (right).
|
| 190 |
+
|
| 191 |
+
# 5 Limitations
|
| 192 |
+
|
| 193 |
+
While our novel generalizable human performance rendering method outperforms recent per-subject and generalizable NERF methods, there are remaining challenges yet to be explored. 1) While we show that our method can generalize across datasets with finetuning, the generalization capability will be limited as the distribution of the datasets become significantly different. 2) The performance of our method will be affected as the SMPL parameter accuracy degrades. This is the reason for lower performance on the AIST dataset where the accuracy of the SMPL fits are low due to highly complex motion sequences. It is an interesting direction to jointly refine the SMPL parameters using differentiable rendering within our framework. 3) Our algorithm does not have an explicit assumption of static cameras. However, in practice, it might be hard to estimate the inputs to our method (SMPL fits, camera parameters, foreground masks) with moving cameras due to motion blur, changing background, lighting, and synchronization issues etc. We consider this as an orthogonal problem and expect that any advancements in unconstrained multi-view capture setups will help to generalize our method to in-the-wild settings.
|
| 194 |
+
|
| 195 |
+
# 6 Societal impact
|
| 196 |
+
|
| 197 |
+
We discuss the potential societal impact of our work. On a positive note, the human performance synthesis is the key component of realizing telepresence, which has become more important especially in this pandemic era. In the future, people physically apart can feel like they are in the same space and feel connected with a few inexpensive webcams and AR/VR headsets thanks to the development of the telepresence. Like any other technology, our method can also be used for other reasons by corporations, e.g., for identity recognition from a small number of surveillance cameras. We strongly hope that our research will be used in positive directions.
|
| 198 |
+
|
| 199 |
+
# 7 Conclusion
|
| 200 |
+
|
| 201 |
+
We present Neural Human Performer, a generalizable radiance field network based on a parametric body model that can synthesize free-viewpoint videos for arbitrary human performers from sparse camera views. Leveraging the trackable visual features from the input body motion prior, we propose a combination of a temporal and a multi-view Transformer that integrates multi-time and multi-view observations in a feed-forward manner. Our method can produce photo-realistic view synthesis of unseen poses and identities at test time. In various generalization settings on the ZJU-MoCap and AIST datasets, our method achieves state-of-the-art performance compared to other per-subject methods that utilize a human body prior as well as the generalizable NeRF methods.
|
| 202 |
+
|
| 203 |
+
# Acknowledgments and Disclosure of Funding
|
| 204 |
+
|
| 205 |
+
We thank Sida Peng of Zhejiang University, Hangzhou, China, for many very helpful discussions on a variety of implementation details of the Neural Body [33]. We thank Ruilong li and Alex Yu of UC Berkeley for many discussions on the $\mathrm { A I S T + + }$ dataset [16] and Pixel-NeRF [52] details. We thank Prof. Alex Berg of UNC for the generous offer of computational resources and Misha Shvets of UNC for a useful tutorial on it. This work was partially supported by National Science Foundation Award 1840131.
|
| 206 |
+
|
| 207 |
+
# References
|
| 208 |
+
|
| 209 |
+
[1] Kara-Ali Aliev, Dmitry Ulyanov, and Victor Lempitsky. Neural point-based graphics. arXiv preprint arXiv:1906.08240, 2(3):4, 2019.
|
| 210 |
+
[2] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European Conference on Computer Vision, pages 213–229. Springer, 2020.
|
| 211 |
+
[3] Joel Carranza, Christian Theobalt, Marcus A Magnor, and Hans-Peter Seidel. Free-viewpoint video of human actors. ACM transactions on graphics (TOG), 22(3):569–577, 2003.
|
| 212 |
+
[4] Alvaro Collet, Ming Chuang, Pat Sweeney, Don Gillett, Dennis Evseev, David Calabrese, Hugues Hoppe, Adam Kirk, and Steve Sullivan. High-quality streamable free-viewpoint video. ACM Transactions on Graphics (ToG), 34(4):1–13, 2015.
|
| 213 |
+
[5] Edilson De Aguiar, Carsten Stoll, Christian Theobalt, Naveed Ahmed, Hans-Peter Seidel, and Sebastian Thrun. Performance capture from sparse multi-view video. In ACM SIGGRAPH 2008 papers, pages 1–10. 2008.
|
| 214 |
+
[6] Paul Debevec, Tim Hawkins, Chris Tchou, Haarm-Pieter Duiker, Westley Sarokin, and Mark Sagar. Acquiring the reflectance field of a human face. In Proceedings of the 27th annual conference on Computer graphics and interactive techniques, pages 145–156, 2000.
|
| 215 |
+
[7] Mingsong Dou, Sameh Khamis, Yury Degtyarev, Philip Davidson, Sean Ryan Fanello, Adarsh Kowdle, Sergio Orts Escolano, Christoph Rhemann, David Kim, Jonathan Taylor, et al. Fusion4d: Real-time performance capture of challenging scenes. ACM Transactions on Graphics (TOG), 35(4):1–13, 2016.
|
| 216 |
+
[8] John Flynn, Michael Broxton, Paul Debevec, Matthew DuVall, Graham Fyffe, Ryan Overbeck, Noah Snavely, and Richard Tucker. Deepview: View synthesis with learned gradient descent. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2367–2376, 2019.
|
| 217 |
+
[9] Guy Gafni, Justus Thies, Michael Zollhofer, and Matthias Nießner. Dynamic neural radiance fields for monocular 4d facial avatar reconstruction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8649–8658, 2021.
|
| 218 |
+
[10] Juergen Gall, Carsten Stoll, Edilson De Aguiar, Christian Theobalt, Bodo Rosenhahn, and Hans-Peter Seidel. Motion capture using joint skeleton tracking and surface estimation. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 1746–1753. IEEE, 2009.
|
| 219 |
+
[11] Chen Gao, Yichang Shih, Wei-Sheng Lai, Chia-Kai Liang, and Jia-Bin Huang. Portrait neural radiance fields from a single image. arXiv preprint arXiv:2012.05903, 2020.
|
| 220 |
+
[12] Ke Gong, Xiaodan Liang, Yicheng Li, Yimin Chen, Ming Yang, and Liang Lin. Instance-level human parsing via part grouping network. In Proceedings of the European Conference on Computer Vision (ECCV), pages 770–785, 2018.
|
| 221 |
+
[13] Kaiwen Guo, Peter Lincoln, Philip Davidson, Jay Busch, Xueming Yu, Matt Whalen, Geoff Harvey, Sergio Orts-Escolano, Rohit Pandey, Jason Dourgarian, et al. The relightables: Volumetric performance capture of humans with realistic relighting. ACM Transactions on Graphics (TOG), 38(6):1–19, 2019.
|
| 222 |
+
[14] Youngjoong Kwon, Stefano Petrangeli, Dahun Kim, Haoliang Wang, Henry Fuchs, and Viswanathan Swaminathan. Rotationally-consistent novel view synthesis for humans. In Proceedings of the 28th ACM International Conference on Multimedia, pages 2308–2316, 2020.
|
| 223 |
+
[15] Youngjoong Kwon, Stefano Petrangeli, Dahun Kim, Haoliang Wang, Eunbyung Park, Viswanathan Swaminathan, and Henry Fuchs. Rotationally-temporally consistent novel view synthesis of human performance video. In European Conference on Computer Vision, pages 387–402. Springer, 2020.
|
| 224 |
+
[16] Ruilong Li, Shan Yang, David A Ross, and Angjoo Kanazawa. Ai choreographer: Music conditioned 3d dance generation with aist++. In International Conference on Computer Vision, 2021.
|
| 225 |
+
[17] Tianye Li, Mira Slavcheva, Michael Zollhoefer, Simon Green, Christoph Lassner, Changil Kim, Tanner Schmidt, Steven Lovegrove, Michael Goesele, and Zhaoyang Lv. Neural 3d video synthesis. arXiv preprint arXiv:2103.02597, 2021.
|
| 226 |
+
[18] Yiyi Liao, Katja Schwarz, Lars Mescheder, and Andreas Geiger. Towards unsupervised learning of generative models for 3d controllable image synthesis. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5871–5880, 2020.
|
| 227 |
+
[19] Baoyuan Liu, Min Wang, Hassan Foroosh, Marshall Tappen, and Marianna Pensky. Sparse convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 806–814, 2015.
|
| 228 |
+
[20] Lingjie Liu, Jiatao Gu, Kyaw Zaw Lin, Tat-Seng Chua, and Christian Theobalt. Neural sparse voxel fields. arXiv preprint arXiv:2007.11571, 2020.
|
| 229 |
+
[21] Lingjie Liu, Weipeng Xu, Michael Zollhoefer, Hyeongwoo Kim, Florian Bernard, Marc Habermann, Wenping Wang, and Christian Theobalt. Neural rendering and reenactment of human actor videos. ACM Transactions on Graphics (TOG), 38(5):1–14, 2019.
|
| 230 |
+
[22] Shaohui Liu, Yinda Zhang, Songyou Peng, Boxin Shi, Marc Pollefeys, and Zhaopeng 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, pages 2019–2028, 2020.
|
| 231 |
+
[23] Stephen Lombardi, Tomas Simon, Jason Saragih, Gabriel Schwartz, Andreas Lehrmann, and Yaser Sheikh. Neural volumes: Learning dynamic renderable volumes from images. arXiv preprint arXiv:1906.07751, 2019.
|
| 232 |
+
[24] Matthew Loper, Naureen Mahmood, Javier Romero, Gerard Pons-Moll, and Michael J Black. Smpl: A skinned multi-person linear model. ACM transactions on graphics (TOG), 34(6):1–16, 2015.
|
| 233 |
+
[25] Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, and Andreas Geiger. Occupancy networks: Learning 3d reconstruction in function space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4460–4470, 2019.
|
| 234 |
+
[26] Ben Mildenhall, Pratul P Srinivasan, Matthew Tancik, Jonathan T Barron, Ravi Ramamoorthi, and Ren Ng. Nerf: Representing scenes as neural radiance fields for view synthesis. In European Conference on Computer Vision, pages 405–421. Springer, 2020.
|
| 235 |
+
[27] Ryota Natsume, Shunsuke Saito, Zeng Huang, Weikai Chen, Chongyang Ma, Hao Li, and Shigeo Morishima. Siclope: Silhouette-based clothed people. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4480–4490, 2019.
|
| 236 |
+
[28] Michael Niemeyer, Lars Mescheder, Michael Oechsle, and Andreas Geiger. Differentiable volumetric rendering: Learning implicit 3d representations without 3d supervision. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3504–3515, 2020.
|
| 237 |
+
[29] Kyle Olszewski, Sergey Tulyakov, Oliver Woodford, Hao Li, and Linjie Luo. Transformable bottleneck networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7648– 7657, 2019.
|
| 238 |
+
[30] Keunhong Park, Utkarsh Sinha, Jonathan T Barron, Sofien Bouaziz, Dan B Goldman, Steven M Seitz, and Ricardo-Martin Brualla. Deformable neural radiance fields. arXiv preprint arXiv:2011.12948, 2020.
|
| 239 |
+
[31] Keunhong Park, Utkarsh Sinha, Peter Hedman, Jonathan T Barron, Sofien Bouaziz, Dan B Goldman, Ricardo Martin-Brualla, and Steven M Seitz. Hypernerf: A higher-dimensional representation for topologically varying neural radiance fields. arXiv preprint arXiv:2106.13228, 2021.
|
| 240 |
+
[32] Sida Peng, Junting Dong, Qianqian Wang, Shangzhan Zhang, Qing Shuai, Xiaowei Zhou, and Hujun Bao. Animatable neural radiance fields for modeling dynamic human bodies. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 14314–14323, 2021.
|
| 241 |
+
[33] Sida Peng, Yuanqing Zhang, Yinghao Xu, Qianqian Wang, Qing Shuai, Hujun Bao, and Xiaowei Zhou. Neural body: Implicit neural representations with structured latent codes for novel view synthesis of dynamic humans. In CVPR, 2021.
|
| 242 |
+
[34] Songyou Peng, Michael Niemeyer, Lars Mescheder, Marc Pollefeys, and Andreas Geiger. Convolutional occupancy networks. arXiv preprint arXiv:2003.04618, 2, 2020.
|
| 243 |
+
[35] Albert Pumarola, Enric Corona, Gerard Pons-Moll, and Francesc Moreno-Noguer. D-nerf: Neural radiance fields for dynamic scenes. arXiv preprint arXiv:2011.13961, 2020.
|
| 244 |
+
[36] Amit Raj, Michael Zollhoefer, Tomas Simon, Jason Saragih, Shunsuke Saito, James Hays, and Stephen Lombardi. Pva: Pixel-aligned volumetric avatars. arXiv preprint arXiv:2101.02697, 2021.
|
| 245 |
+
[37] Shunsuke Saito, Zeng Huang, Ryota Natsume, Shigeo Morishima, Angjoo Kanazawa, and Hao Li. Pifu: Pixel-aligned implicit function for high-resolution clothed human digitization. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2304–2314, 2019.
|
| 246 |
+
[38] Shunsuke Saito, Tomas Simon, Jason Saragih, and Hanbyul 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, pages 84–93, 2020.
|
| 247 |
+
[39] Shaoshuai Shi, Chaoxu Guo, Li Jiang, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. Pv-rcnn: Point-voxel feature set abstraction for 3d object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10529–10538, 2020.
|
| 248 |
+
[40] Vincent Sitzmann, Justus Thies, Felix Heide, Matthias Nießner, Gordon Wetzstein, and Michael Zollhofer. Deepvoxels: Learning persistent 3d feature embeddings. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2437–2446, 2019.
|
| 249 |
+
[41] Vincent Sitzmann, Michael Zollhöfer, and Gordon Wetzstein. Scene representation networks: Continuous 3d-structure-aware neural scene representations. arXiv preprint arXiv:1906.01618, 2019.
|
| 250 |
+
[42] Carsten Stoll, Juergen Gall, Edilson De Aguiar, Sebastian Thrun, and Christian Theobalt. Video-based reconstruction of animatable human characters. ACM Transactions on Graphics (TOG), 29(6):1–10, 2010.
|
| 251 |
+
[43] Zhuo Su, Lan Xu, Zerong Zheng, Tao Yu, Yebin Liu, et al. Robustfusion: Human volumetric capture with data-driven visual cues using a rgbd camera. Springer, 2020.
|
| 252 |
+
[44] Justus Thies, Michael Zollhöfer, and Matthias Nießner. Deferred neural rendering: Image synthesis using neural textures. ACM Transactions on Graphics (TOG), 38(4):1–12, 2019.
|
| 253 |
+
[45] Shuhei Tsuchida, Satoru Fukayama, Masahiro Hamasaki, and Masataka Goto. Aist dance video database: Multi-genre, multi-dancer, and multi-camera database for dance information processing. In ISMIR, pages 501–510, 2019.
|
| 254 |
+
[46] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017.
|
| 255 |
+
[47] Qianqian Wang, Zhicheng Wang, Kyle Genova, Pratul Srinivasan, Howard Zhou, Jonathan T. Barron, Ricardo Martin-Brualla, Noah Snavely, and Thomas Funkhouser. Ibrnet: Learning multi-view image-based rendering. In CVPR, 2021.
|
| 256 |
+
[48] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7794–7803, 2018.
|
| 257 |
+
[49] Minye Wu, Yuehao Wang, Qiang Hu, and Jingyi Yu. Multi-view neural human rendering. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1682–1691, 2020.
|
| 258 |
+
[50] Wenqi Xian, Jia-Bin Huang, Johannes Kopf, and Changil Kim. Space-time neural irradiance fields for free-viewpoint video. arXiv preprint arXiv:2011.12950, 2020.
|
| 259 |
+
[51] Yan Yan, Yuxing Mao, and Bo Li. Second: Sparsely embedded convolutional detection. Sensors, 18(10):3337, 2018.
|
| 260 |
+
[52] Alex Yu, Vickie Ye, Matthew Tancik, and Angjoo Kanazawa. pixelnerf: Neural radiance fields from one or few images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4578–4587, 2021.
|
| 261 |
+
[53] Wentao Yuan, Zhaoyang Lv, Tanner Schmidt, and Steven Lovegrove. Star: Self-supervised tracking and reconstruction of rigid objects in motion with neural rendering. arXiv preprint arXiv:2101.01602, 2020.
|
| 262 |
+
[54] Zerong Zheng, Tao Yu, Yixuan Wei, Qionghai Dai, and Yebin Liu. Deephuman: 3d human reconstruction from a single image. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7739–7749, 2019.
|
| 263 |
+
[55] Tinghui Zhou, Richard Tucker, John Flynn, Graham Fyffe, and Noah Snavely. Stereo magnification: Learning view synthesis using multiplane images. arXiv preprint arXiv:1805.09817, 2018.
|
parse/train/YFysbLCFdIe/YFysbLCFdIe_content_list.json
ADDED
|
@@ -0,0 +1,1129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Neural Human Performer: Learning Generalizable Radiance Fields for Human Performance Rendering ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
186,
|
| 8 |
+
122,
|
| 9 |
+
815,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Youngjoong Kwon1, Dahun $\\mathbf { K i m ^ { 2 } }$ , Duygu Ceylan3, Henry Fuchs1 1University of North Carolina at Chapel Hill. 2KAIST. 3Adobe Research. {youngjoong,fuchs}@cs.unc.edu {mcahny}@kaist.ac.kr {ceylan}@adobe.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
225,
|
| 19 |
+
224,
|
| 20 |
+
774,
|
| 21 |
+
268
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
304,
|
| 32 |
+
535,
|
| 33 |
+
320
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "In this paper, we aim at synthesizing a free-viewpoint video of an arbitrary human performance using sparse multi-view cameras. Recently, several works have addressed this problem by learning person-specific neural radiance fields (NeRF) to capture the appearance of a particular human. In parallel, some work proposed to use pixel-aligned features to generalize radiance fields to arbitrary new scenes and objects. Adopting such generalization approaches to humans, however, is highly challenging due to the heavy occlusions and dynamic articulations of body parts. To tackle this, we propose Neural Human Performer, a novel approach that learns generalizable neural radiance fields based on a parametric human body model for robust performance capture. Specifically, we first introduce a temporal transformer that aggregates tracked visual features based on the skeletal body motion over time. Moreover, a multi-view transformer is proposed to perform cross-attention between the temporally-fused features and the pixel-aligned features at each time step to integrate observations on the fly from multiple views. Experiments on the ZJU-MoCap and AIST datasets show that our method significantly outperforms recent generalizable NeRF methods on unseen identities and poses. The video results and code are available at https://youngjoongunc.github.io/nhp. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
232,
|
| 42 |
+
337,
|
| 43 |
+
766,
|
| 44 |
+
570
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
174,
|
| 54 |
+
598,
|
| 55 |
+
310,
|
| 56 |
+
616
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Free-viewpoint video of a human performer has a variety of applications in the area of telepresence, mixed reality, gaming and etc. Conventional free-viewpoint video systems require extremely expensive setups such as dense camera rigs [4, 7, 43] or accurate depth sensors [6, 13], to capture person-specific appearance information. In this paper, we aim at a scalable solution for free-viewpoint human performance rendering that generalizes across different human performers and requires only sparse camera views. However, representing and rendering arbitrary human performances is extremely challenging when the observations are highly sparse (up to three to four views) due to heavy self-occlusions and dynamic articulations of the body parts. In particular, an effective solution needs to coherently aggregate appearance information from sparse multi-view observations across time as the body undergoes a 3D motion. Furthermore, the solution needs to generalize to unseen motions and characters at test time. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
631,
|
| 66 |
+
825,
|
| 67 |
+
781
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Recently, neural radiance fields (NeRF) [26, 11, 17, 30, 33, 35, 36, 47, 50, 52, 53] have shown photo-realistic novel view synthesis results in per-scene optimization settings. To avoid the expensive per-scene training and improve the practicality, generalizable NeRFs [36, 52, 47] have been proposed which use image-conditioned, pixel-aligned features and achieve feed-forward view synthesis from sparse input views [36, 52]. Direct application of these methods to complex and non-rigid human motion is not straightforward, however, and naive solutions suffer from significant artifacts as shown in Fig. 3. Some existing methods [37, 52] aggregate image features across multiple views by simple average pooling, which often leads to over-smoothed outputs when details observed from multiple views (e.g., front and side views) differ due to self occlusions of humans. Alternatively, several methods [23, 33] have proposed to learn person-specific global appearance features from multi-view observations. However, such methods are not able to generalize to new human performers. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
789,
|
| 77 |
+
825,
|
| 78 |
+
900
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
90,
|
| 88 |
+
823,
|
| 89 |
+
133
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "To address these challenges, we propose Neural Human Performer, a novel approach that learns generalizable radiance fields based on a parametric 3D body model for robust performance capture. In addition to exploiting a parametric body model as a geometric prior, the core of our method is a combination of temporal and multi-view transformers which help to effectively aggregate spatio-temporal observations to robustly compute the density and color of a query point. First, the temporal transformer aggregates trackable visual features based on the input skeletal body motion across time. The following multi-view transformer performs cross-attention between the temporallyaugmented skeletal features and the pixel-aligned features for each time step. The proposed modules collectively contribute to the adaptive aggregation of multi-time and multi-view information, resulting in significant improvements in synthesis results in different generalization settings of unseen motions and identities. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
140,
|
| 99 |
+
825,
|
| 100 |
+
291
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "We study the efficacy of Neural Human Performer on two multi-view human performance capture datasets, ZJU-MoCap [33] and AIST [16]. Experiments show that our method significantly outperforms recent generalizable radience field (NeRF) methods. Furthermore, we compare ours with identity-specific methods [33, 44, 49] that also utilize a 3D human body model prior. Surprisingly, our generalized method achieves better rendering quality than the person-specific dedicated methods when tested on novel poses demonstrating the effectiveness of our transformer-based generalizable representation. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
297,
|
| 110 |
+
825,
|
| 111 |
+
395
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "To summarize, our contributions are: ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
401,
|
| 121 |
+
415,
|
| 122 |
+
416
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "• We present a new feed-forward method of synthesizing novel-view videos of arbitrary human performers from sparse camera views. We propose Neural Human Performer that learns generalizable neural radiance representations by leveraging a 3D body motion prior. \n• We design a combination of temporal and multi-view transformers that can aggregate information on the fly over video frames across multiple views to render each frame of the novel-view video. \n• We show significant improvements over recent generalizable NeRF methods on unseen identities and poses. Moreover, our generalization results can outperform even personspecific methods when tested on unseen poses. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
217,
|
| 131 |
+
425,
|
| 132 |
+
825,
|
| 133 |
+
559
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 Related works ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
577,
|
| 144 |
+
325,
|
| 145 |
+
593
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Human performance capture. Novel view synthesis of human performance has a long history in computer vision and graphics. Traditional methods rely on complicated hardware such as dense camera rigs [4, 7, 43] or accurate depth sensors [6, 13]. To enable free-view video from sparse camera views, template-based methods [3, 5, 10, 42] exploit pre-scanned human models to track the motion of a person. However, their synthesis results are not photo-realistic and pre-scanned human models are not available in most cases. Recent methods [27, 37, 38, 54] learn 3D human geometry priors along with pixel aligned features to enable detailed 3D human reconstructions even from single images. However, these methods often suffer under complex human poses that are never seen during training and hence cannot be directly used for our purpose of human performance synthesis. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
607,
|
| 155 |
+
825,
|
| 156 |
+
733
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Neural 3D representations. Recently, there has been great progress in learning neural networks to represent the shape and appearance of scenes. The 3D representations are learned from 2D images via differentiable rendering networks. Convolutional neural networks are used to predict volumetric representations via 3D voxel-grid features [40, 23, 29, 25, 14, 15], point clouds [1, 49], textured meshes [18, 21, 44] and multi-plane images [8, 55]. The learnt representations are projected by a 3D-to-2D operation to synthesize images. Some methods [14, 15] introduce consistency loss to improve the multi-view and temporal consistency. However, these methods often have difficulty in scaling to higher resolution due to memory restrictions. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
738,
|
| 166 |
+
825,
|
| 167 |
+
849
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "To eschew these problems, implicit function-based methods [20, 22, 28, 41] learn a multi-layer perceptron that directly translates a 3D positional feature into a pixel generator. The more recent NeRF [26] learns implicit fields of density and color with a volume rendering technique and achieves photo-realistic view synthesis. Among many following NeRF extensions, [30, 31, 35, 53, 17, 50] focus on dynamic scenes. While showing impressive results, it’s an extremely under-constrained problem to jointly learn NeRF and highly dynamic deformation fields. To regularize the training, Neural Body [33] combines NeRF with a deformable human body model (e.g., SMPL [24]). Despite the promising results, these general deformable NeRF [17, 53] and human-specific NeRF [11, 9, 33, 32] methods must be optimized for each new video separately, and generalize poorly on unseen scenarios. Generalizable NeRFs [36, 47, 52] try to avoid the expensive per-scene optimization by image-conditioning using pixel-aligned features. However, directly extending such methods to model complex and dynamic 3D humans is not straightforward when available observations are highly sparse. Unlike existing works, our method exploits temporal and multi-view information on-the-fly and achieves free-viewpoint human rendering in a feed-forward manner, also generalizing to new, unseen human identities and poses. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
176,
|
| 176 |
+
856,
|
| 177 |
+
823,
|
| 178 |
+
911
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "image",
|
| 184 |
+
"img_path": "images/d66549154edb235e1464e068e110b4ddedca832bc35c3eceb7e749af7272c231.jpg",
|
| 185 |
+
"image_caption": [
|
| 186 |
+
"Figure 1: Given a sparse set of multi-view videos of a person, Neural Human Performer uses temporal and multi-view transformers to learn pixel aligned features on the surface of a deformable body template such as SMPL. Such features are utilized to predict the color and density value of query points to render novel views of possibly unseen poses of the person. "
|
| 187 |
+
],
|
| 188 |
+
"image_footnote": [],
|
| 189 |
+
"bbox": [
|
| 190 |
+
200,
|
| 191 |
+
94,
|
| 192 |
+
795,
|
| 193 |
+
284
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "",
|
| 200 |
+
"bbox": [
|
| 201 |
+
173,
|
| 202 |
+
371,
|
| 203 |
+
826,
|
| 204 |
+
523
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "3 Method ",
|
| 211 |
+
"text_level": 1,
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
547,
|
| 215 |
+
269,
|
| 216 |
+
564
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "3.1 Neural Human Performer ",
|
| 223 |
+
"text_level": 1,
|
| 224 |
+
"bbox": [
|
| 225 |
+
174,
|
| 226 |
+
582,
|
| 227 |
+
393,
|
| 228 |
+
597
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "Problem definition. In our setting, given a sparse set (e.g., 3 or 4) of multi-view cameras $c = 1 , \\ldots , C$ , input videos of an arbitrary human performance $I _ { c , 1 : T } : = \\{ I _ { c , 1 } , I _ { c , 2 } , . . . , I _ { c , T } \\}$ are captured for each camera view $c$ defined by $\\{ \\mathbf { K } _ { c } , [ \\mathbf { R } | \\mathbf { t } ] _ { c } \\}$ . We assume that the 3D human body model fit corresponding to each frame is given. Our goal is to synthesize a novel view video $\\hat { I } _ { q , 1 : T }$ for a query viewpoint $q$ defined by $\\{ \\mathbf { K } _ { q } , \\mathbf { \\bar { [ R | t ] } } _ { q } \\}$ . ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
173,
|
| 237 |
+
609,
|
| 238 |
+
825,
|
| 239 |
+
684
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "Overview. To compensate for the sparsity of available input views, we propose to exploit temporal information across video frames. In practice, we sample $M$ memory frames from the original input videos to augment each queried timestep $t$ . Our goal is to learn generalizable 3D representations of human performers from multi-time $( M )$ and multi-view $( C )$ observations. ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
174,
|
| 248 |
+
690,
|
| 249 |
+
825,
|
| 250 |
+
746
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "To this end, the Neural Human Performer is proposed with two main components as illustrated in Fig. 1. First, we construct the time-augmented skeletal features $\\{ s \\}$ . We exploit a human body model (SMPL [24]) to construct 3D skeletal features by projecting all the SMPL vertices onto each memory frame and picking up the pixel-aligned image features [36, 37, 52] at the projected 2D locations. The skeletal features are sampled from all memory frames to construct the skeletal feature bank. Inspired by Transformers[2, 46, 48], we propose a temporal Transformer that aggregates these memory features into the time-augmented skeletal features $\\{ s ^ { \\prime } \\}$ . ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
173,
|
| 259 |
+
752,
|
| 260 |
+
825,
|
| 261 |
+
849
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "In the second stage, given a query 3D point $\\mathbf { x }$ , skeletal features are sampled at $\\mathbf { x }$ . In addition, pixel-aligned features $\\{ p \\}$ at each time $t$ are sampled by directly projecting $\\mathbf { x }$ onto the input images $\\{ I \\} _ { t }$ . The multi-view Transformer is proposed to learn the correlation between the pixel-aligned features $\\{ p \\}$ and the time-augmented skeletal features $\\{ s ^ { \\prime } \\}$ , and to adaptively fuse the multi-view information. The final fused feature of the query point $\\mathbf { x }$ is fed into the radiance field module to predict its color and density. ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
174,
|
| 270 |
+
856,
|
| 271 |
+
825,
|
| 272 |
+
911
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "",
|
| 279 |
+
"bbox": [
|
| 280 |
+
173,
|
| 281 |
+
90,
|
| 282 |
+
823,
|
| 283 |
+
119
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 3
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "3.2 Construction of time-augmented skeletal features ",
|
| 290 |
+
"text_level": 1,
|
| 291 |
+
"bbox": [
|
| 292 |
+
174,
|
| 293 |
+
135,
|
| 294 |
+
555,
|
| 295 |
+
150
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 3
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "Unlike static scenes, video inputs of moving characters inherently contain more visual cues as the occluded regions in a frame may be visible in other (potentially distant) frames. To take advantage of this temporal information, we first build up the skeletal feature bank from memory frames by leveraging a parametric body model (see Fig. 1). Then, we propose a temporal Transformer module that aggregates such collected features. ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
174,
|
| 304 |
+
160,
|
| 305 |
+
825,
|
| 306 |
+
231
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 3
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "For each view $c$ and time $t$ , we first build frame-level skeletal features $s _ { c , t } \\in \\mathbb { R } ^ { L \\times d }$ by sampling image features at the projection of the SMPL vertices in each image $I _ { c , t } \\in \\mathbb { R } ^ { H \\times W \\times 3 }$ . $L$ denotes the number of SMPL vertices and $d$ is the dimension of image features. ",
|
| 313 |
+
"bbox": [
|
| 314 |
+
173,
|
| 315 |
+
236,
|
| 316 |
+
825,
|
| 317 |
+
280
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 3
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "After collecting all the skeletal features from all memory frames, we aggregate the time information in an attention-aware manner, instead of using simple average pooling. Specifically, for any $i ^ { t h }$ skeletal feature vertex $s _ { c , t } ^ { i } \\in \\mathbb { R } ^ { d }$ , the proposed temporal Transformer casts attention over all other features contained in the vertex’s memory bank we compute soft weights for all memory $\\boldsymbol { s } _ { c , t _ { 1 } : t _ { M } } ^ { i } = \\{ \\boldsymbol { s } _ { c , t _ { 1 } } ^ { i } , \\boldsymbol { s } _ { c , t _ { 2 } } ^ { i } , . . . , \\boldsymbol { s } _ { c , t _ { M } } ^ { i } \\} \\in \\mathbb { R } ^ { M \\times d }$ . In particular,respect to the current timestep $t$ . Then, the values of the memory features are weighted summed as ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
173,
|
| 326 |
+
286,
|
| 327 |
+
826,
|
| 328 |
+
373
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 3
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "equation",
|
| 334 |
+
"img_path": "images/fdf6a14df6a056b6ba54ffea93259b4aa51c1498676b711bdeb606ff3fa61b10.jpg",
|
| 335 |
+
"text": "$$\n\\begin{array} { l l } { { t _ { \\perp } a t t _ { c , t } ^ { i } = \\psi \\big ( \\frac { 1 } { \\sqrt { d _ { 0 } } } q ( s _ { c , t } ^ { i } ) \\cdot k ( s _ { c , t _ { 1 } : t _ { M } } ^ { i } ) ^ { T } \\big ) , } } & { { t _ { - } a t t _ { c , t } ^ { i } \\in \\mathbb { R } ^ { 1 \\times M } } } \\\\ { { s _ { c , t } ^ { \\prime } { } ^ { i } = t _ { - } a t t _ { c , t } ^ { i } \\cdot v \\big ( s _ { c , t _ { 1 } : t _ { M } } ^ { i } \\big ) + s _ { c , t } ^ { i } , } } & { { s _ { c , t } ^ { \\prime } \\in \\mathbb { R } ^ { L \\times d } \\forall i } } \\end{array}\n$$",
|
| 336 |
+
"text_format": "latex",
|
| 337 |
+
"bbox": [
|
| 338 |
+
294,
|
| 339 |
+
378,
|
| 340 |
+
702,
|
| 341 |
+
435
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 3
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "where $\\psi$ represents the softmax operator along the second axis, $q ( \\cdot ) , k ( \\cdot )$ and $v ( \\cdot )$ are learnable query, key and value embedding functions $\\mathbb { R } ^ { d d _ { 0 } }$ of the temporal Transformer. ",
|
| 348 |
+
"bbox": [
|
| 349 |
+
169,
|
| 350 |
+
439,
|
| 351 |
+
825,
|
| 352 |
+
469
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 3
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "In other words, the representation $s _ { c , t } ^ { i }$ of each skeletal vertex at time $t$ is computed through a dynamically weighted combination of all its previous and next representations in the memory frames. This allows our network to incorporate helpful information and ignore irrelevant ones from other timesteps. In practice, the temporal Transformer operation in Eq. (1) is performed by a batch matrix multiplication for all skeletal vertices $L$ and all available viewpoints $C$ . ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
173,
|
| 361 |
+
474,
|
| 362 |
+
826,
|
| 363 |
+
545
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 3
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "3.3 Multi-view aggregation of skeletal and query features ",
|
| 370 |
+
"text_level": 1,
|
| 371 |
+
"bbox": [
|
| 372 |
+
173,
|
| 373 |
+
560,
|
| 374 |
+
584,
|
| 375 |
+
575
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 3
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "Given a query 3D point $\\mathbf { x } \\in \\mathbb { R } ^ { 3 }$ , we retrieve the corresponding (time-augmented) skeletal feature $s _ { c , t } ^ { \\prime } \\in \\mathring { \\mathbb { R } } ^ { d }$ at the queried location via trilinear interpolation in the SMPL space with SparseConvNet [19], following [39, 34, 51, 33]. ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
173,
|
| 384 |
+
585,
|
| 385 |
+
826,
|
| 386 |
+
628
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 3
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "In addition, we sample pixel-aligned image feature $p _ { c , t } ^ { \\mathbf { x } }$ via direct $\\mathbb { R } ^ { 3 \\to 2 }$ projection of the query point $\\mathbf { x }$ on $I _ { c , t }$ . It is important to note that the pixel-aligned feature $p _ { c , t } ^ { \\mathbf { x } }$ is time-specific and represents the exact query location of $\\mathbf { x }$ , while the skeletal feature $s _ { c , t } ^ { \\prime } { } ^ { \\mathbf { x } }$ is time-augmented (w.r.t $t$ ) and contains inherent geometric deviations in the SMPL vertices and the following trilinear interpolations. We propose to combine these two complementary features, which will be shown to be effective in Sec. 4.4. ",
|
| 393 |
+
"bbox": [
|
| 394 |
+
173,
|
| 395 |
+
633,
|
| 396 |
+
825,
|
| 397 |
+
707
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 3
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "Given the two sets of multi-view features, skeletal s′1:C,tx $s _ { 1 : C , t } ^ { \\prime } \\mathbf { \\Psi } ^ { \\mathbf { x } } = \\{ s _ { c , t } ^ { \\prime } \\mathbf { \\Psi } ^ { \\mathbf { x } } | c = 1 , . . . , C \\} \\in \\mathbb { R } ^ { C \\times d }$ and pixel-aligned $p _ { 1 : C , t } ^ { \\bf x } = \\{ p _ { c , t } ^ { \\bf x } | c = 1 , . . . , C \\} \\in \\mathbb { R } ^ { C \\times d }$ , we propose a multi-view Transformer that performs cross-attention from skeletal to pixel-aligned features. Specifically, the values of pixelaligned features from all viewpoints is re-weighted based on how much compatible they are with each skeletal features. The non-local cross-attention mv_att is constructed as: ",
|
| 404 |
+
"bbox": [
|
| 405 |
+
176,
|
| 406 |
+
710,
|
| 407 |
+
825,
|
| 408 |
+
785
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 3
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "equation",
|
| 414 |
+
"img_path": "images/2e820ddeb0af04143a7ff7bd08ebabdb85dc2177bee711328f48719b5f478645.jpg",
|
| 415 |
+
"text": "$$\n\\begin{array} { r l r } & { m v _ { - } a t t _ { t } ^ { \\mathbf { x } } = \\psi \\bigl ( \\frac { 1 } { \\sqrt { d _ { 1 } } } k \\bigl ( s _ { 1 : C , t } ^ { \\prime } \\bigr ) \\cdot k \\bigl ( p _ { 1 : C , t } ^ { \\mathbf { x } } \\bigr ) ^ { T } \\bigr ) , \\quad m v _ { - } a t t _ { t } ^ { \\mathbf { x } } \\in \\mathbb { R } ^ { C \\times C } } & \\\\ & { z _ { 1 : C , t } ^ { \\mathbf { x } } = m v _ { - } a t t _ { t } ^ { \\mathbf { x } } \\cdot v \\bigl ( p _ { 1 : C , t } ^ { \\mathbf { x } } \\bigr ) + v \\bigl ( s _ { 1 : C , t } ^ { \\prime } \\bigr ) , \\qquad z _ { 1 : C , t } ^ { \\mathbf { x } } \\in \\mathbb { R } ^ { C \\times d } , \\quad z _ { c , t } ^ { \\mathbf { x } } \\in \\mathbb { R } ^ { 1 \\times d } } & \\end{array}\n$$",
|
| 416 |
+
"text_format": "latex",
|
| 417 |
+
"bbox": [
|
| 418 |
+
230,
|
| 419 |
+
789,
|
| 420 |
+
767,
|
| 421 |
+
847
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 3
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "where $\\psi$ represents the softmax operator along the second axis. Note that $k$ and $v$ are new layers independent from those in the temporal Transformer. The confident observations in each view will have large weights and be highlighted, and vice versa. Finally, we use the view-wise mean of $\\begin{array} { r } { z _ { t } ^ { \\mathbf { x } } = \\frac { 1 } { C } \\sum _ { c } z _ { c , t } ^ { \\mathbf { x } } \\in \\mathbb { R } ^ { d } } \\end{array}$ as our meta-time and meta-view representation of the query point $x$ . ",
|
| 428 |
+
"bbox": [
|
| 429 |
+
176,
|
| 430 |
+
854,
|
| 431 |
+
823,
|
| 432 |
+
914
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 3
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "The final density $\\sigma _ { t } ( \\mathbf { x } )$ and color values $r g b _ { t } ( { \\bf x } )$ at time $t$ are computed as: ",
|
| 439 |
+
"bbox": [
|
| 440 |
+
173,
|
| 441 |
+
90,
|
| 442 |
+
666,
|
| 443 |
+
107
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 4
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "equation",
|
| 449 |
+
"img_path": "images/810bdde8e40066e657de495ae5e3994f8a277e6fc9c592fea6aa952dcf6da4a4.jpg",
|
| 450 |
+
"text": "$$\n\\sigma _ { t } ( \\mathbf { x } ) = M L P _ { \\sigma } ( z _ { t } ^ { \\mathbf { x } } ) , \\qquad r g b _ { t } ( \\mathbf { X } ) = M L P _ { \\mathbf { r g b } } ( \\sum _ { c } { ( z _ { c , t } ^ { \\mathbf { x } } ; \\gamma _ { \\mathbf { d } } ( \\mathbf { d } ) ) } / C ) ,\n$$",
|
| 451 |
+
"text_format": "latex",
|
| 452 |
+
"bbox": [
|
| 453 |
+
264,
|
| 454 |
+
112,
|
| 455 |
+
732,
|
| 456 |
+
145
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 4
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "where $M L P _ { \\sigma }$ and $M L P _ { \\mathbf { r g b } }$ consist of four and two linear layers respectively, and $\\gamma _ { \\mathbf { d } } : \\mathbb { R } ^ { 3 6 \\times l }$ is a positional encoding of viewing direction $\\mathbf { d } \\in \\mathbb { R } ^ { 3 }$ as in [26] with $2 \\times l$ different basis functions. ",
|
| 463 |
+
"bbox": [
|
| 464 |
+
173,
|
| 465 |
+
151,
|
| 466 |
+
826,
|
| 467 |
+
181
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 4
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "More details on the network architecture can be found in the supplementary material. ",
|
| 474 |
+
"bbox": [
|
| 475 |
+
178,
|
| 476 |
+
188,
|
| 477 |
+
733,
|
| 478 |
+
203
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 4
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"text": "3.4 Volume Rendering ",
|
| 485 |
+
"text_level": 1,
|
| 486 |
+
"bbox": [
|
| 487 |
+
174,
|
| 488 |
+
218,
|
| 489 |
+
344,
|
| 490 |
+
233
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 4
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "The predicted color of a pixel $p \\in \\mathbb { R } ^ { 2 }$ for a target viewpoint $q$ in the focal plane of the camera and center $\\mathbf { r } _ { 0 } \\in \\mathbb { R } ^ { 3 }$ is obtained by marching rays into the scene using the camera-to-world projection matrix, P−1 = [Rq|tq]−1K−1q with the direction of the rays given by d = P−1p−r0∥P−1p−r0∥ . ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
174,
|
| 499 |
+
242,
|
| 500 |
+
825,
|
| 501 |
+
292
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 4
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "We then accumulate the radiance and opacity along the ray $\\mathbf { r } ( z ) = \\mathbf { r } _ { 0 } + z \\mathbf { d }$ for $z \\in [ z _ { \\mathrm { n e a r } } , z _ { \\mathrm { f a r } } ]$ as defined in NeRF [26] as follows: ",
|
| 508 |
+
"bbox": [
|
| 509 |
+
174,
|
| 510 |
+
299,
|
| 511 |
+
826,
|
| 512 |
+
327
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 4
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "equation",
|
| 518 |
+
"img_path": "images/ea9181e5a0f4e07721d780469cf52ca73e804af6cfd37d213f0b4a2cbbb2c1db.jpg",
|
| 519 |
+
"text": "$$\n\\mathbf { I } _ { q } ( p ) = \\int _ { z _ { \\mathrm { n e a r } } } ^ { z _ { \\mathrm { f a r } } } \\mathbf { T } ( z ) \\sigma ( \\mathbf { r } ( z ) ) \\mathbf { c } ( \\mathbf { r } ( z ) , \\mathbf { d } ) d z , \\quad w h e r e \\quad \\mathbf { T } ( z ) = \\exp \\left( - \\int _ { z _ { \\mathrm { n e a r } } } ^ { z } \\sigma ( \\mathbf { r } ( s ) ) d s \\right)\n$$",
|
| 520 |
+
"text_format": "latex",
|
| 521 |
+
"bbox": [
|
| 522 |
+
192,
|
| 523 |
+
332,
|
| 524 |
+
782,
|
| 525 |
+
367
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 4
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "In practice, we uniformly sample a set of 64 points $z \\sim [ z _ { n e a r } , z _ { f a r } ]$ . We set $\\mathbf { X } = \\mathbf { r } ( z )$ and use the quadrature rule to approximate the integral. We compute the 3D bounding box of the SMPL parameters at time $t$ and derive the bounds for ray sampling $z _ { n e a r } , z _ { f a r }$ . ",
|
| 532 |
+
"bbox": [
|
| 533 |
+
174,
|
| 534 |
+
380,
|
| 535 |
+
825,
|
| 536 |
+
422
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 4
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "3.5 Loss Function ",
|
| 543 |
+
"text_level": 1,
|
| 544 |
+
"bbox": [
|
| 545 |
+
174,
|
| 546 |
+
438,
|
| 547 |
+
312,
|
| 548 |
+
453
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 4
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "Given the ground truth target images $\\mathbf { I } _ { q , t }$ , we train both the radiance field and feature extraction networks using a simple photometric reconstruction loss $\\mathcal { L } = \\Vert \\hat { \\mathbf { I } } _ { q , t } - \\mathbf { I } _ { q , t } \\Vert _ { 2 }$ . ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
174,
|
| 557 |
+
463,
|
| 558 |
+
823,
|
| 559 |
+
496
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 4
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "4 Experiments ",
|
| 566 |
+
"text_level": 1,
|
| 567 |
+
"bbox": [
|
| 568 |
+
174,
|
| 569 |
+
513,
|
| 570 |
+
312,
|
| 571 |
+
531
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 4
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "We present novel view synthesis and 3d reconstruction results of human performances in different generalization scenarios. We compare our method against the current best view-synthesis methods from two classes: per-subject optimization methods that also use a human body model prior (Sec. 4.1) and generalizable NeRF methods (Sec. 4.2). We experiment on the ZJU-MoCap [33] and AIST datasets [45, 16]. For training and testing our model as well as the baselines, we remove the background using the foreground masks that are either provided by the dataset or pre-computed using an off-the-shelf method. Unless otherwise specified, we sample two memory frames $\\{ t - \\mathsf { 2 0 } , t + 2 0 \\bar \\}$ at time $t$ (i.e., three timesteps in total) and take three canonical input views in all experiments. The details of the implementation, datasets, training process are provided in the supplementary material. ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
173,
|
| 580 |
+
544,
|
| 581 |
+
825,
|
| 582 |
+
670
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 4
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "4.1 Comparison with body model-based, per-subject optimization methods. ",
|
| 589 |
+
"text_level": 1,
|
| 590 |
+
"bbox": [
|
| 591 |
+
173,
|
| 592 |
+
685,
|
| 593 |
+
709,
|
| 594 |
+
700
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 4
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "Baselines. We perform comparisons with the state-of-the-art Neural Body (NB) [33] that combines the body model prior SMPL and NeRF in a per-subject optimization setting. Neural Textures (NT) [44] renders a coarse mesh with latent texture maps and uses a 2D CNN to render target images. We use the SMPL mesh as the coarse mesh input to NT in our experiments. NHR [49] extracts 3D features from input point clouds and renders them into 2D images. Since dense point clouds are difficult to obtain from sparse camera views, we use the SMPL vertices as input point clouds. These methods have reported that they can adapt to new poses of the same performer, hence we compare to them for the task of novel pose synthesis. ",
|
| 601 |
+
"bbox": [
|
| 602 |
+
173,
|
| 603 |
+
710,
|
| 604 |
+
825,
|
| 605 |
+
821
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 4
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "Setup. We experiment with ZJU-MoCap dataset [33] which provides performance captures of 10 human subjects captured from 23 synchronized cameras, human body model parameters as well as the foreground mask corresponding to each frame. Each video contains complex motions such as kicking and Taichi and is between 1000 to 2000 frames long. We first split the dataset into two parts: source and target videos. In all comparisons, the first 300 frames of either source or target videos are used during training, and the remaining next frames (unseen poses) are held out for testing. Note that the baseline methods are always trained in a per-subject manner. To validate whether the training is reproducible, we experiment with 5 independent runs with random train/test splits and observe a variance of 0.15 PSNR, showing that the results are consistent. In each independent run, we used seven models for training and the other three for testing. ",
|
| 612 |
+
"bbox": [
|
| 613 |
+
174,
|
| 614 |
+
827,
|
| 615 |
+
825,
|
| 616 |
+
911
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 4
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "table",
|
| 622 |
+
"img_path": "images/abfc2d50077ff08cbee1cc2f80333c8ffff1da4a15408f94efd57fdf00428597.jpg",
|
| 623 |
+
"table_caption": [],
|
| 624 |
+
"table_footnote": [
|
| 625 |
+
"b . Test results on unseen poses of target subjects "
|
| 626 |
+
],
|
| 627 |
+
"table_body": "<table><tr><td>Method</td><td>PSNR</td><td>SSIM</td></tr><tr><td colspan=\"2\">Trained on target subjects</td><td></td></tr><tr><td>NB</td><td>22.88</td><td>0.880</td></tr><tr><td>NHR</td><td>22.03</td><td>0.875</td></tr><tr><td>NT</td><td>21.92</td><td>0.873</td></tr><tr><td>Trained on</td><td>source subjects</td><td></td></tr><tr><td>Ours</td><td>24.75</td><td>0.906</td></tr></table>",
|
| 628 |
+
"bbox": [
|
| 629 |
+
388,
|
| 630 |
+
101,
|
| 631 |
+
591,
|
| 632 |
+
193
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 5
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "table",
|
| 638 |
+
"img_path": "images/fab390d68cb779aba2fe2a5ec5e41a3c2e42c86667fe5e05c7d8643288a70fdf.jpg",
|
| 639 |
+
"table_caption": [
|
| 640 |
+
"Table 1: Comparison with other body model-based, per-subject optimization methods. "
|
| 641 |
+
],
|
| 642 |
+
"table_footnote": [
|
| 643 |
+
"a . Test results on unseen poses of source subjects "
|
| 644 |
+
],
|
| 645 |
+
"table_body": "<table><tr><td>Method</td><td>PSNR</td><td>SSIM</td></tr><tr><td colspan=\"2\">Trained on source subjects</td><td></td></tr><tr><td>NB NHR</td><td>23.79 22.31</td><td>0.887 0.871</td></tr><tr><td>NT</td><td>22.28</td><td>0.872</td></tr><tr><td colspan=\"3\">Trained on source subjects</td></tr><tr><td>Ours</td><td>26.94</td><td>0.929</td></tr></table>",
|
| 646 |
+
"bbox": [
|
| 647 |
+
176,
|
| 648 |
+
101,
|
| 649 |
+
380,
|
| 650 |
+
194
|
| 651 |
+
],
|
| 652 |
+
"page_idx": 5
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"type": "table",
|
| 656 |
+
"img_path": "images/e0d61156068d50ed1cb77fdf41725ecd043d635922061e3579ecfcfd65d59d27.jpg",
|
| 657 |
+
"table_caption": [],
|
| 658 |
+
"table_footnote": [
|
| 659 |
+
"c . Test results on seen poses of source subjects "
|
| 660 |
+
],
|
| 661 |
+
"table_body": "<table><tr><td colspan=\"2\">Method PSNR</td><td>SSIM</td></tr><tr><td colspan=\"3\">Trained on source subjects</td></tr><tr><td>NB</td><td>28.51</td><td>0.947</td></tr><tr><td>NHR</td><td>23.95</td><td>0.897</td></tr><tr><td>NT</td><td>23.86</td><td>0.896</td></tr><tr><td colspan=\"3\">Trained on source subjects</td></tr><tr><td>Ours</td><td>28.73</td><td>0.936</td></tr><tr><td>Ours per-subject</td><td>31.57</td><td>0.966</td></tr></table>",
|
| 662 |
+
"bbox": [
|
| 663 |
+
599,
|
| 664 |
+
99,
|
| 665 |
+
823,
|
| 666 |
+
194
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 5
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "image",
|
| 672 |
+
"img_path": "images/b0ead6611373a5fa611bac7276222a6f2cfa8e4096da2b85a72ed656de985623.jpg",
|
| 673 |
+
"image_caption": [
|
| 674 |
+
"Figure 2: Pose generalization – comparison with per-scene optimization methods that use a human body prior. Results of NT(Neural textures) [44], NHR (Neural human rendering) [49], NB (Neural body) [33] and ours. Novel view synthesis on the ZJU-MoCap for unseen poses of source subjects. While ours is a single model trained on all source subjects; baselines are trained in a per-subject manner. "
|
| 675 |
+
],
|
| 676 |
+
"image_footnote": [],
|
| 677 |
+
"bbox": [
|
| 678 |
+
179,
|
| 679 |
+
285,
|
| 680 |
+
825,
|
| 681 |
+
459
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 5
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "",
|
| 688 |
+
"bbox": [
|
| 689 |
+
174,
|
| 690 |
+
559,
|
| 691 |
+
825,
|
| 692 |
+
614
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 5
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "Results. We present three different comparison settings to validate our method. We would like to point out that all the comparison settings place our method (‘ours’) in disadvantage. This is because our model is trained on all the source subjects at once (one network for all subjects), while the competing methods are per-subject trained on the subject to be tested (one network for one subject) - easier setting. First, we evaluate the pose generalization capability (Table. 1a and Fig. 2) where we train on the training splits of the source subjects and test on the testing splits, i.e., unseen poses, of the same source subjects. Our method significantly outperforms all the baselines and the state-of-the-art Neural Body [33] by ${ \\bf + 3 . 1 5 }$ PSNR and $+ 0 . 0 4 2$ SSIM scores. We next evaluate the identity generalization capability (Table. 1b) by testing on the unseen poses of target subjects. While our method is trained on source subjects only, baselines are trained on target subjects. Note that this comparison is disadvantageous to us since unlike our method the baselines have seen the testing subjects as they must be trained separately for each subject. Surprisingly, however, our method still outperforms all the baselines by a healthy margin of $+ 1 . 8 7$ PSNR and $+ 0 . 0 2 6$ SSIM scores. These results indicate that our proposed architecture with the temporal and the multi-view transformers generalizes well across unseen identities and poses, and produces photo-realistic results. Finally, in Table. 1c, we evaluate our method and baselines on seen poses of seen subjects. Even when we train a single model of our method for all the source sobjects (‘ours’), ours achieves comparable results with the state-of-the-art per-subject based methods [33]. To make a more fair comparison, we also train our method in the same per-subject setting similar to the baselines. Table. 1c shows that in this case, our model (‘ours per-subject’) achieves a significant improvement over the best-performing baseline [33] by $+ 3$ PSNR and $+ 1 . 4 \\%$ SSIM. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
173,
|
| 701 |
+
621,
|
| 702 |
+
825,
|
| 703 |
+
911
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 5
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "image",
|
| 709 |
+
"img_path": "images/c7a66ae91e16110cda6e3e003e86bae057370c4a950b769cf5a12046d3bf74dc.jpg",
|
| 710 |
+
"image_caption": [
|
| 711 |
+
"Figure 3: Identity-and-pose generalization – comparison with generalizable NeRF methods. Results of Pixel-Nerf [52], PVA (Pixel-aligned volumetric avatar) [36] and ours. Novel view synthesis on the ZJU-MoCap dataset where all methods are trained on source subjects and tested on unseen poses of target subjects. "
|
| 712 |
+
],
|
| 713 |
+
"image_footnote": [],
|
| 714 |
+
"bbox": [
|
| 715 |
+
178,
|
| 716 |
+
88,
|
| 717 |
+
825,
|
| 718 |
+
280
|
| 719 |
+
],
|
| 720 |
+
"page_idx": 6
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"type": "table",
|
| 724 |
+
"img_path": "images/541d0cb284f767734060c617a8159fa3ad1ce400373431e5093579de25fc6ba6.jpg",
|
| 725 |
+
"table_caption": [],
|
| 726 |
+
"table_footnote": [
|
| 727 |
+
"b . Generalization results on AIST. "
|
| 728 |
+
],
|
| 729 |
+
"table_body": "<table><tr><td>Method</td><td>PSNR</td><td>SSIM</td></tr><tr><td>Pixel-NeRF</td><td>18.06</td><td>0.7304</td></tr><tr><td>PVA</td><td>17.82</td><td>0.7211</td></tr><tr><td>Ours</td><td>19.03</td><td>0.8390</td></tr></table>",
|
| 730 |
+
"bbox": [
|
| 731 |
+
521,
|
| 732 |
+
337,
|
| 733 |
+
763,
|
| 734 |
+
396
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 6
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "table",
|
| 740 |
+
"img_path": "images/fca13be3a2d59a76e834c82c219aa612c01fc6151691fc40057d1b1280e9fee5.jpg",
|
| 741 |
+
"table_caption": [
|
| 742 |
+
"Table 2: Comparison with generalizable NeRF methods. "
|
| 743 |
+
],
|
| 744 |
+
"table_footnote": [
|
| 745 |
+
"a . Generalization results on ZJU-MoCap. "
|
| 746 |
+
],
|
| 747 |
+
"table_body": "<table><tr><td>Method</td><td>PSNR</td><td>SSIM</td></tr><tr><td>Pixel-NeRF</td><td>23.17</td><td>0.8693</td></tr><tr><td>PVA</td><td>23.15</td><td>0.8663</td></tr><tr><td>Ours</td><td>24.75</td><td>0.9058</td></tr></table>",
|
| 748 |
+
"bbox": [
|
| 749 |
+
230,
|
| 750 |
+
337,
|
| 751 |
+
473,
|
| 752 |
+
396
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 6
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "4.2 Comparison with generalizable NeRF methods. ",
|
| 759 |
+
"text_level": 1,
|
| 760 |
+
"bbox": [
|
| 761 |
+
174,
|
| 762 |
+
443,
|
| 763 |
+
542,
|
| 764 |
+
458
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 6
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "Baselines. Among the recent generalizable NeRF methods [36, 52, 47], we compare with PixelNeRF [52] and PVA [36] which focus on very sparse (up to 3 or 4) input views. We reimplement [36] since the code is not available. ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
176,
|
| 773 |
+
468,
|
| 774 |
+
825,
|
| 775 |
+
510
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 6
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "Setup. In addition to the ZJU-MoCap dataset (see Sec. 4.1), we experiment on the larger AIST dataset [45, 16] to further evaluate the generalization abilities of different methods. AIST dataset provides dance videos of 30 human subjects captured from 9 cameras, together with the corresponding SMPL fits. We extract the foregroud mask of each image using an off-the-shelf human parser [12]. AIST dataset contains highly diverse motions, slow to fast, simple to complex. We split the dataset into 20 and 10 subjects for training and testing respectively, where the testing dataset contains unseen poses of unseen subjects. ",
|
| 782 |
+
"bbox": [
|
| 783 |
+
173,
|
| 784 |
+
517,
|
| 785 |
+
825,
|
| 786 |
+
614
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 6
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "Novel view synthesis results. As shown in Table. 2, across all the datasets and all the metrics, our method consistently outperforms the baselines by healthy margins of $+ 1 . 6$ PSNR and $+ 0 . 0 3 7$ SSIM scores. Fig. 3 and Fig. 5 present the same tendency in visualizations. Pixel-NeRF and PVA aggregate multi-view observations via average pooling without explicitly considering the correlation between the views. In contrast, our temporal and multi-view transformers learn to model the correlation between input views and integrate different observations to help the NeRF module to produce higher quality results. Another advantage of our method is that the used body model prior provides a robust geometric cue to handle the self-occlusion of the human body. ",
|
| 793 |
+
"bbox": [
|
| 794 |
+
174,
|
| 795 |
+
619,
|
| 796 |
+
825,
|
| 797 |
+
731
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 6
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "3D reconstruction results. We also evaluate the 3D reconstruction quality of generalizable NeRF methods and our method on the ZJU-MoCap (Fig. 4) and AIST datasets (Fig. 5) given three input views. The visualizations show that our 3D reconstructions align well with the input images, and is more accurate than even the per-subject method [33] (e.g., the shape of the upper cloth in Fig. 4). ",
|
| 804 |
+
"bbox": [
|
| 805 |
+
174,
|
| 806 |
+
737,
|
| 807 |
+
825,
|
| 808 |
+
794
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 6
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "Overall, these results verify that since humans are complex and prone to occlusions, more sophisticated designs compared to simple image-conditioning are required to learn robust and accurate appearance representations. ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
174,
|
| 817 |
+
799,
|
| 818 |
+
825,
|
| 819 |
+
842
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 6
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "4.3 Cross-dataset generalization. ",
|
| 826 |
+
"text_level": 1,
|
| 827 |
+
"bbox": [
|
| 828 |
+
176,
|
| 829 |
+
858,
|
| 830 |
+
413,
|
| 831 |
+
872
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 6
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "We further study the generalization ability of our method across different datasets by training on one dataset and testing on another one as shown in Table. 4a. We would like to point out that the two datasets [33, 16] have significantly different statistics both in terms of color distribution (background, lighting) and distance of the camera to the subject, making the cross-dataset generalization task extremely challenging. Nevertheless, we found that only 8-minute fine-tuning on the target dataset can already outperform the baselines fully-trained on the target dataset. 16-minute fine-tuning performs on par with our model fully-trained on the target dataset. ",
|
| 838 |
+
"bbox": [
|
| 839 |
+
174,
|
| 840 |
+
883,
|
| 841 |
+
821,
|
| 842 |
+
911
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 6
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "image",
|
| 848 |
+
"img_path": "images/1cd66891c5362aeafa28deea6a66ea9144e0c29a9021293d7b68be10b88cb976.jpg",
|
| 849 |
+
"image_caption": [
|
| 850 |
+
"Figure 4: 3D reconstruction on ZJU-MoCap. Tested on unseen poses of unseen subjects (except Neural Body which is a subject specific method). NB (Neural Body) [33], PVA (Pixel volumetric avatar) [36], Pixel-NeRF [52] and ours. "
|
| 851 |
+
],
|
| 852 |
+
"image_footnote": [],
|
| 853 |
+
"bbox": [
|
| 854 |
+
183,
|
| 855 |
+
88,
|
| 856 |
+
812,
|
| 857 |
+
231
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 7
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "image",
|
| 863 |
+
"img_path": "images/f1d05313b8585928b673290f4d9d4351717d6170944eaa7a1a94db8088ca68a4.jpg",
|
| 864 |
+
"image_caption": [
|
| 865 |
+
"Figure 5: Generalization results on AIST. Novel view synthesis and 3D reconstruction results on unseen poses of unseen subjects. "
|
| 866 |
+
],
|
| 867 |
+
"image_footnote": [],
|
| 868 |
+
"bbox": [
|
| 869 |
+
179,
|
| 870 |
+
291,
|
| 871 |
+
808,
|
| 872 |
+
444
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 7
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "",
|
| 879 |
+
"bbox": [
|
| 880 |
+
174,
|
| 881 |
+
487,
|
| 882 |
+
825,
|
| 883 |
+
556
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 7
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "4.4 Ablation studies ",
|
| 890 |
+
"text_level": 1,
|
| 891 |
+
"bbox": [
|
| 892 |
+
174,
|
| 893 |
+
574,
|
| 894 |
+
326,
|
| 895 |
+
588
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 7
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Table. 3 shows the ablation study on the ZJU-MoCap dataset for unseen subjects and unseen poses, using three time-steps and three camera views as input. Note that all the variations without either temporal or multi-view transformer modules use simple average pooling instead, to fuse temporal or multi-view observations respectively. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
174,
|
| 904 |
+
601,
|
| 905 |
+
825,
|
| 906 |
+
656
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 7
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Complementariness of skeletal and pixel-aligned query features. ‘Sk’ uses only timeaugmented skeletal features (Sec. 3.2) without time-specific pixel-aligned features, while $\\mathbf { \\nabla } ^ { \\circ } \\mathbf { P } \\mathbf { X } ^ { \\prime }$ uses only the time-specific pixel-aligned features, on the contrary. Both ‘only’ models show the largest drops compared to our full model, and $\\mathbf { \\hat { S } k } + \\mathbf { P x } ^ { \\prime }$ model improves them by $+ 1 . 2$ PSNR and $+ 0 . 9$ PSNR respectively. This validates the complementariness between the skeletal and pixel-aligned features in that one is time-augmented but involves slight geometric deviations, while another is time-specific and represents exact query location, as discussed in Sec. 3.3. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
174,
|
| 915 |
+
662,
|
| 916 |
+
825,
|
| 917 |
+
760
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 7
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "Impact of temporal and multi-view transformers. $\\mathbf { \\nabla } \\cdot \\mathbf { S } \\mathbf { k } + \\mathbf { P } \\mathbf { X } ^ { \\prime }$ uses no transformers so far, falling behind our full model by -1.3 PSNR score. Then $\\mathbf { \\hat { S } k } + \\mathbf { P x } + \\mathbf { T } ^ { \\prime }$ adds the temporal transformer and improves $+ 0 . 7$ PSNR score, showing its effectiveness in aggregating information over video frames. $\\mathbf { \\dot { S } k } + \\mathbf { P x } + \\mathbf { M V } ^ { \\prime }$ uses the multi-view transformer module and shows the largest gain of $+ 1 . 0$ PSNR, indicating the efficacy of learnt cross-attention between the skeletal features and pixel-aligned features, as well as the importance of learnt inter-view correlations. Our full model $\\mathbf { \\ddot { S } k } + \\mathbf { P x } + \\mathbf { T } +$ MV’ shows the best use of all the proposed components and achieves 24.75 PSNR and 0.9058 SSIM. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
174,
|
| 926 |
+
766,
|
| 927 |
+
825,
|
| 928 |
+
863
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 7
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Impact of number of camera views. Table. 4b shows the performance of our method when tested with different number of input views, fixing the number of timesteps to one. As expected, the performance degrades slightly with fewer input views (e.g., as few as one). ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
174,
|
| 937 |
+
869,
|
| 938 |
+
825,
|
| 939 |
+
911
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 7
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "table",
|
| 945 |
+
"img_path": "images/31b890844cbd4b92feeee74063b86fd37be3409af81fc6c3abcd02a427d33bf2.jpg",
|
| 946 |
+
"table_caption": [],
|
| 947 |
+
"table_footnote": [
|
| 948 |
+
"Table 3: Ablation study. Results on the ZJU-MoCap dataset for unseen subjects and unseen poses. Sk: skeletal features, $\\mathrm { P x }$ : pixel-aligned features, T: temporal transformer, MV: multi-view transformer. "
|
| 949 |
+
],
|
| 950 |
+
"table_body": "<table><tr><td>Variant</td><td>Skeletal</td><td>Pixel-aligned</td><td>T-transformer MV-transformer</td><td>PSNR</td><td>SSIM</td></tr><tr><td>Sk</td><td>√</td><td></td><td></td><td>22.31</td><td>0.8865</td></tr><tr><td>Px</td><td></td><td>√</td><td></td><td>22.58</td><td>0.8780</td></tr><tr><td>Sk + Px</td><td>√</td><td>√</td><td></td><td>23.47</td><td>0.8906</td></tr><tr><td>Sk + Px + T</td><td>√</td><td>√</td><td>1</td><td>24.21</td><td>0.9016</td></tr><tr><td>Sk + Px+ MV</td><td>√</td><td>√</td><td>√ √</td><td>24.44</td><td>0.9034</td></tr><tr><td>Sk+Px+T+MV</td><td>√</td><td>√</td><td>√</td><td>24.75</td><td>0.9058</td></tr></table>",
|
| 951 |
+
"bbox": [
|
| 952 |
+
173,
|
| 953 |
+
88,
|
| 954 |
+
821,
|
| 955 |
+
184
|
| 956 |
+
],
|
| 957 |
+
"page_idx": 8
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "table",
|
| 961 |
+
"img_path": "images/958abd68120ca61b3a59857f655a55dc7f0aea0e94ba7a55b060ab17b62c4f5f.jpg",
|
| 962 |
+
"table_caption": [],
|
| 963 |
+
"table_footnote": [
|
| 964 |
+
"a . Cross-dataset generalization. "
|
| 965 |
+
],
|
| 966 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Exp.protocol</td><td rowspan=1 colspan=1>Fine-tune</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td></tr><tr><td rowspan=2 colspan=1>Trained onAISTFine-tuned on ZJU-Mocap</td><td rowspan=1 colspan=1>8-min</td><td rowspan=1 colspan=1>24.25</td><td rowspan=1 colspan=1>0.8954</td></tr><tr><td rowspan=1 colspan=1>16-min</td><td rowspan=1 colspan=1>24.73</td><td rowspan=1 colspan=1>0.9023</td></tr><tr><td rowspan=2 colspan=1>Trained on ZJU-MocapFine-tuned on AIST</td><td rowspan=1 colspan=1>8-min</td><td rowspan=1 colspan=1>18.63</td><td rowspan=1 colspan=1>0.8242</td></tr><tr><td rowspan=1 colspan=1>16-min</td><td rowspan=1 colspan=1>18.83</td><td rowspan=1 colspan=1>0.8374</td></tr></table>",
|
| 967 |
+
"bbox": [
|
| 968 |
+
183,
|
| 969 |
+
232,
|
| 970 |
+
529,
|
| 971 |
+
296
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 8
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "table",
|
| 977 |
+
"img_path": "images/2225fb812fefd27f0d20606f46fe91c70f062f037f9af0a4e8d789598498b947.jpg",
|
| 978 |
+
"table_caption": [],
|
| 979 |
+
"table_footnote": [
|
| 980 |
+
"b . Impact of number of camera views. ",
|
| 981 |
+
"Table 4: Cross-dataset generalization (left) and impact of different number of camera views tested on the ZJU-Mocap dataset for unseen poses of unseen subjects (right). "
|
| 982 |
+
],
|
| 983 |
+
"table_body": "<table><tr><td># Timesteps</td><td>#Views</td><td>PSNR</td><td>SSIM</td></tr><tr><td rowspan=\"5\">1</td><td>1</td><td>20.13</td><td>0.835</td></tr><tr><td>2</td><td>21.82</td><td>0.871</td></tr><tr><td>3</td><td>23.33</td><td>0.906</td></tr><tr><td>4</td><td>23.51</td><td>0.913</td></tr><tr><td></td><td></td><td></td></tr></table>",
|
| 984 |
+
"bbox": [
|
| 985 |
+
555,
|
| 986 |
+
232,
|
| 987 |
+
810,
|
| 988 |
+
296
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 8
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "5 Limitations ",
|
| 995 |
+
"text_level": 1,
|
| 996 |
+
"bbox": [
|
| 997 |
+
174,
|
| 998 |
+
369,
|
| 999 |
+
302,
|
| 1000 |
+
387
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 8
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "While our novel generalizable human performance rendering method outperforms recent per-subject and generalizable NERF methods, there are remaining challenges yet to be explored. 1) While we show that our method can generalize across datasets with finetuning, the generalization capability will be limited as the distribution of the datasets become significantly different. 2) The performance of our method will be affected as the SMPL parameter accuracy degrades. This is the reason for lower performance on the AIST dataset where the accuracy of the SMPL fits are low due to highly complex motion sequences. It is an interesting direction to jointly refine the SMPL parameters using differentiable rendering within our framework. 3) Our algorithm does not have an explicit assumption of static cameras. However, in practice, it might be hard to estimate the inputs to our method (SMPL fits, camera parameters, foreground masks) with moving cameras due to motion blur, changing background, lighting, and synchronization issues etc. We consider this as an orthogonal problem and expect that any advancements in unconstrained multi-view capture setups will help to generalize our method to in-the-wild settings. ",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
174,
|
| 1009 |
+
404,
|
| 1010 |
+
825,
|
| 1011 |
+
583
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 8
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "6 Societal impact ",
|
| 1018 |
+
"text_level": 1,
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
174,
|
| 1021 |
+
608,
|
| 1022 |
+
333,
|
| 1023 |
+
626
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 8
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "We discuss the potential societal impact of our work. On a positive note, the human performance synthesis is the key component of realizing telepresence, which has become more important especially in this pandemic era. In the future, people physically apart can feel like they are in the same space and feel connected with a few inexpensive webcams and AR/VR headsets thanks to the development of the telepresence. Like any other technology, our method can also be used for other reasons by corporations, e.g., for identity recognition from a small number of surveillance cameras. We strongly hope that our research will be used in positive directions. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
174,
|
| 1032 |
+
643,
|
| 1033 |
+
825,
|
| 1034 |
+
741
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 8
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "7 Conclusion ",
|
| 1041 |
+
"text_level": 1,
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
174,
|
| 1044 |
+
765,
|
| 1045 |
+
297,
|
| 1046 |
+
782
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 8
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "We present Neural Human Performer, a generalizable radiance field network based on a parametric body model that can synthesize free-viewpoint videos for arbitrary human performers from sparse camera views. Leveraging the trackable visual features from the input body motion prior, we propose a combination of a temporal and a multi-view Transformer that integrates multi-time and multi-view observations in a feed-forward manner. Our method can produce photo-realistic view synthesis of unseen poses and identities at test time. In various generalization settings on the ZJU-MoCap and AIST datasets, our method achieves state-of-the-art performance compared to other per-subject methods that utilize a human body prior as well as the generalizable NeRF methods. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
174,
|
| 1055 |
+
800,
|
| 1056 |
+
825,
|
| 1057 |
+
911
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 8
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Acknowledgments and Disclosure of Funding ",
|
| 1064 |
+
"text_level": 1,
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
174,
|
| 1067 |
+
88,
|
| 1068 |
+
553,
|
| 1069 |
+
107
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 9
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "We thank Sida Peng of Zhejiang University, Hangzhou, China, for many very helpful discussions on a variety of implementation details of the Neural Body [33]. We thank Ruilong li and Alex Yu of UC Berkeley for many discussions on the $\\mathrm { A I S T + + }$ dataset [16] and Pixel-NeRF [52] details. We thank Prof. Alex Berg of UNC for the generous offer of computational resources and Misha Shvets of UNC for a useful tutorial on it. This work was partially supported by National Science Foundation Award 1840131. ",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
173,
|
| 1078 |
+
121,
|
| 1079 |
+
825,
|
| 1080 |
+
204
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 9
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "References ",
|
| 1087 |
+
"text_level": 1,
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
174,
|
| 1090 |
+
222,
|
| 1091 |
+
266,
|
| 1092 |
+
238
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 9
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "[1] Kara-Ali Aliev, Dmitry Ulyanov, and Victor Lempitsky. Neural point-based graphics. arXiv preprint arXiv:1906.08240, 2(3):4, 2019. \n[2] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European Conference on Computer Vision, pages 213–229. Springer, 2020. \n[3] Joel Carranza, Christian Theobalt, Marcus A Magnor, and Hans-Peter Seidel. Free-viewpoint video of human actors. ACM transactions on graphics (TOG), 22(3):569–577, 2003. \n[4] Alvaro Collet, Ming Chuang, Pat Sweeney, Don Gillett, Dennis Evseev, David Calabrese, Hugues Hoppe, Adam Kirk, and Steve Sullivan. High-quality streamable free-viewpoint video. ACM Transactions on Graphics (ToG), 34(4):1–13, 2015. \n[5] Edilson De Aguiar, Carsten Stoll, Christian Theobalt, Naveed Ahmed, Hans-Peter Seidel, and Sebastian Thrun. Performance capture from sparse multi-view video. In ACM SIGGRAPH 2008 papers, pages 1–10. 2008. \n[6] Paul Debevec, Tim Hawkins, Chris Tchou, Haarm-Pieter Duiker, Westley Sarokin, and Mark Sagar. Acquiring the reflectance field of a human face. In Proceedings of the 27th annual conference on Computer graphics and interactive techniques, pages 145–156, 2000. \n[7] Mingsong Dou, Sameh Khamis, Yury Degtyarev, Philip Davidson, Sean Ryan Fanello, Adarsh Kowdle, Sergio Orts Escolano, Christoph Rhemann, David Kim, Jonathan Taylor, et al. Fusion4d: Real-time performance capture of challenging scenes. ACM Transactions on Graphics (TOG), 35(4):1–13, 2016. \n[8] John Flynn, Michael Broxton, Paul Debevec, Matthew DuVall, Graham Fyffe, Ryan Overbeck, Noah Snavely, and Richard Tucker. Deepview: View synthesis with learned gradient descent. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2367–2376, 2019. \n[9] Guy Gafni, Justus Thies, Michael Zollhofer, and Matthias Nießner. Dynamic neural radiance fields for monocular 4d facial avatar reconstruction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8649–8658, 2021. \n[10] Juergen Gall, Carsten Stoll, Edilson De Aguiar, Christian Theobalt, Bodo Rosenhahn, and Hans-Peter Seidel. Motion capture using joint skeleton tracking and surface estimation. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 1746–1753. IEEE, 2009. \n[11] Chen Gao, Yichang Shih, Wei-Sheng Lai, Chia-Kai Liang, and Jia-Bin Huang. Portrait neural radiance fields from a single image. arXiv preprint arXiv:2012.05903, 2020. \n[12] Ke Gong, Xiaodan Liang, Yicheng Li, Yimin Chen, Ming Yang, and Liang Lin. Instance-level human parsing via part grouping network. In Proceedings of the European Conference on Computer Vision (ECCV), pages 770–785, 2018. \n[13] Kaiwen Guo, Peter Lincoln, Philip Davidson, Jay Busch, Xueming Yu, Matt Whalen, Geoff Harvey, Sergio Orts-Escolano, Rohit Pandey, Jason Dourgarian, et al. The relightables: Volumetric performance capture of humans with realistic relighting. ACM Transactions on Graphics (TOG), 38(6):1–19, 2019. \n[14] Youngjoong Kwon, Stefano Petrangeli, Dahun Kim, Haoliang Wang, Henry Fuchs, and Viswanathan Swaminathan. Rotationally-consistent novel view synthesis for humans. In Proceedings of the 28th ACM International Conference on Multimedia, pages 2308–2316, 2020. \n[15] Youngjoong Kwon, Stefano Petrangeli, Dahun Kim, Haoliang Wang, Eunbyung Park, Viswanathan Swaminathan, and Henry Fuchs. Rotationally-temporally consistent novel view synthesis of human performance video. In European Conference on Computer Vision, pages 387–402. Springer, 2020. \n[16] Ruilong Li, Shan Yang, David A Ross, and Angjoo Kanazawa. Ai choreographer: Music conditioned 3d dance generation with aist++. In International Conference on Computer Vision, 2021. \n[17] Tianye Li, Mira Slavcheva, Michael Zollhoefer, Simon Green, Christoph Lassner, Changil Kim, Tanner Schmidt, Steven Lovegrove, Michael Goesele, and Zhaoyang Lv. Neural 3d video synthesis. arXiv preprint arXiv:2103.02597, 2021. \n[18] Yiyi Liao, Katja Schwarz, Lars Mescheder, and Andreas Geiger. Towards unsupervised learning of generative models for 3d controllable image synthesis. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5871–5880, 2020. \n[19] Baoyuan Liu, Min Wang, Hassan Foroosh, Marshall Tappen, and Marianna Pensky. Sparse convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 806–814, 2015. \n[20] Lingjie Liu, Jiatao Gu, Kyaw Zaw Lin, Tat-Seng Chua, and Christian Theobalt. Neural sparse voxel fields. arXiv preprint arXiv:2007.11571, 2020. \n[21] Lingjie Liu, Weipeng Xu, Michael Zollhoefer, Hyeongwoo Kim, Florian Bernard, Marc Habermann, Wenping Wang, and Christian Theobalt. Neural rendering and reenactment of human actor videos. ACM Transactions on Graphics (TOG), 38(5):1–14, 2019. \n[22] Shaohui Liu, Yinda Zhang, Songyou Peng, Boxin Shi, Marc Pollefeys, and Zhaopeng 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, pages 2019–2028, 2020. \n[23] Stephen Lombardi, Tomas Simon, Jason Saragih, Gabriel Schwartz, Andreas Lehrmann, and Yaser Sheikh. Neural volumes: Learning dynamic renderable volumes from images. arXiv preprint arXiv:1906.07751, 2019. \n[24] Matthew Loper, Naureen Mahmood, Javier Romero, Gerard Pons-Moll, and Michael J Black. Smpl: A skinned multi-person linear model. ACM transactions on graphics (TOG), 34(6):1–16, 2015. \n[25] Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, and Andreas Geiger. Occupancy networks: Learning 3d reconstruction in function space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4460–4470, 2019. \n[26] Ben Mildenhall, Pratul P Srinivasan, Matthew Tancik, Jonathan T Barron, Ravi Ramamoorthi, and Ren Ng. Nerf: Representing scenes as neural radiance fields for view synthesis. In European Conference on Computer Vision, pages 405–421. Springer, 2020. \n[27] Ryota Natsume, Shunsuke Saito, Zeng Huang, Weikai Chen, Chongyang Ma, Hao Li, and Shigeo Morishima. Siclope: Silhouette-based clothed people. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4480–4490, 2019. \n[28] Michael Niemeyer, Lars Mescheder, Michael Oechsle, and Andreas Geiger. Differentiable volumetric rendering: Learning implicit 3d representations without 3d supervision. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3504–3515, 2020. \n[29] Kyle Olszewski, Sergey Tulyakov, Oliver Woodford, Hao Li, and Linjie Luo. Transformable bottleneck networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7648– 7657, 2019. \n[30] Keunhong Park, Utkarsh Sinha, Jonathan T Barron, Sofien Bouaziz, Dan B Goldman, Steven M Seitz, and Ricardo-Martin Brualla. Deformable neural radiance fields. arXiv preprint arXiv:2011.12948, 2020. \n[31] Keunhong Park, Utkarsh Sinha, Peter Hedman, Jonathan T Barron, Sofien Bouaziz, Dan B Goldman, Ricardo Martin-Brualla, and Steven M Seitz. Hypernerf: A higher-dimensional representation for topologically varying neural radiance fields. arXiv preprint arXiv:2106.13228, 2021. \n[32] Sida Peng, Junting Dong, Qianqian Wang, Shangzhan Zhang, Qing Shuai, Xiaowei Zhou, and Hujun Bao. Animatable neural radiance fields for modeling dynamic human bodies. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 14314–14323, 2021. \n[33] Sida Peng, Yuanqing Zhang, Yinghao Xu, Qianqian Wang, Qing Shuai, Hujun Bao, and Xiaowei Zhou. Neural body: Implicit neural representations with structured latent codes for novel view synthesis of dynamic humans. In CVPR, 2021. \n[34] Songyou Peng, Michael Niemeyer, Lars Mescheder, Marc Pollefeys, and Andreas Geiger. Convolutional occupancy networks. arXiv preprint arXiv:2003.04618, 2, 2020. \n[35] Albert Pumarola, Enric Corona, Gerard Pons-Moll, and Francesc Moreno-Noguer. D-nerf: Neural radiance fields for dynamic scenes. arXiv preprint arXiv:2011.13961, 2020. \n[36] Amit Raj, Michael Zollhoefer, Tomas Simon, Jason Saragih, Shunsuke Saito, James Hays, and Stephen Lombardi. Pva: Pixel-aligned volumetric avatars. arXiv preprint arXiv:2101.02697, 2021. \n[37] Shunsuke Saito, Zeng Huang, Ryota Natsume, Shigeo Morishima, Angjoo Kanazawa, and Hao Li. Pifu: Pixel-aligned implicit function for high-resolution clothed human digitization. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2304–2314, 2019. \n[38] Shunsuke Saito, Tomas Simon, Jason Saragih, and Hanbyul 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, pages 84–93, 2020. \n[39] Shaoshuai Shi, Chaoxu Guo, Li Jiang, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. Pv-rcnn: Point-voxel feature set abstraction for 3d object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10529–10538, 2020. \n[40] Vincent Sitzmann, Justus Thies, Felix Heide, Matthias Nießner, Gordon Wetzstein, and Michael Zollhofer. Deepvoxels: Learning persistent 3d feature embeddings. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2437–2446, 2019. \n[41] Vincent Sitzmann, Michael Zollhöfer, and Gordon Wetzstein. Scene representation networks: Continuous 3d-structure-aware neural scene representations. arXiv preprint arXiv:1906.01618, 2019. \n[42] Carsten Stoll, Juergen Gall, Edilson De Aguiar, Sebastian Thrun, and Christian Theobalt. Video-based reconstruction of animatable human characters. ACM Transactions on Graphics (TOG), 29(6):1–10, 2010. \n[43] Zhuo Su, Lan Xu, Zerong Zheng, Tao Yu, Yebin Liu, et al. Robustfusion: Human volumetric capture with data-driven visual cues using a rgbd camera. Springer, 2020. \n[44] Justus Thies, Michael Zollhöfer, and Matthias Nießner. Deferred neural rendering: Image synthesis using neural textures. ACM Transactions on Graphics (TOG), 38(4):1–12, 2019. \n[45] Shuhei Tsuchida, Satoru Fukayama, Masahiro Hamasaki, and Masataka Goto. Aist dance video database: Multi-genre, multi-dancer, and multi-camera database for dance information processing. In ISMIR, pages 501–510, 2019. \n[46] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017. \n[47] Qianqian Wang, Zhicheng Wang, Kyle Genova, Pratul Srinivasan, Howard Zhou, Jonathan T. Barron, Ricardo Martin-Brualla, Noah Snavely, and Thomas Funkhouser. Ibrnet: Learning multi-view image-based rendering. In CVPR, 2021. \n[48] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7794–7803, 2018. \n[49] Minye Wu, Yuehao Wang, Qiang Hu, and Jingyi Yu. Multi-view neural human rendering. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1682–1691, 2020. \n[50] Wenqi Xian, Jia-Bin Huang, Johannes Kopf, and Changil Kim. Space-time neural irradiance fields for free-viewpoint video. arXiv preprint arXiv:2011.12950, 2020. \n[51] Yan Yan, Yuxing Mao, and Bo Li. Second: Sparsely embedded convolutional detection. Sensors, 18(10):3337, 2018. \n[52] Alex Yu, Vickie Ye, Matthew Tancik, and Angjoo Kanazawa. pixelnerf: Neural radiance fields from one or few images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4578–4587, 2021. \n[53] Wentao Yuan, Zhaoyang Lv, Tanner Schmidt, and Steven Lovegrove. Star: Self-supervised tracking and reconstruction of rigid objects in motion with neural rendering. arXiv preprint arXiv:2101.01602, 2020. \n[54] Zerong Zheng, Tao Yu, Yixuan Wei, Qionghai Dai, and Yebin Liu. Deephuman: 3d human reconstruction from a single image. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7739–7749, 2019. \n[55] Tinghui Zhou, Richard Tucker, John Flynn, Graham Fyffe, and Noah Snavely. Stereo magnification: Learning view synthesis using multiplane images. arXiv preprint arXiv:1805.09817, 2018. ",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
173,
|
| 1101 |
+
244,
|
| 1102 |
+
828,
|
| 1103 |
+
914
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 9
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
171,
|
| 1112 |
+
49,
|
| 1113 |
+
828,
|
| 1114 |
+
914
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 10
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
171,
|
| 1123 |
+
56,
|
| 1124 |
+
828,
|
| 1125 |
+
917
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 11
|
| 1128 |
+
}
|
| 1129 |
+
]
|
parse/train/YFysbLCFdIe/YFysbLCFdIe_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/YFysbLCFdIe/YFysbLCFdIe_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/hwoK62_GkiT/hwoK62_GkiT.md
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Multi-Agent Reinforcement Learning for Active Voltage Control on Power Distribution Networks
|
| 2 |
+
|
| 3 |
+
Jianhong Wang∗ Imperial College London jianhong.wang16@imperial.ac.uk
|
| 4 |
+
|
| 5 |
+
Wangkun Xu∗ Imperial College London wangkun.xu18@imperial.ac.uk
|
| 6 |
+
|
| 7 |
+
Yunjie $\mathbf { G u } ^ { \dagger }$ University of Bath yg934@bath.ac.uk
|
| 8 |
+
|
| 9 |
+
Wenbin Song Shanghaitech University songwb@shanghaitech.edu.cn
|
| 10 |
+
|
| 11 |
+
Tim C. Green‡ Imperial College London t.green@imperial.ac.uk
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
This paper presents a problem in power networks that creates an exciting and yet challenging real-world scenario for application of multi-agent reinforcement learning (MARL). The emerging trend of decarbonisation is placing excessive stress on power distribution networks. Active voltage control is seen as a promising solution to relieve power congestion and improve voltage quality without extra hardware investment, taking advantage of the controllable apparatuses in the network, such as roof-top photovoltaics (PVs) and static var compensators (SVCs). These controllable apparatuses appear in a vast number and are distributed in a wide geographic area, making MARL a natural candidate. This paper formulates the active voltage control problem in the framework of Dec-POMDP and establishes an open-source environment. It aims to bridge the gap between the power community and the MARL community and be a drive force towards real-world applications of MARL algorithms. Finally, we analyse the special characteristics of the active voltage control problems that cause challenges (e.g. interpretability) for state-of-the-art MARL approaches, and summarise the potential directions.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
Multi-agent reinforcement learning (MARL) has demonstrated impressive performances on games (e.g., Chess [1], StarCraft [2, 3], and etc.) and robotics [4]. There are now increasing interests and thrusts to apply MARL in real-world problems. Power network is a natural test field for MARL algorithms. There are many problems in power networks involving the collaborative or competitive actions of a vast number of agents, such as market bidding [5], voltage control, frequency control, and emergency handling [6]. One of the obstacles for applying MARL in power networks is the lack of transparency and guarantee, which is unacceptable considering the importance of reliable power supply for the whole society. Therefore, it is sensible to start with problems that are less sensitive to reliability but hard to be solved by conventional methods.
|
| 20 |
+
|
| 21 |
+
Active voltage control in power distribution networks is such a candidate problem. The voltage control problem has been studied for years but only comes under spot light recently due to the increasing penetration of distributed resources, e.g. roof-top photovoltaics (PVs) [7]. The excessive active power injection may cause voltage fluctuations beyond the threshold of grid standards [8]. The voltage fluctuations can be relieved by exploiting the control flexibility of PV inverters themselves along with other controllable apparatuses, such as static var compensators (SVCs) and on load tap changers (OLTCs). An elaborate scheme is needed to coordinate these multiple apparatuses at scale to regulate voltage throughout the network with limited local information, which is called active voltage control [9–12]. The active voltage control problem has many interesting properties. (1) It is a combination of local and global problem, i.e., the voltage of each node is influenced by the powers (real and reactive) of all other nodes but the impact recedes with increasing distance between nodes. (2) It is a constrained optimisation problem where the constraint is the voltage threshold and the objective is the total power loss, but there is no explicit relationship between the constraint and the control action. (3) A distribution network has a radial topology involving a rich structure that can be taken as prior knowledge for control, but the node-branch parameters of the topology may be significantly uncertain. (4) Voltage control has a relatively large tolerance and less severe consequences if the control fails to meet standard requirements.
|
| 22 |
+
|
| 23 |
+
There have been several attempts to apply MARL in active voltage control [6, 13–16]. Each work on a particular case showed promising performances of state-of-the-art MARL approaches with modifications adapting to the active voltage control problem. However, it is not clear if these methods scale well to a larger network, and the robustness against different scenarios, such as penetration levels and load profiles, are yet to be investigated. There is no commonly accepted benchmark to provide the basis for fair comparison of different solutions.
|
| 24 |
+
|
| 25 |
+
To facilitate further research on this topic, and to bridge the gap between the power community and MARL community, we present a comprehensive test-bench and open-source environment for MARL based active voltage control. We formally define the active voltage control problem as a Dec-POMDP [17] that is widely acknowledged in the MARL community. We present an environment in Python and construct 3 scenarios with real public data that span from small scale (i.e. 6 agents) to large scale (i.e. 38 agents).
|
| 26 |
+
|
| 27 |
+
The contributions of this paper are summarised as follows: (1) We formally define the active voltage control problem as a Dec-POMDP and develop an open-source environment.2 (2) We conduct large scale experimentation with 7 state-of-the-art MARL algorithms on different scenarios of the active voltage control problem. (3) We convert voltage constraints to barrier functions and observe the importance of designing an appropriate voltage barrier function from the experimental results. (4) By analysing the experimental results, we imply the possible challenges (e.g. interpretability) for MARL to solve the active voltage control problem and suggest potential directions for future works.
|
| 28 |
+
|
| 29 |
+
# 2 Related Work
|
| 30 |
+
|
| 31 |
+
Traditional Methods for Active Voltage Control. Voltage rising and fluctuation problem in distribution networks has been studied for 20 years [18]. The traditional voltage regulation devices such as OLTC and capacitor banks [10] are often installed at substations and therefore may not be effective in regulating voltages at the far end of the line [19]. The emergence of distributed generation, such as root-top PVs, introduces new approaches for voltage regulation by the active reactive power control of grid-connected inverters [11]. The state-of-the-art active voltage control strategies can be roughly classified into two categories: (1) reactive power dispatch based on optimal power flow (OPF) [20, 21]; and (2) droop control based on local voltage and power measurements [22, 23]. Specifically, centralised OPF [24–26] minimises the power loss while fulfilling voltage constraints (e.g. power flow equation defined in Eq.1); distributed OPF [27, 28] used distributed optimization techniques, such as alternating direction method of multipliers (ADMM), to replace the centralised solver. The primary limitation of OPF is the need of exact system model [29]. Besides, solving constrained optimisation problem is time-consuming, so it is difficult to react to the rapid change of load profile [30]. On the other hand, droop control only depends on its local measurements, but its performance relies on the manually-designed parameters and is often sub-optimal due to the lack of global information [30]. It is possible to enhance droop control by distributed algorithms, but extra communications are needed [31, 19]. In this paper we investigate the possibility of applying MARL techniques on the active voltage control problem. Compared with the previous works on traditional methods, (1) MARL is model-free, so no exact system model is needed; and (2) the response of MARL is fast so as to handle rapid changes of environments (e.g. the intermittency of renewable energy).
|
| 32 |
+
|
| 33 |
+
Multi-Agent Reinforcement Learning for Active Voltage Control. In this section, we discuss the works that applied MARL to active voltage control problem in the power system community. [14, 16] applied MADDPG with the reactive power of inverters or static var compensators (SVCs) as control actions. [32] applied MADDPG with a manually designed voltage inner loop, so that agents set reference voltage instead of reactive power as their control actions. [13] applied MATD3 also with reactive power as control actions. [15] applied MASAC, where both reactive power and the curtailment of active power are used as control actions. In the above works, distribution networks are divided into regions, with each region controlled by a single agent [33]. It is not clear if these MARL approaches scales well for increasing number of agents. In particular, it is not clear if each single inverter in a distribution network can behave as an independent agent. In this work, we model the active voltage control problem as a Dec-POMDP [17], where each inverter is controlled by an agent. We propose Bowl-shape as a barrier function to represent voltage constraint as part of the reward. We build up an open-source environment for this specific problem that can be easily deployed with the existing MARL algorithms.
|
| 34 |
+
|
| 35 |
+
Concurrent Works. L2RPN [34] is an environment mainly for the centralised control over power transmission networks with node-splitting and lines switch-off for topology management. Gym-ANM [35] is an environment for centralised power distribution network management. Compared with these 2 works, our environment mainly focuses on solving the active voltage control problem in power distribution networks, with the decentralised/distributed manner. Moreover, we provide more complicated scenarios with the real-world data. Finally, our environment can be easily and flexibly extended with more network topologies and data, thanks to the supports of PandaPower [36] and SimBench [37].
|
| 36 |
+
|
| 37 |
+
# 3 Background
|
| 38 |
+
|
| 39 |
+
# 3.1 Power Distribution Network
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
Figure 1: Illustration on distribution network (block a-b-c) under PV penetration. The solid and dotted lines represent the power and information flows respectively. Block d is the detailed version of distribution network and block e is the circuit model of block d.
|
| 43 |
+
|
| 44 |
+
An electric power distribution network is illustrated in Figure 1 stage a to c. The electricity is generated from power plant and transmitted through transmission lines. Muti-stage transformers are applied to reduce the voltage levels while the electricity is being delivered to the distribution network. The electricity is then consumed by residential and industrial clients. A typical PV unit consists of PV panels and voltage-source inverters which can be installed either on roof-top or in the solar farm. Conventionally, there exist management entities such as distributed system operator (DSO) monitoring and operating the PV resources through the local communication channels. With emergent PV penetration, distribution network gradually grows to be an active participant in power networks that can deliver power and service to its users and the main grid (see the bidirectional power flows in Figure 1 stage-d).
|
| 45 |
+
|
| 46 |
+
System Model and Voltage Deviation. In this paper, we consider medium (10-24kV) and low (0.23-1kV) voltage distribution networks where PVs are highly penetrated. We model the distribution network in Figure 1 as a tree graph $\mathcal { G } = ( V , E )$ , where $V = \{ 0 , 1 , \ldots , N \}$ and $E = \{ 1 , 2 , \dots , N \}$ represent the set of nodes (buses) and edges (branches) respectively [24]. Bus 0 is considered as the connection to the main grid, balancing the active and reactive power in the distribution network. For each bus $i \in V$ , let $v _ { i }$ and $\theta _ { i }$ be the magnitude and phase angle of the complex voltage and $s _ { j } = p _ { i } + j q _ { i }$ be the complex power injection. Then the active and reactive power injection can be
|
| 47 |
+
|
| 48 |
+
defined as follows:
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
\begin{array} { r l r } { \quad } & { { } \displaystyle p _ { i } ^ { P V } - p _ { i } ^ { L } = v _ { i } ^ { 2 } \sum _ { j \in V _ { i } } g _ { i j } - v _ { i } \sum _ { j \in V _ { i } } v _ { j } \left( g _ { i j } \cos \theta _ { i j } + b _ { i j } \sin \theta _ { i j } \right) , } & { \forall i \in V \setminus \{ 0 \} } \\ { \displaystyle q _ { i } ^ { P V } - q _ { i } ^ { L } = - v _ { i } ^ { 2 } \sum _ { j \in V _ { i } } b _ { i j } + v _ { i } \sum _ { j \in V _ { i } } v _ { j } \left( g _ { i j } \sin \theta _ { i j } + b _ { i j } \cos \theta _ { i j } \right) , } & { \forall i \in V \setminus \{ 0 \} } \end{array}
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
where $V _ { i } : = \{ j \mid ( i , j ) \in E \}$ is the index set of buses connected to bus $i$ . $g _ { i j }$ and $b _ { i j }$ are the conductance and susceptance on branch $( i , j ) . \theta _ { i j } = \theta _ { i } - \theta _ { j }$ is the phase difference between bus $i$ and $j . p _ { i } ^ { P V }$ and $q _ { i } ^ { P V }$ are the active power and reactive power of the PV on the bus $i$ (that are zeros if there is no PV on the bus $i$ ). $p _ { i } ^ { L }$ and $q _ { i } ^ { L }$ are the active power and reactive power of the loads on the bus $i$ (that are zeros if there is no loads on the bus $i$ ). Eq.1 can represent the power system dynamics which is essential for solving the power flow problem and active voltage control problem [38] (details in Appendix A.1-A.2). For safe and optimal operation, $5 \%$ voltage deviation is usually allowed, i.e., $v _ { 0 } = 1 . 0$ per unit $( p . u . )$ and $0 . 9 5 p . u . \leq v _ { i } \leq 1 . 0 5 p . u . , \forall i \in V \setminus \{ 0 \}$ . When the load is heavy during the nighttime, the end-user voltage could be smaller than $0 . 9 5 p . u$ . [39]. In contrast, to export its power, large penetration of $p _ { i } ^ { P V }$ leads to reverse current flow that would increase $v _ { i }$ out of the nominal range (Figure 1-d) [18, 40].
|
| 55 |
+
|
| 56 |
+
Optimal Power Flow. In this paper, OPF is regarded as an optimization problem minimizing the total power loss subject to the power balance constraints defined in Eq.1, PV reactive power limits, and bus voltage limits [41]. As the centralized OPF has full access to the system topology, measurements, and PV resources, it provides the optimal active voltage control performance and can be used as a benchmark method (details in Appendix A.3). However, the performance of the OPF depends on the accuracy of the grid model and the optimisation is time-consuming which makes it difficult to be deployed online.
|
| 57 |
+
|
| 58 |
+
Droop Control. To regulate local voltage deviation, the standard droop control defines a piece-wise linear relationship between PV reactive power generation and voltage deviation at a bus equipped with inverter-based PVs [30, 42] (details in Appendix A.4). It is a fully decentralised control and ignore both the total voltage divisions and the power loss.
|
| 59 |
+
|
| 60 |
+
# 3.2 Dec-POMDP
|
| 61 |
+
|
| 62 |
+
Multi-agent reinforcement learning (MARL) is an extension from the reinforcement learning problem, with multiple agents in the same environment. The problem of MARL for cooperation among agents is conventionally formulated as a Dec-POMDP [17]. It is usually formulated as a tuple such that $\langle \mathcal { T } , \mathcal { S } , \mathcal { A } , \mathcal { O } , \mathcal { T } , \dot { r } , \Omega , \rho , \gamma \rangle$ . $\mathcal { T }$ is an agent set; $s$ is a state set; $\mathcal { A } = \times _ { i \in \mathcal { T } } \mathcal { A } _ { i }$ is the joint action set, where $\mathbf { \mathcal { A } } _ { i }$ is each agent’s action set; $O = \times _ { i \in \tau } O _ { i }$ is the joint observation set, where $\mathcal { O } _ { i }$ is each agent’s observation set; $\mathcal { T } : \mathcal { S } \times \mathcal { A } \times \mathcal { S } [ 0 , 1 ]$ is a transition probability function that describes the dynamics of an environment; $r : S \times \mathcal { A } \mathbb { R }$ is a global reward function that describes the award to the whole agents given their decisions; $\Omega : \mathcal { S } \times \mathcal { A } \times \mathcal { O } [ 0 , 1 ]$ describes the perturbation of the observers (or sensors) for agents’ joint observations over the states after decisions; $\rho : { \mathcal { S } } [ 0 , 1 ]$ is a probability function of initial states; and $\gamma \in ( 0 , 1 )$ is a discount factor. The objective of Dec-POMDP is finding an optimal joint policy $\pi = \times _ { i \in \boldsymbol { \mathbb { Z } } } \pi _ { i }$ that solves $\begin{array} { r } { \operatorname* { m a x } _ { \pi } \mathbb { E } _ { \pi } \big [ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } r _ { t } \big ] } \end{array}$ .
|
| 63 |
+
|
| 64 |
+
# 4 Distributed Active Voltage Control Problem
|
| 65 |
+
|
| 66 |
+
# 4.1 Problem Formulation
|
| 67 |
+
|
| 68 |
+
For the ease of operations, a large-scale power network is divided into multiple regions and there are several PVs installed into each region that is managed by the responsible distribution network owner. Each PV is with an inverter that generates reactive power to control the voltage around a stationary value denoted as $v _ { \mathrm { r e f } }$ . In our problem, we assume that the PV ownership (e.g. individual homeowners or enterprise) is independent and separated from the distribution network ownership (DNO) [33]. Specifically, a PV owner is responsible for operating a PV infrastructure. In other words, each PV is able to be controlled under a distributed manner so that it is natural to be considered as an agent. To enforce the safety of distribution power networks, all agents (i.e. PVs) within a region share the observation of this region.3 Since each agent can only observe partial information of the whole gird and maintaining the safety of the power network is a common goal among agents, it is reasonable to model the problem as a Dec-POMDP [17] that can be mathematically described as a 10-tuple such that $\langle \mathcal { T } , \mathcal { S } , \mathcal { A } , \mathcal { R } , \mathcal { O } , \mathcal { T } , r , \Omega , \rho , \gamma \rangle$ , where $\rho$ is the probability distribution for drawing the initial state and $\gamma$ is the discount factor.
|
| 69 |
+
|
| 70 |
+
Agent Set. There is a set of agents controlling a set of PV inverters denoted as $\mathcal { T }$ . Each agent is located at some node in $\mathcal { G }$ (i.e. a graph representing the power network defined as before). We define a function $g : { \mathcal { T } } V$ to indicate the node where an agent is located.
|
| 71 |
+
|
| 72 |
+
Region Set. The whole power network is separated into $M$ regions, whose union is denoted as $\mathcal { R } \overset { \cdot } { = } \{ \mathcal { R } _ { k } \subset V | k < M , k \in \mathbb { N } \}$ , where $\textstyle \bigcup _ { \mathcal { R } _ { k } \in \mathcal { R } } \mathcal { R } _ { k } \subseteq V$ and $\mathcal { R } _ { k _ { 1 } } \cap \mathcal { R } _ { k _ { 2 } } = \emptyset$ if $k _ { 1 } \neq k _ { 2 }$ . We define a function $f : V \to \mathcal { R }$ that maps a node to the region where it is involved.
|
| 73 |
+
|
| 74 |
+
State and Observation Set. The state set is defined as $\begin{array} { r } { S = \mathcal { L } \times \mathcal { P } \times \mathcal { Q } \times \mathcal { V } } \end{array}$ , where $\mathcal { L } = \{ ( \mathbf { p } ^ { L } , \mathbf { q } ^ { L } ) :$ $\mathbf { p } ^ { L } , \mathbf { q } ^ { L } \in ( 0 , \infty ) ^ { | V | } \}$ is a set of (active and reactive) powers of loads; $\mathcal { P } = \{ \mathbf { p } ^ { P V } : \mathbf { p } ^ { P V } \in \bar { ( 0 , \infty ) } ^ { | \mathcal { Z } | } \}$ is a set of active powers generated by PVs; $\mathcal { Q } = \{ \mathbf { q } ^ { P V } : \mathbf { q } ^ { P V } \in ( 0 , \infty ) ^ { | \mathcal { L } | } \}$ is a set of reactive powers generated by PV inverters at the preceding step; $\mathcal { V } = \left. ( \mathbf { v } , \theta ) : \mathbf { v } \in ( 0 , \infty ) ^ { | V | } , \theta \in [ - \pi , \pi ] ^ { | V | } \right.$ is a set of voltage wherein $\mathbf { v }$ is a vector of voltage magnitudes and $\theta$ is a vector of voltage phases measured in radius. $v _ { i } , p _ { i } ^ { L } , q _ { i } ^ { L } , p _ { i } ^ { P V }$ and $q _ { i } ^ { P V }$ are denoted as the components of the vectors $\mathbf { v } , \mathbf { p } ^ { L } , \mathbf { q } ^ { L } , \mathbf { p } ^ { P ^ { V } }$ and $\mathbf { q } ^ { P V }$ respectively. We define a function $h : \mathbb { P } ( V ) \to \mathbb { P } ( S )$ that maps a subset of $V$ to its correlated measures, where $\mathbb { P } ( \cdot )$ denotes the power set. The observation set is defined as $O = \times _ { i \in \tau } O _ { i }$ , where $\mathcal { O } _ { i } = ( h \circ f \circ g ) ( i )$ indicates the measures within the region where agent $i$ is located.
|
| 75 |
+
|
| 76 |
+
Action Set. Each agent $i \in \mathcal { Z }$ is equipped with a continuous action set $\mathcal { A } _ { i } = \{ a _ { i } \ : \ - c \leq a _ { i } \leq$ $c , c > 0 \}$ . The continuous action represents the ratio of maximum reactive power it generates, i.e., the reactive power generated from the $k$ th PV inverter is $q _ { k } ^ { P V } = a _ { k } \ \sqrt { ( s _ { k } ^ { \mathrm { m a x } } ) ^ { 2 } - ( p _ { k } ^ { P V } ) ^ { 2 } }$ , where $s _ { k } ^ { \mathrm { m a x } }$ is the maximum apparent power of the $k$ th node that is dependent on the physical capacity of the PV inverter.4, 5 If $a _ { k } > 0$ , it means penetrating reactive powers to the distribution network. If $a _ { k } < 0$ , it means absorbing reactive powers from the distribution network. The value of $c$ is usually selected as per the loading capacity of a distribution network, which is for the safety of operations. The joint action set is denoted as $\mathcal { A } = \times _ { i \in \mathcal { T } } \mathcal { A } _ { i }$ .
|
| 77 |
+
|
| 78 |
+
State Transition Probability Function. Since the state includes the last action and the change of loads is random (that theoretically can be modelled as any probabilistic distribution), we can naturally define the state transition probability function as $\mathcal { T } : \mathcal { S } \times \mathcal { A } \times \mathcal { S } [ 0 , 1 ]$ that follows Markov decision process. Specifically, $\begin{array} { r } { \mathcal { T } ( \mathbf { s } _ { t + 1 } \vert \mathbf { s } _ { t } , \mathbf { a } _ { t } ) = P r ( \mathbf { s } _ { t + 1 } \vert \delta ( \mathbf { s } _ { t } , \mathbf { a } _ { t } ) ) } \end{array}$ , where $\mathbf { a } _ { t } \in \mathcal A$ and $\mathbf { s } _ { t } , \mathbf { s } _ { t + 1 } \in S$ $\delta ( \mathbf { s } _ { t } , \mathbf { a } ) \mapsto \mathbf { s } _ { t + \tau }$ denotes the solution of the power flow, whereas $\begin{array} { r } { P r \big ( \mathbf { s } _ { t + 1 } \big | \mathbf { s } _ { t + \tau } \big ) } \end{array}$ describes the change of loads (i.e. highly correlated to the user behaviours). $\tau \ll \Delta t$ is an extremely short interval much less than the time interval between two controls (i.e. a time step) and $\Delta t = 1$ in this paper.
|
| 79 |
+
|
| 80 |
+
Observation Probability Function. We now define the observation probability function. In the context of electric power network, it describes the measurement errors that may occur in sensors. Mathematically, we can define it as $\Omega : S \times A \times \mathcal { O } \to [ 0 , 1 ]$ . Specifically, $\Omega ( \mathbf { o } _ { t + 1 } | \mathbf { s } _ { t + 1 } , \mathbf { a } _ { t } ) = \mathbf { s } _ { t + 1 } +$ $\mathcal { N } ( \mathbf { 0 } , \Sigma )$ , where $\mathcal { N } ( \mathbf { 0 } , \Sigma )$ is an isotropic multi-variable Gaussian distribution and $\Sigma$ is dependent on the physical properties of sensors (e.g. smart meters).
|
| 81 |
+
|
| 82 |
+
Reward Function. The reward function is defined as follows:
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
r = - \frac { 1 } { | V | } \sum _ { i \in V } l _ { v } ( v _ { i } ) - \alpha \cdot l _ { q } ( \mathbf { q } ^ { P V } ) ,
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
where $l _ { v } ( \cdot )$ is a voltage barrier function and $\begin{array} { r } { l _ { q } ( \mathbf q ^ { P V } ) = { \frac { 1 } { | \mathcal I | } } | | \mathbf q ^ { P V } | | _ { 1 } } \end{array}$ is the reactive power generation loss (i.e. a type of power loss approximation easy for computation). The objective is to control the voltage within a safety range around $v _ { \mathrm { r e f } }$ , while the reactive power generation is as less as possible, i.e., $l _ { q } ( \mathbf { q } ^ { P V } ) < \epsilon$ and $\epsilon > 0$ . Similar to the mathematical tricks used in $\beta$ -VAE [43], by KKT conditions we can transform a constrained reward to a unconstrained reward with a Lagrangian multiplier $\alpha \in ( 0 , 1 )$ shown in Eq.2. Since $l _ { v } ( \cdot )$ is not easy to define in practice (i.e., it affects $l _ { q } ( \mathbf { q } ^ { P V } ) )$ , we aim to study for a good choice in this paper.
|
| 89 |
+
|
| 90 |
+
Objective Function. The objective function of this problem is $\begin{array} { r } { \operatorname* { m a x } _ { \pi } \mathbb { E } _ { \pi } [ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } r _ { t } ] } \end{array}$ , where ${ \boldsymbol { \pi } } = \times _ { i \in { \mathcal { I } } } { \boldsymbol { \pi } } _ { i }$ ; $\pi _ { i } : { \bar { \mathcal { O } } } _ { i } \times { \mathcal { A } } _ { i } \to [ 0 , 1 ]$ and $\bar { \mathcal { O } } _ { i } = ( \mathcal { O } _ { i } ^ { \tau } ) _ { \tau = 1 } ^ { h }$ is a history of observations with the length as $h$ . Literally, we need to find an optimal joint policy $\pi$ to maximize the discounted cumulative rewards.
|
| 91 |
+
|
| 92 |
+
# 4.2 Voltage Barrier Function
|
| 93 |
+
|
| 94 |
+

|
| 95 |
+
Figure 2: This figure shows 3 voltage barrier functions, where L1-shape and L2-shape are 2 baselines while Bowl-shape is proposed in this paper.
|
| 96 |
+
|
| 97 |
+
We define $v _ { \mathrm { r e f } } = 1 p . u$ . in this paper, and the voltage needs to be controlled within the safety range from $0 . 9 5 \ : p . u$ . to $1 . 0 5 p . u .$ , which sets the constraint of control. The voltage constraint is difficult to be handled in MARL, so we use a barrier function to represent the constraint. L1-shape (see Figure 2a) was most frequently used in the previous work [13–15], however, this may lead to wasteful reactive power generations since $\frac { | \Delta l _ { v } | } { \alpha | \Delta l _ { q } | } \gg 1$ within the safety range of voltage. Although L2-shape (see Figure 2b) may alleviate this problem, it may be slow to guide the policy outside the safety range. To address these problems, we propose a barrier function called Bowl-shape that combines the advantages of L1-shape and L2-shape. It gives a steep gradient outside the safety range, while it provides a slighter gradient as voltage tends to the $v _ { \mathrm { r e f } }$ that enables $\begin{array} { r } { \frac { | \Delta l _ { v } | } { \alpha | \Delta l _ { q } | } 0 } \end{array}$ as $v v _ { \mathrm { r e f } }$ .
|
| 98 |
+
|
| 99 |
+
# 5 Experiments
|
| 100 |
+
|
| 101 |
+
# 5.1 Experimental Settings
|
| 102 |
+
|
| 103 |
+
Power Network Topology. Two MV networks, IEEE 33-bus [44] and 141-bus [45] are modified as systems under test.6 To show the flexibility on network with multi-voltage levels, we construct a 110kV-20kV-0.4kV (high-medium-low voltage) 322-bus network using benchmark topology from SimBench [37]. For each network, a main branch is firstly determined and the control regions are partitioned by the shortest path between the terminal bus and the coupling point on the main branch. Each region consists of 1-4 PVs dependent on various regional sizes. The specific network descriptions and partitions are shown in Appendix D.1. To give a picture of the tasks, we demonstrate the 33-bus network in Figure 3.
|
| 104 |
+
|
| 105 |
+
Data Descriptions. The load profile of each network is modified based on the real-time Portuguese electricity consumption accounting for 232 consumers of 3 years.7 To highlight the differences between residential and industrial users, we randomly perturb $\pm 5 \%$ on the default power factors defined in the case files and accordingly generate real-time reactive power consumption. The solar data is collected from Elia group,8 i.e. a Belgiums power network operator. The load and PV data are then interpolated with 3-min resolution that is consistent with the real-time control period in the grid. To distinguish among different solar radiation levels in various regions, the 3-year PV generations from 10 cites/regions are collected and PVs in the same control region possess the same generation profiles. We define the PV penetration rate $( P R )$ as the ratio between rated PV generation and rated load consumption. In this paper, we set $P R \in \{ 2 . 5 , 4 , 2 . 5 \}$ as the default $P R$ for different topologies. We oversize each PV inverter by $20 \%$ of its maximum active power generation to satisfy the IEEE grid code [42]. Besides, each PV inverter is considered to be able to generate reactive power in the STATCOM mode during night [47]. The median and $2 5 \% - 7 5 \%$ quantile shadings of PV generations, and the mean and minima-maxima shading of the loads are illustrated in Figure 4. The details can be found in Appendix D.2.
|
| 106 |
+
|
| 107 |
+

|
| 108 |
+
Figure 3: Illustration on 33-bus network. Each bus is indexed by a circle with a number. 4 control regions are partitioned by the smallest path from the terminal to the main branch (bus 1-6). We control the voltages on bus 2-33 whereas bus 0-1 represent the substation or main grid with the constant voltage and infinite active and reactive power capacity. G represents an external generator; small Ls represent loads; and the sun emoji represents the location where a PV is installed.
|
| 109 |
+
|
| 110 |
+

|
| 111 |
+
Figure 4: Active PV generations and load consumption.
|
| 112 |
+
|
| 113 |
+
MARL Simulation Settings. We now describe the simulation settings standing by the view of MARL. In 33-bus network, there are 4 regions with 6 agents. In 141-bus network, there are 9 regions with 22 agents. In 322-bus network, there are 22 regions with 38 agents. The discount factor $\gamma$ is set to 0.99. $\alpha$ in Eq.2 is set to 0.1. To guarantee the safety of distribution networks, we manually set the range of actions for each scenario, with $[ - 0 . 8 , 0 . 8 ]$ for 33-bus network, $[ - 0 . 6 , 0 . 6 ]$ for 141-bus network, and $[ - 0 . 8 , 0 . 8 ]$ for 322-bus network. During training, we randomly sample the initial state for an episode and each episode lasts for 240 time steps (i.e. a half day). Every experiment is run with 5 random seeds and the test results during training are given by the median and the $2 5 \% - 7 5 \%$ quartile shading. Each test is conducted every 20 episodes with 10 randomly selected episodes for evaluation.
|
| 114 |
+
|
| 115 |
+
Evaluation Metrics. In experiments, we use two metrics to evaluate the performance of algorithms.
|
| 116 |
+
|
| 117 |
+
• Controllable rate $( C R )$ : It calculates the ratio of time steps where all buses’ voltages being under control during each episode.
|
| 118 |
+
• Power loss $( P L )$ : It calculates the average of the total power loss over all buses per time step during each episode.
|
| 119 |
+
|
| 120 |
+
We aim to find algorithms and reward functions with high CR and low PL.
|
| 121 |
+
|
| 122 |
+
MARL Algorithm Settings. We evaluate the performances of state-of-the-art MARL algorithms, i.e. IDDPG [48], MADDPG [49], COMA [50], IPPO [2], MAPPO [3], SQDDPG [48] and MATD3 [51] on this real-world problem with continuous actions. Since the original COMA can only work for discrete actions, we conduct some modifications so that it can work for continuous actions (see Appendix B). The details of settings are shown in Appendix C.
|
| 123 |
+
|
| 124 |
+
# 5.2 Main Results
|
| 125 |
+
|
| 126 |
+

|
| 127 |
+
|
| 128 |
+
Figure 5: Median CR and PL of algorithms with different voltage barrier functions. The sub-caption indicates metric-Barrier-scenario and BL is the contraction of Bowl.
|
| 129 |
+
|
| 130 |
+
Algorithm Performances. We first show the main results of all algorithms on all scenarios in Figure 5. MADDPG and MATD3 generally perform well on all scenarios with different voltage barier functions. COMA performs well over CR on 33-bus networks and the performances fall on the large scale scenarios, but its PL is high. Similarly, SQDDPG performs generally well over CR on 33-bus and 141-bus networks, but it performs the worst on 322-bus networks and its PL on 141-bus networks is high. This reveals the limitations of COMA and SQDDPG on the scaling to many agents. Although MAPPO and IPPO performed well on games [2, 3], their performances on the real-world power network problems are poor. The most probable reason could be that the variations of dynamics and uncertainties in distribution networks are far faster and more complicated than games and their conservative policy updates cannot fast respond. IDDPG performs at the middle place in all scenarios, which may be due to non-stationary dynamics caused by multiple agents [49].
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
Figure 6: Median performance of overall algorithms with different voltage barrier functions. The sub-caption indicates metric-scenario.
|
| 134 |
+
|
| 135 |
+
Voltage Barrier Function Comparisons. To study the effects of different voltage barrier functions, we show the median performance of overall 7 MARL algorithms in Figure 6. It can be observed that Bowl-shape can preserve the high CR, while maintain the low PL on 33-bus and 141-bus networks. Although L1-shape can achieve the best CR on 33-bus and 141-bus networks, its PL on the 141-bus network is the highest. L2-shape performs the worst on 33-bus and 141-bus networks, but performs the best on the 322-bus network with the highest CR and the lowest PL. The reason could be that its slighter gradients is more suitable for the adaption among many agents. From the results, we can conclude that L1-shape, Bowl-shape and L2-shape are the best choices for the 33-bus network, the 141-bus network and the 322-bus network respectively.
|
| 136 |
+
|
| 137 |
+

|
| 138 |
+
Figure 7: Median performances of overall algorithms trained with various rewards consist of distinct voltage barrier functions shown in 3D surfaces. The sub-caption indicates metric-scenario.
|
| 139 |
+
|
| 140 |
+
Diverse Algorithm Performances under Distinct Rewards. To clearly show the relationship between algorithms and reward functions, we also plot 3D surfaces over CR and PL w.r.t. algorithm types and reward types (consisting of distinct voltage barrier functions) in Figure 7. It is obvious that the performances of algorithms are highly correlated with the reward types. In other words, the same algorithm could perform diversely even trained by different reward functions with the same objective but different shapes.
|
| 141 |
+
|
| 142 |
+
# 5.3 Comparison between MARL and Traditional Control Methods
|
| 143 |
+
|
| 144 |
+
To compare MARL algorithms with the traditional control methods, we conduct a series of tests on various network topologies (i.e. 33-bus, 141-bus, and 322-bus networks). MADDPG trained by Bowl-shape is selected as the candidate for MARL. The traditional control methods that we select are OPF [24] and droop control [22]. For conciseness, we only demonstrate the voltages and powers on a typical bus with a PV installed (i.e. one of the most difficult buses to control) during a day (i.e. 480 consecutive time steps) in summer and winter respectively. The results for the 33-bus network is presented here and the results for other typologies are given in the Appendix E.2. From Figure 8, it can be seen that all methods control the voltage within the safety range in both summer and winter. Additionally, the power losses of MARL are lower than droop control but higher than OPF. This phenomenon is possibly due to the fact that droop control is a fully distributed algorithm which cannot explicitly reduce the power loss and OPF is a centralised algorithm with the known system model, while MARL lies between these 2 types of algorithms. This implies that MARL may outperform droop control for particular cases but it needs to be kept in mind that the droop gain used here may not be optimal. It is also worth noting that the control actions of MARL has a similar feature to droop control in the 33-bus case, and this feature is also observed in the 141-bus and 322-bus cases (see Figure 14-15 in the Appendix E.2 for details). However, this droop-like behaviour is missing in the winter case of 322-bus network, where the MARL control action is opposite to the desired direction, resulting in higher power losses and voltage deviation. This might be due to the over-generation as the MARL share the same policy for different seasons, so that it leads to the problem of relative overgeneralisation [52]. In summary, MARL seems able to learn the features of droop control but fails to outperform droop control significantly, and is even worse than droop control for certain cases.
|
| 145 |
+
|
| 146 |
+
As a result, there is still significant headroom of improvement for MARL, in performance, robustness, and interpretability.
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Figure 8: Compare MARL with traditional control methods on bus 18 during a day for 33-bus network. 1st row: results for a summer day. 2nd row: results for a winter day. None and limit in (a) represent the voltage with no control and the safety voltage range respectively. P and Q in (b) indicate the PV active power and the reactive power by various methods.
|
| 150 |
+
|
| 151 |
+
# 5.4 Discussion
|
| 152 |
+
|
| 153 |
+
We now discuss the phenomenons that we observe from the experimental results.
|
| 154 |
+
|
| 155 |
+
• It is obvious that the voltage barrier function may impact the performance of an algorithm (even with tiny changes for the common goal). This may be of general importance as many real-world problems may contain constraints that are not indirect in the objective function. An overall methodology is needed for designing barrier functions in state-constraint MARL.
|
| 156 |
+
• MARL may scale well for the number of agents and the complexity of networks, and only requires a very low control rate for active voltage control.
|
| 157 |
+
• The results above show the evidence that MARL may behave diversely from the traditional control methods. Some of the learnt behaviours may induce better performance, but some others deteriorate the performance. This shows the promising benefits of MARL in industrial applications but also highlights the drawbacks in interpretability and robustness.
|
| 158 |
+
• The combination of learning algorithms with domain knowledge is a potential roadmap towards interpretable MARL. For the active voltage control problem, the domain knowledge may present as network topology, inner control loops (say droop control), and load pattern. The exploitation of such domain knowledge reduces the dimensions of MARL exploration space and may offer a lower bound of performance as a guarantee. Encoding domain knowledge such as the network topology as a priori for model-based MARL is also a potential direction.
|
| 159 |
+
|
| 160 |
+
# 6 Conclusion
|
| 161 |
+
|
| 162 |
+
This paper investigates the potential of applying multi-agent reinforcement learning (MARL) to the active voltage control in power distribution networks. We firstly formulate this problem as a DecPOMDP and then study the behaviours of MARL with various voltage barrier functions (reflecting voltage constraints as barrier penalties). Moreover, we compare the behaviours of MARL with the traditional control methods (i.e. droop control and OPF), and observe that MARL is possible to generate inexplicable behaviours, so an interpretable and trustable algorithm is highly desired for industrial applications. Finally, the environment used in this work is open-sourced and easy to follow so that the machine learning community is able to contribute to this challenging real-world problem.
|
| 163 |
+
|
| 164 |
+
# Acknowledgement
|
| 165 |
+
|
| 166 |
+
This work is supported by the Engineering and Physical Sciences Research Council of UK (EPSRC) under awards EP/S000909/1.
|
| 167 |
+
|
| 168 |
+
# References
|
| 169 |
+
|
| 170 |
+
[1] David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. nature, 550(7676):354–359, 2017.
|
| 171 |
+
[2] Christian Schroeder de Witt, Tarun Gupta, Denys Makoviichuk, Viktor Makoviychuk, Philip HS Torr, Mingfei Sun, and Shimon Whiteson. Is independent learning all you need in the starcraft multi-agent challenge? arXiv preprint arXiv:2011.09533, 2020.
|
| 172 |
+
[3] Chao Yu, Akash Velu, Eugene Vinitsky, Yu Wang, Alexandre Bayen, and Yi Wu. The surprising effectiveness of mappo in cooperative, multi-agent games. arXiv preprint arXiv:2103.01955, 2021.
|
| 173 |
+
[4] Christian Schroeder de Witt, Bei Peng, Pierre-Alexandre Kamienny, Philip Torr, Wendelin Böhmer, and Shimon Whiteson. Deep multi-agent reinforcement learning for decentralized continuous cooperative control. arXiv preprint arXiv:2003.06709, 2020.
|
| 174 |
+
[5] Dawei Qiu, Jianhong Wang, Junkai Wang, and Goran Strbac. Multi-agent reinforcement learning for automated peer-to-peer energy trading in double-side auction market. In Zhi-Hua Zhou, editor, Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI 2021, Virtual Event / Montreal, Canada, 19-27 August 2021, pages 2913–2920. ijcai.org, 2021.
|
| 175 |
+
[6] Di Cao, Weihao Hu, Junbo Zhao, Guozhou Zhang, Bin Zhang, Zhou Liu, Zhe Chen, and Frede Blaabjerg. Reinforcement learning and its applications in modern power and energy systems: A review. Journal of Modern Power Systems and Clean Energy, 8(6):1029–1042, 2020. doi: 10.35833/MPCE.2020.000552.
|
| 176 |
+
[7] Efstratios Batzelis, Zakir Hussain Rather, John Barton, Bonu Ramesh Naidu, Billy Wu, Firdous Ul Nazir, ONYEMA SUNDAY NDUKA, Wei He, Jerome Nsengiyaremye, and Bandopant Pawar. Solar integration in the uk and india: technical barriers and future directions. Report of the UK-India Joint Virtual Clean Energy Centre (JVCEC), 2021.
|
| 177 |
+
[8] Reinaldo Tonkoski, Dave Turcotte, and Tarek H. M. EL-Fouly. Impact of high pv penetration on voltage profiles in residential neighborhoods. IEEE Transactions on Sustainable Energy, 3 (3):518–527, 2012. doi: 10.1109/TSTE.2012.2191425.
|
| 178 |
+
[9] Pedro MS Carvalho, Pedro F Correia, and Luís AFM Ferreira. Distributed reactive power generation control for voltage rise mitigation in distribution networks. IEEE transactions on Power Systems, 23(2):766–772, 2008.
|
| 179 |
+
[10] Tomonobu Senjyu, Yoshitaka Miyazato, Atsushi Yona, Naomitsu Urasaki, and Toshihisa Funabashi. Optimal distribution voltage control and coordination with distributed generation. IEEE Transactions on Power Delivery, 23(2):1236–1242, 2008. doi: 10.1109/TPWRD.2007.908816.
|
| 180 |
+
[11] Konstantin Turitsyn, Petr Sulc, Scott Backhaus, and Michael Chertkov. Options for control of reactive power by distributed photovoltaic generators. Proceedings of the IEEE, 99(6): 1063–1073, 2011. doi: 10.1109/JPROC.2011.2116750.
|
| 181 |
+
[12] Johanna Barr and Ritwik Majumder. Integration of distributed generation in the volt/var management system for active distribution networks. IEEE Transactions on Smart Grid, 6(2): 576–586, 2015. doi: 10.1109/TSG.2014.2363051.
|
| 182 |
+
[13] Di Cao, Junbo Zhao, Weihao Hu, Fei Ding, Qi Huang, and Zhe Chen. Distributed voltage regulation of active distribution system based on enhanced multi-agent deep reinforcement learning. arXiv preprint arXiv:2006.00546, 2020.
|
| 183 |
+
[14] Di Cao, Weihao Hu, Junbo Zhao, Qi Huang, Zhe Chen, and Frede Blaabjerg. A multi-agent deep reinforcement learning based voltage regulation using coordinated pv inverters. IEEE Transactions on Power Systems, 35(5):4120–4123, 2020.
|
| 184 |
+
[15] Di Cao, Junbo Zhao, Weihao Hu, Fei Ding, Qi Huang, Zhe Chen, and Frede Blaabjerg. Datadriven multi-agent deep reinforcement learning for distribution system decentralized voltage control with high penetration of pvs. IEEE Transactions on Smart Grid, 2021.
|
| 185 |
+
[16] Haotian Liu and Wenchuan Wu. Online multi-agent reinforcement learning for decentralized inverter-based volt-var control. IEEE Transactions on Smart Grid, 2021.
|
| 186 |
+
[17] Frans A Oliehoek and Christopher Amato. A concise introduction to decentralized POMDPs. Springer, 2016.
|
| 187 |
+
[18] C.L. Masters. Voltage rise: the big issue when connecting embedded generation to long $1 1 \mathrm { ~ k v ~ }$ overhead lines. Power Engineering Journal, 16(1):5–12, 2002. doi: 10.1049/pe:20020101.
|
| 188 |
+
[19] Giuseppe Fusco and Mario Russo. A decentralized approach for voltage control by multiple distributed energy resources. IEEE Transactions on Smart Grid, pages 1–1, 2021. doi: 10.1109/ TSG.2021.3057546.
|
| 189 |
+
[20] Yashodhan P. Agalgaonkar, Bikash C. Pal, and Rabih A. Jabr. Distribution voltage control considering the impact of pv generation on tap changers and autonomous regulators. IEEE Transactions on Power Systems, 29(1):182–192, 2014. doi: 10.1109/TPWRS.2013.2279721.
|
| 190 |
+
[21] Panagis N. Vovos, Aristides E. Kiprakis, A. Robin Wallace, and Gareth P. Harrison. Centralized and distributed voltage control: Impact on distributed generation penetration. IEEE Transactions on Power Systems, 22(1):476–483, 2007. doi: 10.1109/TPWRS.2006.888982.
|
| 191 |
+
[22] Pedram Jahangiri and Dionysios C. Aliprantis. Distributed volt/var control by pv inverters. IEEE Transactions on Power Systems, 28(3):3429–3439, 2013. doi: 10.1109/TPWRS.2013.2256375.
|
| 192 |
+
[23] Johannes Schiffer, Thomas Seel, Jörg Raisch, and Tevfik Sezi. Voltage stability and reactive power sharing in inverter-based microgrids with consensus-based distributed voltage control. IEEE Transactions on Control Systems Technology, 24(1):96–109, 2016. doi: 10.1109/TCST. 2015.2420622.
|
| 193 |
+
[24] Lingwen Gan, Na Li, Ufuk Topcu, and Steven H Low. Optimal power flow in tree networks. In 52nd IEEE Conference on Decision and Control, pages 2313–2318. IEEE, 2013.
|
| 194 |
+
[25] Yan Xu, Zhao Yang Dong, Rui Zhang, and David J Hill. Multi-timescale coordinated voltage/var control of high renewable-penetrated distribution systems. IEEE Transactions on Power Systems, 32(6):4398–4408, 2017.
|
| 195 |
+
[26] Emiliano DallAnese, Sairaj V. Dhople, and Georgios B. Giannakis. Optimal dispatch of photovoltaic inverters in residential distribution systems. IEEE Transactions on Sustainable Energy, 5(2):487–497, 2014. doi: 10.1109/TSTE.2013.2292828.
|
| 196 |
+
[27] Weiye Zheng, Wenchuan Wu, Boming Zhang, Hongbin Sun, and Yibing Liu. A fully distributed reactive power optimization and control method for active distribution networks. IEEE Transactions on Smart Grid, 7(2):1021–1033, 2016. doi: 10.1109/TSG.2015.2396493.
|
| 197 |
+
[28] Zhiyuan Tang, David J Hill, and Tao Liu. Distributed coordinated reactive power control for voltage regulation in distribution networks. IEEE Transactions on Smart Grid, 12(1):312–323, 2020.
|
| 198 |
+
[29] Hongbin Sun, Qinglai Guo, Junjian Qi, Venkataramana Ajjarapu, Richard Bravo, Joe Chow, Zhengshuo Li, Rohit Moghe, Ehsan Nasr-Azadani, Ujjwol Tamrakar, Glauco N. Taranto, Reinaldo Tonkoski, Gustavo Valverde, Qiuwei Wu, and Guangya Yang. Review of challenges and research opportunities for voltage control in smart grids. IEEE Transactions on Power Systems, 34(4):2790–2801, 2019. doi: 10.1109/TPWRS.2019.2897948.
|
| 199 |
+
[30] Ankit Singhal, Venkataramana Ajjarapu, Jason Fuller, and Jacob Hansen. Real-time local volt/var control under external disturbances with high pv penetration. IEEE Transactions on Smart Grid, 10(4):3849–3859, 2019. doi: 10.1109/TSG.2018.2840965.
|
| 200 |
+
|
| 201 |
+
[31] Mehdi Zeraati, Mohamad Esmail Hamedani Golshan, and Josep M Guerrero. Voltage quality improvement in low voltage distribution networks using reactive power capability of singlephase pv inverters. IEEE transactions on smart grid, 10(5):5057–5065, 2018.
|
| 202 |
+
|
| 203 |
+
[32] Shengyi Wang, Jiajun Duan, Di Shi, Chunlei Xu, Haifeng Li, Ruisheng Diao, and Zhiwei Wang. A data-driven multi-agent autonomous voltage control framework using deep reinforcement learning. IEEE Transactions on Power Systems, 35(6):4644–4654, 2020.
|
| 204 |
+
|
| 205 |
+
[33] Scott Burger, Jesse D Jenkins, Carlos Batlle López, and José Ignacio Pérez Arriaga. Restructuring revisited: competition and coordination in electricity distribution systems. 2018.
|
| 206 |
+
|
| 207 |
+
[34] Marvin Lerousseau. Design and implementation of an environment for learning to run a power network (l2rpn). arXiv preprint arXiv:2104.04080, 2021.
|
| 208 |
+
|
| 209 |
+
[35] Robin Henry and Damien Ernst. Gym-anm: Reinforcement learning environments for active network management tasks in electricity distribution systems. Energy and AI, page 100092, 2021.
|
| 210 |
+
|
| 211 |
+
[36] Leon Thurner, Alexander Scheidler, Florian Schäfer, Jan-Hendrik Menke, Julian Dollichon, Friederike Meier, Steffen Meinecke, and Martin Braun. Pandapoweran open-source python tool for convenient modeling, analysis, and optimization of electric power systems. IEEE Transactions on Power Systems, 33(6):6510–6521, 2018. doi: 10.1109/TPWRS.2018.2829021.
|
| 212 |
+
|
| 213 |
+
[37] Steffen Meinecke, Danan Sarajli, Simon Ruben Drauz, Annika Klettke, Lars-Peter Lauven, Christian Rehtanz, Albert Moser, and Martin Braun. Simbencha benchmark dataset of electric power systems to compare innovative solutions based on power flow analysis. Energies, 13(12), 2020. ISSN 1996-1073. URL https://www.mdpi.com/1996-1073/13/12/3290.
|
| 214 |
+
|
| 215 |
+
[38] Hadi Saadat et al. Power system analysis, volume 2. McGraw-hill, 1999.
|
| 216 |
+
|
| 217 |
+
[39] Yashodhan P Agalgaonkar, Bikash C Pal, and Rabih A Jabr. Distribution voltage control considering the impact of pv generation on tap changers and autonomous regulators. IEEE Transactions on Power Systems, 29(1):182–192, 2013.
|
| 218 |
+
|
| 219 |
+
[40] Guangya Yang, Francesco Marra, Miguel Juamperez, Søren Bækhøj Kjær, Seyedmostafa Hashemi, Jacob Østergaard, Hans Henrik Ipsen, and Kenn H. B. Frederiksen. Voltage rise mitigation for solar pv integration at lv grids studies from pvnet. dk. Journal of Modern Power Systems and Clean Energy, 3(3):411–421, 2015. doi: 10.1007/s40565-015-0132-0.
|
| 220 |
+
|
| 221 |
+
[41] Antonio Gómez-Expósito, Antonio J Conejo, and Claudio Cañizares. Electric energy systems: analysis and operation. CRC press, 2018.
|
| 222 |
+
|
| 223 |
+
[42] Ieee standard for interconnection and interoperability of distributed energy resources with associated electric power systems interfaces. IEEE Std 1547-2018 (Revision of IEEE Std 1547-2003), pages 1–138, 2018. doi: 10.1109/IEEESTD.2018.8332112.
|
| 224 |
+
|
| 225 |
+
[43] Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. 2016.
|
| 226 |
+
|
| 227 |
+
[44] M.E. Baran and F.F. Wu. Network reconfiguration in distribution systems for loss reduction and load balancing. IEEE Transactions on Power Delivery, 4(2):1401–1407, 1989. doi: 10.1109/61.25627.
|
| 228 |
+
|
| 229 |
+
[45] H.M. Khodr, F.G. Olsina, P.M. De Oliveira-De Jesus, and J.M. Yusta. Maximum savings approach for location and sizing of capacitors in distribution systems. Electric Power Systems Research, 78(7):1192–1203, 2008. ISSN 0378-7796. doi: https://doi.org/10.1016/ j.epsr.2007.10.002. URL https://www.sciencedirect.com/science/article/pii/ S0378779607002143.
|
| 230 |
+
|
| 231 |
+
[46] Ray Daniel Zimmerman, Carlos Edmundo Murillo-Sánchez, and Robert John Thomas. Matpower: Steady-state operations, planning, and analysis tools for power systems research and education. IEEE Transactions on power systems, 26(1):12–19, 2010.
|
| 232 |
+
|
| 233 |
+
[47] Rajiv K. Varma and Ehsan M. Siavashi. Pv-statcom: A new smart inverter for voltage control in distribution systems. IEEE Transactions on Sustainable Energy, 9(4):1681–1691, 2018. doi: 10.1109/TSTE.2018.2808601.
|
| 234 |
+
[48] Jianhong Wang, Yuan Zhang, Tae-Kyun Kim, and Yunjie Gu. Shapley q-value: A local reward approach to solve global reward games. Proceedings of the AAAI Conference on Artificial Intelligence, 34(05):72857292, Apr 2020.
|
| 235 |
+
[49] Ryan Lowe, Yi Wu, Aviv Tamar, Jean Harb, Pieter Abbeel, and Igor Mordatch. Multi-agent actor-critic for mixed cooperative-competitive environments. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 6379–6390, 2017.
|
| 236 |
+
[50] Jakob N Foerster, Gregory Farquhar, Triantafyllos Afouras, Nantas Nardelli, and Shimon Whiteson. Counterfactual multi-agent policy gradients. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
|
| 237 |
+
[51] Johannes Ackermann, Volker Gabler, Takayuki Osa, and Masashi Sugiyama. Reducing overestimation bias in multi-agent domains using double centralized critics. arXiv preprint arXiv:1910.01465, 2019.
|
| 238 |
+
[52] Ermo Wei and Sean Luke. Lenient learning in independent-learner stochastic cooperative games. The Journal of Machine Learning Research, 17(1):2914–2955, 2016.
|
parse/train/hwoK62_GkiT/hwoK62_GkiT_content_list.json
ADDED
|
@@ -0,0 +1,1176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Multi-Agent Reinforcement Learning for Active Voltage Control on Power Distribution Networks ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
207,
|
| 8 |
+
122,
|
| 9 |
+
794,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jianhong Wang∗ Imperial College London jianhong.wang16@imperial.ac.uk ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
223,
|
| 19 |
+
226,
|
| 20 |
+
482,
|
| 21 |
+
268
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Wangkun Xu∗ Imperial College London wangkun.xu18@imperial.ac.uk ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
539,
|
| 30 |
+
226,
|
| 31 |
+
774,
|
| 32 |
+
268
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Yunjie $\\mathbf { G u } ^ { \\dagger }$ University of Bath yg934@bath.ac.uk ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
194,
|
| 41 |
+
289,
|
| 42 |
+
333,
|
| 43 |
+
332
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Wenbin Song Shanghaitech University songwb@shanghaitech.edu.cn ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
361,
|
| 52 |
+
289,
|
| 53 |
+
584,
|
| 54 |
+
330
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Tim C. Green‡ Imperial College London t.green@imperial.ac.uk ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
611,
|
| 63 |
+
289,
|
| 64 |
+
803,
|
| 65 |
+
332
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract ",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
462,
|
| 75 |
+
367,
|
| 76 |
+
535,
|
| 77 |
+
382
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "This paper presents a problem in power networks that creates an exciting and yet challenging real-world scenario for application of multi-agent reinforcement learning (MARL). The emerging trend of decarbonisation is placing excessive stress on power distribution networks. Active voltage control is seen as a promising solution to relieve power congestion and improve voltage quality without extra hardware investment, taking advantage of the controllable apparatuses in the network, such as roof-top photovoltaics (PVs) and static var compensators (SVCs). These controllable apparatuses appear in a vast number and are distributed in a wide geographic area, making MARL a natural candidate. This paper formulates the active voltage control problem in the framework of Dec-POMDP and establishes an open-source environment. It aims to bridge the gap between the power community and the MARL community and be a drive force towards real-world applications of MARL algorithms. Finally, we analyse the special characteristics of the active voltage control problems that cause challenges (e.g. interpretability) for state-of-the-art MARL approaches, and summarise the potential directions. ",
|
| 84 |
+
"bbox": [
|
| 85 |
+
233,
|
| 86 |
+
398,
|
| 87 |
+
766,
|
| 88 |
+
606
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction ",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
632,
|
| 99 |
+
310,
|
| 100 |
+
648
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Multi-agent reinforcement learning (MARL) has demonstrated impressive performances on games (e.g., Chess [1], StarCraft [2, 3], and etc.) and robotics [4]. There are now increasing interests and thrusts to apply MARL in real-world problems. Power network is a natural test field for MARL algorithms. There are many problems in power networks involving the collaborative or competitive actions of a vast number of agents, such as market bidding [5], voltage control, frequency control, and emergency handling [6]. One of the obstacles for applying MARL in power networks is the lack of transparency and guarantee, which is unacceptable considering the importance of reliable power supply for the whole society. Therefore, it is sensible to start with problems that are less sensitive to reliability but hard to be solved by conventional methods. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
662,
|
| 110 |
+
825,
|
| 111 |
+
787
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Active voltage control in power distribution networks is such a candidate problem. The voltage control problem has been studied for years but only comes under spot light recently due to the increasing penetration of distributed resources, e.g. roof-top photovoltaics (PVs) [7]. The excessive active power injection may cause voltage fluctuations beyond the threshold of grid standards [8]. The voltage fluctuations can be relieved by exploiting the control flexibility of PV inverters themselves along with other controllable apparatuses, such as static var compensators (SVCs) and on load tap changers (OLTCs). An elaborate scheme is needed to coordinate these multiple apparatuses at scale to regulate voltage throughout the network with limited local information, which is called active voltage control [9–12]. The active voltage control problem has many interesting properties. (1) It is a combination of local and global problem, i.e., the voltage of each node is influenced by the powers (real and reactive) of all other nodes but the impact recedes with increasing distance between nodes. (2) It is a constrained optimisation problem where the constraint is the voltage threshold and the objective is the total power loss, but there is no explicit relationship between the constraint and the control action. (3) A distribution network has a radial topology involving a rich structure that can be taken as prior knowledge for control, but the node-branch parameters of the topology may be significantly uncertain. (4) Voltage control has a relatively large tolerance and less severe consequences if the control fails to meet standard requirements. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
795,
|
| 121 |
+
825,
|
| 122 |
+
864
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
92,
|
| 132 |
+
825,
|
| 133 |
+
257
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "There have been several attempts to apply MARL in active voltage control [6, 13–16]. Each work on a particular case showed promising performances of state-of-the-art MARL approaches with modifications adapting to the active voltage control problem. However, it is not clear if these methods scale well to a larger network, and the robustness against different scenarios, such as penetration levels and load profiles, are yet to be investigated. There is no commonly accepted benchmark to provide the basis for fair comparison of different solutions. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
263,
|
| 143 |
+
825,
|
| 144 |
+
347
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "To facilitate further research on this topic, and to bridge the gap between the power community and MARL community, we present a comprehensive test-bench and open-source environment for MARL based active voltage control. We formally define the active voltage control problem as a Dec-POMDP [17] that is widely acknowledged in the MARL community. We present an environment in Python and construct 3 scenarios with real public data that span from small scale (i.e. 6 agents) to large scale (i.e. 38 agents). ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
174,
|
| 153 |
+
353,
|
| 154 |
+
825,
|
| 155 |
+
436
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "The contributions of this paper are summarised as follows: (1) We formally define the active voltage control problem as a Dec-POMDP and develop an open-source environment.2 (2) We conduct large scale experimentation with 7 state-of-the-art MARL algorithms on different scenarios of the active voltage control problem. (3) We convert voltage constraints to barrier functions and observe the importance of designing an appropriate voltage barrier function from the experimental results. (4) By analysing the experimental results, we imply the possible challenges (e.g. interpretability) for MARL to solve the active voltage control problem and suggest potential directions for future works. ",
|
| 162 |
+
"bbox": [
|
| 163 |
+
174,
|
| 164 |
+
443,
|
| 165 |
+
825,
|
| 166 |
+
540
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "2 Related Work ",
|
| 173 |
+
"text_level": 1,
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
560,
|
| 177 |
+
321,
|
| 178 |
+
578
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Traditional Methods for Active Voltage Control. Voltage rising and fluctuation problem in distribution networks has been studied for 20 years [18]. The traditional voltage regulation devices such as OLTC and capacitor banks [10] are often installed at substations and therefore may not be effective in regulating voltages at the far end of the line [19]. The emergence of distributed generation, such as root-top PVs, introduces new approaches for voltage regulation by the active reactive power control of grid-connected inverters [11]. The state-of-the-art active voltage control strategies can be roughly classified into two categories: (1) reactive power dispatch based on optimal power flow (OPF) [20, 21]; and (2) droop control based on local voltage and power measurements [22, 23]. Specifically, centralised OPF [24–26] minimises the power loss while fulfilling voltage constraints (e.g. power flow equation defined in Eq.1); distributed OPF [27, 28] used distributed optimization techniques, such as alternating direction method of multipliers (ADMM), to replace the centralised solver. The primary limitation of OPF is the need of exact system model [29]. Besides, solving constrained optimisation problem is time-consuming, so it is difficult to react to the rapid change of load profile [30]. On the other hand, droop control only depends on its local measurements, but its performance relies on the manually-designed parameters and is often sub-optimal due to the lack of global information [30]. It is possible to enhance droop control by distributed algorithms, but extra communications are needed [31, 19]. In this paper we investigate the possibility of applying MARL techniques on the active voltage control problem. Compared with the previous works on traditional methods, (1) MARL is model-free, so no exact system model is needed; and (2) the response of MARL is fast so as to handle rapid changes of environments (e.g. the intermittency of renewable energy). ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
173,
|
| 187 |
+
593,
|
| 188 |
+
825,
|
| 189 |
+
883
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "Multi-Agent Reinforcement Learning for Active Voltage Control. In this section, we discuss the works that applied MARL to active voltage control problem in the power system community. [14, 16] applied MADDPG with the reactive power of inverters or static var compensators (SVCs) as control actions. [32] applied MADDPG with a manually designed voltage inner loop, so that agents set reference voltage instead of reactive power as their control actions. [13] applied MATD3 also with reactive power as control actions. [15] applied MASAC, where both reactive power and the curtailment of active power are used as control actions. In the above works, distribution networks are divided into regions, with each region controlled by a single agent [33]. It is not clear if these MARL approaches scales well for increasing number of agents. In particular, it is not clear if each single inverter in a distribution network can behave as an independent agent. In this work, we model the active voltage control problem as a Dec-POMDP [17], where each inverter is controlled by an agent. We propose Bowl-shape as a barrier function to represent voltage constraint as part of the reward. We build up an open-source environment for this specific problem that can be easily deployed with the existing MARL algorithms. ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
174,
|
| 198 |
+
90,
|
| 199 |
+
825,
|
| 200 |
+
285
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 2
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "Concurrent Works. L2RPN [34] is an environment mainly for the centralised control over power transmission networks with node-splitting and lines switch-off for topology management. Gym-ANM [35] is an environment for centralised power distribution network management. Compared with these 2 works, our environment mainly focuses on solving the active voltage control problem in power distribution networks, with the decentralised/distributed manner. Moreover, we provide more complicated scenarios with the real-world data. Finally, our environment can be easily and flexibly extended with more network topologies and data, thanks to the supports of PandaPower [36] and SimBench [37]. ",
|
| 207 |
+
"bbox": [
|
| 208 |
+
174,
|
| 209 |
+
291,
|
| 210 |
+
825,
|
| 211 |
+
402
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 2
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "3 Background ",
|
| 218 |
+
"text_level": 1,
|
| 219 |
+
"bbox": [
|
| 220 |
+
174,
|
| 221 |
+
424,
|
| 222 |
+
308,
|
| 223 |
+
441
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 2
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "3.1 Power Distribution Network ",
|
| 230 |
+
"text_level": 1,
|
| 231 |
+
"bbox": [
|
| 232 |
+
174,
|
| 233 |
+
457,
|
| 234 |
+
410,
|
| 235 |
+
472
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 2
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "image",
|
| 241 |
+
"img_path": "images/747260f59aa5d8a2a2dcdd58c74e3c45331ddccbc08b3de7bcbc688b98e3b323.jpg",
|
| 242 |
+
"image_caption": [
|
| 243 |
+
"Figure 1: Illustration on distribution network (block a-b-c) under PV penetration. The solid and dotted lines represent the power and information flows respectively. Block d is the detailed version of distribution network and block e is the circuit model of block d. "
|
| 244 |
+
],
|
| 245 |
+
"image_footnote": [],
|
| 246 |
+
"bbox": [
|
| 247 |
+
189,
|
| 248 |
+
489,
|
| 249 |
+
797,
|
| 250 |
+
598
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "An electric power distribution network is illustrated in Figure 1 stage a to c. The electricity is generated from power plant and transmitted through transmission lines. Muti-stage transformers are applied to reduce the voltage levels while the electricity is being delivered to the distribution network. The electricity is then consumed by residential and industrial clients. A typical PV unit consists of PV panels and voltage-source inverters which can be installed either on roof-top or in the solar farm. Conventionally, there exist management entities such as distributed system operator (DSO) monitoring and operating the PV resources through the local communication channels. With emergent PV penetration, distribution network gradually grows to be an active participant in power networks that can deliver power and service to its users and the main grid (see the bidirectional power flows in Figure 1 stage-d). ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
669,
|
| 260 |
+
825,
|
| 261 |
+
808
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "System Model and Voltage Deviation. In this paper, we consider medium (10-24kV) and low (0.23-1kV) voltage distribution networks where PVs are highly penetrated. We model the distribution network in Figure 1 as a tree graph $\\mathcal { G } = ( V , E )$ , where $V = \\{ 0 , 1 , \\ldots , N \\}$ and $E = \\{ 1 , 2 , \\dots , N \\}$ represent the set of nodes (buses) and edges (branches) respectively [24]. Bus 0 is considered as the connection to the main grid, balancing the active and reactive power in the distribution network. For each bus $i \\in V$ , let $v _ { i }$ and $\\theta _ { i }$ be the magnitude and phase angle of the complex voltage and $s _ { j } = p _ { i } + j q _ { i }$ be the complex power injection. Then the active and reactive power injection can be ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
174,
|
| 270 |
+
814,
|
| 271 |
+
825,
|
| 272 |
+
911
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "defined as follows: ",
|
| 279 |
+
"bbox": [
|
| 280 |
+
173,
|
| 281 |
+
92,
|
| 282 |
+
299,
|
| 283 |
+
104
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 3
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "equation",
|
| 289 |
+
"img_path": "images/44a7e295a8f3fcb1dad334b168e2c39a4358ec3c6fd7f0710fe78954de5c2aa5.jpg",
|
| 290 |
+
"text": "$$\n\\begin{array} { r l r } { \\quad } & { { } \\displaystyle p _ { i } ^ { P V } - p _ { i } ^ { L } = v _ { i } ^ { 2 } \\sum _ { j \\in V _ { i } } g _ { i j } - v _ { i } \\sum _ { j \\in V _ { i } } v _ { j } \\left( g _ { i j } \\cos \\theta _ { i j } + b _ { i j } \\sin \\theta _ { i j } \\right) , } & { \\forall i \\in V \\setminus \\{ 0 \\} } \\\\ { \\displaystyle q _ { i } ^ { P V } - q _ { i } ^ { L } = - v _ { i } ^ { 2 } \\sum _ { j \\in V _ { i } } b _ { i j } + v _ { i } \\sum _ { j \\in V _ { i } } v _ { j } \\left( g _ { i j } \\sin \\theta _ { i j } + b _ { i j } \\cos \\theta _ { i j } \\right) , } & { \\forall i \\in V \\setminus \\{ 0 \\} } \\end{array}\n$$",
|
| 291 |
+
"text_format": "latex",
|
| 292 |
+
"bbox": [
|
| 293 |
+
235,
|
| 294 |
+
113,
|
| 295 |
+
764,
|
| 296 |
+
188
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 3
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "where $V _ { i } : = \\{ j \\mid ( i , j ) \\in E \\}$ is the index set of buses connected to bus $i$ . $g _ { i j }$ and $b _ { i j }$ are the conductance and susceptance on branch $( i , j ) . \\theta _ { i j } = \\theta _ { i } - \\theta _ { j }$ is the phase difference between bus $i$ and $j . p _ { i } ^ { P V }$ and $q _ { i } ^ { P V }$ are the active power and reactive power of the PV on the bus $i$ (that are zeros if there is no PV on the bus $i$ ). $p _ { i } ^ { L }$ and $q _ { i } ^ { L }$ are the active power and reactive power of the loads on the bus $i$ (that are zeros if there is no loads on the bus $i$ ). Eq.1 can represent the power system dynamics which is essential for solving the power flow problem and active voltage control problem [38] (details in Appendix A.1-A.2). For safe and optimal operation, $5 \\%$ voltage deviation is usually allowed, i.e., $v _ { 0 } = 1 . 0$ per unit $( p . u . )$ and $0 . 9 5 p . u . \\leq v _ { i } \\leq 1 . 0 5 p . u . , \\forall i \\in V \\setminus \\{ 0 \\}$ . When the load is heavy during the nighttime, the end-user voltage could be smaller than $0 . 9 5 p . u$ . [39]. In contrast, to export its power, large penetration of $p _ { i } ^ { P V }$ leads to reverse current flow that would increase $v _ { i }$ out of the nominal range (Figure 1-d) [18, 40]. ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
173,
|
| 305 |
+
195,
|
| 306 |
+
825,
|
| 307 |
+
349
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 3
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "Optimal Power Flow. In this paper, OPF is regarded as an optimization problem minimizing the total power loss subject to the power balance constraints defined in Eq.1, PV reactive power limits, and bus voltage limits [41]. As the centralized OPF has full access to the system topology, measurements, and PV resources, it provides the optimal active voltage control performance and can be used as a benchmark method (details in Appendix A.3). However, the performance of the OPF depends on the accuracy of the grid model and the optimisation is time-consuming which makes it difficult to be deployed online. ",
|
| 314 |
+
"bbox": [
|
| 315 |
+
173,
|
| 316 |
+
354,
|
| 317 |
+
825,
|
| 318 |
+
452
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 3
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "Droop Control. To regulate local voltage deviation, the standard droop control defines a piece-wise linear relationship between PV reactive power generation and voltage deviation at a bus equipped with inverter-based PVs [30, 42] (details in Appendix A.4). It is a fully decentralised control and ignore both the total voltage divisions and the power loss. ",
|
| 325 |
+
"bbox": [
|
| 326 |
+
174,
|
| 327 |
+
458,
|
| 328 |
+
825,
|
| 329 |
+
513
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 3
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "3.2 Dec-POMDP ",
|
| 336 |
+
"text_level": 1,
|
| 337 |
+
"bbox": [
|
| 338 |
+
174,
|
| 339 |
+
535,
|
| 340 |
+
303,
|
| 341 |
+
549
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 3
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "Multi-agent reinforcement learning (MARL) is an extension from the reinforcement learning problem, with multiple agents in the same environment. The problem of MARL for cooperation among agents is conventionally formulated as a Dec-POMDP [17]. It is usually formulated as a tuple such that $\\langle \\mathcal { T } , \\mathcal { S } , \\mathcal { A } , \\mathcal { O } , \\mathcal { T } , \\dot { r } , \\Omega , \\rho , \\gamma \\rangle$ . $\\mathcal { T }$ is an agent set; $s$ is a state set; $\\mathcal { A } = \\times _ { i \\in \\mathcal { T } } \\mathcal { A } _ { i }$ is the joint action set, where $\\mathbf { \\mathcal { A } } _ { i }$ is each agent’s action set; $O = \\times _ { i \\in \\tau } O _ { i }$ is the joint observation set, where $\\mathcal { O } _ { i }$ is each agent’s observation set; $\\mathcal { T } : \\mathcal { S } \\times \\mathcal { A } \\times \\mathcal { S } [ 0 , 1 ]$ is a transition probability function that describes the dynamics of an environment; $r : S \\times \\mathcal { A } \\mathbb { R }$ is a global reward function that describes the award to the whole agents given their decisions; $\\Omega : \\mathcal { S } \\times \\mathcal { A } \\times \\mathcal { O } [ 0 , 1 ]$ describes the perturbation of the observers (or sensors) for agents’ joint observations over the states after decisions; $\\rho : { \\mathcal { S } } [ 0 , 1 ]$ is a probability function of initial states; and $\\gamma \\in ( 0 , 1 )$ is a discount factor. The objective of Dec-POMDP is finding an optimal joint policy $\\pi = \\times _ { i \\in \\boldsymbol { \\mathbb { Z } } } \\pi _ { i }$ that solves $\\begin{array} { r } { \\operatorname* { m a x } _ { \\pi } \\mathbb { E } _ { \\pi } \\big [ \\sum _ { t = 0 } ^ { \\infty } \\gamma ^ { t } r _ { t } \\big ] } \\end{array}$ . ",
|
| 348 |
+
"bbox": [
|
| 349 |
+
174,
|
| 350 |
+
561,
|
| 351 |
+
825,
|
| 352 |
+
717
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 3
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "4 Distributed Active Voltage Control Problem ",
|
| 359 |
+
"text_level": 1,
|
| 360 |
+
"bbox": [
|
| 361 |
+
173,
|
| 362 |
+
738,
|
| 363 |
+
570,
|
| 364 |
+
757
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 3
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "4.1 Problem Formulation ",
|
| 371 |
+
"text_level": 1,
|
| 372 |
+
"bbox": [
|
| 373 |
+
174,
|
| 374 |
+
772,
|
| 375 |
+
362,
|
| 376 |
+
787
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 3
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "For the ease of operations, a large-scale power network is divided into multiple regions and there are several PVs installed into each region that is managed by the responsible distribution network owner. Each PV is with an inverter that generates reactive power to control the voltage around a stationary value denoted as $v _ { \\mathrm { r e f } }$ . In our problem, we assume that the PV ownership (e.g. individual homeowners or enterprise) is independent and separated from the distribution network ownership (DNO) [33]. Specifically, a PV owner is responsible for operating a PV infrastructure. In other words, each PV is able to be controlled under a distributed manner so that it is natural to be considered as an agent. To enforce the safety of distribution power networks, all agents (i.e. PVs) within a region share the observation of this region.3 Since each agent can only observe partial information of the whole gird and maintaining the safety of the power network is a common goal among agents, it is reasonable to model the problem as a Dec-POMDP [17] that can be mathematically described as a 10-tuple such that $\\langle \\mathcal { T } , \\mathcal { S } , \\mathcal { A } , \\mathcal { R } , \\mathcal { O } , \\mathcal { T } , r , \\Omega , \\rho , \\gamma \\rangle$ , where $\\rho$ is the probability distribution for drawing the initial state and $\\gamma$ is the discount factor. ",
|
| 383 |
+
"bbox": [
|
| 384 |
+
174,
|
| 385 |
+
800,
|
| 386 |
+
826,
|
| 387 |
+
911
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 3
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "",
|
| 394 |
+
"bbox": [
|
| 395 |
+
174,
|
| 396 |
+
90,
|
| 397 |
+
825,
|
| 398 |
+
161
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 4
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "Agent Set. There is a set of agents controlling a set of PV inverters denoted as $\\mathcal { T }$ . Each agent is located at some node in $\\mathcal { G }$ (i.e. a graph representing the power network defined as before). We define a function $g : { \\mathcal { T } } V$ to indicate the node where an agent is located. ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
174,
|
| 407 |
+
166,
|
| 408 |
+
823,
|
| 409 |
+
209
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 4
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "Region Set. The whole power network is separated into $M$ regions, whose union is denoted as $\\mathcal { R } \\overset { \\cdot } { = } \\{ \\mathcal { R } _ { k } \\subset V | k < M , k \\in \\mathbb { N } \\}$ , where $\\textstyle \\bigcup _ { \\mathcal { R } _ { k } \\in \\mathcal { R } } \\mathcal { R } _ { k } \\subseteq V$ and $\\mathcal { R } _ { k _ { 1 } } \\cap \\mathcal { R } _ { k _ { 2 } } = \\emptyset$ if $k _ { 1 } \\neq k _ { 2 }$ . We define a function $f : V \\to \\mathcal { R }$ that maps a node to the region where it is involved. ",
|
| 416 |
+
"bbox": [
|
| 417 |
+
174,
|
| 418 |
+
215,
|
| 419 |
+
821,
|
| 420 |
+
258
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 4
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "State and Observation Set. The state set is defined as $\\begin{array} { r } { S = \\mathcal { L } \\times \\mathcal { P } \\times \\mathcal { Q } \\times \\mathcal { V } } \\end{array}$ , where $\\mathcal { L } = \\{ ( \\mathbf { p } ^ { L } , \\mathbf { q } ^ { L } ) :$ $\\mathbf { p } ^ { L } , \\mathbf { q } ^ { L } \\in ( 0 , \\infty ) ^ { | V | } \\}$ is a set of (active and reactive) powers of loads; $\\mathcal { P } = \\{ \\mathbf { p } ^ { P V } : \\mathbf { p } ^ { P V } \\in \\bar { ( 0 , \\infty ) } ^ { | \\mathcal { Z } | } \\}$ is a set of active powers generated by PVs; $\\mathcal { Q } = \\{ \\mathbf { q } ^ { P V } : \\mathbf { q } ^ { P V } \\in ( 0 , \\infty ) ^ { | \\mathcal { L } | } \\}$ is a set of reactive powers generated by PV inverters at the preceding step; $\\mathcal { V } = \\left. ( \\mathbf { v } , \\theta ) : \\mathbf { v } \\in ( 0 , \\infty ) ^ { | V | } , \\theta \\in [ - \\pi , \\pi ] ^ { | V | } \\right.$ is a set of voltage wherein $\\mathbf { v }$ is a vector of voltage magnitudes and $\\theta$ is a vector of voltage phases measured in radius. $v _ { i } , p _ { i } ^ { L } , q _ { i } ^ { L } , p _ { i } ^ { P V }$ and $q _ { i } ^ { P V }$ are denoted as the components of the vectors $\\mathbf { v } , \\mathbf { p } ^ { L } , \\mathbf { q } ^ { L } , \\mathbf { p } ^ { P ^ { V } }$ and $\\mathbf { q } ^ { P V }$ respectively. We define a function $h : \\mathbb { P } ( V ) \\to \\mathbb { P } ( S )$ that maps a subset of $V$ to its correlated measures, where $\\mathbb { P } ( \\cdot )$ denotes the power set. The observation set is defined as $O = \\times _ { i \\in \\tau } O _ { i }$ , where $\\mathcal { O } _ { i } = ( h \\circ f \\circ g ) ( i )$ indicates the measures within the region where agent $i$ is located. ",
|
| 427 |
+
"bbox": [
|
| 428 |
+
173,
|
| 429 |
+
263,
|
| 430 |
+
825,
|
| 431 |
+
390
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 4
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "Action Set. Each agent $i \\in \\mathcal { Z }$ is equipped with a continuous action set $\\mathcal { A } _ { i } = \\{ a _ { i } \\ : \\ - c \\leq a _ { i } \\leq$ $c , c > 0 \\}$ . The continuous action represents the ratio of maximum reactive power it generates, i.e., the reactive power generated from the $k$ th PV inverter is $q _ { k } ^ { P V } = a _ { k } \\ \\sqrt { ( s _ { k } ^ { \\mathrm { m a x } } ) ^ { 2 } - ( p _ { k } ^ { P V } ) ^ { 2 } }$ , where $s _ { k } ^ { \\mathrm { m a x } }$ is the maximum apparent power of the $k$ th node that is dependent on the physical capacity of the PV inverter.4, 5 If $a _ { k } > 0$ , it means penetrating reactive powers to the distribution network. If $a _ { k } < 0$ , it means absorbing reactive powers from the distribution network. The value of $c$ is usually selected as per the loading capacity of a distribution network, which is for the safety of operations. The joint action set is denoted as $\\mathcal { A } = \\times _ { i \\in \\mathcal { T } } \\mathcal { A } _ { i }$ . ",
|
| 438 |
+
"bbox": [
|
| 439 |
+
173,
|
| 440 |
+
395,
|
| 441 |
+
825,
|
| 442 |
+
510
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 4
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "State Transition Probability Function. Since the state includes the last action and the change of loads is random (that theoretically can be modelled as any probabilistic distribution), we can naturally define the state transition probability function as $\\mathcal { T } : \\mathcal { S } \\times \\mathcal { A } \\times \\mathcal { S } [ 0 , 1 ]$ that follows Markov decision process. Specifically, $\\begin{array} { r } { \\mathcal { T } ( \\mathbf { s } _ { t + 1 } \\vert \\mathbf { s } _ { t } , \\mathbf { a } _ { t } ) = P r ( \\mathbf { s } _ { t + 1 } \\vert \\delta ( \\mathbf { s } _ { t } , \\mathbf { a } _ { t } ) ) } \\end{array}$ , where $\\mathbf { a } _ { t } \\in \\mathcal A$ and $\\mathbf { s } _ { t } , \\mathbf { s } _ { t + 1 } \\in S$ $\\delta ( \\mathbf { s } _ { t } , \\mathbf { a } ) \\mapsto \\mathbf { s } _ { t + \\tau }$ denotes the solution of the power flow, whereas $\\begin{array} { r } { P r \\big ( \\mathbf { s } _ { t + 1 } \\big | \\mathbf { s } _ { t + \\tau } \\big ) } \\end{array}$ describes the change of loads (i.e. highly correlated to the user behaviours). $\\tau \\ll \\Delta t$ is an extremely short interval much less than the time interval between two controls (i.e. a time step) and $\\Delta t = 1$ in this paper. ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
173,
|
| 451 |
+
515,
|
| 452 |
+
825,
|
| 453 |
+
613
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 4
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "Observation Probability Function. We now define the observation probability function. In the context of electric power network, it describes the measurement errors that may occur in sensors. Mathematically, we can define it as $\\Omega : S \\times A \\times \\mathcal { O } \\to [ 0 , 1 ]$ . Specifically, $\\Omega ( \\mathbf { o } _ { t + 1 } | \\mathbf { s } _ { t + 1 } , \\mathbf { a } _ { t } ) = \\mathbf { s } _ { t + 1 } +$ $\\mathcal { N } ( \\mathbf { 0 } , \\Sigma )$ , where $\\mathcal { N } ( \\mathbf { 0 } , \\Sigma )$ is an isotropic multi-variable Gaussian distribution and $\\Sigma$ is dependent on the physical properties of sensors (e.g. smart meters). ",
|
| 460 |
+
"bbox": [
|
| 461 |
+
173,
|
| 462 |
+
617,
|
| 463 |
+
826,
|
| 464 |
+
688
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "Reward Function. The reward function is defined as follows: ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
173,
|
| 473 |
+
694,
|
| 474 |
+
586,
|
| 475 |
+
708
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "equation",
|
| 481 |
+
"img_path": "images/e9e615cf552352ca4dd3b9646638bb9b6bb59f30de56eab5d10c2f43655c9a3c.jpg",
|
| 482 |
+
"text": "$$\nr = - \\frac { 1 } { | V | } \\sum _ { i \\in V } l _ { v } ( v _ { i } ) - \\alpha \\cdot l _ { q } ( \\mathbf { q } ^ { P V } ) ,\n$$",
|
| 483 |
+
"text_format": "latex",
|
| 484 |
+
"bbox": [
|
| 485 |
+
379,
|
| 486 |
+
710,
|
| 487 |
+
619,
|
| 488 |
+
747
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 4
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "where $l _ { v } ( \\cdot )$ is a voltage barrier function and $\\begin{array} { r } { l _ { q } ( \\mathbf q ^ { P V } ) = { \\frac { 1 } { | \\mathcal I | } } | | \\mathbf q ^ { P V } | | _ { 1 } } \\end{array}$ is the reactive power generation loss (i.e. a type of power loss approximation easy for computation). The objective is to control the voltage within a safety range around $v _ { \\mathrm { r e f } }$ , while the reactive power generation is as less as possible, i.e., $l _ { q } ( \\mathbf { q } ^ { P V } ) < \\epsilon$ and $\\epsilon > 0$ . Similar to the mathematical tricks used in $\\beta$ -VAE [43], by KKT conditions we can transform a constrained reward to a unconstrained reward with a Lagrangian multiplier $\\alpha \\in ( 0 , 1 )$ shown in Eq.2. Since $l _ { v } ( \\cdot )$ is not easy to define in practice (i.e., it affects $l _ { q } ( \\mathbf { q } ^ { P V } ) )$ , we aim to study for a good choice in this paper. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
173,
|
| 497 |
+
752,
|
| 498 |
+
825,
|
| 499 |
+
799
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "",
|
| 506 |
+
"bbox": [
|
| 507 |
+
174,
|
| 508 |
+
90,
|
| 509 |
+
825,
|
| 510 |
+
147
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 5
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "Objective Function. The objective function of this problem is $\\begin{array} { r } { \\operatorname* { m a x } _ { \\pi } \\mathbb { E } _ { \\pi } [ \\sum _ { t = 0 } ^ { \\infty } \\gamma ^ { t } r _ { t } ] } \\end{array}$ , where ${ \\boldsymbol { \\pi } } = \\times _ { i \\in { \\mathcal { I } } } { \\boldsymbol { \\pi } } _ { i }$ ; $\\pi _ { i } : { \\bar { \\mathcal { O } } } _ { i } \\times { \\mathcal { A } } _ { i } \\to [ 0 , 1 ]$ and $\\bar { \\mathcal { O } } _ { i } = ( \\mathcal { O } _ { i } ^ { \\tau } ) _ { \\tau = 1 } ^ { h }$ is a history of observations with the length as $h$ . Literally, we need to find an optimal joint policy $\\pi$ to maximize the discounted cumulative rewards. ",
|
| 517 |
+
"bbox": [
|
| 518 |
+
173,
|
| 519 |
+
152,
|
| 520 |
+
825,
|
| 521 |
+
210
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 5
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "4.2 Voltage Barrier Function ",
|
| 528 |
+
"text_level": 1,
|
| 529 |
+
"bbox": [
|
| 530 |
+
173,
|
| 531 |
+
227,
|
| 532 |
+
387,
|
| 533 |
+
241
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 5
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "image",
|
| 539 |
+
"img_path": "images/84ad91532ec1fef6df5ef513a69a50c5cee0b193f4244d8c10a84f32a74d0120.jpg",
|
| 540 |
+
"image_caption": [
|
| 541 |
+
"Figure 2: This figure shows 3 voltage barrier functions, where L1-shape and L2-shape are 2 baselines while Bowl-shape is proposed in this paper. "
|
| 542 |
+
],
|
| 543 |
+
"image_footnote": [],
|
| 544 |
+
"bbox": [
|
| 545 |
+
186,
|
| 546 |
+
257,
|
| 547 |
+
812,
|
| 548 |
+
376
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 5
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "We define $v _ { \\mathrm { r e f } } = 1 p . u$ . in this paper, and the voltage needs to be controlled within the safety range from $0 . 9 5 \\ : p . u$ . to $1 . 0 5 p . u .$ , which sets the constraint of control. The voltage constraint is difficult to be handled in MARL, so we use a barrier function to represent the constraint. L1-shape (see Figure 2a) was most frequently used in the previous work [13–15], however, this may lead to wasteful reactive power generations since $\\frac { | \\Delta l _ { v } | } { \\alpha | \\Delta l _ { q } | } \\gg 1$ within the safety range of voltage. Although L2-shape (see Figure 2b) may alleviate this problem, it may be slow to guide the policy outside the safety range. To address these problems, we propose a barrier function called Bowl-shape that combines the advantages of L1-shape and L2-shape. It gives a steep gradient outside the safety range, while it provides a slighter gradient as voltage tends to the $v _ { \\mathrm { r e f } }$ that enables $\\begin{array} { r } { \\frac { | \\Delta l _ { v } | } { \\alpha | \\Delta l _ { q } | } 0 } \\end{array}$ as $v v _ { \\mathrm { r e f } }$ . ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
173,
|
| 557 |
+
425,
|
| 558 |
+
825,
|
| 559 |
+
561
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 5
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "5 Experiments ",
|
| 566 |
+
"text_level": 1,
|
| 567 |
+
"bbox": [
|
| 568 |
+
174,
|
| 569 |
+
578,
|
| 570 |
+
312,
|
| 571 |
+
594
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 5
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "5.1 Experimental Settings ",
|
| 578 |
+
"text_level": 1,
|
| 579 |
+
"bbox": [
|
| 580 |
+
174,
|
| 581 |
+
608,
|
| 582 |
+
367,
|
| 583 |
+
625
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 5
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "Power Network Topology. Two MV networks, IEEE 33-bus [44] and 141-bus [45] are modified as systems under test.6 To show the flexibility on network with multi-voltage levels, we construct a 110kV-20kV-0.4kV (high-medium-low voltage) 322-bus network using benchmark topology from SimBench [37]. For each network, a main branch is firstly determined and the control regions are partitioned by the shortest path between the terminal bus and the coupling point on the main branch. Each region consists of 1-4 PVs dependent on various regional sizes. The specific network descriptions and partitions are shown in Appendix D.1. To give a picture of the tasks, we demonstrate the 33-bus network in Figure 3. ",
|
| 590 |
+
"bbox": [
|
| 591 |
+
173,
|
| 592 |
+
633,
|
| 593 |
+
825,
|
| 594 |
+
744
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 5
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "Data Descriptions. The load profile of each network is modified based on the real-time Portuguese electricity consumption accounting for 232 consumers of 3 years.7 To highlight the differences between residential and industrial users, we randomly perturb $\\pm 5 \\%$ on the default power factors defined in the case files and accordingly generate real-time reactive power consumption. The solar data is collected from Elia group,8 i.e. a Belgiums power network operator. The load and PV data are then interpolated with 3-min resolution that is consistent with the real-time control period in the grid. To distinguish among different solar radiation levels in various regions, the 3-year PV generations from 10 cites/regions are collected and PVs in the same control region possess the same generation profiles. We define the PV penetration rate $( P R )$ as the ratio between rated PV generation and rated load consumption. In this paper, we set $P R \\in \\{ 2 . 5 , 4 , 2 . 5 \\}$ as the default $P R$ for different topologies. We oversize each PV inverter by $20 \\%$ of its maximum active power generation to satisfy the IEEE grid code [42]. Besides, each PV inverter is considered to be able to generate reactive power in the STATCOM mode during night [47]. The median and $2 5 \\% - 7 5 \\%$ quantile shadings of PV generations, and the mean and minima-maxima shading of the loads are illustrated in Figure 4. The details can be found in Appendix D.2. ",
|
| 601 |
+
"bbox": [
|
| 602 |
+
173,
|
| 603 |
+
751,
|
| 604 |
+
825,
|
| 605 |
+
849
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 5
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "image",
|
| 611 |
+
"img_path": "images/0a7554b25b736f502735721952d4663acca780916517f382fc4d28d20a888a3d.jpg",
|
| 612 |
+
"image_caption": [
|
| 613 |
+
"Figure 3: Illustration on 33-bus network. Each bus is indexed by a circle with a number. 4 control regions are partitioned by the smallest path from the terminal to the main branch (bus 1-6). We control the voltages on bus 2-33 whereas bus 0-1 represent the substation or main grid with the constant voltage and infinite active and reactive power capacity. G represents an external generator; small Ls represent loads; and the sun emoji represents the location where a PV is installed. "
|
| 614 |
+
],
|
| 615 |
+
"image_footnote": [],
|
| 616 |
+
"bbox": [
|
| 617 |
+
187,
|
| 618 |
+
87,
|
| 619 |
+
810,
|
| 620 |
+
218
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 6
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "text",
|
| 626 |
+
"text": "",
|
| 627 |
+
"bbox": [
|
| 628 |
+
173,
|
| 629 |
+
324,
|
| 630 |
+
826,
|
| 631 |
+
435
|
| 632 |
+
],
|
| 633 |
+
"page_idx": 6
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"type": "image",
|
| 637 |
+
"img_path": "images/8ab554fe97ec166a1b8ede7f2be29bc7bd10dad2fa98b25d2d220c2818a9ef56.jpg",
|
| 638 |
+
"image_caption": [
|
| 639 |
+
"Figure 4: Active PV generations and load consumption. "
|
| 640 |
+
],
|
| 641 |
+
"image_footnote": [],
|
| 642 |
+
"bbox": [
|
| 643 |
+
186,
|
| 644 |
+
454,
|
| 645 |
+
810,
|
| 646 |
+
574
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 6
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "MARL Simulation Settings. We now describe the simulation settings standing by the view of MARL. In 33-bus network, there are 4 regions with 6 agents. In 141-bus network, there are 9 regions with 22 agents. In 322-bus network, there are 22 regions with 38 agents. The discount factor $\\gamma$ is set to 0.99. $\\alpha$ in Eq.2 is set to 0.1. To guarantee the safety of distribution networks, we manually set the range of actions for each scenario, with $[ - 0 . 8 , 0 . 8 ]$ for 33-bus network, $[ - 0 . 6 , 0 . 6 ]$ for 141-bus network, and $[ - 0 . 8 , 0 . 8 ]$ for 322-bus network. During training, we randomly sample the initial state for an episode and each episode lasts for 240 time steps (i.e. a half day). Every experiment is run with 5 random seeds and the test results during training are given by the median and the $2 5 \\% - 7 5 \\%$ quartile shading. Each test is conducted every 20 episodes with 10 randomly selected episodes for evaluation. ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
173,
|
| 655 |
+
613,
|
| 656 |
+
825,
|
| 657 |
+
739
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 6
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "Evaluation Metrics. In experiments, we use two metrics to evaluate the performance of algorithms. ",
|
| 664 |
+
"bbox": [
|
| 665 |
+
173,
|
| 666 |
+
744,
|
| 667 |
+
823,
|
| 668 |
+
760
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 6
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "• Controllable rate $( C R )$ : It calculates the ratio of time steps where all buses’ voltages being under control during each episode. \n• Power loss $( P L )$ : It calculates the average of the total power loss over all buses per time step during each episode. ",
|
| 675 |
+
"bbox": [
|
| 676 |
+
173,
|
| 677 |
+
772,
|
| 678 |
+
826,
|
| 679 |
+
837
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 6
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "We aim to find algorithms and reward functions with high CR and low PL. ",
|
| 686 |
+
"bbox": [
|
| 687 |
+
173,
|
| 688 |
+
848,
|
| 689 |
+
661,
|
| 690 |
+
863
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 6
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "text",
|
| 696 |
+
"text": "MARL Algorithm Settings. We evaluate the performances of state-of-the-art MARL algorithms, i.e. IDDPG [48], MADDPG [49], COMA [50], IPPO [2], MAPPO [3], SQDDPG [48] and MATD3 [51] on this real-world problem with continuous actions. Since the original COMA can only work for discrete actions, we conduct some modifications so that it can work for continuous actions (see Appendix B). The details of settings are shown in Appendix C. ",
|
| 697 |
+
"bbox": [
|
| 698 |
+
174,
|
| 699 |
+
869,
|
| 700 |
+
825,
|
| 701 |
+
911
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 6
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "text",
|
| 707 |
+
"text": "",
|
| 708 |
+
"bbox": [
|
| 709 |
+
173,
|
| 710 |
+
90,
|
| 711 |
+
823,
|
| 712 |
+
119
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 7
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "5.2 Main Results ",
|
| 719 |
+
"text_level": 1,
|
| 720 |
+
"bbox": [
|
| 721 |
+
173,
|
| 722 |
+
136,
|
| 723 |
+
305,
|
| 724 |
+
150
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 7
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "image",
|
| 730 |
+
"img_path": "images/82f718994cac468ac970519c3156001014894eac35d7944def6623bc169e5e27.jpg",
|
| 731 |
+
"image_caption": [],
|
| 732 |
+
"image_footnote": [],
|
| 733 |
+
"bbox": [
|
| 734 |
+
173,
|
| 735 |
+
162,
|
| 736 |
+
825,
|
| 737 |
+
450
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 7
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "text",
|
| 743 |
+
"text": "Figure 5: Median CR and PL of algorithms with different voltage barrier functions. The sub-caption indicates metric-Barrier-scenario and BL is the contraction of Bowl. ",
|
| 744 |
+
"bbox": [
|
| 745 |
+
173,
|
| 746 |
+
457,
|
| 747 |
+
820,
|
| 748 |
+
484
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 7
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "Algorithm Performances. We first show the main results of all algorithms on all scenarios in Figure 5. MADDPG and MATD3 generally perform well on all scenarios with different voltage barier functions. COMA performs well over CR on 33-bus networks and the performances fall on the large scale scenarios, but its PL is high. Similarly, SQDDPG performs generally well over CR on 33-bus and 141-bus networks, but it performs the worst on 322-bus networks and its PL on 141-bus networks is high. This reveals the limitations of COMA and SQDDPG on the scaling to many agents. Although MAPPO and IPPO performed well on games [2, 3], their performances on the real-world power network problems are poor. The most probable reason could be that the variations of dynamics and uncertainties in distribution networks are far faster and more complicated than games and their conservative policy updates cannot fast respond. IDDPG performs at the middle place in all scenarios, which may be due to non-stationary dynamics caused by multiple agents [49]. ",
|
| 755 |
+
"bbox": [
|
| 756 |
+
173,
|
| 757 |
+
502,
|
| 758 |
+
826,
|
| 759 |
+
655
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 7
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "image",
|
| 765 |
+
"img_path": "images/decbf7717ac3061e320aba1ce5ba1455e7eaa19231f9ee6158898fc5dabee485.jpg",
|
| 766 |
+
"image_caption": [
|
| 767 |
+
"Figure 6: Median performance of overall algorithms with different voltage barrier functions. The sub-caption indicates metric-scenario. "
|
| 768 |
+
],
|
| 769 |
+
"image_footnote": [],
|
| 770 |
+
"bbox": [
|
| 771 |
+
174,
|
| 772 |
+
667,
|
| 773 |
+
823,
|
| 774 |
+
763
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 7
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "Voltage Barrier Function Comparisons. To study the effects of different voltage barrier functions, we show the median performance of overall 7 MARL algorithms in Figure 6. It can be observed that Bowl-shape can preserve the high CR, while maintain the low PL on 33-bus and 141-bus networks. Although L1-shape can achieve the best CR on 33-bus and 141-bus networks, its PL on the 141-bus network is the highest. L2-shape performs the worst on 33-bus and 141-bus networks, but performs the best on the 322-bus network with the highest CR and the lowest PL. The reason could be that its slighter gradients is more suitable for the adaption among many agents. From the results, we can conclude that L1-shape, Bowl-shape and L2-shape are the best choices for the 33-bus network, the 141-bus network and the 322-bus network respectively. ",
|
| 781 |
+
"bbox": [
|
| 782 |
+
173,
|
| 783 |
+
814,
|
| 784 |
+
825,
|
| 785 |
+
911
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 7
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "",
|
| 792 |
+
"bbox": [
|
| 793 |
+
174,
|
| 794 |
+
90,
|
| 795 |
+
823,
|
| 796 |
+
119
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 8
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "image",
|
| 802 |
+
"img_path": "images/4c326a0c932a164750e09479bd378087c9d7e43c518b72bb677cfc0d79ad11cf.jpg",
|
| 803 |
+
"image_caption": [
|
| 804 |
+
"Figure 7: Median performances of overall algorithms trained with various rewards consist of distinct voltage barrier functions shown in 3D surfaces. The sub-caption indicates metric-scenario. "
|
| 805 |
+
],
|
| 806 |
+
"image_footnote": [],
|
| 807 |
+
"bbox": [
|
| 808 |
+
196,
|
| 809 |
+
148,
|
| 810 |
+
825,
|
| 811 |
+
431
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 8
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "Diverse Algorithm Performances under Distinct Rewards. To clearly show the relationship between algorithms and reward functions, we also plot 3D surfaces over CR and PL w.r.t. algorithm types and reward types (consisting of distinct voltage barrier functions) in Figure 7. It is obvious that the performances of algorithms are highly correlated with the reward types. In other words, the same algorithm could perform diversely even trained by different reward functions with the same objective but different shapes. ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
173,
|
| 820 |
+
488,
|
| 821 |
+
825,
|
| 822 |
+
571
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 8
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "5.3 Comparison between MARL and Traditional Control Methods ",
|
| 829 |
+
"text_level": 1,
|
| 830 |
+
"bbox": [
|
| 831 |
+
174,
|
| 832 |
+
593,
|
| 833 |
+
650,
|
| 834 |
+
608
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 8
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "To compare MARL algorithms with the traditional control methods, we conduct a series of tests on various network topologies (i.e. 33-bus, 141-bus, and 322-bus networks). MADDPG trained by Bowl-shape is selected as the candidate for MARL. The traditional control methods that we select are OPF [24] and droop control [22]. For conciseness, we only demonstrate the voltages and powers on a typical bus with a PV installed (i.e. one of the most difficult buses to control) during a day (i.e. 480 consecutive time steps) in summer and winter respectively. The results for the 33-bus network is presented here and the results for other typologies are given in the Appendix E.2. From Figure 8, it can be seen that all methods control the voltage within the safety range in both summer and winter. Additionally, the power losses of MARL are lower than droop control but higher than OPF. This phenomenon is possibly due to the fact that droop control is a fully distributed algorithm which cannot explicitly reduce the power loss and OPF is a centralised algorithm with the known system model, while MARL lies between these 2 types of algorithms. This implies that MARL may outperform droop control for particular cases but it needs to be kept in mind that the droop gain used here may not be optimal. It is also worth noting that the control actions of MARL has a similar feature to droop control in the 33-bus case, and this feature is also observed in the 141-bus and 322-bus cases (see Figure 14-15 in the Appendix E.2 for details). However, this droop-like behaviour is missing in the winter case of 322-bus network, where the MARL control action is opposite to the desired direction, resulting in higher power losses and voltage deviation. This might be due to the over-generation as the MARL share the same policy for different seasons, so that it leads to the problem of relative overgeneralisation [52]. In summary, MARL seems able to learn the features of droop control but fails to outperform droop control significantly, and is even worse than droop control for certain cases. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
173,
|
| 843 |
+
621,
|
| 844 |
+
826,
|
| 845 |
+
911
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 8
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "As a result, there is still significant headroom of improvement for MARL, in performance, robustness, and interpretability. ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
174,
|
| 854 |
+
90,
|
| 855 |
+
826,
|
| 856 |
+
119
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 9
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "image",
|
| 862 |
+
"img_path": "images/a7a8081aaf36a2127c0195b301e307b7ad1a7bdc0ea53bdcdfcddef9a06de9b4.jpg",
|
| 863 |
+
"image_caption": [
|
| 864 |
+
"Figure 8: Compare MARL with traditional control methods on bus 18 during a day for 33-bus network. 1st row: results for a summer day. 2nd row: results for a winter day. None and limit in (a) represent the voltage with no control and the safety voltage range respectively. P and Q in (b) indicate the PV active power and the reactive power by various methods. "
|
| 865 |
+
],
|
| 866 |
+
"image_footnote": [],
|
| 867 |
+
"bbox": [
|
| 868 |
+
184,
|
| 869 |
+
136,
|
| 870 |
+
810,
|
| 871 |
+
345
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 9
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "text",
|
| 877 |
+
"text": "5.4 Discussion ",
|
| 878 |
+
"text_level": 1,
|
| 879 |
+
"bbox": [
|
| 880 |
+
174,
|
| 881 |
+
443,
|
| 882 |
+
285,
|
| 883 |
+
457
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 9
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "We now discuss the phenomenons that we observe from the experimental results. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
173,
|
| 892 |
+
469,
|
| 893 |
+
702,
|
| 894 |
+
484
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 9
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "• It is obvious that the voltage barrier function may impact the performance of an algorithm (even with tiny changes for the common goal). This may be of general importance as many real-world problems may contain constraints that are not indirect in the objective function. An overall methodology is needed for designing barrier functions in state-constraint MARL. \n• MARL may scale well for the number of agents and the complexity of networks, and only requires a very low control rate for active voltage control. \n• The results above show the evidence that MARL may behave diversely from the traditional control methods. Some of the learnt behaviours may induce better performance, but some others deteriorate the performance. This shows the promising benefits of MARL in industrial applications but also highlights the drawbacks in interpretability and robustness. \n• The combination of learning algorithms with domain knowledge is a potential roadmap towards interpretable MARL. For the active voltage control problem, the domain knowledge may present as network topology, inner control loops (say droop control), and load pattern. The exploitation of such domain knowledge reduces the dimensions of MARL exploration space and may offer a lower bound of performance as a guarantee. Encoding domain knowledge such as the network topology as a priori for model-based MARL is also a potential direction. ",
|
| 901 |
+
"bbox": [
|
| 902 |
+
171,
|
| 903 |
+
496,
|
| 904 |
+
826,
|
| 905 |
+
743
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 9
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "6 Conclusion ",
|
| 912 |
+
"text_level": 1,
|
| 913 |
+
"bbox": [
|
| 914 |
+
174,
|
| 915 |
+
767,
|
| 916 |
+
299,
|
| 917 |
+
784
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 9
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "This paper investigates the potential of applying multi-agent reinforcement learning (MARL) to the active voltage control in power distribution networks. We firstly formulate this problem as a DecPOMDP and then study the behaviours of MARL with various voltage barrier functions (reflecting voltage constraints as barrier penalties). Moreover, we compare the behaviours of MARL with the traditional control methods (i.e. droop control and OPF), and observe that MARL is possible to generate inexplicable behaviours, so an interpretable and trustable algorithm is highly desired for industrial applications. Finally, the environment used in this work is open-sourced and easy to follow so that the machine learning community is able to contribute to this challenging real-world problem. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
174,
|
| 926 |
+
800,
|
| 927 |
+
825,
|
| 928 |
+
911
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 9
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Acknowledgement ",
|
| 935 |
+
"text_level": 1,
|
| 936 |
+
"bbox": [
|
| 937 |
+
176,
|
| 938 |
+
89,
|
| 939 |
+
330,
|
| 940 |
+
106
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 10
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"text": "This work is supported by the Engineering and Physical Sciences Research Council of UK (EPSRC) under awards EP/S000909/1. ",
|
| 947 |
+
"bbox": [
|
| 948 |
+
176,
|
| 949 |
+
121,
|
| 950 |
+
823,
|
| 951 |
+
148
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 10
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "text",
|
| 957 |
+
"text": "References ",
|
| 958 |
+
"text_level": 1,
|
| 959 |
+
"bbox": [
|
| 960 |
+
174,
|
| 961 |
+
169,
|
| 962 |
+
266,
|
| 963 |
+
184
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 10
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "[1] David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. nature, 550(7676):354–359, 2017. \n[2] Christian Schroeder de Witt, Tarun Gupta, Denys Makoviichuk, Viktor Makoviychuk, Philip HS Torr, Mingfei Sun, and Shimon Whiteson. Is independent learning all you need in the starcraft multi-agent challenge? arXiv preprint arXiv:2011.09533, 2020. \n[3] Chao Yu, Akash Velu, Eugene Vinitsky, Yu Wang, Alexandre Bayen, and Yi Wu. The surprising effectiveness of mappo in cooperative, multi-agent games. arXiv preprint arXiv:2103.01955, 2021. \n[4] Christian Schroeder de Witt, Bei Peng, Pierre-Alexandre Kamienny, Philip Torr, Wendelin Böhmer, and Shimon Whiteson. Deep multi-agent reinforcement learning for decentralized continuous cooperative control. arXiv preprint arXiv:2003.06709, 2020. \n[5] Dawei Qiu, Jianhong Wang, Junkai Wang, and Goran Strbac. Multi-agent reinforcement learning for automated peer-to-peer energy trading in double-side auction market. In Zhi-Hua Zhou, editor, Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI 2021, Virtual Event / Montreal, Canada, 19-27 August 2021, pages 2913–2920. ijcai.org, 2021. \n[6] Di Cao, Weihao Hu, Junbo Zhao, Guozhou Zhang, Bin Zhang, Zhou Liu, Zhe Chen, and Frede Blaabjerg. Reinforcement learning and its applications in modern power and energy systems: A review. Journal of Modern Power Systems and Clean Energy, 8(6):1029–1042, 2020. doi: 10.35833/MPCE.2020.000552. \n[7] Efstratios Batzelis, Zakir Hussain Rather, John Barton, Bonu Ramesh Naidu, Billy Wu, Firdous Ul Nazir, ONYEMA SUNDAY NDUKA, Wei He, Jerome Nsengiyaremye, and Bandopant Pawar. Solar integration in the uk and india: technical barriers and future directions. Report of the UK-India Joint Virtual Clean Energy Centre (JVCEC), 2021. \n[8] Reinaldo Tonkoski, Dave Turcotte, and Tarek H. M. EL-Fouly. Impact of high pv penetration on voltage profiles in residential neighborhoods. IEEE Transactions on Sustainable Energy, 3 (3):518–527, 2012. doi: 10.1109/TSTE.2012.2191425. \n[9] Pedro MS Carvalho, Pedro F Correia, and Luís AFM Ferreira. Distributed reactive power generation control for voltage rise mitigation in distribution networks. IEEE transactions on Power Systems, 23(2):766–772, 2008. \n[10] Tomonobu Senjyu, Yoshitaka Miyazato, Atsushi Yona, Naomitsu Urasaki, and Toshihisa Funabashi. Optimal distribution voltage control and coordination with distributed generation. IEEE Transactions on Power Delivery, 23(2):1236–1242, 2008. doi: 10.1109/TPWRD.2007.908816. \n[11] Konstantin Turitsyn, Petr Sulc, Scott Backhaus, and Michael Chertkov. Options for control of reactive power by distributed photovoltaic generators. Proceedings of the IEEE, 99(6): 1063–1073, 2011. doi: 10.1109/JPROC.2011.2116750. \n[12] Johanna Barr and Ritwik Majumder. Integration of distributed generation in the volt/var management system for active distribution networks. IEEE Transactions on Smart Grid, 6(2): 576–586, 2015. doi: 10.1109/TSG.2014.2363051. \n[13] Di Cao, Junbo Zhao, Weihao Hu, Fei Ding, Qi Huang, and Zhe Chen. Distributed voltage regulation of active distribution system based on enhanced multi-agent deep reinforcement learning. arXiv preprint arXiv:2006.00546, 2020. \n[14] Di Cao, Weihao Hu, Junbo Zhao, Qi Huang, Zhe Chen, and Frede Blaabjerg. A multi-agent deep reinforcement learning based voltage regulation using coordinated pv inverters. IEEE Transactions on Power Systems, 35(5):4120–4123, 2020. \n[15] Di Cao, Junbo Zhao, Weihao Hu, Fei Ding, Qi Huang, Zhe Chen, and Frede Blaabjerg. Datadriven multi-agent deep reinforcement learning for distribution system decentralized voltage control with high penetration of pvs. IEEE Transactions on Smart Grid, 2021. \n[16] Haotian Liu and Wenchuan Wu. Online multi-agent reinforcement learning for decentralized inverter-based volt-var control. IEEE Transactions on Smart Grid, 2021. \n[17] Frans A Oliehoek and Christopher Amato. A concise introduction to decentralized POMDPs. Springer, 2016. \n[18] C.L. Masters. Voltage rise: the big issue when connecting embedded generation to long $1 1 \\mathrm { ~ k v ~ }$ overhead lines. Power Engineering Journal, 16(1):5–12, 2002. doi: 10.1049/pe:20020101. \n[19] Giuseppe Fusco and Mario Russo. A decentralized approach for voltage control by multiple distributed energy resources. IEEE Transactions on Smart Grid, pages 1–1, 2021. doi: 10.1109/ TSG.2021.3057546. \n[20] Yashodhan P. Agalgaonkar, Bikash C. Pal, and Rabih A. Jabr. Distribution voltage control considering the impact of pv generation on tap changers and autonomous regulators. IEEE Transactions on Power Systems, 29(1):182–192, 2014. doi: 10.1109/TPWRS.2013.2279721. \n[21] Panagis N. Vovos, Aristides E. Kiprakis, A. Robin Wallace, and Gareth P. Harrison. Centralized and distributed voltage control: Impact on distributed generation penetration. IEEE Transactions on Power Systems, 22(1):476–483, 2007. doi: 10.1109/TPWRS.2006.888982. \n[22] Pedram Jahangiri and Dionysios C. Aliprantis. Distributed volt/var control by pv inverters. IEEE Transactions on Power Systems, 28(3):3429–3439, 2013. doi: 10.1109/TPWRS.2013.2256375. \n[23] Johannes Schiffer, Thomas Seel, Jörg Raisch, and Tevfik Sezi. Voltage stability and reactive power sharing in inverter-based microgrids with consensus-based distributed voltage control. IEEE Transactions on Control Systems Technology, 24(1):96–109, 2016. doi: 10.1109/TCST. 2015.2420622. \n[24] Lingwen Gan, Na Li, Ufuk Topcu, and Steven H Low. Optimal power flow in tree networks. In 52nd IEEE Conference on Decision and Control, pages 2313–2318. IEEE, 2013. \n[25] Yan Xu, Zhao Yang Dong, Rui Zhang, and David J Hill. Multi-timescale coordinated voltage/var control of high renewable-penetrated distribution systems. IEEE Transactions on Power Systems, 32(6):4398–4408, 2017. \n[26] Emiliano DallAnese, Sairaj V. Dhople, and Georgios B. Giannakis. Optimal dispatch of photovoltaic inverters in residential distribution systems. IEEE Transactions on Sustainable Energy, 5(2):487–497, 2014. doi: 10.1109/TSTE.2013.2292828. \n[27] Weiye Zheng, Wenchuan Wu, Boming Zhang, Hongbin Sun, and Yibing Liu. A fully distributed reactive power optimization and control method for active distribution networks. IEEE Transactions on Smart Grid, 7(2):1021–1033, 2016. doi: 10.1109/TSG.2015.2396493. \n[28] Zhiyuan Tang, David J Hill, and Tao Liu. Distributed coordinated reactive power control for voltage regulation in distribution networks. IEEE Transactions on Smart Grid, 12(1):312–323, 2020. \n[29] Hongbin Sun, Qinglai Guo, Junjian Qi, Venkataramana Ajjarapu, Richard Bravo, Joe Chow, Zhengshuo Li, Rohit Moghe, Ehsan Nasr-Azadani, Ujjwol Tamrakar, Glauco N. Taranto, Reinaldo Tonkoski, Gustavo Valverde, Qiuwei Wu, and Guangya Yang. Review of challenges and research opportunities for voltage control in smart grids. IEEE Transactions on Power Systems, 34(4):2790–2801, 2019. doi: 10.1109/TPWRS.2019.2897948. \n[30] Ankit Singhal, Venkataramana Ajjarapu, Jason Fuller, and Jacob Hansen. Real-time local volt/var control under external disturbances with high pv penetration. IEEE Transactions on Smart Grid, 10(4):3849–3859, 2019. doi: 10.1109/TSG.2018.2840965. ",
|
| 970 |
+
"bbox": [
|
| 971 |
+
171,
|
| 972 |
+
176,
|
| 973 |
+
826,
|
| 974 |
+
914
|
| 975 |
+
],
|
| 976 |
+
"page_idx": 10
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"type": "text",
|
| 980 |
+
"text": "",
|
| 981 |
+
"bbox": [
|
| 982 |
+
171,
|
| 983 |
+
64,
|
| 984 |
+
828,
|
| 985 |
+
917
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 11
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "[31] Mehdi Zeraati, Mohamad Esmail Hamedani Golshan, and Josep M Guerrero. Voltage quality improvement in low voltage distribution networks using reactive power capability of singlephase pv inverters. IEEE transactions on smart grid, 10(5):5057–5065, 2018. ",
|
| 992 |
+
"bbox": [
|
| 993 |
+
171,
|
| 994 |
+
90,
|
| 995 |
+
823,
|
| 996 |
+
133
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 12
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "[32] Shengyi Wang, Jiajun Duan, Di Shi, Chunlei Xu, Haifeng Li, Ruisheng Diao, and Zhiwei Wang. A data-driven multi-agent autonomous voltage control framework using deep reinforcement learning. IEEE Transactions on Power Systems, 35(6):4644–4654, 2020. ",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
173,
|
| 1005 |
+
142,
|
| 1006 |
+
821,
|
| 1007 |
+
185
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 12
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "[33] Scott Burger, Jesse D Jenkins, Carlos Batlle López, and José Ignacio Pérez Arriaga. Restructuring revisited: competition and coordination in electricity distribution systems. 2018. ",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
173,
|
| 1016 |
+
194,
|
| 1017 |
+
823,
|
| 1018 |
+
223
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 12
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "[34] Marvin Lerousseau. Design and implementation of an environment for learning to run a power network (l2rpn). arXiv preprint arXiv:2104.04080, 2021. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
173,
|
| 1027 |
+
233,
|
| 1028 |
+
823,
|
| 1029 |
+
262
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 12
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "text",
|
| 1035 |
+
"text": "[35] Robin Henry and Damien Ernst. Gym-anm: Reinforcement learning environments for active network management tasks in electricity distribution systems. Energy and AI, page 100092, 2021. ",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
173,
|
| 1038 |
+
271,
|
| 1039 |
+
826,
|
| 1040 |
+
313
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 12
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "text",
|
| 1046 |
+
"text": "[36] Leon Thurner, Alexander Scheidler, Florian Schäfer, Jan-Hendrik Menke, Julian Dollichon, Friederike Meier, Steffen Meinecke, and Martin Braun. Pandapoweran open-source python tool for convenient modeling, analysis, and optimization of electric power systems. IEEE Transactions on Power Systems, 33(6):6510–6521, 2018. doi: 10.1109/TPWRS.2018.2829021. ",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
174,
|
| 1049 |
+
323,
|
| 1050 |
+
826,
|
| 1051 |
+
380
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 12
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "[37] Steffen Meinecke, Danan Sarajli, Simon Ruben Drauz, Annika Klettke, Lars-Peter Lauven, Christian Rehtanz, Albert Moser, and Martin Braun. Simbencha benchmark dataset of electric power systems to compare innovative solutions based on power flow analysis. Energies, 13(12), 2020. ISSN 1996-1073. URL https://www.mdpi.com/1996-1073/13/12/3290. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
174,
|
| 1060 |
+
388,
|
| 1061 |
+
826,
|
| 1062 |
+
444
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 12
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "[38] Hadi Saadat et al. Power system analysis, volume 2. McGraw-hill, 1999. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
173,
|
| 1071 |
+
453,
|
| 1072 |
+
689,
|
| 1073 |
+
469
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 12
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "[39] Yashodhan P Agalgaonkar, Bikash C Pal, and Rabih A Jabr. Distribution voltage control considering the impact of pv generation on tap changers and autonomous regulators. IEEE Transactions on Power Systems, 29(1):182–192, 2013. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
174,
|
| 1082 |
+
478,
|
| 1083 |
+
825,
|
| 1084 |
+
521
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 12
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "[40] Guangya Yang, Francesco Marra, Miguel Juamperez, Søren Bækhøj Kjær, Seyedmostafa Hashemi, Jacob Østergaard, Hans Henrik Ipsen, and Kenn H. B. Frederiksen. Voltage rise mitigation for solar pv integration at lv grids studies from pvnet. dk. Journal of Modern Power Systems and Clean Energy, 3(3):411–421, 2015. doi: 10.1007/s40565-015-0132-0. ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
174,
|
| 1093 |
+
530,
|
| 1094 |
+
825,
|
| 1095 |
+
587
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 12
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "[41] Antonio Gómez-Expósito, Antonio J Conejo, and Claudio Cañizares. Electric energy systems: analysis and operation. CRC press, 2018. ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
171,
|
| 1104 |
+
595,
|
| 1105 |
+
823,
|
| 1106 |
+
626
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 12
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "[42] Ieee standard for interconnection and interoperability of distributed energy resources with associated electric power systems interfaces. IEEE Std 1547-2018 (Revision of IEEE Std 1547-2003), pages 1–138, 2018. doi: 10.1109/IEEESTD.2018.8332112. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
173,
|
| 1115 |
+
633,
|
| 1116 |
+
825,
|
| 1117 |
+
676
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 12
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "[43] Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. 2016. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
173,
|
| 1126 |
+
685,
|
| 1127 |
+
826,
|
| 1128 |
+
728
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 12
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "[44] M.E. Baran and F.F. Wu. Network reconfiguration in distribution systems for loss reduction and load balancing. IEEE Transactions on Power Delivery, 4(2):1401–1407, 1989. doi: 10.1109/61.25627. ",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
174,
|
| 1137 |
+
738,
|
| 1138 |
+
823,
|
| 1139 |
+
780
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 12
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "[45] H.M. Khodr, F.G. Olsina, P.M. De Oliveira-De Jesus, and J.M. Yusta. Maximum savings approach for location and sizing of capacitors in distribution systems. Electric Power Systems Research, 78(7):1192–1203, 2008. ISSN 0378-7796. doi: https://doi.org/10.1016/ j.epsr.2007.10.002. URL https://www.sciencedirect.com/science/article/pii/ S0378779607002143. ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
174,
|
| 1148 |
+
790,
|
| 1149 |
+
826,
|
| 1150 |
+
859
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 12
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "[46] Ray Daniel Zimmerman, Carlos Edmundo Murillo-Sánchez, and Robert John Thomas. Matpower: Steady-state operations, planning, and analysis tools for power systems research and education. IEEE Transactions on power systems, 26(1):12–19, 2010. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
174,
|
| 1159 |
+
869,
|
| 1160 |
+
826,
|
| 1161 |
+
911
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 12
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "[47] Rajiv K. Varma and Ehsan M. Siavashi. Pv-statcom: A new smart inverter for voltage control in distribution systems. IEEE Transactions on Sustainable Energy, 9(4):1681–1691, 2018. doi: 10.1109/TSTE.2018.2808601. \n[48] Jianhong Wang, Yuan Zhang, Tae-Kyun Kim, and Yunjie Gu. Shapley q-value: A local reward approach to solve global reward games. Proceedings of the AAAI Conference on Artificial Intelligence, 34(05):72857292, Apr 2020. \n[49] Ryan Lowe, Yi Wu, Aviv Tamar, Jean Harb, Pieter Abbeel, and Igor Mordatch. Multi-agent actor-critic for mixed cooperative-competitive environments. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 6379–6390, 2017. \n[50] Jakob N Foerster, Gregory Farquhar, Triantafyllos Afouras, Nantas Nardelli, and Shimon Whiteson. Counterfactual multi-agent policy gradients. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018. \n[51] Johannes Ackermann, Volker Gabler, Takayuki Osa, and Masashi Sugiyama. Reducing overestimation bias in multi-agent domains using double centralized critics. arXiv preprint arXiv:1910.01465, 2019. \n[52] Ermo Wei and Sean Luke. Lenient learning in independent-learner stochastic cooperative games. The Journal of Machine Learning Research, 17(1):2914–2955, 2016. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
169,
|
| 1170 |
+
88,
|
| 1171 |
+
826,
|
| 1172 |
+
420
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 13
|
| 1175 |
+
}
|
| 1176 |
+
]
|
parse/train/hwoK62_GkiT/hwoK62_GkiT_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/hwoK62_GkiT/hwoK62_GkiT_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/i7aMbliTkHs/i7aMbliTkHs.md
ADDED
|
@@ -0,0 +1,352 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TAM: TEMPORAL ADAPTIVE MODULE FOR VIDEO RECOGNITION
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Video data is with complex temporal dynamics due to various factors such as camera motion, speed variation, and different activities. To effectively capture this diverse motion pattern, this paper presents a new temporal adaptive module (TAM) to generate video-specific temporal kernels based on its own feature maps. TAM proposes a unique two-level adaptive modeling scheme by decoupling dynamic kernel into a location sensitive importance map and a location invariant aggregation weight. The importance map is learned in a local temporal window to capture short term information, while the aggregation weight is generated from a global view with a focus on long-term structure. TAM is a principled module and could be integrated into 2D CNNs to yield a powerful video architecture (TANet) with a very small extra computational cost. The extensive experiments on Kinetics400 and Something-Something datasets demonstrate that the TAM outperforms other temporal modeling methods consistently, and achieves the state-of-the-art performance under the similar complexity.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Deep learning has brought great progress for various recognition tasks in image domain, such as image classification (Krizhevsky et al., 2012; He et al., 2016), object detection (Ren et al., 2017), and instance segmentation (He et al., 2017). The key to these successes is to devise flexible and efficient architectures that are capable of learning powerful visual representations from large-scale image datasets (Deng et al., 2009). However, deep learning research progress in video understanding is relatively more slowly, partially due to the high complexity of video data. The core technical problem in video understanding is to design an effective temporal module, that is expected to be able to capture complex temporal structure with high flexibility, while yet to be of low computational consumption for processing high dimensional video data efficiently.
|
| 12 |
+
|
| 13 |
+
3D Convolutional Neural Networks (3D CNNs) (Ji et al., 2010; Tran et al., 2015) have turned out to be mainstream architectures for video modeling (Carreira & Zisserman, 2017; Feichtenhofer et al., 2019; Tran et al., 2018; Qiu et al., 2017). The 3D convolution is a natural extension over its 2D counterparts and provides a learnable operator for video recognition. However, this simple extension lacks specific consideration about the temporal properties in video data and might as well lead to high computational cost. Therefore, recent methods aim to improve 3D CNNs from two different aspects by combining a lightweight temporal module with 2D CNNs to improve efficiency (e.g., TSN (Wang et al., 2016), TSM (Lin et al., 2019)), or designing a dedicated temporal module to better capture temporal relation (e.g., Nonlocal Net (Wang et al., 2018b), ARTNet (Wang et al., 2018a), STM (Jiang et al., 2019)). However, how to devise a temporal module with high efficiency and strong flexibility still remains to be an unsolved problem in video recognition. Consequently, we aim at advancing the current video architectures along this direction.
|
| 14 |
+
|
| 15 |
+
In this paper, we focus on devising a principled adaptive module to capture temporal information in a more flexible way. In general, we observe that video data is with extremely complex dynamics along the temporal dimension due to factors such as camera motion and various speed. Thus 3D convolutions (temporal convolutions) might lack enough representation power to describe motion diversity by simply employing a fixed number of video invariant kernels. To deal with such complex temporal variations in videos, we argue that adaptive temporal kernels for each video are effective and as well necessary to describe motion patterns. To this end, as shown in Figure 1, we present a two-level adaptive modeling scheme to decompose this video specific temporal kernel into a location sensitive importance map and a location invariant (also video adaptive) aggregation kernel. This unique design allows the location sensitive importance map to focus on enhancing discriminative temporal information from a local view, and enables the location invariant aggregation weights to capture temporal dependencies guided by a global view of the input video sequence.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Temporal module comparison: The standard temporal convolution shares weights among videos and may lack the flexibility to handle video variations due to the diversity of videos. The temporal attention learns position sensitive weights by assigning varied importance for different time without any temporal interaction, and may ignore the long-range temporal dependencies. Our proposed temporal adaptive module (TAM) presents a two-level adaptive scheme by learning the local importance weights for location adaptive enhancement and the global kernel weights for video adaptive aggregation. $\odot$ denotes attention operation, and $\otimes$ denotes convolution operation.
|
| 19 |
+
|
| 20 |
+
Specifically, the design of temporal adaptive module (TAM) strictly follows two principles: high efficiency and strong flexibility. To ensure our TAM with a low computational cost, we first squeeze the feature map by employing a global spatial pooling, and then establish our TAM in a channelwise manner to keep the efficiency. Our TAM is composed of two branches: a local branch $( \mathcal { L } )$ and a global branch $( { \mathcal { G } } )$ . As shown in Fig. 2, TAM is implemented in an efficient way. The local branch employs temporal convolutions to produce the location sensitive importance maps to discriminate the local feature, while the global branch uses fully connected layers to produce the location invariant kernel for temporal aggregation. The importance map generated by a local temporal window focuses on short-term motion modeling and the aggregation kernel using a global view pays more attention to the long-term temporal information. Furthermore, our TAM could be flexibly plugged into the existing 2D CNNs to yield an efficient video recognition architecture, termed as TANet.
|
| 21 |
+
|
| 22 |
+
We validate the proposed TANet on the task of action classification in video recognition. Particularly, we first study the performance of the TANet on the Kinetics-400 dataset. We demonstrate that our TAM is better at capturing temporal information than other several counterparts, such as temporal pooling, temporal convolution, TSM (Lin et al., 2019), and Non-local block (Wang et al., 2018b). Our TANet is able to yield a very competitive accuracy with the FLOPs similar to 2D CNNs. We further test our TANet on the motion dominated dataset of Something-Something, where the state-of-the-art performance is also achieved.
|
| 23 |
+
|
| 24 |
+
# 2 RELATED WORKS
|
| 25 |
+
|
| 26 |
+
Video understanding is a core topic in the field of computer vision. At early stage, a lot of traditional methods (Le et al., 2011; Klaser et al., 2008; Sadanand & Corso, 2012; Willems et al., 2008) have ¨ designed various hand-crafted features to encode the video data, but these methods are too inflexible when generalized to other video tasks. Recently, since the rapid development of video understanding has been much benefited from deep learning methods (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015; He et al., 2016), especially in video recognition, a series of CNNs-based methods were proposed to learn spatiotemporal representation, and the differences with our method will be clarified later. Furthermore, our work also relates to dynamic convolution and attention in CNNs.
|
| 27 |
+
|
| 28 |
+
CNNs-based Methods for Action Recognition. Since the deep learning method has been wildly used in the image tasks, there are many attempts (Karpathy et al., 2014; Simonyan & Zisserman, 2014; Wang et al., 2016; Zhou et al., 2018; He et al., 2019; Lin et al., 2019) based on 2D CNNs devoted to modeling the video clips. In particular, Wang et al. (2016) used the frames sparsely sampled from the whole video to learn the long-range information by aggregating scores after the last fully-connected layer. Lin et al. (2019) shifted the channels along the temporal dimension in an efficient way, which yields a good performance with 2D CNNs. By a simple extension from spatial domain to spatiotemporal domain, 3D convolution (Ji et al., 2010; Tran et al., 2015) was proposed to capture the motion information encoded in video clips. Due to the release of large-scale Kinetics dataset (Kay et al., 2017), 3D CNNs (Carreira & Zisserman, 2017) were wildly used in action recognition. Its variants (Qiu et al., 2017; Tran et al., 2018; Xie et al., 2018) decomposed the 3D convolution into a spatial 2D convolution and a temporal 1D convolution to learn the spatiotemporal features. And Feichtenhofer et al. (2019) designed a network with dual paths to learn the spatiotemporal features and achieved a promising accuracy in video understanding.
|
| 29 |
+
|
| 30 |
+
The methods aforementioned all share a common insight that they are video invariant and ignore the inherent temporal diversities in videos. As opposed to these methods, we design a two-level adaptive modeling scheme by decomposing the video specific operation into a location sensitive excitation and a location invariant convolution with adaptive kernel for each video clip.
|
| 31 |
+
|
| 32 |
+
Attention in Action Recognition. The local branch in TAM mostly relates to SENet (Hu et al., 2018). But the SENet learned modulation weights for each channel of feature maps. Several methods (Liu et al., 2019b; Diba et al., 2018) also resorted to the attention to learn more discriminative features in videos. Different from these methods, the local branch keeps the temporal information to learn the location sensitive importances. Wang et al. (2018b) designed a non-local block which can be seen as self-attention to capture long-range dependencies. Our TANet captures the long-range dependencies by simply stacking more TAM, and keep the efficiency of networks.
|
| 33 |
+
|
| 34 |
+
Dynamic Convolutions. Jia et al. (2016) first proposed the dynamic filters on the tasks of video and stereo prediction, and designed a convolutional encoder-decoder as filter-generating network. Several works (Yang et al., 2019; Chen et al., 2020) in image tasks attempted to generate aggregation weights for a set of convolutional kernels, and then produce a dynamic kernel. Our motivation are different from these methods. We aim to use this temporal adaptive module to deal with temporal variations in videos. Specifically, we design an efficient form to implement this temporal dynamic kernel based on input feature maps, which is critical for understanding the video content.
|
| 35 |
+
|
| 36 |
+
# 3 METHOD
|
| 37 |
+
|
| 38 |
+
# 3.1 THE OVERVIEW OF TEMPORAL ADAPTIVE MODULE
|
| 39 |
+
|
| 40 |
+
As we discussed in Sec.1, video data typically exhibit the complex temporal dynamics caused by many factors such as camera motion and speed variations. Therefore, we aim to tackle this issue by introducing a temporal adaptive module (TAM) with video specific kernels, unlike the sharing convolutional kernel in 3D CNNs. our TAM could be easily integrated into the existing 2D CNNs (e.g., ResNet) to yield a video network architecture, as shown in Figure 2. We will give an overview of TAM and then describe its technical details.
|
| 41 |
+
|
| 42 |
+
Formally, let $X \in \mathbb { R } ^ { C \times T \times H \times W }$ denote the feature maps for a video clip, where $C$ represents the number of channels, and $T , H , W$ are its spatiotemporal dimensions. For efficiency, our TAM only focus on temporal modeling and the spatial pattern is expected to captured by 2D convolutions. Therefore, we first employ a global spatial average pooling to squeeze the feature map as follows:
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
\hat { X } _ { c , t } = \phi ( X ) _ { c , t } = \frac { 1 } { H \times W } \sum _ { i , j } X _ { c , t , j , i } ,
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
where $c , t , j , i$ is the index of different dimensions (in channel, time, height and width), and $\hat { X } \in$ $\mathbb { R } ^ { C \times T }$ aggregates the spatial information of $X$ . For simplicity, we here use $\phi$ to denote the function that aggregates the spatial information. Our proposed temporal adaptive module is established based on this squeezed 1D temporal signal for a high efficiency.
|
| 49 |
+
|
| 50 |
+

|
| 51 |
+
Figure 2: The overall architecture of TANet: ResNet-Block vs. TA-Block. The whole workflow of temporal adaptive module (TAM) in the lower right shows how it works. The shape of tensor has noted after each step. $\oplus$ denotes element-wise addition, $\odot$ denotes element-wise multiplication, and $\otimes$ denotes convolution operator. The symbols appeared in figure will be explained in Sec. 3.1
|
| 52 |
+
|
| 53 |
+
Our TAM is composed of two branches: a local branch $\mathcal { L }$ and a global branch $\mathcal { G }$ , which aims to learn a location sensitive importance map to enhance discriminative features and then produces the location invariant weights to adaptively aggregate temporal information in a convolutional manner. More specifically, the TAM is formulated as follows:
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
Y = { \mathcal { G } } ( X ) \otimes ( { \mathcal { L } } ( X ) \odot X ) ,
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
where $\otimes$ denotes convolutional operator and $\odot$ denotes element-wise multiplication. It is worth noting that these two branches focus on different aspects of temporal information, where the local branch tries to capture the short term information to attend important features by using a temporal convolution, while the global branch aims to incorporate long-range temporal structure to guide adaptive temporal aggregation with fully connected layers. Disentangling kernel learning procedures into local and global branches turns out to be an effective way in experiments. The two branches will be introduced in the following sections.
|
| 60 |
+
|
| 61 |
+
# 3.2 LOCAL BRANCH IN TAM
|
| 62 |
+
|
| 63 |
+
As discussed above, the local branch is location sensitive and aims to leverage short-term temporal dynamics to perform video specific operation. Given that the short-term information varies slowly along the temporal dimension, it is thus required to learn a location sensitive importance map to discriminate the local temporal semantics.
|
| 64 |
+
|
| 65 |
+
As shown in Figure 2, we build the local branch with a sequence of temporal convolutional layers with ReLU non-linearity As the goal of local branch is to capture short term information, we set the kernel size $K$ as 3 to learn importance map solely based on a local temporal window. To control the model complexity, the first Conv1D followed by BN (Ioffe & Szegedy, 2015) reduces the number of channels from $C$ to $\frac { C } { \beta }$ . Then, the second Conv1D with a sigmoid activation yields the importance weights $V \in \mathbb { R } ^ { C \times T ^ { \stackrel { r } { } } }$ which are sensitive to temporal location. Finally, the temporal excitation is formulated as follows:
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
Z = \operatorname { F } _ { \mathrm { r e s c a l e } } ( V ) \odot X = { \mathcal { L } } ( X ) \odot X ,
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
where $\odot$ denotes the element-wise multiplication and $Z ~ \in ~ \mathbb { R } ^ { C \times T \times H \times W }$ . To match size of $X$ , $\mathrm { F } _ { \mathrm { r e s c a l e } } ( V )$ rescales the $V$ to $\hat { V } \in \mathbb { R } ^ { C \times T \times H \times W }$ by replicating in spatial dimension.
|
| 72 |
+
|
| 73 |
+
# 3.3 GLOBAL BRANCH IN TAM
|
| 74 |
+
|
| 75 |
+
The global branch, also termed as location invariant branch, focuses on generating an adaptive kernel based on long-term temporal information. It incorporates global context information and learns to produce the location invariant and also video adaptive convolution kernel for dynamic aggregation.
|
| 76 |
+
|
| 77 |
+
Learning the Adaptive Kernels. We here opt to generate the dynamic kernel for each video clip and aggregate temporal information in a convolutional manner. To simply this procedure and as well as preserve high efficiency, The adaptive convolution will be applied in a channel-wise manner. In this sense, we expect our learned adaptive kernel only considers the temporal relations without taking channel correlation into account. Thus, our TAM would not change the number of channels of input feature maps, and the learned adaptive kernel convolves the input feature maps in a channel-wise manner. More formally, for the $c ^ { t h }$ channel, the adaptive kernel is learned as follows:
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\begin{array} { r } { \Theta _ { c } = \mathcal { G } ( X ) _ { c } = \operatorname { s o f t m a x } ( \mathcal { F } ( \mathbf { W _ { 2 } } , \delta ( \mathcal { F } ( \mathbf { W _ { 1 } } , \phi ( X ) _ { c } ) ) ) ) , } \end{array}
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
where $\Theta _ { c } \in \mathcal { R } ^ { K }$ is generated adaptive kernel (aggregation weights) for $c ^ { t h }$ channel, $K$ is the adaptive kernel size, $\delta$ denotes the activation function $R e L U$ . The adaptive kernel is also learned based on the squeezed feature map $\hat { X } _ { c } \in \mathbb { R } ^ { T }$ without taking the spatial structure into account for modeling efficiency. But different with the local branch, we use fully connected $( f c )$ layers $\mathcal { F }$ to learn the adaptive kernel by leveraging long-term information. The learned adaptive kernel with the global receptive field, thus could aggregate temporal features guided by the global context. To increase the modeling capabilities of the global branch, we stack two $f c$ layers and the learned kernel is normalized with a softmax function to yield a positive aggregation weight. The learned aggregation weights $\boldsymbol { \Theta } = \{ \Theta _ { 1 } , \Theta _ { 2 } , . . . , \Theta _ { C } \}$ will be employed to perform video adaptive convolution.
|
| 84 |
+
|
| 85 |
+
Temporal Adaptive Aggregation. Before introducing the adaptive aggregation, we can look back on how a vanilla temporal convolution aggregates the spatio-temporal visual information:
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
Y = W \otimes X ,
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
Where $W$ is the weights of convolution kernel and has no concern with input video samples in inference. We argue this fashion ignores the temporal dynamics in videos, and thus propose a video adaptive aggregation to model video clips:
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
Y = { \mathcal { G } } ( X ) \otimes X ,
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
where $\mathcal { G }$ can be seen as a kernel generator function. Kernel generated by $\mathcal { G }$ can perform adaptive convolution, but is still location invariant and shared cross temporal dimension. To address this issue, the local branch produces $Z$ with location sensitive importance map. The whole procedures can be expressed as follows:
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
Y _ { c , t , j , i } = \mathcal { G } ( X ) \otimes Z = \Theta \otimes Z = \sum _ { k } \Theta _ { c , k } \cdot Z _ { c , t + k , j , i } ,
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
where $\cdot$ denotes the scalar multiplication, $Y \in \mathbb { R } ^ { C \times T \times H \times W }$ is the output feature maps.
|
| 104 |
+
|
| 105 |
+
In summary, TAM presents an adaptive module with a unique two-step aggregation scheme, where the location sensitive excitation and location invariant aggregation all derive from input features, but focus on capturing different structures (i.e., short-term and long-term temporal structure).
|
| 106 |
+
|
| 107 |
+
# 3.4 EXEMPLAR: TANET
|
| 108 |
+
|
| 109 |
+
We here intend to describe how to instantiate the TANet. Temporal adaptive module as a novel temporal modeling method can endow the existing 2D CNNs with a strong ability to model different temporal structures in video clips. In practice, TAM only causes limited computing overhead, but obviously improves the performance on different types of datasets.
|
| 110 |
+
|
| 111 |
+
ResNets (He et al., 2016) are employed as backbones to verify the effectiveness of TAM. As illustrated in Fig. 2, the TAM is embedded into ResNet-Block after the first Conv2D, which easily turns the vanilla ResNet-Block into TA-Block. This fashion will not excessively alter the topology of networks and can reuse the weights of ResNet-Block. Supposing we sample T frames as an input clip, the scores of T frames after $f c$ will be aggregated by average pooling to yield the clip-level scores. No temporal downsampling is performed before $f c$ layer. The extensive experiments are conducted in Sec. 4 to demonstrate the flexibility and efficacy of TANet.
|
| 112 |
+
|
| 113 |
+
# 3.4.1 DISCUSSIONS
|
| 114 |
+
|
| 115 |
+
We have noticed that the structure of local branch is similar to the SENet (Hu et al., 2018) and STC (Diba et al., 2018). The first obvious difference is our local branch does not squeeze the temporal information. We thus use temporal 1D convolution as a basic layer, instead of using $f c$ layer. Two-layer design only seeks to make a trade-off between non-linear fitting capability and model complexity. Furthermore, the local branch provides the location sensitive information, and thus addresses the issue that the global branch is insensitive to temporal location.
|
| 116 |
+
|
| 117 |
+
TSN (Wang et al., 2016), TSM (Lin et al., 2019), etc. only aggregate the temporal features with a fixed scheme, but our TAM can yield the video specific weights to adaptively aggregate the temporal features in different stages. In the extreme cases, our global branch in TAM can degenerate into TSN when dynamic kernel weights $\Theta$ is learned to equal to $[ 0 , 1 , 0 ]$ . From another perspective, if the kernel weights $\Theta$ is set to $[ 1 , 0 , 0 ]$ or $[ 0 , 0 , 1 ]$ , global branch can be turned into TSM. It seems that our TAM theoretically provides a more general and flexible form to model the video data. When it refers to 3D convolution (Ji et al., 2010), all input samples share the same convolution kernel without being aware of the temporal diversities in videos as well. In addition, our global branch essentially performs a video adaptive convolution whose filter has size $1 \times k \times 1 \times 1$ , while each filter in a normal 3D convolution has size $C \times k \times k \times k$ , where $C$ is the number of channels and $\mathbf { k }$ denotes the receptive field. Thus our method is more efficient than 3D CNNs. Unlike some current dynamic convolution (Chen et al., 2020; Yang et al., 2019), TAM is more flexible, and can directly generate the kernel weights to perform video adaptive convolution.
|
| 118 |
+
|
| 119 |
+
# 4 EXPERIMENTS
|
| 120 |
+
|
| 121 |
+
In this section, we elaborately study the effectiveness of TANet on several standard benchmarks.
|
| 122 |
+
The training recipe and inference protocol is described in Appendix (A.1).
|
| 123 |
+
|
| 124 |
+
# 4.1 DATASETS
|
| 125 |
+
|
| 126 |
+
Our experiments are conducted on three large scale datasets, namely, Kinetics-400 (Kay et al., 2017) and Something-Something (Sth-Sth) V1&V2 (Goyal et al., 2017). Kinetics-400 contains ${ \sim } 3 0 0 \mathrm { k }$ video clips with 400 human action categories. The videos in Kinetics-400, trimmed from raw YouTube videos, are around 10s. We here train models on training set ${ \sim } 2 4 0 \mathrm { k }$ video clips), and test models on validation set ( ${ \sim } 2 0 \mathrm { k }$ video clips). The Sth-Sth datasets focus on fine-grained action, which contains a series of pre-defined basic actions interacted with daily objects. The Sth-Sth V1 comprises ${ \sim } 8 6 \mathrm { k }$ video clips in training set and ${ \sim } 1 2 \mathrm { k }$ video clips in validation set. Sth-Sth V2 is an updated version of Sth-Sth V1, which contains ${ \sim } 1 6 9 \mathrm { k }$ video clips in training set and ${ \sim } 2 5 \mathrm { k }$ video clips in validation set. They both have 174 action categories.
|
| 127 |
+
|
| 128 |
+
# 4.2 EXPLORATION STUDIES ON KINETICS-400
|
| 129 |
+
|
| 130 |
+
The exploration studies are performed on Kinetics-400 to investigate different aspects of TANet. The ResNet architecture we used is the same with He et al. (2016). Our TANet replaces all ResNetBlocks with TA-Blocks by default.
|
| 131 |
+
|
| 132 |
+
Table 1: Ablation studies on Kinetics-400. All models use ResNet50 as backbone.
|
| 133 |
+
(a) Studying on parameter choices of $\alpha$ and $\beta$ .
|
| 134 |
+
|
| 135 |
+
<table><tr><td>seting</td><td>Frames</td><td>Top-1</td><td>Top-5</td></tr><tr><td>α=1,β=4</td><td>8</td><td>75.63%</td><td>92.10%</td></tr><tr><td>α=2, β=4</td><td>8</td><td>76.09%</td><td>92.30%</td></tr><tr><td>α=4, β=4</td><td>8</td><td>75.72%</td><td>92.14%</td></tr><tr><td>a=2, β=2</td><td>8</td><td>75.91%</td><td>92.38%</td></tr><tr><td>Q=2, β=4</td><td>8</td><td>76.09%</td><td>92.30%</td></tr><tr><td>α=2,β=8</td><td>8</td><td>75.63%</td><td>92.20%</td></tr></table>
|
| 136 |
+
|
| 137 |
+
(b) Trying larger temporal receptive fields of $\Theta$ .
|
| 138 |
+
|
| 139 |
+
<table><tr><td>Kernel</td><td>Frames</td><td>Top-1</td><td>Top-5</td></tr><tr><td>K=3</td><td>8</td><td>76.09%</td><td>92.30%</td></tr><tr><td>K=5</td><td>8</td><td>75.62%</td><td>92.14%</td></tr><tr><td>K=3</td><td>16</td><td>76.87%</td><td>92.88%</td></tr><tr><td>K=5</td><td>16</td><td>77.19%</td><td>93.17%</td></tr></table>
|
| 140 |
+
|
| 141 |
+
Table 2: Study on the effectiveness of TAM. All models use ResNet50 as backbone and take 8 frames with sampling stride 8 as inputs. To be consistent with testing, the FLOPs are calculated with spatial size $2 5 6 \times 2 5 6$ . All methods share the same training setting and inference protocol.
|
| 142 |
+
|
| 143 |
+
<table><tr><td>Models</td><td>FLOPs (of single view)</td><td>Params</td><td>Top-1</td><td>Top-5</td></tr><tr><td>C2D</td><td>42.95G</td><td>24.33M</td><td>70.2%</td><td>88.9%</td></tr><tr><td>C2D-Pool</td><td>42.95G</td><td>24.33M</td><td>73.1%</td><td>90.6%</td></tr><tr><td>C2D-TConv</td><td>53.02G</td><td>28.10M</td><td>73.3%</td><td>90.7%</td></tr><tr><td>TSM (Lin et al., 2019)</td><td>42.95G</td><td>24.33M</td><td>74.1%</td><td>91.2%</td></tr><tr><td>TEINet (Liu et al.,2019b)</td><td>43.01G</td><td>25.11M</td><td>74.9%</td><td>91.8%</td></tr><tr><td>I3D3×1×1 (Wang et al.,2018b)</td><td>62.55G</td><td>32.99M</td><td>74.3%</td><td>91.6%</td></tr><tr><td>NL C2D (Wang et al.,2018b)</td><td>64.49G</td><td>31.69M</td><td>74.4%</td><td>91.5%</td></tr><tr><td>Global branch</td><td>43.00G</td><td>24.33M</td><td>74.9%</td><td>91.7%</td></tr><tr><td>Local branch</td><td>43.00G</td><td>25.59M</td><td>73.3%</td><td>90.7%</td></tr><tr><td>Global branch + SE (Hu et al.,2018)</td><td>43.02G</td><td>24.65M</td><td>75.4%</td><td>92.0%</td></tr><tr><td>TANet-R</td><td>43.02G</td><td>25.59M</td><td>76.0%</td><td>92.2%</td></tr><tr><td>TANet</td><td>43.02G</td><td>25.59M</td><td>76.1%</td><td>92.3%</td></tr></table>
|
| 144 |
+
|
| 145 |
+
Parameter choices. We use different combinations of $\alpha$ and $\beta$ to figure out the optimal hyperparameters in TAM. The TANet is instantiated as in Fig. 2. TANet with $\alpha = 2$ and $\beta = 4$ achieves the highest performance shown in Table 1a, which will be applied in following experiments.
|
| 146 |
+
|
| 147 |
+
Temporal receptive fields. We also try to increase the temporal receptive fields for learned kernel $\Theta$ in the global branch. From the Table 1b, it seems the larger $K$ is beneficial to the accuracy when TANet takes more sampled frames as inputs. On the other hand, it even degenerates the performance of TANet when sampling 8 frames. In our following experiments, the $K$ will be set to 3.
|
| 148 |
+
|
| 149 |
+
The results in Table 1 have revealed that our TANet is insensitive to these Hyper-parameters, which can save a lot of time to find optimal settings in practice. We also provide other more exploration studies in Appendix (A.2), and show how these hyper-parameters impact the performance of TANet.
|
| 150 |
+
|
| 151 |
+
# 4.3 COMPARISON WITH OTHER TEMPORAL MODULES
|
| 152 |
+
|
| 153 |
+
As a principled temporal operator, we intend to describe its competitive counterparts and then make fair comparisons with TAM in Table 2. The optimal configurations studied in Sec. 4.2 will be employed in the following experiments. The default inference protocol samples 10 clips $\times 3$ crops to evaluate the performance of each model.
|
| 154 |
+
|
| 155 |
+
2D ConvNet (C2D). We use ResNet50 as backbone to build 2D ConvNet. The 2D ConvNet focuses on learning the spatial clues, which operates on each frame independently without any temporal interaction before the last $f c$ layer.
|
| 156 |
+
|
| 157 |
+
C2D-Pool. To probe into the impacts of temporal fusion, C2D-Pool utilizes the average pooling layer whose kernel size is $K \times 1 \times 1$ to perform temporal fusion without any temporal downsampling, which can be built by easily replacing all TAMs in network with pooling layers.
|
| 158 |
+
|
| 159 |
+
C2D-TConv. We also replace each TAM with a standard temporal convolution, and this comparison is able to demonstrate the importance of adaptive modeling in temporal aggregation.
|
| 160 |
+
|
| 161 |
+
Table 3: Extending to other backbones. All models share the same inference protocol, e.g., 10 clips $\times 3$ crops.
|
| 162 |
+
|
| 163 |
+
<table><tr><td rowspan="2">Models</td><td colspan="2">ShuffleNet V2</td><td colspan="2">MobileNet V2</td><td colspan="2">Inception V3</td><td colspan="2">ResNet-50</td><td colspan="2">ResNext-50</td></tr><tr><td>Top-1</td><td>Top-5</td><td>Top-1</td><td>Top-5</td><td>Top-1</td><td>Top-5</td><td>Top-1</td><td>Top-5</td><td>Top-1</td><td>Top-5</td></tr><tr><td>w/o TAM</td><td>62.1%</td><td>84.3%</td><td>64.1%</td><td>85.6%</td><td>71.4%</td><td>89.8%</td><td>70.7%</td><td>88.9%</td><td>70.1%</td><td>88.8%</td></tr><tr><td>with TAM</td><td>67.3%</td><td>87.6%</td><td>71.6%</td><td>90.1%</td><td>75.6%</td><td>92.0%</td><td>76.1%</td><td>92.3%</td><td>76.4%</td><td>92.0%</td></tr><tr><td>△Acc.</td><td>+ 5.2%</td><td>+ 3.3%</td><td>+ 7.5%</td><td>+ 4.5%</td><td>+ 4.2%</td><td>+ 2.2%</td><td>+ 5.4%</td><td>+ 3.4%</td><td>+ 6.3%</td><td>+3.2%</td></tr></table>
|
| 164 |
+
|
| 165 |
+
There are some competitive methods based on C2D, i.e., TSM (Lin et al., 2019) and TEINet (Liu et al., 2019b). The new methods focus on designing a lightweight temporal module and can be inserted into the 2D CNN for efficiently capturing temporal information.
|
| 166 |
+
|
| 167 |
+
Inflated 3D ConvNet (I3D). I3D (Carreira & Zisserman, 2017) is most frequently used models in action recognition. In our implementation, we inflate the first $1 \times 1$ kernel in ResNet-Block to $3 \times 1 \times 1$ , which can provide more fair comparisons with our TANet. Following the (Wang et al., 2018b), we use $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ to denote this variant.
|
| 168 |
+
|
| 169 |
+
The aforementioned methods share the same temporal modeling scheme with a fixed pooling or convolution operation. As shown in Table 2, our method yield a superior performance that higher than C2D by $5 . 9 \%$ accuracy, and even outperforms $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ $7 6 . 1 \%$ vs. $7 4 . 3 \%$ ), which exhibits the fixed schemes for modeling videos may be insufficient to learn the temporal clues. As the extra convolutions in C2D-TConv might destroy the ImageNet pretrained weights, C2D-TConv even achieves a degenerated performance compared with $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ . In addition, compared with other temporal counterparts in video recognition, TANet only brings a small portion of FLOPs and parameters.
|
| 170 |
+
|
| 171 |
+
Non-local C2D (NL C2D). The non-local block was proposed to capture the long-range dependencies in videos. The preferable settings with 5 non-local blocks mentioned in (Wang et al., 2018b) are employed to compare with TANet. As seen in Table 2, TANet achieves higher accuracy than NL C2D $7 6 . 1 \%$ vs. $7 4 . 4 \%$ ). In addition, TANet is more efficient than NL C2D. TANet only has 43G FLOPs of single view and 25.6M parameters.
|
| 172 |
+
|
| 173 |
+
To study the each part of temporal adaptive module, we separately validate the Global branch and Local branch. Furthermore, Global branch $\mathbf { \mu } + \mathbf { S E }$ uses global branch with SE module (Hu et al., 2018) to compare with TANet, which can prove the complementarity of local branch and global branch. TANet has achieved the highest accuracy among these models, which proves the efficacy of each part of TAM and as well as the strong complementarity between local branch and global branch. As opposed to Equ. 2, TANet-R combines the global and local branch in reverse order:
|
| 174 |
+
|
| 175 |
+
$$
|
| 176 |
+
Y = { \mathcal { L } } ( X ) \odot ( { \mathcal { G } } ( X ) \otimes X ) ,
|
| 177 |
+
$$
|
| 178 |
+
|
| 179 |
+
We found TANet is slightly better than TANet-R.
|
| 180 |
+
|
| 181 |
+
Generalization to other Backbones. One critical issue that we need to figure out is the generalization of our proposed method extending to other backbone networks. To this end, we extend the TAM from ResNet to other well known classification backbones, like ShuffleNet V2 (Ma et al., 2018), MobileNet V2 (Sandler et al., 2018), Inception V3 (Szegedy et al., 2016) and ResNeXt50 (Xie et al., 2017). From the Table 3, we can observe that the backbone networks equipped with our TAM outperform their C2D baselines by a large margin, which strongly exhibits the powerful generalization as well as the huge potential of our temporal adaptive module.
|
| 182 |
+
|
| 183 |
+
# 4.4 COMPARISONS WITH THE STATE OF THE ART
|
| 184 |
+
|
| 185 |
+
Comparisons on Kinetics-400. Table 4 shows the state-of-the-art results on Kinetics-400. Our method, as an adaptive modeling scheme, has achieved competitive performance compared with other models. TANet-50 with 8-frame also outperforms SlowFast (Feichtenhofer et al., 2019) by $0 . 5 \%$ when using similar FLOPs per view. The 16-frame TANet only uses 4 clips and 3 crops for evaluation such that it provides higher inference efficiency and more fair comparisons with other models. It is worth noting that our 16-frame TANet-50 is still more accurate than 32-frame NL I3D by $2 . 2 \%$ . As ip-CSN (Tran et al., 2019) is pretrained on Sports-1M (Karpathy et al., 2014), it also achieves the promising accuracy with deeper backbone, i.e., ResNet152. Furthermore, TAM is compatible with existing video frameworks like SlowFast. Specifically, our TAM is more lightweight than $3 \times 1 \times 1$ convolution when taking the same number of frames as inputs, but yields a better performance. TAM thus can easily replace the $3 \times 1 \times 1$ convolution in SlowFast to achieve higher accuracy with lower computational costs. It seems that X3D has achieved a great success in video recognition. In other ways, X3D was searched by massive computing resource and can not be easily obtained in any situation. Although our method does not beat all state-of-the-art methods equipped with deeper networks, TAM as a lightweight operator can enjoy the benefits from more powerful backbones and video frameworks. In general, the proposed TANet makes a good practice on adaptively modeling the temporal relations in videos.
|
| 186 |
+
|
| 187 |
+
Table 4: Comparisons with the state-of-the-art methods on Kinetics-400. As described in Feichtenhofer et al. (2019), the GFLOPs (of a single view) $\times$ the number of views (temporal clips with spatial crops) represents the model complexity. The GFLOPs are calculated with spatial size $2 5 6 \times 2 5 6$ . The models in gray rows represent it is unjust to directly compare with our method.
|
| 188 |
+
|
| 189 |
+
<table><tr><td>Methods</td><td>Backbones</td><td>Training Input</td><td>GFLOPs×views</td><td>Top-1</td><td>Top-5</td></tr><tr><td>TSN (Wang et al., 2016)</td><td>InceptionV3</td><td>3×224×224</td><td>3×250</td><td>72.5%</td><td>90.2%</td></tr><tr><td>ARTNet (Wang et al.,2018a)</td><td>ResNet18</td><td>16 ×112×112</td><td>23.5×250</td><td>70.7%</td><td>89.3%</td></tr><tr><td>S3D-G (Xie et al.,2018)</td><td>InceptionV1</td><td>64×224×224</td><td>71×30</td><td>74.7%</td><td>93.4%</td></tr><tr><td>I3D (Carreira & Zisserman, 2017)</td><td>InceptionV1</td><td>64×224×224</td><td>108×N/A</td><td>72.1%</td><td>90.3%</td></tr><tr><td>R(2+1)D(Tran et al.,2018)</td><td>ResNet34</td><td>32×112×112</td><td>152×10</td><td>74.3%</td><td>91.4%</td></tr><tr><td>NL I3D (Wang et al., 2018b)</td><td>ResNet50</td><td>32×224×224</td><td>N/A</td><td>74.9%</td><td>91.6%</td></tr><tr><td>NL I3D (Wang et al.,2018b)</td><td>ResNet50</td><td>128×224×224</td><td>282×30</td><td>76.5%</td><td>92.6%</td></tr><tr><td>ip-CSN (Tran et al., 2019)</td><td>ResNet50</td><td>8×224×224</td><td>1.2×10</td><td>70.8%</td><td>-%</td></tr><tr><td>TSM (Lin et al., 2019)</td><td>ResNet50</td><td>16×224×224</td><td>65×30</td><td>74.7%</td><td>91.4%</td></tr><tr><td>TEINet (Liu et al.,2019b)</td><td>ResNet50</td><td>16×224×224</td><td>86×30</td><td>76.2%</td><td>92.5%</td></tr><tr><td>bLVNet-TAM-24×2</td><td>bLResNet50</td><td>48×224×224</td><td>93×9</td><td>73.5%</td><td>91.2%</td></tr><tr><td>SlowOnly (Feichtenhofer et al.,2019)</td><td>ResNet50</td><td>8×224×224</td><td>42×30</td><td>74.8%</td><td>91.6%</td></tr><tr><td>SlowFast (Feichtenhofer et al., 2019)</td><td>ResNet50</td><td>(4+32)×224×224</td><td>36×30</td><td>75.6%</td><td>92.1%</td></tr><tr><td>TANet-50</td><td>ResNet50</td><td>8×224×224</td><td>43×30</td><td>76.1%</td><td>92.3%</td></tr><tr><td>TANet-50</td><td>ResNet50</td><td>16×224×224</td><td>86×12</td><td>76.9%</td><td>92.9%</td></tr><tr><td>X3D-XL (Feichtenhofer,2020)</td><td></td><td>16×312x312</td><td>48×30</td><td>79.1%</td><td>93.9%</td></tr><tr><td>ip-CSN (Tran et al., 2019)</td><td>ResNet152</td><td>32 ×224×224</td><td>83×30</td><td>79.2%</td><td>93.8%</td></tr><tr><td>SlowFast+NL (Feichtenhofer et al., 2019)</td><td>ResNet101</td><td>(16+64)×224×224</td><td>234×30</td><td>79.8%</td><td>93.9%</td></tr></table>
|
| 190 |
+
|
| 191 |
+
More Results and Analysis. The results on Sth-Sth V1 & V2 is presented in Appendix (A.3) in which TAM also achieves a competitive performance compared with other methods. To have more intuitive understandings of temporal adaptive module, we also visualize the learned kernels in Appendix (A.4), which are expected to provide more insights for TAM. As shown in Figure 4, the diversities in our learned kernels have shown that the complex dynamics are indeed existing in videos, and learning temporal clues in an adaptive scheme has proven to be effective yet reasonable.
|
| 192 |
+
|
| 193 |
+
# 5 CONCLUSION
|
| 194 |
+
|
| 195 |
+
In this paper, we have presented a novel temporal modeling operator, i.e., temporal adaptive module (TAM), to capture complex motion information in videos and built a powerful video architecture (TANet). Our TAM is able to yield a video-specific kernels with the combination of a local importance map and a global aggregation weight. The local and global branches designed in TAM are helpful to capture temporal structure by different views and contribute to making temporal modeling more effective and robust. As demonstrated on the Kinetics-400, the networks equipped with TAM are better than the existing temporal modules in action recognition, which confirms the efficacy of our TAM in video temporal modeling. TANet also achieved the state-of-the-art performance on the motion dominated datasets of Sth-Sth V1&V2.
|
| 196 |
+
|
| 197 |
+
# REFERENCES
|
| 198 |
+
|
| 199 |
+
Joao Carreira and Andrew Zisserman. Quo vadis, action recognition? A new model and the kinetics ˜ dataset. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 4724–4733, 2017.
|
| 200 |
+
|
| 201 |
+
Yinpeng Chen, Xiyang Dai, Mengchen Liu, Dongdong Chen, Lu Yuan, and Zicheng Liu. Dynamic convolution: Attention over convolution kernels. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pp. 11027– 11036. IEEE, 2020.
|
| 202 |
+
|
| 203 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Fei-Fei Li. Imagenet: A large-scale hierarchical image database. In IEEE Computer Society Conference on Computer Vision and Pattern Recognition CVPR, pp. 248–255, 2009.
|
| 204 |
+
|
| 205 |
+
Ali Diba, Mohsen Fayyaz, Vivek Sharma, Mohammad Mahdi Arzani, Rahman Yousefzadeh, Juergen Gall, and Luc Van Gool. Spatio-temporal channel correlation networks for action classification. In Vittorio Ferrari, Martial Hebert, Cristian Sminchisescu, and Yair Weiss (eds.), Computer Vision - ECCV, volume 11208 of Lecture Notes in Computer Science, pp. 299–315, 2018.
|
| 206 |
+
|
| 207 |
+
Quanfu Fan, Chun-Fu (Richard) Chen, Hilde Kuehne, Marco Pistoia, and David D. Cox. More is less: Learning efficient video representations by big-little network and depthwise temporal aggregation. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alche-Buc, ´ Emily B. Fox, and Roman Garnett (eds.), Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, 8-14 December 2019, Vancouver, BC, Canada, pp. 2261–2270, 2019.
|
| 208 |
+
|
| 209 |
+
Christoph Feichtenhofer. X3D: expanding architectures for efficient video recognition. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pp. 200–210. IEEE, 2020.
|
| 210 |
+
|
| 211 |
+
Christoph Feichtenhofer, Haoqi Fan, Jitendra Malik, and Kaiming He. Slowfast networks for video recognition. In IEEE/CVF International Conference on Computer Vision, ICCV, pp. 6201–6210, 2019.
|
| 212 |
+
|
| 213 |
+
Raghav Goyal, Samira Ebrahimi Kahou, Vincent Michalski, Joanna Materzynska, Susanne Westphal, Heuna Kim, Valentin Haenel, Ingo Frund, Peter Yianilos, Moritz Mueller-Freitag, Florian¨ Hoppe, Christian Thurau, Ingo Bax, and Roland Memisevic. The ”something something” video database for learning and evaluating visual common sense. In IEEE International Conference on Computer Vision, ICCV, pp. 5843–5851, 2017.
|
| 214 |
+
|
| 215 |
+
Dongliang He, Zhichao Zhou, Chuang Gan, Fu Li, Xiao Liu, Yandong Li, Limin Wang, and Shilei Wen. Stnet: Local and global spatial-temporal modeling for action recognition. In The ThirtyThird AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI, pp. 8401–8408, 2019.
|
| 216 |
+
|
| 217 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 770–778, 2016.
|
| 218 |
+
|
| 219 |
+
Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross B. Girshick. Mask R-CNN. In ´ IEEE International Conference on Computer Vision, ICCV, pp. 2980–2988. IEEE Computer Society, 2017.
|
| 220 |
+
|
| 221 |
+
Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 7132–7141, 2018.
|
| 222 |
+
|
| 223 |
+
Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Francis R. Bach and David M. Blei (eds.), Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, volume 37 of JMLR Workshop and Conference Proceedings, pp. 448–456. JMLR.org, 2015.
|
| 224 |
+
|
| 225 |
+
Shuiwang Ji, Wei Xu, Ming Yang, and Kai Yu. 3d convolutional neural networks for human action recognition. In Johannes Furnkranz and Thorsten Joachims (eds.), ¨ Proceedings of the 27th International Conference on Machine Learning (ICML), pp. 495–502, 2010.
|
| 226 |
+
|
| 227 |
+
Xu Jia, Bert De Brabandere, Tinne Tuytelaars, and Luc Van Gool. Dynamic filter networks. In Daniel D. Lee, Masashi Sugiyama, Ulrike von Luxburg, Isabelle Guyon, and Roman Garnett (eds.), Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, December 5-10, 2016, Barcelona, Spain, pp. 667–675, 2016.
|
| 228 |
+
|
| 229 |
+
Boyuan Jiang, Mengmeng Wang, Weihao Gan, Wei Wu, and Junjie Yan. STM: spatiotemporal and motion encoding for action recognition. CoRR, abs/1908.02486, 2019.
|
| 230 |
+
|
| 231 |
+
Andrej Karpathy, George Toderici, Sanketh Shetty, Thomas Leung, Rahul Sukthankar, and Fei-Fei Li. Large-scale video classification with convolutional neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 1725–1732, 2014.
|
| 232 |
+
|
| 233 |
+
Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijaya- ˜ narasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, Mustafa Suleyman, and Andrew Zisserman. The kinetics human action video dataset. CoRR, abs/1705.06950, 2017.
|
| 234 |
+
|
| 235 |
+
Alexander Klaser, Marcin Marszalek, and Cordelia Schmid. A spatio-temporal descriptor based on ¨ 3d-gradients. In Mark Everingham, Chris J. Needham, and Roberto Fraile (eds.), Proceedings of the British Machine Vision Conference 2008, pp. 1–10. British Machine Vision Association, 2008.
|
| 236 |
+
|
| 237 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Peter L. Bartlett, Fernando C. N. Pereira, Christopher J. C. Burges, Leon Bottou, and Kilian Q. Weinberger (eds.), ´ Advances in Neural Information Processing Systems 25: 26th Annual Conference on Neural Information Processing Systems 2012., pp. 1106– 1114, 2012.
|
| 238 |
+
|
| 239 |
+
Quoc V. Le, Will Y. Zou, Serena Y. Yeung, and Andrew Y. Ng. Learning hierarchical invariant spatio-temporal features for action recognition with independent subspace analysis. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 3361–3368. IEEE Computer Society, 2011.
|
| 240 |
+
|
| 241 |
+
Ji Lin, Chuang Gan, and Song Han. TSM: temporal shift module for efficient video understanding. In IEEE International Conference on Computer Vision, ICCV 2019, pp. 7082–7092, 2019.
|
| 242 |
+
|
| 243 |
+
Xingyu Liu, Joon-Young Lee, and Hailin Jin. Learning video representations from correspondence proposals. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 4273– 4281. Computer Vision Foundation / IEEE, 2019a.
|
| 244 |
+
|
| 245 |
+
Zhaoyang Liu, Donghao Luo, Yabiao Wang, Limin Wang, Ying Tai, Chengjie Wang, Jilin Li, Feiyue Huang, and Tong Lu. Teinet: Towards an efficient architecture for video recognition. CoRR, abs/1911.09435, 2019b.
|
| 246 |
+
|
| 247 |
+
Chenxu Luo and Alan L. Yuille. Grouped spatial-temporal aggregation for efficient action recognition. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pp. 5511–5520. IEEE, 2019.
|
| 248 |
+
|
| 249 |
+
Ningning Ma, Xiangyu Zhang, Hai-Tao Zheng, and Jian Sun. Shufflenet V2: practical guidelines for efficient CNN architecture design. In Vittorio Ferrari, Martial Hebert, Cristian Sminchisescu, and Yair Weiss (eds.), Computer Vision - ECCV 2018 - 15th European Conference, Munich, Germany, September 8-14, 2018, Proceedings, Part XIV, volume 11218 of Lecture Notes in Computer Science, pp. 122–138. Springer, 2018.
|
| 250 |
+
|
| 251 |
+
Zhaofan Qiu, Ting Yao, and Tao Mei. Learning spatio-temporal representation with pseudo-3d residual networks. In IEEE International Conference on Computer Vision, ICCV, pp. 5534–5542, 2017.
|
| 252 |
+
|
| 253 |
+
Shaoqing Ren, Kaiming He, Ross B. Girshick, and Jian Sun. Faster R-CNN: towards real-time object detection with region proposal networks. IEEE Trans. Pattern Anal. Mach. Intell., 39(6): 1137–1149, 2017.
|
| 254 |
+
|
| 255 |
+
Sreemanananth Sadanand and Jason J. Corso. Action bank: A high-level representation of activity in video. In 2012 IEEE Conference on Computer Vision and Pattern Recognition, 2012, pp. 1234–1241. IEEE Computer Society, 2012.
|
| 256 |
+
|
| 257 |
+
Mark Sandler, Andrew G. Howard, Menglong Zhu, Andrey Zhmoginov, and Liang-Chieh Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 18-22, 2018, pp. 4510–4520. IEEE Computer Society, 2018.
|
| 258 |
+
|
| 259 |
+
Karen Simonyan and Andrew Zisserman. Two-stream convolutional networks for action recognition in videos. In Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, pp. 568–576, 2014.
|
| 260 |
+
|
| 261 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In Yoshua Bengio and Yann LeCun (eds.), 3rd International Conference on Learning Representations, ICLR 2015, 2015.
|
| 262 |
+
|
| 263 |
+
Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pp. 2818– 2826. IEEE Computer Society, 2016.
|
| 264 |
+
|
| 265 |
+
Du Tran, Lubomir D. Bourdev, Rob Fergus, Lorenzo Torresani, and Manohar Paluri. Learning spatiotemporal features with 3d convolutional networks. In IEEE International Conference on Computer Vision, ICCV, pp. 4489–4497, 2015.
|
| 266 |
+
|
| 267 |
+
Du Tran, Heng Wang, Lorenzo Torresani, Jamie Ray, Yann LeCun, and Manohar Paluri. A closer look at spatiotemporal convolutions for action recognition. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 6450–6459, 2018.
|
| 268 |
+
|
| 269 |
+
Du Tran, Heng Wang, Matt Feiszli, and Lorenzo Torresani. Video classification with channelseparated convolutional networks. In IEEE International Conference on Computer Vision, ICCV 2019, pp. 5551–5560, 2019.
|
| 270 |
+
|
| 271 |
+
Limin Wang, Yuanjun Xiong, Zhe Wang, Yu Qiao, Dahua Lin, Xiaoou Tang, and Luc Van Gool. Temporal segment networks: Towards good practices for deep action recognition. In Computer Vision - ECCV, pp. 20–36, 2016.
|
| 272 |
+
|
| 273 |
+
Limin Wang, Wei Li, Wen Li, and Luc Van Gool. Appearance-and-relation networks for video classification. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 1430–1439, 2018a.
|
| 274 |
+
|
| 275 |
+
Xiaolong Wang and Abhinav Gupta. Videos as space-time region graphs. In Computer Vision - ECCV, pp. 413–431, 2018.
|
| 276 |
+
|
| 277 |
+
Xiaolong Wang, Ross B. Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pp. 7794–7803, 2018b.
|
| 278 |
+
|
| 279 |
+
Geert Willems, Tinne Tuytelaars, and Luc Van Gool. An efficient dense and scale-invariant spatiotemporal interest point detector. In David A. Forsyth, Philip H. S. Torr, and Andrew Zisserman (eds.), Computer Vision - ECCV, volume 5303 of Lecture Notes in Computer Science, pp. 650– 663, 2008.
|
| 280 |
+
|
| 281 |
+
Saining Xie, Ross B. Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual ´ transformations for deep neural networks. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pp. 5987–5995. IEEE Computer Society, 2017.
|
| 282 |
+
|
| 283 |
+
Saining Xie, Chen Sun, Jonathan Huang, Zhuowen Tu, and Kevin Murphy. Rethinking spatiotemporal feature learning: Speed-accuracy trade-offs in video classification. In Computer Vision - ECCV, pp. 318–335, 2018.
|
| 284 |
+
|
| 285 |
+

|
| 286 |
+
Figure 3: The four styles of TA-Block. The (b) is actually the model we used in the main text.
|
| 287 |
+
|
| 288 |
+
Brandon Yang, Gabriel Bender, Quoc V. Le, and Jiquan Ngiam. Condconv: Conditionally parameterized convolutions for efficient inference. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alche-Buc, Emily B. Fox, and Roman Garnett (eds.), ´ Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, 8-14 December 2019, Vancouver, BC, Canada, pp. 1305–1316, 2019.
|
| 289 |
+
|
| 290 |
+
Bolei Zhou, Alex Andonian, Aude Oliva, and Antonio Torralba. Temporal relational reasoning in videos. In Computer Vision - ECCV, pp. 831–846, 2018.
|
| 291 |
+
|
| 292 |
+
Mohammadreza Zolfaghari, Kamaljeet Singh, and Thomas Brox. ECO: efficient convolutional network for online video understanding. In Computer Vision - ECCV, pp. 713–730, 2018.
|
| 293 |
+
|
| 294 |
+
# A APPENDIX
|
| 295 |
+
|
| 296 |
+
# A.1 IMPLEMENTATION DETAILS
|
| 297 |
+
|
| 298 |
+
Training. In our experiments, we only train the models using 8 frames and 16 frames as inputs. On Kinetics-400, following the practice in Wang et al. (2018b), The frames are sampled from 64 consecutive frames in the video. On Sth-Sth V1&V2, we employ the uniform sampling strategy in TSN (Wang et al., 2016) to train TANet. We first resize the shorter side of frames to 256, and apply the multi-scale cropping and randomly horizontal flipping as data augmentation. The cropped frames are resized to $2 2 4 \times 2 2 4$ for training the networks. The batch size is set to 64. Our models are initialized by ImageNet pre-trained weights to reduce the training time. Specifically, on Kinetics400, the epoch for training is 100. The initial learning rate is set 0.01 and divided by 10 at 50, 75, 90 epoch. We use SGD with a momentum of 0.9 and a weight decay of 1e-4 to train TANet. On Sth-Sth V1&V2, We train models with 50 epochs. The learning rate starts at 0.01 and divided by 10 at 30, 40, 45 epoch. We use a momentum of 0.9 and a weight decay of 1e-3 to address the issue of overfitting.
|
| 299 |
+
|
| 300 |
+
Testing. We apply different inference schemes to fairly compare with other state-of-the-art models. On kinetics-400, we resize the shorter to 256 and take 3 crops of $2 5 6 \times 2 5 6$ to cover the spatial dimensions. In the temporal dimension, we uniformly sample 10 clips for 8-frame models and 4 clips for 16-frame models. The final video-level prediction is yielded by averaging the scores of all spatio-temporal views. On Sth-Sth V1, we scale the shorter side of frames to 256 and use center crop of $2 2 4 \times 2 2 4$ for evaluation. On Sth-Sth V2, we employ similar evaluation protocols to Kinetics, but only uniformly sample 2 clips.
|
| 301 |
+
|
| 302 |
+
# A.2 MORE EXPLORATION STUDIES ON KINETICS-400
|
| 303 |
+
|
| 304 |
+
TAM in the different position. Table 5a tries to study the effects of TAM in different position. TANet-a, TANet-b, TANet-c, and TANet-d denotes the TAM is inserted before the first convolution, after the first convolution, after the second convolution, and after the last convolution in the block, respectively. These four styles are graphically presented in Fig. 3. The style-(b) in Fig. 2 actually is TANet-b, which has a slighter advantage than other styles as shown in Table 5a. The TANet-b will be abbreviated as TANet by default.
|
| 305 |
+
|
| 306 |
+
Table 5: Ablation studies on Kinetics-400. All models use ResNet50 as backbone.
|
| 307 |
+
(a) Where to insert TAM into TA-Block.
|
| 308 |
+
|
| 309 |
+
<table><tr><td>model</td><td>Frames</td><td>Top-1</td><td>Top-5</td></tr><tr><td>TANet-a</td><td>8</td><td>75.95%</td><td>92.18%</td></tr><tr><td>TANet-b</td><td>8</td><td>76.09 %</td><td>92.30%</td></tr><tr><td>TANet-c</td><td>8</td><td>75.75%</td><td>92.13%</td></tr><tr><td>TANet-d</td><td>8</td><td>75.20%</td><td>91.78%</td></tr></table>
|
| 310 |
+
|
| 311 |
+
(b) The number of TA-Blocks inserted into ResNet50.
|
| 312 |
+
|
| 313 |
+
<table><tr><td>stages</td><td>Frames</td><td>Blocks</td><td>Top-1</td><td>Top-5</td></tr><tr><td>res5</td><td>8</td><td>3</td><td>74.12%</td><td>91.45%</td></tr><tr><td>res4-5</td><td>8</td><td>9</td><td>75.15%</td><td>92.04%</td></tr><tr><td>res3-5</td><td>8</td><td>13</td><td>75.90%</td><td>92.22%</td></tr><tr><td>res2-5</td><td>8</td><td>16</td><td>76.09%</td><td>92.30%</td></tr></table>
|
| 314 |
+
|
| 315 |
+
The number of TA-Blocks. To make a trade-off between performance and efficiency, we gradually add more TA-Blocks into ResNet. As shown in Table 5b, we find that the performance is nearly saturated when adding more than 9 TA-Blocks into network. The $\mathrm { r e s } _ { 2 - 5 }$ achieves the highest performance and will be used in our experiments.
|
| 316 |
+
|
| 317 |
+
# A.3 COMPARISONS ON STH-STH V1 & V2
|
| 318 |
+
|
| 319 |
+
Table 6: Comparisons with the state-of-the-art methods on Sth-Sth V1. The models only taking RGB frames as inputs are listed in table. To be consistent with testing, we use spatial size $2 2 4 \times 2 2 4$ to compute the FLOPs.
|
| 320 |
+
|
| 321 |
+
<table><tr><td rowspan=3 colspan=1>Methods</td><td rowspan=3 colspan=6>Backbones</td><td rowspan=3 colspan=4>Pre-train</td><td></td><td></td><td></td><td></td></tr><tr><td rowspan=2 colspan=1>Frames</td><td></td><td></td><td></td></tr><tr><td rowspan=1 colspan=1>FLOPs</td><td rowspan=1 colspan=1>Top-1</td><td rowspan=1 colspan=1>Top-5</td></tr><tr><td rowspan=1 colspan=1>TSN-RGB (Wang et al.,2016)TRN-Multiscale (Zhou et al., 2018)S3D-G (Xie et al.,2018)ECO (Zolfaghari et al.,2018)ECOEnLite (Zolfaghari et al.,2018)</td><td rowspan=1 colspan=6>BNInceptionBNInceptionInceptionBNIncep+Res18BNIncep+Res18</td><td rowspan=1 colspan=4>ImgNetImgNetImgNetK400K400</td><td rowspan=1 colspan=1>8f8f64f16f92f</td><td rowspan=1 colspan=1>16G33G71.38G64G267G</td><td rowspan=1 colspan=1>19.5%34.4%48.2%41.6%46.4%</td><td rowspan=1 colspan=1>=-78.7%-■</td></tr><tr><td rowspan=6 colspan=1>TSN (Wang et al.,2016)I3D (Wang& Gupta,2018)NL I3D(Wang& Gupta,2018)NL I3D+GCN(Wang & Gupta,2018)TSM (Lin et al., 2019)TSM (Lin et al., 2019)TSMEn (Lin et al.,2019)TAM (Fan et al.,2019)bLVNet-TAM (Fan et al.,2019)GST (Luo & Yuille,2019)GST (Luo & Yuille,2019)TEINet Liu et al. (2019b)TEINet Liu et al. (2019b)</td><td rowspan=6 colspan=6>ResNet50ResNet50ResNet50ResNet50+GCNResNet50ResNet50ResNet50ResNet50ResNet50ResNet50ResNet50ResNet50ResNet50</td><td rowspan=1 colspan=4>ImgNetImgNet+K400ImgNet+K400ImgNet+K400ImgNetImgNet</td><td rowspan=1 colspan=1>8f32f×232f×232f×28f16f</td><td rowspan=6 colspan=1>33G306G334G606G33G65G98G-48G30G59G33G66G</td><td rowspan=6 colspan=1>19.7%41.6%44.4%46.1%45.6%47.2%49.7%46.1%48.4%47.0%48.6%47.4%49.9%</td><td rowspan=4 colspan=1>46.6%72.2%76.0%76.8%74.2%77.1%78.5%-%78.8%76.1%77.9%</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=2 colspan=4>ImgNetImgNet</td><td rowspan=1 colspan=1>16f+8f</td></tr><tr><td rowspan=2 colspan=1>8f32f8f16f</td></tr><tr><td rowspan=1 colspan=2>50</td><td rowspan=1 colspan=4>Sth-Sth V2ImgNetImgNet</td><td rowspan=1 colspan=2>SthV2</td></tr><tr><td rowspan=2 colspan=3>ResNet50</td><td rowspan=2 colspan=1></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td rowspan=1 colspan=4>ImgNetImgNet</td><td rowspan=1 colspan=1>8f16f</td><td rowspan=1 colspan=1>-%-%</td></tr><tr><td rowspan=2 colspan=1>TANetTANetTANetEn</td><td rowspan=1 colspan=3></td><td rowspan=2 colspan=4>ResNet50ResNet50ResNet50</td><td rowspan=1 colspan=3>ResNet50</td><td rowspan=1 colspan=1>ImgNetImgNet</td><td rowspan=1 colspan=1>8f16f</td><td rowspan=2 colspan=1>33G66G99G</td><td rowspan=2 colspan=1>46.5%47.6%50.6%</td></tr><tr><td></td><td></td><td></td><td rowspan=1 colspan=4>ImgNet</td><td rowspan=1 colspan=1>8f+16f</td><td></td></tr></table>
|
| 322 |
+
|
| 323 |
+
Comparisons on Sth-Sth V1 & V2. As shown in Table 6, our method achieves state-of-the-art accuracy comparing with other models on Sth-Sth V1. For fair comparisons, the Table 6 only reports the results taking a single clip with a center crop as inputs. $\mathrm { T A N e t } _ { E n }$ is higher than $\mathrm { T S M } _ { E n }$ equipped with same backbone (Top-1: $5 0 . 6 \%$ vs. Top-1: $4 9 . 7 \%$ ). We also conduct the experiments on Sth-Sth V2. V2 has more video clips than V1, which can further unleash the full capabilities of TANet without suffering the overfitting. Following the common practice in Lin et al. (2019), TANets use 2 clips with 3 crops to evaluate the accuracy. As shown in Table 7, our models have achieved the state-of-art performance on Sth-Sth V2. As a result, the $\mathrm { T A N e t } _ { E n }$ yields a competitive accuracy (Top-1: $6 6 . 0 \%$ ) compared with current SOTA results. The results on Sth-Sth V1 & V2 have demonstrated that our method is also good at modeling the fine-grained and temporal-related video clips.
|
| 324 |
+
|
| 325 |
+

|
| 326 |
+
Figure 4: The statistics of kernel weights training on Kinetics-400, which plots the distributions in different temporal offsets $( t \in \{ - 1 , \bar { 0 } , 1 \} )$ ). Each filled area in violinplot represents the entire data range, where has noted the minimum, the median and the maximum. The first four columns in the left figure are the distributions of learned kernels in TANet. In the fifth column, we also visualize the filters of $3 \times 1 \times 1$ kernel in $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ to compare with the TANet. The stage4 6b denotes the kernel comes from the 6th block in stage4.
|
| 327 |
+
|
| 328 |
+
Table 7: Comparisons with the SOTA on Sth-Sth V2.
|
| 329 |
+
|
| 330 |
+
<table><tr><td>Methods</td><td>Backbones</td><td>Pre-train</td><td>frames×clips×crops</td><td>Top-1</td><td>Top-5</td></tr><tr><td>TRN (Zhou et al.,2018)</td><td>BNInception</td><td>ImgNet</td><td>8f×2x3</td><td>48.8%</td><td>77.6%</td></tr><tr><td>TSM (Lin et al., 2019)</td><td>ResNet50</td><td>ImgNet</td><td>8f×2x3</td><td>59.1%</td><td>85.6%</td></tr><tr><td>TSM (Lin et al., 2019)</td><td>ResNet50</td><td>ImgNet</td><td>16×2×3</td><td>63.4%</td><td>88.5%</td></tr><tr><td>TSMRGB+Flow (Lin et al.,2019)</td><td>ResNet50</td><td>ImgNet</td><td>(16+16)×2×3</td><td>66.0%</td><td>90.5%</td></tr><tr><td>CPNet (Liu et al.,2019a)</td><td>ResNet50</td><td>ImgNet</td><td>24f×16×16</td><td>57.7%</td><td>84.0%</td></tr><tr><td>GST(Luo & Yuille,2019)</td><td>ResNet50</td><td>ImgNet</td><td>8fx1x1</td><td>61.6%</td><td>87.2%</td></tr><tr><td>GST(Luo & Yuille,2019)</td><td>ResNet50</td><td>ImgNet</td><td>16fx1×1</td><td>62.6%</td><td>87.9%</td></tr><tr><td>bLVNet-TAM (Fan et al.,2019)</td><td>ResNet50</td><td>Sth-Sth V2</td><td>32fx1×1</td><td>61.7%</td><td>88.1%</td></tr><tr><td>TEINet Liu et al. (2019b)</td><td>ResNet50</td><td>ImgNet</td><td>8fx1x1</td><td>61.3%</td><td>-%</td></tr><tr><td>TEINet Liu et al. (2019b)</td><td>ResNet50</td><td>ImgNet</td><td>16fx1×1</td><td>62.1%</td><td>-%</td></tr><tr><td>TANet</td><td>ResNet50</td><td>ImgNet</td><td>8fx1×1</td><td>60.5%</td><td>86.2%</td></tr><tr><td>TANet</td><td>ResNet50</td><td>ImgNet</td><td>8f×2x3</td><td>62.7%</td><td>88.0%</td></tr><tr><td>TANet</td><td>ResNet50</td><td>ImgNet</td><td>16×1×1</td><td>62.5%</td><td>87.6%</td></tr><tr><td>TANet</td><td>ResNet50</td><td>ImgNet</td><td>16×2×3</td><td>64.6%</td><td>89.5%</td></tr><tr><td>TANetEn</td><td>ResNet50</td><td>ImgNet</td><td>(8f+16f)x2x3</td><td>66.0%</td><td>90.1%</td></tr></table>
|
| 331 |
+
|
| 332 |
+
# A.4 VISUALIZATIONS OF LEARNED KERNEL
|
| 333 |
+
|
| 334 |
+
To understand the behavior of TANet, we visualize the distribution of kernel $\Theta$ generated by global branch in the last block of stage4 and stage5. For clear contrast, the kernel weights in $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ at the same stages are also visualized to find more insights. As depicted in Fig. 4, we find that the learned kernel $\Theta$ has an evident character: the shapes and scales of distribution are more diverse than $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ . Since all video clips share the same kernels in $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ , it causes the kernel weights clusters together excessively. As opposed to temporal convolution, even modeling the same action in different videos, TAM can generate the kernel with slightly different distributions. Taking driving car as an example, the shapes of the distribution shown in Fig. 4 are similar to each other but the medians of distributions are not equal. For different actions like drinking beer and skydiving, the shapes and medians of distributions are greatly varied. Even the same action in different videos, TAM would learn a different distribution of kernel weights. Concerning that the motion patterns in different videos may share varied inherence, it is necessary to employ an adaptive scheme when modeling video sequences.
|
| 335 |
+
|
| 336 |
+
To probe into the effects on learning kernels in the different stages, the visualized kernels are further chosen in stage4 6b and stage5 3b, respectively. The videos are randomly selected from Kinetics400 and Sth-Sth V2 to show the diversities in different video datasets. As depicted in Fig. 5 and Fig. 6, We can observe that the distributions of importance map $V$ in the local branch are smoother than the kernel $\Theta$ in the global branch, and the local branch pays different attention to each video when modeling the temporal relations. Futhermore, our learned kernels visualized in figures have exhibited the clear differences between two datasets (Kinetics-400 vs. Sth-Sth V2). This fact is in line with our prior knowledge that there is an obvious domain gap between two datasets. The Kinetics-400 mainly focuses on appearance and Sth-Sth V2 is a motion dominated dataset. However, this point can not be easily inferred from the kernels in $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ , because the overall distributions of kernels in $\mathrm { I } 3 \mathrm { D } _ { 3 \times 1 \times 1 }$ on two datasets show minor differences.
|
| 337 |
+
|
| 338 |
+
We visualize the histogram of kernel weights in the global branch to intuitively show the insightful patterns between kernel weights and visual content. As observing the Fig. 7 and Fig. 8, we found the distribution of kernel is associated with the motion magnitude. The smaller magnitude of motion in video leads to a relatively lower weight at $t = 0$ , and the larger magnitude of motion or the actions severely related to scenes may cause the higher weight at $t = 0$ . It is worth noting that the weight at $\scriptstyle \mathrm { t = } 0$ usually plays a dominate role in learning the spatio-temporal representations. These findings are expected to provide more insights for designing the temporal module in video recognition.
|
| 339 |
+
|
| 340 |
+
Generally, the diversities in our learned kernels have demonstrated that the diversities are indeed existing in videos, and it is reasonable to learn spatiotemporal representation in an adaptive scheme. These findings are again in line with our motivation claimed in the paper.
|
| 341 |
+
|
| 342 |
+

|
| 343 |
+
Figure 5: The distribution of learned kernel $V$ and $\Theta$ in the stage4 6b.
|
| 344 |
+
|
| 345 |
+

|
| 346 |
+
Figure 6: The distribution of learned kernel $V$ and $\Theta$ in the stage5 3b.
|
| 347 |
+
|
| 348 |
+

|
| 349 |
+
Figure 7: The visualization for the videos which contain small magnitude of motion. The moving persons appeared in videos are usually far away from camera. Video clips are sampled from validation set of Kinetics-400, and kernel $\Theta$ is selected from stage4 6b.
|
| 350 |
+
|
| 351 |
+

|
| 352 |
+
Figure 8: The visualization for the videos with large magnitude of motion. The moving persons in videos are usually closed to camera. Video clips are sampled from validation set of Kinetics-400, and kernel $\Theta$ is selected from stage4 6b.
|
parse/train/i7aMbliTkHs/i7aMbliTkHs_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/i7aMbliTkHs/i7aMbliTkHs_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/i7aMbliTkHs/i7aMbliTkHs_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|