Cross-object target domain proxy subdomain adaptation method, system and medium
By performing feature extraction and category balancing processing on EEG data in an unsupervised scenario, and selecting the most relevant source domain for global domain adaptation and subdomain adaptation, the missing target domain label and category imbalance in epilepsy detection in an unsupervised scenario are solved. problem, improves the accuracy and fine-grained feature mining capabilities of the model, and is suitable for multi-source domain adaptation scenarios.
Patent Information
- Application Number
- CN202211350636.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-10-31
AI Technical Summary
In unsupervised scenarios, there are problems such as missing target domain labels, negative transfer, and class imbalance in automatic detection of cross-subject epilepsy, resulting in model performance degradation, inability to effectively utilize source domain information, and fine-grained information not being fully exploited.
By preprocessing, feature extraction and category balancing processing of the original EEG data, a balanced data set is generated, the similarity between each balanced data set and the target domain is calculated, the most relevant source domain is selected as the optimal source domain, and the global domain For adaptation and subdomain adaptation, the cross-entropy function is used to calculate the overall loss, and back propagation updates the source domain model to achieve subdomain adaptation of the target domain agent.
It effectively utilizes highly relevant source domain data, reduces the impact of negative transfer, improves the model's accuracy and fine-grained feature mining capabilities, is suitable for multi-source domain adaptation scenarios, and improves the performance of epilepsy detection.
Smart Images

