OSCR

Limitations of Variational Laplace-Based Dynamic Causal Modelling for Multistable Cortical Circuits.

Code ↔ Paper

8 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.

The 8 matches · 4 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Statistical Analysis › Bayesian Model Selection ↔ Chaos/MATLAB_Codes/performDCMPEBAnalysis.m, lines 1–40 · score 0.60 · parametric empirical Bayes, winning model, PEB
  2. [2] § Methods › Statistical Analysis › Reconstructed Neural Activity from DCM Estimation ↔ Figures/FIG3/FIG3.m, lines 47–91 · score 0.58 · Lyapunov exponents, phase space, reconstructed, ground truth, period doubling
  3. [3] § Results › DCM Correctly Identifies Chaotic Model Architecture but not Connectivity Strengths ↔ Chaos/MATLAB_Codes/performDCMBMSBatch.m, the whole file · a weak match · score 0.57 · Bayesian model selection, forward backward, Free Energy, inference, BMS, lateral
  4. [4] § Results › DCM Correctly Identifies Chaotic Model Architecture but not Connectivity Strengths ↔ Single_point_steady_state/MATLAB_Codes/performDCMBMSBatch.m, the whole file · a weak match · score 0.57 · Bayesian model selection, forward backward, Free Energy, inference, BMS, lateral
  5. [5] § Methods › Cortical Columnar Neural Mass Models › Model with Bistable Fixed Points that Exhibits Decision-Making Behaviour ↔ Figures/FIG2/FIG2_G_I.m, lines 101–245 · score 0.55 · model exceedance probabilities, Corr, Err, lateral connection, ground truth, Acc
  6. [6] § Results › DCM Correctly Identifies Period-doubling Model Architecture but not Connectivity Strengths ↔ Figures/FIG3/FIG3.m, lines 47–91 · score 0.53 · Lyapunov exponent, phase space, reconstructed, ground truth, period doubling
  7. [7] § Methods › Cortical Columnar Neural Mass Models › Models with Period Doubling and Deterministic Chaos ↔ Chaos/MATLAB_Codes/NET_chaos.m, the whole file · a weak match · score 0.51 · feedback connections, membrane potential, chaos, inhibitory, excitatory
  8. [8] § Methods › DCM Estimation of Models ↔ Bistable_fixed_points/MATLAB_Codes/estimate_dcm_for_erp_unparallel.m, the whole file · a weak match · score 0.50 · forward backward connectivity, modulatory, lateral connectivity, SPM, ERP, bistable fixed point

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

