Next Article in Journal
Accurate Measurement of Blast Shock Wave Pressure by Enhanced Sensor System Based on Neural Network
Previous Article in Journal
Reconstruction Modeling and Validation of Brown Croaker (Miichthys miiuy) Vocalizations Using Wavelet-Based Inversion and Deep Learning
Previous Article in Special Issue
Incorporating Uncertainty Estimation and Interpretability in Personalized Glucose Prediction Using the Temporal Fusion Transformer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Unsupervised Domain Adaptation with Raman Spectroscopy for Rapid Autoimmune Disease Diagnosis

1
College of Software, Xinjiang University, Urumqi 830046, China
2
Key Laboratory of Signal Detection and Processing, Xinjiang University, Urumqi 830046, China
3
Xinjiang Cloud Computing Application Laboratory, Xinjiang University, Karamay 834099, China
4
Hongyou Software Co., Ltd., Karamay 834099, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(19), 6186; https://doi.org/10.3390/s25196186
Submission received: 17 July 2025 / Revised: 27 August 2025 / Accepted: 28 August 2025 / Published: 6 October 2025
(This article belongs to the Collection Deep Learning in Biomedical Informatics and Healthcare)

Abstract

Autoimmune diseases constitute a broadly prevalent category of disorders. Conventional computer-aided diagnostic (CAD) techniques rely on large volumes of data paired with reliable annotations. However, the diverse symptomatology and diagnostic complexity of autoimmune diseases result in a scarcity of reliably labeled biological samples. In this study, we propose a pseudo-label-based conditional domain adversarial network (CDAN-PL) framework by integrating Raman spectroscopy with domain adaptation technology, enabling label-free unsupervised transfer diagnosis of diseases. Compared to traditional unsupervised domain adaptation techniques, our CDAN-PL framework generates reliable pseudo-labels to ensure the robust implementation of conditional adversarial methods. Additionally, its spectral data-adaptive feature extraction techniques further solidify the model’s superiority in Raman spectroscopy-based disease diagnosis. CDAN-PL exhibits excellent performance in homologous transfer tasks, achieving an average accuracy of 92.3%—surpassing the baseline models’ 80.81% and 86.4%. Moreover, it attains an average accuracy of 90.05% in non-homologous transfer tasks, further validating its generalization capability.

1. Introduction

Autoimmune diseases refer to a series of disorders caused by the immune system mistakenly attacking the body’s own tissues and organs, characterized by a wide variety of types, involvement of systemic symptoms, and complex pathogenesis. The complexity and diversity of autoimmune diseases is manifested in that the etiology of a single autoimmune disease is reflected by a combination of symptoms; correspondingly, a single symptom may imply the involvement of pathological processes of multiple autoimmune diseases [1]. Consequently, their diversity and complexity pose significant challenges for clinicians in clinical diagnosis. Typical autoimmune diseases include ankylosing spondylitis (AS), osteoarthritis (OA), and Sjögren’s syndrome (SS). Ankylosing spondylitis (AS), also known as axial spondyloarthritis, is a chronic inflammatory disease primarily affecting the axial skeleton [2]. The pathogenesis of AS has not been fully elucidated; it is generally believed to involve interactions among genetic, immune, and environmental factors, including abnormal expression of the HLA-B27 antigen, immune system dysregulation, and environmental factors [3]. Osteoarthritis (OA) is a whole-joint disease involving structural changes in articular cartilage, subchondral bone, ligaments, joint capsules, synovium, and periarticular muscles, with pain as its primary symptom [4]. The pathogenesis of OA is mainly attributed to an imbalance between pro-inflammatory and anti-inflammatory mediators, which further leads to low-grade inflammation, cartilage degradation, bone remodeling, and synovial hyperplasia [5]. Sjögren’s syndrome (SS) is a systemic chronic autoimmune disease characterized by immune-mediated damage to the salivary and lacrimal glands, resulting in xerostomia (dry mouth) and xerophthalmia (dry eyes) [6]. SS is generally considered to be caused by factors such as congenital immune barrier dysfunction, infections by pathogens like viruses, and genetic factors.
Clinical diagnostic approaches for the aforementioned diseases typically include clinical symptom assessment, antigen detection, autoantibody testing, biopsy, and imaging examinations [7]. However, conventional diagnostic methods have several limitations: clinical symptom assessment relies on the judgment of experienced physicians; biopsy is often highly invasive; autoantibody testing and imaging examinations are relatively costly; and other diseases that may cause similar symptoms need to be excluded during the diagnostic process before a diagnosis can be confirmed. Raman spectroscopy is a non-invasive analytical technique that enables non-destructive detection, providing molecular fingerprints of samples and quantitative information about their chemical composition. It possesses multiple properties beneficial for medical diagnosis, including high chemical specificity [8], and thus holds great potential in disease diagnosis. With the advancement of artificial intelligence, the integration of spectroscopy with deep learning and machine learning has effectively addressed the limitations of traditional diagnostic methods for autoimmune diseases, allowing Raman spectroscopy to further exert a significant role in the biomedical field, particularly in disease diagnosis [9,10,11,12,13,14]. Leng et al. [15] utilized Raman and Fourier-transform infrared (FTIR) spectra from a total of 119 patients with different types of cancer, performing low-level fusion and feature fusion on the spectra. By employing classifiers such as support vector machine (SVM) and convolutional neural network–long short-term memory (CNN–LSTM), they improved the accuracy of the fusion model by approximately 10%. Yong et al. [16] classified Raman spectra collected from the superficial and deep layers of cartilage in 45 patients with osteoarthritis and 19 patients with osteoporosis (serving as healthy controls). Using a multi-convolutional neural network with sixfold cross-validation, they achieved higher classification accuracy. Yang et al. [17] extracted multi-scale features from surface-enhanced Raman spectroscopy (SERS) data via wavelet transform, and constructed a rapid detection method for liver cancer samples by combining data augmentation and deep learning techniques, achieving an accuracy of 99.38%. Cao et al. [18] designed a one-dimensional residual convolutional neural network (1D-ResNet) architecture to classify tumor tissues of colorectal cancer and visualized and interpreted the fingerprint peaks identified by the deep learning model; their study achieved an accuracy of 98.5% in colorectal cancer detection.
However, existing studies often assume that model training is conducted under the condition that all data are labeled, i.e., supervised learning. In practice, annotating medical data is labor-intensive, resource-consuming, and costly. Furthermore, considering patient privacy, techniques such as de-identification and data desensitization may be required for data processing. Additionally, annotations typically rely on physicians’ clinical diagnostic outcomes. For autoimmune diseases—characterized by complex pathogenesis, high heterogeneity, and the need for exclusionary diagnosis—the accuracy of labels is, to some extent, questionable. Unsupervised learning, which can be performed without labeled training data, enables the learning of internal data structures and distributions, as well as the discovery of potential relationships within the data. It effectively addresses the issue of insufficient data and annotations, holding significant implications for the practical application of artificial intelligence in clinical diagnosis. Although unsupervised learning has been widely applied in the fields of machine learning and deep learning with increasingly mature techniques, research on autoimmune disease diagnosis methods addressing insufficient data annotation remains relatively limited. The framework proposed in this study aims to fill the gap in this field, provide a solid foundation for subsequent research, and further enhance the diversity and feasibility of this research direction.
Transfer learning is a class of machine learning algorithms that aim to leverage existing knowledge to train or refine models in new domains where data or label resources are scarce, thereby improving model performance. Deep neural network-based transfer learning has already played a significant role in fields such as computer vision, signal processing, bioinformatics, and recommendation systems [19,20,21]. Domain adaptation, a specific application scenario of transfer learning, shares the goal of addressing knowledge transfer between source and target domains with transfer learning. However, domain adaptation focuses on reducing the distribution discrepancy between the source and target domains to enable semi-supervised or unsupervised model training on the target domain. Both transfer learning and domain adaptation have extensive applications and great potential in Raman spectroscopy. Jiaqi Hu et al. [22] performed pre-training using 10,000 Raman spectra of 200 substances from the RRUFF database and evaluated the feature transfer performance of CNN-1D, ResNet-1D, and Inception-1D on collected pesticide Raman spectral data. Chen et al. [23] selected three sets of serum Raman spectral data as the source domain and two sets as the target domain, with data augmentation applied. They trained three deep neural network models—CNN-LSTM, GoogLeNet, and ResNet—on the source domain data for disease diagnosis, transferred the models to the target domain, and further improved model performance by constructing a decision-level fusion model combined with logistic regression. Yu Yao et al. [24] implemented unsupervised multiplex biomolecular detection by conducting domain adaptation on 15 different Raman spectra in suspension array technology (SAT) based on Raman spectral encoding. Existing studies have utilized Raman spectroscopy for unsupervised learning and have made significant contributions across various application domains. However, there remains a lack of systematic research focused specifically on unsupervised diagnosis of diseases—particularly autoimmune diseases—using Raman spectroscopy. As summarized in Table 1, a comparison between previous Raman spectroscopy studies combined with AI and this study highlights our distinct approach.
This study addresses the challenges in Raman spectroscopy-based autoimmune disease diagnosis, including AS, OA, and RA, specifically the difficulties in acquiring spectral data and labels, as well as diagnostic complexities arising from the intricate and diverse etiologies of autoimmune diseases. We propose an unsupervised domain adaptation framework with consensus voting for pseudo-label generation. Specifically, we generate pseudo-labels for the target domain by leveraging votes from source domains with feature distributions similar to the target domain, select high-confidence labeled samples to compute and optimize mc-loss [25] and cross-entropy loss, and update the parameters of the feature extractor accordingly. Furthermore, we drew on the domain discriminator framework in conditional domain adaptation [26], concatenating features and labels from both the source and target domains to condition the training of the adversarial network. Our framework achieved optimal performance in mutual adaptation experiments using serum Raman spectral data from three homologous autoimmune diseases. Additionally, we conducted transfer experiments where Raman spectral data of three common non-homologous cancers were transferred to autoimmune disease data, achieving unsupervised disease diagnosis and further validating the generalization capability of our model.

2. Materials and Methods

2.1. Sample Collection

Serum samples from patients with autoimmune diseases, cancer, and healthy controls used in this study were obtained from Xinjiang Uygur Autonomous Region People’s Hospital, with all studies approved by the ethics committee and written informed consent obtained from all participants. All samples were collected in the morning, and volunteers fasted for 12 h to avoid interference from diet and other factors affecting serum components. All serum samples were derived from fresh blood samples, ensuring the absence of any anticoagulants. For each sample, 3 mL of fresh blood was collected; subsequently, the blood samples were centrifuged at 4000 r/min at 4 °C, and the uppermost transparent liquid was extracted to obtain serum. The serum was aliquoted into centrifuge tubes and stored in a −80 °C refrigerator. Detailed sample collection information for dataset construction is presented in Table 2.

2.2. Data Acquisition

For patients with autoimmune disease and their healthy control samples, 10 µL of serum sample was transferred onto a tinfoil-lined slide using a pipette gun, and the serum sample was allowed to dry naturally for approximately 13 min, but not completely. Spectra were collected using a high-resolution confocal Raman spectrometer (LabRAM HR hEvolution, Gora Raman Spectroscopy, Ideal Optics, Shanghai, China) before the sample was fully dried. The excitation wavelength was 785 nm, the excitation time was 15 s, the laser power was 160 mW, and the diameter of the laser spot was 2.2 µm. In this setting, the Raman spectra of the serum samples were measured in the range of 500–2000 cm−1. Five locations were randomly selected for each serum sample, and five different spectral signals were recorded.
Spectroscopic data acquisition for patients with cancer and their healthy control samples was performed in practice using different models of confocal spectrometers as well as operational procedures. Raman spectra of serum samples were collected using a confocal Raman spectrometer (LabRAM HR Evolution Raman Spectrometer, Horiba Scientific, Ltd., Beijing, China). The laser wavelength was 532 nm, the laser power was 20 mW, the integration time was 25 s, and the number of integrations was 3. The laser beam was focused through a 10× objective lens into a sterile glass capillary for measurement. The spectral measurement range was 500 to 2000 cm−1. Each serum sample was measured three times from different positions.

2.3. Data Preprocessing

In the actual acquisition of Raman spectral data, Raman signals collected by spectrometers often contain various types of noise, background radiation, and superimposed random errors. Removing these signals—which may interfere with Raman signals—through a series of spectral preprocessing steps facilitates a clear interpretation of the relationship between Raman spectral lines and the intrinsic biochemical components of samples while better adapting to the requirements of deep learning algorithms. Common Raman spectral preprocessing steps include smoothing for denoising, baseline correction, and normalization.
Baseline correction was performed using the least-squares polynomial fitting method [27], with the polynomial degree set to 3, the number of iterations to 100, and the polynomial loss gradient to 0.001. Mean smoothing was applied for denoising [28], with a smoothing window width of 9. Finally, min–max normalization was conducted to align with the data range required by deep neural networks. Considering the differences between the source and target domains, healthy control samples from both domains were split in a 1:1 ratio to form the source domain dataset and target domain dataset, respectively, with each dataset further divided into training and testing sets in a 7:3 ratio.
To address the issues of small sample size and class imbalance, we further performed data augmentation on the training set. Synthetic Minority Oversampling Technique (SMOTE) [29] is a commonly used algorithm for data balancing and augmentation. This algorithm generates additional samples for specified classes through random interpolation in the feature space, a method that avoids simple duplication of existing samples (ensuring a degree of randomness) while preserving the fundamental characteristics of the original class. SMOTE can mitigate overfitting risks associated with random oversampling algorithms and reduce introduced noise, enabling the model to achieve better performance. During training, we applied the SMOTE algorithm to all classes in both the source and target domain training sets for data augmentation, ensuring each class contained 300 samples.
Additionally, due to differences in the resolution of confocal spectrometers used for acquiring Raman spectral data of cancers and autoimmune diseases, the data dimensions are inconsistent. Prior to conducting the cancer-to-autoimmune disease transfer diagnosis task, we performed principal component analysis (PCA) [30] on both datasets, retaining the first 50 principal components and ensuring their cumulative contribution rate exceeded 99%. The dataset categories and data information involved in the experiments of this study are shown in Table 3.

2.4. Proposed Method

For the unsupervised domain adaptation problem addressed in this study, the source domain is defined as D s = { ( x s , y s ) } N s and the target domain as D t = { ( x t ) } N t , where x s and y s denote the source domain data and corresponding labels, respectively, while x t denotes the target domain data. Due to the requirements of unsupervised domain adaptation (UDA), the target domain labels y t are not included in the target domain dataset, and N denotes the number of classes. The source and target domains follow distinct joint distributions, i.e., P s = ( x s , y s ) and P t = ( x t , y t ) , with P s P t . Such discrepancy gives rise to domain shift, and domain adaptation techniques can mitigate this shift, making the distribution of the target domain as similar as possible to that of the source domain, as illustrated in Figure 1. In this study, we constructed the deep model CDAN-PL to reduce domain shift between the source and target domains; the overall framework is presented in Figure 2.

