Fumbling in Babel: An Investigation into ChatGPT's Language Identification Ability
Wei-Rui Chen, Ife Adebara, Khai Duy Doan, Qisheng Liao, Muhammad Abdul-Mageed
TL;DR
The study probes ChatGPT's language identification across Babel-670, revealing substantial gaps in coverage, particularly for African languages. It introduces two prompt paradigms (language names and language codes) and a postprocessing/ADA evaluation framework to assess zero- and few-shot LID under varied label-set conditions. GPT-4 generally outperforms GPT-3.5, but many languages still yield zero F1, and performance is strongly shaped by script distinctiveness and geographic distribution. The work highlights the need for expanding language support in LLMs and provides a benchmarked, analysis-driven path toward more inclusive multilingual NLP tools.
Abstract
ChatGPT has recently emerged as a powerful NLP tool that can carry out a variety of tasks. However, the range of languages ChatGPT can handle remains largely a mystery. To uncover which languages ChatGPT `knows', we investigate its language identification (LID) abilities. For this purpose, we compile Babel-670, a benchmark comprising 670 languages representing 24 language families spoken in five continents. Languages in Babel-670 run the gamut from the very high-resource to the very low-resource. We then study ChatGPT's (both GPT-3.5 and GPT-4) ability to (i) identify language names and language codes (ii) under zero- and few-shot conditions (iii) with and without provision of a label set. When compared to smaller finetuned LID tools, we find that ChatGPT lags behind. For example, it has poor performance on African languages. We conclude that current large language models would benefit from further development before they can sufficiently serve diverse communities.
