Abstract
Convolutional Neural Network (CNN) is one of the most important architectures in deep learning. The fundamental building block of a CNN is a trainable filter, represented as a discrete grid, used to perform convolution on discrete input data. In this work, we propose a continuous version of a trainable convolutional filter able to work also with unstructured data. This new framework allows exploring CNNs beyond discrete domains, enlarging the usage of this important learning technique for many more complex problems. Our experiments show that the continuous filter can achieve a level of accuracy comparable to the state-of-the-art discrete filter, and that it can be used in current deep learning architectures as a building block to solve problems with unstructured domains as well.
Introduction: Breaking the Grid-Lock
Standard Convolutional Neural Networks (CNNs) have revolutionized computer vision, but they are inherently "grid-locked." Their fundamental operation relies on a discrete filter—a small matrix of weights—that slides over a regular grid of pixels. While highly effective for images, this approach struggles with the unstructured data common in the physical world, such as irregular meshes in fluid dynamics, 3D point clouds, or sparse sensor networks.
To handle such data, researchers often turn to Graph Neural Networks (GNNs). However, GNNs come with significant computational overhead and require the explicit definition of edges between every data point. This paper introduces a "continuous" convolutional filter that brings the power of convolution to unstructured domains without the complexity of graph-based architectures.
Methodology: The Filter as a Function
The core innovation is the Continuous Convolutional Filter. Instead of storing weights in a fixed $3\times3$ or $5\times5$ grid, the authors represent the filter function $K(\tau)$ using a small Multi-Layer Perceptron (MLP). This transition from a discrete grid to a continuous function allows the filter to be evaluated at any relative coordinate.
When the filter "slides" over a domain, the process follows these steps:
- Neighborhood Identification: It identifies all input points falling within the filter's current radius.
- Coordinate Mapping: It maps the relative coordinates of these points into the filter's local domain.
- MLP Evaluation: The MLP (acting as the kernel) evaluates these coordinates to determine a specific weight for each point.
- Weighted Summation: A weighted sum is performed to produce the output, mirroring the standard convolutional operation.
This framework is mathematically consistent with standard discrete convolution but remains agnostic to the underlying data structure. The authors also extended this to transposed convolution, enabling the creation of Continuous Convolutional Autoencoders (CCAE) for tasks like dimensionality reduction in complex physics simulations.
Experimental Validation
The researchers validated the Continuous CNN (CCNN) across three distinct scenarios:
- MNIST Digit Recognition: To establish a baseline, the CCNN was tested on standard structured images. It achieved 96.1% accuracy, nearly matching the 96.6% achieved by a traditional discrete CNN.
- Robustness to Data Loss: Using a "partially-completed" MNIST dataset where pixels were randomly removed, the CCNN demonstrated remarkable resilience. It maintained high accuracy even when 75% of the pixels were missing, only showing significant degradation when less than 20% of the data remained.
- Computational Fluid Dynamics (CFD): The CCNN was applied to physics-based datasets involving the Navier-Stokes equations. In a "back-step" flow experiment on an unstructured mesh, the Continuous Autoencoder achieved a low 3.9% error rate, outperforming standard MLP-based models. It also surpassed Proper Orthogonal Decomposition (POD) in capturing non-linear wave dynamics in multiphase flow snapshots.
Key Insights and Future Directions
The shift to "Filter as a Function" provides several advantages. By treating the filter as a continuous function approximated by a neural network, the model becomes independent of mesh resolution. This allows for training on one discretization and testing on another. Furthermore, the method is inherently robust to missing data; a "hole" in the data is simply treated as one fewer point to include in the local summation.
However, this flexibility comes at a computational cost. Evaluating an MLP for every point within a filter is significantly slower than matrix multiplication. On the MNIST benchmark, the CCNN took approximately 15 times longer to train than its discrete counterpart. The authors suggest that optimizing point-search algorithms (using k-d trees or octrees) and streamlining MLP evaluations are critical next steps. Future research will also explore extending this framework to 3D manifolds and non-Euclidean domains.
Summary updated