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

A method and system for region extraction of news text based on xlnet

A region and text technology, applied in the computer field, can solve problems such as inability to model, loss of model performance, and inability to learn contextual information at the same time, and achieve the effect of high regional extraction quality and complete modeling

Active Publication Date: 2022-06-21
中科厦门数据智能研究院
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The BERT+BiLSTM+CRF model is one of the deep learning methods (two-way conversion coding pre-training model + two-way long-term short-term memory network + conditional random field model), but the BERT model has the following shortcomings: 1. The introduction of masking is used in the pre-training stage 15% of the words are masked, but the words that are added to the masking marks are not included in the training phase, resulting in inconsistent usage patterns between the pre-training phase and the training phase; 2. In the pre-training phase, among the 15% words that are randomly The terms are conditionally independent and there is no correlation, but some natural language words are correlated, which leads to the performance loss of the model and cannot learn context information at the same time; 3. Only fixed-length text sequences can be modeled, and News texts are often long text sequences, making it impossible to fully model them

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
  • A method and system for region extraction of news text based on xlnet
  • A method and system for region extraction of news text based on xlnet
  • A method and system for region extraction of news text based on xlnet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] like figure 1 As shown in the figure, a method for extracting news text regions based on XLNet includes the following steps:

[0029] S1. Pre-training: Use crawler technology to obtain massive unlabeled raw corpus from the Internet, and after denoising and preprocessing the unlabeled raw corpus, input it into the XLNet pre-training model for pre-training;

[0030] S2. Training: a. Under the BIOES labeling framework, manually annotate a regional corpus of Chinese news texts with labels to be used as model training corpus. b. Perform a general data preprocessing process on the model training corpus. c. The latter data is input into the XLNet pre-trained model pre-trained in the step S1 for encoding, d. The encoded hidden state is input into the BiLSTM+CRF model for identification, and the output layer outputs the identified regional entity;

[0031] The data preprocessing in steps S1 and S2 includes cleaning the unlabeled data, that is, removing useless text, and perform...

Embodiment 2

[0057] A system for regional extraction of news text based on XLNet, including a regional entity recognition module, an entity splicing module, a regional disambiguation module and a regional aggregation module. The regional entity recognition module is composed of an XLNet pre-training model and a BiLSTM+CRF model. Described XLNet pre-training model utilizes Internet unmarked data to complete pre-training and is used for coding of text to be recognized, and described BiLSTM+CRF model is used to carry out text region recognition to described text to be recognized after encoding to obtain regional subject, and described BiLSTM+CRF model The entity splicing module splices the regional entities according to the location information of the regional entities in the text, and the regional disambiguation module is used to match the regional entities with the artificially constructed provincial / city secondary same place name knowledge base Mapping to achieve disambiguation, and the reg...

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 method and system for extracting news text regions based on XLNet. The method includes the following steps: S1. Using the Internet to obtain a large amount of unmarked raw corpus, inputting it into the XLNet pre-training model for pre-training; S2. Pre-training the pre-trained The processed data is input into the pre-trained XLNet pre-training model in step S1 for encoding, the encoded hidden state is input into the BiLSTM+CRF model for identification, and the identified regional entity is output; S3, regional entity disambiguation; S4. Regional entity summary; S5. Regional entity completion operation; the system includes a regional entity recognition module, an entity splicing module, a regional disambiguation module and a regional summary module. The regional entity recognition module is composed of the XLNet pre-training model and the BiLSTM+CRF model . The two-stage training process of the present invention overcomes the problem of inconsistency between the pre-training stage and the training stage in the prior art, solves the pain point that the traditional autoregressive model cannot learn context information at the same time, and realizes complete modeling.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for extracting news text regions based on XLNet. Background technique [0002] The regional attribute of news text contains the location of news events, which is an important reference dimension for statistics and analysis of news events. Therefore, the automatic extraction of news text regions is realized by computer, and the downstream tasks such as recommendation system, public opinion analysis, text summarization are realized. etc. have a very important driving effect. The current mainstream geographic extraction methods include machine learning methods and deep learning methods, both of which require manually annotated geographic entity datasets for training. [0003] The BERT+BiLSTM+CRF model is one of the deep learning methods (two-way conversion coding pre-training model + two-way long short-term memory network + conditional random field model), but...

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/295G06F40/289G06F16/951G06N3/04G06N3/08G06N20/00
CPCG06F40/295G06F40/289G06F16/951G06N3/049G06N3/088G06N20/00G06N3/045
Inventor 童逸琦马涛倪斌汪姿如庄福振
Owner 中科厦门数据智能研究院
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