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

Question answering method based on machine learning and question and answer model training method and device

A machine learning and model technology, applied in the field of artificial intelligence, can solve problems such as wrong answers of the question answering model

Active Publication Date: 2019-11-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a machine learning-based question answering method, question answering model training method and device, which can solve the problem that the classic question answering model is easy to give wrong answers when the answers given in the positive samples and negative samples are similar

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
  • Question answering method based on machine learning and question and answer model training method and device
  • Question answering method based on machine learning and question and answer model training method and device
  • Question answering method based on machine learning and question and answer model training method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0048] In products such as vehicle-mounted voice systems, smart speakers, smart customer service, and children's companion robots, there is a question-and-answer model. When a user asks a question, the above-mentioned question-and-answer model will give the correct answer. For the realization of the above scenario, it is necessary to build a question and answer knowledge base and train a question and answer model. The trained question and answer model can find the most matching answer from the question and answer knowledge base after the question is given.

[0049] The most classic question-answering model training method is to use positive and negative samples as independent individuals to train the question-answering model, for ...

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 a question answering method based on machine learning and a question answering model training method and device, and relates to the field of artificial intelligence. The training method comprises the steps of acquiring training samples, each training sample comprising a question sample, an answer sample and a calibration position, and the answer samples being answer documents formed by splicing correct answer samples and wrong answer samples together; encoding the question sample and the answer sample through a question and answer model to obtain a vector sequence of the samples; predicting the position of the correct answer sample in the vector sequence of the sample through the question-answer model, and determining the loss between the position of the correct answer sample and the calibration position; and adjusting model parameters in the question and answer model according to the loss, and training the position prediction capability of the question and answer model for the correct answer sample. According to the method, the spliced answer samples are adopted to train the question and answer model, and the reading understanding ability of the question and answer model is trained, so that the question and answer model can accurately find a correct answer from multiple answers.

Description

technical field [0001] The present application relates to the field of artificial intelligence, in particular to a question answering method based on machine learning, a question answering model training method and a device. Background technique [0002] In products such as in-vehicle voice systems, smart speakers, smart customer service, and children's companion robots, the classic question-and-answer model is usually used to implement the question-and-answer function. When the above products collect the questions asked by users, the question answering model can give the most matching answer in the question answering knowledge base. [0003] The question-answer model training method provided by the related art is to use a question-answer pair as input, output a binary classification label, and use the binary classification label to indicate whether the question-answer pair is a positive sample or a negative sample. For example, a question-answer pair <Q, A> is used a...

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): G06F16/332G06N20/00
CPCG06F16/3329G06N20/00
Inventor 缪畅宇
Owner TENCENT TECH (SHENZHEN) 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