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

Text Classification Model and Method Based on Reinforcement Learning and Capsule Network

A technology of reinforcement learning and text classification, applied in the fields of text classification and natural language processing, it can solve the problems of not considering word order information, not retaining position information, and bad natural language.

Active Publication Date: 2021-10-15
SUN YAT SEN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

1. The bag-of-words feature model is a text feature representation method that does not consider the order of the words in the sentence. It encodes the words in the sentence. The length of the feature vector of the words in the sentence is the size of the bag of words. For example, Mohit et al. proposed The DAN model, which splits and marks the words in a sentence, and then passes them into the neural network structure, these marked words do not retain the original position information; the fasttext model proposed by Joulin et al., which directly passes the words through a lookup table, and add a neural network model, without taking into account the order information of words
2. The sequence representation model is a type of model that considers the order of words, such as Convolutional Neural Network, Recurrent Neural Network, etc., but one of its shortcomings is that it does not use the information of sentence structure
The model based on the attention mechanism has a relatively large advantage in obtaining the corresponding relationship between input and output, but the text model based on the attention mechanism does not take into account the information of word order order, which is very bad for natural language, because the text word order contains great information

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 and Method Based on Reinforcement Learning and Capsule Network
  • Text Classification Model and Method Based on Reinforcement Learning and Capsule Network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The accompanying drawings are for illustrative purposes only, and should not be construed as limitations on this patent; in order to better illustrate this embodiment, certain components in the accompanying drawings will be omitted, enlarged or reduced, and do not represent the size of the actual product; for those skilled in the art It is understandable that some well-known structures and descriptions thereof may be omitted in the drawings. The positional relationship described in the drawings is for illustrative purposes only, and should not be construed as a limitation on this patent.

[0033] like figure 1 as shown,

[0034] S1: state is the weight value of the current weight matrix, and Critic will evaluate the value of the current weight matrix according to the final Loss Value;

[0035] S2: Policy is an operation to modify the weight matrix, and the actor will randomly modify the value of the weight matrix;

[0036] S3: Obtain a new loss value according to the o...

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 present invention relates to the technical fields of natural language processing and text classification, and more specifically, to a text classification model and method based on reinforcement learning and capsule network. The present invention uses reinforcement learning Actor-Critic and capsule network CapsNet as the basic framework, the capsule network extracts the features of text information, and strengthens learning to distinguish the connection between capsule layers. The innovation of the present invention lies in the introduction of reinforcement learning to learn the routing relationship between the capsule network layers, and the introduction of the capsule network to solve the task of multi-label classification in the text classification model. Using the advantages of the capsule network in multi-label classification tasks, it is applied to text multi-label classification tasks to achieve better results; using the mechanism of reinforcement learning error adjustment to learn better connection methods between routes.

Description

technical field [0001] The present invention relates to the technical fields of natural language processing and text classification, and more specifically, to a text classification model and method based on reinforcement learning and capsule network. Background technique [0002] Feature learning is a basic problem in the field of artificial intelligence, especially in natural language processing, feature extraction is even more important. In natural language processing, text classification is a very basic and common process, which is very dependent on the learning process of features. Unlike the image field, the semantic logic of text is more difficult to capture and express, which makes the classification task on text more difficult. The basis for the realization of general artificial intelligence in natural language processing is that the machine must understand human language, that is, understand the semantic information of the text, so as to be able to perform the pres...

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): G06F16/35
Inventor 林东定潘嵘
Owner SUN YAT SEN UNIV