情感模型

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,199评论 0 10
  • 13上课时间在学校逛是件很刺激的事,加上我是有目标的闲逛,所以更要集中注意力,这很累。我站在办公室外假装路过,眼睛...
    牧__樵阅读 1,796评论 0 1
  • 大家开车在高速上行驶的时候一定会有一个奇特的感受——“飘” 如果你并没有这种感受,那么恭喜你,你的爱车很“稳”。 ...
    塑如意生活阅读 2,701评论 0 0
  • 香烟与爱情 文/万年 借一轮红日 点燃 孤独和寂寞 这世界只属于 傻傻我 爱 并没有对与错 给我阳光和温暖 你来 ...
    七哥诗心阅读 4,929评论 0 0

友情链接更多精彩内容