Elamur Research

DeBERTa: Decoding-enhanced BERT with Disentangled Attention

Paper · 2020 · Pengcheng He, Xiaodong Liu, Jianfeng Gao et al.

Summary

When a word is missing from a sentence, the words around it offer clues. Their order matters as much as their identity. A nearby modifier can describe the missing word, while the same modifier farther away may describe something else. A Transformer needs an explicit way to bring that distinction into its comparisons. BERT adds a vector for each token’s place in the sequence to the vector for its identity. DeBERTa gives position its own role in attention. A score combines a comparison of the tokens’ contents with separate comparisons that relate their signed distance to the content of each token.

The authors keep the fill-in-the-blank exercise used to pre-train BERT. The encoder gathers evidence using content and relative offsets. When the system has to recover a missing token, an enhanced mask decoder gives it the token’s absolute position as an extra cue. This arrangement lets the encoder describe neighboring tokens in the same way wherever they occur, while the decoder can use the location of the particular blank it is trying to fill. The paper also proposes a fine-tuning procedure that normalizes token embeddings before perturbing them and encourages the resulting task predictions to remain stable.

The ordinary large version uses about half the pretraining data of RoBERTa-Large. DeBERTa records 91.1% development accuracy on MNLI, 90.7% development F1 on SQuAD v2.0, and 86.8% development accuracy on RACE. RoBERTa-Large scores 90.2%, 88.4%, and 83.2% on those respective comparisons. A separate Wikitext-103 experiment reports lower perplexity, from 21.6 to 19.5. Under a shared pretraining recipe for the smaller architecture, removing the decoder enhancement or either of the two content–position interactions also lowers downstream scores. These results give the authors evidence for the design choices alongside the comparisons between complete training recipes.

The scaled system has 48 Transformer layers and 1.5 billion parameters. On the SuperGLUE test macro-average, a single DeBERTa scores 89.9 against a human baseline of 89.8. The authors identify it as the first single system to cross that benchmark average. The January 6, 2021 leaderboard snapshot puts the DeBERTa ensemble first with 90.3. The advantage concerns performance across the benchmark’s specified tasks. The authors point to applying familiar skills to unfamiliar tasks with little instruction as a separate challenge. They released the pretrained weights and source code through GitHub, with implementations and weights available through Hugging Face Transformers.

Deep dive: DeBERTa: Decoding-enhanced BERT with Disentangled Attention

DeBERTa changes how Transformers use word order by scoring relative positions in attention and adding absolute positions during masked prediction. · about 76 minutes to read

The problem and its context

What self-attention knows about order

Consider the phrase “the red bicycle.” The placement of “red” gives a reader a strong cue about what it describes. Put the same words in a longer passage and place “red” beside a different noun, and the likely relationship changes. An attention mechanism can learn to respond to such cases if its score has access to the arrangement of the tokens. DeBERTa asks how to supply that information when attention compares two positions, and how much of it the system should carry from the beginning of the network.

The paper begins from the different ways recurrent networks and Transformers process a sequence. A recurrent network goes through the input in order, making each successive state depend on earlier computation. In the original Transformer, positions in a layer can make their comparisons in parallel. Each position supplies a query, which is a vector used to look for useful information. Possible sources supply keys for the query to compare with and values that can be incorporated into the result. The authors identify this parallel structure as important for training on large collections of text.

A Transformer block uses multiple attention heads. Each head forms its own comparisons, so the block has several ways to collect information from the same input. A feed-forward network then transforms the representation at each position. In a stack of blocks, a token enters one block carrying evidence assembled by the blocks below it. A noun’s state might already reflect the words that modify it when a later block compares that state with the representation of a verb. Order can have cumulative effects once the first attention operations know how to use it.

The score in ordinary self-attention starts with a dot product. This operation multiplies corresponding coordinates of two vectors and adds the products. Its inputs could have come from adjacent slots or from opposite ends of a passage. Information about that distinction has to be supplied through the vectors or through the rule that scores them. BERT gives each input token a vector for its identity and a vector for its slot, adding them before the first block. These vectors are embeddings, learned numerical representations of categories such as token identities or sequence indices. The sum gives subsequent layers access to both cues from the outset.

An absolute position identifies a slot in a sequence. A relative position describes where one token is with respect to another. When an adjective occurs just before a noun, the offset describing their placement is the same at the start of a sentence and near the end. The absolute indices in those two cases differ. Conversely, the noun at a particular slot could have a modifier just before it in one sentence and farther away in another. Giving a score the offset directly brings that difference into the calculation without requiring it to derive the offset from two position embeddings.

The sign of an offset carries a second kind of information. A query can encounter a source immediately before it or immediately after it. Both sources are equally close in an unsigned measure of distance, yet they may play different roles. A network given a signed offset can learn a different use for the preceding and following slots. The authors’ proposal starts from this directed relationship and asks how the distinction can depend on the particular tokens occupying the slots.

What earlier positional schemes supply

Relative position was already available in earlier work. The paper discusses Self-Attention with Relative Position Representations and research on music, and compares its use of relative information with that of XLNet. It cites evidence that relative representations help with understanding and generation. The design question is how to combine a relative representation with the content at the two ends of an attention comparison.

In the paper’s account, some earlier relative attention schemes can be understood as having a content comparison plus a comparison between query content and the location of a candidate source. That positional contribution can vary with the query. A noun looking for modifiers and a verb looking for related words can respond differently to the same offset, because their contents enter the calculation. The offset serves as an input to a learned comparison, so its effect depends on which query is using it.

DeBERTa gives the candidate source a corresponding role. Its contents can affect how the score responds to the direction back to the query. Imagine comparing a noun query with a possible adjective source. One part of the score can express the noun’s preference for gathering information from a position just before it. Another can express the adjective’s use as a source when the query is immediately after it. A separate content comparison can respond to the particular noun and adjective. These are possible uses of the score’s inputs. The training process determines whether the system develops such preferences.

Keeping the endpoints straight is important. The query belongs to the slot whose representation is being updated. The key belongs to a slot that could contribute information to that update. Interchanging the positions reverses the signed displacement and exchanges their roles. The paper uses distinct query and key projections, which are learned transformations of the vectors. It also looks up the position in the direction appropriate to each comparison. The result can favor different information when attention runs from the noun to the adjective and when it runs from the adjective to the noun.

This is the sense in which attention is disentangled. The scoring rule exposes the content comparison and the two positional comparisons as separate calculations. The states they operate on can still contain evidence about order collected in earlier layers. For instance, a token’s state can change after it attends to a nearby verb, and that change can influence the content comparison in the next block. The explicit separation applies to the score’s inputs and operations at each layer.

Why a missing token can benefit from an absolute cue

The paper situates these design choices within pretraining on text followed by adaptation to labeled tasks. BERT and RoBERTa exemplify that workflow, alongside systems such as ALBERT. The pretraining exercise provides many opportunities to learn from text without requiring task-specific labels for that text. With masked language modeling, the original sequence supplies the answers. Selected units are hidden or changed, and the system learns to predict their original identities using the resulting input.

The authors illustrate the value of an absolute position with a sentence about a shop opening beside a mall. The two missing nouns occur after the same modifier. The earlier noun is the sentence’s subject, and the later noun appears in a phrase locating the shop. Their immediate surroundings therefore provide a similar local cue for predicting nouns that have different roles. Knowing where the blanks are gives the prediction stage an additional way to weigh that evidence.

The wider sentence offers cues too. The verb and the preposition stand in different relationships to the two nouns, and an encoder using relative position can gather information about those relationships. The example motivates making an absolute cue available explicitly when the system predicts the missing item. A sequence index can correlate with a grammatical role in a particular construction, while the contextual states provide evidence about the actual words and their relations. The prediction can use both.

BERT’s input addition gives the first layer access to absolute indices and lets the resulting representations carry their influence through the network. DeBERTa instead gives the encoder explicit relative cues for building contextual states and supplies absolute embeddings during masked decoding. Asking which arrangement works better is an empirical question. Earlier injection can affect every round of contextualization, while later injection gives the output stage a distinct source of information about the particular slot under reconstruction. The authors’ conjecture is that delaying this cue gives the encoder a better opportunity to learn relative structure.

The paper also identifies a difficulty at a later stage of training. Virtual adversarial training already sought to improve generalization by making predictions stable when an input representation receives a small, deliberately selected disturbance. For text, the disturbance is applied to vectors. Their norms can vary substantially, so an adjustment of a given size can represent a much larger change for some tokens than for others. The authors associate this variation with instability, especially at large scale. Their proposed remedy addresses the scale of disturbances during adaptation to labeled tasks. The changes to attention and masking address how the pretrained representations are built in the first place.

The method, step by step

From a passage to a masked prediction

The input is a sequence of tokens. An ordinary base or large DeBERTa run uses the byte-pair encoding vocabulary adopted by RoBERTa. This is a form of subword tokenization. Its units can represent complete words or pieces of words. Whenever the attention rule speaks of a distance, it counts positions in the resulting token sequence. A comparison can therefore concern positions within a written word as well as positions spread across a passage.

Each input token starts with a content embedding. When a layer compares two tokens, it reads the difference between their positions and uses that difference to select a vector from a relative table. A pair of tokens elsewhere in the passage can use the same table entry if it has the same signed offset. The scores for the two pairs can still differ because the contents of the tokens take part in the comparison. The shared entry tells the layer about their relative placement, while the token states tell it what is present at each end.

For a given query, the attention calculation produces a score for every candidate source. A softmax turns those scores into weights that sum to a whole over the allowed sources. Those weights determine how much each source’s value contributes to the new state. The rest of the Transformer block transforms the result, and subsequent blocks repeat the process with states that already include earlier context. The decoder at the top can use those contextual states when predicting the chosen tokens and can bring in the absolute positions of the prediction targets.

How DeBERTa reconstructs selected tokens

The steps in order.

How DeBERTa reconstructs selected tokensStep 1: Tokenize text and choose targets for reconstruction1. Tokenize text and choose targets for reconstructionStep 2: Embed the tokens in the corrupted sequence2. Embed the tokens in the corrupted sequenceStep 3: Look up signed distances between token positions3. Look up signed distances between token positionsStep 4: Score content and relative position interactions4. Score content and relative position interactionsStep 5: Combine content values through successive encoder blocks5. Combine content values through successive encoder blocksStep 6: Query contextual states with absolute position6. Query contextual states with absolute positionStep 7: Predict the original token at each target7. Predict the original token at each target

The figure follows the main masked pretraining route. Task adaptation uses the learned contextual states for outputs such as classifying a sentence pair or answering a question. The paper also studies a route to autoregressive prediction, where attention is restricted to available earlier context, and a route to detecting substitutions. The score construction can be understood independently of those choices about the training signal and the positions eligible to contribute.

Which tokens provide the learning signal

The background account of masked language modeling starts by choosing 15% of the token positions at random. In the BERT procedure described in the paper, 10% of those selected positions keep their original input token, and another 10% receive a randomly chosen replacement. The remaining selected positions receive the special mask symbol. The choice of targets determines what the system must predict. The subsequent input corruption determines what evidence it sees when it makes those predictions. A selected location can contribute to the training objective even when the original token is still visible.

maxθ log pθ(X | X̃) = maxθ ∑ᵢ∈𝒞 log pθ(x̃ᵢ = xᵢ | X̃)

