BCPNN explained
A Bayesian Confidence Propagation Neural Network (BCPNN) is an artificial neural network inspired by Bayes' theorem, which regards neural computation and processing as probabilistic inference. Neural unit activations represent probability ("confidence") in the presence of input features or categories, synaptic weights are based on estimated correlations and the spread of activation corresponds to calculating posterior probabilities. It was originally proposed by Anders Lansner and Örjan Ekeberg at KTH Royal Institute of Technology.[1] This probabilistic neural network model can also be run in generative mode to produce spontaneous activations and temporal sequences.
The basic model is a feedforward neural network comprising neural units with continuous activation, having a bias representing prior, and being connected by Bayesian weights in the form of point-wise mutual information. The original network has been extended to a modular structure of minicolumns and hypercolumns, representing discrete coded features or attributes.[2] [3] The units can also be connected as a recurrent neural network (losing the strict interpretation of their activations as probabilities)[4] but becoming a possible abstract model of biological neural networks and associative memory.[5] [6] [7] [8] [9]
BCPNN has been used for machine learning classification[10] and data mining, for example for discovery of adverse drug reactions.[11] The BCPNN learning rule has also been used to model biological synaptic plasticity and intrinsic excitability in large-scale spiking neural network (SNN) models of cortical associative memory[12] [13] and reward learning in Basal ganglia.[14]
Network architecture
The BCPNN network architecture is modular in terms of hypercolumns and minicolumns. This modular structure is inspired by and generalized from the modular structure of the mammalian cortex. In abstract models, the minicolumns serve as the smallest units and they typically feature a membrane time constant and adaptation. In spiking models of cortex, a layer 2/3 minicolumn is typically represented by some 30 pyramidal cells and one double bouquet cell.[15] The latter turns the negative BCPNN-weights formed between neurons with anti-correlated activity into di-synaptic inhibition.
Lateral inhibition within the hypercolumn makes it a soft winner-take-all module. Looking at real cortex, the number of minicolumns within a hypercolumn is on the order of a hundred, which makes the activity sparse, at the level of 1% or less, given that hypercolumns can also be silent.[16] A BCPNN network with a size of the human neocortex would have a couple of million hypercolumns, partitioned into some hundred areas. In addition to sparse activity, a large-scale BCPNN would also have very sparse connectivity, given that the real cortex is sparsely connected at the level of 0.01 - 0.001% on average.
Bayesian-Hebbian learning rule
The BCPNN learning rule was derived from Bayes rule and is Hebbian such that neural units with activity correlated over time get excitatory connections between them whereas anti-correlation generates inhibition and lack of correlation gives zero connections. The independence assumptions are the same as in naïve Bayes formalism. BCPNN represents a straight-forward way of deriving a neural network from Bayes rule. In order to allow the use the standard equation for propagating activity between neurons, transformation to log space was necessary. The basic equations for postsynaptic unit intrinsic excitability
and synaptic weight between pre- and postsynaptic units,
, are:
where the activation and co-activation probabilities
are estimated from the training set, which can be done e.g. by exponentially weighted moving averages (see Figure).
There has been proposals for a biological interpretation of the BCPNN learning rule.
may represent binding of glutamate to
NMDA receptors, whereas
could represent a
back-propagating action potential reaching the synapse. The conjunction of these events lead to
influx via NMDA channels,
CaMKII activation,
AMPA channel phosphorylation, and eventually enhanced synaptic conductance.
The
traces are further filtered into the
traces, which serve as temporal buffers,
eligibility traces or
synaptic tags necessary to allow delayed reward to affect synaptic parameters. E traces are subsequently filtered into the P traces that finally determine the values of bias and weight values. This summarizes many complex protein and non-protein dependent synaptic processes behind
LTP, exhibiting highly variable timescales, from several seconds up to potentially days or months. The parameter κ ∈ [0, ∞] regulates the degree of plasticity or learning rate and is supposed to represent the release and action of some endogenous neuromodulator, e.g., dopamine activating D1R-like receptors, triggered by some unexpected emotionally salient situation, and resulting in
neuromodulated activity dependent plasticity and learning.
Models of brain systems and functions
The cortex inspired modular architecture of BCPNN has been the basis for several spiking neural network models of cortex aimed at studying its associative memory functions. In these models, minicolumns comprise about 30 model pyramidal cells and a hypercolumn comprises ten or more such minicolumns and a population of basket cells that mediate local feedback inhibition. A modelled network is composed of about ten or more such hypercolumns. Connectivity is excitatory within minicolumns and support feedback inhibition between minicolumns in the same hypercolumn via model basket cells. Long-range connectivity between hypercolumns is sparse and excitatory and is typically set up to form number of distributed cell assemblies representing earlier encoded memories. Neuron and synapse properties have been tuned to represent their real counterparts in terms of e.g. spike frequency adaptation and fast non-Hebbian synaptic plasticity.
These cortical models have mainly been used to provide a better understanding of the mechanisms underlying cortical dynamics and oscillatory structure associated with different activity states.[17] Cortical oscillations in the range from theta, over alpha and beta to gamma are generated by this model. The embedded memories can be recalled from partial input and when activated they show signs of fixpoint attractor dynamics, though neural adaptation and synaptic depression terminates activity within some hundred milliseconds. Notably, a few cycles of gamma oscillations are generated during such a brief memory recall. Cognitive phenomena like attentional blink and its modulation by benzodiazepine has also been replicated in this model.[18]
In recent years, Hebbian plasticity has been incorporated into this cortex model and simulated with abstract non-spiking as well as spiking neural units.[19] This made it possible to demonstrate online learning of temporal sequences[20] as well as one-shot encoding and immediate recall in human word list learning. These findings further lead to the proposal and investigation of a novel theory of working memory based on fast Hebbian synaptic plasticity.
A similar approach was applied to model reward learning and behavior selection in a Go-NoGo connected non-spiking and spiking neural network models of the Basal ganglia.[21]
Machine learning applications
The point-wise mutual information weights of BCPNN is since long one of the standard methods for detection of drug adverse reactions.
BCPNN has recently been successfully applied to Machine Learning classification benchmarks, most notably the hand written digits of the MNIST database. The BCPNN approach uses biologically plausible learning and structural plasticity for unsupervised generation of a sparse hidden representation, followed by a one-layer classifier that associates this representation to the output layer. It achieves a classification performance on the full MNIST test set around 98%, comparable to other methods based on unsupervised representation learning.[22] The performance is notably slightly lower than that of the best methods that employ end-to-end error back-propagation. However, the extreme performance comes with a cost of lower biological plausibility and higher complexity of the learning machinery. The BCPNN method is also quite well suited for semi-supervised learning.
Hardware designs for BCPNN
The structure of BCPNN with its cortex-like modular architecture and massively parallel correlation based Hebbian learning makes it quite hardware friendly. Implementation with reduced number of bits in synaptic state variables have been shown to be feasible.[23] BCPNN has further been the target for parallel simulators on cluster computers and GPU:s. It was recently implemented on the SpiNNaker compute platform[24] as well as in a series of dedicated neuromorphic VLSI designs.[25] [26] [27] [28] From these it has been estimated that a human cortex sized BCPNN with continuous learning could be executed in real time with a power dissipation on the order of few kW.
Notes and References
- Lansner A, Ekeberg Ö . 1989. A one-layer feedback artificial neural network with a Bayesian learning rule. International Journal of Neural Systems. 1. 1. 77–87. 10.1142/S0129065789000499.
- Lansner A, Holst A . A higher order Bayesian neural network with spiking units . International Journal of Neural Systems . 7 . 2 . 115–28 . May 1996 . 8823623 . 10.1142/S0129065796000816 .
- Sandberg A, Lansner A, Petersson KM, Ekeberg O . A Bayesian attractor network with incremental learning . Network . 13 . 2 . 179–94 . May 2002 . 12061419 . 10.1080/net.13.2.179.194 . 218898276 .
- Lansner A . A recurrent bayesian ANN capable of extracting prototypes from unlabeled and noisy examples. . Artificial Neural Networks. Proceedings of the 1991 International Conference on Artificial Neural Networks (ICANN-91) . 1–2 . June 1991 . Espoo, Finland . Elsevier .
- Book: Lansner, Anders. INVESTIGATIONS INTO THE PATIERN PROCESSING CAPABILITIES OF ASSOCIATIVE NETS. 1986. KTH Royal Institute of Technology.
- Fransén E, Lansner A . January 1998 . A model of cortical associative memory based on a horizontal network of connected columns . Network: Computation in Neural Systems. 9. 2. 235–264. 10.1088/0954-898x_9_2_006. 9861988 . 0954-898X.
- Lansner A, Fransen E . January 1992 . Modelling Hebbian cell assemblies cortical neurons . Network: Computation in Neural Systems. 3. 2. 105–119. 10.1088/0954-898x_3_2_002. 0954-898X.
- Lansner A . Associative memory models: from the cell-assembly theory to biophysically detailed cortex simulations . Trends in Neurosciences . 32 . 3 . 178–86 . March 2009 . 19187979 . 10.1016/j.tins.2008.12.002 . 11912288 . free .
- Lundqvist M, Herman P, Lansner A . Theta and gamma power increases and alpha/beta power decreases with memory load in an attractor network model . Journal of Cognitive Neuroscience . 23 . 10 . 3008–20 . October 2011 . 21452933 . 10.1162/jocn_a_00029 . 2044858 .
- Book: Ravichandran NB, Lansner A, Herman P . 2020 International Joint Conference on Neural Networks (IJCNN) . Learning representations in Bayesian Confidence Propagation neural networks . IJCNN . 2020 . 1–7 . IEEE . 10.1109/IJCNN48605.2020.9207061 . 2003.12415 . 978-1-7281-6926-2 . 214692985 .
- Orre R, Lansner A, Bate A, Lindquist M . 2000. Bayesian neural networks with confidence estimations applied to data mining. Computational Statistics & Data Analysis. 34. 4. 473–493. 10.1016/S0167-9473(99)00114-0.
- Fiebig F, Lansner A . A Spiking Working Memory Model Based on Hebbian Short-Term Potentiation . The Journal of Neuroscience . 37 . 1 . 83–96 . January 2017 . 28053032 . 5214637 . 10.1523/JNEUROSCI.1989-16.2016 .
- Fiebig F, Herman P, Lansner A . An Indexing Theory for Working Memory Based on Fast Hebbian Plasticity . eNeuro . 7 . 2 . ENEURO.0374–19.2020 . March 2020 . 32127347 . 7189483 . 10.1523/ENEURO.0374-19.2020 .
- Berthet P, Hellgren-Kotaleski J, Lansner A . Action selection performance of a reconfigurable basal ganglia inspired model with Hebbian-Bayesian Go-NoGo connectivity . English . Frontiers in Behavioral Neuroscience . 6 . 65 . 2012 . 23060764 . 3462417 . 10.3389/fnbeh.2012.00065 . free .
- Chrysanthidis N, Fiebig F, Lansner A . Introducing double bouquet cells into a modular cortical associative memory model . Journal of Computational Neuroscience . 47 . 2–3 . 223–230 . December 2019 . 31502234 . 6879442 . 10.1007/s10827-019-00729-1 .
- Meli C, Lansner A . A modular attractor associative memory with patchy connectivity and weight pruning . Network: Computation in Neural Systems. 24 . 4 . 129–50 . December 2013 . 24251411 . 10.3109/0954898X.2013.859323 . 14848878 .
- Lundqvist M, Compte A, Lansner A. June 2010. Bistable, irregular firing and population oscillations in a modular attractor memory network. PLOS Computational Biology. 6. 6. e1000803. 2010PLSCB...6E0803L. 10.1371/journal.pcbi.1000803. 2880555. 20532199. Morrison A . free .
- Silverstein DN, Lansner A. 2011. Is attentional blink a byproduct of neocortical attractors?. Frontiers in Computational Neuroscience. 5. 13. 10.3389/fncom.2011.00013. 3096845. 21625630. free.
- Tully PJ, Hennig MH, Lansner A . Synaptic and nonsynaptic plasticity approximating probabilistic inference . Frontiers in Synaptic Neuroscience . 6 . 8 . April 2014 . 24782758 . 3986567 . 10.3389/fnsyn.2014.00008 . free .
- Tully PJ, Lindén H, Hennig MH, Lansner A . Spike-Based Bayesian-Hebbian Learning of Temporal Sequences . PLOS Computational Biology . 12 . 5 . e1004954 . May 2016 . 27213810 . 4877102 . 10.1371/journal.pcbi.1004954 . 2016PLSCB..12E4954T . Morrison A . free .
- Berthet P, Lindahl M, Tully PJ, Hellgren-Kotaleski J, Lansner A . Functional Relevance of Different Basal Ganglia Pathways Investigated in a Spiking Model with Reward Dependent Plasticity . Frontiers in Neural Circuits . 10 . 53 . July 2016 . 27493625 . 4954853 . 10.3389/fncir.2016.00053 . free .
- Ravichandran NB, Lansner A, Herman P . Brain-like approaches to unsupervised learning of hidden representations--a comparative study. . 2005.03476 . May 2020 . cs.NE .
- Vogginger B, Schüffny R, Lansner A, Cederström L, Partzsch J, Höppner S . Reducing the computational footprint for real-time BCPNN learning . Frontiers in Neuroscience . 9 . 2 . January 2015 . 25657618 . 4302947 . 10.3389/fnins.2015.00002 . free .
- Knight JC, Tully PJ, Kaplan BA, Lansner A, Furber SB . Large-Scale Simulations of Plastic Neural Networks on Neuromorphic Hardware . Frontiers in Neuroanatomy . 10 . 37 . April 2016 . 27092061 . 4823276 . 10.3389/fnana.2016.00037 . free .
- Book: Farahini N, Hemani A, Lansner A, Clermidy F, Svensson C . 2014 19th Asia and South Pacific Design Automation Conference (ASP-DAC) . A scalable custom simulation machine for the Bayesian Confidence Propagation Neural Network model of the brain . January 2014 . Singapore. IEEE. 578–585. 10.1109/ASPDAC.2014.6742953. 978-1-4799-2816-3. 15069505.
- Book: Lansner A, Hemani A, Farahini N . 2014 19th Asia and South Pacific Design Automation Conference (ASP-DAC) . Spiking brain models: Computation, memory and communication constraints for custom hardware implementation . January 2014 . Singapore. IEEE. 556–562. 10.1109/ASPDAC.2014.6742950. 978-1-4799-2816-3. 18476370.
- Stathis D, Sudarshan C, Yang Y, Jung M, Weis C, Hemani A, Lansner A, Wehn N . November 2020 . eBrainII: a 3 kW Realtime Custom 3D DRAM Integrated ASIC Implementation of a Biologically Plausible Model of a Human Scale Cortex . Journal of Signal Processing Systems. en. 92. 11. 1323–1343. 10.1007/s11265-020-01562-x. 207870792. 1939-8018. free. 1911.00889. 2020JSPSy..92.1323S .
- Yang Y, Stathis D, Jordão R, Hemani A, Lansner A . Optimizing BCPNN Learning Rule for Memory Access . Frontiers in Neuroscience . 14 . 878 . August 2020 . 32982673 . 7487417 . 10.3389/fnins.2020.00878 . free .