DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing
Paper · 2021 · Pengcheng He, Jianfeng Gao and Weizhu Chen
Summary
An encoder learns from text before it is trained to answer questions, classify sentences, or identify names. How much it learns depends in part on the exercise it is given during that first stage. DeBERTaV3 asks whether the same encoder architecture can learn more from its training text by changing that exercise. Earlier DeBERTa training hid selected tokens and asked the encoder to recover them. DeBERTaV3 gives that job to a smaller network, the generator. The generator proposes replacements for the hidden tokens, and the main encoder, the discriminator, checks every position in the resulting sequence. The original text supplies the answer at each position. This exercise, introduced by ELECTRA, is called replaced token detection.
The change brings a problem with it. Both networks need word embeddings, the learned vectors used to represent tokens at the input. In ELECTRA, both networks use and update the same table. The authors argue that predicting a missing token and identifying a plausible substitute can favor different changes to those vectors. Giving each network its own table makes the generator learn faster in their comparison, but the resulting discriminator performs worse after task-specific training. Their solution, gradient-disentangled embedding sharing, lets the discriminator use the generator's vectors as a starting point and learn its own adjustments. The discriminator's loss can change those adjustments. The generator alone determines how its own table is updated.
The authors train large, base, small, and extra-small English variants. DeBERTaV3 Large averages 91.37% across the GLUE development tasks evaluated in the paper. DeBERTaV3 Base reaches 90.6% accuracy on the matched MNLI development split and 88.4% F1 on the SQuAD v2.0 development set. On those tasks, the smaller variants also improve on size-matched comparisons with MiniLMv2, which used knowledge distillation. A multilingual base variant trained on CC100 reaches 79.8% average test accuracy on XNLI when supervised training uses only English. The strongest evidence for the embedding change comes from the controlled comparisons: the new sharing scheme keeps the faster generator learning seen with separate tables and yields the best downstream results of the sharing schemes tested. The larger benchmark comparisons show what the combined training design can deliver at several encoder sizes.
Deep dive: DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing
DeBERTaV3 improves encoder pre-training by detecting replaced tokens and sharing embeddings without passing discriminator gradients back. · about 34 minutes to read
The problem and its context
What changes when an encoder gets bigger
A pretrained encoder converts a sequence into representations that can be adapted to tasks with labeled examples. The first stage uses ordinary text, where the sequence itself supplies the training target. The second stage, fine-tuning, takes the learned parameters and continues training them for a specific task. For a sentence-pair task, the label might describe a relationship between the sentences. For reading comprehension, the supervision can identify where an answer occurs. A better pretraining procedure is valuable when the resulting encoder adapts more successfully to both kinds of work.
The authors start from a distinction between increasing capacity and making better use of it. Increasing the number of trainable parameters has been an effective means of improving language systems. It also makes the size of the trained system part of the price of the improvement. The paper asks what can be gained through the pretraining objective and the way parameters are updated. The question applies to the encoder that will be retained for downstream use and to the amount of work needed to train it in the first place. These are distinct considerations because a training procedure can involve a network that is discarded after pretraining.
The paper describes several earlier ways to improve pretraining. RoBERTa revisited the training regime behind BERT and used larger batches and more text. DeBERTa developed the architectural side of that line of work by reorganizing how an encoder uses relative positions. ELECTRA changed what the encoder is trained to predict. A comparison between the original DeBERTa and DeBERTaV3 therefore involves both the architecture inherited from DeBERTa and a new use of the objective introduced by ELECTRA. The study's design asks which aspects of the latter can be adopted directly and which need adjustment. RoBERTa
How an encoder uses word order
The basic unit here is the Transformer and attention. The encoder applies a stack of blocks to the input sequence. Each block uses self-attention to combine information from different positions, then applies a feed-forward network at each position. An attention head learns how much to draw from one position when updating another, and several heads can do this in parallel. The next block receives contextual representations produced by the previous one. A token starts with an input vector associated with its identity and acquires information about what surrounds it as it passes through the stack.
Self-attention requires a mechanism for representing order. A sequence position can be described absolutely, by its location in the input, or relatively, by how far and in which direction it lies from another position. Those descriptions supply different information. The same relationship can occur near the beginning or near the end of a sequence, and a relative position can express that relationship in either location. The paper places DeBERTa in a line of work that found relative position representations useful for language understanding and generation. Self-Attention with Relative Position Representations
DeBERTa uses separate representations for token content and relative position when it calculates attention. Content supplies information about which tokens are present, while relative position supplies information about where they occur with respect to each other. Both enter the attention calculation. The original DeBERTa also uses an enhanced mask decoder. At the stage where it predicts a hidden token, that decoder adds absolute position information, which the authors describe as useful for some predictions. The separation of content and relative position in attention is an architectural choice. The decision about how to share token embeddings between a generator and a discriminator, introduced in DeBERTaV3, is a separate training choice.
From recovering missing text to checking substitutions
In masked language modeling, the training procedure selects some positions in a sequence and asks the encoder to recover the original tokens there. Text outside the selected positions supplies context. It can influence the prediction of each missing token through attention, and the training error can propagate through those contextual computations. Direct targets are still confined to the selected positions. That distinction is important when comparing objectives: seeing a token in the input and making a supervised prediction at its position are different ways of learning from it. The paper uses BERT as the starting point for this formulation. BERT
ELECTRA uses prediction of missing text to create a new exercise. A generator first reads a masked sequence and supplies candidate tokens for the selected positions. A discriminator then receives the sequence with those candidates inserted. Its task is to judge token by token whether the input matches the original text. A generator trained to predict from context can propose alternatives that are hard to distinguish from the original. The discriminator consequently learns from both the positions that have been altered and the surrounding positions that are intact. The authors cite other uses of replaced token detection, including XLM-E and CodeBERT, as evidence that it is a practical pretraining objective beyond the original ELECTRA setting. CodeBERT
The labels for the discriminator can be obtained without annotating the meaning or grammaticality of the new sentence. A token can be a plausible continuation and still count as a replacement, because the label comes from the identity of the original token. Conversely, if the generator samples the original token, it counts as original. This gives the authors a reason to think carefully about the role of the embedding table. The task that proposes plausible choices and the task that tells a plausible choice from the observed one use the same vocabulary, but the criteria they learn from are different.
Sharing a representation and sharing its updates
ELECTRA shares one token embedding table between the two networks. This saves an independently learned input table and gives the discriminator access to the representations used by the generator. In ordinary sharing, both losses also back-propagate into the same vectors. Back-propagation computes the sensitivity of the loss to the parameters, which the optimizer uses to decide how to update them. Once a table is shared this way, the direction of its update can depend on both tasks.
The authors' explanation starts with tokens that fit similar contexts. A generator must predict the original token, but learning to treat related tokens similarly can help it assign probabilities using evidence from those contexts. The discriminator faces examples in which a related token has been inserted and must be detected. Its objective can reward a representation that preserves differences useful for that decision. If those pressures favor different updates to the same vector, the table has to accommodate both at once. The question for DeBERTaV3 is whether the discriminator can benefit from the generator's representation while each objective retains control of the parameters through which it learns.
The method, step by step
Preparing the training example
A pretraining example starts as a sequence of tokens. With subword tokenization, some of those tokens can be pieces of a written word. Masking, replacement, and detection all operate at the token positions. The original sequence is kept as the record against which predictions and substitutions are judged. A randomly selected set of positions gives the generator its prediction targets. In the authors' implementation, 15% of the input tokens are replaced by [MASK] for the generator. The mask marks a location where a prediction is required and withholds the identity of the original token.
The generator reads this masked version and supplies probabilities over the vocabulary for the selected positions. Its learning target at each of those positions is the token in the original sequence. A sample drawn from its predicted distribution provides a candidate for the discriminator's input. Sampling means that tokens besides the generator's most probable choice can occur in that input. The discriminator receives all of the sampled tokens in their selected positions, along with the original tokens at the other positions.
The label at each position is determined by comparing the discriminator's input with the original sequence. Consider a selected position where the generator draws the correct token. From the discriminator's point of view, that position contains the original token, even though the training procedure went through a masking and sampling operation. If the generator draws a different token, the resulting position is labeled as replaced. This is why the set used to gather the generator's loss and the set of positive examples of replacement are different. One comes from the masking procedure. The other depends on what was actually drawn.
The discriminator predicts a label using the entire modified sequence as context. Each position contributes a term to the detection loss, including positions where the text was copied directly. A sequence can consequently provide evidence about locally plausible substitutions as well as examples of how untouched tokens fit into surrounding text. The authors keep the generator shallower than the discriminator so that the network making the substitutions is smaller. Their implementation uses the same width for the two networks and half as many layers in the generator.
A pre-training iteration with gradient-disentangled sharing
The steps in order.
The masked prediction objective
The paper introduces masked language modeling by expressing its objective as a sum over selected positions. The following notation makes the prediction at each position explicit. As in the paper, the sequence-level expression on the left refers to recovering the masked targets through that sum.
max_θ log p_θ(X | X̃) = max_θ ∑_{i ∈ C} log p_θ(x̃ᵢ = xᵢ | X̃)
Here X is the original token sequence and X̃ is the version given to the encoder after corruption. The index i denotes a position, C is the set of selected positions, and i ∈ C restricts the sum to that set. The target xᵢ is the original token at position i, and x̃ᵢ on the right denotes the prediction whose probability is being evaluated. The equality inside p_θ asks for the probability that this prediction equals the target. θ is the collection of trainable parameters, p_θ is the probability assigned using those parameters, and the vertical bar introduces the conditioning input. log takes a logarithm, ∑ adds the position-level terms, and max_θ denotes maximization over the parameters. The outer equality gives the masked-position expansion used for the objective.
The paper also describes BERT's handling of the selected tokens. BERT leaves 10% of them unchanged, substitutes a random token for another 10%, and puts the mask symbol in the remaining selected positions. This concerns how the masked prediction input is constructed. The DeBERTaV3 implementation described in the appendix uses [MASK] at the generator's selected positions and creates the discriminator's substitutions from the generator's predictions.
In the generator, the prediction objective is written as a loss to be minimized. The negative sign converts high log probability for the observed targets into a low loss.
L_MLM = 𝔼[−∑_{i ∈ C} log p_{θ_G}(x̃ᵢ,ᴳ = xᵢ | X̃_G)]
L_MLM is the generator's masked language modeling loss, and 𝔼 denotes the expectation over training examples and their masking. The brackets enclose the quantity averaged in that expectation. C, i, and xᵢ again denote the selected positions, an index, and the original token. G labels generator quantities. X̃_G is the masked input to the generator, and x̃ᵢ,ᴳ represents its token prediction at position i. p_{θ_G} assigns a probability to the target token given that input, using the generator parameters θ_G. The vertical bar indicates that dependence. ∑ sums over the selected positions, log is the logarithm of the assigned probability, and − makes the expression a negative log likelihood. The equality defines the loss. A poorly predicted target contributes more loss than a target assigned high probability.
Sampling the discriminator input and scoring it
The next expression writes the paper's replacement rule with an explicit vocabulary variable. This distinguishes a distribution over possible tokens from the single probability of drawing the original token.
x̃ᵢ,ᴰ = { a ∼ p_{θ_G}(· | X̃_G, i) if i ∈ C
{ xᵢ if i ∉ C
x̃ᵢ,ᴰ is the input token at position i for the discriminator, denoted by D. The braces give the cases of the rule. a is a token drawn from the generator distribution, and ∼ indicates sampling. p_{θ_G} is the distribution produced by the generator with parameters θ_G. The dot ranges over vocabulary entries. The vertical bar separates those possible entries from the conditions, the masked input X̃_G and the position i being filled. i ∈ C means that this position was selected for prediction, and i ∉ C means that it was outside the selected set. In the latter case the input is xᵢ, the original token. The equality sets the discriminator's input at that position.
The detector is trained with a binary prediction at each position. Its loss uses the probability assigned to the observed equality label. The original sequence is used to make the label, while the modified sequence is the contextual input against which the prediction is made.
L_RTD = 𝔼[−∑ᵢ log p_{θ_D}(𝟙(x̃ᵢ,ᴰ = xᵢ) | X̃_D, i)]
L_RTD is the replaced token detection loss. 𝔼 is the expectation over the training examples and the corruption process, including the sampled substitutions. The brackets enclose the negative sum being averaged. ∑ᵢ adds a term for every position i, and − log converts the probability of the correct label to a loss. p_{θ_D} is the discriminator's prediction distribution under its parameters θ_D. 𝟙 is an indicator that is true when the input token x̃ᵢ,ᴰ equals the original token xᵢ, and false otherwise. The equality within the indicator is that token identity test. X̃_D is the complete modified input to the discriminator. The vertical bar indicates that the label probability is conditioned on that input and on the position i. The outer equality defines the loss.
The two objectives have a relative weight. In ordinary ELECTRA sharing the paper writes their joint loss as follows.
L = L_MLM + λ L_RTD
L is the combined training loss. L_MLM and L_RTD are the masked prediction and replacement detection losses, respectively. λ is the multiplier applied to the discriminator loss, and + adds the weighted loss to the generator loss. The equality defines the combined quantity. ELECTRA uses a discriminator loss weight of 50, which the authors also use in their DeBERTa comparison. The multiplier governs the relative contribution of the losses. The embedding scheme determines which parameters a contribution can reach.
Why the backward paths matter
With ordinary embedding sharing, abbreviated ES, the generator and discriminator use the same table in their forward computations. Their other parameters are associated with their respective networks. Both losses have a differentiable route to the common table, so the shared gradient is the sum of the corresponding contributions.
g_E = ∂L_MLM/∂E + λ ∂L_RTD/∂E
E is the shared token embedding matrix, and g_E is the gradient used for that matrix. ∂L_MLM/∂E is the partial derivative of the generator loss with respect to its entries. ∂L_RTD/∂E is the partial derivative of the detection loss with respect to those same entries. λ weights the latter contribution, + adds the gradients, and the equality states the resulting gradient. Each derivative describes how the corresponding loss responds to changes in the table. The expression describes the signal sent to the optimizer, which then determines the parameter update.
In the no embedding sharing condition, abbreviated NES, the two tables are distinct. The generator first produces the discriminator's training input and is updated using masked prediction. The discriminator then learns from the modified sequence using its own table and the detection loss. The generator still decides the distribution from which candidate substitutions are drawn. That connection remains even when the discriminator cannot use its input vectors. NES therefore provides a way to study the effect of removing direct interaction through the shared embedding parameters while retaining the two training tasks.
Gradient-disentangled embedding sharing, abbreviated GDES, gives the discriminator a table composed of a generator contribution and a trainable correction. The resulting forward computation and its gradients are specified by the following expression.
E_D = sg(E_G) + E_Δ
E_D is the effective token embedding matrix read by the discriminator. E_G is the generator's token embedding matrix, and E_Δ is the discriminator's residual matrix, with entries that adjust the generator vectors. The subscripts D, G, and Δ identify the discriminator, generator, and residual quantities. sg is the stop-gradient operation. Its value in the forward computation is its argument, so the current generator vectors are available to the discriminator. Its backward behavior blocks the derivative through that argument. + adds the matrices element by element, and the equality defines the table used for detection.
The residual begins as a zero matrix. At that point the discriminator reads the generator vectors unchanged. During an iteration, the masked prediction loss updates the generator and its table. That immediately changes the values available to the discriminator through the generator term in the sum. The discriminator then runs on the candidate sequence and updates its own parameters, including the residual. It can adapt the vectors it reads through this residual, while the masked prediction objective remains in charge of the generator table. The operation isolates the updates to E_G even as the discriminator continues to use its current values.
After pretraining, the authors add the learned residual to the final generator table and store that sum as the discriminator's embedding table. The discriminator is the encoder carried forward for task-specific training. The generator has served to create substitutions and supply an embedding component during pretraining. Once the matrices have been added, the downstream encoder can look up its tokens in a single saved table. The paper identifies the DeBERTa and ELECTRA codebases as the basis for its implementation and makes the resulting code and trained checkpoints available.
Experiments and results
A focused pre-training comparison and a larger evaluation
The paper uses different settings for the comparison of training choices and for the main English benchmark runs. The focused comparison uses English Wikipedia and Bookcorpus with a base-size encoder. Its configuration specifies a batch size of 2048, a pretraining schedule of 125,000 steps, a learning rate of 5e-4, and 10,000 warmup steps. Warmup is the initial part of training during which the learning rate is brought up to its target setting. The authors use this shorter experiment to examine the change in objective and the alternatives for embedding sharing. They evaluate the resulting discriminators on MNLI and SQuAD v2.0 after fine-tuning. Bookcorpus
The principal English runs use 160GB of text. The collection includes Wikipedia and Bookcorpus together with CCNews. Stories and OpenWebText are also part of it. The paper identifies this as the corpus used by RoBERTa and DeBERTaV2. It also uses the DeBERTaV2 SentencePiece vocabulary of 128,000 tokens. Keeping the text collection and vocabulary aligned with the earlier setup helps situate the results in that family of encoders. The appendix says that 5% of the pretraining data were sampled as a validation set for monitoring the training process.
For the main English configuration, the paper gives a batch size of 8192, a total of 500,000 steps, and 10,000 warmup steps. It specifies a learning rate of 5e-4 for Base and Small and 3e-4 for Large. The optimizer is AdamW, an Adam variant with weight decay, a form of regularization applied to the weights. The optimizer coefficients β₁ and β₂ control the decay of its moving estimates of the gradient and its squared magnitude. The authors set them to 0.9 and 0.98, respectively. Their fine-tuning procedure uses Adam and chooses task-specific settings according to development-set performance. Adam
The Large and Base discriminators match the corresponding earlier DeBERTa architectures. DeBERTaV3 Small has six layers and matches Base in both hidden size (768) and number of attention heads (12). DeBERTaV3 XSmall also appears in the English evaluation, allowing a comparison at a smaller parameter count. These size labels determine which baselines are informative. A result against a similar architecture helps assess the value of the training change at a given scale. A comparison with a larger encoder answers the more practical question of which scores a smaller encoder can reach.
Large encoders on GLUE and other tasks
The paper reports a development-set average over eight tasks from GLUE. The full collection contains nine tasks, so the average belongs to the subset used in the paper's evaluation. GLUE brings together distinct forms of natural language understanding, including judgments about sentence acceptability, sentiment, sentence similarity, and relationships between sentences. A GLUE average summarizes the task results. It is different from accuracy measured on a single collection of examples. GLUE
For these tasks, fine-tuning adds a classifier to the final representation of the special [CLS] token. The encoder can bring information from the sequence into that representation through attention, and the classifier uses it to make the example-level prediction. The large-encoder comparison is organized around similar structures, described as 24 layers with hidden size 1024. The paper includes RoBERTa, ELECTRA, and earlier DeBERTa in this comparison. It also compares with BERT, XLNet, and ALBERT.
DeBERTaV3 Large records the 91.37% GLUE development average. The authors report that this score is 1.37% above DeBERTa and 1.91% above ELECTRA in the comparison. Improvements are uneven across tasks. On the GLUE development results, the gains relative to prior best scores are +4.4% for RTE and +4.8% for CoLA. RTE asks for a judgment about textual entailment. CoLA asks whether a sentence is linguistically acceptable. The authors emphasize that these tasks have relatively little supervised data. They report smaller improvements, below 0.3%, on SST-2, STS-B, and MRPC. Those tasks cover sentiment, sentence similarity, and paraphrase detection, respectively. The authors suggest that their already strong scores leave less room for improvement.
The additional large-encoder evaluation covers several different prediction formats. MNLI is a natural language inference benchmark. The encoder receives a sentence pair and predicts their inferential relationship. The paper reports results for matched and mismatched development sets, referred to as in-domain and out-of-domain in its results. This distinguishes performance when evaluation is in the matched domain setting from performance on examples in the mismatched setting. The two splits are reported separately.
The reading benchmarks also place different demands on a trained encoder. SQuAD v2.0 includes questions whose answers cannot be recovered from the given paragraph, alongside questions with answers in the text. RACE comes from English examinations for middle and high school students in China. ReCoRD is included as a reading comprehension benchmark. SWAG evaluates grounded commonsense inference through multiple-choice examples. These are grouped under question answering in the paper's evaluation, with the output head chosen according to each task's format.
The CoNLL 2003 dataset adds named entity recognition, which requires identifying and categorizing entities in text. For this task, SQuAD v2.0, and ReCoRD, the authors use final-layer representations at individual positions with a token-level head. The classifier for MNLI, RACE, and SWAG uses the sequence-level fine-tuning design. This distinction matters because a favorable result across the two groups shows that the pretrained representations can support both judgments about an input as a whole and predictions attached to locations in it.
In the paper's development comparisons, DeBERTaV3 Large leads the similarly sized systems across the additional benchmarks. The authors call out improvements of +2.4% on RACE and +2.6% on SWAG. They also compare with larger alternatives, including ALBERT XXLarge, larger Megatron variants, and DeBERTa 1.5B, for tasks where comparison results are available. Against DeBERTa 1.5B, they describe performance as comparable on MNLI and ahead on SWAG. These comparisons show that the Large variant reaches competitive scores even when the comparison includes larger encoders. The training runs and reporting conventions of those alternatives affect how much can be inferred about relative cost.
Base, Small, and XSmall on inference and reading
For the smaller English variants the common evaluations are MNLI and SQuAD v2.0. MNLI accuracy counts the share of sentence pairs assigned the correct label. SQuAD exact match, abbreviated EM, checks for an exact answer match under the benchmark's scoring. SQuAD F1 gives credit for token overlap between a predicted and reference answer. An answer can overlap substantially with the reference and still miss exact match. Improvements in the two reading scores therefore describe related qualities of an answer and should be attributed to the metric actually reported.
DeBERTaV3 Base scores 90.6% accuracy on the MNLI matched development split. Both earlier DeBERTa Base and ELECTRA Base score 88.8% there. On the SQuAD v2.0 development set, DeBERTaV3 Base obtains 88.4% F1. The paper reports that this is a 2.2% improvement over DeBERTa Base. The exact-match comparison includes both baselines, with the largest separation between DeBERTaV3 Base and ELECTRA Base.
Base encoders on SQuAD v2.0 development exact match
DeBERTaV3 Base produces exact answers more often than either base comparison.
The numbers
| System or setting | Exact match % |
|---|---|
| ELECTRA Base | 80.5 |
| DeBERTa Base | 83.1 |
| DeBERTaV3 Base (this paper) | 85.4 |
For the Small variant, the authors report improvements over BERT Small of 6.4% in accuracy on the MNLI matched development split and 9.7% in F1 on the SQuAD v2.0 development set. These comparisons involve compact encoders trained from scratch. Some of the other compact baselines use knowledge distillation, in which training for a smaller system uses information learned by a teacher. TinyBERT and MiniLMv2 furnish examples of that comparison class. The authors train the DeBERTaV3 variants from scratch with replaced token detection and gradient-disentangled sharing. TinyBERT
DeBERTaV3 Small leads MiniLMv2 Small by 1.2% in MNLI matched development accuracy and 1.3% in SQuAD v2.0 development F1. Against MiniLMv2 XSmall, the XSmall variant has reported gains of 1.2% on the same inference split and 2.5% in reading F1. The authors also report that DeBERTaV3 XSmall is comparable to or better than DeBERTaV3 Small on these evaluations, in spite of having half its parameters. They suggest that the additional depth of XSmall could help explain this outcome. The two variants differ in their organization, so their ordering gives an observation about those configurations.
The paper also compares XSmall with RoBERTa Base and XLNet Base. It reports that XSmall has 1/4 of their backbone parameters and gives improvements of 0.5% in matched MNLI development accuracy and 1.5% in SQuAD v2.0 development exact match. The backbone count refers to the encoder behind the task predictions. That qualifier matters when reading the comparison alongside the large sub-word vocabulary used in English pretraining. The result concerns what a relatively small backbone can do on the reported tasks.
Multilingual pre-training and XNLI
The multilingual experiment tests whether the combined design transfers to another data regime. The authors pre-train mDeBERTaV3 Base on the 2.5TB CC100 corpus used by XLM-R. For tokenization they take the SentencePiece vocabulary from mT5, with 250k tokens. The encoder keeps Base’s settings, with a hidden size of 768, 12 attention heads, and 12 layers. Its pretraining uses 500k steps, compared with 1.5M steps in the XLM-R setup described by the authors. The training text spans languages without using parallel text as supervision. The corpus and the vocabulary therefore have different reference points in the multilingual comparison. XLM-R and mT5
XNLI evaluates inference in multiple languages. It provides labeled development and test sets in 15 languages and takes its original English training examples from MNLI. Training examples for the remaining 14 languages are supplied through machine translation from English. This supports distinct evaluations of multilingual and cross-lingual natural language processing. Under zero-shot transfer, fine-tuning uses labeled English examples and evaluation covers the multilingual test sets. Under translate-train-all, fine-tuning uses both the English examples and the translated examples before testing across the languages.
Zero-shot here refers to the absence of target-language examples in supervised task training. The languages in the test suite are evaluated using representations learned from multilingual pretraining. The test asks whether the mapping from those representations to an inference label can be learned from English supervision and applied across languages. Translate-train-all supplies the task in several languages during fine-tuning. The two settings therefore probe transfer under different conditions, and scores from one belong with baselines evaluated in the same setting.
Base encoders on XNLI zero-shot cross-lingual test accuracy
With supervised training in English, mDeBERTaV3 Base has the higher average test accuracy.
The numbers
| System or setting | Average accuracy % |
|---|---|
| XLM-R Base | 76.2 |
| mDeBERTaV3 Base (this paper) | 79.8 |
The authors report a +3.6% improvement over XLM-R Base in average zero-shot test accuracy and a 4.4% improvement over mT5 Base in that setting. For translate-train-all, mDeBERTaV3 Base reaches 82.2% average test accuracy, compared with 79.1% for XLM-R Base. The paper reports the latter gain as +3.1%. Its account says that mDeBERTaV3 Base improves on XLM-R Base in every evaluated language under both protocols. The averages summarize that pattern without treating one language's test score as representative of all the others.
What the ablations show
What the switch to replacement detection contributes
The focused English experiment establishes a comparison before the authors introduce their new embedding rule. They take the DeBERTa approach and move the retained encoder from masked prediction to replaced token detection, using the ordinary ELECTRA sharing scheme for the RTD setup. Relative to the masked prediction baseline in that experiment, the authors report +2.5% on MNLI matched accuracy and +3.8% on SQuAD v2.0 F1. Those gains belong to the Wikipedia and Bookcorpus base-size comparison. They are separate from the comparisons against published Base encoders in the main results.
This experiment changes the task given to the encoder and introduces the generator required to produce the discriminator's input. Its evidence concerns that package. The discriminator now receives a training target at every position, including positions whose tokens remain original. Better task scores in this setup support the authors' decision to use replacement detection in DeBERTa. To examine GDES itself, the subsequent comparisons keep masked prediction for the generator and replacement detection for the discriminator while changing how their token embeddings interact.
What the learning curves measure
Ordinary sharing gives both losses access to the same table. Separate embeddings give each network a table updated only by its own loss. The authors compare those arrangements with the stop-gradient and residual design. They plot the generator's masked prediction loss to see how quickly it learns at different stages of pretraining. This curve is a direct diagnostic of the objective whose updates can be affected by the discriminator under ordinary sharing.
The generator loss falls faster with separate embeddings than with ordinary sharing. GDES shows a convergence pattern like that of separate embeddings, even though its discriminator still reads the generator's learned vectors. This is the part of the comparison that supports the account of interference. Removing the detector's update to the generator table helps the generator learn, and the benefit is visible whether or not the detector can use the table's values. It is the update route, instead of the existence of a shared forward value, that differs in that comparison.
The authors treat the computation cost per step as the same across the sharing settings. On that basis, a lower generator loss earlier in training reflects more progress on that objective for a comparable number of steps. The learning curve is a measure of progress on masked prediction. Downstream fine-tuning is needed to decide whether the faster progress produces a more useful discriminator. That distinction becomes important because NES and GDES are close on the first measure and differ on the second.
What the embedding comparison can reveal
For their representation analysis, the authors sample 10% of the word pieces in the vocabulary and calculate average pairwise cosine similarity. Cosine similarity compares vector directions, with more closely aligned vectors receiving greater similarity. The statistic provides a broad view of how the directions of embedding vectors are distributed. In the ordinary sharing condition the generator and discriminator use the same matrix. In the other conditions the authors can compare the generator's table with the detector's effective table.
With separate tables, the generator's vectors have higher average similarity than the discriminator's vectors. This is consistent with the paper's account of the two objectives favoring different embedding properties. With GDES, the generator table also has higher average similarity. The difference between the generator and discriminator is smaller than with fully separate tables. Adding the learned residual allows the detection vectors to acquire a different geometry while retaining some of the structure of the generator vectors. The authors interpret the smaller gap as evidence that the discriminator preserves more of the information supplied by the generator.
The cosine statistic is most informative alongside the learning curve and downstream scores. The curve reflects how the generator's objective changes over training. The vector statistic characterizes an aspect of the learned tables. Task evaluation asks what the discriminator can do after adapting to labeled examples. Each measurement answers a different question. A change in average vector alignment could accompany faster learning without improving the classifier or answer extractor. Conversely, a downstream improvement can establish a practical advantage even when the representation statistic gives only a partial account of the mechanism.
Why the separate-table control matters
Fully separate tables help the generator converge, but that condition does not lead to the best results after fine-tuning on MNLI and SQuAD v2.0. The authors interpret this as evidence that sharing benefits the detector by giving it access to the generator’s vectors. GDES produces the best downstream results of the sharing schemes on the reported tasks, while maintaining the favorable generator loss curve. The separate-table condition therefore prevents a simple interpretation in which independent updates alone account for all the gains. The discriminator also benefits from the connection retained in the forward computation.
Three features of the comparison line up with that conclusion. Ordinary sharing permits information reuse and sends both gradients into the common table. Separate embeddings cut the gradient interaction and remove direct reuse of the generator vectors. GDES retains the reuse and blocks the discriminator's backward path into the generator table, with the residual providing a place for the discriminator's own adaptation. The performance ordering is evidence for this arrangement as implemented, including the residual. Each condition supplies a different combination of choices, and the ordering is more informative than a single comparison between GDES and ordinary sharing.
A check in an ELECTRA reproduction
The appendix applies the idea outside the DeBERTa configuration. In the authors' reproduction of ELECTRA Base, the discriminator has 12 layers and the generator has 6, with the same hidden size. They train from scratch on Wikipedia and Bookcorpus, using a batch size of 2k and a learning rate of 5e-4 for 125k steps. They then fine-tune and evaluate on MNLI and SQuAD v2.0 with the same task setup as in the DeBERTa sharing comparison.
The appendix reports that GDES improves the ELECTRA setting as well, consistent with the main sharing analysis. This is a test of portability to a second implementation of the generator and discriminator arrangement. The explanation for GDES is phrased in terms of embedding values and gradient paths, neither of which requires DeBERTa's particular way of computing attention. The ELECTRA experiment supplies empirical support for that narrower portability claim. Its setting is still an RTD encoder with a masked-prediction generator and the same types of downstream evaluation.
Limitations
Limits and conjectures identified by the authors
The authors qualify their strongest benchmark claims by the comparison class. The GLUE claim concerns systems with broadly similar structures, and the multilingual claim concerns the base-size competitors used for XNLI. The paper does include some larger systems on the extended English benchmarks, with results available for different subsets of the tasks. It explicitly points out why a T5 comparison would be difficult there: the available T5 figures concern the test sets, while the comparison in question uses development results. The decision keeps those figures on their original evaluation footing. T5
The authors offer several hypotheses about why particular results look the way they do. They suggest that small gains on SST-2, STS-B, and MRPC may reflect limited remaining headroom on those tasks. They also suggest that the gains on RACE and SWAG could indicate better reasoning and commonsense knowledge. Both readings arise from benchmark patterns. The experiments establish the scores attained on the corresponding tasks. They supply no separate measurement of saturation or of the specific reasoning processes that produced the predictions. Likewise, the proposed advantage of XSmall's depth is an interpretation of its performance relative to Small. The paper does not include a controlled change in depth that would establish this explanation.
For multilingual pretraining, the authors state that they did not use parallel data. The lack of parallel text describes the unsupervised training setup, and translate-train-all introduces translations later for supervised adaptation. The authors mention the possibility of further pretraining with parallel data and expect that it might help. Their results establish a comparison for the setup they ran. Any additional gain from parallel text remains outside the experiment.
What can be inferred from the comparisons
The most controlled comparisons concern English Base pretraining on Wikipedia and Bookcorpus. They provide direct support for introducing the replacement-detection procedure and for choosing GDES among the sharing schemes under those conditions. The full benchmark runs incorporate disentangled attention, replaced token detection, and GDES together. They also use more extensive training data than the focused runs. The component effects measured in the focused setting cannot be carried over as separate numerical contributions to the final Large or multilingual scores. A study designed to measure those contributions would need matching variants in those settings as well.
The embedding analysis is consistent with the authors' proposed mechanism, though its statistic is limited. Average cosine similarity over sampled vocabulary entries treats each pair as a geometric comparison. It supplies no annotation indicating which pairs are synonyms, which are plausible substitutes in a given sentence, or which should be distinguished for a downstream prediction. It also does not directly measure the alignment of the generator and discriminator gradients at each update. The training curves show what happens when an update route is removed, and the similarity analysis shows an associated property of the learned vectors. Taken together, they support the interference account without resolving which tokens, contexts, or phases of training contribute most.
There is an additional distinction between blocking a gradient and making the networks independent. Under GDES, the current generator still shapes the data presented to the discriminator through its sampled substitutions. Each change to the generator table can also change the discriminator's effective input vectors. The experiment isolates direct back-propagation into that table. The results do not imply that all interactions between the learning processes have been removed. Indeed, information transfer through these remaining routes is part of the method.
What the efficiency evidence covers
The paper motivates the design in terms of using training data and computation more efficiently. Its evidence includes the rate at which generator loss improves, the downstream scores of similar-size English encoders, and the multilingual result at a shorter step schedule than XLM-R. These are different kinds of evidence. An objective with a target at every position has a denser direct prediction signal. A lower loss earlier in a run indicates faster progress on that loss. A competitive score with a smaller backbone gives evidence about the capacity required for the evaluated task. None of those measurements is a total training energy figure.
A step in RTD pretraining includes generator computation and discriminator computation. Comparisons among sharing schemes retain that setup, while a comparison with an encoder trained only on masked prediction involves different work within a step. The multilingual step counts describe the schedules, and workloads can also depend on the architectures, vocabulary, and training configurations involved. The paper's downstream benchmarks likewise give task scores rather than measured inference time. The engineering conclusion can be stated in terms of better scores and favorable learning dynamics in the reported settings. A fixed budget comparison in elapsed time, total computation, or energy would address a different question.
The saved discriminator uses one merged token table, which clarifies how the design is carried into fine-tuning. During pretraining, GDES uses a generator table and a residual matrix, while ES represents their shared input with one table. Any accounting of training memory has to reflect that difference even though the final discriminator needs only the merged table. The paper's convergence evidence and its comparisons of backbone parameters should be read at the stages they describe. A smaller backbone count or a favorable loss curve does not by itself specify the total memory needed to train the system.
Where the evaluation stops
The GLUE and English reading results discussed in the paper are development-set evaluations. The appendix says that task-specific settings and checkpoints are selected using development performance. Those scores are useful for comparing the authors' trained variants and the development results of baselines. Their split matters when considering how the comparison might extend to a fresh test set. The numerical gaps also do not establish, by themselves, how sensitive the ordering is to different fine-tuning runs. This is particularly relevant when interpreting the small differences among strong GLUE entries.
XNLI, by contrast, supplies the multilingual test comparison. It evaluates transfer for a single kind of sentence-pair judgment across its languages. A gain under English-only supervision shows improved transfer for that task and protocol. It does not establish the same improvement for multilingual question answering, tagging, or language generation. The English evaluation covers more task formats, while the multilingual experiment covers more languages within inference. Each expands one aspect of the evidence.
What came after
Later papers that cite DeBERTaV3 ask questions that go beyond the original pretraining experiment. Their contributions can be described by the problems they investigate, while their citations alone leave open which parts of DeBERTaV3 they use. An important distinction is between building on the availability or evaluation of bidirectional encoders and adopting the specific stop-gradient rule. The latter is a concrete training choice and requires evidence of how the later encoder is trained.
Encoders as an engineering choice
Smarter, Better, Faster, Longer studies a modern bidirectional encoder with an emphasis on speed, memory use, and long contexts during fine-tuning and inference. DeBERTaV3's engineering evidence is centered on pretraining progress and downstream accuracy at several sizes. The later work's subject extends that comparison to the operating properties of an encoder once it is used on downstream inputs. Context length and inference efficiency are particularly relevant to questions that cannot be answered from a development-set score or a backbone count. Smarter, Better, Faster, Longer
LLM2Vec examines the use of large language systems as text encoders. That places it alongside DeBERTaV3 as work on where useful text representations come from. DeBERTaV3 obtains them through dedicated pretraining for replacement detection and tests how the resulting discriminator adapts to labeled tasks. LLM2Vec directs attention to encoding capabilities in a different starting point. The two research questions meet at the usefulness of the representation, while the later work's title supports a claim about its encoder objective of study, rather than about its use of GDES. LLM2Vec
From benchmark tasks to extraction and verification
GLiNER studies generalist named entity recognition with a bidirectional Transformer. The entity task in DeBERTaV3 appears among several evaluations of the same pretrained discriminator, using a token-level head on CoNLL 2003. GLiNER makes entity recognition the central problem and frames it in terms of a generalist recognizer. The citation connects a broad evaluation of pretrained encoders to later work organized around an individual extraction task. GLiNER
MiniCheck addresses efficient fact checking against grounding documents. Its question is whether information in a document supports a claim. That emphasis on evidence in a supplied passage is related to the demand that an encoder interpret relationships between pieces of text, which DeBERTaV3 evaluates through inference and reading tasks. The role of the document is explicit in MiniCheck's research problem. DeBERTaV3's corruption labels during pretraining, by comparison, are derived from the token sequence itself. The works are connected at the level of applications and representations, with different supervision problems. MiniCheck
ARES develops a framework for automated evaluation of retrieval-augmented generation. Here the evaluation target is a system that brings retrieved information into a generation process. That moves evaluation beyond the standalone sentence, token, or answer predictions used to test DeBERTaV3. The citation places the earlier encoder work in the literature surrounding automated evaluators. The identifying information for ARES establishes what is being evaluated and leaves the role of any particular embedding or loss design open. ARES
BBQ introduces a hand-built benchmark for assessing bias in question answering. It adds an evaluation purpose that differs from the reading-comprehension purpose of SQuAD v2.0 in the DeBERTaV3 paper. With BBQ, the way the examples are constructed serves the study of bias, so an aggregate reading score on an earlier benchmark cannot answer the same question. The connection is through the behavior of systems on question answering, and the later work makes the property being evaluated more specific. BBQ
Broader multilingual settings
Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuning investigates adaptation to African languages through multilingual fine-tuning. The comparison with DeBERTaV3's XNLI experiment lies in where language-specific adaptation enters. DeBERTaV3 asks what multilingual pretraining followed by English supervision can achieve on XNLI, and separately evaluates supervision expanded through translation. The later work makes multilingual adaptation itself the subject of the study and focuses on African languages. Its title identifies that intervention without specifying how it uses the earlier system. Multilingual Adaptive Fine-Tuning for African Languages
MasakhaNER 2.0 brings transfer learning to named entity recognition in an Africa-centric setting. This combines two dimensions evaluated separately in DeBERTaV3: the English experiments test entity recognition and the multilingual experiment tests transfer on inference. The later work instead makes entity recognition the target of transfer. AfriSenti extends the evaluation landscape in another direction with a Twitter sentiment benchmark for African languages. It concerns a different task and text source from the multilingual inference experiment. Those settings illustrate why evidence from a multilingual benchmark is best understood together with the task, language coverage, and source of its examples. MasakhaNER 2.0 and AfriSenti
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Language models & pretraining · 4,145 works
Cite
Cite as Pengcheng He, Jianfeng Gao and Weizhu Chen. 2021. DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing. arXiv:2111.09543.
@misc{he2021debertav3,
title = {{DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing}},
author = {Pengcheng He, Jianfeng Gao and Weizhu Chen},
year = {2021},
doi = {10.48550/arxiv.2111.09543},
eprint = {2111.09543},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2111.09543}
}References
- Roy Bar-Haim, Ido Dagan, Bill Dolan, Lisa Ferro, and Danilo Giampiccolo. The second PASCAL recognising textual entailment challenge. In Proceedings of the Second PASCAL Challenges Workshop on Recognising Textual Entailment, 01 2006. OpenAlex ↗ · Scholar ↗
- Luisa Bentivogli, Ido Dagan, Hoa Trang Dang, Danilo Giampiccolo, and Bernardo Magnini. The fifth pascal recognizing textual entailment challenge. In In Proc Text Analysis Conference (TAC’09, 2009. OpenAlex ↗ · Scholar ↗
- Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. arXiv preprint arXiv:2005.14165, 2020. our card
- Daniel Cer, Mona Diab, Eneko Agirre, Inigo Lopez-Gazpio, and Lucia Specia. Semeval-2017 task 1: Semantic textual similarity-multilingual and cross-lingual focused evaluation. arXiv preprint arXiv:1708.00055, 2017. OpenAlex ↗ · Scholar ↗
- Zewen Chi, Shaohan Huang, Li Dong, Shuming Ma, Saksham Singhal, Payal Bajaj, Xia Song, and Furu Wei. Xlm-e: Cross-lingual language model pre-training via electra. arXiv preprint arXiv:2106.16138, 2021. our card
- Kevin Clark, Minh-Thang Luong, Quoc V. Le, and Christopher D. Manning. ELECTRA: Pre-training text encoders as discriminators rather than generators. In ICLR, 2020. OpenAlex ↗ · Scholar ↗
- Alexis Conneau, Ruty Rinott, Guillaume Lample, Adina Williams, Samuel Bowman, Holger Schwenk, and Veselin Stoyanov. Xnli: Evaluating cross-lingual sentence representations. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2475–2485, 2018. OpenAlex ↗ · Scholar ↗
- Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Édouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 8440–8451, 2020. our card
- Ido Dagan, Oren Glickman, and Bernardo Magnini. The pascal recognising textual entailment challenge. In Proceedings of the First International Conference on Machine Learning Challenges: Evaluating Predictive Uncertainty Visual Object Classification, and Recognizing Textual Entailment, MLCW'05, Berlin, Heidelberg, 2006. OpenAlex ↗ · Scholar ↗
- Zihang Dai, Zhilin Yang, Yiming Yang, Jaime G Carbonell, Quoc Le, and Ruslan Salakhutdinov. Transformer-xl: Attentive language models beyond a fixed-length context. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 2978–2988, 2019. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, 2019. our card
- William B Dolan and Chris Brockett. Automatically constructing a corpus of sentential paraphrases. In Proceedings of the Third International Workshop on Paraphrasing (IWP2005), 2005. our card
- William Fedus, Barret Zoph, and Noam Shazeer. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. arXiv preprint arXiv:2101.03961, 2021. OpenAlex ↗ · Scholar ↗
- Zhangyin Feng, Daya Guo, Duyu Tang, Nan Duan, Xiaocheng Feng, Ming Gong, Linjun Shou, Bing Qin, Ting Liu, Daxin Jiang, et al. Codebert: A pre-trained model for programming and natural languages. arXiv preprint arXiv:2002.08155, 2020. our card
- Danilo Giampiccolo, Bernardo Magnini, Ido Dagan, and Bill Dolan. The third PASCAL recognizing textual entailment challenge. In Proceedings of the ACL-PASCAL Workshop on Textual Entailment and Paraphrasing, pp. 1–9, Prague, June 2007. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/W07-1401. our card
- Raia Hadsell, Dushyant Rao, Andrei A Rusu, and Razvan Pascanu. Embracing change: Continual learning in deep neural networks. Trends in Cognitive Sciences, 240 (12):0 1028–1040, 2020. OpenAlex ↗ · Scholar ↗
- Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. Deberta: Decoding-enhanced bert with disentangled attention. In International Conference on Learning Representations, 2020. our card
- Cheng-Zhi Anna Huang, Ashish Vaswani, Jakob Uszkoreit, Ian Simon, Curtis Hawthorne, Noam Shazeer, Andrew M Dai, Matthew D Hoffman, Monica Dinculescu, and Douglas Eck. Music transformer: Generating music with long-term structure. 2018. OpenAlex ↗ · Scholar ↗
- Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen, Linlin Li, Fang Wang, and Qun Liu. Tinybert: Distilling bert for natural language understanding. arXiv preprint arXiv:1909.10351, 2019. our card
- Kamal Raj Kanakarajan, Bhuvana Kundumani, and Malaikannan Sankarasubbu. Small-bench nlp: Benchmark for small single gpu trained models in natural language processing. ArXiv, abs/2109.10847, 2021. OpenAlex ↗ · Scholar ↗
- Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- Taku Kudo. Subword regularization: Improving neural network translation models with multiple subword candidates. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 66–75, 2018. our card
- Guokun Lai, Qizhe Xie, Hanxiao Liu, Yiming Yang, and Eduard Hovy. Race: Large-scale reading comprehension dataset from examinations. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 785–794, 2017. OpenAlex ↗ · Scholar ↗
- Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. Albert: A lite bert for self-supervised learning of language representations. In International Conference on Learning Representations, 2019. our card
- Hector Levesque, Ernest Davis, and Leora Morgenstern. The winograd schema challenge. In Thirteenth International Conference on the Principles of Knowledge Representation and Reasoning, 2012. OpenAlex ↗ · Scholar ↗
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. our card
- Ilya Loshchilov and Frank Hutter. Fixing weight decay regularization in adam. 2018. OpenAlex ↗ · Scholar ↗
- Yu Meng, Chenyan Xiong, Payal Bajaj, Saurabh Tiwary, Paul Bennett, Jiawei Han, and Xia Song. Coco-lm: Correcting and contrasting text sequences for language model pretraining. arXiv preprint arXiv:2102.08473, 2021. our card
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI Blog, 10 (8), 2019. OpenAlex ↗ · Scholar ↗
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 210 (140):0 1–67, 2020. URL http://jmlr.org/papers/v21/20-074.html. our card
- Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. SQuAD: 100,000+ questions for machine comprehension of text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, November 2016. our card
- Pranav Rajpurkar, Robin Jia, and Percy Liang. Know what you don’t know: Unanswerable questions for squad. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 784–789, 2018. our card
- Erik Tjong Kim Sang and Fien De Meulder. Introduction to the conll-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, pp. 142–147, 2003. our card
- Rico Sennrich, Barry Haddow, and Alexandra Birch. 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), pp. 1715–1725, Berlin, Germany, August 2016. Association for Computational Linguistics. . URL https://aclanthology.org/P16-1162. our card
- Peter Shaw, Jakob Uszkoreit, and Ashish Vaswani. Self-attention with relative position representations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pp. 464–468, 2018. our card
- Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan Catanzaro. Megatron-lm: Training multi-billion parameter language models using gpu model parallelism. arXiv preprint arXiv:1909.08053, 2019. OpenAlex ↗ · Scholar ↗
- Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing, pp. 1631–1642, 2013. our card
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017. our card
- Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman. Superglue: A stickier benchmark for general-purpose language understanding systems. In Advances in neural information processing systems, pp. 3266–3280, 2019a. our card
- Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman. Glue: A multi-task benchmark and analysis platform for natural language understanding. In 7th International Conference on Learning Representations, ICLR 2019, 2019b. our card
- Wenhui Wang, Hangbo Bao, Shaohan Huang, Li Dong, and Furu Wei. Minilmv2: Multi-head self-attention relation distillation for compressing pretrained transformers. arXiv preprint arXiv:2012.15828, 2020a. our card
- Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. Minilm: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. arXiv preprint arXiv:2002.10957, 2020b. our card
- Alex Warstadt, Amanpreet Singh, and Samuel R Bowman. Neural network acceptability judgments. arXiv preprint arXiv:1805.12471, 2018. OpenAlex ↗ · Scholar ↗
- Adina Williams, Nikita Nangia, and Samuel Bowman. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 1112–1122. Association for Computational Linguistics, 2018. URL http://aclweb.org/anthology/N18-1101. our card
- Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. mt5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 483–498, 2021. our card
- Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. In Advances in neural information processing systems, pp. 5754–5764, 2019. our card
- Rowan Zellers, Yonatan Bisk, Roy Schwartz, and Yejin Choi. Swag: A large-scale adversarial dataset for grounded commonsense inference. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 93–104, 2018. our card
- Sheng Zhang, Xiaodong Liu, Jingjing Liu, Jianfeng Gao, Kevin Duh, and Benjamin Van Durme. ReCoRD: Bridging the gap between human and machine commonsense reading comprehension. arXiv preprint 1810.12885, 2018. our card
- Yukun Zhu, Ryan Kiros, Rich Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In Proceedings of the IEEE international conference on computer vision, pp. 19–27, 2015. our card
This page in Markdown https://md.research.elamur.ai/free/en/papers/he-2021-debertav3-improving-deberta-using-electra/