The symbol θ represents the trainable parameters, and maxθ means that training seeks parameter values that increase the quantity following it. The function pθ assigns a probability under those parameters, and log takes its logarithm. The original sequence is X, while X̃ is the corrupted sequence available to the system. The vertical bar means “given” in a conditional probability. The sum ∑ᵢ∈𝒞 runs over sequence indices i in the selected set 𝒞. At such an index, xᵢ is the original token. In the probability on the right, the event x̃ᵢ = xᵢ represents successfully predicting that original token at the selected slot. The corrupted input at the slot is already part of X̃. The outer equals sign expresses the paper’s reconstruction objective in terms of the contributions from all selected positions.

The right-hand side makes the practical learning signal concrete. A prediction contributes according to the probability assigned to the correct token, even if that token would be absent from the system’s most likely completions. A low probability yields a poorer objective. This creates pressure to learn useful representations of the rest of the input. The same changes in the encoder can influence many reconstruction decisions since the contextual states are produced by shared computation across the sequence.

The implementation adds a span masking strategy inspired by SpanBERT. These spans can have a size of up to three. Grouping targets in this way sometimes removes neighboring evidence that would still be available with isolated masking. A missing token at the edge of a selected span, for instance, can have an adjacent prediction target on one side. The system can gather information from beyond the span when that nearby evidence is unavailable. This is a change in how the training examples are constructed, alongside the architectural changes that determine how their context is used.

The ordinary attention calculation

The paper uses a single attention head when introducing the equations. This removes the need to keep track of several heads while explaining how one set of scores is made. The input to the head is a matrix of hidden states, with each row representing one token position. A learned projection is a matrix multiplication that prepares those states for a role in the calculation. Queries and keys determine the scores. Values are the representations that the resulting weights combine.

Q = HW_q

Q is the matrix of queries. H is the matrix of input hidden states, with N rows and d columns. The symbol N is the sequence length and d is the hidden dimension in the paper’s single-head notation. The learned query projection is W_q, where q denotes the query role. The matrix has d rows and d columns. Juxtaposition indicates matrix multiplication, and the equals sign defines Q as its result.

K = HW_k

K is the matrix of keys. The H on the right is the same matrix of input states, and W_k is the learned, square key projection. Here the subscript k on W_k means key. Each row of K belongs to the same token position as the corresponding row of H.

V = HW_v

V is the value matrix, obtained by multiplying the input states H by the learned value projection W_v. The subscript v identifies the value role. The projection is square in the paper’s notation, so the resulting value rows have the same width as the input rows.

A = QKᵀ / √d

A is the matrix of scaled pair scores. The queries are in Q and the keys are in K. Superscript ᵀ transposes K, making the product a collection of dot products between query and key rows. The result has N rows and N columns. Division by √d, the square root of the vector dimension, scales the comparisons before they are passed on. The authors emphasize the role of scaling in stable training.

H_o = softmax(A)V

H_o denotes the attention output, with o identifying the output role. The function softmax exponentiates the scores in each query’s row of A and normalizes them over the allowed sources. Multiplication by the value matrix V uses each row of normalized weights to form a weighted combination of the value rows. The operation returns a new vector at each query position. The pair scores describe how sources are weighted, while the output holds the resulting mixtures of information.

In this form, the same hidden states supply all the projected vectors. If a position embedding is added to the input hidden state, the projected queries and keys can reflect that embedding along with content. DeBERTa changes the score calculation to include relative positions through additional operations. The weighted combination still uses content values. As a consequence, an offset can influence a new state by changing the amount of information drawn from a particular source.

The possible terms in a disentangled score

For the conceptual derivation, imagine that each endpoint of a comparison supplies its content and its position relative to the other endpoint. A query can be compared with a key in each combination of those roles. The paper first lays out the full expansion, then selects the terms to implement.

Aᵢⱼ = HᵢHⱼᵀ + HᵢPⱼ₍ᵢ₎ᵀ + Pᵢ₍ⱼ₎Hⱼᵀ + Pᵢ₍ⱼ₎Pⱼ₍ᵢ₎ᵀ

The indices i and j identify the query and key positions. In this conceptual formula, Aᵢⱼ is the score for that ordered pair, and Hᵢ and Hⱼ are its content vectors. Pᵢ₍ⱼ₎ denotes the position vector for i relative to j, and Pⱼ₍ᵢ₎ denotes the position vector for j relative to i. The parenthesized index identifies the reference position. The transpose marker ᵀ turns a row vector into a column for the dot product. Each product yields a scalar, and the plus signs combine the scalar contributions.

The first product compares the two contents. The next asks how the query content scores the relative position of the key. The following product asks how the key content scores the position of the query. Those two content–position terms both depend on the offset, but they give different endpoints a say in how it matters. The last product would compare the positional vectors to each other. The authors omit it in the implemented score, reasoning that both position vectors come from the same relative displacement and that their comparison would supply little extra information.

Consider holding the query state and the offset fixed across two hypothetical inputs. Changing the key state can affect the content comparison and the comparison that uses key content with relative query position. The query-content comparison with the relative key remains fixed. Conversely, changing only the query state can affect its positional preference while leaving the key-conditioned positional contribution fixed. This is a property of the scoring rule at a layer. It explains what the added interactions allow the network to express before any particular linguistic behavior is learned.

The position-only term would have had a different property. Once the displacement was fixed, both of its vectors would be fixed independently of the current token states. The content–position terms instead allow the score associated with an offset to change with the state at one of the endpoints. At zero displacement, for example, the query and key refer to the same slot. The positional row is shared across such comparisons, while their projected content can still make the positional terms differ from one token to the next.

How the signed lookup works

The encoder uses a finite table for relative positions. Nearby positions have entries according to signed offset. Once the distance reaches the clipping boundary, pairs continue to receive a valid index even as they move farther apart. This supplies a direction-sensitive description with a bounded number of rows.

δ(i,j) = ⎧ 0          if i − j ≤ −k
         ⎨ 2k − 1     if i − j ≥ k
         ⎩ i − j + k  otherwise

The function δ(i,j) maps the ordered positions i and j to an index. The signed difference is i − j. In this formula, k is the distance bound. The first case applies when the difference is less than or equal to −k, and it gives index 0. The second applies when the difference is greater than or equal to k, and it gives index 2k − 1. The constants 2 and 1 in that expression place the result at the last valid row of a table with 2k rows indexed from 0. In the middle case, addition of k shifts the signed difference into the index range. The brace groups the cases, of which only the applicable one supplies the result.

The authors set k to 512 for pretraining. Swapping the arguments to the function changes which position is the reference, so the signed difference changes direction. The clipping rule can make several displacements share an index near the edge. That has a specific effect on the information available to the score. Two very distant sources on the same side may have the same position entry, while their content vectors and contextual histories still distinguish them.

The lookup function assigns indices using the slots of the tokens. It never needs to recognize a word or construction to find an entry. The embedding stored at an entry is learned. Through training, it can become useful for a range of comparisons that occur at that offset. Sharing an entry for the same signed displacement also lets examples at different absolute positions contribute to learning the same relative representation.

Projecting content and relative position

The implemented score uses the hidden states of the current layer and a separate relative embedding table. The hidden states supply content queries, keys, and values. The table supplies relative queries and keys. The original construction learns both kinds of projection, and the scaled version modifies which weights are shared. The table of relative embeddings itself is shared across the encoder layers.

Q_c = HW_q,c

Q_c contains the projected content queries, with c denoting content. The input H holds the layer’s token states. The learned matrix W_q,c projects those states for the query role indicated by q. Matrix multiplication prepares each row of H for use as a content query.

K_c = HW_k,c

K_c is the matrix of content keys. The same input matrix H is multiplied by W_k,c, the learned content projection for the key role. Each row in K_c corresponds to a token in the sequence.

V_c = HW_v,c

V_c contains the content values. H supplies the input states, and W_v,c projects them for the value role indicated by v. In the paper’s single-head description, all three content projections have d rows and d columns, where d is the hidden dimension.

Q_r = PW_q,r

Q_r is the matrix of relative queries, with r identifying relative position. The input P is the learned position table. It has 2k rows for the allowed offsets and d columns for the coordinates of each embedding. W_q,r is the relative query projection, which has d rows and d columns. The row for a specific offset in Q_r comes from the corresponding row of P.

K_r = PW_k,r

K_r is the matrix of relative keys. P supplies the same position embeddings, and the square matrix W_k,r projects them for the key role. The projected table again has one row per allowed position index. The underlying P rows are used throughout the encoder during a forward pass. The projections determine how a given layer uses them.

Ãᵢⱼ = Q_c[i]K_c[j]ᵀ
      + Q_c[i]K_r[δ(i,j)]ᵀ
      + K_c[j]Q_r[δ(j,i)]ᵀ

Ãᵢⱼ is the unscaled score at query slot i and key slot j. Square brackets select rows of the named matrices. Q_c[i] is the content query and K_c[j] is the content key. K_r[δ(i,j)] selects the relative key using the signed lookup with i first. Q_r[δ(j,i)] selects the relative query with j first. The superscript ᵀ marks the row transposed for the dot product. Addition combines the content-to-content product, the content-to-position product, and the position-to-content product, in that order.

The last product can be written with its two vectors in either order because a scalar dot product is symmetric in its arguments. The reversed lookup is still essential. It makes the positional input to the last term the displacement oriented from the key’s side of the comparison. Reading the equation this way also explains why both terms can be computed with the same table of signed offsets. The scores obtain the desired orientation by selecting the appropriate index and projection.

H_o = softmax(Ã / √(3d))V_c

H_o is the output of the attention head, and à is the matrix of unscaled scores. The slash divides by √(3d), the square root of the product of the hidden dimension d and the number of score terms, 3. The row-wise softmax converts the scaled scores into weights. Multiplication by V_c, the projected content values, uses those weights to form the output. The authors consider the scaling important to stable optimization, particularly in large systems.

The sum enters the normalization as one score per source. A large contribution from one positional term can be offset by the content term or by the other positional term. A high score can also receive a modest weight if there are several strong competitors in the row. The named terms give a precise decomposition of the score before normalization. The final state depends on the scores for the entire query and on the content values present at the candidate sources.

Computing with a table rather than a vector for every pair

A straightforward implementation could put a copy of the appropriate projected relative vector at every pair of token positions. The paper avoids that allocation by using the fact that all pairs select from the same bounded set of rows. It computes dot products of token vectors against the possible relative rows and then gathers the resulting scalar scores. This puts the vector arithmetic into matrix multiplication and leaves an indexing operation to associate the scores with individual pairs.

δ_table[i,j] = δ(i,j)

δ_table names the matrix that holds the relative indices, corresponding to the paper’s matrix of δ values. Its row i and column j identify a pair of token slots, and the function δ(i,j) supplies the integer stored there. That integer is determined by the clipping rule. The same index matrix can serve the two positional calculations by looking up the pair in the direction each one requires.

B = Q_cK_rᵀ

B names the intermediate array of content-query scores against relative keys. Q_c contains the query states, K_r stores each projected relative key, and ᵀ transposes the relative key matrix for multiplication. A row of B contains the scores for one token query against all available relative keys. The system can read the score for query i and key j from query row i at the column selected by δ(i,j).

C = K_cQ_rᵀ

C names the corresponding array of content-key scores against relative queries. K_c contains content keys and Q_r contains projected relative queries. Transposing Q_r, as indicated by ᵀ, lets the product compare each token key with each relative query. The pair at query i and key j uses row j and column δ(j,i) in this array. That row can contribute to many pair scores involving the same content key.

The appendix distinguishes the storage needed for a full collection of pair-specific relative vectors from the storage needed for the projected tables. The former grows as O(N²d). The latter grows as O(kd). Here O describes order of growth, N counts sequence positions, d is the vector width, and k determines the number of relative entries. The reduction applies to storage of the relative vectors themselves. The gathered scores are still indexed by query and key, and the dot products against the relative tables also produce intermediate arrays.

The additional position-related computation is reported as O(Nkd), using the same sequence length, distance bound, and width. The authors estimate that the attention changes add 30% in computational cost compared with BERT or RoBERTa. They put the increase relative to XLNet at about 15%. They also identify fusing the attention operations in a computation kernel as a way to reduce overhead. These costs and the storage saving describe different parts of the implementation, which can improve one resource measure while increasing another.

The paper accounts for the added parameters in the form with distinct content and relative projections.

Δ = 2L × d² + 2k × d

Δ denotes the number of additional parameters. L is the number of Transformer layers, d is the hidden width, and k is the clipping bound. The symbol × means multiplication, and d² counts the entries of a square projection. The first term counts the two extra projections per layer, for relative queries and relative keys. The second counts the entries in the shared relative table, which has 2k rows. The plus sign combines the two contributions.

The appendix puts the addition at 13% for the ordinary large version, or about 49M parameters. For the base version it gives 14M additional parameters and reports a 12% increase. These counts describe the untied architecture. Tying the projections used for a relative vector and its content counterpart removes the need for separate matrices in those roles. The vectors fed into them still come from their respective sources.

How the masked decoder uses a particular slot

The encoder’s outputs provide contextual information for the whole corrupted input. The enhanced mask decoder has a more specific job at each supervised slot. It must produce a representation from which the vocabulary head can predict the missing original token. The authors give the decoder the slot’s absolute position and let it use that position to query the contextual states. The softmax over vocabulary candidates comes after this operation. It answers a different question from the attention softmax, which weights possible sources of contextual information.

In the decoder description, H is the contextual input supplied by the preceding Transformer stack. It provides keys and values. The separate input I supplies the query side. For the first decoder operation, the authors choose the absolute position embedding as I. A prediction for an early blank and a prediction for a later blank can thus start from different query inputs even when their immediate neighboring words appear similar. Each query can gather information from the contextual memory available for the sequence.

The paper uses n for the number of decoder layers. The first layer’s output provides the query-side input to the next. The context from the encoder continues to provide keys and values, as depicted in the architecture drawing. This permits a later decoder query to build on information retrieved by an earlier one. The experiments use n = 2 and share the learned weights between the decoder layers. The operations can produce different outputs with the same weights because the query input changes.

(I, n) = (H, 1)

I is the decoder’s query input, n is its number of layers, and H is the contextual input. The ordered pairs group the choices for the input and depth. The equals sign specifies using H as the query input and 1 as the decoder depth. In the authors’ comparison, that special case gives the BERT-style decoding layer. The enhanced decoder generalizes this arrangement by allowing a different input to start the query process and allowing the query to be updated in successive decoder layers.

Only positions selected for reconstruction require the extra masked decoding work. The entire input can supply evidence through the encoder, so the portion supplying contextual memory and the portion receiving a vocabulary prediction have different sizes. Under the appendix’s assumptions about the fraction selected and the decoder depth, the authors express the additional work relative to the Transformer stack as follows.

0.15 × 2 / L

0.15 is the selected fraction in this estimate, 2 is the number of decoder layers, and L counts the main Transformer layers. The multiplication sign combines the fraction of positions with the decoder depth, and the slash divides by the encoder depth. The appendix reports the additional decoder cost as 3% for the base setting and 2% for the large setting. The estimate concerns masked decoding. The relative attention terms inside the encoder have their own costs.

The ability to choose I separately gives the decoder a wider possible use than feeding it an index. The paper’s tested arrangement chooses the absolute position because it gives the prediction a cue about which slot the system is trying to recover. The authors leave further uses of the query input open. In the experiments, the main role of the decoder is to create a learning signal for the representations that will later be adapted to tasks.

The training data and task adaptation

The ordinary pretraining corpus combines English Wikipedia, BookCorpus, OpenWebText, and Stories. The paper gives 12GB for the Wikipedia dump and 6GB for BookCorpus. It lists 38GB for OpenWebText, which it describes in connection with public Reddit content, and 31GB for Stories, drawn from Common Crawl. Deduplication gives a corpus of about 78GB. The authors sample 5% of the training data as a validation set for monitoring pretraining. This validation sample concerns learning from text, while the downstream development splits concern performance after adaptation to each task.

The implementation uses dynamic batching following RoBERTa. It trains with Adam and weight decay. The ordinary large architecture has 24 layers with hidden size 1024. The authors use a batch size of 2K and train for 1M steps. They report roughly 20 days on 6 DGX-2 machines equipped with 96 V100 GPUs. The time and hardware describe their run, while the batch size and step count describe the schedule for showing training examples and updating parameters.

The ordinary base architecture follows the BERT base dimensions, with 12 layers, hidden width 768, and 12 attention heads. It learns from the same corpus as the ordinary large architecture. The authors give it 1M steps with a batch size of 2048 and report 10 days on 4 DGX-2 machines using 64 V100 GPUs. A further base-sized setup uses a different corpus and batch for controlled analysis. Thus the word “base” identifies an architectural size, with specific training conditions needed to identify the resulting checkpoint.

For each labeled task, the authors search over fine-tuning hyper-parameters and select a setting using the task’s development split. On a DGX-2 node, each run of this search lasts approximately one to two hours. They use Adam for fine-tuning as well as pretraining. They report trying RAdam and observing better or more robust behavior in some settings, including RTE, RACE, and CoLA. They choose Adam for the reported comparisons. The code draws on Hugging Face Transformers, FairSeq, and Megatron-LM.

Normalizing before a perturbation

Scale-invariant fine-tuning, or SiFT, addresses how stable a task prediction is around a training example. Virtual adversarial training compares the predicted distribution for an input with the distribution for a slightly perturbed representation of that input. It encourages the predictions to agree. A training sentence can keep the same tokens while the representations entering the network receive deliberate changes. The consistency requirement acts alongside the task’s supervised learning signal.

The original size of an embedding affects what a given perturbation means in relation to it. If the embedding is small, a fixed displacement can be large relative to its norm. The same displacement can be modest for an embedding with a large norm. The authors describe this variation as a source of instability, with greater variation in the large-scale systems they discuss. Their proposal, inspired by layer normalization, normalizes the embeddings before applying the perturbation. It puts the disturbance on the scale of the normalized representations.

The method changes how training encourages robustness during task adaptation. It works with the same attention architecture and can influence the learned prediction behavior without changing the inference task’s labels or outputs. The paper identifies the 1.5B system on SuperGLUE as the setting in which it applies SiFT in its main experiments. The headline score for that system therefore reflects its adaptation procedure in addition to its pretraining and architectural changes.

Changes for the scaled system and alternate objectives

The system the paper calls DeBERTa 1.5B distributes its layers across a stack of depth 48. Hidden states have width 1,536, and each layer uses 24 attention heads. The authors pre-train on a corpus amounting to 160G and build a vocabulary of size 128K from it. The scaled system also shares the corresponding projections for content and relative position inside each attention layer.

(W_q,r, W_k,r) = (W_q,c, W_k,c)

W_q,r and W_k,r are the relative query and key projections, as indicated by r. The right-hand matrices, W_q,c and W_k,c, are the matching content projections, indicated by c. The ordered pairs specify which roles share weights, with query q matched to query and key k to key. Equality means that each corresponding pair uses the same learned matrix. A content input is still a token state and a relative input is still a row from the position table. The attention score retains the same kinds of interactions even with the tied projections.

The authors add a convolution alongside the first Transformer layer. A convolution uses weights shared across nearby groups of positions. Here its purpose is to help represent short sequences of sub-word units, or n-grams. The output of the convolution is added to the output of the first Transformer layer before the next layer processes the result. This gives the initial stage a way to combine local sub-word patterns with the contextual representation produced by attention.

For the autoregressive experiment, the authors use a triangular attention mask. They put −∞, meaning negative infinity, in the upper triangular portion. After normalization, the prohibited future positions receive zero weight. The relative scoring rule still determines preferences among eligible context positions. This illustrates the difference between assigning a relative score to a pair and allowing the pair to participate in the attention operation for a particular objective.

DeBERTa-MT uses autoregressive prediction and masked reconstruction together during pretraining, following the paper’s account of UniLM. The first task learns to predict following tokens from earlier context, while the second recovers selected tokens given a corrupted sequence. For this experiment the authors follow the base settings with 200k pretraining steps. They also use DeBERTa-AP, a positional comparison that adds the absolute embedding at the input. Those variants allow the Wikitext-103 study to ask about the training objective and where the positional signal enters.

The appendix studies another kind of supervision called replaced token detection, or RTD, from ELECTRA. A generator supplies substitutions, and a discriminator learns whether a token in the input has been replaced. The prediction concerns the status of a visible token. In masked prediction, the target is the original token’s identity. The DeBERTa-RTD variants use the same 160GB corpus as the 1.5B DeBERTa. They come in small, base, and large settings. The generator has the discriminator’s width and half its depth. The small setting has 6 layers and uses the width of the base RTD configuration. The comparison asks how much downstream performance can be obtained at those sizes with the different supervision.

Experiments and results

Which decisions the benchmarks measure

Most experiments evaluate natural language understanding after adapting the pretrained encoder to a labeled task. Some tasks ask for a category for a sentence or a sentence pair. Others ask for an answer to a question or a set of entity labels in text. The range matters because the downstream predictor has to read out different information from the contextual states in each case. The results measure the quality of the complete fine-tuned system under the benchmark’s output and scoring rules.

The main large comparison includes eight development tasks from GLUE. The appendix describes GLUE as a suite of nine tasks. It includes linguistic acceptability, similarity, sentiment, and inference, among other problems. An acceptability task concerns whether an example is linguistically well formed. Comparing two statements can instead require judging whether one supports the other. The paper uses the breadth of the suite to examine whether differences among encoders persist across several kinds of decisions.

In MNLI, the prediction classifies the relationship between a premise and a hypothesis. Accuracy gives the share of examples assigned the correct category. The main tables distinguish a matched development split and a mismatched one, corresponding to the in-domain and out-of-domain comparison. Those splits allow the authors to ask about performance when the example domain changes while the inference task remains the same.

The question answering experiments include SQuAD v1.1 and SQuAD v2.0. Approximately 500 Wikipedia articles provide the passages, while crowd contributors supply the questions and answers. SQuAD v2.0 includes questions the passage cannot answer. The system therefore has to recognize insufficient support as well as extract answers where possible. Answer F1 gives credit for overlap between a predicted answer and the reference, so the score can reflect partial agreement about the answer’s extent.

RACE uses material from English examinations for middle and high school students in China. The system reads a passage and chooses an answer, and accuracy measures how frequently that choice is correct. The authors also include ReCoRD and SWAG, which bring commonsense inference into the comparison. They describe SWAG as having 113k multiple-choice questions about grounded situations. For named entity recognition, they use CoNLL 2003, an English dataset with 4 entity types. These supplementary tasks let the authors check the encoder with several relationships between input and output, including a choice about a situation and a set of labels within continuous text.

Large DeBERTa against established baselines

The large GLUE comparison includes BERT, RoBERTa, XLNet, and ELECTRA, with ALBERT also appearing among the comparisons. The paper describes representative large configurations of similar structure as having 24 layers and a hidden size of 1024. Structural similarity makes the systems informative benchmark peers. Their pretraining data and schedules differ. DeBERTa uses 78G of pretraining text, while the paper gives 160G for RoBERTa, XLNet, and ELECTRA in this comparison.

