A Robustly Optimized BERT Pre-training Approach with Post-training
Paper · 2021 · Liu Zhuang, Lin Wayne, Shi Ya et al.
Summary
A system can learn from a large collection of text and still have trouble adapting to a task with few labeled examples. The authors ask whether it helps to give BERT some supervised practice before it sees the task it will be evaluated on. They call this intermediate stage post-training. The starting point is an ordinary pretrained BERT checkpoint. The endpoint is a separate system for each target task, obtained by fine-tuning the shared checkpoint on that task’s own examples. The change is what happens between those points.
The intermediate training mixes conversational question answering from CoQA, natural language inference from SNLI, and sentiment analysis from YELP. These sources teach different kinds of decisions, from answering a question in context to judging how two statements relate or recognizing the attitude expressed in a text. The authors also describe how to extend the mixture as new tasks become available. Training resumes from the latest weights and continues to use earlier tasks alongside the new one. Each task has an iteration budget that can be spread across training phases. Within a batch, gradients from smaller groups of examples are accumulated before the parameters are updated.
The resulting PPBERT improves the reported task-level results across the 16 tasks in GLUE and SuperGLUE, although individual metrics can move in opposite directions. PPBERT LARGE reaches a GLUE development average of 87.02, compared with 84.05 for BERT LARGE. On the SuperGLUE development set, PPBERT reaches 74.55 against BERT’s 69.00. Some of the clearest gains are on inference and reading comprehension. At the other end of the range, the smallest gain the paper highlights is +0.2 on CoLA, its benchmark for linguistic acceptability.
The authors also apply the procedure to ALBERT, producing PPALBERT. A version that also uses SearchQA during post-training reaches 87.7 exact match and 90.5 F1 on the SQuAD 2.0 development set, the highest entries in the paper’s comparison. The PPALBERT variants also lead the reported comparisons on several other reading and inference tasks. The paper reports a best result with 1/20 of the training set, but gives few details about that experiment. The benchmark comparisons establish the value of the added supervised stage in the tested settings more clearly than they establish how much each source contributes or how reliably the procedure works with very little target data.
Deep dive: A Robustly Optimized BERT Pre-training Approach with Post-training
BERT post-training adds supervised practice before fine-tuning, improving benchmark scores and testing what transfers when target labels are scarce. · about 33 minutes to read
The problem and its context
What general pre-training leaves for the target task
The paper starts from the usual division of labor in natural language processing at the time. A pretrained system learns from a large body of text using training signals that can be obtained from the text itself. Its parameters then provide a starting point for supervised training on a narrower problem. For instance, during adaptation to an inference task, the system sees examples whose labels tell it how the meaning of one text relates to another. The system can use what it learned about language during pretraining while adjusting its predictions to the new task.
A contextual representation is useful here because a word’s role depends on the words around it. The paper places BERT alongside GPT and work on deep contextualized word representations as examples of the broader shift towards reusing what was learned from large text collections. In this setup, each new target task need not supply all the evidence necessary to learn useful representations from the beginning. Its labels are still responsible for teaching the system what counts as a correct answer on that particular task.
The authors see a problem at the point where those labels take over. A checkpoint can encode broadly useful information about language while giving the target training process little practice with the kind of answer it must produce. That gap puts more pressure on the target examples. When there are few of them, fine-tuning can be brittle. The introduction uses a Winograd Schema dataset with 634 training examples as an illustration of how small a labeled benchmark can be. A short training split is especially consequential when its labels are the first explicit guidance the system receives about a task’s decision.
The paper also distinguishes the demands of a task from the demands of a domain. A task asks the system to do something, such as decide whether a statement follows from a passage. A domain changes what the system has to read, which may include vocabulary and distinctions less prominent in its general training text. The authors use finance as an example, pointing to terms for stocks and types of bonds alongside the scarcity of labeled examples. A financial task can present both problems at once. The text may differ from the material used in pretraining, and the available supervision may be too sparse to teach all the task’s requirements during fine-tuning.
These motivations suggest different ways to choose additional data. A source can be related because it asks for a similar decision, even if its documents come from elsewhere. It can also be related because its text comes from the same domain, even if the labels teach a different decision. The main PPBERT experiments emphasize sources chosen for their role in language understanding. The authors treat domain-specific sources as another possible input to the same procedure.
How the proposal fits among earlier approaches
The authors describe earlier work as pursuing improvements at several places in the pipeline. One approach changes the system built around a pretrained encoder. They mention BERTserini for open-domain question answering and BERTCMC for conversational reading comprehension. Another approach changes how useful representations are obtained in the first place. The paper names SpanBERT and ALBERT among the efforts to improve on the established pretraining setup. These examples give the authors a way to locate their contribution. Their proposal keeps the BERT starting point and changes the route from that checkpoint to the final supervised task.
The idea also draws on earlier work in continual learning and multitask learning. In the sequential form of continual learning discussed by the authors, training moves to a new task using the parameters learned so far. This makes it possible to begin work as soon as a task is available. It creates a risk, though, because the updates for the current task can change parameters that supported earlier decisions. The paper uses the review of continual lifelong learning as part of the background for this problem of forgetting.
Multitask learning offers a reason to keep earlier data in play. The paper describes it as a way to use different training corpora to train parts of the same network. An update guided by one source can then occur within a longer run that is also guided by other sources. In the conventional setup the authors discuss, the task collection must be ready before joint training begins. A corpus that becomes available later poses a practical question about how to add it without giving up the training that has already been done.
The paper combines the two ideas. It reuses the latest parameters when a task arrives and keeps earlier tasks active in subsequent training. In this design, the previous checkpoint carries over what has already been learned, and old examples continue to supply feedback about earlier decisions. This addresses a different question from the choice of a pretraining objective. It concerns how to organize supervised practice after a general checkpoint already exists and before individual target systems are trained.
There are two hypotheses behind this organization. The first is about transfer between tasks. Practice with inference, reading, or sentiment may prepare a system for target decisions that draw on related information. The second is about training across time. Continuing to use earlier data may help preserve useful behavior as the intermediate task collection grows. A downstream benchmark can test the quality of the resulting starting point for fine-tuning. Measuring whether an earlier capability was preserved requires observations about that capability before and after new training, a distinction that matters when interpreting what the experiments establish.
The method, step by step
From a shared checkpoint to separate target systems
The easiest way to follow PPBERT is to track which examples have influenced the parameters at each point. The initial checkpoint reflects general BERT pretraining. Intermediate supervision then changes that checkpoint using labels from related tasks. At the end of the intermediate stage, the authors have another shared starting point. Each downstream task gets its own fine-tuning run from that point and can therefore end with its own parameter values.
This arrangement makes the intermediate targets independent of the final benchmark labels in their role. A CoQA answer tells the system what answer is appropriate for a CoQA question during post-training. It is useful to a later reading task if the resulting changes to the parameters also help with the later task’s questions. The final reading task still provides the supervision that defines its own answers. Likewise, a source that teaches whether one text supports another can be useful before the final system sees the particular labels and input conventions of its target inference benchmark.
How PPBERT moves from pre-training to target fine-tuning
The steps in order.
The step about adding tasks describes what the procedure allows. For the standard post-training mixture, the paper says that the authors use CoQA, SNLI, and YELP simultaneously. It gives no order of arrival for those sources. The distinction matters because an algorithm that can accommodate tasks arriving over time can also be used when the main task collection is already known.
Start with the original pre-training
For PPBERT, the experiment starts from BERT as it already exists. The authors say they follow its pretraining procedure and use the original BERT checkpoint. Their investigation concerns what to do after obtaining that checkpoint. The initial architecture and pretraining objective thus provide common ground for the direct BERT comparison. In the baseline, this starting point goes straight to the target. In PPBERT, it first passes through the related supervised tasks.
A checkpoint contains the learned parameter values from an earlier run. Initializing from it gives subsequent training access to the features the earlier run learned. The authors describe the intermediate stage as continuing to update the pretrained system. The intended transfer is therefore carried by the post-trained parameters passed into fine-tuning. The paper does not describe a fixed database of source answers that a downstream system consults when making predictions.
This choice also explains why the authors can test the same idea with ALBERT. The proposal is expressed as a sequence of training stages rather than as a new layer that depends on a single BERT configuration. For that experiment, the checkpoint at the beginning of the sequence comes from ALBERT, and the post-trained checkpoint is called PPALBERT. The paper mentions SpanBERT as another conceivable starting point. In the reported comparisons, SpanBERT appears as a baseline, while BERT and ALBERT supply the demonstrated before-and-after pairs.
Give the checkpoint labeled practice from related tasks
The intermediate sources were chosen to cover several forms of natural language understanding. CoQA provides question answering in a conversational setting. Its role in the mixture is to provide practice connecting questions with the relevant information in context. The paper motivates this choice by arguing that answering questions requires understanding the document and reasoning about facts that bear on the question. Its dataset overview characterizes CoQA as involving dialogue and answers that can be represented by spans or substrings.
SNLI supplies natural language inference, abbreviated NLI. In an inference task, a system uses the meaning of one input to judge the status of another. The paper makes the connection to recognizing textual entailment, a task concerned with whether the content of one text supports a conclusion expressed in another. The intermediate training uses SNLI for this kind of semantic supervision. The final evaluation includes other inference datasets, so the source supplies practice relevant to a family of decisions without replacing the target’s labels.
YELP supplies sentiment analysis, where the decision concerns the attitude expressed in text. The authors put it alongside inference and question answering as a basic language understanding task. Its role in the design is to broaden the kinds of supervision applied to the shared parameters. The paper identifies the source and its purpose, but does not give a detailed account of its label inventory or the preparation of its examples.
These choices make the main experiment a test of a mixed source collection. Some target tasks have an obvious connection to one of its components. A reading benchmark resembles CoQA in asking for an answer grounded in text, and an inference benchmark shares a decision structure with SNLI. Other targets, such as judging sentence acceptability, have a less direct counterpart in the mixture. The results can therefore show whether the complete procedure helps across tasks with different degrees of apparent overlap. To find out how much help came from any particular source would require comparisons in which that source is varied.
The authors describe the three sources as the standard mixture for PPBERT. For one ALBERT variant they add another question-answering dataset, SearchQA. That version is named PPALBERT LARGE-QA. This gives the paper a comparison between a standard post-trained ALBERT and a version with further question-answering supervision. SearchQA is part of the intermediate training for that variant. SQuAD and the other QA benchmarks supply the downstream evaluations.
Carry earlier tasks forward
Suppose intermediate training has already used one task and another becomes available. The procedure takes the parameter values reached so far and uses them to start the next phase. It then trains on the incoming task together with the tasks already introduced. The change from one phase to another is an expansion of the active training mixture and a continuation from the latest checkpoint.
The two parts of the procedure serve different purposes. Starting from the current checkpoint preserves the effect of past training in the initial parameter values for the next phase. Returning to past tasks supplies fresh feedback as those values change. If training used the incoming task alone, prior experience would still be represented at initialization, but every subsequent gradient in that phase would be driven by the new task. Keeping the earlier tasks in the run gives their training objectives a continuing influence.
The paper denotes the per-task allocation by K. It is the total number of training iterations allocated to an intermediate task, with portions of that budget assigned to different training phases. A task may receive some of its allocated iterations before another task arrives and use more of them during later joint training. The paper describes that accounting rule in prose. It gives neither an explicit equation nor a numerical value for K or a schedule for dividing it.
The budget is defined per task, not per example. It specifies a number of iterations assigned to a task. The paper gives no basis for equating that with the number of times every example is seen, since that would also depend on the task’s dataset size and how examples are selected for batches. Likewise, the statement that tasks are trained jointly establishes that they participate in the same phase. It does not specify whether an optimizer update contains examples from distinct tasks, whether task batches alternate, or how losses from different tasks are weighted.
The rationale is to keep useful previous training from being overwritten as the system learns from new data. That is a motivation for the design. A gradient from the new task can still conflict with what another task would favor. The procedure creates opportunities for earlier supervision to correct that drift through subsequent training. The paper leaves the size of that effect to be inferred from downstream performance, since it does not report a per-source measure of retention across task arrivals.
Accumulate gradients, then update
A batch is a group of training examples whose losses guide a parameter update. A gradient describes how the loss changes as the parameters change. In the paper’s procedure, the examples in a batch are processed in smaller groups, called sub-batches. Training accumulates the gradients produced by those groups and updates the parameters after the accumulation.
There are two separate scales here. The system processes a sub-batch at a time, which lets each pass handle a smaller set of examples. The update uses the gradient information collected across the larger batch. If the system updated after each sub-batch, the next group would be evaluated using parameters changed by the previous group. Accumulation instead allows the groups to contribute to the same update. The authors present this choice as convenient for distributed training. They do not specify the number of sub-batches, how gradients are normalized before the update, or measured savings in time or memory.
This batching procedure addresses the mechanics of an update. The iteration budget addresses how much training each intermediate task receives across phases. The task mixture addresses which supervised examples are available to provide gradients in a phase. These are distinct parts of the method even though a concrete training run must coordinate them. For instance, the budget alone does not say how many examples are processed in an update, and knowing that gradients are accumulated does not tell a reader which source supplied them.
Fine-tune on the target’s own supervision
After post-training, the authors use the resulting checkpoint to initialize fine-tuning for a particular target. This stage uses that target’s labeled data. A system adapted to a paraphrase benchmark can therefore develop parameter values different from those of a system adapted to reading comprehension, even when both started from the same post-trained checkpoint.
The common initialization makes the downstream comparison intelligible. On a given target, direct fine-tuning assesses what can be obtained from the general checkpoint and the target’s supervision. The PPBERT route assesses what can be obtained after the general checkpoint has also received the intermediate supervision. The task-specific fine-tuning still matters because related datasets can pose different versions of an underlying problem. A system answering a question in a conversation, for instance, will encounter a different setup when the target supplies a paragraph and requires an extract from it.
The authors also discuss adaptation when target labels are scarce and describe the framework as potentially applicable when there are none. The fine-tuning procedure they actually describe uses supervised target examples. The small-data claim therefore concerns a setting with some supervision. The paper gives no separate protocol for carrying out the final stage without labels. It reports that the code and checkpoints from pretraining and post-training were made public.
Experiments and results
What the evaluation covers
The central comparison is between BERT and PPBERT on two collections of language understanding tasks. GLUE covers acceptability, sentiment, paraphrase, semantic similarity, and inference. SuperGLUE extends the comparison to tasks including reading comprehension, contextual word meaning, and reference resolution. A further group of experiments compares BERT and ALBERT variants on SQuAD and compares the ALBERT variants with reported systems on additional reading and inference benchmarks.
The paper describes the overall evaluation as covering 24 tasks or benchmarks. Its main tables include some benchmarks that reappear in different roles. QNLI and MNLI, for instance, belong to the GLUE evaluation, and QNLI and the matched portion of MNLI appear again in a separate comparison focused on inference and reading. The paper also describes financial sentiment analysis and financial question answering as domain-adaptation settings using FiQA. It supplies no scores for those tasks in its results tables. The individual comparisons give a clearer account of the reported evidence than the overall count alone.
The benchmarks also use different measures. Accuracy is the share of decisions marked correct where a dataset uses that measure. Correlation captures agreement between scores or judgments, which is appropriate when the output is a degree of similarity rather than a discrete category. Where the paper provides accuracy and F1 together for paraphrase tasks, they capture different aspects of performance. F1 combines precision and recall, so it can reveal changes in which items a classifier identifies even when overall accuracy moves differently. In reading comprehension, F1 likewise combines precision and recall, but the unit of comparison is the overlap between a predicted answer and its reference. Exact match, abbreviated EM, requires a complete match.
The composite scores for GLUE and SuperGLUE summarize performance across a collection of tasks with different measures. A GLUE average of 87.02 is therefore a benchmark aggregate. It does not mean that 87.02 of the individual decisions were correct on a common classification task. Within each fixed split and benchmark, the aggregate lets readers compare the corresponding BERT and PPBERT runs. Individual task scores show what produced the pattern that the average compresses.
GLUE from acceptability to inference
CoLA asks whether a sentence is linguistically acceptable and is scored with Matthews correlation. SST-2 assesses sentiment through accuracy. MRPC and QQP ask whether two texts are paraphrases and use accuracy and F1. STS-B measures the degree of semantic similarity between texts through Pearson and Spearman correlations. MNLI and RTE assess inference, while QNLI brings questions into an inference-style task. The table gives accuracy for those inference benchmarks.
The GLUE training collections differ substantially in size. RTE has 2.5k training examples, and MRPC has 3.7k. CoLA has 8.5k, while MNLI has 393k. These are counts of training examples for separate tasks with different labels and difficulty. They give context for the authors’ interest in small training sets. They do not form a controlled experiment on dataset size, since moving from one task to another also changes what the system reads, predicts, and is scored on.
The BASE comparison uses the GLUE test set, whose scores come from the benchmark’s evaluation server. BERT BASE reaches an average of 80.00 and PPBERT BASE reaches 81.53. The table reports the improvement as 1.53. For LARGE, the paper reports separate development and test comparisons. On the development set, the average moves from 84.05 to 87.02, a reported improvement of 2.97. The development results are medians from three runs. On the server-scored test set, the corresponding values are 82.45 and 85.03, with a reported gain of 2.58.
BERT LARGE and PPBERT LARGE on the GLUE development average
Post-training raises the aggregate score for the same backbone size.
The numbers
| System or setting | GLUE average score |
|---|---|
| BERT LARGE | 84.05 |
| PPBERT LARGE (this paper) | 87.02 |
RTE shows a pronounced change. On the GLUE development set, accuracy for the LARGE systems is 70.4 for BERT and 84.2 for PPBERT. On the GLUE test set, the same comparison is 70.1 against 80.3. The BASE test comparison also favors post-training, with RTE accuracy of 66.4 for BERT and 72.3 for PPBERT. The two sizes and the development and test results all point in the same direction for this task.
The tested paraphrase and similarity results also matter because none of the intermediate datasets is presented as a dedicated paraphrase or similarity source. On the GLUE test set, PPBERT LARGE records 87.2 accuracy and 90.2 F1 on MRPC. BERT LARGE records 85.4 and 89.3 on the same measures. For STS-B on the test set, the reported Pearson and Spearman correlations are 90.5 and 89.8 for PPBERT LARGE, against 87.6 and 86.5 for BERT LARGE. The intermediate mixture is thus associated with improvements on judgments that share aspects of semantic comparison with inference but have distinct target labels.
QQP shows why the choice of metric matters. In the BASE test comparison, BERT records 89.2 accuracy and 71.2 F1. PPBERT records 88.8 accuracy and 73.0 F1. The aggregate improves, and the authors describe PPBERT as outperforming BERT across the task collection. This particular result gives a more exact reading of that claim. The two scores for one task can disagree about which system performed better. On the LARGE test comparison for QQP, both of those scores favor PPBERT.
The paper lists a human GLUE aggregate of 85.94 and interprets PPBERT LARGE as reaching or exceeding human performance in some comparisons. The split matters. The PPBERT LARGE development aggregate is 87.02, while its test aggregate is 85.03. The human row is a benchmark reference point. With the split and metrics kept in view, it gives context to the scale of the reported result without supporting a general comparison of language understanding.
SuperGLUE reading and reasoning
The SuperGLUE comparison uses LARGE systems with a 24-layer architecture. The suite includes BoolQ for answering yes-or-no questions, CommitmentBank for inference, and COPA for choosing a plausible alternative. MultiRC assesses reading across sentences, and ReCoRD involves reading with commonsense reasoning. RTE also appears in this suite. WiC tests word meaning in context, and the Winograd Schema Challenge, abbreviated WSC, involves coreference resolution.
PPBERT reaches a development average of 74.55, with the paper reporting a gain of 5.55 over the BERT reference of 69.00. The PPBERT values are medians across three development runs. The human aggregate listed in the table is 89.79. The BERT-to-PPBERT change and the distance from the reported human reference are visible within the same benchmark comparison.
SuperGLUE development average for LARGE systems and the human reference
Post-training improves the BERT result, with the human reference still higher.
The numbers
| System or setting | SuperGLUE average score |
|---|---|
| BERT | 69.00 |
| PPBERT (this paper) | 74.55 |
| Human reference | 89.79 |
The authors single out MultiRC and ReCoRD. On MultiRC, the first reported development measure rises from 70.0 for BERT to 76.5 for PPBERT, the increase the paper records as +6.5. Its second measure rises from 24.1 to 40.7. On ReCoRD, the first measure moves from 72.0 to 78.7, a reported +6.7, while the second moves from 71.3 to 77.5. The table gives these as paired scores without labeling the two measures in its own notes. Their direction is clear from the within-task comparison.
Gains also appear outside those reading tasks. BoolQ’s development score is 77.4 for BERT and 80.3 for PPBERT. WiC goes from 69.6 to 72.9. The RTE development result is 71.7 against 77.4, and WSC moves from 64.4 to 68.7. Taken with GLUE, these results show that the value of the post-trained initialization extends across several kinds of target decisions. The larger reading and inference changes, together with the smaller acceptability result, make the distribution of gains more informative than the aggregate alone.
SQuAD and the effect of answerability
SQuAD gives a system a question and a paragraph. For answerable items, it must identify a span, a stretch of text that supplies the answer. In SQuAD 1.1 the paragraph is assumed to contain an answer. SQuAD with unanswerable questions adds items for which the paragraph gives no answer. A system evaluated on SQuAD 2.0 therefore faces a further decision about whether the passage supplies an answer at all.
The comparisons are on the development sets. Exact match rewards an answer that matches its reference completely. Answer F1 gives credit for overlap and can distinguish a prediction that contains part of the correct answer from one that contains none of it. A system can improve on both if it more often selects the correct passage text and makes its outputs match the references more closely. The paper does not break down the SQuAD 2.0 result into scores for answerable and unanswerable items.
On SQuAD 1.1, BERT LARGE reaches 84.1 EM and 90.9 F1. PPBERT LARGE reaches 85.2 EM and 92.1 F1. The gains reported by the authors are 1.1 in exact match and 1.2 in F1. The ALBERT starting point scores higher on this benchmark. ALBERT LARGE records 89.3 EM and 94.8 F1, then PPALBERT LARGE reaches 89.6 EM and 95.0 F1. With additional SearchQA post-training, PPALBERT LARGE-QA records 89.7 EM and 95.1 F1.
On SQuAD 2.0, BERT LARGE has 79.0 EM and 81.8 F1, compared with 82.2 EM and 84.8 F1 for PPBERT LARGE. ALBERT LARGE again starts higher at 87.4 EM and 90.2 F1. The post-trained versions reach 87.6 EM and 90.4 F1 for PPALBERT LARGE, and 87.7 EM and 90.5 F1 for PPALBERT LARGE-QA. The SearchQA variant leads both SQuAD development comparisons in the paper. The ALBERT results also show how much of its final advantage is already present in the checkpoint from which post-training begins.
Exact match on the SQuAD 2.0 development set
Both backbones improve after post-training, and the SearchQA variant has the highest exact match in the comparison.
The numbers
| System or setting | Exact match |
|---|---|
| BERT LARGE | 79.0 |
| PPBERT LARGE | 82.2 |
| ALBERT LARGE | 87.4 |
| PPALBERT LARGE | 87.6 |
| PPALBERT LARGE-QA (this paper) | 87.7 |
The SQuAD table includes other published comparisons. On SQuAD 1.1 development data, XLNet LARGE records 89.0 EM and 94.5 F1, and RoBERTa LARGE records 88.9 EM and 94.6 F1. Their SQuAD 2.0 development results are 86.1 EM and 88.8 F1 for XLNet, and 86.5 EM and 89.4 F1 for RoBERTa. These entries put the PPALBERT scores in context. The comparison with ALBERT LARGE addresses the effect of post-training more directly because the two systems share a starting family.
Other reading and inference tasks
The additional reading experiments cover several sources of questions and documents. NewsQA uses crowdsourced questions and CNN documents. TriviaQA draws questions from trivia websites and uses Wikipedia or web documents. HotpotQA presents reading questions associated with Wikipedia and is designed around reasoning that can involve multiple pieces of evidence. RACE uses questions from English exams and requires a choice among candidate answers. The answer format explains why the authors single out RACE when describing fine-tuning. For the other benchmarks in this comparison, they describe the fine-tuning method as the one used for SQuAD.
The NewsQA entries for PPALBERT LARGE and PPALBERT LARGE-QA are 74.6 and 74.8, respectively. The corresponding entries are 84.3 and 84.5 on TriviaQA, and 83.4 and 83.5 on HotpotQA. On RACE, ALBERT LARGE scores 86.5, and the two post-trained variants report 86.7 and 86.8. Among the listed alternatives, the authors place the PPALBERT variants at the top of these reading comparisons.
On QNLI, the reported accuracy is 95.2 for ALBERT LARGE, 95.6 for PPALBERT LARGE, and 95.9 for the variant with SearchQA. On MNLI-m, where the suffix identifies the matched portion of MNLI, the corresponding accuracies are 90.4, 90.7, and 90.9. The sequence is consistent with the additional QA supervision helping within these inference comparisons as well. The table gives one score per benchmark. It does not identify the split for every reading result or explicitly label the metric in each reading column, so the numbers are best read as the task scores reported in that comparison. The inference metrics are identified as accuracy in the GLUE dataset description.
The reading table also includes baseline entries from BERT, SpanBERT, and RoBERTa. Its baseline coverage varies by dataset. The higher values for PPALBERT are evidence about the displayed comparisons. A missing entry cannot answer how a particular baseline would have performed on that reading benchmark. The SQuAD table is more explicit about both the split and the metrics, which makes its comparisons easier to interpret without qualification.
What the ablations show
Adding a stage to the same starting point
The most direct comparison in the paper is between the standard BERT route and PPBERT. The architecture and general pretraining objective are shared, and the target task remains the same. What changes is the additional training that takes place before the target’s supervision is applied. With improvements across both GLUE system sizes, and with separate LARGE development and test results, the observation is wider than a single favorable score on a single benchmark split.
This comparison assesses post-training as a package. Extra supervised examples, additional optimization, the selected source mixture, and the way that mixture is trained all come with the added stage. The design supports the claim that the package gives BERT a better initialization for the tested targets. A comparison against an equal amount of additional training on different data would answer whether the relevance of the sources makes the difference. A comparison that removed one source at a time would answer which source matters for a particular target. The reported BERT contrast does not isolate either mechanism.
The ALBERT experiment tests whether the package can help after changing the pretrained starting point. The fact that PPALBERT improves on ALBERT on both SQuAD development sets is the pertinent result. Comparing PPALBERT directly with PPBERT combines the effect of post-training with differences already present between their starting checkpoints. The corresponding base-to-post-trained pairs show that the procedure can accompany more than one BERT-family starting point, even though the sizes of the gains differ.
Adding a source within the ALBERT experiments
PPALBERT LARGE-QA is the most specific change to the intermediate data reported in the paper. The authors further post-train PPALBERT with SearchQA and evaluate the resulting version alongside PPALBERT LARGE. On SQuAD 1.1 development data the authors report an additional 0.1 in exact match and 0.1 in F1. The displayed scores on SQuAD 2.0 development data also favor the SearchQA variant on both measures.
The same direction holds in the table for the other reading and inference tasks. For example, the NewsQA task score is 74.6 before the additional SearchQA training and 74.8 afterwards. On MNLI-m, the matched inference accuracy is 90.7 and 90.9 for the corresponding systems. The added source is associated with the strongest entries in that comparison. The changes are small enough that information about repeated runs would help establish how dependable they are.
There are two changes bound up in the SearchQA comparison. One is exposure to a particular question-answering dataset. The other is the further post-training used to incorporate it. The paper supplies no counterpart where PPALBERT receives the same amount of further training using its existing sources. As a consequence, the difference establishes what happens when the authors extend the run in this particular way. It cannot apportion the result between the content of SearchQA and the added training.
Why the gains vary with the target
The authors use the pattern of results as an analysis of what transfers. The strongest connections to the intermediate data are in semantic tasks. SNLI gives explicit practice in reasoning about relations between texts. CoQA gives the system supervision on answering questions from context. Strong gains on RTE, MultiRC, and ReCoRD fit their expectation that this practice should help where downstream decisions also turn on reading and inference.
CoLA is the counterpoint in the reported results. In the GLUE BASE test comparison, its Matthews correlation rises from 52.1 to 52.3. This is the +0.2 gain singled out by the authors as the smallest. The source inventory includes sentiment, inference, and question answering. It has no intermediate task devoted to acceptability or syntax. The authors connect the small CoLA result to earlier work by Bowman and colleagues, which they describe as finding few useful alternatives to language modeling for improving this benchmark.
The small result is compatible with the authors’ interpretation of the mixture as providing useful semantic supervision. It cannot establish how much syntactic knowledge the checkpoint contains or how that knowledge changed. CoLA is one way of assessing acceptability, and the paper presents no direct test of syntactic representations. It also leaves open whether a different choice of intermediate sources would improve CoLA more.
The authors make a different argument for SST-2. The LARGE test accuracy starts at 94.9 for BERT and reaches 95.7 with PPBERT, a gain reported as +0.8. They relate the small increase to the already high accuracy. This is an interpretation of the pattern. YELP is part of the intermediate mixture, but the experiment keeps YELP in place for all of the PPBERT runs that would be needed to test its specific contribution. The observed increase on SST-2 could reflect that source, the combination of sources, or other aspects of the added training.
RTE and MRPC are also of interest to the authors because the improvements are consistent across the GLUE comparisons. Their listed training sets are among the smaller ones in that suite. The evidence fits the idea that a prepared initialization can be particularly valuable when the target must adapt using few examples. At the same time, the targets differ in purpose, difficulty, and relationship to the sources. The prominence of RTE may reflect the related inference supervision as well as the size of its training set.
The reduced-training claim and the continual-learning schedule
The paper reports that its best system achieves a leading result with 1/20 of the training set. This claim speaks directly to the scarcity problem motivating post-training. Its account gives no corresponding table identifying the task, showing the scores, or explaining how that subset was selected. In particular, the reduction specifies how much training data was used relative to the full set. It does not establish the absolute number of available examples, the variation across subsets, or how the margin changes as more target labels become available.
The continual-learning schedule is also less directly tested than the finished system. The paper describes joint training with earlier tasks as a way to reduce forgetting, but gives no comparison with training on successive tasks alone. It does not vary the order in which tasks arrive, remove earlier tasks from later phases, or score the original intermediate tasks after each addition. The downstream improvements establish that the final checkpoint was useful. Establishing that old skills survived a particular sequence of updates would require measurements of those skills along the way.
Limitations
Scope the authors state
The authors frame the direct evidence around BERT-family starting points. They apply the procedure to BERT and ALBERT and propose that other related systems could use it. This makes the portability claim concrete for the two tested families. The broader claim remains a proposal. The paper names SpanBERT as a possible starting point but does not report a post-trained SpanBERT counterpart to the results it lists for the original.
The authors also state that their standard source mixture uses CoQA, SNLI, and YELP. They choose these datasets for breadth across tasks and describe the procedure as able to accommodate further data, including data from a particular domain. The SearchQA result demonstrates one extension of the mixture. The paper leaves the broader choice of transfer sources open and mentions sources from outside the tested language tasks as a direction for future work.
Limited target supervision is central to the motivation. The authors argue that direct fine-tuning can be brittle in that setting, and they present their method as a way to supply useful supervision earlier. They also describe domain vocabulary as a reason why general pretraining may leave work for later stages. Their own discussion identifies a target area where improvement was modest, since CoLA benefited much less than several of the semantic tasks. These statements give boundaries to the proposed mechanism even though the paper expresses the overall benefits broadly.
Limits visible in the setup
The strongest evidence concerns benchmark scores after one complete intermediate training procedure. Mechanistic claims require different observations. For example, the authors say that the additional supervision could reduce bias in the training data and help the system generalize through regularization. The experiments provide no dedicated bias metric, subgroup breakdown, or comparison that isolates a regularization effect. The improved scores are therefore evidence that the tested training route helped with the reported tasks. They give no direct measure of how bias changed or whether regularization caused the improvement.
The claims about efficiency and forgetting have a similar evidential gap. Smaller sub-batches can be used within the described update procedure, but the paper gives no empirical comparison of runtime, memory use, or total computation. Reusing earlier tasks during subsequent phases gives a reason to expect better retention. It is still possible for performance on a previous task to decline during joint training. Without intermediate evaluations on the original tasks or a sequential control, the evidence cannot quantify retention or establish a guarantee.
The comparisons reveal too little about optimization to reconstruct the complete experiment from the method description. The paper identifies the data sources and the broad training sequence. It leaves open the numerical iteration budget, the allocation across phases, the way batches are chosen from the mixture, and the details of loss weighting. Gradient accumulation is described without a sub-batch count or a normalization rule. The authors report that they released code and checkpoints, while the article’s method description itself establishes a procedure at the level of training organization.
Uncertainty around the reported scores also varies by comparison. For GLUE and SuperGLUE development data, the paper reports medians over three runs. A median gives a central result but does not show the range or dispersion. The paper uses strong language about improvements, yet provides no statistical test for the contrasts discussed here. The consistently positive changes in several tasks are observations worth distinguishing from individual small effects, such as the additional 0.1 EM on SQuAD 1.1 development data after SearchQA. The single displayed number for each condition gives little basis for deciding how sensitive that small difference is to another run.
Some of the scarcity and domain-adaptation claims are hard to assess from the reported experiments. The paper gives no detailed reduced-data protocol and no FiQA result to substantiate the proposed financial applications. Improvements on small benchmark training sets provide relevant evidence for transfer with limited data, but those tasks differ from larger ones in more than their size. Similarly, using general sources to improve reading and inference does not establish successful adaptation to the specialized vocabulary that motivates the financial example.
Care is also needed with task names and split boundaries. The introduction associates its example of 634 training items with Winograd Schema in the discussion of GLUE. In the benchmark results, WSC is listed under SuperGLUE and is absent from the paper’s GLUE table. The count can be read as the paper’s illustration of label scarcity without using it to place WSC in the wrong results suite. Development and test scores likewise answer distinct questions. SQuAD’s strongest results in the paper are development figures, and the GLUE test improvement has its own separately reported aggregate.
Finally, human references and claims about leading scores are bounded by their comparisons. The human aggregates place the benchmark results in context. They do not measure how people and systems compare across other language tasks or conditions. The PPALBERT reading results lead the baselines shown in the paper, some of which have missing entries. The most informative claims identify the benchmark, split where specified, metric where named, and systems actually compared.
What came after
The later citation record covers several questions raised by PPBERT, including where task supervision should enter, how to adapt representations to a specialized domain, and how to tell which abilities a benchmark rewards. The titles identify the problems those works take up. They do not establish that any given work used PPBERT’s checkpoints, repeated its training schedule, or attributed a measured effect to it.
Task information at different stages
PPBERT provides information about a task through labeled examples that change the parameters before final fine-tuning. GPT-RE takes up relation extraction through in-context learning. Relation extraction is an information extraction task concerned with identifying a relationship expressed in text. The comparison with PPBERT is about how task information reaches the system. The PPBERT intervention is a training stage for a shared checkpoint. GPT-RE’s title locates its approach in the context used for a relation-extraction decision. The citation connects these different approaches to supplying information about a task. GPT-RE
A later study asks whether English prompts work better than target-language prompts for inference-based zero-shot emotion classification. Its title reports an advantage for English prompts in that setting. PPBERT uses inference supervision from SNLI to shape parameters that can later be adapted to other targets. In the later work, the connection between inference and another task is examined through the language of the prompt and a zero-shot setup. The point of contact is the transferability of an inference formulation. The intervention named by the later study concerns how the decision is expressed to the system. English Prompts for NLI-Based Zero-Shot Emotion Classification
FLUTE connects figurative language understanding to textual explanations. This is another way to examine the form of information supplied for a semantic task. PPBERT’s main mixture gives several kinds of supervised practice, while FLUTE foregrounds explanations attached to figurative meaning. The title supports that connection at the level of the task and the information used to approach it. It supplies no basis for treating the explanations as a reproduction of PPBERT’s intermediate task mixture. FLUTE
Domain and benchmark design
The financial example in PPBERT motivates adaptation when the vocabulary or subject matter of a target differs from that of general training text. AliBERT addresses a different specialized domain through pretraining for French biomedical text. The citation links an intermediate adaptation proposal with a work whose title places the domain in pretraining itself. These are two points where the choice of text can shape what a system brings to its eventual task. The AliBERT title specifies its language, domain, and pretraining emphasis. It does not identify a PPBERT-style phase. AliBERT
FinNLI brings domain specialization and inference together in the design of a multi-genre financial benchmark. This combination is particularly close to the motivating examples in PPBERT. The earlier paper points to finance as a domain where general text may offer incomplete preparation, and it uses inference as a source of transferable supervision. FinNLI’s stated contribution is to define a dataset for evaluating inference across financial genres. That gives the domain question a more specific target, while the citation alone leaves open which training techniques were used in the benchmark experiments. FinNLI
SuperCLUE addresses evaluation and benchmarks by presenting a comprehensive Chinese benchmark. Its connection to PPBERT is at the level of evaluation scope. GLUE and SuperGLUE let the earlier paper compare changes across a collection of language understanding tasks. SuperCLUE takes up broad evaluation in Chinese. The entry identifies its intended breadth and language, but gives no evidence of a Chinese replication of the intermediate training method. SuperCLUE
Looking more closely at judgments about grammar
The modest CoLA result raises a question that the PPBERT scores alone cannot settle. A benchmark asks for an acceptability judgment, but a score cannot reveal all the information a system used to make it. A later study revisits frequency and length as possible influences on these judgments. Its title locates the contribution in examining what goes into an acceptability decision. That question complements the PPBERT comparison, where the reader can see how much a composite training intervention changed the score but cannot tell which features guided individual judgments. What Goes Into a LM Acceptability Judgment?
Work on child-directed speech examines a different candidate source for learning syntax. Its title reports that child-directed language does not consistently improve syntax learning. PPBERT’s CoLA result concerns an intermediate mixture aimed primarily at semantic tasks. The later work asks about the grammatical benefits of changing the kind of language a system learns from. The shared question is how specifically a training source must match the ability being evaluated. The citation does not equate the data, the training procedures, or the measures used in the two studies. Child-Directed Language and Syntax Learning
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Language models & pretraining · 4,145 works
Cite
Cite as Liu Zhuang, Lin Wayne, Shi Ya and Zhao Jun. 2021. A Robustly Optimized BERT Pre-training Approach with Post-training. Proceedings of the 20th Chinese National Conference on Computational Linguistics.
@inproceedings{zhuang2021robustly,
title = {{A Robustly Optimized BERT Pre-training Approach with Post-training}},
author = {Liu Zhuang, Lin Wayne, Shi Ya and Zhao Jun},
booktitle = {Proceedings of the 20th Chinese National Conference on Computational Linguistics},
year = {2021},
doi = {10.1007/978-3-030-84186-7\_31},
url = {https://doi.org/10.1007/978-3-030-84186-7_31}
}References
- Samuel R. Bowman, Ellie Pavlick, and Edouard Grave. 2018. Looking for elmo’s friends: Sentence-level pre-training beyond language modeling. CoRR, abs/1812.10860. — arXiv:1812.10860 OpenAlex ↗ · Scholar ↗
- Zhiyuan Chen and Bing Liu. 2018. Lifelong Machine Learning, Second Edition. Synthesis Lectures on Artificial Intelligence and Machine Learning. Morgan & Claypool Publishers. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association…
- Ming Hou, Xinqi Chen, Shifeng Huang, Shengli Xie, and Guoxu Zhou. 2020. Generalizing deep multi-task learning with heterogeneous structured networks. In In Proceedings of ICLR. OpenAlex ↗ · Scholar ↗
- Mandar Joshi, Eunsol Choi, Daniel S. Weld, and Luke Zettlemoyer. 2017. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In Regina Barzilay and Min-Yen Kan, editors, Proceedings Proceedings of the 20th China National Conference on Computational Linguistics, pa…
- Mandar Joshi, Danqi Chen, Yinhan Liu, Daniel S. Weld, Luke Zettlemoyer, and Omer Levy. 2019. Spanbert: Improving pre-training by representing and predicting spans. CoRR, abs/1907.10529.
- Guokun Lai, Qizhe Xie, Hanxiao Liu, Yiming Yang, and Eduard H. Hovy. 2017. RACE: large-scale reading comprehension dataset from examinations. In Martha Palmer, Rebecca Hwa, and Sebastian Riedel, editors, Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, EMNLP 20…
- Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2020. ALBERT: A lite BERT for self-supervised learning of language representations.
- Hector J. Levesque, Ernest Davis, and Leora Morgenstern. 2012. The winograd schema challenge. OpenAlex ↗ · Scholar ↗
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized BERT pretraining approach. CoRR, abs/1907.11692.
- Xiaodong Liu, Yu Wang, Jianshu Ji, Hao Cheng, Xueyun Zhu, Emmanuel Awa, Pengcheng He, Weizhu Chen, Hoifung Poon, Guihong Cao, and Jianfeng Gao. 2020a. The microsoft toolkit of multi-task deep neural networks for natural language understanding. In Asli Celikyilmaz and Tsung-Hsien Wen, editors, Procee…
- Zhuang Liu, Degen Huang, Kaiyu Huang, Zhuang Li, and Jun Zhao. 2020b. Finbert: A pre-trained financial language representation model for financial text mining. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI 2020, January 5-10, 2021, Yokohama, Japa… OpenAlex ↗ · Scholar ↗
- Zhuang Liu, Kaiyu Huang, Degen Huang, Zhuang Liu, and Jun Zhao. 2020c. Dual head-wise coattention network for machine comprehension with multiple-choice questions. In Mathieu d’Aquin, Stefan Dietze, Claudia Hauff, Edward Curry, and Philippe Cudré-Mauroux, editors, CIKM ’20: The 29th ACM Internation… OpenAlex ↗ · Scholar ↗
- Macedo Maia, Siegfried Handschuh, Andre Freitas, Brian Davis, Ross Mcdermott, Manel Zarrouk, Alexandra Balahur, and Ross Mc-Dermott, editors. 2018. In Proceedings of WWW. ACM. OpenAlex ↗ · Scholar ↗
- L Yasuhito Ohsugi, Itsumi Saito, Kyosuke Nishida, Hisako Asano, and Junji Tomita. 2019. A simple but effective method to incorporate multi-turn context with BERT for conversational machine comprehension. CoRR, abs/1905.12848. OpenAlex ↗ · Scholar ↗
- CC German Ignacio Parisi, Ronald Kemker, Jose L. Part, Christopher Kanan, and Stefan Wermter. 2019. Continual lifelong learning with neural networks: A review. Neural Networks, 113:54–71.
- Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations. In Marilyn A. Walker, Heng Ji, and Amanda Stent, editors, Proceedings of the 2018 Conference of the North American Chapter of the Associati…
- Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. 2018. Improving language understanding by generative pre-training. In Proceedings of Technical report, OpenAI. OpenAlex ↗ · Scholar ↗
- Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100, 000+ questions for machine comprehension of text. In Jian Su, Xavier Carreras, and Kevin Duh, editors, Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, Texa…
- Pranav Rajpurkar, Robin Jia, and Percy Liang. 2018. Know what you don’t know: Unanswerable questions for squad. In Iryna Gurevych and Yusuke Miyao, editors, Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia, July 15-20, 2018, Volu…
- Siva Reddy, Danqi Chen, and Christopher D. Manning. 2019. Coqa: A conversational question answering challenge. Trans. Assoc. Comput. Linguistics, 7:249–266.
- Proceedings of the 20th China National Conference on Computational Linguistics, pages 1218-1227, Hohhot, China, Augest 13 - 15, 2021. (c) Technical Committee on Computational Linguistics, Chinese Information Processing Society of China Yu Sun, Shuohuan Wang, and Yu-Kun Li. 2019. ERNIE: enhanced repr…
- Adam Trischler, Tong Wang, Xingdi Yuan, Justin Harris, Alessandro Sordoni, Philip Bachman, and Kaheer Suleman. 2017. Newsqa: A machine comprehension dataset. Proc. of the 2ndWorkshop on Representation Learning for NLP.
- Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. 2019a. Superglue: A stickier benchmark for general-purpose language understanding systems. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc, Emily…
- Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. 2019b. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenRevi…
- Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W. Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. 2018. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Ellen Riloff, David Chiang, Julia Hockenmaier, and Jun’ichi Tsujii, editors, Proceedings of the…
- Wei Yang, Yuqing Xie, Aileen Lin, Xingyu Li, Luchen Tan, Kun Xiong, Ming Li, and Jimmy Lin. 2019a. End-to-end open-domain question answering with bertserini. In Waleed Ammar, Annie Louis, and Nasrin Mostafazadeh, editors, Proceedings of the 2019 Conference of the North American Chapter of the Associ…
- CC L Zhilin Yang, Zihang Dai, Yiming Yang, Jaime G. Carbonell, Ruslan Salakhutdinov, and Quoc V. Le. 2019b. Xlnet: Generalized autoregressive pretraining for language understanding. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc, Emily B. Fox, and Roman Garnett, edito…
- Proceedings of the 20th China National Conference on Computational Linguistics, pages 1218-1227, Hohhot, China, Augest 13 - 15, 2021. (c) Technical Committee on Computational Linguistics, Chinese Information Processing Society of China OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/zhuang-2021-robustly-optimized-bert-pre-training/