[Paper Review] Searching for Needles in a Haystack: On the Role of Incidental Bilingualism in PaLM's Translation Capability
This paper investigates how incidental bilingualism—unintentional exposure to translation pairs during pretraining—explains the zero-shot translation capabilities of large language models, using PaLM as a case study. It reveals that PaLM was exposed to over 30 million translation pairs across 44 languages, and that mining these incidental signals improves zero-shot translation quality by 14 chrF points on average, demonstrating that pretraining data composition significantly shapes model capabilities.
Large, multilingual language models exhibit surprisingly good zero- or few-shot machine translation capabilities, despite having never seen the intentionally-included translation examples provided to typical neural translation systems. We investigate the role of incidental bilingualism -- the unintentional consumption of bilingual signals, including translation examples -- in explaining the translation capabilities of large language models, taking the Pathways Language Model (PaLM) as a case study. We introduce a mixed-method approach to measure and understand incidental bilingualism at scale. We show that PaLM is exposed to over 30 million translation pairs across at least 44 languages. Furthermore, the amount of incidental bilingual content is highly correlated with the amount of monolingual in-language content for non-English languages. We relate incidental bilingual content to zero-shot prompts and show that it can be used to mine new prompts to improve PaLM's out-of-English zero-shot translation quality. Finally, in a series of small-scale ablations, we show that its presence has a substantial impact on translation capabilities, although this impact diminishes with model scale.
Motivation & Objective
- To investigate the origin of zero-shot translation capabilities in large language models like PaLM.
- To quantify the extent and nature of incidental bilingualism in PaLM’s training data.
- To assess how incidental bilingual content influences translation performance.
- To demonstrate that mining incidental translation pairs can improve zero-shot translation quality.
Proposed method
- Developed a mixed-method pipeline combining automated language tagging with qualitative analysis to detect bilingual content in PaLM’s training data.
- Used cross-lingual sentence embeddings (LABSE) and heuristic filters (e.g., token length, edit distance, language identification) to extract translation pairs from bilingual instances.
- Trained data-driven prompts from mined translation pairs and evaluated their impact on zero-shot translation via zero- and few-shot prompting.
- Conducted ablation studies on smaller PaLM variants (1B and 8B parameters) to isolate the effect of removing detected translation pairs on translation performance.
- Measured correlation between monolingual and bilingual content per language to assess data distribution patterns.
- Used FLORES-200 dataset splits for consistent evaluation of zero-shot and few-shot translation performance.
Experimental results
Research questions
- RQ1To what extent is incidental bilingualism present in PaLM’s pretraining data across multiple languages?
- RQ2How does the quantity of incidental bilingual content correlate with monolingual content in non-English languages?
- RQ3Can mining incidental translation pairs improve zero-shot translation performance in PaLM?
- RQ4What is the impact of removing incidental translation pairs on translation quality in smaller models?
- RQ5How does model scale moderate the influence of incidental bilingualism on translation performance?
Key findings
- PaLM was exposed to over 30 million translation pairs across at least 44 languages, with 0.34% of training instances containing at least one translation pair.
- The amount of monolingual content in a language strongly predicts the amount of incidental bilingual or translation content for that language.
- Using data-driven prompts mined from incidental translation pairs improved out-of-English zero-shot translation by an average of 14 chrF points.
- Ablating detected translation pairs reduced zero-shot BLEU scores by 7.4 points in 1B-parameter models, with a 5.9-point drop in 5-shot settings.
- The impact of incidental bilingualism on translation performance diminishes with model scale but remains significant, with residual gains of +2–3 BLEU in 8B-parameter models.
- No language studied was truly zero-shot for translation, as all contained detectable incidental translation signals.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.