Multiscale Graph Neural Network Autoencoders for Interpretable Scientific Machine Learning

Shivam Barwey, Varun Shankar, Venkatasubramanian Viswanathan, Romit MaulikarXiv 2023

TL;DR

This paper introduces a novel Graph Neural Network (GNN) autoencoder that tackles the dual challenges of unstructured mesh compatibility and latent space interpretability in scientific machine learning. By combining adaptive Top-K pooling with multiscale message passing, the architecture automatically discovers time-evolving, physically meaningful "masked fields" (such as recirculation zones) while accurately reconstructing complex fluid dynamics.

What Problem Does This Paper Address?

Autoencoders are widely used in reduced-order modeling (ROM) to compress high-dimensional scientific data into a low-dimensional latent space. However, traditional convolutional autoencoders are restricted to structured grids, failing on the complex, unstructured meshes typically used in engineering fluid simulations.

Furthermore, standard deep learning autoencoders act as uninterpretable "black boxes," making it difficult for scientists to understand what physical features the latent variables actually represent. This paper addresses these gaps by building a fully graph-based autoencoder that natively handles unstructured meshes and provides a physically interpretable latent space.

Figure 1: Schematic of the backward-facing step configuration (not shown to scale) using an inlet-to-step length ratio of 7.9. Lengths are normalized by the step height Ls, and green circle marks the origin. The mesh for the cropped region indicated in this figure is shown in Fig. 2.

Methods

The authors propose a fully graph-based autoencoder architecture consisting of two core innovations:

  1. Adaptive Graph Reduction (Top-K Pooling): Instead of using fixed geometric coarsening, the encoder uses a learnable projection vector to rank and sample the most important nodes at each layer. This creates time-adaptive "masked fields" that highlight exactly where in physical space the latent graph is active.
  2. Multiscale Message Passing (MMP): To efficiently reconstruct the full flowfield from these sparse sampled nodes, the architecture embeds a U-net-like hierarchy within each message passing layer. It uses a voxel-clustering algorithm to coarsen and interpolate graph features across multiple lengthscales, bypassing the need for expensive mesh optimization.

Datasets

The model is evaluated on unsteady, two-dimensional Large-Eddy Simulations (LES) of incompressible fluid flow over a backward-facing step (BFS) configuration, simulated using an OpenFOAM-based flow solver.

  • Mesh Structure: The mesh consists of 14,476 unstructured control volumes with high refinement near the walls and step wake.
  • Training Data: 3 trajectories at Reynolds numbers ($Re$) of 26,214, 32,564, and 39,076 (totaling 1,216 snapshots).
  • Testing Data: 2 trajectories evaluating interpolation ($Re = 29,307$) and extrapolation ($Re = 45,589$).

Key Insights and Ideas

  • Unsupervised Feature Detection: Without any explicit physical labels, the Top-K pooling mechanism naturally learns to track critical fluid structures like shear layers, vortex shedding cycles, and recirculation zones.
  • The Interpretability-Accuracy Tradeoff: The authors discovered that where you apply multiscale coarsening matters. Applying coarsening only in the decoder preserves highly coherent, physically interpretable masked fields. Applying it in both the encoder and decoder improves reconstruction accuracy (especially when extrapolating to higher Reynolds numbers) but turns the masked fields into a more abstract, coarse-grid-like representation.
  • Dynamic Sparsification: As the node reduction factor increases (e.g., 64x reduction), the network automatically shifts its focus from the complex internal flow structures to the inlet and outlet boundary conditions, revealing what the model deems most critical for global reconstruction.

Key Results

  • Multiscale Necessity: Models without multiscale message passing (single-scale GNNs) completely failed to reconstruct the flowfield away from the sampled mask zones.
  • Robust Generalization: The MMP-augmented autoencoder successfully reconstructed streamwise and vertical velocity fields for unseen test cases, demonstrating strong performance even on the challenging extrapolated Reynolds number ($Re = 45,589$).
  • Quantifiable Compression: The architecture successfully demonstrated an error-compression tradeoff, allowing users to balance accuracy against node reduction factors and hidden channel dimensions.

Limitations and Future Work

  • Deterioration at High Compression: At extreme node reduction levels (e.g., 64x reduction), reconstruction accuracy drops significantly, introducing non-physical artifacts and failing to capture fine-scale negative velocity pockets.
  • Fixed Geometry: While the model natively handles unstructured meshes, it was only tested on a single geometric configuration; generalizing to entirely unseen mesh shapes (geometry extrapolation) remains an open challenge.
  • Future Directions: The authors suggest exploring additional message passing operations, graph-based filtering techniques to mitigate accuracy loss at high compression, and developing data-driven surrogate models based on masked field evolution.

Summary updated

BibTeX
@misc{barwey2023multiscale,
  author = {Shivam Barwey and Varun Shankar and Venkatasubramanian Viswanathan and Romit Maulik},
  title = {{Multiscale Graph Neural Network Autoencoders for Interpretable Scientific Machine Learning}},
  year = {2023},
  eprint = {2302.06186},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.06186},
}
Figure