Isik-lab/SIfMRI_modeling

modeling the fMRI responses

3

stars

514

commits

Jupyter Notebook

primary language

Jul 6, 2026

updated

README

Large-scale DNN Benchmarking in Dynamic Social Vision

This repository is the official implementation of Dynamic social vision highlights gaps between deep learning and human behavioral and neural responses.

Method Overview Image

Requirements:

To install requirements:

conda env create -f environment.yml

Additional Requirements:

This code base utilizes and was created in collaboration with an unreleased package - Deepjuice (Model zoology, feature extraction, GPU-accelerated brain + behavioral readout for CogNeuroAI research.)

@article{conwell2023pressures,
 title={What can 1.8 billion regressions tell us about the pressures shaping high-level visual representation in brains and machines},
 author={Conwell, Colin and Prince, Jacob S and Kay, Kendrick N and Alvarez, George A and Konkle, Talia},
 journal={bioRxiv},
 year={2023}
}

Data Requirements:

The neural fMRI, video and preprocessing datasets are currently privately hosted.

Running the benchmarks:

We currently have the following implemented benchmarks defined by individual Classes within the scripts directory:

  • VisionNeuralEncoding
  • VisionBehaviorEncoding
  • VideoNeuralEncoding
  • VideoBehaviorEncoding
  • LanguageNeuralEncoding
  • LanguageBehaviorEncoding
  • VisionNeuralRSA
  • VideoNeuralRSA

We utilize Rockfish with slurm to run sbatch jobs. In the scripts directory you can find pre-generated shell scripts to run the benchmarks listed above e.g.

sbatch -J {model_uid} batch_vis-neural_encoding.sh {model_uid}

Results

Our benchmark contains over 350+ DNN models across Image, Video and Language models.

Table of the top-10 models on average across all ROIs

Models are arranged in descending order of their overall average performance. Bold scores highlight the model achieves the highest score in each ROI.

Model UIDEVCMTEBALOCpSTSaSTSFFAPPA
x3d_m0.3860.4270.4680.3350.2480.2640.5040.500
x3d_s0.3910.4350.4300.3500.2410.2480.4990.525
i3d_r500.3670.4230.4540.3310.2540.2610.4990.453
slowfast_r500.3660.4420.4400.3190.2500.2590.4780.454
slow_r500.3610.4080.4170.3280.2460.2450.5110.471
beitv2_large_patch16_2240.3720.2440.3400.3230.2810.2900.5300.582
c2d_r500.3720.3780.3970.3070.2600.2720.5060.459
mixer_b16_224_miil_in21k0.4040.2100.3070.2590.2630.3180.5660.605
beit_large_patch16_2240.3710.2450.3420.3170.2730.2810.5080.589
beitv2_base_patch16_2240.3630.2240.3420.3220.2620.2520.5290.597

Table of the top-10 performing models averaged across features

Models are arranged in descending order of their overall average performance. Bold scores highlight the model that is the top performing model for a given feature. The absence scores of a given feature (e.g., expanse) indicates that the top performing model for that feature was not in the overall top-10 models.

Model UIDexpanseobjectagent distancefacingnessjoint actioncommunicationvalencearousal
paraphrase-multilingual-MiniLM-L12-v20.7230.6380.5900.5340.6500.5640.6930.621
paraphrase-MiniLM-L6-v20.7550.6240.5780.4380.5770.6190.7020.695
paraphrase-multilingual-mpnet-base-v20.7320.6170.6130.4600.6530.5610.7070.616
all-mpnet-base-v20.7070.6680.5420.4590.6750.3820.7190.728
all-mpnet-base-v10.7240.6990.5900.3770.6440.4020.7180.666
all-roberta-large-v10.7890.6320.5920.4460.6450.3730.6280.681
all-distilroberta-v10.6980.6010.5630.4550.6040.3890.7750.612
distiluse-base-multilingual-cased-v10.7100.6720.5780.3180.4760.4530.7610.686
clip_vitl140.7690.5400.6220.7810.3070.4920.7080.404
all-MiniLM-L6-v10.6630.6350.6230.3800.5550.5450.6190.585

Model Zoo:

A full list of our benchmarked models and associated metadata can be found in the model_zoo directory.

Disclaimers:

Do Not Distribute: This codebase is not fully released and requires private access to run.

Contributors

emaliemcmahon

363 commits

garciakathy

151 commits

Isik-lab/SIfMRI_modeling