2.4.1. Predictive Labeling and Pseudo-Labeling

We generated pseudo-labels and predicted labels for the target domain through three stages.
(1) Neuron Predictions
The feature extractor G is used to extract features from the source domain and target domain data. A dual-branch feature extraction based on a transformer encoder and multi-scale convolution and fusion module is employed to represent and fuse features, and the specific structure of G is described in Figure 2a. The fully connected ( F C ) layer outputs binary classification predictions y ˜ s or y ˜ t , and this network serves as the backbone. During actual training, source domain and target domain data are input separately, generating corresponding features and predictions. The features extracted by the encoder and the ground-truth labels of the source domain participate in subsequent computations, which will be described in the conditional domain.
(2) Pseudo-label Generation via K-Nearest Neighbors
Given the feature distribution space and predicted labels of source domain data output by the backbone network, we can assign pseudo-labels to target domain features using the k-nearest neighbors (KNN) algorithm. Specifically, KNN predicts the class of a test sample based on the majority class among its K nearest neighbors: if a certain class appears most frequently among the K neighbors, the test sample is predicted to belong to that class. In our approach, we perform KNN classification by projecting the unlabeled target domain feature distribution into the source domain feature space with ground-truth labels. This maximizes the correspondence between pseudo-labels in the target domain and their counterparts in the source domain after feature alignment. Under such circumstances, the pseudo-label generation process can be expressed as:
y ˜ t = K N N ( G ( x t ) , G ( x s ) , y ˜ s )
Pseudo-labels participate in the calculation of cross-entropy loss and influence the feature extractor (G) through backpropagation:
L C E ( θ G ) = E ( x s , y s ) P s [ y ˜ t log ( F C ( G ( x s ) ) ) ]
Although the pseudo-label generation strategy we proposed achieves feature-level alignment between the source and target domains, the generated labels inherently contain a certain degree of noise. A large number of incorrectly generated labels may reduce diagnostic accuracy [31,32]. To ensure high reliability of y ˜ t , a confidence threshold κ is used to filter target samples. The filtering rule is as follows:
{ x x t | m a x ( C ( x ) ) > κ }
(3) Predictive Label Generation via Decision Fusion
In deep learning, decision fusion is a technique that combines prediction results from multiple models or methods to make final decisions, typically used to improve result accuracy and model robustness. The two pseudo-label generation methods mentioned above each have their own focuses: the neuron prediction method is an end-to-end approach, where the model is treated as a whole, and we only concern ourselves with the predicted class of input data to ensure consistency between pseudo-labels and ground truth labels; the KNN method, on the other hand, focuses on the consistency of the spatial distribution between source and target domain features after alignment, ensuring that features corresponding to pseudo-labels remain consistent with those of the source domain. In domain adversarial frameworks, it is often necessary to balance both class consistency and feature consistency. Therefore, the weighted sum of results from the two methods at the decision level is adopted as the final prediction, which achieves optimal performance and effectively enhances interpretability.

2.4.2. Conditional Adversarial Domain Adaptation Framework

A conditional domain discriminator (D) is used to supervise the training of the feature extractor (G), directing it toward learning domain-invariant features relevant to both the source and target domains. The adversarial loss ensures effective alignment between the source and target domains:
L a d v ( θ G , θ D ) = E x s P s [ log ( 1 D ( φ ( G ( x s ) , y ˜ s ) ) ) ] E x t P t [ log ( D ( φ ( G ( x t ) , y ˜ t ) ) ) ]
Here, θ G and θ D denote the parameters of the feature extractor G and domain discriminator D, respectively. φ represents a multilinear mapping, defined as φ ( f , g ) = f g , which imposes constraints on the features G ( x s ) and G ( x t ) through the model’s predicted probabilities y ˜ s and y ˜ t for the samples, respectively. Detailed information about φ is provided in Ref. [26].
For class classifier (C), it is trained using cross-entropy loss to ensure that it has basic classification ability:
L c l s ( θ G , θ C ) = E ( x s , y s ) P s [ y s log ( C ( G ( x s ) ) ) ]
However, during adversarial training, as the source and target domains need to reduce shift, the discriminative information of disease spectra may be disrupted. This leads to a problem where domains are confused, but the classifier still fails to effectively classify diseases. Therefore, in this study, we introduce a metric constraint (MC) loss based on Fisher linear discriminant analysis [33] into the adversarial learning process, adding an additional constraint during adversarial training. Specifically, suppose G ( x s u ) is the feature extracted by the feature extractor G from sample x s u , and y s u is the label of this sample. First, the normalization coefficient T m is calculated as follows:
T m = 1 B m u , v { 1 , , B m } G ( x s u ) G ( x s v ) 2 2
B m denotes the number of source domain samples; then, the calculation formula for the MC loss is as follows:
L M C ( θ G ) = E ( x s , y s ) P s × log y s u y s v exp ( G ( x s u G ( x s v ) ) 2 2 / T m ) y s u = y s v exp ( G ( x s u G ( x s v ) ) 2 2 / T m )
where u , v { 1 , , B m } , u v . The MC loss preserves the structural information of the original data through adversarial training, ensuring the discriminability of representations, thereby improving the performance of adversarial learning.
In summary, the optimization objective of the conditional adversarial domain adaptation part is as follows:
max θ G , θ C m min θ D m λ ( L a d v ( θ G , θ D ) L M C ( θ G ) ) L c l s ( θ G , θ D )
The overall process of CDAN-PL can be described by pseudo-code as Algorithm 1:
Algorithm 1 Conditional domain adversarial networks based on voting to generate consistent pseudo labels (CDAN-LP)
  • Input: Source set: S = { ( x s , y s ) } N s , Target set: T = { ( x t , y t ) } N t , training epochs E1, batch size: B, parameter: λ , Confidence threshold κ .
  • Output: Feature extractor (G), domain discriminators (D), category classifiers (C). Pseudo Label Generator: (P)
1   
Initialize { D } N , { C } N with xavier
2   
for  e 1 , 2 , , E  do
3   
Sample a B-batch from D s = { ( x s , y s ) } N s
D t = { ( x t ) } N t
4   
Calculate adversarial losses via Equation (4)
5   
Calculate source category classification loss via Equation (5)
6   
Generate pseudo labels with the Pseudo Label Generator
7   
Threshold-based filtering of pseudo-labels.
8   
Calculate MC loss via Equations (6) and (7)
9   
Calculate CE classification loss via Equation (2)
10
  end for

3. Results

3.1. Experimental Setup

