scimeatlas

Research map / Large language models / Language, safety and interpretability

Tokenizer Choice For LLM Training: Negligible or Crucial?

Mehdi Ali, Michael Fromm, Klaudia Thellmann, Richard Rutmann, Max Lübbering, Johannes Leveling, Katrin Klug, Jan Ebert, Niclas Doll, Jasper Schulze Buschhoff, Charvi Jain, Alexander Arno Weber and 9 more

NAACL 2024Large language models › Language, safety and interpretabilityapproach: LLM unlearning and benchmarksopen problems in this approach187 citations (OpenAlex)

Fraunhofer IAIS · Lamarr Institute for Machine Learning and Artificial Intelligence · TU Dresden · FZ Jülich · DFKI · Aleph Alpha

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
6improved
3no clear effect
1hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use a SentencePiece BPE tokenizer with 33k vocabulary instead of Huggingface BPE 33k (ablation)2.6B monolingual English model · English tasks, avg accuracyaccuracy: 49.13 -> 50.81Improved
use SentencePiece BPE instead of Huggingface BPE (averaged over vocab sizes) (ablation)2.6B multilingual model · Multilingual tasks, AVG accuracyaccuracy: 40.43 -> 40.85Improved
use a custom multilingual tokenizer instead of the pre-trained GPT-2 tokenizer2.6B multilingual model · Multilingual tasks, avg accuracyaccuracy: 39.41 -> 41.44Improved
use a custom English tokenizer (BPE-SP-33) instead of the pre-trained GPT-2 tokenizer2.6B English model · English tasks, avg accuracyaccuracy: 50.36 -> 50.81Improved
increase English vocabulary beyond 33k/50k (ablation)2.6B monolingual English model · English tasks, avg accuracyaccuracy: 49.90 (50k) vs 49.74 (100k)No clear effect
increase multilingual vocabulary from 33k to 100k (ablation)2.6B multilingual model · Multilingual tasks, AVG accuracyaccuracy: 40.37 -> 40.89Improved
use Unigram instead of BPE (SentencePiece) (ablation)2.6B multilingual model · Multilingual tasks, AVG accuracyaccuracy: 40.85 (BPE-SP) vs 40.68 (UNI-SP)Mixed
increase vocabulary size beyond 50k (ablation)2.6B models · Training compute per wordGFLOPs per wordHurt
use multilingual tokenizer instead of English tokenizer on German documents2.6B models · Training compute on German documentsGFLOPs per word: up to 68% lower cost (UNI-SP-50 multi vs UNI-SP-100 EN)Improved
use multilingual instead of English tokenizer on English documents2.6B models · Training compute on English documentsGFLOPs per word: marginal differenceNo clear effect
lower fertility (intrinsic metric) as predictor of downstream accuracytokenizers · All tasks and languagesSpearman correlation with accuracyNo clear effect

Open problems in LLM unlearning and benchmarks

Do LLM unlearning and privacy results still hold on larger models, other languages and real use?

All 5 open problems and what was already tried →

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