Elamur Research

A Nested Attention Neural Hybrid Model for Grammatical Error Correction

Paper · 2017 · Jianshu Ji, Qinlong Wang, Kristina Toutanova et al.

Summary

A grammar checker has to decide what to change and what to leave alone. A sentence can contain a familiar word in the wrong form, a misspelling the system has never seen, or a perfectly good name missing from its vocabulary. The spelling can help identify what the writer meant, while the surrounding sentence helps determine whether that word belongs there and which form it should take. The authors study these decisions together. They treat a learner’s sentence and its corrected version as the input and output of a translation system working within English. The task is grammatical error correction.

Their system reads and writes primarily in words. When an input word falls outside its vocabulary, it reads the letters and builds a representation that can take the place of a regular word entry. When the output requires a word outside the vocabulary, a separate decoder spells it. The paper’s contribution is to connect that spelling process to the original letters. Word-level attention identifies a source position relevant to the output. If the selected source word is also outside the vocabulary, character-level attention can consult different parts of its spelling as the decoder writes. The decoder still has the surrounding sentence as context. This extends the earlier Luong and Manning word–character hybrid, which gave its spelling decoder a summary of the source.

On the CoNLL-14 test set without alternative references, the system reaches an F0.5 score of 45.15 when its proposed corrections are reranked with a large word-based language model. F0.5 rewards agreement with reference edits and gives precision more weight than recall. The previous reported neural result with an external language model was 40.56. The strongest phrase-based result discussed in the paper was 49.5. The authors also compare the neural architectures before reranking. The basic word–character hybrid improves over their word-only baseline, and the nested version improves further.

The development-set analysis locates the clearest benefit of the added attention in edits between similar spellings, among sentences containing an out-of-vocabulary input word. The paper also shows an example in which the spelling decoder preserves a long, correctly written word that the basic hybrid alters. That example matters because an unfamiliar spelling may call for a correction or for exact reproduction. Access to the original characters can help with either decision when the sentence-level decoder has identified the relevant word.

Deep dive: A Nested Attention Neural Hybrid Model for Grammatical Error Correction

This study uses nested word and character attention to correct English learner writing, with its clearest gains on small spelling changes. · about 40 minutes to read

The problem and its context

A correction can depend on the sentence or on the spelling

The input is an English sentence that may contain errors. The output is a corrected sentence. Framing the task this way gives the system responsibility for the whole output. It can change word order or usage, repair inflection, and preserve material that was already correct. The authors use the idiom of translation because they learn this mapping from paired sentences, with the original and revised text both in English.

The paper illustrates the difference between the size of an edit and the evidence needed to make it. Changing violets to violates modifies a short stretch of spelling, but both forms can look familiar in isolation. The sentence supplies evidence about whether the writer meant a verb. Related forms such as violate and violates make a different point. Their shared spelling can help recover the intended verb, while the surrounding words bear on the ending. This is a question of morphology.

A word-order error poses a different problem. Spelling may have little to contribute when each word is individually plausible and the problem arises from how the words fit together. The authors expect a recurrent sentence encoder to capture relationships across intervening material and make those relationships available when the output is generated. A word-level representation gives the decoder a convenient unit for these decisions. The sequence of letters inside a word then supplies finer detail where the vocabulary itself has no entry.

The size of that vocabulary is particularly consequential in correction. A dictionary of common forms can cover frequent words, but learner writing introduces spelling variants alongside legitimate rare words. Increasing the vocabulary can admit more forms seen during training. An unseen spelling still falls outside it. If all such inputs receive the same unknown-word symbol, the sentence encoder can register where an unfamiliar item occurred, but its input embedding carries no evidence of the letters that distinguished that item from another unfamiliar one.

There is a separate output problem. A decoder with a fixed vocabulary can give probability to the unknown-word symbol, yet that symbol has to become an actual word before the corrected sentence is usable. The appropriate word might reproduce the source exactly or might differ by a minor repair. A dictionary learned from training can resolve previously observed mappings. A correction system also encounters cases where the relevant mapping was never observed. These pressures on the input and output explain why the authors examine open vocabulary as an architectural problem.

What earlier correction systems offered

As the paper describes the field, some correction systems used classifiers focused on particular decisions, such as choosing a determiner or preposition or selecting an inflected form. Each classifier addressed a defined target. Phrase-based systems trained on sentence pairs could tackle more kinds of changes within a single correction procedure, including changes involving word order. The authors cite earlier work on correcting learner errors with phrase-based statistical machine translation. Brockett and colleagues’ phrasal correction study

The paper also describes advances that combined classifiers with phrase-based correction and work that adapted phrase-based translation more directly to the shared task. The latter used discriminative training directed toward the evaluation measure, a rich feature set, and several large language models. The authors view these techniques as potentially complementary to their own. Their work concentrates on the information available inside a neural sentence-to-sentence architecture and on how that architecture generates rare forms.

The sequence-to-sequence approach learns to encode a source sequence and generate an output sequence. Here, attention gives the decoder access to a sequence of source representations as it works. It can build a fresh summary of the input for each target position, so the evidence used to select one output word can differ from the evidence used to select the next. The paper draws on sequence-to-sequence learning and the approach to joint alignment and translation that supplies its attention-based backbone.

Yuan and Briscoe had already used word-level neural machine translation for grammar correction. Their system dealt with unknown outputs through post-processing informed by word alignment. This offers a practical way to produce words outside the decoder vocabulary. It handles recovery after a word sequence has been predicted, however, so the spelling of an unknown source word has limited influence on the sentence representation that produced the prediction. A learned lookup also relies on the correction pairs available to build it. Yuan and Briscoe’s neural correction system

Xie and colleagues approached correction as a sequence of characters. A character generator can produce words absent from a word list, given the characters it needs. The authors of the nested-attention paper argue that a fully character-based system has difficulty using word-level structure for global correction decisions, even when an external word-based language model supplies an additional sentence score. The distinction concerns where word information enters the process. A later score for a candidate sentence and an explicit word representation inside its encoder serve different functions. Xie and colleagues’ character-based correction system

The hybrid that the paper extends

Luong and Manning had combined word and character processing for translation. A character encoder could supply an embedding for an unknown input word, and a character decoder could generate an unknown output word. Hence, the main network retained words as units while gaining the ability to represent and spell unfamiliar forms. The grammatical correction paper adapts this design and uses a version with word attention alone as a comparison. That comparison asks whether direct access to source characters helps once representation and generation at the character level are already available.

Correction within the same language gives the proposed addition a specific purpose. A plausible output word may preserve nearly every character of its source counterpart. In exact copying, every character matters. A character-composed word vector can convey information about the spelling to the sentence encoder, but the generator in the basic hybrid receives that information through an aggregated context. Keeping the intermediate character states gives the decoder a sequence to revisit while it spells the output. The question is how to give it that access while keeping the word-level decisions that organized the sentence.

The paper mentions other open-vocabulary approaches from translation, including word pieces and fully character-based processing without explicit segmentation. These represent alternatives to the decision to keep complete words as the main units and invoke character processing around unknown tokens. The authors identify evaluation of those alternatives on correction as a separate empirical question. Translation with subword units and fully character-level translation

The method, step by step

How a sentence moves through the system

The architecture has a word encoder, a word decoder, and smaller recurrent networks that read or generate the characters of individual words. Encoding turns the input into vectors that the decoder can use. Decoding predicts a corrected sequence from those vectors. A token here is a position in the word sequence or, inside a spelling procedure, a position in a character sequence. Vocabulary membership refers to the word lists chosen for the system, so a legitimate word can be out of vocabulary in the same technical sense as a misspelling.

For a source word that has a vocabulary entry, the encoder retrieves a learned word embedding. An embedding is a vector of numbers used to represent the token. For an out-of-vocabulary word, abbreviated OOV, the encoder reads its characters and builds a vector of the same size as an ordinary word embedding. In either case the word-level encoder receives a vector at that input position. It passes through the full sequence so that the representation at a position can reflect its neighbors as well as the word at that position. The lookup and composition routes produce compatible word embeddings.

The word decoder generates a sentence of vocabulary items and, where needed, the special symbol UNK. Attention builds a source context for each output step. The context combines information from the whole input, with coefficients that depend on the decoder’s current state. A regular output word can be taken directly from the word decoder. An output UNK calls for the spelling decoder. At that stage, the system also picks whichever source word has the greatest attention weight at the current output step.

If the selected source word is in the vocabulary, the character decoder spells the output from an initial state that summarizes the word-level evidence. If the selected word is OOV, the character decoder can additionally attend to the stored states from reading that word. It can adjust its focus as the output spelling grows. Word attention therefore has two roles. Its weighted summary informs the output decision, and its strongest position determines which source word can provide a character sequence. Character attention works within that word.

From learner sentence to corrected text

The steps in order.

From learner sentence to corrected textStep 1: Embed known words and encode unknown spellings1. Embed known words and encode unknown spellingsStep 2: Contextualize the source word sequence2. Contextualize the source word sequenceStep 3: Predict output tokens with word attention3. Predict output tokens with word attentionStep 4: For UNK, select the highest-weight source word4. For UNK, select the highest-weight source wordStep 5: Spell unknown outputs from sentence context5. Spell unknown outputs from sentence contextStep 6: Attend to source characters when both words are unknown6. Attend to source characters when both words are unknownStep 7: Return the completed correction7. Return the completed correction

The flow describes the dependencies in the architecture. In the search procedure, the system completes the word-level beam search before filling in the unknown outputs. The distinction matters because access to the source spelling helps realize a word when the word search has already reserved a place for it.

Encoding the source sentence

The paper writes the sequence going into the word encoder as follows.

𝐱 = (x₁, …, x_T)

Here 𝐱 is the complete source input in vector form. The entry x₁ is the embedding at the first word position, x_T is the embedding at the final position, and T is the number of source positions. The ellipsis covers the intervening entries in order. Parentheses enclose the sequence.

The encoder produces a sequence of corresponding contextual representations.

𝐞 = (h₁, …, h_T)

In this expression, 𝐞 is the encoded sentence. Each h is a hidden-state vector at the indicated source position, from h₁ to h_T. T is again the source length. The word hidden refers to the internal representation used by the network. These are the vectors the decoder can attend to.

A gated recurrent unit, or GRU, updates a state using a previous state and a current input. The word encoder uses separate GRUs for the forward and backward directions. The forward update is:

f_t = GRU_enc_f(f_(t−1), x_t)

Here t is a source position, f_t is its forward state, and f_(t−1) is the state from the preceding position. The vector x_t represents the word at t. GRU_enc_f denotes the gated recurrent update with the forward word encoder’s parameters. The subscript identifies which parameter set is in use.

The backward update follows the other direction.

b_t = GRU_enc_b(b_(t+1), x_t)

The vector b_t is the backward state at source position t. The state b_(t+1) comes from the next position in the written sentence, which is the preceding position in the backward scan. The input x_t is the same word embedding used by the forward encoder. GRU_enc_b denotes the update with the backward encoder’s own parameters.

The two states together supply the representation for the position.

h_t = [f_t; b_t]

The internal state h_t is formed by joining the forward vector f_t and the backward vector b_t at position t. The brackets and the separator indicate concatenation, which places the vectors end to end. This lets the representation used by attention carry evidence from both directions. A word near the beginning, for instance, can have a representation influenced by words that follow it.

Building an embedding from a rare spelling

In a word-only encoder, each unknown input receives the same source UNK embedding. In the hybrid, the forward character GRU reads the actual characters of the unknown form in order. The paper denotes that character input by xᶜ₁ through xᶜ_M, where the superscript c marks character-level quantities and M is the length of the source word in characters. The successive states are:

𝐞_c = (hᶜ₁, …, hᶜ_M)

The vector sequence 𝐞_c retains the character encoder states. Each hᶜ is the state after reading through the indicated character, from the first to the Mth. The ellipsis stands for the states between those endpoints. The final state hᶜ_M serves as the embedding of the whole word. The earlier states remain available for character attention.

The paper illustrates substitution at the last position of a short input. In that case the word encoder’s input becomes:

𝐱 = (x₁, x₂, hᶜ_M)

The sequence 𝐱 has ordinary embeddings x₁ and x₂ at its first and second positions. Its final position uses hᶜ_M, the state obtained after reading all M characters of the unknown word. Since both routes supply embeddings of the same dimensionality, the word encoder can apply its usual recurrent updates to the entire sequence.

The final character state and the sequence of character states have distinct jobs. The final state makes the spelling available to sentence processing in a fixed-size representation. It can influence the contextual states for other words through the recurrent encoder. The full sequence gives the spelling decoder access to internal positions of the source word when the character-attention route is active. Even a source OOV word that yields a familiar output word can affect the sentence representation through the first of these routes.

Predicting a word with attention

