ConceptioArchivearXiv CS
arXiv CSopen access

A cross-process welding penetration status prediction algorithm based on unsupervised domain adaptation in laser and TIG welding

Unknown · 2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
artificialintelligenceknowledgerepresentationreasoning
artificial intelligence, reasoning, knowledge representation

A cross-process welding penetration status prediction algorithm based on unsupervised domain adaptation in laser and TIG welding Sen Li, Haichao Cui *, Chendong Shao, Yaqi Wang, Xinhua Tang Shanghai Key Laboratory of Materials Laser Processing and Modification, School of Materials Science and Engineering, Shanghai Jiao Tong University, Shanghai 200240, PR China. Abstract: Supervised deep learning has been widely used for weld penetration state classification; however, its performance often degrades significantly under domain shift, such as when transferring models between welding processes with distinct physical mechanisms—for instance, from arcdominated tungsten inert gas (TIG) welding to keyhole-based laser welding. To overcome this limitation, we propose an unsupervised domain adaptation (UDA) framework integrated with a gradual source domain expansion (GSDE) strategy. Evaluated on dedicated TIG and laser welding datasets, our approach achieves high accuracy in both same-process and cross-process transfer tasks. Specifically, it attains average accuracies of 90.65% on TIGFH and 90.72% on LSPS in sameprocess settings, surpassing a supervised baseline by 35.83% and 38.87%, respectively. More notably, in cross-process scenarios, it reaches 80.48% for TIG→Laser and 81.13% for Laser→TIG, improving upon the baseline by 43.39% and 43.40%. UMAP visualizations verify that the model learns domain-invariant features while maintaining discriminative class boundaries. This method considerably lowers the relabeling cost for new welding processes and enhances the versatility of intelligent monitoring across different welding systems. Keywords: Laser welding; TIG welding; Transfer learning; Unsupervised domain adaptation; Convolution neural network Nomenclature Adam

Adaptive moment estimation

ADETL

Adaptive domain enhancement transfer learning

AMP

Automatic mixed precision

BPP

Beam parameter product

CMOS

Complementary metal-oxide-semiconductor

CNN

Convolutional neural networks

CNN-LSTM

Convolutional neural network-long short-term memory

*

Corresponding author: [email protected]

DNN

Deep neural networks

FWHM

Full width at half maximum

GAN

Generative adversarial network

GSDE

Gradual source domain expansion

NBF

Narrow band filter

LAHW

Laser-arc hybrid welding

LSPS

Penetration state dataset for laser welding

PWM

Pulse width modulation

RBFNN

Radial basis function neural network

SDA

Supervised domain adaptation

SGD

Stochastic gradient descent

ST-MDLN

Semi-supervised transfer learning-based multi-domain learning network

SSDA

Semi-supervised domain adaptation

TIG

Tungsten inert gas

TIGFH

Fusion hole dataset for TIG

UMAP

Uniform manifold approximation and projection

UDA

Unsupervised domain adaptation

VIT

Vision transformer

WAAM

Wire arc additive manufacturing

1. Introduction Laser welding is a key technology in advanced manufacturing. It is distinguished by its high speed, deep penetration, and narrow heat-affected zones, making it pivotal for joining diverse metallic materials like stainless steel and aluminum alloys in critical industries such as automotive, aerospace, and energy[1]. TIG welding, characterized by high arc stability, ease of control, excellent bead quality, and the absence of spatter during the welding process, has become a primary choice for single-sided welding with double-sided formation processes in sectors such as petroleum pipelines, pressure vessels, shipbuilding, and aerospace[2]. In both processes, ensuring reliable fusion of the workpiece remains a key research focus. The welding process is an inherently complex system involving the coupling of multiple physical fields (optical, thermal, and electromagnetic). Consequently, the fusion state is significantly influenced by welding process parameters. The strong interdependence between process parameters and multi-physics effects presents substantial challenges to the modeling of welding processes. Accurate modeling of the welding process is not only critical for real-time control of the fusion state but also essential for addressing the bottleneck in process parameter optimization. In recent years, substantial advancements have been achieved in welding quality assessment by integrating sensor technology with machine learning, particularly deep learning methodologies. Early investigations predominantly concentrated on the extraction and analysis of information from individual sensors. For instance, Luo et al. [3] utilized a coaxial vision system combined with a

RBFNN to estimate the geometric shapes of laser-welded small holes and predict potential welding defects. Li et al. [4] innovatively devised a LAHW penetration depth monitoring approach based on CNN, enabling precise classification of welding penetration states and effective prediction of penetration depths using front-view molten pool images. Nevertheless, these models, which rely on single-process data, often yield satisfactory results only in specific scenarios. They frequently exhibit limited generalization in complex and dynamic industrial settings. This limitation complicates the accurate detection of subtle quality variations. Under consistent welding conditions, production environments inherently impose constrains on image quality and angles compared to controlled laboratory settings, while laboratory conditions fail to fully replicate the complexity of industrial scenarios. This results in a disparity in the feature space between datasets generated in laboratory environments and actual production data. The insufficient generalization capabilities of models lead to high-precision laboratory models being unable to meet the requirements of production environments. Consequently, the development of cross-process welding detection models faces the following critical challenges: 1) Differences in heat source and molten pool behaviors across various welding methods result in significant image heterogeneity between processes; 2) Models trained on a single process are incapable of capturing generalized multi-process features; 3) While joint training across multiple processes can improve generalization, it faces challenges such as high annotation and training costs, and incomplete scenario coverage. Therefore, it is essential to design cost-effective deep learning architectures that can integrate multi-scenario features and mitigate data distribution discrepancies. Such designs are crucial for advancing industrial intelligent welding detection systems. To address these challenges, researchers have systematically investigated the application of transfer learning methods in the field of welding, evolving from traditional pre-trained models to more advanced semi-supervised and unsupervised approaches. Early studies predominantly focused on utilizing pre-trained deep learning models as feature extractors, enabling cross-domain knowledge transfer through fine-tuning or parameter migration. For instance, in the context of classifying weld defects in X-ray inspection, Sawsen et al. [5] investigated transfer learning-based convolutional neural network models by fine-tuning and comparing five pre-trained models, thereby demonstrating the efficacy of transfer learning in small-sample weld defect classification tasks. Similarly, for fault diagnosis caused by variations in welding thickness during robotic spot welding, Noh et al. [6] proposed a robust fault diagnosis model based on parameter transfer learning. Additionally, Pan et al. [7] introduced a transfer learning-based TL-MobileNet model, achieving superior classification accuracy. To tackle the challenges of insufficient data in arc additive manufacturing, Shin et al. [8] employed convolutional neural networks to extract image features from multiple source materials, utilizing a progressive parameter freezing strategy to incrementally learn features across various source domains, thereby facilitating spheroidization defect detection in different welding materials. Although pre-trained models have made remarkable advancements, they typically rely on large-scale labeled data. To address this limitation, subsequent studies have progressively explored semi-supervised transfer learning approaches. For example, Kumar et al. [9] proposed a novel ST-MDLN model that substantially enhanced the segmentation performance of welding defect images by leveraging knowledge transferred from extensive unlabeled data. Dai et al. [10] introduced an ADETL framework that integrates self-supervised learning and continual

learning strategies, effectively utilizing incremental unlabeled data through parameter space and loss landscape analyses to improve classification accuracy for welding defect. Recently, UDA methods have attracted considerable attention due to their ability to operate without requiring labels in the target domain. The fundamental concept of UDA involves using labeled source domain data and unlabeled target domain data to learn invariant feature representations, enabling model to generalize well to the target domain [11]. Compared with conventional transfer learning methods, UDA eliminates the reliance on target domain labels, thereby significantly reducing data annotation costs and promoting broader applications in areas such as medical imaging [12], signal processing [13], and audio-video analysis [14]. For example, Zhou et al. [15] proposed a UDA-based approach to improve the generalization capability of predictive models for fusion/pore states in plasma arc welding, achieving cross-scenario predictions across different welding conditions without the need for labeled data. Furthermore, Zhang et al. [16] presented a dual-domain adaptive transfer learning strategy that not only aligns global edge distributions but also focuses on fine-grained conditional distribution alignment, incorporating multi-head self-attention mechanisms to boost the performance of feature extractors. Although the aforementioned studies have achieved significant progress in areas such as welding defect detection and status prediction, existing UDA methods predominantly focus on addressing domain shift issues within the same welding process. These shifts are typically caused by factors such as lighting variations, camera calibration discrepancies, or noise interference. However, in practical industrial applications, the diversity of welding processes and varying parameter settings lead to substantial differences in image features, thereby hindering the generalization of models to new welding processes. To tackle this challenge, this study introduces a novel cross-process UDA method aimed at bridging the feature gap between different welding processes, enabling penetration state prediction without requiring target domain labels. To support UDA research across welding processes, this paper constructs a specialized dataset that includes laser welding and TIG welding images captured by various industrial cameras and processed with different filtering schemes. To comprehensively evaluate the effectiveness of the proposed method, we conducted model visualization, ablation experiments, and UMAP visualization. Specifically, welding upper surface molten pool images from both the source and target domains are fed into the backbone network, and the discrepancies between the predicted results and the true states are jointly evaluated using multiple loss functions. To the best of our knowledge, no UDA-based penetration prediction methods for different welding processes have been reported thus far. This study is applicable not only to classifying penetration state in welding but also to intelligent monitoring in other domains. Potential applications include additive manufacturing, defect detection, and computational materials science.

2. Experimental details 2.1 Experimental system 2.1.1 TIG welding experimental platform The TIG welding experimental platform employed in this study comprises a TIG welding system, a motion control system, and a visual signal sensing system. The hardware configuration of

the TIG welding system mainly consists of a welding power supply, a welding torch, and a wire feeder. The welding power supply utilized is the TETRIX-351 model from EWM. An STM32 microcontroller governs the movement of the welding torch, the platform's operation, and the wire feeding process. It independently regulates the welding speed, torch orientation, and wire feeding rate with high precision. During the welding process, the workpiece follows a predefined trajectory along the X-axis relative to the welding torch. Furthermore, the initiation of the welding arc and the transmission of motion control signals are achieved by a serial interface connecting the industrial computer to the STM32 controller. The visual signal sensing system comprises a CMOS industrial camera (model: GS3-U341C6NIR), a 35 mm focal length lens, a compound filtering system, and an image acquisition module. The angle between the camera and the welding direction is adjustable to accommodate various operational requirements. To effectively reduce interference from welding plasma radiation, the system uses a compound filter assembly. This assembly consists of a 1064 nm narrowband filter (60 nm bandwidth, 0.01 % cutoff depth) cascaded with a neutral density filter (50 % transmittance). As illustrated in Fig. 1, the camera captures dynamic images of the molten pool in real time at a frame rate of 90 frames per second and transmits the captured data instantaneously to an industrial computer for storage and processing via the image acquisition system.

Off-axis monitoring system

Water cooling pipe

TIG Welding Systems

Air pipe 1064 nm Filter

Software trigger signal

Power line

CMOS

Penetrated

Lens

Non-Penetrated

TIG Power Air Wire feeder

Wire feeder

TIG torch Tungsten electrode Fusion hole Molten pool Tack welding

Welding direction

Weld

Welding workpiece

Fig. 1 Schematic diagram of TIG welding inspection system. 2.1.1 laser welding experimental platform The laser welding experimental platform is composed of three main modules: the laser welding system, the robotic motion control system, and the image acquisition system. The laser welding system includes a fiber laser, a water-cooling unit, and a laser head. The movement of the laser head is precisely controlled by a Yaskawa robot, which features a repeat positioning accuracy of 0.07 to

0.1 mm and enables laser welding at various locations through programming using a teach pendant. The output power of the fiber laser is regulated by the host computer, whereas other parameters, such as welding speed and defocus distance, are adjusted via the robotic control system. This study uses the YLS-20000 point-ring fiber laser. It has a maximum output power of 20 kW and operates at a 1080 nm wavelength. The laser is focused using a lens with a focal length of 165 mm. The beam parameter product (BPP) of the point laser is 3.385 𝑚𝑚𝑚𝑚 ∙ 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 , resulting in a focused spot diameter of 197.535 𝜇𝜇𝜇𝜇 and a Rayleigh length of 2.88 𝑚𝑚𝑚𝑚. In contrast, the ring laser exhibits a BPP of 15.377 𝑚𝑚𝑚𝑚 ∙ 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚, a focused spot diameter of 596.364 𝜇𝜇𝜇𝜇, and a Rayleigh length of 26.25 𝑚𝑚𝑚𝑚.

The laser experimental system integrates two CMOS cameras. The first camera (CMOS1) is configured with a coaxial optical path, oriented perpendicular to the welding workpiece. It enables real-time monitoring of the upper surface morphology and characteristics of the molten pool during the welding process. This camera is equipped with a flat light source emitting at a wavelength of 808 nm for auxiliary illumination. The second camera (CMOS2) adopts an off-axis optical path design, forming a 35° angle with the laser beam, and is employed for real-time observation of the upper surface morphology of the molten pool. This camera is paired with an auxiliary light source operating at a wavelength of 455 nm and incorporates a narrowband filter with a central wavelength of 455nm, a bandwidth of 60nm, and a cutoff depth of 0.01 %. Both CMOS cameras are set to an image acquisition frame rate of 200 FPS. To ensure the stability of the auxiliary light source intensity and enhance image quality, this study implements a PWM wave generator for synchronized control of the CMOS cameras and the auxiliary light sources. The PWM wave generator produces four identical PWM signals, two for driving the auxiliary light sources and the other two for triggering the CMOS cameras. A schematic diagram of the entire laser welding system is illustrated in Fig. 2.

Coaxial monitoring system

Coaxial CMOS

Onboard trigger signal CMOS1

808 nm Filter

Penetrated

Non-Penetrated

Fiber optics

Off-axis monitoring system CMOS2

Measurement beam

Synchronous trigger signal

Welding workpiece

535 nm Filter

Lens 535 nm

Penetrated

Air

Laser Welding Systems

808 nm area laser

Point laser beam Ring laser beam

Non-Penetrated

CMOS field of view Air 535 nm area laser Keyhole

Molten pool

Weld

Welding direction

Welding workpiece

Fig. 2 Schematic diagram of laser deep penetration welding inspection system. 2.2 Experimental method 2.2.1 TIG welding material TIG welding was performed on SUS304 stainless steel specimens with dimensions of 100 mm × 40 mm × 3 mm (length × width × height). The welding configuration consisted of a butt joint with a predefined gap between the two workpieces, as depicted in Fig. 3. During the welding process, a cerium-doped tungsten electrode with a diameter of 3.2 mm and ER308L filler wire with a diameter of 1.2 mm were employed. High-purity argon gas (≥99.99 %) was utilized as the shielding gas, with flow rates set to 15 𝐿𝐿/𝑚𝑚𝑚𝑚𝑚𝑚 for the front protection and 7.5 𝐿𝐿/𝑚𝑚𝑚𝑚𝑚𝑚 for the rear protection. The distance between the tungsten electrode and the workpiece was maintained at 3 mm. The chemical compositions of both the base material and the filler wire are detailed in Tab. 1. Tab. 1 The chemical composition of SUS304 and 308L welding wire (wt. %)[17] C

Si

Mn

S

P

Cr

Ni

Fe

SUS304

0.06

0.53

1.00

0.003

0.035

18.23

8.19

Bal.

ER308L

0.019

0.46

1.72

0.003

0.013

20.80

10.10

Bal.

100 mm

40 mm

3 mm

𝑍

𝑍

Y

𝑋

1.0/1.5/2.0/2.3 mm

Tack welding position

Welding direction

Fig. 3 Dimensions of samples and grooves for the TIG welding experiment. 2.2.2 Laser welding material The specimens utilized in the laser welding experiments were fabricated from COST-E material with dimensions of 100 mm × 40 mm × 50 mm (length × width × height). The geometric configuration of the workpieces consisted of a butt joint with a predefined V-groove and varied welding thicknesses, as depicted in Fig. 4, while their chemical composition is detailed in Tab. 2. During the welding process, the specimens remained stationary as the laser head moved along the weld seam direction. Shielding gas was delivered through three copper tubes arranged in parallel. The argon gas flow rate was set to 25 𝐿𝐿/𝑚𝑚𝑚𝑚𝑚𝑚 with a purity of 99.999 %. The lower edge of the protective gas nozzle was positioned 5 mm above the workpiece surface and 3 mm away from the laser beam, forming a 30° angle relative to the laser beam. 50 mm

𝑍

𝑋

𝑌

𝑍

6 mm

40 mm

100 mm

Welding direction 8/10/12/14 mm

Fig. 4 Dimensions of samples and grooves for the Laser welding experiment Tab. 2 Chemical composition of COST-E [18]. COSTE

C

Mn

Si

Ni

Cr

Mo

W

Nb

V

Fe

(%)

0.12

0.45

0.1

0.75

10.5

1.0

1.0

0.05

0.2

Bal.

2.3 Welding Datasets Due to the geometric characteristics of the welded components, a through-hole forms during the TIG welding process. The presence of this hole can be used to determine whether reliable singlesided welding with double-sided formation has been achieved[19]. The molten metal, influenced by arc force and surface tension, surrounds the arc, thereby creating a fusion hole. In the images, this is represented as a low-intensity region located between a downward-pointing triangular highintensity area (the arc) and an approximately circular high-intensity area (the molten metal). Furthermore, beneath the semi-circular molten pool, there exists a small rectangular high-intensity region, which results from the reflection of molten metal that solidifies later within the weld seam. Due to the angular position between the CMOS sensor and the welding gun, the upper edge of the fusion hole corresponds to the projection of the boundary line of the lower surface fusion hole of the workpiece onto the camera's imaging plane, while the lower boundary represents the projection of the boundary line of the upper surface fusion hole onto the imaging plane. When the fusion hole is absent, the molten metal accumulates only at the edges of the workpieces, leaving gaps unfilled and resulting in welding defects. Consequently, TIG welding can be classified into two primary states: the penetration state, characterized by a stable fusion hole, and the non-penetration state, marked by the disappearance of the fusion hole. These two states collectively constitute the classification dataset for TIG welding. The images captured during the TIG welding process are categorized into three sub-datasets, denoted as TIGFH-01, TIGFH-02, and TIGFH-03 in this study.֦ The welding parameters include welding current (𝐼𝐼), welding speed (𝑉𝑉𝑤𝑤 ), workpiece thickness (𝑇𝑇), workpiece gap (Gap), and wire feed rate (WFR). The welding parameters and camera settings for the three sub-datasets are presented in Tab. 3. Tab. 3 The experimental, equipment and parameter conditions of TIG. TIGFH-01[20]

TIGFH-02[21]

TIGFH-03[22]

[85.0,90.0,95.0,100.0]

[130.0,135.0,140.0]

[120.0,130.0,140.0]

𝑉𝑉𝑤𝑤 (m/min)

[0.07,0.08,0.09,0.10,0.11,0.12]

0.20

[0.18,0.20,0.22]

3

3

3

Gap (mm)

1.0

[1.5,2.0]

[1.0,1.5,2.0,2.3]

𝐼𝐼 (A)

𝑇𝑇 (mm)

𝑊𝑊𝑊𝑊𝑊𝑊 (m/min)

N/A

0.75

[0.5,0.6,0.7,0.8]

Shielding gas flow rate (L/min)

10.0

10

15.0

Camera angle (°)

45.0

50.0

60.0

1064 nm NBF

1064 nm NBF

1064 nm NBF

FWHM: 30 nm

FWHM: 30 nm

FWHM: 30 nm

Exposure time (μs)

5500

6500

8000

Gamma

1.5

1.45

1.53

Black level (%)

1.1

1.0

1.95

Dataset samples

4880

4880

4760

Filter scheme

Fig. 5 Images in the TIGFH and LSPS datasets. There are three types of images acquired during laser welding, which are designated as LSPS01, LSPS-02, and LSPS-03 in this study. The images in the LSPS-01 dataset were captured using CMOS1. The LSPS-02 images were obtained with CMOS2. While the LSPS-03 images were also captured by CMOS2 but under different conditions. Specifically, for LSPS-03, the images were acquired without an external light source or a narrowband filter, allowing the camera to directly record color images of the molten pool location. Welding parameters include spot laser power (𝑃𝑃𝑑𝑑 ), ring laser power (𝑃𝑃𝑟𝑟 ), defocusing amount (𝐷𝐷𝑓𝑓 ), welding speed (𝑉𝑉𝑤𝑤 ), and workpiece thickness (T).

Detailed welding parameters and camera settings are presented in Tab. 4. Based on the aforementioned analysis, both TIG and laser welding processes are categorized into two primary states: penetration and non-penetration, corresponding to the presence or absence of a stable fusion hole/keyhole within the molten pool. Therefore, this study uniformly classifies the laser welding and TIG welding processes into two categories: penetrated and non-penetrated. Fig. 5 presents images from the two datasets. Tab. 4 The experimental, equipment and parameter conditions of Laser weld. LSPS-01

LSPS-02

LSPS-03

[3.0,4.0,5.0,6.0]

[7.0,8.0,9.0]

[3.0,4.0,5.0]

𝑃𝑃𝑟𝑟 (kW)

[0.0,1.0,2.0,3.0,4.0]

[0.0, 1.0, 2.0, 3.0]

[0.0, 1.0]

[0.0, -5.0]

[5.0, 0.0, -5.0, -7.0]

0.0

𝑉𝑉𝑤𝑤 (min/min)

[0.10,0.15,0.20]

[0.10,0.15,0.20]

[0.10,0.20]

[4.0,6.0,8.0,9.0,10.0]

[8.0,10.0,12.0,14.0]

[4.0,6.0]

Camera sensor

1/4″ Mono CMOS

1/2.9" COLOR CMOS

1/2.9" COLOR CMOS

𝑃𝑃𝑑𝑑 (kW) 𝐷𝐷𝑓𝑓 (mm) 𝑇𝑇 (mm)

Camera angle (°)

0.0

0.0

60.0

Filter scheme

808 nm NBF FWHM: 30 nm

455 nm NBF FWHM: 30 nm

N/A

Exposure time (μs)

5

5

36

Gamma

1.0

1.5

1.5

Black level (%)

1.0

1.95

1.95

Dataset samples

4530

4782

4342

3. Model architecture The overall architecture of the UDA training network is illustrated in Fig. 6.

𝑮𝟑

Classifier Layer

Source Domain

𝑮𝟏

Feature Extractor

(ResNet-50)

𝑮𝟐

𝑦𝑦𝑠𝑠 𝑮𝒅

Multiple Bottlenecks

Discriminator

𝑓𝑓𝑠𝑠

Target Domain

Feature Extractor

(ResNet-50)

𝑮𝟐

𝑮𝒅

Multiple Bottlenecks

Adversarial Loss Semi-selfsupervised Loss

MixMatch

𝑮𝟏

Classification Loss

Semantic Loss

Discriminator

𝑮𝟑

Classifier Layer

𝑓𝑓𝑡𝑡

𝑦𝑦𝑡𝑡

Fig. 6 The overall structure of the UDA model with three new loss functions 3.1 Unsupervised domain adaptation In unsupervised domain adaptation, the primary objective is to minimize the discrepancy between the source domain and the target domain. For the source domain 𝐷𝐷𝑠𝑠 , a set of labeled 𝑛𝑛𝑠𝑠 samples 𝐷𝐷𝑠𝑠 = (𝑥𝑥𝐼𝐼,𝑠𝑠 , 𝑦𝑦𝐼𝐼,𝑠𝑠 )𝑖𝑖=1 is provided, where 𝑥𝑥𝐼𝐼,𝑠𝑠 denotes a sample and 𝑦𝑦𝐼𝐼,𝑠𝑠 represents its corresponding label. Conversely, the target domain 𝐷𝐷𝑡𝑡 consists only of unlabeled samples 𝐷𝐷𝑡𝑡 = 𝑛𝑛𝑡𝑡 (𝑥𝑥𝐼𝐼,𝑡𝑡 )𝑖𝑖=1 . The goal is to estimate the target domain labels 𝑦𝑦�𝐼𝐼,𝑡𝑡 by using a shared feature space. This process must account for both the similarities and differences between the source and target feature spaces. This study focuses on a closed-set setting, where the source domain and target domain share identical label categories, denoted as 𝐶𝐶𝑠𝑠 = 𝐶𝐶𝑡𝑡 . When applied to laser welding images and TIG welding images, this corresponds to classifying lack of penetration versus penetration in both the source and target domain images. Notably, in UDA methods, the labels of target domain data are utilized exclusively for evaluating model performance and are not required during the training process, thereby facilitating broader deployment and application of the model. Additionally, the molten pool feature transfer method proposed in this paper can also be extended to scenarios involving labeled molten pool images, specifically in SDA and SSDA. This study employs the GSDE strategy, which involves iteratively training the model multiple times. In each iteration, the network training is restarted from scratch with reinitialized weights. Additionally, the number of pseudo-source samples is progressively increased to incorporate prior knowledge acquired in the previous iteration. Specifically, the strategy trains the network for N iterations, where in each iteration, the network weights are reinitialized, and the source domain is expanded by incorporating target domain samples: 𝐷𝐷′ (𝑛𝑛)𝑠𝑠 = 𝐷𝐷(𝑠𝑠)⋃𝐷𝐷(𝑛𝑛)′𝑡𝑡 , where 𝐷𝐷(𝑛𝑛)′𝑡𝑡 is a subset of 𝐷𝐷(𝑡𝑡) . Based on the prediction results from the preceding iteration, pseudo-labels are 𝑛𝑛𝑡𝑡 assigned to the samples in the subset 𝐷𝐷(𝑛𝑛)′𝑡𝑡 , which can be expressed as: 𝐷𝐷(𝑛𝑛)′𝑡𝑡 = (𝑥𝑥𝐼𝐼,𝑡𝑡 , 𝑦𝑦𝐼𝐼,𝑡𝑡 )𝑖𝑖=1 . This training strategy allows the use of substantial target domain data as pseudo-source data. However, it introduces a potential drawback: the risk of adding misclassified samples to the pseudo-

source dataset. Such errors are undoubtedly detrimental to domain adaptation. To mitigate this issue, the present study selectively incorporates samples with the highest prediction confidence as pseudosource data, thereby reducing the likelihood of using incorrectly classified samples. Specifically, during the n-th training iteration, the top (𝑛𝑛 − 1)/𝑁𝑁 proportion of data samples with the highest confidence are selected, and their pseudo-labels are added to the source domain as pseudo-source data. Alg. 1 presents the pseudo-code of the GSDE algorithm. Alg. 1 Algorithm of the proposed gradual source domain expansion. 01: Initialize pseudo-labeled target set 𝐷𝐷𝑡𝑡′ = ∅, 𝐷𝐷𝑠𝑠′ = 𝐷𝐷𝑠𝑠 02: for n=1 to N do // GSDE Iteration Loop 03: Initialize weights of 𝐺𝐺1 , 𝐺𝐺3 , 𝐺𝐺3 , 𝐺𝐺𝑑𝑑 04: for e=1 to E do // Epoch Training Loop 05: for each batch {(𝑥𝑥𝑠𝑠 , 𝑦𝑦𝑡𝑡 ), 𝑥𝑥𝑡𝑡 } from 𝐷𝐷𝑠𝑠′ and 𝐷𝐷𝑡𝑡 do 06: // Feature Extraction 07: 𝑓𝑓𝑠𝑠 = 𝐺𝐺2 �𝐺𝐺1 (𝑥𝑥𝑠𝑠 )�, 𝑓𝑓𝑡𝑡 = 𝐺𝐺2 �𝐺𝐺1 (𝑥𝑥𝑡𝑡 )� 08: 𝑝𝑝𝑠𝑠 = 𝐺𝐺3 (𝑓𝑓𝑠𝑠 ), 𝑝𝑝𝑡𝑡 = 𝐺𝐺3 (𝑓𝑓𝑡𝑡 ) 09: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21:

// Loss Calculation 𝐿𝐿 = 𝐿𝐿𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 (𝑝𝑝𝑠𝑠 , 𝑦𝑦𝑠𝑠 ) + 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 (𝑓𝑓𝑠𝑠 , 𝑝𝑝𝑠𝑠 , 𝑓𝑓𝑡𝑡 , 𝑝𝑝𝑡𝑡 , 𝐺𝐺𝑑𝑑 ) + 𝐿𝐿𝑀𝑀𝑀𝑀 (𝑓𝑓𝑠𝑠 , 𝑝𝑝𝑠𝑠 , 𝑓𝑓𝑡𝑡 , 𝑝𝑝𝑡𝑡 ) + 𝐿𝐿𝑆𝑆𝑆𝑆 (𝑥𝑥𝑠𝑠 , 𝑦𝑦𝑡𝑡 , 𝑥𝑥𝑡𝑡 ) Update weights of 𝐺𝐺1 , 𝐺𝐺3 , 𝐺𝐺3 , 𝐺𝐺𝑑𝑑 by backpropagating 𝐿𝐿 end for end for if 𝑛𝑛 < 𝑁𝑁 then 𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴 = [] for each 𝑥𝑥𝑡𝑡𝑡𝑡 ∈ 𝐷𝐷𝑡𝑡 do 𝑝𝑝𝑡𝑡𝑡𝑡 = 𝐺𝐺3 (𝐺𝐺2 (𝐺𝐺1 (𝑥𝑥𝑡𝑡𝑡𝑡 ))) 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑖𝑖 = 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶(𝑝𝑝𝑡𝑡𝑡𝑡 ) // using probability score and Eq.7 𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴. 𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎(𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑖𝑖 ) end for ′ 𝐷𝐷𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 = 𝐷𝐷𝑡𝑡 ∈ 𝑇𝑇𝑇𝑇𝑇𝑇

𝑛𝑛−1 𝑁𝑁

𝑜𝑜𝑜𝑜 𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴, 𝐷𝐷𝑡𝑡′ = ∅

′ 22: for each 𝑥𝑥𝑖𝑖 ∈ 𝐷𝐷𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 do 23: 𝑦𝑦�𝑖𝑖 = 𝑎𝑎𝑎𝑎𝑎𝑎 𝑚𝑚𝑚𝑚𝑚𝑚(𝐺𝐺3 (𝐺𝐺2 (𝐺𝐺1 (𝑥𝑥𝑖𝑖 )))) 24: Add (𝑥𝑥𝑖𝑖 , 𝑦𝑦�𝑖𝑖 ) to 𝐷𝐷𝑡𝑡′ 25: end for 26: end if 27: end for 28: Return 𝐺𝐺1 , 𝐺𝐺2 , 𝐺𝐺3

In domain adaptation tasks, two prevalent strategies are adversarial adaptation [23] and entropy minimization adaptation [24]. Adversarial adaptation aims to generate domain-invariant features through adversarial training, thereby aligning the feature spaces of the source and target domains. Entropy minimization adaptation, conversely, focuses on reducing the predictive entropy of target samples by increasing the model's predictive confidence for target domain data. This drives sample points in the target domain away from the classification decision boundary, consequently improving the model's domain adaptation performance. The fundamental principles of GSDE are illustrated in

