Beyond Pairwise Connectivity: Reconstructing the Local–Global Structure of Neural Fields
Companion post to:
Spatially Masked Regression Reveals Local and Distributed Predictability in Electrophysiological Recording
Maryam Ostadsharif Memar, Nima Dehghani
arXiv 2026.
DOI: https://doi.org/10.48550/arXiv.2606.11415
Rethinking the “Local” in Local Field Potentials: A Masked Reconstruction Approach
Electrophysiological recordings occupy an ambiguous position in systems neuroscience.
An electrode is physically located at a specific point in space, and we often speak of its signal as a local measurement. Yet the signals measured by EEG, ECoG, and intracranial EEG are rarely interpretable as isolated readouts of a single local generator. They are shaped by the geometry of tissue, the physics of extracellular fields, the spatial arrangement of sensors, and the distributed dynamics of the underlying neural system.
This tension is especially clear in the phrase local field potential. The word “local” is meaningful, but it is not absolute. It refers to a field measured near a sensor, not to a signal whose generative structure is necessarily confined to the immediate neighborhood of that sensor. A channel can be strongly influenced by nearby sources while still carrying information about activity distributed across a larger network.
This creates a basic question:
How much of an electrode’s signal is locally redundant, and how much is embedded in broader distributed structure?
This question is often approached indirectly through functional connectivity. We compute correlations, coherence, phase-locking values, mutual information, or other pairwise measures, and then interpret the resulting graph as a representation of network organization. These methods have been valuable, but they also inherit a difficulty: they ask whether two signals are statistically related, not whether the signal at one electrode is predictively represented across the rest of the array.
In field recordings, this distinction matters. Nearby electrodes can look highly connected simply because of spatial smoothness, volume conduction, or shared filtering through tissue. Pairwise connectivity can therefore be dominated by short-range redundancy, while weaker but functionally meaningful long-range structure remains harder to isolate.
In this paper, we approached the problem differently. Instead of asking whether two electrodes are connected, we asked:
Can the signal at one electrode be reconstructed from the rest of the array?
And more importantly:
What happens to that reconstructability when we deliberately remove the local neighborhood around the target electrode?
This is the central idea behind Spatially Masked Regression.
From pairwise connectivity to predictive embedding
The usual connectivity question has the form:
\[\text{Are } x_i(t) \text{ and } x_j(t) \text{ statistically associated?}\]Spatially Masked Regression, or SMR, asks a different question:
\[\text{How well can } x_i(t) \text{ be reconstructed from } \{x_j(t)\}_{j \neq i}?\]The shift is subtle but important. We are no longer treating pairwise association as the primitive object. Instead, we treat each channel as a target to be reconstructed from the rest of the recording array.
For a target electrode $i$ in subject $s$, the SMR reconstruction is written as
\[\hat{x}^{(s)}_i(t) = \sum_{j=1}^{N_s} \left(1-K^{(s)}_{ij}\right) w^{(s)}_{ij} x^{(s)}_j(t).\]Here, $x^{(s)}{j(t)}$ is the signal from predictor electrode $j$, $w^{(s)}{ij}$ is the learned contribution of electrode $j$ to the reconstruction of electrode $i$, and $K^{(s)}_{ij}$ is a spatial mask.
The mask is the essential object. If electrode $j$ belongs to the predefined local neighborhood of target electrode $i$, then
\[K^{(s)}_{ij}=1,\]and that predictor is excluded from the reconstruction. If it is outside the masked neighborhood, then
\[K^{(s)}_{ij}=0,\]and it remains available to the model.
This turns locality into an experimental control. With no masking, the model can exploit all available predictors, including the strongest local redundancies. With strict masking, the model is forced to reconstruct the target from non-local electrodes only.
In other words, SMR allows us to ask how much predictive information survives after the immediate spatial neighborhood has been removed.
The learned matrix is asymmetric. The weight $w_{ij}$ quantifies the contribution of channel $j$ to reconstructing channel $i$, not the reverse. This is not a causal model, but it is also not simply a symmetric connectivity graph. It is a reconstruction operator: a map from the rest of the array to a target channel.
Two spatial regimes: scalp EEG and intracranial EEG
We applied SMR to two electrophysiological regimes.
The first was scalp EEG recorded during upper-limb movements and motor imagery. EEG has a standardized sensor layout and substantial spatial mixing because signals must pass through brain tissue, cerebrospinal fluid, skull, and scalp before reaching the electrodes. This produces strong channel-to-channel redundancy, especially among nearby electrodes.
The second was the AJILE12 intracranial EEG dataset. iEEG sits closer to the neural generators and therefore has greater spatial specificity. But it also comes with a different problem: electrode placement is clinically determined and varies strongly across subjects. Unlike scalp EEG, there is no common standardized sensor geometry across all individuals.
These two modalities therefore provide a useful contrast. EEG should be more spatially mixed and more transferable across subjects. iEEG should be more focal, more subject-specific, and harder to transfer.
This is what we found.
In the intra-subject setting, where the model was trained and tested within the same individual, reconstruction was strong in both modalities, but substantially stronger in EEG. Mean distance correlation was approximately $\mathrm{DistCorr}{\mathrm{EEG}} = 0.908 \pm 0.028$, whereas for iEEG it was $\mathrm{DistCorr}{\mathrm{iEEG}} = 0.553 \pm 0.068$.
This difference is not surprising. Scalp EEG is spatially smoother and more redundant. Multiple electrodes often contain overlapping mixtures of related neural sources. iEEG, by contrast, preserves a more focal and individualized spatial structure.
The cross-subject analysis sharpened this contrast. For EEG, a learned inter-electrode relationship matrix transferred well across subjects, reaching an average distance correlation of $\mathrm{DistCorr}{\mathrm{EEG, cross}} = 0.783 \pm 0.093.$ For iEEG, even after correlation-based electrode mapping, cross-subject transfer was much weaker: $\mathrm{DistCorr}{\mathrm{iEEG, cross}} = 0.389 \pm 0.064.$
This result captures a basic difference between the modalities. EEG lives in a relatively standardized, spatially mixed measurement space. iEEG samples the cortex more directly, but the sampling geometry is idiosyncratic. The same anatomical or functional system may be sampled differently across patients, and this makes learned inter-electrode structure much less portable.
This distinction matters for how we interpret generalization. Strong EEG transfer does not necessarily mean that the underlying neural generators are identical across subjects. It may partly reflect the fact that the measurement process itself imposes a shared spatial smoothing structure. Conversely, weak iEEG transfer does not mean that there is no common neural organization. It may reflect the difficulty of aligning sparse, heterogeneous, clinically placed electrodes across individuals.
Local masking: turning neighborhood structure into a probe
The core analysis of the paper is the masking experiment.
For each target electrode, we progressively excluded increasing fractions of its local neighborhood. We tested mask intensities of $0\%,\ 25\%,\ 50\%,\ 75\%,\ 100\%.$
At $0\%$, no local electrodes were excluded. At $100\%$, the full predefined local neighborhood was removed. For EEG, neighborhoods were defined using the standardized 10–10/10–5 montage structure. For iEEG, neighborhoods were defined anatomically using AAL-based regional proximity.
The result was clear: reconstruction performance decreased as more local information was masked.
This confirms that nearby electrodes carry the densest predictive information. That is expected from the biophysics of field potentials. Neural fields are spatially smooth at many scales, and tissue properties impose distance- and frequency-dependent filtering. Local redundancy is not an artifact in the trivial sense; it is part of the physical structure of the measurement.
But the important result is what remained after local masking.
Even under strict local exclusion, reconstruction performance stayed above zero. The target signal was degraded but not erased. This means that the signal at an electrode is not fully determined by its immediate neighborhood. Some predictive structure remains distributed across more distant electrodes.
This is the key conceptual point:
SMR does not show that field potentials are global rather than local. It shows that they are mixed objects: locally concentrated, but distributed in their predictive embedding.
This result argues against two oversimplified views.
The first is the purely local view: each electrode is mainly a readout of the tissue immediately underneath it. If that were true, strict local masking should destroy reconstructability almost completely.
The second is the purely global view: each electrode is just one redundant projection of a broadly distributed field. If that were true, local masking would have relatively little effect.
The data support neither extreme. Local electrodes matter strongly, but distant electrodes still carry information. The signal is neither purely local nor purely global. It is locally anchored and globally embedded.
Local-only, non-local-only, and all-electrode reconstruction
To separate these contributions further, we compared three input configurations.
- Local-only: use only spatially adjacent or anatomically local electrodes.
- Non-local-only: exclude local neighbors and use distant electrodes.
- All electrodes: use both local and non-local inputs.
The local-only model consistently outperformed the non-local-only model. This confirms that the immediate neighborhood contains the most concentrated and coherent predictive information.
However, the best performance came from the all-electrode condition.
That result is important. It means that distant electrodes are not merely weak substitutes for local electrodes. They add complementary information when combined with local predictors. Local electrodes provide the strongest core reconstruction, but non-local electrodes contribute additional structure that local electrodes alone cannot fully capture.
This gives a more precise interpretation of distributed predictability. The point is not that distant sensors are better than local sensors. They are not. The point is that distant sensors contain information that is not completely redundant with the local neighborhood.
This has practical implications for sensor selection and montage design. If the goal is reconstruction or decoding, dense local coverage may provide the largest immediate gain. But eliminating broader spatial coverage can remove distributed information that improves performance. A good recording array should not be thought of only as a dense local sampler or only as a broad global sampler. It should balance both.
Why distance correlation?
We evaluated reconstruction quality using distance correlation, rather than ordinary Pearson correlation alone.
Distance correlation measures statistical dependence between two signals using pairwise distance matrices. For original signal $u$ and reconstructed signal $v$, one first computes pairwise distances,
\[a_{mn}=|u_m-u_n|, \qquad b_{mn}=|v_m-v_n|,\]then double-centers these distance matrices and computes a normalized distance covariance.
The resulting value is zero when the variables are statistically independent and increases as dependence becomes stronger.
This was useful here because we wanted a scalar reconstruction score that could capture more than linear correspondence. The model itself is linear, but the relationship between original and reconstructed signals may still contain nonlinear dependence structure. Distance correlation provides a more general measure of reconstruction fidelity while remaining interpretable across subjects, modalities, and masking conditions.
Lagged predictors: little gain beyond instantaneous structure
We also tested a lagged variant of SMR. Instead of reconstructing $x_i(t)$ only from other channels at the same time point, the lagged model used predictors at short temporal offsets:
\[\hat{x}^{(s)}_i(t) = \sum_{\tau \in \mathcal{T}} \sum_{j=1}^{N_s} \left(1-K^{(s)}_{ij}\right) w^{(s)}_{ij}[\tau] x^{(s)}_j(t-\tau).\]The tested lags were chosen to cover time scales relevant to motor-related beta and gamma activity, including delays up to 60 ms.
The effect was minimal. In EEG, intra-subject performance changed from approximately $0.908 \pm 0.028$ to $0.910 \pm 0.027.$ In iEEG, it changed from $0.553 \pm 0.068$ to $0.554 \pm 0.067.$
Thus, within the tested lag range, most of the recoverable structure was already captured by the instantaneous model.
This should not be interpreted to mean that delayed interactions are physiologically unimportant. Rather, it suggests that for this reconstruction objective, and for these motor-related data, adding short lags did not substantially improve overall signal recoverability. The dominant structure available to the model was already present in the instantaneous spatial covariance pattern.
The lagged formulation remains useful as an extension, especially for datasets where propagation, delayed coordination, or directional temporal dependencies are central. But in this study, it did not alter the main conclusion.
Surrogate controls: reconstruction is not just marginal statistics
Any reconstruction result in neural time series must face a basic objection: perhaps the model is not using meaningful spatiotemporal structure at all. Perhaps it is exploiting static amplitude distributions, power spectra, autocorrelation, or other low-order properties.
To test this, we used three surrogate controls.
Phase-shuffled surrogates
Phase shuffling preserves the amplitude spectrum of each signal but disrupts phase structure. This keeps the power spectrum largely intact while destroying fine-grained temporal organization.
IAAFT surrogates
IAAFT surrogates preserve both the amplitude distribution and approximately preserve the power spectrum. They are a stronger control because they retain more low-order structure while disrupting nonlinear temporal dependencies and phase organization.
Block-shuffled surrogates
Block shuffling preserves short local temporal segments but disrupts their long-range ordering. This tests whether reconstruction depends on the temporal arrangement of those segments, rather than only on local within-block structure.
Across all surrogate conditions, reconstruction performance dropped substantially.
For iEEG, mean distance correlation fell from $0.553 \pm 0.068$ in the original data to $0.181 \pm 0.029$ under phase shuffling, $0.232 \pm 0.060$ under IAAFT, and $0.201 \pm 0.168$ under block shuffling.
For EEG, performance fell from $0.908 \pm 0.028$ to $0.124 \pm 0.049$, $0.184 \pm 0.073$, and $0.160 \pm 0.078]$ for phase-shuffled, IAAFT, and block-shuffled surrogates, respectively.
This result constrains the interpretation of SMR. The model is not simply exploiting amplitude distributions or static spectral profiles. Preserving those properties is not enough. Reconstruction depends on structured temporal and cross-channel organization present in the original recordings.
The phase-shuffling result is especially informative. Destroying phase organization while preserving spectral magnitude caused a large performance collapse. This suggests that the predictive structure used by SMR depends strongly on the temporal organization of the signals, not merely on their power spectra.
At the same time, we should avoid overclaiming. These surrogate analyses do not prove a specific mechanism, nor do they establish causality. They show that the reconstruction depends on structured spatiotemporal organization that is disrupted by phase randomization, amplitude-adjusted spectral surrogates, and temporal reordering.
What SMR adds to functional connectivity
SMR is not intended to replace functional connectivity. It asks a different question.
Functional connectivity typically begins with pairwise dependence:
\[x_i(t) \leftrightarrow x_j(t).\]SMR begins with reconstruction:
\[\{x_j(t)\}_{j\neq i} \rightarrow x_i(t).\]This makes the object of analysis different. The learned matrix is not simply a graph of pairwise associations. It is an asymmetric reconstruction matrix describing how the rest of the array contributes to each target channel.
This shift has several advantages.
First, SMR naturally separates redundant and complementary information. If a target can be reconstructed well even after local masking, then some information about that target is distributed beyond its immediate neighborhood.
Second, SMR provides a controlled way to test locality. Instead of trying to correct for local field spread after the fact, the method explicitly removes local predictors and measures what remains.
Third, SMR is interpretable. It is linear, spatially constrained, and directly tied to reconstruction performance. More complex nonlinear models could certainly be developed, but the simplicity of SMR is useful because the effect of masking is transparent.
In this sense, SMR sits between biophysics, signal reconstruction, and network neuroscience. It does not infer hidden sources directly. It does not claim causal directionality. It does not reduce the system to a symmetric connectivity graph. Instead, it asks how each measured channel is embedded in the rest of the measured array.
The biophysical interpretation
The results are consistent with a physically grounded view of electrophysiological recordings.
Field potentials are shaped by the geometry of current sources, the conductivity and permittivity of tissue, the distance between sources and sensors, and the spatial arrangement of electrodes. These factors impose spatial smoothing, frequency-dependent attenuation, and shared variance across channels.
EEG and iEEG differ because they sample different points along this measurement chain.
Scalp EEG is farther from the generators and filtered through multiple tissue compartments. It is therefore more spatially mixed and more redundant across electrodes. This helps explain the higher intra-subject reconstruction performance and the stronger cross-subject transfer.
iEEG is closer to the generators. It has higher spatial specificity and less standardized coverage. This reduces redundancy and makes inter-subject transfer more difficult.
The masking result adds another layer to this interpretation. Local redundancy is strong, as expected from field biophysics. But residual predictability under strict local masking indicates that field recordings also carry distributed network structure. The signal at one electrode is not only a local field in the narrow spatial sense. It is a projection of a larger dynamical system into a particular measurement geometry.
Practical implications
The immediate application of SMR is diagnostic. It gives us a way to quantify the balance between local redundancy and distributed predictability in a recording array.
This can be useful in several contexts.
Sensor selection
Channels that are highly reconstructable from the rest of the array may be relatively redundant. Channels that are poorly reconstructable may carry more unique information. This distinction could help guide electrode selection in BCI, EEG montage design, or dimensionality reduction.
Comparing modalities
SMR provides a common framework for comparing EEG, ECoG, iEEG, MEG, or other multichannel recordings. The same masking logic can be used to ask how local or distributed each modality is in practice.
Brain-state analysis
The local-global balance is unlikely to be fixed. It may change across sleep, wakefulness, anesthesia, seizure states, movement, cognition, or pathology. SMR could be applied dynamically to track how distributed dependencies reorganize across brain states.
Model evaluation
For computational neuroscience and neuroengineering, SMR can serve as a benchmark for how much structure a model captures. A generative or dynamical model of electrophysiology should not only reproduce spectra or pairwise correlations; it should reproduce the observed pattern of local and non-local reconstructability.
Limitations and extensions
The present version of SMR is intentionally simple. It uses linear regression with spatial masking. This makes the method interpretable, but it also limits the class of dependencies it can capture.
Several extensions are natural.
A nonlinear version could use kernel regression, Gaussian processes, neural networks, or state-space models while preserving the same masking protocol. The key idea is not the linear model itself, but the experimental logic of withholding local predictors and measuring residual reconstructability.
A temporal version could incorporate richer autoregressive structure or latent dynamics, allowing SMR to probe not only instantaneous predictability but also delayed and state-dependent dependencies.
A source-space version could apply the same masking logic after source reconstruction, asking whether cortical regions are locally or distributedly predictable in a source-estimated representation.
A state-aware version could estimate SMR matrices separately across behavioral or physiological states, allowing the local-global structure of the array to become a dynamical variable in its own right.
Conclusion
The main result of this paper is not that electrophysiological signals are local, nor that they are global. It is that they are both.
Nearby electrodes carry the strongest predictive information, and removing them systematically degrades reconstruction. But even after local neighborhoods are masked, substantial predictive structure remains. Local information is therefore dominant but not exhaustive.
EEG and iEEG express this balance differently. EEG is more spatially mixed, more redundant, and more transferable across subjects. iEEG is more focal, more individualized, and more sensitive to subject-specific electrode geometry. These differences are not nuisances; they are part of the physical and anatomical structure of the measurement.
SMR provides a way to make this structure measurable. By turning locality into an experimental knob, it separates local redundancy from distributed predictability and gives us a direct operational handle on how each electrode is embedded in the broader recording array.
For electrophysiology, this is a useful shift in perspective. A channel is not merely a point measurement. It is a local observation of a distributed dynamical system, filtered through tissue, sensor geometry, and network organization.
Spatially Masked Regression gives us a way to quantify that statement.