Skip to content

Pytorch Implementation, Experiments and Exploration of Biologically Plausible Neural Networks as a final project of CLPS1291 @ Brown

License

Notifications You must be signed in to change notification settings

clps1291-bioplausnn/BioPlausibleLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Biologically plausible neural networks

Group Project of CLPS1291 Fall 23 @ Brown

Group members: Xueru MA, Yingwei Song, Yunxi Liang, Yuxiang Wang

Introduction

In the pursuit of artificial intelligence that mirrors the deftness of human cognition, the concept of biological plausibility stands as a beacon, guiding the design of neural networks toward the intricate workings of the human brain. A neural network that is considered biologically plausible emulates the structure and functions of the biological nervous system, often with the purpose of improving the performance of neural networks or gaining insights into processes of the biological brain.

While backpropagation (BP) is a cornerstone in training modern neural networks, it deviates from how biological neural systems function. Key differences include BP's reliance on inter-layer weight dynamics, unlike the local information transmission in biological neurons, its use of symmetric weights for both forward and backward passes which contrasts with the one-directional, asymmetric nature of biological synapses, and its continuous output neuron firing, as opposed to the all-or-none firing based on a threshold in biological neurons. Recognizing these discrepancies, this project focuses on exploring neural network techniques that better mimic human brain functions. The aim is to investigate how these biologically inspired alternatives to backpropagation could enhance the performance and interpretability of neural networks.

A full version final report can be found here: Link to PDF

Requirements

  • Python
  • numpy
  • torch
  • torchvision
  • matplotlib
  • CUDA (for hybridBio_learning)

Folder Explanation

Feedback_Alignment:

semiHebb_learning:


hybridBio_learning:

  • A PyTorch implementation of Unsupervised learning by competing hidden units MNIST classifier based on gatapia/unsupervised_bio_classifier, combining with Feedback alignment. Original descriptive documentation can be found at here.
  • Experiments on
    • the blend of Krotov's unsupervised layers w/o biocells and Linear Layers (Krotov's HebbNet w/o Biocells + fc)
    • the blend of Krotov's unsupervised layers w biocells and Linear Layers (Krotov's HebbNet w Biocells + fc)
    • the blend of Krotov's unsupervised layers w or w/o biocells and Feedback Alignment Layers (Krotov's HebbNet + FA)


Analysis

See the final report: Link to PDF

Future Work

Training & Experiments

  • Try to train semiHebbNet in one phase, find the best learning rate for Hebbian layers and linear layers respectively.
  • More Hyperparameter tuning on these models to compare their Peak Accuracy.
  • Compare Efficiency in the same experimental settings.(same epoch, dataset, lr, hardward etc)

Algorithms & Learning rules

Others

  • Enable GPU mode for semiHebbNet and Feedback Alignment
  • Interpretability: Figure out a way to make XPlique applicable to our models. (our models have no filters as attributes, and are not differentiable sometimes)

Useful Resources

Except for torchvision models, GluonCV includes many pretrained sota models in CV.

About

Pytorch Implementation, Experiments and Exploration of Biologically Plausible Neural Networks as a final project of CLPS1291 @ Brown

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •