A Chatbot Intent Classifier for Supporting High School Students

Suha Khalil Assayed, Khaled Shaalan, Manar Alkhatib

ICST Transactions on Scalable Information Systems · 2022 · 29 citations · 16 references

DOIFull text

Open access

Concepts

TL;DR

Intent classification is a challenging NLP task essential for chatbot conversations, and high‑school students need instant support to guide their career decisions. The study develops the HSchatbot to predict intent classifications from high‑school students’ enquiries. The authors employed Multinomial Naive‑Bayes and Random Forest classifiers, enhancing them with feature extraction to predict student enquiries. Random Forest outperformed Multinomial Naive‑Bayes, achieving over 90% accuracy across metrics, while Naive‑Bayes performed better with CountVectorizers than TF‑IDF.

Abstract

INTRODUCTION: An intent classification is a challenged task in Natural Language Processing (NLP) as we are asking the machine to understand our language by categorizing the users’ requests. As a result, the intent classification plays an essential role in having a chatbot conversation that understand students’ requests.
 OBJECTIVES: In this study, we developed a novel chatbot called “HSchatbot” for predicting the intent classifications from high school students’ enquiries. Evidently, students in high schools are the most concerned among all students about their future; thus, in this stage they need an instant support in order to prepare them to take the right decision for their career choice. 
 METHODS: The authors in this study used the Multinomial Naive-Bayes and Random Forest classifiers for predicting the students’ enquiries, which in turn improved the performance of the classifiers by using the feature’s extractions.
 RESULTS: The results show that the random forest classifier performed better than Multinomial Naive-Bayes since the performance of this model is checked by using different metrics like accuracy, precision, recall and F1 score. Moreover, all showed high accuracy scores exceeding 90% in all metrics. However, the accuracy of Multinomial Naive-Bayes classifier performed much better when using CountVectorizers compared to using the TF-IDF.
 CONCLUSION: In the future work, the results will be analysed and investigated in order to figure out the main factors that affect the performance of Multinomial Naive-Bayes classifier, as well as evaluating the model with using a large corpus of students’ questions and enquiries.

References

16