Semantic matching method and device based on multi-task twin network, equipment and medium

A semantic matching and twin network technology, applied in semantic analysis, natural language data processing, special data processing applications, etc., can solve the problem of difficult to represent the semantic information of sentences, semantic representation is difficult to adapt to semantic matching tasks, and the results of semantic matching tasks are inaccurate, etc. question

Active Publication Date: 2020-10-30
CHINA PING AN LIFE INSURANCE CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, one-hot encoding only has a few dimensions of 1 in the word bag-sized space, and it is difficult to represent the semantic information of a sentence in a high-dimensional sparse space.
The way of pre-training word vectors is to map words into a low-dimensional dense space, and the semantic representation of words is more mature, but the semantic representation trained in the language model task is difficult to meet the needs of semantic matching tasks, resulting in the semantic matching tasks. inaccurate 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
  • Semantic matching method and device based on multi-task twin network, equipment and medium
  • Semantic matching method and device based on multi-task twin network, equipment and medium
  • Semantic matching method and device based on multi-task twin network, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0051] The semantic matching method based on the multi-task Siamese network provided by this application can be applied to such as figure 1shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. The terminal 102 sends the text to be processed to the server 104, so that the server 104 obtains the text to be processed and the standard text, and the server 104 inputs the text to be processed into the first feature extractor to obtain the word size and word vector corresponding to the text to be processed and a wo...

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 the field of artificial intelligence, in particular to a semantic matching method and device based on a multi-task twin network, equipment and a medium. The method comprises the steps of obtaining a to-be-processed text and a standard text; inputting the to-be-processed text into a first feature extractor to obtain a word quantity, a word vector and a word combination vector corresponding to the to-be-processed text, and inputting the standard text into a second feature extractor to obtain a word vector, a word vector and a word combination vector corresponding to thestandard text, wherein the first feature extractor and the second feature extractor are twin networks; inputting the obtained character vector, word vector and word combination vector into a pre-trained target semantic matching model to obtain target similarity between the to-be-processed text and the standard text; and outputting a standard text corresponding to the to-be-processed text accordingto the target similarity. In addition, the invention also relates to the blockchain technology, and the standard text and the target semantic matching model can be stored in the blockchain. The method can improve the accuracy.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, in particular to a semantic matching method, device, device and medium based on a multi-task twin network. Background technique [0002] With the development of artificial intelligence technology, natural language processing technology has emerged, which involves semantic matching, that is, judging whether two sentences have the same meaning, and completing the semantic matching task through semantic matching, that is, performing data processing on the natural language expressed by users. Analysis and processing can identify the deep meaning that users actually want to express, so that they can accurately identify what customers want to ask and understand customer needs, so as to help enterprises respond quickly and solve customer problems in a timely manner, thereby improving customer satisfaction. [0003] Traditional semantic matching uses one-hot encoding or pre-trai...

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/30G06F40/279G06F40/205G06F16/35
CPCG06F40/30G06F40/279G06F40/205G06F16/355
Inventor 陆林炳刘志慧金培根何斐斐林加新李炫
Owner CHINA PING AN LIFE INSURANCE CO LTD
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