BenLLM-Eval: A Comprehensive Evaluation into the Potentials and Pitfalls of Large Language Models on Bengali NLP

Mohsinul Kabir, Mohammed Saidul Islam, Md Tahmid Rahman Laskar, Mir Tafseer Nayeem, M. Saiful Bari, Enamul Hoque

Abstract

Large Language Models (LLMs) have emerged as one of the most important breakthroughs in natural language processing (NLP) for their impressive skills in language generation and other language-specific tasks. Though LLMs have been evaluated in various tasks, mostly in English, they have not yet undergone thorough evaluation in under-resourced languages such as Bengali (Bangla). To this end, this paper introduces BenLLM-Eval, which consists of a comprehensive evaluation of LLMs to benchmark their performance in the low-resourced Bangla language. In this regard, we select various important and diverse Bangla NLP tasks, such as text summarization, question answering, paraphrasing, natural language inference, text classification, and sentiment analysis for zero-shot evaluation of popular LLMs, namely, ChatGPT, LLaMA-2, and Claude-2. Our experimental results demonstrate that while in some Bangla NLP tasks, zero-shot LLMs could achieve performance on par, or even better than current SOTA fine-tuned models; in most tasks, their performance is quite poor (with the performance of open-source LLMs like LLaMA-2 being significantly bad) in comparison to the current SOTA results. Therefore, it calls for further efforts to develop a better understanding of LLMs in low-resource languages like Bangla.

Introduction

Bengali is the sixth most spoken language globally, yet it remains categorized as a "modest-resourced" language in the field of Natural Language Processing (NLP). Historically, high performance in Bengali NLP has relied on specialized models like BanglaBERT or mT5, which require extensive task-specific fine-tuning on annotated datasets. The advent of Large Language Models (LLMs) like GPT-3.5 and Claude-2 has introduced the possibility of a "zero-shot" paradigm, where models perform tasks without explicit training on the target data. However, the efficacy of these models—trained predominantly on English—remains largely untested for Bengali.

This study introduces BenLLM-Eval, a rigorous benchmarking framework designed to evaluate the zero-shot capabilities of leading LLMs across seven diverse Bengali NLP tasks. By comparing these "generalist" models against state-of-the-art (SOTA) fine-tuned "specialists," we aim to identify the current boundaries of LLM utility for the Bengali language.

Methodology and Datasets

The evaluation focused on three prominent LLMs: GPT-3.5 (OpenAI), Claude-2 (Anthropic), and LLaMA-2-13b-chat (Meta). The researchers employed a zero-shot prompting strategy, providing the models with clear instructions in English to generate Bengali outputs. To ensure the integrity of the results, a "Task Contamination Analysis" was performed using membership inference techniques to detect if test data had been leaked into the models' training sets.

The benchmark utilizes eight established datasets covering tasks from summarization to sentiment analysis.

Overview of datasets, task types, and the specific prompts used for zero-shot evaluation in BenLLM-Eval.

Key Results and Comparative Analysis

The experimental results reveal a complex landscape where LLMs show flashes of brilliance but often fall short of specialized models.

Performance comparison of LLMs (GPT-3.5, LLaMA-2, Claude-2) against fine-tuned SOTA models across seven Bengali NLP tasks.

1. Sentiment Analysis and the GPT-3.5 Breakthrough

One of the most significant findings was in Sentiment Analysis. GPT-3.5 achieved a new SOTA on the IndicSentiment dataset with an accuracy of 90.20%, surpassing previous specialized models. This suggests that the high-level semantic understanding required for sentiment may translate well across languages in large-scale models.

2. The "Chatty" Nature of LLMs in QA

In Question Answering (SQuAD_Bangla), Claude-2 and GPT-3.5 achieved competitive F1 scores (~79), indicating they successfully identified the correct information. However, their "Exact Match" (EM) scores were significantly lower than fine-tuned models. This discrepancy arises because LLMs tend to be conversational, providing full-sentence answers rather than the concise spans required by traditional benchmarks.

3. Summarization and Fine-Tuning Dominance

In text summarization (XL-Sum), the fine-tuned mT5 model remains the clear leader. LLMs often struggled with length constraints; for instance, GPT-3.5 frequently failed to adhere to "one-sentence" limits, often including superfluous details that lowered its ROUGE scores.

4. The Open-Source Performance Gap

A stark contrast was observed between closed-source models and open-source alternatives. LLaMA-2-13b-chat performed poorly across almost all tasks, often suffering from "English Hallucination"—generating summaries or answers in English despite being prompted for Bengali.

Critical Challenges

  • The Neutral Logic Gap: In Natural Language Inference (BNLI), LLMs struggled to identify "Neutral" relationships, showing a bias toward binary "Entailment" or "Contradiction" classifications.
  • Phonetic and Transliteration Hurdles: Transliteration remains a major weakness. LLMs struggle with the phonetic nuances of converting Romanized Bengali to native script, particularly in code-mixed scenarios.
  • Data Contamination: Evidence suggests that some of GPT-3.5's success in paraphrasing may be due to memorization, as it was able to reproduce exact matches from the test set.

Conclusion

While LLMs like GPT-3.5 and Claude-2 demonstrate impressive zero-shot potential—even setting new benchmarks in sentiment analysis—they are not yet a universal replacement for specialized, fine-tuned models in Bengali NLP. The significant performance gap in open-source models and the tendency for English hallucinations highlight the need for further research into training LLMs on more diverse, non-English corpora. For now, specialized models remain essential for high-precision tasks in modest-resourced languages like Bengali.

Summary updated

BibTeX
@inproceedings{kabir2024benllm,
  author = {Mohsinul Kabir and Mohammed Saidul Islam and Md Tahmid Rahman Laskar and Mir Tafseer Nayeem and M. Saiful Bari and Enamul Hoque},
  title = {{BenLLM-Eval: A Comprehensive Evaluation into the Potentials and Pitfalls of Large Language Models on Bengali NLP}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=t5JwWipbTG},
}
Figure