Tail-to-Tail Non-Autoregressive Sequence Prediction for Chinese Grammatical Error Correction
Paper · 2021 · Piji Li and Shuming Shi
Summary
A typing mistake can leave the wrong Chinese character in a sentence without changing its length. An omission poses a different problem. The right answer contains material for which the original sentence has no position. A redundant word or a phrase in the wrong order calls for a different change again. In all of these cases, most of what the writer typed can still be used. The paper asks how an automatic system can preserve that material while making the changes required for Chinese grammatical error correction.
The authors call their approach Tail-to-Tail, or TtT. A Chinese BERT encoder uses context from either side of an input character to score candidates for the corrected sentence. A conditional random field then combines those scores with preferences for pairs of consecutive output characters. It can pick a character whose individual score is weaker if that character makes the surrounding sequence fit better. TtT is non-autoregressive because it computes the character scores without feeding its previous output decisions back into the encoder. Special markers give the prediction room to run longer than the source or to end sooner. A change in word order can be expressed by the characters selected across a stretch of output.
Correct characters are abundant in the training pairs. As the system learns to reproduce them, it can reduce its training error substantially while leaving the harder corrections unresolved. The authors use focal loss to reduce the influence of answers the system already predicts confidently. They do this for individual characters and for whole sentences. A comparison that removes either training objective favors keeping both, so the encoder learns from the reference character at each position as well as from the corrected sentence as a sequence.
The paper uses SIGHAN2015 to test corrections that preserve sentence length. It reports better sentence-level F1 than most of the comparison systems for finding errors and for fixing them. The authors also build TtTSet, using deletions, insertions, and local shuffling to create erroneous sentences from an existing corpus. On that test they report favorable results against sequence generators that can also change sentence length. A separate timing experiment measures time per example, which the authors use to assess the practicality of the approach. The paper identifies the implementation as TtT. The variable-length result demonstrates performance on the constructed errors, whose distribution is set by the corpus design.
Deep dive: Tail-to-Tail Non-Autoregressive Sequence Prediction for Chinese Grammatical Error Correction
Tail-to-Tail corrects Chinese sentences by scoring neighboring output characters together, with room to add, remove, or reorder text. · about 40 minutes to read
The problem and its context
Most of the answer is in the question
An automatic corrector receives a sentence whose wording already expresses much of what the writer intends. Its job is to find where that wording goes wrong and return a usable sentence. The authors discuss writing assistance, search, and speech recognition as applications in which this matters. The input already contains the substance, and typically much of the form, of the expected answer. A system can use that relationship to make a faithful correction. It can also learn to preserve the input so readily that it misses the places where preservation is the wrong decision.
The authors draw their classification of repairs from their examination of SIGHAN and NLPCC corpora. The simplest case is a substitution. With Pinyin input, the same pronunciation can be associated with different written expressions. The paper gives an example in which both the intended expression and the erroneous one are pronounced FeiChang. The rest of the sentence supplies evidence for choosing between the written forms. Once that choice is made, the material around the replacement can keep its locations. The paper calls the setting in which corrections preserve length FixLen.
An omission and a redundancy break the correspondence between input and output locations. When something is missing near the start of a sentence, returning it can move a long run of otherwise correct characters to later positions. When unnecessary material is removed, surviving characters can land earlier. A correct character may thus need to be reproduced at a different position. The task of preserving written material and the task of preserving numerical positions come apart as soon as the repair changes length.
Word order introduces a related difficulty. The authors use local paraphrasing for repairs that reconstruct a short stretch of the sentence, for instance by putting words in a better order. A particular reordering may leave the character count intact. It still belongs with the more flexible repairs in the paper’s classification because more than one location can be involved and the resulting stretch can also change length. The authors use VarLen for the broader setting that includes deletions, insertions, and local paraphrasing.
This classification describes what the correction accomplishes. A missing word, for instance, calls for an insertion when the sentence is repaired. The same training example can be made by starting with an intact sentence and deleting that word. The direction matters when interpreting the experiments. Corpus generation acts on a sentence that supplies the reference, whereas the corrector acts on the resulting erroneous input. One description is about introducing an error and the other is about reversing it.
How the earlier approaches made room for an edit
One approach treats the erroneous sentence as a source and the corrected sentence as a target, following the encoder–decoder arrangement used for machine translation. An encoder represents the source, and a decoder produces the target. Attention lets the decoder consult relevant information from the source as it writes. As the decoder can choose when to end and which material to emit at each step, the representation accommodates replacements, omissions, redundancies, and changes in order. This is the benefit the authors see in applying sequence-to-sequence prediction to correction. Neural Machine Translation by Jointly Learning to Align and Translate
In the autoregressive form discussed in the paper, each new output is chosen in light of the preceding outputs. During inference, those preceding outputs are the system’s own decisions. During training, the decoder can learn to continue from the correct prefix. The authors connect the mismatch to exposure bias. If a prediction at the beginning of a correction is wrong, the system can have to carry on from a context unlike the one it was trained to expect. In a task whose source is close to the answer, a plausible continuation can be a bad repair if it adds material unsupported by the input. The paper discusses this loss of faithfulness as hallucination. Bridging the Gap Between Training and Inference for Neural Machine Translation
Copying machinery offers the generator a way to draw output directly from the source. That is valuable when much of the source is already correct. The authors still identify faithfulness as a difficulty for the sequence-to-sequence systems they discuss. Giving a decoder a way to reproduce an input token makes copying available as a decision. Continued fidelity depends on when the system takes that option and what it generates around the copied material. Incorporating Copying Mechanisms
Tagging changes the object of prediction. Rather than writing each token of a new sentence in turn, a tagger assigns operations to positions in the input. The operations determine how to construct the corrected sentence. A label can indicate deletion, and a label that specifies an insertion or a replacement can identify the material to introduce. This makes the positions in the erroneous sentence the starting point for the repairs. More than one sort of change can be represented even when the number of input positions stays fixed.
The authors see costs in the tagging schemes they review. Giving insertions and substitutions separate labels for the same underlying vocabulary items expands the prediction inventory to about three times the size of the original vocabulary in their account. Also, the systems they discuss can finish one pass, apply its operations, and then examine the edited sentence again. Repeating until the tags cease calling for edits requires computing another prediction from each revised input. These are features of the particular tagging approaches the authors are comparing.
A more direct use of a pretrained BERT encoder takes advantage of the input’s correspondence with the answer. BERT represents an input position in light of surrounding text. The correction system can use that representation to select the appropriate character at the corresponding position. Adapting the pretrained parameters to correction pairs is an instance of fine-tuning. In the fixed-length systems discussed in the paper, this gives one output choice per source position. The format suits substitutions and leaves a longer reference without enough slots.
The authors also discuss a spelling system that estimates which locations are suspect before BERT makes the corrections. It sends information from a recurrent detector to BERT through soft masking, so the correction stage can respond to the predicted degree of suspicion. This brings detection into the architecture explicitly. It remains a fixed-length comparison in the paper. TtT instead computes scores for the output sequence and lets the resulting differences from the source express the required changes. Soft-Masked BERT
Why copying changes the training problem
The number of positions that can be copied affects how the corrector learns. The usual likelihood objective rewards assigning probability to the reference answer. For character prediction, every position at which the reference remains the same is an opportunity to improve that objective by learning to reproduce the input. The authors describe an imbalance between those plentiful correct positions and the smaller set of positions at which the system must make a repair. Once easy matches account for much of the progress during training, the objective can improve well before the task is solved.
The problem becomes clearer when considering a sentence with several edits. A useful corrector must preserve the material outside them, find each place that requires attention, and produce a combination of changes that forms the intended answer. Much of the sentence can receive high probabilities even when the system fails on the stretch that calls for repair. A position-wise objective can reward the successful predictions along that sentence, including the unchanged characters. The authors want that learning signal and a way to make the more difficult decisions matter more.
TtT therefore addresses different questions at different stages. The encoder gives each position access to context and to the source character that can frequently be carried forward. The prepared length sets the space within which the output is expressed. The decoder decides which adjacent output choices go together. During training, the system can be rewarded both for making a good character prediction and for making the complete reference competitive against alternative sequences. Focal weighting then changes how heavily the losses count as those predictions become easier.
The method, step by step
Decide how much room a correction can use
The name Tail-to-Tail refers to the path from the input end of the encoder stack to the prediction end. At the bottom, the system receives characters and their locations. Above the encoder, it scores characters that can occupy the output positions. The route through the stack gives the top access to information about the original characters, which is useful whenever the correction retains them. The decoder works with the scores produced at the top.
The representation starts with source and target sequences. The paper uses Chinese characters as the ordinary units of each sequence. Special symbols can also occupy positions. The lengths in the setup count positions in this representation, which is the level at which source and target must fit the same prediction layout.
X = (x₁, x₂, …, x_T)
X names the input sentence. Each x with a subscript is the input token at that index. The ellipsis covers the intervening positions, and T gives the length of the input. The parentheses enclose an ordered sequence.
Y = (y₁, y₂, …, y_T′)
Y names the corrected sentence, and each subscripted y denotes the output token at that position. The ellipsis again stands for the intermediate entries. T′ gives the target length. The prime distinguishes it from T, the source length.
The authors’ example starts with a short string of input characters followed by a marker showing where the text ends. This marker is part of the prepared sequence. The paper’s subsequent examples show what happens when the end occurs at another position in the correction.
X = (x₁, x₂, x₃, <eos>)
X is the example source. The terms x₁, x₂, and x₃ are its characters in order, and <eos> is the end-of-sentence symbol. Each comma separates successive positions in the example.
Y = (y₁, y₂, y₃, <eos>)
Y is the equal-length reference for this illustration. The terms y₁, y₂, and y₃ are its characters, and <eos> is the end marker at the same index as in the source. This case needs no special length adjustment. A retained character can occur at the same index on either side.
When the reference has fewer characters, it can put its end symbol earlier. To have matching array lengths in training, the authors fill out the rest of the target with padding. The number of pads equals the difference between T, the original source length, and T′, the original reference length. The layout tells the system where the corrected text stops and gives each remaining position a place in the prepared pair.
Y = (y₁, y₂, <eos>, <pad>)
Here Y represents a shorter answer in the source-sized layout. Its characters are y₁ and y₂. The <eos> symbol ends the corrected sentence, and <pad> fills the remaining slot. These markers account for the difference between the written correction and the full length of the array used for the example.
For an answer that runs longer, the target layout already contains the needed positions. The input provides too few, so the authors append mask symbols to it. This extends the encoder’s sequence, allowing it to supply a state for each output position. The paper illustrates this case with the following longer target and its expanded input.
Y = (y₁, y₂, y₃, y₄, y₅, <eos>)
Y now denotes the longer reference. Its y entries are successive characters indexed by their output positions, and <eos> follows the last one. The marked endpoint is later than in the original source example.
X = (x₁, x₂, x₃, <eos>, <mask>, <mask>)
X denotes the source presented to the encoder for this pair. Its x entries and its <eos> symbol are the same as before. The <mask> entries extend the layout at the right and can support predictions for real target tokens.
An omission can occur well before the source end marker. Appending masks still lets the system express the correction there. Characters following the omission then occupy later positions in the answer, and the extended layout accommodates the rest of the sentence. The location of a mask in this preparation indicates available capacity. The index at which an insertion is realized follows from the sequence the decoder selects. The same principle lets a shorter correction omit material in the middle and place the remaining characters before an earlier end marker.
A local reordering uses the same machinery. If the desired characters belong at different indices, the states can supply evidence for them there. The paper describes a predictor for the resulting sequence, so a reordering is represented by the ordered characters it returns. The decoder need never produce an instruction with the name of that edit. This is also how a system with scores at each position can express a combination of changes in a single answer.
From a Chinese input sentence to its correction
The steps in order.
Build a contextual state for each position
The encoder uses a stack of layers initialized from pretrained Chinese BERT-base. Its first representation combines the identity of the input token and the position it occupies. Both are represented by embeddings, which are vectors of learned numerical features. The encoder then revises those vectors using information from the full source. This is the part of TtT built from the Transformer.
H⁰ₜ = E(wₜ) + E(pₜ)
H⁰ₜ is the initial state at position t, and the superscript 0 identifies the layer before the Transformer updates. E(wₜ) denotes the token embedding for the input token indexed by wₜ. E(pₜ) denotes the separate positional embedding indexed by pₜ. The two vectors are added component by component. Using both gives the later layers access to character identity and order at the start of processing.
Within a layer, self-attention lets each state draw information from other states in the same input. The paper illustrates the calculation using projections from the initial array of states. The projections produce queries, keys, and values. A query determines what a particular position looks for, keys provide signals against which to match the query, and values carry the information to be combined. The projections use separate learned weights for these roles.
Q⁰ = H⁰ Wᑫ
Q⁰ collects the query vectors derived from the initial state array H⁰. Wᑫ is the learned weight matrix for the query projection. The superscript 0 identifies the source layer for the vectors, and the superscript q on the weights identifies their use. Placing H⁰ beside Wᑫ denotes matrix multiplication.
K⁰ = H⁰ Wᵏ
K⁰ is the array of key vectors from the same input state array H⁰. Wᵏ is the key projection matrix, with superscript k labeling that role. The superscript 0 again identifies the source layer, and multiplication yields a key for each position.
V⁰ = H⁰ Wᵛ
V⁰ is the array of value vectors, obtained by multiplying H⁰ by the value projection matrix Wᵛ. The superscript v labels that projection and 0 identifies the source layer. V⁰ here refers to attention values. The vocabulary later appears as 𝒱.
The paper uses the same layer-state notation for successive updates. The following equations give the attention result an intermediate name A so that the order of computation is visible.
Aₜ = LN(SelfAtt(Q⁰ₜ, K⁰, V⁰) + H⁰ₜ)
Aₜ is the intermediate state at position t. SelfAtt denotes multi-head self-attention. It takes that position’s query Q⁰ₜ together with the sequence’s keys K⁰ and values V⁰. The addition includes the incoming state H⁰ₜ alongside the result of attention. LN is layer normalization, which acts on the resulting sum.
H¹ₜ = LN(FFN(Aₜ) + Aₜ)
H¹ₜ is the completed first-layer state at position t, as marked by the superscript 1. FFN is the feed-forward network, applied to the intermediate state Aₜ at that position. The addition incorporates Aₜ in the updated state along with the result from FFN. LN normalizes their sum.
The query at a position consults keys and values from the full sequence. A character near the start can therefore be interpreted using evidence near the end, and a character near the end can draw on the beginning. This matters when pronunciation admits competing written forms. A candidate for the position can be well supported by later context even if the text preceding the position admits more than one interpretation. The operation also helps a position draw on a character elsewhere in the source when an edit changes the alignment.
There are two distinct routes by which the source informs the state in the equations. The additions bring information from the incoming state into the output of each update. Attention conveys information that the state obtains from other positions. In an unchanged stretch, the original character and its location can remain strong evidence. Where a correction is needed, context can change the balance among the output choices. Stacking the updates gives the final state several opportunities to integrate both kinds of information.
Hᴸ ∈ ℝ^(max(T, T′) × d)
Hᴸ is the array of output states after L Transformer layers. The symbol ∈ indicates membership in a space of real-valued arrays, denoted by ℝ. The function max selects the larger of T, the source length, and T′, the target length, for a prepared pair. The × separates the two dimensions of the array, and d is the number of features in each state. This shape expresses the purpose of the source and target preparation. The longer member of the pair determines the positions available to the encoder and prediction layer.
Give each character a score
A readout turns each final state into vocabulary scores. This lets the authors train a direct prediction for each position. It also supplies the character scores to be used in structured decoding. Both uses start from the same transformation of the encoder’s output, so the evidence learned for individual characters can inform the choice of a sequence.
sₜ = hₜᵀ Wₛ + bₛ
Here sₜ contains the scores at position t. The vector hₜ is that position’s final encoder state. The superscript ᵀ indicates a transpose, so hₜ can be multiplied by the scoring matrix Wₛ in the indicated orientation. The bias vector bₛ is added to the resulting scores. The subscript s identifies the scoring parameters. Wₛ maps from the state width d to the number of entries in the target vocabulary, and sₜ and bₛ each have one entry per vocabulary item.
P_dp(yₜ | X) = softmax(sₜ)[index(yₜ)]
P_dp denotes the probability from direct prediction, as indicated by dp. Its argument yₜ is a candidate token at position t. The vertical bar indicates conditioning on source X. Softmax converts the scores in sₜ to positive probabilities by exponentiating and normalizing them across the vocabulary. The brackets select the entry returned by index(yₜ), the vocabulary location of the candidate. Reading every entry gives the full distribution at that position.
y′ₜ = argmax_{v ∈ 𝒱} P_dp(v | X)
The direct prediction y′ₜ is the selected token at position t. The prime marks it as a prediction. The function argmax picks the candidate v with the greatest direct-prediction probability at that position given X. The domain v ∈ 𝒱 means the candidates come from the target vocabulary 𝒱.
At this point, all output positions have locally preferred candidates. Those preferences already reflect the input context because each state came from the encoder. A separate question is whether the output decisions fit when placed together. Suppose a span admits competing continuations. The best candidate at its first position and the best at its next position can reflect different continuations of the span. Choosing them independently can produce a combination with poor support as a phrase even when the two individual choices appear reasonable.
Contextual encoding and structured prediction deal with different dependencies. The former lets the state at one source position depend on other source positions. The latter lets the preferred output at a position depend on the candidate considered for its neighbor. This difference explains why a bidirectional encoder can still benefit from a decoder that compares output paths. It also explains why the output can have dependencies while its initial scores are computed non-autoregressively.
Compare paths through the candidate tokens
TtT uses a linear-chain conditional random field, abbreviated CRF. A path in the chain specifies a vocabulary item at each modeled position. The path receives a score for every token it includes and one for every transition from a token to its immediate successor. Each path is scored as a unit. The decoder can then select a sequence whose combination of character and transition scores is strong.
P_crf(Y | X) = exp(Σ_{t=1}^{T′} s(yₜ) + Σ_{t=2}^{T′} τ(yₜ₋₁, yₜ)) / Z(X)
P_crf is the conditional random field probability for output sequence Y given source X. The vertical bar denotes that conditioning. In the first sum, Σ adds the score s(yₜ) for the token at each position t from 1 through T′. This is the component of sₜ at the vocabulary index of yₜ. The second sum begins at 2 because each term needs an earlier token yₜ₋₁ as well as the current token yₜ. The function τ denotes their ordered transition score, written with a different letter here to distinguish it from the position index t. The plus sign combines the token and transition totals. The exponential function exp converts the path score to a positive weight. Division by the normalizer Z(X) turns that weight into a probability relative to competing paths for the input.
τ(yₜ₋₁, yₜ) = M[yₜ₋₁, yₜ]
The transition function τ takes a preceding token yₜ₋₁ and a following token yₜ, indexed by their places in the output path. M is the matrix of transition scores. The brackets select its row for the preceding token and its column for the following token, using their vocabulary indices. A row and a column are available for each vocabulary entry. The entry is shared wherever this ordered pair occurs in a path.
A transition can change a decision when the evidence from the source leaves close alternatives. Consider a character with a modestly weaker position score than another candidate. If its transitions to the candidates on both sides are sufficiently more favorable, the path containing it can win. The same choice changes the comparison for its neighbors. A chain calculation evaluates these effects along the sequence, including connections across a span whose characters must change together.
The score has a specific reach. Its explicit transition terms cover consecutive output tokens. The evidence at each position can still reflect distant source context because it comes from the encoder. For example, a character score can incorporate information from another part of the input about a phrase that needs to move. The transition scores then evaluate its fit alongside the other characters proposed in the output. The method combines distant input information with immediate output interactions through these separate terms.
Z(X) is important during learning because the reference sequence competes with alternatives. A large score can correspond to a modest probability when many other paths receive substantial scores too. For decoding on a fixed set of positions and candidates, every path has the same normalizer. As a consequence, the path with the largest score also has the highest conditional probability in that search space. Training and inference both use the scores, with training needing the distribution and inference needing a choice.
Reduce the cost of the chain
The complete transition matrix has an entry for every ordered pair in the vocabulary. The authors mention vocabularies of more than 32k items as an example of the scale encountered in text generation. TtT uses a low-rank factorization to learn those scores through smaller parameter arrays. Each vocabulary item has a row for its role as a preceding token and a row for its role as a following token. The two rows jointly determine the transition.
M = E₁ E₂ᵀ
M is the implied transition matrix. E₁ and E₂ are trainable matrices with one row per vocabulary entry. The subscripts identify the two roles, with E₁ supplying the preceding-token factor and E₂ the following-token factor. The superscript ᵀ transposes E₂ for matrix multiplication. The pair score comes from multiplying and summing corresponding features in the selected rows.
dₘ ≪ |𝒱|
The symbol dₘ gives the number of columns in each factor. The bars around 𝒱 denote the size of the vocabulary, and ≪ expresses that the factor width is much smaller than that size. The experimental factor width is 32. The factorization makes the scores share parameters. Two vocabulary items whose rows are similar in one role can have related transition scores in that role across many partners.
A compact representation of pair scores still leaves many possible paths. The paper also restricts attention to the top k candidate nodes at each step, where k controls the number retained. The experimental setting for the normalization calculation is 64. Pruning takes paths out of the calculation whenever they would pass through a discarded candidate. This reduces the number of transitions that must be considered between the remaining positions.
For selecting a path, Viterbi decoding uses the fact that the score connects successive positions. At a given candidate, it keeps the best partial score for reaching that candidate. Extension into the next position depends on the candidate just reached and the next transition. The procedure can carry forward a record of the best predecessor and recover the winning path. With all vocabulary entries available, the paper describes this as finding the global optimum of the given chain. The truncated version does the calculation over the reduced candidate sets.
The calculation for the normalizer has a related structure and a different purpose. It must account for the contributions from competing paths, while the decoder seeks the best path. The authors discuss truncation for keeping the normalization step manageable as well as for efficient decoding. In either use, candidates dropped at an early stage cannot contribute later, even if useful transitions would have made them competitive. The probability calculation or the winning path is then relative to the candidates that were kept.
Train at the character level and the sequence level
The authors first write the learning objectives as negative log likelihoods. Maximizing the probability of the reference is equivalent to minimizing its negative log likelihood. For direct prediction, the reference supplies a token at each position. For the CRF, it supplies a path. The objectives share the encoder and scoring layer, which lets both losses inform how those parts assign character scores.
ℒ_dp = −Σ_{t=1}^{T′} log P_dp(yₜ | X)
ℒ_dp denotes the direct-prediction loss. The sum Σ ranges over positions t from 1 through T′. The quantity P_dp(yₜ | X) gives the probability of the reference token yₜ at position t given input X. The function log takes its logarithm. The leading minus sign makes low reference probabilities yield larger penalties. Each location adds a term, so a difficult character can affect this loss regardless of the rest of the sentence.
ℒ_crf = −log P_crf(Y | X)
ℒ_crf denotes the sequence loss. The expression P_crf(Y | X) is the CRF’s probability of the complete reference Y given X. The logarithm and the minus sign again make low reference probability more costly. This time the reference is judged as a path competing with other paths, using transition scores alongside the scores for the individual characters.
ℒ = ℒ_dp + ℒ_crf
The symbol ℒ denotes the ordinary combined objective. It adds ℒ_dp, the direct-prediction term, to ℒ_crf, the sequence term. The expression assigns each whole loss its stated contribution with no additional coefficient. One term supplies repeated supervision across positions. The other teaches the system to give the correct sequence a competitive probability under the chain.
The authors then modify each component to deal with the large number of easy predictions. Focal loss multiplies a reference’s negative log probability by a factor based on current confidence in that reference. A high reference probability produces a small multiplier. For a low reference probability, the multiplier stays larger. A hard prediction thus retains more of its weight compared with an easy one. As training advances, tokens or sentences that become easy can naturally make smaller contributions.
ℒ_dp^fl = −Σ_{t=1}^{T′} (1 − P_dp(yₜ | X))^γ log P_dp(yₜ | X)
ℒ_dp^fl is the direct-prediction loss with focal weighting, marked by fl. The index t runs from 1 through T′ in the sum Σ. At every position, P_dp(yₜ | X) is the probability given to the reference character yₜ conditional on input X. The focal factor subtracts that probability from 1 and raises the result to γ. The exponent γ controls the discount for confident predictions. The logarithm operates on the reference probability, and the initial minus sign converts the weighted log probabilities into a loss.
ℒ_crf^fl = −(1 − P_crf(Y | X))^γ log P_crf(Y | X)
ℒ_crf^fl is the sequence loss after focal weighting. P_crf(Y | X) denotes the probability of reference Y given X. Subtracting it from 1 and raising that value to γ gives a single multiplier for the sentence. The logarithm and minus sign create the negative log-probability term. In a training batch, this expression lets different examples contribute according to their own sequence probabilities.
ℒ^fl = ℒ_dp^fl + ℒ_crf^fl
ℒ^fl denotes the complete focal objective. The addition combines ℒ_dp^fl, the sum of focal losses over reference tokens, and ℒ_crf^fl, the focal loss for the reference path. The character multipliers can differ within a sentence. The path multiplier gives that sentence one weight for its structured loss.
Whether a position was edited never appears explicitly in the multiplier. A copy which remains difficult can retain weight, and a common correction which has become predictable can receive a smaller weight. The authors’ reasoning is that the many straightforward copies would otherwise have substantial collective influence. Confidence gives the loss a means of discounting that influence without requiring an edit-specific weight. The same argument at sentence level shifts attention toward reference sequences the chain still finds hard to prefer.
The experimental setting uses γ of 0.5 after tuning. The batch size is 100, the learning rate is 1e-5, and the dropout rate is 0.1. The learning rate controls the scale of updates, and dropout introduces omissions during training. The encoder begins with the pretrained Chinese BERT-base parameters, and the correction pairs provide the references for both losses. The parameter updates use Adam.
At inference, the evidence needed by the chain comes from the prepared input. The encoder produces the vocabulary scores across its positions, and the decoder applies either the full search or the restricted candidate version described by the authors. The dynamic program advances along the chain, but it begins with the scores in hand. It need not make each new encoder prediction depend on the identities of the output tokens already chosen. The selected path, with its end marker determining the span of corrected text, is the system’s answer.
Experiments and results
The fixed-length test and the constructed variable-length test
The paper reports evaluation on the SIGHAN15 benchmark, called SIGHAN2015 in the results. It gives 2,339 training samples and 1,100 test samples for that benchmark. The test split evaluates fixed-length correction, so it can show how well a system uses context to identify and replace wrong characters. A system whose output format requires equal source and target lengths can compete there on the stated task.
HybirdSet is a separate fixed-length corpus, with about 270k paired examples. Its construction uses a confusion set informed by automatic speech recognition and optical character recognition. A confusion set supplies candidates for items that may be mistaken for one another. Speech and optical recognition supply different grounds for such confusions, and the prepared substitutions yield pairs appropriate for training a fixed-length corrector. In the main SIGHAN2015 comparison, the authors identify HybirdSet as the training source for TtT and their implemented comparisons, as well as for Hybrid. Hybrid Corpus Generation for Chinese Spelling Check
For VarLen evaluation, the authors take original sentences from the HybirdSet corpus and create erroneous inputs using deletion, insertion, and local shuffling. A deletion during construction creates missing material that the answer must restore. An insertion during construction puts extraneous material into the input, which the answer must remove. Local shuffling changes the order in a stretch, leaving the corrector to recover the intended arrangement. This makes TtTSet a test of operations going beyond the substitution errors addressed by the fixed-length datasets.
The paper assigns one-third of the constructed examples to each operation and reports about 540k samples overall for the resulting corpus. The size of the constructed corpus and the size of its test split describe different parts of the experiment. The chart compares the scope of the two test settings using the counts in the results captions. Its measure is the number of examples evaluated.
Test sample counts for the SIGHAN2015 and TtTSet settings
The test of corrections that can change sentence length covers more samples.
The numbers
| System or setting | test samples |
|---|---|
| SIGHAN2015 fixed-length setting | 1100 |
| TtTSet variable-length setting (this paper) | 5662 |
The NLPCC corpus figures in the paper’s examination of error types. The variable-length results discussed in the experiments use TtTSet. The constructed benchmark gives the authors a way to put examples of the broader operations into the evaluation in designated proportions. As a consequence, the meaning of an aggregate score includes that design choice. It concerns the prescribed mix of perturbations and the source material from which the corpus was made.
Which comparators address which task
The SIGHAN setting brings together several approaches developed for Chinese spelling correction. NTOU generates or scores alternatives with an n-gram approach and reranks them. An n-gram describes a consecutive group of tokens used as a basis for estimating local patterns. HanSpeller++ uses a hidden Markov approach followed by reranking. NCTU-NTUT uses a conditional random field to represent dependencies between labels. That comparison shows that using a CRF for a spelling task was already part of the setting in which the authors proposed TtT. Their own decoder combines token dependencies with scores from the bidirectional encoder. N-gram
Some baselines supply other kinds of evidence about the errors. SpellGCN incorporates similarities in pronunciation and written appearance through a graph-based network. Chunk decodes over chunks and applies a global optimization so that it can handle typos involving single characters and longer words within the same system. FASPell incorporates BERT into its sequence prediction. SoftMask-BERT uses a recurrent stage to estimate error locations and shares those estimates with BERT through a soft mask. These comparisons bring different mechanisms for spotting plausible alternatives to the fixed-length test. Chunk-Based Chinese Spelling Check
Hybrid uses a recurrent encoder–decoder, and Confusionset brings copying into a sequence-to-sequence design. The authors implement Transformer-s2s as a Transformer encoder–decoder and GPT2-finetune as a generator adapted from pretrained Chinese GPT2. The implemented generators can produce longer or shorter answers, making them relevant to the VarLen comparison. They use a beam size of 5. Their beam keeps alternative prefixes as the output grows. The CRF candidate limit concerns per-position nodes in a chain whose initial scores come from a full pass over the input. Attention Is All You Need
BERT-finetune directly adapts Chinese BERT to the correction corpus. It serves as a comparison for what can be done with contextual representations and position-aligned output. Its architecture is suited to the case in which each source position can already host a corresponding reference token. The paper treats it and SoftMask-BERT as fixed-length systems in their original form. For the part of the task where a good answer may have more characters, the generators supply a comparison with an output format that already allows that possibility.
The paper calls attention to a difference in data for SoftMask-BERT. Its best results follow pretraining on 500M paired examples. For the paper’s principal fixed-length result, TtT, BERT-finetune, Transformer-s2s, and GPT2-finetune use the HybirdSet training corpus. These conditions matter when reading the comparison. The shared correction data make some of the entries closer comparisons on that dimension, while the published baselines have their own training histories. The combined evidence situates the proposed system against existing approaches under those stated conditions.
What earns credit for a sentence
The evaluation distinguishes detection from correction. Detection requires the locations identified as erroneous to agree with the annotated locations throughout the sentence. Partial localization gives an incomplete match. Correction requires those locations and their corresponding repairs to agree. A system can therefore detect a sentence’s errors correctly and still fail to correct them if it supplies the wrong replacement or produces a different repair.
The paper reports sentence-level accuracy, precision, recall, and F1. Accuracy summarizes correct decisions over the evaluated sentences. Precision captures how often sentences for which the system proposes errors or repairs meet the relevant success criterion. Recall captures how many reference error cases the system succeeds on. F1 combines precision and recall. The unit is a sentence for both forms of assessment, and what counts as a success depends on whether the evaluation asks for detection or correction.
This choice of unit changes the interpretation of a result. Recognizing most characters in a mistake-free stretch does little to distinguish the systems if an annotated error elsewhere in the sentence goes unaddressed. Likewise, an unsolicited edit can cause the proposed set of locations to diverge from the reference. The scoring tests both whether a predictor made the required change and whether it exercised sufficient restraint elsewhere. A character-level tally would answer a different question about the output.
The distinction is especially consequential for changes of order. A correction can involve several character positions even when the underlying problem concerns one phrase. The sentence criterion can register whether the combined decision agrees with the reference. Its score alone supplies limited information about which character within that phrase made the path succeed or fail. That is one reason the architectural analyses and the aggregate evaluation should be read together.
How TtT compares on the benchmark tasks
On the SIGHAN2015 test split, the authors single out F1 as the basis for their main comparative finding. They report that TtT improves on most of the strong baselines for both error detection and error correction. This setting exercises the system’s use of contextual characters and structured output while keeping answer length fixed. Its performance therefore concerns the parts of the design that remain pertinent when extra output room is unnecessary. The comparison is expressed against most of the baselines. It supports a relative result without establishing a lead over every comparator on each reported metric.
On the TtTSet test split, the paper reports superior performance for TtT in the variable-length experiment and includes Transformer-s2s and GPT2-finetune because both can express the necessary kinds of edits. TtT’s ability to output a shorter or longer correction makes it eligible for that comparison, and its sequence scores let neighboring choices be evaluated together. The authors discuss repetition and unsupported generated material as weaknesses of the generators. Aggregate changes in detection and correction scores show differences in benchmark performance. Identifying each source of error would require examining the failed outputs by category.
The timing analysis measures time per sample for TtT and selected comparison systems. The authors use it to argue that TtT can combine competitive correction with a practical prediction cost. The mechanism behind the claim is concrete. The encoder computes scores across positions, and the structured search uses a compact transition representation and can restrict the candidate nodes. The sequence generators use a beam over successively extended output prefixes. Time per sample compares the working configurations, so it is the entire prediction procedure that contributes to the timing.
The reported F1 comparisons and the timing assessment answer separate questions. The benchmark comparisons ask how frequently the systems agree with annotated detections and repairs. The time measurement asks what computation is needed to deliver a prediction. For the paper’s proposal, the combination matters because an ability to perform length-changing repairs could otherwise come with the cost of a generator or multiple tagging passes. The qualitative findings support the authors’ direction of comparison. Exact score and latency margins require the corresponding metric values.
What the ablations show
Changing the source of correction pairs
The authors train on datasets of different sizes and keep the SIGHAN2015 test split as the evaluation target. They report that TtT gives the best performance among the compared systems across the training settings in this analysis. Using the same test split means the ranking is judged against the same sentences and annotations after the training source changes. The observed advantage therefore extends beyond the principal HybirdSet training condition to the conditions examined in the analysis.
A training dataset determines the examples on which the characters and sequences receive supervision. Changes between corpora can affect many properties at once. The number of examples matters, and the way errors are produced influences the evidence about what correct text looks like and where repairs are usually required. The experiment gives results across training regimes. An estimate of the effect of corpus size by itself would require a design that keeps the sources and error-generation process comparable as size varies.
Using SIGHAN2015 throughout also keeps the scope of the outcome fixed. The ablation asks about transfer to a substitution-oriented benchmark from different training data. A training corpus that contains more complicated repairs can still affect fixed-length performance through the representations and scores it teaches. The outcome of this comparison is measured on the fixed-length task. The TtTSet comparison provides the direct experiment on broader edits.
Training with either objective alone
The loss ablation compares the full training objective with a version that drops the direct-prediction term and one that drops the CRF term. The authors report a better result when both are present. Under direct supervision, the encoder and readout are rewarded for placing the correct token high among the candidates at its location. The CRF supervision asks whether the reference path has good probability once the other token decisions and transitions are taken into account. The experiment supports the combined use of those signals in the reported training setup.
The direct objective has a role even when the final decision is made jointly. A high position score can make a correct character competitive with nearby alternatives in the path search. Training it directly gives the system feedback about that character even in an example where disagreements elsewhere determine the sequence probability. The structured loss supplies feedback on how these positional scores combine. A sequence whose members are individually plausible can receive poor transition scores or face a stronger competing path. The two objectives can thus bring different aspects of the same reference to bear on the learned scores.
Removing a loss changes the parameter updates that produce those scores. The ablation measures the consequence of changing the training objective, with the reported architecture and experiment as context. A different experiment could hold the learned character scores fixed and compare the output of an independent argmax with the output of the chain. That would measure the difference attributable to the decoding decision on identical inputs to the readout. The reported comparison supports the use of joint supervision as a training choice.
Tuning the focal exponent
The paper tests γ values of 0, 0.1, 0.5, 1, 2, and 5. It selects 0.5 for TtT. At 0, the focal multiplier is inactive and the objective has the ordinary negative log-likelihood form. Positive exponents make the multiplier smaller for predictions the system handles confidently. The grid includes both the unweighted case and a range of strengths for that confidence-based discount.
The equation shows why the larger exponents are worth comparing. For a reference that already receives high probability, its complement is small. Raising that complement to a higher exponent makes its contribution smaller still. For a reference that receives low probability, the complement is closer to certainty and keeps more of its weight relative to easy cases. This relation holds whether the reference is a token or a path. The two focal terms nevertheless measure confidence on different objects, so a setting satisfactory for the sum need not describe the best weight for either object in isolation.
The selected setting is evidence about the grid used for this Chinese correction task. The authors vary a shared exponent for the two terms. The results therefore support the tested combination of token and sentence weighting. Estimating which part accounts for the improvement would require a separate comparison that varies one while holding the other fixed. It would also take results by error type to say whether discounting easy cases helps missing material, redundancies, and local order in the same way.
Timing as a comparison of complete procedures
Low-rank factors reduce the number of transition parameters, while top-k truncation reduces the set of paths considered in the chain. These mechanisms address related costs at different points. The timing analysis evaluates TtT as a full system alongside baselines. It supports the authors’ practical assessment of the configuration that produced the predictions. A sweep over factor widths or candidate counts could measure how much time each choice saves and whether a particular change costs accuracy.
The comparison also involves different forms of decoding. A full run of the generator extends candidate prefixes. A direct character predictor can choose independently from the distributions it already computed. A CRF decoder evaluates transitions across candidates with encoder scores already available. Measuring time per sample gives a common outcome for these procedures. It does not apportion that outcome between the encoder, the readout, and search, or establish that different settings of the same decoders would have the same relative cost.
Limitations
The authors’ stated scope and approximations
The paper restricts its study to Chinese. Its motivation includes same-pronunciation confusions in Pinyin input, and its experiments use Chinese characters, Chinese BERT initialization, and Chinese correction pairs. The authors discuss correction as a broader problem, while the implementation and results test one language and one representation of the source and target. The experiments provide the basis for claims about those correction settings.
The authors also explain that efficient structured prediction uses an approximation. Factorizing the transition matrix limits the kinds of pair scores it can express with its chosen parameter width. Candidate truncation limits the paths available to the probability calculation and to decoding when that option is used. The paper retains full Viterbi as an inference option. The full and truncated searches have the same objective on the candidates they consider, but the truncated search can lose a candidate that would have been valuable after transitions were taken into account.
The authors propose adding lexical analysis in future work. Word segmentation would bring information about which characters form words into the correction process. They also identify finer-grained analysis of names and other entities as a possible extension. Their reported architectural gains come from the encoder, the output chain, the treatment of variable length, and the losses they study. Segmentation and entity information remain prospective additions for which the paper gives no measured correction gain. Named entity recognition
What follows from the benchmark construction
The main fixed-length evaluation uses an established Chinese spelling benchmark. The variable-length evaluation uses sentences derived from HybirdSet by adding deliberate errors. This gives the authors examples of the relevant changes and control over their proportions. Naturally occurring writing can present different proportions, combinations, and forms of those problems. The reported comparison establishes how TtT fares under the construction used for TtTSet. Generalization to naturally produced length-changing mistakes remains open in the reported experiments.
Differences between the two evaluations also involve more than length. They involve the sources of the sentences and the processes that generate the errors. A performance change between SIGHAN2015 and TtTSet would therefore have multiple possible explanations. An aggregate variable-length score further leaves open whether the system handles the full range of errors equally well. The comparison demonstrates behavior on the chosen mix. A breakdown by the operation used to produce an erroneous example would answer which repairs contribute most to that outcome.
The exact-agreement criterion presents a separate limit. For a substitution task, an annotated character can provide a precise target. In a local paraphrase, more than one wording can plausibly preserve the intention and produce grammatical text. A prediction that diverges from the annotated correction can lose credit even if another reader would accept it. The reported metrics establish agreement with the benchmark repairs. Fluency, the preservation of meaning, and the acceptability of alternatives would each require evidence suited to that property.
What follows from the prediction setup
The allocation of extra positions is easy to understand for a known training pair. Comparing source and reference lengths tells the authors which member needs extension. For an unseen input, the reference length is the thing the corrector has yet to determine. The paper describes methods of searching the chain at inference, while leaving open how it chooses the number of extra positions for a new sentence. The available positions set an upper bound on what the decoder can express in that pass. Increasing their number also gives the system more decisions to make about characters and where the output should end.
Length flexibility and output dependency also have separate roles. Slots supply the capacity for extra material. Transition scores can help choose a coherent sequence that uses that capacity. The paper credits CRF-based dependency scoring with improving the broader task, and its loss ablation supports combined supervision. That comparison does not assign a separate quantitative contribution to slot preparation, the transition parameterization, and the decoding rule. It tests the training terms within the system the authors assembled.
Similarly, the focal losses measure confidence in the reference. A rare alteration can receive a large influence while the system struggles with it, and a difficult unchanged position can receive a large influence for the same reason. The grid search evaluates that rule as part of TtT. The paper does not show how much effective training weight moved from unchanged to edited positions or how that allocation evolved. The mechanism explains how such a shift can occur. Its detailed behavior across the dataset would need a separate analysis of the weights.
The time measurement supports the proposal as an efficient correction procedure in the authors’ experiments. The conclusion extends this observation to suitability for online use. Per-sample timing leaves questions about workload, such as how latency changes with sentence length or concurrent requests. A similar qualification applies to the explanation that generators repeat or hallucinate. The design offers reasons to expect differences in behavior, but the benchmark and timing comparisons answer broader questions about correction success and computational cost. The counts of particular generator failures remain undetermined by those measurements.
What came after
Corpus generation for native Chinese writing
A later paper on linguistic rules for generating a native Chinese correction corpus cites TtT. Its stated subject takes up a data question that TtT makes visible. A benchmark composed of substitutions gives little occasion to learn or test repairs to omissions, excess material, or local order. TtT responds by imposing perturbations on sentences from HybirdSet. A study organized around linguistic rules tackles the choice of how to generate the errors that populate a corpus for native writers. Linguistic Rules-Based Corpus Generation for Native Chinese Grammatical Error Correction
The connection concerns the relationship between an error inventory and the generated examples. TtT groups cases by what must happen to repair the sentence, and it creates examples by reversing the direction of those operations. The later paper’s title puts emphasis on rules that govern corpus generation. Those perspectives meet at the point where a data creator decides what kind of faulty input to pair with a correct sentence. The established connection is the citation and the shared focus on constructing correction data. The later work’s use of any specific component of TtT remains unspecified.
Multiple references for Russian correction
The later Russian benchmark paper cites TtT and studies a different choice about correction data. A multiple-reference benchmark admits several reference answers as part of its design. That bears on how to credit a repair, especially when a short passage can be made grammatical in several ways. TtT’s sentence criterion evaluates close agreement with annotated locations and repairs. A benchmark with multiple references addresses the case in which a single annotated result captures only part of the acceptable answer space. Multi-Reference Benchmarks for Russian Grammatical Error Correction
The relationship is at the level of evaluation. TtT’s distinction between locating errors and supplying the right repair makes it possible to see why a change in references matters. Several readers can agree that a span is defective while supplying different grammatical continuations or word orders. The Russian work’s stated benchmark focus concerns the reference side of this problem in another language. Its citation gives a connection between the studies, while adoption or evaluation of TtT’s architecture in Russian remains unestablished.
The later works concern opposite directions of benchmark design. Corpus generation specifies which erroneous inputs a corrector is given, while multiple-reference evaluation specifies which repaired outputs can count. TtT’s variable-length experiment ties those decisions to an architectural capability: the predictor must have space to express the target and a way to select coherent sequences within that space. The later studies’ stated subjects show how the data and the scoring can each become research questions in their own right.
Cite
Cite as Piji Li and Shuming Shi. 2021. Tail-to-Tail Non-Autoregressive Sequence Prediction for Chinese Grammatical Error Correction. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers).
@inproceedings{li2021tail,
title = {{Tail-to-Tail Non-Autoregressive Sequence Prediction for Chinese Grammatical Error Correction}},
author = {Piji Li and Shuming Shi},
booktitle = {Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)},
year = {2021},
doi = {10.18653/v1/2021.acl-long.385},
eprint = {2106.01609},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2021.acl-long.385}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/li-2021-tail-tail-non-autoregressive-sequence/
References
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2015. Neural machine translation by jointly learning to align and translate (http://arxiv.org/abs/1409.0473). In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings. our card
- Zuyi Bao, Chen Li, and Rui Wang. 2020. Chunk-based chinese spelling check with global optimization (https://doi.org/10.18653/v1/2020.findings-emnlp.184). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings, EMNLP 2020, Online Event, 16-20 November 2020, pages 2031–2040. Association for Computational Linguistics. our card
- Christopher Bryant, Mariano Felice, Øistein E. Andersen, and Ted Briscoe. 2019. The BEA-2019 shared task on grammatical error correction (https://doi.org/10.18653/v1/w19-4406). In Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications, BEA@ACL 2019, Florence, Italy, August 2, 2019, pages 52–75. Association for Computational Linguistics. our card
- Chao-Huang Chang. 1995. A new approach for automatic chinese spelling correction (http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.53.8636). In Proceedings of Natural Language Processing Pacific Rim Symposium, pages 278–283. Citeseer. OpenAlex ↗ · Scholar ↗
- Xingyi Cheng, Weidi Xu, Kunlong Chen, Shaohua Jiang, Feng Wang, Taifeng Wang, Wei Chu, and Yuan Qi. 2020. Spellgcn: Incorporating phonological and visual similarities into language models for chinese spelling check (https://doi.org/10.18653/v1/2020.acl-main.81). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 871–881. Association for Computational Linguistics. our card
- Robert Dale, Ilya Anisimoff, and George Narroway. 2012. HOO 2012: A report on the preposition and determiner error correction shared task (https://www.aclweb.org/anthology/W12-2006/). In Proceedings of the Seventh Workshop on Building Educational Applications Using NLP, BEA@NAACL-HLT 2012, June 7, 2012, Montréal, Canada, pages 54–62. The Association for Computer Linguistics. our card
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding (https://doi.org/10.18653/v1/n19-1423). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4171–4186. Association for Computational Linguistics. our card
- Huizhong Duan and Bo-June Paul Hsu. 2011. Online spelling correction for query completion (https://doi.org/10.1145/1963405.1963425). In Proceedings of the 20th International Conference on World Wide Web, WWW 2011, Hyderabad, India, March 28 - April 1, 2011, pages 117–126. ACM. OpenAlex ↗ · Scholar ↗
- G David Forney. 1973. The viterbi algorithm. Proceedings of the IEEE, 61(3):268–278. OpenAlex ↗ · Scholar ↗
- Jianfeng Gao, Xiaolong Li, Daniel Micol, Chris Quirk, and Xu Sun. 2010. A large scale ranker-based system for search query spelling correction (https://www.aclweb.org/anthology/C10-1041/). In COLING 2010, 23rd International Conference on Computational Linguistics, Proceedings of the Conference, 23-27 August 2010, Beijing, China, pages 358–366. Tsinghua University Press. OpenAlex ↗ · Scholar ↗
- Tao Ge, Furu Wei, and Ming Zhou. 2018. Reaching human-level performance in automatic grammatical error correction: An empirical study (http://arxiv.org/abs/1807.01270). CoRR, abs/1807.01270. our card
- M Ali Ghufron and Fathia Rosyida. 2018. The role of grammarly in assessing english as a foreign language (efl) writing (http://repository.ikippgribojonegoro.ac.id/543/). Lingua Cultura, 12(4):395–403. OpenAlex ↗ · Scholar ↗
- Jiatao Gu and Xiang Kong. 2020. Fully non-autoregressive neural machine translation: Tricks of the trade (http://arxiv.org/abs/2012.15833). CoRR, abs/2012.15833. our card
- Jiatao Gu, Zhengdong Lu, Hang Li, and Victor O. K. Li. 2016. Incorporating copying mechanism in sequence-to-sequence learning (https://doi.org/10.18653/v1/p16-1154). In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, ACL 2016, August 7-12, 2016, Berlin, Germany, Volume 1: Long Papers. The Association for Computer Linguistics. our card
- Yuzhong Hong, Xianguo Yu, Neng He, Nan Liu, and Junhui Liu. 2019. Faspell: A fast, adaptable, simple, powerful chinese spell checker based on dae-decoder paradigm (https://doi.org/10.18653/v1/D19-5522). In Proceedings of the 5th Workshop on Noisy User-generated Text, W-NUT@EMNLP 2019, Hong Kong, China, November 4, 2019, pages 160–169. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Masahiro Kaneko, Masato Mita, Shun Kiyono, Jun Suzuki, and Kentaro Inui. 2020. Encoder-decoder models can benefit from pre-trained masked language models in grammatical error correction (https://doi.org/10.18653/v1/2020.acl-main.391). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 4248–4254. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Clare-Marie Karat, Christine Halverson, Daniel B. Horn, and John Karat. 1999. Patterns of entry and correction in large vocabulary continuous speech recognition system (https://doi.org/10.1145/302979.303160). In Proceeding of the CHI '99 Conference on Human Factors in Computing Systems: The CHI is the Limit, Pittsburgh, PA, USA, May 15-20, 1999, pages 568–575. ACM. OpenAlex ↗ · Scholar ↗
- Diederik P. Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization (http://arxiv.org/abs/1412.6980). In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings. our card
- Marek Kubis, Zygmunt Vetulani, Mikolaj Wypych, and Tomasz Zietkiewicz. 2020. Open challenge for correcting errors of speech recognition systems (http://arxiv.org/abs/2001.03041). CoRR, abs/2001.03041. OpenAlex ↗ · Scholar ↗
- John D. Lafferty, Andrew McCallum, and Fernando C. N. Pereira. 2001. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In Proceedings of the Eighteenth International Conference on Machine Learning (ICML 2001), Williams College, Williamstown, MA, USA, June 28 - July 1, 2001, pages 282–289. Morgan Kaufmann. OpenAlex ↗ · Scholar ↗
- Piji Li. 2020. An empirical investigation of pre-trained transformer language models for open-domain dialogue generation (http://arxiv.org/abs/2003.04195). CoRR, abs/2003.04195. OpenAlex ↗ · Scholar ↗
- Deng Liang, Chen Zheng, Lei Guo, Xin Cui, Xiuzhang Xiong, Hengqiao Rong, and Jinpeng Dong. 2020. BERT enhanced neural machine translation and sequence tagging model for Chinese grammatical error diagnosis (https://www.aclweb.org/anthology/2020.nlptea-1.8). In Proceedings of the 6th Workshop on Natural Language Processing Techniques for Educational Applications, pages 57–66, Suzhou, China. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Tsung-Yi Lin, Priya Goyal, Ross B. Girshick, Kaiming He, and Piotr Dollár. 2020. Focal loss for dense object detection (https://doi.org/10.1109/TPAMI.2018.2858826). IEEE Trans. Pattern Anal. Mach. Intell., 42(2):318–327. our card
- Bruno Martins and Mário J. Silva. 2004. Spelling correction for search engine queries (https://doi.org/10.1007/978-3-540-30228-5\_33). In Advances in Natural Language Processing, 4th International Conference, EsTAL 2004, Alicante, Spain, October 20-22, 2004, Proceedings, volume 3230 of Lecture Notes in Computer Science, pages 372–383. Springer. OpenAlex ↗ · Scholar ↗
- Joshua Maynez, Shashi Narayan, Bernd Bohnet, and Ryan T. McDonald. 2020. On faithfulness and factuality in abstractive summarization (https://doi.org/10.18653/v1/2020.acl-main.173). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 1906–1919. Association for Computational Linguistics. our card
- In Jae Myung. 2003. Tutorial on maximum likelihood estimation. Journal of mathematical Psychology, 47(1):90–100. OpenAlex ↗ · Scholar ↗
- Courtney Napoles, Keisuke Sakaguchi, and Joel R. Tetreault. 2017. JFLEG: A fluency corpus and benchmark for grammatical error correction (https://doi.org/10.18653/v1/e17-2037). In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2017, Valencia, Spain, April 3-7, 2017, Volume 2: Short Papers, pages 229–234. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Hwee Tou Ng, Siew Mei Wu, Ted Briscoe, Christian Hadiwinoto, Raymond Hendy Susanto, and Christopher Bryant. 2014. The conll-2014 shared task on grammatical error correction (https://doi.org/10.3115/v1/w14-1701). In Proceedings of the Eighteenth Conference on Computational Natural Language Learning: Shared Task, CoNLL 2014, Baltimore, Maryland, USA, June 26-27, 2014, pages 1–14. ACL. OpenAlex ↗ · Scholar ↗
- Feng Nie, Jin-Ge Yao, Jinpeng Wang, Rong Pan, and Chin-Yew Lin. 2019. A simple recipe towards reducing hallucination in neural surface realisation (https://doi.org/10.18653/v1/p19-1256). In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 2673–2679. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Kostiantyn Omelianchuk, Vitaliy Atrasevych, Artem N. Chernodub, and Oleksandr Skurzhanskyi. 2020. Gector - grammatical error correction: Tag, not rewrite (https://doi.org/10.18653/v1/2020.bea-1.16). In Proceedings of the Fifteenth Workshop on Innovative Use of NLP for Building Educational Applications, BEA@ACL 2020, Online, July 10, 2020, pages 163–170. Association for Computational Linguistics. our card
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9. OpenAlex ↗ · Scholar ↗
- Marc'Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. 2016. Sequence level training with recurrent neural networks (http://arxiv.org/abs/1511.06732). In 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings. our card
- Alla Rozovskaya, Houda Bouamor, Nizar Habash, Wajdi Zaghouani, Ossama Obeid, and Behrang Mohit. 2015. The second QALB shared task on automatic text correction for arabic (https://doi.org/10.18653/v1/W15-3204). In Proceedings of the Second Workshop on Arabic Natural Language Processing, ANLP@ACL 2015, Beijing, China, July 30, 2015, pages 26–35. Association for Computational Linguistics. our card
- Yixuan Su, Deng Cai, Yan Wang, David Vandyke, Simon Baker, Piji Li, and Nigel Collier. 2021. Non-autoregressive text generation with pre-trained language models (https://www.aclweb.org/anthology/2021.eacl-main.18/). In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, EACL 2021, Online, April 19 - 23, 2021, pages 234–243. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Zhiqing Sun, Zhuohan Li, Haoqing Wang, Di He, Zi Lin, and Zhi-Hong Deng. 2019. Fast structured decoding for sequence models (https://proceedings.neurips.cc/paper/2019/hash/74563ba21a90da13dacf2a73e3ddefa7-Abstract.html). In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 3011–3020. OpenAlex ↗ · Scholar ↗
- Xiang Tong and David A. Evans. 1996. A statistical approach to automatic OCR error correction in context (https://www.aclweb.org/anthology/W96-0108/). In Fourth Workshop on Very Large Corpora, VLC@COLING 1996, Copenhagen, Denmark, August 4, 1996. OpenAlex ↗ · Scholar ↗
- Yuen-Hsien Tseng, Lung-Hao Lee, Li-Ping Chang, and Hsin-Hsi Chen. 2015. Introduction to SIGHAN 2015 bake-off for chinese spelling check (https://doi.org/10.18653/v1/W15-3106). In Proceedings of the Eighth SIGHAN Workshop on Chinese Language Processing, SIGHAN@IJCNLP 2015, Beijing, China, July 30-31, 2015, pages 32–37. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need (https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html). In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 5998–6008. our card
- Dingmin Wang, Yan Song, Jing Li, Jialong Han, and Haisong Zhang. 2018. A hybrid approach to automatic corpus generation for chinese spelling check (https://doi.org/10.18653/v1/d18-1273). In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, October 31 - November 4, 2018, pages 2517–2527. Association for Computational Linguistics. our card
- Dingmin Wang, Yi Tay, and Li Zhong. 2019. Confusionset-guided pointer networks for chinese spelling check (https://doi.org/10.18653/v1/p19-1578). In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 5780–5785. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Haoyu Wang, Shuyan Dong, Yue Liu, James Logan, Ashish Kumar Agrawal, and Yang Liu. 2020a. ASR error correction with augmented transformer for entity retrieval (https://doi.org/10.21437/Interspeech.2020-1753). In Interspeech 2020, 21st Annual Conference of the International Speech Communication Association, Virtual Event, Shanghai, China, 25-29 October 2020, pages 1550–1554. ISCA. OpenAlex ↗ · Scholar ↗
- Hongfei Wang, Michiki Kurosawa, Satoru Katsumata, and Mamoru Komachi. 2020b. Chinese grammatical correction using bert-based pre-trained model (https://www.aclweb.org/anthology/2020.aacl-main.20/). In Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, AACL/IJCNLP 2020, Suzhou, China, December 4-7, 2020, pages 163–168. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yu Wang, Yuelin Wang, Jie Liu, and Zhuo Liu. 2020c. A comprehensive survey of grammar error correction (http://arxiv.org/abs/2005.06600). CoRR, abs/2005.06600. OpenAlex ↗ · Scholar ↗
- Junwen Xing, Longyue Wang, Derek F. Wong, Lidia S. Chao, and Xiaodong Zeng. 2013. Um-checker: A hybrid system for english grammatical error correction (https://www.aclweb.org/anthology/W13-3605/). In Proceedings of the Seventeenth Conference on Computational Natural Language Learning: Shared Task, CoNLL 2013, Sofia, Bulgaria, August 8-9, 2013, pages 34–42. ACL. OpenAlex ↗ · Scholar ↗
- Dong Yu and Li Deng. 2014. Automatic Speech Recognition: A Deep Learning Approach. Springer. OpenAlex ↗ · Scholar ↗
- Haisong Zhang, Lemao Liu, Haiyun Jiang, Yangming Li, Enbo Zhao, Kun Xu, Linfeng Song, Suncong Zheng, Botong Zhou, Jianchen Zhu, Xiao Feng, Tao Chen, Tao Yang, Dong Yu, Feng Zhang, Zhanhui Kang, and Shuming Shi. 2020a. Texsmart: A text understanding system for fine-grained NER and enhanced semantic analysis (http://arxiv.org/abs/2012.15639). CoRR, abs/2012.15639. OpenAlex ↗ · Scholar ↗
- Shaohua Zhang, Haoran Huang, Jicong Liu, and Hang Li. 2020b. Spelling error correction with soft-masked BERT (https://www.aclweb.org/anthology/2020.acl-main.82/). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 882–890. Association for Computational Linguistics. our card
- Shuiyuan Zhang, Jinhua Xiong, Jianpeng Hou, Qiao Zhang, and Xueqi Cheng. 2015. Hanspeller++: A unified framework for chinese spelling correction (https://doi.org/10.18653/v1/W15-3107). In Proceedings of the Eighth SIGHAN Workshop on Chinese Language Processing, SIGHAN@IJCNLP 2015, Beijing, China, July 30-31, 2015, pages 38–45. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Wen Zhang, Yang Feng, Fandong Meng, Di You, and Qun Liu. 2019. Bridging the gap between training and inference for neural machine translation (https://doi.org/10.18653/v1/p19-1426). In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 4334–4343. Association for Computational Linguistics. our card
- Wei Zhao, Liang Wang, Kewei Shen, Ruoyu Jia, and Jingming Liu. 2019. Improving grammatical error correction via pre-training a copy-augmented architecture with unlabeled data (https://doi.org/10.18653/v1/n19-1014). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 156–165. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yuanyuan Zhao, Nan Jiang, Weiwei Sun, and Xiaojun Wan. 2018. Overview of the NLPCC 2018 shared task: Grammatical error correction (https://doi.org/10.1007/978-3-319-99501-4\_41). In Natural Language Processing and Chinese Computing - 7th CCF International Conference, NLPCC 2018, Hohhot, China, August 26-30, 2018, Proceedings, Part II, volume 11109 of Lecture Notes in Computer Science, pages 439–445. Springer. OpenAlex ↗ · Scholar ↗