Title: BAYESIAN PREDICTION OF FUTURE STREET SCENES USING SYNTHETIC LIKELIHOODS

Abstract: For autonomous agents to successfully operate in the real world, the ability to anticipate future scene states is a key competence. In real-world scenarios, future states become increasingly uncertain and multi-modal, particularly on long time horizons. Dropout based Bayesian inference provides a computationally tractable, theoretically well grounded approach to learn likely hypotheses/models to deal with uncertain futures and make predictions that correspond well to observationsare well calibrated. However, it turns out that such approaches fall short to capture complex real-world scenes, even falling behind in accuracy when compared to the plain deterministic approaches. This is because the used log-likelihood estimate discourages diversity. In this work, we propose a novel Bayesian formulation for anticipating future scene states which leverages synthetic likelihoods that encourage the learning of diverse models to accurately capture the multi-modal nature of future scene states. We show that our approach achieves accurate state-of-the-art predictions and calibrated probabilities through extensive experiments for scene anticipation on Cityscapes dataset. Moreover, we show that our approach generalizes across diverse tasks such as digit generation and precipitation forecasting.

1. INTRODUCTION:

The ability to anticipate future scene states which involves mapping one scene state to likely future states under uncertainty is key for autonomous agents to successfully operate in the real world e.g., to anticipate the movements of pedestrians and vehicles for autonomous vehicles. The future states of street scenes are inherently uncertain and the distribution of outcomes is often multi-modal. This is especially true for important classes like pedestrians. Recent works on anticipating street scenes (Luc et al., 2017; Jin et al., 2017; Seyed et al., 2018) do not systematically consider uncertainty.

Bayesian inference provides a theoretically well founded approach to capture both model and observation uncertainty but with considerable computational overhead. A recently proposed approach (Gal & Ghahramani, 2016b; Kendall & Gal, 2017) uses dropout to represent the posterior distribution of models and capture model uncertainty. This approach has enabled Bayesian inference with deep neural networks without additional computational overhead. Moreover, it allows the use of any existing deep neural network architecture with minor changes.

However, when the underlying data distribution is multimodal and the model set under consideration do not have explicit latent state/variables (as most popular deep deep neural network architectures), the approach of Gal & Ghahramani (2016b) ; Kendall & Gal (2017) is unable to recover the true model uncertainty (see Figure 1 and Osband (2016) ). This is because this approach is known to conflate risk and uncertainty (Osband, 2016) . This limits the accuracy of the models over a plain deterministic (non-Bayesian) approach. The main cause is the data log-likelihood maximization step during optimization -for every data point the average likelihood assigned by all models is maximized. This forces every model to explain every data point well, pushing every model in the distribution to the mean. We address this problem through an objective leveraging synthetic likelihoods (Wood, 2010; Rosca et al., 2017) which relaxes the constraint on every model to explain every data point, thus encouraging diversity in the learned models to deal with multi-modality.

In this work: 1. We develop the first Bayesian approach to anticipate the multi-modal future of street scenes and demonstrate state-of-the-art accuracy on the diverse Cityscapes dataset without compromising on calibrated probabilities, 2. We propose a novel optimization scheme for dropout based Bayesian inference using synthetic likelihoods to encourage diversity and accurately capture model uncertainty, 3. Finally, we show that our approach is not limited to street scenes and generalizes across diverse tasks such as digit generation and precipitation forecasting.

2. RELATED WORK:

