Brendan Keith

NA
h-index12
10papers
49citations
Novelty56%
AI Score54

10 Papers

8.6NAJul 13, 2022Code
Learning robust marking policies for adaptive mesh refinement

Andrew Gillette, Brendan Keith, Socratis Petrides

In this work, we revisit the marking decisions made in the standard adaptive finite element method (AFEM). Experience shows that a naïve marking policy leads to inefficient use of computational resources for adaptive mesh refinement (AMR). Consequently, using AFEM in practice often involves ad-hoc or time-consuming offline parameter tuning to set appropriate parameters for the marking subroutine. To address these practical concerns, we recast AMR as a Markov decision process in which refinement parameters can be selected on-the-fly at run time, without the need for pre-tuning by expert users. In this new paradigm, the refinement parameters are also chosen adaptively via a marking policy that can be optimized using methods from reinforcement learning. We use the Poisson equation to demonstrate our techniques on $h$- and $hp$-refinement benchmark problems, and our experiments suggest that superior marking policies remain undiscovered for many classical AFEM applications. Furthermore, an unexpected observation from this work is that marking policies trained on one family of PDEs are sometimes robust enough to perform well on problems far outside the training family. For illustration, we show that a simple $hp$-refinement policy trained on 2D domains with only a single re-entrant corner can be deployed on far more complicated 2D domains, and even 3D domains, without significant performance loss. For reproduction and broader adoption, we accompany this work with an open-source implementation of our methods.

7.2NAApr 29
Proximal Galerkin for Phase Field Fracture

Miguel Castillón, Biswajit Khara, Jørgen S. Dokken et al.

The phase-field method has emerged as a powerful tool for simulating fracture mechanics, yet it presents significant numerical challenges, particularly regarding the enforcement of physical constraints such as irreversibility and boundedness of the phase-field variable. This work proposes the proximal Galerkin (PG) methodology as a robust and efficient framework for solving phase-field fracture problems. By reformulating the inequality-constrained optimization problem into a sequence of saddle-point problems involving latent variables, the PG method rigorously enforces the physical bounds of the phase-field variable and naturally handles the irreversibility condition. This approach is directly applicable to both static and dynamic phase-field fracture problems. The numerical results demonstrate that the PG framework accurately reproduces theoretical predictions and experimental observations, while offering a unified, mathematically consistent treatment of the constraints inherent to phase-field fracture modeling.

1.2NAOct 14, 2017
DPG* Method

Brendan Keith, Leszek Demkowicz, Jay Gopalakrishnan

We introduce a cousin of the DPG method - the DPG* method - discuss their relationship and compare the two methods through numerical experiments.

8.7LGNov 2, 2022Code
Multi-Agent Reinforcement Learning for Adaptive Mesh Refinement

Jiachen Yang, Ketan Mittal, Tarik Dzanic et al.

Adaptive mesh refinement (AMR) is necessary for efficient finite element simulations of complex physical phenomenon, as it allocates limited computational budget based on the need for higher or lower resolution, which varies over space and time. We present a novel formulation of AMR as a fully-cooperative Markov game, in which each element is an independent agent who makes refinement and de-refinement choices based on local information. We design a novel deep multi-agent reinforcement learning (MARL) algorithm called Value Decomposition Graph Network (VDGN), which solves the two core challenges that AMR poses for MARL: posthumous credit assignment due to agent creation and deletion, and unstructured observations due to the diversity of mesh geometries. For the first time, we show that MARL enables anticipatory refinement of regions that will encounter complex features at future times, thereby unlocking entirely new regions of the error-cost objective landscape that are inaccessible by traditional methods based on local error estimators. Comprehensive experiments show that VDGN policies significantly outperform error threshold-based policies in global error and cost metrics. We show that learned policies generalize to test problems with physical features, mesh geometries, and longer simulation times that were not seen in training. We also extend VDGN with multi-objective optimization capabilities to find the Pareto front of the tradeoff between cost and error.

8.7NAApr 21
Proximal Discontinuous Galerkin Methods for Variational Inequalities

Alexandre Ern, Brendan Keith, Dohyun Kim et al.

We introduce a family of proximal discontinuous Galerkin methods for variational inequalities, focusing on the obstacle problem as a didactic example. Each member of this family is born from applying a different well-known nonconforming finite element discretization to the Bregman proximal point method. We explicitly treat four examples: the symmetric interior penalty discontinuous Galerkin, the enriched Galerkin, the hybridizable interior penalty and the hybrid high-order methods. We formulate a unified analysis framework for this family of methods and prove the existence and uniqueness of solutions, energy dissipation, and error estimates for both the primal and dual variables. Remarkably, the proximal hybrid high-order method with piecewise constant cell unknowns and piecewise affine cell unknowns leads to the first higher-order convergence result for any proximal Galerkin method.

8.5NAMay 12
The SiMPL Method for Multi-Material Topology Optimization

Peter Gangl, Brendan Keith, Dohyun Kim et al.

We introduce an efficient and scalable method for density-based multi-material topology optimization, integrating classical mirror descent techniques with point-wise polytopal design constraints. Such constraints arise naturally in this class of problems, wherein the vertices of convex polytopes correspond to distinct design states, only one of which should be occupied at each point in space. The framework generates a descending sequence of iterates by penalizing the design space around the previous iterate with a generalized distance function tailored to the convex geometry of the $n$-dimensional polytope. This distance function, called a Bregman divergence, smooths the optimization landscape, ensuring that each iterate strictly satisfies the point-wise constraints. Subsequently, global constraints (e.g., bounds on the structural mass) can be enforced easily by solving a small, finite-dimensional dual problem. The resulting method is simple to implement and demonstrates robustness and efficiency when combined with an Armijo-type line search algorithm. We validate the method in structural design problems involving the optimal arrangement of both isotropic and anisotropic materials, as well as magnetic flux optimization in electric motors.

7.5NAMay 8Code
Proximal Galerkin for the isometry constraint

Brendan Keith, Frédéric Marazzato

We resolve a longstanding open problem in the computational modeling of nonlinear plates by introducing a numerical method that exactly enforces the isometry constraint, namely, that the first fundamental form of the mid-surface coincides with the identity tensor. Several numerical methods have been proposed to approximate solutions of such manifold-constrained variational problems using gradient flows with tangent space updates. However, this class of methods presents two main challenges. First, a preprocessing step is required to enforce the boundary conditions and generate an initial guess sufficiently close to an isometry. Second, each step of the gradient flow typically increases the isometry defect. We adopt an alternative approach based on the proximal Galerkin framework, originally introduced for variational problems with convex inequality constraints. The resulting method preserves the geometric structure of the feasible set and yields an efficient algorithm in which each iterate is an exact isometry at the barycenter of every mesh cell. In contrast to existing methods, no preprocessing step is required, enabling broader applicability of this important category of mathematical models. Numerical experiments on standard benchmarks demonstrate that the method converges to a prescribed error tolerance in an asymptotically mesh-independent number of iterations and requires substantially fewer iterations than previous methods, even on coarse meshes.

2.6LGJul 2, 2024Code
Improving Explainability of Softmax Classifiers Using a Prototype-Based Joint Embedding Method

Hilarie Sit, Brendan Keith, Karianne Bergen

We propose a prototype-based approach for improving explainability of softmax classifiers that provides an understandable prediction confidence, generated through stochastic sampling of prototypes, and demonstrates potential for out of distribution detection (OOD). By modifying the model architecture and training to make predictions using similarities to any set of class examples from the training dataset, we acquire the ability to sample for prototypical examples that contributed to the prediction, which provide an instance-based explanation for the model's decision. Furthermore, by learning relationships between images from the training dataset through relative distances within the model's latent space, we obtain a metric for uncertainty that is better able to detect out of distribution data than softmax confidence.

1.2QUANT-PHJun 2, 2025
Learning thermodynamic master equations for open quantum systems

Peter Sentz, Stanley Nicholson, Yujin Cho et al.

The characterization of Hamiltonians and other components of open quantum dynamical systems plays a crucial role in quantum computing and other applications. Scientific machine learning techniques have been applied to this problem in a variety of ways, including by modeling with deep neural networks. However, the majority of mathematical models describing open quantum systems are linear, and the natural nonlinearities in learnable models have not been incorporated using physical principles. We present a data-driven model for open quantum systems that includes learnable, thermodynamically consistent terms. The trained model is interpretable, as it directly estimates the system Hamiltonian and linear components of coupling to the environment. We validate the model on synthetic two and three-level data, as well as experimental two-level data collected from a quantum device at Lawrence Livermore National Laboratory.

4.3GR-QCFeb 25, 2021
Learning orbital dynamics of binary black hole systems from gravitational wave measurements

Brendan Keith, Akshay Khadse, Scott E. Field

We introduce a gravitational waveform inversion strategy that discovers mechanical models of binary black hole (BBH) systems. We show that only a single time series of (possibly noisy) waveform data is necessary to construct the equations of motion for a BBH system. Starting with a class of universal differential equations parameterized by feed-forward neural networks, our strategy involves the construction of a space of plausible mechanical models and a physics-informed constrained optimization within that space to minimize the waveform error. We apply our method to various BBH systems including extreme and comparable mass ratio systems in eccentric and non-eccentric orbits. We show the resulting differential equations apply to time durations longer than the training interval, and relativistic effects, such as perihelion precession, radiation reaction, and orbital plunge, are automatically accounted for. The methods outlined here provide a new, data-driven approach to studying the dynamics of binary black hole systems.