A Predictive-Coding Network That Is Both Discriminative and Generative

Neural Comput. 2020 Oct;32(10):1836-1862. doi: 10.1162/neco_a_01311. Epub 2020 Aug 14.

Abstract

Predictive coding (PC) networks are a biologically interesting class of neural networks. Their layered hierarchy mimics the reciprocal connectivity pattern observed in the mammalian cortex, and they can be trained using local learning rules that approximate backpropagation (Bogacz, 2017). However, despite having feedback connections that enable information to flow down the network hierarchy, discriminative PC networks are not typically generative. Clamping the output class and running the network to equilibrium yields an input sample that usually does not resemble the training input. This letter studies this phenomenon and proposes a simple solution that promotes the generation of input samples that resemble the training inputs. Simple decay, a technique already in wide use in neural networks, pushes the PC network toward a unique minimum two-norm solution, and that unique solution provably (for linear networks) matches the training inputs. The method also vastly improves the samples generated for nonlinear networks, as we demonstrate on MNIST.

MeSH terms

  • Discrimination Learning*
  • Forecasting
  • Humans
  • Neural Networks, Computer*
  • Pattern Recognition, Automated / methods*