Bayesian deep learning. Most popular deep learning models do not model uncertainty, only a mean model is learned. Bayesian methods (MacKay, 1992; Neal, 2012) on the other hand learn the posterior distribution of likely models. However, inference of the model posterior is computationally expensive. In (Gal & Ghahramani, 2016b) this problem is tackled using variational inference with an approximate Bernoulli distribution on the weights and the equivalence to dropout training is shown. This method is further extended to convolutional neural networks in (Gal & Ghahramani, 2016a) . In (Kendall & Gal, 2017) this method is extended to tackle both model and observation uncertainty through heteroscedastic regression. The proposed method achieves state of the art results on segmentation estimation and depth regression tasks. This framework is used in Bhattacharyya et al. (2018a) to estimate future pedestrian trajectories. In contrast, Saatci & Wilson (2017) propose a (unconditional) Bayesian GAN framework for image generation using Hamiltonian Monte-Carlo based optimization with limited success. Moreover, conditional variants of GANs (Mirza & Osindero, 2014) are known to be especially prone to mode collapse. Therefore, we choose a dropout based Bayesian scheme and improve upon it through the use of synthetic likelihoods to tackle the issues with model uncertainty mentioned in the introduction.

Structured output prediction. Stochastic feedforward neural networks (SFNN) and conditional variational autoencoders (CVAE) have also shown success in modeling multimodal conditional distributions. SFNNs are difficult to optimize on large datasets (Tang & Salakhutdinov, 2013) due to the binary stochastic variables. Although there has been significant effort in improving training efficiency (Rezende et al., 2014; Gu et al., 2016) , success has been partial. In contrast, CVAEs (Sohn et al., 2015) assume Gaussian stochastic variables, which are easier to optimize on large datasets using the re-parameterization trick. CVAEs have been successfully applied on a large variety of tasks, include conditional image generation (Bao et al., 2017) , next frame synthesis (Xue et al., 2016) , video generation (Babaeizadeh et al., 2018; Denton & Fergus, 2018) , trajectory prediction (Lee et al., 2017) among others. The basic CVAE framework is improved upon in (Bhattacharyya et al., 2018b) through the use of a multiple-sample objective. However, in comparison to Bayesian methods, careful architecture selection is required and experimental evidence of uncertainty calibration is missing. Calibrated uncertainties are important for autonomous/assisted driving, as users need to be able to express trust in the predictions for effective decision making. Therefore, we also adopt a Bayesian approach over SFNN or CVAE approaches.

Anticipation future scene scenes. In (Luc et al., 2017) the first method for predicting future scene segmentations has been proposed. Their model is fully convolutional with prediction at multiple scales and is trained auto-regressively. Jin et al. (2017) improves upon this through the joint prediction of future scene segmentation and optical flow. Similar to Luc et al. (2017) a fully convolutional model is proposed, but the proposed model is based on the Resnet-101 (He et al., 2016) and has a single prediction scale. More recently, Luc et al. (2018) has extended the model of Luc et al. (2017) to the related task of future instance segmentation prediction. These methods achieve promising results and establish the competence of fully convolutional models. In (Seyed et al., 2018) a Convolutional LSTM based model is proposed, further improving short-term results over Jin et al. (2017) . However, fully convolutional architectures have performed well at a variety of related tasks, including segmentation estimation (Yu & Koltun, 2016; Zhao et al., 2017) , RGB frame prediction (Mathieu et al., 2016; Babaeizadeh et al., 2018) among others. Therefore, we adopt a standard ResNet based fully-convolutional architecture, while providing a full Bayesian treatment.

3. BAYESIAN MODELS FOR PREDICTION UNDER UNCERTAINTY:

We phrase our models in a Bayesian framework, to jointly capture model (epistemic) and observation (aleatoric) uncertainty (Kendall & Gal, 2017) . We begin with model uncertainty.

3.1. MODEL UNCERTAINTY:

Let x ∈ X be the input (past) and y ∈ Y be the corresponding outcomes. Consider f : x → y, we capture model uncertainty by learning the distribution p(f |X, Y) of generative models f , likely to have generated our data {X, Y}. The complete predictive distribution of outcomes y is obtained by marginalizing over the posterior distribution,

p(y|x, X, Y) = p(y|x, f )p(f |X, Y)df .

(1)

However, the integral in (1) is intractable. But, we can approximate it in two steps (Gal & Ghahramani, 2016b) . First, we assume that our models can be described by a finite set of variables ω. Thus, we constrain the set of possible models to ones that can be described with ω. Now, (1) is equivalently,

EQUATION

