A data-driven exterior calculus for model discovery.

Nathaniel Trask

This presentation, titled "A data-driven exterior calculus for model discovery," was delivered by Nat Trask of Sandia National Laboratories. It outlines a novel framework for creating physics-preserving machine learning models that go beyond standard "black-box" approaches.

TL;DR

Data-Driven Exterior Calculus (DDEC) is a framework that learns physical models from data while enforcing conservation laws and solvability guarantees exactly rather than as "soft" penalties. By combining the mathematical rigor of discrete exterior calculus with learnable metric information, it produces surrogates that are accurate across massive scales—such as 15 orders of magnitude in semiconductor modeling—while remaining mathematically well-posed.

What Problem Does This Paper Address?

Traditional Physics-Informed Neural Networks (PINNs) typically enforce physical laws (like mass or energy conservation) by adding a penalty term to the loss function. This makes physics a "suggestion" rather than a requirement; the resulting models can still violate fundamental laws, especially in data-poor regimes.

Furthermore, in complex engineering systems (like semiconductors or turbulence), deriving "first principles" models is often intractable. Researchers need a way to extract models from data that are:

  1. Physically consistent: Conservation laws must hold exactly.
  2. Well-posed: The resulting equations must be guaranteed to have a unique solution.
  3. Efficient: They must be simple enough to run in circuit simulators or multiscale models.

Methods

The author introduces Data-Driven Exterior Calculus (DDEC). The key innovation is moving from a fixed, human-defined mesh to a graph-based surrogate where the "metric" (the geometry and material properties) is learned.

  • Topological Backbone: It uses a "chain complex" (a sequence of spaces linked by boundary operators) to represent the topology of the system. This structure ensures that operators like divergence, gradient, and curl satisfy the same identities they do in continuous calculus (e.g., the curl of a gradient is zero).
  • Learnable Inner Products: In traditional calculus, the "metric" defines how we measure distances and volumes. DDEC treats these metric components as learnable matrices ($\mathbf{B}_k$ and $\mathbf{D}_k$).
  • Constrained Optimization: Instead of a simple loss function, the model is trained using a "PDE-constrained optimization" approach. This ensures that at every step of the training process, the model remains on a manifold of physically solvable models.
  • Coarse-Graining: High-fidelity simulation data is partitioned using graph-cuts to create training data for these simplified, "compact" models.

Datasets

The framework was evaluated using data generated from high-fidelity physics simulations:

  • Darcy Flow: Subsurface flow problems used to compare DDEC against traditional Finite Volume Methods (FVM).
  • Magnetostatics: Simulations of magnetic fields to test divergence-free constraints.
  • PN-Diode Simulations: High-fidelity semiconductor physics used to train compact circuit models.
  • Riemann Problems: Used for extracting data-driven Equations of State (EOS).

Key Insights and Ideas

  • Physics as a Hard Constraint: By baking the exterior calculus structure into the architecture, properties like "divergence-free" or "circulation-preserving" are satisfied by construction, not by luck.
  • The Graph as a Mesh: Using a graph as a low-dimensional mesh surrogate allows the model to be computationally inexpensive while maintaining the topological "connectivity" of the real system.
  • Metric Learning: The "physics" of a material (like permeability or permittivity) is essentially the relationship between different types of fields. DDEC learns this relationship as a matrix, allowing it to discover material properties directly from observations.
  • Solvability Guarantees: The author provides theorems (e.g., Poincaré inequality, Hodge decomposition) proving that these learned models are mathematically well-behaved and guaranteed to be invertible/solvable.

Key Results

  • Superior Accuracy at Low Resolution: In Darcy flow tests, DDEC provided a significantly better fit to the true solution than traditional Finite Volume Methods when using the same number of degrees of freedom.
  • Massive Dynamic Range: In PN-diode modeling, the DDEC surrogate accurately captured behavior across 15 orders of magnitude, successfully bridging the gap between exponential (ideal diode) and linear (resistor) regimes.
  • Exact Conservation: In magnetostatics, the extracted surrogate was shown to be exactly divergence-free and capable of providing sharp interfaces between different materials.
  • Integration: These models are "compact" enough to be embedded directly into industrial circuit simulators like Xyce.

Limitations and Future Work

  • Graph Construction: While the paper uses graph-cuts to coarse-grain data, the optimal way to construct these graphs for highly irregular or high-dimensional problems remains an area for exploration.
  • Nonlinear Complexity: While the framework handles nonlinear perturbations, very high-frequency or chaotic dynamics (like high-Reynolds number turbulence) may require more complex graph structures.
  • Future Applications: The author lists several ongoing projects applying DDEC to autoignition in combustion, fusion applications on the Z-machine, ice sheet fracture mechanics, and lithium-ion battery failure.

Summary updated

BibTeX
@misc{trask2020data,
  author = {Nathaniel Trask},
  title = {{A data-driven exterior calculus for model discovery.}},
  year = {2020},
  doi = {10.2172/1889364},
}

Loading related content...

Figure