Supercharge Your Innovation With Domain-Expert AI Agents!

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 no use, bad natural language, and no consideration of word order information.

Active Publication Date: 2019-01-18
SUN YAT SEN UNIV
View PDF4 Cites 17 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] Such as 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 th...

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 field of natural language processing, text classification, and more particularly, to a text classification model and method based on reinforcement learning and capsule network. The invention adopts reinforcement learning Actor-Critic, capsule network CapsNet as the basic framework, the characteristics of the text information are extracted through thecapsule network, reinforcement learning is carried out to identify the relationship between the capsule layers. The invention introduces the reinforcement learning to learn the routing relationship between the capsule network layers and the capsule network to solve the task of multi-label classification in the text classification model. Using the advantages of capsule network in multi-label classification task, it can be applied to multi-label text classification task, so as to achieve better results; Using the mechanism of reinforcement learning error adjustment, a better way to link the routes is learned.

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
IPC IPC(8): G06F16/35
Inventor 林东定潘嵘
Owner SUN YAT SEN UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More