Second, we assume an approximating variational distribution q(ω) of models which allows for efficient sampling. This results in the approximate distribution, p(y|x, X, Y) ≈ p(y|x) = p(y|x, ω)q(ω)dω .

(3)

For convolutional models, Gal & Ghahramani (2016a) proposed a Bernoulli variational distribution defined over each convolutional patch. The number of possible models is exponential in the number of patches. This number could be very large, making it difficult optimize over this very large set of models. In contrast, in our approach (4), the number possible models is exponential in the number of weight parameters, a much smaller number. In detail, we choose the set of convolutional kernels and the biases {(W 1 , b 1 ), . . . , (W L , b L )} ∈ W of our model as the set of variables ω. Then, we define the following novel approximating Bernoulli variational distribution q(ω) independently over each element w i,j k ,k (correspondingly b k ) of the kernels and the biases at spatial locations {i, j},

EQUATION

Note, denotes the hadamard product, M k are tuneable variational parameters, z i,j k ,k ∈ Z K are the independent Bernoulli variables, p K is a probability tensor equal to the size of the (bias) layer, |K| (|K |) is the number of kernels in the current (previous) layer. Here, p K is chosen manually. Moreover, in contrast to Gal & Ghahramani (2016a) , the same (sampled) kernel is applied at each spatial location leading to the detection of the same features at varying spatial locations. Next, we describe how we capture observation uncertainty.

3.2. OBSERVATION UNCERTAINTY:

Observation uncertainty can be captured by assuming an appropriate distribution of observation noise and predicting the sufficient statistics of the distribution (Kendall & Gal, 2017) . Here, we assume a Gaussian distribution with diagonal covariance matrix at each pixel and predict the mean vector µ i,j and co-variance matrix σ i,j of the distribution. In detail, the predictive distribution of a generative model draw from ω ∼ q(ω) at a pixel position {i, j} is,

p i,j (y|x, ω) = N (µ i,j |x, ω), (σ i,j |x, ω) .

(5)

We can sample from the predictive distribution p(y|x) (3) by first sampling the weight matrices ω from (4) and then sampling from the Gaussian distribution in (5). We perform the last step by the linear transformation of a zero mean unit diagonal variance Gaussian, ensuring differentiability, ŷi,j ∼ µ i,j (x|ω) + z × σ i,j (x|ω), where p(z) is N (0, I) and ω ∼ q(ω) .

where, ŷi,j is the sample drawn at a pixel position {i, j} through the liner transformation of z (a vector) with the predicted mean µ i,j and variance σ i,j . In case of street scenes, y i,j is a class-confidence vector and sample of final class probabilities is obtained by pushing ŷi,j through a softmax.

3.3. TRAINING:

For a good variational approximation (3), our approximating variational distribution of generative models q(ω) should be close to the true posterior p(ω|X, Y). Therefore, we minimize the KL divergence between these two distributions. As shown in Gal & Ghahramani (2016b; a) ; Kendall & Gal (2017) the KL divergence is given by (over i.i.d data points),

EQUATION

)

The log-likelihood term at the right of ( 7) considers every model for every data point. This imposes the constraint that every data point must be explained well by every model. However, if the data distribution (x, y) is multi-modal, this would push every model to the mean of the multi-modal distribution (as in Figure 1 where only way for models to explain both modes is to converge to the mean). This discourages diversity in the learned modes. In case of multi-modal data, we would not be able to recover all likely models, thus hindering our ability to fully capture model uncertainty.

The models would be forced to explain the data variation as observation noise (Osband, 2016) , thus conflating model and observation uncertainty. We propose to mitigate this problem through the use of an approximate objective using synthetic likelihoods (Wood, 2010; Rosca et al., 2017) -obtained from a classifier. The classifier estimates the likelihood based on whether the models ω ∼ q(ω) explain (generate) data samples likely under the true data distribution p(y|x). This removes the constraint on models to explain every data point -it only requires the explained (generated) data points to be likely under the data distribution. Thus, this allows models ω ∼ q(ω) to be diverse and deal with multi-modality. Next, we reformulate the KL divergence estimate of (7) to a likelihood ratio form which allows us to use a classifier to estimate (synthetic) likelihoods, (also see Appendix),