Fig. 7 (Adversarial Adaptation) and Fig. 8 (Entropy Minimization). Initially, the feature distributions of the source and target domains exhibit significant domain shift. Through the adversarial training mechanism, the feature extractor progressively learns to generate domaininvariant feature representations. Mathematically, this process can be interpreted as the progressive optimization of statistical distance metrics between the feature spaces of the source and target domains, ultimately achieving cross-domain feature distribution alignment. As depicted in the figures, the samples of the source and target domains gradually converge within the same feature space. It is crucial to emphasize that adversarial adaptation essentially represents a class-agnostic global alignment strategy. As shown in Fig. 7(b), despite the feature spaces of the two domains exhibiting a tendency toward consistency in their overall distribution, the absence of fine-grained class constraints may result in some target domain samples being misclassified due to falling within the misjudgment region of the source domain classification boundary. This indicates that achieving mere alignment of feature space does not ensure the consistency of the conditional distributions 𝑃𝑃(𝑦𝑦|𝑥𝑥𝑠𝑠 ) and 𝑃𝑃(𝑦𝑦|𝑥𝑥𝑡𝑡 ). Consequently, a pseudo-source data guidance mechanism is introduced. The core implementation workflow is shown in Fig. 7(c) and (d). By creating a dynamic pseudo-source domain using high-confidence pseudo-labeled samples and their corresponding pseudo-labels screened during the preceding iterative training process, class-conditional anchor points are established within the feature space The main challenge in entropy minimization adaptation involves the misclassification of the decision boundary within the target domain, as illustrated in Fig. 8(a). This issue frequently leads to the accumulation of early-stage errors, especially for samples located near the decision boundary (Fig. 8(b)). By introducing high-confidence pseudo-source labels, the alignment of the decision boundary can be effectively guided across both the source and target domains, thereby ensuring classification consistency (Fig. 8(c)). As a result, the model demonstrates superior performance during the initial stages of training (Fig. 8(d)). In summary, GSDE combines adversarial adaptation with entropy minimization strategies, progressively incorporating high-confidence pseudo-label samples to create a continuous optimization space that transitions from global alignment to finegrained category alignment. Additionally, pseudo-source samples mitigate error accumulation and enhance the model's resilience to noise in the target domain.

(a)

(b)

(a) Start of alignment

(b) End of alignment

(c)

(d)

(c) Start of alignment with pseudo-source

(d) End of alignment with pseudo-source

Fig. 7 Schematic of adversarial adaptation. During the alignment of the source and target domains (a), some samples may be misclassified (b). In a new round of training, using high-confidence target domain samples as pseudo-source samples (c) helps to guide the adaptation process, resulting in improved domain adaptation performance (d). (a)

(b)

(a) Start of training

(b) End of training

(c)

(d)

(c) Start of training with pseudo-source

(d) End of training with pseudo-source

Source Samples

Target Samples

Pseudo Samples

Confident Samples

Decision Boundary

Fig. 8 Schematic of entropy minimization adaptation. Because the classifier and target domain samples are not aligned (a), samples may ultimately be misclassified (b). Using high-confidence target domain samples as pseudo-source samples helps to guide the classifier (and its decision boundary) to adjust and adapt to the target domain samples (c), resulting in improved domain adaptation performance (d).

3.2 Transfer loss functions This section elaborates on the four loss functions utilized in the transfer learning network introduced in this study, namely the classification loss 𝐿𝐿𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 , the adversarial loss 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 , the semantic loss 𝐿𝐿𝑀𝑀𝑀𝑀 , and the semi-supervised loss 𝐿𝐿𝑆𝑆𝑆𝑆 : 𝐿𝐿 = 𝐿𝐿𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 + 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 + 𝐿𝐿𝑀𝑀𝑀𝑀 + 𝐿𝐿𝑆𝑆𝑆𝑆

(1)

Among these, the classification loss 𝐿𝐿𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 is concurrently applied to both the source domain 𝐷𝐷 and the extended source domain 𝐷𝐷′ . To enhance the model's transferability, it is a common approach to minimize the classification loss while incorporating additional loss functions. In this paper, the classification loss 𝐿𝐿𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 is expressed as follows: 𝑁𝑁𝑠𝑠

1 𝐿𝐿𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 = � 𝐿𝐿𝑐𝑐𝑐𝑐 �𝐺𝐺3 �𝑓𝑓𝑖𝑖,𝑠𝑠 �, 𝑦𝑦𝑖𝑖,𝑠𝑠 � 𝑁𝑁𝑠𝑠 𝑖𝑖=1

(2)

where 𝐿𝐿𝑐𝑐𝑐𝑐 denotes the cross-entropy loss, and 𝐺𝐺3 represents the domain classification network.

Furthermore, this study incorporates three additional adaptive loss functions to provide supplementary support. The adversarial loss 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 implicitly aligns the global distributions of the source and target domains through adversarial training. The semantic loss function 𝐿𝐿𝑀𝑀𝑀𝑀 concurrently models both global distributions and local semantic relationships, such as inter-class similarities, thereby mitigating biases inherent in single alignment approaches. The semi-supervised loss functions 𝐿𝐿𝑆𝑆𝑆𝑆 is utilized to enhance the model’s ability to extract invariant features from augmented images. 3.2.1 Adversarial loss: 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴

The core concept of adversarial loss is to generate domain-invariant feature representations through adversarial training between the feature extractor (𝐺𝐺1 , 𝐺𝐺2 ) and a domain discriminator (𝐺𝐺𝑑𝑑 ). This process involves two competing objectives. First, 𝐺𝐺𝑑𝑑 is trained specifically to distinguish the origin of feature representations (i.e., whether they are from the source or target domain). Concurrently, the feature extractor is trained to produce features that are indistinguishable to 𝐺𝐺𝑑𝑑 . This is achieved by a gradient reversal layer, which inverts the backpropagated gradients from the discriminator. This mechanism compels the feature extractor to learn in a direction that maximizes 𝐺𝐺𝑑𝑑 's error, thereby forcing the alignment of feature distributions from both domains. Given the substantial discrepancies between the laser and TIG welding datasets, this adversarial loss was essential. In this study, the CDAN [25] network is utilized to construct 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 : 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 = 𝜆𝜆 ∙ 𝐿𝐿𝐵𝐵𝐵𝐵𝐵𝐵 �𝐺𝐺𝑑𝑑 ��𝑓𝑓𝑖𝑖 ⊗ 𝐺𝐺3 (𝑓𝑓𝑖𝑖 )�, 𝑑𝑑𝑖𝑖 ��

(3)

where 𝑓𝑓𝑖𝑖 denotes the features of sample 𝑖𝑖 and 𝑑𝑑𝑖𝑖 is the domain label. Consistent with CDAN, this study also employs a gradually increasing scaling factor 𝜆𝜆 to control the adversarial loss. A gradient reversal layer is inserted before the domain classification network, aiming to transform the training objective from distinguishing different domains into generating domain-

invariant features that are challenging to discriminate. 3.2.2 Semantic loss: 𝐿𝐿𝑀𝑀𝑀𝑀

In this study, the second loss function is the moving semantic transfer loss which was introduced in MSTN [26]. Within the feature space, each class is associated with a centroid that represents the mean feature vector of all samples belonging to that class. The semantic loss works by minimizing the distance between the centroids of corresponding classes in the source and target domains. This process ensures that these centroids remain close in the feature space. This methodology ensures that identical classes across different domains exhibit similar feature representations. 𝐾𝐾

𝐿𝐿𝑀𝑀𝑀𝑀 = � 𝐷𝐷�𝐶𝐶𝑠𝑠𝑘𝑘 , 𝐶𝐶𝑡𝑡𝑘𝑘 �

(4)

𝑘𝑘=1

where 𝐶𝐶𝑠𝑠𝑘𝑘 and 𝐶𝐶𝑡𝑡𝑘𝑘 represent the centroids of the k-th class in the source and target domains, respectively, and D is the squared Euclidean distance, defined as 𝐷𝐷(𝑥𝑥, 𝑥𝑥 ′ ) = ‖𝑥𝑥 − 𝑥𝑥 ′ ‖2 . This approach explicitly minimizes the distance between the centroids of the same class to achieve class alignment. Inspired by recent deep clustering-based methods [27,28], Thomas et al. [29] further extended this loss term by also increasing the distance between centroids of different classes: 𝐾𝐾

𝐾𝐾 𝐾𝐾 𝑗𝑗 𝑗𝑗 𝑗𝑗 𝑘𝑘 𝑘𝑘 𝐿𝐿𝑀𝑀𝑀𝑀 = � 𝜆𝜆 ⋅ 𝛩𝛩�𝐶𝐶𝑠𝑠 , 𝐶𝐶𝑡𝑡 � + � � 𝛩𝛩�𝐶𝐶𝑠𝑠𝑘𝑘 , 𝐶𝐶𝑠𝑠 � + 𝜆𝜆 ⋅ 𝛩𝛩�𝐶𝐶𝑠𝑠𝑘𝑘 , 𝐶𝐶𝑡𝑡 � + 𝜆𝜆 ⋅ 𝛩𝛩�𝐶𝐶𝑡𝑡𝑘𝑘 , 𝐶𝐶𝑡𝑡 � 𝑘𝑘=1 𝑘𝑘=1 𝑗𝑗≠𝑘𝑘

(5)

where Θ represents the cosine similarity function, which calculates the cosine of the angle between two vectors. A higher value signifies greater similarity between the vectors, whereas a x·𝑥𝑥 ′

lower value indicates lesser similarity. It is formally defined as: (𝑥𝑥, 𝑥𝑥 ′ ) = ‖𝑥𝑥‖∗‖𝑥𝑥′ ‖. The three newly introduced terms are:

Intra-source-domain inter-class separation term ∑∑𝜣𝜣(Cks ,Cjs ) ): This term aims to maximize the distance between the centroids of different classes in the source domain, thereby enhancing the discriminative power of the source features. j

Cross-domain inter-class separation term Θ(Cks ,Ct ): This term ensures that the centroids of different class in the source domain do not approach those in the target domain, thus avoiding potential cross-domain mismatches. j

Intra-target-domain inter-class separation term Θ(Ckt ,Ct ): This term implicitly encourages feature separation among different classes within the target domain. 3.2.3 Semi-self-supervised loss: 𝐿𝐿𝑆𝑆𝑆𝑆

This study employs the MixMatch [30] as the loss function for semi-supervised learning. The algorithm integrates consistency regularization, MixUp regularization, and an entropy minimization

