Precise Gradient Discontinuities in Neural Fields for Subspace Physics
Mengfei Liu, Yue Chang, Zhecheng Wang, Peter Yichen Chen, Eitan Grinspun
TL;DR
This work tackles gradient discontinuities in neural field representations for physics simulation by introducing a lifting framework that augments input coordinates with a smoothly clamped distance function $H$, producing a discretization-agnostic reduced-space basis capable of handling gradient jumps at evolving interfaces. The method enables simulations across parametric shape and material spaces, supports interactive crease editing, and can be combined with winding-number lifting to model both function- and gradient-discontinuities within a unified model. It demonstrates competitive accuracy with FEM for gradient-discontinuous interfaces while maintaining generalization across shapes and materials and enabling differentiable shape optimization in reduced space. Overall, the approach integrates gradient discontinuity modeling into neural fields, unlocking efficient, generalizable subspace simulations for heterogeneous materials and crease-daden geometries with potential for broader applications in design and real-time deformation analysis.
Abstract
Discontinuities in spatial derivatives appear in a wide range of physical systems, from creased thin sheets to materials with sharp stiffness transitions. Accurately modeling these features is essential for simulation but remains challenging for traditional mesh-based methods, which require discontinuity-aligned remeshing -- entangling geometry with simulation and hindering generalization across shape families. Neural fields offer an appealing alternative by encoding basis functions as smooth, continuous functions over space, enabling simulation across varying shapes. However, their smoothness makes them poorly suited for representing gradient discontinuities. Prior work addresses discontinuities in function values, but capturing sharp changes in spatial derivatives while maintaining function continuity has received little attention. We introduce a neural field construction that captures gradient discontinuities without baking their location into the network weights. By augmenting input coordinates with a smoothly clamped distance function in a lifting framework, we enable encoding of gradient jumps at evolving interfaces. This design supports discretization-agnostic simulation of parametrized shape families with heterogeneous materials and evolving creases, enabling new reduced-order capabilities such as shape morphing, interactive crease editing, and simulation of soft-rigid hybrid structures. We further demonstrate that our method can be combined with previous lifting techniques to jointly capture both gradient and value discontinuities, supporting simultaneous cuts and creases within a unified model.
