arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.00049cs.CLcs.ET
收藏

基于Seq2Seq模型、LSTM与注意力机制的聊天机器人用于增强用户交互

Seq2Seq Model-Based Chatbot with LSTM and Attention Mechanism for Enhanced User Interaction

Moulay Ismail University(穆莱·伊斯梅尔大学);Fordham Univ.(福特汉姆大学);Univ. of North texas(北得克萨斯大学);Point Park Univ.(匹兹堡点公园大学)

Lamya Benaddi, Charaf Ouaddi, Adnane Souha, Abdeslam Jakimi, Mohamed Rahouti, Mohammed Aledhari, Diogo Oliveira, Brahim Ouchao

AI总结:

本文提出一种基于Seq2Seq编码器-解码器架构、融合LSTM和注意力机制且不依赖预定义API的聊天机器人,在摩洛哥旅游数据集上训练、验证和测试,分别取得99.58%、98.03%和94.12%的准确率,验证了专用AI在细分领域提升用户体验的潜力。

摘要:

聊天机器人是一种智能软件应用,能够通过消息平台自动进行对话并以自然语言吸引用户。借助人工智能(AI),聊天机器人可承担多种功能,包括客户服务、信息收集和闲聊。现有的虚拟助手聊天机器人,如ChatGPT和Gemini,展示了AI在自然语言处理(NLP)中的潜力。然而,许多当前解决方案依赖预定义API,这可能导致供应商锁定和高成本。为应对这些挑战,本工作提出了一种使用序列到序列(Seq2Seq)模型开发的聊天机器人,该模型采用编码器-解码器架构,并融合了注意力机制和长短期记忆(LSTM)单元。通过避免使用预定义API,该方法确保了灵活性和成本效益。该聊天机器人在一个专门为摩洛哥德拉-塔菲拉勒特地区旅游行业整理的数据集上进行了训练、验证和测试。关键评估结果表明,所提出的基于Seq2Seq模型的聊天机器人取得了较高准确率:训练约99.58%,验证约98.03%,测试约94.12%。这些结果证明了该聊天机器人在旅游领域内提供相关且连贯回复的有效性,突显了专用AI应用在提升细分市场用户体验和满意度方面的潜力。

英文摘要:

A chatbot is an intelligent software application that automates conversations and engages users in natural language through messaging platforms. Leveraging artificial intelligence (AI), chatbots serve various functions, including customer service, information gathering, and casual conversation. Existing virtual assistant chatbots, such as ChatGPT and Gemini, demonstrate the potential of AI in Natural Language Processing (NLP). However, many current solutions rely on predefined APIs, which can result in vendor lock-in and high costs. To address these challenges, this work proposes a chatbot developed using a Sequence-to-Sequence (Seq2Seq) model with an encoder-decoder architecture that incorporates attention mechanisms and Long Short-Term Memory (LSTM) cells. By avoiding predefined APIs, this approach ensures flexibility and cost-effectiveness. The chatbot is trained, validated, and tested on a dataset specifically curated for the tourism sector in Draa-Tafilalet, Morocco. Key evaluation findings indicate that the proposed Seq2Seq model-based chatbot achieved high accuracies: approximately 99.58% in training, 98.03% in validation, and 94.12% in testing. These results demonstrate the chatbot's effectiveness in providing relevant and coherent responses within the tourism domain, highlighting the potential of specialized AI applications to enhance user experience and satisfaction in niche markets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