Skip to content

Latest commit

 

History

History
97 lines (62 loc) · 2.63 KB

File metadata and controls

97 lines (62 loc) · 2.63 KB

Hessian for Implicit Differentiation

Github Star Github Fork License

This repository has two purposes:

  • Provides an implementation for Hessian-vector products in implicit differentiable programming
  • Shows more examples of differentiable finite elements based on JAX-FEM

General picture

Differentiable programming breaks the boundary between deep learning and differentiable physics.

This repository is based on JAX-FEM to solve differentiable physics problems, providing second-order derivative information in the form of Hessian-vector products.

Quick start

Refer to simple.ipynb for a simple illustrative example.

Installation

Works with JAX-FEM version 0.0.9.

Examples

E1: Source field identification

Goal: Change the source term to match observed data.

Predicted solutions gradually match the reference data.

E2: Boundary force identification

Goal: Change the boundary traction force to match observed displacement.

Predicted displacements gradually match the reference displacement.

E3: Thermal-mechanical control

Goal: Change the boundary temperature to achieve desired deformation.

Predicted displacements gradually match the reference displacement.

E4: Shape optimization

Goal: Rotate the square-shaped holes for better beam stiffness.

Compliance minimization by changing orientations of the square holes.

Paper

Refer to the arXiv version for more details.

@article{xue2025implicit,
  title={Implicit differentiation with second-order derivatives and benchmarks in finite-element-based differentiable physics},
  author={Xue, Tianju},
  journal={arXiv preprint arXiv:2505.12646},
  year={2025}
}