Repository for the Master's Thesis project titled "A Connectionist Model of Psychological Refractory Period Effect and Cognitive Control." The project investigates human information processing limitations using a simple neural network model of cognitive control.
This project replicates and extends Simulation Study 3 from:
Musslick, S., et al. (2023).
On the Rational Boundedness of Cognitive Control: Shared Versus Separated Representations.
- prp/: Core library for LCA dynamics and PRP trial logic.
- scripts/: Command-line interfaces for training and analysis.
- output/: Default directory for models and generated figures.
- notebooks/: Exploratory visualization and toy simulations.
git clone https://github.com/acesmeci/prp_model.git
cd prp_modelpython -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtTrain network instances using the online training script:
python -m scripts.train_modelRun PRP sweeps across multiple trained networks to generate aggregate data:
python -m scripts.run_prp_ensemble --ckpt_dir <checkpoint_path> --E 20 --workers 6Generate RT2 vs. SOA plots with empirical comparisons to Pashler (1994):
python -m scripts.plot_prp_ensemble --ckpt_dir <checkpoint_path> --add_pashler --align_pashler_rtFor an exact match to the four SOAs (50, 150, 300, 900 ms) reported in Pashler (1994), use:
python -m scripts.plot_prp_ensemble_pashler --ckpt_dir <checkpoint_path> --align_pashler_rtMusslick, S., et al. (2023). On the Rational Boundedness of Cognitive Control: Shared Versus Separated Representations.