OSCR

Mapping the movie-watching brain with AI-derived semantics.

Code ↔ Paper

15 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

10 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 15 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › ROI-wise association between AI-encoding performance and cognitive scores ↔ s106_behaviour_motion_control.m, lines 55 to 114 · score 0.97 · fluid cognition composite, crystalized cognition composite, cognitive flexibility, episodic memory, fluid intelligence, inhibitory control · block oscr:b:SAZ7WAC9JZX6J-E · Report a mismatch
  2. [2] § Results › AI-derived semantic explainability predicts individual differences in cognitive performance ↔ s106_behaviour_motion_control.m, lines 55 to 114 · score 0.91 · Fluid Cognition Composite, Crystallized Cognition Composite, Episodic memory, Fluid intelligence, Inhibitory Control, Working memory · block oscr:b:SAZ7WAC9JZX6J-E · Report a mismatch
  3. [3] § Methods › Movie information and clips generation ↔ s022_gen_clips_overlap.m, lines 70 to 142 · score 0.88 · sliding window, frame rate, overlap characteristics, fMRI, usable, FFmpeg · block oscr:b:K6F5EB61FEXBT-C · Report a mismatch
  4. [4] § Methods › Clip-wise AI features ↔ Reviewer_2_4.m, lines 27 to 67 · score 0.84 · scene brightness, motion intensity, social interaction, narrative progress, arousal, music · block oscr:b:71M6B9G665K35-1 · Report a mismatch
  5. [5] § Methods › Resting-state FC strength and its association with AI-derived semantic-encoding performance ↔ s105_PLS_strength_r2_motion_control.m, lines 1 to 35 · score 0.81 · motion corrected residual, nuisance regression, FC strength, head motion, PLS, matrices · block oscr:b:B55BWGKSF0TWF-E · Report a mismatch
  6. [6] § Results › Contribution of semantic feature to the prediction model ↔ Reviewer_2_4.m, lines 27 to 67 · score 0.79 · Scene brightness, Motion intensity, Social interaction, narrative progress, Arousal, music · block oscr:b:71M6B9G665K35-1 · Report a mismatch
  7. [7] § Methods › Clip-wise brain patterns ↔ s026_gen_clippatterns_subject.m, lines 2 to 26 · score 0.73 · rest frames, fMRI, clip patterns, manifest, trimmed, lagged · block oscr:b:DB0PPSPM21YFT-8 · Report a mismatch
  8. [8] § Methods › Clip-wise brain patterns ↔ s023_gen_clippatterns_group.m, lines 2 to 25 · score 0.73 · rest frames, fMRI, clip patterns, manifest, trimmed, lagged · block oscr:b:H26BE4GD04JVG-D · Report a mismatch
  9. [9] § Methods › Participants, imaging, and preprocessing ↔ s042_restFC_strength.m, the whole file · a weak match · score 0.72 · linear detrending, 0.01–0.1 Hz, filtering, band, fs, 0.01 Hz · block oscr:b:ZSESY694Y2M7K-A · Report a mismatch
  10. [10] § Methods › ROI-wise semantic encoding using AI features ↔ Reviewer_1_1.m, lines 74 to 131 · score 0.65 · cross validation, ridge regression, leakage, absolute, fold, training · block oscr:b:K2NQSSG4TPYVF-D · Report a mismatch
  11. [11] § Methods › Participants, imaging, and preprocessing ↔ s105_PLS_strength_r2_motion_control.m, lines 1 to 35 · score 0.64 · nuisance regression, fs LR, motion correction, surface · block oscr:b:B55BWGKSF0TWF-E · Report a mismatch
  12. [12] § Methods › ROI-wise semantic encoding using AI features ↔ s102_regression_group_remove_overlap.m, lines 316 to 403 · score 0.61 · cross validation, ridge regression, leakage, adjacent, fold, training · block oscr:b:NB6FX73YZEMQA-U · Report a mismatch
  13. [13] § Methods › Resting-state FC strength and its association with AI-derived semantic-encoding performance ↔ s042_restFC_strength.m, the whole file · a weak match · score 0.57 · FC strength, Fisher, transformed, Pearson, matrix, correlations · block oscr:b:ZSESY694Y2M7K-A · Report a mismatch
  14. [14] § Results › Regional variability in semantic predictability across the cortex ↔ Reviewer_1_1.m, lines 74 to 131 · score 0.53 · Cross validated, ridge regression, features modeled, fit, ROIs, prediction · block oscr:b:K2NQSSG4TPYVF-D · Report a mismatch
  15. [15] § Methods › Participants, imaging, and preprocessing ↔ Reviewer_2_5.m, lines 201 to 256 · score 0.53 · fs LR, workbench, mmp1, CIFTI, hemisphere, parcellation · block oscr:b:9PK76SVQR52C1-5 · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 289 lines · 11 KB · no license · 2 matches

  1. %% =========================================================
  2. % s046_roi_cogcorr_R2_motion_controlled.m
  3. % Method 1: ROI-level Partial Correlation (R² <-> Cognitive Scores)
  4. % Controlling for Head Motion (mean Relative RMS / FD)
  5. % =========================================================
  6. clear; clc; close all;
  7. BaseDir = pwd;
  8. %% ---------- Path Setup ----------
  9. R2Dir = fullfile(BaseDir, '027_roiwise_allclips_subj_no_overlap'); % Upgraded No-Overlap R2
  10. CogCSV = fullfile(BaseDir, 'Subjects_info_7T.csv');
  11. MotionCSV = fullfile(BaseDir, 'subject_mean_motion.csv'); % New Covariate
  12. OutDir = fullfile(BaseDir, '046_roi_cogcorr_R2_motion_controlled');
  13. if ~exist(OutDir, 'dir'), mkdir(OutDir); end
  14. % Cortical surface & parcellation files
  15. Lsurf_file = fullfile(BaseDir, 'fsaverage.L.very_inflated.32k_fs_LR.surf.gii');
  16. Rsurf_file = fullfile(BaseDir, 'fsaverage.R.very_inflated.32k_fs_LR.surf.gii');
  17. wb_cmd = fullfile(BaseDir, '000_workbench','bin_windows64','wb_command.exe');
  18. LabelFile = fullfile(BaseDir, 'HCP_MMP1.0_Glasser.32k_fs_LR.dlabel.nii');
  19. nROI = 360;
  20. %% ====================== 1) Load Motion Data ======================
  21. assert(isfile(MotionCSV), 'Motion CSV not found: %s', MotionCSV);
  22. TMotion = readtable(MotionCSV);
  23. motion_subjID = string(TMotion.subid);
  24. motion_values = TMotion.mean_motion;
  25. % Remove subjects with missing motion data
  26. valid_motion_idx = ~isnan(motion_values);
  27. motion_subjID = motion_subjID(valid_motion_idx);
  28. motion_values = motion_values(valid_motion_idx);
  29. fprintf('Loaded valid head motion data for %d subjects.\n', numel(motion_subjID));
  30. %% ====================== 2) Load R2 (360x1 per subject) ======================
  31. LR2 = dir(fullfile(R2Dir, '*_roiwise_no_overlap.mat'));
  32. assert(~isempty(LR2), 'No *_roiwise_no_overlap.mat found in %s', R2Dir);
  33. R2_subjID = strings(numel(LR2),1);
  34. for i = 1:numel(LR2)
  35. bn = LR2(i).name;
  36. sid = regexp(bn, '^\d+', 'match', 'once');
  37. if isempty(sid)
  38. warning('Cannot extract numeric subject ID from %s, skipping.', bn);
  39. R2_subjID(i) = "";
  40. else
  41. R2_subjID(i) = string(sid);
  42. end
  43. end
  44. validR2 = R2_subjID ~= "";
  45. R2_subjID = R2_subjID(validR2);
  46. LR2 = LR2(validR2);
  47. fprintf('Detected R2 data for %d subjects.\n', numel(R2_subjID));
  48. %% ====================== 3) Load Cognitive Scores CSV ======================
  49. assert(isfile(CogCSV), 'Cognitive scores file not found: %s', CogCSV);
  50. T = readtable(CogCSV);
  51. vnames = T.Properties.VariableNames;
  52. vnames_lower = lower(vnames);
  53. % ---- Automatically find Subject ID column ----
  54. idCand = ["subject","subid","subjectid","sub","id"];
  55. idCol = [];
  56. for k = 1:numel(vnames_lower)
  57. if any(contains(vnames_lower{k}, idCand))
  58. idCol = k;
  59. break;
  60. end
  61. end
  62. assert(~isempty(idCol), 'Subject ID column not detected in Subjects_info_7T.csv.');
  63. subID_cog_raw = T.(vnames{idCol});
  64. % Standardize to string and extract numbers
  65. subID_cog = strings(numel(subID_cog_raw),1);
  66. for i = 1:numel(subID_cog_raw)
  67. x = subID_cog_raw(i);
  68. if isnumeric(x)
  69. subID_cog(i) = string(x);
  70. else
  71. sx = string(x);
  72. tmp = regexp(sx, '\d+', 'match', 'once');
  73. if isempty(tmp)
  74. subID_cog(i) = strtrim(sx);
  75. else
  76. subID_cog(i) = string(tmp);
  77. end
  78. end
  79. end
  80. % ---- Select Cognitive Variables ----
  81. cogVarCands = { ...
  82. 'PMAT24_A_CR', ... % Fluid Intelligence
  83. 'PicSeq_AgeAdj', ... % Episodic Memory
  84. 'ListSort_AgeAdj', ... % Working Memory
  85. 'CardSort_AgeAdj', ... % Cognitive Flexibility
  86. 'Flanker_AgeAdj', ... % Inhibitory Control
  87. 'CogFluidComp_AgeAdj', ... % Fluid Cognition Composite
  88. 'CogCrystalComp_AgeAdj' ... % Crystallized Cognition Composite
  89. };
  90. isCog = ismember(cogVarCands, vnames);
  91. cogVars = cogVarCands(isCog);
  92. Ncog = numel(cogVars);
  93. if isempty(cogVars)
  94. error('Predefined cognitive columns not found in Subjects_info_7T.csv.');
  95. end
  96. fprintf('Using the following %d cognitive variables:\n', Ncog);
  97. disp(cogVars');
  98. cogVars_pretty = strrep(string(cogVars), '_', ' ');
  99. CogMat_all = zeros(height(T), Ncog);
  100. for j = 1:Ncog
  101. CogMat_all(:,j) = T.(cogVars{j});
  102. end
  103. %% ====================== 4) Intersect R2, Cognition, and Motion ======================
  104. [subj_temp, idxR2, idxCog] = intersect(R2_subjID, subID_cog, 'stable');
  105. [subj_common, idx_temp, idxMot] = intersect(subj_temp, motion_subjID, 'stable');
  106. % Remap indices
  107. idxR2 = idxR2(idx_temp);
  108. idxCog = idxCog(idx_temp);
  109. Nsub = numel(subj_common);
  110. assert(Nsub >= 3, 'Not enough overlapping subjects (N=%d).', Nsub);
  111. fprintf('Final intersecting cohort (R2 & Cog & Motion): %d subjects\n', Nsub);
  112. % Assemble R2 Matrix: nROI x Nsub
  113. R2_mat = nan(nROI, Nsub);
  114. for s = 1:Nsub
  115. R2file = fullfile(R2Dir, LR2(idxR2(s)).name);
  116. S_R2 = load(R2file);
  117. if isfield(S_R2, 'R2_s')
  118. r2_vec = S_R2.R2_s;
  119. else
  120. error('R2_s not found in %s', R2file);
  121. end
  122. R2_mat(:, s) = r2_vec(:);
  123. end
  124. % Assemble Cognitive Matrix: Nsub x Ncog
  125. CogMat = CogMat_all(idxCog, :);
  126. % Extract Covariate (Motion): Nsub x 1
  127. Cov_Mot = motion_values(idxMot);
  128. fprintf('R2_mat: %dx%d, CogMat: %dx%d, Motion: %dx1\n', ...
  129. size(R2_mat,1), size(R2_mat,2), size(CogMat,1), size(CogMat,2), size(Cov_Mot,1));
  130. %% ====================== 5) ROI-level PARTIAL Correlation ======================
  131. fprintf('Computing Partial Spearman Correlations (controlling for head motion)...\n');
  132. rho_roi_cog = nan(nROI, Ncog);
  133. p_roi_cog = nan(nROI, Ncog);
  134. for roi = 1:nROI
  135. x = R2_mat(roi, :).'; % Nsub x 1
  136. for j = 1:Ncog
  137. y = CogMat(:, j);
  138. % Filter out NaNs for strict partial correlation
  139. valid_idx = ~isnan(x) & ~isnan(y) & ~isnan(Cov_Mot);
  140. if sum(valid_idx) > 10 % Minimum threshold for statistical validity
  141. [r, p] = partialcorr(x(valid_idx), y(valid_idx), Cov_Mot(valid_idx), 'Type', 'Spearman');
  142. rho_roi_cog(roi, j) = r;
  143. p_roi_cog(roi, j) = p;
  144. end
  145. end
  146. end
  147. %% ====================== 6) FDR Correction (Global across all ROIs & Tests) ======================
  148. p_vec = p_roi_cog(:);
  149. [~, ~, p_adj_vec] = fdr_bh_local(p_vec);
  150. p_roi_cog_FDR = reshape(p_adj_vec, nROI, Ncog);
  151. sig_roi_cog = p_roi_cog_FDR < 0.05;
  152. %% ====================== 7) Export Long Table CSV ======================
  153. ROI_idx_col = repmat((1:nROI).', Ncog, 1);
  154. CogName_col = strings(nROI * Ncog, 1);
  155. rho_col = nan(nROI * Ncog, 1);
  156. p_col = nan(nROI * Ncog, 1);
  157. pFDR_col = nan(nROI * Ncog, 1);
  158. sig_col = false(nROI * Ncog, 1);
  159. cnt = 0;
  160. for j = 1:Ncog
  161. for roi = 1:nROI
  162. cnt = cnt + 1;
  163. CogName_col(cnt) = string(cogVars{j});
  164. rho_col(cnt) = rho_roi_cog(roi, j);
  165. p_col(cnt) = p_roi_cog(roi, j);
  166. pFDR_col(cnt) = p_roi_cog_FDR(roi, j);
  167. sig_col(cnt) = sig_roi_cog(roi, j);
  168. end
  169. end
  170. T_out = table(ROI_idx_col, CogName_col, rho_col, p_col, pFDR_col, sig_col, ...
  171. 'VariableNames', {'ROI','CognitiveMeasure','rho_PartialSpearman','p_raw','p_FDR','Significant_FDRlt0p05'});
  172. writetable(T_out, fullfile(OutDir, 'ROI_cognition_partialcorr_R2.csv'));
  173. fprintf('Exported ROI x Cognition partial correlation results to CSV.\n');
  174. %% ====================== 8) Surface Data Preparation ======================
  175. gL = gifti(Lsurf_file); surf_lh.coord = double(gL.vertices)'; surf_lh.tri = double(gL.faces);
  176. gR = gifti(Rsurf_file); surf_rh.coord = double(gR.vertices)'; surf_rh.tri = double(gR.faces);
  177. L_gii = fullfile(OutDir, 'tmp_MMP.L.32k.label.gii');
  178. R_gii = fullfile(OutDir, 'tmp_MMP.R.32k.label.gii');
  179. cmd = sprintf('"%s" -cifti-separate "%s" COLUMN -label CORTEX_LEFT "%s" -label CORTEX_RIGHT "%s"', ...
  180. wb_cmd, LabelFile, L_gii, R_gii);
  181. system(cmd);
  182. gL = gifti(L_gii); labL = double(gL.cdata(:));
  183. gR = gifti(R_gii); labR = double(gR.cdata(:));
  184. label_32k = [labL; labR];
  185. delete(L_gii); delete(R_gii);
  186. %% ====================== 9) Visualization: Cognitive ROI Maps ======================
  187. if Ncog <= 5
  188. vals_block = rho_roi_cog;
  189. obj1 = plot_hemispheres(vals_block, {surf_lh, surf_rh}, 'parcellation', label_32k, 'colormap', 'jet');
  190. else
  191. nBlock1 = min(5, Ncog);
  192. vals_block1 = rho_roi_cog(:, 1:nBlock1);
  193. obj1 = plot_hemispheres(vals_block1, {surf_lh, surf_rh}, 'parcellation', label_32k, 'colormap', 'jet');
  194. if Ncog > nBlock1
  195. vals_block2 = rho_roi_cog(:, nBlock1+1:end);
  196. obj2 = plot_hemispheres(vals_block2, {surf_lh, surf_rh}, 'parcellation', label_32k, 'colormap', 'jet');
  197. end
  198. end
  199. %% ====================== 10) Extra 1: Significant ROIs per Measure ======================
  200. sig_per_cog = sum(sig_roi_cog, 1);
  201. figure('Color','w','Name','Significant ROIs per cognitive measure (Motion Controlled)');
  202. bar(sig_per_cog, 'FaceColor',[0.3 0.6 0.9],'EdgeColor','none');
  203. set(gca,'XTick',1:Ncog, 'XTickLabel',cogVars_pretty, 'XTickLabelRotation',40, 'FontName','Arial');
  204. ylabel('# significant ROIs (FDR < 0.05)', 'FontName','Arial');
  205. xlabel('Cognitive measure', 'FontName','Arial');
  206. title('Significant ROI counts (Controlling for Head Motion)', 'FontName','Arial');
  207. grid on;
  208. %% ====================== 11) Extra 2: Significant Count per ROI ======================
  209. % sig_count_roi = sum(sig_roi_cog, 2);
  210. % obj_sigcount = plot_hemispheres(sig_count_roi, {surf_lh, surf_rh}, 'parcellation', label_32k);
  211. % title('Number of cognitive scores significantly related to R^2 at each ROI');
  212. %% ====================== 12) Extra 3: Pattern Similarity Matrix ======================
  213. rho_cogpattern = corr(rho_roi_cog, 'rows','pairwise');
  214. figure('Color','w','Name','Similarity between cognitive patterns (Motion Controlled)');
  215. imagesc(rho_cogpattern);
  216. axis square; caxis([-1 1]);
  217. cb = colorbar; cb.Label.String = 'Pattern correlation';
  218. set(gca,'XTick',1:Ncog, 'XTickLabel',cogVars_pretty, 'XTickLabelRotation',40, ...
  219. 'YTick',1:Ncog, 'YTickLabel',cogVars_pretty, 'FontName','Arial');
  220. title('Correlation between ROI-wise patterns (Motion Controlled)', 'FontName','Arial');
  221. %% ====================== 13) Save MAT Results ======================
  222. % save(fullfile(OutDir, 'ROI_cognition_partialcorr_R2.mat'), ...
  223. % 'subj_common', 'R2_mat', 'CogMat', 'Cov_Mot', 'cogVars', 'cogVars_pretty', ...
  224. % 'rho_roi_cog', 'p_roi_cog', 'p_roi_cog_FDR', 'sig_roi_cog', ...
  225. % 'sig_per_cog', 'sig_count_roi', 'rho_cogpattern');
  226. % fprintf('\nCompleted Partial Correlation analysis. Results saved to: %s\n', OutDir);
  227. %% ====================== Local Function: FDR ======================
  228. function [h, crit_p, adj_p] = fdr_bh_local(pvals, q)
  229. if nargin < 2 || isempty(q), q = 0.05; end
  230. p = pvals(:);
  231. valid = ~isnan(p);
  232. p_valid = p(valid);
  233. [p_sorted, sort_ids] = sort(p_valid);
  234. V = length(p_sorted);
  235. I = (1:V)';
  236. cVID = 1;
  237. thresh = I / V * q / cVID;
  238. w = find(p_sorted <= thresh, 1, 'last');
  239. if isempty(w)
  240. crit_p = 0;
  241. h_valid = false(V,1);
  242. else
  243. crit_p = p_sorted(w);
  244. h_valid = p_valid <= crit_p;
  245. end
  246. adj_p_sorted = p_sorted .* V ./ I;
  247. for i = V-1:-1:1
  248. adj_p_sorted(i) = min(adj_p_sorted(i), adj_p_sorted(i+1));
  249. end
  250. adj_p_valid = zeros(V,1);
  251. adj_p_valid(sort_ids) = adj_p_sorted;
  252. h = false(size(p));
  253. adj_p = nan(size(p));
  254. h(valid) = h_valid;
  255. adj_p(valid) = adj_p_valid;
  256. end

