PhysGNN: A Physics-Driven Graph Neural Network Based Model for Predicting Soft Tissue Deformation in Image-Guided Neurosurgery

Yasmin Salehi, Dennis GiannacopoulosNeurIPS 2022

Introduction

In neurosurgery, surgeons rely heavily on high-quality preoperative MRI scans to navigate the complex structures of the brain. However, once the skull is opened during a craniotomy, the brain physically shifts due to gravity, pressure changes, and surgical intervention. This phenomenon, known as "brain shift," renders preoperative images inaccurate and complicates surgical navigation.

To correct for this deformation, researchers traditionally use the Finite Element Method (FEM) to simulate tissue changes. While highly accurate, FEM is computationally expensive and slow, often taking too long to be practical during a fast-paced surgery. Previous attempts to use machine learning to accelerate this process often treated the brain as a collection of independent points, ignoring the structural topology and connectedness of the tissue mesh.

PhysGNN is a novel deep learning framework that addresses this by using Graph Neural Networks (GNNs) to predict brain tissue deformation in near real-time. By treating surgical meshes as graphs, the model achieves the high accuracy of traditional physics simulations while operating thousands of times faster, making it a viable candidate for live surgical navigation.

Overview of the PhysGNN pipeline integrating FEM data into an Image-Guided Neurosurgical System.

Methods

The authors introduce PhysGNN, which leverages the power of GNNs to account for the structural relationships between nodes in a 3D mesh.

  • Graph-Based Architecture: Instead of standard neural networks, PhysGNN uses GraphSAGE and GraphConv layers. This allows the model to perform "message passing," where information about forces applied to one part of the brain propagates to neighboring nodes, mimicking how physical stress moves through real tissue.
  • Physics-Driven Features: The model incorporates physical properties, such as the stiffness difference between healthy tissue and a tumor, and uses edge weights based on the actual Euclidean distance between mesh nodes.
  • Jumping Knowledge (JK) Connections: To prevent "over-smoothing"—a common GNN problem where nodes become indistinguishable after too many layers—the authors implemented JK connections. This allows the final layer to retain features from earlier hops, preserving local detail.
The PhysGNN architecture featuring GNN layers and Jumping Knowledge (JK) connections to prevent over-smoothing.
  • Efficiency: Because GNNs use parameter sharing, the number of learnable parameters remains constant regardless of how large or dense the surgical mesh is.

Datasets

The researchers generated two synthetic datasets by running 9,900 FEM simulations on a 3D mesh derived from a real patient's MRI, consisting of 9,118 nodes. The "ground truth" for training and evaluation was the solution provided by FEBio, a standard finite element analysis tool.

  • Dataset 1: Focused on small, realistic surgical forces (up to 1.35N) applied to a single node.
  • Dataset 2: Focused on larger forces (up to 20N) applied to 100 nodes simultaneously to test the model's limits under complex, non-linear deformations.

Key Insights

  • The Mesh is a Graph: The foundational insight of PhysGNN is that a finite element mesh is fundamentally a graph. By using GNNs, the model inherently understands that nodes closer to a force load should deform more than those further away.
  • Inductive Learning: Unlike previous ML models tied to a specific mesh density, PhysGNN’s architecture is inductive. It learns the underlying rules of deformation, theoretically allowing it to generalize better to different mesh structures.
  • Distance-Weighted Convolution: Incorporating the inverse of Euclidean distance into the edge weights significantly improved accuracy by providing the network with a sense of physical scale that standard GNNs lack.

Key Results

  • Clinical Accuracy: In neurosurgery, an error of less than 1mm is considered the gold standard for precision. PhysGNN achieved an absolute position error of under 1mm for 94% to 97% of all nodes across both datasets.
  • Massive Speedup:
    • FEM (Baseline): ~11.5 seconds per simulation.
  • PhysGNN (CPU): ~1.8 seconds.
  • PhysGNN (GPU): 0.0043 seconds.
  • The GPU performance represents a ~2,600x speedup over traditional FEM, enabling true real-time deformation tracking during surgery.

Limitations and Future Work

  • Dependency on FEM Baseline: Because PhysGNN is trained on FEM data, it will inherit any inaccuracies present in the underlying FEM model (e.g., from poor tissue segmentation or incorrect material assumptions).
  • Volumetric Locking: The study used tetrahedral mesh elements, which can sometimes suffer from "locking" (becoming artificially stiff) in simulations of incompressible materials like brain tissue.
  • Future Directions: The authors suggest training the model on results from Meshless Total Lagrangian Explicit Dynamics (MTLED), which can be more robust than FEM for certain soft tissue simulations. They also aim to test the model on more diverse patient geometries to further validate its generalizability.

Summary updated

BibTeX
@inproceedings{salehi2022physgnn,
  author = {Yasmin Salehi and Dennis Giannacopoulos},
  title = {{PhysGNN: A Physics-Driven Graph Neural Network Based Model for Predicting Soft Tissue Deformation in Image-Guided Neurosurgery}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure