arXiv:2609.02126cs.LGSep 2026

Manuscript Offprint

arXiv:2609.02126

Scalable Bayesian Optimization of Composite Functions for Image-Based Inverse Problems in Materials Characterization

Dasol Yoon, Poompol Buathong, Chia-Hao Lee, Yujia Zhang, David A. Muller, Peter I. Frazier

Abstract

Estimating physical parameters from scientific images is a common inverse problem in materials characterization that often relies on expensive physics-based simulations. In electron microscopy, specimen thickness and crystal mistilt are critical parameters that govern how electrons scatter through the sample, and therefore the accuracy of any atomic-scale structure recovered from it. They are commonly inferred by matching experimental position-averaged convergent-beam electron diffraction (PACBED) patterns to simulated ones, but grid searches scale poorly and neural-network methods require extensive pretraining that may not transfer to new conditions. Here, we propose scalable Bayesian optimization of composite functions (SBOCF), a simulation-efficient method that exploits the known composite structure of the image-matching objective and the intermediate information contained in simulated images. By representing PACBED images with patch-level summaries and two correction terms, SBOCF preserves the original pixel-wise objective while reducing the number of modeled outputs from 24,649 to 11. Under a budget of 50 simulator evaluations, SBOCF outperformed standard Bayesian optimization with expected improvement on synthetic SrTiO3_3 benchmarks with thick and thin specimens, reducing the median final SSE by up to 290×\times in the thick-sample case. On experimental data, SBOCF produced parameter estimates consistent with previously reported values without task-specific pretraining. For a simulated mistilted specimen, using the SBOCF estimates in a downstream pycho- graphic reconstruction recovered sharp atoms that were otherwise blurred. These results establish SBOCF as a promising approach for inverse problems involving expensive simulators and high-dimensional structured outputs.

1 Introduction

Estimating unknown parameters by matching experimental measurements to physics-based simulations is a common inverse problem across scientific fields, where the cost of each simulation can limit characterization throughput. Electron microscopy is a representative instance: a beam of high-energy

∗^{*}These authors contributed equally to this work.

†^{\dagger}Corresponding authors: dy327@cornell.edu, david.a.muller@cornell.edu, pf98@cornell.edu

Preprint.

electrons is transmitted through a thin specimen, scattering off the atoms inside, and a detector records the electrons that emerge. Because the scattering depends on how the atoms are arranged, this signal encodes the atomic structure, but recovering the atomic positions requires a computational reconstruction. Such structural analysis depends on two quantities rarely known beforehand: the specimen thickness, which sets how many times electrons scatter; and the crystal mistilt, the angular deviation between the beam and the crystallographic zone axis, the direction along which the atoms line up into columns. Exact zone-axis alignment is difficult in practice, so a residual mistilt of a few milliradians is typical, and errors in either quantity propagate into the inferred atomic positions.

Both parameters can be estimated from the same measurement used for structural analysis. In four-dimensional scanning transmission electron microscopy (4D-STEM), a focused electron probe is scanned across the specimen and a two-dimensional diffraction pattern is recorded at each position, giving a four-dimensional dataset. Averaging these patterns over probe positions spanning at least one unit cell yields the position-averaged convergent-beam electron diffraction (PACBED) pattern, a single image whose fringe structure and symmetry depend sensitively on thickness and tilt [1]. The mapping from a PACBED pattern back to the parameters that produced it is not available in closed form, but the forward direction is: for candidate values, a multislice simulation [2] propagates the electron wave through the specimen slice by slice and predicts the resulting pattern. Estimating thickness and mistilt is therefore an inverse problem solved by forward simulation: we seek the parameters whose simulated pattern best matches the measured one, and each simulation is expensive. These estimates are valuable on their own and also benefit downstream methods: multislice electron pychography (MEP) [3] recovers an atomic-resolution, depth-resolved image from the same 4D-STEM dataset, but degrades when thickness and mistilt are inaccurate [4]; estimating them beforehand removes them from the reconstruction's variables.

Existing PACBED-based approaches face a trade-off between cost and generality. Conventional methods perform a grid search, exhaustively simulating patterns over a dense grid of thickness and tilt values and comparing them via least-squares metrics [5]. This scales poorly as the parameter space grows. More recent methods train convolutional neural networks to estimate parameters rapidly [6, 7, 8], but they are tied to specific material systems and imaging conditions, requiring large simulated libraries and retraining for new settings.

To address this challenge, we introduce scalable Bayesian optimization of composite functions (SBOCF), a data-efficient method that requires neither exhaustive search nor a task-specific training dataset. SBOCF builds on Bayesian optimization (BO) [9, 10], which models the final image-discrepancy objective using a surrogate to guide the optimization and reduce the number of costly simulations, and Bayesian optimization of composite functions (BOCF) [11], which models the individual pixel intensities and exploits the known composite structure through which they are combined to form the objective. SBOCF instead partitions each image into patches and expresses the original image-discrepancy objective in a new composite form defined over lower-dimensional patch summaries and correction terms. This reduces the number of modeled outputs by more than 2,000-fold, retaining BOCF's ability to exploit the objective's composite structure while making it practical for high-resolution PACBED images. We validate SBOCF on synthetic and experimental SrTiO3_3 PACBED benchmarks, where it yields more accurate parameter estimates than standard BO and random sampling without a large task-specific training set. We also demonstrate that SBOCF estimates improve downstream MEP quality. More broadly, SBOCF offers a promising approach for inverse problems involving expensive simulators and high-dimensional structured outputs.

Fig. 1 illustrates the complete workflow, from experimental 4D-STEM acquisition to PACBED-based specimen-parameter estimation using BO-based methods.

References (22)