cs.CLNov 6, 2026

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

Authors: Dongxu Wu, Sara Court, Micha Elsner

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

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. We're Cooked! - Probing LLM Political Alignment Via Conflict-Framed Recipe Translation

    Sep 7, 2026Svetlana Gorovaia, Angelica Henestrosa, Ivan P. YamshchikovCross-Lingual Reasoning in Language ModelsLLM Prompting

  2. Speaking in Self-Assessing Tongues: On the Verbalized Confidence of LLMs in Machine Translation

    Jun 15, 2026Ali Marashian, Alexis Palmer, Katharina von der WenseConfidence Estimation in Language ModelsLanguage Model Calibration

  3. Evaluating In-Context Translation with Synchronous Context-Free Grammar Transduction

    Apr 8, 2026Jackson Petty, Jaulie Goe, Tal LinzenMachine TranslationIn-Context Learning