Skip to main content
QUICK REVIEW

[Paper Review] Applying Convolutional Neural Networks to Data on Unstructured Meshes with Space-Filling Curves

Claire E. Heaney, Yuling Li|arXiv (Cornell University)|Nov 24, 2020
Model Reduction and Neural NetworksPhysics and Astronomy5 citations
TL;DR

This paper introduces a novel method to apply classical 1D Convolutional Neural Networks (CNNs) directly to data on unstructured meshes by leveraging Space-Filling Curves (SFCs) to reorder mesh nodes or cells into a 1D sequence. The approach enables accurate compression and reconstruction of complex fluid dynamics solutions—demonstrated on unstructured finite element meshes—while maintaining performance comparable to classical CNNs on structured grids, with improved robustness using multiple SFCs and sparse smoothing layers.

ABSTRACT

This paper presents the first classical Convolutional Neural Network (CNN) that can be applied directly to data from unstructured finite element meshes or control volume grids. CNNs have been hugely influential in the areas of image classification and image compression, both of which typically deal with data on structured grids. Unstructured meshes are frequently used to solve partial differential equations and are particularly suitable for problems that require the mesh to conform to complex geometries or for problems that require variable mesh resolution. Central to the approach are space-filling curves, which traverse the nodes or cells of a mesh tracing out a path that is as short as possible (in terms of numbers of edges) and that visits each node or cell exactly once. The space-filling curves (SFCs) are used to find an ordering of the nodes or cells that can transform multi-dimensional solutions on unstructured meshes into a one-dimensional (1D) representation, to which 1D convolutional layers can then be applied. Although developed in two dimensions, the approach is applicable to higher dimensional problems. To demonstrate the approach, the network we choose is a convolutional autoencoder (CAE) although other types of CNN could be used. The approach is tested by applying CAEs to data sets that have been reordered with an SFC. Sparse layers are used at the input and output of the autoencoder, and the use of multiple SFCs is explored. We compare the accuracy of the SFC-based CAE with that of a classical CAE applied to two idealised problems on structured meshes, and then apply the approach to solutions of flow past a cylinder obtained using the finite-element method and an unstructured mesh.

Motivation & Objective

  • To enable the direct application of classical Convolutional Neural Networks (CNNs) to data on unstructured finite element or control volume meshes, which are common in CFD but incompatible with standard CNNs due to lack of structure.
  • To overcome the limitations of interpolation-based or graph-based alternatives by transforming unstructured mesh data into a 1D representation that preserves spatial locality and connectivity.
  • To evaluate the performance of SFC-based CNNs on unstructured mesh data, particularly for compressing and reconstructing solutions of the Navier-Stokes equations on adaptive, unstructured grids.
  • To investigate the impact of using multiple SFCs and sparse smoothing layers on reconstruction accuracy and noise reduction in autoencoder architectures.
  • To establish a foundation for applying SFC-based CNNs to time-dependent, adaptive, and 3D problems, including potential transfer learning and mesh interpolation.

Proposed method

  • Space-filling curves (SFCs) are used to traverse all nodes or cells of an unstructured mesh in a path that minimizes edge count and ensures each node is visited exactly once, transforming the 2D or 3D mesh data into a 1D sequence.
  • The reordered 1D data is fed into a 1D Convolutional Autoencoder (CAE), allowing standard CNN layers to be applied directly to unstructured mesh solutions.
  • Multiple SFCs are explored to improve representation quality, with the idea that different orderings may capture different spatial features.
  • Sparse layers are introduced at the input and output of the autoencoder to reduce noise and improve reconstruction fidelity.
  • The method is validated by comparing SFC-based CAE performance against classical CAEs on both structured and unstructured mesh data, including flow past a cylinder simulations.
  • The approach is designed to be extensible to 3D and time-dependent problems by applying SFCs across four dimensions (3D space + time).

Experimental results

Research questions

  • RQ1Can classical 1D CNNs be effectively applied to unstructured mesh data by reordering the mesh using space-filling curves?
  • RQ2How does the use of multiple SFCs affect the accuracy and robustness of the autoencoder in compressing and reconstructing unstructured mesh solutions?
  • RQ3Does the SFC-based approach maintain reconstruction accuracy comparable to classical CNNs when applied to unstructured meshes, especially in regions of high resolution or complex geometry?
  • RQ4Can sparse smoothing layers near the input and output of the autoencoder reduce noise and improve reconstruction quality on unstructured mesh data?
  • RQ5To what extent can the SFC-based CNN framework be extended to time-dependent or adaptive meshes, and how might it support mesh interpolation or transfer learning?

Key findings

  • The SFC-based CAE achieves reconstruction accuracy comparable to classical CAEs on structured mesh data, validating its effectiveness even when applied to unstructured grids.
  • The method successfully compresses solutions with up to 50,000 variables on an unstructured mesh down to as few as one latent variable while preserving solution features.
  • Using two SFCs (SFC2) improves reconstruction accuracy over using a single SFC, indicating that multiple orderings enhance feature representation.
  • Sparse smoothing layers at the input and output significantly reduce noise in the reconstructed solutions, improving fidelity without increasing model complexity.
  • Box-and-whisker plots show no significant increase in error range as compression ratio decreases, indicating stable performance even at very low latent dimensions.
  • The approach is robust across training, validation, and test sets due to the time-periodic nature of the test problem, suggesting generalization potential.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.