美文网首页
情感模型

情感模型

作者: liuzhangjie | 来源:发表于2018-04-29 13:34 被阅读0次

Problem Analysis

The problem is that users say a sentence include some emotion and in corresponding our model need to produce several sentences to respond the user from different emotional angle.First we need to analysis or know the emotion of the user's question.And second we can return proper words.For example, one says "What a lovely day." and we can say "Haha, so happy today." in response.As the problem is unfamiliar to us in a degree, we need to search some papers and do some analysis, in the end we will cite the papers we read.

High-Level System Design

1 Related work

1.1Emotional Intelligence

In interactions between humans and artificial agents, the capability to detect signs of human emotions and to suitably react to them can enrich communication.

1.2 Large-scale Sequence-to-sequence BasedConversation Generation

Lots of works have been done to improve the content quality generation.Here we use some to generate responses both relevant in content and coherent in emotion.

1.3 Memory-based Networks

We can adopt a dynamic memory to model the change of an internal emotion state, and a static memory to store a dictionary of emotion words in our model.

2 High-Level System Design

We want to train several independent networks ,which are used to deal with different emotional  questions, such as happiness and anger .

2.1 Introduction of frame diagram 

ECM model

As shown in the overall framework of the model, the user's problem is entered as "What a lovely day!", which is encoded as a hidden vector by Encoder, and then the implicit vector of the problem is enhanced by the attention mechanism, which is combined with the state vector s of decoder to generate different words, and the information selectivity of the different parts of H is enhanced by the implicit vector of the problem and then get the vector c.The emotion category is designated as "Happiness". After indexing, we get the emotion category embedding vector, the initial emotion state memory vector and the corresponding emotion word list.Decoder accepts the problem vector c through the attention mechanism, the emotion category embedding vector and the initial emotional state memory vector as input, and then generates the generation probability o of the next word through recurrent neural network, then passes the emotional word list to the weighting of the emotion word and the non emotion word.Finally we obtain the generation probability of the final word by sampling. You can get the output "Haha, so happy today!"

2.2 Emotion Category Embedding

Here are some brief introductions.We initialize one vector for each emotion category, and then learn the emotion category representations through training.

2.3 Internal Memory

we design an internal memory module to approach the emotion dynamics during decoding.

Data flow of the decoder with an internal memory.

2.4 External Memory

we use an external memory model to model emotion expressions explicitly by assigning different generation probabilities to emotion words and generic words.

Data flow of the decoder with an external memory. 

2.5 Loss Function

We can get the the loss function later, when we will analysis all the aspects about loss.And then we can write or proposal some methods to lower the loss.  

Expected Goal

We want to train a model to produce proper respond with users's question include some emotion , get a loss function and find some ways to lower the loss.

Schedule and Human Allocation(in Chinese)

组长:胡钦涛

组员:吴行、刘章杰、汤敏芳、许彦夫

人员安排:

吴行 胡钦涛 许彦夫 for coding,刘章杰 汤敏芳 for files

进度安排:

第5-7周:论文查询、模型可行性分析及确定

第8-9周:数据集收集标记

第9-11周:模型训练,调参

第11-12周:结果分析,撰写报告

Appendix

Affect-LM:A Neural Language Model for Customizable Affective Text Generation

Affective Neural Response Generation

Emotional Chatting Machine: Emotional Conversation Generation with Internal and External Memory

相关文章

  • 情感模型

    Problem Analysis The problem is that users say a sentence...

  • 基于Bi-LSTM的文本情感分类

    参考:一维卷积网络IMDB情感分析双向LSTM情感分类模型利用DNN对EMAIL分类基于Keras构建RNN模型 ...

  • 极简父母

    九型分三类 性格决定命运 性格里包含 情感模型~NLP 思维模型 行为模型

  • 机器学习

    分类 图像识别 如何制作模型 情感分析

  • 2022-11-30

    摘:RULER 沟通模型 : 情感联结 + 读懂情绪 + 积极引导 + 重复练习 + 正向强化 1. 情感联结: ...

  • 爆款写作课之九个要点

    【作者】弗兰克 九个要点: 7、如何说服读者:利益+逻辑+情感 8、掌握说服模型:SCQA模型(背景、冲突、问题、...

  • ABC情感模型实际应用

    ABC情感模型。大意是接受不能改变的,改变能改变的。这样对于情绪管理非常有帮助。 再换个说法,一件事情发生了,这是...

  • 文本情感分类

    传统模型——基于情感词典 输入句子,预处理 文本分词 训练情感词典(积极消极词汇、否定词、程度副词等) 判断规则(...

  • 为什么我们会产生共情?

    Bower(1981)提出了关于情绪记忆的理论模型——情感联想网络理论。该理论认为,人们的记忆网络模型不仅包含对语...

  • CS231N Lecture10: RNN

    过去的模型都是一对一的。 一对多应用于image captioning。 many-to-one模型,应用于情感分...

网友评论

      本文标题:情感模型

      本文链接:https://www.haomeiwen.com/subject/fspolftx.html