Method and device for generating user description text based on text generation network

A technology of network generation and text, applied in the computer field, can solve the problems of few training samples and poor text quality, and achieve the effect of good text quality, strong applicability, and solving redundancies

Active Publication Date: 2022-07-22
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the user description text is often generated based on the text generation network, that is to say, the user description text is generated by machine learning. Since the number of training samples used to train the text generation network is small, the quality of the text obtained by this method is not good. good

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 generating user description text based on text generation network
  • Method and device for generating user description text based on text generation network
  • Method and device for generating user description text based on text generation network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The solution provided in this specification will be described below with reference to the accompanying drawings.

[0046] figure 1 A schematic diagram of an implementation scenario of an embodiment disclosed in this specification. This implementation scenario involves generating user description text based on a text generation network. As a neural network model, the text generation network can be obtained by machine learning, and the input of the text generation network is the characteristics of the target user. It can be understood that the user can be classified based on the user characteristics of the user. User characteristics may be the user's age, education, income and other data, and the user category may include multiple preset categories, for example, whether there is a repayment risk, whether there is a money laundering risk, and the like. The user description text includes multiple sentences, which can reflect the relationship between user characteristics a...

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 embodiments of this specification provide a method and device for generating user description text based on a text generation network. The method includes: inputting various features of a target user into a first encoder, and obtaining each initial corresponding to each feature through the first encoder The user feature vector is encoded based on the self-attention mechanism, and the encoded state vector is obtained; the encoded state vector is input into the retrieval model, and K sentences are retrieved from the artificial knowledge base through the retrieval model, and the words corresponding to each word contained in the K sentences are determined. encoding vector, determine each attention coefficient according to the output feedback vector of the decoder and the word encoding vector, and perform weighted summation of each word encoding vector according to each attention coefficient to obtain a semantic representation vector; input the encoding state vector and semantic representation vector The decoder generates the user description text of the target user through the decoder, and the hidden state of the decoder is used as the output feedback vector. Can improve the quality of the resulting text.

Description

technical field [0001] One or more embodiments of this specification relate to the computer field, and in particular, to a method and apparatus for generating user description text based on a text generation network. Background technique [0002] Since there is an associated relationship between the user characteristics of the user and the user category of the user, the user can be classified based on the user characteristics of the user. User characteristics may be the user's age, education, income and other data, and the user category may include multiple preset categories, for example, whether there is a repayment risk, whether there is a money laundering risk, and the like. Usually, it is not convincing to only give the user characteristics of the user and the user category of the user. Therefore, after obtaining the user characteristics of the user, it is necessary to generate a user description text based on the user characteristics. The user description text includes ...

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/30G06F16/35G06F16/33G06N3/04G06N3/08G06N20/00
CPCG06F40/30G06F40/284G06F16/35G06F16/3344G06N20/00G06N3/049G06N3/08
Inventor 李怀松张天翼黄涛
Owner ALIPAY (HANGZHOU) INFORMATION TECH 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