TL;DR
The MAPS (Multi-Aspect Prompting and Selection) framework enables Large Language Models (LLMs) to mimic human translation strategies by first analyzing source text for keywords, topics, and similar examples. This multi-step "preparatory" approach significantly improves translation quality across 11 language pairs, effectively reducing common errors like hallucinations and stylistic awkwardness without requiring additional training data.
What Problem Does This Paper Address?
Traditional Neural Machine Translation (NMT) typically operates as a direct "black box" mapping from a source sentence to a target sentence. While efficient, this lacks the nuanced preparatory steps taken by professional human translators, who often analyze keywords, identify the specific topic/domain, and look for similar reference examples to ensure accuracy and stylistic consistency.
LLMs, despite their general intelligence, often struggle with translation-specific issues like hallucinations (generating nonsensical or unfaithful content) and ambiguity when prompted directly. The authors investigate whether LLMs can be guided to emulate human-like strategies to overcome these hurdles and achieve higher-quality, more reliable translations.
Methods
The authors propose the MAPS framework, which breaks the translation process into three distinct stages:
- Knowledge Mining: Instead of translating immediately, the LLM is prompted to extract three types of "background knowledge" from the source sentence:
- Keywords: Essential terms and their likely translations.
- Topics: The specific subject matter (e.g., "e-commerce" vs. "political news").
- Demonstrations: Similar example sentence pairs generated by the LLM itself.
- Knowledge Integration: The LLM generates multiple translation candidates, each guided by one of the extracted knowledge aspects.
- Knowledge Selection: Because LLM-generated knowledge can sometimes be noisy or unhelpful, a selection mechanism—either an external Quality Estimation (QE) model or the LLM itself—is used to pick the best final translation from the candidate pool.
This approach essentially treats the LLM as its own "datastore," eliciting internal knowledge to provide context that a standard zero-shot prompt lacks.
Datasets
The study evaluates MAPS using the WMT22 test set to avoid potential data leakage (as older sets might have been included in the LLMs' training data). The evaluation covers 11 translation directions across various resource levels:
- High-resource: English $\Leftrightarrow$ Chinese, English $\Leftrightarrow$ German, English $\Leftrightarrow$ Japanese.
- Medium-resource: German $\Leftrightarrow$ French.
- Low-resource: Ukrainian $\Leftrightarrow$ Czech, English $\Rightarrow$ Croatian.
The models tested include OpenAI's text-davinci-003 and open-source models like Alpaca-7B and Vicuna-7B.
Key Insights and Ideas
-
Human Emulation Works: Mimicking human preparatory steps (Figure 1) allows LLMs to "think" before they "speak," leading to more faithful translations. Difference between direct machine mapping and human preparatory steps.
-
Complementary Knowledge: Keywords, topics, and demonstrations are not redundant; they help in different ways. Keywords ensure terminology consistency, while topics help set the right register and tone.
- The "Noise" Problem: LLMs aren't perfect at self-correction. Sometimes the "mined" knowledge is incorrect. The Selection step is critical because it filters out these "noisy" prompts that would otherwise degrade the translation.
- Redistributing Probability: By providing context in the prompt, MAPS helps the LLM redistribute its token prediction probabilities, making it less likely to get "stuck" on a high-probability but incorrect (hallucinatory) token.
Key Results
- Superior Performance: MAPS consistently outperformed standard zero-shot and even 5-shot prompting baselines. Using
text-davinci-003, MAPS surpassed the best WMT22 competition submissions in 5 out of 11 directions. - Error Reduction: Human evaluation using Multidimensional Quality Metrics (MQM) showed that MAPS significantly reduced mistranslations, awkward styles, and omissions.
-
Hallucination Mitigation: In English-to-Chinese tasks, MAPS reduced the hallucination rate for the Alpaca model from 29.4% to 16.4%. Ratio of hallucinations across different models and methods.
-
Ambiguity Resolution: On specialized lexical ambiguity test sets, MAPS achieved higher accuracy in correctly translating difficult, context-dependent terms compared to simple reranking methods.
Limitations and Future Work
- Inference Latency: Because MAPS requires multiple sequential LLM calls (mining, then multiple integration steps), it is significantly slower than direct translation. The authors suggest parallel processing can mitigate this, but it remains computationally more expensive.
- Knowledge Scope: The current framework focuses on three specific aspects. Future work could explore other human-like strategies, such as cultural adaptation or document-level context.
- Integration into Training: While MAPS is a prompting strategy, the authors suggest that these human-like strategies could be baked into models during the instruction-tuning phase to make them inherently better translators.
Summary updated