critical_slowing_down_in_free_recall
This project implements a random recurrent neuronal network (as a rate model) demonstrating critical slowing down as a function of gain modulation (and additive noise)
https://github.com/dovi-yellin/critical_slowing_down_in_free_recall
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.5%) to scientific vocabulary
Repository
This project implements a random recurrent neuronal network (as a rate model) demonstrating critical slowing down as a function of gain modulation (and additive noise)
Basic Info
- Host: GitHub
- Owner: dovi-yellin
- License: mit
- Language: Python
- Default Branch: main
- Size: 300 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Critical Slowing Down in Free Recall
This repository contains relevant code, data and documentation associated with the study "Adaptive proximity to criticality underlies amplification of ultra-slow fluctuations during free recall". The study explores how the phenomenon of "critical slowing down" (CSD) may be related to the generative process involved in memory recall. More specifically, this work simulates random recurrent networks demonstrating that a small modulation towards a critical transition may lead to specific amplification in the power of slow fluctuations, as observed in the empirical study of free recall using iEEG.
Overview
- 📁
csd/– Simulation infrastructure and analysis codebase - 📁
data/– Raw and processed datasets, with accompanying metadata - 📁
examples/– Getting started demonstrations - 📁
figures/– Scripts for analysis and generation of figures - 📁
notebooks/– Scripts demonstrating network analysis - 📁
results/– Statistical outputs and visualizations used in the publication - 📁
docs/– Supplementary materials and manuscript source files
How to install
Clone this repository and install dependencies:
bash
git clone https://github.com/dovi-yellin/critical_slowing_down_in_free_recall.git
cd critical_slowing_down_in_free_recall
We recommend using a virtual environment:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Getting Started
The examples/ folder includes self-contained examples on: (a) how to run a short simulation of the random recurrent network while modulating its proximity to criticality, and (b) how to analyze the results.
To run this complete workflow, start at the project root and execute python demo_run_simulation.py: the script loads simulation parameters from test_general.json, lets you override any of them directly in the code (e.g., change network size or run-time), simulates the rate-model across a small parameter sweep, and writes the outputs to results/rate_model_*.pkl. Note the size of the generated pkl is larger than 5 GB.
When simulation finishes, launch python demo_run_analysis.py; this second script automatically reads the freshly generated .pkl, extracts the activity traces and provides the ability to visualize results (e.g., plot power-spectral-density curves for each run etc.).
Citation
@article{yellin2025critical,
title={Adaptive proximity to criticality underlies amplification of ultra-slow fluctuations during free recall},
authors={Yellin, Dovi and Siegel, Noam and Malach, Rafael and Shriki, Oren},
journal={biorxiv},
year={2025},
doi={10.1101/2023.02.24.529043}
}
Owner
- Login: dovi-yellin
- Kind: user
- Repositories: 1
- Profile: https://github.com/dovi-yellin
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this research or code, please cite our paper as below."
title: "Modulation of Proximity to Criticality Enhances Slow Activity Fluctuations During Free Recall"
authors:
- family-names: Yellin
given-names: Dovi
affiliation: Department of Brain Sciences, Weizmann Institute of Science, Rehovot, Israel
- family-names: Siegel
given-names: Noam
affiliation: Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, Israel
- family-names: Malach
given-names: Rafael
affiliation: Department of Brain Sciences, Weizmann Institute of Science, Rehovot, Israel
- family-names: Shriki
given-names: Oren
affiliation: |
Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, Israel;
Department of Cognitive and Brain Sciences, Ben-Gurion University of the Negev, Beer-Sheva, Israel
date-released: 2025-03-14
doi: 10.1101/2023.02.24.529043
type: article
repository-code: https://github.com/dovi-yellin/critical-slowing-down-free-recall
abstract: >
Categorically bounded free recall allows generating perceptual and cognitive contents
within specific categories while avoiding unrelated intrusions. Previous research suggested
that this is implemented via amplification of ultra-slow spontaneous activity fluctuations,
initiating a spontaneous recall event. However, the underlying amplification mechanism remains
unclear. Here, we demonstrate, using a simulation of a simple random recurrent neuronal
network operating near a critical point, that such selective amplification can be generated by
a small shift towards this critical point, resulting in a dynamical phenomenon termed "critical
slowing down". By fitting physiological parameters and applying stochastic white noise input,
we simulated ultra-slow fluctuations observed during rest and categorically bounded visual
recall in the human cortex. Our findings suggest that modulation of spontaneous
fluctuations linked to free recall can be explained by a stochastically driven recurrent
network near a critical point, providing insight into the rapid and flexible formation of
categorical boundaries in human cognition.
GitHub Events
Total
- Member event: 1
- Push event: 8
- Create event: 2
Last Year
- Member event: 1
- Push event: 8
- Create event: 2
Dependencies
- matplotlib *
- numpy *
- streamlit *
- tqdm *