At each output position, the word decoder first makes a recurrent update. Its input includes the previous output token’s embedding and the previous decoder state after attention has been incorporated.

d_s = GRU_dec(d̄_(s−1), y_(s−1))

The index s identifies the current output position. The vector d_s is the current decoder state before adding the source context for this step. GRU_dec is the gated recurrent update for the word decoder. The vector d̄_(s−1) is the previous context-enriched decoder state, and y_(s−1) in this equation denotes the embedding of the previous output token. The bar distinguishes the state combined with attention from the recurrent state before that combination.

The decoder compares its current state with the encoded representation at each source position.

u_sk = φ₁(d_s)ᵀ φ₂(h_k)

The scalar u_sk scores the relationship between output step s and source position k. The vector d_s is the current word decoder state and h_k is the contextual source state at k. The functions φ₁ and φ₂ each apply a learned linear transformation followed by the nonlinear function tanh. The superscript ᵀ indicates transpose. The product of the transformed vectors is their dot product, which yields a scalar. This lets the system learn which aspects of the decoder and source states are useful to compare.

The paper writes the normalization of these scores as:

α_sk = u_sk / ∑_{j=1}^T u_sj

The coefficient α_sk is the weight for source position k at output step s. The numerator u_sk is its score. The sum in the denominator adds the scores u_sj over source positions j, from the first position through T. In the printed formula the scores enter directly. An exponential is absent from this normalization as written. This is distinct from the softmax that the paper specifies for predicting output tokens.

The source context is then a weighted combination of the encoded positions.

c_s = ∑_{j=1}^T α_sj h_j

The vector c_s is the context for output step s. The index j ranges over the T positions of the source. At each position, α_sj is the weight for that position at step s and h_j is the encoded word state. Their product scales the state, and ∑ adds the scaled states to make the context. This operation keeps the source information in vector form and can combine evidence from multiple positions.

The next expression joins the information about the input sentence with the decoder’s progress through the output.

d̄_s = ReLU(W[c_s; d_s])

Here d̄_s is the context-enriched state for output position s. The vector c_s supplies the attended source context, and d_s supplies the current recurrent state. The brackets and separator indicate concatenation. W is a learned projection, and ReLU is the rectified linear transformation that sets negative components of its input to zero. The resulting vector is used in output prediction and in the next word-level recurrence.

The paper expresses the word prediction through a softmax over the target vocabulary.

p(y_s | y_<s, 𝐱) = softmax(g(d̄_s))

On the left, p is the conditional probability of the target token y_s, given the earlier output tokens y_<s and the input sequence 𝐱. The vertical bar separates the token being predicted from the information it is conditioned on, and the less-than sign in the prefix denotes positions before s. On the right, g maps d̄_s to a score for each possible target token. Softmax converts those scores to a probability distribution. The probability of a particular y_s is the component for that token. UNK is one possible output at this level.

Turning an output UNK into a word

For an output in the vocabulary, the word probability comes directly from the backbone. For an output outside it, the paper defines the word probability as the probability assigned to UNK multiplied by the probability of the spelling generated for that slot. This separates the decision that a vocabulary entry is insufficient from the decision about which letters form the output. An unknown source word and an unknown target word are separate events. A source can contain an unfamiliar spelling and still call for a familiar output, or a familiar input can be associated with an unfamiliar target.

The spelling decoder starts from a separate projection of the word-level context and recurrent state.

d̂_s = ReLU(Ŵ[c_s; d_s])

The vector d̂_s initializes character generation for output position s. The matrix Ŵ contains the parameters of this projection. It is distinct from the matrix W used to make d̄_s. The vectors c_s and d_s are the source context and recurrent decoder state at that target position. The brackets denote their concatenation and ReLU is the same componentwise rectification as before. The word recurrence continues through d̄_s. The separate initialization lets the spelling route learn its own projection from the shared sentence information.

Word attention also picks a position for the potential character lookup.

z_s = arg max_{k ∈ {0, …, T−1}} α_sk

Here z_s is the selected source position for target step s. The operation arg max returns a position k having the greatest value of α_sk, the word attention weight at that position. The symbol ∈ means membership in the index set in braces. T gives the source length. This expression uses zero-based source indices as printed, while the earlier word-encoding and summation expressions count those positions from the first entry through T. Both refer to positions in the same source sentence.

Selecting a position outright is a form of hard attention. For this part of the decoder the system chooses the location with the largest weight. The authors draw on work on hard attention and describe their choice as an argmax approximation at inference. The weighted context c_s still summarizes the source sentence. The selected position controls where the spelling decoder can look for the local character evidence. Hard attention in Show, Attend and Tell

The output spelling is a character sequence.

𝐲ᶜ = (yᶜ₁, …, yᶜ_N)

The sequence 𝐲ᶜ represents the target word in characters. Each yᶜ with a position subscript is an output character at that position, and N is the length of this target spelling. The ellipsis stands for the intervening characters. The character generator is conditioned on d̂_s and on the source selection z_s through the route that selection activates.

The paper describes character prediction using the following readout.

softmax(gc(dᶜ_n))

The vector dᶜ_n is the character decoder’s hidden state at character generation step n. The function gc maps that state to scores over the target character vocabulary, and softmax turns the scores into a distribution for the next character. The paper gives the recurrence for obtaining the hidden state separately for the two routes.

The route when the selected source word is known

When the selected source word belongs to the vocabulary, its information is available through the word-level context. The spelling decoder starts from d̂_s and runs as a recurrent generator. The paper writes this update in cases.

