Tokenization and Morphology in Multilingual Language Models: A Comparative Analysis of mT5 and ByT5
Paper · 2025 · Thao Anh Dang, Limor Raviv and Lukas Galke
Summary
A word can carry information about how it is being used. Its form may indicate whether it refers to one thing or several, when an event took place, or what role a noun plays in a sentence. A system that reads text has to learn those signals from the units it receives, and different systems can receive very different versions of the same word. Thao Anh Dang, Limor Raviv, and Lukas Galke study this problem by comparing mT5, which reads learned pieces of text, with ByT5, which reads UTF-8 bytes. The comparison asks how much information about word structure and grammatical categories can be recovered after these different choices about tokenization.
The authors keep the pretrained systems fixed and train separate classifiers to read their internal representations. Given the representation of a marked word in a sentence, a classifier tries to recover an annotated feature such as grammatical number, tense, gender, or case. The evaluation covers 43 tasks across 17 languages. At the final hidden layer, the mean probing accuracy is 82.57 for mT5 and 82.86 for ByT5, compared with 77.52 for fastText, a baseline that represents each word without access to its sentence. These averages conceal substantial differences. Turkish favors mT5, Hindi favors ByT5, and the static baseline leads in French and Russian. Number is the easiest category for both pretrained systems, while case is the hardest on average.
The two systems also take different routes to their similar overall scores. At the point where inputs first receive vector representations, mT5 gives the classifiers a stronger starting point. ByT5 improves sharply after its first processing block and reaches a level close to mT5’s early in the network. The best depth varies across languages. Some are already easy to probe near the input, while others reach their highest scores in the middle or later layers. Across both systems, classifiers do better when they read the vector at a word’s final input unit than when they average the vectors for its pieces.
The paper also examines how a language’s share of the pretraining corpus interacts with its degree of morphological irregularity. The fitted analysis finds a stronger association between training share and successful probing at higher irregularity. The comparison uses the language shares in the existing corpus, so it leaves open what would happen if those shares were deliberately changed. Together, the results show where the choice of input unit matters most in this comparison. It changes what a classifier can recover near the input and can matter greatly for particular language and feature combinations, even when the average scores at the end of the network are close.
Deep dive: Tokenization and Morphology in Multilingual Language Models: A Comparative Analysis of mT5 and ByT5
A study of how subword and byte tokenization affect what mT5 and ByT5 learn about word forms and grammar across different languages. · about 32 minutes to read
The problem and its context
Words carry information at several scales
A sentence gives a reader several kinds of evidence about a word. The written form supplies letters and recurring patterns. The surrounding words help establish how the target is being used. For a noun, those signals might reveal its grammatical number or its function in the sentence. For a verb, they might help identify its tense. How such information is expressed through the formation and variation of words is the subject of morphology.
The paper concentrates on inflection, the variation in a word’s form associated with grammatical distinctions. Plural endings offer a straightforward example, but the authors describe systems in which a vowel can also change or in which the choice of a plural form depends on grammatical gender. Case illustrates a different source of variation. A noun may take different forms according to its role in the sentence, and languages differ in how many such roles are distinguished by case marking. A useful representation therefore has to support a range of relationships between the visible form, its context, and the grammatical category a reader wants to recover.
These differences make it hard to choose input units for a single multilingual system. A learned piece of text can preserve a recurring ending or combine a meaningful ending with the rest of a word. It can also cut across a boundary that helps a reader recognize how the word was formed. Such a vocabulary is learned from a mixture of languages, so the mixture affects which strings have enough evidence to become useful units. The decision is made before the main training process and shapes what that process receives. The paper treats this early choice as particularly consequential for subword tokenization.
Earlier work reviewed by the authors had linked the difficulty of learning languages to aspects of their morphological organization, in studies of both people and neural systems. The results varied depending on the way difficulty and complexity were measured. A system can find a language hard to predict for several reasons, and a broad score for language prediction gives limited information about its ability to distinguish, for instance, case forms. The authors narrow the question to specific annotations on words. This lets them ask whether a weakness appears across grammatical categories or is concentrated in a particular task.
Learned pieces and smaller units
The paper describes byte-pair encoding as a prominent way to learn reusable pieces of text. In the account it gives, the procedure starts with characters and repeatedly joins neighboring units according to how often they occur together. The resulting vocabulary can contain parts of words and sequences extending across words. Frequency is a useful basis for discovering recurrent strings, but the procedure does not directly ask whether a proposed unit expresses a grammatical distinction. The paper traces this line of work to Neural Machine Translation of Rare Words with Subword Units.
There was already reason to expect the choice among learned segmentation methods to depend on the language. The authors describe earlier work by Ali and colleagues in which byte-pair encoding was favored for Germanic examples such as German and English, while the Unigram method was favored for a Romance example such as Spanish. The relevance to the present study is that a tokenizer can yield a practical vocabulary overall while serving individual languages differently. It also motivates examining grammatical features separately. A vocabulary that preserves useful pieces in many nouns could still give relatively poor access to a distinction among verb forms.
A separate line of work moved toward character-level inputs. The authors describe earlier translation studies suggesting that systems operating on smaller units could match or improve on sub-word translation, including in multilingual or low-resource settings. Sharing a small inventory across languages was one proposed advantage. In the comparison by Edman and colleagues discussed in the paper, ByT5 handled rare and similar words well, and the analysis considered the extra training needed to recover structures at the scale of words. Those observations make a case for looking inside the network. Translation quality by itself leaves open when information about word structure becomes available and which distinctions are easiest to recover. Machine translation
The comparison also puts two plausible advantages in tension. Learned pieces can package recurring letter sequences before the network starts processing a sentence. Bytes preserve the fine detail of the written form in smaller units, leaving the network to assemble that detail into patterns spanning several positions. Either approach might offer better access to a particular grammatical distinction. The experiment asks how these advantages play out when the systems are closely related and the representation is examined at successive points in processing.
A different question from downstream performance
The authors distinguish behavioral probing from structural probing. A behavioral test asks how a system responds when given a task or an input designed to elicit a particular behavior. A structural probe uses a separate classifier to find out what can be recovered from a system’s internal vectors. With a structural probe, a researcher can compare the vector assigned to a word at the input with the vectors produced later, while keeping the annotated question about that word the same. In this paper, structural probing is a way to ask where information becomes accessible, within the broader study of interpretability.
The preceding literature gave the authors more than one expectation about depth. Work they discuss suggested that information about morphology can appear early, near information about the identity of the word. Other studies pointed towards the middle or later stages as particularly informative. Much of the earlier evidence came from translation systems or studies centered on BERT and its variants, so the results arose from several different experimental settings. The paper uses multilingual T5 variants and carries out the same kind of comparison across languages and grammatical tasks. The contrast with earlier work includes studies of contextual representations such as Dissecting Contextual Word Embeddings and analyses of BERT.
The choice of a baseline follows from the same distinction. A classifier may succeed because an ending or another familiar part of the written form gives away the answer. It may also succeed because the representation distinguishes how the same-looking form is used in different sentences. A representation drawn from a sentence and one drawn from the word alone provide useful points of comparison. Measuring their performance on the same labels helps establish which tasks admit strong predictions from word-level evidence and which tasks show more room for contextual representations to help.
The method, step by step
Compare related pretrained systems
The authors compare the base versions of mT5 and ByT5. Both belong to the T5 encoder–decoder family. The encoder processes an input sequence, and the decoder produces a sequence from the resulting representation. Both systems were pretrained on the same text collection with the same general objective, masked span prediction. During pretraining, stretches of text are hidden and the system learns to predict the missing material. The objective and the shared source of text make the pair suitable for a comparison of how input representation relates to later access to grammatical information. T5
The shared corpus is mC4. The paper describes it as web text collected from Common Crawl and covering 101 languages. For mT5, a SentencePiece tokenizer maps the text to a learned vocabulary of roughly 250,000 pieces. The paper separately reports that this vocabulary covers 104 languages. These figures describe different things, the language coverage of the corpus and the reported coverage of the vocabulary. A piece can be shared across languages, so the vocabulary is a joint inventory. SentencePiece
ByT5 instead takes the UTF-8 encoding of the text as its input. The paper sometimes describes this as character-level processing, with bytes as the actual input units. A written character and a byte are different units of description, and a character’s encoding can extend across byte positions. Where mT5 can receive a familiar string as a single vocabulary entry, ByT5 receives the bytes of that string in sequence. As a consequence, the first vector assigned to an input position can stand for a much smaller part of a word in ByT5.
The model descriptions give further details about the comparison. ByT5 uses a masking span of 20 bytes in pretraining. Its encoder stack has three times as many layers as its decoder, a choice the paper connects to the need to process byte sequences. The shared T5 design, corpus, and training objective hold broad aspects of the setup in common. The depth allocation is a concrete difference in how that design is instantiated, and it matters when interpreting a comparison of layers. The paper probes the existing checkpoints, with each system using its own input representation and associated configuration.
Select sentences, targets, and labels
The probing data come from the multilingual dataset developed by Acs and colleagues using Universal Dependencies. The full resource covers 42 languages from 10 language families and contains 247 probing tasks. It includes both frequent and infrequent words. The unit of an evaluation task is a particular distinction in a particular language, such as noun number in English or case in Turkish. A test example supplies a sentence, a target word in it, and an annotated value for the feature under investigation.
The authors selected 16 languages with at least two available tasks and added Arabic to broaden coverage of Semitic languages. Arabic contributes one task, case. The resulting evaluation comprises 43 language-specific tasks across 17 languages. For each task in a language, the source dataset provides 2000 training examples, 200 development examples, and 200 test examples. Those are splits for learning and evaluating the probes. The text used to pretrain mT5 and ByT5 comes from the separate mC4 corpus.
The selected tasks concern word-level annotations for number, tense, case, and gender. The authors exclude tasks that explicitly ask about agreement between words. A target can still be easier to classify when the surrounding words provide evidence. In the paper’s account, for instance, the forms used to express tense in Hindi can involve agreement with the subject’s gender and number. The label remains a property of the designated target in the probing example, even when the clues to that label extend across the sentence.
The grammatical distinctions also vary within a category. Number often asks the classifier to distinguish singular and plural nouns, while the paper describes a wider set of possibilities for Latvian. The number of case categories varies across languages. Its inventory for the studied tasks lists 4 case classes for German nouns, 6 for Russian nouns, and 18 for Estonian nouns. The probe for each language learns its own label set. A label name such as case identifies a family of classification problems whose individual members can have quite different demands.
Gender shows another kind of variation. The paper describes Dutch nouns as common or neuter and gives masculine, feminine, and neuter as the German distinctions. It also notes that Basque has no grammatical gender system. The languages evaluated for gender are therefore drawn from a different set of tasks from those evaluated for case or number. This matters when comparing category averages later. An average for gender reflects the particular languages and labels represented in the gender experiments.
Extract one word vector at a time
To prepare an example for probing, the authors pass the entire sentence through a pretrained system. The system’s weights stay fixed. They collect the hidden states, the vectors computed at successive layers for positions in the input sequence, and find the positions that correspond to the target word. They also collect vectors from the input embedding layer, where positions receive their initial representations. An embedding is a numerical vector that can be used as input to another calculation or classifier. Word embeddings
The same target word can occupy several positions. For mT5 those positions represent learned pieces. For ByT5 they represent bytes. A classifier predicting a property of the word needs a single vector, so the authors compare ways of reducing the set of vectors for the word to one. The main procedure uses the vector for the last unit belonging to the target. For mT5 this is the last sub-word piece. For ByT5 it is the last byte. The alternative combines the components by averaging. This conversion from a set of input-position vectors to a word-level vector is called pooling.
Last-token pooling has different implications at the input and after a processing block. At the input, it gives the probe only the embedding assigned to the final unit. In mT5 that unit can already cover a substantial string. In ByT5 it is a byte. At later layers the vector at the same position is a product of processing the sequence. It may then reflect information about earlier units in the word or about other parts of the sentence. Keeping the position rule fixed allows the study to track how the representation available at that position changes with depth.
Average pooling exposes a probe to a combination of all the target’s position vectors. The paper discusses a potential cost. Features that are relatively easy to detect in a particular position can become harder to recover after averaging. Last-token pooling has the corresponding risk of relying on a position that carries only part of the useful information. The authors test the alternatives instead of inferring their relative merits from the fact that one of them uses more positions.
How the authors probe grammatical features at each layer
The steps in order.
Train the probes and the word-only control
Each probe learns to map a target vector to the task’s grammatical label. The authors train probes separately for each language, task, and layer of each pretrained system. A classifier trained on an early layer is thus fitted to the representations found at that layer, and another classifier learns to read the later layer. This design gives each layer its own opportunity to make a distinction recoverable. It leaves open whether the same readout would work unchanged across layers.
The main classifier is a multilayer perceptron, or MLP. It can learn combinations of the vector’s coordinates that go beyond a linear decision rule. The alternative linear probe asks how well the labels can be separated by a simpler readout. The methodological tradeoff is that a more flexible probe may recover patterns a linear classifier cannot, while some of the work required to learn the distinction can then be done inside the probe itself. The architecture comparison helps put that concern in perspective. Earlier discussions cited by the authors include work on linguistic knowledge in contextual representations and control tasks for interpreting probes.
For the static comparison the authors use fastText word vectors, with a separate fastText resource for each language. The paper reports that fastText vectors are available for 157 languages. A fastText representation is obtained directly for the word, without pooling and without input from the rest of the sentence. The authors use the same probing procedure and evaluation metric with these vectors. Because fastText uses sub-word information to construct word representations, it can supply a substantial amount of form-based evidence even though its representation is static. fastText
The score is probing accuracy, the proportion of held-out examples on which the classifier recovers the annotated value. For the main comparisons, the authors use the final hidden layer of each pretrained network with last-token pooling and an MLP probe. They then aggregate scores across different groupings. The overall mean combines languages and tasks, a language mean combines that language’s evaluated tasks, and a category mean combines evaluations for the relevant feature. The layer analysis follows the accuracy scores from the input embeddings onward.
Relate probe success to language properties
The final part of the method asks whether successful classifications are associated with the amount of pretraining data available for a language and with properties of its morphology. The data variable is the language’s proportion of the shared pretraining corpus. The authors use two complexity measures. The irregularity score concerns the degree to which forms depart from regular patterns. The type–token ratio, or TTR, measures the variety of observed forms relative to the amount of text. Here a type is a distinct form and a token is an occurrence. Their ratio describes a different aspect of the data from departure from a regular inflectional pattern. Type–token ratio
The regression asks whether the relationship between pretraining share and probe success changes with either measure of complexity. The paper describes an analysis in the R package lme4, with variables centered and scaled and with 200 test observations for each language-specific task. Centering puts the average of a predictor at the reference point. Scaling lets the fitted analysis refer to changes in the standardized measures. Separate intercepts for languages and tasks allow their baseline levels to differ.
accuracy ∼ irregularity * TD + TTR * TD + (1 | language) + (1 | task)
In this formula, accuracy names the outcome being predicted, and ∼ separates it from the predictors. irregularity is the language’s morphological irregularity score, TD is its share of pretraining data, and TTR is the type–token ratio. The asterisk calls for the individual effects of the two variables it connects and their interaction. An interaction lets the fitted relationship for either variable depend on the value of the other. The plus signs bring the terms together in the same specification. In (1 | language) and (1 | task), 1 denotes an intercept and the vertical bar identifies the grouping variable. The parentheses enclose each random-intercept term.
The main discussion of the statistical procedure calls it a mixed-effects logistic regression, consistent with treating successful and unsuccessful predictions as outcomes for individual examples. The detailed table describes its outcome as mT5 probing accuracy and calls the fit linear. The formula above is the predictor specification given in the paper. The difference in the two descriptions affects the interpretation of coefficient units, so the reported estimates are most safely read with attention to their directions, the included interactions, and the scope of the comparison.
Experiments and results
Similar final scores across the full evaluation
On the evaluated tasks, the final hidden-layer vectors from mT5-base yield a mean probing accuracy of 82.57. The equivalent score from ByT5-base is 82.86. The mean for fastText is 77.52. The pretrained systems’ scores use an MLP and a last-token readout on the target word, while fastText supplies its static word vector directly to the probe. The means combine the evaluation tasks across languages.
Overall mean test probing accuracy on the multilingual morphology dataset
The byte and subword systems finish close together, with both ahead of the static baseline.
The numbers
| System or setting | accuracy % |
|---|---|
| fastText | 77.52 |
| mT5-base | 82.57 |
| ByT5-base (this paper) | 82.86 |
ByT5 consequently has the highest aggregate score, with very similar final-layer performance from mT5. The paper’s comparison with earlier character-level findings turns on the size and distribution of this advantage. The mean offers little evidence for a general byte-level advantage in the chosen probing setup. It also gives little guidance about which representation will work best on a particular language. The two systems can arrive at almost the same aggregate while making their strongest showings on different tasks.
FastText’s overall result provides a second point of reference. A word vector without sentence context supports substantial morphological classification on much of this dataset. The authors attribute part of this strength to the word-level nature of the labels and to the use of separate fastText resources for the different languages. The aggregate advantage for mT5 and ByT5 fits the idea that sentence-based representations can help, but the size and direction of the advantage depend on what the classifier is being asked to recover.
Language averages conceal individual tasks
English gives both contextual systems their highest language averages. Averaging the English number and tense tasks gives mT5 an accuracy of 98.00 and ByT5 an accuracy of 98.50, with fastText at 97.75. Hebrew, Portuguese, and Romanian also have high contextual scores. On Hebrew, for instance, the language averages are 97.50 for mT5 and 98.00 for ByT5. These are averages over the annotations available for the respective languages. English’s score describes the English tasks used in the paper, while the Hebrew score reflects its number and gender tasks.
Some of the weaker averages likewise describe a narrow slice of a language. Arabic was included with case as its sole task. On the Arabic case test, accuracy is 66.17 for mT5, 49.25 for ByT5, and 37.81 for fastText. The Arabic language row therefore repeats the case result. The large separation among the systems matters for that evaluation, while the experiment leaves their relative performance on other Arabic features open.
The Russian language averages are 61.26 for mT5, 57.43 for ByT5, and 79.20 for fastText. The breakdown by task is more informative than the ranking alone. For Russian number, the contextual probes reach 96.00 with mT5 and 93.39 with ByT5, and fastText reaches 91.50. Russian case favors fastText, which scores 82.55 compared with 48.04 for mT5 and 36.02 for ByT5. The pattern changes again with gender, where ByT5 scores 82.98, fastText 50.74, and mT5 8.46. On tense, mT5 scores 92.54 and fastText 92.03, while ByT5 scores 9.59. The language average combines several very different failures and successes.
French also favors fastText at the language level. Its reported language mean is 92.95, with ByT5 at 77.53 and mT5 at 71.93. French tense stands out in the individual results. FastText recovers the tense label with 91.08 accuracy, compared with 46.30 from ByT5 and 21.29 from mT5. French number has a different ordering and much closer contextual scores. There, mT5 reaches 99.50, ByT5 reaches 98.24, and fastText reaches 95.49. The French results put a boundary on any broad interpretation that contextual representations improve access to each feature of a language.
Basque gives a near reversal of the French baseline ranking. The Basque means are 91.69 for mT5, 91.91 for ByT5, and 52.60 for fastText. The case rows show where much of the separation lies. On Basque case, mT5 scores 91.39, ByT5 scores 92.55, and fastText scores 17.22. On Basque number, the corresponding scores are 92.00, 89.42, and 87.99. The static vectors are highly competitive on Basque number, and the same resource gives the probe very limited access to Basque case. Both tasks contribute to the language comparison, but they point to different roles for a representation built from the full sentence.
Hindi and Turkish favor different systems
Across the Hindi tasks the mT5 mean is 67.83, the ByT5 mean is 87.50, and the fastText mean is 58.02. The case experiment reveals the sharpest divergence between the contextual systems. The mT5 case probe has accuracy of 13.00, the ByT5 probe reaches 81.58, and fastText reaches 63.49.
Test probing accuracy for Hindi case in the multilingual morphology dataset
ByT5 recovers the Hindi case labels more successfully than either comparison system.
The numbers
| System or setting | accuracy % |
|---|---|
| mT5-base | 13.00 |
| fastText | 63.49 |
| ByT5-base (this paper) | 81.58 |
The other Hindi tasks qualify the language-level result. For Hindi number, the mT5 probe scores 95.00 and the ByT5 probe scores 90.95. For Hindi gender, the values are 95.50 and 90.74, respectively. Within the same language, the preferred system therefore depends on the grammatical distinction. An overall preference for ByT5 on Hindi reflects the exceptionally large separation in case alongside smaller differences in the other direction.
Turkish favors mT5 in the language means. The scores are 94.78 for mT5, 83.69 for ByT5, and 78.28 for fastText. On Turkish case, mT5 reaches 95.57 and ByT5 reaches 72.88, with fastText at 61.57. Turkish number produces a more tightly grouped comparison, with 94.00 for mT5, 89.32 for ByT5, and 94.99 for fastText. Case is thus central to the Turkish separation too, but the lead belongs to the sub-word system in Turkish and the byte system in Hindi. For this pair of tasks, the shared label case gives no simple rule about which input representation to prefer.
Number, tense, gender, and case have different profiles
The category averages give another view of the same tests. Number is the easiest category for both contextual systems. They score 93.75 for mT5 and 93.56 for ByT5, with fastText at 88.15. Some number distinctions have recurring signals in the form of the target itself, which helps explain why even the static baseline can do well. The individual rows add a qualification about how consistently this happens. On Latvian number, mT5 scores 68.50, ByT5 70.39, and fastText 63.49. A high cross-language mean for number is compatible with a substantially more difficult test in one of the contributing languages.
Case has the lowest category mean for both mT5, at 71.53, and ByT5, at 69.16. It is also the weakest category for fastText, at 55.49. The authors suggest two reasons for the difficulty. Case tasks frequently give the probe a larger set of possible labels, and case can reflect the role the target takes in the surrounding sentence. The baseline’s relative weakness fits this explanation, especially in the Basque example. Russian case, where the baseline leads, shows why the explanation is better treated as a general tendency than as an account of every individual task.
Tense yields a mean of 80.30 for mT5, 72.44 for ByT5, and 80.89 for fastText. The ordering makes fastText a particularly important part of the comparison. In French and Russian, tense can be recovered much more easily from fastText than from ByT5. Spanish presents another pattern. On Spanish tense, mT5 scores 89.00 and ByT5 scores 86.47, whereas fastText scores 31.00. The same kind of static representation that performs strongly on some language-specific tense tasks can offer a much weaker basis for prediction elsewhere.
Gender is the category in which ByT5 has a much higher reported mean than mT5. The category scores are 85.16 for ByT5, 76.85 for mT5, and 77.61 for fastText. As with tense, the contributing language tasks differ widely. German gender gives mT5 29.85, ByT5 74.42, and fastText 76.00. For Dutch gender, mT5 scores 90.00, ByT5 scores 88.39, and fastText scores 72.50. On Latvian gender, mT5 scores 68.00, ByT5 scores 32.61, and fastText scores 64.49. These examples show why the higher ByT5 gender mean supports a statement about the aggregate while leaving the winner on particular tasks variable.
The paper’s brief prose account of some baseline comparisons differs from its numerical rows. In the category table, fastText leads both contextual systems on tense and also exceeds mT5 on gender. The detailed Hindi and Latvian gender rows show mT5 above fastText in both cases, although the surrounding discussion describes them as examples of weakness for mT5 against the baseline. The scores here follow the corresponding tables. That distinction matters because a mistaken category ranking can change the explanation one gives for the difference between byte and sub-word processing.
What the ablations show
The byte representation changes most near the start
The layer analysis reruns the same classification problem using vectors drawn from different depths. The target word and its label stay the same, and the classifier is fitted to read a given layer. This makes the layer plot a record of how easily the distinctions can be recovered from successive representations. It gives a more specific comparison than an end-to-end average, which would place mT5 and ByT5 very close together.
At the input embedding layer, morphology is more readily recoverable from mT5. The gap is consistent with the final sub-word unit sometimes carrying a more extensive piece of the target than ByT5’s last byte. ByT5 shows a pronounced improvement immediately after the input embeddings. The authors report that the first processing block already brings ByT5 to approximately the level of mT5. A system that receives the word as bytes can therefore make much of the tested grammatical information accessible early in processing, even though its initial position vector gives the probe much less to work with.
That jump has to be read together with the pooling procedure. At the embedding layer, the last-token probe has access only to the initial vector of the final unit. A sharp increase after processing can reflect the combination of evidence from the other bytes in the target, the incorporation of evidence from neighboring words, or both. The layer comparison shows when a useful representation becomes accessible at the selected position. It does not isolate a particular operation within the block or measure how much of the improvement comes from each possible source.
The broader depth pattern differs across languages. The paper identifies English, Dutch, Portuguese, Spanish, Basque, and Hebrew as examples where accuracy changes little across much of the network. Other languages show a more pronounced increase, sometimes reaching a maximum in the middle and falling slightly in later layers. Middle and late stages are generally favorable locations for the probes, while some language distinctions remain easy to recover throughout processing. The results support an account in which the useful depth depends on the task and the system’s input representation.
This helps explain the apparent disagreement with prior reports that morphological information was most accessible near the first layer. An early peak and a middle-layer peak can both occur when the evaluated languages have different trajectories. The comparison by Dang and colleagues holds the type of analysis in common across its languages, allowing that variation to appear directly. The preceding studies discussed in the paper also differ in what systems and tasks they examine, so their reported layer patterns can reflect different experimental circumstances.
Simpler probes recover much of the same information
To test the role of classifier complexity, the authors compare the MLP used for the main results with a linear probe. Averaged over the evaluation languages and tasks, mT5 scores 82.57 with the MLP and 80.37 with the linear classifier. ByT5 scores 82.86 with the MLP and 80.61 with the linear classifier. Both systems improve under the more flexible classifier, and their close overall ranking persists with either readout.
The linear probes show that much of the recoverable information is accessible to a relatively simple decision rule. This qualifies the possibility that the high aggregate scores are driven primarily by the MLP learning hard nonlinear distinctions from its own labeled examples. At the same time, a linear classifier still learns from labeled data, and its success depends on which patterns the representations expose. The comparison provides evidence about how simple the readout can be while remaining accurate. It gives less direct evidence about how the pretrained system originally acquired or uses those patterns.
The authors interpret the similarity as consistent with morphology being a comparatively accessible feature. Their argument applies most directly to the mean over the particular tasks. Strong linear probes can coexist with difficult individual tasks, such as the cases where one contextual system scores poorly and the other does well. The mean comparison of classifier types does not identify which labels depend most on the MLP’s extra flexibility or whether its contribution varies by language.
The final unit is a better readout than the average
Changing the pooling rule has a larger visible effect on the reported means. For the MLP probe on mT5, averaging the target’s unit vectors yields mean accuracy of 75.28, while taking the last unit yields 82.57. For ByT5, the corresponding accuracy values are 76.40 and 82.86. The choice of word representation therefore affects the measured accessibility of morphology for both sub-word and byte inputs.
The result suggests that the final position frequently offers a good place to read out information about the whole word. In an inflection task, an ending may supply a strong clue. Deeper in the network, the final position may also have gathered information from elsewhere in the word or sentence. Averaging position vectors can weaken an informative direction or combine it with less relevant features. The scores establish that the final position works better under the tested readout choices. They leave the source of its advantage open among these possible explanations.
This comparison also bears on judgments about the two pretrained systems. Keeping last-token pooling fixed across both of them gives a clear common procedure, but the last unit is a different kind of object in each. Using averaging instead lowers both means, with similar overall performance between the systems still visible. The small separation between byte and sub-word scores is therefore observed under both pooling rules, even though the absolute accuracy depends strongly on the readout.
Irregularity changes the association with pretraining share
The statistical analysis considers data share and morphological complexity together. In the main results, the authors report a positive coefficient of 2.11 for training-data share, with a standard error of .55 and a p-value below .001. The reported irregularity coefficient is 2.83, with a standard error of .42 and a p-value below .001. The paper also reports a correlation of 0.831 between training share and irregularity. The fitted main terms should therefore be understood in the context of related predictors, with each estimated alongside the others.
The interaction between pretraining share and irregularity is positive. Its reported coefficient is 2.03, with a standard error of .31 and a p-value below .001. The interaction says that the fitted association between training share and successful probing is steeper at higher irregularity. It is the basis for the authors’ suggestion that data allocation could be especially consequential for languages whose inflectional forms are less regular. The analysis uses the existing distribution of languages in the pretraining corpus, so the estimate describes a relationship within that distribution.
The detailed regression table reports a p-value of 0.272179 for TTR and the same value for its interaction with training-data share. In the table, neither shows the clear evidence reported for irregularity and its interaction. The distinction between the complexity measures matters. A language with a wide variety of forms can differ from another language in how predictable the relationships among those forms are. Using both predictors lets the paper ask which of these aspects is more closely associated with the probe results under the fitted specification.
The paper suggests a possible reason for the positive irregularity result. If irregular forms tend to occur frequently, repeated exposure could make them easier to remember. The authors connect this possibility to earlier work on the relationship between irregularity and frequency, and to work on how skewed word frequencies can aid segmentation. The current analysis combines language-level predictors with probe outcomes. It does not track the exposure history of individual forms, so the frequency account remains an explanation to investigate. Zipf’s law
Limitations
Limits identified by the authors
The study is based on written language. The authors identify orthographic transparency as an unmeasured factor. That is the degree to which written forms give a consistent indication of pronunciation. If a morphological distinction is expressed differently in spelling and speech, a probe of these systems can only measure access to the evidence available in the written input and its learned representation. The difference between learned text pieces and UTF-8 bytes intensifies the interest of spelling as a factor, while the experiment leaves its contribution unmeasured.
The authors report running each experiment once because of the number of experiments involved. As a consequence, the accuracy comparisons describe the observed runs. The near tie between mT5 and ByT5 is clear as a description of their reported scores, but an estimate of how the ordering varies with repeated probe training is unavailable. The same issue applies to the size of the change when a probe architecture or pooling rule is switched. The comparisons show their observed direction and magnitude for this evaluation.
The language sample covers a range of families, but the authors report that 12 of the 17 languages are Indo-European. Selecting languages with several available tasks makes within-language comparisons possible in more cases. It also ties coverage to the annotations already available in the dataset. Arabic broadens the family coverage and at the same time illustrates how uneven that coverage remains, because only its case task is tested. Broad statements about a language’s full morphological system need wider coverage of its grammatical features.
The authors also limit the study to inflection. They cite the lack of suitable probing datasets for derivational morphology, where changes in form help create related lexical items. Their results describe distinctions such as number, tense, case, and gender on the annotated targets they selected. A learned segmentation can interact with derivational patterns in ways this benchmark does not test. Similarly, the deliberate exclusion of agreement tasks keeps the evaluation focused on the designated word, even when context helps a probe classify it.
The stated statistical caution is that the sample contains 17,200 observations and small p-values require care with a sample of that size. The paper includes random intercepts for language and task to account for some grouping. The explanatory variables still describe a much smaller collection of language-level settings. Many correct or incorrect item predictions can give detail about those settings while the number and diversity of languages determine how widely the association can be generalized. The authors separately emphasize that linguistic complexity has no bearing on the quality of a language.
Limits of what the design can establish
The pretrained comparison holds major ingredients in common and varies input granularity, but the byte system also allocates depth differently between encoder and decoder. This connects the length and granularity of its input with a difference in the computation available to process it. The comparison establishes how these existing T5 variants behave in the same probing framework. Isolating the effect of replacing sub-word pieces with bytes while holding depth allocation and every training detail constant would require a training comparison beyond the one reported.
A probe shows whether a freshly trained classifier can recover a label from a representation. The experiment does not observe the pretrained system using the label to choose a continuation, translate a sentence, or carry out another task. A probe might exploit correlations with word identity, repeated strings, or cues supplied by the surrounding sentence. Its held-out accuracy matters because it measures successful classification on test examples, but it does not on its own establish which linguistic cues the classifier uses. The paper’s reference to a dataset containing frequent and infrequent words also gives no separate account of how completely the probe generalizes a rule to unseen word forms.
The comparison with fastText has a related limitation. Static and contextual representations differ in access to the sentence, but they also differ in how they are learned and in the use of language-specific versus shared multilingual resources. The difference in accuracy therefore combines several properties of the representations. The results are informative about which available vector works better for a task. They leave the independent effect of context unresolved. A direct context manipulation would require changing the surrounding sentence information while holding the representation system and target form under comparison fixed.
Comparisons among grammatical categories also bring together different label inventories and different sets of contributing languages. The low case mean can reflect the number of choices available in some case tasks, the need for sentence-level clues, or the particular languages included. Accuracy measures the fraction of correct decisions under each task’s own distribution, so the paper’s task averages describe difficulty under this benchmark. They do not assign a context-independent difficulty to the concepts of case, gender, tense, or number. Similarly, a language average can be strongly shaped by one task whose score differs sharply from the others, as the Hindi and French breakdowns illustrate.
The regression uses pretraining shares that already exist. The positive interaction supports the authors’ hypothesis about the possible value of additional data for more irregular languages. The setup supplies no controlled change in data share, and the reported correlation between data share and irregularity shows that those predictors already move together in the observed sample. The main-text and appendix descriptions of the fit also differ on the model family, with the appendix identifying mT5 as the outcome. The association is more securely described in those terms than as a change in predicted accuracy from reallocating a specific amount of data, or as an independently demonstrated effect of the same size for both systems.
What came after
The subsequent papers that cite Dang and colleagues approach the subject at different scales. Their titles identify the scope of each contribution, from surveys and tokenizer comparisons to specific linguistic and spelling tasks. The citation relationship establishes a connection to the earlier study, while the scope of the later work is the basis for comparing the questions they address.
One survey takes up explainability and interpretability in multilingual systems. Dang and colleagues supply a concrete example of the kind of evidence that falls within that scope. They take internal vectors from related multilingual systems, attach the same grammatical questions to representations from successive layers, and examine how the answers vary with the representation. A survey has a broader remit than this individual comparison, and the point of contact is the use of internal evidence to study the behavior and capabilities of multilingual systems. Survey of multilingual explainability and interpretability
TokSuite concerns how to measure the behavioral consequences of choosing a tokenizer. Its stated focus shifts the question towards observed behavior. Dang and colleagues primarily ask whether a classifier can recover grammatical features from internal vectors. Those two questions address neighboring parts of the same problem. A choice of units can change what information is available at a particular layer, while behavioral measurements concern how such a choice is reflected in the system’s outputs. TokSuite
The study of Turkish and Hebrew verbal paradigms brings the focus down to the structure of inflection within particular languages. A verbal paradigm is the set of inflected forms associated with a verb. Both languages appear in Dang and colleagues’ evaluation, but their tests of Turkish concern case and number, and those for Hebrew concern gender and number. A study framed around verbal paradigms asks about a part of those languages’ morphology that the earlier task selections did not cover. Its scope illustrates how a comparison spanning many languages can be complemented by a closer look at a defined system of word forms. Verbal paradigms in Turkish and Hebrew tokenization
MUTANT addresses multilingual tokenizer design. Its focus is the construction of the tokenizer itself, an earlier decision in the training process than the point at which Dang and colleagues apply their probes. The earlier comparison starts with finished systems and examines the access they give to grammatical features. A design study addresses the stage at which a shared representation for multiple languages is chosen. That connects directly to the motivation for the morphology experiments, where aggregate performance and language-specific performance can point in different directions. MUTANT
The work on orthographic constraints considers written-form behavior and its alignment with human difficulty. Dang and colleagues use written inputs, but their probes ask for grammatical labels and their analysis does not measure orthographic transparency or compare difficulty directly with people. The later paper’s stated subject places the written form at the center of the evaluation and introduces human difficulty as a point of comparison. It extends the range of questions for which the granularity of a text representation can matter, from recovering inflectional information to handling constraints expressed in the spelling itself. Orthographic constraints and human difficulty
Cite
Cite as Thao Anh Dang, Limor Raviv and Lukas Galke. 2025. Tokenization and Morphology in Multilingual Language Models: A Comparative Analysis of mT5 and ByT5. Proceedings of the 8th International Conference on Natural Language and Speech Processing (ICNLSP-2025).
@inproceedings{dang2025tokenization,
title = {{Tokenization and Morphology in Multilingual Language Models: A Comparative Analysis of mT5 and ByT5}},
author = {Thao Anh Dang, Limor Raviv and Lukas Galke},
booktitle = {Proceedings of the 8th International Conference on Natural Language and Speech Processing (ICNLSP-2025)},
year = {2025},
url = {https://aclanthology.org/2025.icnlsp-1.24/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/dang-2025-tokenization-morphology-multilingual-language-models/