TL;DR
Chain-of-Translation Prompting (CoTR) is a simple yet powerful technique that boosts LLM performance in low-resource languages by instructing the model to translate input text into English before performing the target task—all within a single prompt. By leveraging the superior reasoning capabilities models possess in high-resource languages, CoTR significantly reduces error rates in complex tasks like hate speech detection and sentiment analysis for languages like Marathi.
Introduction: The Challenge of Low-Resource Languages
While Large Language Models (LLMs) are technically "multilingual," their performance is heavily skewed toward high-resource languages like English, which dominate their training data. For low-resource languages (LRLs) such as Marathi, models often struggle with complex syntax, cultural nuances, and a lack of high-quality instruction-tuning data.
Directly prompting a model in an LRL often leads to subpar results because the model's internal "world model" and reasoning capabilities are most robust in English. The authors aim to bridge this gap by using the model’s own translation abilities to move the "thinking" process into a language the model understands better.
Methodology: Chain-of-Translation Prompting
The authors introduce Chain-of-Translation Prompting (CoTR). Unlike standard prompting, which asks the model to process LRL text directly, CoTR restructures the prompt into a multi-step reasoning chain encapsulated in a single model input.
The CoTR prompt follows these steps:
- Translate: The model is first instructed to translate the LRL input context into English.
- Process: The model performs the specific NLP task (e.g., classification or generation) on the translated English text.
- Output: The model provides the final answer, with the option to translate it back into the original LRL if required.
This approach allows the model to maintain context and utilize its internal cross-lingual representations. The researchers compared CoTR against "Direct Prompting" and a "Google Translate + Prompting" baseline, where text is translated by an external tool before being fed to the LLM.
Experimental Setup
The study focused on Marathi, an Indo-Aryan language with 83 million speakers but limited digital resources. They utilized four primary datasets to evaluate performance across different task types:
- MahaSent-GT: Sentiment analysis (Positive, Negative, Neutral).
- MahaHate: Hate speech classification (Hate vs. Non-hate).
- MahaNews-SHC: Subject categorization (e.g., International, Technology, Health).
- CSEBUETNLP XLSum: A generative task—creating news headlines from long-form articles.
Analysis and Insights
- The English-Centric Backbone: The core insight is that LLMs are often better at translating LRLs than they are at reasoning in them. By forcing the model to translate first, the process bypasses the linguistic bottleneck of the LRL and taps into the model's more robust English-language reasoning capabilities.
- Internal vs. External Translation: CoTR often outperformed the Google Translate baseline. This suggests that the LLM’s internal translation process captures nuances and task-relevant context better than a generic, external translation engine.
- Complexity and Error Correction: The gains were most pronounced in "complex" tasks like hate speech detection, where understanding intent and nuance is critical.
Key Results
The researchers benchmarked several state-of-the-art models, including GPT-4o, Llama 3.1 (8B and 405B), and Gemma 2 9B.
- Error Rate Reduction: In classification tasks, CoTR consistently reduced error rates. For example, on the Llama 3.1 8B model, the average error rate dropped from 29.13% (Standard) to 23.84% (CoTR).
- Hate Speech Gains: The most significant improvements were seen in hate speech detection, where GPT-4o Mini’s error rate dropped by nearly 5% using CoTR.
- Generative Quality: For headline generation, the ROUGE-L scores improved drastically. GPT-4o’s score jumped from 33.3 (without translation) to 49 (with full translation).
- Model Ranking: GPT-4o emerged as the top performer, followed by GPT-4o Mini and Llama 3.1 405B.
Limitations and Future Work
Despite its success, CoTR has trade-offs. Because it requires the model to output a translation before the final answer, it consumes more tokens, increasing both financial cost and latency. Additionally, the technique's effectiveness may depend on the specific model; for instance, the Gemma 2 9B model showed a slight increase in error rate with CoTR in some tasks.
Future directions include combining CoTR with Chain-of-Thought (CoT) prompting—asking the model to "translate, then think step-by-step, then answer"—and expanding the research to other low-resource Indic languages.
Summary updated