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

Chinese named entity recognition model based on reinforcement learning and training method thereof

A named entity recognition and reinforcement learning technology, applied in the field of machine learning, can solve problems such as increasing model complexity, external dictionary dependence, and negative impact of entity recognition

Active Publication Date: 2020-02-21
SUN YAT SEN UNIV
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, just because the lattice-LSTM model uses the information of all the words in the sentence, if the word composed of adjacent words in the sentence exists in the external dictionary, it will be entered into the model as the registered word granularity information, but the word In this sentence, it is not necessarily a correct division. For example: "Nanjing Yangtze River Bridge" According to the idea of ​​this model, the entry words composed of characters will be used as input in order. The entry words mean that the word is already in the external dictionary. Included nouns, then the model will input "Nanjing", "Nanjing City", "Mayor", "Yangtze River", "Bridge" and "Yangtze River Bridge" as login words, but obviously the word "Mayor" In this sentence, it is an interfering word, and its word information has a negative impact on entity recognition
In addition, the model usually needs to independently construct an external dictionary according to the data set used in the experiment, which has a serious dependence on the external dictionary
At the same time, when the length of the text increases, the number of potential words in the sentence will also increase, which will greatly increase the complexity of the model

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
  • Chinese named entity recognition model based on reinforcement learning and training method thereof
  • Chinese named entity recognition model based on reinforcement learning and training method thereof
  • Chinese named entity recognition model based on reinforcement learning and training method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] Such as Figure 1-3 Shown is an embodiment of a Chinese named entity recognition model based on reinforcement learning, including a policy network module, a word segmentation reorganization network and a named entity recognition network module;

[0062] The strategy network module is used to adopt a random strategy to sample an action (action includes internal or termination) for each word in the sentence in each state space, thereby obtaining an action sequence for the entire sentence, and according to the recognition of the Chinese named entity recognition network The result is a delayed reward to guide the update of the strategy network module; the random strategy is:

[0063] π(a t |s t ;θ)=σ(W*s t +b)

[0064] Among them, π(a t |s t ; θ) represents the selection action a t The probability of ; θ={W,b}, represents the parameters of the policy network; s t is the state of the policy network at time t.

[0065] The word segmentation reorganization network is ...

Embodiment 2

[0073] Such as Figure 4 Shown is a kind of embodiment of the training method of the Chinese named entity recognition model based on reinforcement learning, is used for training the model described in embodiment 1, comprises the following steps:

[0074] Preprocessing: Pre-training the named entity recognition network and its network parameters. At this time, the words used by the named entity recognition network are words obtained by dividing the original sentence through a simple heuristic algorithm;

[0075] Some of the network parameters pre-trained by the entity recognition network are temporarily set as the network parameters of the named entity recognition network, and then the pre-training of the policy network is carried out, and finally the entire network parameters are jointly trained.

[0076] Step 1: Input the sentence data used for training into the policy network module, and the policy network module samples an action for each word in the sentence in each state ...

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 relates to a Chinese named entity recognition model based on reinforcement learning and a training method thereof. The model comprises a strategy network module, a word segmentation recombination network and a named entity recognition network module. The method comprises: firstly, a strategy network specifying an action sequence; then, the word segmentation recombination network executing actions in the action sequence one by one; obtaining a phrase through a 'termination' action, the phrase being used as auxiliary input information to perform lattice-LSTM modeling to obtain a hidden state sequence, inputting the hidden state into a named entity recognition network to obtain a label sequence of sentences, and a recognition result being used as update of a delay reward guidance strategy network module. According to the method, sentences are effectively divided through reinforcement learning, modeling of redundant interference words matched in the sentences is avoided, dependence on an external dictionary and influences on long texts are effectively avoided, correct word information can be better utilized, and the Chinese named entity recognition model is better helpedto improve the recognition effect.

Description

technical field [0001] The invention relates to the field of machine learning, and more specifically, to a Chinese named entity recognition model based on reinforcement learning and a training method thereof. Background technique [0002] Named Entity Recognition (NER) is a basic task in the field of natural language processing, which refers to identifying named referents from text, which can be used for relational extraction, question answering system, syntactic analysis, machine translation and other tasks. Foreshadowing plays an important role in the process of natural language processing technology becoming practical. Generally speaking, the task of named entity recognition is to identify the names of three categories (entity, time, and number) and seven subcategories (person name, organization name, place name, time, date, currency, and percentage) in the text to be processed. entity. [0003] An existing Chinese named entity recognition model is lattice-LSTM. In addi...

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): G06F40/295G06N3/04G06N3/08
CPCG06N3/08G06N3/045G06N3/044Y02D10/00
Inventor 叶梅卓汉逵
Owner SUN YAT SEN UNIV
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