File size: 2,861 Bytes
b03a6dd a326cc9 6ebb2ad a326cc9 6ebb2ad a326cc9 6ebb2ad a326cc9 6ebb2ad a326cc9 6ebb2ad a326cc9 6ebb2ad a326cc9 6ebb2ad a326cc9 1c02481 6ebb2ad a326cc9 6ebb2ad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | ---
license: apache-2.0
tags:
- pytorch
- computer-vision
- self-supervised-learning
- simclr
- resnet18
- egocentric-vision
- eccentricity
- visual-neuroscience
- vedb
- arxiv:2607.19316
---
# VEDB SimCLR ResNet-18 β NSD Voxelwise Encoding Models
This repository contains **subject-specific voxelwise encoding-model fits** from:
**Diaz, D. M., & Henderson, M. M. (2026). *Eccentricity-Constrained CNN Training Reveals Adaptive Information Coding Around the Visual Field.* Proceedings of the 9th Conference on Cognitive Computational Neuroscience.**
**DOI:** `10.32470/0416gfsq`
**arXiv:** `2607.19316`
The encoding models were fit to fMRI responses from the **Natural Scenes Dataset (NSD)** using representations extracted from four VEDB-pretrained SimCLR ResNet-18 models:
* **Baseline**
* **Fovea-Gaze**
* **Periph**
* **Periph-NF**
## Repository Structure
```text
baseline/
fovea-gaze/
periph/
periph-nf/
```
Each folder contains voxelwise encoding-model fits for **NSD subjects S1βS8**.
Example:
```text
fovea-gaze/
βββ NSD_S1_resnet18-Fovea-Gaze_concat.npy
βββ NSD_S2_resnet18-Fovea-Gaze_concat.npy
βββ ...
βββ NSD_S8_resnet18-Fovea-Gaze_concat.npy
```
## Encoding Models
For each subject and visual-field condition, features were extracted from:
```text
conv1
layer1.1
layer2.1
layer3.1
layer4.1
avgpool
```
Layer features were dimensionally reduced with PCA, concatenated, and used to fit **voxelwise L2-regularized linear regression (ridge) encoding models**.
Each `.npy` file contains a saved Python dictionary including:
* fitted voxelwise `weights`
* held-out `r2`
* held-out `corr`
* candidate `lambdas`
* `best_lambda_inds`
* voxel mask and index information
* voxel noise ceilings
* subject and model metadata
## Loading a Fit
```python
import numpy as np
fit = np.load(
"baseline/NSD_S1_resnet18-Baseline_concat.npy",
allow_pickle=True
).item()
weights = fit["weights"]
r2 = fit["r2"]
corr = fit["corr"]
best_lambda_inds = fit["best_lambda_inds"]
```
## Related Models
The pretrained SimCLR checkpoints used to generate these representations are available in the [**Eccentricity-Constrained SimCLR Models (VEDB)**](https://huggingface.co/collections/DM-Diaz/eccentricity-constrained-simclr-models-vedb) Hugging Face collection.
## Release Status
Encoding-model fits are available now. Additional documentation and analysis code are forthcoming.
## Citation
```bibtex
@inproceedings{diaz2026eccentricity,
author = {Diaz, Dylan M. and Henderson, Margaret M.},
title = {Eccentricity-Constrained CNN Training Reveals Adaptive Information Coding Around the Visual Field},
booktitle = {Proceedings of the 9th Conference on Cognitive Computational Neuroscience},
address = {New York, NY, USA},
year = {2026},
doi = {10.32470/0416gfsq}
}
|