arXiv:2611.09785cs.CLNov 2026

Manuscript Offprint

arXiv:2611.09785

Are These Programmers Ripe Enough to Eat? Evaluating How LLMs Handle Lexical Knowledge Conflicts in Translation

Dongxu Wu, Sara Court, Micha Elsner

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

External lexical resources can help large language models (LLMs) translate texts in low-resource languages and specialized domains, but these resources may conflict with models' prior lexical knowledge. To isolate this conflict, we construct a controlled Mandarin-to-English translation task in which familiar source words are assigned new meanings within and across semantic categories. We treat these prompt-supplied meanings as contextual knowledge (CK) and systematically evaluate the effects of word frequency, sentence context, and prompt framing on the translated outputs. Across nine models, CK reliance is greater for less frequent source words and in sentence contexts that support the supplied meanings. Prompt framing can reduce CK reliance, but seven of nine models favor CK even when explicitly instructed to ignore the supplied meanings. Within model families, larger models are more likely than smaller models to utilize CK in their outputs. Three follow-up experiments further show that modal weakening lowers CK reliance, the effect of repetition depends on prompt layout, and the effect of reasoning varies across models. Overall, our controlled study reveals how CK reliance varies across conditions and models, motivating new methods to detect and evaluate lexical conflicts and guide models' lexical choices in LLM-based translation. 1^{1}

1 Introduction

LLM-based machine translation increasingly uses dictionaries and other external lexical resources to supplement models' lexical knowledge, particularly for low-resource languages (Ghazvininejad et al., 2023; Lu et al., 2025) and specialized domains (Bogoychev and Chen, 2023; Li et al., 2025a). However, some of the words covered by these resources may already be familiar to the

Figure

Figure 1: Schematic illustration of lexical conflicts in Mandarin-to-English translation. The prompt assigns the new meaning 'apple' to the Mandarin word 码农 mǎnóng 'programmer'. The model is then asked to translate sentences whose contexts favor either the familiar meaning or the new meaning.

model, and a supplied definition may conflict with the meaning the model learned during pretraining. This conflict may arise because the supplied definition is incorrect, because the model learned an incorrect or incomplete meaning, or because both meanings are valid, with the appropriate choice depending on the language variety, domain, or task context. We refer to this mismatch as lexical conflict between parametric knowledge (PK), the lexical knowledge encoded in the model's parameters, and contextual knowledge (CK), the word meanings supplied in the prompt.

Previous studies have documented lexical conflict as a contributor to errors in real translation settings (Huang et al., 2024; Court and Elsner, 2024; Merx et al., 2025). However, multiple factors vary

1^{1}All data and code are available at https://anonymous.4open.science/r/lexical-conflict.

together in real translation data, making their individual effects difficult to separate, and resource scarcity further limits experimental manipulation in low-resource languages (Barua et al., 2024).

We therefore take inspiration from work that uses carefully controlled synthetic data to study knowledge conflicts in question answering (Longpre et al., 2021) and sentence completion (Shi et al., 2024). Using Mandarin-to-English translation as a high-resource test case, our stimuli assign new English meanings to familiar Mandarin nouns drawn from five everyday semantic categories. For example, we redefine the word 码农 mǎnóng ‘programmer’ to mean ‘apple’ (Figure 1). The language pair and category set are deliberately chosen to reduce the risk that limited language proficiency or a lack of specialized domain knowledge will cause translation errors even without the new definitions, obscuring the effects of our manipulations. We examine three factors that often vary together in actual translation settings. First, we use corpus word frequency as a proxy for models’ familiarity with Mandarin words and their conventional English translations, predicting lower CK reliance for more frequent words because of their stronger associations with familiar meanings. Second, we vary the sentence context to support either the familiar or the supplied meaning. For example, a sentence about ripeness supports ‘apple’, whereas one about employment supports ‘programmer’. Third, we vary prompt framing: the same definition may appear as a bare dictionary entry, a rule for a newly documented variety, a language-game rule, or information that the model is explicitly instructed to accept or ignore.

We evaluate nine models on 150 two-character Mandarin nouns spanning five semantic categories and three frequency bands. Experiment 1 assigns new meanings across categories and varies sentence context across five prompt frames. Experiment 2 narrows the contrast to meanings within the same category. This resembles cases where a word has a different meaning in a regional variety or specialized domain, even though its usual meaning also fits the sentence. Three follow-up experiments replace means with may mean, repeat the rule up to five times at different positions in the prompt, and enable reasoning in three models. The full lexical inventory and prompts appear in Appendices A and B.

Across the nine models, CK reliance is greater for less frequent source words and in sentence con-

texts that support the supplied meanings. It remains high even when both meanings are compatible with the sentence context, indicating that CK adoption cannot be explained solely by the repair of implausible sentences. Within model families, larger models also rely more on CK. Prompt framing shapes lexical choices: in both main experiments, a bare dictionary entry elicits more CK responses than the same rule framed as a definition for a newly documented variety or a language game. Explicit instructions shift these choices, yet seven of nine models favor CK even when instructed to ignore the supplied meanings. The follow-up experiments show that replacing means with may mean lowers CK reliance by 17.73 percentage points overall, the effect of repeating the rule n times depends on where the n copies are placed in the prompt, and the effect of reasoning varies across models. Enabling reasoning improves GPT-5.5's compliance with the ignore instruction while driving both Qwen models toward near-universal CK adoption.

References (49)