Unlock instant, AI-driven research and patent intelligence for your innovation.

Label representation method, terminal device and storage medium based on metric emotion learning

A tag and emotion technology, applied in the field of tag representation, can solve the problem of inaccurate tag words and achieve the effect of improving accuracy

Active Publication Date: 2021-11-23
NAT UNIV OF DEFENSE TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a label representation method, terminal equipment and computer-readable storage medium based on metric emotion learning, thereby solving the technical problem of inaccurate automatically generated label words in the prior art

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
  • Label representation method, terminal device and storage medium based on metric emotion learning
  • Label representation method, terminal device and storage medium based on metric emotion learning
  • Label representation method, terminal device and storage medium based on metric emotion learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The technical solutions of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific implementation cases. It should be understood that the following examples are only for illustrating and explaining the present invention, and should not be construed as limiting the protection scope of the present invention. All technologies realized based on the above contents of the present invention are covered within the scope of protection intended by the present invention.

[0057] Before defining the tag word acquisition task in detail, we first introduce the application scenario of tag words, that is, the text reconstruction process proposed by a semi-supervised few-shot learning model named PET, which reconstructs sentences with artificially designed patterns. Formally, given a text training dataset ( is a fragment of the original text) and pre-artificially designed text patterns , the present invention uses...

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 label representation method, terminal device and storage medium based on metric emotion learning. The method includes: acquiring a label set including a plurality of triplets, the triplets including a first vocabulary, an antonym of the first vocabulary and a second vocabulary A synonym for a vocabulary; determine the transformation matrix, use the transformation matrix to convert the triplet in the label set into a triplet in the vector space; determine each label in the text to be represented according to the likelihood ratio function and the triplet in the vector space tag words. The present invention corrects the relative positions between word vectors by using the conversion matrix, solves the overlapping problem of word vectors in the vector space, and makes the generated label words significantly improve the performance of the model in downstream tasks; at the same time, the present invention also uses The emotion transfer operation is used to obtain label words that can effectively represent the intermediate category, so that the accuracy of the final label words is close to the accuracy of manually setting label words, and the accuracy is greatly improved.

Description

technical field [0001] The invention belongs to a tag representation method, in particular to a tag representation method based on metric emotion learning, a terminal device and a computer-readable storage medium. Background technique [0002] Label Representation essentially replaces category labels with specific words to improve the model's understanding of text semantics. This method is widely used in many state-of-the-art transfer learning models to convert other natural language processing tasks into inference tasks, and has brought significant improvements to many tasks with fewer training samples. The generation of label words depends on the input data of a specific task. For example, the label set contained in the Yelp-Review dataset is {1, 2, 3, 4, 5}, and it is possible to artificially match a word for each label, that is, {" Great", "Good", "Okey", "Bad", "Terrible"}, and according to such settings, the classification model is converted from predicting numerical ...

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 Patents(China)
IPC IPC(8): G06F40/284G06F40/237G06F40/247G06N3/08
CPCG06F40/284G06F40/237G06F40/247G06N3/08
Inventor 蔡飞宋城宇王祎童刘登峰王思远张维明张鑫陈洪辉
Owner NAT UNIV OF DEFENSE TECH