---
title: "BaKer-Nets: Bayesian Random Kernel Mapping Networks"
authors:
  - "Hui Xue"
  - "Zheng-Fan Wu"
doi: "10.24963/ijcai.2020/425"
url: "https://ijcai.org/proceedings/2020/425"
pdf: "https://ijcai.org/proceedings/2020/0425.pdf"
venue: "Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence"
year: 2020
pages: "3073-3079"
track: "Main track"
keywords:
  - "Machine Learning: Deep Learning"
  - "Machine Learning: Kernel Methods"
---

# BaKer-Nets: Bayesian Random Kernel Mapping Networks

Hui Xue, Zheng-Fan Wu

*Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence*, pages 3073-3079. DOI: [10.24963/ijcai.2020/425](https://doi.org/10.24963/ijcai.2020/425)

## Abstract

Recently, deep spectral kernel networks (DSKNs) have attracted wide attention. They consist of periodic computational elements that can be activated across the whole feature spaces. In theory, DSKNs have the potential to reveal input-dependent and long-range characteristics, and thus are expected to perform more competitive than prevailing networks. But in practice, they are still unable to achieve the desired effects. The structural superiority of DSKNs comes at the cost of the difficult optimization. The periodicity of computational elements leads to many poor and dense local minima in loss landscapes. DSKNs are more likely stuck in these local minima, and perform worse than expected. Hence, in this paper, we propose the novel Bayesian random Kernel mapping Networks (BaKer-Nets) with preferable learning processes by escaping randomly from most local minima. Specifically, BaKer-Nets consist of two core components: 1) a prior-posterior bridge is derived to enable the uncertainty of computational elements reasonably; 2) a Bayesian learning paradigm is presented to optimize the prior-posterior bridge efficiently. With the well-tuned uncertainty, BaKer-Nets can not only explore more potential solutions to avoid local minima, but also exploit these ensemble solutions to strengthen their robustness. Systematical experiments demonstrate the significance of BaKer-Nets in improving learning processes on the premise of preserving the structural superiority.

## Full text

## 1 Introduction

With the rapid development of machine learning, most classic kernels are no longer suitable for solving increasingly complex problems. Actually, some studies have figured out that there are two fundamental drawbacks: 1) the inefficiency in computational elements; 2) the limitation on locality [Bengio et al., 2007a; Bengio et al., 2007b]. Concretely, the inefficiency means that the representation ability of these kernels depends heavily on exponentially sufficient computational elements [Delalleau and Bengio, 2011], and the locality means stationarity and monotonicity [Bengio et al., 2006]. In response to such a situation, a new kind of more competitive kernels termed as deep kernels have been arising.

∗Contact Author

Figure 1: The learning processes of DSKN and BaKer-Net.

