Adaptation modulates effective connectivity and network stability.
5 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 8 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Stability of networks without adaptation ↔ RandomMatrixTheory/RMT.m, lines 1 to 61 · score 0.76 · low rank structure, diagonal shifts, Random matrix theory, inhibitory neurons, outlier eigenvalue, sparse · block
oscr:b:FDM2DEVNAXGDB-B· Report a mismatch - [2] § Stability of networks without adaptation ↔ RandomMatrixTheory/RMT.m, lines 1 to 61 · score 0.73 · inhibitory populations, random matrix theory, low rank, outlier eigenvalues, computations, weights · block
oscr:b:FDM2DEVNAXGDB-B· Report a mismatch - [3] § Stability of networks without adaptation ↔ StabilityAnalysis/src/RMTMatrix.m, lines 1 to 50 · score 0.72 · inhibitory populations, random matrix theory, low rank, outlier eigenvalues, weights, excitatory · block
oscr:b:4KJAZFE4SD405-X· Report a mismatch - [4] § Stability of networks without adaptation ↔ StabilityAnalysis/src/RMTMatrix.m, lines 1 to 50 · score 0.70 · low rank structure, Random matrix theory, inhibitory neurons, outlier eigenvalue, diagonal, sparse · block
oscr:b:4KJAZFE4SD405-X· Report a mismatch - [5] § Adaptation modulates effective connectivity ↔ StabilityAnalysis/scripts/Fig_2_single_vs_dual_adaptation_example.m, lines 48 to 137 · score 0.64 · spike frequency adaptation, short term synaptic, abscissa, amplitude, rescaling, Benettin · block
oscr:b:V3WHPXNQ8XWY6-F· Report a mismatch - [6] § Adaptation modulates effective connectivity ↔ StabilityAnalysis/src/algorithms/Jacobian/compute_J_eff.m, the whole file · a weak match · score 0.59 · activation function derivative, synaptic depression, connectivity matrix, effective connectivity, Jacobian, network · block
oscr:b:2M4AES13PE5JB-W· Report a mismatch - [7] § Adaptation modulates effective connectivity ↔ StabilityAnalysis/scripts/Fig_2_fraction_excitatory_load_and_plot.m, lines 82 to 227 · score 0.54 · Wilcoxon signed rank, median, stim, transient, simulated, excitatory · block
oscr:b:9F1X2ECGKWX7H-6· Report a mismatch - [8] § Adaptation modulates effective connectivity ↔ StabilityAnalysis/scripts/Fig_2_single_vs_dual_adaptation_example.m, lines 48 to 137 · score 0.53 · spike frequency adaptation, short term synaptic, depression, SFA, modeling, STD · block
oscr:b:V3WHPXNQ8XWY6-F· 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 · 478 lines · 18 KB · MIT · 2 matches
- classdef RMT < handle
- % RMT - Random Matrix Theory class following Harris et al. (2023)
- % Variable names match the paper's notation for equations 15-18, 24-25, 30-31
- properties
- N % System size
- alpha % Sparsity/connection probability (0 < alpha <= 1)
- f % Fraction of excitatory neurons
- % Normalized population statistics (tilde notation from Harris 2023)
- % These are the pre-sparsity parameters: mu_tilde = mu/sqrt(N), sigma_tilde = sigma/sqrt(N)
- mu_tilde_e % Normalized mean of excitatory population
- mu_tilde_i % Normalized mean of inhibitory population
- sigma_tilde_e % Normalized std dev of excitatory population
- sigma_tilde_i % Normalized std dev of inhibitory population
- % Internal matrices
- A % Base random matrix (Gaussian, mean 0, var 1)
- S % Sparsity mask (logical)
- % Control flags
- zrs_mode % 'none', 'ZRS', 'SZRS', 'Partial_SZRS'
- shift % Scalar shift for eigenvalues (diagonal shift)
- % Visualization
- description
- outlier_threshold % Multiplier for R to determine outlier eigenvalues (default 1.03)
- end
- properties (Dependent)
- % Population indices (computed from f and N)
- E % Logical index for Excitatory neurons
- I % Logical index for Inhibitory neurons
- % Low-rank structure M = u * v' (Eq 12)
- u % Left vector: ones(N,1)
- v % Right vector: [mu_tilde_e repeated Nf times, mu_tilde_i repeated N(1-f) times]
- % Variance structure (Eq 11)
- D % Diagonal variance matrix: diag(sigma_tilde_e repeated Nf, sigma_tilde_i repeated N(1-f))
- % Weight/Jacobian matrix
- W % Jacobian matrix (computed on access)
- % Sparse statistics (Eq 15, 16)
- mu_se % Sparse excitatory mean: alpha * mu_tilde_e
- mu_si % Sparse inhibitory mean: alpha * mu_tilde_i
- sigma_se_sq % Sparse excitatory variance (Eq 16)
- sigma_si_sq % Sparse inhibitory variance (Eq 16)
- % Theoretical predictions (Eq 17, 18)
- lambda_O % Outlier eigenvalue
- R % Spectral radius
- end
- properties (Access = private)
- eigenvalues_cache % Cached eigenvalue computation
- eigenvalues_valid % Flag indicating if cache is valid
- end
- methods
- function obj = RMT(N)
- % RMT Constructor
- obj.N = N;
- % Defaults
- obj.alpha = 1.0;
- obj.f = 0.5;
- obj.mu_tilde_e = 0;
- obj.mu_tilde_i = 0;
- obj.sigma_tilde_e = 1/sqrt(N); % Default: unit variance when scaled by sqrt(N)
- obj.sigma_tilde_i = 1/sqrt(N);
- obj.zrs_mode = 'none';
- obj.shift = 0;
- obj.description = '';
- obj.outlier_threshold = 1.04;
- % Initialize random matrices
- obj.A = randn(N, N); % Mean 0, Var 1
- obj.update_sparsity();
- % Initialize eigenvalue cache
- obj.eigenvalues_cache = [];
- obj.eigenvalues_valid = false;
- end
- %% Dependent Property Getters
- function val = get.E(obj)
- val = false(obj.N, 1);
- val(1:round(obj.f * obj.N)) = true;
- end
- function val = get.I(obj)
- val = ~obj.E;
- end
- function val = get.u(obj)
- val = ones(obj.N, 1);
- end
- function val = get.v(obj)
- val = zeros(obj.N, 1);
- E_idx = obj.E;
- val(E_idx) = obj.mu_tilde_e;
- val(~E_idx) = obj.mu_tilde_i;
- end
- function val = get.D(obj)
- % Eq 11: D = diag(sigma_tilde_e repeated Nf times, sigma_tilde_i repeated N(1-f) times)
- D_vec = zeros(obj.N, 1);
- E_idx = obj.E;
- D_vec(E_idx) = obj.sigma_tilde_e;
- D_vec(~E_idx) = obj.sigma_tilde_i;
- val = diag(D_vec);
- end
- function val = get.W(obj)
- % Construct weight matrix W based on Harris 2023 equations
- % Get diagonal variance matrix D (Eq 11) and low-rank structure M (Eq 12)
- D = obj.D;
- M = obj.u * obj.v';
- switch obj.zrs_mode
- case 'none'
- % Standard construction: W = S .* (A*D + M) (Eq 6)
- W_dense = (obj.A * D) + M;
- val = obj.S .* W_dense;
- case 'ZRS'
- % Dense ZRS using Projection Operator P (Eq 24, 25)
- % Eq 24: P = I_N - (u*u')/N
- % Eq 25: W = A*D*P + u*v'
- if obj.alpha < 1
- warning('RMT:SparsityWarning', 'Using ''ZRS'' (projection) with sparse matrix. This will destroy sparsity. Consider ''SZRS''.');
- end
- % Eq 24: Projection operator
- P = eye(obj.N) - (obj.u * obj.u') / obj.N;
- % Eq 25: W = A*D*P + M
- val = (obj.A * D * P) + M;
- if obj.alpha < 1
- val = obj.S .* val;
- end
- case 'SZRS'
- % Sparse Zero Row Sum (Eq 30, 31)
- % Eq 30: W = S .* (A*D + u*v') - B
- % Eq 31: W_bar_i = sum_j W_ij / sum_j S_ij
- % Base sparse matrix
- W_base = obj.S .* ((obj.A * D) + M);
- % Eq 31: Row averages of non-zero elements
- row_sums = sum(W_base, 2);
- row_counts = sum(obj.S, 2);
- row_counts(row_counts == 0) = 1; % Avoid division by zero
- W_bar_i = row_sums ./ row_counts;
- % Correction matrix B: B_ij = S_ij * W_bar_i
- B = obj.S .* W_bar_i;
- % Eq 30: Final matrix
- val = W_base - B;
- case 'Partial_SZRS'
- % Partial SZRS (Eq 32)
- % Apply correction ONLY to random component J = S .* (A*D)
- % Keep M component (S .* M) intact to preserve imbalance
- % Random component
- J_base = obj.S .* (obj.A * D);
- % Mean structure component
- M_base = obj.S .* M;
- % Eq 32: Row averages of random component J only
- J_row_sums = sum(J_base, 2);
- row_counts = sum(obj.S, 2);
- row_counts(row_counts == 0) = 1;
- J_bar_i = J_row_sums ./ row_counts;
- % Partial correction B
- B_partial = obj.S .* J_bar_i;
- % W = (J_base - B_partial) + M_base
- val = (J_base - B_partial) + M_base;
- end
- % Apply diagonal shift
- val = val + obj.shift * eye(obj.N);
- end
- function val = get.mu_se(obj)
- % Eq 15: mu_se = alpha * mu_tilde_e
- val = obj.alpha * obj.mu_tilde_e;
- end
- function val = get.mu_si(obj)
- % Eq 15: mu_si = alpha * mu_tilde_i
- val = obj.alpha * obj.mu_tilde_i;
- end
- function val = get.sigma_se_sq(obj)
- % Eq 16: sigma_se^2 = alpha*(1-alpha)*mu_tilde_e^2 + alpha*sigma_tilde_e^2
- val = obj.alpha * (1 - obj.alpha) * obj.mu_tilde_e^2 + obj.alpha * obj.sigma_tilde_e^2;
- end
- function val = get.sigma_si_sq(obj)
- % Eq 16: sigma_si^2 = alpha*(1-alpha)*mu_tilde_i^2 + alpha*sigma_tilde_i^2
- val = obj.alpha * (1 - obj.alpha) * obj.mu_tilde_i^2 + obj.alpha * obj.sigma_tilde_i^2;
- end
- function val = get.lambda_O(obj)
- % Eq 17: lambda_O = N * [f * mu_se + (1-f) * mu_si]
- val = obj.N * (obj.f * obj.mu_se + (1 - obj.f) * obj.mu_si);
- end
- function val = get.R(obj)
- % Eq 18: R = sqrt(N * [f * sigma_se^2 + (1-f) * sigma_si^2])
- val = sqrt(obj.N * (obj.f * obj.sigma_se_sq + (1 - obj.f) * obj.sigma_si_sq));
- end
- %% Property Setters with cache invalidation
- function set.alpha(obj, val)
- obj.alpha = val;
- if ~isempty(obj.A)
- obj.update_sparsity();
- end
- obj.invalidate_eigenvalues();
- end
- function set.f(obj, val)
- obj.f = val;
- obj.invalidate_eigenvalues();
- end
- function set.mu_tilde_e(obj, val)
- obj.mu_tilde_e = val;
- obj.invalidate_eigenvalues();
- end
- function set.mu_tilde_i(obj, val)
- obj.mu_tilde_i = val;
- obj.invalidate_eigenvalues();
- end
- function set.sigma_tilde_e(obj, val)
- obj.sigma_tilde_e = val;
- obj.invalidate_eigenvalues();
- end
- function set.sigma_tilde_i(obj, val)
- obj.sigma_tilde_i = val;
- obj.invalidate_eigenvalues();
- end
- function set.zrs_mode(obj, val)
- obj.zrs_mode = val;
- obj.invalidate_eigenvalues();
- end
- function set.shift(obj, val)
- obj.shift = val;
- obj.invalidate_eigenvalues();
- end
- %% Parameter Setters
- function set_params(obj, mu_tilde_e, mu_tilde_i, sigma_tilde_e, sigma_tilde_i, f, alpha)
- % Set all parameters in Harris 2023 notation
- % Arguments: mu_tilde_e, mu_tilde_i, sigma_tilde_e, sigma_tilde_i, f, alpha
- if nargin > 1, obj.mu_tilde_e = mu_tilde_e; end
- if nargin > 2, obj.mu_tilde_i = mu_tilde_i; end
- if nargin > 3, obj.sigma_tilde_e = sigma_tilde_e; end
- if nargin > 4, obj.sigma_tilde_i = sigma_tilde_i; end
- if nargin > 5, obj.f = f; end
- if nargin > 6, obj.alpha = alpha; end
- end
- function set_alpha(obj, alpha)
- % Set alpha (sparsity) independently
- obj.alpha = alpha;
- end
- function set_zrs_mode(obj, mode)
- % Set the zero row-sum mode
- valid_modes = {'none', 'ZRS', 'SZRS', 'Partial_SZRS'};
- if ~ismember(mode, valid_modes)
- error('Invalid ZRS mode. Valid choices: %s', strjoin(valid_modes, ', '));
- end
- obj.zrs_mode = mode;
- end
- function sigma_tilde_i = compute_sigma_tilde_i_for_target_variance(obj, target_variance)
- % Compute sigma_tilde_i to achieve a target expected variance Var(W)
- % Check that alpha = 1 (dense case only)
- if obj.alpha < 1
- error('RMT:SparseCaseNotSupported', ...
- 'compute_sigma_tilde_i_for_target_variance only supports dense matrices (alpha=1). For alpha<1, a more complex solver is needed.');
- end
- % For dense case (alpha=1), sigma_se^2 = sigma_tilde_e^2
- sigma_se_sq = obj.sigma_tilde_e^2;
- sigma_si_sq = (target_variance - obj.f * sigma_se_sq) / (1 - obj.f);
- % Check that the result is valid (non-negative)
- if sigma_si_sq < 0
- error('RMT:InvalidTargetVariance', ...
- 'Target variance %.4f is too small. Minimum achievable is %.4f (when sigma_tilde_i=0).', ...
- target_variance, obj.f * sigma_se_sq);
- end
- sigma_tilde_i = sqrt(sigma_si_sq);
- end
- %% Internal Updates
- function update_sparsity(obj)
- obj.S = rand(obj.N, obj.N) < obj.alpha;
- obj.invalidate_eigenvalues();
- end
- %% Display and Diagnostics
- function display_parameters(obj)
- % Display measured statistics from W and compare to theoretical predictions
- W_mat = obj.W;
- % Remove diagonal for statistics since they may contain shift
- W_no_diag = W_mat;
- W_no_diag(1:obj.N+1:end) = NaN;
- % Extract E and I columns
- E_idx = obj.E;
- W_E = W_no_diag(:, E_idx);
- W_I = W_no_diag(:, ~E_idx);
- % For sparse matrices, only consider non-zero entries
- W_E_vals = W_E(~isnan(W_E) & (W_E ~= 0));
- W_I_vals = W_I(~isnan(W_I) & (W_I ~= 0));
- % Measured statistics (of non-zero entries)
- measured_mu_E = mean(W_E_vals);
- measured_mu_I = mean(W_I_vals);
- measured_sigma_E = std(W_E_vals, 1);
- measured_sigma_I = std(W_I_vals, 1);
- % Theoretical predictions (use dependent properties directly)
- mu_se = obj.mu_se;
- mu_si = obj.mu_si;
- sigma_se_sq = obj.sigma_se_sq;
- sigma_si_sq = obj.sigma_si_sq;
- lambda_O = obj.lambda_O;
- R = obj.R;
- fprintf('\n========== RMT Parameter Summary ==========\n');
- if ~isempty(obj.description)
- fprintf('Description: %s\n', obj.description);
- end
- fprintf('Mode: %s\n', obj.zrs_mode);
- fprintf('N: %d\n', obj.N);
- fprintf('alpha: %.4f\n', obj.alpha);
- fprintf('f: %.4f\n', obj.f);
- fprintf('\n--- Harris 2023 Notation ---\n');
- fprintf(' Set Value Sparse Eff. Measured(NZ)\n');
- fprintf('--------------------------------------------------------------\n');
- fprintf('mu_tilde_e %10.4f mu_se=%.4f %.4f\n', obj.mu_tilde_e, mu_se, measured_mu_E);
- fprintf('mu_tilde_i %10.4f mu_si=%.4f %.4f\n', obj.mu_tilde_i, mu_si, measured_mu_I);
- fprintf('sigma_tilde_e %10.4f sigma_se=%.4f %.4f\n', obj.sigma_tilde_e, sqrt(sigma_se_sq), measured_sigma_E);
- fprintf('sigma_tilde_i %10.4f sigma_si=%.4f %.4f\n', obj.sigma_tilde_i, sqrt(sigma_si_sq), measured_sigma_I);
- fprintf('\n--- Theoretical Predictions (Eq 17, 18) ---\n');
- fprintf('lambda_O (outlier): %.4f\n', lambda_O);
- fprintf('R (radius): %.4f\n', R);
- fprintf('==============================================\n\n');
- end
- %% Eigenvalue Computation (with caching)
- function eigs = get_eigenvalues(obj)
- % Get eigenvalues, computing only if cache is invalid
- if ~obj.eigenvalues_valid || isempty(obj.eigenvalues_cache)
- obj.eigenvalues_cache = eig(obj.W);
- obj.eigenvalues_valid = true;
- end
- eigs = obj.eigenvalues_cache;
- end
- function compute_eigenvalues(obj)
- % Force recomputation and cache update
- obj.eigenvalues_cache = eig(obj.W);
- obj.eigenvalues_valid = true;
- end
- function eigs = eigenvalues(obj)
- % Property-like access for eigenvalues
- eigs = obj.get_eigenvalues();
- end
- %% Plotting
- function plot_spectrum(obj, ax)
- if nargin < 2
- figure; ax = gca;
- end
- eigs = obj.get_eigenvalues();
- % Get theoretical radius and center
- R = obj.R;
- xc = obj.shift;
- yc = 0;
- % Compute distances from center for all eigenvalues
- distances = abs(eigs - xc - 1i*yc);
- % Plot interior eigenvalues (within R) as black circles
- mSize = 4;
- interior_mask = distances <= R;
- interior_eigs = eigs(interior_mask);
- plot(ax, real(interior_eigs), imag(interior_eigs), 'ko', 'MarkerSize', mSize, 'MarkerFaceColor', 'none', 'LineWidth', 0.5);
- hold(ax, 'on');
- % Plot theoretical radius (Eq 18)
- theta = linspace(0, 2*pi, 100);
- plot(ax, xc + R*cos(theta), yc + R*sin(theta), 'k-', 'LineWidth', 2);
- % Plot near outlier eigenvalues (between R and outlier_threshold*R) as black Xs
- near_outlier_mask = (distances > R) & (distances <= obj.outlier_threshold * R);
- near_outlier_eigs = eigs(near_outlier_mask);
- if ~isempty(near_outlier_eigs)
- plot(ax, real(near_outlier_eigs), imag(near_outlier_eigs), 'kx', 'MarkerSize', mSize, 'LineWidth', 0.5);
- end
- % Plot far outlier eigenvalues (beyond outlier_threshold*R) as green filled circles
- far_outlier_mask = distances > obj.outlier_threshold * R;
- far_outlier_eigs = eigs(far_outlier_mask);
- if ~isempty(far_outlier_eigs)
- plot(ax, real(far_outlier_eigs), imag(far_outlier_eigs), 'o', 'MarkerSize', mSize, 'MarkerFaceColor', [0 .7 0], 'MarkerEdgeColor', [0 .7 0]);
- end
- xlabel(ax, 'Re(\lambda)');
- ylabel(ax, 'Im(\lambda)');
- grid(ax, 'on');
- axis(ax, 'equal');
- hold(ax, 'off');
- end
- %% Deep Copy
- function new_obj = copy(obj)
- % Create new object with same N
- new_obj = RMT(obj.N);
- % Copy stored (non-dependent) properties
- new_obj.alpha = obj.alpha;
- new_obj.f = obj.f;
- new_obj.mu_tilde_e = obj.mu_tilde_e;
- new_obj.mu_tilde_i = obj.mu_tilde_i;
- new_obj.sigma_tilde_e = obj.sigma_tilde_e;
- new_obj.sigma_tilde_i = obj.sigma_tilde_i;
- new_obj.A = obj.A;
- new_obj.S = obj.S;
- new_obj.zrs_mode = obj.zrs_mode;
- new_obj.shift = obj.shift;
- new_obj.description = obj.description;
- new_obj.outlier_threshold = obj.outlier_threshold;
- new_obj.eigenvalues_cache = obj.eigenvalues_cache;
- new_obj.eigenvalues_valid = obj.eigenvalues_valid;
- end
- end
- methods (Access = private)
- function invalidate_eigenvalues(obj)
- obj.eigenvalues_valid = false;
- end
- end
- end
RMT.m at commit ac4d3b9, under MIT · at the source
Overview
Abstract
The brain is a highly recurrent, nonlinear network hypothesized to remain near the edge of chaos for optimal performance. Excitation and inhibition must be balanced precisely within every neuron to ensure a consistent level of dynamical stability and rich dynamics during transition to chaos. However, analysis of biologically realistic synaptic weight matrices suggests that sparsity and low-dimensional structure interact such that there is no known synaptic balancing rule that constrains the stability (i.e., eigenvalues) of the network while also preserving computationally useful, low-dimensional structure. Further, even if a network were well-balanced, external stimuli interact with the nonlinear activation functions to unbalance the network in real time. Therefore, the brain must utilize dynamic, rather than static, mechanisms to actively regulate its level of stability. We propose that two specific adaptation mechanisms, spike frequency adaptation (SFA) and short-term synaptic depression (STD), continuously modulate the effective connectivity, keeping the brain near the edge of chaos and reducing dynamical fluctuations caused by stimuli. This theoretical framework links intrinsic and synaptic negative feedback mechanisms to network-level dynamics. This offers an explanation of why data-driven modeling of human brain signals, an exciting and useful method in epilepsy and anesthesiology research, seems to require linear time-varying (LTV) models which are refit every half second: difficult to observe adaptation processes interact with nonlinearities to make connectivity effectively dynamic at the macroelectrode scale. We suggest that compromised adaptation may underlie neurological conditions characterized by altered excitability, and that targeted brain stimulation could be used to probe the regulatory action of adaptation.
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.
TomRichner/ConnectivityAdaptation
ac4d3b92aa678686afd3e734248c743ed2a3614f, 7 May 2026Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
60 files
- Final_figures/
convert_table_and_captio , Shell, 35 linesn_to_pdf.sh - RandomMatrixTheory/
AddLetters2Plots.m , MATLAB, 236 lines - RandomMatrixTheory/
Fig_1_RMT_examples.m , MATLAB, 200 lines - RandomMatrixTheory/
RMT.m , MATLAB, 478 lines, 2 matches - RandomMatrixTheory/
save_some_figs_to_folder , MATLAB, 59 lines_2.m - StabilityAnalysis/
scripts/ , MATLAB, 198 linesFig_2_fraction_excitator y_analysis.m - StabilityAnalysis/
scripts/ , MATLAB, 265 lines, 1 matchFig_2_fraction_excitator y_load_and_plot.m - StabilityAnalysis/
scripts/ , MATLAB, 586 lines, 2 matchesFig_2_single_vs_dual_ada ptation_example.m - StabilityAnalysis/
scripts/ , MATLAB, 35 linesSimple_network_with_dual _adaptation.m - StabilityAnalysis/
scripts/ , MATLAB, 203 linesSompolinsky_N_1000_g_1p8 .m - StabilityAnalysis/
scripts/ , MATLAB, 203 linesSompolinsky_N_200_g_1p8. m - StabilityAnalysis/
scripts/ , MATLAB, 203 linesSompolinsky_N_200_g_2p1. m - StabilityAnalysis/
scripts/ , MATLAB, 19 linessetup_paths.m - StabilityAnalysis/
src/ , MATLAB, 974 linesParamSpaceAnalysis.m - StabilityAnalysis/
src/ , MATLAB, 195 lines, 2 matchesRMTMatrix.m - StabilityAnalysis/
src/ , MATLAB, 1,272 linesSRNNModel.m - StabilityAnalysis/
src/ , MATLAB, 140 lines, 1 matchalgorithms/ Jacobian/ compute_J_eff.m - StabilityAnalysis/
src/ , MATLAB, 468 linesalgorithms/ Jacobian/ compute_Jacobian.m - StabilityAnalysis/
src/ , MATLAB, 48 linesalgorithms/ Jacobian/ compute_Jacobian_at_indi ces.m - StabilityAnalysis/
src/ , MATLAB, 235 linesalgorithms/ Jacobian/ compute_Jacobian_fast.m - StabilityAnalysis/
src/ , MATLAB, 31 linesalgorithms/ Jacobian/ get_minMaxRange.m - StabilityAnalysis/
src/ , MATLAB, 115 linesalgorithms/ Lyapunov/ benettin_algorithm.m - StabilityAnalysis/
src/ , MATLAB, 131 linesalgorithms/ Lyapunov/ compute_lyapunov_exponen ts.m - StabilityAnalysis/
src/ , MATLAB, 176 linesalgorithms/ Lyapunov/ lyapunov_spectrum_qr.m - StabilityAnalysis/
src/ , MATLAB, 148 linesgenerate_stimulus/ generate_external_input. m - StabilityAnalysis/
src/ , MATLAB, 27 linesnonlinearities/ logisticSigmoid.m - StabilityAnalysis/
src/ , MATLAB, 29 linesnonlinearities/ logisticSigmoidDerivativ e.m - StabilityAnalysis/
src/ , MATLAB, 83 linesnonlinearities/ piecewiseSigmoid.m - StabilityAnalysis/
src/ , MATLAB, 76 linesnonlinearities/ piecewiseSigmoidDerivati ve.m - StabilityAnalysis/
src/ , MATLAB, 25 linesnonlinearities/ tanhActivation.m - StabilityAnalysis/
src/ , MATLAB, 27 linesnonlinearities/ tanhActivationDerivative .m - StabilityAnalysis/
src/ , MATLAB, 207 linesplotting/ AddLetters2Plots.m - StabilityAnalysis/
src/ , MATLAB, 243 linesplotting/ beeswarm.m - StabilityAnalysis/
src/ , MATLAB, 50 linesplotting/ blue_gray_red_colormap.m - StabilityAnalysis/
src/ , MATLAB, 153 linesplotting/ concatenate_figs.m - StabilityAnalysis/
src/ , MATLAB, 69 linesplotting/ excitatory_colormap.m - StabilityAnalysis/
src/ , MATLAB, 70 linesplotting/ inhibitory_colormap.m - StabilityAnalysis/
src/ , MATLAB, 186 linesplotting/ paired_beeswarm.m - StabilityAnalysis/
src/ , MATLAB, 285 linesplotting/ param_space_plots/ load_and_make_unit_histo grams.m - StabilityAnalysis/
src/ , MATLAB, 488 linesplotting/ param_space_plots/ load_and_plot_lle_by_sti m_period.m - StabilityAnalysis/
src/ , MATLAB, 93 linesplotting/ param_space_plots/ load_and_plot_param_spac e_analysis.m - StabilityAnalysis/
src/ , MATLAB, 244 linesplotting/ plot_SRNN_combined_tseri es.m - StabilityAnalysis/
src/ , MATLAB, 161 linesplotting/ plot_SRNN_tseries.m - StabilityAnalysis/
src/ , MATLAB, 67 linesplotting/ plot_adaptation.m - StabilityAnalysis/
src/ , MATLAB, 48 linesplotting/ plot_dendritic_state.m - StabilityAnalysis/
src/ , MATLAB, 139 linesplotting/ plot_eigenvalues.m - StabilityAnalysis/
src/ , MATLAB, 41 linesplotting/ plot_external_input.m - StabilityAnalysis/
src/ , MATLAB, 38 linesplotting/ plot_firing_rate.m - StabilityAnalysis/
src/ , MATLAB, 48 linesplotting/ plot_lines_with_colormap .m - StabilityAnalysis/
src/ , MATLAB, 147 linesplotting/ plot_lyapunov.m - StabilityAnalysis/
src/ , MATLAB, 64 linesplotting/ plot_std_variable.m - StabilityAnalysis/
src/ , MATLAB, 38 linesplotting/ plot_synaptic_output.m - StabilityAnalysis/
src/ , MATLAB, 55 linesplotting/ redwhiteblue_colormap.m - StabilityAnalysis/
src/ , MATLAB, 59 linesplotting/ save_some_figs_to_folder _2.m - StabilityAnalysis/
src/ , MATLAB, 154 linesplotting/ unit_histogram_patch.m - docs/
EquationsParametersDocs/ , MATLAB, 25 linesplot_piecewiseSigmoid_ex ample.m - docs/
convert_md_docs_to_pdf.s , Shell, 48 linesh - run_all_figures.m, MATLAB, 120 lines
- LICENSE, License, 21 lines
- README.md, Text, 52 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;
- 58 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
The datasets presented in this study can be found in an online repository. Additional documentation, and all code to reproduce the data and figures, is available in the following repository: https://
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, 29 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 3 authors, 8 keywords, 1 funder, 68 references.
Cite
This paper
Richner, T. J., Dervinis, M., & Lundstrom, B. N. (2026). Adaptation modulates effective connectivity and network stability. Frontiers in computational neuroscience, 20, 1761735. https://
BibTeX
@article{richner2026adap
author = {Richner, Thomas J. and Dervinis, Martynas and Lundstrom, Brian Nils},
title = {{Adaptation modulates effective connectivity and network stability}},
journal = {Frontiers in computational neuroscience},
year = {2026},
month = apr,
volume = {20},
pages = {1761735},
publisher = {Frontiers Media SA},
issn = {1662-5188},
doi = {10.3389/
url = {https://
pmid = {42038529},
pmcid = {PMC13106433}
}
RIS
TY - JOUR
AU - Richner, Thomas J.
AU - Dervinis, Martynas
AU - Lundstrom, Brian Nils
TI - Adaptation modulates effective connectivity and network stability
T2 - Frontiers in computational neuroscience
J2 - Front Comput Neurosci
PY - 2026
DA - 2026/
VL - 20
SP - 1761735
SN - 1662-5188
PB - Frontiers Media SA
DO - 10.3389/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3389/
"type": "article-journal",
"title": "Adaptation modulates effective connectivity and network stability",
"container-title": "Frontiers in computational neuroscience",
"author": [
{
"family": "Richner",
"given": "Thomas J."
},
{
"family": "Dervinis",
"given": "Martynas"
},
{
"family": "Lundstrom",
"given": "Brian Nils"
}
],
"container-title-short":
"volume": "20",
"page": "1761735",
"DOI": "10.3389/
"PMID": "42038529",
"PMCID": "PMC13106433",
"ISSN": "1662-5188",
"publisher": "Frontiers Media SA",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
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.1371/journal.pcbi.1010527 [code]
- Neural adaptation and fractional dynamics as a window to underlying neural excitability.Journal: PLoS computational biologyIn common: Signal Processing Toolbox, 9 references
- [2] doi:10.1371/journal.pcbi.1012567 [code]
- Neural networks with optimized single-neuron adaptation uncover biologically plausible regularization.Journal: PLoS computational biologyIn common: 9 references
- [3] doi:10.1371/journal.pcbi.1010855 [code]
- Relating local connectivity and global dynamics in recurrent excitatory-inhibitory networks.Journal: PLoS computational biologyIn common: 8 references
- [4] doi:10.1073/pnas.2024455119 [code]
- Consciousness is supported by near-critical slow cortical electrodynamics.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 5 references
- [5] doi:10.1073/pnas.2218841120 [code]
- Intrinsic neural diversity quenches the dynamic volatility of neural networks.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: 6 references
- [6] doi:10.1007/s00422-025-01011-7 [code]
- Decreased spinal inhibition leads to undiversified locomotor patterns.Journal: Biological cyberneticsIn common: Signal Processing Toolbox, 5 references
- [7] doi:10.1073/pnas.2426290122 [code]
- Interactions between long- and short-term synaptic plasticity transform temporal neural representations into spatial.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: 5 references
- [8] doi:10.1038/s41467-024-49889-4 [code]
- Spiking attractor model of motor cortex explains modulation of neural and behavioral variability by prior target information.Journal: Nature communicationsIn common: 5 references
- [9] doi:10.7554/elife.71263 [code]
- Nonlinear transient amplification in recurrent neural networks with short-term plasticity.Journal: eLifeIn common: 5 references
- [10] doi:10.1371/journal.pcbi.1011315 [code]
- Geometry of population activity in spiking networks with low-rank structure.Journal: PLoS computational biologyIn common: 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.
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, 58 scripts, and 8 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:945945d4ed83a392…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.3389/fncom.2026.1761735)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3389/fncom.2026.1761735.svg
:target: https://openscicode.org/badge/doi/10.3389/fncom.2026.1761735
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3389/fncom.2026.1761735"><img src="https://openscicode.org/badge/doi/10.3389/fncom.2026.1761735.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.
