2021/06/04 by Bhavin Choksi, Milad Mozafari, Choksi, Bhavin +10 · 25 citations
Biochemistry, Genetics and Molecular Biology · Computer Science · Neuroscience · #Adversarial Robustness in Machine Learning #Artificial intelligence #Artificial neural network #Cell Image Analysis Techniques #Coding (social sciences) #Computational neuroscience #Computer Vision and Pattern Recognition (cs.CV) #Computer science #Convolutional neural network #Deep learning #Deep neural networks #FOS: Biological sciences #FOS: Computer and information sciences #Feed forward #Generative grammar #Machine learning #Neural coding #Neural dynamics and brain function #Neurons and Cognition (q-bio.NC) #Pattern recognition (psychology) #Predictive coding #Recurrent neural network #Robustness (evolution) #cs.CV #q-bio.NC
paper · pdf · doi:10.48550/arxiv.2106.02749
published in arXiv (Cornell University) (Cornell University) · Paper presented at NeurIPS 2021
openalex publication_date 2021/06/04 · arxiv created 2021/11/04 · arxiv updated 2021/11/05 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/05
Deep neural networks excel at image classification, but their performance is far less robust to input perturbations than human perception. In this work we explore whether this shortcoming may be partly addressed by incorporating brain-inspired recurrent dynamics in deep convolutional networks. We take inspiration from a popular framework in neuroscience: 'predictive coding'. At each layer of the hierarchical model, generative feedback 'predicts' (i.e., reconstructs) the pattern of activity in the previous layer. The reconstruction errors are used to iteratively update the network's representations across timesteps, and to optimize the network's feedback weights over the natural image dataset-a form of unsupervised training. We show that implementing this strategy into two popular networks, VGG16 and EfficientNetB0, improves their robustness against various corruptions and adversarial attacks. We hypothesize that other feedforward networks could similarly benefit from the proposed framework. To promote research in this direction, we provide an open-sourced PyTorch-based package called Predify, which can be used to implement and investigate the impacts of the predictive coding dynamics in any convolutional neural network.