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

Lamya Benaddi, Charaf Ouaddi, Adnane Souha, Abdeslam Jakimi, Mohamed Rahouti +3 more
12/27/2024
cs.CLcs.ET

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{benaddi2024seqseq,
  title  = {Seq2Seq Model-Based Chatbot with LSTM and Attention Mechanism for Enhanced User Interaction},
  author = {Lamya Benaddi and Charaf Ouaddi and Adnane Souha and Abdeslam Jakimi and Mohamed Rahouti and Mohammed Aledhari and Diogo Oliveira and Brahim Ouchao},
  year   = {2024},
  eprint = {2501.00049},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.00049v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.00049.svg)](https://codeofpaper.com/paper/2501.00049)

Discussion