Development of a Chatbot Using Machine Learning Algorithms to Automate Educational Processes
Разработка чат-бота с использованием алгоритмов машинного обучения для автоматизации образовательных процессов
2021-01-01
SCID: 54.1/w3azd5pm
Discuss with AI
Educational chatbotsIntent classificationLevenshtein distanceMachine learningTelegram messenger
Figures from the paper
Abstract (AI)
The use of chatbots in educational processes is relevant, where point communication with each student on common issues is required. A chatbot with artificial intelligence has been developed to automate educational processes. The cross-platform Telegram messenger is used to interact with the user. To increase the efficiency of creating a dataset, a graphical application interface in Python has been developed. Using libraries for creating graphical interfaces based on the Qt5 platform allows you to quickly navigate the intents, requests, responses that are already in the dataset. At the stage of developing the model structure, various vectorizers with different parameters were tested. To determine the intentions of users, a machine learning model was developed and implemented. The accuracy of the classification of user requests after training the model was 97%. An additionally developed algorithm based on the Levenshtein distance increased the classification accuracy. If the user's intent is not defined, a “stub” is triggered: “I did not understand the meaning of your question. Please rephrase it.” Besides, the chatbot implements voice message recognition. As a result of the chatbot's interaction with users, statistics on requests are collected and all events occurring in the program are recorded. All information is presented graphically. After authentication, the user gets access to all statistics and can send messages on behalf of the bot, so the teacher can give a detailed answer. The architecture of the chatbot model allows it to be used on datasets of any educational process.
Key Findings
1
A Levenshtein-distance algorithm further improved classification accuracy, while an explicit fallback response handles unrecognized intents.
2
A Python/Qt5 graphical interface was created to accelerate dataset construction and navigation across intents, requests, and responses.
3
A cross-platform Telegram chatbot was developed to automate common educational-process interactions using machine-learning-based user-intent classification.
4
Testing different vectorizers supported development of the classification model, which achieved 97% accuracy on user-request intent classification after training.
5
The chatbot recognizes voice messages, records interaction events and request statistics, visualizes them, and lets authenticated teachers respond on behalf of the bot.
6
The model architecture is designed for reuse with datasets representing different educational processes.
Research Object
AI chatbot for automating educational processes and communicating with students via Telegram
Research Subject
User-intent classification and interaction-performance features, including request-recognition accuracy, voice-message recognition, fallback handling, and educational-process request statistics
Publication Details
Publication Date
2021-01-01
Journal
Publisher
ISSN
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest