{
  "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.",
  "body": "",
  "notes": "Primary: arxiv abs (cs.CL; also cs.LG). License: arXiv.org perpetual non-exclusive on HTML at check. Comment: 22 pages; code at https://github.com/JonasGeiping/cramming (HF githubRepo; 1,368 stars at check; no LICENSE file at check). UMD; correspondence jgeiping@umd.edu, tomg@umd.edu. HF paper page 0 upvotes; official-looking linked models JonasGeiping/crammed-bert and crammed-bert-legacy not copied into hf_* fields. Linked HF tokenized-Pile shards (the_pile_WordPiecex32768_*) are processed public Pile, not a new hosted corpus, so no datasets_local row. Discord posted PDF. License field left blank per catalog convention.",
  "url": "https://arxiv.org/abs/2212.14034",
  "links": [],
  "authors": [
    "Jonas Geiping",
    "Tom Goldstein"
  ],
  "tags": [
    "cramming",
    "bert",
    "mlm",
    "scaling-laws",
    "glue",
    "single-gpu",
    "umd"
  ],
  "topics": "efficient pretraining, BERT, scaling laws",
  "venue": "arXiv / University of Maryland",
  "publisher": "",
  "source": "",
  "language": "",
  "access": "",
  "license": "",
  "published_year": 2022,
  "added_at": "2026-10-01T16:45:06.278Z",
  "verified_at": null,
  "attrs": {
    "scale": "1× RTX 2080 Ti / A4000 / A6000 for 24h (~5/8/13 exaFLOP peak). Seq 128, vocab 32768, packed MLM. GLUE-dev minus WNLI; 5-epoch FT with global hparams. 2-day 8×A6000 follow-up also reported.",
    "purpose": "See how close a 24-hour single-GPU MLM run can get to BERT-base on GLUE",
    "time_period": "2022-12-28 (arXiv 2212.14034 v1). Comment: 22 pages. HF paper publishedAt 2022-12-28."
  },
  "enrichment": {
    "s2": {
      "venue": "International Conference on Machine Learning",
      "paper_id": "4b308ba40e67b0b4b25c6fde17195d5a456a2f41",
      "published": "2022-12-28",
      "fetched_at": "2026-10-03T14:57:20.537Z",
      "citation_count": 123,
      "reference_count": 146,
      "influential_citation_count": 17
    },
    "arxiv": {
      "id": "2212.14034",
      "title": "Cramming: Training a Language Model on a Single GPU in One Day",
      "authors": [
        "Jonas Geiping",
        "Tom Goldstein"
      ],
      "comment": "22 pages, we provide code at https://github.com/JonasGeiping/cramming",
      "updated": "2022-12-28",
      "abstract": "Recent trends in language modeling have focused on increasing performance through scaling, and have resulted in an environment where training language models is out of reach for most researchers and practitioners. While most in the community are asking how to push the limits of extreme computation, we ask the opposite question: How far can we get with a single GPU in just one day? We investigate the downstream performance achievable with a transformer-based language model trained completely from scratch with masked language modeling for a single day on a single consumer GPU. Aside from re-analyzing nearly all components of the pretraining pipeline for this scenario and providing a modified pipeline with performance close to BERT, we investigate why scaling down is hard, and which modifications actually improve performance in this scenario. We provide evidence that even in this constrained setting, performance closely follows scaling laws observed in large-compute settings. Through the lens of scaling laws, we categorize a range of recent improvements to training and architecture and discuss their merit and practical applicability (or lack thereof) for the limited compute setting.",
      "published": "2022-12-28",
      "categories": [
        "cs.CL",
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T14:57:20.537Z"
    }
  },
  "enriched_at": "2026-10-03T14:57:20.575Z",
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "595",
    "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/576",
  "markdown": "https://papers.projxon.ai/entries/576.md",
  "api": "https://papers.projxon.ai/api/entries/576",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "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.",
      "url": "https://arxiv.org/abs/2003.10555",
      "authors": [
        "Kevin Clark",
        "Minh-Thang Luong",
        "Quoc V. Le",
        "Christopher D. Manning"
      ],
      "tags": [
        "electra",
        "replaced-token-detection",
        "bert",
        "glue",
        "squad",
        "iclr",
        "google",
        "stanford",
        "pretraining"
      ],
      "venue": "arXiv / Stanford University / Google Brain",
      "source": "",
      "license": "",
      "published_year": 2020,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/584",
      "markdown": "https://papers.projxon.ai/entries/584.md",
      "api": "https://papers.projxon.ai/api/entries/584"
    },
    {
      "id": 1018,
      "kind": "model",
      "title": "Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making",
      "summary": "CLM (Contrastive Language Model) is a System One decision model: separate state and action encoders trained with bidirectional InfoNCE so each state is pulled toward the ground-truth action and pushed from others; at deploy time candidates are scored by cosine similarity of L2-normalized embeddings and softmaxed into typed answers (Noul/Choice/Score) or ranked for best-of-N. Released CLM-8B uses a frozen Qwen3-8B backbone (hidden 4096, last-token pooling, L2 norm) plus a trainable MLP projection head 4096→1536→1536→512 (GELU+LayerNorm; ~20M params, output dim 512); only the head is trained; LLM embeddings can be precomputed. Full Nemotron DQA pretrain ~1 hour on one RTX 4090. Dual-encoder disaggregation caches state and action embeddings independently (authors contrast with Jev state-only caching). Action-caching example (Super Mario): 4 action embeddings precomputed; per-step cost drops from 5 forwards to 1 (~4×). Zero-shot blog table (CLM vs Jev latency / success): T-Rex 16.5 vs 149.8 ms (5/5 both); BFCL V4 tool calling 76.8 vs 125.5 ms (95.2% vs 99.2%); WikiRacing 79.8 vs 225 ms (26/30 vs 30/30); Super Mario 33.5 vs 132.6 ms (5/5 both) — up to ~9× faster, roughly on-par accuracy. Latency microbench (200-token state, RTX 4090, 15 tok/candidate): at 1024 candidates CLM ~44 ms vs Jev ~579 ms (~13×) vs constrained decoding Qwen3-8B ~4.3 s (~97×); candidate-length sweep (5 cands) CLM stays ~36 ms through 2048 tok while CD goes to 3.4 s and Jev to 333 ms (~9× / ~95×). Agentic verifier (38 DeepSWE / 30 Terminal-Bench 2.1 held-out; Opus 5 / Fable 5 candidates; H100): DeepSWE CLM 81.6% vs Jev 71.1% vs Pass@1 73.7% (79 vs 449 ms, 5.7×); Terminal-Bench 2.1 CLM 87.6% vs Jev 83.1% vs Pass@1 84.0% (32 vs 131 ms, 4.1×) — Jev below Pass@1 on both. Data recipe: pretrain ~60M Nemotron DQA → midtrain ~30M Gemini 2.5 Flash-Lite hard negatives → posttrain ~1M ADP + Endless-Terminals + LiteCoder-Terminal-SFT (40% Nemotron replay / 60% agentic). Hard-neg study (~100K held-out, 1 gold+10 HN): pretrain 52.1% → two-stage 69.2% vs HN-from-scratch peak 62.4%. Replay keeps HN top-1 ~68.5% vs 56.2% agentic-only. Scaling fits (test InfoNCE): L≈(C/7.34e13)^-0.144; (D/2.12e9)^-0.117; (N/3.60e5)^-0.061; (N_enc/4.18e9)^-0.172; optimal head N*∝D^1.02 (~310 tokens/param). Posted 2026-09-23 Notion blog; Jacky Kwok† project lead; Stanford + NVIDIA Research. Roadmap: multimodal CLM-35B early next month; vision; more data/scaling. Contact jackykwok@stanford.edu.",
      "url": "https://x.com/jackyk02/status/2102905335925424285",
      "authors": [
        "Jacky Kwok",
        "Hangoo Kang",
        "Tarun Suresh",
        "Jon Saad-Falcon",
        "Marco Pavone",
        "Christopher Ré",
        "Azalia Mirhoseini (Hazy Research / Stanford AI Lab / Scaling Intelligence Lab)"
      ],
      "tags": [
        "clm",
        "contrastive-language-model",
        "system-one",
        "jev",
        "typesafe",
        "infonce",
        "dual-encoder",
        "qwen3-8b",
        "deepswe",
        "terminal-bench",
        "nemotron",
        "hard-negatives",
        "agent-data-protocol",
        "scaling-laws",
        "jacky-kwok",
        "hazy-research",
        "verifier",
        "best-of-n"
      ],
      "venue": "Contrastive-LM / Stanford University / NVIDIA Research / Notion blog",
      "source": "x",
      "license": "Code/serving Apache-oriented release on GitHub; reference head Contrastive-LM/CLM-v0.1-8B Apache-2.0; DeepSWE head/embeddings MIT; check each Hub card",
      "published_year": 2026,
      "added_at": "2026-09-24T01:37:52.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1018",
      "markdown": "https://papers.projxon.ai/entries/1018.md",
      "api": "https://papers.projxon.ai/api/entries/1018"
    },
    {
      "id": 702,
      "kind": "post",
      "title": ">10x More Efficient Pretraining",
      "summary": "Magic's research update on compute-efficient pretraining toward trillion-parameter models. Their pretraining recipe — the multiplicative result of tens of changes across model architecture, optimizer, training objective, and data, plus fixing minor bugs — matches DeepSeek V4 Pro Base quality using ~50x fewer FLOPs (roughly half of GPT-3's pretraining compute, ~$0.5M on GB200). Scaling the same recipe 10x (~$4M) meaningfully outperformed all publicly available open-weight base models on perplexity evaluations; by their fitted scaling laws, training an equally capable model under DeepSeek V4 Pro's recipe would cost >$100M. Magic frames pretraining plus agentic RL plus long context as sufficient for superhuman coding agents; next steps are scaling RL with long context, RL against the model's own latent knowledge of its intent, and further pretraining improvements.",
      "url": "https://magic.dev/blog/pretraining",
      "authors": [
        "Magic"
      ],
      "tags": [
        "pretraining",
        "scaling-laws",
        "efficiency",
        "magic",
        "compute"
      ],
      "venue": "Magic blog",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/702",
      "markdown": "https://papers.projxon.ai/entries/702.md",
      "api": "https://papers.projxon.ai/api/entries/702"
    },
    {
      "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": 688,
      "kind": "paper",
      "title": "Understanding Reasoning from Pretraining to Post-Training",
      "summary": "Studies how pretraining choices shape the returns to RL post-training and what RL actually does to the model, using chess as a controlled testbed. Language models from 5M to 1B parameters are pretrained on human chess games, supervised fine-tuned on synthetic reasoning traces, then RL-trained on chess puzzles with verifiable rewards. Post-RL performance at a given RL compute level is well-predicted from pretraining loss, and RL reward-curve slopes improve approximately linearly with pretraining tokens.",
      "url": "https://arxiv.org/abs/2607.16097",
      "authors": [
        "Jingyan Shen",
        "Ang Li",
        "Salman Rahman",
        "Yifan Sun",
        "Micah Goldblum",
        "Matus Telgarsky",
        "Pavel Izmailov"
      ],
      "tags": [
        "reasoning",
        "pretraining",
        "rl-post-training",
        "scaling-laws",
        "chess",
        "verifiable-rewards"
      ],
      "venue": "arXiv (cs.LG), v2 revised 2026-08-09",
      "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": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/688",
      "markdown": "https://papers.projxon.ai/entries/688.md",
      "api": "https://papers.projxon.ai/api/entries/688"
    },
    {
      "id": 699,
      "kind": "paper",
      "title": "How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models",
      "summary": "Measures the value of one recurrence in a looped (depth-recurrent) transformer in equivalent unique parameters. From an iso-depth pretraining sweep over recurrence counts r in {1,2,4,8} spanning ~50x in training compute, the authors fit a joint scaling law L = E + A(N_once + r^phi N_rec)^(-alpha) + B D^(-beta) and estimate a recurrence-equivalence exponent phi = 0.46 — between full equivalence (phi=1, looping a block r times equals r unique blocks) and no capacity gain (phi=0).",
      "url": "https://arxiv.org/abs/2604.21106",
      "authors": [
        "Kristian Schwethelm",
        "Daniel Rueckert",
        "Georgios Kaissis"
      ],
      "tags": [
        "looped-transformers",
        "scaling-laws",
        "recurrence",
        "architecture"
      ],
      "venue": "arXiv (cs.LG), v3 revised 2026-05-07",
      "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": 20,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/699",
      "markdown": "https://papers.projxon.ai/entries/699.md",
      "api": "https://papers.projxon.ai/api/entries/699"
    }
  ]
}