MATLAB · 459 lines · 15 KB · GPL-3.0 · 2 matches

  1. figure('Units', 'normalized', 'Position', [0, 0, 1, 1]);
  2. % Colors for the bars
  3. colors_lateral = [0.5, 0.5, 0.5; % Gray for ground truth
  4. 0, 0, 1; % Blue for correct
  5. 1, 0, 0; % Red for error
  6. 0.5, 0, 0.5]; % Purple for all
  7. %%%%% Figure 2D %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  8. load("3D&E.mat")
  9. load("3g pd.mat")
  10. load('fig3_PD.mat');
  11. w=20;
  12. subplot(2,3,1)
  13. plot(ts,no1,'LineWidth',2,'color', colors_lateral(1, :))
  14. hold on
  15. plot(ts, noo1, 'LineWidth', 1, 'color', colors_lateral(2, :))
  16. xlim([0 0.75])
  17. ax = gca;
  18. ax.LineWidth = 2;
  19. set(gca, 'TickDir', 'out');
  20. % Add legend, labels, and formatting
  21. %legend('Column 1', 'Column 2','FontSize', 24)
  22. %xlabel('Time (s)', 'FontSize', 26)
  23. %ylabel('NMP of e_1 (a.u.)', 'FontSize', 26)
  24. set(gca, 'FontSize', w);
  25. set(gca, 'box', 'off')
  26. xticks([0,0.25,0.5,0.75])
  27. xticklabels({});
  28. h = ylabel('Normalised EPSP of {e}^1_1 (a.u.)', 'FontSize', w, 'FontWeight','bold');
  29. % Adjust the position of the x-label
  30. % currentPos = get(h, 'Position'); % Get current position [x, y, z]
  31. % newYPos = currentPos(2)-0.8 ; % Adjust the y-position (move up by increasing y-value)
  32. % set(h, 'Position', [currentPos(1), newYPos, currentPos(3)]); % Apply the new position
  33. %title('Period-doubling - \lambda = 0.03')
  34. % axis square
  35. legend('Ground-truth','Estimated','FontSize', w-2,'location','southeast')
  36. legend boxoff
  37. % t = title('Period-doubling');
  38. % set(t, 'Position', get(t, 'Position') + [0.6 0 0]); % Move left by 1 unit
  39. %%%%% Figure 2E %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  40. load("3D&E.mat")
  41. subplot(2,3,2)
  42. plot3(no2(fs:end)*nan,no3(fs:end)*nan,no1(fs:end)*nan,'LineWidth', 2,'LineStyle', '-','color', colors_lateral(1, :))
  43. hold on
  44. plot3(noo2(fs:end)*nan,noo3(fs:end)*nan,noo1(fs:end)*nan,'LineWidth', 2,'LineStyle', '-','color', colors_lateral(2, :))
  45. hold on
  46. plot3(no2(fs:end),no3(fs:end),no1(fs:end),'.','MarkerSize',6,'color', colors_lateral(1, :))
  47. hold on
  48. plot3(noo2(fs:end),noo3(fs:end),noo1(fs:end),'.','MarkerSize',6,'color', colors_lateral(2, :))
  49. ax = gca;
  50. ax.LineWidth = 2;
  51. set(gca, 'TickDir', 'out');
  52. % Add legend, labels, and formatting
  53. %legend('Column 1', 'Column 2','FontSize', 24)
  54. %xlabel('NMP of e_2 (a.u.)', 'FontSize', w)
  55. %ylabel('NMP of i (a.u.)', 'FontSize', w)
  56. %zlabel('NMP of e_1 (a.u.)', 'FontSize', w)
  57. set(gca, 'FontSize', w);
  58. set(gca, 'box', 'off')
  59. % axis square
  60. % legend('Ground-truth','Est.','FontSize', w-2,'location','southeast')
  61. % legend boxoff
  62. [~,lag] = phaseSpaceReconstruction(ch(1:end),[],3);
  63. eRange = [10 300];
  64. ly=lyapunovExponent(ch(fs:end),fs,lag,3,'ExpansionRange',eRange);
  65. %title(['Period-doubling - \lambda = ' num2str(ly)])
  66. xlim([0.0 1.0])
  67. ylim([0.0 1.0])
  68. zlim([0.0 1.0])
  69. text(0.25, 0.9,0.32, ['\lambda = ' num2str(ly, '%.2f')], 'BackgroundColor', 'none', 'EdgeColor', 'none', 'Margin', 5, 'FontSize', w-2,'color', colors_lateral(1, :));
  70. text(0.25, 0.9,0.15, ['\lambda = ' num2str(0, '%.2f')], 'BackgroundColor', 'none', 'EdgeColor', 'none', 'Margin', 5, 'FontSize', w-2,'color', colors_lateral(2, :));
  71. xticks([0,0.25,0.5,0.75,1])
  72. yticks([0,0.25,0.5,0.75,1])
  73. zticks([0,0.25,0.5,0.75,1])
  74. xticklabels({});
  75. zlabel('Normalised EPSP of {e}^1_1 (a.u.)', 'FontSize', w, 'FontWeight','bold');
  76. yticklabels({});
  77. %zticklabels({});
  78. %%%%% Figure 3F %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  79. h = subplot(2,3,3);
  80. pos = get(h, 'Position');
  81. % Delete the axes, since we'll replace it with two subplots
  82. delete(h);
  83. % Directories containing the BMS.mat files for different conditions
  84. BMSDir = 'C:\Users\aaa210\OneDrive - University of Sussex\Research projects\DCM validation\Different models test\Period Doubling';
  85. BMS_folder = fullfile(BMSDir, 'BMS');
  86. correct_trials_dir = BMS_folder;
  87. % Load BMS.mat files
  88. PD_trials_file = fullfile(correct_trials_dir,'BMS.mat');
  89. PD_trials_data = load(PD_trials_file);
  90. % Extract model names and exceedance probabilities
  91. model_names = PD_trials_data.BMS.DCM.rfx.family.names;
  92. PD_xp = PD_trials_data.BMS.DCM.rfx.model.xp;
  93. % Number of models
  94. num_models = length(model_names);
  95. % Combine data for plotting
  96. data_BMS = [PD_xp]';
  97. % Labels for x-axis
  98. x_labels_BMS = {'lat.', 'FB', 'FC'}; %model_names;
  99. % Colors for the bars
  100. colors = [0, 0, 0; % Red for error
  101. 0, 0, 1; % Blue for correct
  102. 0.5, 0, 0.5]; % Purple for all
  103. % Ground truth values
  104. ground_truth = [74.802466469706870, 74.802466469706870];
  105. % DCM Bayesian Averaging results for correct trials
  106. PD = [PD_trials_data.BMS.DCM.rfx.bma.mEp.A{3}(2,1), PD_trials_data.BMS.DCM.rfx.bma.mEp.A{3}(1,2)];
  107. % Take the absolute values of the connections
  108. PD = abs(PD);
  109. % Combine data for plotting
  110. data_lateral = [ground_truth; PD]';
  111. % Labels for x-axis
  112. x_labels_lateral = {'Column 1 to 2', 'Column 2 to 1'};
  113. % Define the gap between subplots
  114. gap_fraction = 0.25; % Fraction of the tile's width to use as gap (adjust as desired)
  115. gap = gap_fraction * pos(3); % Calculate the gap width
  116. % Adjust the widths of the subplots to accommodate the gap
  117. subplot_width = (pos(3) - gap) / 2;
  118. % Position for the first subplot (left column)
  119. pos1 = pos;
  120. pos1(3) = subplot_width; % Set the width of the first subplot
  121. % pos1(1) remains the same (left edge)
  122. % Position for the second subplot (right column)
  123. pos2 = pos;
  124. pos2(3) = subplot_width; % Set the width of the second subplot
  125. pos2(1) = pos(1) + subplot_width + gap; % Move it to the right by one subplot width plus the gap
  126. % Create the first subplot (left column)
  127. ax3a = axes('Position', pos1);
  128. axes(ax3a); % Explicitly make ax3a the active axis
  129. hold on; % Ensure "hold on" applies to ax3a
  130. b1 = bar(data_BMS, 'grouped');
  131. % Set colors for each bar group
  132. for k = 1:length(b1)
  133. b1(k).FaceColor = colors(k, :);
  134. end
  135. % Set x-axis labels
  136. set(gca, 'XTickLabel', x_labels_BMS, 'XTick', 1:numel(x_labels_BMS), 'XTickLabel', '', 'XTickLabelMode', 'manual');
  137. % Remove x-ticks but keep x-tick labels
  138. ax1 = gca;
  139. ax1.XAxis.TickLength = [0 0];
  140. % Set y-axis limits
  141. ylim([0, 1]);
  142. set(gca, 'TickDir', 'out');
  143. % Add legend, labels, and formatting
  144. set(gca, 'FontSize', w);
  145. set(gca, 'box', 'off');
  146. ax = gca;
  147. ax.LineWidth = 2;
  148. hold off;
  149. set(ax3a, 'FontSize', w);
  150. ylabel('Model Exceedance Probability', 'FontSize', w, 'FontWeight','bold');
  151. ylim([0 0.65])
  152. ax = ax3a;
  153. ax.LineWidth = 2;
  154. set(ax3a, 'TickDir', 'out');
  155. set(ax3a, 'box', 'off');
  156. % Create the second subplot (right column)
  157. ax3b = axes('Position', pos2);
  158. axes(ax3b); % Explicitly make ax3b the active axis
  159. hold on; % Ensure "hold on" applies to ax3b
  160. b2 = bar(data_lateral);
  161. % Set colors for each bar group
  162. for k = 1:length(b2)
  163. b2(k).FaceColor = colors_lateral(k, :);
  164. end
  165. % Set x-axis labels
  166. set(gca, 'XTickLabel', x_labels_lateral, 'XTick', 1:numel(x_labels_lateral), 'YScale', 'log', 'XTickLabel', '', 'XTickLabelMode', 'manual');
  167. % Remove x-ticks but keep x-tick labels
  168. ax2 = gca;
  169. ax2.XAxis.TickLength = [0 0];
  170. % Set y-axis limits
  171. % ylim([-0.001, ground_truth(1) * 1.05]);
  172. set(ax3b, 'FontSize', w);
  173. ylabel(ax3b, 'Lateral Connection (log scale)', 'FontSize', w, 'FontWeight','bold'); % Increased y-label font size
  174. ax = ax3b;
  175. ax.LineWidth = 2;
  176. set(ax3b, 'TickDir', 'out');
  177. set(ax3b, 'box', 'off');
  178. %%%%% Figure 2G %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  179. load("3G&H.mat")
  180. load("3g ch.mat")
  181. load("fig3_chaos.mat")
  182. subplot(2,3,4)
  183. plot(ts,no1,'LineWidth',2,'color', colors_lateral(1, :))
  184. hold on
  185. plot(ts, noo1, 'LineWidth', 1, 'color', colors_lateral(2, :))
  186. ax = gca;
  187. ax.LineWidth = 2;
  188. set(gca, 'TickDir', 'out');
  189. % Add legend, labels, and formatting
  190. %legend('Column 1', 'Column 2','FontSize', 24)
  191. set(gca, 'FontSize', w);
  192. xlabel('Time (s)', 'FontSize', w, 'FontWeight','bold')
  193. h = ylabel('Normalised EPSP of {e}^1_1 (a.u.)', 'FontSize', w, 'FontWeight','bold');
  194. set(gca, 'box', 'off')
  195. % axis square
  196. %legend('O1','FontSize', 16)
  197. %legend boxoff
  198. xlim([0 0.75])
  199. xticks([0,0.25,0.5,0.75])
  200. yticks([0,0.2,0.4,0.6,0.8,1])
  201. % t = title('Chaos');
  202. % set(t, 'Position', get(t, 'Position') + [0.6 0 0]); % Move left by 1 unit
  203. %%%%% Figure 2H %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  204. load("3G&H.mat")
  205. subplot(2,3,5)
  206. plot3(no2(fs:end),no3(fs:end),no1(fs:end),'.','MarkerSize',6,'color', colors_lateral(1, :))
  207. hold on
  208. plot3(noo2(fs:end),noo3(fs:end),noo1(fs:end),'.','MarkerSize',6,'color', colors_lateral(2, :))
  209. ax = gca;
  210. ax.LineWidth = 2;
  211. set(gca, 'TickDir', 'out');
  212. % Add legend, labels, and formatting
  213. %legend('Column 1', 'Column 2','FontSize', 24)
  214. %zlabel('NMP of e_1 (a.u.)', 'FontSize', w)
  215. set(gca, 'FontSize', w);
  216. set(gca, 'box', 'off')
  217. % axis square
  218. %lyapExp = lyapunovExponent(ch(1:end),fs)
  219. [~,lag] = phaseSpaceReconstruction(ch(1:end),[],3);
  220. eRange = [50 400];
  221. ly=lyapunovExponent(ch(fs:end),fs,lag,3,'ExpansionRange',eRange);
  222. %title(['Chaos - \lambda = ' num2str(ly)])
  223. xlim([0.0 1.0])
  224. ylim([0.0 1.0])
  225. zlim([0.0 1.0])
  226. xticks([0,0.25,0.5,0.75,1])
  227. yticks([0,0.25,0.5,0.75,1])
  228. zticks([0,0.25,0.5,0.75,1])
  229. zlabel('Normalised EPSP of {e}^1_1 (a.u.)', 'FontSize', w, 'FontWeight','bold');
  230. hy = ylabel('Norm. IPSP of {i}^1 (a.u.)', 'FontSize', 0.9*w, 'FontWeight','bold');
  231. set(hy, 'Rotation', -30); % Rotate Y-label by -30 degrees
  232. posy = get(hy, 'Position'); % Get current position
  233. hx = xlabel('Norm. EPSP of e^1_2 (a.u.)', 'FontSize', 0.9*w, 'FontWeight','bold');
  234. set(hx, 'Rotation', 19); % Rotate Z-label by 30 degrees
  235. posx = get(hx, 'Position'); % Get current position
  236. text(0.25, 0.9,0.30, ['\lambda = ' num2str(ly, '%.2f')], 'BackgroundColor', 'none', 'EdgeColor', 'none', 'Margin', 5, 'FontSize', w-2,'color', colors_lateral(1, :));
  237. text(0.25, 0.9,0.15, ['\lambda = ' num2str(0, '%.2f')], 'BackgroundColor', 'none', 'EdgeColor', 'none', 'Margin', 5, 'FontSize', w-2,'color', colors_lateral(2, :));
  238. % Adjust Y-label position
  239. xpos = posy(1)+ 0.38; % Move left (decrease X value)
  240. ypos = posy(2) + 0.59; % Move up (increase Y value)
  241. set(hy, 'Position', [xpos ypos posy(3)]); % Apply new position
  242. % Adjust X-label position
  243. xposx = posx(1)+ 0.24; % Move left (decrease X value)
  244. yposx = posx(2) + 0.17; % Move up (increase Y value)
  245. set(hx, 'Position', [xposx yposx posx(3)]); % Apply new position
  246. %%%%% Figure 3F %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  247. h = subplot(2,3,6);
  248. pos = get(h, 'Position');
  249. % Delete the axes, since we'll replace it with two subplots
  250. delete(h);
  251. % Directories containing the BMS.mat files for different conditions
  252. BMSDir = 'C:\Users\aaa210\OneDrive - University of Sussex\Research projects\DCM validation\Different models test\Chaos';
  253. BMS_folder = fullfile(BMSDir, 'BMS');
  254. correct_trials_dir = BMS_folder;
  255. % Load BMS.mat files
  256. PD_trials_file = fullfile(correct_trials_dir,'BMS.mat');
  257. PD_trials_data = load(PD_trials_file);
  258. % Extract model names and exceedance probabilities
  259. model_names = PD_trials_data.BMS.DCM.rfx.family.names;
  260. PD_xp = PD_trials_data.BMS.DCM.rfx.model.xp;
  261. % Number of models
  262. num_models = length(model_names);
  263. % Combine data for plotting
  264. data_BMS = [PD_xp]';
  265. % Labels for x-axis
  266. x_labels_BMS = {'lat.', 'FB', 'FC'}; %model_names;
  267. % Colors for the bars
  268. colors = [0, 0, 0; % Red for error
  269. 0, 0, 1; % Blue for correct
  270. 0.5, 0, 0.5]; % Purple for all
  271. % Ground truth values
  272. ground_truth = [74.802466469706870, 74.802466469706870];
  273. % DCM Bayesian Averaging results for correct trials
  274. PD = [PD_trials_data.BMS.DCM.rfx.bma.mEp.A{3}(2,1), PD_trials_data.BMS.DCM.rfx.bma.mEp.A{3}(1,2)];
  275. % Take the absolute values of the connections
  276. PD = abs(PD);
  277. % Combine data for plotting
  278. data_lateral = [ground_truth; PD]';
  279. % Labels for x-axis
  280. x_labels_lateral = {'Column 1 to 2', 'Column 2 to 1'};
  281. % Colors for the bars
  282. colors_lateral = [0.5, 0.5, 0.5; % Gray for ground truth
  283. 0, 0, 1; % Blue for correct
  284. 1, 0, 0; % Red for error
  285. 0.5, 0, 0.5]; % Purple for all
  286. % Define the gap between subplots
  287. % gap_fraction = 0.1; % Fraction of the tile's width to use as gap (adjust as desired)
  288. gap = gap_fraction * pos(3); % Calculate the gap width
  289. % Adjust the widths of the subplots to accommodate the gap
  290. subplot_width = (pos(3) - gap) / 2;
  291. % Position for the first subplot (left column)
  292. pos1 = pos;
  293. pos1(3) = subplot_width; % Set the width of the first subplot
  294. % pos1(1) remains the same (left edge)
  295. % Position for the second subplot (right column)
  296. pos2 = pos;
  297. pos2(3) = subplot_width; % Set the width of the second subplot
  298. pos2(1) = pos(1) + subplot_width + gap; % Move it to the right by one subplot width plus the gap
  299. % Create the first subplot (left column)
  300. ax3a = axes('Position', pos1);
  301. axes(ax3a); % Explicitly make ax3a the active axis
  302. hold on; % Ensure "hold on" applies to ax3a
  303. b1 = bar(data_BMS, 'grouped');
  304. % Set colors for each bar group
  305. for k = 1:length(b1)
  306. b1(k).FaceColor = colors(k, :);
  307. end
  308. % Set x-axis labels
  309. set(gca, 'XTickLabel', x_labels_BMS, 'XTick', 1:numel(x_labels_BMS));
  310. % Remove x-ticks but keep x-tick labels
  311. ax1 = gca;
  312. ax1.XAxis.TickLength = [0 0];
  313. % Set y-axis limits
  314. ylim([0, 1]);
  315. set(gca, 'TickDir', 'out');
  316. % Add legend, labels, and formatting
  317. set(gca, 'FontSize', w);
  318. set(gca, 'box', 'off');
  319. ax = gca;
  320. ax.LineWidth = 2;
  321. hold off;
  322. set(ax3a, 'FontSize', w);
  323. ylabel('Model Exceedance Probability', 'FontSize', w, 'FontWeight','bold');
  324. ylim([0 0.65])
  325. ax = ax3a;
  326. ax.XAxis.FontWeight = 'bold'; % Set x-axis tick labels to bold
  327. ax.XAxis.FontSize = w; % Set x-axis tick labels font size to w
  328. ax.LineWidth = 2;
  329. set(ax3a, 'TickDir', 'out');
  330. set(ax3a, 'box', 'off');
  331. % Create the second subplot (right column)
  332. ax3b = axes('Position', pos2);
  333. axes(ax3b); % Explicitly make ax3b the active axis
  334. hold on; % Ensure "hold on" applies to ax3b
  335. b2 = bar(data_lateral);
  336. % Set colors for each bar group
  337. for k = 1:length(b2)
  338. b2(k).FaceColor = colors_lateral(k, :);
  339. end
  340. % Set x-axis labels
  341. set(gca, 'XTickLabel', x_labels_lateral, 'XTick', 1:numel(x_labels_lateral), 'YScale', 'log');
  342. % Remove x-ticks but keep x-tick labels
  343. ax2 = gca;
  344. ax2.XAxis.TickLength = [0 0];
  345. % Set y-axis limits
  346. % ylim([log10(0.001), log10(ground_truth(1) * 1.05)]);
  347. set(ax3b, 'FontSize', w);
  348. ylabel(ax3b, 'Lateral Connection (log scale)', 'FontSize', w, 'FontWeight','bold'); % Increased y-label font size
  349. ax = ax3b;
  350. ax.LineWidth = 2;
  351. ax.XAxis.FontWeight = 'bold'; % Set x-axis tick labels to bold
  352. ax.XAxis.FontSize = w; % Set x-axis tick labels font size to w
  353. set(ax3b, 'TickDir', 'out');
  354. set(ax3b, 'box', 'off');

FIG3.m at commit c94e7dd, under GPL-3.0 · at the source

Overview

Authors: Abdoreza Asadpour1,2, Amin Azimi1,3, KongFatt Wong-Lin1
  1. Intelligent Systems Research Centre, School of Computing, Engineering and Intelligent Systems, Ulster University, Magee campus, Derry~Londonderry, Northern Ireland UK
  2. Sussex Neuroscience, School of Life Sciences, University of Sussex, Brighton, UK
  3. School of Psychology, Manchester Metropolitan University, Manchester, UK
Institutions: University of Ulster (United Kingdom); University of Sussex (United Kingdom); Ulster University, Derry-Londonderry Campus (United Kingdom); Manchester Metropolitan University (United Kingdom)
Journal: Neuroinformatics, volume 24, issue 2, article 17
Dates: received 29 September 2025; accepted 18 November 2025; published online 1 April 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1007/s12021-025-09759-w · PMID 41920413 · PMCID PMC13043521 · OpenAlex W7147233438
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), computational (subfield)
Methods: Connectivity, Evoked potentials, Single-unit activity, calcium imaging, Machine learning
Keywords: Dynamic causal modelling DCM, Bayesian model averaging, Cortical column neural mass model, Multistable dynamical states, Oscillations, Chaos, Decision making
MeSH: Cerebral Cortex*, Models, Neurological*, Nerve Net*, Neurons*, Nonlinear Dynamics*, Animals, Bayes Theorem, Computer Simulation, Humans, Neural Pathways (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: HSC R&D (STL/5540/19); Medical Research Council (MC_PC_20020); HSC R&D (STL/5540/19)
Citations: not cited yet (Europe PMC); 65 references in the paper

Abstract

Dynamic causal modelling (DCM) is widely used to infer effective connectivity from neuroimaging data. However, its applicability to neural systems with complex, multistable dynamics remains uncertain—particularly when using the standard estimation approach based on variational Bayesian inference under the Laplace approximation. To investigate this limitation, we constructed biologically grounded cortical columnar neural mass models exhibiting three distinct multistable regimes: bistable fixed points associated with decision-making, coexisting oscillatory states through period-doubling bifurcations, and deterministic chaotic dynamics. These models were used to simulate local field potentials, which served as inputs to DCM. Bayesian model selection successfully identified the correct model architecture in all cases. However, Bayesian model averaging of the winning models failed to accurately estimate extrinsic connectivity parameters, leading to substantial discrepancies between the dynamics of the reconstructed and ground-truth systems. These results suggest that even when model selection is accurate, parameter estimation can break down under complex dynamics. Compared to previous applications of DCM to simpler neural systems, our study highlights significant limitations in its ability to capture the structure of multistable and globally nonlinear dynamics. We conclude that caution is warranted when applying variational Laplace-based DCM procedures to experimental paradigms involving bifurcations, chaotic trajectories, or other forms of dynamical complexity.

Supplementary Information: The online version contains supplementary material available at 10.1007/s12021-025-09759-w.

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 8 matches between paragraphs and lines of code.

asadpouretal/DCM_Multistabilityor

License: GPL-3.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: c94e7dd1a84c0e720e1403b24a76fd6661ab5ec8, 14 April 2026
Languages: MATLAB (120)
Size: 146 files, 120 scripts
Software Heritage: not archived
Found in: “Data Availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
122 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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 120 scripts, each with its path and the digest of its content;
  • 8 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 Statement

In numerical simulations for designing ground truth models before implementing DCM, the deterministic nonlinear differential equations for period-doubling and chaotic dynamics were solved using the Euler forward method, while stochastic differential equations for noisy bistable decision-making were solved using the Euler-Maruyama numerical method (Higham, 2001). All simulations were performed in MATLAB R2023b software with a time step of 1 millisecond. Sufficient accuracy for these differential equations is achieved with Euler-based methods as long as the simulation time step used is sufficiently small, and it was verified that smaller time steps did not affect the results. For simulations using stochastic differential equations, the same set of pseudo-random seed was used when comparing between the generated data of the ground-truth models and corresponding DCM-estimated models, akin to Lenfesty et al. (2025). For DCM estimation, BMS, and BMA, computations were performed using MATLAB R2022a software via the Northern Ireland High-Performance Computing (NI-HPC) facility (https://www.ni-hpc.ac.uk).

The source code for our implementation and generated data are available and can be accessed at the following GitHub repository: https://github.com/asadpouretal/DCM_Multistabilityor. This repository contains all the necessary scripts, models, and instructions to reproduce the results presented in this study, ensuring transparency and facilitating further research.

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 2, 28 September 2026

  • Publisher: n/a → Springer Science+Business Media

Version 1, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 7 keywords, 10 MeSH terms, 3 funders, 63 references.

Cite

This paper

Asadpour, A., Azimi, A., & Wong-Lin, K. (2026). Limitations of Variational Laplace-Based Dynamic Causal Modelling for Multistable Cortical Circuits. Neuroinformatics, 24(2), 17. https://doi.org/10.1007/s12021-025-09759-w

BibTeX

@article{asadpour2026limitations,
author = {Asadpour, Abdoreza and Azimi, Amin and Wong-Lin, KongFatt},
title = {{Limitations of Variational Laplace-Based Dynamic Causal Modelling for Multistable Cortical Circuits}},
journal = {Neuroinformatics},
year = {2026},
month = apr,
volume = {24},
number = {2},
pages = {17},
publisher = {Springer Science+Business Media},
issn = {1539-2791},
doi = {10.1007/s12021-025-09759-w},
url = {https://doi.org/10.1007/s12021-025-09759-w},
pmid = {41920413},
pmcid = {PMC13043521}
}

RIS

TY - JOUR
AU - Asadpour, Abdoreza
AU - Azimi, Amin
AU - Wong-Lin, KongFatt
TI - Limitations of Variational Laplace-Based Dynamic Causal Modelling for Multistable Cortical Circuits
T2 - Neuroinformatics
J2 - Neuroinformatics
PY - 2026
DA - 2026/04/01
VL - 24
IS - 2
SP - 17
SN - 1539-2791
PB - Springer Science+Business Media
DO - 10.1007/s12021-025-09759-w
UR - https://doi.org/10.1007/s12021-025-09759-w
LA - en
ER -

CSL-JSON

{
"id": "10.1007/s12021-025-09759-w",
"type": "article-journal",
"title": "Limitations of Variational Laplace-Based Dynamic Causal Modelling for Multistable Cortical Circuits",
"container-title": "Neuroinformatics",
"author": [
{
"family": "Asadpour",
"given": "Abdoreza"
},
{
"family": "Azimi",
"given": "Amin"
},
{
"family": "Wong-Lin",
"given": "KongFatt"
}
],
"container-title-short": "Neuroinformatics",
"volume": "24",
"issue": "2",
"page": "17",
"DOI": "10.1007/s12021-025-09759-w",
"PMID": "41920413",
"PMCID": "PMC13043521",
"ISSN": "1539-2791",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.1007/s12021-025-09759-w",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
1
]
]
}
}

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.1162/imag.a.1234 [code]
Multiscale parcellation of dynamic causal models of the brain.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: SPM, Statistics and Machine Learning Toolbox, computational, 6 references
[2] doi:10.1038/s41467-026-71414-y [code]
Bed nucleus of the stria terminalis connectivity during food cue and taste processing under stress.
Journal: Nature communications
In common: Parallel Computing Toolbox, SPM, Signal Processing Toolbox, 1 other tool, 3 references
[3] doi:10.1038/s41593-026-02205-3 [code]
Competitive interactions shape mammalian brain network dynamics and computation.
Journal: Nature neuroscience
In common: Parallel Computing Toolbox, SPM, Signal Processing Toolbox, 1 other tool, 2 references
[4] doi:10.1371/journal.pcbi.1014222 [code]
Neural population models for EEG: From Canonical models to alternative model structures.
Journal: PLoS computational biology
In common: computational, 5 references
[5] doi:10.1162/imag.a.1250 [code]
Dynamics-informed priors (DIP) for neural mass modelling.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: SPM, Statistics and Machine Learning Toolbox, 4 references
[6] doi:10.1038/s42003-026-10276-y [code]
The cellular correlates and adolescent reorganisation of cortical myelination networks in the common marmoset.
Journal: Communications biology
In common: Parallel Computing Toolbox, SPM, Signal Processing Toolbox, 1 other tool, 1 reference
[7] doi:10.1093/braincomms/fcag334 [code]
Functional and effective connectivity alterations relate to cognitive performance in aquaporin-4 antibody-positive neuromyelitis optica spectrum disorder.
Journal: Brain communications
In common: SPM, Statistics and Machine Learning Toolbox, 3 references
[8] doi:10.1162/imag.a.1130 [code]
Computational parametric mapping of functional neuroimaging data.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: SPM, Statistics and Machine Learning Toolbox, 3 references
[9] doi:10.1038/s41586-026-10910-z [code]
Psychedelics align brain activity with context.
Journal: Nature
In common: SPM, Statistics and Machine Learning Toolbox, 3 references
[10] doi:10.1162/netn_a_00453 [code]
Joint estimation of source dynamics and interactions from MEG data
Journal: n/a
In common: Parallel Computing Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 2 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.

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.