← AI & Foundation Models Hub 🏛️ Stanford Graduate School of Business 📄 Working Paper · Author Abstract
🔗 Also at International Conference… ↗

ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators

AUTHOR BACKGROUND & AFFILIATION 2020-04-26 · 6m read · 5,395 peer citations
KC

Kevin Clark

Faculty Researcher · Stanford Graduate School of Business

Open-access research dispatch from Stanford Graduate School of Business, indexed under AI & Foundation Models (5,395 peer citations).

Provenance: CC-BY
Author’s Original Abstract

Masked language modeling (MLM) pre-training methods such as BERT corrupt the input by replacing some tokens with [MASK] and then train a model to reconstruct the original tokens. While they produce good results when transferred to downstream NLP tasks, they generally require large amounts of compute to be effective. As an alternative, we propose a more sample-efficient pre-training task called replaced token detection.

Instead of masking the input, our approach corrupts it by replacing some tokens with plausible alternatives sampled from a small generator network. Then, instead of training a model that predicts the original identities of the corrupted tokens, we train a discriminative model that predicts whether each token in the corrupted input was replaced by a generator sample or not. Thorough experiments demonstrate this new pre-training task is more efficient than MLM because the task is defined over all input tokens rather than just the small subset that was masked out.

As a result, the contextual representations learned by our approach substantially outperform the ones learned by BERT given the same model size, data, and compute. The gains are particularly strong for small models; for example, we train a model on one GPU for 4 days that outperforms GPT (trained using 30x more compute) on the GLUE natural language understanding benchmark. Our approach also works well at scale, where it performs comparably to RoBERTa and XLNet while using less than 1/4 of their compute and outperforms them when using the same amount of compute.

ALSO APPEARS AT · ORIGINAL SOURCE

Originally published at International Conference on Learning Representations

By Kevin Clark (Stanford Graduate School of Business) · 2020-04-26 · CC-BY.

🔗 Read Original at International Conference… ↗ 📄 Open PDF ↗
🤝 COMMUNITY CO-READING MARGIN · EARN +25 XP

Add a Worked Example, Practitioner Field Note, or Counter-Thesis

More from Stanford Graduate School of Business & Related Topics

All 183 works from Stanford Graduate School of Business →
🏷️ Strategy & Governance ✍️ Full Essay

Using light to control brain cells – neuroscientist Karl Deisseroth explains how he made his Nobel-winning discovery

KD Karl Deisseroth 🏛️ Stanford Graduate School of Business · D. H. Chen Professor, Professor of Bioengineering and of Psychiatry and Behavioral Sciences, Stanford University

Optogenetics, a field that started with an algae gene, is shedding light on new treatments for eye and neuropsychiatric conditions.

2026-10-15 · 7m read Also at The Conversation ↗
Free community dispatch · Zero spam.