s106_behaviour_motion_control.m at commit dd27e15, no license · at the source

Overview

Authors: Muwei Li1,2
ORCID iDs: Muwei Li
  1. Vanderbilt University Institute of Imaging Science, Vanderbilt University Medical Center, Nashville, TN, United States
  2. Department of Radiology and Radiological Sciences, Vanderbilt University Medical Center, Nashville, TN, United States
Institutions: Vanderbilt University (United States); Vanderbilt University Medical Center (United States)
Journal: Imaging neuroscience (Cambridge, Mass.), volume 4, article IMAG.a.1300
Dates: received 6 December 2025; accepted 22 June 2026; published online 10 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1162/imag.a.1300 · PMID 42444710 · PMCID PMC13358718 · OpenAlex W7166184161
Open access: diamond, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: fMRI (modality), human (organism)
Methods: Spectral & time-frequency, Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, fMRI & imaging
Keywords: fMRI, naturalistic stimuli, LLMs, semantic encoding
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: NIMH NIH HHS (U54 MH091657)
Citations: cited by 1 paper (Europe PMC); 64 references in the paper

Abstract

Naturalistic paradigms offer a powerful tool to investigate human brain function, but it remains difficult to link rich, continuous movie content to distributed brain activity in an interpretable way. In this study, I use a multimodal large language model (Gemini) as an automated “semantic annotator” to bridge naturalistic movie stimuli, brain responses, and cognitive performance. Using the Human Connectome Project movie-watching dataset, I segmented the film into 293 overlapping clips, prompting Gemini to rate each clip on 11 psychologically interpretable dimensions. Simultaneously, I extracted clip-wise BOLD activation patterns from the fMR images in 360 cortical ROIs. In this way, the AI and the brain effectively “watch” the same movies in parallel. For each brain ROI, I then fit linear regression models to predict clip-to-clip variation in movie-evoked responses from these features. Gemini-derived features robustly predicted movie-evoked responses in temporal, medial parietal, and lateral frontal association cortex, but explained little variance in unimodal somatosensory, dorsal parietal, insular, and piriform regions. Feature-weight maps reflected known functional specializations, and features with the largest global influence overlapped with the most explainable ROIs. Partial least squares analysis revealed that individual differences in resting-state connectivity strength and semantic explainability covaried along an asymmetric intrinsic axis: strongly integrated sensory-opercular systems at rest were associated with poorer AI predictability, whereas a smaller set of dorsal and medial association regions showed enhanced alignment. Finally, regional AI explainability in medial parietal and left perisylvian association areas was positively related to specific cognitive abilities. Together, these findings demonstrate that interpretable features from AI models provide a simple and scalable framework for quantifying AI-derived semantic predictability in naturalistic settings, offering a practical framework for utilizing artificial models as semantic references to probe human neural processing and individual differences.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 15 matches between paragraphs and lines of code.