EQUATION

)

In the second step of (8), we divide and multiply the probability assigned to a data sample by a model p(y|x, ω) by the true conditional probability p(y|x) to obtain a likelihood ratio. We can estimate the KL divergence by equivalently estimating this ratio rather than the true likelihood. In order to (synthetically) estimate this likelihood ratio, let us introduce the variable θ to denote, p(y|x, θ = 1) the probability assigned by our model ω to a data sample (x, y) and p(y|x, θ = 0) the true probability of the sample. Therefore, the ratio in the last term of ( 8) is,

EQUATION

In the last step of (9) we use the fact that the events θ = 1 and θ = 0 are mutually exclusive. We can approximate the ratio p(θ=1|x,y) 1-p(θ=1|x,y) by jointly learning a discriminator D(x, ŷ) that can distinguish between samples of the true data distribution and samples (x, ŷ) generated by the model ω, which provides a synthetic estimate of the likelihood, and equivalently integrating directly over (x, ŷ),

EQUATION

)

Note that the synthetic likelihood D(x,ŷ) 1-D(x,ŷ) is independent of any specific pair (x, y) of the true data distribution (unlike the log-likelihood term in ( 7)), its value depends only upon whether the generated data point (x, ŷ) by the model ω is likely under the true data distribution p(y|x). Therefore, the models ω have to only generate samples (x, ŷ) likely under the true data distribution. The models need not explain every data point equally well. Therefore, we do not push the models ω to the mean, thus allowing them to be diverse and allowing us to better capture uncertainty.

Empirically, we observe that a hybrid log-likelihood term using both the log-likelihood terms of ( 10) and ( 7) with regularization parameters α and β (with α ≥ β) stabilizes the training process,

EQUATION

)

Note that, although we do not explicitly require the posterior model distribution to explain all data points, due to the exponential number of models afforded by dropout and the joint optimization (min-max game) of the discriminator, empirically we see very diverse models explaining most data points. Moreover, empirically we also see that predicted probabilities remain calibrated. Next, we describe the architecture details of our generative models ω and the discriminator D(x, ŷ).

3.4. MODEL ARCHITECTURE FOR STREET SCENE PREDICTION:

The architecture of our ResNet based generative models in our model distribution q(ω) is shown in Although this model has significantly more layers, it also introduces a large amount of pooling. This leads to loss of resolution and spatial information, hence degrading performance. Our discriminator model consists of six convolutional layers with max-pooling layers in-between, followed by two fully connected layers. Finally, in Appendix E we provide layer-wise details and discuss the reduction of number of models in q(ω) through the use of Weight Dropout (4) for our architecture of generators. 

4. EXPERIMENTS:

Next, we evaluate our approach on MNIST digit generation and street scene anticipation on Cityscapes.

We further evaluate our model on 2D data (Figure 1 ) and precipitation forecasting in the Appendix.

4.1. MNIST DIGIT GENERATION:

Here, we aim to generate the full MNIST digit given only the lower left quarter of the digit. This task serves as an ideal starting point as in many cases there are multiple likely completions given the lower left quarter digit, e.g. 5 and 3. Therefore, the learned model distribution q(ω) should contain likely models corresponding to these completions. We use a fully connected generator with 6000-4000-2000 hidden units with 50% dropout probability. The discriminator has 1000-1000 hidden units with leaky ReLU non-linearities. We set β = 10 -4 for the first 4 epochs and then reduce it to 0, to provide stability during the initial epochs. We compare our synthetic likelihood based approach (Bayes-SL) with, 1. A non-Bayesian mean model, 2. A standard Bayesian approach (Bayes-S), 3. A Conditional Variational Autoencoder (CVAE) (architecture as in Sohn et al. (2015) ). As evaluation metric we consider (oracle) Top-k% accuracy (Lee et al., 2017) . We use a standard Alex-Net based classifier to measure if the best prediction corresponds to the ground-truth class -identifies the correct mode -in Table 3 (right) over 10 splits of the MNIST test-set. We sample 10 models from our learned distribution and consider the best model. We see that our Bayes-SL performs best, even outperforming the CVAE model. In the qualitative examples in Table 3 (left), we see that generations from models ω ∼ q(ω) sampled from our learned model distribution corresponds to clearly defined digits (also in comparision to Figure 3 in Sohn et al. (2015) ). In contrast, we see that the Bayes-S model produces blurry digits. All sampled models have been pushed to the mean and shows little advantage over a mean model.

