THB‑Diff: a GPU‑accelerated diferentiable programming framework for THB‑splines

Thumbnail Image
Date
2023-12-28
Authors
Moola, Ajith
Balu, Aditya
Pawar, Aishwarya
Major Professor
Advisor
Committee Member
Journal Title
Journal ISSN
Volume Title
Publisher
Springer
Abstract
We have developed a differentiable programming framework for truncated hierarchical B-splines (THB-splines), which can be used for several applications in geometry modeling, such as surface fitting and deformable image registration, and can be easily integrated with geometric deep learning frameworks. Differentiable programming is a novel paradigm that enables an algorithm to be differentiated via automatic differentiation, i.e., using automatic differentiation to compute the derivatives of its outputs with respect to its inputs or parameters. Differentiable programming has been used extensively in machine learning for obtaining gradients required in optimization algorithms such as stochastic gradient descent (SGD). While incorporating differentiable programming with traditional functions is straightforward, it is challenging when the functions are complex, such as splines. In this work, we extend the differentiable programming paradigm to THB-splines. THB-splines offer an efficient approach for complex surface fitting by utilizing a hierarchical tensor structure of B-splines, enabling local adaptive refinement. However, this approach brings challenges, such as a larger computational overhead and the non-trivial implementation of automatic differentiation and parallel evaluation algorithms. We use custom kernel functions for GPU acceleration in forward and backward evaluation that are necessary for differentiable programming of THB-splines. Our approach not only improves computational efficiency but also significantly enhances the speed of surface evaluation compared to previous methods. Our differentiable THB-splines framework facilitates faster and more accurate surface modeling with local refinement, with several applications in CAD and isogeometric analysis.
Series Number
Journal Issue
Is Version Of
Versions
Series
Academic or Administrative Unit
Type
Article
Comments
This article is published as Moola, Ajith, Aditya Balu, Adarsh Krishnamurthy, and Aishwarya Pawar. "THB-Diff: a GPU-accelerated differentiable programming framework for THB-splines." Engineering with Computers (2023): 1-17. doi: https://doi.org/10.1007/s00366-023-01929-1. © The Author(s) 2023. This open access article is licensed under a Creative Commons Attribution 4.0. (http://creativecommons.org/licenses/by/4.0/)
Rights Statement
Copyright
Funding
DOI
Supplemental Resources
Collections