Abstract
Large Language Models (LLMs) frequently underperform on complex tasks in low-resource languages like Marathi due to a lack of representative training data. This paper introduces Chain-of-Translation Prompting (CoTR), a technique that instructs the model to translate input into a high-resource language (English) before performing the target task—all within a single prompt. Our results demonstrate that CoTR significantly boosts accuracy and reasoning capabilities, particularly for smaller models, by leveraging the model's internal translation proficiency to access its superior English-centric reasoning.
Introduction
Despite the "multilingual" capabilities of modern LLMs, a significant performance gap persists between high-resource languages (e.g., English) and low-resource ones. Marathi, for instance, has over 83 million speakers but a relatively small digital footprint, leading to data scarcity during model training. Consequently, LLMs often struggle with complex syntax and cultural nuances in these languages.
The core challenge is that LLMs are primarily trained on English-centric corpora, making their "internal logic" most accessible when processing English. The authors propose bridging this "digital divide" by utilizing the one area where multilingual LLMs remain robust for low-resource languages: translation.
Methodology
The proposed Chain-of-Translation Prompting (CoTR) is inspired by "Chain-of-Thought" prompting. It restructures the model interaction into a multi-step reasoning process contained within a single prompt.
The CoTR workflow typically follows three steps:
- Translate: The model translates the non-English input context into English.
- Execute: The model performs the target NLP task (e.g., classification or generation) on the English translation.
- Output: The model provides the final answer, optionally translating it back into the original language.
The researchers compared CoTR against Direct Prompting and a Google Translate + Prompting baseline. For generative tasks, they further explored "Half Translation" (translating only the output) versus "Full Translation" (translating both input and output).
Experimental Setup
The study focused on Marathi using several established benchmarks:
- MahaSent-GT: 14,000 annotated Marathi tweets for sentiment analysis.
- MahaHate: ~37,500 Marathi sentences for hate speech classification.
- MahaNews-SHC: ~54,000 news articles for subject categorization.
- CSEBUETNLP XLSum: Used to evaluate Marathi news headline generation.
Key Insights
- Translation as a Reasoning Bridge: While a model's reasoning in Marathi may be weak, its ability to map Marathi to English is often robust due to the prevalence of parallel translation data in pre-training.
- The English-Centric Advantage: Moving the "thinking" phase into English allows the model to access superior reasoning capabilities developed during its extensive English-language training.
- Support for Smaller Models: CoTR is particularly beneficial for smaller models (e.g., Llama 3.1 8B), which have higher error rates in direct prompting compared to larger models like GPT-4o.
- Nuance Preservation: Internal translation (CoTR) often captures nuances better than external pre-processing tools like Google Translate.
Results and Discussion
CoTR showed consistent improvements across almost all models (GPT-4o, GPT-4o mini, Llama 3.1, and Gemma 2) and tasks.
Key findings include:
- Classification Accuracy: For Llama 3.1 8B, the average error rate dropped from 29.13% (Direct) to 23.84% (CoTR).
- Hate Speech Detection: GPT-4o mini’s error rate dropped by nearly 5% using CoTR.
- Headline Generation: In the XLSum task, GPT-4o’s ROUGE-L score increased from 33.3 (Direct) to 49.0 (Full Translation).
- Model Ranking: The study established a performance hierarchy: GPT-4o > GPT-4o mini > Llama 3.1 405B > Gemma 2 9B > Llama 3.1 8B.
Limitations and Future Work
While effective, CoTR increases token consumption, making it slower and more expensive than direct prompting. Additionally, the "Gemma Exception"—where Gemma 2 9B saw a slight performance dip—suggests that CoTR's effectiveness depends on a model's specific pre-training data. Future work will explore combining CoTR with Chain-of-Thought (CoT) reasoning and expanding to other underrepresented Indic languages.
Summary updated