Sequence-to-Sequence Lexical Normalization with Multilingual Transformers
Paper · 2021 · Ana-Maria Bucur, Adrian Cosma and Liviu P. Dinu
Summary
Informal writing can be easy for people to read and difficult for software trained on edited text. A shortened word, omitted accent, or repeated letter may carry a clear meaning in a social media post while looking unfamiliar to a system that has mostly seen conventional spelling. Ana-Maria Bucur, Liviu P., and Adrian Cosma. Dinu study lexical normalization, the task of rewriting such forms according to a standard. They ask whether a system can do this by reading and rewriting a whole sentence. They also ask whether the resulting sentences are useful to other software even when some individual corrections diverge from the expected answers.
The authors start with mBART, a multilingual system built to read a sequence and generate another. Its pretraining teaches it to reconstruct text from deliberately damaged input. For normalization, the authors give it informal sentences paired with versions corrected by human annotators. The desired output stays within the language of the input, as when the abbreviation u becomes you in an otherwise unchanged phrase. The authors compare joint training across languages with separate training for each language. Because the shared task scores corrections against their original words, they also devise a way to match the words of each generated sentence back to the input.
On the MultiLexNorm word-level evaluation, the authors’ strongest entry averages 10.65 Error Reduction Rate on the standings’ scale. It uses separate training by language, a fixed encoder, and post-processing. The most-frequent replacement baseline reaches 38.37, and MoNoise reaches 49.02. The sentence approach can expand familiar abbreviations and shorten expressive spellings, but it can also leave an expansion incomplete, unexpectedly translate part of a mixed-language sentence, or repeat a word rather than producing a usable sentence. Its word-matching procedure also struggles when a correction splits or joins words.
The downstream results give a different view. The reported average for dependency parsing rises from 62.45 with unchanged text to 62.53 with the authors’ normalization, with mixed results across the individual datasets. On SMILE, a Twitter emotion dataset, mean macro F₁ across folds goes from 22.65% to 23.43%. On OLID Task A, which distinguishes offensive from non-offensive tweets, test macro F₁ goes from 57.15% to 58.08%. These are modest gains under the reported setups. They show why the paper evaluates both the edits themselves and the text that a subsequent system actually receives.
Deep dive: Sequence-to-Sequence Lexical Normalization with Multilingual Transformers
Bucur and colleagues use mBART to normalize informal text and test whether the rewrites improve word correction, parsing, and classification. · about 33 minutes to read
The problem and its context
The difference between an unfamiliar form and a mistake
A social media post presents the reader with several kinds of variation at once. A writer may omit an apostrophe, choose a short spelling, or extend a word for emphasis. Informal style can explain some of these choices, while typing conditions explain others. The paper draws on Eisenstein’s account of the roles played by interface design, message length restrictions, and social conventions. A single standard for spelling cannot tell us which of these reasons motivated a particular writer. What to do about bad language on the internet
That distinction matters because the paper’s motivation is the mismatch between kinds of text. It describes systems in natural language processing that encounter curated language in training and less consistent forms when applied to social media. An informal spelling may represent the same word a system already handles in its usual form. But the written difference can lead the system to treat the two forms separately. Bringing those spellings together is one reason to normalize the input before asking software to draw conclusions from it.
The paper also draws on work about the social meaning of written variation. An elongated interjection, for instance, can express intensity that its shorter form leaves implicit. If normalization removes the elongation, the conventional form may be easier to recognize while carrying less information about how it was expressed. The paper’s transformation has a practical purpose, and which differences it ought to preserve depends on that purpose. A corpus that treats a spelling as eligible for correction has already taken a position on what the normalized version should preserve.
The authors describe two responses to the mismatch between edited and informal language. Domain adaptation changes how the system handles the variety it will actually encounter. Normalization changes the input so that later processing sees a form closer to the one it expects. The paper investigates the second route. Its experiments use normalization as an intermediate stage for tasks that include parsing grammatical relations and assigning categories to posts.
The benchmark makes this general idea concrete through linguistic annotation. Annotators give the researchers both the observed text and an expected version under the dataset’s rules. Some corpora permit spelling changes that affect accents or punctuation. For others, capitalization or the division between words also matters. The intended output of lexical normalization is consequently tied to a reference convention. A reader might consider an expansion reasonable even when the dataset leaves the abbreviated form in place.
How earlier systems chose a correction
The paper describes an earlier W-NUT shared task on English tweets. Its constrained track permitted the training data supplied by the organizers, while the unconstrained track admitted outside data or tools. That division made it possible to compare approaches under different resource allowances. The strongest system that the authors discuss from that task was in the constrained track.
Jin’s system began by finding candidate standard forms in the training data. It used the Jaccard index, a measure of overlap, in deciding which forms were close enough to consider. A random forest then evaluated the candidates using signals that included string similarity, evidence from training, and grammatical categories. The system could draw on part-of-speech tagging when judging forms, so spelling resemblance was only part of its decision. Bucur and colleagues also describe earlier systems based on recurrent neural networks and conditional random fields. One example of the latter was IHS_RD. IHS_RD
MoNoise is the paper’s principal example of a modular approach. It uses spelling correction and word embeddings to propose alternatives. The spelling component can offer a form with a plausible written relationship to the input. Embeddings supply another kind of evidence by representing words in a way that makes it possible to compare them. A feature-based random forest ranks the proposed forms. The paper describes MoNoise as reusable across languages and notes its expansion from English to languages including Dutch, Turkish, and Serbian.
This organization separates the question of what changes are possible from the question of which change to select. A ranker can only choose among the candidates it receives, but it has a well-defined set of hypotheses to compare and can make a decision for a specific input word. Bucur and colleagues emphasize that MoNoise works on individual words and makes relatively limited use of the surrounding sentence in the setting they describe. That tradeoff motivated them to see what happens if the prediction itself is organized around the sentence.
Previous researchers had changed the unit of prediction in other ways. The paper describes work at the character and syllable levels as well as at the word and sentence levels. Character-level methods can treat changes in spelling directly. Syllable-based methods organize the input into units between letters and complete words. The authors also identify earlier sentence-based and encoder-decoder approaches, including work by Lourentzou and colleagues and by Lusetti and colleagues. The paper’s contribution is a particular multilingual, pretrained sentence-generation approach and an evaluation of it in the shared task.
Why borrow from translation?
In the normalization analogy, the source is the observed informal text and the target is its conventional counterpart. That makes paired examples look like the data used in machine translation, even when the target remains in the source language. The analogy predates this paper. Bucur and colleagues describe a comparison by Veliz and colleagues in which statistical translation performed better than neural translation for normalization. They highlight the earlier authors’ observation that the statistical approach worked better in the low-resource conditions they examined.
The paper also describes an approach that uses BERT to predict tokens for normalization. Muller and colleagues studied that formulation where little task-specific data was available. This earlier work showed a way to bring pretraining to lexical correction while keeping the task organized around token predictions. Bucur and colleagues instead chose a pretrained encoder-decoder, which gives them an interface for taking a sentence as input and returning a sentence as output.
Collecting enough paired text is a concern for either formulation. The paper notes the expense of manually annotating text in multiple languages and points to previous attempts to create training examples by artificially corrupting clean text. This strategy supplies both the corrupted sentence and its known original. It is related to the reconstruction task used in pretraining, although the supervised data in this study are the examples from the shared task.
The multilingual setting introduces an additional complication. A method can share software across datasets and still face different instructions about what counts as a legitimate correction. It may also encounter a post written using more than one language, in which case a conventional version may need to keep the switch. The shared task asks for coverage across these conditions. The authors’ proposal is to share the machinery that rewrites the sentence while using the paired data to show what transformations each collection expects.
The method, step by step
The sentence pair is the training example
The authors begin with an informal sentence and its corresponding reference sentence. Consider the English example built around u. The source includes the short form, and the target contains you in the same context. The sentence tells the system where the change occurs and what the unchanged surrounding words look like. A German example changes geb to gebe and heut to heute within the same utterance. As training examples, these pairs describe the result of the rewrite without specifying an independent rule for each altered word.
A sentence-level prediction changes what the system has to get right. It can use the entire input when deciding what a short or nonstandard form means. It also has to reproduce the parts that were already suitable. The source sentence could, for instance, contain informal material next to terms that the annotators left alone. Both kinds of material appear in the output. The paper’s procedure learns to produce that output as a sequence instead of learning a ranked list of replacements for each source position.
Training and scoring the sentence normalizer
The steps in order.
Start with a system trained to reconstruct text
mBART follows BART’s encoder-decoder design. The encoder processes the input into representations which the decoder uses to generate the output text. The design uses a Transformer, whose attention mechanism allows processing to account for relationships among positions in a sequence. In this setup, the decoder can use the encoded input while building a sentence. This is the architecture that allows the authors to supply a sentence pair directly. BART
The pretraining task prepares the encoder and decoder to cooperate on reconstruction. The paper explains it with the case of a sentence in which some input is masked. The encoder receives the damaged version. The decoder learns to produce the original text. mBART extends this setup to multiple languages, with reconstruction at pretraining time carried out within the original language. The software used in the paper comes from the Transformers package, and the checkpoint the authors select is pretrained on 50 languages. Transformers
The authors use fine-tuning to change the reconstruction problem into the normalization problem. During fine-tuning, the source has the irregularities that people actually wrote, and the target is the text prepared by annotators. The difference matters. A mask indicates that some information is missing at a particular place. A spelling that readers can recognize is already a meaningful piece of text, and the annotated target may preserve it. The supervised examples teach when to copy, when to replace, and what the preferred replacement looks like in context.
Training to reconstruct text gives the system experience with generating coherent output from an imperfect source. The normalization objective then makes that capability serve a narrower task. A successful output should preserve the content of the original sentence and follow the dataset’s decisions about its written form. Though mBART was developed for multilingual translation, the authors use it to map informal and conventional variants within the same language. What the target annotation considers conventional is central to the task.
Decide which languages share training
The authors fine-tune on the benchmark languages that the chosen mBART checkpoint supports. They train shared versions that see examples from all supported datasets together and separate versions trained on individual languages. Joint training uses one encoder-decoder for the included languages. Separate training gives a language its own parameters adapted to its training data. The shared setup lets the authors try the same architecture across languages without creating a dedicated copy for each language it handles.
The benchmark’s mixed-language datasets require an explicit choice. For Indonesian-English, the authors use Indonesian as the main language for mBART. For Turkish-German, they use Turkish. These settings give the system a language identity from its pretraining while leaving the input sentence mixed. They do not give it a distinct code for the pair. The desired reference can preserve the language switch, so successful normalization still depends on learning from the annotated examples that the switch is part of what belongs in the output.
Danish and Serbian use the most-frequent replacement baseline in the authors’ entries. This coverage decision carries through to the results: a row labeled as one of the paper’s mBART configurations can contain baseline outputs for those datasets. Joint training also has a more specific meaning here than the phrase “all languages” might suggest. It refers to the supported data the authors actually used for mBART, with the mixed-language cases handled through their main languages and these fallback datasets handled separately.
Decide which half of mBART can change
The authors compare a fixed encoder with a fixed decoder. With the encoder fixed, its parameters stay at their pretrained values and the decoder learns to generate conventional text from those representations. This arrangement tests how much the generation side can adapt given a fixed way of reading the informal input. It relies on the existing encoder to represent material like unusual spellings and contractions in a form the decoder can use.
With the decoder fixed, training instead changes the encoder. The authors motivate this choice by the difficulty of representing forms that were unfamiliar in pretraining. The trainable encoder can change how it represents noisy input, while the decoder retains its existing generation behavior. A fixed decoder still receives new information during inference because its input comes from a different encoder. The change is in what it is given to decode.
The paper runs this freezing comparison under joint training and also reports separate training runs with the encoder fixed. The shared runs help compare the effects of moving adaptation from one component to the other. The separate runs ask a different question: whether parameters trained for an individual language are more effective than parameters shared across the data. The experimental grid therefore supports some direct comparisons, while leaving other combinations untested in the reported standings.
Train on the aligned sentence pairs
The stated training schedule is 50 epochs with a batch size of 256. An epoch is a pass through the training data. The learning rate controls the size of parameter updates. The authors use a cycle that rises linearly from 0.00001 to 0.0001 and then falls back, with the cycle spanning 5 epochs. They also use early stopping when validation loss rises for more than 3 epochs. The schedule describes the training plan, while the stopping rule lets the validation behavior limit a run.
The workshop supplied validation data for most languages. The authors omit validation where it was unavailable, which means the same validation procedure could not be applied to every dataset. They train on an NVIDIA RTX 2070 and use gradient accumulation to reach the stated batch size. Accumulation combines the contributions from smaller groups before updating parameters, allowing the training process to work within the memory available on the card. The paper makes the implementation public on GitHub.
The supervised task depends on the directions supplied by the targets. The training examples include ordinary words that should be repeated as well as forms that should be changed. When conventions differ across collections, the training target changes with them. For example, a dataset that treats case correction as part of the task gives the system different feedback about a lower-case word than a dataset that preserves that word’s original case. Sharing the encoder-decoder leaves those instructions embedded in the examples.
Convert the generated sentence into word edits
The decoder directly returns a sentence. The benchmark’s intrinsic evaluation expects an output associated with each relevant raw word. The authors therefore need to connect the generated words to their sources. This step is straightforward when the two sentences contain corresponding words in an obvious arrangement. It becomes harder when a correction changes word boundaries, punctuation is handled differently, or the generated sentence departs from the source more substantially.
The paper uses Levenshtein distance, which measures the edits required to transform one string into another. At the matching stage, an input word can be compared with potential counterparts in the output. The distances form a matrix, with input words along one dimension and output words along the other. An entry represents the cost of associating those words. A linear sum assignment chooses a set of matches by considering their combined cost.
This formulation makes matching a decision over the set of word pairs. If a source word has several visually similar candidates, a cheap individual match could use up an output word that fits another source position better. Assignment makes those decisions together. The score is still based on written similarity, which is why an alignment can disagree with the linguistic relationship between input and output. In particular, the paper’s post-processing does not handle a source word becoming several words or several words becoming one.
The post-processing also matches capitalization and preserves links, hashtags, and user mentions. Those rules constrain the output used for evaluation. A language generation system can change more of a sentence than the normalization task asks it to, so preserving the protected strings puts some of the desired behavior outside the learned component. The reported configurations with and without additional post-processing help distinguish what the system can generate from what the final prediction pipeline returns.
Measure recovery relative to unchanged input
The shared task’s main intrinsic measure is Error Reduction Rate. In the paper’s notation it is:
ERR = (TP − FP) / (TP + FN)
ERR is Error Reduction Rate. TP counts true positives, the corrections credited as matches to the reference. FP counts false positives, the incorrect correction decisions that incur a penalty. FN counts false negatives, the reference corrections the system misses. The plus sign in the denominator combines recovered and missed reference corrections. The minus sign in the numerator deducts false positives from credited corrections. Division by the denominator expresses the net result relative to the correction opportunities in the reference.
The authors give the metric’s anchors as 0.0 for a system that leaves the text alone and 1.0 for a perfect system. Their standings express these values on a scale where the unchanged baseline is shown as 0.00. A negative score is possible when the penalty for incorrect changes outweighs credit for correct changes. Accordingly, generating many plausible replacements is useful only if enough of them agree with the reference and are assigned to the right source words.
The denominator addresses a problem with interpreting ordinary accuracy. If a corpus requires few edits, copying the entire input can leave many words correct. A corpus with more changes gives the same copying strategy less credit under accuracy. ERR instead uses the corrections in the reference to define the scale of the opportunity. Its numerator still reflects the cost of changing text that a system should have preserved under the reference convention.
The authors point out that the combined score gives an incomplete account of the types of errors. A missed correction means something was left too close to the raw input. A false positive can mean an unnecessary change, but in an inconsistently annotated corpus it can also mean that a reasonable change was applied to a form left untouched by the annotators. Reading an ERR result therefore involves both the behavior of the normalizer and the decisions embodied in the benchmark.
Experiments and results
What MultiLexNorm contains
The shared task is organized into 12 language or language-pair datasets. Its single-language collections include Dutch, English, German, and Danish, as well as material in Croatian, Serbian, and Slovenian. The other single-language collections cover Italian, Spanish, and Turkish. Indonesian-English and Turkish-German provide code-switched examples, in which a post can use material from more than one language. An entry’s average therefore blends corpora with different amounts of training data, different writing practices, and different rules about which forms to edit.
Twitter supplies data across the benchmark. Some collections add other sources. Danish includes writing from Arto, and the Dutch data also draw on public internet forums and SMS. These sources belong to the broad category of informal writing, but their presence prevents the benchmark from being read as a single uniformly collected set of tweets. A per-language result can reflect aspects of the underlying collection as well as the language named in its label.
Table 1 gives the sizes of the training collections and the percentages marked for normalization. English has 73,806 training words with 6.90 percent marked for normalization. Dutch has 23,053 training words with 26.49 percent marked for normalization. Turkish has 7,949 training words with 36.60 percent marked for normalization. These figures describe the training data. They tell the reader about differences in supervision and edit frequency without supplying counts for the test sets.
The mixed-language datasets also differ from each other. Indonesian-English has 23,124 training words and a normalization percentage of 12.16. Turkish-German has 16,546 training words and a normalization percentage of 24.25. For either collection, a correction requires the system to respect which parts of the post belong to the original text in which language. The main-language setting used by mBART gives the authors a way to run the system, but the collection’s target supplies the actual standard for keeping or changing each form.
Attention to capitalization and changes in word boundaries varies by collection. The examples in the paper give this stipulation a concrete meaning. Danish source text can use plain letter sequences where its reference uses accented characters. German examples can expand contractions such as dran to daran. A Turkish example includes napim in the source and ne yapayım in the target, illustrating that a normalized phrase can occupy more word positions than its source. The Italian collection is among those discussed in earlier work on normalization and parsing. Norm It!
The shared task’s data design gives the paper two kinds of variation to test at once. A language may have spelling and word formation patterns unlike the other languages. A corpus may additionally use a different rule for what should be edited. These influences are hard to separate using a single average. For instance, a collection with relatively few required edits may demand particular care in leaving the rest untouched, while a collection that permits splitting presents a specific problem for word matching.
How the word-level standings compare against baselines
Leave-As-Is, abbreviated LAI, copies the input. Its result establishes what happens when the system makes no correction decisions. Most-Frequent Replacement, or MFR, consults the training data for a raw word and outputs its most frequent observed replacement. It copies an unfamiliar form. MFR can be effective when a nonstandard spelling repeatedly corresponds to the same conventional form, even without using the rest of the sentence to choose the output.
MFR is also a useful contrast with the paper’s claim about sentence context. It makes the same replacement whenever the same raw word triggers the same lookup. The mBART approach has the capacity to vary its output with context. The leaderboard shows whether that capacity translates into better word-level predictions under the full pipeline, which also has to reproduce the unchanged words and align its generated output.
Average Error Reduction Rate on the MultiLexNorm word-level evaluation
The best mBART configuration improves on copying the input but trails the replacement baseline and the leading entries.
The numbers
| System or setting | ERR on the standings scale |
|---|---|
| ÚFAL-2 | 67.30 |
| HEL-LJU-2 | 53.58 |
| MoNoise | 49.02 |
| Most-Frequent Replacement | 38.37 |
| Separate mBART with fixed encoder and post-processing (this paper) | 10.65 |
| Leave-As-Is | 0.00 |
The standings place the authors’ best configuration at 10.65 average ERR. That configuration adapts the decoder separately by language, keeps the encoder fixed, and uses the additional post-processing. ÚFAL-2 achieves 67.30 on the same average, while HEL-LJU-2 achieves 53.58 and MoNoise 49.02. The replacement baseline’s 38.37 makes it the more demanding of the two organizer baselines for the authors’ configuration.
The strongest mBART average includes sharply different results by dataset. English reaches 29.13 ERR for the separate configuration with post-processing, while Croatian reaches 26.41. German is at -2.59, Dutch at -1.49, and Spanish at -7.90 for that same configuration. The corresponding English score for MFR is 64.93, and the Croatian score for MFR is 36.52. Each comparison uses the word-level MultiLexNorm evaluation for the named language.
The Danish and Serbian columns show why the average needs to be read with the coverage decision in mind. The authors’ rows use the baseline’s 49.68 ERR in Danish and 42.62 in Serbian. Those values contribute to the overall average reported for the configuration, but they come from the replacement procedure. They provide no evidence about how sentence generation would have performed in either language.
A negative ERR on German or Spanish establishes that the net benchmark result falls below leaving the input alone. It gives no direct account of which mechanism produced the errors. Some may come from the generated forms, others from their assignment back to the source, and some from divergence from the annotation convention. To distinguish those explanations, the paper uses configuration comparisons and examples in addition to the standings.
Dependency parsing after normalization
The workshop’s extrinsic evaluation asks whether an application does better when it receives normalized input. In the dependency-parsing setup, a parser is trained on raw and conventional data, and the evaluation compares its performance on original versus normalized material. Parsing measures the identification of relationships between words in a sentence. A disruption to a familiar form can affect how the parser attaches that word or interprets nearby ones, so correcting text can change the analysis even when the resulting sentence has a relatively weak word-level normalization score.
The article reports this evaluation over the workshop’s parsing datasets. They include German de-tweede, Italian it-postwita, and Turkish tr-iwt151, as well as several English datasets. The average here concerns parsing performance across those datasets. It is a separate statistic from MultiLexNorm’s average ERR, which measures conformity to the word-level normalization references.
Average dependency-parsing scores on the workshop datasets by input normalization
The authors’ normalization edges past unchanged text on the reported average while the leading systems score higher.
The numbers
| System or setting | Reported dependency-parsing score |
|---|---|
| ÚFAL-2 | 64.17 |
| HEL-LJU-2 | 63.73 |
| MoNoise | 63.44 |
| Most-Frequent Replacement | 63.31 |
| Separate mBART with fixed encoder (this paper) | 62.53 |
| Leave-As-Is | 62.45 |
The authors’ entry has a reported average parsing score of 62.53, against 62.45 for leaving the input unchanged. MFR reaches 63.31 and the strongest listed entry, ÚFAL-2, reaches 64.17. The comparison presents a narrower practical gap between the authors’ entry and the top of the standings than the word-level results do. The normalization and parsing scores use different measures, so their numerical distances describe performance in their respective evaluations.
The average also conceals changes in both directions. In the English en-aae dataset, the reported score is 59.57 after the authors’ normalization, with 59.21 for unchanged input. In en-monoise the corresponding scores are 54.20 and 53.65. But en-tweebank2 gives 59.81 after normalization and 59.99 with unchanged input. These results come from different datasets within the same language, making the direction of the effect dependent on more than the language label.
The Italian results likewise vary across collections. On it-postwita the authors’ entry scores 66.74 and the unchanged baseline scores 66.49. On it-twittiro they score 69.99 and 70.06 respectively. The authors use this evaluation to show that the sentence normalization can be useful for parsing. The individual datasets qualify the scope of that finding by showing where the same overall approach yields lower scores.
Sentiment and offensive language identification
The authors also run their own extrinsic experiments with two Twitter collections. SMILE contains 3,085 posts mentioning British museums. Its annotations distinguish expressions of anger, disgust, happiness, surprise, and sadness. The paper notes that the collection contains no examples labeled as fear. The task uses these posts to evaluate a text classifier that must recover information about expressed emotion.
OLID contains 14,100 tweets and uses a hierarchy of annotations. Its first level distinguishes offensive from non-offensive language. The other levels concern categories of offense and types of targets. The paper evaluates only Task A, the first decision. This is why the result describes offensive language identification broadly and gives no breakdown by target or type of offense. OLID is associated with the shared task commonly known as OffensEval. OffensEval
The authors use word-level TF-IDF as the representation for both classifiers. It makes a feature depend on how a term is used in a document and on its frequency across documents. A linear support vector machine takes these features and predicts the class, using balanced weights. This setup makes the connection to lexical normalization direct. Distinct spellings can give rise to distinct features. Bringing them together can pool their evidence at the word level.
The metric is macro F₁. F₁ combines precision, the share of predictions for a class that are correct, and recall, the share of that class’s instances that the classifier finds. The macro average gives the classes equal weight. Thus a frequent label cannot dominate the result merely by appearing often. The authors report mean macro F₁ across 5 folds on SMILE and test-set macro F₁ on OLID.
On SMILE, the raw-text condition gives 22.65% ± 0.02 mean macro F₁ across the folds. The fixed-encoder normalization condition gives 23.43% ± 0.02 under the same evaluation. On OLID Task A, the test macro F₁ is 57.15% with raw tweets and 58.08% with the normalized tweets. The two evaluations use different split procedures, so each pair should be compared within its own dataset.
The authors explain the gains in terms of vocabulary size. Normalization can map several observed forms to a single term, letting the classifier work with fewer distinct word features. The word-level evaluation demands that a generated item be matched to a specific raw word. The classification results concern what the words in the resulting post collectively tell the classifier. A sentence that causes trouble for the word-matching procedure can therefore still yield a useful feature representation.
At the same time, these experiments compare the authors’ normalization with raw text for the two classification tasks. The classification table does not give results for MFR, MoNoise, or the leading systems from the word-level standings. Its evidence is specific to the change from raw text to mBART-normalized text in this TF-IDF and support vector machine setup. The wider comparison among normalizers belongs to the workshop evaluations.
What the ablations show
Freezing the decoder helps within joint training
The freezing comparison is easiest to interpret within the multilingual setting. The shared configuration with the decoder fixed obtains -11.79 average ERR before the additional post-processing. The shared configuration with the encoder fixed obtains -32.90 under the corresponding condition. After post-processing, the fixed-decoder configuration reaches -6.54 and the fixed-encoder configuration reaches -21.51. Each pair changes which component can adapt during training while holding the presence of the extra post-processing constant.
The direction of the comparison supports the authors’ intuition that the way informal text is encoded matters. A trainable encoder can change its representation of an unconventional spelling before passing that representation to a decoder with its pretrained parameters. A fixed encoder leaves that part of the problem to the decoder. The results are consistent with the input adaptation explanation, although ERR alone does not measure the representations and cannot establish that this mechanism accounts for the entire difference.
The mean remains below the unchanged baseline for the joint configurations. There is also substantial variation by language. In the post-processed joint settings, Dutch reaches 16.82 ERR with a fixed decoder and 9.19 with a fixed encoder. English goes in the other direction, with 27.41 for the fixed decoder and 12.09 for the fixed encoder after post-processing actually showing the fixed decoder ahead in that comparison too. Without post-processing, the English fixed-encoder score is 20.78 and the fixed-decoder score is 22.12. These English and Dutch results illustrate how the comparison looks on languages with positive scores even though the shared average is negative.
The overall winner among the authors’ entries has a fixed encoder and separate training. This is compatible with the multilingual freezing result because it changes the training scope as well. The paper reports no separate fixed-decoder result with which to complete that comparison. The controlled conclusion is that changing which component learns helped the reported shared runs. The best recipe among the runs on the leaderboard is a separate result about the combination of training scope, freezing, and post-processing.
Joint and separate training fail in different ways
At fixed encoder with no additional post-processing, the separate configuration averages 6.73 ERR and the joint configuration averages -32.90. With the additional post-processing, the averages are 10.65 and -21.51. The comparisons use the same freezing choice and match the treatment of post-processing. Together they explain why the paper favors separate training for the best overall word-level submission.
Joint training still gives useful results for some languages. German obtains 10.47 ERR with the joint fixed encoder and post-processing, compared with -2.59 in the separate version with post-processing. Dutch similarly obtains 9.19 with the joint configuration and -1.49 with separate training. The authors identify English and Turkish among the languages that benefit in some multilingual settings. The precise comparison depends on the freezing and post-processing condition, as the strong English score of 29.13 for the separate entry illustrates.
The very low scores in Croatian and Slovenian help explain the shared configurations’ poor average. In the raw shared fixed-encoder configuration, Croatian scores -242.57 ERR and Slovenian scores -180.75. The authors report that generation in those languages sometimes degenerated into repetition of the first word. That is a failure to produce a usable sequence, which is distinct from picking a slightly different spelling or putting a correct edit in the wrong alignment cell.
These failures also matter for the interpretation of multilingual transfer. The shared configuration is capable of learning some helpful changes in some datasets. Sharing coincides with severe instability in others. Both outcomes enter the average. The experiment shows the result of the particular joint training procedure and its data mixture. It does not isolate which similarities or differences between the languages caused a gain or a collapse.
Post-processing helps the average and varies by dataset
The mean comparison for the separately trained fixed-encoder system is 6.73 ERR without extra post-processing and 10.65 with it. The multilingual fixed-decoder average moves from -11.79 to -6.54, and the multilingual fixed-encoder average from -32.90 to -21.51. These are comparisons of the reported configurations with the same choice of trainable component. They give evidence that the extra output treatment improves the aggregate word-level score in these setups.
The separate fixed-encoder configuration illustrates the variation under that average. Croatian moves from -10.06 to 26.41 when the additional treatment is applied. German moves from -1.91 to -2.59, and Turkish from 9.97 to 0.68. The paper’s post-processing combines matching with conventions for how some strings are treated. The aggregate comparison therefore cannot identify exactly which operation helps on Croatian or why the Turkish result declines.
The standings also include a separate fixed-encoder variant with Unicode stripping. Its average ERR is 5.22, compared with 6.73 for the corresponding separate fixed-encoder entry without that label. The paper does not develop a detailed causal account of this variant. Its result establishes that the reported stripping configuration does not match the stronger separate entries in average ERR. An explanation attributing the outcome to particular characters or languages would need additional evidence.
The post-processing analysis helps locate a design tension. Training and generation see a sentence, while the intrinsic score requires a series of word-associated decisions. The text can be reasonable at sentence level and still be hard to associate with those positions. Conversely, rules that protect a hashtag or match capitalization can improve benchmark agreement without changing what the encoder or decoder learned during training.
The examples separate several kinds of error
The paper’s examples make clear what a correct generation can look like. The system expands u to you in context, shortens comeee to come, and changes Juhuuuuu to Juhu. It also handles neighboring changes in the German example containing geb and heut. These examples show that the sentence procedure can perform both an expansion and a spelling reduction while retaining the surrounding text.
More complex expansion exposes a different behavior. In an English example with nvm, the reference supplies never mind, while the system produces only never. It also fails to supply the complete annotated expansion of coulda in the same example. The incomplete wording appears in the generated sentence itself, so correcting a word assignment would not recover the words the decoder omitted. The example shows why a system that can freely generate several words still needs to learn which expansion to produce.
In the mixed-language example involving Germany and nein, the authors supply a German language code. The generated output translates the English part into German, while the reference retains the original mix. This is a qualitative example of the distinction between fluency and fidelity. A coherent output in the designated language can fail because normalization is supposed to preserve the author’s choice of language in the source.
Other outputs differ from references for reasons the authors consider less clear-cut. The phrase containing w/ is expanded using with, although the reference keeps the shorthand. In the Spanish example the system expands n to no, again where the reference retains the original. The paper treats such cases as questionable benchmark errors. They help explain why inspecting the actual generated sentence can reveal behavior that an aggregate score groups together with less plausible edits.
The authors also look at training size and report no apparent relationship with final normalization performance. Croatian is their example of a relatively large dataset with a weak result in some configurations. The training table gives 75,276 words for Croatian and the same reported count for Slovenian. An observation about relative size is useful for ruling out a simple ordering in which larger collections always yield higher scores in these experiments. The paper does not establish an independent effect of size or language complexity.
Limitations
Limits the authors identify
The authors explicitly identify alignment as a weakness. Punctuation can differ between the source and the generated sentence, and the word matching stage cannot represent normalization that merges or splits words. This affects the relationship between what the generator produces and what the intrinsic evaluation can credit. A sound expansion in the generated sentence is not sufficient for a word-level system if its output format cannot express that expansion correctly.
Code-switching is another limitation the authors state. mBART is pretrained to reconstruct text within a language, and the technique for a code-switched input uses the main language associated with the pair. The German example shows how that setup can invite a translation that the task did not request. It supplies direct evidence of the failure mode, although the qualitative discussion gives no frequency for that behavior across either of the mixed-language datasets.
The authors also point to inconsistent annotation. A shortened form can be expanded in a way they regard as valid even when the benchmark reference leaves it unchanged. This is a limit on the interpretation of both the training objective and the score. During training, similar forms can receive conflicting signals. During evaluation, reference agreement has to stand in for correctness where the annotation convention has not been applied consistently.
The conclusion raises the quantity and quality of supervision as continuing constraints. The authors propose improving the output processing, investigating inconsistent annotations, and generating extra examples through noise such as spelling mistakes or round-trip translation. Those are ideas raised for future work. The reported fine-tuning and leaderboard results concern the system trained using the workshop’s data and the processing described in the method.
The broader discussion in the paper identifies a limit on normalization as a goal. Social variation can express information. Shortening expressive writing or making spelling more uniform may suit an analysis that benefits from conventional words while losing some of the tone or social cues in the original post. The authors’ comparisons measure word recovery and performance on particular later tasks. They do not evaluate meaning preservation directly.
Limits visible in the experimental design
The word-level score measures the complete route from input to generated text to benchmark-aligned edits. It cannot, on its own, tell a reader how much error comes from generation and how much comes from alignment. The post-processing comparisons show that the conversion matters. They do not supply a sentence-level score that would quantify the quality of the unaligned output on the same data. Accordingly, the intrinsic result supports a judgment about the submitted pipeline more directly than a judgment about how often readers would accept its sentences.
The benchmark’s mixed conventions also limit what average ERR can explain. The training collections differ in the frequency of corrections and in rules on case and word boundaries. ERR addresses the different numbers of reference edits by measuring relative to the editing opportunities. It does not make a capitalization restoration, a contraction expansion, and a code-switched rewrite the same kind of operation. An improvement across collections can therefore combine settings that gained for different reasons.
Language coverage is partly supplied by MFR. The Danish and Serbian results in the authors’ rows describe that baseline and cannot validate mBART for those languages. Coverage in the code-switched datasets also comes with a main-language assumption. These are consequential conditions when reading the paper’s proposal as an example of multilingual processing. Its evidence concerns the supported languages and the fallback choices in the evaluation, while the architecture describes how additional supported languages could share parameters.
The reported freezing comparisons leave gaps in the experimental grid. Separate training is presented with a fixed encoder, while the joint comparison changes which component is fixed. This design supports judgments about specific pairs of configurations. It does not identify the best possible freezing strategy for separate training, nor show how updating both components would have performed. The hypothesis about adapting the representation of informal words remains an explanation of the observed result, since the paper supplies no independent measurement of that representation.
The authors describe the shared architecture as a way to cover languages without increasing the system’s size as more languages are handled. The experiments give a configuration for a single graphics card and explain how gradient accumulation managed memory. They do not include comparative timings, resource curves, or an evaluation of the computational cost of increasing the amount of training data. Sharing a parameter set is an architectural property. The total work required to train or run the approach depends on the amount of text processed as well.
The downstream evidence is limited in a different way. For parsing, the mean improvement over unchanged text is small, and several individual datasets score lower with the authors’ output. The results show what happens with the evaluation’s parser and collections. They give no breakdown of which syntactic relations become easier, and they do not show whether the changes would persist with a different parser. The parsing standings also establish that some alternative normalization systems score higher in this setup.
For SMILE and OLID, the authors test a word-based representation with a linear classifier. Combining spelling variants can directly change that representation, which gives their vocabulary explanation a clear rationale. The paper does not report vocabulary counts or a comparison that holds the vocabulary reduction fixed while varying the quality of the edits. The mechanism therefore remains plausible rather than isolated. Even within this setup, the paper gives no class-wise effects that would show whether particular emotions or offensive-language responses benefited more than others.
Finally, the classification results concern the stated folds for SMILE and the test set for OLID Task A. The paper provides the fold summary for SMILE and point estimates for OLID, without a significance test for the raw-versus-normalized comparisons. The observed gains can be reported directly with those conditions. Their stability across different samples, different annotation schemes, or other levels of the offensive-language hierarchy remains open.
What came after
The subsequent work in this line of citation is Help from the Neighbors: Estonian Dialect Normalization Using a Finnish Dialect Generator (2022). It addresses normalization of Estonian dialect writing and brings in a Finnish dialect generator. The title identifies both the target and the source of help. In Bucur and colleagues’ system, multilingual pretraining supplies a shared starting point before training on annotated normalization pairs. The later work draws attention to a more specific cross-language relationship, using a generator associated with Finnish in a study of Estonian dialect normalization. Help from the Neighbors
The connection is at the level of the normalization problem and the role of multilingual resources. Bucur and colleagues use a system that already represents multiple languages to rewrite informal text into conventional form. The later paper’s focus on a dialect generator shifts the question towards what a resource from another language can contribute when the variation to be handled is dialectal. The citation establishes the link between the papers. It leaves open whether any implementation detail, freezing choice, or word-matching procedure from the earlier system was carried over.
The move to dialect normalization also makes the choice of target especially important. Bucur and colleagues use corpus annotations to decide what conventional form the output should take, and their examples show that an apparent irregularity can be meaningful or deliberately retained. A study concerned with dialect writing faces the corresponding question of what the conventional target should preserve from its source. The later work extends the setting in which multilingual resources are brought to bear on normalization, while the evidence about mBART’s word-level and downstream performance remains specific to Bucur and colleagues’ experiments.
Cite
Cite as Ana-Maria Bucur, Adrian Cosma and Liviu P. Dinu. 2021. Sequence-to-Sequence Lexical Normalization with Multilingual Transformers. Proceedings of the Seventh Workshop on Noisy User-generated Text (W-NUT 2021).
@inproceedings{bucur2021sequence,
title = {{Sequence-to-Sequence Lexical Normalization with Multilingual Transformers}},
author = {Ana-Maria Bucur, Adrian Cosma and Liviu P. Dinu},
booktitle = {Proceedings of the Seventh Workshop on Noisy User-generated Text (W-NUT 2021)},
year = {2021},
doi = {10.18653/v1/2021.wnut-1.53},
url = {https://doi.org/10.18653/v1/2021.wnut-1.53}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bucur-2021-sequence-sequence-lexical-normalization-multilingual/