Skip to content

About

LIGATUR challenge set, AEGIS metric and tokeniser probes: translation metrics cannot judge what their tokeniser deletes (WMT26)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Palimpsest

Translation metrics cannot judge what their tokeniser deletes.

A palimpsest is a manuscript scraped clean and written over, with the old text still faintly there. This repository is about the same thing in machine translation evaluation: some invisible Unicode corruptions are scraped away by the tokeniser before a metric ever sees them, so the corrupted and the clean translation reach the model as the same token sequence. This repo holds the three pieces of our WMT26 work on that effect.

Component What it is
LIGATUR A 171-item contrastive challenge set (English–German, English–Hindi) separating Unicode-level corruption from semantic error. WMT26 Task 4 submission.
AEGIS A metric that combines a reference-based ensemble with deterministic "hygiene shield" penalties for exactly what the encoders cannot see. WMT26 Task 2 submission.
Tokeniser probe Shows that four corruption classes (non-breaking space, narrow non-breaking space, ideographic space, leading byte-order mark) tokenise identically to the clean text under both XLM-R and mT5.

Reproduce the central result

The tokeniser probe is the part that runs end to end from this repository alone. It applies each perturbation to all 252 distinct clean target sentences of LIGATUR and compares token IDs under XLM-R and mT5. It needs only the two tokenisers and runs in seconds on CPU:

uv run --with transformers --with sentencepiece --with protobuf \
    python code/tokenizer_probe_broad.py

Expected: the four normalising classes are identical to the clean text on 251/251 sentences (252/252 for a leading byte-order mark), and every other class differs on all applicable sentences, under both encoders. Output is written to data/probe_broad_results.json, which is already included so you can diff your run against ours.

Layout

data/
  en.de.LIGATUR.jsonl        95 items, English–German
  en.hi.LIGATUR.jsonl        76 items, English–Hindi
  LIGATUR_README.md          format notes for the challenge-set submission
  probe_broad_results.json   output of the tokeniser probe
code/
  tokenizer_probe_broad.py   full probe over every LIGATUR sentence
  tokenizer_probe.py         single-sentence version
  aegis_shield.py            hygiene shield and degeneracy guard
  aegis_fuse.py              provenance-weighted fusion of the neural scores
  gen_neural_inputs.py       builds neural-scorer inputs from the test set
  validate_submission.py     format check for the Task 2 submission
  perturb.py, validate.py    character-level injectors and format validation for LIGATUR
  ablation.py                component ablation with bootstrap intervals
  analyze_wmt24.py           correlation analysis against WMT24 ESA gold
  submission_stats.py        statistics of the submitted predictions
  lab_ligatur_comet.py       COMET-22 scoring of LIGATUR (GPU)
  mac_ligatur_comet.py       CPU/MPS variant of the above (not run end to end)

What needs data that is not in this repository

Only the probe is self-contained. The remaining scripts are the analysis and pipeline code behind the paper and need inputs that are distributed elsewhere:

  • the official WMT26 test set, from wmt-conference/wmt26-mteval;
  • WMT24 ESA human judgements, for ablation.py and analyze_wmt24.py;
  • model checkpoints (COMET-22, MetricX-24) and GPU time for the neural scorers.

About the LIGATUR files

Each item has a source, one reference, and two hypotheses (LIGATUR_hyp1, LIGATUR_hyp2), one correct and one minimally corrupted. Which of the two is correct varies from item to item, and the key saying which is not distributed here. Do not assume a fixed order.

Citation

Animesh Mishra, Krishang Sharma, Sonia Khetarpaul. Translation Metrics Cannot Judge What Their Tokeniser Deletes: LIGATUR and AEGIS Submissions to the WMT26 Shared Task on Automated Translation Quality Evaluation. Conference on Machine Translation (WMT), 2026. To appear.

Authors: Animesh Mishra (IIT Patna), Krishang Sharma and Sonia Khetarpaul (Shiv Nadar University).

About

LIGATUR challenge set, AEGIS metric and tokeniser probes: translation metrics cannot judge what their tokeniser deletes (WMT26)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages