Elamur Research

MaintNorm: A corpus and benchmark model for lexical normalisation and masking of industrial maintenance short text

Paper · 2024 · Tyler Bikaun, Melinda Hodkiewicz and Wei Liu

Summary

A maintenance technician can describe a fault in a few words, but the result may be hard to compare with another technician’s account of the same problem. One person writes aircon, another writes air con, and an equipment code may appear next to either form. The words are useful to the people who work with the equipment. Their variation makes it harder to search historical records for recurring faults, and the codes can make those records difficult to share. The authors of MaintNorm study two operations that address these problems together. Lexical normalisation converts shorthand, misspellings and other irregular forms into consistent wording. Masking replaces selected details with labels that preserve their category, such as <id> for an asset identifier.

MaintNorm contains 12,000 short work-order texts from three Australian mining companies. The records describe work on heavy mobile equipment and the condition of that equipment or its components. An annotator marked where to correct, expand, join or separate words, where to change casing, and where to apply masks. In the full corpus, 94.8% of the texts needed at least one of these changes. The annotated versions contain more tokens and a smaller vocabulary than the inputs. Expansions and splits can lengthen a record while making its wording more consistent with the rest of the collection.

The authors fine-tune ByT5 to read a whole record and generate a version that identifies each source span alongside its replacement. The same scheme can represent an abbreviation that expands into several words, a word assembled from fragments, or a combined correction and mask. Explicitly recording the source span also makes it possible to score a proposed edit against the intended part of the input. On the combined held-out test set, MaintNorm achieves 95.8% word-level error reduction, compared with 89.4% for a dictionary that chooses the most frequent training replacement and 85.0% for the tested configuration of ÚFAL, which generates replacements one word at a time. Training on the companies’ pooled records improves MaintNorm’s error reduction on each company’s test set compared with training separately.

The paper distinguishes producing the right words from correctly recording which input words they replace. With less training data, the system more often departed from the required output structure. Constraining generation helped it preserve the link to the input, while the strongest results in the main experiments came from unconstrained generation. The authors release the corpus, code and trained systems under the MIT license. The reported scores measure agreement with the corpus annotations on held-out records. They describe how well the system learns the editing and masking task in this setting.

Deep dive: MaintNorm: A corpus and benchmark model for lexical normalisation and masking of industrial maintenance short text

MaintNorm uses short mining maintenance records to test how well a system can expand shorthand, correct spelling, and mask sensitive details. · about 31 minutes to read

The problem and its context

Why short work orders are difficult to compare

A work order can tell a technician what to inspect, preserve an account of work already carried out, or record the condition of a machine. The same entry can later become evidence for someone investigating equipment failures. As the paper describes it, reliability engineers draw on the history of these records to investigate failure modes, support root cause analysis and estimate measures such as mean time to failure or remaining useful life. A brief line written for an immediate job may therefore need to be understood long after the job, by someone working from a collection of records.

The language fits the immediate setting. A technician who understands the equipment can recover a full phrase from a compressed component name or an abbreviation for a maintenance action. A record may omit sentence structure that would be expected in ordinary prose, change abruptly from an equipment code to an instruction, or attach a number to its unit. Spelling errors can occur without a recurring pattern that would make them easy to repair systematically. Technical shorthand and genuine engineering vocabulary appear in the same places, so unfamiliarity alone gives a poor basis for deciding that a word needs correction.

The practical difficulty becomes clearer when the records are read as a group. The same component can appear under a contraction, an expanded name, and a form in which the words have been run together. When an analysis relies on recurring wording, those forms can be counted separately even when they refer to the same thing. Casing creates another source of variation. A word appearing entirely in capitals can have the same role as its lower-case equivalent, while another capitalised string may be a conventional acronym worth preserving. Consistency depends on knowing which differences convey information.

Lexical normalisation addresses the wording of the record. A correction may fix the letters inside a word, but it may also expand an abbreviation into a phrase or join fragments separated by spaces. These are local changes within the record, instead of a rewrite into complete prose. A normalised work order can remain a short fragment and still be clearer to read or easier to compare with another entry. Keeping the fragments also preserves the work order’s function as a compact record of a condition or action.

The other problem concerns what the record reveals. Asset identifiers, personnel names and company-specific references can occur in the same brief texts as the details that make the records valuable for research. The paper describes confidentiality concerns and a shortage of suitable anonymisation methods as reasons industrial firms hesitate to release their data. It points to MaintNet, with 7,000 maintenance short texts, and a collection of 5,486 excavator maintenance short texts as examples in a landscape with few public sources of raw industrial records. The authors distinguish that situation from the availability of governmental records.

The paper gives masking a second purpose, beyond obscuring sensitive information. Two records may describe the same intervention in the same words, differing only in a numerical designation. For a task concerned with recognising the maintenance action and the component, annotating them separately may duplicate work. A numeric mask makes their common pattern explicit. It also removes the literal distinction between the designations, so the resulting text represents the information the authors want to retain for that purpose. The underlying motivation is to make technically informed information extraction less repetitive for specialists whose time is limited.

What earlier approaches addressed

The maintenance studies discussed in the paper pursued cleaner records to support downstream analysis. Their methods included heuristics, dictionaries of known replacements and matching based on character edits. A dictionary can store a familiar spelling or abbreviation together with the preferred form. An edit-distance method can suggest a correction by looking for a candidate separated from the original by a small set of character changes. Such methods give useful ways to tackle recurring variation. The authors identify adaptability across maintenance settings as a difficulty, especially when the vocabulary changes or a form needs to be interpreted in the context of the rest of the record.

Work on short informal messages gave lexical normalisation a more developed task definition. The studies the authors discuss range from early social-media experiments to a shared task that compared methods across languages. The shared-task tradition matters to MaintNorm in two ways. It offers earlier systems for comparison, and it provides a way of scoring edits at the word level. Bringing that evaluation into maintenance records requires a way to represent changes that touch several input or output words, including changes where the counts differ.

The paper describes a shift in general lexical normalisation from systems such as MoNoise towards sequence-to-sequence methods. A sequence-to-sequence system learns to turn an ordered input into an ordered output, with room for the output to differ in length. That flexibility suits short records where an input word can become a phrase or several fragments can become a word. Earlier work also used pretrained representations for normalisation, and work on e-commerce dialogues had already treated text normalisation and the concealment of selected content as related tasks. MaintNorm brings those lines of work to industrial maintenance and defines the edits and mask types for that setting.

Among the earlier normalisers, the paper singles out ÚFAL’s use of ByT5. It generates a replacement for a designated word by marking that word in the input. MaintNorm uses the same pretrained foundation but makes the whole record the unit of generation. The distinction affects what is generated together. A word-oriented system makes a separate replacement decision for each designated word. In MaintNorm, a single predicted edit can enclose several source words and produce several output words. Later edits are generated with the earlier parts of that same output already available.

A whole-record output introduces a practical scoring problem. Suppose an input contains a broken word, an abbreviation and one recognisable component name. After normalisation, a reader may readily see which new words correspond to the broken word and the abbreviation. An evaluation program needs that correspondence made explicit, particularly when spaces or entire words disappear. The authors discuss word alignment as a separate problem in its own right and point to work such as SimAlign. Their approach moves the correspondence into the text the system learns to generate.

The method, step by step

From work orders to paired records

The authors randomly sample work-order short texts from a repository belonging to the participating organisations. Each company contributes 4,000 texts. The paper calls the companies A, B and C to preserve their privacy. Their records cover heavy mobile equipment, including haul trucks, excavators, dozers, water trucks and drilling machines. The texts encompass planned and completed maintenance, routine and ad hoc work, and descriptions of equipment or component condition. This gives the study several organisational sources within a shared equipment domain.

Equal representation lets the authors ask whether records from different companies can support the same training system. The design also lets them compare training on one company’s style with training on the collection. The first processing decision keeps that comparison close to the original writing. Before annotation, the text is split at whitespace. A form with no internal space stays intact at this stage, even if it contains more than one word in the annotated version. A split inside a word remains in the input so the annotator can show how to repair it. This initial division into units is tokenization.

How MaintNorm turns work orders into scored edits

The steps in order.

How MaintNorm turns work orders into scored editsStep 1: Sample work orders from the participating companies1. Sample work orders from the participating companiesStep 2: Split the original text at whitespace2. Split the original text at whitespaceStep 3: Annotate corrections, word boundaries and mask spans3. Annotate corrections, word boundaries and mask spansStep 4: Obscure annotated values in the released inputs4. Obscure annotated values in the released inputsStep 5: Encode source spans alongside their intended replacements5. Encode source spans alongside their intended replacementsStep 6: Fine-tune ByT5 to generate the encoded records6. Fine-tune ByT5 to generate the encoded recordsStep 7: Recover edits and score them against held-out annotations7. Recover edits and score them against held-out annotations

The first author handles the annotation using LexiClean. The paper explains that the annotator has experience in both industrial maintenance and lexical normalisation and that available resources limited the work to one annotator. At this stage the record gains an intended form: the words to keep as written, the parts to revise, and the details to mark for masking. That pairing of an observed form with an intended interpretation is the central work of the linguistic annotation.

Deciding what to change

Some instructions concern the letters inside a word. The annotator restores missing characters, removes extras, and corrects characters that are out of place or wrong. A short form such as eng becomes engine. The paper uses the expansion of c/o to change out to illustrate a different length relationship. Both can help stabilise the wording, but the second creates a word boundary absent from the input.

Casing is also part of the intended text. An instruction written entirely in capitals can be converted to ordinary lower-case. A proper name can retain the capitals appropriate to that name, and an acronym is handled according to its conventional usage. The key annotation decision is whether the casing expresses a distinction the reader needs. Changing the capitalisation of ordinary words can reduce duplicates in the vocabulary, while retaining meaningful capitals preserves the way a specialist recognises a name or acronym.

Other edits change the boundaries between words or symbols. The paper’s 250hr example separates a number and its unit and expands the unit to hour. Its example repair/replace separates the slash from the words on either side. An edit can also run in the other direction by joining the separated pieces of a word. These operations affect what a downstream system can identify as a component of the record. They also explain why the annotation process needs to preserve which source units belonged to each edit.

The paper describes these relationships using the sizes of the affected source and target spans. A 1:1 change takes a single input token to a single output token. In the general notation, N describes the extent of the source span and M the extent of the replacement span. A source word can expand into multiple words, multiple pieces can converge on one word, and a multi-token span can be rewritten as a different multi-token span. An empty replacement removes material treated as superfluous. The span is the unit of transformation even when the characters inside it require several kinds of correction.

An operation count and a span count therefore answer different questions. Restoring the spelling and fixing the casing of the same source word can involve several operations, while the source and target each still occupy one token. Conversely, expanding one abbreviation into a phrase can be a single annotated substitution with several output tokens. That distinction matters when reading the corpus analysis. The frequency of a particular character operation says how often that kind of edit occurs. The frequency of a particular span shape says how frequently the input and output share that size relationship.

Masking values and preparing the public inputs

The annotation scheme uses four mask categories. <id> marks an asset identifier. <sensitive> is used for other organisation-specific details, which can include names of personnel, contractors or proprietary systems. <num> represents numerical values written with digits, and <date> represents dates expressed as numbers or as phrases. The tags give the output a limited amount of information about the removed material. A reader can still tell that a code referred to an asset or that the record specified a date, even though the literal value is absent from the normalised text.

A masking edit can cover a whole span. It can also be combined with lexical correction where useful wording and a value occur inside the same input unit. In one example, the source unit blwnEN1 yields blown followed by <id>. There is no whitespace in the original unit to indicate where the description ends and the identifier starts. Annotating the combined replacement tells the system to recover the description and replace the code within the same edit.

The decision to use numbers and dates as masks reflects the representation the authors want to learn. Consider the paper’s example of otherwise similar records about replacing differently numbered pumps. Normalised outputs can express the shared pattern as replace pump <num>. That is suitable for recognising a recurring action on a component. It leaves the exact pump designation outside the output, so a use that depends on that designation would require access to it elsewhere. The annotation serves the particular degree of abstraction the authors chose for the corpus.

The paper describes two distinct forms of post-processing. The annotated target receives the mask labels in place of the relevant values. The input distributed publicly also receives substitutions at the locations that were marked, so the released source side need not expose the original values. In that source side, the substitute still resembles the kind of expression the system is expected to detect. A public input can therefore present a plausible code to be masked, paired with a target that asks for <id>.

For an identifier, the substitute follows the original arrangement of letters, digits and case. For dates and numerical values, the paper says the structure is retained and the value permuted. In the remaining sensitive category, the authors choose a non-sensitive substitute with a corresponding number of tokens. Preserving these features helps keep the recognition problem meaningful after the release preparation. A source side made entirely of mask tags would leave little of the original task of deciding which text to mask, especially where the mask is embedded in a less regular input.

Recording each edit beside its source

In training, ByT5 sees an input string and an encoded output string. The authors borrow the idea of marking boundaries with dedicated brackets from earlier work on autoregressive entity linking. In MaintNorm, curly brackets surround the affected source span, square brackets surround its replacement, and text that stays as written is carried directly into the output. The replacement may be a word, a phrase, a mask, a mixture of wording and a mask, or an empty span.

The paper illustrates this with the input repl ace eng oil. The generated representation uses { repl ace } [ replace ] for the first edit and { eng } [ engine ] for the second, followed by oil as unchanged text. The final reading can be recovered by keeping the square-bracketed replacements and the unchanged material. For evaluation, the curly-bracketed text is also available to show precisely which part of the original each replacement belongs to.