strategy. Specifically, consistency regularization enhances model robustness by applying multiple data augmentations (such as flipping and cropping) to unlabeled data and constraining the model to produce consistent predictive distributions across different augmented versions of the same data. This constraint is enforced using an L2 loss function. MixUp regularization generates new training samples through linear interpolation between labeled and unlabeled data, thereby smoothing the decision boundaries and improving the model's generalization capabilities. Additionally, the entropy minimization strategy employs a sharpening operation to scale the predictive distributions of unlabeled data, reducing their entropy and guiding the decision boundaries away from high-density data regions. 3.3 Additional improvements 3.3.1 Multiple bottlenecks Inspired by [31] , this study adopts a parallel multiple bottlenecks architecture. In the network structure, 𝑘𝑘 bottleneck structures are deployed in parallel, and a differentiated initialization strategy is utilized to perform a weighted average fusion of the outputs of each bottleneck. This multiple bottleneck collaborative mechanism improves model performance in two dimensions: first, each bottleneck within the parallel structure employs independently initialized parameters, thereby effectively breaking the symmetry constraints of the parameter space; second, the multi-path information processing mechanism promotes the model to explore a broader solution space, thus preventing the optimization process from becoming trapped in local minima. The input to each bottleneck is the feature map from the final pooling layer of the ResNet-50 backbone, with a shape of ( 𝐵𝐵 × 𝐶𝐶 × 𝑊𝑊 × 𝐻𝐻 ). Each bottleneck processes this input into a feature vector of shape (𝐵𝐵 × 𝐶𝐶 × 1 × 1). The outputs from all k bottlenecks are then concatenated and fused through a weighted average, yielding a final output of shape (𝐵𝐵 × 𝐶𝐶 × 𝑘𝑘 ). The structure of the multiple bottlenecks is shown in Fig. 9. Mathematically, the architecture can be formally defined as follows: 𝐺𝐺2 (𝑦𝑦𝑏𝑏 ) =

1 � 𝐵𝐵𝑘𝑘 (𝑦𝑦𝑏𝑏 ) 𝑘𝑘

(6)

𝑚𝑚

where, 𝑦𝑦𝑏𝑏 represents the output of the backbone network, and 𝐵𝐵𝑘𝑘 denotes the k-th bottleneck. 1 × 1 × 2048

Scale

AdaptiveAvgPool

𝐵𝐵 × 𝑘𝑘 × 2048

Output

1 × 1 × 𝐶𝐶

7 × 7 × 2048

Sigmoid

SE Block

Concatenate

Use different initializations

𝐻𝐻 × 𝑊𝑊 × 𝐶𝐶

FC

7 × 7 × 2048

Conv2d Bottleneck

Bottleneck

Bottleneck

Input 𝐵𝐵 × 7 × 7 × 2048

Bottleneck

ReLU

7 × 7 × 1024

SE Block

FC

7 × 7 × 1024

1 × 1 × 𝐶𝐶

Conv2d

7 × 7 × 2048

SE Block

Bottleneck

AdaptiveAvgPool Input 𝐻𝐻 × 𝑊𝑊 × 𝐶𝐶

Fig. 9 Schematics of the multiple bottlenecks 3.3.2 Scoring of pseudo labels

SE Block

In this study, we also introduce the pseudo-label scoring algorithm presented in [29]: In addition to utilizing the classifier's probability score, this study further employs a neighborhood aggregation score: 𝑝𝑝𝑖𝑖𝑎𝑎𝑎𝑎𝑎𝑎 =

1 �𝑝𝑝 + 𝑝𝑝𝑖𝑖𝑁𝑁𝑁𝑁 � 2 𝑖𝑖

(7)

1 � 𝑝𝑝(𝑗𝑗) 𝑚𝑚

(8)

The neighborhood aggregation score is obtained by identifying the m nearest neighbors in the feature space and aggregating their classification probability scores. Unlike methods that rely solely on class centroids, the neighborhood aggregation approach can more effectively capture local data structures, thereby improving the quality of the pseudo-labels. It can be expressed as: 𝑝𝑝𝑖𝑖𝑁𝑁𝑁𝑁 =

𝑗𝑗∈𝑁𝑁

where 𝑁𝑁 is the set of all target data, and 𝑝𝑝(𝑗𝑗) represents the soft prediction of the j-th target data point, i.e., the probability distribution corresponding to that target data point.

4. Results and discussion This study evaluates the proposed method using two welding process datasets. The experimental model is implemented within the PyTorch framework, with the training environment configured as follows: an Intel i7-13900KF CPU, a NVIDIA RTX 2080 Ti GPU, and 32GB of memory. The model's evaluation metric is accuracy (𝐴𝐴𝐴𝐴𝐴𝐴), which is calculated as follows: 𝐴𝐴𝐴𝐴𝐴𝐴 =

𝑇𝑇𝑇𝑇 + 𝑇𝑇𝑇𝑇 𝑇𝑇𝑇𝑇 + 𝑇𝑇𝑇𝑇 + 𝐹𝐹𝐹𝐹 + 𝐹𝐹𝐹𝐹

(9)

where TP (true positive), FP (false positive), FN (false negative), and TN (true negative) represent the number of correctly and incorrectly classified samples. 4.1 Baseline network To systematically evaluate the performance of various transfer learning strategies, this study designed three baseline networks. Baseline-1 was trained exclusively on source domain data and subsequently evaluated on target domain data. Baseline-2 underwent initial pre-training on source domain data, followed by comprehensive fine-tuning of all parameters using target domain data. The final model performance was assessed jointly on both source and target domain datasets. Baseline-3 followed a similar training and evaluation procedure as Baseline-2; however, during the fine-tuning phase, only the parameters of the classification layer and the last convolutional layer were unfrozen, while the remaining network parameters remained frozen. Under identical welding conditions, the performances of the three baseline networks are summarized in Fig. 10 and Fig. 11, with the changes in accuracy (presented in parentheses) indicating the relative improvements or declines compared to Baseline-1. The training parameters are delineated as follows: the dataset is partitioned into training and validation subsets in an 8:2 ratio; the optimizer employed is Adam [32]

with an initial learning rate of 0.001 and the OneCycleLR strategy for dynamic adjustment; the batch size is established at 64; the number of training epochs is set to 200; and AMP training is activated to enhance computational efficiency, concurrently recording the best performance results on the validation set.֦ All three baseline networks are trained using ResNet50 [33].

Fig. 10 The baseline’s accuracy results on TIGFH dataset. (a) The accuracy results on 𝐷𝐷𝑠𝑠 . (b) The accuracy results on 𝐷𝐷𝑡𝑡 .(c) The average accuracy results on TIGFH dataset. (For an explanation of the color references in the legend of this figure, please refer to the online version of this paper.)

Fig. 11 The baseline’s accuracy results on LSPS dataset. (a) The accuracy results on 𝐷𝐷𝑠𝑠 . (b) The accuracy results on 𝐷𝐷𝑡𝑡 .(c) The average accuracy results on LSPS dataset. (For an explanation of the color references in the legend of this figure, please refer to the online version of this paper.) The experimental results indicate that the three baseline networks establish the performance boundaries of three transfer learning strategies: zero-shot adaptation (Baseline-1), full fine-tuning (Baseline-2), and selective fine-tuning (Baseline-3). Baseline-1 exhibits high accuracy on the source domain dataset; however, its accuracy significantly decreases when evaluated on the target domain. This highlights substantial differences in the feature distributions between the source and target domains, suggesting that a single model is insufficient to effectively encompass the feature spaces of both domains. Further analysis reveals a positive correlation between the performance differences among subsets of the target domain (e.g., T3 → T1: 58.66 %) and the degree of overlap in their respective feature spaces, thereby confirming the critical role of feature space overlap in crossdomain generalization. Baseline-2 employs a pretraining followed by full-parameter fine-tuning strategy, which significantly enhances target domain accuracy (TIGFH: +43.83 %, LSPS: +47.23 %) but leads to a degradation of source domain performance (TIGFH: -22.36 %, LSPS: -24.41 %). This suggests that the model experiences difficulty in retaining knowledge acquired from the source domain while adapting to the target domain, a phenomenon referred to as catastrophic forgetting [34]. This highlights an inherent conflict between straightforward parameter-sharing approaches and the goal of improving cross-domain generalization capabilities. To mitigate catastrophic forgetting, the Baseline-3 network restricts training to only the classification layer and the final convolutional layer on the target domain [35]. As shown in Fig. 11,

this approach achieves a moderate reduction in the model's forgetting of source domain knowledge (TIGFH: -8.85 %, LSPS: -8.86 %) but offers limited improvement in target domain accuracy (TIGFH: +3.82 %, LSPS: +4.47 %). Furthermore, it fails to significantly enhance generalization capabilities. This approach requires manual selection of layers for fine-tuning, which limits the model's adaptability to complex domain shifts and overlooks the suboptimal allocation of layers with respect to the significance of specific domain features. Consequently, it demonstrates insufficient robustness when confronted with substantial domain shifts across different processes. These limitations highlight the inadequacy of this strategy in scenarios where significant discrepancies exist between feature spaces of different domains, thereby motivating our investigation into UDA methods that incorporate dynamic parameter optimization and learnable domain alignment mechanisms. In summary, when a significant feature disparity exists between the source and target domains, basic transfer learning strategies fail to achieve satisfactory generalization. Although training with both source and target domain data is a feasible solution, it frequently encounters two major challenges in practical applications: high cost of data annotation and low training efficiency. The limitations of existing methods highlight the importance of simultaneously addressing the needs for "no target domain annotations" and "mitigating inter-domain feature discrepancies." UDA methods, by modeling the mapping of feature spaces between the source and target domains, can effectively utilize unlabeled target domain data, thereby offering a novel technical approach to resolve the aforementioned challenges. This not only reduces the time and labor expenses associated with annotating new data but also facilitates the efficient transfer of acquired knowledge from one domain to another similar domain. 4.2 Same-process transfer experiment To ensure a fair and rigorous comparison in the subsequent experiments, all baseline methods utilize the same fundamental setup as our model: they are trained on identical hardware and evaluated on the same datasets using a uniform accuracy metric. Crucially, to assess each method's performance, we adopted the optimal hyperparameters for each baseline (e.g., MSTN, FixBi) as reported in their original publications. Our own model's hyperparameters (SGD optimizer, LR of 0.002, OneCycleLR, batch size 64) are those we found to be optimal for our proposed model. Tab. 5 and Tab. 6 present the results of same-process transfer experiments for the TIG and laser welding datasets, respectively. The accuracy metrics were evaluated on the target domain. The table reports the accuracy results obtained from five times using different random seeds. Fig. 12 illustrates the training curves corresponding to the two subtasks.

Fig. 12 (a) The training curve for the T1 → T2 task; (b) The training curve for the L3 → L1 task In the same-process transfer task of the TIGFH dataset, the method proposed in this study exhibits significant advantages, achieving an average accuracy of 90.65 %, which represents a 4.24 % improvement over the second-best method FixBi (86.41 %). Additionally, it exhibits a lower standard deviation compared to other approaches. This demonstrates that the GSDE strategy, by modeling the associated feature space of welding process parameters and CMOS imaging angles, substantially enhances the model's adaptability to variations within the same-domains. Tab. 5 Accuracy results on TIGFH dataset. Best results are displayed in bold and the runner-up results are underlined, utilizing five distinct random seeds. Method

