Unlock instant, AI-driven research and patent intelligence for your innovation.

Service discovery method and system based on long short-term memory network under attention mechanism

A technology of long-term short-term memory and service discovery, which is applied in the field of service discovery of long-term short-term memory network based on the attention mechanism. It can solve the problems of word order distinction, affect the precise retrieval of services, and cannot correctly reflect the semantics of sentences, so as to achieve the effect of precise retrieval.

Pending Publication Date: 2021-10-22
SHAANXI NORMAL UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional neural network modeling, such as DNN modeling, is essentially a bag-of-words model that cannot distinguish word order, but because word order actually has a great impact on sentence meaning, it cannot correctly reflect the semantics of sentences
For the CNN neural network, only local n-gram information is extracted, and the word order of the sentence, especially the long-distance word order, is indistinguishable, which is limited for feature vector matching of long sentences.
In addition, although the commonly used similarity calculation method based on space vector is simple and easy to implement, it lacks comprehensive comparison and matching from multiple perspectives, which affects the accurate retrieval of services

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
  • Service discovery method and system based on long short-term memory network under attention mechanism
  • Service discovery method and system based on long short-term memory network under attention mechanism
  • Service discovery method and system based on long short-term memory network under attention mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The technical scheme of the present invention will be further described in conjunction with accompanying drawing now, figure 1 It is a schematic diagram of the overall structure of the present invention.

[0036] Due to its design characteristics, the BiLSTM language model is very suitable for modeling time series data, such as the service description information data set used in the present invention. In the present invention, the BiLSTM layer is used to represent the feature vector of the sentence. In terms of sentence feature representation, traditional methods add or average word representations to obtain sentence feature information, but these methods do not take into account the order of words in sentences, and use LSTM models to consider word order issues and better capture to longer distance dependencies. Compared with LSTM, BiLSTM is composed of forward and backward LSTM, which captures the rich context information of words from front to back and from back to...

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 service discovery method and system based on a long short-term memory network under an attention mechanism, and the method comprises the steps: taking a word vector of a sentence pair as the input of a BiLSTM layer to construct a feature vector, constructing the internal relation of the sentence pair through employing the attention mechanism, and carrying out the context feature vector extraction of the sentence pair information after the operation of the attention mechanism; obtaining a vector with a fixed length through pooling operation and serving as input of an output layer, and predicting the matching level of sentence pairs; optimizing the model; carrying out similarity matching on all given query requests and the test set service; according to the predicted probability, sorting the matched services in an inverted order, wherein the first N services with the highest score are target services to be retrieved, and in combination with the advantages of a BiLSTM language model and an attention mechanism, feature vectors containing rich context semantic information are generated based on combination of forward semantics and reverse semantics of the BiLSTM model; and supporting service similarity calculation effectively by using an attention mechanism, and finding the most accurate target service.

Description

technical field [0001] The invention belongs to the field of computer science and technology, and specifically relates to a service discovery method and system based on a long-short-term memory network under an attention mechanism. Background technique [0002] The main task of service discovery is to match the functional description information between query requests and candidate services. This information is usually represented in the form of natural language text. Traditional neural network modeling, such as DNN modeling, is essentially a bag-of-words model that cannot distinguish word order, but because word order actually has a great impact on sentence meaning, it cannot correctly reflect the semantics of sentences. For the CNN neural network, only local n-gram information is extracted, and the word order of the sentence, especially the long-distance word order, is indistinguishable. This has limitations for feature vector matching of long sentences. In addition, alt...

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/33G06F16/35G06F40/194G06F40/279G06F40/30G06N3/04G06N3/08
CPCG06F16/3329G06F16/3344G06F16/35G06F40/194G06F40/279G06F40/30G06N3/084G06N3/044
Inventor 黄昭李锦
Owner SHAANXI NORMAL UNIV