Alignment-Aware Cross-Tokenizer Distillation for Distant Word Orders

Many ways of moving knowledge from one language model to another assume that the two models read the same sentence in the same order. Cross-tokenizer distillation is one example: a student learns to match a teacher whose vocabulary splits text into different pieces. Its sequence alignment pairs each student token with the teacher token at the nearest character position. Within one string this is correct. It stops being correct when the student reads a Japanese or Hindi sentence and the teacher reads the parallel English one. In those languages the verb, negation, or relative clause sits at the opposite end of the sentence from where English puts it, so matching tokens by position pairs words that have nothing to do with each other. We propose to align teacher and student through word alignments between parallel sentences. Each aligned word is then mapped onto whole subword spans in each model's own tokenizer, and the student learns to match the teacher's representations span by span. The text itself is never rearranged.

The work matters because two existing fixes for distant word order each break something. Rearranging the source words into target order before training (Arviv et al., Rasooli & Collins) gives real gains, but it produces unnatural pseudo-sentences, and Arviv et al. need to mix natural and reordered data to avoid losing performance on normal text. It also works on whole words, while the models read subwords. Implicit approaches such as IWR-KD keep the text intact, but they learn only part-of-speech ordering preferences and use a single shared tokenizer. Our method keeps both models on natural text in their native segmentation. It moves word-order information only through the choice of which spans are paired.

Core Claim

The claim has two parts. When a student model reading target-language text learns token-level representations from a stronger teacher with a different tokenizer reading the parallel English, the main error source in distant language pairs is the order mismatch, not the tokenizer mismatch. Pairing spans through word alignment removes that error.

The prediction is easy to check and could fail. The advantage of alignment-based pairing over position-based pairing should grow with word-order distance. It should be near zero for close pairs such as English–Spanish and largest for SOV and VSO targets. If the advantage is flat across languages, the order hypothesis is wrong.

The role of each prior paper is as follows. ACTD supplies the method we generalize: it aligns tokens by character offsets and distills only on a few confident "anchor" tokens. It also defines the assumption we drop, since it pairs tokens monotonically by character offset. Explicit Reordering for NMT and Feng et al. motivate the work. Chen et al.'s oracle experiment, in which manually reordering the source raised Japanese-to-English BLEU by up to 4 points, shows that standard Transformers do not absorb long-distance reordering on their own. Zero-Shot Tokenizer Transfer is used as a control. It can move the teacher onto the student's tokenizer, which lets us separate the tokenizer factor from the order factor.

Research Program

The setting is token-level cross-lingual distillation on parallel text. The teacher is an English-centric decoder model from the LLaMA family with its own tokenizer, and it reads English. The student is a multilingual model and reads the target-language translation. We use both XLM-R (an encoder) and mT5 (an encoder–decoder), the two architectures compared by Arviv et al.

The parallel data are multilingual Bible translations, following Rasooli & Collins, so that low-resource and typologically distant languages are covered. We compute word alignments with fast_align, the same tool Chen et al. used to supervise their reordering module. Each aligned word pair is converted into a pair of subword spans using each tokenizer's character offsets. A word therefore always maps to all of its own subwords, which avoids the fragmentation that surface reordering causes.

For an aligned pair $(a, b)$, let $\bar h^{T}_{a}$ be the teacher's layer-$\ell$ hidden states mean-pooled over the English span $a$. Let $\bar h^{S}_{b}$ be the student's pooled states over the target span $b$. The loss is

$$ \mathcal{L} = \sum_{(a,b)\in \mathcal{A}_\tau} \big\| W \bar h^{T}_{a} - \bar h^{S}_{b} \big\|_2^2 , $$

where $W$ is a learned linear map from the teacher's hidden size to the student's. $\mathcal{A}_\tau$ is the set of alignment links whose posterior confidence exceeds $\tau$. This is ACTD's anchor idea moved from vocabulary items to alignment links: we distill only where the pairing is trustworthy. Many-to-one links are pooled on both sides. Unaligned words get no loss.

After distillation, the student is fine-tuned on English labeled data only and evaluated zero-shot on target-language test sets.

Architectural transfer enters as a secondary question. Does the recipe carry over between encoder-only and encoder–decoder students? And which modules should receive adapters during distillation? For the second question we use PLoP. PLoP scores each module type with a training-free normalized feature norm (the ratio of a module's activation size on real data to its size on Gaussian input) and places low-rank adapters (LoRA) in the modules with the lowest scores. We compute these scores on distant-order and close-order parallel batches. We then test whether the low-score modules move toward attention projections as word-order distance grows. This is the open question in the file's Gap 3. We treat it as an analysis and do not claim it as a contribution.

Baselines

The naive reference point is the multilingual student fine-tuned on English and applied zero-shot to the target language, with no distillation. Every method must beat it.

The direct ablation of our key ingredient is position-based pairing. It is ACTD's monotonic boundary alignment extended to two sentences of different lengths: each target span is paired with the English span at the same relative character position. Everything else is identical, including teacher, layers, the anchor filter, data, and steps. If our method does not beat this, alignment is not doing the work.

A second ablation uses sentence-level distillation only (pooled whole-sentence states). It tests whether token-level pairing is needed at all.

The strongest existing method on parsing is IWR-KD, which reports an average 74.1% UAS and 61.7% LAS across 31 languages on UD v2.14. We will rerun it on the same treebanks and with the same student backbone so the comparison is fair. Beating it means a higher average LAS together with a flatter relationship between word-order distance and accuracy. IWR-KD reports a correlation of −0.88 between word-order distance and parsing performance.

The strongest surface-reordering method is subtree-aware reordering from Arviv et al.. It reports gains of 2.3 to 4.1 LAS for distant languages on UD v2.10 and 2.0 to 6.1 exact-match points on MTOP. We will run it in its strongest form, with natural plus reordered data. To keep compute matched, our method gets the same total number of training sentences.

All methods get the same hyperparameter search budget, measured in GPU-hours, and are evaluated with three seeds.

Why not just…?

Why not just reorder the English training text into target order, as Arviv et al. do? This is the most serious competitor, and we treat it as one. It depends on a source-language parser and works at the word level. Its authors report that training only on reordered text hurts performance on natural text. Our method needs neither a parser nor reordered text. Whether that matters in practice is an empirical question. The head-to-head comparison on UD and MTOP settles it. We also measure how much surface reordering changes subword count per word and boundary artifacts under each tokenizer. If Arviv et al. match us on distant languages, the remaining case for our method is its lack of a parser dependency, and we will say so.

Why not just put both models on one tokenizer with ZeTT and use ordinary monotonic distillation? Using one tokenizer does nothing about order. A clause-final Japanese verb is still paired with the wrong English word under shared segmentation. We test this directly with a two-by-two design: native or ZeTT-unified teacher tokenizer, crossed with position-based or alignment-based pairing. Our claim predicts that the pairing factor dominates for distant languages and that the tokenizer factor stays small. If the tokenizer factor dominates instead, the order hypothesis is falsified.

Why not just translate the training data into the target language and fine-tune (translate-train)? For parsing and relation classification, the labels have to be projected onto the translated sentence, and that projection needs the same word alignments we use, with errors compounding. For MTOP, translate-train is a real threat, so we include it as an extra baseline under matched compute. Our method is useful there only if it adds gains when combined with translate-train.

Why not just rely on attention and positional encodings to learn the reordering? Chen et al.'s oracle gap of up to 4 BLEU on Japanese-to-English, and the looping and alignment failures documented by Feng et al., argue against this. The no-distillation and position-based baselines measure what the model learns without help.

Proposed Experiments

The benchmarks are UD v2.14 parsing (UAS and LAS) over the IWR-KD language set, MTOP exact match, and TACRED/IndoRE relation F1, all languages and datasets already used by the cited work. Languages are grouped by word-order distance, from close (Romance) to distant (Japanese, Korean, Hindi, Basque, and Arabic for VSO).

The decisive check is the interaction between pairing type and distance. We expect alignment-based pairing to show a positive slope in gain over position-based pairing as distance grows, near zero for close languages. A secondary check sweeps the confidence threshold $\tau$ and adds synthetic alignment noise. This shows whether gains disappear as alignment quality drops, which would make alignment error the binding constraint. The PLoP module-score analysis and the cross-architecture comparison between XLM-R and mT5 are reported as findings, whichever way they come out.