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

An Emotionally Controllable Reply Generation Method Using Fine-tuning and Re-ranking Strategies

A reordering and emotion technology, applied in the field of artificial intelligence, can solve problems such as low amount of information, low-quality security responses, and inconsistency between the emotion generated in the response and the specified emotion, so as to achieve the improvement of probability, probability improvement, and strong language modeling ability. Effect

Active Publication Date: 2022-04-29
INNER MONGOLIA UNIV OF TECH
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the shortcomings of the above-mentioned prior art, the object of the present invention is to provide a method for generating emotionally controllable responses using fine-tuning and reordering strategies. Reply, the lack of emotion control method in the dialogue generation model leads to the problem that the emotion of the generated reply is inconsistent with the specified emotion, and the "pre-training + fine-tuning" strategy is applied to the generation of emotion controllable reply

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
  • An Emotionally Controllable Reply Generation Method Using Fine-tuning and Re-ranking Strategies
  • An Emotionally Controllable Reply Generation Method Using Fine-tuning and Re-ranking Strategies
  • An Emotionally Controllable Reply Generation Method Using Fine-tuning and Re-ranking Strategies

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The implementation of the present invention will be described in detail below in conjunction with the drawings and examples.

[0039]The present invention is an emotion controllable reply generation method, mainly designing a fine-tuning algorithm to fine-tune the pre-training model to increase the probability of the model outputting the same type of emotion, alleviating the problem of low quality reply content and safe reply, and designing an emotion sorting algorithm to model Output statement builds. The present invention specifically adopts the method of "pre-training + fine-tuning" based on a large-scale pre-trained language model, improves the "fine-tuning" strategy in the "pre-training + fine-tuning" method, and adds a new "reordering" strategy. The improved "fine-tuning" strategy adjusts the pre-training model to make the language model learn the semantics and emotional dependencies; The reply sentence with the closest category is used as the final generated rep...

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

An emotion-controllable reply generation method using fine-tuning and re-ranking strategies, using a fine-tuning algorithm to train a large-scale open-domain language pre-training model GPT‑2, that is, using open-domain multi-round dialogue corpus training with emotional category labels GPT-2, through the mixed training of dialogue sentences and their corresponding emotional category labels, the language model learns the dependency relationship between semantics and emotion, and obtains the EmoGPT model. Using the EmoGPT model, according to the specified emotional category labels, the generated K replies Perform emotion reordering to obtain the final generated reply. The present invention solves the problem that the emotion of the generated reply is inconsistent with the specified emotion due to the lack of emotion control method in the dialog generation model in the case of multiple rounds of dialogue, and realizes the emotion of multiple rounds of dialogue. Controlling reply generation improves the emotional consistency of dialogue-generated replies.

Description

technical field [0001] The invention belongs to the technical field of artificial intelligence and relates to the generation of emotional dialogues, in particular to an emotion controllable reply generation method using fine-tuning and reordering strategies. Background technique [0002] Dialogue generation refers to the generation of reply sentences word by word or word by word according to the given dialogue context. The most basic requirement for the generated reply statement is that the grammar is correct and the language expression is natural and fluent. Emotional dialogue generation puts higher requirements on the reply sentences generated by the model. In addition to meeting the basic grammar and language expression requirements, it also needs to be full of emotion. The emotional controllability of generated responses is an important research direction in emotional dialogue generation. [0003] Previous research work was mainly based on the Seq2Seq model, which impr...

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): G06F16/332G06F16/33G06F16/338G06N3/04G06N3/08
CPCG06F16/3329G06F16/3344G06F16/338G06N3/084G06N3/045
Inventor 杜宝祥马志强王春喻贾文超
Owner INNER MONGOLIA 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