PDE-constrained optimization for electroencephalographic source reconstruction

Mikhail S. Malovichko, Nikolay B. Yavich, Alexandra Razorenova, Nikolay A. KoshevarXiv 2022

Abstract

This paper introduces a novel numerical method for the inverse problem of electroencephalography (EEG). We pose the inverse EEG problem as an optimal control (OC) problem for Poisson's equation. The optimality conditions lead to a variational system of differential equations. It is discretized directly in finite-element spaces leading to a system of linear equations with a sparse Karush-Kuhn-Tucker matrix. The method uses finite-element discretization and thus can handle MRI-based meshes of almost arbitrary complexity. It extends the well-known mixed quasi-reversibility method (mQRM) in that pointwise noisy data explicitly appear in the formulation making unnecessary tedious interpolation of the noisy data from the electrodes to the scalp surface. The resulting algebraic problem differs considerably from that obtained in the mixed quasi-reversibility, but only slightly larger. An interesting feature of the algorithm is that it does not require the formation of the lead-field matrix. Our tests, both with spherical and MRI-based meshes, demonstrates that the method accurately reconstructs cortical activity.

Introduction

In Electroencephalography (EEG), the "inverse problem" involves reconstructing the neural activity (currents) inside the brain from electrical potentials measured at the scalp. Mathematically, this is a source reconstruction problem governed by Poisson’s equation.

Traditional approaches, such as the Mixed Quasi-Reversibility Method (mQRM), utilize Finite Element Methods (FEM) to accommodate complex, MRI-derived head geometries. However, mQRM typically requires interpolating discrete electrode measurements into a continuous function across the entire scalp surface. This interpolation step is not only tedious but also introduces additional noise and complicates the integration of sensor-specific noise characteristics.

Methods and Framework

The proposed framework treats the inverse EEG problem as a PDE-constrained optimization task. Rather than treating scalp measurements as a boundary condition, they are incorporated as targets within a cost functional.

Optimal Control Formulation

The method defines a functional that minimizes the "misfit" between measured electrode data and the model's predicted potentials, subject to a regularization term for smoothness. This minimization is constrained by the physics of the head, where the potential must satisfy Poisson’s equation within the domain $\Omega$.

Geometric domain for the EEG inverse problem, showing the scalp boundary ($\Gamma_0$), the cortical surface ($\Gamma_B$), and the volume $\Omega$.

By applying the Lagrangian formalism, the authors derive a system of variational equations (the Euler-Lagrange system). This system is then discretized using continuous piecewise-linear basis functions on tetrahedral meshes, resulting in a large, sparse $3 \times 3$ block Karush-Kuhn-Tucker (KKT) matrix. Solving this single linear system yields the reconstructed brain activity.

Key Innovations

  • Direct Pointwise Data Handling: By modeling electrodes as Dirac delta convolutions within the optimization functional, the framework handles discrete data points directly, eliminating the need for scalp-wide interpolation.
  • Elimination of Lead-Field Matrices: Unlike traditional solvers that require building a dense "lead-field matrix"—which maps every potential source to every electrode—this method solves the PDE and the inverse problem simultaneously in a sparse framework, significantly reducing computational overhead.
  • Efficient Mesh Pruning: Since the method focuses on the dipole layer at the cortical surface, the interior brain compartment can be treated as a "void" in the reconstruction mesh, reducing the degrees of freedom without sacrificing accuracy.

Experimental Validation

The method was validated using two distinct setups:

  1. Synthetic Spherical Shell: A simplified model used to assess sensitivity to regularization parameters and stability against 1% and 5% Gaussian noise.
  2. Realistic Head Model: A complex, four-compartment mesh (skin, skull, CSF, and brain) with over 580,000 tetrahedra. To prevent "inverse crime," a different mesh (approx. 658,000 tetrahedra) was used for the reconstruction phase.

Key Results

  • Noise Robustness: In spherical tests, the method successfully reconstructed complex activity patterns. The Root-Mean-Square Error (RMSE) reached an optimal value when the regularization parameter ($\epsilon$) was tuned to match the noise level.
  • Spatial Resolution: While higher noise levels (5%) caused some blurring, the core location of the neural activity remained accurate.
  • Anatomical Accuracy: In the realistic head model, the algorithm correctly localized active patches in the visual cortex, proving its scalability to complex biological geometries.

Conclusion and Future Directions

This PDE-constrained optimization approach offers a robust, sparse alternative to traditional EEG inverse solvers. While highly effective, future work should address automated selection of the regularization parameter $\epsilon$ (e.g., via L-curve analysis). Additionally, while the current model assumes a dipole layer on the cortical surface, future iterations could expand to deep-brain source localization and validation against real-world clinical data where ground truth is established via fMRI or intracranial recordings.

Summary updated

BibTeX
@misc{malovichko2022pde,
  author = {Mikhail S. Malovichko and Nikolay B. Yavich and Alexandra Razorenova and Nikolay A. Koshev},
  title = {{PDE-constrained optimization for electroencephalographic source reconstruction}},
  year = {2022},
  eprint = {2204.06622},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.06622},
}
Figure