Lune

ACL2023Top-tier venue

Optimal Transport for Unsupervised Hallucination Detection in Neural Machine Translation

Nuno Miguel Guerreiro, Pierre Colombo, Pablo Piantanida, André F. T. Martins

Abstract

Neural machine translation (NMT) has become the de-facto standard in real-world machine translation applications. However, NMT models can unpredictably produce severely pathological translations, known as hallucinations, that seriously undermine user trust. It becomes thus crucial to implement effective preventive strategies to guarantee their proper functioning. In this paper, we address the problem of hallucination detection in NMT by following a simple intuition: as hallucinations are detached from the source content, they exhibit cross-attention patterns that are statistically different from those of good quality translations. We frame this problem with an optimal transport formulation and propose a fully unsupervised, plug-in detector that can be used with any attention-based NMT model. Experimental results show that our detector not only outperforms all previous model-based detectors, but is also competitive with detectors that employ external models trained on millions of samples for related tasks such as quality estimation and cross-lingual sentence similarity.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HAT: Hallucination Annotation for Translation cites HalOmi: A Manually Annotated Benchmark for Multilingual Hallucination and Omission Detection in Machine Translation
  • HAT: Hallucination Annotation for Translation cites Detecting and Mitigating Hallucinations in Machine Translation: Model Internal Workings Alone Do Well, Sentence Similarity Even Better
  • HAT: Hallucination Annotation for Translation cites Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformer
  • MockConf: A Student Interpretation Dataset: Analysis, Word- and Span-level Alignment and Baselines cites Detecting and Mitigating Hallucinations in Machine Translation: Model Internal Workings Alone Do Well, Sentence Similarity Even Better
  • HalOmi: A Manually Annotated Benchmark for Multilingual Hallucination and Omission Detection in Machine Translation cites Attention is Not Only a Weight: Analyzing Transformers with Vector Norms
  • HalOmi: A Manually Annotated Benchmark for Multilingual Hallucination and Omission Detection in Machine Translation cites Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformer
  • Detecting and Mitigating Hallucinations in Machine Translation: Model Internal Workings Alone Do Well, Sentence Similarity Even Better cites Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformer
  • Detecting and Mitigating Hallucinations in Machine Translation: Model Internal Workings Alone Do Well, Sentence Similarity Even Better cites Detecting Hallucinated Content in Conditional Neural Sequence Generation
  • Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformer cites Attention is Not Only a Weight: Analyzing Transformers with Vector Norms
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. HalOmi: A Manually Annotated Benchmark for Multilingual Hallucination and Omission Detection in Machine TranslationDavid Dale, Elena Voita, Janice Lam, Prangthip Hansanti et al.EMNLP 2023 · 8 citations
  2. HAT: Hallucination Annotation for TranslationRajen Chatterjee, Xintong Li, Paisarn Charoenpornsawat, Allen LeeACL 2026
  3. MockConf: A Student Interpretation Dataset: Analysis, Word- and Span-level Alignment and BaselinesDávid Javorský, Ondrej Bojar, François YvonACL 2025

Builds on11

  1. Red Teaming Language Models with Language ModelsEthan Perez, Saffron Huang, H. Francis Song, Trevor Cai et al.EMNLP 2022 · 239 citations
  2. Attention is Not Only a Weight: Analyzing Transformers with Vector NormsGoro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro InuiEMNLP 2020 · 138 citations
  3. Detecting Hallucinated Content in Conditional Neural Sequence GenerationChunting Zhou, Graham Neubig, Jiatao Gu, Mona T. Diab et al.ACL Findings 2021 · 122 citations
  4. Detecting and Mitigating Hallucinations in Machine Translation: Model Internal Workings Alone Do Well, Sentence Similarity Even BetterDavid Dale, Elena Voita, Loïc Barrault, Marta R. Costa-jussàACL 2023 · 25 citations
  5. Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the TransformerJavier Ferrando, Gerard I. Gállego, Belen Alastruey, Carlos Escolano et al.EMNLP 2022 · 18 citations

Related papers

  1. OTTAWA: Optimal TransporT Adaptive Word Aligner for Hallucination and Omission Translation Errors DetectionChenyang Huang, Abbas Ghaddar, Ivan Kobyzev, Mehdi Rezagholizadeh et al.ACL Findings 2024 · 1 citation
  2. DHCP: Detecting Hallucinations by Cross-modal Attention Pattern in Large Vision-Language ModelsYudong Zhang, Ruobing Xie, Xingwu Sun, Yiqing Huang et al.ACM MM 2025 · 1 citation
  3. Detecting Hallucinations in SpeechLLMs at Inference Time Using Attention MapsJonas Waldendorf, Bashar Awwad Shiekh Hasan, Evgenii TsymbalovACL Findings 2026
  4. Attention Sinks as Internal Signals for Hallucination Detection in Large Language ModelsJakub Binkowski, Kamil Adamczewski, Tomasz KajdanowiczICML 2026
  5. Machine Translation Hallucination Detection for Low and High Resource Languages using Large Language ModelsKenza Benkirane, Laura Gongas, Shahar Pelles, Naomi Fuchs et al.EMNLP Findings 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines