Skip to main content

Advertisement

Log in

Sentiment Analysis for Personalized Chatbots in E-Commerce Applications

  • Published:
Wireless Personal Communications Aims and scope Submit manuscript

Abstract

Chatbots and question-answering systems aim to provide precise answers to user inquiries, as opposed to simply providing a list of related documents as is typical of traditional search engines. To improve the chatbot’s performance, personalization techniques are employed to deliver customized information to each user based on their interests. Additionally, sentiment analysis techniques are utilized to better understand the user’s queries and emotional state. The goal is to better understand the user and his needs to deliver the required information. In this work, we propose a personalized chatbot enhanced with sentiment analysis features to provide useful and tailored information for each user. The paper details the system’s key components and the techniques employed for handling user queries. To evaluate the effectiveness of our system, we have implemented a proof-of-concept version as customer service chatbot in e-commerce applications. The experimental results obtained based on users’ feedback indicate a significant improvement in user satisfaction with the customized answers and the overall experience. Overall, this system demonstrates the potential of utilizing sentiment analysis in conjunction with personalization techniques to improve the performance and effectiveness of chatbots and question-answering systems.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Availability of data and material

Not applicable.

References

  1. El-Ansari, A., Beni-Hssane, A., Saadi, M., & El Fissaoui, M. (2021). Papir: Privacy-aware personalized information retrieval. Journal of Ambient Intelligence and Humanized Computing, 1–17.

  2. El-Ansari, A., El Fissaoui, M., & Beni-Hssane, A. (2021). Personalized question-answering over linked data. In Proceedings of the 4th International Conference on Networking, Information Systems & Security (pp. 1–7).

  3. Suhaili, S. M., Salim, N., & Jambli, M. N. (2021). Service chatbots: A systematic review. Expert Systems with Applications, 184, 115461.

    Article  Google Scholar 

  4. Epilson Marketing (2018). The power of me: The impact of personalization on marketing performance.

  5. Buvat, J., Slatter, M., Jacobs, K., Hewett, S., Taylor, M., & Cherian, S. (2017). Loyalty deciphered: How emotions drive genuine engagement. Industry research, Capgemini.

  6. El-Ansari, A., Beni-Hssane, A., & Saadi, M. (2017). A multiple ontologies based system for answering natural language questions. In Europe and MENA cooperation advances in information and communication technologies (pp. 177–186). Springer.

  7. Goel, P., & Ganatra, A. (2021). A survey on chatbot: Futuristic conversational agent for user interaction. In 2021 3rd international conference on signal processing and communication (ICPSC) (pp. 736–740).

  8. Adamopoulou, E., & Moussiades, L. (2020). Chatbots: History, technology, and applications. Machine Learning with Applications, 2, 100006.

    Article  Google Scholar 

  9. Caldarini, G., Jaf, S., & McGarry, K. (2022). A literature survey of recent advances in chatbots. Information, 13(1), 41.

    Article  Google Scholar 

  10. Brown, T. B, Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020). Language models are few-shot learners. Preprint arXiv:2005.14165, 4.

  11. Ruane, E., Farrell, S., & Ventresque, A. (2021). User perception of text-based chatbot personality. In Chatbot research and design: 4th international workshop, CONVERSATIONS 2020, Virtual Event, November 23–24, 2020, Revised Selected Papers 4 (pp. 32–47). Springer.

  12. Prasad, V. A., & Ranjith, R. (2020). Intelligent chatbot for lab security and automation. In 2020 11th international conference on computing, communication and networking technologies (ICCCNT) (pp. 1–4). IEEE.

  13. Jain, A., & Bhati, P. (2022). Comparative analysis and development of voice-based chatbot system for differently-abled. In Journal of Physics: Conference Series (vol. 2273, pp. 012003). IOP Publishing.

  14. Kepuska, V., & Bohouta, G. (2018). Next-generation of virtual personal assistants (microsoft cortana, apple siri, amazon alexa and google home). In 2018 IEEE 8th annual computing and communication workshop and conference (CCWC) (pp. 99–103). IEEE.

  15. Weimann, T., Schlieter, H., & Fischer, M. (2021). Designing an avatar-based virtual coach for obesity patients. In The next wave of sociotechnical design: 16th international conference on design science research in information systems and technology, DESRIST 2021, Kristiansand, Norway, August 4–6, 2021, Proceedings 16 (pp. 52–57). Springer.

  16. Adiwardana, D., Luong, M.-T., So, D. R., Hall, J., Fiedel, N., Thoppilan, R., Yang, Z., Kulshreshtha, A., Nemade, G., Lu, Y., et al. (2020). Towards a human-like open-domain chatbot. Preprint arXiv:2001.09977

  17. Su, H., Shen, X., Xiao, Z., Zhang, Z., Chang, E., Zhang, C., Niu, C., & Zhou, J. (2020). Moviechats: Chat like humans in a closed domain. In Proceedings of the 2020 conference on empirical methods in natural language processing (EMNLP) (pp. 6605–6619).

  18. Singh, J., Joesph, M. H., & Begum Abdul Jabbar, K. (2019). Rule-based chabot for student enquiries. In Journal of Physics: Conference Series (vol. 1228, pp. 012060). IOP Publishing.

  19. Yu, W., Li, Z., Wei, W., & Zhou, M. (2018). Response selection with topic clues for retrieval-based chatbots. Neurocomputing, 316, 251–261.

    Article  Google Scholar 

  20. Kapočiūtė-Dzikienė, J. (2020). A domain-specific generative chatbot trained from little data. Applied Sciences, 10(7), 2221.

    Article  Google Scholar 

  21. Zhang, S., Dinan, E., Urbanek, J., Szlam, A., Kiela, D., & Weston, J. (2018). Personalizing dialogue agents: I have a dog, do you have pets too? Preprint arXiv:1801.07243

  22. Song, Y., Liu, Z., Bi, W., Yan, R., & Zhang, M. (2019). Learning to customize language model for generation-based dialog systems. Preprint arXiv:1910.14326

  23. Ma, Z., Dou, Z., Zhu, Y., Zhong, H., & Wen, J.-R. (2021). One chatbot per person: Creating personalized chatbots based on implicit user profiles. In Proceedings of the 44th international ACM SIGIR conference on research and development in information retrieval (pp. 555–564).

  24. Shumanov, M., & Johnson, L. (2021). Making conversations with chatbots more personalized. Computers in Human Behavior, 117, 106627.

    Article  Google Scholar 

  25. Belfin, R. V., Shobana, A. J., Manilal, M., Ann Mathew, A., & Babu, B. (2019). A graph based chatbot for cancer patients. In 2019 5th international conference on advanced computing & communication systems (ICACCS) (pp. 717–721). IEEE.

  26. Lee, C.-W., Wang, Y.-S., Hsu, T.-Y., Chen, K.-Y., Lee, H.-y , & Lee, L.-shan. (2018). Scalable sentiment for sequence-to-sequence chatbot response with performance analysis. In 2018 IEEE international conference on acoustics, speech and signal processing (ICASSP) (pp. 6164–6168). IEEE.

  27. Sidaoui, K., Jaakkola, M., & Burton, J. (2020). Ai feel you: customer experience assessment via chatbot interviews. Journal of Service Management, 31(4), 745–766.

    Article  Google Scholar 

  28. El-Ansari, A., Beni-Hssane, A., & Saadi, M. (2020). An improved modeling method for profile-based personalized search. In Proceedings of the 3rd international conference on networking, information systems & security (pp. 1–6).

  29. Hutto, C., & Gilbert, E. (2014). Vader: A parsimonious rule-based model for sentiment analysis of social media text. Proceedings of the International AAAI Conference on Web and Social Media, 8, 216–225.

    Article  Google Scholar 

  30. El-Ansari, A., Beni-Hssane, A., & Saadi, M. (2020). An ontology-based profiling method for accurate web personalization systems. Journal of Theoretical and Applied Information Technology, 98, 2817–2827.

    Google Scholar 

  31. Ali, N. (2020). Chatbot: A conversational agent employed with named entity recognition model using artificial neural network. Preprint arXiv:2007.04248

  32. Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. Preprint arXiv:1810.04805

  33. Lehmann, J., Isele, R., Jakob, M., Jentzsch, A., Kontokostas, D., Mendes, P. N., Hellmann, S., Morsey, M., Van Kleef, P., Auer, S., et al. (2015). Dbpedia-a large-scale, multilingual knowledge base extracted from wikipedia. Semantic Web, 6, 167–195.

    Article  Google Scholar 

  34. Westerinen, A., & Tauber, R. (2017). Integrating goodrelations in a domain-specific ontology. Applied Ontology, 12, 323–340.

    Article  Google Scholar 

  35. Lin, Y.-C., Das, P., Trotman, A., & Kallumadi, S.. (2019). A dataset and baselines for e-commerce product categorization. In Proceedings of the 2019 ACM SIGIR international conference on theory of information retrieval (pp. 213–216).

  36. Speer, R., Chin, J., & Havasi, C. (2017). Conceptnet 5.5: An open multilingual graph of general knowledge. In Proceedings of the AAAI conference on artificial intelligence (vol. 31).

  37. DBpedia. (2015). Dbpedia (release 2.0).

  38. Hepp, M. (2008). Goodrelations: An ontology for describing products and services offers on the web. In Knowledge engineering: Practice and patterns: 16th international conference, EKAW 2008, Acitrezza, Italy, September 29-October 2, 2008. Proceedings 16 (pp. 329–346). Springer.

  39. Peters, M. E, Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., & Zettlemoyer, L. (2018). Deep contextualized word representations. corr abs/1802.05365. Preprint arXiv:1802.05365

  40. Maroengsit, W., Piyakulpinyo, T., Phonyiam, K., Pongnumkul, S., Chaovalit, P., & Theeramunkong, T. (2019). A survey on evaluation methods for chatbots. In Proceedings of the 2019 7th International conference on information and education technology (pp. 111–119).

  41. El-Ansari, A., Birjali, M., Hankar, M., & Beni-Hssane, A. (2022). Privacy threat modeling in personalized search systems. In Networking, intelligent systems and security: Proceedings of NISS 2021 (pp. 311–325). Springer.

Download references

Funding

Not applicable.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anas El-Ansari.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

El-Ansari, A., Beni-Hssane, A. Sentiment Analysis for Personalized Chatbots in E-Commerce Applications. Wireless Pers Commun 129, 1623–1644 (2023). https://doi.org/10.1007/s11277-023-10199-5

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11277-023-10199-5

Keywords

Navigation