Deep Learning Based Amharic Chatbot for FAQs in Universities
Summary
The paper tackles a practical gap: Ethiopian university students repeatedly ask staff the same questions, and no chatbot existed for answering such FAQs in Amharic, a morphologically rich, low-resource language. The authors framed the work as Design Science Research, following the six-step process of Peffers et al. They gathered real student questions through a questionnaire at Mekelle University and Aksum University, translated and corrected them into Amharic with Google Translator and native experts, and organized them into 60 intent topics in a JSON file. Input text is tokenized, normalized to handle Amharic Fidel character variants, cleaned of stop words, and stemmed. Three intent classifiers were compared: SVM, Multinomial Naïve Bayes, and a deep neural network built with TensorFlow, Keras and NLTK. The neural model performed best, at 91.55% accuracy. The bot was connected to Facebook Messenger and hosted on Heroku for round-the-clock use. The work matters as an early end-to-end, openly released Amharic FAQ assistant and a template for other under-resourced languages.
Key points
- The dataset came from questionnaires filled in by 80 engineering students at two universities (Mekelle and Aksum), chosen by purposive sampling, and was reduced to 60 topics.
- Each intent in the JSON file stores a tag, sample patterns, candidate responses (one is picked at random), a context set and a context filter.
- The best model, a deep neural network trained with the Adam optimizer and a SoftMax output, reached 91.55% accuracy and 0.3548 validation loss, beating the SVM and Multinomial Naïve Bayes baselines.
- Preprocessing targets Amharic-specific issues: Fidel (script) variation, morphological variation and lexical gaps.
- The bot was deployed via Facebook Messenger on Heroku. The dataset, model and code are released on GitHub, and integrating an Amharic WordNet is proposed as future work.
Interesting ideas
- I1. Intents carry a "context set" that changes the dialogue state and a "context filter" that limits which intents can match in that state, giving a cheap, inspectable way to model conversation flow. — For Mova (frames): A comparable explicit state flag could restrict which speech-act or frame readings are allowed given the preceding turn, keeping the disambiguation choice traceable.
- I2. Script normalization collapses interchangeable Fidel characters before classification, so surface spelling variants do not split the vocabulary. — For Mova (tokens): A transparent normalization table for English spelling variants (British vs. American, hyphenation) placed before lemmatization would help lemmas and lookups line up, with each mapping logged for explanation.
- I3. The authors gathered evaluation material by asking real users what they actually ask, rather than inventing questions. — For Mova (answer): Test sets for the QA readers could be seeded from questions collected from real learners, giving a more realistic difficulty profile than synthetic items.
- I4. Classic linear classifiers (SVM, Naïve Bayes) were kept as baselines next to the neural model on the same data. — For Mova (learn): Every new learned component could be reported against a simple, cheap baseline on identical splits, which shows how much the added complexity really buys.
- I5. The authors see a WordNet as the remedy for lexical gaps, where users phrase a question with synonyms absent from the training patterns. — For Mova (world): WordNet synonym and hypernym links in the compiled ontology could map unseen wording onto known concepts, so matching relies on meaning rather than surface overlap.
Cite
@misc{hailu2024deep,
title = {{Deep Learning Based Amharic Chatbot for FAQs in Universities}},
author = {Hailu, Goitom Ybrah and Hailu, Hadush and Welay, Shishay},
year = {2024},
doi = {10.48550/arxiv.2402.01720},
eprint = {2402.01720},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2402.01720}
}References
- A. Ali, Z. Memon, A. H. Jalbani, and M. Shaikh, “Multi-agent communication system with chatbots,” Mehran University Research Journal of Engineering and Technology, vol. 37, no. 3, pp. 663–672, 2018. find
- A. Khanna, B. Pandey, K. Vashishta, K. Kalia, B. Pradeepkumar, and T. Das, “A study of today’s A.I. through chatbots and rediscovery of machine intelligence,” International Journal of u- and e-Service, Science and Technology, vol. 8, no. 7, pp. 277–284, 2015. find
- D. Khurana, A. Koli, K. Khatter, and S. Singh, “Natural language processing: State of the art, current trends and challenges,” Manav Rachna International University, 2017. find
- B. A. Shawar and E. Atwell, “Chatbots: Are they really useful?” ResearchGate, 2007. find
- B. A. Shawar, E. Atwell, and A. Roberts, “FAQchat as an information retrieval system,” in Proceedings of the Human Language Technologies Conference, 2005. find
- B. R. Ranoliya, N. Raghuwanshi, and S. Singh, “Chatbot for university related FAQs,” in Proceedings of the IEEE International Conference on Advances in Computing, Communications and Informatics, 2017, pp. 1525–1530. find
- S. Nair, S. AD, S. SP, and T. Sinha, “Implementation of FAQ pages using chatbot,” International Journal of Computer Science and Information Security, vol. 16, no. 6, pp. 187–194, 2018. find
- R. Singh, M. Paste, N. Shinde, H. Patel, and N. Mishra, “Chatbot using TensorFlow for small businesses,” in Second International Conference on Inventive Communication and Computational Technologies (ICICCT), 2018, pp. 1614–1619. find
- B. A. Shawar and E. Atwell, “Arabic question-answering via instance based learning from an FAQ corpus,” in CL2009 International Conference on Corpus Linguistics, 2009. find
- D. A. Ali and N. Habash, “Botta: An Arabic dialect chatbot,” in International Conference on Computational Linguistics, 2016, pp. 208– 212. find
- S. M. Yimam, “TETEYEQ: Amharic question answering system for factoid questions,” Master’s thesis, Addis Ababa University, 2009. find
- D. A. Zeleke, “LETEYEQ: A web based Amharic question answering system for factoid questions using machine learning approach,” Master’s thesis, Addis Ababa University, 2013. find
- T. Abedissa, “Amharic question answering for definitional, biographical and description questions,” Master’s thesis, Addis Ababa University, 2013. find
- A. R. Hevner, S. Ram, S. T. March, and J. Park, “Design science in information systems research,” MIS Quarterly, vol. 10, no. 2, pp. 199– 217, 2004. find
- K. Peffers, T. Tuure, and C. Samir, “A design science research methodology for information systems research,” Journal of Management Information Systems, vol. 24, no. 3, pp. 45–78, 2007. find
- D. P. Kingma and J. L. Ba, “ADAM: A method for stochastic optimization,” in International Conference on Learning Representations (ICLR), 2015, pp. 1–15. V. C ONTRIBUTION AND F UTURE W ORK find
This page in Markdown → https://md.research.elamur.ai/free/en/papers/hailu-2024-deep-learning-based-amharic-chatbot/