{
  "id": 584,
  "kind": "paper",
  "title": "ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators",
  "summary": "Replaced token detection: a small MLM generator fills 15% masks; the discriminator classifies every token as original vs replaced (MLE generator, not adversarial). Learns from all positions. ELECTRA-Small (14M, 4 days on 1 V100) GLUE 79.9 vs BERT-Small 75.1 and GPT 78.8. ELECTRA-Base 85.1 vs BERT-Base 82.2. ELECTRA-400K Large (335M, ~1/4 RoBERTa compute) GLUE 89.0 vs RoBERTa-500K 88.9; ELECTRA-1.75M 89.5 and SQuAD 2.0 test 88.7/91.4. ICLR 2020. Code https://github.com/google-research/electra.",
  "body": "",
  "notes": "Primary: arxiv abs (cs.CL). License: arXiv.org perpetual non-exclusive on HTML at check. Clark/Manning Stanford (CIFAR Fellow); Luong/Le Google Brain. Correspondence kevclark@cs.stanford.edu. Code on HTML https://github.com/google-research/electra (2,367 stars at check; Apache-2.0; archived). HF paper page 0 upvotes; 43 unofficial linked models not copied into hf_* fields. Discord posted the ICLR 2020 OpenReview PDF (id=r1xMH1BtvB); cataloged from the matching arXiv abs. Trains on public Wikipedia/BooksCorpus/ClueWeb/CommonCrawl/Gigaword rather than a new hosted corpus, so no datasets_local row. License field left blank per catalog convention.",
  "url": "https://arxiv.org/abs/2003.10555",
  "links": [],
  "authors": [
    "Kevin Clark",
    "Minh-Thang Luong",
    "Quoc V. Le",
    "Christopher D. Manning"
  ],
  "tags": [
    "electra",
    "replaced-token-detection",
    "bert",
    "glue",
    "squad",
    "iclr",
    "google",
    "stanford",
    "pretraining"
  ],
  "topics": "pretraining, replaced token detection, BERT",
  "venue": "arXiv / Stanford University / Google Brain",
  "publisher": "",
  "source": "",
  "language": "",
  "access": "",
  "license": "",
  "published_year": 2020,
  "added_at": "2026-10-01T16:45:06.278Z",
  "verified_at": null,
  "attrs": {
    "scale": "Small/Base: Wikipedia+BooksCorpus 3.3B tokens. Large: XLNet mix 33B tokens (Wiki/Books + ClueWeb/CommonCrawl/Gigaword), batch 2048, 400k or 1.75M steps. Eval GLUE (median of 10 FT runs) and SQuAD 1.1/2.0.",
    "purpose": "Pre-train encoders more sample-efficiently by discriminating generator-replaced tokens instead of reconstructing a 15% MLM subset",
    "time_period": "2020-03-23 (arXiv 2003.10555 v1). Comment: ICLR 2020. HF paper publishedAt 2020-03-23."
  },
  "enrichment": {
    "arxiv": {
      "id": "2003.10555",
      "title": "ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators",
      "authors": [
        "Kevin Clark",
        "Minh-Thang Luong",
        "Quoc V. Le",
        "Christopher D. Manning"
      ],
      "comment": "ICLR 2020",
      "updated": "2020-03-23",
      "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.",
      "published": "2020-03-23",
      "categories": [
        "cs.CL"
      ],
      "fetched_at": "2026-10-03T15:02:05.254Z"
    }
  },
  "enriched_at": "2026-10-03T15:02:05.292Z",
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "603",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/584",
  "markdown": "https://papers.projxon.ai/entries/584.md",
  "api": "https://papers.projxon.ai/api/entries/584",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 576,
      "kind": "paper",
      "title": "Cramming: Training a Language Model on a Single GPU in One Day",
      "summary": "Cramming: train a transformer MLM from scratch on one consumer GPU in 24h with no pretrained checkpoints. Scaling laws still hold at this budget, so architecture swaps barely move loss; gains come from faster steps at similar size (PreNorm, no QKV/FFN biases, sparse MLM head), a one-cycle LR, dropout-off, and filtered/sorted C4. A6000 1-day GLUE-dev 78.6 vs fully trained BERT-base 80.9 (MNLI 83.9/84.1 vs 83.2/83.4). Code https://github.com/JonasGeiping/cramming.",
      "url": "https://arxiv.org/abs/2212.14034",
      "authors": [
        "Jonas Geiping",
        "Tom Goldstein"
      ],
      "tags": [
        "cramming",
        "bert",
        "mlm",
        "scaling-laws",
        "glue",
        "single-gpu",
        "umd"
      ],
      "venue": "arXiv / University of Maryland",
      "source": "",
      "license": "",
      "published_year": 2022,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 123,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/576",
      "markdown": "https://papers.projxon.ai/entries/576.md",
      "api": "https://papers.projxon.ai/api/entries/576"
    },
    {
      "id": 835,
      "kind": "paper",
      "title": "How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text",
      "summary": "Measures how 'wild' AI-generated web text affects LM pretraining: after FineWeb quality filtering, 27.5% of June 2026 web tokens are labeled AI-generated by Pangram, rising to 31.1% by August. Pretrains 800 language models varying the ratio of added AI tokens to human tokens and fits scaling laws to held-out losses on both human and AI-generated text. For data-starved models, adding AI tokens initially lowers loss on human text, but the benefit saturates and quickly reverses into harm; for models trained on high budgets of human text, AI tokens raise loss almost immediately while the same number of fresh human tokens keeps lowering it. Standard scaling laws (e.g. Hoffman/Chinchilla 2022) fail to predict this behavior, so the authors propose a new scaling law with separate benefit and harm terms that lets the value of an AI token change sign and reduces to Chinchilla in the absence of AI text; fit on smaller models it predicts the effect on models up to 3.6x larger with 41% lower error than the best existing law over all AI ratios. Recommendations: filter AI text when the target is human text, repeat human text before expanding the training dataset with AI-generated web text, and report validation loss on human and AI text separately; AI text remains valuable when the target is AI text. Releases WildAI, an 83B-token corpus with AI, topic, and format labels, plus all 800 models and code.",
      "url": "https://arxiv.org/abs/2609.40295",
      "authors": [
        "Jenna Russell",
        "Ben Glickenhaus",
        "Katherine Thai",
        "John Wieting",
        "Mohit Iyyer",
        "Max Spero",
        "Bradley Emi"
      ],
      "tags": [
        "ai-generated-text",
        "wild-ai-text",
        "pretraining",
        "scaling-laws",
        "chinchilla",
        "synthetic-data",
        "data-filtering",
        "wildai"
      ],
      "venue": "arXiv 2026-09-30 (cs.CL, cs.LG)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": true,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/835",
      "markdown": "https://papers.projxon.ai/entries/835.md",
      "api": "https://papers.projxon.ai/api/entries/835"
    },
    {
      "id": 569,
      "kind": "paper",
      "title": "Charformer: Fast Character Transformers via Gradient-based Subword Tokenization",
      "summary": "GBST scores candidate byte n-gram blocks (max width 4) position-wise and mixes them, then mean-pools (ds=2–3). Charformer is a T5-style encoder-decoder on the 256-byte vocab. CharformerSBase (134M, deep encoder): English GLUE avg 83.6 vs T5-Base 84.3 / Byte-T5 81.5; Civil Comments 83.0 vs T5 81.2; IMDb 94.4 vs T5 94.2. Multilingual long-PT: TyDiQA-GoldP 81.2/71.3 vs mT5-Base 80.8/70.0, 28% faster with ~3× fewer params. ICLR 2022 camera-ready. Implementation https://github.com/google-research/google-research/tree/master/charformer.",
      "url": "https://arxiv.org/abs/2106.12672",
      "authors": [
        "Yi Tay",
        "Vinh Q. Tran",
        "Sebastian Ruder",
        "Jai Gupta",
        "Hyung Won Chung",
        "Dara Bahri",
        "Zhen Qin",
        "Simon Baumgartner",
        "Cong Yu",
        "Donald Metzler"
      ],
      "tags": [
        "charformer",
        "gbst",
        "byte-level",
        "tokenization",
        "iclr",
        "google",
        "deepmind",
        "byt5",
        "canine"
      ],
      "venue": "arXiv / Google Research / DeepMind",
      "source": "",
      "license": "",
      "published_year": 2021,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 221,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/569",
      "markdown": "https://papers.projxon.ai/entries/569.md",
      "api": "https://papers.projxon.ai/api/entries/569"
    },
    {
      "id": 524,
      "kind": "paper",
      "title": "Efficient Pre-Training with Token Superposition",
      "summary": "Token-Superposition Training (TST) averages embeddings of non-overlapping bags of s contiguous tokens and trains with multi-hot cross-entropy, then a recovery phase reverts to standard next-token CE. Drop-in: no change to parallelism, optimizer, tokenizer, data, or architecture. Evaluated at 270M/600M (SmolLM2-shaped Llama3, untied embeddings) and validated at 3B and a 10B A1B MoE on DCLM. Consistently beats baseline loss and downstream metrics; equal-loss wall-clock up to 2.5× faster at the 10B A1B scale. Project https://nousresearch.com/token-superposition.",
      "url": "https://arxiv.org/abs/2605.06546",
      "authors": [
        "Bowen Peng",
        "Théo Gigant",
        "Jeffrey Quesnelle"
      ],
      "tags": [
        "tst",
        "token-superposition",
        "pretraining",
        "multi-hot-ce",
        "dclm",
        "smollm",
        "nous-research",
        "moe"
      ],
      "venue": "arXiv / Nous Research",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/524",
      "markdown": "https://papers.projxon.ai/entries/524.md",
      "api": "https://papers.projxon.ai/api/entries/524"
    },
    {
      "id": 820,
      "kind": "paper",
      "title": "Generalization Dynamics of LM Pre-training (\"Discovering Mode-Hopping\")",
      "summary": "The usual mental model -- that LMs stably mature from pattern-matching parrots to generalizable intelligence during pre-training -- is wrong: throughout pre-training, LMs frequently and suddenly hop between parrot-like and intelligence-like computations (\"mode-hopping\"). Across a toy eval suite, LMs suddenly latch onto memorized or in-context patterns instead of in-context learning, use System 1 instead of System 2 thinking, pick up what sounds true instead of what is true, fail at multi-hop persona QA, out-of-context reasoning, and emergent misalignment -- then just as suddenly revert and generalize. Mode-hopping is not explained by standard optimization dynamics: it is locally stable and cannot be fixed by checkpoint averaging; the authors frame it as a capacity-allocation problem in which generalizable circuits compete with early-learned shallow circuits, with each pre-training window's data deciding which wins. Two applications: (1) selecting intermediate pre-training checkpoints that strongly generalize reasoning and alignment, better than final or mid-training checkpoints; (2) selecting pre-training data that controls and stabilizes generalization dynamics. Concrete numbers from the announcement: OLMo3-32B went from 81% accuracy to 0%, then back to 81.7% within 40B training tokens; an earlier 4.5T-token checkpoint beat a 4.9T one on GPQA transfer after math fine-tuning (36.3% vs 29.8%) and robustness to alignment attacks (53% vs 21%). Code/eval suite: GDsuite (GitHub).",
      "url": "https://arxiv.org/abs/2609.33150",
      "authors": [
        "Jiaxin Wen",
        "Zhengxuan Wu",
        "Dawn Song",
        "Lijie Chen"
      ],
      "tags": [
        "pretraining",
        "generalization",
        "mode-hopping",
        "evaluation",
        "checkpoints"
      ],
      "venue": "arXiv (2026-09-27; alphaXiv #10 trending)",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/820",
      "markdown": "https://papers.projxon.ai/entries/820.md",
      "api": "https://papers.projxon.ai/api/entries/820"
    },
    {
      "id": 747,
      "kind": "paper",
      "title": "How Far Are We from Removing the Visual Encoder? Scaling Laws for Encoder-Free Multimodal Pretraining",
      "summary": "Studies scaling laws for encoder-free multimodal pretraining (raw visual input into the language model, no separate vision encoder) and asks at what compute budget it catches up with encoder-based models.",
      "url": "https://arxiv.org/abs/2609.35457",
      "authors": [
        "Lin Chen",
        "Bolin Ni",
        "Qi Yang",
        "Lan Jiang",
        "Kun Ding",
        "Xiaoran Fan",
        "Hower Yang",
        "Ying Wang",
        "Shiming Xiang"
      ],
      "tags": [
        "multimodal",
        "scaling-laws",
        "vision-encoders",
        "pretraining"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/747",
      "markdown": "https://papers.projxon.ai/entries/747.md",
      "api": "https://papers.projxon.ai/api/entries/747"
    }
  ]
}
