A Contrastive Diffusion Zero-Shot Learning Method

Through the semantic-guided diffusion adversarial network model and contrastive embedding model, the balance problem of sample quality, pattern coverage and computational cost in generative generalized zero-shot learning is solved, fast sampling and efficient unseen category recognition are achieved, and the generative generalized zero-shot learning is improved. Overall performance of generalized zero-shot learning.

CN118504656BActive Publication Date: 2024-09-27CHONGQING UNIV

Patent Information

Application Number
CN202410694396.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-27
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

Generative generalized zero-shot learning faces a balance between sample quality, pattern coverage and computational cost, especially in scenarios that require fast sampling and real-time application. The sampling speed of existing diffusion models is slow and difficult to meet the needs of real-time response.

Method used

A semantic-guided diffusion adversarial network model (S-DDGAN) is proposed, which combines the contrast embedding model and the conditional denoising model, guides the generation process through semantic information, uses non-Gaussian multi-modal distribution for denoising, and reduces the number of denoising steps. , improve sampling efficiency, and improve classification performance through contrastive learning strategies.

Benefits of technology

On the premise of ensuring sample generation quality and pattern coverage, it significantly reduces computational overhead, achieves fast sampling, and improves the overall performance of generative generalized zero-shot learning, especially showing excellent stability in unseen category recognition and feature generation. and diversity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504656B
    Figure CN118504656B
Patent Text Reader

Abstract

The present invention relates to a contrastive diffusion zero-shot learning method, which is mainly composed of a semantically guided diffusion adversarial network model, a contrastive embedding model E and conditional denoising CD. Among them, S-DDGAN, as the core of the method of the present invention, is specially designed to solve the problem of balancing sample quality, pattern coverage and computational cost in GZSL. In part E, an innovative architecture is proposed to address the challenge of mismatch between synthetic visual features and semantic information in GZSL. The model effectively improves the classification performance by implementing a contrastive learning strategy in a new embedding space. Through the CD link, the classifier is used to optimize the diffusion generator to ensure the effectiveness of the generated features, thereby improving the training effect of the discriminative classifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of generative generalized zero-shot learning, and in particular to a contrastive diffusion zero-shot learning method. Background Art

[0002] In the past decade, the remarkable progress made in deep generative models has greatly promoted the research and application of machine learning, especially in the field of zero-shot learning (ZSL). The goal of ZSL is to enable the model to recognize categories that have not been seen during training, which is crucial to improving the generalization ability of the model. For example, generation-based ZSL algorithms such as generative adversarial networks (GANs) and variational autoencoders (VAEs) have been widely studied and made significant progress in this field. Recently, the introduction of diffusion models has opened up new perspectives and methodologies for ZSL. Diffusion models have attracted widespread attention in the academic community due to their excellent sample generation quality, pattern coverage, and sample diversity. These characteristics are crucial for generative learning, especially in the pursuit of high-quality generation, comprehensive pattern coverage, and representative sample diversity to reduce negative impacts on minority groups and social bias.

[0003] However, generative learning faces the so-called “trilemma”, which is the balance that deep generative models must strike between (1) high-quality sampling, (2) pattern coverage, sample diversity, and (3) computational cost. For example, GANs can produce high-quality samples, but their pattern coverage is insufficient. In contrast, VAEs can more reliably cover data patterns, but often at the expense of sample quality. Although diffusion models have excellent performance in sample quality and diversity, their high sampling cost limits their deployment in application scenarios that require real-time response, such as interactive image editing and real-time speech synthesis. Generative zero-shot learning (ZSL) also faces similar difficulties. Its core is to rely on deep generative models to learn representations of unseen categories. In response to these challenges, some studies have revealed the limitations of diffusion models in sampling speed. The root cause is that the Gaussian distribution is used as the assumption of the denoising process, which is only applicable when the step size is small. However, when a large step size is required, it is more appropriate to use a non-Gaussian multimodal distribution as an approximation of the denoising distribution. This method breaks the limitation of the traditional Gaussian assumption. Summary of the invention

[0004] The present invention proposes an innovative denoising diffusion model for the field of generative generalized zero-shot learning - a semantically guided diffusion adversarial network model, which is specifically designed to solve the "trilemma" faced by generative generalized zero-shot learning, especially to achieve fast sampling while maintaining pattern coverage and sample quality.

[0005] To solve the above technical problems, the present invention adopts the following technical solutions: a contrastive diffusion zero-shot learning method, comprising the following steps: a semantically guided diffusion adversarial network model S-DDGAN, a contrastive embedding model E, a conditional denoising model CD and a classifier;

[0006] S1: Get the seen category set Y s , which contains S categories, Y s Defined as the training set D tr , By N pairs of instances {x i ,y i}, where x i represents the sample characteristics, y i Represents x i The corresponding category, y i Belongs to one of S categories;

[0007] S2: training adversarial network model S-DDGAN and contrast embedding model E;

[0008] 1) Let i = 1;

[0009] 2) Let j = 1, locking the parameters of the generator G in S-DDGAN;

[0010] 3) Towards D tr Sample a batch of samples {x, y}, where x represents the sample features of the batch of samples and y represents the labels of the batch of samples;

[0011] 4) Randomly generate time step information t for each sample in the batch: ←[0, T];

[0012] 5) Encode each sample t to obtain the corresponding vector t representing the time information e ;

[0013] 6) Add noise to each sample in the batch to generate diffusion samples x t With x t-1 ;

[0014] 7) The x corresponding to each sample t-1 , x t , t e and a are input into the discriminator D of S-DDGAN to obtain the discrimination result real / fake ←D(x t-1 , x t , t e , a), where a represents the semantic information corresponding to the sample;

[0015] 8) Input x into the contrast embedding model E to obtain the embedding vector h corresponding to x, h←E(x);

[0016] 9) Randomly sample Gaussian noise z←N(0,1) for each sample in the batch;

[0017] 10) Change the x corresponding to x t , z, t e and a are input into the generator G of S-DDGAN to generate visible class samples x′0←G(x t , z, t e , a)

[0018] 11) x′0 uses the same noise addition method as 6) to obtain the diffusion sample x′ corresponding to x′0 t and x′ t-1 ;

[0019] 12) x′ corresponding to x′0 t , x′ t-1 , t e and a S-DDGAN discriminator D to obtain the discriminant result real / fake←D(x′ t-1 , x′ t , t e , a);

