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

Method and device for determining semantic similarity

A technology for determining semantic similarity and determining methods, which is applied in the field of determining semantic similarity methods and devices, and can solve problems such as inability to represent semantic features, insufficient feature extraction, and inability to propose sufficient features

Active Publication Date: 2020-03-27
BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing main methods include other neural network models and models based on pre-training. Other neural network models such as matchPyramid, ESIM, etc. are also neural network-based models, but there are still deficiencies, such as matchPyramid, which compares text data to images. From the point of view, operations such as convolution are used for processing, but after all, there are differences between the two, and sufficient features cannot be proposed; at the same time, although the ESIM model also uses a bidirectional LSTM network for encoding, it only calculates simple attention weight, and cannot represent comprehensive semantic features
Moreover, the above models all consider the position information of the sentence, and the feature extraction is insufficient.
[0004] Based on the pre-trained model, generally speaking, the matching accuracy is relatively high, but due to too many model parameters, a forward calculation takes a long time, which does not meet the needs of practical applications

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
  • Method and device for determining semantic similarity
  • Method and device for determining semantic similarity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The application describes a number of embodiments, but the description is illustrative rather than restrictive, and it will be obvious to those of ordinary skill in the art that within the scope of the embodiments described in the application, There are many more embodiments and implementations. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Except where expressly limited, any feature or element of any embodiment may be used in combination with, or substituted for, any other feature or element of any other embodiment.

[0023] This application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The disclosed embodiments, features and elements of this application can also be combined with any conventional features or elements to form unique inventive solutions as defined by the clai...

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 provides a semantic similarity determination method. The method comprises the steps of obtaining a vector of a first target text and a vector of a second target text; respectively inputting the obtained vector of the first target text and the vector of the second target text into a recurrent neural network for encoding to obtain representation features of the first target text and representation features of the second target text; obtaining a similarity weight matrix of the first target text and a similarity weight matrix of the second target text according to the obtained representation features of the first target text and the representation features of the second target text; and determining the semantic similarity of the first target text and the second target text according to the obtained similarity weight matrix of the first target text and the similarity weight matrix of the second target text. Multi-dimensional semantic features can be obtained, and the accuracyof semantic analysis is improved.

Description

technical field [0001] This article relates to computer technology, especially a method and device for determining semantic similarity. Background technique [0002] With the rapid development of the Internet and artificial intelligence, various interactive human-computer dialogue systems have emerged, and at the same time, the number of searches by users has also increased significantly. For the above applications, how to accurately retrieve sentences that meet the user's intentions from the knowledge base or corpus is very critical, which directly affects the user experience. In response to this problem, this patent proposes a semantic similarity calculation method based on neural network and attention mechanism to obtain the semantic similarity between sentences with the same meaning but different expressions, which can be used for human-computer dialogue and search engine correlation. Application scenarios provide algorithmic support. [0003] The existing main methods...

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): G06F40/30G06K9/62G06N3/04
CPCG06N3/044G06N3/045G06F18/22
Inventor 徐猛付骁弈
Owner BEIJING MININGLAMP SOFTWARE SYST CO LTD
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