modeling the fMRI responses

3

stars

514

commits

Jupyter Notebook

primary language

Jul 6, 2026

updated

README

Large-scale DNN Benchmarking in Dynamic Social Vision

This repository is the official implementation of Dynamic social vision highlights gaps between deep learning and human behavioral and neural responses.

Method Overview Image

Requirements:

To install requirements:

conda env create -f environment.yml

Additional Requirements:

This code base utilizes and was created in collaboration with an unreleased package - Deepjuice (Model zoology, feature extraction, GPU-accelerated brain + behavioral readout for CogNeuroAI research.)

@article{conwell2023pressures,
 title={What can 1.8 billion regressions tell us about the pressures shaping high-level visual representation in brains and machines},
 author={Conwell, Colin and Prince, Jacob S and Kay, Kendrick N and Alvarez, George A and Konkle, Talia},
 journal={bioRxiv},
 year={2023}
}

Data Requirements:

The neural fMRI, video and preprocessing datasets are currently privately hosted.

Running the benchmarks:

We currently have the following implemented benchmarks defined by individual Classes within the scripts directory:

  • VisionNeuralEncoding
  • VisionBehaviorEncoding
  • VideoNeuralEncoding
  • VideoBehaviorEncoding
  • LanguageNeuralEncoding
  • LanguageBehaviorEncoding
  • VisionNeuralRSA
  • VideoNeuralRSA

We utilize Rockfish with slurm to run sbatch jobs. In the scripts directory you can find pre-generated shell scripts to run the benchmarks listed above e.g.

sbatch -J {model_uid} batch_vis-neural_encoding.sh {model_uid}

Results

Our benchmark contains over 350+ DNN models across Image, Video and Language models.

Table of the top-10 models on average across all ROIs

Models are arranged in descending order of their overall average performance. Bold scores highlight the model achieves the highest score in each ROI.

Model UIDEVCMTEBALOCpSTSaSTSFFAPPA
x3d_m0.3860.4270.4680.3350.2480.2640.5040.500
x3d_s0.3910.4350.4300.3500.2410.2480.4990.525
i3d_r500.3670.4230.4540.3310.2540.2610.4990.453
slowfast_r500.3660.4420.4400.3190.2500.2590.4780.454
slow_r500.3610.4080.4170.3280.2460.2450.5110.471
beitv2_large_patch16_2240.3720.2440.3400.3230.2810.2900.5300.582
c2d_r500.3720.3780.3970.3070.2600.2720.5060.459
mixer_b16_224_miil_in21k0.4040.2100.3070.2590.2630.3180.5660.605
beit_large_patch16_2240.3710.2450.3420.3170.2730.2810.5080.589
beitv2_base_patch16_2240.3630.2240.3420.3220.2620.2520.5290.597

Table of the top-10 performing models averaged across features

Models are arranged in descending order of their overall average performance. Bold scores highlight the model that is the top performing model for a given feature. The absence scores of a given feature (e.g., expanse) indicates that the top performing model for that feature was not in the overall top-10 models.

Model UIDexpanseobjectagent distancefacingnessjoint actioncommunicationvalencearousal
paraphrase-multilingual-MiniLM-L12-v20.7230.6380.5900.5340.6500.5640.6930.621
paraphrase-MiniLM-L6-v20.7550.6240.5780.4380.5770.6190.7020.695
paraphrase-multilingual-mpnet-base-v20.7320.6170.6130.4600.6530.5610.7070.616
all-mpnet-base-v20.7070.6680.5420.4590.6750.3820.7190.728
all-mpnet-base-v10.7240.6990.5900.3770.6440.4020.7180.666
all-roberta-large-v10.7890.6320.5920.4460.6450.3730.6280.681
all-distilroberta-v10.6980.6010.5630.4550.6040.3890.7750.612
distiluse-base-multilingual-cased-v10.7100.6720.5780.3180.4760.4530.7610.686
clip_vitl140.7690.5400.6220.7810.3070.4920.7080.404
all-MiniLM-L6-v10.6630.6350.6230.3800.5550.5450.6190.585

Model Zoo:

A full list of our benchmarked models and associated metadata can be found in the model_zoo directory.

Disclaimers:

Do Not Distribute: This codebase is not fully released and requires private access to run.

Contributors

emaliemcmahon

363 commits

garciakathy

151 commits

Languages

Jupyter Notebook

89.8%

Python

9.3%