[0020] 13) Calculate the total loss, and then use gradient descent to update the parameters of the discriminators D and E based on the total loss;

[0021] 14) j=j+1,;

[0022] 15) If j>J, execute the next step, otherwise return to 3);

[0023] 16) Lock the parameters of the discriminator D in S-DDGAN and randomly generate time step information t for each sample in the batch: ←[0, T];

[0024] 17) Encode each sample t to obtain the corresponding vector t representing the time information e ;

[0025] 18) Add noise to each sample in the batch to generate diffusion samples x t With x t-1 ;

[0026] 19) The x corresponding to each sample t-1 , x t , t e and a are input into the discriminator D to obtain the discriminant result real / fake←D(x t-1 , x t , t e , a);

[0027] 20) Input x into the contrast embedding model E to obtain the embedding vector h corresponding to x, h←E(x);

[0028] 21) Randomly sample Gaussian noise z←N(0,1) for each sample in the batch;

[0029] 22) Change the x corresponding to x t , z, t e and a input generator G generates visible class samples x′0←G(x t , z, t e , a)

[0030] 23) x′0 uses the same noise adding method as 18) to obtain the diffusion sample x′ corresponding to x′0 t and x′ t-1 ;

[0031] 24) x′ corresponding to x′0 t , x′ t-1 , t e and a discriminator D to obtain the discriminant result real / fake←D(x′ t-1 , x′ t , t e , a);

[0032] 25) Calculate the total loss, and then use gradient descent to update the parameters of generators G and E based on the total loss;

[0033] 26) Another i=i+1;

[0034] 27) If i>epoch, execute the next step, otherwise return to 2);

[0035] 28) Output the current optimal generator G perfect The parameters θ and the optimal embedding model E perfect The parameter ε;

[0036] S3: Input the semantic information of the unseen category into G according to the semantic information perfect , generate several unseen category samples, and compare them with D tr Combine them as a new training set and train the classifier: [Use semantic information as the category of unseen category samples]

[0037] Input the samples in the new training set into E perfect , get the embedding vector corresponding to each new sample, input the embedding vector into the classifier, use cross entropy to calculate the loss between the classifier's predicted class and its true class for the new sample, and use the gradient descent method to update the classifier's parameters according to the loss until the loss no longer decreases to obtain the optimal classifier;

[0038] S4: For a new image of an unseen category, input the new image of the unseen category into E perfect, get the corresponding embedding vector, then input the embedding vector into the optimal classifier, and the optimal classifier outputs the predicted category of the new picture of the unseen category.

[0039] Furthermore, in S2, a diffusion sample x is generated by adding noise to each sample in the batch. t With x t+1 The steps are:

[0040]

[0041] Among them, q(x0) is the data distribution, x0=x is the sample feature of the batch sample, and x 1:T represents the data sequence from time 1 to time T, β t is a predefined variance schedule. I, q(.) represents the identity matrix, normal distribution and probability distribution respectively. The core assumptions of the model include setting T to a small value (i.e., T≤8) and using a larger β for each diffusion step. t .

[0042] Furthermore, the calculation process of the total loss in S2 is as follows:

[0043]

[0044] in, is the loss of S-DDGAN,

[0045] Objective loss function used to train a generative model.

[0046] Represents q(x t ) is the expected distribution of .

[0047] x t : represents the sample at time step t.

[0048] Represents the conditional distribution q(x t-1 |x t ) expectations.

[0049] Represents the conditional distribution p θ (x t-1 |x t ), where p θ It is a parametric model.

[0050] logD φ (x t-1 , x t , t, a): represents the discriminator D φThe logarithmic output of t-1 and x t is the input, t is the time step, and a is the semantic information.

[0051] represents the complement of the logarithmic output of the discriminator for the generated samples, where and is to generate samples.

[0052] λ: This is a weight hyperparameter used to balance the various terms in the loss function.

[0053] This is a gradient penalty term used to improve the stability of the generative model, where and They represent the interpolation samples at time t-1 and time t respectively, and ||·||2 represents the binary norm.

[0054]

[0055] in

[0056] represents the target loss function of the embedding model E, which is used to train the model. This formula is a contrastive loss function, which is often used in contrastive learning. The internal score expression of the formula can be regarded as a softmax function, whose purpose is to distinguish positive samples from negative samples.

[0057] This is the expectation symbol, which represents the expectation of a distribution.

[0058] h i : Represents the feature vector of the i-th sample.

[0059] h + : represents the feature vector of the positive sample, that is, i Examples that belong to the same class or positive pair.

[0060] h - : Represents the feature vector of negative samples, that is, i Samples of different classes or negative pairs.

[0061] τ e : represents the temperature parameter, which controls the smoothness of the similarity score. A high temperature will result in a smoother probability distribution, and a low temperature will result in a sharper probability distribution.

[0062] K: represents the number of negative samples.

[0063]

[0064] in,

[0065] Represents the classification loss function, which is used to train the classification model.

[0066] Represents the samples generated by the generator.

[0067] This is right The expectation of takes a negative sign, indicating that expected value. Represents the samples generated by the generator.

[0068] S: represents the number of visible classes during the training phase.

[0069] U: represents the number of categories that were not seen during the training phase.

[0070] y i : Represents the label of the i-th category, usually a one-hot encoded vector, in which only the position corresponding to the category is 1 and the rest are 0.

[0071] y j : Represents the label of the j-th category, usually a one-hot encoded vector, in which only the position corresponding to the category is 1 and the rest are 0.

[0072] Represents the input sample of model C The output of is a vector representing the category scores.

[0073] Represents the model C for the input sample In the yth i The scores of the categories.

[0074] τ c : Represents the temperature parameter, which is used to adjust the smoothness of softmax.

[0075] Total loss function The definition is as follows:

[0076]

[0077] Among them, λ1 and λ2 represent the weights of the loss respectively.

[0078] Compared with the prior art, the present invention has at least the following advantages:

[0079] The present invention proposes a contrastive diffusion zero-shot learning method, the goal of which is to overcome the main challenges faced by generative generalized zero-shot learning: reducing computational overhead and accelerating sampling efficiency while ensuring sample generation quality, full pattern coverage and sample diversity. The method of the present invention is mainly composed of a semantically guided diffusion adversarial network model, a contrastive embedding model E and conditional denoising CD. Among them, S-DDGAN, as the core of the method of the present invention, is specially designed to solve the problem of balancing sample quality, pattern coverage and computational cost in GZSL. In part E, an innovative architecture is proposed to address the challenge of mismatch between synthetic visual features and semantic information in GZSL. The model effectively improves the classification performance by implementing a contrastive learning strategy in a new embedding space. Through the CD link, the classifier is used to optimize the diffusion generator to ensure the effectiveness of the generated features, thereby improving the training effect of the discriminative classifier. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] Figure 1 Schematic diagram of the contrastive diffusion zero-shot learning algorithm model: (a) proposes a new semantically guided diffusion adversarial generative network for the generation of unseen categories in zero-shot learning, where G is the generator and D is the discriminator; (b) describes a reliable classifier trained on the visible class, which guides the training of the generative network G to ensure that the generated CNN features can be effectively used to train the discriminative classifier. C represents the pre-trained classifier; (c) proposes a method for mapping visual features to an embedding space and optimizing the contrastive loss, and E is a contrastive embedding model. ResNet-101 is used as the Backbone network.

[0081] Figure 2 : Line graph showing the relationship between the performance of the CD-GZSL network on the AWA1 dataset and the number of generated unseen class samples.

[0082] Figure 3 : Line graph showing the relationship between the performance of the CD-GZSL network on the AWA2 dataset and the number of generated unseen class samples.

[0083] Figure 4 : Line graph showing the relationship between the performance of the CD-GZSL network on the CUB dataset and the number of generated unseen class samples.

[0084] Figure 5 : Line graph showing the relationship between the performance of the CD-GZSL network on the FLO dataset and the number of generated unseen class samples.

[0085] Figure 6 : Histogram of the relationship between the performance of the CD-GZSL network and the denoising step size T on the datasets AWA1 and AWA2.

[0086] Figure 7: Histogram of the relationship between the performance of the CD-GZSL network and the denoising step size T on the datasets CUB and FLO. DETAILED DESCRIPTION

[0087] The present invention is described in further detail below.

[0088] Semantic information constitutes the core element of zero-shot learning (ZSL). In ZSL, given the lack of labeled samples of "unseen categories", semantic information facilitates the transition from known categories to unseen categories, achieving classification recognition without direct samples. The semantic feature space is defined as a metric space with p dimensions, where each dimension encodes a semantic attribute value. These attributes can be either categorical or contain real data. For example, a semantic space with p = 5 dimensions can describe the high-level attributes of animals, where each dimension represents a binary feature, such as: furry, tail, ability to breathe underwater, whether it is carnivorous, and movement speed. In this semantic feature space, the typical features of a dog can be regarded as points {1, 1, 0, 1, 0}. The semantic knowledge base is a series of feature and category label pairs {f, y} 1:M A set of features, where each feature f corresponds to a p-dimensional semantic space F p Each y represents a point in the category set Y. The preset category labels in the task correspond one-to-one to the points in the semantic encoding space. For example, the knowledge base of animals will include corresponding semantic encodings and labels. If a child [here "child" is used to represent the learning and cognitive process of a child] has some knowledge of previous categories and understands that a zebra appears as a horse with black and white stripes, he / she can easily identify a zebra.

[0089] In the framework of generalized zero-shot learning, two disjoint category sets are defined: the seen category set Y s Contains S categories, and category set Y is not seen u Contains U categories. Training set By N pairs of instances {x i ,y i}, where x i Belongs to the seen category set Y s A category in i Represents the visual features of the corresponding image. s and Y u Constitute a mutually exclusive set, satisfying Test set D te Depend on It consists of M unlabeled instances.

[0090] Test set D teThe instances in come exclusively from seen and unseen categories. In addition, in order to connect the S seen categories with the U unseen categories, a set of semantic information vectors is introduced a i Represents the i-th semantic information. In the training process of generalized zero-shot learning GZSL, these attributes play a key role in connecting seen categories with unseen categories.

[0091] The GZSL task aims to use the training set D tr , Y s , Y u and A, train a person who can te A model that can accurately classify images on Y s With Y u This task requires the model to not only be highly accurate on seen categories, but also be able to adapt to unseen categories, thus overcoming the data distribution bias caused by the absence of unseen categories in the training set.

[0092] 1. Guided Diffusion Adversarial Network Model S-DDGAN

[0093] The root cause of the slow sampling speed of the diffusion model is the use of the Gaussian distribution assumption for denoising, which is effective when performing small step-size operations. Considering the need to perform large step-size operations, non-Gaussian multimodal distributions can more accurately approximate the denoising process. Given that conditional generative adversarial networks have been proven to simulate complex conditional multimodal distributions in the field of images, S-DDGAN in CD-GZSL chooses to use this method to get closer to the actual denoising distribution q(x t-1 |x t ).

[0094] To this end, a contrastive diffusion zero-shot learning method (CD-GZSL) uses a diffusion model to generate sample features of unseen categories to assist the training process. The goal of the study is to achieve fast sampling while maintaining pattern coverage and sample quality. In order to reduce the number of denoising steps required in the inverse process of the diffusion model, a denoising diffusion network is combined with a generative adversarial network in the field of generalized zero-shot learning, and a denoising diffusion adversarial generative network is introduced.

[0095] In terms of specific implementation, the forward diffusion process used is similar to the configuration in DDPM, and is described in detail in formulas (1) and (2).

[0096]

[0097] Among them, q(x0) is the data generation distribution, x0 is the original data, x 1:T represents the data sequence from time 1 to time T, β tis a predefined variance schedule. The core assumptions of the model include setting T to a small value (i.e., T ≤ 8) and using a large β for each diffusion step. t . This is the symbol for a normal distribution. Specifically, represents a normal distribution with μ as mean and ∑ as covariance matrix. The mean in formula (2) is Represents the current data x t The value is based on the previous moment data x t-1 The scaling factor is Covariance β t I, represents the noise intensity added in each step of the process, which is β t Control. Here I is the unit matrix, indicating that each dimension is independent of each other, and the variance is β t . q(.): In this context, q(x t |x t-1 ) represents the data x at a given time t-1 t-1 Generate data x at time t t In diffusion models, q usually represents the probability distribution in the forward process.

[0098] The training process generates samples p by matching the generator θ (x t-1 |x t ) and the real sample q(x t-1 |x t ), to minimize the deviation of each denoising step:

[0099]

[0100] Where D w The Wasserstein distance of choice.

[0101] When establishing the adversarial training framework, a discriminator guided by semantic information is introduced, denoted as D φ Different from the traditional denoising step, directly predicting x t-1 , the denoising function G is used in S-DDGAN θ (x t, z, t, a) predict x0. This function essentially acts as a generator in a generative adversarial network, aiming to fuse input data, noise, temporal conditions, and attribute information to produce outputs with specific attributes. Through sinusoidal position encoding and its subsequent linear layer processing, the time step information t can be converted into an embedded form that can be effectively utilized by the model. This method shows particular utility in processing time-related data, such as capturing the changing characteristics of different time steps in generative models. In this way, temporal information is effectively encoded and integrated into the learning process of the model. Then using the given x t and the posterior distribution q(x t-1 |x t , x0) is sampled. Define p θ (x t-1 |x t )as follows:

[0102] p θ (x t-1 |x t )=∫p θ (x0|x t )q(x t-1 |x t ,x0)dx0,#(4)

[0103] x0=G θ (x t , z, t, a)#(5)

[0104] A major advantage of this method is that since x t Show different levels of perturbations at different time steps t, and try to reconstruct x in multiple denoising model layers t However, using the above method, the generator only needs to predict the original x0 from the perturbed data, and then the posterior distribution q(x t-1 |x t , x0) to reintroduce the perturbation. S-DDGAN uses the following strategy to optimize the network:

[0105]

[0106] Through sampling The obtained fake samples are the same as those from x t-1 =q(x t-1 |x t ) real samples for adversarial training. The generated mixed samples By formula Where α~U(0,1), and the time step t is randomly selected in the range of [1,T]. In order to effectively bridge the visual and semantic spaces, the algorithm introduces semantic information in both the generator and the discriminator network, denoted by a.

[0107] Objective loss function used to train a generative model.

[0108] Represents q(x t ) is the expected distribution of .

[0109] x t : represents the sample at time step t.

[0110] Represents the conditional distribution q(x t-1 |x t ) expectations.

[0111] Represents the conditional distribution p θ (x t-1 |x t ), where p θ It is a parametric model.

[0112] logD φ (x t-1 , x t , t, a): represents the discriminator D φ The logarithmic output of t-1 and x t is the input, t is the time step, and a is the semantic information.

[0113] represents the complement of the logarithmic output of the discriminator for the generated samples, where and is to generate samples.

[0114] λ: This is a weight hyperparameter used to balance the various terms in the loss function.

[0115] This is a gradient penalty term used to improve the stability of the generative model, where and They represent the interpolation samples at time t-1 and time t respectively, and ||·||2 represents the binary norm.

[0116] The S-DDGAN module solves this problem by splitting the generation process into several conditional denoising diffusion steps, each of which is relatively simple in design. In addition, the diffusion process reduces the risk of discriminator overfitting by smoothing the data distribution. Based on the above design, it is expected that the model will show excellent training stability and more comprehensive pattern coverage.

[0117] 2. Comparison of Embedding Model E

[0118] The present invention also proposes a new architecture that integrates a feature generation model and an embedding model, with the goal of mapping the real features of the seen classes together with the synthetic features of the unseen classes into a new embedding space. This design intends to utilize the high-level semantic information in the embedding space to improve the classification performance. In order to further enhance the classification performance in the embedding space, a contrastive learning strategy is adopted. This strategy optimizes the feature representation by maximizing the consistency between similar samples and minimizing the consistency between dissimilar samples. This optimization enables the model to more accurately capture the similarity within the class and distinguish the differences between classes, which plays a key role in improving the classification accuracy of generative generalized zero-shot learning.

[0119] In this method, the visual sample is mapped to the embedding space through the embedding function E(x), generating an embedding vector h = E ε (x). To promote effective learning, this part designs a contrast loss function to ensure that each data point is reflected in the embedding space. This loss function assists the model in distinguishing different categories by using one positive example and K negative examples. Positive example h + By i The samples of the same category are randomly selected to ensure that they are distinguished from negative examples from different categories. For (K+1)-way classification, the contrast loss function is calculated using the following form of cross entropy loss:

[0120]

[0121] In this context, τ e represents the temperature parameter, which is used to adjust the distribution range of the distance between the embedding vectors. The numerator is calculated by τ e The exponential value of the cosine similarity of the scaled positive example pair, and the denominator is the anchor point h i The sum of the exponential values ​​of the cosine similarity between all samples, including K negative examples and one positive example.

[0122] represents the target loss function of the embedding model E, which is used to train the model. This formula is a contrastive loss function, which is often used in contrastive learning. The internal score expression of the formula can be regarded as a softmax function, whose purpose is to distinguish positive samples from negative samples.

[0123] This is the expectation symbol, which represents the expectation of a distribution.

[0124] h i : Represents the feature vector of the i-th sample.

[0125] h +: represents the feature vector of the positive sample, that is, i Examples that belong to the same class or positive pair.

[0126] h - : Represents the feature vector of negative samples, that is, i Samples of different classes or negative pairs.

[0127] τ e : represents the temperature parameter, which controls the smoothness of the similarity score. A high temperature will result in a smoother probability distribution, and a low temperature will result in a sharper probability distribution.

[0128] K: represents the number of negative samples.

[0129] 3. Conditional Denoising Model CD

[0130] The conditional denoising model CD aims to ensure that the features generated by CNN can effectively train classifiers for distinguishing different categories. s Conditional image synthesis requires not only a carefully designed architecture, but also relies on a large number of category labels. By stimulating the generator with a classifier trained on seen categories, it can be prompted to construct features that can be correctly classified by a discriminative classifier trained on the input data. Therefore, in the denoising process of CD-GZSL, a classification-guided classification network C is introduced, and the negative log-likelihood method is used to minimize the classification loss of the generated features. The specific optimization process is as follows:

[0131]

[0132] in, y is The classifier is trained on the true features of previously seen classes. The classification loss function acts as a regularization term, forcing the generator to produce features with significant discriminative power.

[0133] Represents the classification loss function, which is used to train the classification model.

[0134] Represents the samples generated by the generator.

[0135] This is right The expectation of takes a negative sign, indicating that expected value. Represents the samples generated by the generator.

[0136] S: represents the number of visible classes during the training phase.

[0137] U: represents the number of categories that were not seen during the training phase.

[0138] y i : Represents the label of the i-th category, usually a one-hot encoded vector, in which only the position corresponding to the category is 1 and the rest are 0.

[0139] y j : Represents the label of the j-th category, usually a one-hot encoded vector, in which only the position corresponding to the category is 1 and the rest are 0.

[0140] Represents the model C for the input sample The output of is a vector representing the category scores.

[0141] Represents the model C for the input sample In the yth i The scores of the categories.

[0142] τ c : Represents the temperature parameter, which is used to adjust the smoothness of softmax.

[0143] 4. Model training phase

[0144] In the forward process, x0→x is transformed by the noise adding process. t ; In the reverse process, using the generative model G θ (x t , z, t, a) to predict the unnoised Next, for the real sample and through q(x t-1 |x t , x0) are noised and the generated samples are classified using the discriminator. The model maps the real sample x0 to the embedding space, and uses the contrast loss to strengthen the capture of intra-class similarities and inter-class differences, thereby optimizing the generator to produce more discriminative features. In order to further train the discriminative classifier, the model applies the classification loss to the generated samples during the denoising process. Ensure that the generator produces features with significant distinguishing ability. Accordingly, the total loss function of CD-GZSL is defined as follows:

[0145]

[0146] 5. Model inference stage

[0147] Once the model is trained, the trained generator is used to generate samples of unseen categories and further train a general offline classifier C that can distinguish between seen and unseen categories. s , whose input includes real visible class samples and generated unseen class samples. In the inference stage, through the embedding function E(x) and the classifier Cs Work, the test set Then, the classifier C s Classify the test set samples mapped to the embedding space prediction.

[0148]

[0149] 6. Experiment and Analysis

[0150] 6.1 Experimental Environment

[0151] Table 1 Comparison of diffusion zero-shot learning algorithm experimental environment

[0152]

[0153] 6.2 Experimental Setup

[0154] CD-GZSL was evaluated on four datasets: AWA1, AWA2, CUB, and FLO. The feature extraction process used the ResNet-101 deep learning model to obtain a 2048-dimensional feature vector from the top pooling layer of the network. No preprocessing was performed on the images, such as cropping or other data augmentation techniques. The ResNet-101 model used was pre-trained on ImageNet 1K and no further fine-tuning was performed. When generating CNN features, a semantically guided diffusion adversarial network module was used to produce a 2048-dimensional feature vector. For the AWA1 and AWA2 datasets, the dimension of each category attribute was 85; for the CUB dataset, it was 312. For the CUB and FLO datasets, 1024-dimensional character-based CNN features were extracted from the fine-grained visual descriptions. The network parameters were optimized using the adaptive moment estimation (Adam) optimizer with a learning rate set to 0.0001.

[0155] Generator G θ (x t , z, t, a) contains two fully connected layers and LeakyReLU activation function. The dimension of the input variable z matches the dimension of its corresponding category attribute, while the time step t is converted to an embedding representation through a neural network module. The generated visual space samples are transformed into a 2048-dimensional embedding space by a mapping function E. In a training batch, when using contrastive loss, samples with the same class label are considered positive samples, while samples with different class labels are considered negative samples. The training batch size is set to 4096 for AWA1, AWA2 and CUB datasets and 3072 for FLO dataset. The loss weight is set empirically, and for AWA1, AWA2, CUB and FLO datasets, λ1=λ2=0.001.

[0156] 6.3 Experimental Results

[0157] In order to verify the effectiveness of the deep generation algorithm based on contrastive diffusion in the generalized zero-shot learning task, experiments were conducted on the AWA1, AWA2, CUB and FLO datasets according to the evaluation indicators of generalized zero-shot learning. The experimental results were further compared with other excellent generalized zero-shot learning algorithms. The compared algorithms include both generation-based and embedding-based methods. The specific algorithms include CADA-VAE using variational autoencoders (VAE), and f-VAEGAN-D2 and TF-VAEGAN combining VAE and generative adversarial networks (GAN). The remaining methods are mainly based on GAN generation. The dataset features used by all the compared methods are based on the preprocessing of ResNet-101 by Xian et al.

[0158] Table 3 shows the results of generalized zero-shot learning experiments on the AWA1 and AWA2 datasets. Three metrics are considered for performance evaluation: the accuracy of unseen classes U, the accuracy of visible classes S, and the harmonic mean H of the two. GZSL requires the model to recognize both the visible and unseen classes at the time of testing, with the goal of improving the recognition performance of unseen classes without sacrificing the accuracy of visible classes. CD-GZSL achieves an accuracy of 60.4% for unseen classes on the AWA1 dataset, significantly outperforming other comparison methods. For the recognition accuracy S of visible classes, it reaches 74.9%; on the harmonic mean H, it achieves 66.9%, both significantly outperforming other comparison methods. Although CD-GZSL does not always rank first in terms of the accuracy S of visible classes; SE-GZSL has a slight advantage on the AWA1 dataset, while CD-GZSL ranks second on AWA2, and cycle-CLSWGAN scores the highest on this metric. Nevertheless, the harmonic mean scores H obtained by these techniques are low, suggesting a potential bias towards known classes. In comparison, the algorithm achieves a harmonic mean H score that outperforms other techniques on the AWA1 and AWA2 datasets. This result demonstrates the superior performance of CD-GZSL in balancing the recognition of seen categories S and unseen categories U. In the field of GZSL, the harmonic mean H is considered a key metric because it can comprehensively evaluate the performance of two types of tasks, which is exactly in line with the goal pursued by GZSL.

[0159] f-CLSWGAN and f-VAEGAN-D2 are two important methods in this field, based on the GAN (Generative Adversarial Network) and VAE (Variational Autoencoder) frameworks, respectively. From the data in Table 3, it can be seen that the accuracy of CD-GZSL on the CUB dataset for the unseen category U is 64.3%, the seen category S is 61.6%, and the harmonic mean H is 62.9%; on the FLO dataset, these indicators are 61.4%, 81.4%, and 70.2%, respectively. Compared with f-CLSWGAN and f-VAEGAN-D2, CD-GZSL has significant improvements in all indicators. In particular, in terms of the important indicator of harmonic mean H, this method improves by 7.1% and 9.3% on CUB compared with f-CLSWGAN and f-VAEGAN-D2, respectively, and by 4.6% and 5.6% on FLO, respectively. This significant improvement shows the advantage of using a diffusion model, which better balances quality and diversity in the generation process and achieves more balanced results on seen and unseen categories, leading to better overall performance on the GZSL task.

[0160] f-CLSWGAN and f-VAEGAN-D2 represent two key methods in this field, which are rooted in the theoretical framework of generative adversarial networks (GAN) and variational autoencoders (VAE), respectively. The data in Table 3 reveal that CD-GZSL achieves an accuracy of 64.3% for unseen categories, 61.6% for seen categories, and a harmonic mean of 62.9% in the CUB dataset. For the FLO dataset, the corresponding indicators reach 61.4%, 81.4%, and 70.2%, respectively. Compared with f-CLSWGAN and f-VAEGAN-D2, this method achieves significant performance improvements in all indicators. In particular, in terms of the key indicator harmonic mean, compared with f-CLSWGAN and f-VAEGAN-D2, significant improvements of 7.1% and 9.3%, 4.6% and 5.6% were achieved on the CUB and FLO datasets, respectively. This significant improvement highlights the superiority of the diffusion model, which optimizes the balance between quality and diversity in the generation process and achieves more balanced representation on seen and unseen categories, resulting in excellent overall performance on the GZSL task.

[0161] These achievements not only demonstrate the excellent performance of CD-GZSL in identifying seen and unseen categories, but also reflect its success in improving feature generation and pattern coverage. The proposed method combines the advantages of diffusion model and adversarial generative network, and through contrastive learning strategy, it efficiently mines high-level semantic information, thereby enhancing intra-class similarity and inter-class differences. The proposed method contributes an innovative solution strategy to the challenges faced by generative generalized zero-shot learning, and its effectiveness is verified by experimental results.

[0162] Table 2 Comparison of recognition performance of various methods in generalized zero-shot learning tasks in AWA1 and AWA2 datasets (%). The performance evaluation covers three dimensions: U represents the recognition accuracy of unseen categories, S represents the recognition accuracy of visible categories, and H is the harmonic mean of U and S. The best experimental results in the dataset are marked in bold, and the suboptimal results are underlined.

[0163]

[0164]

[0165] Table 3 Comparison of recognition performance of various methods in the generalized zero-shot learning task in the CUB and FLO datasets (%). The performance evaluation covers three dimensions: U represents the recognition accuracy of unseen categories, S represents the recognition accuracy of visible categories, and H is the harmonic mean of U and S. The best experimental results in the dataset are marked in bold, and the suboptimal results are underlined.

[0166]

[0167] 6.4 Generated Feature Quality Assessment

[0168] By inputting the generated visual features into the Inception network, we can obtain the predicted probability distribution p(y|x) of each feature on different categories, where x is the generated feature and y is the feature category label. Calculate the entropy H(y|x) of the category distribution of each feature. In theory, this entropy value should be lower for high-quality features, because high-quality features should clearly belong to a certain category. Calculate the entropy H(y) of the category distribution on the entire set of generated features to evaluate diversity. If the generated image covers multiple different categories, this entropy value should be higher. The final Inception Score is calculated by the following formula:

[0169]

[0170] in, Represents the expected calculation for all generated images. This score measures the quality and diversity of the image by comparing the difference between H(y) and H(y|x). Ideally, the generated image should have a high probability of belonging to a certain category (low H(y|x)), and the entire image set should cover multiple different categories (high H(y)). Such a generation model will get a high Inception Score.

[0171] This section evaluates the quality of generated features on four datasets: AWA1, AWA2, CUB, and FLO. The experimental results are shown in Tables 4 and 5, where U and S represent the IS values ​​under the features of unseen and visible samples, respectively, and U∪S represents the IS value when the features of visible and unseen samples are jointly generated. IS=1 means that the generated image is extremely single and lacks diversity. This shows that the model is extremely confident in each generated image and classifies them into the same category. A higher IS value means that the generated image is not only visually realistic, but also has high diversity. In addition, a high IS value also implies that the model can generate clear and recognizable images of multiple categories. In fact, a "normal" IS value is highly dependent on the complexity of the specific task and dataset. The more complex the dataset, the higher the IS value. As shown in Tables 4 and 5, the 50 categories contained in the AWA1 and AWA2 datasets have lower IS values ​​than the 102 categories of FLO and the 200 categories of CUB. Experimental data show that the CD-GZSL model achieves optimal performance on the AWA1, CUB, and FLO datasets, reflecting an effective balance between feature quality and diversity. Although CE-GZSL performs slightly better on the AWA2 dataset, CD-GZSL shows strong competitiveness. CD-GZSL successfully improves the quality and diversity of visual features of unseen categories in zero-shot learning through the diffusion model, which is consistent with the hypothesis proposed in the section.

[0172] Table 4 analyzes the experimental results of the quality and diversity of feature samples generated by the contrast diffusion zero-shot learning algorithm on the AWA1 and FLO datasets. U represents the generation of unseen classes, S represents the generation of visible classes, and S∪U represents that the generated sample features include both visible and unseen classes. A larger value means that the algorithm performs better in sample quality and diversity. The best experimental results in the dataset are marked in bold.

[0173]

[0174] Table 5 analyzes the experimental results of the quality and diversity of feature samples generated by the contrast diffusion zero-shot learning algorithm on the AWA2 and CUB datasets. U represents the generation of unseen classes, S represents the generation of visible classes, and S∪U represents that the generated sample features include both visible and unseen classes. A larger value means that the algorithm performs better in sample quality and diversity. The best experimental results in the dataset are marked in bold.

[0175]

[0176] 6.5 Ablation Experiment

[0177] These experiments focus on exploring the specific effects of various algorithm components and different hyperparameter settings on performance.

[0178] (1) Impact of model components on performance

[0179] Table 6 presents the performance analysis of each component of the CD-GZSL model on the CUB and FLO datasets. It includes a baseline model dedicated to generating feature samples of unseen categories. The E module maps the generated features to the embedding space based on the baseline model and optimizes it through contrast loss. The conditional denoising model CD is improved by adding a classification guidance module to the baseline model. By combining different modules, their effectiveness in independent and integrated applications is verified. Consistent with the previous experiments, the experimental results are statistically analyzed in terms of performance indicators in the three dimensions of U, S, and H.

[0180] For the baseline model, U=47.5, S=61.5, H=53.8 on the CUB dataset; U=57.0, S=79.2, H=66.2 on the FLO dataset. After introducing the contrastive loss, the U index of the CUB dataset increased by 10.2%, and H increased by 4.5%; the U of the FLO dataset increased by 1.8%, S increased by 1.9%, and H increased by 2.1%. This result highlights the significant effect of the contrastive loss in enhancing the intra-class similarity and inter-class difference in the embedding space, thereby improving the classification accuracy of generalized zero-shot learning. After adding the CD component, the U index on the CUB dataset increased by 6.6%, S decreased slightly by 0.5%, and H increased by 6.1%; on the FLO dataset, U increased by 2.6%, S increased by 0.9%, and H increased by 2.1%. This shows that the classification guidance component improves the output quality of the generator by optimizing the classifier, effectively maintaining the coverage and quality of the samples.

[0181] Through in-depth analysis of the experimental results, it is observed that the introduction of the contrast loss module (E) significantly enhances the model's recognition of unseen categories (U) and overall performance (H) without increasing the sampling cost. In addition, the fusion of the conditional denoising model (CD) not only further enhances the generalization performance of the model, but also shows excellent results in improving the recognition accuracy of unseen categories. When the E and CD modules act together on the baseline model, CD-GZSL achieves the best performance.

[0182] Table 6 shows the module performance overview of CD-GZSL. The baseline model uses a diffusion adversarial generative network; the E module covers a contrastive embedding network; and the CD module is a classification guidance module. The “√” mark in the table indicates that the method or technology has been integrated. All performance indicators are shown in percentage form, and the best experimental results in the dataset are highlighted in bold.

[0183]

[0184] (2) The impact of the number of samples generated during the training phase on algorithm performance

[0185] The impact of different numbers of synthetic instances of unseen classes on model performance is evaluated, covering four major benchmark datasets: AWA1, AWA2, CUB, and FLO. Experimental results, such as Figure 2 , Figure 3 , Figure 4 and Figure 5 As shown in the figure, on all four datasets, the model performance is improved with the increase of the number of synthetic samples. In the initial setting, that is, when 200, 200, 50, and 50 samples are generated on the AWA1, AWA2, CUB, and FLO datasets, respectively, although the performance of each dataset on the S index is high, the performance on the U index is relatively low, especially on the AWA2 dataset, where the accuracy is less than 10%. This phenomenon shows that under this experimental setting, generalized zero-shot learning faces a significant bias problem towards the visible class caused by data imbalance. As the number of synthetic samples increases, the accuracy on the S index gradually decreases, while the accuracy on the U index increases rapidly, and after reaching a certain number of samples, the three indicators tend to stabilize and achieve a balanced state. In addition, from the changing trend of the harmonic mean H, it can be seen that with the increase of the number of synthetic samples, the overall performance of generalized zero-shot classification shows an upward trend.

[0186] (3) The impact of diffusion process step length T on algorithm performance

[0187] Conditional generative adversarial networks have been proven to be able to effectively simulate complex conditional multimodal distributions in the image domain. By combining the diffusion model with the generative adversarial network, this study aims to reduce the number of denoising diffusion steps T required in the inverse process of the diffusion model. This section will conduct an in-depth discussion on the specific value of the denoising diffusion step T. In the experiment, the value range of T is set to [2, 4, 6, 8], and a detailed experimental analysis is performed on four benchmark datasets: AWA1, AWA2, CUB, and FLO.

[0188] Figure 7The performance results of the inverse process of the diffusion model in the generalized zero-shot learning task are shown under different denoising steps T. The results are expressed as accuracy and evaluated on the visible category S, the unseen category U and their harmonic mean H. The following is a report of the results based on experimental data: In the three benchmark datasets AWA1, AWA2, and FLO, when T=4 steps, the accuracy of the unseen category U is the highest, reaching 0.604, 0.591, and 0.614 respectively. In the CUB dataset, T=6 achieved the highest accuracy of 0.647 for the unseen category U. This means that for the overall situation, the use of a 4-step denoising process can obtain the best recognition effect on unseen categories. At the same time, the harmonic mean H also reaches the highest value of 0.669, 0.665, 0.629, and 0.702 when T is 4 steps, indicating that this setting has the best performance in balancing the recognition of visible and unseen categories.

[0189] Figure 6 and Figure 7 The performance of the inverse process diffusion model in the generalized zero-shot learning task with different denoising steps T is presented. The performance is measured by accuracy, and a comprehensive evaluation is performed on the seen categories S, the unseen categories U, and their harmonic mean H. According to the experimental data, the three benchmark datasets AWA1, AWA2, and FLO show that the accuracy of the unseen category U reaches the highest when T=4, which are 0.604, 0.591, and 0.614, respectively. On the CUB dataset, when T=6, the accuracy of the unseen category U is the highest, which is 0.647. This shows that, overall, the four-step denoising process can usually achieve the best recognition performance for the unseen categories. In addition, the harmonic mean H reaches its highest values ​​in the setting of T=4, which are 0.669, 0.665, 0.629, and 0.702, respectively, showing the best effect in balancing the recognition performance of seen and unseen categories.

[0190] Experimental data from the AWA1, AWA2, and FLO datasets show that the 4-step denoising process is the ideal number of steps to achieve the best performance balance. Although the accuracy of the unseen category is highest in the 6-step denoising on the CUB dataset, the 4-step denoising process seems to be a more appropriate choice considering the harmonic mean H. This shows that although a single performance indicator may favor a specific number of denoising steps, comprehensive evaluation of multiple indicators can provide a more comprehensive performance perspective, thereby assisting in determining a better denoising step configuration.

[0191] (4) Impact of temperature parameters on algorithm performance

[0192] The temperature parameter τ in the CD-GZSL model c With τ e The impact of τ is carefully evaluated. c With τe The fluctuation of H on different datasets is small, which proves the high robustness of CD-GZSL to temperature parameters. Specifically, on the AWA1 and CUB datasets, when τ c With τ e When both are set to 0.1, the CD-GZSL model achieves the best performance. On the AWA2 dataset, c Set to 1.0 and τ e When τ is set to 10.0, the method shows the best results. For the FLO dataset, when τ c =1.0 and τ e =0.1, the highest performance is achieved.

[0193] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.

Claims

1. A contrastive diffusion zero-shot learning method, characterized in that: The steps include: Including semantically guided diffusion adversarial network model S-DDGAN, contrast embedding model E, conditional denoising model CD and classifier; S1: Get the seen category set Y s , which contains S categories, Y s Defined as the training set D tr , By N pairs of instances {x i ,y i }, where x i represents the sample characteristics, y i Represents x i The corresponding category, y i Belongs to one of S categories; S2: training adversarial network model S-DDGAN and contrast embedding model E; 1) Let i = 1; 2) Let j = 1, locking the parameters of the generator G in S-DDGAN; 3) Towards D tr Sample a batch of samples {x, y}, where x represents the sample features of the batch of samples and y represents the labels of the batch of samples; 4) Randomly generate time step information t:←[0,T] for each sample in the batch; 5) Encode each sample t to obtain the corresponding vector t representing the time information e ; 6) Add noise to each sample in the batch to generate diffusion samples x t With x t-1 ; 7) The x corresponding to each sample t-1 ,x t ,t e and a are input into the discriminator D of S-DDGAN to obtain the discriminant result real / fake←D(x t-1 ,x t ,t e ,a), where a represents the semantic information corresponding to the sample; 8) Input x into the contrast embedding model E to obtain the embedding vector h corresponding to x, h←E(x); 9) Randomly sample Gaussian noise z←N(0,1) for each sample in the batch; 10) Change the x corresponding to x t ,z,t e and a are input into the generator G of S-DDGAN to generate visible class samples x′0←G(x t ,z,t e ,a) 11) x′0 uses the same noise addition method as 6) to obtain the diffusion sample x′ corresponding to x′0 t and x′ t-1 ; 12) x′ corresponding to x′0 t ,x′ t-1 ,t e And the discriminator D of aS-DDGAN obtains the discriminant result real / fake←D(x′ t-1 ,x′ t ,t e ,a); 13) Calculate the total loss, and then use gradient descent to update the parameters of the discriminators D and E based on the total loss; 14) j=j+1; 15) If j>J, execute the next step, otherwise return to 3); 16) Lock the parameters of the discriminator D in S-DDGAN and randomly generate time step information t:←[0,T] for each sample in the batch; 17) Encode each sample t to obtain the corresponding vector t representing the time information e ; 18) Add noise to each sample in the batch to generate diffusion samples x t With x t-1 ; 19) The x corresponding to each sample t-1 ,x t ,t e and a are input into the discriminator D to obtain the discriminant result real / fake←D(x t-1 ,x t ,t e ,a); 20) Input x into the contrast embedding model E to obtain the embedding vector h corresponding to x, h←E(x); 21) Randomly sample Gaussian noise z←N(0,1) for each sample in the batch; 22) Change the x corresponding to x t ,z,t e and a input generator G generates visible class samples x′0←G(x t ,z,t e ,a) 23) x′0 uses the same noise adding method as 18) to obtain the diffusion sample x′ corresponding to x′0 t and x′ t-1 ; 24) x′ corresponding to x′0 t ,x′ t-1 ,t e and a discriminator D to obtain the discriminant result real / fake←D(x′ t-1 ,x′ t ,t e ,a); 25) Calculate the total loss, and then use gradient descent to update the parameters of generators G and E based on the total loss; 26) Another i=i+1; 27) If i>epoch, execute the next step, otherwise return to 2); 28) Output the current optimal generator G perfect The parameters θ and the optimal embedding model E perfect The parameter ε; S3: Input the semantic information of the unseen category into G according to the semantic information perfect , generate several unseen category samples, and compare them with D tr Combine them as a new training set and train the classifier: Input the samples in the new training set into E perfect , get the embedding vector corresponding to each new sample, input the embedding vector into the classifier, use cross entropy to calculate the loss between the classifier's predicted class and its true class for the new sample, and use the gradient descent method to update the classifier's parameters according to the loss until the loss no longer decreases to obtain the optimal classifier; S4: For a new image of an unseen category, input the new image of the unseen category into E perfect , get the corresponding embedding vector, then input the embedding vector into the optimal classifier, and the optimal classifier outputs the predicted category of the new picture of the unseen category.

2. A contrastive diffusion zero-shot learning method as claimed in claim 1, characterized in that: In S2, noise is added to each sample in the batch to generate a diffusion sample x t With x t+1 The steps are: Among them, q(x0) is the data distribution, x0=x is the sample feature of the batch sample, and x 1:T represents the data sequence from time 1 to time T, β t is a predefined variance schedule; I, q(.) represents the identity matrix, normal distribution and probability distribution respectively.

3. The contrastive diffusion zero-shot learning method according to claim 1, characterized in that: The calculation process of the total loss in S2 is as follows: in, Target loss function; Represents q(x t )’s distribution expectation; x t : represents the sample at time step t; Represents the conditional distribution q(x t-1 |x t ) expectations; Represents the conditional distribution p θ (x t-1 |x t ), where p θ It is a parametric model; log D φ (x t-1 ,x t ,t,a): represents the discriminator D φ The logarithmic output of t-1 and x t is the input, t is the time step, and a is the semantic information; represents the complement of the logarithmic output of the discriminator for the generated samples, where and is to generate samples; λ: This is a weight hyperparameter; This is the gradient penalty term; in represents the target loss function of the embedding model E; This is the expectation symbol; h i : represents the feature vector of the i-th sample; h + : represents the feature vector of the positive sample; h - : The feature vector representing the negative sample; τ e : represents temperature parameters; K: represents the number of negative samples; in, represents the classification loss function; Represents the samples generated by the generator; Indicates the sample The expected value of Represents the samples generated by the generator; S: represents the number of visible classes in the training phase; U: represents the number of categories that were not seen during the training phase; y i : represents the label of the i-th category; y j : represents the label of the jth category; Represents the input sample of model C Output: Represents the input sample of model C In the yth i The scores of the categories; τ c : represents temperature parameters; Total loss function The definition is as follows: Among them, λ1 and λ2 represent the weights of the loss respectively.

Citation Information

Patent Citations

  • Zero sample learning method based on generative adversarial network under semantic error correction

    CN113378959A

  • Universal multi-modal learning method for zero sample emotion recognition

    CN117453948A

  • Zero sample cross-modal retrieval method and system based on tensor product graph fusion diffusion

    CN117992805A

  • Generalized zero sample learning method based on semantic knowledge fusion and vision-semantic contrast synthesis

    CN118038206A

  • Learning graph-based priors for generalized zero-shot learning

    US11288542B1

Cited By

  • Systems and methods for image classification

    GB2703813A