1. Introduction
Tool condition monitoring (TCM) is widely recognized as a key enabling technology for intelligent manufacturing and predictive maintenance. Accurate monitoring of tool health conditions plays a crucial role in ensuring machining quality, dimensional accuracy, production efficiency, and operational safety while reducing manufacturing costs and unexpected machine downtime [
1,
2,
3]. During machining operations, progressive tool wear inevitably degrades cutting performance, increases surface roughness, and may eventually result in catastrophic tool failure if timely intervention is not performed. Consequently, reliable tool condition monitoring has attracted considerable attention from both academia and industry and has become an essential component of modern smart manufacturing systems and Industry 4.0 [
4,
5].
With the rapid development of intelligent sensing technologies and artificial intelligence, large volumes of multisource monitoring data, including vibration, cutting force, acoustic emission, spindle current, and motor signals, can now be collected throughout the machining process. These data provide abundant information for evaluating tool health conditions and enable intelligent decision-making for predictive maintenance and production optimization [
6,
7]. Therefore, developing accurate and robust TCM methods has become an important research topic for improving manufacturing reliability, reducing maintenance costs, and promoting intelligent production.
In practical machining processes, tool wear is generally regarded as a progressive degradation phenomenon and can be categorized into multiple health states, such as initial wear, normal wear, and severe wear, according to the degree of flank wear and cutting performance degradation. Effective identification of these health states enables timely tool replacement and process optimization, thereby improving machining reliability and reducing maintenance costs. Consequently, intelligent tool health state classification has attracted increasing attention in recent years and has become a key research topic in machining process condition monitoring.
Traditional TCM approaches mainly rely on handcrafted feature extraction from sensor signals such as vibration, acoustic emission, cutting forces, and motor current, followed by classical machine learning algorithms such as support vector machines (SVMs), k-nearest neighbors (KNN), and random forests (RFs) [
8,
9,
10]. Although these methods can achieve satisfactory performance under specific operating conditions, their generalization capability is often limited when machining parameters or working environments change. Moreover, manual feature engineering usually requires extensive domain expertise and considerable effort, which restricts the deployment of such approaches in practical industrial applications.
The rapid development of deep learning has revolutionized data-driven TCM. Convolutional neural networks (CNNs), recurrent neural networks (RNNs), and hybrid architectures can automatically learn hierarchical and discriminative feature representations from raw sensor data, eliminating the need for handcrafted features [
11,
12,
13]. Deep learning-based models have been successfully applied to tool wear classification and remaining useful life prediction, showing superior performance compared with traditional methods [
14,
15]. For example, Zou et al. [
16] proposed a feature-weighted convolutional neural network for tool wear identification under imbalanced samples. Xue et al. [
17] proposed a hierarchical temporal transformer network for tool wear condition monitoring and verified its capability on the PHM2010 dataset. Martínez-Arellano et al. [
18] used Gramian angular summation fields to image the time-series data and conducted tool wear classification using CNNs. Nevertheless, most existing deep learning approaches assume that training and testing data follow the same distribution. In real manufacturing environments, variations in cutting speed, feed rate, tool geometry, and workpiece material often lead to significant distribution shifts, known as domain discrepancies. These shifts severely degrade the performance of conventional deep models when applied to unseen tools or different operating conditions [
19].
To mitigate the domain shift problem, domain adaptation (DA) techniques have been increasingly adopted in intelligent manufacturing [
20,
21,
22]. DA methods aim to reduce the discrepancy between source and target domains by learning domain-invariant representations. Prominent approaches include adversarial learning-based methods [
23], discrepancy minimization methods such as Maximum Mean Discrepancy (MMD) and correlation alignment [
24], and feature disentanglement techniques [
25]. These strategies have demonstrated promising results in cross-domain fault diagnosis and tool wear prediction, showing enhanced robustness under varying working conditions. For example, Huang et al. [
26] proposed a cross-domain adaptation network based on a joint distribution adaptation method for tool wear prediction; Li et al. [
27] proposed a novel tool wear state prediction method based on feature-based transfer learning, which used MMD to measure the similarity of features. Zhu et al. [
28] proposed an unsupervised dual-regression domain adversarial adaption network for tool wear prediction based on adversarial training and Wasserstein distance. However, most existing studies focus on fully unsupervised domain adaptation, where no labeled target samples are assumed. In industrial practice, obtaining a small number of labeled target samples is often feasible and cost-effective, while labeling large-scale datasets remains labor-intensive. Consequently, semi-supervised domain adaptation (SSDA) has emerged as a practical and promising solution, leveraging a few labeled target samples in combination with abundant source domain data to improve cross-domain learning [
29,
30,
31].
Recent advances in SSDA have demonstrated that incorporating a small number of labeled target-domain samples can significantly improve cross-domain classification performance. Representative SSDA methods, such as Minimax Entropy(MME) [
29], Cross-Domain Adaptive Clustering(CDAC) [
32], and adversarial learning-based approaches, mainly exploit target-domain supervision through entropy minimization, consistency regularization, decision boundary refinement, or adversarial feature alignment. Although these methods have achieved encouraging results in image recognition tasks, they are not specifically designed for tool condition monitoring, where complex operating conditions often lead to substantial domain shifts and highly coupled feature distributions. Moreover, most existing methods primarily focus on aligning global feature distributions while paying limited attention to disentangling domain-invariant and domain-specific representations. As a result, domain-specific interference may still be embedded in the learned shared features, thereby reducing the discriminative capability and transferability of the model. Furthermore, under extremely limited target-domain supervision, the scarcity of labeled samples further aggravates inaccurate feature alignment and deteriorates the generalization performance of existing SSDA methods.
To address these limitations, this paper proposes a novel SS-DAFS framework for intelligent tool condition monitoring. Unlike existing SSDA methods, the proposed framework explicitly separates shared domain-invariant features from domain-specific features through dedicated feature extractors and introduces a feature separation strategy to reduce redundant domain-specific interference. Meanwhile, MMD is employed to further align the shared feature distributions across domains, enabling the model to learn more discriminative and transferable representations. By effectively integrating feature separation and distribution alignment, the proposed method achieves robust cross-domain tool condition monitoring under limited labeled target samples and demonstrates superior performance compared with existing state-of-the-art SSDA approaches. Experiments are conducted on the PHM2010 milling dataset [
33]. Tool health states are categorized into three classes: initial wear, normal wear, and severe wear.
Figure 1 illustrates the wear process of the cutting tool during its life cycle.
The main contributions of this paper are summarized as follows:
A semi-supervised domain-adaptive feature separation framework is proposed for cross-domain tool wear state classification. The proposed framework adopts a dual encoder architecture that separates domain-invariant shared representations from domain-specific private representations.
A feature separation constraint is introduced to reduce the correlation between shared and private representations, encouraging the shared features to retain only wear-state discriminative information while suppressing operating-condition-specific interference.
Extensive experiments on the PHM2010 dataset under one-shot and three-shot settings demonstrate that the proposed method achieves superior classification performance and robust generalization capability compared with existing domain adaptation methods.
The remainder of this paper is organized as follows:
Section 2 presents the preliminaries of this study.
Section 3 illustrates the proposed method in detail. The experimental results are presented in
Section 4. Finally,
Section 5 summarizes the contribution of this paper and presents future work.
3. Proposed Method
3.1. Overview of the Proposed Framework
The overall architecture of the proposed Semi-Supervised Domain-Adaptive Feature Separation (SS-DAFS) framework is illustrated in
Figure 2. The proposed framework is designed for cross-domain tool wear state classification under limited labeled target samples. Specifically, the framework consists of a shared feature encoder, two domain-specific private encoders, a task classifier, and multiple optimization constraints. The shared encoder and the two private encoders together form a dual encoder architecture that explicitly decomposes the input representation into domain-invariant and domain-specific components. This decomposition-then-alignment design is the key methodological feature that distinguishes the proposed framework from prior SSDA methods relying on a single shared encoder with global feature alignment.
Given source domain samples and target domain samples, the shared encoder is employed to extract domain-invariant representations associated with tool wear states, while the private encoders are utilized to preserve domain-specific information caused by varying machining conditions. The extracted shared representations are subsequently fed into the classifier for health state prediction. To further improve cross-domain representation learning, Maximum Mean Discrepancy (MMD) loss is introduced to align the shared feature distributions between source and target domains. Meanwhile, a difference loss is employed to reduce the correlation between shared representations and private representations, thereby improving feature disentanglement capability.
Through joint optimization of source classification loss, target classification loss, MMD loss, and difference loss, the proposed framework aims to learn robust and transferable representations for semi-supervised cross-domain tool wear state classification.
3.2. Data Preprocessing
The PHM2010 milling dataset was adopted in this study to evaluate the effectiveness of the proposed framework. The original monitoring dataset contains multiple sensor signals collected during the milling process, including vibration signals and cutting force signals. Since raw time-series signals usually exhibit complex non-stationary characteristics, an effective preprocessing strategy is required to improve feature representation capability.
First, the Fisher Score is employed to evaluate the discriminative capability of different sensor channels. The Fisher Score of the
kth channel is defined as
where
C denotes the number of classes,
represents the number of samples in the
cth class,
denotes the mean value of the
cth class, and
represents the global mean value.
After channel selection, a Continuous Wavelet Transform (CWT) is applied to convert one-dimensional sensor signals into time–frequency representations. The CWT can be formulated as
where
a and
b denote the scale factor and translation factor, respectively, and
represents the mother wavelet function. In this study, the Morlet wavelet was adopted as the mother wavelet. The Morlet wavelet is a complex sinusoid modulated by a Gaussian envelope, providing the best attainable joint time–frequency concentration among admissible wavelets [
35]. In addition, its oscillatory and amplitude-modulated waveform closely resembles the quasi-periodic impulsive components induced by tool–workpiece interaction and progressive wear in the cutting force signals, so that the resulting scalograms preserve wear-related transient information while remaining smooth and well localized. This property makes the Morlet wavelet a common choice for time–frequency analysis in machinery condition monitoring [
36,
37].
The generated time–frequency maps from the selected channels are stacked as RGB images and resized to pixels. Subsequently, all images are normalized using the standard ImageNet z-score normalization. Specifically, the pixel values of each channel are first scaled to the range [0, 1], and then standardized using the channel-wise mean and standard deviation computed from the ImageNet dataset. This normalization strategy is consistent with the commonly adopted preprocessing pipeline for ImageNet-pretrained backbone networks. The normalized images are used as the input of the proposed framework.
According to the tool wear progression characteristics in the PHM2010 dataset, the milling process was divided into three health states based on the number of milling passes. The detailed definitions of tool wear states are summarized in
Table 1.
Figure 3 presents the time–frequency maps of different wear states. To evaluate the semi-supervised cross-domain capability of the proposed framework, 1-shot and 3-shot transfer tasks were constructed using the C1, C4, and C6 cutter datasets.
3.3. Shared and Private Feature Extraction
In practical machining environments, monitoring signals generally contain both domain-invariant degradation information and domain-specific characteristics related to varying machining conditions. To effectively disentangle these two types of information, the proposed framework adopts a dual encoder architecture, consisting of one shared encoder and two domain-specific private encoders.
Given an input sample
x, the shared representation is defined as
where
denotes the shared encoder. The shared representation aims to capture transferable discriminative information associated with tool wear states.
Meanwhile, the source-domain private representation and target-domain private representation are extracted as
and
where
and
denote the source private encoder and target private encoder, respectively. These private representations mainly preserve domain-specific characteristics caused by varying operating conditions.
In this study, ResNet34 was employed as the backbone network of the shared encoder due to its superior feature extraction capability. Meanwhile, lightweight ResNet18 networks were adopted as private encoders to reduce computational complexity while preserving domain-specific information.
3.4. Difference Loss
To further enhance feature disentanglement capability, a difference loss is introduced to reduce the correlation between shared representations and private representations. Specifically, the shared features and private features are first normalized along the feature dimension:
and
where
and
denote the shared feature matrix and private feature matrix, respectively.
Subsequently, the correlation matrix between normalized shared features and normalized private features is calculated as
The difference loss is defined as
where
N denotes the batch size and
represents the Frobenius norm.
Minimizing the difference loss encourages the shared feature space and private feature space to become orthogonal, thereby reducing feature redundancy and improving feature disentanglement capability.
3.5. Semi-Supervised Classification Loss
The shared representations extracted from both source and target domains are fed into the classifier for tool wear state prediction. The source-domain classification loss is defined as
where
and
denote the ground-truth label and predicted probability of the source sample, respectively.
Similarly, the labeled target samples are also utilized for supervised learning. The target-domain classification loss is formulated as
where
and
denote the ground-truth label and predicted probability of the target sample, respectively.
The total classification loss is then defined as
By jointly utilizing labeled source samples and limited labeled target samples, the proposed framework can effectively improve classification performance under low-shot target scenarios.
3.6. Overall Objective Function
The total optimization objective of the proposed framework consists of classification loss, MMD loss, and difference loss:
where
and
denote the weighting coefficients of the difference loss and MMD loss, respectively.
Through joint optimization of multiple objectives, the proposed SS-DAFS framework can simultaneously learn discriminative domain-invariant representations and preserve domain-specific characteristics, thereby improving semi-supervised cross-domain tool wear state classification performance under varying working conditions. The overall training procedure of the proposed SS-DAFS framework is presented in Algorithm 1.
| Algorithm 1 Training procedure of SS-DAFS. |
|
4. Experimental Validation
4.1. Dataset Description
To evaluate the effectiveness of the proposed SS-DAFS framework, experiments were conducted on the PHM2010 milling tool wear dataset released by the Prognostics and Health Management Society [
33]. The PHM2010 dataset is widely adopted in intelligent manufacturing research for tool condition monitoring and tool wear prediction under varying machining conditions.
The dataset contains multiple run-to-failure milling experiments collected from a high-speed CNC milling machine Röder Tech RFM760 (Röders GmbH, Soltau, Germany). HRC52 stainless steel was used as the workpiece material. During the milling process, several sensor signals were synchronously recorded, including vibration signals, spindle current, and cutting force signals. The cutting tools were three-flute tungsten carbide ball-nose end mills, corresponding to cutters C1, C4, and C6, and the milling was performed under dry, down-milling conditions. During the tests, tool wear was quantified by the flank wear (VB), namely, the width of the wear land on the flank face. After each milling pass, the flank wear of each of the three flutes was measured off-line using a microscope, and the average value of the three flutes was adopted as the final wear indicator, based on which, the initial, normal, and severe wear states were defined.
Figure 4 illustrates the experimental setup of the PHM2010 dataset.
Table 2 presents the details of cutting parameters. In this study, Fisher Score analysis was first conducted to evaluate the discriminative capability of different sensor channels. Experimental results indicated that the three-axis cutting force signals exhibited superior discriminative performance compared with other monitoring signals. Therefore, the three-axis cutting force data were selected as the monitoring signals for subsequent experiments.
Three cutters, namely, C1, C4, and C6, were adopted to construct cross-domain transfer tasks. Different cutters correspond to different operating conditions and exhibit obvious distribution discrepancies caused by variations in machining environments and degradation processes. Therefore, these datasets are suitable for evaluating the cross-domain generalization capability of semi-supervised domain adaptation methods.
To characterize this discrepancy quantitatively, the per-cut RMS distributions of the three-axis cutting force were compared across the three cutters through the quantile–quantile plots in
Figure 5. Since all cutters shared identical cutting parameters as listed in
Table 2, the observed shift originates not from the machining settings but from cutter-specific factors such as manufacturing tolerance and the divergent wear evolution of each tool. Systematic departures from the
reference are observed for every force component and every cutter pair, and the annotated one-Wasserstein distance
W provides a numerical measure of the gap. The discrepancy is most pronounced on the
component between C1 and the other two cutters (
and
), while C4 and C6 remain comparatively close (
).
Following the preprocessing strategy described in
Section 3, a CWT was utilized to convert one-dimensional cutting force signals into two-dimensional time–frequency representations. The generated time–frequency maps from the selected three-axis cutting force channels were stacked into RGB images and resized to
pixels before being fed into the network.
Based on the averaged wear values, the wear evolution curves of cutters C1, C4, and C6 were plotted to illustrate the degradation process under different operating conditions, as shown in
Figure 6. The milling process was divided into three health states based on the number of milling passes. The detailed definitions of tool wear states are summarized in
Table 1.
From a machining perspective, flank wear does not progress uniformly but follows three characteristic stages. In the initial break-in stage, the sharp cutting edge wears rapidly over a short period; in the normal wear stage, the wear land grows slowly and steadily, which constitutes the major portion of the tool life; in the severe wear stage, the wear accelerates and may quickly lead to tool failure. These three stages provide the physical basis for dividing the milling process into the initial, normal, and severe health states.
This wear progression was directly reflected in the cutting force signals. As the flank wear land widened, the increased flank–workpiece contact and friction raised the amplitude of the three-axis cutting force, while the intensified rubbing and micro-impacts in the severe stage introduced stronger high-frequency components. Since both the magnitude and the time–frequency distribution of the force evolved monotonically with the wear state, the three-axis cutting force was identified as the most discriminative signal by the Fisher Score analysis, and its CWT time–frequency representation was adopted as the network input.
To evaluate the performance of the proposed framework under limited labeled target samples, semi-supervised transfer tasks were designed under one-shot and three-shot settings. Specifically, the source domain contained sufficient labeled samples, while only one or three labeled samples per class were provided in the target domain. The remaining target samples were treated as unlabeled data during training. Such experimental settings are consistent with practical industrial scenarios, where obtaining a large number of labeled target samples is usually difficult and labor-intensive.
4.2. Comparison Methods and Experimental Settings
To comprehensively evaluate the effectiveness of the proposed SS-DAFS framework, several representative domain adaptation methods were selected as comparison models, including Source Only, MMD [
34], Domain-Adversarial Neural Network (DANN) [
38], Adversarial Discriminative Domain Adaptation (ADDA) [
39], Minimax Entropy (MME) [
29], and Cross-Domain Adaptive Clustering (CDAC) [
32].
For a fair comparison, all methods were implemented under the same experimental settings and utilized identical preprocessing strategies and backbone networks whenever possible.
All experiments were implemented in Python 3.10 using the PyTorch 1.12 deep learning framework. The experiments were conducted on a laptop equipped with an AMD Ryzen 9 5900 CPU, 16 GB of RAM, and an NVIDIA RTX 3060 GPU.
In this study, stochastic gradient descent (SGD) with Nesterov momentum was adopted for network training, where the momentum coefficient and the weight decay followed common practice and were set to 0.9 and
, respectively. The remaining key hyperparameters, including the initial learning rate, the batch size, the number of warm-up iterations, and the weighting coefficients
and
of the difference loss and the MMD loss, were determined automatically using the Ray Tune framework, with the classification accuracy on the labeled target validation set as the optimization objective and the test data excluded from the search to avoid information leakage. The best configuration was obtained at an initial learning rate of 0.01 decayed by an inverse schedule, a batch size of 32, 1000 warm-up iterations, and
. Each model was then trained for 3000 iterations under that configuration, and the detailed settings are summarized in
Table 3. Each experiment was repeated five times with different random seeds, and the mean accuracy together with the standard deviation is reported.
Notably, all compared methods shared an identical inference-time network, i.e., a ResNet-34 backbone followed by the projection classifier. Since the auxiliary domain-adaptation modules (e.g., domain discriminator and private encoders) were used only during training and discarded at deployment, all methods had the same model size (21.55 M parameters, 82.20 MB) and computational cost (7.36 GFLOPs per sample), with a single sample processed in about 6.6 ms. This far exceeds the milling-pass rate and meets the real-time requirement of online tool condition monitoring, confirming the industrial applicability of the proposed framework.
4.3. Case 1: Semi-Supervised Cross-Domain Classification Under Three-Shot Setting
Table 4 and
Figure 7 present the classification accuracy of different methods under the three-shot semi-supervised domain adaptation setting. Overall, the proposed SS-DAFS framework achieves the best average classification accuracy of
, outperforming all comparison methods in most transfer tasks. Compared with the Source Only baseline (
), all domain adaptation methods generally achieve improved performance, demonstrating the effectiveness of domain adaptation for cross-domain tool wear state classification.
Among the comparison methods, MMD and DANN achieve relatively competitive performance, with average accuracies of and , respectively. These results indicate that discrepancy-based alignment and adversarial learning can effectively reduce the distribution discrepancy between different cutters. However, these methods mainly focus on global feature alignment and do not explicitly separate shared domain-invariant information from domain-specific characteristics, resulting in inferior performance compared with SS-DAFS. MME and CDAC achieve moderate performance, but their accuracies degrade noticeably on several transfer tasks, suggesting that entropy minimization and adaptive clustering strategies are insufficient to address the domain discrepancy caused by varying machining conditions.
The proposed SS-DAFS framework achieves the best performance in five out of six transfer tasks, including accuracy on the C1→C6 task and accuracy on the C6→C4 task. More importantly, it achieves the lowest average standard deviation of across all methods. The superior accuracy together with the minimal variance jointly demonstrate that the proposed feature separation strategy can effectively suppress domain-specific interference while preserving discriminative tool wear information, thereby improving both cross-domain generalization capability and training reproducibility under limited labeled target samples.
Figure 8 visualizes the classification results of the proposed SS-DAFS framework under the three-shot semi-supervised domain adaptation setting through confusion matrices. It can be observed that most samples are correctly classified along the diagonal region, indicating that the proposed framework achieves strong classification capability for different tool wear states under varying working conditions.
For the C1→C4, C1→C6, and C4→C1 tasks, the proposed method achieves highly accurate classification performance. In particular, the initial wear state achieves 100% classification accuracy in the C1→C4 task, while the severe wear state achieves 100% accuracy in the C1→C6 task. Moreover, the normal wear and severe wear states in most transfer tasks achieve classification accuracies above 94%, demonstrating that the proposed feature separation strategy can effectively preserve discriminative tool wear information under cross-domain scenarios.
Compared with the other transfer tasks, the C6→C1 task exhibits relatively lower classification performance. Specifically, the initial wear and normal wear states achieve classification accuracies of 82.1% and 88.5%, respectively, where several normal wear samples are misclassified into adjacent health states. This phenomenon may be caused by the relatively larger distribution discrepancy between the C6 and C1 cutters. Nevertheless, the overall classification accuracy still reaches 91.5%, indicating that the proposed SS-DAFS framework maintains robust cross-domain generalization capability even under challenging transfer conditions.
4.4. Case 2: Semi-Supervised Cross-Domain Classification Under One-Shot Setting
Table 5 and
Figure 9 report the classification results under the more challenging one-shot setting, where only one labeled target sample per class is available. This setting is designed to stress-test the robustness of different methods when target-domain supervision approaches its practical limit. As expected, all methods suffer accuracy degradation compared with the three-shot setting, but the magnitude of degradation varies substantially. Taking the average accuracy drop as an indicator, CDAC, MME, and DANN degrade by
,
, and
percentage points respectively, indicating that entropy minimization, adaptive clustering, and vanilla adversarial alignment are all sensitive to extreme supervision scarcity. A particularly revealing failure case concerns ADDA, which collapses on the C4→C6 task with only
accuracy. Such instability suggests that adversarial domain alignment, without explicit feature separation, cannot reliably extract discriminative representations when the target classifier has almost no supervised signal to anchor its decision boundaries.
Despite the extreme supervision scarcity, SS-DAFS not only maintains the highest average accuracy () but also exhibits remarkably uniform stability across all transfer tasks: its per-task standard deviation never exceeds . From the task-specific perspective, SS-DAFS also shows the narrowest performance gap between the easiest and hardest tasks, its accuracy ranges from to , yielding a gap of only , compared with for MMD and for DANN. The smaller gap indicates better cross-task consistency, further confirming that the proposed framework is robust to diverse cross-domain scenarios under extremely limited target supervision.
Figure 10 presents the confusion matrices of the proposed SS-DAFS framework across all six transfer tasks under the one-shot setting, where each matrix was evaluated on 312 target-domain samples. A joint inspection reveals that the normal wear class consistently contributes the largest share of misclassifications, whereas the initial and severe classes are recognized almost perfectly in most tasks.
It can be observed that direct confusions between the initial and severe classes are almost absent across all six tasks: the initial↔severe off-diagonal cells are exactly zero in five of the six matrices, and only in C4→C6 do two initial samples get misclassified as severe. In other words, virtually all errors occur between physically adjacent wear stages. This indicates that the shared feature space learned by SS-DAFS preserves the ordinal structure of the tool wear progression even under extreme supervision scarcity, suggesting that the proposed feature separation strategy prevents catastrophic feature collapse: domain-specific interference is absorbed by the private encoders, while the shared encoder retains representations that respect the underlying physical degradation trajectory.
Finally, the difficulty of adaptation varies markedly across transfer directions: C1→C4 and C6→C4 yield the cleanest matrices, whereas C6→C1 remains the hardest at
. Compared with the three-shot matrices in
Figure 8, the framework exhibits graceful degradation. This indicates that the failure modes of SS-DAFS are predictable and physically rooted in the ambiguity of the normal wear stage, confirming that the feature separation strategy yields reliable and interpretable cross-domain representations even under single-sample supervision.
4.5. Ablation Study
To investigate the individual contribution of each component in the proposed SS-DAFS framework, an ablation study was conducted by progressively enabling four key components: the limited target supervision, the dual encoder with private encoders, the feature separation constraint realized by the difference loss, and the MMD-based distribution alignment. Four ablation models were constructed by adding exactly one component at each step, which are defined as follows:
M1: The source-only baseline, in which a single shared encoder is trained with source classification only, without any target supervision or domain adaptation component.
M2: M1 augmented with the limited target supervision, where one or three labeled target samples per class are used for supervised training.
M3: M2 augmented with the private encoders, forming the dual encoder architecture that provides a dedicated pathway for domain-specific information.
M4: M3 augmented with the difference loss, which explicitly decorrelates the shared and private representations to realize the feature separation principle.
Each model was evaluated on all six transfer directions under both the three-shot and one-shot settings, and every result was averaged over five independent runs. The results are reported in
Table 6 and
Table 7, respectively.
As shown in
Table 6 and
Table 7, all four components contribute positively on average, yet their contributions are notably uneven, with the difference loss accounting for the single largest increment among the four steps. This uneven distribution can be understood from an optimization perspective. The target supervision provides a supervised anchor for the classifier, which explains the immediate gain of M2 over the baseline. The private encoders, in contrast, merely expand the representational capacity by introducing a separate branch; without any constraint governing what this branch should absorb, its potential remains largely unexploited, which is why M3 yields the smallest marginal improvement, increasing the average accuracy by only
in the three-shot case.
The difference loss is what renders this dormant branch effective. Once it is enabled (M4), the shared and private representations are explicitly decorrelated, so that domain-specific factors are driven into the private branch while the shared branch is forced to encode purely wear-related information. This causal dependency, in which the separation constraint is required to unlock the capacity introduced by the private encoders, accounts for the most pronounced accuracy increment observed at the M3 to M4 transition, whereas M3 alone does not exhibit such an effect. These results confirm that the feature separation objective, rather than the target supervision or the distribution alignment, constitutes the methodological core of the proposed framework.
4.6. Visualization of Feature Separation and Cross-Domain Alignment
To provide visual evidence for the claim that feature separation improves cross-domain alignment, t-distributed Stochastic Neighbor Embedding (t-SNE) [
40] was employed to project the learned shared feature representations into a two-dimensional space for a qualitative comparison.
Figure 11 visualizes the shared feature embeddings before and after applying the proposed SS-DAFS framework on the representative C1→C4 transfer task under the one-shot setting. In each panel, the color of each point denotes the tool wear state (initial, normal, or severe), while the shape distinguishes the source domain (circle) from the target domain (square).
As shown in
Figure 11a, without any domain adaptation strategy, the Source Only baseline exhibits a significant domain shift: source samples (circles) and target samples (squares) corresponding to the same wear state are largely separated in the feature space, especially for the initial wear and normal wear classes. This phenomenon indicates that features extracted from the pre-trained shared encoder still retain substantial domain-specific information induced by varying machining conditions, which hinders cross-domain generalization.
In contrast,
Figure 11b demonstrates that the proposed SS-DAFS framework yields substantially improved cross-domain alignment. After joint optimization of the shared-private feature separation, MMD-based distribution alignment, and semi-supervised target classification, source and target samples of the same wear state exhibit much stronger overlap in the shared feature space. Meanwhile, samples from different wear states remain clearly separated, confirming that the feature separation strategy effectively preserves discriminative degradation-related information while suppressing domain-specific interference.