NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Structure-Preserving Correction Learning for Sparse Bayesian Inference in Brain Source Imaging

Marco Morik, Xiao Ruiting, Shinichi Nakajima, Stefan Haufe, Ismail HuseynovarXiv 2026

TL;DR

This paper introduces a structure-preserving "correction learning" framework that unfolds classical sparse Bayesian inference into a deep neural network for M/EEG brain source imaging. By learning data-driven, input-adaptive correction terms instead of replacing the underlying physics with a black box, the method significantly improves reconstruction accuracy and convergence speed while maintaining full algorithmic transparency and the ability to generalize to unseen sensor layouts.

What Problem Does This Paper Address?

Reconstructing 3D brain activity from non-invasive Electroencephalography (EEG) or Magnetoencephalography (MEG) sensor recordings is a notoriously difficult "inverse problem." Because a small number of sensors on the scalp measure the blurred, mixed signals of tens of thousands of potential internal brain sources, infinitely many source configurations can explain the same data.

To solve this, researchers use Sparse Bayesian Learning (SBL) to iteratively estimate hyperparameters that dictate which brain regions are active. While these classical, physics-based algorithms are highly interpretable and mathematically principled, their fixed update rules cannot adapt to complex data distributions, often leading to slow convergence or suboptimal reconstructions. Conversely, modern deep learning approaches are fast and data-driven but act as uninterpretable "black boxes" that fail when evaluated on sensor layouts or source resolutions different from their training data.

This paper bridges that gap: How can we inject data-driven learning into sparse Bayesian inference without destroying its mathematical structure and interpretability?

Methods

The authors employ a technique called deep unfolding (or algorithm unrolling). They take a classical iterative SBL solver—specifically, the highly efficient joint source and noise convex-bounding algorithm—and map its iterations directly onto the layers of a neural network.

Figure 1: Structure-preserving unfolded architecture for residual correction learning. Each trainable CB-SBL layer receives the data Y and lead field L, performs posterior inference, applies the classical convex-bounding baseline updates, and adds learned residual corrections for the source and, in the joint case, noise branches. Thus, each unfolded layer mimics one step of the classical solver while remaining trainable through correction learning. The final layer outputs the posterior mean and covariance induced by the final hyperparameter estimates.

To make this architecture trainable and stable, they introduce three key innovations:

  1. Stable Log-Domain Features: They transform the classical multiplicative square-root updates into an additive log-domain representation. This naturally enforces variance positivity and compresses the dynamic range of the statistics, stabilizing network training.
  2. Structured Correction Learning: Instead of letting the network predict source activity from scratch, the classical update rules are kept completely intact as a baseline. The neural network modules only learn residual correction terms around this baseline.
  3. Progressive Expressiveness: They test three types of correction modules:
  4. Bias-CB: Simple layer-wise, input-agnostic scalar biases.
  5. Deep-CB: Pointwise Multi-Layer Perceptrons (MLPs) shared across sources/sensors to provide input-dependent corrections.
  6. Deep-Attn-CB: An attention-augmented variant that uses self-attention mechanisms to capture global context and interactions across different brain sources.

Crucially, the network is initialized so that all corrections are exactly zero at the start, meaning it perfectly replicates the trusted classical solver before any training happens.

Datasets

The framework was trained and rigorously evaluated using both synthetic and real-world data:

  • Synthetic M/EEG Benchmark: 100,000 training and 1,000 validation samples simulated using the standard fsaverage template brain mesh (discretized to an ico3 mesh with 1,284 sources), corrupted with severe sensor-wise noise.
  • Out-of-Distribution (OOD) Transfer Settings: To test robustness, models were evaluated on Things Cap (Ico3) (introducing forward-model mismatches and 6× longer temporal windows) and Things Cap (Ico4) (scaling the source space zero-shot to a high-resolution mesh containing 5,124 sources).
  • Real-World Validation: Zero-shot evaluation on the empirical THINGS-EEG2 dataset, which contains high-density EEG recordings of human subjects processing visual stimuli.

Key Insights and Ideas

  • Transient Early-Layer Refinements: Analysis of the learned weights revealed that the neural network modules primarily apply large corrections in the early layers of the network. As the data passes into deeper layers, the corrections shrink toward zero, meaning the network relies on data-driven intuition to kickstart the optimization but lets classical physics-based updates handle the final convergence.
  • Dimensional Rigidity Broken: Standard deep learning models are structurally locked to the exact sensor and source dimensions they were trained on. Because this architecture preserves the underlying SBL equations, the shared MLP and attention weights naturally generalize to entirely unseen sensor configurations and higher-resolution cortical meshes without retraining.

Key Results

The proposed adaptive approaches (Deep CB and Deep Attn. CB) consistently outperformed classical baselines and pure deep learning alternatives across all metrics:

  • Higher Fidelity & Sparsity: They achieved significantly lower Relative Mean Squared Error (rMSE) and Earth Mover’s Distance (EMD), alongside higher F1-scores for active source localization.
Figure 2: Qualitative comparison of cortical source activity reconstructions. The learned correction models (c, d) demonstrate superior spatial localization and sharper activity recovery compared to the baseline Convex Bounding (b), more closely matching the Ground Truth (a) across lateral, medial, and dorsal views.
  • Robust Joint Estimation: Dynamically estimating unknown sensor noise alongside source activity introduced virtually no performance degradation compared to models given the ground-truth noise.
  • Real-World Viability: When applied zero-shot to real human EEG data (THINGS-EEG2), the unfolded models successfully localized focal activity to the primary visual cortex, outperforming the classical baseline in suppressing uncalibrated single-trial background noise.

Limitations and Future Work

While powerful, the authors note a few constraints currently baked into the framework:

  • Simplified Physical Assumptions: The model currently assumes fixed-orientation EEG sources and diagonal covariance structures (treating sensor noise channels as independent).
  • Synthetic Data Bias: Despite inverse-crime mitigation, the learned modules still exhibit minor performance drops on extremely sparse out-of-distribution setups, reflecting a learned prior toward the source counts seen during training.

Future work will focus on extending this correction-learning paradigm to free-orientation dipoles, MEG-specific orientation models, and full noise/source covariance structures.

Summary updated

BibTeX
@misc{morik2026structure,
  author = {Marco Morik and Xiao Ruiting and Shinichi Nakajima and Stefan Haufe and Ismail Huseynov},
  title = {{Structure-Preserving Correction Learning for Sparse Bayesian Inference in Brain Source Imaging}},
  year = {2026},
  eprint = {2606.07196},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.07196},
}
Figure