![Image](https://ijcai.org/proceedings/2020/fulltext/425/image_000000_a8f12f04d396240a30d7ce2f6469b9b89f1e71da9fd211b5bf2f1fa354f1a31c.png)

Coveting the superiority of deep architectures in representation ability, most deep kernels directly combine deep neural networks as the front-end or the back-end of classic kernels. Typically, the deep kernel learning algorithms set feedforward neural networks as the front-end of spectral mixture kernels to extract features [Wilson et al., 2016b], which are subsequently improved by kernel interpolation [Wilson and Nickisch, 2015] and stochastic variational inference [Wilson et al., 2016a]. Neural kernel networks use sum-product networks as the back-end of multiple kernels to merge various mappings [Sun et al., 2018]. Ironically, as the cask effect implies, the unsolved locality limits the combined kernels and further interferes with the whole networks seriously.

Therefore, deep spectral kernel networks (DSKNs) have been presented to not only improve the efficiency but also break the locality at a stroke [Xue et al., 2019]. They derive non-stationary and non-monotonic kernel mappings to avoid the limitation on locality. These powerful mappings are essentially periodic computational elements that can be activated across the whole feature spaces. Consequently, DSKNs have the potential to reveal input-dependent and long-range characteristics, and thus are expected to perform better than prevailing kernels and deep neural networks. But as yet, DSKNs are still unable to achieve the desired effects in practical applications. They are inclined to make over-confident but inaccurate decisions, due to low-quality optimization.

In fact, the reason for such a performance bottleneck is that the structural superiority of DSKNs comes at the cost of the profoundly hard optimization. Although the periodicity of computational elements enables non-stationarity and nonmonotonicity, it also increases the complexity of networks, and gives rise to numerous poor and dense local minima in loss landscapes. Yet, this fundamental issue has not been taken into account with deliberation. DSKNs are more likely stuck in local minima, and perform worse than expected. Hence, it is necessary to alleviate the difficulty of optimization on the premise of preserving the structural superiority.

Specifically, in this paper, we propose the novel Bayesian random Kernel mapping Networks (BaKer-Nets) in the light of the definite motivation, that is to improve the learning processes by escaping from most poor and dense local minima with some probability. The key is to enable the proper uncertainty of computational elements, which is implemented by two core components:

- To enable the uncertainty of computational elements reasonably, a prior-posterior bridge with copulas is derived.
- To optimize the prior-posterior bridge efficiently, a Bayesian learning paradigm with stochastic variational inference is presented.

Hence, with the well-tuned uncertainty, the advantages of BaKer-Nets depend on two aspects:

- More potential solutions can be explored to avoid poor local minima in learning processes.
- These ensemble solutions can be exploited to strengthen their robustness in generalization processes.

To illustrate this issue intuitively, we conduct a synthetic experiment to learn 1-dimensional cos(x), where x ∈ [-4π, 4π]. Both DSKN and BaKer-Net have only one computational element including two weights ω, ω′ . As shown in Figure 1, the loss landscape is rugged and rough even though the target function is simple enough. DSKN and BaKer-Net are initialized at the same point marked by the blue arrow. DSKN is stuck quickly in the poor local minimum marked by the yellow arrow. In contrast, BaKer-Net escapes from the local minimum and achieves a much better solution marked by the red arrow, as the optimization continues.

Systematical experiments further demonstrate the competitive performance of BaKer-Nets, and indicate the significance in improving the learning processes on the premise of preserving the structural superiority.

## 2 Preliminary

According to Yaglom's theorem [Yaglom, 1987], a realvalued bounded continuous function k on RD ×RD is a nonlocal positive semi-definite kernel with non-stationarity and non-monotonicity, if it can be represented as

<!-- formula-not-decoded -->

where p is a probability density associated to some probability distribution P , and C+ is a non-negative scaling constant.

Figure 2: The structure of the kernel mapping Φ.

![Image](https://ijcai.org/proceedings/2020/fulltext/425/image_000001_9b00d988d91a2c8414ec27c5449dc72352802cd8ffbdc0f14de805b195ac0029.png)

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

Furthermore, Eq. (1) can be equivalently transformed into

<!-- formula-not-decoded -->

where Tω,ω′ (x, x′ ) is defined by

<!-- formula-not-decoded -->

Obviously, Eq. (3) is an expectation on (ω,ω′ ) ∼ P and ϕ ∼ [-π, π], and thus it can be approximated unbiasedly by Monte Carlo method.

<!-- formula-not-decoded -->

where Φ(x) is defined by

<!-- formula-not-decoded -->

D,M are the dimensions of inputs and weights, respectively.

At this point, the non-stationary and non-monotonic kernel mapping Φ is derived. The detailed structure of Φ is illustrated in Figure 2. Moreover, DSKNs are constructed by naturally integrating these specially-designed kernel mappings into deep architectures layer-by-layer. By the way, stacked random Fourier features can be considered as the stationary cases of DSKNs to some extent [Zhang et al., 2017].

According to Eq. (6) and Figure 2, Φ is actually a doubleedged sword that consists of a group of periodic computational elements essentially. On the one hand, the periodicity enables non-stationarity and non-monotonicity to break the limitation on locality. Thus, DSKNs have the potential to efficiently reveal input-dependent characteristics and long-range correlations in theory. On the other hand, the periodicity also causes the extremely high complexity of networks, and leads to numerous poor and dense local minima in loss landscapes. Hence, DSKNs are more likely stuck in these local minima, and perform worse than expected in practice.

Table 1: Some important bivariate copulas.

| Copula          | Cθ(u, v)                                |
|-----------------|-----------------------------------------|
| Ali-Mikhail-Haq | uv 1-θ(1-u)(1-v)                        |
| Clayton         | max{u-θ + v-θ -1, 0}-θ-1                |
| Frank           | - 1 θ log[1+ (e-θu-1)(e-θv -1) e-θ -1 ] |
| Gumbel          | e-[(- log u)θ +(- log v)θ ]θ-1          |

Table 2: Some classic kernels and their probability densities.

| Kernel    | ¯ k(x)        | ¯ p(ω)              |
|-----------|---------------|---------------------|
| Gaussian  | e- ‖x‖22 2    | (2π)- D2 e- ‖ω‖22 2 |
| Laplacian | e-‖x‖1        | ∏Di=1 1 π(1+ω2 i )  |
| Cauchy    | ∏Di=1 2 1+x2i | e-‖x‖1              |

But as yet, this fundamental issue still has not been taken into account very well. DSKNs directly optimize all weights (ω, ω′ ) with point estimation, instead of sampling them from the intrinsic probability distribution P. Therefore, the optimization is directly affected by the periodicity of computational elements. Moreover, the essential uncertainty of computational elements is neglected, and thus DSKNs lose the ability to escape from any local minimum.

To improve the learning processes by escaping randomly from poor and dense local minima, it is necessary to enable the proper uncertainty of computational elements on the premise of preserving the structural superiority.

## 3 BaKer-Nets

In this section, we elaborate the methodology of BaKer-Nets: 1) a prior-posterior bridge with copulas is derived to enable the uncertainty of computational elements; 2) a Bayesian learning paradigm with stochastic variational inference is presented to optimize the prior-posterior bridge.

