Multidimensional Feature Tuning in Category Selective Areas of Human Visual Cortex.
The 11 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Materials and Methods › Data-driven voxel decomposition › Estimating optimal dimensionality ↔ main_analyses.ipynb, lines 54–74 · score 0.83 · bi cross validation, pseudo inverse, 1–100, optimal dimensionality, matrix factorization, fMRI
- [2] § Materials and Methods › Data-driven dimension labeling › Representational sparseness ↔ main_analyses.ipynb, lines 139–147 · score 0.78 · L2 norm, tuned equally, dimension weights, single dimension, multidimensional tuning, L1
- [3] § Materials and Methods › Data-driven dimension labeling › Voxel-wise encoding models ↔ src/roidims/encoding.py, lines 163–178 · score 0.69 · fractional ridge regression, fold cross validation, intercept, model, tuned, training
- [4] § Materials and Methods › Data-driven dimension labeling › Voxel-wise encoding models ↔ main_analyses.ipynb, lines 157–165 · score 0.65 · fractional ridge regression, avoid overfitting, cross validation, fold, held, squares
- [5] § Materials and Methods › fMRI data › Natural Scenes Dataset ↔ src/roidims/prepro.py, lines 206–229 · score 0.64 · preprocessed single trial, single trial voxel, repetition, voxel responses, NSD, brain
- [6] § Materials and Methods › Data-driven dimension labeling › Deep learning-based label selection ↔ src/roidims/interpret.py, lines 42–91 · score 0.63 · prompt templates, photo, picture, candidate, CLIP, embedded
- [7] § Materials and Methods › Data-driven voxel decomposition › Bayesian non-negative matrix factorization ↔ src/roidims/prepro.py, lines 287–308 · score 0.63 · global training minimum, baseline shifted, subtracting, ROI, voxels
- [8] § Materials and Methods › Data-driven voxel decomposition › Consensus approach ↔ src/roidims/consensus.py, lines 62–76 · score 0.62 · medoids clustering, consensus, density, medians, outlier, aggregate
- [9] § Materials and Methods › Data-driven voxel decomposition › Bayesian non-negative matrix factorization ↔ main_analyses.ipynb, lines 54–74 · score 0.60 · baseline shifted, training minimum, burn, enforce, leakage, ran
- [10] § Materials and Methods › Data-driven voxel decomposition › Estimating optimal dimensionality ↔ src/roidims/bcv.py, the whole file · a weak match · score 0.59 · bi cross validation, shuffled, error, ranks, rows, matrix
- [11] § Results › Data-driven voxel decomposition reveals multiple interpretable dimensions in category-selective areas ↔ src/roidims/interpret.py, lines 93–153 · score 0.52 · text embedding, image embeddings, candidate, cosine, weighted, scoring
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Jupyter notebook · 185 lines · 8 KB · no license · 4 matches
- # %% [markdown]
- # # Multidimensional feature tuning in category‑selective areas of human visual cortex
- # %%
- from scripts.run_prepro import run_prepro
- from scripts.run_bcv import run_bcv
- from scripts.run_bnmf import run_bnmf
- from scripts.run_interpret import run_interpret
- from scripts.run_encoding import run_encoding
- from roidims.bnmf import compute_evar_consistent, compute_sim_dims_groups
- from roidims.encoding import compute_corr_H_beta, selectivity_vs_sparseness
- from roidims.plotting import (
- fig_consistency,
- fig_top_imgs,
- fig_dprime_vs_beta,
- fig_wordclouds,
- fig_flatmaps_encoding_r2,
- fig_r2_bar,
- fig_flatmaps_encoding_betas,
- suppfig_k_optim,
- suppfig_consistency,
- suppfig_sim_dims,
- suppfig_sparseness,
- suppfig_noiseceilings,
- )
- # %% [markdown]
- # ## Background
- # What functional organization underlies both category-selective areas and continuous feature maps in high-level visual cortex?
- #
- # We addressed this question by applying a data-driven decomposition to fMRI responses from face-, body-, and scene-selective areas, revealing that both views reflect a common principle: multidimensional tuning that is clustered within areas yet distributed across cortex.
- # %% [markdown]
- # ## fMRI data
- # We used a subset of the Natural Scenes Dataset (NSD; Allen et al., 2022) including fMRI responses (7T) from four participants, each viewing 10,000 natural images.
- #
- # We defined FFA, PPA, and EBA using an independent functional localizer (fLoc; Stigliani et al., 2015), selecting voxels with a strong category preference (t > 2) and sufficient reliability (SNR > 0.2).
- # %%
- # Specify subjetcs and ROIs
- subjects = ["subj01", "subj02", "subj05", "subj07"]
- rois = ["FFA", "EBA", "PPA"]
- # %% [markdown]
- # ## 0. Preprocessing
- # Single-trial responses were preprocessed with GLMdenoise and ridge regression, z-scored within sessions, averaged across repetitions, and split 70/30 into training and test sets.
- # %%
- # Preprocessing
- run_prepro()
- # %% [markdown]
- # ## 1. Data-driven voxel decomposition
- # First, we applied non-negative matrix factorization to reveal which underlying representational dimensions capture the fMRI activity patterns.
- # %% [markdown]
- # ### Background: Bayesian non-negative matrix factorization (BNMF)
- # We decomposed voxel responses from each ROI into representational dimensions using BNMF (Schmidt et al., 2009; following Khosla et al., 2022).
- #
- # BNMF factorizes the image × voxel response matrix into a response matrix W (image × dimension) and a weight matrix H (dimension × voxel). The non-negativity constraint encourages sparse, additive, part-based dimensions, allowing voxels to participate in multiple dimensions simultaneously. The Bayesian extension adds exponential priors on W and H and uses Gibbs sampling to obtain robust posterior estimates.
- #
- # We ran 3,000 iterations (1,000 burn-in, every 5th sample retained) and baseline-shifted responses to enforce non-negativity, using the training minimum for both sets to prevent data leakage.
- # %% [markdown]
- # ### 1.1. Estimating the optimal dimensionality
- # We determined the optimal number of dimensions k* for each participant and ROI using bi-cross-validation (Owen & Perry, 2009).
- #
- # Bi-cross-validation partitions the data into four blocks. BNMF is trained on one block, and pseudo-inverse operations on two others are used to predict the held-out block. This was repeated 5 times across ranks 1–100 (step size 3), and k* was chosen as the rank minimizing average test error.
- # %%
- # Bi-cross-validation
- run_bcv(subjects, rois, k_min=1, k_max=100, k_steps=1, n_perms=5)
- # %%
- # Supp Fig 1: Optimal dimensionality
- suppfig_k_optim(subjects, rois)
- # %% [markdown]
- # ### 1.2. Finding reliable dimensions
- # To obtain reliable and generalizable dimensions, we used a two-step consensus approach:
- #
- # First, we ran BNMF 100 times with k* but random initializations per ROI, removed outlier runs, and aggregated stable dimensions via k-medoids clustering (Kotliar et al., 2019).
- #
- # Second, we matched dimensions across participants using pairwise correlations and a greedy selection procedure, retaining only dimensions consistent across all four participants (r > 0.3; Khosla et al., 2022).
- #
- # This yielded 8–20 consensus dimensions per ROI. To test the generalizability to unseen images, we projected the test set into the learned embedding using non-negative least squares regression.
- # %%
- # Specify inter-subject consistency threshold
- r_thresh = 0.3
- # %%
- # Consensus approach
- run_bnmf(subjects, rois, n_runs=100, r_thresh=r_thresh)
- # %%
- # Compute explained variance
- compute_evar_consistent(subjects, rois)
- # %%
- # Fig 2a: Consistency
- fig_consistency(rois, r_thresh)
- # %%
- # Supp Fig 2: Mean inter-participant consistency of all dimensions
- suppfig_consistency(rois, r_thresh)
- # %%
- # Fig 2b: Top images combined across subjects
- fig_top_imgs(subjects, rois)
- # %%
- # Supp Fig 3: Mean similarity matrices
- suppfig_sim_dims(subjects, rois)
- # %%
- # Representational similarity of all dimensions
- compute_sim_dims_groups(subjects, rois)
- # %% [markdown]
- # ## 2. Data-driven dimension labeling
- # To interpret each dimension, we used a behavioral online experiment. We collected data from N=38 participants, who viewed collages of the 20 highest-scoring images per dimension and provided 3–5 short labels describing what the images had in common. Labels were translated from German, cleaned of generic entries, and standardized.
- #
- # We then used CLIP-ViT-L/14 (Radford et al., 2021) to select the most representative label per dimension from the participant-generated candidate set. For each label, we computed the cosine similarity between its text embedding and all image embeddings, weighted by each dimension's response profile, then z-scored across labels within each dimension to highlight selectively associated labels. Top-ranked labels were visualized as word clouds, yielding concise, semantically meaningful descriptors validated across the full image set.
- # %% [markdown]
- # ### 2.1. Finding the most representative labels
- # %%
- # CLIP-based interpretation
- run_interpret(subjects, rois)
- # %%
- # Fig 3: Top labels for all subjects
- fig_wordclouds(subjects, rois)
- # %% [markdown]
- # ## 3. Testing the relationship between multidimensional tuning and category selectivity
- # To quantify category selectivity for the ROI's preferred category, we used a category selectivity index (d'), comparing mean responses to a preferred category against all others, weighted by response variance.
- #
- # To measure the extent of multidimensional tuning, we computed a sparseness index (Hoyer, 2004) based on the normalized L1/L2-norm ratio of each voxel's dimension weight profile, ranging from 0 (tuned equally to all dimensions) to 1 (tuned to a single dimension).
- # %%
- # Fig 3: Correlation between dimension tuning (a.u.) and category selectivity (d')
- fig_dprime_vs_beta(subjects, rois)
- # %%
- # Plot sparseness for different selectivity bins
- suppfig_sparseness(subjects, rois)
- # %%
- # Print correlation
- selectivity_vs_sparseness(subjects, rois)
- # %% [markdown]
- # ## 4. Voxel-wise encoding models
- # Finally, we fit voxel-wise encoding models to predict fMRI responses to held-out images from the learned dimensions, revealing the cortical topography of this organization.
- #
- # We used fractional ridge regression with cross-validation to avoid overfitting, projected test images into the learned BNMF space with non-negative least squares, and evaluated prediction performance on held-out data. Significance was assessed with permutation tests and FDR correction, and noise ceilings were computed to benchmark model performance.
- # %%
- # Fractional ridge regression
- run_encoding(subjects, rois, n_folds=10, n_perms=3000)
- # %%
- # Print correlation between ROI coefficient weights
- compute_corr_H_beta(subjects, rois)
- # %%
- # Fig 4a: Prediction performance maps
- fig_flatmaps_encoding_r2
- # %%
- # Fig 4b: Prediction performance across ROIs
- fig_r2_bar(subjects, rois)
- # %%
- # Supp Fig 6: Voxel-wise prediction performance vs. noise ceiling estimate
- suppfig_noiseceilings(subjects, rois)
- # %%
- # Fig 5: Individual dimension tuning maps
- fig_flatmaps_encoding_betas(subjects, rois)
main_analyses.ipynb at commit 05bce4d, no license · at the source
Overview
- Department of Computer Science, Justus Liebig University Giessen, Giessen 35390, Germany
- Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig 04103, Germany
- Center for Mind, Brain and Behavior (CMBB), Universities of Marburg, Giessen, and Darmstadt, Marburg 35032, Germany
- Department of Medicine, Justus Liebig University Giessen, Giessen 35390, Germany
Abstract
Two prominent accounts describe the functional organization of human high-level visual cortex. A categorical view emphasizes category-selective areas, while a dimensional view highlights continuous feature maps spanning these areas. Here, we asked whether these two views reflect complementary expressions of the same underlying organization. Using a data-driven decomposition of fMRI responses from human participants (female and male) in face-, body-, and scene-selective areas, we identified spatially overlapping activity patterns that were shared across individuals. Each area encoded multiple interpretable dimensions capturing both finer within-category and coarser between-category distinctions, even in the most category-selective voxels. These dimensions formed distinct clusters within category-selective areas but extended as distributed maps across visual cortex. Together, these findings reveal an underlying organization that links category-selective areas to continuous feature maps, thereby reconciling categorical and dimensional accounts of high-level visual cortex.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 11 matches between paragraphs and lines of code.
levandyck/roidims
05bce4dfcd26ec296da8cb5d914e6ff153d0ab3a, 21 July 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
19 files
- main_analyses.ipynb, Jupyter, 185 lines, 4 matches
- scripts/
run_bcv.py , Python, 31 lines - scripts/
run_bnmf.py , Python, 23 lines - scripts/
run_encoding.py , Python, 14 lines - scripts/
run_interpret.py , Python, 16 lines - scripts/
run_prepro.py , Python, 30 lines - setup.py, Python, 10 lines
- src/
roidims/ , Python, 1 line__init__.py - src/
roidims/ , Python, 135 lines, 1 matchbcv.py - src/
roidims/ , Python, 145 linesbnmf.py - src/
roidims/ , Python, 9 linesconfig.py - src/
roidims/ , Python, 122 lines, 1 matchconsensus.py - src/
roidims/ , Python, 125 linesconsistent.py - src/
roidims/ , Python, 330 lines, 1 matchencoding.py - src/
roidims/ , Python, 153 lines, 2 matchesinterpret.py - src/
roidims/ , Python, 905 linesplotting.py - src/
roidims/ , Python, 389 lines, 2 matchesprepro.py - src/
roidims/ , Python, 270 linesutils.py - README.md, Text, 15 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 18 scripts, each with its path and the digest of its content;
- 11 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability
The data supporting our analyses were obtained from the publicly available Natural Scenes Dataset (http://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 6 keywords, 11 MeSH terms, 4 funders, 103 references.
Cite
This paper
van Dyck, L. E., Hebart, M. N., & Dobs, K. (2026). Multidimensional Feature Tuning in Category Selective Areas of Human Visual Cortex. The Journal of neuroscience : the official journal of the Society for Neuroscience, 46(31), e0038262026. https://
BibTeX
@article{vandyck2026mult
author = {van Dyck, Leonard E and Hebart, Martin N and Dobs, Katharina},
title = {{Multidimensional Feature Tuning in Category Selective Areas of Human Visual Cortex}},
journal = {The Journal of neuroscience : the official journal of the Society for Neuroscience},
year = {2026},
month = aug,
volume = {46},
number = {31},
pages = {e0038262026},
publisher = {Society for Neuroscience},
issn = {0270-6474},
doi = {10.1523/
url = {https://
pmid = {42309813},
pmcid = {PMC13446086}
}
RIS
TY - JOUR
AU - van Dyck, Leonard E
AU - Hebart, Martin N
AU - Dobs, Katharina
TI - Multidimensional Feature Tuning in Category Selective Areas of Human Visual Cortex
T2 - The Journal of neuroscience : the official journal of the Society for Neuroscience
J2 - J Neurosci
PY - 2026
DA - 2026/
VL - 46
IS - 31
SP - e0038262026
SN - 0270-6474
PB - Society for Neuroscience
DO - 10.1523/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1523/
"type": "article-journal",
"title": "Multidimensional Feature Tuning in Category Selective Areas of Human Visual Cortex",
"container-title": "The Journal of neuroscience : the official journal of the Society for Neuroscience",
"author": [
{
"family": "van Dyck",
"given": "Leonard E"
},
{
"family": "Hebart",
"given": "Martin N"
},
{
"family": "Dobs",
"given": "Katharina"
}
],
"container-title-short":
"volume": "46",
"issue": "31",
"page": "e0038262026",
"DOI": "10.1523/
"PMID": "42309813",
"PMCID": "PMC13446086",
"ISSN": "0270-6474",
"publisher": "Society for Neuroscience",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
5
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s42003-026-10843-3 [code]
- Self-supervised learning yields representational signatures of category-selective cortex.Journal: Communications biologyIn common: 25 references
- [2] doi:10.1162/imag.a.1309 [code]
- Probing the content of semantic representations in body-selective regions.Journal: Imaging neuroscience (Cambridge, Mass.)In common: pycortex, h5py, Pillow, 9 other tools, 11 references
- [3] doi:10.1038/s41467-026-73938-9 [code]
- Higher visual areas act like domain-general filters with strong selectivity and functional specialization.Journal: Nature communicationsIn common: Pillow, NiBabel, PyTorch, 4 other tools, 15 references
- [4] doi:10.1038/s41467-026-76098-y [code]
- A single computational objective can produce specialization of streams in visual cortex.Journal: Nature communicationsIn common: h5py, Pillow, NiBabel, 8 other tools, 12 references
- [5] doi:10.1038/s42003-026-10169-0 [code]
- Shared representations in brains and models reveal a two-route cortical organization during scene perception.Journal: Communications biologyIn common: h5py, Pillow, NiBabel, 8 other tools, 8 references
- [6] doi:10.1167/jov.26.5.7 [code]
- Representations in vision and language converge in a shared, multidimensional space of perceived similarities.Journal: Journal of visionIn common: pycortex, h5py, Pillow, 9 other tools, 5 references
- [7] doi:10.1038/s41593-026-02285-1 [code]
- Fixation duration on natural scenes is explained by memory encoding not processing demand.Journal: Nature neuroscienceIn common: h5py, Pillow, statsmodels, 7 other tools, 2 references, author Martin N Hebart
- [8] doi:10.1038/s41467-026-73153-6 [code]
- Latent neural architecture organising shared aesthetic evaluations of visual artworks.Journal: Nature communicationsIn common: h5py, Pillow, PyTorch, 6 other tools, fMRI, 6 references
- [9] doi:10.7554/elife.107933 [code]
- Modality-agnostic decoding of vision and language from fMRI.Journal: eLifeIn common: h5py, Pillow, NiBabel, 8 other tools, fMRI, 4 references
- [10] doi:10.1162/nol.a.271 [code]
- Compositional Complexity in Text and Images.Journal: Neurobiology of language (Cambridge, Mass.)In common: Pillow, NiBabel, PyTorch, 6 other tools, fMRI, 6 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 18 scripts, and 11 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:d175d3aace9cb072…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