4.2. CITYSCAPES STREET SCENE ANTICIPATION:

Next, we evaluate our apporach on the Cityscapes dataset -anticipating scenes more than 0.5 seconds into the future. The street scenes already display considerable multi-modality at this time-horizon.

Evaluation metrics and baselines. We use PSPNet Zhao et al. (2017) to segment the full training sequences as only the 20 th frame has groundtruth annotations. We always use the annotated 20 th frame of the validation sequences for evaluation using the standard mean Intersection-over-Union (mIoU) and the per-pixel (negative) conditional log-likelihood (CLL) metrics. We consider the following baselines for comparison to our Resnet based (architecture in Figure 2 ) Bayesian (Bayes-WD-SL) model with weight dropout and trained using synthetic likelihoods: 1. Copying the last seen input; 2. A non-Bayesian (ResG-Mean) version; 3. A Bayesian version with standard patch dropout (Bayes-S); 4. A Bayesian version with our weight dropout (Bayes-WD). Note that, combination of ResG-Mean with an adversarial loss did not lead to improved results (similar observations made in Luc et al. (2017) ). We use grid search to set the dropout rate (in (4)) to 0.15 for the Bayes-S and 0.20 for Bayes-WD(-SL) models. We set α, β = 1 for our Bayes-WD-SL model. We train all models using Adam (Kingma & Ba, 2015) for 50 epochs with batch size 8. We use one sample to train the Bayesian methods as in Gal & Ghahramani (2016a) and use 100 samples during evaluation.

Comparison to state of the art. We begin by comparing our Bayesian models to state-of-the-art methods Luc et al. (2017); Seyed et al. (2018) in Table 1 . We use the mIoU metric and for a fair comparison consider the mean (of all samples) prediction of our Bayesian models. We alwyas compare to the groundtruth segmentations of the validation set. However, as all three methods use a slightly different semantic segmentation algorithm (Table 2 ) to generate training and input test data, we include the mIoU achieved by the Last Input of all three methods (see Appendix C for results using Dialation 10). Similar to Luc et al. (2017) we fine-tune (ft) to predict at 3 frame intervals for better performance at +0.54sec. Our Bayes-WD-SL model outperforms baselines and improves on prior work by 2.8 mIoU at +0.06sec and 4.8 mIoU/3.4 mIoU at +0.18sec/+0.54sec respectively. Our Bayes-WD-SL model also obtains higher relative gains in comparison to Luc et al. (2017) with respect the Last Input Baseline. These results validate our choice of model architecture and show that our novel approach clearly outperforms the state-of-the-art. The performance advantage of Bayes-WD-SL over Bayes-S shows that the ability to better model uncertainty does not come at the cost of lower mean performance. However, at larger time-steps as the future becomes increasingly uncertain, mean predictions (mean of all likely futures) drift further from the ground-truth. Therefore, next we evaluate the models on their (more important) ability to capture the uncertainty of the future.

