Submitted:
02 October 2024
Posted:
04 October 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Literature Review
3. Materials and Methods
3.1. Data Collection and Dataset Creation
3.2. Models Creation
3.2.1. Rule-Based Chatbot
- AIML File Generation: The Pandorabots playground was used to generate AIML files from the dataset, creating the initial chatbot prototype.
- Prototype Integration: The prototype was then integrated into the Pandorabots framework, enabling user interaction.
- User Testing: A group of 113 students (undergraduate and postgraduate) interacted with the chatbot.
- Evaluation and Improvement: User interactions were logged and analyzed (elaborate on the specific aspects evaluated, e.g., response accuracy, user satisfaction). This analysis led to a review and enhancement of the chatbot's functionalities.
- Redeployment: The improved version of the chatbot was redeployed for further user interaction.
3.2.2. Retrieval-Based Chatbot
- intents: An array of intent objects, each representing a specific category such as ‘weather’, ‘courses’, and ‘tuition fees’.
- Questions: An array of user queries or inputs associated with the intent.
- Responses: An array of possible responses or answers the chatbot can provide related to the given intent.
- Tokenization: Breaking down text into individual words or units.
- Stopword removal: Eliminating common words that hold little meaning such as ‘the’, and ‘a’.
- Stemming: Reducing words to their base form such as ‘running’ -> ‘run’. Porter Stemmer has been employed for this purpose.
- Processed dataset creation: Combining the preprocessed questions (patterns) and corresponding preprocessed answers (randomly chosen from the response options).
- Tokenization: Breaking down the user input into individual words.
- Pattern matching: Checking the user input against predefined patterns associated with the intent.
- Entity extraction: Utilizing regular expressions to extract specific entities from the matched patterns.
- Preprocesses the user input.
- Calculate the similarity between the preprocessed input and the preprocessed dataset questions using cosine similarity.
- Identifies the most similar question (intent) based on the calculated similarity scores.
- Extract entities relevant to the identified intent using the extract_entities function.
- Returns the corresponding response associated with the most similar question and extracted entities.
3.2.3. Generative-Based Chatbot
- Library Imports: Necessary libraries are imported, including torch for PyTorch functionalities and AutoTokenizer and AutoModelForSeq2SeqLM from the transformers library for handling the pre-trained model and tokenizer.
- GPU Availability Check: The code checks for a CUDA-enabled GPU to accelerate computations. If available, the GPU is used; otherwise, the CPU takes over.
- Loading the Dataset: The dataset created in section 3.1 is loaded line by line, separating each line into individual questions and answers.
- Separating Questions and Answers: The entire dataset is traversed to split questions and answers into distinct lists.
- Loading Pre-trained Model and Tokenizer: The pre-trained model ("tuner007/pegasus_paraphrase") is specified, and the corresponding tokenizer and model are loaded using AutoTokenizer and AutoModelForSeq2SeqLM. The loaded model is then transferred to the chosen device (GPU or CPU).
- Tokenization and Encoding: Both questions and answers are tokenized and encoded using the loaded tokenizer. Padding and truncation are applied to ensure sequences adhere to specific length requirements. These encoded sequences are then converted into PyTorch tensors.
- Fine-tuning the Model: Fine-tuning involves the following sub-steps:
- Optimizer Selection: An Adam optimizer is chosen and initialized with a learning rate of 5e-5. The fine-tuning process iterates through 40 epochs.
- Encoding Input and Output Sequences: For each epoch, the model encodes the input and output sequences for each Q&A pair.
- Generating Output and Calculating Loss: The model generates an output sequence based on the input sequence and calculates the loss against the provided target output sequence.
- Backpropagation and Updating Model Parameters: The calculated loss is accumulated and used to update the model's parameters through backpropagation.
- Saving Model State: After each epoch, the model's state (including both model weights and tokenizer) is saved whenever a decrease in the average loss is observed.
- 8.
- Model Evaluation: The fine-tuned model's performance is assessed using the training set.
- 9.
- User Interaction with Fine-tuned Model: The final step involves user interaction with the chatbot:
- Optimizer Selection: An Adam optimizer is chosen and initialized with a learning rate of 5e-5. The fine-tuning process iterates through 40 epochs.
- Encoding Input and Output Sequences: For each epoch, the model encodes the input and output sequences for each Q&A pair.
- Generating Output and Calculating Loss: The model generates an output sequence based on the input sequence and calculates the loss against the provided target output sequence.
- Backpropagation and Updating Model Parameters: The calculated loss is accumulated and used to update the model's parameters through backpropagation.
- Saving Model State: After each epoch, the model's state (including both model weights and tokenizer) is saved whenever a decrease in the average loss is observed.


3.3. Models’ Evaluation and Comparison
- Unveil the strengths, weaknesses, and unique performance characteristics of each approach.
- Lay the groundwork for identifying advancements and exploring the feasibility of a hybrid model that leverages the most advantageous features of all three approaches.
3.3.1. Define Evaluation Metrics
- Accuracy: Percentage of inquiries answered correctly and relevantly.
- Precision: Proportion of responses that are topical and pertinent to the user's query.
- Recall: Proportion of relevant questions accurately answered.
- F1 Score: Harmonic means of precision and recall, offering a balanced view.
- Response Time: Average time taken to generate a response.
- User Satisfaction and Engagement: Subjective metrics assessed through surveys to gauge user perception of helpfulness, ease of use, and overall effectiveness.
- Flexibility: Ability to adapt to new information or situations such as ease of adding new knowledge, handling unexpected queries.
3.3.2. Prepare Evaluation Data
- Data Source: Extracted from the last updated FAQ page on Sakarya University's main website.
- Selection Criteria: 300 representative queries and corresponding answers, representing approximately 20% of the total training dataset size, were chosen to capture the diverse range of user inquiries typically encountered in the university setting.
- Rationale: Incorporating these authentic and up-to-date queries aims to assess the models' performance in accurately understanding and responding to inquiries specific to Sakarya University.
3.3.3. Setup Evaluation Scenarios
- Scenario 1 (Prospective Students): Admissions, academics, and general inquiries.
- Scenario 2 (Enrolled Students): Registrations, tuition fees, courses, and campus facilities.
- Scenario 3 (Foreign Students): Admission and registration, tuition fees, weather, language proficiency requirements, and accommodation.
3.3.4. Evaluation Process
- Rule-based Chatbot:
- Focus: Ability to match user queries to predefined rules and generate appropriate responses.
- Metrics: Measure the accuracy of matching and rule coverage.
- 2.
- Retrieval-based Chatbot:
- Focus: Selecting the most relevant response from a predefined set.
- Metrics: Use accuracy, precision, recall, and F1 score to evaluate response selection accuracy.
- 3.
- Generative-based Chatbot:
- Focus: Assess the quality of generated responses.
- Factors: Consider response coherence, grammar, and relevance to the user query.
3.3.5. Conduct User Surveys
- Satisfaction Level: How satisfied users were with the interaction.
- Perceived Usefulness: How helpful users found the chatbot.
- Overall User Experience: Ease of use and overall impression.
3.3.6. Compare and Analyze Results
- Comparing performance: Analyze the performance of each model across the different evaluation metrics and user feedback.
- Identifying strengths and weaknesses: Examine each model's effectiveness in terms of accuracy, response quality, user satisfaction, and other relevant factors.
- Review and improve: The evaluation aims to identify areas for improvement in both the dataset and the design of the models.
- Hybrid model development: By comparing the models' strengths, the analysis seeks to explore the possibility of integrating them into a single, enhanced hybrid model.
3.4. Classifier Implementation
3.4.1. Classifier Selection:
- Simplicity: Easy to understand and implement.
- Efficiency: Performs well with large datasets and requires minimal training data compared to some complex models.
- Effectiveness: Often yields competitive results for text classification tasks.
3.4.2. Data Preparation:
- Question Column: Represents the input user query as text.
- Category Column: Represents the corresponding category or class such as admissions, registration, and fees.
3.4.3. Implementation Steps:
- Data Loading: The Question and Category columns are loaded into separate lists, typically named corpus and labels, respectively, for easier processing.
- Text Classification Pipeline:
- The Pipeline class from scikit-learn is utilized to create a text classification pipeline.
- The pipeline consists of two crucial steps:
- Text Vectorization: The CountVectorizer transforms textual data into numerical features, enabling the classifier to process the text.
- Classification: The MultinomialNB algorithm implements the Naive Bayes classification model to categorize the text data based on the learned patterns.
- 3.
- Data Splitting:
- The train_test_split function from scikit-learn is used to divide the dataset into training and testing sets.
- A common practice is to allocate 40% of the data for testing (test_size=0.4) to assess the classifier's performance on unseen data.
- Setting the random_state parameter to a fixed value (e.g., 42) ensures reproducibility, meaning the same data split will occur when the code is run multiple times.
- 4.
- Classifier Training:
- The training set is used to train the classifier using the fit method of the pipeline.
- During this process:
- The text data from the training set is vectorized using CountVectorizer.
- The transformed numerical features are then used to train the Naive Bayes model, enabling it to learn the relationships between text patterns and their corresponding categories.
- 5.
- Model Saving:
- The trained classifier is saved to a file (classifier.pkl) using the joblib.dump function.
- This step allows for reusing the trained model for future predictions without the need for retraining, saving computational resources.
- 6.
- Evaluation:
- The performance of the trained classifier is assessed using the testing set (X_test).
- The predict method is employed to predict category labels for the unseen test data.
- The accuracy_score function is used to evaluate the model's accuracy by comparing the predicted labels with the actual labels (y_test).
- Accuracy represents the percentage of correctly classified instances.


3.5. Models Integration (Hybrid Model)
- Classifier: The trained Multinomial Naive Bayes classifier, as explained in Section 3.4, plays a crucial role in efficiently routing user queries.
- Main Program Loop: This core loop manages the user interaction flow within the system.
- User Query Input: The user submits their query through the system's interface.
- Query Processing Function (process_user_query(query))
- Rule-based model: Well-suited for well-defined queries with a clear answer in the knowledge base.
- Retrieval-based model: Effective for retrieving relevant responses from a predefined set when the answer might involve variations in phrasing.
- Generative-based model: Ideal for handling open-ended questions, complex inquiries, or situations where a creative response is desired.
- 3.
- Model Response Generation: The selected model processes the query and generates a response tailored to the user's needs.
- 4.
- Response Delivery: The generated response is returned from the process_user_query(query) function to the main program loop.
- 5.
- User Interface Interaction: The main program loop displays the response to the user through the system's interface, completing the interaction cycle.


4. Results And Discussion
5. CONCLUSIONs
Authors’ Contribution
Funding
Data Availability Statement
Conflicts of Interest
References
- G. Attigeri and A. Agrawal, “Advanced NLP Models for Technical University Information Chatbots : Development and Comparative Analysis,” IEEE Access, vol. 12, no. February, pp. 29633–29647, 2024. [CrossRef]
- C. W. Okonkwo and A. Ade-Ibijola, “Chatbots applications in education: A systematic review,” Comput. Educ. Artif. Intell., vol. 2, 2021. [CrossRef]
- T. T. Nguyen, A. D. Le, H. T. Hoang, and T. Nguyen, “NEU-chatbot: Chatbot for admission of National Economics University,” Comput. Educ. Artif. Intell., vol. 2, p. 100036, 2021. [CrossRef]
- M. Dibitonto, K. Leszczynska, F. Tazzi, and C. M. Medaglia, “Chatbot in a Campus Environment : Design of LiSA , a Virtual Assistant to Help Students in Their University Life,” in Human-Computer Interaction. Interaction Technologies, Cham., M. Kurosu, Ed. Springer International Publishing, 2018, pp. 103–116. [CrossRef]
- T. Lopez and M. Qamber, “The Benefits and Drawbacks of Implementing Chatbots in Higher Education,” no. March, 2022.
- P. P. Ray, “ChatGPT: A comprehensive review on background, applications, key challenges, bias, ethics, limitations and future scope,” Internet Things Cyber-Physical Syst., vol. 3, no. March, pp. 121–154, 2023. [CrossRef]
- M. Rukhiran and P. Netinant, “Automated information retrieval and services of graduate school using chatbot system,” in International Journal of Electrical and Computer Engineering (IJECE), 2022, vol. 12, no. 5, pp. 5330–5338. [CrossRef]
- D. Al-ghadhban and N. Al-twairesh, “Nabiha : An Arabic Dialect Chatbot,” Int. J. Adv. Comput. Sci. Appl., vol. 11, no. 3, pp. 452–459, 2020. [CrossRef]
- W. El Hefny, Y. Mansy, M. Abdallah, and S. Abdennadher, “Jooka : A Bilingual Chatbot for University Admission,” in Trends and Applications in Information Systems and Technologies, 2021, pp. 671–681. [CrossRef]
- R. Lucien and S. Park, “Design and Development of an Advising Chatbot as a Student Support Intervention in a University System,” TechTrends, vol. 68, no. 1, pp. 79–90, 2024. [CrossRef]
- K. N. Lam, L. H. Nguy, V. L. Le, and J. Kalita, “A Transformer-Based Educational Virtual Assistant Using Diacriticized Latin Script,” IEEE Access, vol. 11, no. August, pp. 90094–90104, 2023. [CrossRef]
- S. C. Man, O. Matei, T. Faragau, L. Andreica, and D. Daraba, “The Innovative Use of Intelligent Chatbot for Sustainable Health Education Admission Process: Learnt Lessons and Good Practices,” Appl. Sci., vol. 13, no. 4, 2023. [CrossRef]
- H. Agus Santoso et al., “Dinus Intelligent Assistance (DINA) Chatbot for University Admission Services,” Proc. - 2018 Int. Semin. Appl. Technol. Inf. Commun. Creat. Technol. Hum. Life, iSemantic 2018, pp. 417–423, 2018. [CrossRef]
- S. Sakulwichitsintu, “ParichartBOT: a chatbot for automatic answering for postgraduate students of an open university,” Int. J. Inf. Technol., vol. 15, no. 3, pp. 1387–1397, 2023. [CrossRef]
- P. Udupa, “Application of artificial intelligence for university information system,” Eng. Appl. Artif. Intell., vol. 114, p. 105038, 2022. [CrossRef]
- N. Thalaya and K. Puritat, “BCNPYLIB CHAT BOT: The artificial intelligence Chatbot for library services in college of nursing,” in 2022 Joint International Conference on Digital Arts, Media and Technology with ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering (ECTI DAMT & NCON), 2022, pp. 247–251. [CrossRef]
- S. Rodriguez and C. Mune, “Uncoding library chatbots: deploying a new virtual reference tool at the San Jose State University library,” Ref. Serv. Rev., vol. 50, no. 3–4, pp. 392–405, 2022. [CrossRef]
- R. Isaev, R. Gumerov, G. Esenalieva, R. R. Mekuria, and E. Doszhanov, “HIVA: Holographic Intellectual Voice Assistant,” Proc. - 2023 17th Int. Conf. Electron. Comput. Comput. ICECCO 2023, pp. 1–6, 2023. [CrossRef]
- J. Barzola-monteses, S. Member, and J. Guillén-mirabá, “CSM : a Chatbot Solution to Manage Student Questions About payments and,” vol. 4, pp. 1–12, 2024. [CrossRef]
- R. Parkar, Y. Payare, K. Mithari, J. Nambiar, and J. Gupta, “AI and Web-Based Interactive College Enquiry Chatbot,” Proc. 13th Int. Conf. Electron. Comput. Artif. Intell., pp. 1–5, 2021. [CrossRef]
- K. Nikhath et al., “An Intelligent College Enquiry Bot using NLP and Deep Learning based techniques,” 2022 Int. Conf. Adv. Technol. (CONAT ), pp. 1–6, 2022. [CrossRef]
- R. B. K. Md. Abdullah Al Muid, Md. Masum Reza, M. M. Reza, R. Bin Kalim, N. Ahmed, M. T. Habib, and M. S. Rahman, “Edubot: An unsupervised domain-specific chatbot for educational institutions,” Lect. Notes Networks Syst., vol. 144, pp. 166–174, 2021. [CrossRef]
- N. A. Al-Madi, K. A. Maria, M. A. Al-Madi, M. A. Alia, and E. A. Maria, “An Intelligent Arabic Chatbot System Proposed Framework,” 2021 Int. Conf. Inf. Technol., pp. 592–597, 2021. [CrossRef]
- Agung and S. Gunawan, “Ava: knowledge-based chatbot as virtual assistant in university,” ICIC Express Lett. Part B Appl., vol. 13, no. 4, pp. 437–444, 2022. [CrossRef]
- H. Dinh and T. K. Tran, “EduChat: An AI-Based Chatbot for University-Related Information Using a Hybrid Approach,” Appl. Sci., vol. 13, no. 22, p. 12446, 2023. [CrossRef]
- T. Lalwani, S. Bhalotia, A. Pal, S. Bisen, and V. Rathod, “Implementation of a Chat Bot System using AI and NLP,” Int. J. Innov. Res. Comput. Sci. Technol., vol. 6, no. 3, pp. 26–30, 2018. [CrossRef]
- J. P. and J. S. L. Galko, “Improving the user experience of electronic university enrollment,” in 2018 16th International Conference on Emerging eLearning Technologies and Applications (ICETA), 2018, pp. 179–184. [CrossRef]
- W. Villegas-ch, J. Garc, K. Mullo-ca, S. Santiago, and M. Roman-cañizares, “Implementation of a Virtual Assistant for the Academic Management of a University with the Use of Artificial Intelligence,” Futur. Internet, vol. 13, no. 4, p. 97, 2021. [CrossRef]
- P. Giannos and O. Delardas, “Performance of ChatGPT on UK Standardized Admission Tests: Insights from the BMAT, TMUA, LNAT, and TSA Examinations,” JMIR Med. Educ., vol. 9, pp. 1–7, 2023. [CrossRef]
- S. S. Sushmitha, S. Ramya, and G. M. Gandhi, “College Chatbot using Natural Language Processing for Student Queries,” vol. 10, no. 5, pp. 25549–25553, 2020.
- N. N. Khin and K. M. Soe, “Question Answering based University Chatbot using Sequence to Sequence Model,” 2020 23rd Conf. Orient. COCOSDA Int. Comm. Co-ord. Stand. Speech Databases Assess. Tech., pp. 55–59, 2020. [CrossRef]
- Y. W. Chandra and S. Suyanto, “Indonesian chatbot of university admission using a question answering system based on sequence-to-sequence model,” Procedia Comput. Sci., vol. 157, pp. 367–374, 2019. [CrossRef]
- S. Sinha, S. Basak, Y. Dey, and A. Mondal, “An Educational Chatbot for Answering Queries,” in Emerging Technology in Modelling and Graphics, 2020, pp. 55–60. [CrossRef]
- H. T. Hien, P.-N. Cuong, L. N. H. Nam, H. L. T. K. Nhung, and L. D. Thang, “Intelligent Assistants in Higher-Education Environments: The FIT-EBot, a Chatbot for Administrative and Learning Support,” in Proceedings of the 9th International Symposium on Information and Communication Technology (SoICT ’18), 2018, pp. 69–76. [CrossRef]
- K. Lee, J. Jo, and J. Kim, “Can Chatbots Help Reduce the Workload of Administrative Of fi cers ? - Implementing and Deploying FAQ Chatbot Service in a University,” in 21st International Conference on Human-Computer Interaction, HCI International 2019, 2019, pp. 348–354. [CrossRef]
- M. Mekni, Z. Baani, and D. Sulieman, “A Smart Virtual Assistant for Students,” in Proceedings of the 3rd International Conference on Applications of Intelligent Systems (APPIS 2020), 2020, pp. 1–6. [CrossRef]
- S. Alqaidi, W. Alharbi, and O. Almatrafi, “A support system for formal college students: A case study of a community-based app augmented with a chatbot,” 2021 19th Int. Conf. Inf. Technol. Based High. Educ. Train. (ITHET ), vol. 978, no. 1, 2021. [CrossRef]
- T. Dinesh, M. R. Anala, T. T. Newton, and G. R. Smitha, “AI Bot for Academic Schedules using Rasa,” Proc. 2021 IEEE Int. Conf. Innov. Comput. Intell. Commun. Smart Electr. Syst. ICSES 2021, 2021. [CrossRef]
- Y. Windiatmoko, A. F. Hidayatullah, and ..., “Developing FB chatbot based on deep learning using RASA framework for university enquiries,” in IOP Conf. Ser.: Mater. Sci. Eng, 2020, p. 1077 012060. [CrossRef]
- N. Alzaabi, M. Mohamed, H. Almansoori, M. Alhosani, and N. Ababneh, “ADPOLY Student Information Chatbot,” 2022 5th Int. Conf. Data Storage Data Eng., pp. 108–112, 2022. [CrossRef]
- Roy, D. Singh, and S. Sahana, “Educational assistance bot,” J. Phys. Conf. Ser., vol. 1797, no. 1, p. 012062, 2021. [CrossRef]
- N. Teckchandani, A. Santokhee, and G. Bekaroo, “AIML and Sequence-to-Sequence Models to Build Artificial Intelligence Chatbots: Insights from a Comparative Analysis,” Lect. Notes Electr. Eng., vol. 561, no. May, pp. 323–333, 2019. [CrossRef]
- F. Khennouche, Y. Elmir, Y. Himeur, N. Djebari, and A. Amira, “Revolutionizing generative pre-traineds: Insights and challenges in deploying ChatGPT and generative chatbots for FAQs,” Expert Syst. Appl., vol. 246, no. January, 2024. [CrossRef]
- T. Rasul et al., “The role of ChatGPT in higher education: Benefits, challenges, and future research directions,” J. Appl. Learn. Teach., vol. 6, no. 1, pp. 41–56, 2023. [CrossRef]
- F. Doshi-Velez and B. Kim, “Towards A Rigorous Science of Interpretable Machine Learning,” no. Ml, pp. 1–13, 2017, [Online]. Available: http://arxiv.org/abs/1702.08608.
- M. das G. Bruno Marietto et al., “Artificial Intelligence Markup Language: A Brief Tutorial,” Int. J. Comput. Sci. Eng. Surv., vol. 4, no. 3, pp. 1–20, 2013. [CrossRef]
- “Pandorabots.” https://home.pandorabots.com/dash/help/tutorials (accessed Apr. 12, 2024).
- Jalilifard, V. F. Caridá, A. F. Mansano, R. S. Cristo, and F. P. C. da Fonseca, “Semantic Sensitive TF-IDF to Determine Word Relevance in Documents,” Lect. Notes Electr. Eng., vol. 736 LNEE, pp. 327–337, 2021. [CrossRef]
- M. Abbas, K. Ali, A. Jamali, K. Ali Memon, and A. Aleem Jamali, “Multinomial Naive Bayes Classification Model for Sentiment Analysis,” IJCSNS Int. J. Comput. Sci. Netw. Secur., vol. 19, no. 3, pp. 62–67, 2019. [CrossRef]
- C. Goutte and E. Gaussier, “A Probabilistic Interpretation of Precision, Recall and F-Score, with Implication for Evaluation,” Lect. Notes Comput. Sci., vol. 3408, no. June, pp. 345–359, 2005. [CrossRef]
- M. Y. Day and S. R. Shaw, “AI Customer Service System with Pre-trained Language and Response Ranking Models for University Admissions,” Proc. - 2021 IEEE 22nd Int. Conf. Inf. Reuse Integr. Data Sci. IRI 2021, pp. 395–401, 2021. [CrossRef]
- M. Jaiwai, K. Shiangjen, S. Rawangyot, S. Dangmanee, T. Kunsuree, and A. Sa-Nguanthong, “Automatized Educational Chatbot using Deep Neural Network,” 2021 Jt. 6th Int. Conf. Digit. Arts, Media Technol. with 4th ECTI North. Sect. Conf. Electr. Electron. Comput. Telecommun. Eng. ECTI DAMT NCON 2021, pp. 85–89, 2021. [CrossRef]
- M. T. Nguyen, M. Tran-Tien, A. P. Viet, H. T. Vu, and V. H. Nguyen, “Building a Chatbot for Supporting the Admission of Universities,” 2021 13th Int. Conf. Knowl. Syst. Eng., pp. 1–6, 2021. [CrossRef]
- L. Fauzia, R. B. Hadiprakoso, and Girinoto, “Implementation of Chatbot on University Website Using RASA Framework,” 2021 4th Int. Semin. Res. Inf. Technol. Intell. Syst. ISRITI 2021, pp. 373–378, 2021. [CrossRef]
- Q. Jhqwv et al., “Intelligent Agents in Educational Institutions NEdBOT-NLP-based Chatbot for Administrative Support Using DialogFlow,” in 2022 IEEE International Conference on Agents (ICA), 2022, pp. 30–35. [CrossRef]
![]() |
Kanaan Mikael holds a B.Sc. in Computer Science from Sulaimani University, Iraq, in 2006 and an M.Sc. in Information Technology from BAMU University, India in 2012. He is currently a Ph.D. student at Sakarya University, Turkey. With 12 years of teaching experience, Kanaan is a lecturer at the University of Human Development in Iraq. He was awarded second place in the Huawei ICT Competition 2023-2024, a Middle East-wide event held in Bahrain. His research interests encompass Natural Language Processing (NLP), Machine Translation, Machine Learning, and Dialogue systems. |
![]() |
56. Cemil Oz was born in Cankiri, Turkey, in 1967. He received his B.S. degree in Electronics and Communication Engineering in 1989 from Yildiz Technical University and his M.S. in Electronics and Computer Education in 1993 from Marmara University, Istanbul. During the M.S. studies, he worked as a lecturer at İstanbul Technical University. In 1994, he began his Ph.D. in Electronics Engineering at Sakarya University. He completed his Ph.D. in 1998. He worked for three and half years as a research fellow at the University of Missouri-Rolla, MO, USA. He has been working as a professor in the Faculty of Computer and Information Science, Department of Computer Engineering at Sakarya University. His research interests include computer vision, artificial intelligence, virtual reality, and pattern recognition. |
![]() |
TARIK A. RASHID received a Ph.D. degree in computer science and informatics from the College of Engineering, Mathematical and Physical Sciences, University College Dublin (UCD), Ireland in 2006. He joined the University of Kurdistan Hewlêr, in 2017. He is a Principal Fellow for the Higher Education Authority (PFHEA-UK) and a professor in the Department of Computer Science and Engineering at the University of Kurdistan Hewlêr (UKH), Iraq. He is on the prestigious Stanford University list of the World’s Top 2% of Scientists for the years 2021, 2022, and 2023. His areas of research cover the fields of Artificial Intelligence, Nature Inspired Algorithms, Swarm Intelligence, Computational Intelligence, Machine Learning, and Data Mining. |






| No. | Questions | Rating scales |
|---|---|---|
| Q1 | How would you rate the accuracy of the responses? | (1-5) |
| Q2 | How would you rate your level of acceptance of the chatbot's suggestions or recommendations? | (1-5) |
| Q3 | How would you rate the usefulness of the chatbot in addressing your queries or providing information? | (1-5) |
| Q4 | How would you evaluate the context of the conversations? | (1-5) |
| Q5 | Would you be interested in using the chatbot again in the future? | (1-5) |
| Q6 | How satisfied are you with the chatbot's ability to understand your queries? | (1-5) |
| Q7 | How satisfied are you with the chatbot's response time? | (1-5) |
| Q8 | How would you rate the chatbot's ability to provide relevant and helpful information? | (1-5) |
| Q9 | How would you rate the chatbot's overall performance in assisting you with your needs? | (1-5) |
| Q10 | How likely are you to recommend the chatbot to others? | (1-5) |
| Metrics | Results % |
|---|---|
| Accuracy of Matching | 210/300 = 73.33 % |
| Rule Coverage | 191/300 = 63.33 % |
| Metrics | Results % |
|---|---|
| Response Selection Accuracy | 252/300 = 83.33 % |
| Diversity of Responses | qualitative assessment of the chatbot's ability to provide varied and appropriate responses is required. |
| Metrics | Metric | Results % |
|---|---|---|
| Response Quality | BLEU (0-1) | 0.7812 = 78.12 % |
| Coherence and Relevance | Manual (1-5) | 75.42 % |
| Grammar and Language Fluency | Manual (1-5) | 87.23% |
| User Experience | Rule-based (out of 10) |
Retrieval-Based (out of 10) |
Generative-based (out of 10) |
|---|---|---|---|
| User Satisfaction | 7.29 | 7.53 | 6.78 |
| Usefulness/Effectiveness | 7.66 | 7.11 | 7.45 |
| User Engagement | 8.33 | 7.56 | 8.10 |
| Human-like Conversation | 5.79 | 6.22 | 7.24 |
| Tasks | Query’s Category | Rule-based | Retrieval-based | Generative-based |
|---|---|---|---|---|
| Task1 | Admissions and Registrations | 87.33 | 82.13% | 81.21% |
| Task2 | Academic Affairs | 78.18% | 84.67% | 77.57% |
| Task3 | Financial Matters | 89.56% | 82.33% | 79.77% |
| Task4 | Student Services | 55.51% | 71.18% | 78.67% |
| Task5 | Campus Life | 84.35% | 91.44% | 83.09% |
| Task6 | Greeting and General Information | 82.57% | 76.13% | 97.89% |
| Task7 | Cross-domain Queries | 44.21% | 51.16% | 73.12 |
| Response type | Description |
|---|---|
| True Positive | refers to the number of instances where the chatbot correctly predicts a positive response. |
| False Positive | This refers to the number of instances where the chatbot incorrectly predicts a positive response. |
| True Negative | refers to the number of instances where the chatbot correctly predicts a negative response. |
| False Negative | refers to the number of instances where the chatbot incorrectly predicts a negative response. |
| Response types | Rule-based | Retrieval-Based | Generative-based |
|---|---|---|---|
| True Positive | 302 | 356 | 323 |
| False Positive | 132 | 98 | 111 |
| False Negative | 73 | 47 | 57 |
| True Negative | 11 | 17 | 25 |
| Accuracy | 76.11% | 87.64% | 83.78 % |
| Precision | 0.70 | 0.78 | 0.74 |
| Recall | 0.81 | 0.88 | 0.85 |
| F1-Measure | 0.62 | 0.67 | 0.65 |
| Tasks | Hybrid model |
|---|---|
| True Positive | 477 |
| False Positive | 7 |
| False Negative | 13 |
| True Negative | 21 |
| Accuracy | 96.13% |
| Precision | 0.9855 |
| Recall | 0.9734 |
| F1-Measure | 0.9749 |
| Reference | Objective | Dataset used | Dataset Size | Model type | Evaluation Approach | Accuracy obtained |
|---|---|---|---|---|---|---|
| [34] | administrative and learning support | Ho Chi Minh City University of Science, Vietnam (FIT-HCMUS) | 1560 user messages | Retrieval-based |
precision, recall measures, F-score | 82.33% |
| [51] | intelligent customer service system for university admissions | encyclopedia question-and-answer, Tamkang University Dataset | 1.5 million pre-filtered questions and answers, 210 questions and answers about Tamkang University | generative-based |
BLEU, questionnaire-based evaluation | 80.02% |
| [52] | Chatbot for academic calendar, schedule, and grade | 1400 sentences | Retrieval-based | Manual evaluation | 85.5% | |
| [53] | support the admission process | College-related dataset | 8,500 questions and 6,500 answers. | Retrieval-based | Precision, Recall, and F-score | 89.0% |
| [54] | addressing questions about new student admittance. | University-related dataset | Retrieval-based | precision, Recall, and F1-score | 90.62 % | |
| [31] | Addressing FAQ about University | Dataset about University of Computer Studies, Yangon, Myanmar | 5000 question-answer pairs | Generative-based | BLEU | 82.0% |
| [32] | Chatbot to answer queries related to Telkom University admission | Telkom University dataset | 2,903 Conversations | Generative-based | BLEU | 89.36% |
| [3] | Addressing queries about admission for new students, tuition fees, IELTS test, scholarships, or deadlines. | National Economics University dataset | 1500 examples | Retrieval-based | F1-score, accuracy, and precision | 95.1% |
| [55] | Addressing FAQ, student support | National University of Science & Technology (NUST), Islamabad, Pakistan dataset | 1000 examples | Retrieval-based | Precision, fl-score, and accuracy | 76.8% |
| Proposed Hybrid Model | Proposing hybrid educational administrative chatbot | Sakary University Dataset | 2253 Question-Answer pairs | Hybrid approach | Accuracy, Precision, Recall, F-1 measure | 97.57% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).