For the baseline models, we selected the source-only model (without adaptation) and the classic adversarial domain adaptation model DANN [34]. The version of our framework that does not use pseudo-labels is also employed as a comparison to verify the role of pseudo-labels and their involved operations in the entire model. This model is equivalent to a conditional domain adversarial network (CDAN) constrained by L M C , namely CDAN-MC.
The source-only model is obtained by performing supervised training on the source domain data based on the feature extractor and class classifier we adopted. It can represent the performance of our proposed framework on the target domain before migration and intuitively demonstrate the overall effect of our proposed pseudo-label-based conditional domain adaptation framework on domain alignment from the results. The Domain-Adversarial Neural Network (DANN) is a classic adversarial domain adaptation framework, which consists of a feature extractor, a domain discriminator, and a class classifier. The domain discriminator propagates gradients back to the feature extractor through a gradient reversal layer, enabling the latter to learn domain-confused features so as to align the features of the source and target domains. The class classifier outputs category labels based on the features. Ideally, the domain discriminator confuses the feature extractor so that it does not extract domain-related features regardless of whether the input data are from the source or target domain. Meanwhile, the classifier is trained to distinguish the categories of such features, thereby achieving the goal of unsupervised training of the model on the target domain as a whole. In addition, the results of the conditional domain adaptation framework without using pseudo-labels are included as a comparison model, which can reflect the role of operations involving pseudo-labels in feature alignment.
Table 4 and Table 5 present the experimental environment, version information, and model parameter information. All experimental results are the average values of three experiments.

3.2. Homologous Disease Migration

To achieve efficient diagnosis of autoimmune diseases, we selected three homologous diseases, namely ankylosing spondylitis (AS), osteoarthritis (OA), and Sjögren’s syndrome (SS), for mutual migration to minimize domain shift. Table 6 shows the experimental results of internal migration among these three diseases. In the migration experiments of homologous diseases, our CDAN-PL achieved the best accuracy, with an average accuracy of 92.3% across six tasks, which was 5.9% and 3.8% higher than that of the source-only model trained on CNN and DANN, respectively.
Analysis of classification results across different diseases, together with comparison to previously published studies, further validates the strong diagnostic capability of our proposed model. When using different diseases as the source domain for cross-disease diagnosis, our framework achieves average performances of 88.1% for AS, 91.6% for OA, and 97.2% for SS. Compared with supervised learning approaches reported in the literature, our method demonstrates comparable or even superior diagnostic performance under unsupervised conditions. For example, Wu et al. [35] employed Fourier transform infrared spectroscopy combined with a multi-scale ResNet, achieving supervised diagnostic accuracies of 88.89% for AS and 88.46% for OA. Similarly, Bhavik Vyas et al. [13] integrated a genetic algorithm with an S V M D A model to analyze salivary Raman spectra from patients with SS, attaining a diagnostic accuracy of 97%. In contrast, our framework achieves comparable or higher performance without the need for labeled data, underscoring its potential value and applicability in real-world diagnostic settings.
An important task of domain adaptation is to align the features of the source domain and the target domain. The t-SNE algorithm [36] is a nonlinear dimensionality reduction algorithm that can reduce high-dimensional data to two or three dimensions, facilitating visualization research. It is used in domain adaptation to easily observe the alignment degree of features between the source domain and the target domain. Figure 3 shows the structural information of the feature distribution space of the source domain and target domain in each group of experiments.
From the feature distributions of the source domain and target domain, it can be observed that the target domain still extracts category-based features even in the case of a complete lack of labels. After dimensionality reduction to a 2D space using the t-SNE algorithm, the features of diseases and healthy controls can be clearly divided into two clusters.

3.3. Non-Homologous Disease Migration

Unlike homologous diseases, non-homologous diseases exhibit significant differences in pathogenesis, symptoms, early diagnosis, and disease prognosis. Migration experiments involving non-homologous diseases can effectively verify the generalization ability of the model. We selected cancer as a typical type of non-homologous disease, and esophageal cancer (EC), kidney cancer (KC), and lung cancer (LC)—which have high incidence rates, abundant clinical cases, and easily accessible data and labels—are suitable as source domain data. Table 7 presents the experimental results of migration from the three types of cancer to autoimmune diseases, where CDAN-PL achieved the highest accuracy in all tasks, with an average accuracy of 90.05%, which was 12.85% and 13.65% higher than that of the source-only model and DANN, respectively.
As shown in Figure 4, compared with homologous migration tasks, the category-based features extracted from the target domain data in non-homologous migration tasks are poorer, and most of them do not show clear clustering in the feature distribution. This is also reflected in the classification results: the diagnostic accuracy of non-homologous migration tasks is 2.25% lower on average than that of homologous migration tasks.

4. Interpretability

For end-to-end deep network frameworks, Grad-Cam [37] provides an effective method to describe the interpretability of the network. Specifically, Grad-Cam obtains the gradient information of the feature layer through backpropagation on the network’s predicted values, then performs weighted summation and activation on all channels, and finally obtains a set of weights. This set of weights can be regarded as the degree of contribution of different positions in the feature map to the network’s predicted values. We applied this technology to the migration tasks of Raman spectroscopy, enabling the plotting of heatmaps. Figure 5 shows the spectral heatmaps of all homologous disease migration tasks. In Raman spectroscopy, different peak positions reflect specific structures and their vibrational information in the measured sample substances, thereby indicating the presence of different substances. Peak positions with large weights shown in the heatmaps can, to a certain extent, indicate that the substances corresponding to these peaks are of great significance for the diagnosis of autoimmune diseases or may become important biomarkers. To explore this possibility, we performed spectral analysis on the spectra in Figure 5.
Tasks with the same target domain disease are grouped together, dividing the six tasks into three groups, where each group represents the diagnostic task results of OA, AS, and SS, respectively. This study identified peaks with a contribution value greater than 0.5 (shown in red in Figure 5) when different diseases were transferred to the target disease; these peaks were defined as the key characteristic peaks for model-based diagnosis. Table 8 presents the key characteristic peaks across all tasks and their occurrence frequencies. In the six groups of homologous disease transfer tasks, the features identified as key characteristic peaks may represent the common traits shared by homologous autoimmune diseases. These features were effectively expressed and transferred to the target domain during the domain adaptation process. Among them, characteristic peaks such as 924.02 cm−1, 929.19 cm−1, 990.84 cm−1, and 1316.85 cm−1 exhibited high contribution in all homologous tasks and were identified as key characteristic peaks, indicating that they may correspond to key biomolecules influencing disease diagnosis. The biomolecules represented by the key characteristic peaks in Table 8 will be analyzed across different diseases to identify specific disease markers.
Proline, valine, phenylalanine, and guanine (B, Z-marker), as well as lipids, contributed more than 0.5 in all tasks, proving, to some extent, their specificity in the diagnosis of autoimmune diseases. Proline is a non-essential amino acid that is essential for the synthesis of collagen, one of the main components of cartilage. It has been shown [38] that circUbqln1 (non-coding RNA) is able to promote OA by affecting proline metabolism; specifically, circUbqln1 upregulates the transcriptional and enzymatic activities of proline dehydrogenase (PRODH), leading to an acceleration of proline deletion, resulting in the accumulation of its metabolite P5C (proline-5-carboxylic acid), which may interfere with the normal collagen synthesis process. Also, proline was one of the best biomarkers for differentiating autoimmune neuroinflammation from controls, with an area under the receiver operating characteristic curve (AUC) of 0.77 [39]. Valine is generally thought to be associated with the development of autoimmune neuroinflammatory disorders, and it is included in a larger group of metabolites that consists primarily of amino acids, amino acid metabolites, and acetyl carnitine. It has also been noted that the serum metabolomics of patients with SS and HC can be distinguished by 21 significant metabolites, including elevated levels of alanine and valine [40]. Methionine or its metabolites may be implicated in the pathogenesis of autoimmune diseases in some cases, e.g., methionine plays a key role in the activity of α 1-antitrypsin (AAT), especially in the active center loop of AAT, and oxidation of methionine can affect its inhibition of proteases such as neutrophil elastase, which further affects certain disease processes [41].
Furthermore, in autoimmune diseases such as Sjögren’s syndrome (SS), cholesterol metabolism plays a key role in T-cell biology [42]. Cholesterol helps maintain the stability of cell membranes and regulates their fluidity. In addition, cholesterol is involved in the formation of key structures such as lipid rafts, major histocompatibility complex molecules, and T-cell receptors, all of which are necessary for adaptive immunity.

