atlas

Research map / Large language models / Reasoning and chain of thought

Enhancing Large Language Models through Adaptive Tokenizers

NeurIPS 2024 · Large language models › Reasoning and chain of thought · approach: Routing, pruning and distillation for reasoning · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ADAT, a tokenizer learned by iteratively pruning a large initial vocabulary using a Unigram-style loss combined with per-token cross-entropy from a Pythia model trained on the vocabulary.

Problem

Traditional subword tokenizers (BPE, Unigram, BytePiece) are static, frequency-based, and not synchronized with the LLM being trained, which may limit model performance.

Approach

Iteratively prune a large initial vocabulary (150k from BytePiece or Unigram) by combining frequency-based Unigram loss with per-token cross-entropy loss from a randomly initialized LLM trained on the current vocabulary, using randomized Viterbi sampling and loss momentum.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Adaptively refine the Unigram vocabulary with ADATPythia-70M · Eight-benchmark averageAvg. (%): 42.22 -> 44.51Helped
Adaptively refine the Unigram vocabulary with ADATPythia-70M · PG19 testPPL: 16.52 -> 6.97Helped
Adaptively refine the BytePiece vocabulary with ADATPythia-70M · Eight-benchmark averageAvg. (%): 37.21 -> 39.91(+2.70)Helped
Replace Unigram tokenizer with ADATPythia-160M · Eight-benchmark averageAvg: 44.04 -> 46.05Helped
Replace Unigram tokenizer with ADATPythia-410M · Eight-benchmark averageAvg: 46.50 -> 48.42Helped
Replace Unigram tokenizer with ADATPythia-1B · 60B corpusAvg: 49.11 -> 51.20Helped
Use 100M inference tokens for token-loss calculation rather than 1M (ablation)ADAT on Pythia-70M · Tokenizer accuracyAccuracy: 43.13 -> 44.51Helped
Increase inference data volume from 10M to 100M tokens (ablation)ADAT on Pythia-70M · Tokenizer accuracyAccuracy: 43.74 -> 44.51Helped
Use 150K rather than 75K initial vocabulary (ablation)ADAT on Pythia-70M · Tokenizer accuracyAccuracy: 43.42 -> 44.51Helped
Use 150K rather than 100K initial vocabulary (ablation)ADAT on Pythia-70M · Tokenizer accuracyAccuracy: 43.78 -> 44.51Helped
Add loss momentum to vocabulary pruning (ablation)ADAT on Pythia-70M · Tokenizer accuracyAccuracy: 43.16 -> 44.51Helped
Use a − λb balance function instead of a/λ log(b + 1) (ablation)ADAT on Pythia-70M · Tokenizer accuracyAccuracy: 44.51 -> 42.70Hurt

Surprising findings

Limitations

Experimental setup

Datasets: The Pile (subset)

Benchmarks: PG19 perplexity Lambada PIQA WinoGrande ARC-Easy ARC-Challenge SciQ LogiQA SST-2 BoolQ

Metrics: perplexity accuracy average accuracy compression rate

Baselines: BPE Unigram BytePiece

Builds on: Unigram language model tokenization Byte Pair Encoding Pythia BytePiece

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy