arXiv:2610.06250cs.LGOct 2026

Manuscript Offprint

arXiv:2610.06250

Generative World Models Enable Predictive Control of Laser Melt Pool Dynamics

Yiyang Yan, Markus Bambach, Mohamadreza Afrasiabi

Abstract

World models, which learn how environments respond to actions, are emerging as a powerful paradigm for planning through imagined futures, transforming decision-making across games, robotics and autonomous driving. Bringing this capability to manufacturing could enable process decisions on timescales inaccessible to high-fidelity simulation. Here we introduce a generative world model for localized highly dynamic laser melt pool that predicts evolution from histories of temperature and phase morphology under candidate actions. Its generative latent dynamics capture the effects of unresolved melt flow, enabling more accurate recursive rollouts than deterministic regressors under transient laser inputs. Because the learned dynamics are differentiable, the model can serve directly as a predictive control plant. Gradients through imagined futures optimize laser schedules that regulate melt-pool depth over previously unseen geometry, path, initialization. We further distil this optimization into an amortized policy that produces control actions in a single forward pass, providing a proof of concept for real deployment on machines.

Keywords: World model, Generative model, Laser powder bed fusion, Melt-pool control, Scientific machine learning

Introduction

Localized melt pools are the active transformation zones of fusion-based manufacturing, including welding, directed energy deposition, and laser powder bed fusion (LPBF) [1, 2]. In each process, concentrated energy input, fluid flow, phase change, and solidification interact within a transient region whose geometry and temperature directly influence thermal history, consolidation, and defect formation. LPBF is a particularly stringent case: micrometer-scale melt-pool dynamics evolving over microseconds interact with scan paths and parts spanning much larger spatial and temporal scales [3, 4], while small deviations can produce lack of fusion, keyhole porosity, or spatter [5, 6]. High-fidelity thermal-fluid simulations resolve these mechanisms [7, 8], but even GPU-accelerated solvers need minutes to hours per simulation [9, 10], far beyond the timescale of control decisions.

Controlling the three-dimensional melt-pool geometry, rather than surface signals, would directly target lack of fusion and overmelting, but is currently infeasible from both measurement and simulation. In-process sensors capture only surface signals, and operando X-ray imaging, although able to reconstruct four-dimensional melt pools at 25 kHz, requires a synchrotron beamline and offline reconstruction [11]. In simulation, a linear surrogate identified from smoothed particle hydrodynamics enabled depth control in two dimensions, but its extension to three dimensions was computationally prohibitive [12]. Controllers therefore act at the layer [13] or vector [14] level or on conduction models [15, 16], and neural surrogates predict steady-state [17] or top-view [18] morphology, or three-dimensional dynamics without actions [19]. None combines recursive 3D rollout, time-varying actions, partial observations and usable action gradients.

World Models (WM) enable this combination. They learn a compact state and an action-conditioned transition, so that behaviour can be optimized in imagined trajectories [20], by online planning [21] or by gradients through the learned dynamics [22]. Under partial observation, reliable planning required both a deterministic memory of past observations and a stochastic transition [23], and diffusion transitions now preserve details important for control [24] and simulate games in real time [25]. The melt pool fits this setting: our model resolves temperature and phase morphology but not the velocity and pressure fields driving convective and Marangoni transport, so identical observed states can evolve differently. Eliminating such hidden variables yields reduced dynamics with memory and fluctuating terms [26, 27]. A latent history can capture the memory, and a generative transition the range of futures consistent with it.

When a data-driven model is used in place of the plant for control, it can fail in two ways. Deterministic surrogates trained with mean-squared error average over hidden futures, regressing toward the mean flow in turbulence [28] and losing fine-scale content needed for accurate long rollouts [29]. Generative models avoid this averaging but can instead produce plausible states that violate the underlying physics [30]. Control amplifies both errors because an optimizer seeks actions that perform well under the learned model regardless of whether its predictions are correct, while policies trained in learned dynamics can exploit poorly represented regions [31]. Whether an action-conditioned generative transition provides gradients reliable enough for control, and whether the resulting actions remain effective when re-evaluated by the physics solver, remains largely unexamined.

Here we introduce a WM with generative latent dynamics for transient 3D melt-pool prediction and control. It encodes temperature and phase-indicator fields into a compact finite-scalar-quantized (FSQ) latent state [32, 33], which is advanced by a history-conditioned flow-matching transition differentiable with respect to the laser actions. We validate that the differentiable latent dynamics remain accurate over control-relevant rollouts and provide useful gradients for model predictive control, and further show that an RL policy can reach the same objective in a single forward pass to realize faster planning. The control target is melt-pool depth over variable substrate geometries, scanning path and residual heat, where insufficient or excessive depth causes severe defects (e.g. lack of fusion, overmelting). The selected schedules are re-evaluated in high-fidelity CFD to test whether control performance persists outside the learned model.

The melt-pool WM presents a technical proof-of-concept that localized, highly dynamic and partially observed melt pools can be learned well enough to support gradient-based control, as verified in high-fidelity simulation. We also discuss potential use-cases, including within-track inline control on LPBF machines and other fusion-based processes such as welding and directed energy deposition. However, operationalizing the WM for these applications will require further innovation, notably a measurement-conditioned encoder that maps in-process sensor signals to the latent state and inference fast enough for the melt-pool timescale, in addition to open machine platforms with synchronized sensing and laser actuation.