This repository contains an analysis of the role of excitation and inhibition in shaping neural dynamics in two settings:
- Decision-Making* --- using a mean-field Wilson-Cowan rate model
- Adaptive Learning in Dynamic Environments (Continual Reinforcement Learning in a changing sequence of Probabilistic Reversal Learning (PRL) tasks) --- using a Neural Actor Critic model with an E/I modulation mechanism
This folder contains notebooks and scripts for simulating and analyzing neural dynamics in decision-making processes using mean-field approximations.
evidence_accum_perf_crit.ipynb
: For understanding evidence accumulation in achieving performance criteria during decision-making tasks.inhib.ipynb
: Investigates the impact of inhibition on neural dynamics.plotting.py
: Helper functions for visualizing results and simulations.recur_excit.ipynb
: Studies the role of recurrent excitation in decision-making dynamics.role_inhib.ipynb
: Focuses on the role of inhibition in decision-making processes.sim_dyn.py
: Core simulation script for dynamic systems modeling.utils.py
: Utility functions for preprocessing, computation, and support tasks.
This folder contains code for implementing and analyzing a Neural Actor-Critic (NeuralAC) framework for adaptive learning.
baselines.ipynb
: Compares the performance of over wE.environment.py
: Defines the environment setup for reinforcement learning tasks.experiment.py
: Contains code for running experiments and simulations.neural_actor_critic.py
: Implements the Neural Actor-Critic algorithm.plotting.py
: Visualization scripts specific to adaptive learning experiments.role_inhib_strong_recur.ipynb
: Examines the role of inhibition in recurrent networks with high precision.role_inhib_weak_recur.ipynb
: Examines the role of inhibition in recurrent networks with low precision.utils.py
: Common utility functions used across experiments.
- Python 3.8 or higher
- Recommended packages:
numpy
matplotlib
scipy
jupyter
pandas
- Clone the repository:
git clone <repository_url> cd EL_dynamics
- Install dependencies:
pip install -r requirements.txt
- Navigate to the desired folder:
cd mean_field__decision_making # or cd neuralAC__adaptive_learning
- Open the notebooks in Jupyter:
jupyter notebook <notebook_name>.ipynb
- Simulations of mean-field neural dynamics for decision-making.
- Analysis of recurrent excitation and inhibition mechanisms.
- Neural Actor-Critic implementation for adaptive learning.
- Visualization tools for understanding results.