Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

ALBERT: A Lite BERT for Self-supervised Learning of Language Representations

  • Problem Enlarging BERT-style encoders runs into GPU and TPU memory limits, and in distributed training the communication cost grows with the parameter count.
  • Method ALBERT factorizes the vocabulary embedding, shares all parameters across layers by default, and replaces BERT's NSP loss with a sentence-order prediction loss.
  • Results ALBERT-xxlarge reached an Avg of 88.7 on the development sets against 85.2 for BERT-large, with around 70% of BERT-large's parameters; the ALBERT ensemble reached 89.4 on the GLUE test leaderboard.

Why enlarging BERT runs into limits

Larger pretrained encoders have usually scored higher on downstream language tasks, so the field has moved toward models with hundreds of millions of parameters. Models at that scale run into GPU and TPU memory ceilings, and in distributed training the communication cost rises with the number of parameters. Earlier remedies mostly target memory: model parallelization spreads a network across devices, while gradient checkpointing and activation reconstruction trade extra computation for lower memory.

Those remedies leave communication overhead largely unaddressed, which is the gap ALBERT sets out to close.

ALBERT asks whether better models can come from parameter efficiency rather than from size alone. Its answer is two parameter-reduction techniques, one acting on the embedding matrix and one on the stack of layers.

Factorizing the vocabulary embedding

In BERT the WordPiece embedding size E equals the hidden size H, so widening the hidden layers also widens the vocabulary embedding matrix, which has V rows of width H. Most of the parameters can end up in that matrix, and its rows are updated only sparsely during training.

ALBERT first projects each one-hot token into a small space of size E and then projects that into the hidden space of size H. This lowers the embedding cost from \( O(V \times H) \) to \( O(V \times E + E \times H) \), and the saving is largest when H is much bigger than E. The authors use one E for all word pieces, since subword pieces are spread more evenly across documents than whole words, which would otherwise call for per-word embedding sizes.

Table 3 varies E on ALBERT-base across the same set of downstream tasks. With parameters unshared, a larger E helps somewhat: Avg rises from 81.3 at E=64 to 82.3 at E=768. With all layers shared, E=128 gives the highest Avg, 80.1, against 79.0 at E=64, 79.6 at E=256 and 79.8 at E=768. The authors fix E=128 for later experiments because a small E is needed for further scaling.

Sharing layers across depth

ALBERT shares all parameters across its layers by default, and the paper compares that choice with sharing only attention parameters, sharing only feed-forward parameters, and sharing nothing. Earlier work with weight sharing reports different outcomes: the Universal Transformer reportedly outperforms a vanilla Transformer, while Deep Equilibrium Models reach an equilibrium point.

Table 4 reports Avg for ALBERT-base at E=128: 80.1 with all-shared, 81.7 with shared-attention, 80.2 with shared-FFN and 81.6 with not-shared. At E=768 the same four settings give 79.8, 81.6, 79.5 and 82.3. Smaller shared groups perform better, but the parameter count grows as groups shrink, so the authors keep the all-shared default.

Figure 1 tracks the L2 distance and the cosine similarity between each layer's input and output embedding for BERT-large and ALBERT-large. ALBERT's transitions from layer to layer are visibly smoother, which the authors read as weight sharing stabilizing the network. Both metrics stay away from zero even after 24 layers, so the ALBERT embeddings oscillate rather than converge, unlike the equilibrium reported for Deep Equilibrium Models.

Replacing NSP with sentence-order prediction

BERT's next-sentence prediction asks whether two segments were consecutive in the source text, with positives taken from one document and negatives from different documents, sampled with equal probability. Follow-up studies found its effect unreliable, and the authors argue the cause is that NSP mixes topic prediction with coherence prediction.

Topic prediction is easier to learn and overlaps with what the MLM loss already captures.

ALBERT's sentence-order prediction loss keeps BERT's positives, two consecutive segments from one document, and makes the negatives the same two segments with their order swapped. Because both classes share the same segments and topic, the model has to learn finer distinctions about coherence.

SOP pretraining reaches 78.9% on the NSP task and 86.5% on the SOP task. The authors conclude that NSP ends up modelling mainly topic shift, while SOP solves the NSP task to a reasonable degree.

Under the ALBERT-base setting, Avg is 80.1 with SOP, 79.2 with NSP and 79.0 with no inter-sentence loss. SQuAD2.0 rises from 77.2/74.6 with NSP to 80.0/77.1 with SOP, and RACE from 62.3 to 64.0. The authors report the gains as concentrated on multi-sentence encoding tasks, which is where the objective is meant to help.

Parameter counts and throughput

Table 1 sets BERT-base and BERT-large beside ALBERT base, large, xlarge and xxlarge, with the layer count, hidden size, embedding size and sharing setting for each. ALBERT-xlarge with H=2048 has 60M parameters. The text gives 233M parameters for ALBERT-xxlarge with H=4096, while Table 2 gives 235M for the same configuration, and either figure is around 70% of BERT-large's parameter count.

