Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text classification model training method, device and equipment and storage medium

A text classification and model training technology, applied in the field of artificial intelligence, can solve problems such as classification errors of text classification models and poor robustness of text classification models, so as to improve robustness, interpretability, robustness and accuracy sexual effect

Pending Publication Date: 2020-11-06
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The robustness of the text classification model trained by the above method is very poor. If some small perturbations are added to the input text, the text classification model will be misclassified.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text classification model training method, device and equipment and storage medium
  • Text classification model training method, device and equipment and storage medium
  • Text classification model training method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0071] In this application, the terms "first" and "second" are used to distinguish the same or similar items with basically the same function and function. It should be understood that "first", "second" and "nth" There are no logical or timing dependencies, nor are there restrictions on quantity or order of execution. It should also be understood that although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another. For example, a first image could be termed a second image, and, similarly, a second image could be termed a first image, without departing from the scope of various s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a text classification model training method, device and equipment and a storage medium and belongs to the field of artificial intelligence. According to the method, on one hand, the adversarial sample is introduced, and the text classification model is trained by using the text sample and the adversarial sample, so the text classification model learns the classification method for the text added with disturbance, and thereby the robustness of the text classification model is improved, and accuracy of text classification is improved; on the other hand, the text classification model can reconstruct the text features of the adversarial samples extracted during classification and restore the text features into text content, so interpretability of the adversarial training method is improved. According to the method, the model parameters are trained by combining the errors between the reconstructed text content and the text content of the text sample, so the text classification model can extract more accurate text features, namely, more accurate feature expression of the text content is obtained, and robustness and accuracy of feature extraction of the text classification model are improved.

Description

technical field [0001] The present application relates to the field of artificial intelligence, and in particular, to a text classification model training method, apparatus, device and storage medium. Background technique [0002] Artificial intelligence is applied in various fields, and replacing human work based on artificial intelligence can greatly improve the efficiency of business processing. In terms of text classification, the text classification model can be trained to obtain a trained text classification model, and the text to be classified can be input into the trained text classification model to predict the type of the text. [0003] At present, the text classification model training method usually obtains text samples, classifies the text samples based on the text classification model, obtains the predicted classification results, and updates the model parameters according to the predicted classification results and the target classification results carried by ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/35G06F40/30G06K9/62G06N3/04G06N3/08
CPCG06F16/35G06F40/30G06N3/08G06N3/047G06N3/045G06F18/22G06F18/214
Inventor 邱耀张金超牛成周杰
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products