Skip to main content
. 2011 Dec 15;7(12):e1002294. doi: 10.1371/journal.pcbi.1002294

Figure 3. Results of Computer Simulation I.

Figure 3

Performance comparison between an ideal version of Implementation 1 (use of auxiliary RVs, results shown in green) and an ideal version of implementations that satisfy the NCC (results shown in blue) for probabilistic inference in the Bayesian network of Fig. 1B (“explaining away”. Evidence Inline graphic (see (1)) is entered for the RVs Inline graphic and Inline graphic, and the marginal probability Inline graphic is estimated. A) Target values of Inline graphic for Inline graphic and Inline graphic are shown in black, results from sampling for Inline graphic from a network of spiking neurons are shown in green and blue. Panels C) and D) show the temporal evolution of the Kullback-Leibler divergence between the resulting estimates through neural sampling Inline graphic and the correct posterior Inline graphic, averaged over 10 trials for Inline graphic in C) and for Inline graphic in D). The green and blue areas around the green and blue curves represent the unbiased value of the standard deviation. The estimated marginal posterior is calculated for each time point from the samples (number of spikes) from the beginning of the simulation (or from Inline graphic for the second inference query with Inline graphic). Panels A, C, D show that both approaches yield correct probabilistic inference through neural sampling, but the approach via satisfying the NCC converges about 10 times faster. B) The firing rates of principal neuron Inline graphic (solid line) and of the principal neuron Inline graphic (dashed line) in the approach via satisfying the NCC, estimated with a sliding window (alpha kernel Inline graphic). In this experiment the evidence Inline graphic was switched after 3 s (red vertical line) from Inline graphic to Inline graphic. The “explaining away”effect is clearly visible from the complementary evolution of the firing rates of the neurons Inline graphic and Inline graphic.