## 3.1 Prior-Posterior Bridges

To enable the uncertainty of computational elements, it needs to derive a probability density p(ω,ω′ ) and its probability distribution P(ω, ω′ ), according to Eq. (5). The performance of BaKer-Nets almost completely depends on p and P . Thus, it is very important to construct universal and scalable p and P in an interpretable way.

Compared with aimlessly random initialization with intolerable risks, it is a better choice to reasonably derive the powerful p and P with classic kernels as the prior knowledge. In this situation, these initial classic kernels can be regarded as the special cases of BaKer-Nets under specific constraints. At least, the practical performance of BaKer-Nets is guaranteed to be better than that of classic ones. With proper optimization, BaKer-Nets can achieve more competitive performance.

Copulas are vital to bridge the gap between BaKer-Nets and classic kernels. In more detail, Sklar's theorem states that a multivariate joint probability density can be decomposed into univariate marginal probability densities, univariate marginal probability distributions and a copula density [Sklar, 1959]. Here, we pay attention to deriving the Ddimensional bivariate joint probability density p(ω, ω′ ) from the D-dimensional univariate marginal ones ¯ p(ω), ¯ p′ (ω′ ).

Specifically, given two stationary classic kernels ¯ k(x), ¯ k′ (x′ ), their probability densities ¯ p(ω), ¯ p′ (ω′ ) can be derived by

<!-- formula-not-decoded -->

Furthermore, considering the dimensional consistency between kernels and probability densities, p(ω, ω′ ) can be modeled by integrating ¯ p(ω), ¯ p′ (ω′ ) with bivariate copula densities {ci }Di=1 for all dimensions ∀i = 1, · · · ,D.

<!-- formula-not-decoded -->

where ¯ P i (ωi ), ¯ P ′i (ω′i ) are the distributions associated to the densities ¯ pi (ωi )¯ p′i (ω′i ), respectively. Without losing generality, the distribution P i (ωi , ω′i ) with the density pi (ωi , ω′i ) can be also derived by

<!-- formula-not-decoded -->

where C i is the copula with the density ci . Consequently, the density p(ω, ω′ ) and the distribution P (ω, ω′ ) are as follows.

<!-- formula-not-decoded -->

(ω, ω′ ) can be sampled from P dimension-by-dimension.

