Token Agreement Metric Overview
- Token Agreement Metrics are quantitative measures that assess concordance in token-level outputs between language models or segmentation systems, underpinning applications in multilingual transfer and LLM compression.
- Subword token alignability leverages directional alignments and symmetrization to sensitively evaluate statistical similarities across languages using shared tokenizers.
- Divergent Token Metrics compare original and compressed models by analyzing prediction divergences through statistical log-probability measures, highlighting compression-induced degradation.
A token agreement metric quantitatively assesses the degree to which two models, subword tokenizations, or language representations produce concordant token-level predictions or segmentations. These metrics serve as core diagnostics in multilingual modeling and LLM compression by capturing the statistical similarities, divergences, or alignability at the token or subword level, often providing greater sensitivity and predictive power than classic measures such as token overlap, perplexity, or accuracy. Recent advances have established token agreement-based metrics as central to evaluating and optimizing transferability across disparate scripts, detecting compression-induced degradation, and constructing robust multilingual tokenizers (Hämmerl et al., 10 Feb 2025, Deiseroth et al., 2023).
1. Mathematical Definitions of Token Agreement Metrics
Two foundational approaches to token agreement emerge in current research: subword token alignability for cross-lingual transfer (Hämmerl et al., 10 Feb 2025) and divergent token metrics for model compression (Deiseroth et al., 2023).
Subword Token Alignability
Consider a pair of languages and , a shared subword tokenizer, and a parallel corpus . Using a statistical word aligner (e.g., eflomal), directional alignments are symmetrized. Two key scores are defined:
- Directional one-to-one alignability:
where is the total number of source tokens in all .
- Symmetrised eflomal log-probability:
where is the sum of unnormalized log-probabilities under the learned alignment priors.
Lower values of indicate higher alignability.
Divergent Token Metrics (DTMs)
Given two autoregressive models, 0 (original) and 1 (compressed),