A finite element method (FEM) integrated reinforcement-learning framework reduced simulated peak out-of-plane welding distortion in a 22-weld-line ship-block model to 15.86 mm in an independent replay, compared with 25.37 mm for a median-level random sequence, according to a study published in Advanced Materials Joining. The same sequence reached 15.31 mm in the training record. Designed for welding-sequence decision support in thin-plate ship structural members, the framework was evaluated across two scales: a four-weld-line specimen tested with tabular Q-learning, thermo-elasto-plastic FEM, and stereo-vision measurements, and the 22-weld-line block searched with a Deep Q-Network (DQN) and inherent-strain elastic FEM. At the specimen scale, simulating all 24 weld orders yielded a 0.037° end-angle spread, while stereo measurements recorded pre-to-post shifts of −0.12° for the best learned sequence and −0.17° for the worst.
Welding accounts for approximately 30% of manufacturing man-hours in large ships, yet local rapid heating and cooling induce residual stress and distortion around each joint. Across multiple weld lines, distortions accumulate and interact, reducing dimensional accuracy and often requiring costly corrective work such as strain removal. Because thermal history from preceding passes alters constraint states and residual stress distributions, each weld’s mechanical response depends on prior passes. Conventional planning relies on skilled workers’ empirical rules, such as simultaneous welding or starting from high-rigidity regions, which hinder skill transfer and lack quantitative validation. Meta-heuristic optimizers including genetic algorithms and simulated annealing evaluate complete sequences in isolation and require numerous costly FEM runs, whereas replay-based reinforcement learning redistributes each simulated trajectory across its partial sub-sequences.
In the authors’ closed-loop formulation, welding-sequence design is modeled as a sequential decision process interacting iteratively with an FEM environment. At each step, the state records executed weld history alongside optional physics descriptors, and the agent selects one unexecuted weld line under an epsilon-greedy policy while completed lines are masked as invalid actions. An episode ends once all weld lines are executed. Rather than entering the baseline state directly, FEM-computed deformation metrics, specifically end-angle deviation or maximum out-of-plane displacement, feed into a reward block that assigns higher values to smaller distortion. Action-value updates use a Q-table for the four-weld specimen, whereas the 22-weld ship block employs a value-based DQN stabilized by experience replay and a target network.
Specimen-scale validation used a longitudinally stiffened SM490A steel component simulating a ship’s bottom parallel section: a 9 mm thick triangular bottom plate measuring approximately 800 mm along one side and 500 mm in maximum width, topped by four 9 mm thick, 75 mm tall vertical plates roughly 899 mm and 599 mm long and spaced about 254 mm apart. Main gas metal arc welding followed tack welding (5 mm leg, 30 mm mounting beads plus 15 mm upper-edge tack welds), with inter-pass temperatures below 150 °C and three-point support. Both experiment and simulation executed the end-side vertical weld as two segments separated by a five-second arc interruption without adding a fifth pass. The in-house GPU-parallelized Idealized Explicit FEM solver modeled 78,052 solid elements and 108,937 nodes without self-weight, using geometric nonlinearity, von Mises plasticity, temperature-dependent linear isotropic hardening, and a moving volumetric heat source without unfused-interface thermal contact conductance.
To examine these heat-source and interface idealizations, a single-pass fillet-welding test placed thermocouples 0.5 mm, 2.0 mm, and 3.0 mm from the weld toe and on the back surface. At the closest sensor, measured and simulated peaks diverged at roughly 680 °C versus 1140 °C, while cooling trends, delayed back-surface heating, and bead cross-sections agreed more closely. Specimen distortion was quantified by the short-side end angle, derived from least-squares regression lines on 100 mm back-surface node segments against a 90° nominal reference. Across all 24 permutations, simulated end angles spanned 89.884° (best) to 89.847° (worst), a 0.037° difference. Over a 3,000 mm ship-panel-equivalent span, those angles represent edge offsets of about 6.1 mm and 8.0 mm, a 1.9 mm difference, compared with 1.6 mm and 2.1 mm (0.5 mm difference) over the 800 mm specimen span.
Pass-by-pass histories showed clear sequence dependence: the end-side vertical weld (Weld 1) produced the largest negative angular shift, Weld 2 caused a smaller negative shift, and Welds 3 and 4 gave smaller, history-dependent changes. Deferring Weld 1 to the final pass minimized deviation, whereas placing Weld 4 last tended to increase it. Tabular Q-learning encoded the state as a four-element integer vector recording each weld’s pass number (zero if unexecuted), updated with a quadratic immediate reward penalizing deviations from 90°, Q-values initialized in [0, 0.001], a 0.8 learning rate, a 0.99 discount factor, and exploration decaying from 1.0 to 0.2. Stereo-vision measurements confirmed the ranking: the best order shifted from 90.02° to 89.90° (−0.12°) and the worst from 89.97° to 89.80° (−0.17°). Normalized to 90° without modeling local imperfections (89.880° versus 89.830°), measured and simulated fields showed qualitative correspondence in downward deflection and edge-region trends, with local variations.
Scaling to a hull assembly, the researchers modeled a ship outer-shell block comprising a 20 m by 10.5 m bottom plate and a 20 m by 5 m vertical plate with longitudinal stiffeners and transverse members. The local analysis model spanned approximately 5,000 mm by 1,500 mm with a 16.0 mm bottom plate and 22 weld lines, creating roughly 1.1 × 10²¹ possible sequences and precluding exhaustive enumeration. To keep iterative learning tractable, the same in-house Idealized Explicit FEM solver ran large-deformation elastic analyses using the inherent-strain method on a shell mesh of 54,019 nodes and 50,388 elements. Six inherent-strain components, three membrane and three bending or curvature terms, were assigned near each weld from a database built via preliminary SM490 single-pass thermo-elasto-plastic fillet-welding simulations.
For the ship-block DQN, a baseline 22-dimensional binary welding-history vector was compared against states augmented with 10 coordinate descriptors, covering welded fraction, pairwise weld spacing, centroid, center offset, left–right, upper–lower, and longitudinal–transverse imbalances, and early adjacent-pair fraction, plus 9 inherent-strain intensity descriptors computed from area-weighted element-group magnitudes, forming a 41-dimensional state. Each network used three 16-unit hidden layers and 22 action outputs, trained with Adam (0.001 learning rate), a 0.99 discount factor, a 50,000-entry replay buffer, mini-batches of 50, soft target updates, and exploration decaying from 1.0 to 0.1. Descriptor-augmented runs seeded the replay buffer with preliminary sequences and used an elite-sequence archive to bias exploration toward spatially balanced candidates without altering standard Q-network updates. Maximum z-direction displacement mapped to a piecewise reward clipping displacements of 35 mm or more at −1, tested under terminal-only and dense rewards across 220-episode runs taking roughly 12 hours each on an Intel Xeon workstation.
Against a random baseline of 100 FEM-evaluated sequences (best 22.27 mm, median 25.37 mm), three-seed terminal-only runs under the 220-episode budget reduced mean best-training displacement from 21.66 mm with binary history to 18.09 mm with combined descriptors. Closer greedy evaluation scores indicated that physics descriptors mainly accelerated candidate discovery rather than altering the converged greedy policy within that budget. Under binary history, terminal-only and dense rewards yielded largely overlapping three-seed ranges, while multi-seed runs consistently reached the low-deformation regime. In a representative descriptor-augmented run, best-so-far displacement fell in discrete steps from 28.25 mm at episode 1 to 22.68 mm at episode 19, 20.56 mm at episode 53, and 15.31 mm at episode 95 before plateauing. Independent FEM replay of the episode 95 order gave 15.86 mm, 9.51 mm below the median random reference, diverging clearly after pass 11 with less concentrated contours at passes 14 and 22.
Grouping the 22 welds into four physical categories, base-plate longitudinal, vertical-plate longitudinal, base-side transverse, and vertical-side transverse, revealed an interpretable mechanical pattern. Area-weighted inherent-strain intensities were smallest for vertical-side transverse welds (about 8,800), intermediate for base-side transverse welds (about 16,000), and largest for longitudinal welds (about 36,000). Across the early (passes 1–7), middle (passes 8–14), and late (passes 15–22) stages, the 41-dimensional low-deformation sequence avoided base-side transverse welds initially, starting instead with four low-intensity vertical-side transverse welds and three base-plate longitudinal welds. Base-side transverse welds were introduced mainly during the middle and late stages, while high-intensity vertical-plate longitudinal welds were deferred to passes 15–22. This staging suppressed rapid initial deflection, moderated middle-stage accumulation, and prevented early localized distortion peaks.
In a single-seed exploratory extension to 1,000 episodes, 780 additional episodes improved binary-history greedy evaluation by roughly 1 mm, whereas combining coordinate-plus-inherent-strain descriptors with dense rewards gained about 5 mm through discrete discovery events, reaching 15.31 mm in training and 17.4 mm in evaluation. Because that check was paired by seed rather than averaged across seeds, the authors noted that broader multi-seed budget studies remain necessary. Other limitations include optimizing distortion alone without residual stress, joint quality, or productivity, running sequence search offline against FEM without in-process feedback, and training on a single ship-block geometry without testing transfer to modified plate thicknesses or stiffener spacings. As future directions, the authors identified multi-objective rewards, controlled comparisons with policy-gradient and actor-critic methods under a fixed FEM budget, and geometry-conditioned policies encoding weld position, orientation, and inherent-strain magnitude rather than fixed line numbers.
Subject of Research: Reinforcement learning optimization of welding sequences to mitigate distortion in ship structural components
Article Title: Investigation on welding sequence optimization for ship structural members using reinforcement learning
Article References: Wang, W., Maeda, S., Ikushima, K., Nishihara, K., Nakamura, T., Nagai, T., Okabe, T., Takeda, H., & Shibahara, M. (2026). Investigation on welding sequence optimization for ship structural members using reinforcement learning. Advanced Materials Joining, 1(1), Article 23. https://doi.org/10.1007/s44500-026-00028-7
Image Credits: AI Generated
DOI: 10.1007/s44500-026-00028-7
Keywords: welding sequence optimization, reinforcement learning, shipbuilding, structural distortion, finite element method, inherent strain method, thermo-elasto-plastic analysis, Deep Q-Network, Q-learning, computational mechanics, SM490A steel, hull construction, residual stress, stereo vision measurement, marine structures, assembly tolerance
Cite Scienmag News
Denise Maddox. (December 5, 2026). Reinforcement Learning Guides Welding Sequences to Reduce Hull Structural Distortion. Scienmag. https://scienmag.com/reinforcement-learning-guides-welding-sequences-to-reduce-hull-structural-distortion/
Denise Maddox. "Reinforcement Learning Guides Welding Sequences to Reduce Hull Structural Distortion." Scienmag, 5 December 2026, https://scienmag.com/reinforcement-learning-guides-welding-sequences-to-reduce-hull-structural-distortion/. Accessed 6 December 2026.
Denise Maddox. "Reinforcement Learning Guides Welding Sequences to Reduce Hull Structural Distortion." Scienmag. December 5, 2026. https://scienmag.com/reinforcement-learning-guides-welding-sequences-to-reduce-hull-structural-distortion/