<!-- formula-not-decoded -->

where (ωi , ω′i ) ∼ P i .

The whole framework, termed as copula-based priorposterior bridge, essentially connects the prior ¯ p, ¯ p′ and the posterior p. ¯ p, ¯ p′ represent the characteristics of marginals. {ci }Di=1 model their intricate correlation structures. Therefore, we can construct the universal and scalable posterior p for BaKer-Nets by choosing different classic kernels and copulas. There are many parametric copulas available, such as the Gaussian copula [Li, 2000; Aas et al., 2006] and the Archimedean copula family [Charpentier and Segers, 2009; Whelan, 2004]. Some important bivariate copulas are shown in Table 1. Some representative classic kernels and their probability densities are also collected in Table 2.

Figure 3: The prior-dependent KL-divergence KL(p(Ω, Ω′ )‖¯ p(Ω) ¯ p′ (Ω′ )).

![Image](https://ijcai.org/proceedings/2020/fulltext/425/image_000002_ae61cff808570161c3a40254507500b68c3c97298a567c48535b4cee63f8797d.png)

Figure 4: The data-dependent likelihood-loss -EΩ,Ω′∼P [ log P(D|Ω, Ω′ )].

![Image](https://ijcai.org/proceedings/2020/fulltext/425/image_000003_2dbaf0b04e5b810e34591cf58db77cea08f56c543cec633420dd3f3274b46259.png)

## 3.2 Bayesian Learning Paradigms with Stochastic Variational Inference

Owing to the non-analytically sampling process (ω,ω′ ) ∼ P, a Bayesian learning paradigm with stochastic variational inference is further presented to efficiently optimize the whole network, including the prior-posterior bridge.

Above all, the notation of weights in all layers are simplified to Ω,Ω′ , that is (Ω,Ω′ ) = {(Ωi ,Ω′i )}li=1 and (Ωi ,Ω′i ) = {(ωij ,ω′ i j )}Mj=1 . Thus, the probability density is further represented as

<!-- formula-not-decoded -->

¯ p(Ω), ¯ p′ (Ω′ ) have similar independent assumption.

Specifically, given the observed data D and the weights Ω,Ω′ sampled from the posterior probability density p associated to some prior probability densities ¯ p, ¯ p′ , a learning problem can be defined by a log-probability logP(D). According to Bayesian inference, it can be formalized as follows.

<!-- formula-not-decoded -->

Because logP(D) is a constant when D is given, maximizing the Evidence Lower BOund (ELBO) L(D,Ω,Ω′ ) is equivalent to minimizing the Kullback-Leibler divergence (KL-divergence) KL(p(Ω, Ω′ )‖P(Ω, Ω′ |D)). Generally, we consider optimizing L(D,Ω,Ω′ ) with all available parameters θ including the parameters of the copula-based priorposterior bridge.

<!-- formula-not-decoded -->

Then, the optimization problem -L(D,Ω,Ω′ ) can be directly solved by Monte Carlo method.

<!-- formula-not-decoded -->

where K is the number of sampling the weights Ω,Ω′ . The analytical gradient ∇θ [ - L(D, Ω, Ω′ )] is approximated unbiasedly by [Ranganath et al., 2014; Mandt and Blei, 2014]

<!-- formula-not-decoded -->

Rao-Blackwellization method [Casella and Robert, 1996] and control variates [Ross, 1994] can be further used to reduce the variance of the gradient estimator.

According to the above optimization, the copula-based prior-posterior bridge is not directly interfered by the periodicity of computational elements. BaKer-Nets focus on optimizing the parameters θ of the prior-posterior bridge rather than the internal weights Ω,Ω′ . Thus, the loss landscapes of optimizing BaKer-Nets are much flatter than that of DSKNs, and the the intrinsic structural superiority is preserved very well. Based on the improved learning processes, BaKer-Nets can escape from some poor and dense local minima with proper probability, and thus can achieve better performance and stability. All components in BaKer-Nets can be jointly optimized by prevailing algorithms, such as SGD and Adam, with the derived analytical gradient. Besides, either the time complexity (serial sampling) or the space complexity (parallel sampling) of BaKer-Nets is linearly correlated with K.

As shown in Figure 3 and Figure 4, the prior-dependent KL(p(Ω, Ω′ )‖¯ p(Ω) ¯ p′ (Ω′ )) represents the complexity and the potential structural risk, which indicates that it is prone to be simple and generalizable by taking the network closer to the initial classic kernels ¯ k, ¯ k′ . Correspondingly, the datadependent -EΩ,Ω′∼P [ logP(D|Ω,Ω′ )] reflects the learning ability and the practical empirical risk, which indicates that it is inclined to be complex and powerful by revealing highly non-linear and highly-varying details implied in the observed data D. Therefore, the complexity dominated by the KL-divergence and the learning ability dominated by the likelihood-loss strike an elegant balance in BaKer-Nets.

In addition, unlike the conventional point estimation in DSKNs, the weights Ω,Ω′ here are represented as random variables with proper uncertainty subject to the posterior probability distribution P. Thus instead of learning a single network, the proposed approach learns an infinite ensemble of networks in the sense of probability, where each network has its weights drawn from the shared P . The ensemble with greater uncertainty leads naturally to better exploration and exploitation. More potential solutions can be explored to avoid poor local minima in learning processes. These ensemble solutions can be exploited to enhance their robustness in generalization processes.

## 4 Experiments

In this section, we systematically evaluate the practical performance of BaKer-Nets compared with state-of-the-art related algorithms.

## 4.1 Experimental Settings

For standardization, we cautiously follow the experimental settings in the official publication of DSKNs [Xue et al., 2019]. Specifically, the scales of all deep architectures are set to 1000 × 500 × 50. Sigmoid activation is applied to deep neural networks. Moreover, all algorithms are initialized according to the Xavier method [Glorot and Bengio, 2010], and are optimized by Adam [Kingma and Ba, 2014]. The learning rate is initially set to a commonly-used default value 0.001 [Paszke et al., 2017], which is automatically tuned by the optimizer. Epochs are set to be large enough to ensure the convergence for all algorithms. Accuracy and Mean Squared Error (MSE) are chosen as the evaluation criteria for classification and regression, respectively.

To be representative, the well-known Gaussian kernels are used as the initial classic kernels ¯ k, ¯ k′ . Thus, the corresponding prior probability densities ¯ p, ¯ p′ are Gaussian probability densities. Their intricate correlation structures are modeled by a group of bivariate Gaussian copulas.

## Compared Algorithms

BaKer-Net is compared with related algorithms including:

- DNN [Goodfellow et al., 2016]: Deep Neural Networks.
- DKL-LI [Wilson et al., 2016b]: Deep Kernel Learning with LInear kernels.
- DKL-GA [Wilson et al., 2016b]: Deep Kernel Learning with GAussian kernels.
- DKL-SM [Wilson et al., 2016b]: Deep Kernel Learning with Spectral Mixture kernels.
- SRFF [Zhang et al., 2017]: Stacked Random Fourier Features.
- DSKN [Xue et al., 2019]: Deep Spectral Kernel Networks.

## Datasets

Firstly, we conduct a benchmark experiment on four classification datasets and four regression datasets, which are collected from UCI [Blake and Merz, 1998] and LIBSVM [Chang and Lin, 2011]. These data are randomly divided into non-overlapping training and test sets, which are equal in size. The division, training and test are independently repeated ten times. We assess the convergent performance on average. Secondly, we conduct an image classification experiment on MNIST, FMNIST and CIFAR10 [LeCun et al., 1998; Xiao et al., 2017; Krizhevsky et al., 2009], and analyze the learning processes. The division of image datasets is consistent with their default settings. Here, all deep architectures follow the classic design in LeNet [LeCun et al., 1998].

## 4.2 Experimental Results

## Benchmark

To evaluate the comprehensive performance of BaKer-Nets, the benchmark experiment is conducted.

As shown in Table 3, although these deep kernel learning algorithms are based on DNN, they have relatively poor performance. In these algorithms, the combined kernels more likely interfere with the feature extraction, due to their unsolved locality. Whether in classification or regression, the performance of DSKN is similar to that of SRFF. The structural superiority of DSKN is wasted to some extent. In contrast, BaKer-Net impressively outperforms these compared algorithms on all datasets. The results explicitly demonstrate that BaKer-Net is compatible with practical learning tasks well, and achieves credible performance improvement.

Table 3: Classification accuracy and regression MSE (mean±std.) on the benchmark datasets. (↑) indicates the larger the better, while (↓) indicates the smaller the better. The best results are highlighted in bold and the average ranks on accuracy and MSE are listed in R.. ·/◦ indicates whether BaKer-Net is statistically superior/inferior to the compared algorithms (pairwise t-test at 0.05 significance level).

|           | Classification - a3a   | Classification - ionosphere   | Classification - Accuracy (↑) sonar   | Classification - wbdc   | Regression MSE (↓) - airfoil   | Regression MSE (↓) - power   | Regression MSE (↓) - wine-red   | Regression MSE (↓) - wine-white   | R.     |
|-----------|------------------------|-------------------------------|---------------------------------------|-------------------------|--------------------------------|------------------------------|---------------------------------|-----------------------------------|--------|
| DNN       | 0.806±0.024•           | 0.828±0.103•                  | 0.783±0.126                           | 0.933±0.107             | 0.080±0.010•                   | 0.056±0.002•                 | 0.662±0.036•                    | 0.649±0.011•                      | (4)(6) |
| DKL-LI    | 0.818±0.010•           | 0.809±0.118•                  | 0.658±0.110•                          | 0.976±0.006•            | 0.078±0.005•                   | 0.059±0.001•                 | 0.629±0.025                     | 0.635±0.019                       | (5)(2) |
| DKL-GA    | 0.816±0.010•           | 0.743±0.115•                  | 0.605±0.112•                          | 0.902±0.148             | 0.117±0.039•                   | 0.059±0.002•                 | 0.623±0.020                     | 0.634±0.008•                      | (7)(5) |
| DKL-SM    | 0.819±0.009•           | 0.788±0.106•                  | 0.652±0.118•                          | 0.940±0.103             | 0.144±0.019•                   | 0.062±0.004•                 | 0.651±0.020•                    | 0.657±0.027•                      | (6)(7) |
| SRFF      | 0.802±0.006•           | 0.882±0.020•                  | 0.818±0.039•                          | 0.961±0.009•            | 0.076±0.011•                   | 0.061±0.001•                 | 0.631±0.023                     | 0.638±0.017•                      | (3)(3) |
| DSKN      | 0.818±0.011•           | 0.917±0.033                   | 0.819±0.038•                          | 0.974±0.007•            | 0.063±0.010•                   | 0.055±0.002•                 | 0.652±0.030•                    | 0.651±0.012•                      | (2)(4) |
| BaKer-Net | 0.835±0.008            | 0.934±0.022                   | 0.859±0.040                           | 0.983±0.003             | 0.051±0.002                    | 0.046±0.001                  | 0.612±0.020                     | 0.622±0.005                       | (1)(1) |

Figure 5: Test accuracy curves in all epochs. Different curves represent the learning processes of different algorithms where BaKer-Net is denoted as the best orange-red curve.

![Image](https://ijcai.org/proceedings/2020/fulltext/425/image_000004_939c24aeec323620ce3ee48045666e85d06f1209bcb25219323d4ed06cff0db8.png)

Table 4: Classification accuracy on the image datasets. conv means the convergent accuracy in the last epoch and best means the best accuracy in all epochs. The best results are highlighted in bold.

|           |   MNIST - conv |   MNIST - best |   FMNIST - conv |   FMNIST - best |   CIFAR10 - conv |   CIFAR10 - best |
|-----------|----------------|----------------|-----------------|-----------------|------------------|------------------|
| DNN       |          0.989 |          0.990 |           0.889 |           0.898 |            0.590 |            0.620 |
| DKL-LI    |          0.980 |          0.990 |           0.895 |           0.896 |            0.627 |            0.627 |
| DKL-GA    |          0.983 |          0.991 |           0.830 |           0.883 |            0.558 |            0.605 |
| DKL-SM    |          0.985 |          0.991 |           0.871 |           0.888 |            0.510 |            0.585 |
| SRFF      |          0.988 |          0.988 |           0.882 |           0.894 |            0.529 |            0.585 |
| DSKN      |          0.989 |          0.989 |           0.888 |           0.893 |            0.549 |            0.585 |
| BaKer-Net |          0.995 |          0.995 |           0.908 |           0.911 |            0.674 |            0.675 |

## Image Classification

Specially, to demonstrate that BaKer-Net can improve the learning processes by escaping from some poor and dense local minima, the image classification experiment is conducted. The results are illustrated in Table 4 and Figure 5.

With the increasing difficulty of MNIST, FMNIST and CIFAR10, almost all compared algorithms gradually fall into worse and worse fluctuations. The trends are clearly presented in Figure 5. In the early stages of optimization, these compared algorithms fall into annoying local minima, and begin to fluctuate in 0 - 50 epochs, as indicated by the red arrows. As the optimization continues, they are still stuck in these poor local minima. After the automatically-tuned learning rates almost decrease to 0, they converge to terrible solutions. In contrast, due to enabling the uncertainty of computational elements, BaKer-Net escapes from these local minima and further achieves better performance by exploring more potential solutions. It also enhances robustness by exploiting these ensemble solutions. Consequently, BaKerNet not only achieves the best accuracy but also obtains great stability, benefiting from the prior-posterior bridge and the Bayesian learning paradigm.

## 5 Conclusion

To alleviate the difficulty of optimization on the premise of preserving the structural superiority, we propose BaKerNets with preferable learning processes. Specifically, a priorposterior bridge is derived to enable the uncertainty of computational elements reasonably. Subsequently, a Bayesian learning paradigm is presented to optimize the prior-posterior bridge efficiently. Hence, BaKer-Nets can not only explore more potential solutions to avoid local minima, but also exploit these ensemble solutions to strengthen their robustness. Systematical experiments demonstrate the competitive performance of the proposed approach, and further indicate the significance of BaKer-Nets in improving learning processes.

## Acknowledgments

This work was supported by the National Key R&amp;D Program of China (2017YFB1002801). It was also supported by Collaborative Innovation Center of Wireless Communications Technology.

## References

1. [Aas et al., 2006] Kjersti Aas, Claudia Czado, Arnoldo Frigessi, and Henrik Bakken. Pair-copula constructions of multiple dependence. Insurance Mathematics & Eco- nomics, 44(2):182-198, 2006.
2. [Bengio et al., 2006] Yoshua Bengio, Olivier Delalleau, and Nicolas Le Roux. The curse of highly variable functions for local kernel machines. In Advances in neural informa- tion processing systems, pages 107-114, 2006.
3. [Bengio et al., 2007a] Yoshua Bengio, Pascal Lamblin, Dan Popovici, and Hugo Larochelle. Greedy layer-wise train- ing of deep networks. In Advances in neural information processing systems, pages 153-160, 2007.
4. [Bengio et al., 2007b] Yoshua Bengio, Yann LeCun, et al. Scaling learning algorithms towards ai. Large-scale ker- nel machines, 34(5):1-41, 2007.
5. [Blake and Merz, 1998] Catherine Blake and Christopher J Merz. Uci repository of machine learning databases. On- line at http://archive.ics.uci.edu/ml/, 1998.
6. [Casella and Robert, 1996] George Casella and Christian P Robert. Rao-blackwellisation of sampling schemes. Biometrika, 83(1):81-94, 1996.
7. [Chang and Lin, 2011] Chih-Chung Chang and Chih-Jen Lin. LIBSVM: A library for support vector machines. ACM Transactions on Intelligent Systems and Technology, 2:27:1-27:27, 2011. Software available at http://www. csie.ntu.edu.tw/ ∼ cjlin/libsvm.
8. [Charpentier and Segers, 2009] Arthur Charpentier and Jo- han Segers. Tails of multivariate archimedean copu- las. Journal of Multivariate Analysis, 100(7):1521-1537, 2009.
9. [Delalleau and Bengio, 2011] Olivier Delalleau and Yoshua Bengio. Shallow vs. deep sum-product networks. In Ad- vances in Neural Information Processing Systems, pages 666-674, 2011.
10. [Glorot and Bengio, 2010] Xavier Glorot and Yoshua Ben- gio. Understanding the difficulty of training deep feedfor- ward neural networks. In Proceedings of the thirteenth in- ternational conference on artificial intelligence and statis- tics, pages 249-256, 2010.
11. [Goodfellow et al., 2016] Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep Learning. MIT press, 2016.
12. [Kingma and Ba, 2014] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
13. [Krizhevsky et al., 2009] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny im- ages. Technical report, Citeseer, 2009.
14. [LeCun et al., 1998] Yann LeCun, Léon Bottou, Yoshua Bengio, Patrick Haffner, et al. Gradient-based learning ap- plied to document recognition. Proceedings of the IEEE, 86(11):2278-2324, 1998.
15. [Li, 2000] David X Li. On default correlation: A copula function approach. Social Science Electronic Publishing, 9(4), 2000.
16. [Mandt and Blei, 2014] Stephan Mandt and David Blei. Smoothed gradients for stochastic variational inference. In Advances in Neural Information Processing Systems, pages 2438-2446, 2014.
17. [Paszke et al., 2017] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary De- Vito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017.
18. [Ranganath et al., 2014] Rajesh Ranganath, Sean Gerrish, and David Blei. Black box variational inference. In Ar- tificial Intelligence and Statistics, pages 814-822, 2014.
19. [Ross, 1994] Sheldon M Ross. A new simulation estimator of system reliability. International Journal of Stochastic Analysis, 7(3):331-336, 1994.
20. [Sklar, 1959] M Sklar. Fonctions de répartition À n dimen- sions et leurs marges. Publ.inst.statist.univ, Paris, 8:229- 231, 1959.
21. [Sun et al., 2018] Shengyang Sun, Guodong Zhang, Chaoqi Wang, Wenyuan Zeng, Jiaman Li, and Roger Grosse. Dif- ferentiable compositional kernel learning for gaussian pro- cesses. arXiv preprint arXiv:1806.04326, 2018.
22. [Whelan, 2004] Niall Whelan. Sampling from archimedean copulas. Quantitative Finance, 4(3):339-352, 2004.
23. [Wilson and Nickisch, 2015] Andrew Wilson and Hannes Nickisch. Kernel interpolation for scalable structured gaussian processes (kiss-gp). In International Conference on Machine Learning, pages 1775-1784, 2015.
24. [Wilson et al., 2016a] Andrew G Wilson, Zhiting Hu, Rus- lan R Salakhutdinov, and Eric P Xing. Stochastic varia- tional deep kernel learning. In Advances in Neural Infor- mation Processing Systems, pages 2586-2594, 2016.
25. [Wilson et al., 2016b] Andrew Gordon Wilson, Zhiting Hu, Ruslan Salakhutdinov, and Eric P Xing. Deep kernel learn- ing. In Artificial Intelligence and Statistics, pages 370- 378, 2016.
26. [Xiao et al., 2017] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: A novel image dataset for bench- marking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
27. [Xue et al., 2019] Hui Xue, Zheng-Fan Wu, and Wei-Xiang Sun. Deep spectral kernel learning. In Proceedings of the Twenty-Eighth International Joint Conference on Ar- tificial Intelligence, IJCAI-19, pages 4019-4025. Interna- tional Joint Conferences on Artificial Intelligence Organi- zation, 7 2019.
28. [Yaglom, 1987] Akira Moiseevich Yaglom. Correlation Theory of Stationary and Related Random Functions, vol- ume 1. Springer Series in Statistics, 1987.
29. [Zhang et al., 2017] Shuai Zhang, Jianxin Li, Pengtao Xie, Yingchun Zhang, Minglai Shao, Haoyi Zhou, and Mengyi Yan. Stacked kernel network. arXiv preprint arXiv:1711.09219, 2017.
