Bayesian Differentiable Physics for Cloth Digitalization

Deshan Gong, Ningtao Mao, He WangCVPR 2024

Introduction

Digitalizing cloth is a cornerstone of modern computer graphics and fashion technology, yet it remains a formidable challenge. Traditional physics-based models often require painstaking manual tuning of parameters like stiffness and friction. Conversely, data-driven deep learning approaches typically demand vast quantities of high-precision video data, which is difficult to capture outside of controlled laboratory settings. Furthermore, real-world fabrics are inherently heterogeneous and stochastic; no two drapes of the same cloth are identical.

To address these issues, researchers have introduced Bayesian Differentiable Physics (BPD). This framework enables the creation of highly accurate digital twins from minimal input—often just a single 2D silhouette from a standard drape test.

Methodology: Bayesian Inference in Physics

The BPD framework treats cloth digitalization as an inverse problem solved through Bayesian inference. Unlike "black-box" neural networks, the system utilizes a differentiable physics simulator based on implicit Euler integration. This allows the model to calculate precisely how adjustments to physical parameters, such as bending or stretching stiffness, affect the resulting 2D shape.

Mapping 2D silhouettes to 3D physical drapes using Bayesian inference.

Key components of the method include:

  • Probabilistic Modeling: Instead of seeking a single deterministic value for material properties, the model learns a probability distribution. This captures the natural randomness and "messiness" of real-world fabric behavior.
  • Material Heterogeneity: By assigning physical parameters to individual elements of the cloth mesh, the system can model subtle variations in weave and weight across the fabric's surface.
  • Variational Inference (VI): To handle the computational complexity of Bayesian math, the authors use VI to approximate the learned physical properties by minimizing the discrepancy between simulated silhouettes and real-world observations.

The Cusick Drape Dataset

A significant contribution of this work is the introduction of the Cusick Drape Dataset. This benchmark includes 25 types of common fabrics, such as cotton, wool, and silk, across 660 drape images and reconstructed 3D meshes.

A standard circular cloth sample undergoing a drape test.

Unlike "in-the-wild" datasets, this data was captured using the Cusick Drape Test, a textile industry standard. It provides precise ground-truth measurements for area density and thickness, allowing for rigorous validation of the BPD model's accuracy.

Key Results and Generalization

The BPD model demonstrates superior performance over deterministic baselines, achieving an Average Mean Squared Error (MSE) of 3.84 × 10⁻² compared to 5.72 × 10⁻² for uniform material models.

A critical advantage of this approach is its ability to generalize. Because the model learns fundamental physical properties rather than just mimicking shapes, materials learned from simple circular swatches can be applied to complex virtual garments. For instance, properties derived from a "Wool Red" swatch can realistically simulate the movement and folding of a pleated skirt on a walking avatar.

Conclusion and Future Outlook

By integrating the laws of physics as a prior within a Bayesian framework, BPD significantly reduces the data requirements for cloth digitalization. While the method currently relies on predefined physics models and is primarily trained on static images, it represents a major step toward automated, high-fidelity fabric simulation. Future work may involve incorporating high-speed motion data to further enhance dynamic realism and exploring more computationally efficient simulation techniques.

Summary updated

BibTeX
@inproceedings{gong2024bayesian,
  author = {Deshan Gong and Ningtao Mao and He Wang},
  title = {{Bayesian Differentiable Physics for Cloth Digitalization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure