Why is Bayesian regularization backpropagation (Neural Network Toolbox) so very very slow?

조회 수: 8 (최근 30일)
Empirically I've found with a challenging pattern recognition problem I'm working on, that Bayesian regularization backpropagation (trainbr) outperforms more standard tools such as trainlm, trainscg and trainrp by quite a bit. But, it takes an extraordinarily longer time to compute. In its original formulation (MacKay 1992), Bayesian regularization required calculation of the Hessian matrix, which is very computationally demanding, and would account for the long time. However, in Foresee 1997 (both works cited in Matlab doc for trainbr), an alternative was developed that claims to reduce the computational challenge to be similar to e.g. trainlm. This latter work is cited in the documentation, but is it implemented? Can I find a library somewhere that implements it? I'm pretty confident that trainbr as implemented in the Neural Network Toolbox requires calculation of the Hessian, because it refuses to run on a GPU, identifying lack of support for inversion of the (related) Jacobian as the reason. But, I'd be happy to be educated on that.
  댓글 수: 2
Andrew Diamond
Andrew Diamond 2018년 1월 24일
did you ever ping matlab support on this? As they say, "Inquiring minds want to know."
jkr
jkr 2018년 1월 25일
No, I've moved on other issues. If you inquire, please somehow link to hear - I'd be happy to learn more in case I return to this problem.

댓글을 달려면 로그인하십시오.

답변 (2개)

Greg Heath
Greg Heath 2016년 8월 28일
Use the command
type trainbr
Thank you for formally accepting my answer
Greg
  댓글 수: 1
jkr
jkr 2016년 8월 28일
Interesting. I wasn't familiar with the 'type' command. But, the results don't address the question of whether the Gauss-Newton approximation has been implemented, and if not whether I can find an implementation of it.

댓글을 달려면 로그인하십시오.


Mustafa Sobhy
Mustafa Sobhy 2019년 8월 22일
Because It requires the computation of the Hessian matrix of the performance index.
Source: Gauss-Newton Approximation to Baysian Learning.

카테고리

Help CenterFile Exchange에서 Pattern Recognition and Classification에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by