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

Intelligent semantic matching method and device based on depth feature dimension changing mechanism

A deep feature, intelligent semantic technology, applied in semantic analysis, neural learning methods, natural language data processing and other directions, can solve the problems of ignoring sequence information, affecting applications, losing hierarchical coding information, etc.

Pending Publication Date: 2020-06-19
QILU UNIV OF TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Through analysis and research, we found that most of the existing methods are based on convolutional neural network model or recurrent neural network model, and the characteristics and limitations of these two models make it impossible to completely solve this problem.
For example, although the convolutional neural network is good at capturing and representing local features with different kernel functions, it ignores the sequence information in the text, and due to the characteristics of the text data itself, only 1D can be selected when using the convolutional neural network model. The convolution kernel, which greatly affects its application in the field of text; although cyclic neural networks can process sequence information, most of them only encode text data at a specific angle, such as only hyphenating text data Make it into a set of single characters before encoding, or only perform word segmentation to make it into a set of words before encoding. This way of encoding data from a single angle may lead to the loss of some important hierarchical encoding information.
For the semantic matching task of sentences, the order of words in sentences and the hierarchical information of sentences are very important. Therefore, it is almost impossible to obtain satisfactory result

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
  • Intelligent semantic matching method and device based on depth feature dimension changing mechanism
  • Intelligent semantic matching method and device based on depth feature dimension changing mechanism
  • Intelligent semantic matching method and device based on depth feature dimension changing mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0093] as attached Figure 8 As shown, the intelligent semantic matching method based on the deep feature variable dimension mechanism of the present invention, the method is to realize The deep feature variable dimension encoding representation of the sentence is used to obtain more semantic context information and interactive information between sentences, and at the same time realize the convolution matching mechanism to achieve the goal of intelligent semantic matching of sentences; the details are as follows:

[0094] (1), the embedding layer performs an embedding operation on the input sentence, and passes the result to the deep feature variable dimension encoding layer;

[0095] (2), the deep feature variable dimension encoding layer encodes the result obtained by the embedding operation, and obtains the semantic feature representation tensor of the sentence;

[0096] (3), the convolution matching layer carries out convolution matching processing to the semantic featur...

Embodiment 2

[0099] as attached figure 1 As shown, the intelligent semantic matching method based on the deep feature variable dimension mechanism of the present invention, the specific steps are as follows:

[0100] S1. Construct sentence matching knowledge base, as attached figure 2 As shown, the specific steps are as follows:

[0101] S101. Use a crawler to obtain original data: write a crawler program, crawl the question set on the online public question-and-answer platform, and obtain the original similar sentence knowledge base; or use the sentence matching data set published on the Internet as the original similar sentence knowledge base.

[0102] The public question-and-answer sharing platform on the Internet has a large amount of question-and-answer data and recommendations for similar questions, which are open to the public. Therefore, we can design a corresponding crawler program according to the characteristics of the question-answering platform to obtain a set of semantical...

Embodiment 3

[0184] as attached Figure 6 As shown, based on the intelligent semantic matching device based on the deep feature variable dimension mechanism of embodiment 2, the device includes,

[0185] The sentence matching knowledge base construction unit is used to use the crawler program to crawl the question set on the online public question and answer platform, or use the sentence matching data set published on the Internet as the original similar sentence knowledge base, and then hyphenate the original similar sentence knowledge base operation, and finally embed key features to it to build a sentence matching knowledge base for model training; the sentence matching knowledge base construction unit includes,

[0186] The data crawling sub-unit is used to crawl the question set on the online public question-and-answer platform, or use the sentence matching data set published on the Internet to build the original similar sentence knowledge base;

[0187] The crawling data processing ...

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 an intelligent semantic matching method and device based on a depth feature dimension changing mechanism, and belongs to the technical field of artificial intelligence and natural language processing. The technical problem to be solved by the invention is how to capture more semantic context information and interaction information between sentences. Intelligent semantic matching of sentences is realized; the adopted technical scheme is as follows: the method comprises the following steps: constructing and training a sentence matching model consisting of an embedding layer, a depth feature variable-dimension coding layer, a convolution matching layer and a prediction layer; according to the method, deep feature variable-dimension coding representation of the sentences is realized, so that more semantic context information and interaction information between the sentences are obtained, and meanwhile, a convolution matching mechanism is realized, so that the purpose of intelligent semantic matching of the sentences is achieved. The device comprises a sentence matching knowledge base construction unit, a training data set generation unit, a sentence matching model construction unit and a sentence matching model training unit.

Description

technical field [0001] The invention relates to the technical fields of artificial intelligence and natural language processing, in particular to an intelligent semantic matching method and device based on a deep feature variable dimension mechanism. Background technique [0002] In recent years, semantic matching methods for sentences have received more and more attention in the field of natural language processing. The reason is that many natural language processing tasks are based on the semantic matching of sentences, which can be regarded as an extension of sentence semantic matching tasks to a certain extent. For example, the task of "automatic question answering" can be processed by calculating the matching degree of "question" and "candidate answer"; the task of "information retrieval" can be regarded as calculating the matching degree of "query sentence" and "matching document". Because of this, semantic matching of sentences plays a crucial role in the field of na...

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/211G06F40/30G06N3/04G06N3/08G06F16/951
CPCG06N3/08G06F16/951G06N3/048G06N3/045G06N3/044Y02D10/00
Inventor 鹿文鹏于瑞张旭乔新晓郭韦钰张维玉
Owner QILU UNIV OF TECH
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