GSO-Net: Grid Surface Optimization via Learning Geometric Constraints

Chaoyun Wang, Jingmin Xin, Nanning Zheng, Caigui Jiang

Abstract

Grid surface optimization is a fundamental task in computer-aided design and digital fabrication, traditionally dominated by iterative numerical solvers. While accurate, these methods are computationally intensive and often slow to converge. This paper introduces GSO-Net, a deep learning framework that treats 3D grid surfaces as "geometric images." By encoding vertex coordinates into RGB pixels, GSO-Net leverages the efficiency of convolutional neural networks (CNNs) to solve complex optimization problems—such as surface flattening, developability, and denoising—at speeds up to 3,000 times faster than traditional methods without sacrificing engineering-grade precision.

Introduction

In fields ranging from architectural design to medical imaging, optimizing a surface to meet specific geometric criteria (e.g., making it developable or removing sensor noise) is a critical requirement. Traditional Numerical Optimization (TNO) methods, while robust, are often too slow for real-time applications or large-scale datasets. Conversely, standard Deep Learning (DL) models excel at image processing but struggle with the irregular topology of 3D triangular meshes.

GSO-Net addresses this by identifying a structural similarity between quadrilateral grid surfaces and images. By mapping 3D geometry into a 2D image domain, the framework enables high-speed, high-precision surface optimization through standard convolutional operations.

Geometric Image Encoding

The cornerstone of GSO-Net is its Geometric Image Encoding strategy. Each vertex $(x, y, z)$ of a $64 \times 64$ grid surface is mapped directly to the $(R, G, B)$ channels of a corresponding pixel. This transformation is lossless and maintains the floating-point precision necessary for high-fidelity geometric modeling.

Figure 1: The mapping between 3D grid surface coordinates (x,y,z) and image pixel values (r,g,b).

This encoding allows the network to process 3D spatial relationships as local pixel neighborhoods, effectively translating 3D geometric features into 2D patterns that a CNN can efficiently analyze.

GSO-Net Architecture

GSO-Net utilizes an encoder-decoder architecture enhanced with Information Multi-Distillation Blocks (IMDB) and skip connections to preserve fine-grained geometric details.

Figure 2: The overall GSO-Net pipeline, showing the transformation from input mesh to geometric image, the residual learning process, and the final optimized output.

Rather than predicting the final surface coordinates directly, the network is designed for residual learning. It predicts a "residual image"—representing the displacement vectors for each vertex—which is then added back to the input surface. This approach ensures that the network focuses on the optimization delta, leading to more stable training and higher accuracy. For particularly complex surfaces, a Coarse-to-Fine strategy is employed, using a two-stage refinement process to handle high initial curvature.

Learning Geometric Constraints

The network is trained using differentiable loss functions derived from discrete differential geometry. These functions are implemented as constant convolutional kernels, allowing the GPU to calculate geometric properties like curvature during the forward pass:

  • Gaussian Curvature Loss ($loss_{gc}$): Drives the curvature of the surface toward zero for developability tasks.
  • Fairness Loss ($loss_{fair}$): Penalizes local irregularities to ensure surface smoothness.
  • Isometry Loss ($loss_{iso}$): Minimizes distortion in distance and angles during surface flattening.

Results and Discussion

GSO-Net demonstrates a transformative leap in efficiency. In comparative tests, TNO methods required approximately 38.25 seconds to optimize a single surface, whereas GSO-Net achieved comparable or superior results in just 0.013 to 0.026 seconds.

Key performance highlights include:

  • Accuracy: In developable surface optimization, GSO-Net reduced shape deformation ($d_{H-a}$) by 37% compared to traditional solvers.
  • Robustness: The model achieved over 94% efficiency in denoising tasks, successfully recovering smooth surfaces from highly corrupted inputs.
  • Precision: The framework maintains a precision of 1/12500, meeting the rigorous standards required for manufacturing and engineering.

Conclusion

GSO-Net proves that deep learning can be successfully applied to high-precision geometric optimization by bridging the gap between 3D grids and 2D images. While currently limited to regular grid topologies and fixed resolutions, the framework sets a new benchmark for speed and accuracy in surface modeling. Future work will focus on extending this approach to irregular meshes and variable resolutions to broaden its industrial applicability.

Summary updated

BibTeX
@inproceedings{wang2024gso,
  author = {Chaoyun Wang and Jingmin Xin and Nanning Zheng and Caigui Jiang},
  title = {{GSO-Net: Grid Surface Optimization via Learning Geometric Constraints}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i8.28656},
}
Figure