NeuralClothSim: Neural Deformation Fields Meet the Thin Shell Theory
We propose a new quasistatic cloth simulator using thin shells, in which surface deformation is encoded in neural network weights as a neural field.
摘要
评审与讨论
The paper uses Physics-Informed Neural Networks (PINNs) to solve cloth quasistatics. The cloth is represented by a neural implicit function, which provides infinite resolution. The cloth elasticity is modeled using Kirchhoff-Love thin shell theory. The equilibrated displacement field is obtained by minimizing the potential energy of the system. Boundary conditions are strictly enforced through reparameterization tricks.
优点
PINNs can offer infinite resolution, ensuring that the cloth does not suffer from numerical locking issues that arise from spatial discretization in mesh-based simulation methods.
缺点
The paper is targeted at computer graphics applications. But it only solves quasistatics and doesn’t consider collisions, making it actually a less suitable candidate for computer graphics applications where realistic dynamics and collision resolution are vital. The paper proposes a visualization of the trajectory from the rest shape to equilibrium, but it appears very damped.
The proposed method seems to run much slower than the classical simulators.
问题
The framework presented in the paper shares many components with the work, Physics-Informed Deep Learning for Computational Elastodynamics without Labeled Data. However, this mentioned paper is not cited. The primary difference lies in the type of elasticity: the mentioned paper addresses volumetric elasticity, while this paper focuses on thin shell elasticity. Both papers use the same trick to strictly enforce boundary conditions. Additionally, the mentioned paper solves dynamics by incorporating a temporal term in the governing PDE, where the displacement field is a neural implicit function that depends on , which is more expressive than this paper. The approach of using potential minimization to solve quasistatic elasticity is also explored in NTopo. These facts significantly weaken the technical contributions of the paper. Please consider differentiating between background knowledge and your contributions. I think the solver framework is not novel, while the continuous shell representation and the introduction of shell elasticity to the PINN community are new.
The inconsistency in classical simulators can be alleviated by increasing the resolution. A well-defined FEM-based cloth solver should exhibit convergence under refinement. I am interested in whether increasing the resolution of a FEM solver, so that the computation time is roughly the same as the proposed method, will make the inconsistency negligible.
In Fig.6, why does the proposed method have the concept of discretization? That is, what do discretizations I, II, and III mean for the proposed method?
局限性
Limitations are well discussed.
We thank the reviewer Gekm for the detailed comments. The reviewer notes that our cloth modelling “offers infinite resolution”, and the method “does not suffer from numerical locking issues” like classical mesh-based methods. We now address the remaining concerns:
Distinction from PINN-approaches for elastodynamics
Thanks for suggesting the paper by Rao et al. It is relevant, and we will include it in the related works. We agree that we are not the first (or the only) ones to apply neural implicit representation for elastodynamic problems. At the same time, our setting addresses thin-shell and, in particular, realistic cloth simulation that the earlier volumetric elastic works do not [Rao et al. 2021; Zehnder et al. 2021]. Volumetric modelling will often lead to ill-conditioned optimisation when one dimension is thin, necessitating the modelling of thin-shell kinematics. Moreover, to the best of our knowledge, prior works do not tackle geometric nonlinearity: Formulating non-linear strain (Eq.(5)) is crucial for large deformations and rotations arising in cloths (Sec. E.3 ablation). In addition, separating bending and stretching deformation modes allows us to better integrate data-driven non-linear anisotropic models (Secs. 4.3, B.3), unlike the linear elasticity used in Ref. [Rao et al. 2021; Zehnder et al. 2021]. Further, our extensions, such as material conditioning, non-analytical reference geometry and simulation editing, present many opportunities for computer graphics and vision.
We agree that we did not clearly highlight the differences. In the revised version, we suggest to add the following statement: “While previous works like Rao et al. and Zehnder et al. applied neural implicit representations for volumetric elastodynamic problems, our approach focuses on realistic thin-shell and cloth simulation. It addresses important cloth simulation aspects such as geometric non-linearities and the integration of non-linear anisotropic models, which are crucial for simulating large deformations and rotations.”
Figure 6
In this experiment, we show that the classical mesh-based simulators are sensitive (produce different folds and wrinkles) to the discretisation of the reference geometry. We use the discrete meshes as inputs for both competing methods [36,38] and ours for a fair comparison. Thus, for NeuralClothSim, we use the discrete meshes (I, II, and III) to train the initial geometry MLP using the process described in L152-158. The exact discretisations of the initial shape and additional comparison to DiffCloth[36] are visualised in Fig. XII-appendix; Fig. 6 is a shortened version of Fig. XII-appendix due to space constraints of the main paper.
Consistency evaluation of classical simulators
For FEM-solvers, we agree and expect the convergence to a continuous solution upon refinement. We tried ARCSim[46] for three slightly perturbed initial mesh discretisations (a similar setup as our Fig. 6 comparison) at increasing resolutions and observed improvements. For a simulation of the napkin with 10k vertices and a runtime of 18 minutes (a few minutes higher than our napkin example), we visualise the results in Fig. 1 of the rebuttal pdf. Indeed, there is an improvement in the degree of consistency in the higher-resolution case (Fig.1-rebuttal) compared to Fig. 6/XII's result of 400 vertices. However, the results still contain noticeable inconsistency, we think it could be due to several operations that are highly discretisation-dependent (such as the bending model relying on the dihedral angles) [46,60]. In contrast to FEM-based solvers, our method produces consistent results and is much less sensitive to discretisations of the initial states as shown in Fig. 6 and Fig. XII.
References
[Rao et al., 2021] Rao, Chengping, Hao Sun, and Yang Liu. "Physics-informed deep learning for computational elastodynamics without labeled data." Journal of Engineering Mechanics (2021).
[Zehnder et al., 2021] Zehnder, Jonas, et al. "Ntopo: Mesh-free topology optimization using implicit neural representations." NeurIPS (2021).
The paper proposes a cloth simulation model based on the Kirchoff-Love thin shell theory, using a neural network (SIREN activations) to parameterize a deformation field (NDF) from a base parameterization. The model can handle periodic and Dirichlet boundary conditions, and uses the network to calculate the necessary higher-order derivatives. This continuous NDF allows the model to be discretized at any resolution via sampling more coarsely or finely, and also allows for material conditioning. It is tested against the Belytschko obstacle course to show validity, and in a few simple scenarios against DiffCloth and DiffArcSim, two mesh-based differentiable simulators, and shows comparable performance with superior memory performance.
优点
- The use of an NDF allows for simulation without knowledge of the necessary resolution beforehand.
- It also lessens the memory footprint.
- The method leverages a principled and sophisticated thin shell theory and thus is able to reproduce several anisotropic and buckling effects that are challenging for simpler traditional mesh-based models.
- The work may spur further work in neural cloth simulation by educating readers about the potential advantages of a continuous NDF representation, and a working implementation of it.
- There are many details and additional validations in the supplementary material. It is a pretty thorough presentation of the work at hand.
缺点
- No collision detection or friction, which are approximated by DiffCloth and DiffArcSim, as acknowledged by the authors.
- The training time is quite high, and I believe it's slower than simulation time for state-of-the-art FEM systems (see App. A).
问题
- Can the framework handle multiple panels joined at seams? If so, did you try any such models?
- For the initial fitting to an input mesh, do you have any examples of this? If so, it should be put in the main text, as this represents a nice demonstration of applicability beyond simpler test scenarios.
- Can the method be used for inverse design scenarios with respect to material parameters, or with determination of external forces to achieve a trajectory? These were applications considered in comparison methods, and I'd be curious to know if this was attempted at all.
局限性
The authors have acknowledged the limitations of the method throughout their text.
We thank the reviewer BLQv for their comments. The reviewer nicely summarizes our paper and notes that our method "leverages a principled and sophisticated thin shell theory", "may spur further work in neural cloth simulation", and that our presentation is "pretty thorough". We now address the points raised in the review.
Initial fit and multiple panels
Kindly see our general comment G3.
Inverse design
Thanks for suggesting this interesting point, which could further expand the usefulness of NeuralClothSim. Although we did not attempt the inverse design scenario of accurately estimating forces/materials, we made initial attempts for NeuralClothSim as a physics-based prior for ill-posed inverse problems. Using the thin-shell hyperelastic energy as a loss function in addition to data terms will have a spatial regularisation effect for improving the physical plausibility (force-material ambiguities would remain in this ill-posed setting). Such ideas are used in earlier works [Kairanda et al., 2022; Yang et al., 2023] with mesh-based physics simulators. These could benefit from our continuous representation and memory adaptivity. While a thorough investigation of this direction would be a standalone research project, we already have promising results. In Fig. 3 of the rebuttal pdf, we visualise fine-grained surface reconstruction from monocular video using NeuralClothSim as a thin-shell physical prior.
References
[Kairanda et al., 2022] Kairanda et al. "f-sft: Shape-from-template with a physics-based deformation model." CVPR 2022.
[Yang et al., 2023] Yang, Gengshan, et al. "Ppr: Physically plausible reconstruction from monocular videos." ICCV 2023.
Thank you for the clarifying responses. I will be keeping my score as is, entering the discussion phase.
Reviewer
The paper proposes to model the cloth as a fixed parameter domain embedded via a function encoded as a neural network. The network weights are then optimized to minimize a Kirchoff-Love free energy, thus implementing a quasistatic cloth deformation model without a mesh discretization.
优点
The method is technically sound, and the appendices document extensively the choices made. The results are compelling, and they show the benefits of mesh-independence.
缺点
Discretization-independence
The neural cloth simulation is not "sensitive to the finite element discretisations" (49-50). But this is because discretization is used only in a post-simulation evaluation step. Perhaps a fairer analogue of discretization independence would be whether the results are sensitive to the initialization of the neural network weights.
Generality
The paper proposes representations for rectangular cloth patches with point constraints as well as cylindrical sleeves. Can this framework be extended to garments of arbitrary rest shape and topology? Is it possible to support non-boundary point constraints or shape constraints?
The NDF editing application allows editing the scene parameters after simulation, but it seems like it might be hard to adapt this method to real-time editing of point constraints, which would be desirable for artists.
Minor details
The paper needs general copy editing, but here are some specific points:
- "therefore, inherently assume" => "inherently assuming" (26)
- "a detailed" => "detailed" (227)
- "stretching, and" => "stretching and" (232)
问题
- The second spatial derivatives of are required to exist (164), but what about mixed second partials in and ? Presumably this is not a major problem.
- The paper proposes representations for rectangular cloth patches with point constraints as well as cylindrical sleeves. Can this framework be extended to garments of arbitrary rest shape and topology?
- How simple would it be to extend the trajectory model to accurately model dynamics?
- How do you sample the surface
局限性
The authors freely point out that they "do not claim qualitative superiority over classical cloth simulation methods" (64).
We thank the reviewer bD8m, for their comments. The reviewer notes that our "method is technically sound", and the "results are compelling". We will update the draft to include minor comments, such as copy editing. We now address the points raised in the review.
Discretisation-independence
Our statement at L49-50 needs more elaboration, and we will include the following in the revised version. The statement includes two observations regarding consistency that our method offers, but the finite-element methods lack: 1. consistency with respect to the discretisation/meshing of the initial geometry (Sec. 2, Figs. 6, XII), 2. consistency with respect to multi-resolution simulation (Sec. H.2, Fig. XI), also well-explored in [Zhang et al., 2022]. Regarding the latter, there are different paradigms for speed vs. quality trade-offs for FEM-based cloth simulators and NeuralClothSim. FEM-based methods can have increased speed by reducing the spatial resolution. We highlight that such a trade-off is conceptually not possible for NeuralClothSim as we model the cloth as a continuous surface throughout the entire training. Instead, we can reduce the training time for partial convergence as we did in Fig. X. Thus, a one-to-one comparison is conceptually difficult, which we also elaborate on in Sec. H.2 (supplement).
Regarding sensitivity to initialisation, while FEM-based cloth simulators are designed to be deterministic, in practice, there are several factors (such as numerical precision and parallel computing) that can lead to slight variations in the simulation results between runs. This inconsistency is not problematic as cloth simulation doesn't have a single ground truth; rather, it can have multiple equilibria solutions under the same input parameters (template, material, and boundary conditions). We observed that a mesh-based simulator running the same simulation scenario on different machines generates non-identical results but leads to reproducible results on the same machine. This is indeed the case for ours as well. We conducted two experiments: 1) We can obtain reproducible results if we set the random seed leading to the same network initialisation (Fig. 5-(left) in rebuttal pdf), and 2) we observe non-identical results if we do not set the random seed (Fig. 5-(right)). Our results are indeed somewhat sensitive to the initialisation of the neural network weights, similar to the classical simulators are sensitive to hardware- and parallelisation-related effects.
Arbitrary rest shape and topology
Kindly see our general comments G3.
Non-boundary constraints
Yes, we support point and shape constraints in the interior of the cloth. For those, no change in the method is necessary, i.e., in Eq. (4) can well be a set of boundary points inside the domain. In Fig. 4 of the rebuttal pdf, we show a simulation of non-boundary constraints. Moreover, when the initial geometry is provided as a mesh (instead of analytical definition), mesh vertices can be specified as point constraints where now correspond to curvilinear coordinates of the fixed vertex. We have demonstrated such results in Fig.6/Fig. XII.
Derivatives
We agree with the observation that the mixed partial derivatives of with respect to and are required to exist. We will update the draft.
Extension to dynamics
Kindly see our general response G1.
Sampling
During training, we sample the surface with a stratified/jittered sampling technique (points perturbed within a uniform grid). We resample at each training iteration to continuously explore the parametric domain. The number of training samples is typically determined by the available GPU memory. At test time, we sample regular grid points so that it is easy to triangulate a deformed mesh. Moreover, samples at inference can be generated at much higher resolution as it requires a single forward pass, unlike the expensive derivative computations of physical quantities that are required during training.
References
[Zhang et al., 2022] Zhang, Jiayi Eris, et al. "Progressive simulation for cloth quasistatics." ACMTOG 2022.
[Müller et al., 2022] Müller, Thomas, et al. "Instant neural graphics primitives with a multiresolution hash encoding." ACMTOG 2022.
[Xie et al., 2024] Xie, Tianyi, et al. "Physgaussian: Physics-integrated 3d Gaussians for generative dynamics." CVPR 2024.
Thank you to the authors for their detailed response, going above and beyond the call of duty by demonstrating approaches to proposed future work. I stand by my score, and I would like to see the above more-detailed discussion of discretization- and initialization-dependence included in the final version of the paper.
We thank all reviewers for their valuable feedback, which will help us improve our work further. The reviewers note that our "results are compelling"(bD8m), our proposed method "may spur further works" in neural cloth simulation (BLQv), and, in contrast to classical mesh-based simulators, ours "does not suffer from numerical locking issues" (Gekm).
The reviewers have suggested additional experiments to better showcase the strengths and limitations of our work. We are pleased to report that we have successfully conducted most of the proposed experiments, yielding favourable results that we are excited to include in the paper. We now provide clarifications on some of the points shared by the reviewers.
We are happy that the reviewers generally find our method technically sound and interesting while identifying its strengths and weaknesses, which can spur future works in this direction. Our method fundamentally changes the surface representation in cloth simulation and deeply intertwines continuum physics with learning. As cloth simulation is an established field, we do not claim superiority over the existing methods and focus on the fundamental challenges of developing a neural physics-based simulator with new characteristics. We agree regarding the shortcomings; advanced features (e.g. dynamics, full garments) are not in scope for now, but all these ideas highlighted by the reviewers indeed suggest a strong rationale for pursuing this direction.
G1: Dynamics (bD8m, Gekm)
We leave modelling of dynamics as a future work as there are two key aspects that need to be addressed in this regard: 1. physical modelling of inertial & damping effects, 2. a suitable network architecture to model long-term/scalable simulations. Next, we sketch two potential solutions for how one could extend our method (particularly trajectory modelling) to model dynamics. One possible solution is to model the conservation of energy over time assuming conservative forces. In our trajectory model for visualisation (Sec. D.1), we minimised the total energy, (L837-846), the sum of and potential (L257) and kinetic energy . To model true dynamics, one should instead minimise . We attempted this, but the NDF struggles to converge. More specifically, cloth simulation as an initial value problem struggles to propagate the deformation to future states. It is more easy to see this for a toy example. We consider an 1D elastic spring with total energy . Energy constant with initial conditions should yield the solution dynamics . The learned solution achieved with NDF after 5k iterations is shown in Fig. 2-(a) (rebuttal pdf). This leads us to the alternative solution, the strong form of dynamic equilibrium. It can be modelled as , yielding a more accurate solution with fewer 1k iterations (Fig. 2-(b)).
Like the spring example, governing equations as strong form can be modelled for NeuralClothSim. The main changes required would be replacing hyperelastic strain energy with the stresses derived from it, which is well explored in the literature for thin shells [Clyde et al., 2017; Wempner et al., 2023]. Additional things to take care of include enforcing free boundary conditions and ensuring that a higher order of gradients does not hurt the NDF optimisation [Rao et al., 2021].
In summary, we see a clear path to extending our method to dynamics, and we believe it should be treated as a standalone research question.
G3: Arbitrary rest shape and topology (bD8m, BLQv)
We showed examples of initial fitting to meshes in Fig. 6. A detailed version of Fig. 6 is presented as Fig. XII-appendix, which shows the discretisations of the input meshes. In Fig. XII-(right), we additionally showed examples of fitting to non-flat initial geometries. We can move these to the main paper. Regarding arbitrary topology, our current framework does not support multiple panels. We believe this is an important future work. A potential solution is modelling seams as soft constraints. Alternatively, the cloth could be modelled as a Kirchoff-Love thin shell with signed distance functions as the representation [Schöllhammer et al, 2019].
References
[Clyde et al., 2017] Clyde et al. "Simulation of nonlinear Kirchhoff-Love thin shells using subdivision finite elements." SIGGRAPH SCA 2017.
[Wempner et al., 2023] Wempner, Gerald, Demosthenes Talaslidis, and J. Petrolito. "Mechanics of solids and shells: theories and approximations." Appl. Mech. Rev. 56.5 (2003).
[Rao et al., 2021] Rao, Chengping, Hao Sun, and Yang Liu. "Physics-informed deep learning for computational elastodynamics without labeled data." Journal of Engineering Mechanics (2021).
[Schöllhammer et al., 2019] Schöllhammer, Daniel, and Thomas-Peter Fries. "Kirchhoff–Love shell theory based on tangential differential calculus." Computational mechanics (2019).
The paper introduces a quasistatic cloth simulation model grounded in the Kirchhoff-Love thin shell theory. It employs a neural network with SIREN activations to parameterize a deformation field (NDF) from a base parameterization. The model adeptly handles periodic and Dirichlet boundary conditions and utilizes the network to compute the necessary higher-order derivatives. This continuous NDF enables the model to be discretized at any resolution by adjusting the sampling density and supports material conditioning. Validation is performed using the Belytschko obstacle course and comparisons with two mesh-based differentiable simulators, DiffCloth and DiffArcSim, demonstrating comparable performance with enhanced memory efficiency.
The method is technically sound, leveraging a sophisticated thin shell theory to capture anisotropic and buckling effects that are challenging for traditional mesh-based models. The results are compelling, showcasing the advantages of mesh-independence. This work could pave the way for further research in neural cloth simulation. However, there are some weaknesses: the method does not incorporate collision detection or friction, which are approximated in DiffCloth and DiffArcSim, as noted by the authors. The training time is notably high, potentially exceeding the simulation time of state-of-the-art FEM systems.
Overall, the paper is thorough and well-presented, with many details and additional validations provided in the supplementary material and videos. The rebuttal addresses all the questions raised by the reviewers, and outlined the future research for dynamics. All reviewers unanimously agree to accept the work.