Sourav Pal, Viet Luong, Hoseok Lee, Tingting Dan, Guorong Wu, Richard Davidson, Won Hwa Kim, Vikas Singh
MnemoDyn architecture
MnemoDyn is an operator-learning foundation model for resting-state fMRI, combining multi-resolution wavelet dynamics with CDE-style temporal modeling.
Ensure your PyTorch build matches your CUDA stack.
Preprocessing Pipeline (NIfTI to Parcellated CIFTI)
We provide a unified, Python-based CLI pipeline to automate mapping volumetric NIfTI images to fs_LR surfaces and parcellating the resulting dense time series. The pipeline dynamically extracts the Repetition Time (TR) from your NIfTI files to ensure downstream models learn accurate temporal dynamics.
Requirements
Connectome Workbench (wb_command) installed and on your system PATH.
The script will automatically orchestrate wb_command for left/right mapping and resampling, output an intermediate .dtseries.nii, and finally parcellate it using the provided atlas, injecting the correct native TR throughout.
Pretrain a foundation checkpoint (coe/light/model/main*.py).
Save Lightning checkpoints under a versioned results directory.
Fine-tune a downstream head using a task script in coe/light/.
Track outputs and metrics under Result/<ExperimentName>/....
Notes and Caveats
This is a research codebase and is still being consolidated.
Some scripts may require branch-specific import/path adjustments.
Normalization and dataset utilities are partially duplicated across modules.
Reproducibility depends on matching preprocessing, atlas/parcellation, and dataset splits.
Citation
If this work helps your research, please cite:
bibtex
1@inproceedings{
2pal2026mnemodyn,
3title={MnemoDyn: Learning Resting State Dynamics from $40$K {FMRI} sequences},
4author={Sourav Pal and Viet Luong and Hoseok Lee and Tingting Dan and Guorong Wu and Richard Davidson and Won Hwa Kim and Vikas Singh},
5booktitle={The Fourteenth International Conference on Learning Representations},
6year={2026},
7url={https://openreview.net/forum?id=zexMILcQOV}
8}