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

Text generation method and device for construction industry information service question answering system

A technology of information service and question answering system, which is applied in the field of text generation for construction industry information service question answering system, can solve problems such as loss of feature information, achieve the effects of increasing weight, avoiding information loss, and improving quality

Active Publication Date: 2022-05-24
QILU UNIV OF TECH
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the hierarchical coding model has a strong ability to capture abstract features and better performance, it still cannot avoid the problem of feature information loss.

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
  • Text generation method and device for construction industry information service question answering system
  • Text generation method and device for construction industry information service question answering system
  • Text generation method and device for construction industry information service question answering system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] as attached figure 1 As shown, the main frame structure of the present invention includes an embedded module, an encoder module, a hidden state mutual information module, a hidden variable mutual information module, and a decoder module. Among them, the embedding module performs the embedding operation on the original text and the target text respectively, and obtains the embedded representation of the original text and the embedded representation of the target text, which are respectively passed to the encoder module and the decoder module of the model. The encoder module contains several layers of encoding structures, the details are as follows figure 2 As shown in the figure, the first-layer encoding structure, that is, encoder 1, performs encoding operations on the embedded representation of the original text output by the embedding module to obtain the first-layer encoding result and the first-layer encoding hidden state; the first-layer encoding result and the or...

Embodiment 2

[0084] The text generation method of the present invention oriented to the question-and-answer system of the construction industry information service includes three main steps of constructing a text generation knowledge base, constructing a text generation model, and training the text generation model, and the details are as follows:

[0085] S1. Build a text generation knowledge base, as attached Figure 4 shown, the specific steps are as follows:

[0086] S101. Download a question-and-answer pair text generation dataset or an artificially constructed dataset that has been published on the Internet, and use it as the original data for constructing a text generation knowledge base.

[0087] Example: For example: There are many public question-answer pair text generation datasets on the Internet, such as the SQuAD dataset, from the literature Reiter,E.,Dale,R.:Building applied natural language generationsystems.Natural Language Engineering 3(1), 57–87 (1997). The present inv...

Embodiment 3

[0230] as attached image 3 As shown, based on the text generation device for the question and answer system for the construction industry information service based on Embodiment 2, the device includes,

[0231] The text generation knowledge base construction unit includes: a question-and-answer pair data acquisition unit, which is responsible for downloading the question-and-answer pair text generation data set or artificially constructed data set that has been published on the Internet, and uses it as the original data for constructing the text generation knowledge base;

[0232] The original data preprocessing unit is responsible for preprocessing the original data used to construct the text generation knowledge base, and performs tokenization operation on each sentence in it, so as to construct the text generation knowledge base;

[0233] The text generation model building unit includes: a mapping conversion table building unit, which is responsible for storing each word i...

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 text generation method and device for a construction industry information service question answering system, belonging to the technical fields of artificial intelligence and natural language processing. The technical problem to be solved in the present invention is how to prevent the lack of inter-layer features in the encoding process of the generative question answering system and the feature loss in the decoding process, so as to ensure the accuracy of text generation. The technical solution adopted is: by constructing and training the The text generation model composed of the embedded module, the encoder module, the hidden state mutual information module, the hidden variable mutual information module and the decoder module realizes the multi-layer encoding of the original text and obtains the text representation and hidden information of the original text; The hidden state of the hierarchical encoding, the hidden variables of the original text and their sampling information are used to calculate the mutual information and maximize their mutual information; the original text and the target text are encoded, and the correlation information between the two is obtained through the attention mechanism, and finally the achieve the purpose of text generation.

Description

technical field [0001] The invention relates to the technical fields of artificial intelligence and natural language processing, and in particular to a text generation method and device for a question-and-answer system for information services in the construction industry. Background technique [0002] The construction industry is an important pillar industry of my country's national economy. With the continuous adjustment of national macro policies, many construction companies have begun to try to explore digital transformation by taking the construction of a new generation of information technology infrastructure as an opportunity. The informatization level of my country's construction industry is still at a low level, and the management is extensive. The construction of an information service platform for the construction industry has gradually become a concern of construction companies. Self-service consulting service is an important aspect of the construction of an in...

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 Patents(China)
IPC IPC(8): G06F40/166G06F40/126G06F16/31G06N3/04G06N3/08
CPCG06F40/166G06F40/126G06F16/31G06N3/08G06N3/044
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