T1 → T2

T1 → T3

T2 → T3

T2 → T1

T3 → T1

T3 → T2

Baseline-1

57.95

50.08

51.84

51.91

58.66

MSTN [26]

82.82±0.98

78.34±0.87

81.87±0.83

82.64±0.93

CDAN+E [25]

83.67±0.78

83.58±0.81

83.21±0.75

GVB-GD [31]

80.94±0.72

85.56±0.76

58.45

𝐴𝐴𝐴𝐴𝐴𝐴. ↑

𝜎𝜎 ↓

54.82

3.59

79.37±0.97

78.07±1.00

80.52

1.99

80.64±0.79

79.02±0.81

79.70±0.92

81.63

1.99

84.27±0.68

83.63±0.72

85.47±0.63

82.71±0.80

83.76

1.61

DCAN [36]

83.30±0.48

85.84±0.54

85.68±0.47

85.51±0.30

84.83±0.34

87.84±0.42

85.50

1.35

FixBi [37]

84.82±0.55

85.40±0.52

90.42±0.49

85.26±0.57

83.80±0.54

88.74±0.59

86.41

2.35

Ours

88.84±0.44

89.54±0.35

86.40±0.43

87.58±0.41

87.54±0.39

87.26±0.42

87.86

1.03

Ours+GSDE

90.87±0.45

91.38±0.36

89.57±0.49

90.55±0.40

91.62±0.38

89.96±0.44

90.65

0.72

In the same-process transfer task of the LSPS dataset, the method proposed in this paper achieves a leading average accuracy of 90.72 %, with the lowest standard deviation compared to all other approaches. This method demonstrates robust performance across various complex parameter variations, including camera placement, workpiece thickness, point-ring laser power, and external light source differences. Notably, in the L2→L1 transfer task, the method attains an accuracy of 91.34 %, which represents a significant 5.93 % improvement over the FixBi method. These results indicate that the GSDE strategy effectively mitigates feature distribution shift during transfer process. Tab. 6 Accuracy results on LSPS dataset. Best results are displayed in bold and the runner-up results are underlined, utilizing five distinct random seeds. Method

L1 → L2

L1 → L3

L2 → L3

L2 → L1

L3 → L1

L3 → L2

Baseline-1

50.12

49.20

48.12

49.50

53.46

60.70

𝐴𝐴𝐴𝐴𝐴𝐴. ↑ 51.85

𝜎𝜎 ↓

4.29

MSTN [26]

81.64±0.89

83.80±0.92

82.21±0.75

82.63±1.06

82.70±0.87

79.53±0.96

82.10

1.31

CDAN+E[25]

84.30±0.78

87.17±0.62

78.45±0.81

83.50±0.74

80.18±0.59

81.24±0.61

82.47

2.87

GVB-GD[31]

83.88±0.48

86.91±0.43

85.52±0.31

84.83±0.57

85.07±0.43

83.50±0.45

84.95

1.11

DCAN [36]

84.93±0.35

84.41±0.34

85.57±0.31

87.04±0.37

84.67±0.38

86.80±0.30

85.57

1.02

FixBi [37]

88.82±0.48

89.85±0.46

86.14±0.44

85.41±0.51

85.84±0.42

85.53±0.49

86.93

1.74

Ours

87.89±0.39

91.05±0.33

87.89±0.34

87.17±0.41

86.38±0.39

87.59±0.42

87.99

1.46

Ours+GSDE

90.02±0.36

92.64±0.32

89.73±0.30

91.34±0.29

89.87±0.34

90.74±0.31

90.72

0.86

4.3 Cross-process transfer experiments In the TIGFH→LSPS cross-process transfer task (Tab. 7), the method proposed in this study demonstrated significantly superior performance, achieving an average accuracy of 80.48 %, This result confirms that the GSDE strategy effectively captures cross-process correlations between TIG welding and laser welding. In the reverse transfer task, LSPS→TIGFH (Tab. 8), the proposed method also maintained optimal performance, with an average accuracy of 81.36 % and a standard deviation lower than all other compared methods. This indicates that the GSDE strategy successfully mitigates high-order semantic mismatch between different welding processes by leveraging pseudosource samples. Further analysis of the bidirectional transfer experiment revealed a minimal performance difference of only 0.88 % (80.48 % vs. 81.36 %) between TIGFH → LSPS and LSPS → TIGFH, which is considerably smaller than that of FixBi (1.65 %) and GVB-GD (2.90 %). This suggests that GSDE achieves robust bidirectional transfer capability through process-agnostic feature representation. Fig. 13 illustrates the training curves corresponding to the two subtasks.

Fig. 13 (a) The training curve for the T3→L3 task; (b) The training curve for the L1→T2 task The experimental results indicate that traditional transfer learning methods struggle to align feature spaces effectively in cross-process scenarios. Their performance is limited by the high-order semantic mismatch between process parameters. The model proposed in this study constructs an intermediate semantic space across processes via adversarial training, thereby bridging the morphological disparity in molten pools between TIG welding and laser welding. The results substantiate the efficacy of GSDE's core design: 1) The adversarial adaptation method aligns the feature spaces of melt pool morphology variations across different welding processes by optimizing the statistical distance between the source and target domains. In Tab. 8, our method's standard deviation (σ =1.82) is significantly lower than FixBi's (σ = 2.71), indicating that the pseudo-source

data guidance mechanism effectively mitigates the distributional shift of semantic information in high-dimensional space; 2) The entropy minimization strategy maintains classification consistency under fluctuations in process parameters by driving the decision boundary away from the data; 3) The dynamic construction of the pseudo-source domain based on high-confidence pseudo-labels further bridges the high-order semantic differences among various welding process parameters, resulting in symmetrical bidirectional transfer performance. It should be noted that although the current cross-process accuracy still lags behind within-process transfer, GSDE systematically addresses feature shift and boundary ambiguity issues through a three-tier architecture (global alignment → boundary optimization → fine-grained correction), thereby providing a viable technical framework for industrial transfer learning. For future research, two potential optimization directions are proposed: a) employing more advanced domain alignment strategies to more effectively extract domain-invariant features from both source and target domains, thereby ensuring precise alignment; b) integrating the differences in physical mechanisms between TIG welding and Laser welding into the pseudo-label generation process to minimize the likelihood of incorrect pseudo-label generation, thereby guiding the domain alignment process in UDA. Tab. 7 Accuracy results from TIGFH to LSPS dataset. Best results are displayed in bold and the runner-up results are underlined, utilizing five distinct random seeds. Method

T1→ L1

T1→ L2

T1→ L3

T2→ L1

T2→ L2

T2→ L3

T3→ L1

T3→ L2

T3→ L3

Avg.↑

σ↓

Baseline-1

34.84

30.82

37.04

38.7

43.51

30.17

48.43

38.91

31.43

37.09

5.77

55.90

62.82

57.21

58.53

57.56

62.64

68.32

65.05

66.43

±1.27

±1.30

±1.25

±1.14

±1.16

±1.04

±1.10

±1.05

±1.16

61.61

4.22

62.15

67.15

73.24

73.73

64.35

65.15

67.15

69.76

67.40

±0.75

±0.66

±0.82

±0.69

±0.87

±0.85

±0.60

±0.76

±0.84

67.79

3.66

65.08

72.53

74.31

75.12

73.11

70.07

74.91

67.64

72.21

±0.84

±0.57

±0.77

±0.68

±1.44

±0.94

±0.54

±0.57

±0.84

71.66

3.24

72.40

73.28

74.57

75.46

74.39

70.69

72.71

76.12

75.62

±1.56

±1.54

±1.98

±1.42

±1.15

±1.49

±1.47

±2.21

±1.56

73.91

1.67

73.82

73.02

75.45

77.12

72.32

74.35

75.14

74.24

77.08

±0.75

±0.84

±0.77

±0.84

±0.83

±0.75

±1.68

±0.57

±0.55

74.72

1.56

76.72

76.04

78.11

79.32

78.47

76.99

78.00

75.45

78.12

±0.51

±0.48

±0.47

±0.47

±0.52

±0.55

±0.37

±0.39

±0.37

77.47

1.17

80.93

79.13

79.94

81.32

81.65

81.06

81.39

78.49

80.12

±0.46

±0.43

±0.47

±0.44

±0.45

±0.32

±0.35

±0.36

±0.38

80.48

0.99

MSTN[26]

CDAN+E[25]

GVB-GD[31]

DCAN[36]

FixBi[37]

Ours

Ours+GSDE

Tab. 8 Accuracy results from LSPS to TIGFH dataset. Best results are displayed in bold and the runner-up results are underlined, utilizing five distinct random seeds. Method

L1→ T1

L1→ T2

L1→ T3

L2→ T1

L2→ T2

L2→ T3

L3→ T1

L3→ T2

L3→ T3

Avg.↑

σ↓

Baseline-1

36.51

31.28

34.95

37.48

41.98

31.25

38.51

46.35

41.23

37.73

4.69

61.72

64.57

56.76

71.45

71.64

70.32

71.48

72.15

70.20

±1.22

±1.10

±1.05

±1.06

±1.18

±1.11

±1.45

±1.15

±0.89

67.81

5.18

69.22

71.84

73.47

74.02

75.32

76.15

75.55

74.74

70.52

±1.02

±0.97

±1.01

±1.15

±1.10

±1.08

±1.11

±0.98

±1.02

73.42

2.26

MSTN[26]

CDAN+E[25]

GVB-GD[31]

DCAN[36]

FixBi[37]

Ours

Ours+GSDE

75.00

75.34

78.47

75.48

78.74

73.53

74.49

76.05

71.21

±0.96

±0.90

±1.73

±0.89

±1.76

±0.83

±0.95

±0.86

±0.82

74.65

75.40

79.28

75.07

78.09

77.03

74.67

78.21

73.24

±0.86

±0.79

±1.86

±0.71

±0.82

±0.87

±0.95

±0.88

±0.70

75.54

73.67

76.14

76.00

79.19

78.13

77.09

79.54

72.11

±0.74

±0.88

±0.74

±0.74

±0.74

±0.65

±1.98

±0.74

±0.74

77.15

75.62

80.89

76.58

81.24

78.67

77.18

80.55

76.02

±0.57

±0.44

±0.73

±0.49

±0.52

±0.49

±0.55

±0.58

±0.61

79.42

77.84

82.92

80.25

84.52

81.92

79.75

83.69

79.94

±0.49

±0.43

±0.46

±0.32

±0.41

±0.45

±0.33

±0.49

±0.47

75.36

2.18

76.18

1.92

76.37

2.31

78.24

2.03

81.13

1.82

4.4 Ablation Experiment 4.4.1 Impact of pseudo-source proportion This subsection analyzes the model's sensitivity to the proportion of pseudo-source samples. We conducted experiments with fixed proportions by selecting the top 10 %, 20 %, and 50 % of target samples based on prediction confidence. As shown in Fig. 14, which plots the mean crossprocess accuracy, the results reveal a critical trade-off. An overly small proportion provides insufficient guidance for domain alignment, leading to only marginal accuracy gains (e.g., from a 74.43 % to 76.68 %). Conversely, an excessively large proportion incorporates noisy, lowconfidence samples, whose erroneous pseudo-labels misguide the alignment process and degrade performance (accuracy drops to 68.09 %). This analysis validates our proposed strategy of progressively increasing the pseudo-source proportion, as it dynamically balances effective guidance with noise injection.

Fig. 14 Comparison of model accuracy across five training epochs under varying proportions of pseudo-labels. 4.4.2 Number of max run 𝑁𝑁

The algorithm's performance was evaluated across multiple datasets for varying maximum

iteration counts 𝑁𝑁. In this ablation experiment, the number of bottlenecks 𝑘𝑘 was fixed at 1. As illustrated in Fig. 14(a), when 𝑁𝑁 ≤ 5, the algorithm's accuracy increases sharply with increasing 𝑁𝑁; when 𝑁𝑁 > 5, although accuracy continues to improve, the rate of enhancement significantly diminishes. This suggests that larger 𝑁𝑁 values may yield better results. However, given that the computational cost scales linearly with 𝑁𝑁, 𝑁𝑁 = 5 was selected in this study to achieve an optimal balance between computational efficiency and accuracy. 4.4.3 Number of bottlenecks 𝑘𝑘

This study employs varying numbers of bottleneck to evaluate the model. In this ablation experiment, the maximum number of iterations, 𝑁𝑁, was fixed at 1. Fig. 14(b) illustrates the effect of the number of bottlenecks on model accuracy. The results indicate that as the number of bottlenecks increases, the model's accuracy improves accordingly. When 𝑘𝑘 = 4, the model reaches its peak average accuracy of 81.68 %. However, as 𝑘𝑘 continues to increases beyond this point, the accuracy begins to decline. Consequently, the number of bottlenecks, 𝑘𝑘 , is set to 4 for optimal performance.

Fig. 15 (a) Accuracy over number of max run; (b) Accuracy over number of bottlenecks. 4.4.4 Reinitialization and source domain expansion: Initially, the impact of re-initializing network weights at each run on model accuracy was investigated. Specifically, the ablation study retained the weights trained in the previous run rather than re-initializing them. Additionally, the advantage of expanding the source domain over relying solely on pseudo-labels for classification loss was explored. In this context, pseudo-labels were utilized with only the 𝐿𝐿𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 component without incorporating the other three losses. The baseline exhibited stable performance on the same-process transfer task but demonstrated a significant decrease in cross-process transfer task (TIGFH → LSPS: 76.41 %, LSPS → TIGFH: 78.31 %). This result indicates that a simple classification loss struggles to capture cross-welding-process semantic correlations. Upon introducing weight re-initialization (Init), only marginal improvements were observed in both same-process transfer task accuracy (TIGFH: +0.44 %, LSPS: +0.67 %) and crossprocess transfer task performance (TIGFH: +0.51 %, LSPS: +0.71 %). These findings suggest that while historical training parameters can perpetuate same-process feature representation, they are insufficient to bridge the cross-process semantic gap. Optimal bidirectional transfer task

performance was achieved by combining weight re-initialization with source domain expansion, underscoring the value of pseudo-source data for adversarial loss in guiding effective domain alignment. (Tab. 9) Tab. 9 Impact of re-initialization and source domain expansion on model accuracy. Best results are displayed in bold and the runner-up results are underlined. TIGFH

LSPS

TIGFH → LSPS

LSPS → TIGFH

Baseline

87.97

87.97

76.41

78.31

+ Init

88.41 (+0.44)

88.64 (+0.67)

76.92 (+0.51)

79.02 (+0.71)

+ expansion

89.56 (+1.15)

89.81 (+1.17)

79.53 (+2.61)

83.37 (+1.06)

+ Loss

90.07 (+0.51)

90.57 (+0.76)

80.08 (+0.55)

80.54 (+0.46)

4.4.5 Contribution of each adaptation loss: As shown in Tab. 10, this study conducts a quantitative analysis of the contribution of the three loss functions to the performance of the UDA model. The results indicate that 𝐿𝐿𝑀𝑀𝑀𝑀 and 𝐿𝐿𝑆𝑆𝑆𝑆 exert distinct influences on improving model accuracy, with 𝐿𝐿𝑀𝑀𝑀𝑀 demonstrating a more significant contribution. When 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 is utilized independently, it achieves an accuracy of 74.12 % in the TIGFH → LSPS transfer task, where its calibration of the inter-domain category center shift is likely the primary factor contributing to the accuracy improvement. After implementing 𝐿𝐿𝑆𝑆𝑆𝑆 , an additional performance enhancement of 1.44 % is observed in the reverse transfer task, surpassing the 0.23 % improvement noted in the forward transfer. This advantage may stem from performing multiple augmentations on unlabeled data and calculating their average predictions. Concurrently, MixUp integrates labeled and unlabeled data through linear interpolation, further enhancing the model's generalization capacity and robustness. Tab. 10 Contribution of each adaptation loss. Best results are displayed in bold and the runner-up results are underlined. 𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴

𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 + 𝐿𝐿𝑀𝑀𝑀𝑀

𝐿𝐿𝐴𝐴𝐴𝐴𝐴𝐴 + 𝐿𝐿𝑀𝑀𝑀𝑀 + 𝐿𝐿𝑆𝑆𝑆𝑆

TIGFH

LSPS

TIGFH → LSPS

LSPS → TIGFH

86.15

84.00

74.12

74.63

89.84 (+3.69)

89.13 (+5.13)

79.28 (+5.16)

79.81 (+5.18)

90.07 (+0.23)

90.57 (+1.44)

80.08 (+0.80)

80.54 (+0.73)

4.5 UMAP visualization To validate the effectiveness of the UDA model in cross-domain transfer tasks, this study employs the UMAP algorithm [38] for feature space visualization. UMAP has been demonstrated to offer significant advantages over other topology-based dimensionality reduction techniques, such as PCA [39], Isomap [40], and t-SNE [41], in terms of visualization quality, preservation of the global structure of data, and computational efficiency. Its primary workflow consists of two key steps: first, constructing a high-dimensional graph representation of the data to represent 'fuzzy simplicial complexes'; second, minimizing the cross-entropy between two fuzzy sets that share the same underlying elements (data points), thereby optimizing low-dimensional vectors to approximate the high-dimensional graph representation as closely as possible. As illustrated in Fig. 15, this study

performed feature visualization analysis for both same-process and cross-process transfer tasks using the TIGFH and LSPS datasets (sample size per class: n = 600). In the figures, yellow and red data points represent the penetration state in the source and target domains, respectively, while blue and green data points represent the non-penetration state in the source and target domains, respectively. The black dashed line represents the potential decision boundary. It can be seen from the figures that the model's approach to modeling the data distribution varies across different transfer tasks. In the same-process transfer tasks (Fig. 15(a) and Fig. 15(b)), the features show several positive characteristics: samples are compactly distributed, intra-class distributions are similar, and inter-class boundaries are clear. Furthermore, samples are distant from the decision boundary, and the features of both domains are well-aligned. In contrast, in the cross-process transfer tasks (Fig. 15(c) and Fig. 15(d)), compared to the same-process transfer tasks, feature samples from different classes exhibit a mixing phenomenon. The features are not completely aligned, intra-class sample distributions are dispel,rsed, and misclassified feature points tend to cluster into isolated groups. This situation may stem from inaccuracy in the soft labels for pseudo-source domain data, leading to some feature samples being incorrectly classified. Simultaneously, a significant number of feature samples cluster near the decision boundary, resulting in a notable difference in model accuracy compared to the same-process transfer tasks. This reflects the domain shift caused by differences in the opto-thermal-electrical coupling mechanisms of various welding processes. This phenomenon highlights the fundamental impact of physical mechanism differences between processes on the feature space distribution, providing crucial insights for improving UDA methods.

Fig. 16 Model visualization using UMAP. (a) and (b) illustrate the visualization results of transfer tasks within the same-process; (c) and (d) illustrate the visualization results of transfer tasks within cross-process. (For an explanation of the color references in the legend of this figure, please refer to the online version of this paper.)

5. Conclusion This study systematically investigated the feasibility of UDA transfer learning in cross-process scenarios, and demonstrated the effectiveness of the proposed method in both TIG welding (TIGFH dataset) and laser welding (LSPS dataset) contexts. The research focused on a comparative analysis of same-process and cross-process transfer learning methods, leading to the following key conclusions: 1) A novel cross-process UDA model was designed to overcome the significant domain shift caused by disparate physical mechanisms in TIG and laser welding. The model architecture leverages a ResNet-50 backbone and introduces a gradual source domain expansion (GSDE) strategy. This algorithm progressively incorporates high-confidence pseudo-labeled target samples into an expanded source domain, providing crucial guidance for feature alignment. The training was optimized through a composite loss function that integrated adversarial, semantic, and semi-supervised losses, enabling the model to learn domain-invariant features

while preserving class-specific structures. 2) In same-process transfer tasks, the proposed method achieved an average accuracy of 90.65 % on the TIGFH dataset, representing a 4.41% improvement over the second-best method FixBi (86.85 %). On the LSPS dataset, it reached an average accuracy of 90.72 %, significantly outperforming other methods. In cross-process transfer tasks, the method achieved 80.48 % accuracy in the TIGFH → LSPS task and 81.13 % in the LSPS → TIGFH task, with standard deviations of 0.99 and 1.82 respectively, substantially lower than existing methods. Notably, the performance difference between bidirectional transfer tasks was only 0.65 % (80.48 % vs. 81.13 %), considerably smaller than FixBi (2.01 %) and GVBGD (3.70 %), indicating that GSDE achieved robust bidirectional transfer capability through process-agnostic feature representation. 3) The UMAP visualization results confirmed that the UDA model effectively bridges the topological discrepancies within cross-process feature spaces through pseudo-source sample generation and a progressive feature alignment strategy, while maintaining relatively distinct class boundaries. By eliminating the need for target domain annotations, our approach significantly reduced the cost and time associated with model training, providing a viable solution for the implementation of adaptive and intelligent welding quality control systems in industrial environments.

Declarations Ethics approval Not applicable. Consent to participate The authors declare their consent to participate. Consent for publication The authors declare their consent for publication. Conflict of interest The authors declare no competing interests.

Funding The authors gratefully acknowledge the financial support from the National Key R&D Program of China (No. 2023YFB3407800), National Natural Science Foundation of China (No. U2141213).

References [1] Ramakrishna R VSM, Amrutha PHSLR, Rahman Rashid RA, Palanisamy S. Narrow gap laser welding (NGLW) of structural steels—a technological review and future research recommendations. Int J Adv Manuf Technol 2020;111:2277–300. https://doi.org/10.1007/s00170-020-06230-9. [2]

Kumar K, Sateesh Kumar Ch, Masanta M, Pradhan S. A review on TIG welding

technology variants and its effect on weld geometry. Mater Today Proc 2022;50:999–1004. https://doi.org/10.1016/j.matpr.2021.07.308. [3] Luo M, Shin YC. Estimation of keyhole geometry and prediction of welding defects during laser welding based on a vision system and a radial basis function neural network. Int J Adv Manuf Technol 2015;81:263–76. https://doi.org/10.1007/s00170-015-7079-1. [4] Li C, Chen H, Xiong J. Monitoring weld penetration of laser-arc hybrid welding joints without full-penetration requirement based on deep learning. Opt Laser Technol 2024;172:110538. https://doi.org/10.1016/j.optlastec.2023.110538. [5] Harrouche S, Nacereddine N, Goumeidane AB. A Comparative Study of Different CNN Models using Transfer Learning for Weld Defect Classification in Radiographic Testing. 2023 Int. Conf. Electr. Commun. Comput. Eng. ICECCE, 2023, p. 1–7. https://doi.org/10.1109/ICECCE61019.2023.10442057. [6] Noh I, Jeon Y, Lee SW. Development of robust fault diagnosis model for variable situations in robotic spot-welding (RSW) process based on transfer learning. J Mech Sci Technol 2023;37:6123–9. https://doi.org/10.1007/s12206-023-2405-2. [7] Pan H, Pang Z, Wang Y, Wang Y, Chen L. A New Image Recognition and Classification Method Combining Transfer Learning Algorithm and MobileNet Model for Welding Defects. IEEE Access 2020;8:119951–60. https://doi.org/10.1109/ACCESS.2020.3005450. [8] Shin S-J, Hong S-H, Jadhav S, Kim DB. Detecting balling defects using multisource transfer learning in wire arc additive manufacturing. J Comput Des Eng 2023;10:1423–42. https://doi.org/10.1093/jcde/qwad067. [9] Dhruva Kumar D, Fang C, Zheng Y, Gao Y. Semi-supervised transfer learning-based automatic weld defect detection and visual inspection. Eng Struct 2023;292:116580. https://doi.org/10.1016/j.engstruct.2023.116580. [10] Dai D, Mohan A, Franciosa P, Zhang T, Chen CLP, Ceglarek D. Adaptive DomainEnhanced Transfer Learning for Welding Defect Classification. 2024 IEEE Int. Conf. Syst. Man Cybern. SMC, 2024, p. 3152–8. https://doi.org/10.1109/SMC54092.2024.10832066. [11] Liu X, Yoo C, Xing F, Oh H, El Fakhri G, Kang J-W, et al. Deep Unsupervised Domain Adaptation: A Review of Recent Advances and Perspectives. APSIPA Trans Signal Inf Process 2022;11. https://doi.org/10.1561/116.00000192. [12] Kumari S, Singh P. Deep learning for unsupervised domain adaptation in medical imaging: Recent advancements and future perspectives. Comput Biol Med 2024;170:107912. https://doi.org/10.1016/j.compbiomed.2023.107912.

[13] Pang B, Liu Q, Sun Z, Xu Z, Hao Z. Time-frequency supervised contrastive learning via pseudo-labeling: An unsupervised domain adaptation network for rolling bearing fault diagnosis under time-varying speeds. Adv Eng Inform 2024;59:102304. https://doi.org/10.1016/j.aei.2023.102304. [14] Chen J, Li Y, Ma K, Zheng Y. Generative Adversarial Networks for Video-to-Video Domain Adaptation. Proc AAAI Conf Artif Intell n.d.;34:3462–9. https://doi.org/10.1609/aaai.v34i04.5750. [15] Zhou F, Liu X, Zhang K, Li J, Liu W, Jia C, et al. Better generalization of penetration/keyhole status prediction model in plasma arc welding based on UDAs: A preliminary work. J Manuf Process 2024;124:985–97. https://doi.org/10.1016/j.jmapro.2024.06.058. [16] Zhang Y, Wang Y, Jiang Z, Zheng L, Chen J, Lu J. Tire Defect Detection by DualDomain Adaptation-Based Transfer Learning Strategy. IEEE Sens J 2022;22:18804–14. https://doi.org/10.1109/JSEN.2022.3201201. [17] Wu Y, Cai Y, Wang H, Shi S, Hua X, Wu Y. Investigation on microstructure and properties of dissimilar joint between SA553 and SUS304 made by laser welding with filler wire. Mater Des 2015;87:567–78. https://doi.org/10.1016/j.matdes.2015.08.076. [18] Gianfrancesco AD. Materials for Ultra-Supercritical and Advanced UltraSupercritical Power Plants. Woodhead Publishing; 2016. [19] Li S, Zhou E, Pan Q, Wang X, Gao J, Liu Y. Closed-loop control of thin plate TIG butt welding with reserved gap based on fusion hole. J Manuf Process 2023;85:666–82. https://doi.org/10.1016/j.jmapro.2022.12.013. [20] Guo Y, Gao J, Cao Y, Li C. Behavior of the Fusion Hole in Tungsten Inert Gas ThinPlate Welding. IEEE Robot Autom Lett 2019;4:2801–6. https://doi.org/10.1109/LRA.2019.2920357. [21] Li C, Gao J, Cao Y, Yan X, Gui X. Visual observation of fusion hole in thin plate TIG welding with a reserved gap. J Manuf Process 2019;45:634–41. https://doi.org/10.1016/j.jmapro.2019.08.002. [22] Li S, Gao J, Zhou E, Pan Q, Wang X. Deep learning-based fusion hole state recognition and width extraction for thin plate TIG welding. Weld World 2022. https://doi.org/10.1007/s40194-022-01287-4. [23] Ganin Y, Ustinova E, Ajakan H, Germain P, Larochelle H, Laviolette F, et al. Domain-Adversarial Training of Neural Networks 2016. https://doi.org/10.48550/arXiv.1505.07818.

[24] Peng X, Bai Q, Xia X, Huang Z, Saenko K, Wang B. Moment Matching for MultiSource Domain Adaptation. 2019 IEEECVF Int. Conf. Comput. Vis. ICCV, Seoul, Korea (South): IEEE; 2019, p. 1406–15. https://doi.org/10.1109/ICCV.2019.00149. [25] Long M, Cao Z, Wang J, Jordan MI. Conditional Adversarial Domain Adaptation 2018. https://doi.org/10.48550/arXiv.1705.10667. [26] Xie S, Zheng Z, Chen L, Chen C. Learning Semantic Representations for Unsupervised Domain Adaptation. Proc. 35th Int. Conf. Mach. Learn., PMLR; 2018, p. 5423– 32. [27] Kang G, Jiang L, Yang Y, Hauptmann AG. Contrastive Adaptation Network for Unsupervised Domain Adaptation 2019. https://doi.org/10.48550/arXiv.1901.00976. [28] Tang H, Chen K, Jia K. Unsupervised Domain Adaptation via Structurally Regularized Deep Clustering 2020. https://doi.org/10.48550/arXiv.2003.08607. [29] Westfechtel T, Yeh H-W, Zhang D, Harada T. Gradual Source Domain Expansion for Unsupervised Domain Adaptation. 2024 IEEECVF Winter Conf. Appl. Comput. Vis. WACV, Waikoloa, HI, USA: IEEE; 2024, p. 1935–44. https://doi.org/10.1109/WACV57701.2024.00195. [30] Berthelot D, Carlini N, Goodfellow I, Papernot N, Oliver A, Raffel C. MixMatch: A Holistic Approach to Semi-Supervised Learning 2019. https://doi.org/10.48550/arXiv.1905.02249. [31] Cui S, Wang S, Zhuo J, Su C, Huang Q, Tian Q. Gradually Vanishing Bridge for Adversarial Domain Adaptation 2020. https://doi.org/10.48550/arXiv.2003.13183. [32] Kingma DP, Ba J. Adam: A Method for Stochastic Optimization 2017. https://doi.org/10.48550/arXiv.1412.6980. [33] He K, Zhang X, Ren S, Sun J. Deep Residual Learning for Image Recognition, 2016, p. 770–8. https://doi.org/10.1109/CVPR.2016.90. [34] McClelland JL, McNaughton BL, O’Reilly RC. Why there are complementary learning systems in the hippocampus and neocortex: Insights from the successes and failures of connectionist models of learning and memory. Psychol Rev 1995;102:419–57. https://doi.org/10.1037/0033-295X.102.3.419. [35] Kumaresan S, Aultrin KSJ, Kumar SS, Anand MD. Deep learning-based weld defect classification using VGG16 transfer learning adaptive fine-tuning. Int J Interact Des Manuf IJIDeM 2023;17:2999–3010. https://doi.org/10.1007/s12008-023-01327-3. [36] Li S, Liu CH, Lin Q, Xie B, Ding Z, Huang G, et al. Domain Conditioned Adaptation

Network 2020. https://doi.org/10.48550/arXiv.2005.06717. [37] Na J, Jung H, Chang HJ, Hwang W. FixBi: Bridging Domain Spaces for Unsupervised Domain Adaptation 2021. https://doi.org/10.48550/arXiv.2011.09230. [38] McInnes L, Healy J, Melville J. UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction 2020. https://doi.org/10.48550/arXiv.1802.03426. [39] Hotelling H. Analysis of a complex of statistical variables into principal components. J Educ Psychol 1933;24:417–41. https://doi.org/10.1037/h0071325. [40] Balasubramanian M, Schwartz EL. The Isomap Algorithm and Topological Stability. Science 2002;295:7–7. https://doi.org/10.1126/science.295.5552.7a. [41] Maaten L van der, Hinton G. Visualizing Data using t-SNE. J Mach Learn Res 2008;9:2579–605.

Record · ID 307045 · SHA-256 3a889b0dbe51e21f
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.