5. Conclusions and Discussion

This study systematically explores the application framework of unsupervised domain adaptation (UDA) technology in Raman spectroscopy analysis, providing an effective solution to address the domain shift problem caused by data discrepancies. The proposed CDAN-PL framework demonstrates significant performance advantages over traditional supervised learning methods in scenarios with extremely limited labeled data and outperforms other state-of-the-art (SOTA) domain adaptation algorithms. Experimental results show that in homologous disease migration tasks, our proposed CDAN-PL achieves the highest accuracy compared to baseline models, with an average accuracy of 92.3% across all tasks. In addition, we selected three common types of cancer as source domain data, which also effectively perform unsupervised diagnosis of autoimmune diseases with an average accuracy of 90.05%, verifying the generalization ability of our model. Furthermore, using Grad-CAM technology, we identified spectral peaks that contribute significantly to diagnostic results, and the substances corresponding to these peaks may become important biomarkers for future diagnosis and research. Overall, this study provides a new perspective and method for the unsupervised diagnosis of autoimmune diseases.
In summary, the CDAN-PL framework has initially verified the feasibility of autoimmune disease diagnosis based on unlabeled Raman spectroscopy. However, this study still has several limitations, including a limited sample size and a single data modality. A total of 297 samples from various autoimmune diseases and their corresponding control groups, as well as 154 samples from various types of cancer and their control groups, were included in this study. Although domain adaptation models typically rely on large-scale data to ensure the reliability of knowledge transfer, we adopted the Synthetic Minority Oversampling Technique (SMOTE) to perform data augmentation separately for the disease group and the control group in each experiment to alleviate the issue of insufficient sample size, increasing the sample size of each category to 300. Nevertheless, considering that excessive use of SMOTE may distort the original statistical distribution of the data [43], no further expansion of the augmentation scale was conducted. In the future, we plan to recruit more real-world samples and develop more specialized algorithms for few-shot domain adaptation, aiming to further improve the performance and application value of Raman spectroscopy in unsupervised and supervised diagnostic tasks.
Furthermore, although the current model relies solely on spectral features derived from blood samples, it is well established that clinical variables such as age and gender can significantly influence both susceptibility to and progression of autoimmune disorders [44,45]. Future extensions of this work could therefore benefit from integrating such demographic and clinical metadata, either through multimodal learning architectures or hybrid predictive frameworks. Incorporating these factors would enable more personalized and context-aware diagnostic support, thereby aligning computational predictions more closely with established clinical practice.

Author Contributions

Conceptualization, Z.Z. and Y.L.; methodology, Z.Z. and Y.L.; software, Z.Z. and Y.L.; validation, Y.L.; formal analysis, Z.Z. and C.C. (Cheng Chen); investigation, C.C. (Cheng Chen) and X.L.; resources, C.C. (Cheng Chen); data curation, Z.Z. and Y.L.; writing—original draft preparation, Z.Z.; writing—review and editing, Z.Z. and Y.L.; visualization, Z.Z.; supervision, C.C. (Chen Chen) and X.L.; project administration, C.C. (Chen Chen) and X.L.; funding acquisition, C.C. (Chen Chen) All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Tianshan Talent–Young Science and Technology Talent Project (NO. 2022TSYCJC0033) and Tianshan Talent–Young Science and Technology Talent Project (2022TSYCCX0060).

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Ethics Review Committee of Xinjiang Uygur Autonomous Region People’s Hospital (protocol code: 2021101507 (GZ2023); date: 1 December 2023).

Informed Consent Statement

Informed consent was obtained from all participants involved in the study.

Data Availability Statement

The data are not publicly available due to data privacy regulations. The data presented in this study are available upon request from the corresponding author.

Conflicts of Interest

Author Chen Chen was employed by the company Hongyou Software Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CADComputer-aided diagnosis
UDAUnsupervised domain adaptation
ASAnkylosing spondylitis
OA0steoarthritis
SSSjögren’s syndrome
ECEsophageal cancer
KCKidney cancer
LCLung cancer
HCHealthy control
PLPseudo label
KNNK-nearest neighbors
SMOTESynthetic Minority Oversampling Technique
PCAprincipal component analysis
t-SNEt-Distributed Stochastic Neighbor Embedding
CDANConditional Domain Adversarial Network
DANNDomain-Adversarial Neural Network

