WO2024031891A1 - 知识表征解耦的分类模型的微调方法、装置和应用 - Google Patents
知识表征解耦的分类模型的微调方法、装置和应用 Download PDFInfo
- Publication number
- WO2024031891A1 WO2024031891A1 PCT/CN2022/137938 CN2022137938W WO2024031891A1 WO 2024031891 A1 WO2024031891 A1 WO 2024031891A1 CN 2022137938 W CN2022137938 W CN 2022137938W WO 2024031891 A1 WO2024031891 A1 WO 2024031891A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- classification
- instance
- vector
- model
- phrases
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/02—Knowledge representation; Symbolic representation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/02—Knowledge representation; Symbolic representation
- G06N5/022—Knowledge engineering; Knowledge acquisition
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/042—Knowledge-based neural networks; Logical representations of neural networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0475—Generative networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
Definitions
- the invention belongs to the technical field of natural language processing, and specifically relates to a fine-tuning method, device and application of a classification model with decoupled knowledge representation.
- Pre-trained classification models have achieved exciting and remarkable results in the field of natural language processing by deeply learning knowledge from massive amounts of data.
- the pre-training classification model is trained from large-scale corpus by designing general pre-training tasks, such as masking mask modeling (MLM), next sentence prediction (NSP), etc., and then applied to downstream relationship classification, emotion classification and other classifications.
- MLM masking mask modeling
- NSP next sentence prediction
- hint learning reduces the difference between the fine-tuning stage and the pre-training stage of the pre-trained classification model, making the pre-trained classification model further capable of few-shot and zero-shot learning.
- Prompt learning can be divided into discrete prompts and continuous prompts. Discrete prompts convert the input form by manually constructing discrete prompt templates. Continuous prompts add a series of learnable continuous embedding vectors to the input sequence, reducing prompt engineering.
- Patent document CN101127042A discloses an emotion classification method based on a classification model.
- Patent document CN108363753A discloses a review text emotion classification model training and emotion classification method, device and equipment. Both patent applications extract embedding vectors of text. Finally, sentiment classification is constructed based on embedding vectors. When sample data is scarce in these two methods, it is difficult to achieve accuracy in emotion classification due to poor extracted embedding vectors.
- the purpose of the present invention is to provide a fine-tuning method, device and application of a classification model that decouples knowledge representation.
- the knowledge The library serves as a similarity guide to optimize the classification model to improve the knowledge representation capability and accuracy of the classification model, thereby improving the classification accuracy of downstream classification tasks.
- the embodiment provides a method for fine-tuning a classification model with decoupled knowledge representation, including the following steps:
- Step 1 Build a knowledge base for retrieval. There are multiple instance phrases in the knowledge base. Each instance phrase is stored in the form of a key-value pair, where the key stores the embedding vector of the instance word and the value stores the label true value of the instance phrase. ;
- Step 2 Build a classification model including a pre-trained language model and a predictive classification module
- Step 3 Use the pre-trained language model to extract the first embedding vector of the masked word in the input instance text, and use the first embedding vector as the first query vector to query the knowledge base for each label category that is the closest to the first query vector. Multiple nearby instance phrases are used as the first neighboring instance phrases, and the aggregation result obtained by aggregating all the first neighboring instance phrases and the first query vector is used as the input data of the pre-trained language model;
- Step 4 Use the pre-trained language model to extract the second embedding vector of the masked word in the input data, and use the prediction classification module to classify and predict the second embedding vector to obtain the classification prediction probability. Based on the classification prediction probability and the label truth of the masking word, value to calculate the classification loss;
- Step 5 Use the true label value of the masked word to construct a weight factor, and adjust the classification loss based on the weight factor to make the classification loss pay more attention to misclassified instances;
- Step 6 Use the adjusted classification loss to optimize the parameters of the classification model to obtain a classification model with optimized parameters.
- the embodiment provides a fine-tuning device for a classification model with decoupled knowledge representation, including:
- the knowledge base construction and update unit is used to build a knowledge base for retrieval.
- Each instance phrase is stored in the form of a key-value pair, where the key stores the embedding vector of the instance word and the value stores The label truth value of the instance phrase;
- a classification model building unit used to build a classification model including a pre-trained language model and a predictive classification module;
- the query and aggregation unit is used to use the pre-trained language model to extract the first embedding vector of the masked word in the input instance text, and use the first embedding vector as the first query vector to query the knowledge base for each label category and the first embedding vector.
- Multiple instance phrases closest to a query vector are used as the first neighboring instance phrases, and the aggregation result obtained by aggregating all the first neighboring instance phrases and the first query vector is used as the input data of the pre-trained language model;
- the loss calculation unit is used to use the pre-trained language model to extract the second embedding vector of the masked word in the input data, and use the prediction classification module to classify and predict the second embedding vector to obtain the classification prediction probability. Based on the classification prediction probability and the masking word The true value of the label calculates the classification loss;
- the loss adjustment unit is used to construct a weight factor based on the true label value of the masked word, and adjust the classification loss based on the weight factor so that the classification loss pays more attention to misclassified instances;
- the parameter optimization unit is used to optimize the parameters of the classification model using the adjusted classification loss to obtain a parameter-optimized classification model.
- embodiments also provide a task classification method using a knowledge representation decoupled classification model.
- the task classification method applies the knowledge base constructed by the above fine-tuning method and the parameter-optimized classification model, including the following steps. :
- Step 1 Use the pre-trained language model with optimized parameters to extract the third embedding vector of the masked word in the input instance text, and use the third embedding vector as the third query vector to query the third embedding vector from the knowledge base for each label category.
- the multiple nearest instance phrases of the three query vectors are used as the third neighboring instance phrases, and the aggregation result obtained by aggregating all the third neighboring instance phrases and the third query vector is used as the input data of the pre-trained language model;
- Step 2 Use the parameter-optimized pre-trained language model to extract the fourth embedding vector of the masked word in the input data, and query the multiple instance texts closest to the fourth query vector from the knowledge base for each category as the fourth neighboring instance text. , calculate the category correlation probability based on the similarity between the fourth query vector and the fourth neighboring instance text;
- Step 3 Use the parameter-optimized prediction and classification module to perform classification prediction on the fourth embedding vector to obtain the classification prediction probability
- Step 4 The weighted result of each category's correlation probability and classification prediction probability is used as the overall classification prediction result.
- the beneficial effects of the present invention include at least:
- KNN is used to retrieve from the knowledge base. Neighboring instance phrases are obtained as continuous neural examples, and neural examples are used to guide classification model training and correct classification model predictions, which improves the ability of the classification model in few-sample and zero-sample scenarios. When the amount of data is sufficient, the knowledge base will also have more information. With richer information, the classification model also performs very well in fully supervised scenarios.
- Figure 1 is a flow chart of the fine-tuning method of the knowledge representation decoupled classification model provided by the embodiment
- Figure 2 is a schematic diagram of the structure and training of the classification model, a schematic diagram of knowledge base update, and a schematic diagram of classification prediction provided by the embodiment;
- Figure 3 is a flow chart of a task classification method using a knowledge representation decoupled classification model provided by the embodiment.
- the embodiment provides a fine-tuning method and device for a classification model with decoupled knowledge representation, and a classification application of the fine-tuned classification model.
- the memory is transferred from the pre-trained language model. Decoupling in the middle provides reference knowledge for model training and prediction, and improves the generalization ability of the model.
- Figure 1 is a flow chart of the fine-tuning method of the knowledge representation decoupled classification model provided by the embodiment. As shown in Figure 1, the fine-tuning method of the knowledge representation decoupled classification model provided by the embodiment includes the following steps:
- Step 1 Build a knowledge base for retrieval.
- the knowledge base serves as an additional reference information to decouple the knowledge representation from the partial memory of the classification model, and is mainly used to store the knowledge representation obtained from the structure of the classification model.
- the knowledge representation is in the form of city phrases. There exists, specifically, each instance phrase stored in the form of a key-value pair, where the key stores the embedding vector of the instance word and the value stores the label truth value of the instance phrase.
- the embedding vector of the instance phrase is learned from the pre-trained language model based on the instance text of the prompt template. Specifically, it is the hidden vector output by the last layer of the pre-trained language model for the mask position in the instance text.
- the knowledge base can be added, edited and deleted freely, as shown in Figure 2.
- the first embedding vector of the masked word in the input instance text and its corresponding label true value form a new instance. Phrases are updated asynchronously into the knowledge base.
- Step 2 Build a classification model including a pre-trained language model and a prediction classification module.
- the classification model constructed in the embodiment includes a pre-trained language model.
- the pre-trained language model is used to perform knowledge representation on the input instance text to extract the embedding vector of the mask position.
- the input instance text needs to After serialization and conversion of the prompt template, the form of the prompt template is: [CLS] instance text [MASK] [SEP], an example is: [CLS] This movie has no meaning [MASK] [SEP], and the label true value is
- the label vector is obtained by mapping it to the vocabulary space of the pre-trained language model through the mapping function.
- the prediction classification module is used to perform classification prediction on the input embedding vector to output the classification prediction probability.
- Step 3 Use the pre-trained language model to extract the first embedding vector of the masked word in the input instance text, and aggregate the input data by querying adjacent instance phrases from the knowledge base.
- a pre-trained language model is used to extract the first embedding vector of the masked word in the input instance text, and the first embedding vector is used as the first query vector.
- KNN nearest neighbor algorithm
- KNN nearest neighbor algorithm
- These first neighboring instance phrases are used as additional example inputs, and the aggregation result obtained by aggregating with the first query vector is used as pre-training.
- the input data of the language model, where the aggregation formula is:
- Step 4 Use the pre-trained language model to extract the second embedding vector of the masked word in the input data, use the prediction classification module to perform classification prediction on the second embedding vector, and calculate the classification loss based on the classification prediction probability.
- the cross-entropy of the classification prediction probability corresponding to the input data and the true value of the label of the masking word is used as the classification loss L CE .
- Step 5 Use the true value of the label of the masked word to construct a weight factor, and adjust the classification loss based on the weight factor to make the classification loss pay more attention to misclassified instances.
- the true value of the label of the masked word is used to adjust the weights of correct classification and misclassification in the classification loss so that the classification model can better focus on misclassified samples.
- the specific formula is as follows:
- L CE represents the classification loss
- ⁇ represents the adjustment parameter
- p knn represents the true value of the label of the masked word.
- Step 6 Use the adjusted classification loss to optimize the parameters of the classification model to obtain a classification model with optimized parameters.
- the constructed classification loss is used to optimize the parameters of the classification model, and in each round of training, the first embedding vector of the input instance text is used to construct the instance phrase and updated into the knowledge base.
- the fine-tuning method of the above-mentioned knowledge representation decoupled classification model fine-tunes the classification model to improve its capabilities in few-sample and zero-sample scenarios.
- the knowledge base will have better and richer information, and the classification model will also perform very well in fully supervised scenarios.
- the embodiment also provides a fine-tuning device for a classification model with decoupled knowledge representation, including:
- the knowledge base construction and update unit is used to build a knowledge base for retrieval.
- Each instance phrase is stored in the form of a key-value pair, where the key stores the embedding vector of the instance word and the value stores The label truth value of the instance phrase;
- a classification model building unit used to build a classification model including a pre-trained language model and a predictive classification module;
- the query and aggregation unit is used to use the pre-trained language model to extract the first embedding vector of the masked word in the input instance text, and use the first embedding vector as the first query vector to query the knowledge base for each label category and the first embedding vector.
- Multiple instance phrases closest to a query vector are used as the first neighboring instance phrases, and the aggregation result obtained by aggregating all the first neighboring instance phrases and the first query vector is used as the input data of the pre-trained language model;
- the loss calculation unit is used to use the pre-trained language model to extract the second embedding vector of the masked word in the input data, and use the prediction classification module to classify and predict the second embedding vector to obtain the classification prediction probability. Based on the classification prediction probability and the masking word The true value of the label calculates the classification loss;
- the loss adjustment unit is used to construct a weight factor based on the true label value of the masked word, and adjust the classification loss based on the weight factor so that the classification loss pays more attention to misclassified instances;
- the parameter optimization unit is used to optimize the parameters of the classification model using the adjusted classification loss to obtain a parameter-optimized classification model.
- the fine-tuning device for the knowledge representation decoupled classification model provided in the above embodiment is fine-tuning the classification model
- the division of the above-mentioned functional units should be used as an example.
- the above-mentioned functions can be allocated to different functions as needed.
- Unit completion means that the internal structure of the terminal or server is divided into different functional units to complete all or part of the functions described above.
- the fine-tuning device for a classification model with decoupled knowledge representation and the fine-tuning method for a classification model with decoupled knowledge representation provided in the above embodiments belong to the same concept. For details on the implementation process, see the fine-tuning method for a classification model with decoupled knowledge representation. The embodiments will not be described again here.
- the embodiment also provides a task classification method using a knowledge representation decoupled classification model.
- the task classification method applies the knowledge base constructed by the above fine-tuning method and the parameter-optimized classification model, as shown in Figure 3 display, including the following steps:
- Step 1 Use the pre-trained language model with optimized parameters to extract the third embedding vector of the masked word in the input instance text, and aggregate the input data by querying adjacent instance phrases from the knowledge base.
- a pre-trained language model with optimized parameters is used to extract the third embedding vector of the masked word in the input instance text, and the third embedding vector is used as the third query vector to query and query from the knowledge base for each label category.
- Multiple instance phrases nearest to the third query vector are used as third neighboring instance phrases, and an aggregation result obtained by aggregating all third neighboring instance phrases and the third query vector is used as the input data of the pre-trained language model.
- the non-parametric method KNN is used to retrieve instance phrases adjacent to the input instance text from the knowledge base.
- the results of KNN retrieval are regarded as indication information of easy and difficult instances, allowing the classification model to pay more attention to difficult samples during training.
- Step 2 Use the pre-trained language model with optimized parameters to extract the fourth embedding vector of the masked word in the input data, and calculate the category correlation probability by querying adjacent instance phrases from the knowledge base.
- a parameter-optimized pre-trained language model is used to extract the fourth embedding vector of the masked word in the input data.
- KNN search is used to query multiple instance texts closest to the fourth query vector from the knowledge base as
- the category correlation probability is calculated based on the similarity between the fourth query vector and the fourth neighboring instance text.
- the following formula is used based on the similarity between the fourth query vector and the fourth neighboring instance text. to calculate class-related probabilities:
- q t ) represents the category correlation probability of the i-th classification category of the input instance text q t
- the inner product distance between the embedding vector h ci of the instance phrase ci belonging to the i-th classification category yi, as the inner product similarity, N represents the knowledge base.
- KNN is a non-parametric method that can easily predict input instance text without any classification layer. Therefore, the classification results of KNN (category related probability) can be intuitively used as a kind of prior knowledge to guide Pre-train the classification model so that it pays more attention to difficult samples (or atypical samples).
- Step 3 Use the parameter-optimized prediction classification module to perform classification prediction on the fourth embedding vector to obtain the classification prediction probability.
- Step 4 The weighted result of each category's correlation probability and classification prediction probability is used as the overall classification prediction result.
- ⁇ represents the weight parameter
- q t ) obtained through KNN retrieval can be further used in the inference process of the classification model to correct errors produced by the classification model during inference.
- the task classification method using the knowledge representation decoupled classification model provided in the embodiment can be used for relationship classification tasks.
- the label truth values of instance phrases stored in the knowledge base are relationship types, including friend relationships, kinship relationships, colleague relationships, and classmate relationships.
- the input instance text is processed through steps 1 and 2 Calculate the category correlation probability of each relationship type, calculate the classification prediction probability according to step 3, calculate the total classification prediction result corresponding to each relationship type according to step 4, and obtain the largest total classification prediction result through screening as the corresponding input instance text The final relationship classification result.
- the task classification method using the knowledge representation decoupled classification model provided in the embodiment can be used for emotion classification tasks.
- the true label value of the instance phrase stored in the knowledge base is the emotion type, including positive emotion and negative emotion.
- each emotion is calculated through steps 1 and 2 based on the input instance text.
- calculate the classification prediction probability according to step 3 calculate the total classification prediction result corresponding to the emotion type according to step 4, and obtain the largest total classification prediction result through screening as the final emotion classification result corresponding to the input instance text.
- Roberta-large is used as the pre-trained language model.
- the open source library FAISS is used for KNN retrieval.
- q t ) are weighted and summed to obtain the overall classification prediction result.
- the weight parameter ⁇ is selected as 0.5, so that the overall classification prediction probability of the label "bad review” is 0.6, and the overall classification predicted probability of "good review” is 0.4.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Molecular Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Biophysics (AREA)
- Health & Medical Sciences (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (10)
- 一种知识表征解耦的分类模型的微调方法,其特征在于,包括以下步骤:步骤1,构建用于检索的知识库,知识库中存有多个实例短语,每个实例短语以键值对的形式存储,其中键存储实例词语的嵌入向量,值存储实例短语的标签真值;步骤2,构建包含预训练语言模型、预测分类模块的分类模型;步骤3,利用预训练语言模型提取输入实例文本中遮蔽词的第一嵌入向量,并以该第一嵌入向量作为第一查询向量,针对每个标签类别从知识库中查询与第一查询向量最邻近的多个实例短语作为第一邻近实例短语,将所有第一邻近实例短语与第一查询向量聚合得到的聚合结果作为预训练语言模型的输入数据;步骤4,利用预训练语言模型提取输入数据中遮蔽词的第二嵌入向量,利用预测分类模块对第二嵌入向量进行分类预测,以得到分类预测概率,基于该分类预测概率和遮蔽词的标签真值计算分类损失;步骤5,以遮蔽词的标签真值来构建权重因子,根据权重因子对分类损失进行调整,使分类损失更关注错误分类实例;步骤6,利用调整后的分类损失优化分类模型的参数,得到参数优化后的分类模型。
- 根据权利要求1所述的知识表征解耦的分类模型的微调方法,其特征在于,步骤5中,调整后的分类损失L表示为:L=(1+βF(p knn))L CE其中,L CE表示分类损失,β表示调节参数,F(p knn)表示权重因子,表示为F(p knn)=-log(p knn),p knn表示遮蔽词的标签真值。
- 根据权利要求1所述的知识表征解耦的分类模型的微调方法,其特征在于,包括:以分类预测概率和遮蔽词的标签真值的交叉熵来计算分类损失。
- 根据权利要求1-4任一项所述的知识表征解耦的分类模型的微调方法,其特征在于,还包括:利用预训练语言模型提取的第一嵌入向量及其对应的标签真值形成新实例短语,更新到知识库中。
- 根据权利要求1所述的知识表征解耦的分类模型的微调装置,其特征在于,包括:知识库构建和更新单元,用于构建用于检索的知识库,知识库中存有 多个实例短语,每个实例短语以键值对的形式存储,其中键存储实例词语的嵌入向量,值存储实例短语的标签真值;分类模型构建单元,用于构建包含预训练语言模型、预测分类模块的分类模型;查询及聚合单元,用于利用预训练语言模型提取输入实例文本中遮蔽词的第一嵌入向量,并以该第一嵌入向量作为第一查询向量,针对每个标签类别从知识库中查询与第一查询向量最邻近的多个实例短语作为第一邻近实例短语,将所有第一邻近实例短语与第一查询向量聚合得到的聚合结果作为预训练语言模型的输入数据;损失计算单元,用于利用预训练语言模型提取输入数据中遮蔽词的第二嵌入向量,利用预测分类模块对第二嵌入向量进行分类预测,以得到分类预测概率,基于该分类预测概率和遮蔽词的标签真值计算分类损失;损失调整单元,用于以遮蔽词的标签真值来构建权重因子,根据权重因子对分类损失进行调整,使分类损失更关注错误分类实例;参数优化单元,用于利用调整后的分类损失优化分类模型的参数,得到参数优化后的分类模型。
- 一种利用知识表征解耦的分类模型的任务分类方法,其特征在于,所述任务分类方法应用权利要求1-5任一项所述的微调方法构建的知识库和参数优化后的分类模型,包括以下步骤:步骤1,利用参数优化后的预训练语言模型提取输入实例文本中遮蔽词的第三嵌入向量,并以该第三嵌入向量作为第三查询向量,针对每个标签类别从知识库中查询与第三查询向量最邻近的多个实例短语作为第三邻近实例短语,将所有第三邻近实例短语与第三查询向量聚合得到的聚合结果作为预训练语言模型的输入数据;步骤2,利用参数优化后的预训练语言模型提取输入数据中遮蔽词的第四嵌入向量,针对每类从知识库中查询与第四查询向量最邻近的多个实例文本作为第四邻近实例文本,依据第四查询向量与第四邻近实例文本之间的相似度来计算类别相关概率;步骤3,利用参数优化后的预测分类模块对第四嵌入向量进行分类预测,以得到分类预测概率;步骤4,以每个类别相关概率和分类预测概率的加权结果作为总分类预测结果。
- 根据权利要求7所述的利用知识表征解耦的分类模型的任务分类方法,其特征在于,当用于关系分类任务时,知识库中存储的实例短语的标签真值为关系类型,包括朋友关系、亲属关系、同事关系、同学关系,在进行关系分类时,根据输入实例文本经过步骤1和2计算得到每个关系类型的类别相关概率,根据步骤3计算分类预测概率,根据步骤4计算每个关系类型对应的总分类预测结果,通过筛选得到最大的总分类预测结果作为输入实例文本对应的最终关系分类结果。
- 根据权利要求7所述的利用知识表征解耦的分类模型的任务分类方法,其特征在于,当用于情感分类任务时,知识库中存储的实例短语的标签真值为情感类型,包括积极情感、消极情感,在进行情感分类时,根据输入实例文本经过步骤1和2计算得到每个情感类型的类别相关概率,根据步骤3计算分类预测概率,根据步骤4计算情感类型对应的总分类预测结果,通过筛选得到最大的总分类预测结果作为输入实例文本对应的最终情感分类结果。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/571,196 US20250094833A1 (en) | 2022-08-10 | 2022-12-09 | Fine-tuning method, device and application for classification model of knowledge representation decoupling |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210955108.0A CN115270988A (zh) | 2022-08-10 | 2022-08-10 | 知识表征解耦的分类模型的微调方法、装置和应用 |
| CN202210955108.0 | 2022-08-10 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024031891A1 true WO2024031891A1 (zh) | 2024-02-15 |
Family
ID=83751784
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/137938 Ceased WO2024031891A1 (zh) | 2022-08-10 | 2022-12-09 | 知识表征解耦的分类模型的微调方法、装置和应用 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20250094833A1 (zh) |
| CN (1) | CN115270988A (zh) |
| WO (1) | WO2024031891A1 (zh) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117743315A (zh) * | 2024-02-20 | 2024-03-22 | 浪潮软件科技有限公司 | 一种为多模态大模型系统提供高质量数据的方法 |
| CN118070925A (zh) * | 2024-04-17 | 2024-05-24 | 腾讯科技(深圳)有限公司 | 模型训练方法、装置、电子设备、存储介质及程序产品 |
| CN118152428A (zh) * | 2024-05-09 | 2024-06-07 | 烟台海颐软件股份有限公司 | 一种电力客服系统查询指令的预测和增强方法及其装置 |
| CN118171650A (zh) * | 2024-03-21 | 2024-06-11 | 行至智能(北京)技术有限公司 | 一种完全无监督的大语言模型微调训练平台 |
| CN118245602A (zh) * | 2024-03-22 | 2024-06-25 | 腾讯科技(深圳)有限公司 | 情绪识别模型的训练方法、装置、设备及存储介质 |
| CN118504586A (zh) * | 2024-07-18 | 2024-08-16 | 河南嵩山实验室产业研究院有限公司洛阳分公司 | 一种基于大语言模型的用户风险行为感知方法及相关设备 |
| CN118861307A (zh) * | 2024-09-29 | 2024-10-29 | 杭州亚信软件有限公司 | 大模型与膨胀卷积融合微调的文本分类方法及相关装置 |
| CN118966340A (zh) * | 2024-08-09 | 2024-11-15 | 中国电子科技集团公司第三十八研究所 | 基于知识库的不完备知识推理方法和系统 |
| CN119202854A (zh) * | 2024-11-21 | 2024-12-27 | 国科大杭州高等研究院 | 一种基于对话情境知识库和对比学习的情感识别方法及系统 |
| CN120562930A (zh) * | 2025-07-31 | 2025-08-29 | 合肥工业大学 | 基于微调大语言模型的星群任务规划方法及系统 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115270988A (zh) * | 2022-08-10 | 2022-11-01 | 浙江大学 | 知识表征解耦的分类模型的微调方法、装置和应用 |
| CN116704244B (zh) * | 2023-05-24 | 2025-09-12 | 西安交通大学 | 课程领域示意图对象检测方法、系统、设备及存储介质 |
| CN120726498A (zh) * | 2025-06-16 | 2025-09-30 | 中科星图数字地球合肥有限公司 | 一种基于检索增强提示学习的遥感图像识别方法、设备及介质 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111401077A (zh) * | 2020-06-02 | 2020-07-10 | 腾讯科技(深圳)有限公司 | 语言模型的处理方法、装置和计算机设备 |
| US20210089724A1 (en) * | 2019-09-25 | 2021-03-25 | Google Llc | Contrastive Pre-Training for Language Tasks |
| CN112614538A (zh) * | 2020-12-17 | 2021-04-06 | 厦门大学 | 一种基于蛋白质预训练表征学习的抗菌肽预测方法和装置 |
| CN113987209A (zh) * | 2021-11-04 | 2022-01-28 | 浙江大学 | 基于知识指导前缀微调的自然语言处理方法、装置、计算设备和存储介质 |
| CN114510572A (zh) * | 2022-04-18 | 2022-05-17 | 佛山科学技术学院 | 一种终身学习的文本分类方法及系统 |
| CN114565104A (zh) * | 2022-03-01 | 2022-05-31 | 腾讯科技(深圳)有限公司 | 语言模型的预训练方法、结果推荐方法及相关装置 |
| WO2022141878A1 (zh) * | 2020-12-28 | 2022-07-07 | 平安科技(深圳)有限公司 | 端到端的语言模型预训练方法、系统、设备及存储介质 |
| CN115270988A (zh) * | 2022-08-10 | 2022-11-01 | 浙江大学 | 知识表征解耦的分类模型的微调方法、装置和应用 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112100383B (zh) * | 2020-11-02 | 2021-02-19 | 之江实验室 | 一种面向多任务语言模型的元-知识微调方法及平台 |
| CN113468877A (zh) * | 2021-07-09 | 2021-10-01 | 浙江大学 | 语言模型的微调方法、装置、计算设备和存储介质 |
| CN113723106B (zh) * | 2021-07-29 | 2024-03-12 | 北京工业大学 | 基于标签扩展的零样本文本分类方法 |
| CN114491024B (zh) * | 2021-12-31 | 2024-04-26 | 长城信息股份有限公司 | 一种基于小样本的特定领域多标签文本分类方法 |
-
2022
- 2022-08-10 CN CN202210955108.0A patent/CN115270988A/zh active Pending
- 2022-12-09 WO PCT/CN2022/137938 patent/WO2024031891A1/zh not_active Ceased
- 2022-12-09 US US18/571,196 patent/US20250094833A1/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210089724A1 (en) * | 2019-09-25 | 2021-03-25 | Google Llc | Contrastive Pre-Training for Language Tasks |
| CN111401077A (zh) * | 2020-06-02 | 2020-07-10 | 腾讯科技(深圳)有限公司 | 语言模型的处理方法、装置和计算机设备 |
| CN112614538A (zh) * | 2020-12-17 | 2021-04-06 | 厦门大学 | 一种基于蛋白质预训练表征学习的抗菌肽预测方法和装置 |
| WO2022141878A1 (zh) * | 2020-12-28 | 2022-07-07 | 平安科技(深圳)有限公司 | 端到端的语言模型预训练方法、系统、设备及存储介质 |
| CN113987209A (zh) * | 2021-11-04 | 2022-01-28 | 浙江大学 | 基于知识指导前缀微调的自然语言处理方法、装置、计算设备和存储介质 |
| CN114565104A (zh) * | 2022-03-01 | 2022-05-31 | 腾讯科技(深圳)有限公司 | 语言模型的预训练方法、结果推荐方法及相关装置 |
| CN114510572A (zh) * | 2022-04-18 | 2022-05-17 | 佛山科学技术学院 | 一种终身学习的文本分类方法及系统 |
| CN115270988A (zh) * | 2022-08-10 | 2022-11-01 | 浙江大学 | 知识表征解耦的分类模型的微调方法、装置和应用 |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117743315A (zh) * | 2024-02-20 | 2024-03-22 | 浪潮软件科技有限公司 | 一种为多模态大模型系统提供高质量数据的方法 |
| CN117743315B (zh) * | 2024-02-20 | 2024-05-14 | 浪潮软件科技有限公司 | 一种为多模态大模型系统提供高质量数据的方法 |
| CN118171650A (zh) * | 2024-03-21 | 2024-06-11 | 行至智能(北京)技术有限公司 | 一种完全无监督的大语言模型微调训练平台 |
| CN118245602A (zh) * | 2024-03-22 | 2024-06-25 | 腾讯科技(深圳)有限公司 | 情绪识别模型的训练方法、装置、设备及存储介质 |
| CN118070925A (zh) * | 2024-04-17 | 2024-05-24 | 腾讯科技(深圳)有限公司 | 模型训练方法、装置、电子设备、存储介质及程序产品 |
| CN118152428A (zh) * | 2024-05-09 | 2024-06-07 | 烟台海颐软件股份有限公司 | 一种电力客服系统查询指令的预测和增强方法及其装置 |
| CN118504586A (zh) * | 2024-07-18 | 2024-08-16 | 河南嵩山实验室产业研究院有限公司洛阳分公司 | 一种基于大语言模型的用户风险行为感知方法及相关设备 |
| CN118966340A (zh) * | 2024-08-09 | 2024-11-15 | 中国电子科技集团公司第三十八研究所 | 基于知识库的不完备知识推理方法和系统 |
| CN118861307A (zh) * | 2024-09-29 | 2024-10-29 | 杭州亚信软件有限公司 | 大模型与膨胀卷积融合微调的文本分类方法及相关装置 |
| CN119202854A (zh) * | 2024-11-21 | 2024-12-27 | 国科大杭州高等研究院 | 一种基于对话情境知识库和对比学习的情感识别方法及系统 |
| CN120562930A (zh) * | 2025-07-31 | 2025-08-29 | 合肥工业大学 | 基于微调大语言模型的星群任务规划方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20250094833A1 (en) | 2025-03-20 |
| CN115270988A (zh) | 2022-11-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20250094833A1 (en) | Fine-tuning method, device and application for classification model of knowledge representation decoupling | |
| CN111177374B (zh) | 一种基于主动学习的问答语料情感分类方法及系统 | |
| CN108536870B (zh) | 一种融合情感特征和语义特征的文本情感分类方法 | |
| CN109325231B (zh) | 一种多任务模型生成词向量的方法 | |
| CN109992780B (zh) | 一种基于深度神经网络特定目标情感分类方法 | |
| CN114328931B (zh) | 题目批改方法、模型的训练方法、计算机设备及存储介质 | |
| CN110555084B (zh) | 基于pcnn和多层注意力的远程监督关系分类方法 | |
| US11663668B1 (en) | Apparatus and method for generating a pecuniary program | |
| CN114580638A (zh) | 基于文本图增强的知识图谱表示学习方法及系统 | |
| CN112800190A (zh) | 基于Bert模型的意图识别与槽值填充联合预测方法 | |
| CN108038492A (zh) | 一种基于深度学习的感性词向量及情感分类方法 | |
| CN108694443A (zh) | 基于神经网络的语言模型训练方法和装置 | |
| US20230368003A1 (en) | Adaptive sparse attention pattern | |
| CN111581368A (zh) | 一种基于卷积神经网络的面向智能专家推荐的用户画像方法 | |
| CN115687609B (zh) | 一种基于Prompt多模板融合的零样本关系抽取方法 | |
| CN115129863A (zh) | 意图识别方法、装置、设备、存储介质和计算机程序产品 | |
| Song et al. | Classification of traditional chinese medicine cases based on character-level bert and deep learning | |
| CN114077836A (zh) | 一种基于异构神经网络的文本分类方法及装置 | |
| Zheng et al. | Named entity recognition: A comparative study of advanced pre-trained model | |
| CN113722439A (zh) | 基于对抗性类别对齐网络的跨领域情感分类方法及系统 | |
| CN117708351A (zh) | 基于深度学习的技术标辅助评审方法、系统及存储介质 | |
| CN118152949B (zh) | 一种异常用户的识别方法、装置及可读存储介质 | |
| Wang et al. | W-RNN: news text classification based on a weighted RNN | |
| CN111274396B (zh) | 一种基于外部知识的视角级文本情感分类方法及系统 | |
| CN118210907B (zh) | 基于知识图谱向量化表示的智能问答模型构建方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| WWE | Wipo information: entry into national phase |
Ref document number: 18571196 Country of ref document: US |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22954829 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 18571196 Country of ref document: US |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22954829 Country of ref document: EP Kind code of ref document: A1 |