Figure CN115590530B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of machine learning, and more specifically, relates to a cross-object target domain proxy subdomain adaptation method, system and medium. Background Art
[0002] Epilepsy is a chronic electrophysiological disease in which brain neurons suddenly discharge abnormally, leading to transient brain dysfunction. Compared with the traditional method that relies on doctors' visual detection and manual annotation of EEG signals, the automatic detection technology of epilepsy based on electroencephalogram (EEG) can reduce the cost of manual annotation and the errors caused by doctors' subjective judgment. Transfer learning technology can effectively alleviate the non-stationarity of epileptic EEG signals and the high variability of subjects. It uses EEG data / models from one or more existing auxiliary patients (source domain) to help complete the classification or regression task of the target patient's EEG data (target domain).
[0003] However, there are the following problems in directly using unsupervised transfer learning for cross-object automatic epilepsy detection: Since EEG data is highly non-stationary and has individual differences, there may be large differences between different individuals. When there are multiple source domains, not all source domains have a positive effect on the target domain task. Using source domain data that is irrelevant to the target domain to train the model will lead to negative transfer; due to the lack of target domain label information in unsupervised scenarios, existing studies pay less attention to subdomain adaptation and cannot effectively utilize source domain information, resulting in some more fine-grained information not being mined; the negative impact of class imbalance on model performance. Specifically, in the epilepsy detection task, the number of positive samples (ictal period) is much lower than the number of negative samples (non-ictal period), which makes the training model biased towards majority class samples, resulting in a decrease in model performance during testing. Summary of the invention
[0004] In view of the defects of the prior art and the need for improvement, the present invention provides a cross-object target domain proxy subdomain adaptation method, system and medium, which aims to solve the problems of target domain label missing, negative transfer, and category imbalance in cross-object epilepsy detection in unsupervised scenarios, thereby improving the accuracy of epileptic electrical signal classification.
[0005] To achieve the above-mentioned purpose, according to one aspect of the present invention, a cross-object target domain proxy subdomain adaptation method is provided, comprising: S1, preprocessing, feature extraction and category balancing of original EEG data in sequence to obtain multiple balanced data sets, and generating corresponding domain labels for each balanced data set; S2, for any balanced data set, calculating the sum of the predicted probabilities of all samples in the target domain on the balanced data set, thereby obtaining the similarity between the balanced data set and the target domain; S3, concatenating the balanced data sets corresponding to the first M' maximum similarities to obtain the optimal source domain, and using the balanced data set corresponding to the maximum similarity as the target domain proxy, where M' is a preset value greater than 1; S4, performing global domain adaptation on the target domain and the optimal source domain, calculating the domain adaptation loss, performing subdomain adaptation on the optimal source domain and the target domain proxy, and calculating the subdomain adaptation loss; S5, calculating the classification loss using the cross entropy function, and calculating the overall loss based on the domain adaptation loss, the subdomain adaptation loss and the classification loss; S6, with the overall loss convergence as the goal, back-propagating to update the model parameters of the source domain model to obtain the final source domain model.
[0006] Furthermore, it also includes a classification stage: using the final source domain model to classify the samples in the target domain, and outputting corresponding classification labels, wherein the classification labels are used to characterize whether the samples in the target domain correspond to the epileptic seizure period.
[0007] Furthermore, performing subdomain adaptation in S4 also includes: calculating a target domain proxy maximum mean difference metric using the domain label of the optimal source domain and the domain label of the target domain proxy; and performing fine-grained subdomain adaptation on the optimal source domain and the target domain proxy using the target domain proxy maximum mean difference metric.
[0008] Furthermore, the target domain proxy maximum mean difference metric is:
[0009]
[0010] in, is the maximum mean difference measure of the target domain proxy, p and q are the probability distributions of the data in the optimal source domain and target domain proxy, respectively, and ω k is the similarity between the target domain proxy and the target domain, E p(c) It represents the expectation of the conditional probability distribution of the c-type samples in the optimal source domain, E q(c) denoted as the expectation of the conditional probability distribution of the target domain agent’s c-type samples, φ(·) is the feature mapping function that maps the original samples to the reproducible Hilbert space, x s is the sample of the optimal source domain, x ta is a sample of the target domain agent, E c (·) represents the expected function, Indicates square.
[0011] Furthermore, the fine-grained subdomain adaptation in S4 includes: optimizing with the target domain proxy maximum mean difference metric as the minimum, so that the subdomains of the same category in the optimal source domain and the target domain are aligned with each other, and the subdomains of different categories are away from each other.
[0012] Furthermore, the similarity is:
[0013]
[0014] Among them, ω m is the similarity between the mth balanced dataset and the target domain, m = 1, 2, ..., M, M is the total number of the balanced datasets, n t is the total number of samples in the target domain, for The labels predicted on the mth balanced dataset, is the i-th sample in the target domain, for The predicted probability on the mth balanced dataset.
[0015] Furthermore, the overall loss is:
[0016]
[0017] in, is the overall loss, is the classification loss, is the domain adaptation loss, is the subdomain adaptation loss, λ1 is the first loss parameter, and λ2 is the second loss parameter.
[0018] Furthermore, the model parameters of the source domain model updated by back propagation in S6 are:
[0019]
[0020] Among them, θ is the model parameter of the source domain model, α is the learning rate, and f θ is the source domain model, is the overall loss of the source domain model.
[0021] According to another aspect of the present invention, a cross-object target domain proxy subdomain adaptation system is provided, comprising: a processing and generation module, for sequentially performing preprocessing, feature extraction, and category balancing on raw EEG data to obtain multiple balanced data sets, and generating corresponding domain labels for each of the balanced data sets; a similarity calculation module, for calculating, for any balanced data set, the sum of the predicted probabilities of all samples in the target domain on the balanced data set, thereby obtaining the similarity between the balanced data set and the target domain; an optimal source domain and target domain proxy generation module, for splicing the balanced data sets corresponding to the first M' maximum similarities Then, the optimal source domain is obtained, and the balanced data set corresponding to the maximum similarity is used as the target domain proxy, and M' is a preset value greater than 1; an adaptation module is used to perform global domain adaptation on the target domain and the optimal source domain, calculate the domain adaptation loss, perform subdomain adaptation on the optimal source domain and the target domain proxy, and calculate the subdomain adaptation loss; a loss calculation module is used to calculate the classification loss using the cross entropy function, and calculate the overall loss according to the domain adaptation loss, the subdomain adaptation loss and the classification loss; an update module is used to back-propagate and update the model parameters of the source domain model with the overall loss convergence as the goal to obtain the final source domain model.
[0022] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the cross-object target domain proxy sub-domain adaptation method as described above is implemented.
[0023] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects:
[0024] (1) Considering the scenario of multi-source domain adaptation, a source domain selection method based on domain correlation is proposed. By selecting more relevant source domains to form the optimal source domain and use it as the training set, the source domain data with higher correlation is better utilized, and the negative transfer effect of irrelevant source domain data on model training is avoided. In addition, considering the class imbalance problem of the dataset, minority class upsampling is used to overcome the impact of class imbalance.
[0025] (2) The Target Agent Subdomain Adaptation Network (TASAN) method selects a more relevant source domain for transfer, further reducing the negative transfer effect in the learning process. TASAN selects the target domain agent and uses its known label information and the optimal source domain for more fine-grained subdomain alignment. While achieving global domain adaptation of the optimal source domain and target domain, it also achieves subdomain adaptation of the optimal source domain and target domain agent.
[0026] (3) By improving the source domain input and model optimization methods, more accurate cross-object label-free transfer can be achieved. This method is suitable for common epilepsy detection scenarios with auxiliary object data. The method is simple and has strong scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flow chart of a cross-object target domain proxy sub-domain adaptation method provided by an embodiment of the present invention;
[0028] Figure 2 A framework diagram of cross-subject epilepsy detection using TASAN provided in an embodiment of the present invention;
[0029] Figure 3 A block diagram of a cross-object target domain proxy sub-domain adaptation system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0031] In the present invention, the terms "first", "second", etc. (if any) in the present invention and the accompanying drawings are used to distinguish similar objects but not necessarily to describe a specific order or sequence.
[0032] Figure 1 A flowchart of a cross-object target domain proxy subdomain adaptation method provided by an embodiment of the present invention. Figure 1 , combined with Figure 2 The cross-object target domain proxy subdomain adaptation method in this embodiment is described in detail. The method includes operations S1 to S6, mainly including a target domain proxy subdomain adaptation method based on artificial neural network optimization, a source domain selection method, and a balanced sampling method. The overall framework is as follows Figure 2 shown.
[0033] In operation S1, the original EEG data is preprocessed, feature extracted, and category balanced to obtain multiple balanced data sets, and a corresponding domain label is generated for each balanced data set.
[0034] Specifically, the original EEG data is preprocessed by filtering, sliding window, etc., and the time domain, frequency domain, time-frequency domain and nonlinear features are extracted from the EEG data in each channel after preprocessing. The training set after feature extraction is subjected to category balancing using the synthetic minority over-sampling technique (SMOTE) to obtain multiple balanced data sets, which are the original source domains. The total number of the multiple balanced data sets is recorded as M. Through balanced sampling of data sets, the influence of category imbalance in training is overcome, and a series of subsequent experiments are conducted on the basis of category balance.
[0035] Thus, we get M source domains D m , each source domain Include m Furthermore, the M balanced datasets are put together as the overall source domain. And generate corresponding domain labels according to the code of each domain. For these M balanced data sets, their domain labels are 1, 2, …, M. The target domain is
[0036] Operation S2, for any balanced data set, calculate the sum of the predicted probabilities of all samples in the target domain on the balanced data set, so as to obtain the similarity between the balanced data set and the target domain.
[0037] Preferably, for any balanced dataset m, a logistic regression classifier is used to calculate the sum of the predicted probabilities of all samples in the target domain on the balanced dataset: Then calculate the similarity ω between the balanced dataset m and the target domain m :
[0038]
[0039] Among them, ω m is the similarity between the mth balanced dataset and the target domain, m = 1, 2, ..., M, M is the total number of balanced datasets, n t is the total number of samples in the target domain, for The labels predicted on the mth balanced dataset, is the i-th sample in the target domain, for The predicted probability on the mth balanced dataset.
[0040] Operation S3: concatenate the balanced data sets corresponding to the first M' maximum similarities to obtain the optimal source domain, and use the balanced data set corresponding to the maximum similarity as a target domain proxy, where M' is a preset value greater than 1.
[0041] According to ω m The value is large, and the largest first M' balanced data sets are selected for splicing to obtain the optimal source domain D s′ ; Select a balanced dataset with the largest similarity as the target domain proxy D ta .
[0042] In this embodiment, the quality of source domain data is improved to reduce negative transfer in cross-domain training. Specifically, three source domain selection methods are proposed based on prior knowledge and domain relevance: a source domain selection method based on seizure location (FL-SS), a source domain selection method based on epileptic seizure subtype (ST-SS), and a source domain selection method based on domain relevance (DS-SS). On the one hand, when using prior knowledge to select the source domain, all source domains are divided into different subsets according to the different seizure locations / seizure subtypes, and then cross-subject migration is performed in each subset; on the other hand, when calculating the similarity for source domain selection, the most relevant source domains are selected according to the similarity size and pieced together to form training data, and other irrelevant source domain data are not used. The source domain with the greatest correlation is defined as the target domain agent (Target Agent, TA) for subsequent subdomain adaptation. The DS-SS method does not access any prior knowledge and seizure label information, and only uses the code of each domain as the domain label. It is an unsupervised source domain selection method.
[0043] Through the target domain agent subdomain adaptation method, fine-grained features can be better mined. Specifically, the target domain agent subdomain adaptation (TASA) method is proposed to address the limitations of global domain adaptation and the negative impact of incorrect pseudo-labels in the target domain. This method is based on the TA obtained by the above-mentioned source domain selection (DS-SS) method, and uses the accessible label information in TA to avoid directly using the target domain pseudo-labels predicted by the model. Then, based on the traditional MMD (Maximum Mean Discrepancy) to add TA's label information and domain correlation information, the target domain agent maximum mean difference (TAMMD) metric is designed, and TAMMD is used to perform more fine-grained subdomain adaptation between TA and the optimal source domain data, and the source domain and target domain are further aligned by narrowing the differences between each subdomain. Combine the global domain adaptation and subdomain adaptation of the target domain to improve the effect of migration.
[0044] In operation S4, global domain adaptation is performed on the target domain and the optimal source domain, domain adaptation loss is calculated, subdomain adaptation is performed on the optimal source domain and the target domain proxy, and subdomain adaptation loss is calculated.
[0045] Specifically, operation S4 includes sub-operation S41 and sub-operation S42.
[0046] In sub-operation S41, the target domain D without label information is t and the optimal source domain D with label information s′ Perform global domain adaptation and calculate domain adaptation loss
[0047] In sub-operation S42, the optimal source domain D with label information is s′ and the target domain proxy D with label information ta Perform subdomain adaptation and calculate subdomain adaptation loss
[0048] According to an embodiment of the present invention, performing subdomain adaptation further includes: using the optimal source domain D s′ The domain label and target domain proxy D ta domain labels, calculate the maximum mean difference metric of the target domain proxy; use the maximum mean difference metric of the target domain proxy to derive the optimal source domain D s′ The domain label and target domain proxy D ta Perform fine-grained subdomain adaptation.
[0049] The calculated target domain proxy maximum mean difference metric is:
[0050]
[0051] in, is the maximum mean difference measure of the target domain proxy, p and q are the probability distributions of the data in the optimal source domain and target domain proxy, respectively, and ω k is the similarity between the target domain proxy and the target domain, It means to find the expectation of the conditional probability distribution of the c-type samples in the optimal source domain. denoted as the expectation of the conditional probability distribution of the target domain agent’s c-type samples, φ(·) is the feature mapping function that maps the original samples to the reproducible Hilbert space, x s is the sample of the optimal source domain, x ta is a sample of the target domain agent, E c (·) represents the expected function, Indicates square.
[0052] According to an embodiment of the present invention, the above-mentioned fine-grained sub-domain adaptation includes: optimizing with the goal of minimizing the maximum mean difference metric of the target domain proxy, so that sub-domains of the same category in the optimal source domain and the target domain are aligned with each other, and sub-domains of different categories are far away from each other.
[0053] In operation S5, the classification loss is calculated using the cross entropy function, and the overall loss is calculated based on the domain adaptation loss, the subdomain adaptation loss, and the classification loss.
[0054] The final calculated overall loss is:
[0055]
[0056] in, For the overall loss, is the classification loss, is the domain adaptation loss, is the subdomain adaptation loss, λ1 is the first loss parameter, and λ2 is the second loss parameter.
[0057] Operation S6, with the overall loss convergence as the goal, back-propagation updates the model parameters of the source domain model to obtain the final source domain model.
[0058] According to an embodiment of the present invention, the model parameters of the source domain model updated by back propagation are:
[0059]
[0060] Among them, θ is the model parameter of the source domain model, α is the learning rate, and f θ is the source domain model, is the overall loss of the source domain model.
[0061] According to an embodiment of the present invention, the method further comprises a classification stage: using the final source domain model f θ For the target domain D t Samples in Classify and output the corresponding classification label, which is used to represent the target domain D t Each sample in Whether it corresponds to the epileptic seizure period.
[0062] In this embodiment, a cross-subject experiment is conducted on the Helsinki University Hospital Neonatal Intensive Care Unit (NICU) dataset, and the experimental results are shown in Table 1.
[0063] Table 1
[0064]
[0065] In addition, cross-subject experiments were conducted on the dataset of Wuhan Children’s Hospital Affiliated to Tongji Medical College of Huazhong University of Science and Technology (CHSZ). The experimental results are shown in Table 2.
[0066] Table 2
[0067]
[0068] Referring to Table 1 and Table 2, it can be seen that both subdomain adaptation (TASA) and source domain selection (DS-SS) strategies are effective. Among them, the TASA-DS method that uses both subdomain adaptation and source domain selection has the best effect, which is better than the method that uses only TASA and only DS-SS. From the results, the AUC score on the NICU dataset is improved by 10.91% compared with the baseline method, and the AUC score on the CHSZ dataset is improved by 4.96% compared with the baseline method. The results on the two datasets show that the method proposed in the embodiment of the present invention realizes the improvement of subdomain adaptation and source domain selection in the multi-source domain adaptation scenario, and effectively improves the performance of cross-object epilepsy detection.
[0069] Figure 3 A block diagram of a cross-object target domain proxy sub-domain adaptation system provided by an embodiment of the present invention. Figure 3 The cross-object target domain proxy subdomain adaptation system 300 includes a processing and generation module 310, a similarity calculation module 320, an optimal source domain and target domain proxy generation module 330, an adaptation module 340, a loss calculation module 350 and an update module 360.
[0070] The processing and generating module 310 , for example, executes operation S1 to sequentially perform preprocessing, feature extraction, and category balancing processing on the original EEG data to obtain multiple balanced data sets, and generate a corresponding domain label for each balanced data set.
[0071] The similarity calculation module 320, for example, performs operation S2 to calculate the sum of the prediction probabilities of all samples in the target domain on the balanced data set for any balanced data set, thereby obtaining the similarity between the balanced data set and the target domain.
[0072] The optimal source domain and target domain proxy generation module 330, for example, performs operation S3 to concatenate the balanced data sets corresponding to the first M' maximum similarities to obtain the optimal source domain, and uses the balanced data set corresponding to the maximum similarity as the target domain proxy, where M' is a preset value greater than 1.
[0073] The adaptation module 340, for example, performs operation S4, which is used to perform global domain adaptation on the target domain and the optimal source domain, calculate the domain adaptation loss, perform subdomain adaptation on the optimal source domain and the target domain proxy, and calculate the subdomain adaptation loss.
[0074] The loss calculation module 350, for example, performs operation S5 to calculate the classification loss using the cross entropy function, and calculate the overall loss according to the domain adaptation loss, the subdomain adaptation loss, and the classification loss.
[0075] The updating module 360 , for example, performs operation S6 , which is used to back-propagate and update the model parameters of the source domain model with the goal of overall loss convergence, to obtain a final source domain model.
[0076] The cross-object target domain proxy subdomain adaptation system 300 is used to perform the above Figure 1-Figure 2 The cross-object target domain proxy sub-domain adaptation method in the illustrated embodiment.
[0077] The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned Figure 1-Figure 2 The cross-object target domain proxy sub-domain adaptation method in the illustrated embodiment.
[0078] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A cross-object target domain proxy subdomain adaptation method, characterized in that: include: S1, preprocessing, feature extraction and category balancing are performed on the original EEG data in sequence to obtain multiple balanced data sets, and a corresponding domain label is generated for each of the balanced data sets; S2, for any balanced data set, calculating the sum of the predicted probabilities of all samples in the target domain on the balanced data set, thereby obtaining the similarity between the balanced data set and the target domain; S3, concatenate the balanced data sets corresponding to the first M' maximum similarities to obtain the optimal source domain, and use the balanced data set corresponding to the maximum similarity as the target domain proxy, where M' is a preset value greater than 1; S4, performing global domain adaptation on the target domain and the optimal source domain, calculating domain adaptation loss, performing subdomain adaptation on the optimal source domain and the target domain proxy, and calculating subdomain adaptation loss; S5, calculating the classification loss using a cross entropy function, and calculating the overall loss according to the domain adaptation loss, the subdomain adaptation loss, and the classification loss; S6, with the overall loss convergence as the goal, back-propagating to update the model parameters of the source domain model to obtain the final source domain model; The performing subdomain adaptation comprises: Calculating a target domain proxy maximum mean difference metric using the domain label of the optimal source domain and the domain label of the target domain proxy; performing fine-grained sub-domain adaptation on the optimal source domain and the target domain proxy using the target domain proxy maximum mean difference metric; The performing fine-grained subdomain adaptation includes: optimizing with the maximum mean difference metric of the target domain proxy as the minimum, so that subdomains of the same category in the optimal source domain and the target domain proxy are aligned with each other, and subdomains of different categories are far away from each other.
2. The cross-object target domain proxy subdomain adaptation method according to claim 1, characterized in that: The method also includes a classification stage: using the final source domain model to classify the samples in the target domain and outputting corresponding classification labels, wherein the classification labels are used to characterize whether the samples in the target domain correspond to epileptic seizure periods.
3. The cross-object target domain proxy subdomain adaptation method according to claim 1, characterized in that: The target domain proxy maximum mean difference metric is: in, is the maximum mean difference measure of the target domain proxy, p and q are the probability distributions of the data in the optimal source domain and target domain proxy, respectively, and ω k is the similarity between the target domain proxy and the target domain, It means to find the expectation of the conditional probability distribution of the c-type samples in the optimal source domain. denoted as the expectation of the conditional probability distribution of the target domain proxy’s class c samples, φ(·) is the feature mapping function that maps the original samples to the reproducible Hilbert space, x s is the sample of the optimal source domain, x ta is a sample of the target domain agent, E c (·) represents the expected function, Indicates square.
4. The cross-object target domain proxy subdomain adaptation method according to claim 1, characterized in that: The similarity is: Among them, ω m is the similarity between the mth balanced dataset and the target domain, m = 1, 2, ..., M, M is the total number of the balanced datasets, n t is the total number of samples in the target domain, for The labels predicted on the mth balanced dataset, is the i-th sample in the target domain, for The predicted probability on the mth balanced dataset.
5. The cross-object target domain proxy subdomain adaptation method according to claim 1, characterized in that: The overall loss is: in, is the overall loss, is the classification loss, is the domain adaptation loss, is the subdomain adaptation loss, λ1 is the first loss parameter, and λ2 is the second loss parameter.
6. The cross-object target domain proxy subdomain adaptation method according to any one of claims 1 to 5, characterized in that: The model parameters of the source domain model updated by back propagation in S6 are: Among them, θ is the model parameter of the source domain model, α is the learning rate, and f θ is the source domain model, is the overall loss of the source domain model.
7. A cross-object target domain proxy subdomain adaptation system, characterized in that: include: A processing and generating module, used to perform preprocessing, feature extraction and category balancing on the raw EEG data in sequence to obtain multiple balanced data sets, and generate corresponding domain labels for each of the balanced data sets; A similarity calculation module, used for calculating the sum of the predicted probabilities of all samples in the target domain on any balanced data set, so as to obtain the similarity between the balanced data set and the target domain; The optimal source domain and target domain proxy generation module is used to splice the balanced data sets corresponding to the first M' maximum similarities to obtain the optimal source domain, and use the balanced data set corresponding to the maximum similarity as the target domain proxy, where M' is a preset value greater than 1; An adaptation module, configured to perform global domain adaptation on the target domain and the optimal source domain, calculate domain adaptation loss, perform subdomain adaptation on the optimal source domain and the target domain proxy, and calculate subdomain adaptation loss; A loss calculation module, used for calculating the classification loss using a cross entropy function, and calculating the overall loss according to the domain adaptation loss, the subdomain adaptation loss and the classification loss; An updating module, used for back-propagating and updating the model parameters of the source domain model with the overall loss convergence as the goal, to obtain a final source domain model; The adaptation module performs subdomain adaptation in the following way: Calculating a target domain proxy maximum mean difference metric using the domain label of the optimal source domain and the domain label of the target domain proxy; performing fine-grained sub-domain adaptation on the optimal source domain and the target domain proxy using the target domain proxy maximum mean difference metric; The performing fine-grained subdomain adaptation includes: optimizing with the maximum mean difference metric of the target domain proxy as the minimum, so that subdomains of the same category in the optimal source domain and the target domain proxy are aligned with each other, and subdomains of different categories are far away from each other.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the cross-object target domain proxy sub-domain adaptation method according to any one of claims 1 to 6 is implemented.
