{
  "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.",
  "body": "",
  "notes": "Primary: arxiv abs (cs.CL; also cs.AI, cs.LG). License: arXiv.org perpetual non-exclusive on HTML at check. Comment: ICLR 2022 Camera Ready. Equal contrib Tay/Tran. Google Research / DeepMind. Correspondence yitay@google.com, vqtran@google.com. Implementation in google-research/google-research/charformer (monorepo; no standalone official repo on abs). HF paper page 0 upvotes; unofficial linked models orkungedik/charformer-turkish-base and etri-lirs/gbst-kebyt5-* not copied into hf_* fields. Discord posted abs v3. Trains on C4/mC4/GLUE rather than a new hosted corpus, so no datasets_local row. License field left blank per catalog convention.",
  "url": "https://arxiv.org/abs/2106.12672",
  "links": [],
  "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"
  ],
  "topics": "tokenization, character-level Transformers, byte-level LMs",
  "venue": "arXiv / Google Research / DeepMind",
  "publisher": "",
  "source": "",
  "language": "",
  "access": "",
  "license": "",
  "published_year": 2021,
  "added_at": "2026-10-01T16:45:06.278Z",
  "verified_at": null,
  "attrs": {
    "scale": "C4 1M steps seq 1024; GLUE/IMDb/AGNews/Civil Comments/Wiki Comments; mC4 101 langs; TyDiQA/XQuAD/MLQA/XNLI/PAWS-X; ds=2–3, max block 4",
    "purpose": "Learn latent subword blocks from bytes with a differentiable GBST module instead of a frozen tokenizer",
    "time_period": "2021-06-23 (arXiv 2106.12672 v1); last revised 2022-02-23 (v3). ICLR 2022 camera-ready. HF paper publishedAt 2021-06-23."
  },
  "enrichment": {
    "s2": {
      "venue": "International Conference on Learning Representations",
      "paper_id": "e79d1206292bc5e67ba19737d87d4b2ea4a37105",
      "published": "2021-06-23",
      "fetched_at": "2026-10-03T14:57:20.383Z",
      "citation_count": 221,
      "reference_count": 70,
      "influential_citation_count": 20
    },
    "arxiv": {
      "id": "2106.12672",
      "title": "Charformer: Fast Character Transformers via Gradient-based Subword Tokenization",
      "authors": [
        "Yi Tay",
        "Vinh Q. Tran",
        "Sebastian Ruder",
        "Jai Gupta",
        "Hyung Won Chung",
        "Dara Bahri",
        "Zhen Qin",
        "Simon Baumgartner",
        "Cong Yu",
        "Donald Metzler"
      ],
      "comment": "ICLR 2022 Camera Ready",
      "updated": "2022-02-23",
      "abstract": "State-of-the-art models in natural language processing rely on separate rigid subword tokenization algorithms, which limit their generalization ability and adaptation to new settings. In this paper, we propose a new model inductive bias that learns a subword tokenization end-to-end as part of the model. To this end, we introduce a soft gradient-based subword tokenization module (GBST) that automatically learns latent subword representations from characters in a data-driven fashion. Concretely, GBST enumerates candidate subword blocks and learns to score them in a position-wise fashion using a block scoring network. We additionally introduce Charformer, a deep Transformer model that integrates GBST and operates on the byte level. Via extensive experiments on English GLUE, multilingual, and noisy text datasets, we show that Charformer outperforms a series of competitive byte-level baselines while generally performing on par and sometimes outperforming subword-based models. Additionally, Charformer is fast, improving the speed of both vanilla byte-level and subword-level Transformers by 28%-100% while maintaining competitive quality. We believe this work paves the way for highly performant token-free models that are trained completely end-to-end.",
      "published": "2021-06-23",
      "categories": [
        "cs.CL",
        "cs.AI",
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T14:57:20.383Z"
    }
  },
  "enriched_at": "2026-10-03T14:57:20.419Z",
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "588",
    "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/569",
  "markdown": "https://papers.projxon.ai/entries/569.md",
  "api": "https://papers.projxon.ai/api/entries/569",
  "relations": [
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 559,
        "kind": "paper",
        "title": "SuperBPE: Space Travel for Language Models",
        "summary": "Two-stage BPE curriculum: subwords first, then merge across whitespace. At vocab 200k, encodes a fixed text with up to 33% fewer tokens than BPE. 8B transformers trained from scratch at matched params/vocab/FLOPs (~330B tokens): SuperBPE (t=180k) beats BPE on 25/30 tasks, +4.0% absolute average and +8.2% on MMLU, with 27% less inference compute. Superwords often match multi-word expressions. COLM 2025 camera-ready. No official code on abs.",
        "url": "https://arxiv.org/abs/2503.13423",
        "authors": [
          "Alisa Liu",
          "Jonathan Hayase",
          "Valentin Hofmann",
          "Sewoong Oh",
          "Noah A. Smith",
          "Yejin Choi"
        ],
        "tags": [
          "superbpe",
          "tokenization",
          "superword",
          "bpe",
          "olmo",
          "colm",
          "uw",
          "nvidia",
          "ai2",
          "mmlu"
        ],
        "venue": "arXiv / University of Washington / NVIDIA / Allen Institute for AI",
        "source": "",
        "license": "",
        "published_year": 2025,
        "added_at": "2026-10-01T16:45:05.207Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 62,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/559",
        "markdown": "https://papers.projxon.ai/entries/559.md",
        "api": "https://papers.projxon.ai/api/entries/559"
      }
    },
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 582,
        "kind": "paper",
        "title": "T-FREE: Tokenizer-Free Generative LLMs via Sparse Representations for Memory-Efficient Embeddings",
        "summary": "T-FREE splits on whitespace/digits/specials, represents each word as n×m hashed character triplets into a v-entry embedding (best v=8k, m=10 at 1B), and trains a multi-label BCE head. Cuts embedding+head params >85% vs a 64k Unigram baseline (1B: 0.84B vs 1.07B params) at competitive 18-benchmark scores. Duplicate-token rate 0% vs 15–35% for BPE/Unigram. Fertility closer to 1.0 across EN/DE/RU/VI/AR than English-centric tokenizers. 3B English→German continual pretrain gains ~5 pp on German HellaSwag/ARC while the Unigram baseline barely moves. Code https://github.com/Aleph-Alpha/trigrams.",
        "url": "https://arxiv.org/abs/2406.19223",
        "authors": [
          "Björn Deiseroth",
          "Manuel Brack",
          "Patrick Schramowski",
          "Kristian Kersting",
          "Samuel Weinbach"
        ],
        "tags": [
          "t-free",
          "tokenizer-free",
          "trigrams",
          "embeddings",
          "aleph-alpha",
          "multilingual",
          "fertility",
          "hash-embeddings"
        ],
        "venue": "arXiv / Aleph Alpha / TU Darmstadt / hessian.AI / DFKI",
        "source": "",
        "license": "CC BY-NC-SA 4.0",
        "published_year": 2024,
        "added_at": "2026-10-01T16:45:06.278Z",
        "has_dataset_profile": false,
        "license_class": "non-commercial",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 11,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/582",
        "markdown": "https://papers.projxon.ai/entries/582.md",
        "api": "https://papers.projxon.ai/api/entries/582"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 519,
      "kind": "paper",
      "title": "Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulation",
      "summary": "Trains a 1.7B LLaMA-3 byte LM on FineWeb-Edu UTF-8 and injects one subword effect at a time. Biggest gains: 4× isoFLOP sample throughput (chunk-4 embeddings) and subword boundary priors/inductive biases (end-boundaries leak future bytes; start-boundaries remain useful when removed at val). Embedding-table scaling, subword-distance RoPE, per-subword CE, and next-subword MTP are weak or harmful at this scale. Interventions often run 50k steps then revert. No official code on abs.",
      "url": "https://arxiv.org/abs/2604.27263",
      "authors": [
        "Théo Gigant",
        "Bowen Peng",
        "Jeffrey Quesnelle"
      ],
      "tags": [
        "tokenization",
        "byte-level",
        "bpe",
        "fineweb-edu",
        "nous-research",
        "sample-throughput",
        "inductive-bias"
      ],
      "venue": "arXiv / Nous Research",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 3,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/519",
      "markdown": "https://papers.projxon.ai/entries/519.md",
      "api": "https://papers.projxon.ai/api/entries/519"
    },
    {
      "id": 554,
      "kind": "paper",
      "title": "Byte Latent Transformer: Patches Scale Better Than Tokens",
      "summary": "BLT maps bytes to variable patches via next-byte entropy, then a light local encoder, a large latent Transformer, and a local decoder. First flop-controlled byte-level scaling study to 8B / 4T bytes: matches Llama 3 at equal train FLOPs and can cut inference FLOPs ~50% with patch size 6–8. For a fixed inference budget, growing patch size and model size together beats BPE. Robustness: noisy HellaSwag 64.3 vs Llama 3 56.9; CUTE 54.1 vs 27.5. Code https://github.com/facebookresearch/blt.",
      "url": "https://arxiv.org/abs/2412.09871",
      "authors": [
        "Artidoro Pagnoni",
        "Ram Pasunuru",
        "Pedro Rodriguez",
        "John Nguyen",
        "Benjamin Muller",
        "Margaret Li",
        "Chunting Zhou",
        "Lili Yu",
        "Jason Weston",
        "Luke Zettlemoyer",
        "Gargi Ghosh",
        "Mike Lewis",
        "Ari Holtzman",
        "Srinivasan Iyer"
      ],
      "tags": [
        "blt",
        "byte-level",
        "entropy-patching",
        "tokenization",
        "fair",
        "meta",
        "llama3",
        "cute"
      ],
      "venue": "arXiv / FAIR Meta / University of Washington / University of Chicago",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 170,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/554",
      "markdown": "https://papers.projxon.ai/entries/554.md",
      "api": "https://papers.projxon.ai/api/entries/554"
    },
    {
      "id": 1098,
      "kind": "post",
      "title": "EvaByte: Efficient Byte-level Language Models at Scale",
      "summary": "HKU NLP + SambaNova blog (2025) for EvaByte, a 6.5B byte-level model (vocab 320: 256 bytes + 64 specials) with 8 multibyte prediction heads and EVA (chunked linearized attention). Trained on 1.5T bytes of text/math/code mainly from Dolma v1.7, The Stack v2, FineWeb-Edu, and DCLM-Baseline, batch 8M bytes, 32K context, 256 SambaNova SN30-2 RDUs. After 1.2T bytes (EvaByte-Phase1), two annealing runs (100B and 200B bytes) are souped into EvaByte, then SFT (EvaByte-SFT) on a Tulu 3 / OpenHermes 2.5 / OpenCoder mix. Claims competitive open 7B tokenizer LMs with ~5x less training data (bytes vs Llama-3 tokens) and up to 2x faster decoding than tokenizer LMs via self-speculative multibyte generation. Hub cards Apache-2.0. Paper listed as coming soon; cite the blog.",
      "url": "https://hkunlp.github.io/blog/2025/evabyte/",
      "authors": [
        "Lin Zheng",
        "Xueliang Zhao",
        "Guangtao Wang",
        "Chen Wu",
        "David Dong",
        "Angela Wang",
        "Mingran Wang",
        "Yun Du",
        "Haige Bo",
        "Amol Sharma",
        "Bo Li",
        "Kejie Zhang",
        "Changran Hu",
        "Urmish Thakker",
        "Lingpeng Kong"
      ],
      "tags": [
        "evabyte",
        "byte-level",
        "tokenization-free",
        "eva-attention",
        "multibyte-prediction",
        "hku-nlp",
        "sambanova",
        "apache-2.0"
      ],
      "venue": "HKU NLP / SambaNova Systems",
      "source": "web",
      "license": "Apache-2.0 (Hub card EvaByte/EvaByte)",
      "published_year": null,
      "added_at": "2026-09-01T18:32:46.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/1098",
      "markdown": "https://papers.projxon.ai/entries/1098.md",
      "api": "https://papers.projxon.ai/api/entries/1098"
    },
    {
      "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": 978,
      "kind": "post",
      "title": "Agentic RL: Token-In, Token-Out Done Right (TITO)",
      "summary": "Interactive HF Space article (qgallouedec/tito) arguing multi-turn agentic RL silently breaks when decode→parse→re-tokenize drifts tokens so gradients hit sequences the policy never sampled. Fix: keep a token buffer; never re-encode decoded samples; tokenize tool deltas via prefix-preserving chat-template property. Surveys 18/19 open families as prefix-preserving for tool messages; documents Qwen3 Jinja one-line fix and GLM stop-token placement pitfalls. Alternative is per-family renderers libraries.",
      "url": "https://huggingface.co/spaces/qgallouedec/tito",
      "authors": [
        "Quentin Gallouédec",
        "Kashif Rasul"
      ],
      "tags": [
        "tito",
        "agentic-rl",
        "chat-template",
        "tokenization",
        "huggingface",
        "gallouedec",
        "rasul"
      ],
      "venue": "Hugging Face Spaces",
      "source": "huggingface",
      "license": "unknown (HF Space article)",
      "published_year": 2026,
      "added_at": "2026-10-02T23:40:42.683Z",
      "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/978",
      "markdown": "https://papers.projxon.ai/entries/978.md",
      "api": "https://papers.projxon.ai/api/entries/978"
    },
    {
      "id": 1054,
      "kind": "code",
      "title": "Combinatorial BPE Tokenizer (factored variation/prefix/core/suffix embeddings)",
      "summary": "Combinatorial BPE (SwayStar123, MIT repo; intro X 2026-09-23, scaled update 2026-09-25) factors each token into (variation, prefix, core, suffix) and embeds as the sum of four tables so capitalization, leading whitespace/punctuation, and trailing punctuation (plus Simplified/Traditional Chinese) share one core. On a single 32k-budget tokenizer and 8-layer GPT (42–45M, RoPE/SwiGLU/QK-norm/Muon) trained 22.5k steps×16k tokens on 6 Wikipedia langs + 5 code langs, README reports ~32% fewer tokens overall (22–25% NL, 42–50% code) and ~3.7% lower bits-per-byte vs GPT-2-style BPE (tweet chart: 4.1%), better on every source; gains strongest on code. Author notes flop-match vs data-match caveats; small-scale / one-seed / preliminary.",
      "url": "https://x.com/SwayStar123/status/2103328423506813059",
      "authors": [
        "sway (@SwayStar123)",
        "Luma Labs AI"
      ],
      "tags": [
        "combinatorial-bpe",
        "tokenization",
        "bpe",
        "swaystar123",
        "luma",
        "code-compression",
        "bits-per-byte",
        "multilingual",
        "mit",
        "factored-embeddings"
      ],
      "venue": "GitHub / X (independent demo)",
      "source": "x",
      "license": "MIT (OpenCC-derived Han tables Apache-2.0 NOTICE)",
      "published_year": 2026,
      "added_at": "2026-09-25T16:37:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "de",
        "en",
        "fr",
        "go",
        "js",
        "multilingual",
        "ru",
        "zh"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1054",
      "markdown": "https://papers.projxon.ai/entries/1054.md",
      "api": "https://papers.projxon.ai/api/entries/1054"
    }
  ]
}