dᶜ_n = { GRUᶜ_dec(d̂_s, yᶜ_(n−1))       if n = 0
       { GRUᶜ_dec(dᶜ_(n−1), yᶜ_(n−1))  if n > 0

The vector dᶜ_n is the character decoder state at step n. GRUᶜ_dec is the recurrent update with the parameters of the character decoder for this route. At initialization, denoted by n = 0 in the recurrence, the state input is d̂_s from the word decoder’s separate projection. For n > 0, the state input is dᶜ_(n−1), the preceding character decoder state. The argument yᶜ_(n−1) is the preceding character input to the recurrence. The equation uses the same notation for this input at initialization and does not specify a concrete start symbol. The braces indicate the cases, and the greater-than sign selects subsequent steps.

This route can spell a word outside the output vocabulary even though the corresponding source word has a regular entry. It relies on the sentence information present in the decoder initialization and on the characters generated so far. The underlying setup gives known source words lookup embeddings, so there is no sequence of source character encoder states for this route to consult.

The route when the selected source word is unknown

For an unknown selected source word, the states created while reading its spelling are available. At each output character step, the decoder compares its current state with those source character states, normalizes the scores and combines the states into a character context. The paper specifies the same operations as for word attention with a different set of parameters. The index in the sum now runs through the selected spelling rather than through the source sentence. The query comes from the current character decoder state.

The context is folded into a character state for the recurrence.

d̄ᶜ_n = ReLU(W_c[cᶜ_n; dᶜ_n])

The vector d̄ᶜ_n is the character decoder state after incorporating attention at step n. The vector cᶜ_n is the character context obtained by attending to the selected source word’s encoded characters. The vector dᶜ_n is the character decoder’s recurrent state at the same step. W_c is the learned projection for this concatenation, indicated by the brackets and separator. ReLU again rectifies its components. The bar marks the state that has absorbed an attention context.

The recurrence uses that enriched state at the next character step.

dᶜ_n = { GRUᶜ_decNested(d̂_s, yᶜ_(n−1))        if n = 0
       { GRUᶜ_decNested(d̄ᶜ_(n−1), yᶜ_(n−1))  if n > 0

The state dᶜ_n is the recurrent character representation at step n. GRUᶜ_decNested denotes the GRU with the parameters of the nested character decoder. As the first case shows, generation begins with d̂_s as its state input when n = 0. The second case uses d̄ᶜ_(n−1), the attention-enriched character state from the preceding step, for n > 0. In each case yᶜ_(n−1) denotes the preceding character input, with the initial input again left implicit in the paper’s notation. The braces collect the cases.

The character generator can change its emphasis as it moves through an output spelling. A useful letter sequence need not be recovered from the final source word embedding alone. The decoder has the sentence-level information in its initial state and can repeatedly consult states along the source spelling. The paper describes attended states and probabilistic character generation. It does not impose a rule requiring the generator to copy the most attended character. Copying and modest spelling changes are behaviors the system can learn from sentence-correction pairs.

Learning from paired sentences

The word-level training cost penalizes low probability for the target tokens in a corrected sentence. The paper gives this cross-entropy loss for a single pair.

Loss(𝐱, 𝐲) = −∑_{s=1}^S log p(y_s | y_<s, 𝐱)

Here Loss is the objective contribution for the input 𝐱 and the reference output sequence 𝐲. The index s runs over target positions from the first through S, the target length for this pair. At step s, y_s is the target token and y_<s is the prefix ending before it. The probability p conditions on that prefix and on 𝐱, as indicated by the vertical bar. The function log is the logarithm. The sum adds the terms over target positions, and the minus sign makes a low reference probability contribute a larger cost.

The corpus loss adds these contributions across the training pairs.

Loss = −∑_{(𝐱, 𝐲) ∈ ℂ} ∑_{s=1}^S log p(y_s | y_<s, 𝐱)

In this expression, ℂ is the parallel corpus of source sentences and their corrections. Each pair (𝐱, 𝐲) belongs to ℂ, as indicated by ∈. The outer sum visits those pairs and the inner sum visits the S target positions for the current pair. The quantities y_s, y_<s, p and log have the same roles as in the sentence loss. This word-level objective rewards predicting the right sequence of vocabulary entries and unknown-word slots.

The total objective adds the losses for spelling the words in those slots.

Loss_total = Loss_w + α Loss_c1 + β Loss_c2

The quantity Loss_total is the combined training loss and Loss_w is the word-level cross-entropy. Loss_c1 covers unknown target words whose selected source tokens are known. Loss_c2 covers unknown target words whose selected source tokens are also unknown. The plus signs add those contributions after scaling the character losses by α and β, respectively. These two scalars are weights chosen on the development set. The unindexed α in this equation is a loss weight, distinct from the attention coefficients indexed by output and source position.

For the nested system, the authors choose 0.5 for each character loss weight. The basic hybrid has a single character loss weight, set to 1 after hyper-parameter selection. Training on sentence-correction pairs gives the word and character components a shared objective for the corrected output, with specific supervision for the spellings required by the unknown slots. The nested system’s additional route is exercised by target OOV cases associated with source OOV positions.

The authors set the word and character embedding sizes to 1000, and report a hidden unit size of 1000. For the word baseline, they select the 30K most frequent source words and the 30K most frequent target words separately. The hybrid systems use a common 30K word list ranked by combined source and target frequency. Even when the list is common, the source and target embeddings have independent parameters. Using the same list therefore makes membership consistent across the two sides without requiring identical vectors for a word when it is read and when it is generated.

Training uses shuffled mini-batches of size 128. The initial learning rate is 0.0003. The paper specifies a decay ratio of 0.95 when cost rises across two consecutive intervals of 100 iterations. It also rescales the gradient whenever its norm exceeds 10, limiting the size of an unusually large update signal. Dropout, which randomly suppresses activations during training, has probability 0.15. The parameters start from a uniform distribution on the following interval.

[−√3/√1000, √3/√1000]

The brackets enclose the lower and upper bounds. The radical denotes a square root, and each slash denotes division. The lower bound is the negative of the upper bound. The constants 3 and 1000 define the scale of the initialization, with 1000 also the reported hidden unit size. A uniform initialization draws values with equal density within those bounds.

The authors run validation inference every 5000 iterations and record word and character costs. They save parameters every 10,000 iterations and at the end of each epoch, a pass through the training data. For the final selection they start from the top 20 parameter sets by validation loss. They choose the stopping point within that group according to development-set F0.5. The validation losses therefore narrow the candidates, and the development metric decides which saved parameters to use for correction.

At inference, beam search keeps several partial word hypotheses as the sequence is generated. The search extends and scores those hypotheses, retaining promising continuations rather than committing at each step to a single partial output. For the hybrid systems, a character beam search then generates the word for each output UNK. This ordering lets the word backbone propose a sentence and reserves spelling search for the locations where that sentence needs an open-vocabulary output.

Adding a sentence score from web text

The authors also test a separate source of fluency evidence. They use a modified Kneser–Ney 5-gram trained on Common Crawl. A word n-gram model scores a sequence using counts of local word contexts, with smoothing to handle sequences that have limited count evidence. Here it scores candidates already proposed by the correction network. It supplies a measure of how plausible a candidate is as text, while the neural score remains conditional on the learner’s original sentence. The relevant concepts are the n-gram and the language model.

The reranking score combines the two log probabilities.

s_(y|x) = log P_NN(y | x) + λ log P_LM(y)

The quantity s_(y|x) is the ranking score for candidate correction y given source sentence x. The term P_NN(y | x) is the neural system’s conditional probability of that correction. The term P_LM(y) is the external language model’s probability of the candidate text. The subscripts NN and LM identify the two sources of probability, log is the logarithm, and λ scales the language model term before addition. The symbol s labels a score here. In the decoder formulas it indexed a target position.

The authors tune λ separately for each neural variant using development-set F0.5. They search from 0.0 to 2.0 in steps of 0.1. The selected weight is 1.6 for the word baseline with unknown-word replacement and 1.0 for the nested hybrid. A candidate needs to appear in the generated set to receive this score. Reranking changes which proposed sentence wins and leaves candidate generation to the neural architecture.

Experiments and results

Training, validation, development and test data

Training combines pairs from three sources. The NUS Corpus of Learner English, or NUCLE, supplies material used for the shared tasks. The authors describe the original corpus as about 60K parallel sentences. They randomly select close to 5K sentence pairs for validation and use 45K parallel sentences for training. Each pair gives the original learner sentence and its correction. The validation pairs are used to track the training objective during checkpoint selection. The NUS Corpus of Learner English

The Cambridge Learner Corpus contributes a set of parallel sentences that the authors describe as substantially larger. Further pairs come from the Lang-8 Corpus of Learner English v1.0. The authors filter these crowdsourced examples before training. They remove sentences longer than 100 words and discard pairs when the correction is substantially shorter than the source. The length rule screens the learner sentence itself, while the second rule compares the learner sentence and its paired correction. The work cited for the Lang-8 corpus

The CoNLL-13 set serves as development data. The authors use it to select settings and to analyze patterns of errors after training. The headline test result comes from CoNLL-14, scored without alternative references. That distinction is important when comparing results. The development set helps choose checkpoints and reranking weights, whereas the test set supplies the paper’s final benchmark comparison under the specified reference condition.

What the score measures

The system returns a corrected sentence. For evaluation, changes between the source and the output are compared with human reference edits. The official shared-task implementation, m2scorer, computes F0.5 for these proposed and reference edits. Precision concerns how many proposed edits agree with the reference. Recall concerns how many reference edits the system recovers. F0.5 combines them with greater emphasis on precision. A false change to a word that was already correct can therefore matter even if the rest of the sentence is good.

An edit can be a replacement of a word form or a change involving several adjacent words. In an example in the paper, the separate changes are from harms to harm and from are prefers to prefer. The unchanged material between them is part of the sentence context, while each local change is assessed as its own edit. This makes it possible to give credit for recovering one reference edit even when the sentence has another that the system misses. It also matters for the character analysis, since the objects compared there are the source and target strings of edits and can exceed the length of a single word.

The baseline and the two hybrids

The reimplemented word baseline encodes and decodes words with attention, then resolves output UNK tokens after generation. The authors use GIZA++ to learn a word-correction lexicon from aligned training pairs. At test time, the neural attention weights identify the source position associated with an output UNK. If the lexicon gives a correction for that source word, the system uses the most likely one. Otherwise it copies the word. Attention therefore selects an input location in both the baseline and the nested architecture. The systems differ in what they can do after reaching that location.

The basic hybrid replaces word lookup at an unknown input with the character-composed embedding and learns to spell unknown outputs. Its decoder receives the initial context derived from the word network. The nested hybrid additionally has a character-attention route for the case where the input selected for an unknown output is itself unknown. Comparing the word baseline with either hybrid assesses a combination of changes to input representation and output recovery. Comparing the two hybrids narrows the question to the added route that makes the selected source’s character states directly available.

On the CoNLL-14 test set, the authors’ word baseline scores 38.77 F0.5. They compare it with the 39.9 reported by Yuan and Briscoe for their word-based system. The authors attribute the discrepancy to differences in the training data and the word-alignment procedure. In the internal comparison, the basic hybrid also improves over the word baseline, and the nested hybrid improves further. The authors describe the nested system’s test gain over their word baseline as close to 3 points of F0.5 before the external language model is added.

The result with language-model reranking

The best result comes from combining the nested hybrid with the large word-based language model. The most direct published neural comparison in the paper is with Xie and colleagues’ character-level system, also combined with a large word-level language model. Both results are CoNLL-14 test F0.5 scores. The authors note that Xie and colleagues trained their correction network on less parallel data. The chart compares the reported systems under their respective training setups.

Neural systems with external language models on CoNLL-14 test F0.5

The nested hybrid with word-based reranking has the higher reported test score.

Neural systems with external language models on CoNLL-14 test F0.5Xie and colleagues’ character system with a word language model: 40.56Xie and colleagues’ character systemwith a word language model40.56Nested attention hybrid with web language model (this paper): 45.15Nested attention hybrid with weblanguage model (this paper)45.15
The numbers
System or settingF0.5
Xie and colleagues’ character system with a word language model40.56
Nested attention hybrid with web language model (this paper)45.15

The improvement establishes a stronger reported neural result under the paper’s benchmark conditions. The internal comparisons supply the more focused evidence for the architecture, since they place the word baseline and the hybrid variants within the same study. The reranked result includes another source of information from web text. Its score reflects the candidates produced by the nested hybrid and the choices the reranker makes among them.

The leading phrase-based system that the authors discuss has a CoNLL-14 test F0.5 of 49.5. It uses task-directed discriminative training, a rich feature set and multiple large language models. This comparison places the paper within the broader correction literature of its time. The nested architecture advances the neural results the authors report, while the phrase-based result remains higher on the benchmark.

The authors also report the approximate cost of training their variants on a Tesla k40m GPU. The word-level backbone takes roughly three days, the basic hybrid around four days, and the nested hybrid roughly five days. These are training times for the reported setup. They give a practical scale for the additional character processing and distinguish training cost from the evaluation score used to choose the final system.

What the ablations show

What changes when the input contains an unknown word

The closest controlled comparison is between the basic hybrid and the nested hybrid. Both retain sentence-level word attention. Both use characters to construct embeddings for rare input forms and can generate a spelling for an unknown output. In the nested version, the decoder has a route that attends directly to the character states of the source word selected for such an output. The authors use CoNLL-13 development examples to see where that additional access makes a difference.

They first divide the development sentences according to vocabulary coverage on the source side. One group contains any sentence with at least one OOV source word. Every source word in the other group has a vocabulary entry. The grouping is by sentence, so a sentence in the OOV group can still contain errors on entirely familiar words. An OOV token in it may also be correct. This allows the comparison to show whether the added route helps in the sentences where its required source-side condition can arise.

Both hybrids outperform the word baseline in both groups. The benefit on sentences containing OOVs is consistent with the hybrid’s ability to bring rare spellings into the encoder and to generate unknown outputs. The advantage on sentences with known source words has a different implication. Source character attention cannot run there, but hybrid training and learned spelling of unknown outputs remain relevant architectural differences from the word baseline. The partition alone cannot allocate the gain in this group to an individual component.

Between the two hybrids, the nested variant gives a sizable improvement in the OOV group and a small degradation in the group with entirely known source words. The asymmetry matches the condition for character attention to act directly. A sentence with a source OOV can supply the stored states required for the new route. A sentence with only known source words cannot. The small degradation shows that comparing separately trained systems can reveal differences even in sentences where the specialized branch is unavailable at inference.

The authors illustrate the OOV comparison with a source misspelling absent from the parallel training data. The word baseline copies it. That behavior follows from the fallback designed to preserve a source word when the lexicon has no correction available. The nested hybrid corrects it in the example. This illustrates what a spelling generator can do with an unfamiliar form when a learned word-to-word entry cannot resolve the case.

Small and large changes in spelling

The authors then ask where the benefit appears within sentences containing OOV source words. They compare the source and target strings of each edit by character edit distance, a measure of how many character operations are needed to turn one spelling into the other. They use both the raw distance and a length-adjusted ratio. The paper gives the ratio as:

edit_ratio = character_edit_distance / (min(len(src), len(tar)) + 0.1)

The quantity edit_ratio is the normalized distance for a source and target edit string. The numerator character_edit_distance is their distance in characters. The argument src denotes the source substring and tar denotes the target substring, which the adjoining prose also calls tgt. The function len returns the number of characters in its argument. The function min takes the shorter of the two lengths. The denominator adds 0.1 to that minimum, keeping it positive even if one substring is empty. The slash denotes division.

A change counts as small when its edit ratio is negative or when its character edit distance is 2 or less and at least one of the two strings has no more than 8 characters.25. Either condition can qualify an edit. The raw distance condition can capture a small absolute change to a short form. The ratio can capture a change that affects a small portion of a longer form. The remaining edits are classed as large changes. These categories measure closeness of spelling and apply to the complete source and target substrings in an edit.

The CoNLL-13 OOV segment contains 307 gold edits in the small-change group and 481 gold edits in the large-change group. Those counts describe human reference edits in the analysis segments. The comparison itself uses precision, recall and F0.5 to ask how the systems perform on each kind of change. The focus on edit strings gives a more targeted test of the character mechanism than the sentence-level split alone.

The nested hybrid’s advantage over the basic hybrid is concentrated in the small-change group. In the large-change group, the added layer gives a slight improvement in precision and a slight reduction in recall. The authors conclude that most of the benefit of the added attention comes from edits where the source and target look alike. The grouping supports a specific account of the mechanism. Direct access to spelling states is most helpful where substantial parts of the source string remain relevant to the output.

The labels cannot tell whether the cause of a particular error is spelling, inflection or a grammatical decision about a short sequence. An edit can involve little character change and still require sentence context to choose the right form. Likewise, an edit with high character distance is a poor match for close spelling preservation even when it is easy to describe grammatically. The result concerns orthographic similarity as operationalized in the analysis. It supports using the sentence and the letters together when both carry information about the answer.

A gain can come from preserving a word

The paper gives a second qualitative example in which the source OOV is a long, correct word. The basic hybrid changes it, introducing an error. The authors explain that this decoder has the character-composed word representation only through a context that also aggregates other source information. The nested hybrid reproduces the correct spelling by attending to the source character states. It does so through the learned spelling decoder, without using the word baseline’s post-processing fallback.

The two examples illustrate different ways to improve an edit-based score. Correcting an unfamiliar misspelling helps recover a reference edit. Preserving a correct word avoids creating an unsupported edit and can help precision. The paper’s aggregated small-change analysis carries the comparative evidence. The example of the long word shows concretely why making the spelling available can also help when the appropriate character change is to preserve the entire source form.

Vocabulary selection and reranking as separate comparisons

The authors report a preliminary vocabulary comparison. For the hybrid systems, selecting the common word list by combined source and target frequency was better by .003 in F0.5 under the preliminary selection criterion. The paper does not assign that figure to a named split in its description of the comparison. The same vocabulary selection method produced no observed gain for the word baseline. The final experiments use the setup that worked better for each family. The basic and nested hybrids share the vocabulary strategy, which makes their comparison more informative about character attention than a contrast with the baseline alone.

The reranking experiment asks a separate question. The change there is how already generated corrections are ranked using the external word sequence score. The best reranked benchmark number captures a combination of candidate generation and that ranking procedure. The development analysis by vocabulary and edit similarity examines the architectural question more directly. Taken together, the comparisons connect the strongest overall result to a full correction system and the clearest account of its added attention to the examples where spelling evidence is most relevant.

Limitations

Limits and qualifications the authors state

The character-attention route is deliberately restricted. The target must require character generation, and the source position chosen by word attention must hold an out-of-vocabulary word. The authors retain this restriction because the basic hybrid already uses a character encoder for such source words and has no character representations for known words. That makes the added attention easier to study within the inherited design. It also means the paper leaves character encoding, attention and decoding for known words to future work. The authors suggest this extension could help sentences whose input words all have vocabulary entries.

The same restriction applies when a spelling error happens to be an ordinary word. The word backbone can still repair that error through contextual word prediction. If it proposes a known output, the spelling decoder has no role in the repair. The paper’s examples of similar word forms motivate the broader need for multiple levels of evidence, while the implementation tests a specific route for using character evidence directly. The reported findings need to be read within that route’s actual activation conditions.

The authors qualify their comparison with the earlier character-level neural result by pointing out its smaller supply of parallel training data. They also describe the difference between their word baseline and the earlier word-based result in terms of training and alignment procedures. These qualifications distinguish a comparison of reported benchmark scores from a controlled experiment on a single design choice. For the contribution of nested attention, the most relevant evidence is the comparison between systems trained as part of this study and the locations where the difference appears.

The paper also leaves several alternatives open. The authors point to sub-word and fully character-based translation methods as candidates for evaluation on correction. They suggest that techniques from the stronger phrase-based systems could complement their own approach. These are directions identified by the authors. The experiments test a particular word–character hybrid and a particular reranking setup.

Limits that follow from the evaluation

The main score establishes performance against CoNLL-14 reference edits under the paper’s no-alternatives setting. That setting gives a well-defined basis for comparing outputs, but the score cannot establish how human readers would rate every grammatical or fluent revision. A correction may be phrased in several plausible ways, and the model’s output is assessed through agreement with the references used in scoring. The paper’s motivation includes global fluency. Its headline measurement concerns recovery of annotated edits.

The development analyses use vocabulary coverage and orthographic similarity as indicators. The OOV sentence group includes edits anywhere in each selected sentence. A small edit can require a global grammatical decision even though its surface change is short. These groups therefore show where the systems’ performance differs without identifying the linguistic cause of every difference. A direct evaluation of changes in word order, for example, would require separate evidence from the reported small- and large-change comparison.

There is also a constraint in the way the local source is selected. The nested decoder is given the characters of a single source word identified by the highest word attention weight. The sentence context can combine states from throughout the input, but the local character lookup is tied to that chosen position. A favorable word alignment makes a copy or small modification possible. If the wrong position is selected, the direct evidence available to that branch may be irrelevant. The examples show successful choices and give no separate estimate of how often the selection itself is correct.

Word-first search imposes a related limit. Character generation resolves slots opened by the word decoder. It cannot recover a rare output through a slot that the word search never proposes. Reranking is likewise bounded by the candidate sentences available to it. The final scores reflect both mechanisms and their dependencies. They cannot by themselves identify whether a missed correction originated in the word hypotheses, the source choice, the spelled output or the final candidate ranking.

The basic and nested hybrids are close architectural comparisons, but each is trained with its selected loss configuration. Their observed gap reflects the trained systems, including the separate recurrent route and the way its loss enters the total objective. The direction of the gap across development segments aligns with the mechanism the authors propose. A stronger causal claim about individual character weights, or about the same outcome under other training conditions and vocabulary cutoffs, would require comparisons beyond those reported.

Finally, the corpora and the two CoNLL splits establish the scope of the empirical claims. Vocabulary membership depends on word frequency in the chosen training data and on the cutoff. A word inside the experimental vocabulary would be handled differently if it fell outside the list under another setup. The development-set findings show how the system performs under the authors’ vocabulary, training sources and segmentation of the data. The reported training times likewise describe their hardware and setup, instead of measuring runtime requirements across deployments.

What came after

Sentence correction through different architectures

Later citing work pursued several of the design questions raised here. The convolutional encoder–decoder study retains the idea of learning to map learner sentences to corrected sentences and makes a multilayer convolutional network its architecture for that task. Its relation to the nested hybrid is most readily understood at the level of the sentence encoder and decoder. Both works center correction on a learned transformation of the sentence. The later work’s title identifies convolution as its architectural choice, while the earlier study’s distinctive intervention was access to spelling within a recurrent word system. A Multilayer Convolutional Encoder-Decoder Neural Network for Grammatical Error Correction

Another citing study adapts sequence methods to sentence correction. That focus carries forward the premise that tools for generating or transforming sequences can be designed around the demands of editing a sentence. The nested hybrid makes such an adaptation through the treatment of vocabulary and source characters. The later study’s remit is adaptation for sentence correction more broadly. Its title does not specify whether it adopts the nested character route. Adapting Sequence Models for Sentence Correction

The work on parallel iterative edits makes locality the organizing principle of sequence transformation. Its title identifies edits applied in parallel and across iterations as the mechanism. In the nested hybrid, a local spelling operation takes place inside the generation of a word sequence. The iterative edit approach addresses locality through the operations that transform a sequence. This gives a different place for local changes to enter the design, especially in a task where much of the input may already be suitable. Parallel Iterative Edit Models for Local Sequence Transduction

Training data and ways to use language probabilities

The nested-attention benchmarks depend on sizeable collections of learner sentences paired with corrections. Later work on pseudo data takes the supply of training examples as the subject of an empirical study. Pseudo data are constructed examples used alongside or in place of directly collected pairs. This research direction addresses the training evidence available to the correction system. It sits alongside the earlier paper’s emphasis on representing and generating forms that the fixed word vocabulary does not cover. An Empirical Study of Incorporating Pseudo Data into Grammatical Error Correction

The back-translation comparison also places a method for constructing training pairs at the center of the study. In correction, back-translation points in the direction from corrected text towards possible learner-like input, so the resulting text can form a pair with the original clean sentence. The citing work compares back-translation approaches for grammatical correction. The connection is through the training setup, since the nested hybrid learns from paired inputs and outputs and its paper explicitly acknowledges data differences when comparing published scores. Comparison of Grammatical Error Correction Using Back-Translation Models

The work on transformer language models puts the language model itself at the center of grammatical correction research. In the nested hybrid study, the external language model is a count-based scorer for candidates proposed by another network. The later paper’s title identifies a different family of language models as its subject. It continues a question visible in the earlier experiment about where knowledge of plausible language sequences can improve correction. The Unreasonable Effectiveness of Transformer Language Models in Grammatical Error Correction

The prompt-based study examines performance and controllability when correction is requested through prompts to GPT-3. That moves attention to the way a correction request is specified and how the resulting behavior is controlled. In the nested hybrid, behavior is learned through paired sentences and shaped by the routing and scoring choices in the architecture. Both approaches give a system the task of returning corrected text, while putting the control over that transformation in different parts of the setup. Exploring Effectiveness of GPT-3 in Grammatical Error Correction

Evaluation and correction across languages

The empirical study framed around human-level performance brings a different comparison to the foreground. The nested-attention paper states its advance principally through comparisons with other systems on CoNLL-14. The later study frames correction quality in relation to human performance. That framing extends the evaluation question from which system makes more reference-matching edits to how an automated result is assessed against a human standard. The title supplies the framing of the study. It does not establish that the nested hybrid was part of that comparison. Reaching Human-level Performance in Automatic Grammatical Error Correction

The Russian multi-reference benchmark addresses another part of the evaluation setup. Its focus is on benchmarks with multiple references for Russian correction. This bears on a constraint visible in the CoNLL-14 experiment, where the headline score is explicitly taken without alternatives. A benchmark with multiple references can represent more than one recorded correction for the same input. The relationship is through evaluation design and language coverage. The citing work’s title gives no basis for attributing the earlier decoder to the Russian benchmark. Multi-Reference Benchmarks for Russian Grammatical Error Correction

The work on learner Russian in Universal Dependencies takes learner text as material for grammatical analysis. That is a distinct emphasis from the earlier paper’s sentence-pair supervision and edit scoring. It situates the study of learner errors within a framework for describing syntactic structure, a level that the nested hybrid expects its word encoder to learn from sentence context. Universal Dependencies for Learner Russian

The Icelandic checker study is framed around developing a spell and grammar checker using an error corpus. The two kinds of correction appear together in its title, as they do in the motivation for nested attention. Its focus on an Icelandic error corpus extends the discussion to the data needed to develop a checker in a different language. A further citing study makes contextual evaluation of emerging checkers its stated focus. This emphasis relates to the earlier distinction between the surface form of an edit and the sentence evidence needed to decide whether it is appropriate. Developing a Spell and Grammar Checker for Icelandic using an Error Corpus and Beyond Error Categories

Cite

Cite as Jianshu Ji, Qinlong Wang, Kristina Toutanova, Yongen Gong, Steven Truong and Jianfeng Gao. 2017. A Nested Attention Neural Hybrid Model for Grammatical Error Correction. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/p17-1070 · arXiv 1707.02026

@inproceedings{ji2017nested,
  title = {{A Nested Attention Neural Hybrid Model for Grammatical Error Correction}},
  author = {Jianshu Ji, Qinlong Wang, Kristina Toutanova, Yongen Gong, Steven Truong and Jianfeng Gao},
  booktitle = {Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2017},
  doi = {10.18653/v1/p17-1070},
  eprint = {1707.02026},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/p17-1070}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/ji-2017-nested-attention-neural-hybrid-model/

References

24 references, from the paper's own bibliography.

  1. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2015. Neural machine translation by jointly learning to align and translate. In Proceedings of ICLR. our card
  2. Chris Brockett, William B Dolan, and Michael Gamon. 2006. Correcting ESL errors using phrasal SMT techniques. In Proceedings of the 21st International Conference on Computational Linguistics and the 44th annual meeting of the Association for Computational Linguistics. pages 249–256. our card
  3. Christian Buck, Kenneth Heafield, and Bas Van Ooyen. 2014. N-gram counts and language models from the Common Crawl. In LREC. our card
  4. Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). our card
  5. Sébastien Jean Kyunghyun Cho, Roland Memisevic, and Yoshua Bengio. 2015. On using very large target vocabulary for neural machine translation. In Proceedings of ACL. our card
  6. Shamil Chollampatt, Kaveh Taghipour, and Hwee Tou Ng. 2016. Neural network translation models for grammatical error correction. In Proceedings of IJCAI. our card
  7. Daniel Dahlmeier, Hwee Tou Ng, and Siew Mei Wu. 2013. Building a large annotated corpus of learner English: The NUS corpus of learner English. In Proceedings of the Eighth Workshop on Innovative Use of NLP for Building Educational Applications. pages 22–31. our card
  8. Jianfeng Gao, Xiaolong(Shiao-Long) Li, Daniel Micol, Chris Quirk, and Xu Sun. 2010. A large scale ranker-based system for search query spelling correction. In The 23rd International Conference on Computational Linguistics. OpenAlex ↗ · Scholar ↗
  9. Richard HR Hahnloser, Rahul Sarpeshkar, Misha A Mahowald, Rodney J Douglas, and H Sebastian Seung. 2000. Digital selection and analogue amplification coexist in a cortex-inspired silicon circuit. Nature 405(6789):947–951. OpenAlex ↗ · Scholar ↗
  10. Marcin Junczys-Dowmunt and Roman Grundkiewicz. 2016. Phrase-based machine translation is state-of-the-art for automatic grammatical error correction. In EMNLP. OpenAlex ↗ · Scholar ↗
  11. Lingpeng Kong, Chris Alberti, Daniel Andor, Ivan Bogatyy, and David Weiss. 2017. Dragnn: A transition-based framework for dynamically connected neural networks. OpenAlex ↗ · Scholar ↗
  12. Jason Lee, Kyunghyun Cho, and Thomas Hofmann. 2017. Fully character-level neural machine translation without explicit segmentation. TACL 5. our card
  13. Minh-Thang Luong and Christopher D. Manning. 2016. Achieving open vocabulary neural machine translation with hybrid word-character models. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). our card
  14. 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. In CoNLL Shared Task. pages 1–14. OpenAlex ↗ · Scholar ↗
  15. Diane Nicholls. 2003. The Cambridge Learner Corpus: Error coding and analysis for lexicography and ELT. In Proceedings of the Corpus Linguistics 2003 conference. volume 16, pages 572–581. OpenAlex ↗ · Scholar ↗
  16. Alla Rozovskaya and Dan Roth. 2016. Grammatical error correction: Machine translation and classifiers. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). pages 2205–2215. OpenAlex ↗ · Scholar ↗
  17. Keisuke Sakaguchi, Courtney Napoles, Matt Post, and Joel Tetreault. 2016. Reassessing the goals of grammatical error correction: Fluency instead of grammaticality. Transactions of the Association for Computational Linguistics 4:169–182. OpenAlex ↗ · Scholar ↗
  18. Allen Schmaltz, Yoon Kim, Alexander M Rush, and Stuart M Shieber. 2016. Sentence-level grammatical error identification as sequence-to-sequence correction. arXiv preprint arXiv:1604.04677 . OpenAlex ↗ · Scholar ↗
  19. Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). our card
  20. Ilya Sutskever, Oriol Vinyals, and Quoc V Le. 2014. Sequence to sequence learning with neural networks. In Advances in neural information processing systems. pages 3104–3112. our card
  21. Toshikazu Tajiri, Mamoru Komachi, and Yuji Matsumoto. 2012. Tense and aspect error correction for ESL learners using global context. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics: Short Papers-Volume 2. pages 198–202. our card
  22. Ziang Xie, Anand Avati, Naveen Arivazhagan, Dan Jurafsky, and Andrew Y. Ng. 2016. Neural language correction with character-based attention (http://arxiv.org/abs/1603.09727). CoRR abs/1603.09727. http://arxiv.org/abs/1603.09727 (http://arxiv.org/abs/1603.09727). our card
  23. Kelvin Xu, Jimmy Ba, Ryan Kiros, Kyunghyun Cho, Aaron C Courville, Ruslan Salakhutdinov, Richard S Zemel, and Yoshua Bengio. 2015. Show, attend and tell: Neural image caption generation with visual attention. In ICML. volume 14, pages 77–81. our card
  24. Zheng Yuan and Ted Briscoe. 2016. Grammatical error correction using neural machine translation. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. our card