The authors also compare the number of training samples processed. For RoBERTa and XLNet the paper gives 500K updates with 8K samples at an update, amounting to four billion training samples. For DeBERTa it reports two billion samples over one million updates, using 2K per update. Corpus size and samples processed capture different aspects of exposure. A corpus measures the material available, while the schedule describes how much is presented during optimization. Both favor the ordinary DeBERTa comparison in the sense that it obtains its reported scores using a smaller collection and fewer sample presentations. It takes more updates under the schedule described.

On the eight GLUE development tasks in the large comparison, the authors report that DeBERTa leads BERT and RoBERTa throughout and XLNet on six tasks. Its average GLUE score also exceeds the results for the large ELECTRA and XLNet systems. Several individual comparisons help explain the average. MRPC concerns paraphrase, RTE concerns entailment, and CoLA concerns acceptability. On MRPC development, the paper reports improvements of 1.1% over XLNet and 1.0% over RoBERTa. It gives 2.4% and 1.7% for RTE, and 1.5% and 2.5% for CoLA, in the same baseline order. These are the improvements as reported for each task’s development score.

The headline comparison for inference gives DeBERTa 91.1% development accuracy on MNLI and RoBERTa-Large 90.2%. On SQuAD v2.0, the corresponding development F1 scores are 90.7% and 88.4%. The higher SQuAD score measures the combined result on the benchmark, which includes answer extraction and recognition that the passage offers no answer. The headline provides an aggregate measure of performance under those requirements.

RoBERTa-Large and DeBERTa on SQuAD v2.0 development F1

DeBERTa scores higher on the reading benchmark that includes unanswerable questions.

RoBERTa-Large and DeBERTa on SQuAD v2.0 development F1RoBERTa-Large: 88.4RoBERTa-Large88.4DeBERTa large (this paper): 90.7DeBERTa large (this paper)90.7
The numbers
System or settingF1 %
RoBERTa-Large88.4
DeBERTa large (this paper)90.7

RACE supplies the largest improvement over RoBERTa-Large among the development results highlighted in the paper’s opening comparison. DeBERTa records 86.8% development accuracy, while RoBERTa-Large records 83.2%. The paper also gives 85.4% for XLNet on RACE. The difference is evidence for performance on reading and selecting an option, complementing the gains on inference labels and answer extraction. Those output formats draw on a common encoder but use its representations to make different decisions.

Large systems on RACE development accuracy

DeBERTa leads the comparison on exam-style reading comprehension.

Large systems on RACE development accuracyRoBERTa-Large: 83.2RoBERTa-Large83.2XLNet large: 85.4XLNet large85.4DeBERTa large (this paper): 86.8DeBERTa large (this paper)86.8
The numbers
System or settingaccuracy %
RoBERTa-Large83.2
XLNet large85.4
DeBERTa large (this paper)86.8

The wider development comparison includes other sizes. The authors treat Megatron336M as a reference of roughly comparable size and also include Megatron1.3B and Megatron3.9B. They describe the datasets used to pre-train the Megatron references as the same as in the RoBERTa comparison. DeBERTa leads the earlier similarly sized systems on all seven tasks in this part of the evaluation, according to the paper. In the available comparisons with Megatron1.3B, it is ahead on three of the four benchmarks. ALBERT xxlarge is another larger reference, with a substantially wider hidden state. Some literature results are unavailable for individual entries, so the comparisons depend on the task scores the authors can place on the same split.

What changes at base size and during pre-training

The base-size experiment tests whether the result persists in a smaller configuration. The comparison covers development results on MNLI and the two SQuAD versions. The ordinary base DeBERTa learns from the 78G corpus, while the authors give 160G as the corpus size for both base reference systems, RoBERTa and XLNet. DeBERTa leads across the reported development comparisons. On MNLI matched, its development accuracy is 88.8%, compared with 87.6% for base RoBERTa and 86.8% for base XLNet. The matched result specifies the in-domain inference condition used for those numbers.

Repeated adaptation runs address the chance that a favorable downstream score came from a particular initialization. The authors use five seeds to rerun task adaptation and report the mean. They also test whether performance differences are statistically significant. Their illustrated comparison of base DeBERTa with base RoBERTa covers MNLI matched and SQuAD v1.1. In that example they report that the advantage meets a significance threshold of 0.05 for the p-value. The random seeds in this procedure concern the step of adapting an existing pretrained checkpoint to a task.

For the analysis at shared training conditions, the authors build a base RoBERTa reference from scratch, called RoBERTa-ReImp. It and the corresponding base DeBERTa learn from Wikipedia and BookCorpus. The analysis recipe uses a batch size of 256 across 1M steps. The reported training time is 7 days on a DGX-2 machine with 16 V-100 GPUs. This is the smaller common recipe used to investigate the architecture and the progress of training. The main base comparison uses the broader corpus and its own schedule.

The convergence study saves intermediate states of the networks. In describing the procedure, the authors say they save a checkpoint every 150K pretraining steps. They adapt these checkpoints to MNLI and SQuAD v2.0 and measure development accuracy and F1, respectively. The curves therefore track what can be achieved after adapting representations acquired at different points in pretraining. That is a more direct measure of usefulness for those tasks than a curve based only on success at recovering masked words.

DeBERTa remains ahead of the retrained RoBERTa on both development curves over the stages the paper compares. The authors also draw reference levels for the original base RoBERTa and XLNet scores. Those final scores put the results in the context of previously trained systems. The two checkpoint trajectories give the closer comparison because they come from the shared analysis recipe. Their ordering is evidence that the DeBERTa representations support stronger transfer at comparable stages of the pretraining schedule. Measuring the time to reach a target score would additionally involve the costs of running the different attention computations.

Probabilities for text and longer inputs for reading

The text generation study applies an autoregressive scoring rule to Wikitext-103. The prediction for the observed continuation uses only the preceding context allowed by the mask. Perplexity reflects how much probability the system assigns to the observed text under that rule. Assigning the observed tokens consistently higher probability leads to lower perplexity. This gives a common scoring rule for comparing the systems’ predictions of held-out text.

RoBERTa serves as the main baseline, with GPT-2 and Transformer-XL included as references. The paper describes the compared systems as base-sized and trained in similar settings. Its headline Wikitext-103 comparison gives perplexity values of 21.6 and 19.5, with the lower value for DeBERTa. The prose states those headline values at the dataset level. In describing the development and test splits, the authors report lower perplexity for base DeBERTa on both and a further improvement from DeBERTa-MT, which combines masked and autoregressive training.

The Wikitext-103 study also addresses the location of the absolute position signal. DeBERTa-AP introduces absolute position in the input, as in RoBERTa. The authors report worse perplexity for this setting than for the DeBERTa version that uses the enhanced decoder. This result gives the placement decision a direct outcome within the probability-prediction experiment. The benefit from joint training addresses the complementary question of whether the architecture can use both reconstruction and autoregressive prediction as supervision.

The authors separately vary how much input is available in RACE and report better results from allowing longer sequences. A reading question can depend on material that a shorter input would omit, and the extended setting gives the system access to more of the passage. The RACE result concerns the input conditions compared by the authors. Their appendix also discusses how far information could travel through layers under a direct-neighborhood interpretation of relative attention.

2(k − 1)

This is the appendix’s count of other positions in a direct neighborhood. In the expression, k is the distance bound, 1 accounts for the query’s own place being counted separately, and 2 accounts for the two directions from the query. The paper includes the query itself as a potential source in addition to these other positions. The count describes a neighborhood under its long-input interpretation. The clipping equation itself assigns valid indices to more distant pairs, so a hard attention neighborhood requires specifying which pairs may contribute in addition to defining the indices.

(2k − 1)l

k is again the distance bound, 2k − 1 is the span per layer in the appendix’s argument, and l is the layer index. Multiplication by l represents the accumulation of indirect access through a stack. For the large configuration with k set to 512 and total depth L of 24, the authors give a theoretical sequence length of 24,528. That figure belongs to the argument about routes through successive layers. The reported empirical observation is the benefit of the longer setting on RACE.

The SuperGLUE test result at scale

The scaled DeBERTa is evaluated on the SuperGLUE test set. The suite contains eight tasks, covering such problems as inference, question answering, coreference resolution, and word sense disambiguation. Coreference tests whether expressions point to the same thing. Sense disambiguation tests how context changes which meaning of a word applies. The suite also includes tasks involving reasoning about alternatives. Its test macro-average combines task scores into the overall measure used for the paper’s leaderboard comparison.

The single DeBERTa 1.5B scores 89.9 on the macro-average. The paper compares that value with 89.8 for the human baseline and 89.3 for T5, a system with 11 billion parameters. All scores in this comparison concern the test set. The distinction matters because the authors also discuss earlier development results and explain that T5’s available test results belong in a comparison on the same evaluation split.

Single systems and the human baseline on the SuperGLUE test macro-average

A single DeBERTa submission scores above T5 and the benchmark human baseline.

Single systems and the human baseline on the SuperGLUE test macro-averageT5: 89.3T589.3Human baseline: 89.8Human baseline89.8DeBERTa 1.5B (this paper): 89.9DeBERTa 1.5B (this paper)89.9
The numbers
System or settingmacro-average score
T589.3
Human baseline89.8
DeBERTa 1.5B (this paper)89.9

The authors date the single-system milestone to December 29, 2020. The ensemble submission reaches 90.3 on the SuperGLUE test macro-average. In the results the authors collected on January 6, 2021, it occupied the top position. An ensemble combines predictions from multiple trained systems, so the single result establishes the authors’ claim about crossing the human average with one system, and the ensemble sets the best score in the reported leaderboard snapshot.

The scaled SuperGLUE result comes from the configuration trained on 160G, with the larger vocabulary, tied projections, the convolution, and the reported task adaptation procedure. The ordinary large comparison achieves its development results with the smaller corpus and a different configuration. Together, the experiments establish what DeBERTa achieved at several sizes and training settings. The T5 comparison shows the stated SuperGLUE test score at 1.5 billion parameters. The paper also uses the smaller parameter count to discuss the resources involved in maintaining and deploying the system.

The results from detecting replacements

The RTD variants are evaluated on MNLI and SQuAD v2.0. For the large variant, the appendix reports a 0.9 absolute improvement over the ordinary large DeBERTa on each benchmark. The comparison uses inference accuracy on MNLI and answer F1 on SQuAD v2.0. The paper also describes large DeBERTa-RTD as on par with DeBERTa 1.5B in this evaluation while using 1/3 of its parameters. The smaller RTD variant exceeds BERT large in the authors’ comparison as well.

This result adds a different kind of efficiency evidence to the paper’s comparisons. The ordinary DeBERTa runs show what can be achieved with the relative score, masked decoder, and specified pretraining corpus. The RTD runs show that changing the training signal can yield comparable scores to the largest masked version on the tasks tested, using a smaller trained system for those predictions. The generator that supplies replacements is part of the pretraining procedure, so the reported parameter comparison describes the size needed to obtain the downstream results.

What the ablations show

A baseline the authors can train again

An ablation asks what a system learns when a part of its design is removed before training. For DeBERTa, that timing is important. The mask decoder affects the predictions from which the encoder learns, and the positional terms affect the context available to it at every layer. Taking one of those parts away changes the conditions under which the other parts develop. The resulting benchmark score reflects both the loss of a component and whatever the rest of the network learns to do with the means still available to it.

The authors use the common base-size recipe for these comparisons. That choice gives them a reference they can reproduce from scratch, inspect during training, and compare with their modifications under the same data and schedule. The RoBERTa reimplementation is an important control. A score from the published RoBERTa is useful when comparing finished systems, but it comes from a different training history. By training their own version, the authors can compare learning trajectories and check whether their experimental setup gives RoBERTa a plausible result in the first place.

They report that RoBERTa-ReImp and the original base RoBERTa behave similarly across the benchmarks in the ablation study. That agreement makes the reimplementation a credible point of reference. A poor reproduction would give little leverage for interpreting an architectural advantage, since a gain could reflect a weakness in the reference run. The authors then use intact DeBERTa as the reference for individual removals. These comparisons serve different purposes. The retrained RoBERTa anchors the comparison to an established design. The intact DeBERTa establishes what performance the reduced versions have to recover.

The three single removals address different questions about the flow of position information. Removing the enhanced mask decoder changes the reconstruction component used during pretraining. Removing content-to-position takes away the direct interaction between the querying token’s content and the relative location of a possible source. Removing position-to-content takes away the interaction between the candidate source’s content and the relative location of the query. The paper also reports removing components in combination. In each case it judges the trained system after it has been adapted to downstream tasks.

That final step gives the tests a wider scope than a comparison of masked prediction alone. A decoder might improve reconstruction by making useful information available at the vocabulary head. Whether that improvement also changes the representations enough to help a reader answer a question is a separate matter. By measuring downstream performance, the paper tests for an effect that persists after the encoder is put to a different use. The same logic applies to the score terms. Their contribution is assessed through the predictions a system can learn to make, rather than the magnitude of their dot products in a finished network.

What changes when the reconstruction decoder is removed

RACE shows the clearest example of the decoder’s downstream contribution in the authors’ numerical discussion. With the enhanced decoder during pretraining, base DeBERTa obtains 71.7% development accuracy. The corresponding variant without the enhancement obtains 70.3%. Each figure measures how frequently the adapted system picks the correct option on the reading benchmark. The intervention takes place during a different exercise, when the pretraining system is trying to recover original tokens. The result connects a change in that earlier exercise to the eventual ability to make the exam-style choice.

For SQuAD v1.1 development, the full version has answer F1 of 92.1%, and the variant without EMD has 91.8%. The SQuAD v2.0 development comparison gives 82.5% with the decoder and 81.3% in the reduced system. The fact that the benchmark versions give different effects is informative. They both ask questions about passages, but v2.0 also includes cases where a question has no supported answer. The reported aggregate cannot tell whether the larger effect there comes from extracting a better span, deciding more frequently that a question is unanswerable, or some combination of the two. It establishes the direction of the effect under the complete scoring rule.

On MNLI matched development, the corresponding accuracies are 86.3% for the intact system and 86.1% for the decoder ablation. On the mismatched development split they are 86.2% and 86.1%. Inference labels are a different kind of output from either a passage span or a multiple-choice answer. The gain in the intact system appears on both inference splits, although it is smaller there than the changes the authors emphasize on RACE and SQuAD v2.0. These are scores from the controlled analysis recipe. Their purpose is to measure a component’s contribution against the matching reference, rather than to reproduce the best scores of the ordinary base or large systems.

The masked decoder can influence what the encoder learns without being the component that chooses an inference label or a reading answer. During pretraining, the encoder and decoder learn together to make a vocabulary prediction. The decoder’s absolute input can affect which contextual states matter to that prediction and how the learning signal reaches them. If the encoder increasingly supplies evidence that the decoder can use at a particular blank, that accommodation can change the contextual vectors carried into fine-tuning. The downstream ablation measures the consequence of training with that arrangement in place.

The authors’ grammatical example helps explain why that arrangement might be useful. Similar immediate neighbors can surround blanks that take different roles within a sentence. The decoder can use the blank’s absolute position to help select from the context assembled by the encoder. On the benchmark, however, a correct answer does not reveal which pretraining situations mattered. A score improvement could reflect benefits spread over many uses of position. Establishing that the system became better at recovering a particular syntactic distinction would require an evaluation where the availability of that distinction could be varied and its effect observed.

The Wikitext-103 comparison with DeBERTa-AP addresses a narrower question about placement. Here the alternative supplies absolute position at the encoder input, and the authors report that it yields worse perplexity than the arrangement with absolute position at decoding. Thus there is evidence for delaying the cue under the generation setup as well as evidence for the enhanced component from the understanding ablation. The interventions have different meanings. One compares the input and decoder placements on probability predictions for text. The other measures downstream transfer after training with or without the enhancement.

Early access to an absolute index can alter attention from the first block onward. That gives every layer the opportunity to use the index, but it also changes the representations from which later layers learn. Delayed access makes the index available to the output computation after the encoder has built context with relative cues. The authors suggest that an early absolute signal may get in the way of learning useful relative information. The placement result is consistent with that account. It does not directly measure how much relative information either encoder acquires, so the reported perplexity ordering and the explanation offered for it have different evidential standing.

The two comparisons also clarify what it means to say that absolute position is useful. The position of a blank gives the decoder a cue that is immediately available when forming a prediction. That cue may be useful in combination with the decoder’s way of querying contextual states. The ablation removes the enhancement as a component and measures the result of the altered learning system. It leaves a finer division of credit among absolute information, the query interface, and the decoder’s repeated computation for a more tightly specified comparison.

Why the two directions of the positional score matter

The positional removals test the paper’s central claim about relative attention. A query-conditioned positional term can associate a useful offset with the kind of token currently gathering information. That term does not directly incorporate the content of the candidate key. The key-conditioned term brings in that content and evaluates the displacement from the other side. Having both permits a layer to learn preferences attached to the seeker and preferences attached to the source. The ordinary content comparison remains active in either reduced version.

For example, a verb looking for context from an earlier noun can learn a positional preference through its query. The preference applies to the offset being scored. Whether a particular noun at that offset is an informative source can also depend on its own contextual state. The position-to-content term offers the noun’s state a direct interaction with the distance and direction back to the verb. Changing the token in the source slot can therefore affect that positional contribution. This describes a dependence the mechanism can learn, without assigning a fixed grammatical job to any individual head.

A removal is useful precisely because contextual states offer other ways for the system to respond to these cases. Even without one direct positional interaction, the content vectors in upper layers result from earlier attention. They may retain clues related to the order of words and to surrounding constructions. The surviving positional term can use its own share of that information too. A reduced architecture can adjust how it handles the task throughout pretraining. The authors report that the adaptations available to it still lead to inferior scores across the ablation benchmarks when either interaction is missing.

The variant names and the displayed attention equation together make the intended interventions intelligible. The descriptions of the variants name the interactions correctly, but their parenthetical references to the lettered terms are exchanged relative to the equation. In the equation, content-to-position uses a content query and a relative key. Position-to-content uses a content key and a relative query, indexed from the opposite endpoint. The labels -C2P and -P2C describe removal of the corresponding named interaction. The paper presents the latter variant as close in spirit to XLNet with the enhanced decoder, since XLNet already uses relative positional bias. That is a comparison of designs. The ablation is still a DeBERTa variant trained within the authors’ common setup.

The tests are stronger evidence for the inclusion of both terms than an inspection of learned weights would be by itself. An individual term can have large values and yet add little to the final decision if the other terms offer much the same distinctions. Conversely, a comparatively modest addition can affect which candidate source ranks above another in cases where the rest of the score is close. Each layer also passes the results of its attention forward, so small alterations can accumulate. Retraining with a term absent tests whether its contribution is recoverable within the rest of the learning system.

Removing components in pairs produces larger declines in the authors’ account. This pattern indicates that the architecture’s remaining parts have less capacity to recover the full system’s performance as more of the design is taken away. It also adds a check against an interpretation in which every individual component could be dispensed with without consequence as long as the others were present. The paper establishes the direction of these combined effects. Whether two components reinforce one another by a particular amount would require the relevant joint and individual comparisons, together with uncertainty about their scores.

The study of the two active position terms leaves the omitted position-to-position term at a different stage of evaluation. The authors’ argument for leaving it out starts from the shared source of its inputs. Both relative vectors are determined by the displacement between the same tokens. A dot product between them could still act as a learned preference for an offset without considering either token’s current content. The paper judges the additional information to be limited. Its removals demonstrate the usefulness of the retained content–position interactions. A trained comparison that added the position-only interaction would address the empirical value of the omitted option.

There is also a distinction between testing which terms exist and testing how each term is parameterized. The base ablations delete interactions from the score. The later sharing experiment preserves the score and reduces the number of separately learned transformations. An improvement from keeping both interactions could coexist with a small or negligible benefit from fitting different projection weights for every role. The appendix uses that possibility as part of the design of the scaled system.

What sharing, scale, and fine-tuning add to the comparison

When the authors tie projections, a content key and a relative key pass through the same learned transformation. The same principle applies to the query projections. The vectors entering those shared matrices still come from different sources. A token state varies with the input and the layer’s previous computations, while a relative vector comes from a row of the shared table. Tying the transformations therefore leaves intact the information from which the system can compute each of the three score contributions.

In the authors’ base-size comparison, projection sharing reduces the parameter burden and retains nearly the same performance. This shows that the earlier benefit from retaining the two positional terms can be compatible with substantially more reuse of weights. The experiment matters to the scale-up because untied positional projections add parameters throughout the stack. It also refines the account of the architecture. The distinct pairings of content and position are central to the proposed score. Fully independent projection matrices are a separate design decision with weaker evidence of a performance benefit in the base comparison.

The appendix describes a progressive experiment that adds the new architectural modifications to a base DeBERTa. The convolution is one of those changes. Near the input, it can give a short group of sub-word units a joint representation before the deeper layers process the combined output. Relative attention can also relate adjacent units, but its comparison depends on the contents at the endpoints and on the offsets being scored. The convolution supplies another kind of computation over local groups. The progressive design assesses additions in the order they are introduced. Each later comparison inherits whatever is already present in its baseline.

That design helps interpret a scale-up that otherwise changes many conditions together. Suppose an improvement comes from the scaled system’s new vocabulary providing a more suitable segmentation of text. A comparison of that system against the ordinary large version would also incorporate changes in depth, width, data, local processing, and adaptation. An incremental base study can narrow the question to a particular architectural addition under a common recipe. It does not make that addition’s effect independent of the rest of the system. A component can contribute differently when there are more layers or a different distribution of input tokens.

The scale comparisons in the appendix report favorable GLUE development results from larger configurations and describe SiFT as consistently helpful in those comparisons. This is separate from the principal application identified in the fine-tuning section, where the authors specify DeBERTa 1.5B on SuperGLUE and defer a fuller SiFT study. The reported benefits support the recipe in the settings the paper discusses. The results for the attention terms come from a more explicit set of removals, with both an intact reference and evidence across several benchmarks about which component changed.

The scale explanation for SiFT involves a specific intervening quantity, the size of token embeddings relative to the disturbance applied to them. Performance after fine-tuning is the end of that chain. Measurements of embedding norms, of sensitivity to perturbation strength, and of variation during adaptation would bear more directly on the explanation. The authors’ performance comparisons address whether the normalized-perturbation recipe helps the trained system. The report of instability motivates normalizing first. Those are compatible claims, with the more comprehensive account of the connection left open by the paper.

What can be learned from intermediate training states

A final checkpoint is a single point at which to compare two pretraining trajectories. Stronger performance there could reflect a difference that arose early, one that opened gradually, or one that appeared close to the end of the schedule. The comparison of saved checkpoints changes the question from which finished system transfers better to how useful each system’s representations are at several points along a common schedule. The authors fine-tune the checkpoints because transfer into a labeled task is the property they want to measure.

For both MNLI and SQuAD v2.0, the DeBERTa trajectory stays above that of RoBERTa-ReImp in the reported comparisons. The results concern inference accuracy and answer F1 on the respective development splits. Seeing the ordering during training gives the architectural comparison more support than seeing it only at the endpoint. It suggests that the advantage in these transfer tasks is present as the representations develop, rather than arising solely from how the final state happens to perform after adaptation.

The original RoBERTa and XLNet base results appear as reference levels in the figure. They tell the reader how the checkpoints compare with familiar finished systems. Their published training procedures differ from the one used to produce the two curves, so the direct comparison of progress is between DeBERTa and RoBERTa-ReImp. The vertical ordering of those trajectories concerns the downstream scores accessible at comparable steps under the shared recipe. It does not directly give a comparison of model quality at the same elapsed time or electricity use.

The trajectories also leave room for the components to contribute differently over time. A mechanism could make useful relative patterns easier to learn early. Another could be more helpful as the network improves at reconstructing tokens in more varied contexts. The intact-system curves estimate the combined outcome. The final component comparisons show which removals hurt performance in the base setup. Reading them together gives evidence about progress and about architectural contribution, while a separate series of curves for the removed components would be needed to connect a particular change to a particular stage of learning.

The method used to measure the trajectories is itself consequential. A checkpoint’s masked prediction ability and its usefulness for choosing a passage answer are different quantities. Adapting a checkpoint to SQuAD v2.0 includes task supervision and the choice of a prediction head. Thus the trajectory gives evidence about what the full transfer procedure can obtain from the checkpoint. It is also possible for two encoder states to perform similarly on one task and diverge on another, which is why the authors examine both a reading task and an inference task. The consistent ordering across the two is more informative than either curve on its own.

What the attention maps illustrate

The paper uses heatmaps from the final self-attention layers to examine where the trained systems allocate weight. A diagonal entry represents a position using its own value. A vertical band forms when many queries assign relatively high weight to the same source slot. The visual patterns therefore describe different types of routing. The diagonal concerns repeated decisions about self-attention at each position. A column concerns the many decisions in which one position is available to provide context.

The authors call attention to a visible self-attention diagonal in RoBERTa. The corresponding pattern is less prominent in their full DeBERTa examples. In the variant without the enhanced mask decoder, more of the diagonal is visible again. The authors connect this change to the way absolute position enters the decoding process. The comparison is interesting because two systems can receive the same text and form very different weight distributions after training. The figures illustrate a change that accompanies the architectural intervention. They leave open how frequently the same pattern appears elsewhere in the network or in the input distribution.

Some columns that attract attention in the RoBERTa examples correspond, in the authors’ account, to common function words or punctuation. In full DeBERTa, they point to prominent attention focused on the initial classification token, [CLS]. The report illustrates stronger bands elsewhere in reduced variants. The authors suggest that emphasis on the initial token could be desirable because its state frequently serves as the representation of the input for downstream tasks. This is a proposed interpretation of the visible behavior. The examples give a direct reason for raising it, while the score comparisons measure the outcome of the architectural interventions more broadly.

The orientation of the map matters to that interpretation. A bright classification column shows that other positions often use the value at [CLS]. What [CLS] gathers from them is read along its query row. Through stacked layers, information can move in both directions as the states of all the positions change. A map of a final layer depicts the allocation in that particular computation. It leaves the previous construction of the values largely implicit. Connecting the band to the sequence-level prediction would require following those values and the subsequent use of the classification state.

The additional examples allow the reader to see that a broad description such as a weaker diagonal can have different appearances on different inputs. A band can break into patches. Strong columns can appear at different positions. The paper uses these examples to illustrate recurring differences, without reporting a population frequency for any of these visual features. The maps are most useful as concrete instances of changed behavior after learning. An ablation that changes scores on many benchmark examples supplies a different type of evidence from a map that reveals what happened in one attention computation.

A cleaner diagonal or a stronger column also has no fixed meaning for reading performance. A query can benefit from preserving information from its own slot, or from importing evidence from elsewhere, depending on what its value and those other values contain. The same visible concentration could be useful in one context and unhelpful in another. The paper’s images invite a question about routing that the task scores cannot answer by themselves. The task scores, in turn, establish whether an intervention consistently helps the complete prediction procedure under the benchmark. Both observations can hold even when the causal link between a particular stripe and a correct answer remains unknown.

Limitations

Where the authors draw the boundary

The authors explicitly separate the SuperGLUE milestone from the broader ability to use language as humans do. What their single submission achieves is a score above the benchmark’s human macro-average. They single out a different ability in the conclusion. People can take skills acquired on familiar tasks and combine them to address a new task with little demonstration. The authors refer to this as compositional generalization. Learning to perform on the set of tasks in a benchmark and learning to assemble familiar procedures into new ones put different demands on a system.

The distinction follows from how the experiments are organized. A pretrained encoder is adapted using examples and objectives particular to a task. It can learn which aspects of its representations matter for that task’s outputs. There is meaningful transfer from text pretraining into this supervised setting. To evaluate the kind of generalization envisaged in the conclusion, the test would need to place the novelty in the task or in the combination of skills, with much less opportunity to learn its solution individually. The paper treats that problem as future work and suggests investigating more explicit compositional structure, potentially with a role for both neural and symbolic computation.

One architectural possibility that the authors leave open concerns the decoder. Its separate query input can carry information useful for reconstruction. Absolute position is the use tested in their masked setup. An additional source of information could change which context the decoder seeks, and it could also change what the encoder needs to preserve for the decoder. The flexibility of the interface gives the authors a place to study that question. Their empirical findings establish the value of their particular use of the interface under the comparisons they perform.

The authors likewise defer a comprehensive study of SiFT. The method changes the scale at which a perturbation meets a token embedding, and the paper expects this to matter especially when norms vary widely. The main reported use is concentrated on the scaled SuperGLUE setting. The appendix’s favorable summary of the scale comparisons gives further context for the method, but broad predictions about when it will help depend on a more extensive study. The relative scale of the perturbation, the distribution of embedding norms, and the supervision available during adaptation can all affect what the consistency penalty does.

Extremely long input is another research direction the authors identify. They see a potential benefit in how relative positions and successive layers allow context to spread, and they report a benefit from longer input in RACE. The ability to admit more tokens in a reading experiment and the ability to use evidence reliably across very long distances pose different questions. Their theoretical discussion gives a basis for considering the latter. The data in the paper give direct evidence for the former in the comparison they run.

What the benchmark comparisons can attribute to the design

The main comparisons use networks whose layer counts and hidden widths make them reasonable peers. They do not all learn from the same examples, take the same number of updates, or use the same attention calculation. A comparison on a shared development split records what those finished training recipes achieve. It cannot hold each recipe choice apart from the others. This is the reason the common base experiments matter to the architectural claim. They constrain several differences at once and then remove components of the proposed design under the resulting conditions.

Those controlled conditions also set a boundary. The smaller analysis corpus and batch size make it practical to train the reimplementation and the variants. The corresponding findings describe a base architecture learning from that corpus at that batch size. An effect could change as the model sees more text, develops richer contextual states, or uses more projection capacity. In particular, evidence that a component helps in the base setup gives a reason to include it in a larger design, but its quantitative contribution to a different training run remains a separate empirical question.

The corpus comparisons need care even when measured only as data comparisons. The reported sizes concern how much text is available for pretraining. The sample counts concern how the optimizer encounters training inputs across updates. One quantity can change while the other is held fixed. For example, a recipe could repeatedly draw from a smaller collection and process many samples, or draw fewer samples from a larger collection. Deduplication, the selection of sources, and the process that forms input sequences can also affect what kinds of evidence are presented. The paper gives a meaningful outcome under the reported recipes. It does not construct a curve that varies only the volume of otherwise equivalent data.

A related point concerns the narrower analysis of progress during pretraining. Saving checkpoints by update count gives comparable stages for the shared analysis schedule. Each update nonetheless includes the operations specific to its architecture. Improvement at a given step can coexist with greater computation in that step. The appendix explicitly identifies costs for the added attention operations. A comparison of time to reach the same downstream score would depend on that cost, the rest of the training workload, and how efficiently each implementation executes on the same resources.

The distinction continues at the largest scale. Several changes are in use for the final SuperGLUE result. Differences in depth, width, training corpus, and vocabulary all matter to what information the network can acquire. Tied projections alter the parameterization of attention, and the added convolution changes the processing of nearby sub-words. SiFT affects task adaptation. The final test score demonstrates the performance of this combination. The component comparisons lend support to individual decisions in their respective setups. They do not assign a fraction of the SuperGLUE result to each of the changes.

The authors also discuss a resource advantage over T5 based on the difference in parameter counts. The count is relevant to storing parameters and is a concrete property of the systems that achieved the benchmark scores. The paper’s wider account, which describes the scaled DeBERTa as easier to maintain and deploy and more economical to train, goes beyond the test comparison itself. Measuring energy, cost, or latency for those activities requires information about their actual operations and hardware. Parameter count gives one input to such a comparison. The paper reports no matched energy or deployment measurements for this pair of SuperGLUE submissions.

Replaced token detection illustrates the same distinction within the DeBERTa family. The comparison establishes that a smaller RTD system attains results comparable to the much larger masked version on the tested inference and reading tasks. The smaller size describes the system capable of making those predictions. During pretraining, the RTD recipe also uses a generator, and the results depend on the stated text collection and schedule. Parameter efficiency for a finished predictor and the resource cost of preparing it are therefore different claims. The tested benchmarks support the first more directly than they support the second.

What aggregate results and random seeds can resolve

The leaderboard result is reported as a macro-average. An average can improve when one constituent score increases enough to compensate for another that is flat or lower. The published comparison establishes that the single DeBERTa submission has the higher aggregate than the human reference. It leaves individual task comparisons to the corresponding scores. This distinction matters especially for a suite that combines different kinds of decisions. Reading an answer, identifying a referent, and judging word meaning in context can contribute to the same average while remaining quite different tests of a predictor.

An ensemble adds another boundary. Predictions from several trained systems can support one another or compensate for individual errors. The paper’s highest reported leaderboard score belongs to such a combined submission. The benchmark milestone about passing the human macro-average with a single system relies on the separate single submission. The historical dates specify when the paper reports those achievements. They give the leaderboard claims a definite context without changing what the scores themselves measure.

Development and test results answer different questions as well. The authors use development splits when choosing task settings. Those scores are informative about the comparison after the models have been tuned with the named procedure, and the base ablations use them to observe changes under that setup. The SuperGLUE evaluation uses a test score from the benchmark server. The authors observe this distinction when deciding which T5 results are comparable. It also matters when using the ablations to interpret SuperGLUE. Evidence about a decoder removal after development tuning and evidence about the final submission on the server are tied to distinct conditions and comparisons.

Repeated fine-tuning addresses one source of uncertainty in these results. Starting from the same kind of pretrained checkpoint, task adaptation can yield different scores under different random initializations. The authors run the adaptation repeatedly, average its outcomes, and report a significance comparison for the base DeBERTa and RoBERTa example. That procedure helps distinguish a systematic advantage in the tested comparison from an especially favorable adaptation run. It addresses variability introduced after pretraining. Variability across complete pretraining runs, or across choices of training corpus, would require changing those earlier conditions too.

The significance example also has a particular scope. It concerns the stated base comparison on MNLI matched and SQuAD v1.1. A component removal, a longer-input comparison, and a leaderboard result are different comparisons, with their own sources of variation. The paper’s numerical account of the ablations is clearest about the direction and size of the highlighted decoder changes. Judging the precision of each small drop or comparing the drop from one positional term with that from another would require uncertainties for the matching runs. The consistent direction across tasks is evidence about the component’s usefulness, while the precision of individual differences remains a narrower question.

Accuracy and F1 also combine cases that may be quite different in difficulty and structure. A change in inference accuracy can arise from better predictions in only part of the input distribution. An improvement on SQuAD v2.0 could change span extraction, abstention, or both. Aggregate RACE accuracy may respond to changes in handling the passage or in distinguishing plausible answer choices. None of those mechanisms can be read directly from the task average. A claim about the types of examples that account for a gain would need performance broken down by properties of those examples.

The matched and mismatched MNLI splits give a way to ask about an aspect of generalization within inference. The task and the output categories remain in view while the domain conditions differ. That is meaningful evidence about transfer across those parts of the benchmark. A changed task, answer rule, or language would introduce a different kind of novelty. The authors’ caution about compositional generalization goes further still, to conditions where a useful procedure must be assembled from familiar skills in a configuration the system has not previously practiced.

What can be inferred about the learned use of position

The equations give a precise statement about where position appears explicitly. They make it possible to identify which positional row contributes to a score and which content vector it meets. The content vectors in later layers already summarize earlier computations involving distance. They can therefore carry information about position even in an interaction that uses no new position vector. Sequence boundaries and special tokens can also provide clues about a token’s location. The score decomposition is a description of operations and inputs. The semantic contents of learned states would need separate evidence.

The distinction can be seen even when thinking about a simple change to a sentence. Moving a phrase preserves the offsets between tokens inside it. Its offsets to the rest of the sentence can change, and the phrase can be near a boundary in one version and away from it in another. A relative attention calculation treats the preserved offsets consistently but can still respond to the changed relationships. Consequently, an encoder built from relative comparisons can learn about a phrase’s position in the whole structure. A delayed absolute embedding gives the decoder a direct cue in addition to any such evidence in the states.

The same reasoning limits what the motivating example with repeated modifiers establishes. An absolute index can help resolve uncertainty about a blank even when immediate neighbors are similar. Meanwhile, a relative encoder can draw on more distant words whose positions distinguish the cases. The example shows why the direct cue might be useful and gives a reader a way to understand what the decoder can do with it. Establishing that the cue was essential to the model’s treatment of those grammatical roles, or that such cases explain much of the benchmark advantage, would require evidence isolating those cases.

The generation comparison supplies an outcome for changing the placement of the signal. It cannot distinguish all the reasons the placement might matter. Early position could compete with, complement, or reorganize the features learned from relative structure. A decoder query supplied with position could use the same encoder information in a different way. The paper’s conjecture focuses on the learning of relative structure. An analysis designed to test that mechanism would compare what each encoder retains about order under controlled changes to content, spacing, and absolute placement.

An attention map has a similar scope. The weight of a source describes the share assigned to its value in the immediate computation. The information reaching the output depends on the value, on the other values in the weighted mixture, and on the blocks that process the mixture. Even the direct additive terms in a score interact before the weights are formed. An offset preference can make a particular key more competitive, yet its influence on the output depends on all the admissible competitors and on the representations they supply. The mathematical breakdown makes that process inspectable without itself furnishing an explanation of any individual prediction.

The authors’ heatmaps are examples from the final self-attention layers. They give evidence that differences in routing can appear after the architectural interventions. They do not estimate the distribution of these differences across training runs, layers, heads, or input types. The paper identifies an association between the mask decoder and the appearance of the diagonal, and it proposes a reason that a concentration on the classification token might help. Establishing a prediction-level mechanism would need a comparison that connects changes in those patterns to changes in outcomes while accounting for the values and other computations.

What the long-input argument depends on

The signed-distance equation maps offsets beyond its boundary to an outer row of the table. That rule still produces a valid index for a distant pair. The appendix’s discussion of a direct neighborhood uses a stronger condition, under which a token gathers directly from a bounded range. A hard neighborhood would require an eligibility rule for the pair as well as a rule for selecting its positional vector. The equation for clipping establishes the second of those operations. In the generation experiment, the triangular mask explicitly illustrates the first kind of operation, since it makes future positions ineligible.

This matters to the interpretation of the theoretical length in the appendix. Its reasoning assumes that information can pass along a sequence through overlapping layer neighborhoods. If one token gets information from a nearby state that itself received context in an earlier layer, the successive operations can connect more distant locations. The existence of a path is an architectural statement. How much of a distant clue survives in useful form at the end depends on weights, values, and transformations learned for the task. The theoretical span does not furnish an accuracy estimate for examples that require using its most distant tokens.

The RACE comparison gives a concrete outcome under the authors’ longer-input setting. Making more of a passage available can help when a short input omits useful evidence. It can also change the competition among possible sources even when the most relevant passage was already present. The reported gain combines all the examples under evaluation. A length-sensitive analysis would have to locate the evidence required by each question and distinguish cases where the larger setting introduces it from cases where both settings can already see it.

The implementation’s reduction in positional-vector storage also has a bounded scope. The projected vectors can be shared because a finite set of indices covers the relative distances. The formula still calls for scalar scores associated with pairs and for a weighted combination of candidate values. The memory saved by avoiding a separate vector for each pair gives no complete account of attention memory at long lengths. Scores, intermediate products, and other states still need to be considered, together with any explicit restriction on which pairs the attention uses.

Absolute position raises a different extrapolation question at the masked prediction stage. The relative table can always return a valid row at distances beyond its boundary. This does not show how a trained absolute embedding behaves for sequence slots outside the conditions in which the decoder learned. Extended input for RACE tests the reading setup the authors use. It leaves open how masked reconstruction or autoregressive prediction would behave for much longer sequences, especially when the evidence for a prediction is far from the target.

The reach of the language and generation evidence

The evaluation covers several English tasks and includes explicitly English material in the pretraining recipe. The scoring mechanism applies to signed offsets between tokens, so the equations can describe sequences with other patterns of segmentation or order. The reported comparisons do not establish that the gain has the same size, or even that the relative importance of the components stays the same, in different languages. A token distance is a distance after segmentation. It can correspond to different linguistic structures under different vocabularies and writing systems.

The generation result has a similarly well-defined reach. Perplexity tells how the tested system assigns probability to observed text given the available earlier context. This is evidence for using the architecture with autoregressive prediction, and for its relative performance under the reported Wikitext-103 procedure. Evaluating a produced passage for consistency, clarity, or adherence to a request would require a scoring procedure that observes those properties. None can be derived solely from the perplexity comparison, regardless of how useful it is as a prediction measure.

Breadth across tasks is valuable because the same encoder design contributes to several types of output. It does not turn their aggregate into a general measurement of everything the encoder learns. The source material used in pretraining, the linguistic cues available during fine-tuning, and the kind of answer demanded by each evaluation all help determine the measured result. The paper provides particularly direct evidence about the contributions of its components where it varies them under the shared base recipe. Its larger comparisons establish what the full designs achieve under stated conditions, with broader claims about language ability bounded by the tasks that generated the evidence.

What came after

DeBERTa and replacement detection

DeBERTaV3 is the clearest architectural continuation. It explicitly takes DeBERTa as the system to improve and combines ELECTRA-style pretraining with gradient-disentangled embedding sharing. The first part of that connection is already visible in the original paper’s appendix. There, the authors use DeBERTa for replacement detection, compare several sizes, and show that a smaller predictor can attain scores comparable to those of their largest masked-language configuration on the tested tasks. The successor addresses the design of that kind of training more directly, making embedding sharing and the treatment of gradients part of its stated contribution.

The repeated word disentangled has a different object in the two proposals. In the original attention calculation, it describes distinct interactions involving content and relative position. Those interactions help determine which states contribute to a representation during a forward calculation. In the successor’s name for its embedding-sharing method, the distinction concerns gradients, the signals used to update weights during training. This shifts the design question towards what happens when parts of the learning system share embeddings. The original paper’s replacement experiments make this a direct extension of a training direction it had already explored.

These papers also illustrate the difference between preserving an encoder design and preserving a prediction objective. The original masked procedure asks the system to recover the identity of a selected token. The ELECTRA-style direction uses a generator and a detection problem involving the input tokens. A continuation can keep the original work’s approach to representing position while changing what produces the learning signal. DeBERTaV3’s stated changes follow that route, with the handling of shared embeddings becoming part of the decision about how to train.

Alternative ways to represent order and reconstruct text

RoFormer takes a different approach to the positional problem by introducing rotary position embeddings in a Transformer. DeBERTa makes the signed offset an index into a learned table and passes the corresponding vectors through explicit, content-dependent comparisons. RoFormer’s named contribution places the emphasis on a rotary representation of position. Its relationship to DeBERTa is through the problem of making order available to attention. It supplies a parallel architectural direction within the citing literature.

The comparison is useful because the original study couples two decisions that can be made independently. One concerns the representation of position within attention. The other concerns the information supplied to the final stage when the task is masked reconstruction. A Transformer paper can investigate the first by changing how position is represented and need not make the decoder’s query input central. RoFormer is a positional counterpart in this sense. Its contribution relates to the question DeBERTa asked about attention, while DeBERTa’s masked decoder addresses another place where order can influence prediction.

GLM continues the investigation of how missing text can be used for pretraining, through autoregressive blank infilling. Both papers use corrupted text as an opportunity to obtain supervision from the original sequence. The original DeBERTa objective scores selected positions conditioned on the corrupted input. GLM brings autoregressive prediction to the infilling procedure, making the dependencies among predictions part of how the blanks are filled. This is a connection through the objective rather than through the precise decomposition of the attention score.

The distinction becomes clearer alongside DeBERTa-MT. That experiment uses masked reconstruction and autoregressive prediction jointly as training tasks. Autoregressive blank infilling brings the idea of prediction in sequence into the reconstruction of missing material itself. The two choices are related because they ask where the dependency on earlier predictions belongs. DeBERTa’s paper uses that distinction to evaluate variants trained under different objectives. GLM makes the formulation of the blank-filling objective the stated basis of its general pretraining approach.

UL2 addresses the unification of language learning paradigms. In DeBERTa, the architecture is first evaluated with masked reconstruction, then used in experiments with joint training and with replacement detection. This demonstrates the practical distinction between a design for building contextual states and the learning task that is used to fit it. UL2 takes unification of learning paradigms as its own subject. The connection lies in asking how different kinds of prediction can be brought into the training of a language system, rather than in assuming that UL2 adopts DeBERTa’s way of computing relative attention.

OFA pursues unification through a common sequence-to-sequence framework spanning architectures, tasks, and modalities. DeBERTa’s original experiments use a shared architectural starting point and adapt it to different outputs, including span answers, inference categories, and autoregressive text probabilities. OFA makes the shared formulation of inputs and outputs a more central question. Its relationship to DeBERTa is at the level of how a line of research turns pretrained representations into useful predictions across tasks. The inclusion of modalities gives that question a broader stated scope than the original paper’s experiments on text.

Changing the adaptation procedure

LoRA focuses on low-rank adaptation. A low-rank change constrains the form of the update, so the adaptation can be described through fewer independent directions than a full matrix change would allow. DeBERTa’s projection sharing also concerns the use of parameters, but it makes the sharing choice when defining the attention architecture. LoRA concerns the form of changes used to adapt a pretrained system. Its connection to the original study is through the transition from a pretrained checkpoint to a task predictor, where DeBERTa instead investigates regularization through perturbing normalized embeddings.

This comparison highlights two places where a research paper can intervene even when both ultimately report a downstream score. Choosing which attention projections share weights changes what is learned during pretraining and how the resulting states are computed. Choosing a low-rank update changes the adaptation procedure applied to a starting point that has already been trained. The DeBERTa scale study provides one instance of efficiency through architectural parameter reuse. LoRA takes up efficiency in the changes made for a task. The citing relationship places those choices in the broader study of how pretrained systems are used and adapted.

P-Tuning v2 investigates prompt tuning as a procedure that can be comparable to fine-tuning across tasks and sizes. This puts the choice of adaptation interface at the center of the comparison. In the original DeBERTa experiments, fine-tuning gives the learned contextual states a task-specific use, and SiFT asks whether one way of regularizing that process improves results. The prompting question changes the procedure itself. It asks when learned prompts can be used to obtain task performance comparable to that achieved by fine-tuning.

P-Tuning likewise frames comparability across scales and tasks as a central issue. These are consequential axes in the original experiments. Increasing the size of DeBERTa coincides with changes in how the system is pretrained and adapted, and individual benchmarks can respond differently to the same intervention. A study comparing prompt tuning with fine-tuning has to examine the extent to which its comparison survives changes in those conditions. The connection is through the evaluation of task adaptation, with the prompting work varying how instructions or task information are supplied to the pretrained system.

SPoT studies soft prompt transfer for adaptation with a frozen underlying system. A soft prompt supplies learned continuous inputs that can be used to condition the task prediction. In DeBERTa’s ordinary benchmark procedure, the checkpoint learned from text is the starting point for task adaptation. SPoT makes the prompt itself an object of transfer while keeping the underlying parameters fixed. This is a different answer to where useful knowledge for adaptation can reside. It connects to the DeBERTa results through the practical question of what can be carried forward from earlier learning when the required prediction changes.

Pre-train, Prompt, and Predict discusses prompting in a systematic survey. It relates to the original work as part of the literature on obtaining predictions from pretrained language systems. The DeBERTa paper asks what positional choices and learning signals improve the representations available for downstream adaptation. A prompting survey organizes the field around a subsequent decision, how to formulate the prediction problem for a system that has already learned from text. Its citation illustrates a broader role for DeBERTa in that discussion. The architecture and its results help establish the background against which a different way of eliciting predictions can be considered.

Extending the scope of evaluation

The MATH dataset paper makes mathematical problem solving a dedicated benchmark. DeBERTa includes reasoning within a suite whose macro-average also reflects inference, reading, and other language tasks. A benchmark focused on mathematical problems changes which ability is measured and which examples determine the score. Its citation connects the original work to a more specialized line of evaluation. The MATH paper’s stated contribution is the measurement task itself. It exemplifies the need for evidence tailored to a particular ability when a general benchmark average leaves that ability unresolved.

Evaluating Large Language Models Trained on Code extends the evaluation question to systems trained on code. DeBERTa’s generation experiment measures the probabilities assigned to held-out text under an autoregressive rule. Moving to code changes the subject of training and the setting in which performance must be evaluated. The relationship is through the expanding scope of pretraining and generation research. The code paper’s stated focus brings a particular domain into the evaluation, while the DeBERTa study supplies evidence from its own text prediction and understanding setups.

XTREME-R broadens the question in another direction by pursuing more challenging and nuanced multilingual evaluation. The relative position rule in DeBERTa could operate on many different token sequences. Its reported results mostly concern the English settings selected for the study. A multilingual evaluation asks how systems perform when the linguistic inputs and the conditions for transfer vary across languages. That is a complementary question about the reach of pretraining, and the relation to DeBERTa is through evaluation scope.

The successor that explicitly improves DeBERTa builds on the replacement-detection direction already present in the paper. The other citing work carries forward questions at different points in the pipeline. Positional work changes how sequence order enters the computation. Infilling and unification work changes what the training task asks the system to predict. Adaptation work changes how the results of pretraining are put to use. Specialized and multilingual benchmarks change the evidence required for a claim about capability. The original paper brings these concerns together in its comparisons, while the later papers make individual choices into research questions of their own.

 Institutions

 Fields, topics and concepts

Cite

Cite as Pengcheng He, Xiaodong Liu, Jianfeng Gao and Weizhu Chen. 2020. DeBERTa: Decoding-enhanced BERT with Disentangled Attention. arXiv:2006.03654.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2006.03654 · arXiv 2006.03654

@misc{he2020deberta,
  title = {{DeBERTa: Decoding-enhanced BERT with Disentangled Attention}},
  author = {Pengcheng He, Xiaodong Liu, Jianfeng Gao and Weizhu Chen},
  year = {2020},
  doi = {10.48550/arxiv.2006.03654},
  eprint = {2006.03654},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2006.03654}
}

References

65 references, from the paper's own bibliography.

  1. Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. OpenAlex ↗ · Scholar ↗
  2. 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 ↗
  3. Iz Beltagy, Matthew E Peters, and Arman Cohan. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150, 2020. our card
  4. 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 ↗
  5. 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
  6. 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 ↗
  7. Kezhen Chen, Qiuyuan Huang, Hamid Palangi, Paul Smolensky, Kenneth D Forbus, and Jianfeng Gao. Natural-to formal-language generation using tensor product representations. arXiv preprint arXiv:1910.02339, 2019. OpenAlex ↗ · Scholar ↗
  8. Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating long sequences with sparse transformers. arXiv preprint arXiv:1904.10509, 2019. our card
  9. Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. BoolQ: Exploring the surprising difficulty of natural yes/no questions. In Proceedings of NAACL-HLT 2019, 2019. our card
  10. 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 ↗
  11. 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 ↗
  12. 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 ↗
  13. Marie-Catherine De Marneffe, Mandy Simons, and Judith Tonhauser. The commitmentbank: Investigating projection in naturally occurring discourse. In proceedings of Sinn und Bedeutung, volume 23, pp. 107–124, 2019. our card
  14. 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
  15. 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
  16. Li Dong, Nan Yang, Wenhui Wang, Furu Wei, Xiaodong Liu, Yu Wang, Jianfeng Gao, Ming Zhou, and Hsiao-Wuen Hon. Unified language model pre-training for natural language understanding and generation. In Advances in Neural Information Processing Systems, pp. 13042–13054, 2019. our card
  17. 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 ↗
  18. 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
  19. Aaron Gokaslan and Vanya Cohen. Openwebtext corpus. http://Skylion007.github.io, 2019. OpenAlex ↗ · Scholar ↗
  20. Pengcheng He, Xiaodong Liu, Weizhu Chen, and Jianfeng Gao. A hybrid neural network model for commonsense reasoning. arXiv preprint arXiv:1907.11983, 2019a. OpenAlex ↗ · Scholar ↗
  21. Pengcheng He, Yi Mao, Kaushik Chakrabarti, and Weizhu Chen. X-sql: reinforce schema representation with context. arXiv preprint arXiv:1908.08113, 2019b. OpenAlex ↗ · Scholar ↗
  22. 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 ↗
  23. Haoming Jiang, Pengcheng He, Weizhu Chen, Xiaodong Liu, Jianfeng Gao, and Tuo Zhao. SMART: Robust and efficient fine-tuning for pre-trained natural language models through principled regularized optimization. In ACL, July 2020. . our card
  24. Mandar Joshi, Danqi Chen, Yinhan Liu, Daniel S Weld, Luke Zettlemoyer, and Omer Levy. Spanbert: Improving pre-training by representing and predicting spans. Transactions of the Association for Computational Linguistics, 8:0 64–77, 2020. our card
  25. 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 ↗
  26. Daniel Khashabi, Snigdha Chaturvedi, Michael Roth, Shyam Upadhyay, and Dan Roth. Looking beyond the surface: A challenge set for reading comprehension over multiple sentences. 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. 252–262, 2018. our card
  27. Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
  28. Nikita Kitaev, Lukasz Kaiser, and Anselm Levskaya. Reformer: The efficient transformer. In International Conference on Learning Representations, 2019. our card
  29. 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 ↗
  30. 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
  31. 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 ↗
  32. Hector J Levesque, Ernest Davis, and Leora Morgenstern. The Winograd schema challenge. In AAAI Spring Symposium: Logical Formalizations of Commonsense Reasoning, volume 46, pp. 47, 2011. OpenAlex ↗ · Scholar ↗
  33. Liyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen, Xiaodong Liu, Jianfeng Gao, and Jiawei Han. On the variance of the adaptive learning rate and beyond. In International Conference on Learning Representations, 2019a. OpenAlex ↗ · Scholar ↗
  34. Xiaodong Liu, Pengcheng He, Weizhu Chen, and Jianfeng Gao. Multi-task deep neural networks for natural language understanding. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 4487–4496, Florence, Italy, July 2019b. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/P19-1441. our card
  35. Xiaodong Liu, Hao Cheng, Pengcheng He, Weizhu Chen, Yu Wang, Hoifung Poon, and Jianfeng Gao. Adversarial training for large neural language models. arXiv preprint arXiv:2004.08994, 2020. OpenAlex ↗ · Scholar ↗
  36. 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, 2019c. our card
  37. Ilya Loshchilov and Frank Hutter. Fixing weight decay regularization in adam. 2018. OpenAlex ↗ · Scholar ↗
  38. 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. 2021. our card
  39. Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. arXiv, pp. arXiv–1609, 2016. our card
  40. Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao. Deep learning based text classification: A comprehensive review. arXiv preprint arXiv:2004.03705, 2020. OpenAlex ↗ · Scholar ↗
  41. Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. IEEE transactions on pattern analysis and machine intelligence, 410 (8):0 1979–1993, 2018. OpenAlex ↗ · Scholar ↗
  42. Mohammad Taher Pilehvar and Jose Camacho-Collados. Wic: the word-in-context dataset for evaluating context-sensitive meaning representations. 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. 1267–1273, 2019. our card
  43. 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 ↗
  44. 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
  45. 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
  46. 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
  47. Melissa Roemmele, Cosmin Adrian Bejan, and Andrew S. Gordon. Choice of plausible alternatives: An evaluation of commonsense causal reasoning. In 2011 AAAI Spring Symposium Series, 2011. OpenAlex ↗ · Scholar ↗
  48. Imanol Schlag, Paul Smolensky, Roland Fernandez, Nebojsa Jojic, Jürgen Schmidhuber, and Jianfeng Gao. Enhancing the transformer with explicit relational encoding for math problem solving. arXiv preprint arXiv:1910.06611, 2019. OpenAlex ↗ · Scholar ↗
  49. 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
  50. Tao Shen, Yi Mao, Pengcheng He, Guodong Long, Adam Trischler, and Weizhu Chen. Exploiting structured knowledge in text via graph-guided representation learning. arXiv preprint arXiv:2004.14224, 2020. OpenAlex ↗ · Scholar ↗
  51. 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 ↗
  52. Paul Smolensky. Tensor product variable binding and the representation of symbolic structures in connectionist systems. Artificial intelligence, 460 (1-2):0 159–216, 1990. OpenAlex ↗ · Scholar ↗
  53. 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
  54. Yu Sun, Shuohuan Wang, Yukun Li, Shikun Feng, Xuyi Chen, Han Zhang, Xin Tian, Danxiang Zhu, Hao Tian, and Hua Wu. Ernie: Enhanced representation through knowledge integration. arXiv preprint arXiv:1904.09223, 2019. our card
  55. Trieu H Trinh and Quoc V Le. A simple method for commonsense reasoning. arXiv preprint arXiv:1806.02847, 2018. our card
  56. 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
  57. 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
  58. 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
  59. Wei Wang, Bin Bi, Ming Yan, Chen Wu, Zuyi Bao, Liwei Peng, and Luo Si. Structbert: Incorporating language structures into pre-training for deep language understanding. arXiv preprint arXiv:1908.04577, 2019c. our card
  60. Alex Warstadt, Amanpreet Singh, and Samuel R Bowman. Neural network acceptability judgments. arXiv preprint arXiv:1805.12471, 2018. OpenAlex ↗ · Scholar ↗
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/he-2020-deberta-decoding-enhanced-bert-disentangled/