Abstract

AbstractThe pre-training model represented by BERT has limited accuracy due to a lack of professional domain knowledge support. The knowledge-enhanced BERT model effectively improves the lack of knowledge in downstream tasks in different fields by introducing external professional knowledge and has achieved better results than the BERT model. However, the knowledge-enhanced BERT injected large-scale external knowledge, resulting in a sharp increase in computing resource requirements and training time. To solve this problem, a knowledge enhancement method based on corpus associate generation (CAG) is proposed. The input text corpus is disassembled into a sequential sequence of word sets and entity noun sets through entity noun recognition, and the word sets are associated with external knowledge triples through entity nouns. Using semantic splicing to generate corpus with external knowledge. Finally, the original BERT model structure is used to inject the corpus containing knowledge into the downstream tasks for knowledge enhancement, avoiding the introduction of additional model structures to increase the model complexity, to achieve the purpose of reducing the amount of calculation. Experimental analysis with 6 public data sets such as LCQMC and XNLI, the results show that compare to K-BERT, the average calculation time of knowledge introduction and training is reduced by 53.5% and 37.4%.KeywordsNatural language processingPre-training modelsKnowledge enhancedCorpus generationTraining acceleration

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.