The format solves a problem beyond producing readable output. The source side of the predicted edits, together with the unchanged material, gives an account of the entire input. In the example, the fact that replace came from repl ace remains visible. If the system simply wrote replace engine oil, the evaluator would have to reconstruct that association. Having the system report the edit also gives the authors a way to detect cases where the generated wording looks right but the association with a source span has been lost.

The cost of that design is a longer and more structured prediction. The system learns where to open and close spans, when to copy source text, and where to supply revised wording. Reproducing the source in its proper order is a requirement of the encoding. Producing a plausible final phrase and producing a usable edit record are distinct achievements. The tests of alignment in the paper are possible precisely because the output exposes this distinction.

Learning to generate the encoded record

The authors use an encoder and decoder based on the Transformer. The encoder processes the whole input record. The decoder produces the encoded output in order, each new unit conditioned on the input and the output generated so far. This is what the paper means by autoregressive generation. The system handles the record in one pass in the sense that it encodes the record and generates a single output for it. The decoder still produces that output successively.

The authors start from the pretrained google/byt5-small, which has 299M parameters. ByT5 represents the string as bytes, so it can work directly with the characters and combinations that appear in the maintenance notes without depending on a word-piece vocabulary to describe each unfamiliar form. The whitespace units used to annotate edits and calculate word-level scores belong to a different part of the design. A word or a mask can correspond to several units internally while being treated as a single item in the record that a reader sees.

During training, the system learns to assign a high probability to the expected continuation of the encoded target. The cross-entropy loss measures how much probability the system gives the training target at each step. The authors use the AdamW optimiser with a linear learning rate schedule and batches of 16 sequences. They set the source and target lengths to 256 tokens. The training schedule calls for 20,000 steps, but training ends early if validation loss fails to improve for five epochs. The development data supplies the signal for stopping, while the test data is held back for the benchmark. The implementation uses PyTorch, PyTorch Lightning and the Transformers library.

At prediction time, beam search keeps several candidate continuations as the output grows. The beam size used in the alignment study is 3, and the authors say the available resources limited the number of beams. The search must cover ordinary source text and the structured edits in the same output. Before generating a later span, the decoder can use the preceding parts of its proposed output as well as the input. This gives it access to context for an abbreviation or a merged string and allows a single prediction to cover edits across word boundaries.

Preserving alignment during generation

The authors also try prefix-constrained decoding. Here the prefix is the output already generated at a given step. A constraint uses the current state of that output to determine what the system is allowed to produce next. At positions where it is supposed to reproduce the record, the decoding procedure makes it copy the input. Generation is open within the part of an edit where it needs to propose the replacement. The procedure thus aims to preserve the source side of the mapping while leaving room to choose the lexical correction or mask.

Their motivation is an error that is easy to miss in a finished phrase. A system may write a corrected word where it was supposed to reproduce the original and put the correction in a separate span. A human reading the final wording could accept it, while the evaluation program finds that the source reconstructed from the output differs from the actual input. Forcing copies in the relevant positions addresses that kind of failure. An edit can still be associated with the right original text and propose the wrong replacement.

The constrained runs use logit renormalisation. The scores for continuations are adjusted after the set of permitted tokens is restricted. The authors point out that this may influence error reduction, since the procedure changes how the remaining options are scored during the search. The constrained decoding experiments therefore concern both a structural benefit and a possible change in the quality of the chosen edits.

Turning predictions into scores

The original company-level allocation is 3,200 training records, 400 development records and 400 test records per company, following an 80/10/10 split. The paper keeps those partitions distinguishable when pooling the data. It can train on all the training partitions and evaluate either on a particular company’s held-out records or on the combined test set. When it compares separate and pooled training for a given company, it uses that company’s own test records for both scores.

For scoring, the predicted brackets are converted to the tab-separated format used in the multilingual lexical normalisation shared task. This format lets the scorer compare predicted replacements with annotated replacements at the word level. The paper reports precision, recall and error reduction rate. It uses the same error reduction expression in the main text and in the appendix.

P = TP / (TP + FP)

P is precision. TP counts true positives, meaning required changes the system makes correctly. FP counts false positives, which the paper defines as incorrect changes to words that should have been left alone. The denominator adds true and false positives. Precision describes the correctness of the replacement decisions represented by those counts.

R = TP / (TP + FN)

R is recall. TP again counts required changes made correctly. FN counts false negatives, which are required changes the system misses or gets wrong. The denominator is the total of correctly handled and missed or incorrectly handled required changes. Recall measures how much of the needed work the system successfully carries out.

E.R.R. = (TP − FP) / (TP + FN)

E.R.R. is error reduction rate. TP is the count of correct required changes, FP is the count of unnecessary incorrect changes, and FN is the count of required changes missed or carried out incorrectly. Subtracting FP from TP charges for damage to text that should have stayed as written. Dividing by TP + FN puts that net contribution in relation to the amount of correction called for by the annotations. Keeping the input as it is earns an E.R.R. of 0%, while perfect normalisation reaches 1 on the formula’s scale. In the results, the paper expresses E.R.R. as a percentage. Reading precision and recall alongside it helps show whether a system’s score reflects the changes it attempted or the ones it left undone.

Experiments and results

How the corpus changed

The paper characterises the records before comparing systems. In the combined corpus, mean length goes from 5.3 tokens before annotation to 5.7 tokens after normalisation and masking. The total token count goes from 63,422 to 68,395. The vocabulary moves in the other direction, from 7,612 distinct types to 2,872, which the authors report as a 62% reduction. These are corpus statistics for the records and their annotated targets. They describe changes to the representation of the data, independently of how many of those changes the trained system is able to reproduce.

The two directions make sense together. Splitting a combined unit or spelling out a contraction can increase the length of an entry. If several different inputs resolve to the same full expression, the corpus has fewer distinct forms to keep track of. A mask can also replace many distinct values with a common tag. The resulting vocabulary reflects both normalisation and masking, so the aggregate reduction measures their joint effect.

The companies have different starting points. Company B’s portion has a mean length of 5.5 tokens in the input and 6.2 in the annotated version. The paper reports a 13% increase in token count for that company, compared with 3% for A and 7% for C. Company C starts with a vocabulary of 4,168 types and has 2,048 afterwards. Its reduction of 51% is smaller than the reported reductions of 57% for A and 56% for B. Thus a company can have short records and still have a relatively large variety of forms across them. Length and vocabulary size describe different properties of the collection.

The annotation counts show which changes account for much of the work. Removing all capitalisation is recorded 30,138 times across the combined corpus, while character addition is recorded 10,507 times. Token expansion is recorded 4,207 times. These are counts of operations, and the same token can contribute to several categories. Casing removal documents a frequent source of inconsistency, while the true-casing policy leaves room for those cases in which a capitalised technical form carries information.

The dominant span transformation is 1:1, with 38,825 occurrences in the combined corpus. The table records 8 transformations in its N:M category for changes between spans with multiple words. Expanding an individual token is much more common than that latter kind of edit. The encoding nonetheless supports both, since a benchmark that includes masking and joined text needs a way to represent more complicated spans when they occur. The operation statistics explain why simple single-word rules have a good opportunity to succeed on the task, as well as why they cannot express every annotated change.

The mask distribution is uneven too. The combined corpus contains 9,087 <id> annotations and 2,769 <num> annotations, beside 224 <sensitive> and 60 <date> annotations. Asset identifiers are therefore the largest category in the data in which the paper measures the joint task. Company C has 155 <sensitive> annotations compared with 44 for A and 25 for B, in spite of having fewer identifier masks than either of them. The companies share broad patterns but differ in how much of each kind of evidence they provide. A pooled result should be read in light of that mixture.

What the systems were asked to beat

Leave-As-Is supplies the benchmark’s reference point by returning the original text intact. It resolves no required edits and introduces no changes. Its E.R.R. is consequently 0%. This baseline gives error reduction a direct interpretation: a system needs to make enough appropriate changes to improve on leaving the record alone.

Most Frequent Replacement, or MFR, is a stronger comparison. The authors collect the replacements observed for individual words in training and store the most frequent one for each word. On a test record, the baseline chooses that stored replacement wherever it sees the word. An unseen word remains intact. The method can take advantage of recurring spellings, shorthand and casing patterns. It cannot revise its decision because the surrounding terms suggest a different meaning, and it has no entry to consult for a new source word.

ÚFAL provides the comparison with a pretrained system. It also uses ByT5, marking the word it wants to normalise with tags. The authors fine-tune it under its default settings while leaving out its data augmentation, which is the addition of generated examples to the available training data. The shared foundation makes it possible to compare two ways of using ByT5. MaintNorm produces the edits for a record jointly in its bracketed output, while ÚFAL generates replacements for designated words separately. The comparison reflects the configurations evaluated on these maintenance records.

The combined held-out test

MaintNorm achieves 95.8% E.R.R. on the combined held-out test. MFR reaches 89.4% and ÚFAL reaches 85.0% on that split. The substantial score for MFR shows how much of the benchmark is covered by repeated word-level correspondences. There is still a sizable set of required edits for which the joint sequence approach does better under this evaluation.

System comparison on the combined MaintNorm held-out test by error reduction rate

MaintNorm leads the comparison, with the replacement dictionary ahead of the tested word-by-word system.

System comparison on the combined MaintNorm held-out test by error reduction rateMost Frequent Replacement: 89.4Most Frequent Replacement89.4ÚFAL: 85.0ÚFAL85.0MaintNorm (this paper): 95.8MaintNorm (this paper)95.8
The numbers
System or settingE.R.R. %
Most Frequent Replacement89.4
ÚFAL85.0
MaintNorm (this paper)95.8

On the same pooled test, MaintNorm has precision of 99.7 and recall of 97.5 on the paper’s percentage scale. MFR registers 99.8 precision and 93.0 recall. ÚFAL registers 99.5 precision and 90.2 recall. MFR’s precision is marginally higher than MaintNorm’s on this split. MaintNorm’s advantage in E.R.R. comes with higher recall, showing that it successfully covers more of the required changes while sustaining high precision. The comparison is particularly informative because precision alone would give a different ordering at the top.

Each measure applies to the word-level benchmark. A high recall on required changes can coexist with mistakes concentrated in a few unusual forms or a small mask category. Similarly, a high overall E.R.R. can include records with the correct output except for one missed identifier or wrong expansion. The combined-score comparison captures how much editing the system gets right across the split. The error analysis supplies a closer look at the failures that aggregation leaves indistinct.

Results for the separate companies

With training limited to the test company’s own training partition, MaintNorm scores 95.2% E.R.R. for A, 90.0% for B and 89.1% for C. For A, the corresponding MFR and ÚFAL scores are 90.9% and 91.0%. For C, they are 78.6% and 71.9%, respectively. Company B is a narrow exception to the general advantage over the dictionary under local training. MFR reaches 90.2% E.R.R. there, and ÚFAL reaches 85.5%. That B comparison and the C value of 89.1% are worth retaining because the paper’s broad prose description is more favourable than these particular table entries.

With all the training partitions pooled, MaintNorm attains 96.6% E.R.R. on company A’s test set, 96.6% on B’s and 92.4% on C’s. These values each use the same company test partition as the respective local-training result. A and B also reach the same recall, 98.1, under pooled training, while C reaches 96.8. The test scores indicate that examples from the other companies are helpful in this setup. They also show that pooling does not make the test sets equally easy for the system.

Company B held-out error reduction with local and pooled training

Pooled training improves MaintNorm on the same company’s test records.

Company B held-out error reduction with local and pooled trainingMaintNorm trained on company B: 90.0MaintNorm trained on company B90.0MaintNorm trained on all companies (this paper): 96.6MaintNorm trained on all companies (thispaper)96.6
The numbers
System or settingE.R.R. %
MaintNorm trained on company B90.0
MaintNorm trained on all companies (this paper)96.6

Company B illustrates why the training conditions matter to interpretation. Its dictionary is competitive with the locally trained MaintNorm system, and the paper reports the dictionary at 90.2% E.R.R. on that test with either training choice. The sequence system benefits much more visibly from pooled training in that case. For company C, both the local and pooled configurations of MaintNorm are ahead of the listed baselines, but the strongest result for C remains below the pooled results for A and B. The data demonstrate a general benefit within this group of companies without identifying a common ceiling for all three.

What the ablations show

Pooling records changes the comparison

The paper offers comparisons of training sources, training sizes and decoding conditions, together with an inspection of remaining errors. The comparison between local and pooled training holds the target company’s test set fixed and changes the set of records available for learning. MaintNorm improves under pooling for all the companies. The authors observe common wording across their corpora and suggest that a larger and more varied collection gives the system better grounds for choosing an appropriate edit. That explanation is consistent with the appearance of similar kinds of abbreviated wording and identifier masking across the companies.

The design leaves two features of the additional data coupled. Pooled training gives the system more examples and exposes it to records from more than one organisation. The test comparison alone cannot tell how much of the improvement comes from the number of examples and how much from the variety of organisational sources. The authors similarly say that they cannot readily isolate the contributors to the performance differences. The evidence supports the result of pooling in this corpus, while the explanation for its size remains open.

The local systems also show that much of the task is learnable from one company’s records. Company A’s local score is 95.2% E.R.R., close to its score under pooled training. The role of extra data is more visible for company B. The resulting picture is useful for interpreting the aggregate result. A strong pooled score does not imply that every company’s data provides the same benefit, or that additional data affects every test partition to the same degree.

What joint generation appears to contribute

The comparison with MFR tests what is gained beyond a recurring word-to-replacement lookup. The dictionary’s precision on the pooled test is high, which supports the authors’ observation that many of the changes are straightforward and repeatable. MaintNorm’s higher recall shows that the dictionary’s reliable application of established replacements leaves more of the required editing incomplete. Occasional new forms, words requiring different treatment in different contexts, and combined spans are plausible sources of that limitation. The benchmark scores capture the overall gap, rather than apportioning it among those causes.