geyerou/Brain-AI-Alignment

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: dd27e154c872d909fc99923426a56ae3c77cebcb, 20 March 2026
Languages: MATLAB (16)
Size: 16 files, 16 scripts
Software Heritage: not archived
Found in: “Data and Code Availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
16 files

supp:PMC13358718/IMAG.a.1300_supp_Code_SourceFiles_Videos.zip

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: MATLAB (16)
Size: 16 files, 16 scripts
Software Heritage: not checked
Found in: the supplementary material
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
16 files

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 32 scripts, each with its path and the digest of its content;
  • 15 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

Datasets cited

Data and Code Availability

The MRI data used in this study are available in the HCP database https://www.humanconnectome.org/.

To ensure full computational reproducibility, the complete suite of custom MATLAB scripts in this study is provided as a comprehensive supplementary archive accompanying this manuscript. They can also be found at https://github.com/geyerou/Brain-AI-Alignment.

Software and toolboxes that are used in this study:

The Gemini-based feature scoring tool is available upon request from the author. Please provide the email address associated with your own Google Gemini account.

Gemini: https://gemini.google.com/

Google AI Studio: https://aistudio.google.com/

FFmpeg: https://www.ffmpeg.org/

CIFTI: https://www.nitrc.org/projects/cifti/

GIFTI: https://www.nitrc.org/projects/gifti/

HCP workbench: https://www.humanconnectome.org/software/connectome-workbench

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, pages, dates, 1 author, 4 keywords, 1 funder, 64 references.

Cite

This paper

Li, M. (2026). Mapping the movie-watching brain with AI-derived semantics. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1300. https://doi.org/10.1162/imag.a.1300

BibTeX

@article{li2026mapping,
author = {Li, Muwei},
title = {{Mapping the movie-watching brain with AI-derived semantics}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = jul,
volume = {4},
pages = {IMAG.a.1300},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/imag.a.1300},
url = {https://doi.org/10.1162/imag.a.1300},
pmid = {42444710},
pmcid = {PMC13358718}
}

RIS

TY - JOUR
AU - Li, Muwei
TI - Mapping the movie-watching brain with AI-derived semantics
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/07/10
VL - 4
SP - IMAG.a.1300
SN - 2837-6056
PB - MIT Press
DO - 10.1162/imag.a.1300
UR - https://doi.org/10.1162/imag.a.1300
LA - en
ER -

CSL-JSON

{
"id": "10.1162/imag.a.1300",
"type": "article-journal",
"title": "Mapping the movie-watching brain with AI-derived semantics",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Li",
"given": "Muwei"
}
],
"container-title-short": "Imaging Neurosci (Camb)",
"volume": "4",
"page": "IMAG.a.1300",
"DOI": "10.1162/imag.a.1300",
"PMID": "42444710",
"PMCID": "PMC13358718",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://doi.org/10.1162/imag.a.1300",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
10
]
]
}
}

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/s41467-025-61251-w [code]
Functional contrast across the gray-white matter boundary.
Journal: Nature communications
In common: GIfTI library for MATLAB, humanconnectome.org/software/connectome-workbench, fMRI, 7 references, author Muwei Li
[2] doi:10.1016/j.cell.2025.11.039 [code]
Stimulant medications affect arousal and reward, not attention networks.
Journal: Cell
In common: BrainSpace, GIfTI library for MATLAB, Signal Processing Toolbox, 1 other tool, humanconnectome.org/software/connectome-workbench, fMRI, 2 references
[3] doi:10.3389/fphys.2021.809943 [code]
Fractal-Based Analysis of fMRI BOLD Signal During Naturalistic Viewing Conditions.
Journal: Frontiers in physiology
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, fMRI, 8 references
[4] doi:10.1038/s41467-023-39862-y [code]
The default network dominates neural responses to evolving movie stories.
Journal: Nature communications
In common: 9 references
[5] doi:10.1038/s41593-024-01868-0 [code]
The architecture of the human default mode network explored through cytoarchitecture, wiring and signal flow.
Journal: Nature neuroscience
In common: BrainSpace, GIfTI library for MATLAB, Statistics and Machine Learning Toolbox, fMRI, 5 references
[6] doi:10.1038/s41467-026-76011-7 [code]
Human cortex organizes dynamic co-fluctuations along the sensorimotor-association axis.
Journal: Nature communications
In common: BrainSpace, GIfTI library for MATLAB, Signal Processing Toolbox, 1 other tool, 4 references
[7] doi:10.1152/jn.00308.2023 [code]
Organization of the human cerebral cortex estimated within individuals: networks, global topography, and function.
Journal: Journal of neurophysiology
In common: GIfTI library for MATLAB, Statistics and Machine Learning Toolbox, fMRI, 6 references
[8] doi:10.1002/advs.202504956 [code]
Spatiotemporal Characterization of the Functional MRI Latency Structure with Respect to Neural Signaling and Brain Hierarchy.
Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)
In common: BrainSpace, GIfTI library for MATLAB, Signal Processing Toolbox, 1 other tool, fMRI, 4 references
[9] doi:10.7554/elife.104996 [code]
Intrinsic dynamic shapes responses to external stimulation in the human brain.
Journal: eLife
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 6 references
[10] doi:10.1093/cercor/bhae278 [code]
Task and stimulus coding in the multiple-demand network.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: GIfTI library for MATLAB, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 5 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.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1162/imag.a.1300.svg)](https://openscicode.org/badge/doi/10.1162/imag.a.1300)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1162/imag.a.1300.svg
   :target: https://openscicode.org/badge/doi/10.1162/imag.a.1300
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1162/imag.a.1300"><img src="https://openscicode.org/badge/doi/10.1162/imag.a.1300.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.