Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers
Paper · 2020 · Zhuohan Li, Eric Wallace, Sheng Shen et al.
Summary
A Transformer that takes longer to make each training update can still reach a useful level of accuracy sooner. The authors study this possibility under a fixed hardware and time budget, where choosing a network is also a choice about how long to train it. Their proposal is to spend more of the budget on the work done in each update and stop while the larger network is still improving. They test that proposal on two tasks with abundant training data, using the Transformer architecture.
In the first task, the network learns to predict missing tokens in text. In the second, it learns to translate English into French. Wider and deeper networks generally need fewer updates to reach a given level of performance. Over much of the range tested, the reduction in updates more than pays for the extra time each update takes. The largest translation configuration shows where the advantage can end. Its extra width improves progress per update, but the hardware takes long enough to process those updates that a narrower configuration learns faster by the clock. Reducing the amount of pretraining data also weakens the advantage of size.
The network that learns fastest can be costly to run after training. The authors address that problem by adapting pretrained RoBERTa checkpoints to sentence inference and sentiment classification, then reducing the cost of storing their weights. Quantization gives each weight fewer bits. Pruning sets a share of the weights to zero, so a sparse representation can omit them. Under comparable storage constraints, a larger starting network with more aggressive compression typically retains higher accuracy than a smaller one with gentler compression. The authors also find a benefit from combining the two operations.
The training and deployment comparisons answer different questions. Training speed is assessed through elapsed-time estimates backed by per-update timing, alongside selected comparisons that count arithmetic operations. Deployment efficiency is assessed through weight storage or the count of weights left after pruning. The evidence supports choosing the training network and the deployed network separately. A configuration can be worth training even when its original weights would be too costly to serve, provided the compressed version preserves the task accuracy that made the larger configuration attractive.
Deep dive: Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers
Train Large, Then Compress shows how wider and deeper Transformers can learn faster under a time budget and retain accuracy after compression. · about 31 minutes to read
The problem and its context
A training budget changes what it means to learn quickly
The paper starts with a practical constraint. A researcher has a fixed amount of hardware and a limited time in which to use it. Within that limit, the goal is to obtain the strongest predictor possible. Choosing a network that is cheap to update seems sensible if every candidate will be trained until its learning curve levels off. That assumption makes the total cost of finishing a run loom large. A deadline changes the comparison. Each candidate can be judged by what it has learned when the budget runs out, even if its curve would keep improving with additional training.
Size affects both sides of that comparison. A Transformer has a stack of layers, and each layer works with internal representations of a chosen width. Adding layers makes the stack deeper. Increasing the hidden size makes those representations wider. Both changes can increase the number of trainable parameters, the values adjusted as the network learns. More parameters can make a gradient update take longer. The update can also bring the network closer to an acceptable prediction error. The paper asks which of these effects matters more over the course of an actual run.
An update incorporates information from a batch, a group of training examples processed together. Training speed can therefore be discussed in several units. A curve indexed by updates shows how quickly the optimizer makes progress each time it changes the weights. A curve indexed by floating-point operations accounts for the amount of arithmetic. A curve indexed by elapsed time also reflects how a particular machine executes that arithmetic. Two networks can rank differently under these measures. More operations can run in parallel, for instance, while work across successive layers has dependencies that limit when it can start.
The question is most pressing when there is plenty of data and additional training can still improve performance. Self-supervised learning creates prediction targets from the text itself, so an unlabeled collection can support a large training run. A high-resource translation task offers a different setting with many paired examples and a direct prediction objective. For both, the authors frame the immediate problem as how to use the available computation. Later in the paper they reduce the amount of pretraining text, which lets them examine where the abundance of data matters. The pretraining setting follows work on BERT and RoBERTa.
Training and serving impose different costs
The size decision has a second consequence. Training produces weights that an application will keep using at inference, when the network makes predictions on new inputs. A larger dense network usually brings more weights to store and more work to do for each prediction. That expense can matter even if the training run finished quickly, since a deployed system may make predictions repeatedly. The authors treat training time and serving cost as separate constraints and ask whether changing the weight representation after training can satisfy both.
The compression techniques available to them already offered two ways to change that representation. Lower precision makes each stored value cheaper. Sparsity makes some values unnecessary to store explicitly. Both can have effects beyond storage. Reduced-precision arithmetic can run faster on hardware that supports it, and sparse execution can skip work associated with omitted entries. Those gains depend on the implementation and machine. This distinction gives the paper a manageable comparison: training progress can be evaluated against time, while compressed predictors can be evaluated against the resources needed to represent their parameters.
Another route to a smaller predictor is distillation, in which a smaller network learns from a larger teacher. The authors cite examples where distillation adds computation or sacrifices accuracy, and choose compression procedures that can be applied quickly after task adaptation. That choice follows from the question they are asking. An expensive compression stage could spend the time saved during pretraining. A useful comparison of the whole strategy has to account for the stages between the end of pretraining and the predictor that will serve a task. The paper places distillation in this context through earlier work including DistilBERT.
How earlier work approached efficiency
The authors place their experiment alongside research that changes how training proceeds. Optimizers alter the way gradients become updates. Learning-rate schedules change the size of updates over the course of a run. Other approaches redesign the loss, make the network sparse from the start, change its structure, or reduce the intermediate information that back-propagation must keep in memory. The present study varies width and depth within an established architecture. It asks how far a size decision can take a researcher starting with a working training recipe. Earlier examples of improvements to the recipe include Adam and SGDR.
Work on distributed training addresses a different resource decision. With substantial hardware available, a researcher can spread a run across devices and try to reduce communication, synchronize workers efficiently, or raise the amount of data processed together. The authors instead ask which network makes the best use of a given hardware allocation. The distinction matters because a change that pays off when work is distributed can have a different cost when the same work has to be done in sequence on a single device. The related work includes Accurate, Large Minibatch SGD.
Several studies had already made size part of the efficiency question. The authors describe earlier text-to-text work as showing that a 4x larger Transformer could make productive use of 4x the compute. They also describe experiments on recurrent networks that compared how many updates different sizes needed. Those comparisons leave room for a direct question about the clock: can a larger network reach the same target sooner once the slower updates are accounted for? The concurrent work the authors discuss on neural language scaling takes up a related question about large networks trained for fewer updates. This paper extends the comparison to translation and follows pretrained checkpoints through task adaptation and compression. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer · Scaling Laws for Neural Language Models
The method, step by step
Build a family of Transformers and measure progress
The procedure begins with a choice of training task and a set of network sizes. Train candidates from that family, record their learning curves, and attach a time cost to each update. The resulting curves show what each network can achieve at the same point in a time budget. For the compression part of the study, take pretrained checkpoints obtained under a common time allowance, adapt them to a labeled task, and vary the way their weights are represented. Compare the resulting task accuracy at similar storage costs.
A checkpoint is a saved state from a training run. It lets the authors use the weights available at a budget boundary and, in a separate control, compare the weights available when different runs achieve similar pretraining quality. These are distinct ways to choose a checkpoint. A shared time boundary asks what each run can deliver for the same pretraining expenditure. A shared quality target asks whether the amount learned on the pretraining objective transfers similarly across sizes. The compression study starts task adaptation from the equal-time checkpoints. That adaptation is known as fine-tuning.
Training and compressing a Transformer for downstream prediction
The steps in order.
The compression branch concerns the pretrained RoBERTa family. The translation runs test the training side of the argument by following validation performance as width, depth, and training cost change. The comparison within each task uses its own quality measure. That allows the authors to test whether the relation between size and training progress appears in distinct settings without equating translation scores with masked-token prediction scores.
Set up masked-token prediction and translation
For pretraining, the authors use masked language modeling, a self-supervised task in which some tokens are hidden and the network learns to predict them from the surrounding text. A token is a unit of text that the network can represent and predict. Each masked position supplies a target directly from the original sequence. The setup makes it possible to measure learning on a held-out portion of the same text collection before moving to a labeled task. It is an example of language model pretraining.
The implementation follows RoBERTa with a change to the placement of layer normalization, an operation that regulates the scale of the representations passed through the network. The authors move normalization to the input of each sublayer, a layout called pre-norm. They describe the change as helping training stability and slightly improving results. The standard input sequence length in their runs is 128, and the usual batch size is 8192. They explore depths of 3, 6, 12, 18, and 24 layers. The hidden sizes explored are 256, 512, 768, 1024, and 1536. Having both axes lets them examine the effect of adding parameters and the effect of putting those parameters in different parts of the architecture.
The original RoBERTa training collection was unavailable to the authors. They follow the broad data recipe used by BERT by combining a Wikipedia dump with book text. Since the original BookCorpus was also unavailable, they collect the book material by crawling Smashwords. The resulting collection contains approximately 3.4 billion words. A random 0.5% is held out for validation, leaving that text outside the updates whose progress it measures. The metric on that split is masked language modeling perplexity. It falls as the predictor assigns better probabilities to the hidden tokens. The book collection follows the source associated with BookCorpus.
For translation, the input and target are paired sentences, and the task is to produce French from English. The authors follow the standard Transformer translation setup and hyper-parameters while changing the architecture's size. They consider depths of 2, 6, and 8 and hidden sizes of 128, 256, 512, 1024, and 2048. They use WMT14 English-to-French, with 36M sentences for training. They follow progress on newstest2013 and designate newstest2014 as the test split. This keeps the repeatedly monitored validation set separate from the test set used by the standard machine translation setup.
Translation quality is measured by the overlap of candidate text with reference translations. The authors use tokenized, case-sensitive scoring with compound splitting, following the practice of the earlier Transformer work. These choices determine how the text is prepared before overlap is counted and whether capitalization affects matching. The learning curves discussed for translation use this version of the BLEU score.
Measure the cost of an update
The timing procedure gives the comparison a common hardware reference. The training itself runs on both v3-8 TPUs and 8xV100 GPUs. A run measured where it happened to execute could reflect differences between machines or differences in what else they were doing. The authors therefore benchmark each configuration on one NVIDIA 16GB V100 GPU. After the duration of an update stabilizes, they average the time over 100 steps. That measured cost, together with the step count along a learning curve, gives the corresponding training-duration estimate.
Gradient accumulation lets a configuration process an effective batch too large to fit in device memory. The batch is handled in smaller pieces. The gradients from those pieces are gathered before the optimizer applies a weight update. Each piece only needs to fit while it is being processed, and the full update still uses the accumulated gradient. The procedure increases the work needed for an update when many pieces are required. To give smaller configurations the benefit of their lower memory requirements, the authors use the largest piece that fits. A smaller network can then process more of the intended batch at once and use fewer accumulation steps.
The software follows the established recipe for each task. The translation code uses Tensor2Tensor. The RoBERTa runs use fairseq. The appendix recomputes selected curves in floating-point operations, or FLOPs, using the counting code from the work on ELECTRA. This companion measure accounts for the arithmetic required by different configurations. The elapsed-time estimates capture a second consideration, how quickly that work can actually be carried out on the benchmark device.
Adapt the pretrained checkpoints to a task
For the compression experiments, the authors give each pretraining configuration an allowance of 1,000,000 seconds. A larger network usually performs fewer updates within this time. Selecting the checkpoints this way makes the elapsed-time allowance a shared input to the compression comparison. Any difference in downstream accuracy can then reflect both the kind of representation the network learned within the budget and how well the weights withstand compression. The paper uses a separate checkpoint comparison to investigate the influence of pretraining progress itself.
Each checkpoint is adapted to MNLI or SST-2. MNLI is a sentence inference task. Given a pair of sentences, the predictor identifies their relationship. SST-2 is a sentiment task in which the predictor classifies the sentiment expressed by the input text. Accuracy measures the share of predictions that match the expected labels. The authors choose these tasks because their measured accuracies were less variable than those of the other GLUE tasks they considered. MNLI · SST-2 · GLUE
For SST-2, the appendix describes additional tuning because its training set is smaller than MNLI's. The batch-size options are 16, 32, and 64. The learning-rate options are 5e-4, 3e-4, and 1e-4. The authors also try random seeds of 100, 300, and 500, which control how the classifier is initialized and how the training examples are shuffled. They consider dropout values of 0.1, 0.2, and 0.3. Dropout changes the amount of random suppression of activations used during training. The validation set guides the choice of settings for each network size before compression.
Quantize weights onto a uniform grid
Quantization replaces each trained weight with a value from a finite set. The authors apply it to every parameter, including the embedding matrix that supplies vector representations for input tokens. The intermediate values computed from an input, called activations, stay at full precision. The compression is thus applied to the stored weights. The precision settings they examine are 4, 6, 8, and 32 bits. This pass takes place after fine-tuning and requires no further training.
The grid is uniform. Adjacent representable weight values are equally far apart. The number of bits determines how many positions on the grid can be encoded. The calculation starts by bringing every weight into the intended interval. It then identifies the nearest grid position and uses that position to recover the value that will stand for the original weight.
W′ = Clamp(W, q₀, q₂ᵏ₋₁)
Here W is the original collection of weights and W′ is the collection after clipping. Clamp applies the lower boundary q₀ and the upper boundary q₂ᵏ₋₁ to each weight. A value within the interval stays as it is, and a value outside is replaced by the nearer endpoint. The k in the upper endpoint's index is the number of bits used for each integer code. The subscript corresponds to the last code on the grid.
Δ = (q₂ᵏ₋₁ − q₀) / (2ᵏ − 1)
The step size Δ is the distance between adjacent grid points. The numerator is the difference between the upper and lower endpoints. The denominator is the number of intervals between the first and last codes. The expression 2ᵏ means that 2 is raised to the precision k. Subtracting 1 gives the upper index for a sequence of codes beginning at 0. The slash denotes division.
Wᴵ = ⌊(W′ − q₀) / Δ⌉
Wᴵ holds the integer grid indices, with I marking the integer representation. For each clipped weight W′, subtracting q₀ gives its distance above the lower endpoint. Dividing by Δ expresses that distance in grid steps. The brackets ⌊ ⌉ represent rounding to the nearest integer. The resulting indices can be stored as unsigned values.
Quantize(W) = Δ Wᴵ + q₀
Quantize(W) is the resulting collection of grid values standing in for the original weights W. Multiplying each integer index in Wᴵ by Δ converts it into a distance on the grid. Adding q₀ places that value back in the original coordinate range. The stored index and the reconstructed weight express the same grid position in different forms. That distinction explains how an index can use fewer bits while representing a weight that still takes a fractional value.
Prune by magnitude and check recovery
The second operation is iterative magnitude pruning. A weight's magnitude is its absolute value. The authors begin by finding the smallest-magnitude 15% of weights and setting them to zero. Magnitude provides a simple ordering for selecting which entries to remove. Task accuracy is checked afterwards because that ordering alone cannot show how the changes will affect predictions. The remaining weights can be adjusted through another period of fine-tuning.
Recovery training uses the downstream validation set as a stopping guide. After each pruning pass, fine-tuning continues until the predictor reaches within 99.5% of its original validation accuracy or completes one training epoch, whichever comes first. An epoch is a pass through the training set. The procedure then moves on to another pruning stage, or stops when it has reached the requested sparsity. The reported sparsity settings are 15%, 30%, 45%, 60%, 75%, and 90%. Sparsity is the share of weight entries set to zero.
Pruning and quantization can also be used on the same checkpoint. In that case, the authors first prune to a chosen sparsity and do the corresponding recovery training. They then quantize the resulting weights. The operations act on separate parts of the storage problem. The sparse representation needs to record the remaining entries and where they belong, while quantization reduces the precision of the values associated with those entries. The paper compares the resulting accuracy and storage across the tested combinations.
Experiments and results
The training curves distinguish update speed from learning speed
For masked-token prediction, the learning curves track perplexity on the held-out 0.5% of the approximately 3.4 billion-word collection. Shallow or narrow configurations serve as the baselines for deeper or wider versions trained on the same task. More layers improve progress when the horizontal axis counts gradient steps. The width comparison shows an advantage for wider networks on both the update axis and the wall-clock axis. At a target perplexity reached by more than one curve, the wider configuration can incur a higher cost for each update and still reach the target sooner.
The paper describes parameter count as the stronger predictor of masked-token learning speed across the tested designs. Width and depth are both useful ways to increase it. The corresponding translation comparison gives width a clearer advantage in eventual quality than depth. On WMT14 English-to-French, the curves track BLEU on newstest2013, with newstest2014 reserved for testing under the standard setup. The results on the validation set establish the training-speed comparison. They show how translation quality develops during the run for each architecture size.
The most informative translation exception is the comparison between 6L, 2048H and 6L, 1024H, where L denotes layers and H denotes hidden size. The wider of these configurations makes quicker progress across gradient updates. The narrower one advances faster when the horizontal axis accounts for the time required to perform those updates. The authors report diminishing returns at the high end of the RoBERTa comparisons as well. The result is an observed range in which increasing size improves training speed and a high end at which further increases can cease to pay off.
The appendix also plots selected RoBERTa curves against the amount of floating-point arithmetic performed. Over those comparisons, a larger configuration can attain better masked-token prediction performance for the same operation count. This supports the elapsed-time result with a different measure of cost. The operation count captures more of the cost of widening or deepening a network than update count does, while the elapsed-time estimate also reflects how that work is scheduled and executed.
Similar pretraining quality transfers across sizes
One test asks whether a large network that reaches a target pretraining perplexity quickly can use that advantage on a labeled task. The authors select checkpoints at approximately the same masked-token perplexity and fine-tune them on MNLI and SST-2. The larger configurations have generally taken less pretraining time to get to that point. The resulting downstream accuracies are comparable across sizes, and the larger versions often come out ahead. For these tasks, pretraining sooner to a given quality therefore remains valuable after task adaptation.
The checkpoint rule is important to interpreting this result. Equal perplexity gives the comparison a common starting quality on the task used before fine-tuning. A separate result would be obtained by allowing each candidate to pretrain for the same duration and then comparing its downstream accuracy. That is the starting point of the compression experiment. The two comparisons together connect training speed with eventual usefulness and show what compressed predictors can deliver after spending the same pretraining time.
At similar storage costs, larger starting points usually retain more accuracy
The quantization experiment compares smaller networks at higher precision with larger networks at lower precision, as well as comparing precisions within each network size. The full-precision fine-tuned predictor supplies the reference for judging accuracy loss. For MNLI, the larger starting configurations typically lose less accuracy as precision falls. At almost all of the memory budgets in the quantization comparison, a configuration that starts large and uses more aggressive quantization achieves the highest accuracy. The SST-2 appendix shows the same general ordering across most of the budgets tested there.
The precision settings are exact experimental quantities. They specify the nominal bits per weight, before accounting for how many weights the network has or how it is represented. The smallest setting shown here is the lowest precision included in the reported comparison. The authors observed severe accuracy loss when trying lower precision.
RoBERTa quantization settings for MNLI by bits per weight
The lowest tested precision has the smallest nominal storage cost per weight.
The numbers
| System or setting | bits per weight |
|---|---|
| Full precision | 32 |
| Uniform quantization | 8 |
| Uniform quantization | 6 |
| Lowest reported precision (this paper) | 4 |
The chart shows the cost controlled by the quantization setting. The accuracy comparison in the paper comes from placing each network's accuracy alongside its overall parameter memory. A low bits-per-weight setting can make a network cheaper to represent at the same parameter count. At a shared memory budget it can also make room for a network with more parameters. The finding concerns the latter possibility. A larger initial parameter count is valuable when the extra capacity lets the predictor absorb the loss in numerical precision and still preserve its lead in task accuracy.
For pruning, the comparison uses the number of non-zero parameters as the cost measure. A figure for MNLI follows accuracy over the reported range from 15% to 90% sparsity. The larger configurations withstand removal of a greater share of the weights with a smaller effect on accuracy. The relative ordering can also depend on architecture shape. The 24 Layer, 768H configuration performs better at most of the pruning budgets than the 12 Layer, 1536H configuration. This is evidence about retention of task accuracy under pruning, a different criterion from speed of learning on the pretraining task.
The recovery work is part of the pruning cost. On MNLI, the authors report that reaching 45% sparsity can take one or two additional fine-tuning epochs. Across pruning stages, recovery is frequently much quicker than the allowed epoch. In some cases, accuracy already meets the 99.5% validation threshold and the stage needs no recovery training. The result shows why the authors regard iterative pruning as compatible with their aim of preserving the training-time advantage. The extra work is tied to short runs on the downstream task, with a direct check on the accuracy lost.
When they combine the methods, the authors examine configurations at or near the Pareto frontier. A setting belongs on that frontier when another tested setting cannot improve accuracy without using more storage, or reduce storage without giving up accuracy. The combined experiment still favors large starting networks under aggressive compression. The paper highlights pruning 30-40% of weights and then storing weights at 6-8 bits as a particularly strong combination. On SST-2, the appendix reports the same broad benefit across quantization, pruning, and their combination. The principal evidence is the ordering of the accuracy and cost curves for the tested settings.
What the ablations show
Additional capacity and additional batch data affect the clock differently
The size comparisons change the architecture while retaining the task and the general optimization recipe. Their immediate result is that both width and depth can improve masked-token prediction more quickly across updates. The authors examine shape because parameter count can be increased in different ways. For RoBERTa, they find that the learning curves depend relatively weakly on how size is split between depth and width. On translation, width is a more effective route to final quality in the comparisons they discuss. The importance of shape can thus change with the task and with the point on the learning curve used for the comparison.
The batch-size experiment varies a different resource. It keeps the network at 12 layers and a hidden size of 768H, then raises the batch size and adjusts the learning rate. A larger batch lets an optimizer use more examples when estimating the direction of an update. This can reduce the number of updates needed to reach an early quality target. On the reference machine, using larger batches also requires greater accumulation once the batch no longer fits. The experiment asks whether additional computation between weight updates buys as much learning progress as it does when used to increase the network's size.
On the gradient-step axis, larger batches help. On the time axis, the curves show little benefit from increasing batch size in the range 2048–16384. The appendix also includes a batch size of 256, whose run falls far behind in the step-based comparison. The authors interpret the flattening of the elapsed-time benefit in terms of a critical batch-size region. Once a batch is large enough, providing more examples per update yields limited speed gains under the tested hardware conditions. Tuning the learning rate remains part of the batch-size change. In the size runs, the authors obtain useful gains without a corresponding change to the training hyper-parameters.
The comparison isolates two decisions a researcher can make when there is some ability to do more arithmetic each time the weights change. Additional batch data can make the gradient estimate more useful. Additional capacity can change how much the network can learn from the update. A step count can make both choices look attractive. The benchmark timing distinguishes them in the tested range because it includes the cost of processing the data and computing the gradients before the next update can happen.
The size advantage depends on how much text is available
The authors reduce the original pretraining collection by random sub-sampling, training on 5% and on 1% of the data. This changes the amount of unique text available while retaining the task of predicting masked tokens. The comparison uses the same distinction between optimization and generalization that motivates the main experiment. Training error describes the examples used for updates. Held-out perplexity describes how well the network predicts missing tokens in text outside those updates. When the training collection is large, the paper finds a small gap between progress on the two.
At 5% of the original data, the wall-clock gain from the largest configurations fades. The comparison between the 12 layer and 24 layer RoBERTa versions shows similar training speed in terms of held-out performance. At 1%, the largest configurations have worse validation perplexity, which the authors attribute to overfitting. The training process can use the extra capacity to fit the observed examples without achieving a corresponding improvement on unseen text. At that same smaller data size, the 12 layer version still does better than the 3 layer version. The evidence points to a change in the useful range of sizes as the text collection shrinks.
This helps explain the evidence from the full corpus. For the tasks at the center of the paper, larger networks reduce training error quickly, and the abundant data lets that progress carry over to held-out performance. When the data is reduced enough, the second part of that account weakens. A training solution can be found quickly while offering less predictive benefit. The relevant speed for choosing a network under budget is therefore progress on held-out data. The most useful size can move even if the architecture family and the training objective stay the same.
Earlier checkpoints do not explain the quantization result
The equal-time compression experiment leaves size and progress toward pretraining convergence connected. A larger configuration can do fewer updates in the available time, so its checkpoint may lie at an earlier point in its own training run. That raises a plausible question about the result. Weights might be easier to quantize because of where training stopped, even if size had little effect of its own.
The authors compare checkpoints from different stages of pretraining, including examples at 3 epochs and 6 epochs. For each configuration, they fine-tune the checkpoints on MNLI and examine the change in accuracy when precision is reduced to 4 bits. The meaningful comparison is the loss from quantization within each checkpoint pair. A later checkpoint could start with better accuracy and still suffer the same loss from rounding its weights. Comparing the loss makes that possibility visible.
The gap between the full-precision and quantized MNLI predictors stays broadly similar as pretraining proceeds within a given size. The difference across sizes is more pronounced. Smaller networks suffer a larger drop when subjected to the same precision change. The result supports size as the stronger explanation for quantization robustness in this setting. Its scope is the tested checkpoints, the downstream task, and the tested precision. The experiment separates a feature of the training schedule from the effect it was suspected of having on compression.
Weight changes are smaller in the deeper configurations
The authors also compare compressed weights with the original weights from the same fine-tuned predictor. They use RoBERTa configurations with 6, 12, and 24 layers, fine-tuned on MNLI. They measure the changes after 4-bit quantization and after pruning to 60% sparsity. They examine these differences across Transformer modules. An example is the projection that forms inputs to self-attention, the part of a layer that computes how positions in a sequence relate to other positions.
For quantization, the deeper configurations have smaller mean and variance of the measured weight differences. The pruning comparison shows the same ordering. Both results move the explanation closer to the values being compressed. For the chosen grid precision, weights of a deeper configuration can be approximated with smaller changes. For the chosen sparsity, the sparse version likewise lies closer to the original weights by the paper's diagnostic. These findings accompany the better retention of accuracy and offer a way to investigate how it arises.
A difference measured in weight space and a difference in task accuracy remain distinct observations. Changing weights by a given amount can have varying consequences depending on which computations use them. The parameter diagnostic shows a regularity across the tested configurations. The classification curves show whether the predictions survive compression. Their agreement motivates the authors' conjecture that greater capacity makes it easier for training to find weights that admit a useful approximation.
The authors connect this observation with the lottery ticket hypothesis, which concerns the chance of finding a favorably initialized subnetwork within a larger network. Their own evidence starts from trained weights and looks at what survives removal. For certain accuracy targets, they find that starting with a larger trained network can yield a smaller surviving subnetwork that still meets the target. That is the relationship their pruning evidence establishes. The behavior of those subnetworks when trained from their original initialization is a different experimental question.
Sharing weights reduces memory and slows learning
The appendix studies a way to reduce parameter storage before training is complete. Layer sharing lets different layers reuse the same weights. The authors test sharing throughout the layer stack and sharing within the attention layers only. The network still carries out computations at the successive positions in depth, while the parameter values used there are tied together. Earlier work gave the authors a reason to consider this design as a way to lower memory use. ALBERT
With batch size 32, sharing all the layers of a RoBERTa configuration reduces total memory use by 41%. Shared weights can also reduce memory movement and communication. In the runs reported here, both forms of sharing make convergence slower. The attention-sharing comparison also shows worse eventual performance. A network can therefore benefit from sharing when measured by the memory required for execution and still offer less learning progress for the available training time.
This control clarifies a decision that the pruning experiments leave open. Tying weights reduces the number of independent parameters during learning. Post-training pruning gives the optimizer access to those parameters while the representation is being learned and removes a share afterward. In the paper's experiments, the freedom to have separate weights while training is valuable enough that the savings from tying them fail to compensate for slower learning. The comparison concerns the specific sharing schemes evaluated here.
Limitations
Limits the authors identify
The authors describe a point beyond which size has diminishing returns. Progress per update improves by less as the networks grow, while the cost of those updates rises as the machine becomes more limited by computation. The WMT14 comparison at the widest end exhibits this interaction directly. The paper also identifies data size as a limit on useful capacity. With less text, faster reduction of the training error can coexist with poor held-out performance. These boundaries make the training result conditional on the task, the available examples, and the hardware used to process them.
The timing setup answers a fixed-hardware question. The authors observe that the cost of accumulating gradients can differ across a multi-GPU system, where accumulation can help smooth uneven runtimes among workers. They leave open what happens with a much larger distributed hardware budget. The selected FLOP curves address one aspect of portability by showing that the favorable ordering can also occur in an arithmetic-based comparison. The best elapsed-time configuration still depends on how a machine executes that work.
For inference, the authors explicitly use storage proxies because latency and throughput are hardware-dependent. Quantization can reduce parameter memory even when the operations on activations continue at full precision. Pruning is evaluated through non-zero weights because different sparse data structures require different amounts of bookkeeping. A serving system's speed and memory can also depend on whether its implementation can use the chosen low-precision or sparse representation efficiently. The experiments establish an accuracy tradeoff under the paper's cost measures.
The authors also restrict the optimization problem to a setting with a working recipe at the outset. In a new setting, architectures, learning rates, and other settings may all need investigation. The experiments needed to find them would consume part of the budget. The paper leaves the interaction of size with that search cost for future work, along with tests in other domains and a deeper explanation of why the observed weight patterns emerge in larger networks.
Limits visible in the experimental design
The compression conclusion draws on RoBERTa fine-tuned on MNLI and SST-2. Translation provides evidence about the training-speed question. It gives no matching compression curve for the English-to-French task. Within pretraining, the collection, masking objective, input sequence length, and architecture recipe establish the conditions under which the training curves were obtained. Changing those conditions could change both the amount of useful work performed by an update and the memory needed to carry it out.
The equal-time comparison uses a pretraining allowance of 1,000,000 seconds. The authors expect similar conclusions under other allowances, while the compression results directly compare the checkpoints selected at this one. At another budget the candidates could occupy different parts of their learning curves, so their ranking before compression and their margin after compression are empirical questions. The checkpoint ablation strengthens the case that quantization tolerance depends on size. It covers a narrower comparison than a sweep over end-to-end budgets for both compression techniques.
The recovery rule also affects how to interpret sparse accuracy. A pruned predictor gets a chance to adapt to the weights that remain, guided by its downstream validation score. Its performance represents the result of weight removal plus any subsequent recovery. The low amount of extra training observed on MNLI is evidence about this procedure under that task's conditions. The 99.5% validation criterion governs the decision to stop recovery. It is a stopping rule and does not establish what the resulting predictor will score on a different split or distribution.
Finally, the paper measures parameter differences in networks that vary in depth and size together. The smaller changes in that comparison motivate an explanation of compression robustness. They leave open whether depth, parameter count, the resulting distribution of weights, or interactions among these factors account for the pattern. The downstream accuracy curves establish what occurred for the tested settings. The weight analysis identifies a property that a more tightly controlled study could try to explain.
What came after
From choosing what to train to choosing what to keep
Later papers that cite this study take up several of the questions it brought together. The clearest continuation on the compression side is a change in what gets removed. Here, the pruning procedure selects individual weights by magnitude, and its budget is counted in surviving parameters. The later work on block pruning addresses faster Transformers by making blocks the unit of removal. That topic connects directly to the gap between omitting entries from a weight representation and realizing a speed benefit. Once the shape of the remaining computation is part of the problem, the unit of pruning becomes a consequential design choice. Block Pruning For Faster Transformers
The later study of pruning for low-resource machine translation brings the data constraint into the pruning question. In this paper, the translation experiment has abundant paired data. The direct manipulation of data volume takes place in masked-token pretraining, and the compression results come from text classification. A study centered on low-resource translation puts limited training data, translation quality, and pruning in the same setting. Its subject matters here because the smaller-corpus comparison already shows that available data can alter the value of increasing capacity. The Low-Resource Double Bind
Scaling and different tests of a pretrained network
The work on scaling laws for autoregressive generative modeling takes up scaling with a different prediction setup. Autoregressive generation predicts continuations from preceding context, whereas the pretraining experiments here ask a network to recover missing material from text. A connection between the studies is the question of how the shape of a learning curve changes with scale. The original paper puts the elapsed training budget at the center of that question and tests whether the resulting predictor can be made compact after adaptation. The later title places the relation between scale and generative modeling at the center of its own inquiry. Scaling Laws for Autoregressive Generative Modeling
Work on few-shot learning shifts attention toward what can be done with few examples of a task. The difference in evaluation matters because the sequence in this paper explicitly includes fine-tuning. Its evidence for downstream value comes from labeled sentence inference and sentiment prediction after a training stage on each task. Few-shot learning makes the supply of task examples a central part of the question about what a pretrained predictor can do. That gives another context for evaluating the usefulness of capacity after pretraining. Language Models are Few-Shot Learners
Another citing study examines out-of-distribution robustness, the ability to retain performance when evaluation inputs differ from the distribution on which a system learned. The experiments here use held-out pretraining text and benchmark classification accuracy to evaluate the chosen checkpoints. A robustness study asks about an additional property of those learned representations. High accuracy under the original evaluation and preservation of accuracy after changing the weight representation are both compatible with open questions about behavior when the input distribution changes. Pretrained Transformers Improve Out-of-Distribution Robustness
Other uses and consequences of pretraining
The study of pretraining via paraphrasing points to a choice that this paper holds broadly fixed while comparing network sizes. The objective determines the prediction problem from which a representation is learned. Here that problem is recovering masked tokens, and the authors ask which width or depth reaches a useful level of performance sooner. A paraphrasing-based pretraining study takes up the choice of training signal itself. Together the topics identify distinct ways to change the work a pretrained system does before adaptation to a particular task. Pre-training via Paraphrasing
The work on extracting training data examines what information a trained predictor can disclose about the examples it saw. That is a different test of what survives learning. This paper judges compressed weights by their ability to make accurate task predictions and measures how far the compressed weights move from their original values. Those measurements leave the retrievability of training examples open. The later work's focus brings that property into the discussion of what a large pretrained network retains. Extracting Training Data from Large Language Models
The broader work on foundation systems considers opportunities and risks around pretrained systems used for multiple purposes. This paper addresses one concrete decision within that broader setting. A developer can choose a network for learning progress and then choose a compact representation for a particular deployment. The citing work's broader scope places that decision alongside questions about what pretrained systems can be used for and what can follow from using them. The efficiency evidence applies to the training objectives, evaluation tasks, and storage measures tested here. On the Opportunities and Risks of Foundation Models
Cite
Cite as Zhuohan Li, Eric Wallace, Sheng Shen, Kevin Lin, Kurt Keutzer, Dan Klein and Joseph E. Gonzalez. 2020. Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers. arXiv (Cornell University).
@misc{li2020train,
title = {{Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers}},
author = {Zhuohan Li, Eric Wallace, Sheng Shen, Kevin Lin, Kurt Keutzer, Dan Klein and Joseph E. Gonzalez},
year = {2020},
doi = {10.48550/arxiv.2002.11794},
eprint = {2002.11794},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2002.11794}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/li-2020-train-large-then-compress-rethinking/
References
- Ardalani, N., Hestness, J., and Diamos, G. Empirically characterizing overparameterization impact on convergence. OpenReview: S1lPShAqFm, 2019. OpenAlex ↗ · Scholar ↗
- Arora, S., Cohen, N., and Hazan, E. On the optimization of deep networks: Implicit acceleration by overparameterization. In ICML, 2018a. OpenAlex ↗ · Scholar ↗
- Arora, S., Ge, R., Neyshabur, B., and Zhang, Y. Stronger generalization bounds for deep nets via a compression approach. In ICML, 2018b. OpenAlex ↗ · Scholar ↗
- Ba, J. L., Kiros, J. R., and Hinton, G. E. Layer normalization. In NeurIPS, 2016. OpenAlex ↗ · Scholar ↗
- Belkin, M., Hsu, D., Ma, S., and Mandal, S. Reconciling modern machine learning and the bias-variance trade-off. In PNAS, 2018. OpenAlex ↗ · Scholar ↗
- Brock, A., Donahue, J., and Simonyan, K. Large scale GAN training for high fidelity natural image synthesis. In ICLR, 2019. our card
- Chen, L.-C., Papandreou, G., Kokkinos, I., Murphy, K., and Yuille, A. L. DeepLab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected CRFs. In TPAMI, 2017. OpenAlex ↗ · Scholar ↗
- Clark, K., Luong, M.-T., Le, Q. V., and Manning, C. D. ELECTRA: Pre-training text encoders as discriminators rather than generators. In ICLR, 2020. OpenAlex ↗ · Scholar ↗
- Crankshaw, D., Wang, X., Zhou, G., Franklin, M. J., Gonzalez, J. E., and Stoica, I. Clipper: A low-latency online prediction serving system. In NSDI, 2017. OpenAlex ↗ · Scholar ↗
- Dehghani, M., Gouws, S., Vinyals, O., Uszkoreit, J., and Kaiser, Ł. Universal transformers. In ICLR, 2019. OpenAlex ↗ · Scholar ↗
- Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. BERT: Pre-training of deep bidirectional transformers for language understanding. In NAACL, 2019. our card
- Dong, Z., Yao, Z., Gholami, A., Mahoney, M. W., and Keutzer, K. HAWQ: Hessian aware quantization of neural networks with mixed-precision. In ICCV, 2019. OpenAlex ↗ · Scholar ↗
- Du, S. S., Zhai, X., Poczos, B., and Singh, A. Gradient descent provably optimizes over-parameterized neural networks. In ICLR, 2019. OpenAlex ↗ · Scholar ↗
- Elsen, E., Dukhan, M., Gale, T., and Simonyan, K. Fast sparse convnets. arXiv preprint arXiv:1911.09723, 2019. OpenAlex ↗ · Scholar ↗
- Evci, U., Gale, T., Menick, J., Castro, P. S., and Elsen, E. Rigging the lottery: Making all tickets winners. In ICML, 2020. OpenAlex ↗ · Scholar ↗
- Feurer, M., Klein, A., Eggensperger, K., Springenberg, J., Blum, M., and Hutter, F. Efficient and robust automated machine learning. In NeurIPS, 2015. OpenAlex ↗ · Scholar ↗
- Frankle, J. and Carbin, M. The lottery ticket hypothesis: Finding sparse, trainable neural networks. In ICLR, 2019. OpenAlex ↗ · Scholar ↗
- Gomez, A. N., Ren, M., Urtasun, R., and Grosse, R. B. The reversible residual network: Backpropagation without storing activations. In NeurIPS, 2017. our card
- Gong, L., He, D., Li, Z., Qin, T., Wang, L., and Liu, T. Efficient training of BERT by progressively stacking. In ICML, 2019. OpenAlex ↗ · Scholar ↗
- Goyal, P., Dollár, P., Girshick, R., Noordhuis, P., Wesolowski, L., Kyrola, A., Tulloch, A., Jia, Y., and He, K. Accurate, large minibatch SGD: Training ImageNet in 1 hour. arXiv preprint arXiv:1706.02677, 2017. our card
- Gruslys, A., Munos, R., Danihelka, I., Lanctot, M., and Graves, A. Memory-efficient backpropagation through time. In NeurIPS, 2016. OpenAlex ↗ · Scholar ↗
- Han, S., Pool, J., Tran, J., and Dally, W. Learning both weights and connections for efficient neural network. In NeurIPS, 2015. OpenAlex ↗ · Scholar ↗
- Han, S., Mao, H., and Dally, W. J. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. In ICLR, 2016. OpenAlex ↗ · Scholar ↗
- Hénaff, O. J., Srinivas, A., Fauw, J. D., Razavi, A., Doersch, C., Eslami, S. M. A., and van den Oord, A. Data-efficient image recognition with contrastive predictive coding. arXiv preprint arXiv:1905.09272, 2019. OpenAlex ↗ · Scholar ↗
- Jaderberg, M., Dalibard, V., Osindero, S., Czarnecki, W. M., Donahue, J., Razavi, A., Vinyals, O., Green, T., Dunning, I., Simonyan, K., et al. Population based training of neural networks. arXiv preprint arXiv:1711.09846, 2017. OpenAlex ↗ · Scholar ↗
- Jain, P., Jain, A., Nrusimha, A., Gholami, A., Abbeel, P., Keutzer, K., Stoica, I., and Gonzalez, J. E. Checkmate: Breaking the memory wall with optimal tensor rematerialization. In MLSys, 2020. OpenAlex ↗ · Scholar ↗
- Jouppi, N. P., Young, C., Patil, N., Patterson, D., Agrawal, G., Bajwa, R., Bates, S., Bhatia, S., Boden, N., Borchers, A., et al. In-datacenter performance analysis of a tensor processing unit. In ISCA, 2017. our card
- Kalchbrenner, N., Elsen, E., Simonyan, K., Noury, S., Casagrande, N., Lockhart, E., Stimberg, F., Oord, A. v. d., Dieleman, S., and Kavukcuoglu, K. Efficient neural audio synthesis. In ICML, 2018. OpenAlex ↗ · Scholar ↗
- Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., and Amodei, D. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361, 2020. our card
- Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization. In ICLR, 2015. our card
- Kitaev, N., Kaiser, L., and Levskaya, A. Reformer: The efficient transformer. In ICLR, 2020. our card
- Kusupati, A., Ramanujan, V., Somani, R., Wortsman, M., Jain, P., Kakade, S., and Farhadi, A. Soft threshold weight reparameterization for learnable sparsity. In ICML, 2020. OpenAlex ↗ · Scholar ↗
- Lan, Z., Chen, M., Goodman, S., Gimpel, K., Sharma, P., and Soricut, R. ALBERT: A lite BERT for self-supervised learning of language representations. In ICLR, 2020. our card
- LeCun, Y., Denker, J. S., and Solla, S. A. Optimal brain damage. In NeurIPS, 1990. OpenAlex ↗ · Scholar ↗
- Li, H., Kadav, A., Durdanovic, I., Samet, H., and Graf, H. P. Pruning filters for efficient convnets. In ICLR, 2017. OpenAlex ↗ · Scholar ↗
- Li, M., Yumer, E., and Ramanan, D. Budgeted training: Rethinking deep neural network training under resource constraints. In ICLR, 2020. OpenAlex ↗ · Scholar ↗
- Liu, L., Wang, H., Lin, J., Socher, R., and Xiong, C. Attentive student meets multi-task teacher: Improved knowledge distillation for pretrained models. arXiv preprint arXiv:1911.03588, 2019a. OpenAlex ↗ · Scholar ↗
- Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., and Stoyanov, V. RoBERTa: A robustly optimized BERT pretraining approach. arXiv preprint arXiv:1907.11692, 2019b. our card
- Loshchilov, I. and Hutter, F. SGDR: Stochastic gradient descent with warm restarts. In ICLR, 2017. our card
- Louizos, C., Welling, M., and Kingma, D. P. Learning sparse neural networks through ${L}_0$ regularization. In ICLR, 2018. OpenAlex ↗ · Scholar ↗
- Lu, Z., Pu, H., Wang, F., Hu, Z., and Wang, L. The expressive power of neural networks: A view from the width. In NeurIPS, 2017. OpenAlex ↗ · Scholar ↗
- Luo, J.-H., Wu, J., and Lin, W. ThiNet: A filter level pruning method for deep neural network compression. In ICCV, 2017. OpenAlex ↗ · Scholar ↗
- McCandlish, S., Kaplan, J., Amodei, D., and Team, O. D. An empirical model of large-batch training. arXiv preprint arXiv:1812.06162, 2018. OpenAlex ↗ · Scholar ↗
- Metz, C. Building an AI chip saved Google from building a dozen new data centers. Wired, 2017. OpenAlex ↗ · Scholar ↗
- Michel, P., Levy, O., and Neubig, G. Are sixteen heads really better than one? In NeurIPS, 2019. our card
- Nesterov, Y. A method of solving a convex programming problem with convergence rate $O(1/k^2)$. In Soviet Mathematics Doklady, 1983. OpenAlex ↗ · Scholar ↗
- Ott, M., Edunov, S., Grangier, D., and Auli, M. Scaling neural machine translation. In WMT, 2018. our card
- Ott, M., Edunov, S., Baevski, A., Fan, A., Gross, S., Ng, N., Grangier, D., and Auli, M. Fairseq: A fast, extensible toolkit for sequence modeling. In NAACL Demo, 2019. our card
- Papineni, K., Roukos, S., Ward, T., and Zhu, W.-J. BLEU: a method for automatic evaluation of machine translation. In ACL, 2002. our card
- Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W., and Liu, P. J. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683, 2019. our card
- Raghu, M., Poole, B., Kleinberg, J., Ganguli, S., and Dickstein, J. S. On the expressive power of deep neural networks. In ICML, 2017. OpenAlex ↗ · Scholar ↗
- Sanh, V., Debut, L., Chaumond, J., and Wolf, T. Distilbert, a distilled version of BERT: smaller, faster, cheaper and lighter. In NeurIPS ${EMC^2}$ Workshop, 2019. our card
- Schwartz, R., Dodge, J., Smith, N. A., and Etzioni, O. Green AI. arXiv preprint arXiv:1907.10597, 2019. OpenAlex ↗ · Scholar ↗
- See, A., Luong, M.-T., and Manning, C. D. Compression of neural machine translation models via pruning. In CoNLL, 2016. OpenAlex ↗ · Scholar ↗
- Shazeer, N., Cheng, Y., Parmar, N., Tran, D., Vaswani, A., Koanantakool, P., Hawkins, P., Lee, H., Hong, M., Young, C., et al. Mesh-TensorFlow: Deep learning for supercomputers. In NeurIPS, 2018. our card
- Shen, S., Dong, Z., Ye, J., Ma, L., Yao, Z., Gholami, A., Mahoney, M. W., and Keutzer, K. Q-BERT: Hessian based ultra low precision quantization of BERT. In AAAI, 2020. OpenAlex ↗ · Scholar ↗
- Shoeybi, M., Patwary, M., Puri, R., LeGresley, P., Casper, J., and Catanzaro, B. Megatron-LM: Training multi-billion parameter language models using GPU model parallelism. arXiv preprint arXiv:1909.08053, 2019. OpenAlex ↗ · Scholar ↗
- Socher, R., Perelygin, A., Wu, J., Chuang, J., Manning, C. D., Ng, A., and Potts, C. Recursive deep models for semantic compositionality over a sentiment treebank. In EMNLP, 2013. our card
- Ström, N. Sparse connection and pruning in large dynamic artificial neural networks. In EUROSPEECH, 1997. OpenAlex ↗ · Scholar ↗
- Sun, S., Cheng, Y., Gan, Z., and Liu, J. Patient knowledge distillation for BERT model compression. In EMNLP, 2019. our card
- Tan, M. and Le, Q. V. EfficientNet: Rethinking model scaling for convolutional neural networks. In ICML, 2019. our card
- Thakker, U., Beu, J., Gope, D., Zhou, C., Fedorov, I., Dasika, G., and Mattina, M. Compressing RNNs for IOT devices by 15-38x using kronecker products. arXiv preprint arXiv:1906.02876, 2019. OpenAlex ↗ · Scholar ↗
- Turc, I., Chang, M.-W., Lee, K., and Toutanova, K. Well-read students learn better: The impact of student initialization on knowledge distillation. arXiv preprint arXiv:1908.08962, 2019. OpenAlex ↗ · Scholar ↗
- Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., and Polosukhin, I. Attention is all you need. In NeurIPS, 2017. our card
- Vaswani, A., Bengio, S., Brevdo, E., Chollet, F., Gomez, A. N., Gouws, S., Jones, L., Kaiser, Ł., Kalchbrenner, N., Parmar, N., et al. Tensor2Tensor for neural machine translation. In AMTA, 2018. our card
- Voita, E., Talbot, D., Moiseev, F., Sennrich, R., and Titov, I. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In ACL, 2019. our card
- Wang, A., Singh, A., Michael, J., Hill, F., Levy, O., and Bowman, S. R. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In ICLR, 2019a. our card
- Wang, Q., Li, B., Xiao, T., Zhu, J., Li, C., Wong, D. F., and Chao, L. S. Learning deep transformer models for machine translation. In ACL, 2019b. our card
- Williams, A., Nangia, N., and Bowman, S. R. A broad-coverage challenge corpus for sentence understanding through inference. In NAACL, 2018. our card
- You, Y., Li, J., Reddi, S., Hseu, J., Kumar, S., Bhojanapalli, S., Song, X., Demmel, J., Keutzer, K., and Hsieh, C.-J. Large batch optimization for deep learning: Training BERT in 76 minutes. In ICLR, 2020. our card
- Zhang, C., Bengio, S., Hardt, M., Recht, B., and Vinyals, O. Understanding deep learning requires rethinking generalization. In ICLR, 2017. OpenAlex ↗ · Scholar ↗
- Zhu, M. and Gupta, S. To prune, or not to prune: exploring the efficacy of pruning for model compression. In ICLR Workshop Track, 2018. OpenAlex ↗ · Scholar ↗
- Zhu, Y., Kiros, R., Zemel, R., Salakhutdinov, R., Urtasun, R., Torralba, A., and Fidler, S. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In CVPR, 2015. our card
- Zoph, B. and Le, Q. V. Neural architecture search with reinforcement learning. In ICLR, 2017. our card