Under the same number of TPUs, ALBERT-large iterates through the data about 1.7 times faster than BERT-large, while ALBERT-xxlarge runs about 3 times slower. BERT-large's data throughput is about 3.17x that of ALBERT-xxlarge. The authors attribute the speed of the smaller ALBERT models to less communication and fewer computations.

Table 2 compares models pretrained on BOOK CORPUS and Wikipedia for 125k steps, scored on development sets. With around 70% of BERT-large's parameters, ALBERT-xxlarge improves on SQuAD v1.1 (+1.9%), SQuAD v2.0 (+3.1%), MNLI (+1.4%), SST-2 (+2.2%) and RACE (+8.4%). Avg is 88.7 for ALBERT-xxlarge and 85.2 for BERT-large. Throughput is a training-speed measurement at the same TPU count, while the accuracies are development-set scores for models pretrained for 125k steps.

Equal training time against BERT-large

Because ALBERT-xxlarge processes data more slowly, the authors also compare the models at similar training time. BERT-large trained for 400k steps (34h) is set against ALBERT-xxlarge trained for 125k steps (32h).

ALBERT-xxlarge reaches an Avg of 88.7 against 87.2 for BERT-large, which is +1.5% on Avg. On RACE the gap is +5.2%, with 82.5 for ALBERT-xxlarge and 77.3 for BERT-large. This comparison fixes the time budget rather than the number of steps, so it measures what each model gets from the same time, not a per-step gain.

Removing dropout

Even after 1M training steps the largest models did not overfit their training data, so the authors removed dropout to add model capacity. Figure 2 shows the effects of adding data and of removing dropout during training.

Removing dropout raised the dev MLM accuracy during training. The authors cite empirical and theoretical work suggesting that batch normalization combined with dropout can hurt convolutional networks, and they believe they are the first to show that dropout can hurt large Transformer models.

Adding pretraining data

The earlier experiments use only Wikipedia and BOOK CORPUS, so the authors measure the effect of the additional data used by XLNet and RoBERTa. Adding that data gives a clear boost in dev MLM accuracy in Figure 2a. On ALBERT-base, Avg rises from 80.1 to 80.8, with MNLI from 81.6 to 82.4, SST-2 from 90.3 to 92.8 and RACE from 64.0 to 66.0.

SQuAD1.1 and SQuAD2.0 fall to 88.8/81.7 and 79.1/76.3 from 89.3/82.3 and 80.0/77.1, which the authors attribute to Wikipedia-based benchmarks being hurt by out-of-domain training material.

State-of-the-art results

The results use the training data of BERT together with the additional data used by RoBERTa and XLNet, and they use single-task fine-tuning only. Single models are reported as the median of five dev-set runs, and ensembles average predictions over checkpoints, with the number of checkpoints ranging from 6 to 17 depending on the task.

The ALBERT ensemble reaches a GLUE score of 89.4 on the test leaderboard. Among single models on dev, ALBERT (1.5M) reaches 90.8 on MNLI, 95.3 on QNLI and 71.4 on CoLA, against 90.2, 94.7 and 68.0 for RoBERTa-large.

A single ALBERT model at 1.5M steps reaches 86.5% RACE test accuracy.

On SQuAD2.0 test, the ALBERT ensemble reaches an F1 score of 92.2 with EM 89.7, and the single ALBERT (1.5M) model reaches 90.9/88.1. Entries from other systems are leaderboard values as of the dates given in the tables, so they are not controlled reruns of the same setup.

Limitations

ALBERT-xxlarge has fewer parameters than BERT-large but is computationally more expensive because of its larger structure. The authors name faster training and inference, through methods such as sparse attention and block attention, as the next step.

The dropout removal was tested only on ALBERT-xxlarge, and further experiments are needed to see whether the effect appears in other Transformer-based architectures. Most ALBERT-xxlarge results use a 12-layer network, because a 24-layer version with the same configuration gives similar results at higher cost.

The text gives 233M parameters for ALBERT-xxlarge, while Table 2 gives 235M for the same configuration. Pretraining uses BOOK CORPUS and English Wikipedia with a 30,000-entry vocabulary, and most comparisons are development-set results with early stopping.

Paper info

Authors
Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, Radu Soricut
Venue
arXiv · Preprint
First published
2019-9-26
Added
2026-10-20
Updated
2020-2-9
Version
v6
arXiv
1909.11942
Category
cs.CL · cs.AI
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, Radu Soricut (2019). ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. arXiv:1909.11942v6. https://arxiv.org/abs/1909.11942v6

BibTeX
@misc{lan2019albert,
  title = {{ALBERT: A Lite BERT for Self-supervised Learning of Language Representations}},
  author = {Zhenzhong Lan and Mingda Chen and Sebastian Goodman and Kevin Gimpel and Piyush Sharma and Radu Soricut},
  year = {2019},
  eprint = {1909.11942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.11942v6}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up