References

  1. Pisetsky, D.S. Pathogenesis of autoimmune disease. Nat. Rev. Nephrol. 2023, 19, 509–524. [Google Scholar] [CrossRef] [PubMed]
  2. Sieper, J.; Poddubnyy, D. Axial spondyloarthritis. Lancet 2017, 390, 73–84. [Google Scholar] [CrossRef] [PubMed]
  3. Taurog, J.D.; Chhabra, A.; Colbert, R.A. Ankylosing Spondylitis and Axial Spondyloarthritis. N. Engl. J. Med. 2016, 374, 2563–2574. [Google Scholar] [CrossRef] [PubMed]
  4. Hunter, D.J.; Bierma-Zeinstra, S. Osteoarthritis. Lancet 2019, 393, 1745–1759. [Google Scholar] [CrossRef]
  5. Robinson, W.H.; Lepus, C.M.; Wang, Q.; Raghu, H.; Mao, R.; Lindstrom, T.M.; Sokolove, J. Low-grade inflammation as a key mediator of the pathogenesis of osteoarthritis. Nat. Rev. Rheumatol. 2016, 12, 580–592. [Google Scholar] [CrossRef]
  6. Negrini, S.; Emmi, G.; Greco, M.; Borro, M.; Sardanelli, F.; Murdaca, G.; Indiveri, F.; Puppo, F. Sjogren’s syndrome: A systemic autoimmune disease. Clin. Exp. Med. 2022, 22, 9–25. [Google Scholar] [CrossRef]
  7. Zhang, W.; Li, X.M.; Xu, D.; Liu, D.Z.; Xu, J.; Zhao, F.T.; Zhao, Y.; Zeng, X.F.; Dong, Y.; Chinese Sjogrens Syndrome Collaborative Research Group; et al. Recommendations of diagnosis and treatment of primary Sjogren’s syndrome in China. Zhonghua Nei Ke Za Zhi 2020, 59, 269–276. [Google Scholar] [CrossRef]
  8. Kong, K.; Kendall, C.; Stone, N.; Notingher, I. Raman spectroscopy for medical diagnostics—From in-vitro biofluid assays to in-vivo cancer detection. Adv. Drug Deliv. Rev. 2015, 89, 121–134. [Google Scholar] [CrossRef]
  9. Huang, L.; Sun, H.; Sun, L.; Shi, K.; Chen, Y.; Ren, X.; Ge, Y.; Jiang, D.; Liu, X.; Knoll, W.; et al. Rapid, label-free histopathological diagnosis of liver cancer based on Raman spectroscopy and deep learning. Nat. Commun. 2023, 14, 48. [Google Scholar] [CrossRef]
  10. Fan, Y.; Chen, C.; Xie, X.; Yang, B.; Wu, W.; Yue, F.; Lv, X.; Chen, C. Rapid noninvasive screening of cerebral ischemia and cerebral infarction based on tear Raman spectroscopy combined with multiple machine learning algorithms. Lasers Med. Sci. 2022, 37, 417–424. [Google Scholar] [CrossRef]
  11. Žuvela, P.; Lin, K.; Shu, C.; Zheng, W.; Lim, C.M.; Huang, Z. Fiber-Optic Raman Spectroscopy with Nature-Inspired Genetic Algorithms Enhances Real-Time in Vivo Detection and Diagnosis of Nasopharyngeal Carcinoma. Anal. Chem. 2019, 91, 8101–8108. [Google Scholar] [CrossRef]
  12. Shin, H.; Kang, Y.; Choi, K.W.; Kim, S.; Ham, B.J.; Choi, Y. Artificial Intelligence-Based Major Depressive Disorder (MDD) Diagnosis Using Raman Spectroscopic Features of Plasma Exosomes. Anal. Chem. 2023, 95, 6410–6416. [Google Scholar] [CrossRef] [PubMed]
  13. Vyas, B.; Khatiashvili, A.; Galati, L.; Ngo, K.; Gildener-Leapman, N.; Larsen, M.; Lednev, I.K. Raman hyperspectroscopy of saliva and machine learning for Sjögren’s disease diagnostics. Sci. Rep. 2024, 14, 11135. [Google Scholar] [CrossRef] [PubMed]
  14. Chenjie, C.; Hao, L.; Chen, C.; Lijun, W.; Xiaoyi, L.; Xiaodong, X.; Cheng, C. Rapid diagnosis of systemic lupus erythematosus by Raman spectroscopy combined with spiking neural network. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2024, 310, 123904. [Google Scholar] [CrossRef]
  15. Leng, H.; Chen, C.; Chen, C.; Chen, F.; Du, Z.; Chen, J.; Yang, B.; Zuo, E.; Xiao, M.; Lv, X.; et al. Raman spectroscopy and FTIR spectroscopy fusion technology combined with deep learning: A novel cancer prediction method. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2023, 285, 121839. [Google Scholar] [CrossRef]
  16. Kok, Y.E.; Crisford, A.; Parkes, A.; Venkateswaran, S.; Oreffo, R.; Mahajan, S.; Pound, M. Classification of osteoarthritic and healthy cartilage using deep learning with Raman spectra. Sci. Rep. 2024, 14, 15902. [Google Scholar] [CrossRef]
  17. Yang, Y.; Gao, X.; Zhang, H.; Chao, F.; Jiang, H.; Huang, J.; Lin, J. Multi-scale representation of surface-enhanced Raman spectroscopy data for deep learning-based liver cancer detection. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2024, 308, 123764. [Google Scholar] [CrossRef]
  18. Cao, Z.; Pan, X.; Yu, H.; Hua, S.; Wang, D.; Chen, D.Z.; Zhou, M.; Wu, J. A Deep Learning Approach for Detecting Colorectal Cancer via Raman Spectra. BME Front. 2022, 2022, 9872028. [Google Scholar] [CrossRef]
  19. Wang, J.; Zhu, H.D.; Wang, S.H.; Zhang, Y.D. A Review of Deep Learning on Medical Image Analysis. Mob. Netw. Appl. 2021, 26, 351–380. [Google Scholar] [CrossRef]
  20. Lin, W.S.; Hou, D.B.; Huang, J.S.; Li, L.X.; Han, Z. Transfer Learning for Automatic Modulation Recognition Using a Few Modulated Signal Samples. IEEE Trans. Veh. Technol. 2023, 72, 12391–12395. [Google Scholar] [CrossRef]
  21. Taroni, J.N.; Grayson, P.C.; Hu, Q.W.; Eddy, S.; Kretzler, M.; Merkel, P.A.; Greene, C.S. MultiPLIER: A Transfer Learning Framework for Transcriptomics Reveals Systemic Features of Rare Disease. Cell Syst. 2019, 8, 380–394. [Google Scholar] [CrossRef] [PubMed]
  22. Hu, J.; Zou, Y.; Sun, B.; Yu, X.; Shang, Z.; Huang, J.; Jin, S.; Liang, P. Raman spectrum classification based on transfer learning by a convolutional neural network: Application to pesticide detection. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2022, 265, 120366. [Google Scholar] [CrossRef] [PubMed]
  23. Chen, C.; Ma, Y.H.; Zhu, M.; Yan, Z.W.; Lv, X.Y.; Chen, C.; Tian, F. A new method for Raman spectral analysis: Decision fusion-based transfer learning model. J. Raman Spectrosc. 2023, 54, 314–323. [Google Scholar] [CrossRef]
  24. Yao, Y.; Xue, K.W.; Liu, L.W.; Zhu, S.S.; Yue, C.F.; Ji, Y.H. Decoding of Raman spectroscopy-encoded suspension arrays based on the detail constraint cycle domain adaptive model. J. Innov. Opt. Health Sci. 2022, 15, 2250025. [Google Scholar] [CrossRef]
  25. Yin, Y.M.; Yang, Z.; Hu, H.F.; Wu, X.F. Universal multi-Source domain adaptation for image classification. Pattern Recognit. 2022, 121, 108238. [Google Scholar] [CrossRef]
  26. Long, M.; Cao, Z.; Wang, J.; Jordan, M.I. Conditional adversarial domain adaptation. Adv. Neural Inf. Process. Syst. 2018, 31. [Google Scholar]
  27. Lieber, C.A.; Mahadevan-Jansen, A. Automated method for subtraction of fluorescence from biological Raman spectra. Appl. Spectrosc. 2003, 57, 1363–1367. [Google Scholar] [CrossRef]
  28. Schulze, H.G.; Rangan, S.; Blades, M.W.; Piret, J.M.; Turner, R.F.B. Smoothing Raman Spectra with Contiguous Single-Channel Fitting of Voigt Distributions: An Automated, High-Quality Procedure. Appl. Spectrosc. 2019, 73, 47–58. [Google Scholar] [CrossRef]
  29. Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic minority over-sampling technique. J. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef]
  30. Bro, R.; Smilde, A.K. Principal component analysis. Anal. Methods 2014, 6, 2812–2831. [Google Scholar] [CrossRef]
  31. Cho, Y.; Kim, W.J.; Hong, S.; Yoon, S.E. Part-based Pseudo Label Refinement for Unsupervised Person Re-identification. In Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 7298–7308. [Google Scholar] [CrossRef]
  32. Fan, H.; Chang, X.; Zhang, W.; Cheng, Y.; Sun, Y.; Kankanhalli, M. Self-Supervised Global-Local Structure Modeling for Point Cloud Domain Adaptation with Reliable Voted Pseudo Labels. In Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 6367–6376. [Google Scholar] [CrossRef]
  33. Ren, C.X.; Dao-Qing, D.A.I.; He, X.; Yan, H. Sample Weighting: An Inherent Approach for Outlier Suppressing Discriminant Analysis. IEEE Trans. Knowl. Data Eng. 2015, 27, 3070–3083. [Google Scholar] [CrossRef]
  34. Ganin, Y.; Ustinova, E.; Ajakan, H.; Germain, P.; Larochelle, H.; Laviolette, F.; Marchand, M.; Lempitsky, V. Domain-Adversarial Training of Neural Networks. J. Mach. Learn. Res. 2016, 17, 1–35. [Google Scholar]
  35. Wu, X.; Shuai, W.; Chen, C.; Chen, X.M.; Luo, C.A.; Chen, Y.; Shi, Y.M.; Li, Z.F.; Lv, X.Y.; Chen, C.; et al. Rapid screening for autoimmune diseases using Fourier transform infrared spectroscopy and deep learning algorithms. Front. Immunol. 2023, 14, 1328228. [Google Scholar] [CrossRef] [PubMed]
  36. van der Maaten, L.; Hinton, G. Visualizing Data using t-SNE. J. Mach. Learn. Res. 2008, 9, 2579–2605. [Google Scholar]
  37. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar] [CrossRef]
  38. Feng, N.; Ye, Y.; Pan, Y.; Kuang, B.; Du, Y.; Geng, N.; Chen, C.; Liu, K.; Liang, L.; Xian, M.; et al. The circUbqln1, regulated by XBP1s, interplays with 14-3-3ζ to inhibit collagen synthesis and promote osteoarthritis by controlling PRODH activity and proline metabolism. J. Adv. Res. 2024, 66, 267–284. [Google Scholar] [CrossRef] [PubMed]
  39. Al-Mekhlafi, A.; Waqas, F.H.; Krueger, M.; Klawonn, F.; Akmatov, M.K.; Müller-Vahl, K.; Trebst, C.; Skripuletz, T.; Stangel, M.; Sühs, K.W.; et al. Elevated phospholipids and acylcarnitines C4 and C5 in cerebrospinal fluid distinguish viral CNS infections from autoimmune neuroinflammation. J. Transl. Med. 2023, 21, 776. [Google Scholar] [CrossRef]
  40. Xu, T.; Guo, Y.; Lu, J.; Shan, J.; Lin, L.; Qian, W.; Chen, W.; Wang, J.; Lv, X.; Ke, M.; et al. Untargeted serum metabolomics and potential biomarkers for Sjögren’s syndrome. Clin. Exp. Rheumatol. 2021, 39 (Suppl. 133), 23–29. [Google Scholar] [CrossRef]
  41. Ebert, M.; Jerke, U.; Eulenberg-Gustavus, C.; Kling, L.; Jenne, D.; Kirchner, M.; Mertins, P.; Bieringer, M.; Elitok, S.; Eckardt, K.U.; et al. Protective α1-antitrypsin effects in autoimmune vasculitis are compromised by methionine oxidation. J. Clin. Investig. 2022, 132, e160089. [Google Scholar] [CrossRef]
  42. Yin, J.; Xu, J.; Chen, C.; Ma, X.; Zhu, H.; Xie, L.; Wang, B.; Shao, Y.; Zhao, Y.; Wei, Y.; et al. HECT, UBA and WWE domain containing 1 represses cholesterol efflux during CD4+ T cell activation in Sjögren’s syndrome. Front. Pharmacol. 2023, 14, 1191692. [Google Scholar] [CrossRef]
  43. Elreedy, D.; Atiya, A.F.; Kamalov, F. A theoretical distribution analysis of synthetic minority oversampling technique (SMOTE) for imbalanced learning. Mach. Learn. 2024, 113, 4903–4923. [Google Scholar] [CrossRef]
  44. Stovall, R.; van der Horst-Bruinsma, I.E.; Liu, S.H.; Rusman, T.; Gensler, L.S. Sexual dimorphism in the prevalence, manifestation and outcomes of axial spondyloarthritis. Nat. Rev. Rheumatol. 2022, 18, 657–669. [Google Scholar] [CrossRef]
  45. Peshkova, M.; Lychagin, A.; Lipina, M.; Di Matteo, B.; Anzillotti, G.; Ronzoni, F.; Kosheleva, N.; Shpichka, A.; Royuk, V.; Fomin, V.; et al. Gender-Related Aspects in Osteoarthritis Development and Progression: A Review. Int. J. Mol. Sci. 2022, 23, 2767. [Google Scholar] [CrossRef]
Figure 1. Schematic representation of the domain adaptation.
Figure 1. Schematic representation of the domain adaptation.
Sensors 25 06186 g001
Figure 2. Overall technical framework of CDAN-PL. (a). Detailed internal structure of the feature extractor (G). (b). Internal structure of the label predictor (P). (c). Structural diagram and training process of the CDAN-PL deep model.
Figure 2. Overall technical framework of CDAN-PL. (a). Detailed internal structure of the feature extractor (G). (b). Internal structure of the label predictor (P). (c). Structural diagram and training process of the CDAN-PL deep model.
Sensors 25 06186 g002
Figure 3. Visualization of the feature distribution for each category of the source and target domains of the six homologous disease migration tasks, respectively. The yellow inverted triangle and yellow triangle are the healthy controls of the source and target domains, respectively, and the green dots are the source domain diseases, and green squares are the target domain diseases: (a) Visualization of the feature distribution of OA→AS. (b) Visualization of the feature distribution of SS→AS. (c) Visualization of the feature distribution of AS→OA. (d) Visualization of the feature distribution of SS→OA. (e) Visualization of the feature distribution of AS→SS. (f) Visualization of the feature distribution of OA→SS.
Figure 3. Visualization of the feature distribution for each category of the source and target domains of the six homologous disease migration tasks, respectively. The yellow inverted triangle and yellow triangle are the healthy controls of the source and target domains, respectively, and the green dots are the source domain diseases, and green squares are the target domain diseases: (a) Visualization of the feature distribution of OA→AS. (b) Visualization of the feature distribution of SS→AS. (c) Visualization of the feature distribution of AS→OA. (d) Visualization of the feature distribution of SS→OA. (e) Visualization of the feature distribution of AS→SS. (f) Visualization of the feature distribution of OA→SS.
Sensors 25 06186 g003
Figure 4. Visualization of feature distribution for each category of source and target domains for the above nine non-homologous disease migration tasks, respectively. Yellow inverted triangles and yellow triangles are the healthy controls of the source and target domains, respectively, while green dots are the source domain diseases, and green squares are the target domain diseases: (a) Visualization of the feature distribution of EC→AS. (b) Visualization of the feature distribution of EC→OA. (c) Visualization of the feature distribution of EC→SS. (d) Visualization of the feature distribution of KC→AS. (e) Visualization of the feature distribution of KC→OA. (f) Visualization of the feature distribution of KC→SS. (g) Visualization of the feature distribution of LC→AS. (h) Visualization of the feature distribution of LC→OA. (i) Visualization of the feature distribution of LC→SS.
Figure 4. Visualization of feature distribution for each category of source and target domains for the above nine non-homologous disease migration tasks, respectively. Yellow inverted triangles and yellow triangles are the healthy controls of the source and target domains, respectively, while green dots are the source domain diseases, and green squares are the target domain diseases: (a) Visualization of the feature distribution of EC→AS. (b) Visualization of the feature distribution of EC→OA. (c) Visualization of the feature distribution of EC→SS. (d) Visualization of the feature distribution of KC→AS. (e) Visualization of the feature distribution of KC→OA. (f) Visualization of the feature distribution of KC→SS. (g) Visualization of the feature distribution of LC→AS. (h) Visualization of the feature distribution of LC→OA. (i) Visualization of the feature distribution of LC→SS.
Sensors 25 06186 g004
Figure 5. Average spectral heatmap of the homologous disease transfer task. (a,b) demonstrate the contribution of different Raman spectral peaks in the OA diagnostic task with different diseases as source domains. (c,d) demonstrate the contribution of different Raman spectral peaks in the AS diagnostic task with different diseases as source domains. (e,f) demonstrate the contribution of different Raman spectral peaks in the SS diagnostic task for different diseases as source domains.
Figure 5. Average spectral heatmap of the homologous disease transfer task. (a,b) demonstrate the contribution of different Raman spectral peaks in the OA diagnostic task with different diseases as source domains. (c,d) demonstrate the contribution of different Raman spectral peaks in the AS diagnostic task with different diseases as source domains. (e,f) demonstrate the contribution of different Raman spectral peaks in the SS diagnostic task for different diseases as source domains.
Sensors 25 06186 g005
Table 1. Comparison of previous studies on artificial intelligence combined with Raman spectroscopy.
Table 1. Comparison of previous studies on artificial intelligence combined with Raman spectroscopy.
ResearchTransfer LearningDomain
Adaptation
Supervised
Learning
Unsupervised LearningDisease Diagnostics
Leng et al. [15] Cancer
Yong et al. [16] Osteoarthritis and osteoporosis
Yang et al. [17] Liver cancer
Cao et al. [18] Colorectal cancer
Hu et al. [22] -
Chen et al. [23] Cancer
Yao et al. [24] -
Our work Autoimmune disease
✓: This research conforms to this option.
Table 2. Raman spectroscopy sample information.
Table 2. Raman spectroscopy sample information.
DiseaseCategorySample SizeWavenumber RangeSample Type
Autoimmune
disease
Ankylosing Spondylitis72500–2000 cm−1Serum
Osteoarthritis87
Sjögren’s Syndrome70
Healthy Control68
CancerEsophageal Cancer37
Lung Cancer44
Kidney Cancer28
Healthy Control45
Table 3. Source and target domain dataset information.
Table 3. Source and target domain dataset information.
DomainDatasetCategoryData SizeSMOTE
Source DomainAnkylosing Spondylitis DatasetAS72300
Healthy Control34
Osteoarthritis DatasetOA87
Healthy Control34
Sjögren’s Syndrome DatasetSS70
Healthy Control34
Target DomainAnkylosing Spondylitis DatasetAS72
Healthy Control68
Osteoarthritis DatasetOA87
Healthy Control68
Sjögren’s Syndrome DatasetSS70
Healthy Control68
Table 4. Experimental environment and version information.
Table 4. Experimental environment and version information.
EnvironmentVersion
LanguagePython3.8.0
MATLABR2021a
Dataset divisionsklearn.model_selection
Artificial synthetic dataset generationtorch.DataLoader
Dataset processingscipy1.10.1
Classifiertorch.nn1.13.0
torchvision0.14.0
T-SNEsklearn.manifold1.7.1
Calculationnumpy1.21.2
Data augmentimblearn. over_sampling
Data normalizationsklearn.preprocessing1.1.3
GPURTX 3090 (24 GB)
Table 5. Model parameter settings.
Table 5. Model parameter settings.
ModelParameter
CDAN-LPBackbone = G, Optimizer = RMSprop, Weight initialization = Xavier, learning rate = 0.00001, Batch = 32, Iteration = 500
Comparison ModelBackbone = ResNet50, Optimizer = SGD, Weight initialization = Xavier, learning rate = 0.00001, Batch = 32, Iteration = 500
Table 6. Results of homologous disease transfer experiments.
Table 6. Results of homologous disease transfer experiments.
Source DomainASSSOAAverage
Target DomainSSOAASOASSAS
Source-only90.62%83.78%78.12%72.97%90.62%68.75%80.81%
DANN94.3 ± 2.34%92.8 ± 3.71%85.6 ± 7.55%83.8 ± 7.47%91.8 ± 4.23%70.3 ± 6.93%86.4 ± 5.37%
CDAN-MC93.1 ± 1.25%90.2 ± 1.32%81.8 ± 1.25%86.4 ± 1.71%94.3 ± 1.25%85.6 ± 1.53%88.5 ± 1.38%
CDAN-PL99.4 ± 1.24%96.2 ± 2.16%88.1 ± 1.24%87.0 ± 1.08%95.0 ± 1.53%88.1 ± 1.24%92.3 ± 1.41%
Table 7. Results of homologous disease transfer experiments.
Table 7. Results of homologous disease transfer experiments.
Source DomainECKCLCAverage
Target DomainSSASOASSASOASSASOA
Source-only90.40%83.30%72.30%83.30%83.30%80.80%76.20%76.20%48.90%77.20%
DANN74.7 ± 1.90%72.8 ± 1.16%76.0 ± 3.14%86.6 ± 3.23%79.5 ± 1.88%85.1 ± 1.34%73.8 ± 3.98%86.6 ± 1.90%53.2 ± 1.90%76.4 ± 2.27%
CDAN-MC92.3 ± 1.78%85.7 ± 1.50%79.1 ± 1.57%92.8 ± 1.50%85.2 ± 0.95%85.1 ± 4.03%93.8 ± 1.16%89.5 ± 1.16%73.2 ± 2.57%86.3 ± 1.80%
CDAN-LP97.1 ± 0.95%85.7 ± 1.50%85.1 ± 1.90%94.7 ± 1.78%87.1 ± 1.17%88.93 ± 2.08%96.2 ± 1.16%91.9 ± 1.16%83.8 ± 1.04%90.05 ± 1.41%
Table 8. Distribution of major peaks and number of occurrences.
Table 8. Distribution of major peaks and number of occurrences.
Peak (cm−1)AssignmentOccurrence Count
631.18 ν (C—S) gauche (amino acid methionine)2
845.8Polysaccharide structure2
924.02, 929.19 ν (C—C), stretching; probably in amino acids proline and valine (protein band)6
980.62C—C stretching β -sheet (proteins)2
990.84Single human RBC, phenylalanine, NADH6
1051.74C—O stretching, C—N stretching (protein)2
1249.49Amide III2
1254.33C—N in plane stretching4
1316.85Guanine (B, Z-marker)6
1444.16Lipid6
1653.46Lipid (C=C stretch)6
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, Z.; Liu, Y.; Chen, C.; Lv, X.; Chen, C. Unsupervised Domain Adaptation with Raman Spectroscopy for Rapid Autoimmune Disease Diagnosis. Sensors 2025, 25, 6186. https://doi.org/10.3390/s25196186

AMA Style

Zhang Z, Liu Y, Chen C, Lv X, Chen C. Unsupervised Domain Adaptation with Raman Spectroscopy for Rapid Autoimmune Disease Diagnosis. Sensors. 2025; 25(19):6186. https://doi.org/10.3390/s25196186

Chicago/Turabian Style

Zhang, Ziyang, Yang Liu, Cheng Chen, Xiaoyi Lv, and Chen Chen. 2025. "Unsupervised Domain Adaptation with Raman Spectroscopy for Rapid Autoimmune Disease Diagnosis" Sensors 25, no. 19: 6186. https://doi.org/10.3390/s25196186

APA Style

Zhang, Z., Liu, Y., Chen, C., Lv, X., & Chen, C. (2025). Unsupervised Domain Adaptation with Raman Spectroscopy for Rapid Autoimmune Disease Diagnosis. Sensors, 25(19), 6186. https://doi.org/10.3390/s25196186

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop