Evaluating Performance of Conversational Bot Using Seq2Seq Model and Attention Mechanism

Karandeep Saluja, Shashwat Agarwal, Sanjeev Kumar, Tanupriya Choudhury
{"title":"Evaluating Performance of Conversational Bot Using Seq2Seq Model and Attention Mechanism","authors":"Karandeep Saluja, Shashwat Agarwal, Sanjeev Kumar, Tanupriya Choudhury","doi":"10.4108/eetsis.5457","DOIUrl":null,"url":null,"abstract":"The Chat-Bot utilizes Sequence-to-Sequence Model with the Attention Mechanism, in order to interpret and address user inputs effectively. The whole model consists of Data gathering, Data preprocessing, Seq2seq Model, Training and Tuning. Data preprocessing involves cleaning of any irrelevant data, before converting them into the numerical format. The Seq2Seq Model is comprised of two components: an Encoder and a Decoder. Both Encoder and Decoder along with the Attention Mechanism allow dialogue management, which empowers the Model to answer the user in the most accurate and relevant manner. The output generated by the Bot is in the Natural Language only. Once the building of the Seq2Seq Model is completed, training of the model takes place in which the model is fed with the preprocessed data, during training it tries to minimize the loss function between the predicted output and the ground truth output. Performance is computed using metrics such as perplexity, BLEU score, and ROUGE score on a held-out validation set. In order to meet non-functional requirements, our system needs to maintain a response time of under one second with an accuracy target exceeding 90%.","PeriodicalId":155438,"journal":{"name":"ICST Transactions on Scalable Information Systems","volume":"223 7","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ICST Transactions on Scalable Information Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4108/eetsis.5457","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The Chat-Bot utilizes Sequence-to-Sequence Model with the Attention Mechanism, in order to interpret and address user inputs effectively. The whole model consists of Data gathering, Data preprocessing, Seq2seq Model, Training and Tuning. Data preprocessing involves cleaning of any irrelevant data, before converting them into the numerical format. The Seq2Seq Model is comprised of two components: an Encoder and a Decoder. Both Encoder and Decoder along with the Attention Mechanism allow dialogue management, which empowers the Model to answer the user in the most accurate and relevant manner. The output generated by the Bot is in the Natural Language only. Once the building of the Seq2Seq Model is completed, training of the model takes place in which the model is fed with the preprocessed data, during training it tries to minimize the loss function between the predicted output and the ground truth output. Performance is computed using metrics such as perplexity, BLEU score, and ROUGE score on a held-out validation set. In order to meet non-functional requirements, our system needs to maintain a response time of under one second with an accuracy target exceeding 90%.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用 Seq2Seq 模型和注意力机制评估对话机器人的性能
聊天机器人利用序列到序列模型和注意力机制来有效地解释和处理用户输入。整个模型包括数据收集、数据预处理、序列到序列模型、训练和调整。数据预处理包括在将数据转换为数字格式之前清理无关数据。Seq2Seq 模型由两个部分组成:编码器和解码器。编码器和解码器以及注意机制都可以进行对话管理,从而使模型能够以最准确、最相关的方式回答用户的问题。机器人生成的输出仅使用自然语言。完成 Seq2Seq 模型的构建后,将对模型进行训练,在训练过程中,模型将接收预处理数据,并尝试最小化预测输出与地面实况输出之间的损失函数。计算性能时使用的指标有:在保留验证集上的复杂度、BLEU 分数和 ROUGE 分数。为了满足非功能性要求,我们的系统需要将响应时间保持在一秒以内,准确率目标超过 90%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Review on DDoS Attack in Controller Environment of Software Defined Network A novel color image encryption method using Fibonacci transformation and chaotic systems Eye Disease Detection Using Deep Learning Models with Transfer Learning Techniques FaceNet – A Framework for Age Variation Facial Digital Images JWTAMH: JSON Web Tokens Based Authentication Mechanism for HADOOP.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1