Are These Programmers Ripe Enough to Eat? Evaluating How LLMs Handle Lexical Knowledge Conflicts in Translation
Organizations: The Ohio State University
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.
Figures & tables
| ID | Frame template |
|---|---|
| F1 | Use what you know about Mandarin and ignore any newly created lexical rule. [SOURCE] means [TARGET]. |
| F2 | Lexicon: [SOURCE] means [TARGET]. |
| F3 | We are using a newly documented variety of Mandarin. In this variety, [SOURCE] means [TARGET]. |
| F4 | We are playing a language game. In this game, [SOURCE] means [TARGET]. |
| F5 | Use the lexicon below even if it conflicts with standard Mandarin. [SOURCE] means [TARGET]. |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Log fpm | Band | ZH | English | Accepted English forms |
|---|---|---|---|---|---|
| Animal | 1.347 | high | 兔子 | rabbit | rabbit; rabbits; bunny; bunnies; hare; hares |
| Animal | 1.336 | high | 蚊子 | mosquito | mosquito; mosquitoes; mosquitos |
| Animal | 1.275 | high | 猴子 | monkey | monkey; monkeys |
| Animal | 1.238 | high | 老虎 | tiger | tiger; tigers |
| Animal | 1.183 | high | 蝴蝶 | butterfly | butterfly; butterflies |
| Animal | 1.180 | high | 蜜蜂 | bee | bee; bees; honeybee; honeybees; honey bee; honey bees |
| Model | Runtime identifier | Size | Interface | Reasoning setting |
|---|---|---|---|---|
| GPT-5.5 | gpt-5.5 | Undisclosed | OpenAI API | none (Thinking off) |
| Qwen3-8B | qwen3:8b | 8B | Ollama | Thinking off |
| Qwen3-32B | qwen3:32b | 32B | Ollama | Thinking off |
| Llama-3-8B | llama3:8b | 8B | Ollama | No thinking switch |
| Llama-3-70B | llama3:70b | 70B | Ollama | No thinking switch |
| DeepSeek-LLM-7B | deepseek-llm:7b | 7B | Ollama | No thinking switch |
| F1 | F2 | F3 | F4 | F5 | ||||||
| Condition | Fam. | Sup. | Fam. | Sup. | Fam. | Sup. | Fam. | Sup. | Fam. | Sup. |
| Baselines (Familiar reference only) | ||||||||||
| No rule: semantically consistent | 0.909 (no frame) | |||||||||
| No rule: semantically inconsistent | 0.813 (no frame) | |||||||||
| Conventional-meaning rule | 0.924 | – | 0.924 | – | 0.911 | – | 0.910 | – | 0.924 | – |
| Main experiments and modal weakening | ||||||||||
| F1 | F2 | F3 | F4 | F5 | ||||||
| Condition | Fam. | Sup. | Fam. | Sup. | Fam. | Sup. | Fam. | Sup. | Fam. | Sup. |
| Baselines (Familiar reference only) | ||||||||||
| No rule: semantically consistent | 71.26 (no frame) | |||||||||
| No rule: semantically inconsistent | 63.35 (no frame) | |||||||||
| Conventional-meaning rule | 75.44 | – | 74.44 | – | 72.36 | – | 71.64 | – | 74.47 | – |
| Main experiments and modal weakening | ||||||||||
| Layout | CK | Filtered | F1 | F2 | F3 | F4 | F5 |
|---|---|---|---|---|---|---|---|
| B | 73.55 | 70.14 | 58.36 | 72.63 | 81.59 | 75.89 | 79.27 |
| M | 75.07 | 71.85 | 59.70 | 81.96 | 77.52 | 71.72 | 84.46 |
| E | 75.18 | 71.88 | 58.18 | 73.26 | 85.64 | 78.16 | 80.65 |
| M 2 | 75.48 | 72.32 | 61.94 | 81.70 | 76.56 | 70.62 | 86.58 |
| BM | 78.59 | 75.74 | 65.11 | 76.29 | 84.65 | 81.41 | 85.48 |
| BE | 86.56 | 84.64 | 77.83 | 85.97 | 90.10 | 90.27 | 88.63 |
| PK context | CK context | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Layout | All | F1 | F2 | F3 | F4 | F5 | All | F1 | F2 | F3 | F4 | F5 |
| GPT-5.5 | ||||||||||||
| B | 74.93 | 0.33 | 96.67 | 91.17 | 88.00 | 98.50 | 89.07 | 46.17 | 99.67 | 99.83 | 99.83 | 99.83 |
| M | 77.60 | 2.33 | 96.00 | 96.33 | 93.67 | 99.67 | 91.03 | 55.83 | 99.83 | 99.83 | 99.83 | 99.83 |
| E | 69.40 | 4.00 | 77.67 | 94.50 | 71.33 | 99.50 | 94.87 | 75.00 | 99.83 | 99.83 | 99.83 | 99.83 |
| M 2 | 76.33 | 0.67 | 93.33 | 96.17 | 91.83 | 99.67 | 91.53 | 58.33 | 99.83 | 99.83 | 99.83 | 99.83 |
Knowledge Conflicts in Language Models
Knowledge conflicts in language models concern how models reconcile stored knowledge with conflicting context, retrieved evidence, tools, or memory.
See all 148 papers