Evaluation of predicted uncertainty. Next, we evaluate whether our Bayesian models are able to accurately capture uncertainity and deal with multi-modal futures, upto t + 10 frames (0.6 seconds) in Table 3 . We consider the mean of (oracle) best 5% of predictions (Lee et al. (2017) ) of our Bayesian models to evaluate whether the learned model distribution q(ω) contains likely models corresponding to the groundtruth. We see that the best predictions considerably improve over the mean predictionsshowing that our Bayesian models learns to capture uncertainity and deal with multi-modal futures. Quantitatively, we see that the Bayes-S model performs worst, demonstrating again that standard dropout (Kendall & Gal, 2017) struggles to recover the true model uncertainity. The use of weight dropout improves the performance to the level of the ResG-Mean model. Finally, we see that our Bayes-WD-SL model performs best. In fact, it is the only Bayesian model whose (best) performance exceeds that of the ResG-Mean model (also outperforming state-of-the-art), demonstrating the effectiveness of synthetic likelihoods during training. In Figure 5 we show examples comparing the best prediction of our Bayes-WD-SL model and ResG-Mean at t + 9. The last row highlights the differences between the predictions -cyan shows areas where our Bayes-WD-SL is correct and ResG-Mean is wrong, red shows the opposite. We see that our Bayes-WD-SL performs better at classes like cars and pedestrians which are harder to predict (also in comparison to Table 5 in Luc et al. (2017) ). In Figure 6 , we show samples from randomly sampled models ω ∼ q(ω), which shows correspondence to the range of possible movements of bicyclists/pedestrians. Next, we further evaluate the models with the CLL metric in Table 3 . We consider the mean predictive distributions (3) up to t + 10 frames. We see that the Bayesian models outperform the ResG-Mean model significantly.

In particular, we see that our Bayes-WD-SL model performs the best, demonstrating that the learned model and observation uncertainty corresponds to the variation in the data.

Comparison to a CVAE baseline. As there exists no CVAE (Sohn et al., 2015) based model for future segmentation prediction, we construct a baseline as close as possible to our Bayesian models based on existing CVAE based models for related tasks (Babaeizadeh et al., 2018; Xue et al., 2016) .

Existing CVAE based models (Babaeizadeh et al., 2018; Xue et al., 2016) contain a few layers with Gaussian input noise. Therefore, for a fair comparison we first conduct a study in Table 4 to find the layers which are most effective at capturing data variation. We consider Gaussian input noise applied in the first, middle or last convolutional blocks. The noise is input dependent during training, sampled from a recognition network (see Appendix). We observe that noise in the last layers can better capture data variation. This is because the last layers capture semantically higher level scene features. Overall, our Bayesian approach (Bayes-WD-SL) performs the best. This shows that the CVAE model is not able to effectively leverage Gaussian noise to match the data variation. Uncertainty calibration. We further evaluate predicted uncertainties by measuring their calibration -the correspondence between the predicted probability of a class and the frequency of its occurrence in the data. As in Kendall & Gal (2017) , we discretize the output probabilities of the mean predicted distribution into bins and measure the frequency of correct predictions for each bin. We report the results at t + 10 frames in Figure 4 . We observe that all Bayesian approaches outperform the ResG-Mean and CVAE versions. This again demonstrates the effectiveness of the Bayesian approaches in capturing uncertainty.

5. CONCLUSION:

We propose a novel approach for predicting real-world semantic segmentations into the future that casts a convolutional deep learning approach into a Bayesian formulation. One of the key contributions is a novel optimization scheme that uses synthetic likelihoods to encourage diversity and deal with multi-modal futures. Our proposed method shows state of the art performance in challenging street scenes. More importantly, we show that the probabilistic output of our deep learning architecture captures uncertainty and multi-modality inherent to this task. Furthermore, we show that the developed methodology goes beyond just street scene anticipation and creates new opportunities to enhance high performance deep learning architectures with principled formulations of Bayesian inference. 36,700,406 11,699,192 36,700,406 11,699,192 Table 11 : The difference in the number of possible models using our Weight dropout scheme versus patch dropout Gal & Ghahramani (2016a) on the architecture for street scene prediction Figure 2 Total possible models (2 

:



Figures and Tables:

Figure 1: Blue: Groundtruth distribution. Black: Models sampled at random from the model distribution.

The generative model takes as input a sequence of past segmentation class-confidences s p , the past and future vehicle odometry o p , o f (x = {s p , o p , o f }) and produces the class-confidences at the next time-step as output. The additional conditioning on vehicle odometry is because the sequences are recorded in frame of reference of a moving vehicle and therefore the future observed sequence is dependent upon the vehicle trajectory. We use recursion to efficiently predict a sequence of future scene segmentations y = {s f }. The discriminator takes as input s f and classifies whether it was produced by our model or is from the true data distribution.

Figure 2: The architecture of our ResNet based generative models for street scene prediction in our model distribution q(ω).In detail, generative model architecture consists of a fully convolutional encoder-decoder pair. This architecture builds upon prior work ofLuc et al. (2017);Jin et al. (2017), however with key differences. InLuc et al. (2017), each of the two levels of the model architecture consists of only five convolutional layers. In contrast, our model consists of one level with five convolutaional blocks. The encoder contains three residual blocks with max-pooling in between and the decoder consists of a residual and a convoluational block with up-sampling in between. We double the size of the blocks following max-pooling in order to preserve resolution. This leads to a much deeper model with fifteen convolutional layers, with constant spatial convolutional kernel sizes. This deep model with pooling creates a wide receptive field and helps better capture spatio-temporal dependencies. The residual connections help in the optimization of such a deep model. Computational resources allowing, it is possible to add more levels to our model. InJin et al. (2017) a model is considered which uses a Res101-FCN as an encoder. Although this model has significantly more layers, it also introduces a large amount of pooling. This leads to loss of resolution and spatial information, hence degrading performance. Our discriminator model consists of six convolutional layers with max-pooling layers in-between, followed by two fully connected layers. Finally, in Appendix E we provide layer-wise details and discuss the reduction of number of models in q(ω) through the use of Weight Dropout (4) for our architecture of generators.

Figure 3: Left: MNIST generations: The models see the non grayed-out region of the digit. The samples are generated from models drawn at random from ω ∼ q(ω). Right: Top-10% accuracy on MNIST generation.

Figure 5: Bayes-WD-SL (top 1) vs ResG-Mean. Cyan: Bayes-WD-SL is correct and ResG-Mean is wrong. Red: Bayes-WD-SL is wrong and ResG-Mean is correct, white: both right, black: both wrong/unlabeled. Sample #1, t + 9 Sample #2, t + 9 Sample #3, t + 9 Sample #4, t + 9

Figure 4: Uncertainty calibration at t + 10.

Comparing mean predictions to the state-of-the-art.

Table content: <table><tr><td/><td/><td>Timestep</td><td/></tr><tr><td>Method</td><td colspan="3">+0.06sec +0.18sec +0.54sec</td></tr><tr><td>Last Input (Luc et al. (2017))</td><td>x</td><td>49.4</td><td>36.9</td></tr><tr><td>Luc et al. (2017) (ft)</td><td>x</td><td>59.4</td><td>47.8</td></tr><tr><td>Last Input (Seyed et al. (2018))</td><td>62.6</td><td>51.0</td><td>x</td></tr><tr><td>Seyed et al. (2018)</td><td>71.3</td><td>60.0</td><td>x</td></tr><tr><td>Last Input (Ours)</td><td>67.1</td><td>52.1</td><td>38.3</td></tr><tr><td>Bayes-S (mean)</td><td>71.2</td><td>64.8</td><td>45.7</td></tr><tr><td>Bayes-WD (mean)</td><td>73.7</td><td>63.5</td><td>44.0</td></tr><tr><td>Bayes-WD-SL (mean)</td><td>74.1</td><td>64.8</td><td>45.9</td></tr><tr><td>Bayes-WD-SL (ft, mean)</td><td>x</td><td>65.1</td><td>51.2</td></tr><tr><td>Bayes-WD-SL (top 5%)</td><td>75.3</td><td>65.2</td><td>49.5</td></tr><tr><td>Bayes-WD-SL (ft, top 5%)</td><td>x</td><td>66.7</td><td>52.5</td></tr></table>

Comparison of segmentation estimation methods on Cityscapes validation set.

Table content: <table><tr><td>Method</td><td>mIoU</td></tr><tr><td colspan="2">Dilation10 (Luc et al., 2017) 68.8</td></tr><tr><td>PSPNet (Seyed et al., 2018)</td><td>75.7</td></tr><tr><td>PSPNet (Ours)</td><td>76.9</td></tr></table>

Evaluation on capturing uncertainty (using mIoU top 5%).

Table content: <table><tr><td/><td/><td colspan="2">Timestep</td><td/></tr><tr><td/><td colspan="2">t + 5</td><td colspan="2">t + 10</td></tr><tr><td>Method</td><td colspan="4">mIoU CLL mIoU CLL</td></tr><tr><td>Last Input</td><td>45.7</td><td>0.86</td><td>37.1</td><td>1.35</td></tr><tr><td>ResG-Mean</td><td>59.1</td><td>0.49</td><td>46.6</td><td>0.89</td></tr><tr><td>Bayes-S</td><td>58.8</td><td>0.48</td><td>46.1</td><td>0.80</td></tr><tr><td>Bayes-WD</td><td>59.2</td><td>0.48</td><td>46.6</td><td>0.79</td></tr><tr><td colspan="2">Bayes-WD-SL 60.2</td><td>0.47</td><td>47.1</td><td>0.79</td></tr></table>

Ablation study and comparison to a CVAE baseline.

Table content: <table><tr><td/><td colspan="2">Timestep</td></tr><tr><td/><td colspan="2">t + 5 t + 10</td></tr><tr><td>Method</td><td colspan="2">mIoU mIoU</td></tr><tr><td>CVAE (First)</td><td>58.7</td><td>45.5</td></tr><tr><td>CVAE (Mid)</td><td>58.9</td><td>46.6</td></tr><tr><td>CVAE (Last)</td><td>59.2</td><td>46.8</td></tr><tr><td colspan="2">Bayes-WD-SL 60.2</td><td>47.1</td></tr></table>

Overview of the variational parameters using our Weight dropout scheme versus patch dropoutGal &  Ghahramani (2016a)  of both architectures for street scene and precipitation forecasting

Table content: <table/>

Peer review (iclr2019):
 The submission considers a disadvantage of a standard dropout-based Bayesian inference approach, namely the pessimization of model uncertainty by means of maximizing the average likelihood for every data sample. The formulation by Gal & Ghahramani is improved upon two-fold: via simplified modeling of the approximating variational distribution (on kernel/bias instead of on patch level), and by using a discriminator (i.e. classifier) for providing a "synthetic" likelihood estimate. The latter relaxes the assumptions such that not every data sample needs to be explained equally well by the models. Results are demonstrated on a variety of tasks, most prominently street scene forecasting, but also digit completion and precipitation forecasting. The proposed method improves upon the state of the art, while more strongly capturing multi-modality than previous methods. To the best of my knowledge, this is the first work w.r.t. future prediction with a principled treatment of uncertainty. I find the contributions significant, well described, and the intuition behind them is conveyed convincingly. The experiments in Section 4 (and appendix) yield convincing results on a range of problems. Clarity of the submission is overall good; Sections 3.1-3.3 treat the contributions in sufficient detail. Descriptions of both generator and discriminator for street scenes (Section 3.4) are sufficiently clear, although I would like to see a more detailed description of the training process (how many iterations for each, learning rate, etc?) for better reproducability. In Section 3.4, it is not completely clear to me why the future vehicle odometry is provided as an input, in addition to past odometry and past segmentation confidences. I assume this would not be present in a real-world scenario? I also have to admit that I fail to understand Figure 4; at least I cannot see any truly significant differences, unless I heavily zoom in on screen. Small notes: - Is the *y* on the right side of Equation (5) a typo? (should this be *x*?) - The second to last sentence at the bottom of page 6 ("Always the comparison...") suffers from weird grammar