Attribute recognition method based on knowledge distillation, terminal equipment and storage medium

A technology of attribute identification and knowledge, applied in the field of knowledge graphs, can solve problems such as slow prediction speed, large model parameters, and low accuracy, and achieve the effects of improving inference speed, reducing model volume, and reducing storage costs

Pending Publication Date: 2021-10-19
厦门渊亭信息科技有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Large-scale knowledge graphs often have tens of thousands of attributes. When using a small model with low complexity and simple structure for attribute recognition, it has disadvantages such as low accuracy and poor recognition effect; when using a large model with high complexity for attribute recognition, it can meet the effect. Requirements, but the large number of parameters of the large model requires a long time for reasoning and calculation, and the prediction speed is slow, which affects the efficiency of the question answering system and does not meet the requirements of production deployment

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
  • Attribute recognition method based on knowledge distillation, terminal equipment and storage medium
  • Attribute recognition method based on knowledge distillation, terminal equipment and storage medium
  • Attribute recognition method based on knowledge distillation, terminal equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] The embodiment of the present invention provides an attribute recognition method based on knowledge distillation, such as figure 1 As shown, the method includes the following steps:

[0038] S1: Collect question and answer data in different fields, and label the attributes of each question and answer data, and form a training set with all question and answer data and their corresponding attributes.

[0039] The collection of question and answer data can be carried out through real business scenarios in various fields of reptiles, and the labeling of attributes can be carried out manually or semi-manually. Each question and answer data and its corresponding attributes together form a piece of training data.

[0040] In this embodiment, the 5W question and answer data is obtained through crawlers, but with the scale of the knowledge map, 5W training data is far from enough. Therefore, further, the use of custom data automatically generates 500W training data, and artifici...

Embodiment 2

[0075] The present invention also provides an attribute identification terminal device based on knowledge distillation, which includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, The steps in the above method embodiment of Embodiment 1 of the present invention are implemented.

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 an attribute recognition method based on knowledge distillation, terminal equipment and a storage medium. The method comprises the steps of collecting question and answer data of different fields to form a training set; constructing a teacher network model, and training the teacher network model through the training set; according to knowledge maps of different fields, extracting all attributes corresponding to each entity; performing entity identification on the question and answer data in the training set, obtaining all attributes possibly corresponding to the question and answer data according to the identified entities and all attributes corresponding to the entities, and obtaining priori knowledge; constructing a student network model, training the student network model through the training set based on knowledge distillation and prior knowledge, and obtaining a final student network model until performance indexes meet requirements; and using the final student network model to carry out attribute identification on the question and answer data. The method overcomes the defect that the precision and speed of a traditional attribute recognition method cannot be both considered.

Description

technical field [0001] The present invention relates to the field of knowledge graphs, in particular to an attribute recognition method based on knowledge distillation, a terminal device and a storage medium. Background technique [0002] With the rapid development of information technology, people's demand for fast and accurate access to information is becoming stronger and stronger, and question answering systems have also emerged as the times require. Among them, the Knowledge Base Question Answering (KBQA) system based on knowledge graph is currently receiving extensive attention because of its fine management, efficient reusability and precise understanding. [0003] A necessary part of building a question answering system based on knowledge graphs is to analyze the key information of the question, that is, element recognition, including: entity recognition, attribute recognition, label recognition, relationship recognition, etc. Large-scale knowledge graphs often have...

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 Applications(China)
IPC IPC(8): G06F16/332G06F16/35G06F40/216G06F40/295G06N3/04G06N3/08G06N5/02
CPCG06F16/3329G06F16/355G06F40/295G06F40/216G06N5/02G06N3/08G06N3/044G06N3/045
Inventor 洪万福
Owner 厦门渊亭信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products