BELA: Bot for English Language Acquisition
Paper · 2022 · Muskan Mahajan
Summary
The paper describes BELA, a chatbot that acts as an English mentor for underprivileged Hindi-speaking students at the Indian non-profit Udayan Care, where volunteer mentors were in short supply. Users can write in English, Hindi or Hinglish. Non-English input goes through three steps: language identification with XLM-RoBERTa, transliteration into Devanagari, and Hindi–English machine translation from Salesken.ai. A BERT-based binary mode classifier then routes each message. Learning-related queries go to the retrieval-based Tutor Bot, which uses a BERT intent classifier with ten intents and per-intent helper functions. All other messages go to the Buddy Bot, a GPT-3 chit-chat partner restricted by its prompt to four topics. To personalise content, the author trained a TF-IDF CEFR level predictor and used it to label scraped reading passages and TED talk transcripts by difficulty. Both classifiers score above 98% test accuracy on small, partly augmented datasets. The work shows how off-the-shelf components can be assembled into a low-cost language tutor for a code-switching learner population. It also documents concrete failure modes.
Key points
- The mode classifier was trained on roughly 3040/380/380 utterances and reached 0.998 train and 0.987 test accuracy. Its negative examples were sampled from subreddits such as r/Food, r/Movies and r/AskReddit.
- The intent classifier (roughly 1520/190/190 utterances) reached 0.997 train and 0.995 test accuracy. It covers ten intents, including getWordMeaning, getTranslation, getCorrection and getAdvice. Its data was enlarged with back translation, Parrot Paraphraser and deliberately misspelled utterances.
- The CEFR predictor was trained on Adam Montgomerie's dataset of 1500 texts across 6 levels. It beats Montgomerie's baseline by 27.6% accuracy.
- The predictor was used to build levelled resources: cefr-levelled-passages.csv (from an ESL site) and cefr-levelled-tedtalks.csv (from the TED – Ultimate Dataset). A levelled word list was scraped from English Vocabulary Profile.
- Other components:
- Word meanings and synonyms/antonyms come from the Oxford API.
- Pronunciation uses Google TTS with the "co.in" domain to produce an Indian accent.
- Reading-comprehension MCQs are generated by GPT-3.
- Known failure: the brand name "Jio" in a Hinglish query was translated as the Hindi verb for "live".
Interesting ideas
- I1. A coarse in-scope/out-of-scope gate runs before the fine-grained intent classifier, so anything off-task falls back to a separate handler instead of being forced into the wrong intent.
- I2. Negative training examples were cheaply harvested from topically unrelated public forums rather than hand-written.
- I3. Training data was augmented with the spelling errors learners typically make, making the classifier tolerant of noisy input.
- I4. A small difficulty predictor was trained once and then used to auto-label large unlabelled collections (passages, video transcripts) into a levelled resource.
- I5. The pipeline translated a brand name as an ordinary Hindi word, showing that named entities must be protected before translation.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (answer): A reader could first decide whether a question fits a supported task (test item, word problem, fable QA) and otherwise give an explicit, explained "outside my scope" path.
- I2 (learn): Unrelated text from clearly different genres could serve as negative controls when evaluating whether a frame or answer module fires only on the inputs it should.
- I3 (tokens): The tagger and lemmatizer could be stress-tested and trained on synthetically misspelled tokens so learner-style text still yields correct lemmas for the UD tree.
- I4 (back): Generated text could be scored by a similar level estimator so the generator can target, and verify, a requested reading difficulty.
- I5 (back): Translation through the meta-world should lock entities identified in the world of the text as names, so they pass through unchanged instead of being treated as lexical items.
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 works
🧭 Topics 2Research subjects and languages the work is about.English · 2,263 worksPsycholinguistics & language acquisition · 102 works
Cite
Cite as Muskan Mahajan. 2022. BELA: Bot for English Language Acquisition. Proceedings of the Second Workshop on NLP for Positive Impact (NLP4PI).
@inproceedings{mahajan2022bela,
title = {{BELA: Bot for English Language Acquisition}},
author = {Muskan Mahajan},
booktitle = {Proceedings of the Second Workshop on NLP for Positive Impact (NLP4PI)},
year = {2022},
doi = {10.18653/v1/2022.nlp4pi-1.17},
url = {https://doi.org/10.18653/v1/2022.nlp4pi-1.17}
}References
- The British Council. 2001. Top down. find
- Nicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom B. Brown, Dawn Song, Úlfar Erlingsson, Alina Oprea, and Colin Raffel. 2020. Extracting training data from large language models. CoRR, abs/2012.07805. ↗
- Prithiviraj Damodaran. 2021. Parrot: Paraphrase generation for nlu. find
- B.S. Gomathi. 2014. Enriching the skills of rural students with effective methods of teaching english language using lsrw skills. In International Journal of Education and Information Studies, pages 65–69. find
- Jasmin Hafiz. 2021. https://www.milestoneloc.com/guide-to-hinglish-language/. ↗
- Haptik.AI. 2021a. Linguist pro - building multilingual chatbots for business. find
- Haptik.AI. 2021b. The next big thing for multilingual chatbots: Hinglish. find
- Yu Li, Chun-Yen Chen, Dian Yu, Sam Davidson, Ryan Hou, Xun Yuan, Yinghua Tan, Derek Pham, and Zhou Yu. 2022. Using chatbots to teach languages. In Proceedings of the Ninth ACM Conference on Learning @ Scale, L@S ’22, page 451–455, New York, NY, USA. Association for Computing Machinery. find
- Adam Montgomerie. 2021. Attempting to predict the cefr level of english texts. find
- Sherry Ruan, Liwei Jiang, Qianyao Xu, Zhiyuan Liu, Glenn M Davis, Emma Brunskill, and James A. Landay. 2021. Englishbot: An ai-powered conversational system for second language learning. In 26th International Conference on Intelligent User Interfaces, IUI ’21, page 434–444, New York, NY, USA. Association for Computing Machinery. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/mahajan-2022-bela-bot-english-language-acquisition/