The comparison with ÚFAL asks a more focused question because both systems start from ByT5. MaintNorm gives the decoder the job of generating all edits in a record within one structure. ÚFAL generates individual word replacements. On the combined split and on the company test comparisons with pooled training, the bracketed sequence approach achieves higher E.R.R. The authors attribute the advantage partly to the way the whole record and earlier output inform the next generated step. The comparison evaluates these complete configurations. It does not independently vary the brackets, the unit of prediction and the available output context, so it cannot assign the performance gap to any one of those design choices.

The corpus analysis makes room for both kinds of result. Frequent 1:1 changes give dictionary and word-oriented methods suitable cases. A source with a contracted action and a joined equipment code illustrates what a single generated edit can do that separate word lookups handle poorly. The authors’ approach gives all of those cases a common representation. The paper provides examples of the more involved edits and an aggregate performance comparison, without a separate score showing how much each span shape contributes to the advantage.

Data size affects whether edits stay aligned

The alignment study varies the fraction of the pooled training data and scores structural alignment on the pooled test set. With 960 training records, there are 179/1,200 alignment errors, reported as 14.9%. The count falls to 56/1,200, or 4.7%, with 2,880 training records. At the full size of 9,600 training records, the paper reports 0/1,200, or 0.0%, for the tested beam size of 3. The trend indicates that the system learns the edit structure more reliably when trained on more records.

Alignment error rate on the combined MaintNorm test at selected training sizes

Alignment errors are most frequent with the smallest training sample and disappear at the full training size.

Alignment error rate on the combined MaintNorm test at selected training sizes960 training records: 14.9960 training records14.91,920 training records: 5.61,920 training records5.62,880 training records: 4.72,880 training records4.73,840 training records: 0.83,840 training records0.85,760 training records: 0.95,760 training records0.97,680 training records: 0.37,680 training records0.39,600 training records (this paper): 0.09,600 training records (this paper)0.0
The numbers
System or settingAlignment error %
960 training records14.9
1,920 training records5.6
2,880 training records4.7
3,840 training records0.8
5,760 training records0.9
7,680 training records0.3
9,600 training records (this paper)0.0

The full series fluctuates at intermediate sizes. For example, 5,760 training records produce 11/1,200 alignment errors, compared with 7/1,200 for 4,800 training records. The chart uses selected entries, and the full-size entry gives the clearest endpoint. In the paper’s table, the entry at 8,640 training records pairs a zero count with a non-zero percentage. That row does not support a precise percentage comparison as printed.

The appendix explains the structural error using an abbreviated instruction to replace engine oil. A prediction can retain the original input fragments in their proper positions and still propose replacement where the reference expects replace. That output is alignable and lexically wrong. Another prediction can supply the intended word replace as if it appeared in the input, skipping the span that should have mapped the abbreviation to it. The final wording can then be right while the scorer is unable to match its reconstructed input to the actual record. Alignment error counts address the latter kind of failure.

Prefix constraints target that structural problem. The authors report that constraints help prevent invalid copying and output structure when training data is sparse. They also say the strongest main results are achieved without constraints, where the training data provides enough examples of the brackets and copying behaviour. They identify renormalisation over the allowed tokens as a possible reason the constraints can lower error reduction. This is an explanation they propose, and the paper does not isolate it in a separate experiment. The study establishes that alignment and the correctness of the chosen edits can respond differently to the decoding procedure.

Where the predictions still fail

The authors inspect errors from the best-performing systems on the company test sets and report error rates between 2.2% and 3.4% in that analysis. The table distinguishes normalisation errors and masking errors. For A it lists 50 normalisation errors and 6 masking errors, and for B it lists 46 and 2, respectively. For C, the reported total of 70 incorrect predictions and the listed breakdown of 53 normalisation errors and 7 masking errors do not reconcile as printed. The breakdown establishes that both types occurred, but does not support a complete accounting for C.

The qualitative account draws attention to very rare forms, including forms that occur just once, and to source tokens that need more than one type of edit. For example, the desired replacement for &8on contains an expanded conjunction, a numeric mask and the separated word on. Predicting only one of those pieces leaves work undone. The paper also gives 80A as an example of a merged form involving a value and its interpretation. The desired output has to recover the meaning of the attached material while masking the value. The examples show why a format that can express the right span transformation can still yield the wrong content.

The authors expect a more varied sample to expose the system to more such patterns. Their error analysis indicates where that hypothesis comes from. It does not measure how many errors would be removed by adding particular kinds of examples. There is a useful distinction between common casing changes, which dominate the annotations, and the less familiar combinations that remain troublesome even when the overall benchmark is strong. A dataset can contain many examples of the former and still offer little guidance for an unusual joined expression.

Limitations

Limits the authors identify

The corpus covers short work-order records for heavy mobile equipment at Australian mining companies. The authors propose expanding it to other maintenance settings. They also plan to bring in a broader group of annotators. The current annotation came from one experienced person because of resource constraints. That decision gave the corpus a consistent set of choices about spelling, casing, expansion and masks. It leaves open how closely other maintenance specialists would agree with those choices in cases where a short form has several plausible readings.

The authors have not tested their encoding on other lexical normalisation corpora, including the multilingual shared-task data they discuss. Their main results therefore establish how the technique performs on MaintNorm. They also identify smaller or more complex corpora as cases requiring further investigation. The training-size experiment offers a reason for that caution. Structural errors occur more often when there are few examples from which to learn the encoding, and the constraints that improve alignment can affect the benchmark’s error reduction.

Compute limits also shape the evaluated configurations. The authors restrict beam search and suggest that a bigger pretrained system or a wider beam could improve results. Those possibilities are future work. They also discuss synthetic examples and curriculum learning as ways to help the system learn the encoding with scarce data. The paper does not report those interventions on MaintNorm. ÚFAL’s augmentation is omitted in the baseline configuration, so the comparison does not cover what that baseline could achieve with its additional example generation in this setting.

Limits visible in the evaluation

The company results use held-out texts, but the strongest pooled system has training records from each company whose test results are reported. That supports the use of pooled data for organisations represented in training. It leaves performance on a company entirely absent from training undetermined. The distinction matters if a new organisation uses different equipment codes, different conventions for logging work, or expansions that look similar to those in the corpus but convey different instructions. The evaluated question is whether a common system can serve the participating companies when each contributes examples.

The shared-task metrics give an intrinsic word-level evaluation. They say how well the output agrees with the required edits. They do not measure a change in an engineering outcome such as the quality of a failure investigation, the effort needed to annotate an extraction dataset, or the accuracy of a reliability estimate. The authors use these applications to explain why cleaner records matter. Testing whether the normalised and masked records improve any of those tasks would require measuring the performance of that task on the resulting text.

Masking introduces its own question about what counts as success. The system is tested on reproducing annotations whose purposes include removing sensitive details and suppressing repetitive numeric or date information. The aggregate scores combine those masks with normalisation edits. The paper does not report a separate recall for each mask type. With many identifier annotations and relatively few dates and other sensitive instances, one overall score offers little resolution about the least frequent categories. High overall performance cannot establish how consistently an uncommon personal or organisation-specific reference would be detected.

The release procedure also obscures the original values before placing the inputs in public view. Preserving the shape of a code or the token count of a phrase helps preserve cues associated with the task, but the benchmark score is a measure of annotation agreement, not an assessment of whether records can identify a company or person through combinations of remaining details. There is no reported test of such identification. The paper demonstrates a way of editing and preparing the records for release, and the measured quantity is the correctness of the sequence of edits.

Finally, masks that are helpful for finding recurring wording deliberately discard some distinctions. A numeral may separate closely related records that are interchangeable for one annotation task and distinct for another investigation. A date can be treated as redundant when the goal is to recognise an action, while remaining essential when the goal is to establish its timing. MaintNorm’s output is assessed against the chosen policy for these details. Its performance does not settle which details another maintenance task should preserve.

What came after

No later citing work is documented here, so there is no follow-on result to compare with MaintNorm’s findings. The authors identify several open directions, including trying the edit encoding on other normalisation corpora, collecting records from different maintenance settings, and involving more annotators. Those are plans described in the paper. The reported evidence remains the comparison of normalisation and masking methods on the mining records assembled for MaintNorm.

Cite

Cite as Tyler Bikaun, Melinda Hodkiewicz and Wei Liu. 2024. MaintNorm: A corpus and benchmark model for lexical normalisation and masking of industrial maintenance short text. Proceedings of the Ninth Workshop on Noisy and User-generated Text (W-NUT 2024).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.wnut-1.7

@inproceedings{bikaun2024maintnorm,
  title = {{MaintNorm: A corpus and benchmark model for lexical normalisation and masking of industrial maintenance short text}},
  author = {Tyler Bikaun, Melinda Hodkiewicz and Wei Liu},
  booktitle = {Proceedings of the Ninth Workshop on Noisy and User-generated Text (W-NUT 2024)},
  year = {2024},
  doi = {10.18653/v1/2024.wnut-1.7},
  url = {https://doi.org/10.18653/v1/2024.wnut-1.7}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bikaun-2024-maintnorm-corpus-benchmark-model-lexical/