From Tokens to Words: On the Inner Lexicon of LLMs
Not on the map. Why?
Abstract (arXiv)
Natural language is composed of words, but modern large language models (LLMs) process sub-words as input. A natural question raised by this discrepancy is whether LLMs encode words internally, and if so how. We present evidence that LLMs engage in an intrinsic detokenization process, where sub-word sequences are combined into coherent whole-word representations at their last token. Our experiments show that this process primarily takes place within the early and middle layers of the model. We further demonstrate its robustness to arbitrary splits (e.g., "cats" to "ca" and "ts"), typos, and importantly-to out-of-vocabulary words: when feeding the last token internal representations of such words to the model as input, it can "understand" them as the complete word despite never seeing such representations as input during training. Our findings suggest that LLMs maintain a latent vocabulary beyond the tokenizer's scope. These insights provide a practical, finetuning-free application for expanding the vocabulary of pre-trained models. By enabling the addition of new vocabulary words, we reduce input length and inference iterations, which reduces both space and model latency, with little to no loss in model accuracy.
Key facts. Cited by 48 papers in the map (data through 14 Oct 2026). Builds on 53 of its 69 references that are in the map. First posted on arXiv 8 Oct 2024.
Builds on
53 of 69 references.
References · 53
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
38 more
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2021Knowledge Neurons in Pretrained Transformerscited by 601
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 334
- 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 331
- 2023Function Vectors in Large Language Modelscited by 308
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 235
- 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 214
- 2023Continual Pre-training of Language Modelscited by 198
- 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 195
- 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 192
- 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 192
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 159
- 2020Probing Pretrained Language Models for Lexical Semanticscited by 156
- 2019Adaptively Sparse Transformerscited by 155
- 2022Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuningcited by 149
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 146
- 2022Analyzing Transformers in Embedding Spacecited by 132
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 121
- 2023Language Models Implement Simple Word2Vec-style Vector Arithmeticcited by 98
- 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
- 2024LLaMA Beyond English: An Empirical Study on Language Capability Transfercited by 95
- 2024Information Flow Routes: Automatically Interpreting Language Models at Scalecited by 95
- 2023Jump to Conclusions: Short-Cutting Transformers With Linear Transformationscited by 90
- 2024Tokenization Is More Than Compressioncited by 89
- 2018A standardized Project Gutenberg corpus for statistical analysis of natural language and quantitative linguisticscited by 64
- 2023Tokenization and the Noiseless Channelcited by 59
- 2024Investigating Continual Pretraining in Large Language Models: Insights and Implicationscited by 57
- 2024Fast Vocabulary Transfer for Language Model Compressioncited by 42
- 2022Analyzing Encoded Concepts in Transformer Language Modelscited by 38
- 2022What do tokens know about their characters and how do they know it?cited by 36
- 2019Improving Pre-Trained Multilingual Models with Vocabulary Expansioncited by 28
- 2024Attend First, Consolidate Later: On the Importance of Attention in Different LLM Layerscited by 25
- 2023Unnatural Error Correction: GPT-4 Can Almost Perfectly Handle Unnatural Scrambled Textcited by 19
- 2024Token Erasure as a Footprint of Implicit Vocabulary Items in LLMscited by 18
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 29; 2026: 18.
48 papers.
Sort:
By area:
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
- 2025SuperBPE: Space Travel for Language Modelscited by 63
- 2025The Dual-Route Model of Inductioncited by 24
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 17
- 2025Probing Semantic Routing in Large Mixture-of-Expert Modelscited by 14
- 2025Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failurecited by 13
- 2025Layers at Similar Depths Generate Similar Activations Across LLM Architecturescited by 12
- 2025Adversarial Tokenizationcited by 11
- 2025The Strawberry Problem: Emergence of Character-level Understanding in Tokenized Language Modelscited by 11
- 2025Measuring and Guiding Monosemanticitycited by 10
- 2025Learning to Skip the Middle Layers of Transformerscited by 10
- 2024Elevating Visual Perception in Multimodal LLMs with Visual Embedding Distillationcited by 9
36 more
- 2026Latent Reasoning with Supervised Thinking Statescited by 9
- 2025AbbIE: Autoregressive Block-Based Iterative Encoder for Efficient Sequence Modelingcited by 7
- 2025Efficient Parallel Samplers for Recurrent-Depth Models and Their Connection to Diffusion Language Modelscited by 7
- 2026Why Fine-Tuning Encourages Hallucinations and How to Fix Itcited by 7
- 2025Understanding the Anchoring Effect of LLM with Synthetic Data: Existence, Mechanism, and Potential Mitigationscited by 6
- 2025Token Distillation: Attention-aware Input Embeddings For New Tokenscited by 6
- 2025Born a Transformer -- Always a Transformer? On the Effect of Pretraining on Architectural Abilitiescited by 6
- 2025Model-Aware Tokenizer Transfercited by 6
- 2025Weight-based Analysis of Detokenization in Language Models: Understanding the First Stage of Inference Without Inferencecited by 5
- 2025Model Internal Sleuthing: Finding Lexical Identity and Inflectional Features in Modern Language Modelscited by 5
- 2025Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Modelscited by 4
- 2025Spelling-out is not Straightforward: LLMs' Capability of Tokenization from Token to Characterscited by 4
- 2025Meeseeks: A Feedback-Driven, Iterative Self-Correction Benchmark evaluating LLMs' Instruction Following Capabilitycited by 3
- 2026Word Recovery in Large Language Models Enables Character-Level Tokenization Robustnesscited by 2
- 2026Defragmenting Language Models: An Interpretability-based Approach for Vocabulary Expansioncited by 2
- 2026Shorthand for Thought: Compressing LLM Reasoning via Entropy-Guided Supertokenscited by 2
- 2025Enhancing LLM Character-Level Manipulation via Divide and Conquercited by 1
- 2025Length Representations in Large Language Modelscited by 1
- 2025Train It and Forget It: Merge Lists are Unnecessary for BPE Inference in Language Modelscited by 1
- 2025Alternatives To Next Token Prediction In Text Generation -- A Surveycited by 1
- 2025Vocab Diet: Reshaping the Vocabulary of LLMs via Vector Arithmeticcited by 1
- 2026Friends and Grandmothers in Silico: Localizing Entity Cells in Language Modelscited by 1
- 2026Stochasticity in Tokenisation Improves Robustnesscited by 1
- 2026How Tokenization Limits Phonological Knowledge Representation in Language Models and How to Improve Themcited by 1
- 2026Multilinguality at the Edge: Developing Language Models for the Global Southcited by 1
- 2025Investigating Neurons and Heads in Transformer-based LLMs for Typographical Errorscited by 0
- 2025In-Context Learning Without Copyingcited by 0
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understandingcited by 0
- 2026Learning Faster with Better Tokens: Parameter-Efficient Vocabulary Adaptation for Specialized Text Summarizationcited by 0
- 2026Inside the LLM Word Factorycited by 0
- 2026Emergent retokenization symmetry in large language models: phenomenology and applicationscited by 0
- 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuningcited by 0
- 2026(How) Do MLLMs Report Bistable Images Like Humans?cited by 0
- 2026Large language models in medical time series analysiscited by 0
- 2026Extracting Persona Subspaces Through Iterative Nullspace Projection For Modulationcited by 0
- 2026More Than Words: Compositional Tokenization for Efficient Language Modelscited by 0
- 2026More Than Words: Compositional Tokenization for Efficient Language Models4 Oct 2026
- 2026Extracting Persona Subspaces Through Iterative Nullspace Projection For Modulation3 Oct 2026
- 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuning9 Sep 2026
- 2026Large language models in medical time series analysis7 Sep 2026
- 2026(How) Do MLLMs Report Bistable Images Like Humans?6 Sep 2026
- 2026Emergent retokenization symmetry in large language models: phenomenology and applications14 Jun 2026
- 2026Inside the LLM Word Factory7 Jun 2026
- 2026Learning Faster with Better Tokens: Parameter-Efficient Vocabulary Adaptation for Specialized Text Summarization17 May 2026
- 2026Shorthand for Thought: Compressing LLM Reasoning via Entropy-Guided Supertokens29 Apr 2026
- 2026Multilinguality at the Edge: Developing Language Models for the Global South23 Apr 2026
- 2026How Tokenization Limits Phonological Knowledge Representation in Language Models and How to Improve Them18 Apr 2026
- 2026Defragmenting Language Models: An Interpretability-based Approach for Vocabulary Expansion17 Apr 2026
36 more
- 2026Stochasticity in Tokenisation Improves Robustness17 Apr 2026
- 2026Why Fine-Tuning Encourages Hallucinations and How to Fix It16 Apr 2026
- 2026Friends and Grandmothers in Silico: Localizing Entity Cells in Language Models1 Apr 2026
- 2026Word Recovery in Large Language Models Enables Character-Level Tokenization Robustness11 Mar 2026
- 2026Latent Reasoning with Supervised Thinking States9 Feb 2026
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understanding14 Jan 2026
- 2025In-Context Learning Without Copying7 Nov 2025
- 2025Model-Aware Tokenizer Transfer24 Oct 2025
- 2025Vocab Diet: Reshaping the Vocabulary of LLMs via Vector Arithmetic19 Oct 2025
- 2025Efficient Parallel Samplers for Recurrent-Depth Models and Their Connection to Diffusion Language Models16 Oct 2025
- 2025Alternatives To Next Token Prediction In Text Generation -- A Survey29 Sep 2025
- 2025Train It and Forget It: Merge Lists are Unnecessary for BPE Inference in Language Models8 Aug 2025
- 2025Length Representations in Large Language Models27 Jul 2025
- 2025AbbIE: Autoregressive Block-Based Iterative Encoder for Efficient Sequence Modeling11 Jul 2025
- 2025Learning to Skip the Middle Layers of Transformers26 Jun 2025
- 2025Measuring and Guiding Monosemanticity24 Jun 2025
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizations23 Jun 2025
- 2025Spelling-out is not Straightforward: LLMs' Capability of Tokenization from Token to Characters12 Jun 2025
- 2025Model Internal Sleuthing: Finding Lexical Identity and Inflectional Features in Modern Language Models2 Jun 2025
- 2025Born a Transformer -- Always a Transformer? On the Effect of Pretraining on Architectural Abilities27 May 2025
- 2025Token Distillation: Attention-aware Input Embeddings For New Tokens26 May 2025
- 2025Understanding the Anchoring Effect of LLM with Synthetic Data: Existence, Mechanism, and Potential Mitigations21 May 2025
- 2025The Strawberry Problem: Emergence of Character-level Understanding in Tokenized Language Models20 May 2025
- 2025Meeseeks: A Feedback-Driven, Iterative Self-Correction Benchmark evaluating LLMs' Instruction Following Capability30 Apr 2025
- 2025Layers at Similar Depths Generate Similar Activations Across LLM Architectures3 Apr 2025
- 2025The Dual-Route Model of Induction3 Apr 2025
- 2025Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failure2 Apr 2025
- 2025Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Models1 Apr 2025
- 2025SuperBPE: Space Travel for Language Models17 Mar 2025
- 2025Adversarial Tokenization4 Mar 2025
- 2025Investigating Neurons and Heads in Transformer-based LLMs for Typographical Errors27 Feb 2025
- 2025Probing Semantic Routing in Large Mixture-of-Expert Models15 Feb 2025
- 2025Enhancing LLM Character-Level Manipulation via Divide and Conquer12 Feb 2025
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb 2025
- 2025Weight-based Analysis of Detokenization in Language Models: Understanding the First Stage of Inference Without Inference27 Jan 2025
- 2024Elevating Visual Perception in Multimodal LLMs with Visual Embedding Distillation12 Dec 2024
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
- 2026Latent Reasoning with Supervised Thinking Statescited by 9
- 2026Shorthand for Thought: Compressing LLM Reasoning via Entropy-Guided Supertokenscited by 2
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understandingcited by 0
- 2026Shorthand for Thought: Compressing LLM Reasoning via Entropy-Guided Supertokens29 Apr 2026
- 2026Latent Reasoning with Supervised Thinking States9 Feb 2026
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understanding14 Jan 2026
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb 2025
- 2025Probing Semantic Routing in Large Mixture-of-Expert Modelscited by 14
- 2025Learning to Skip the Middle Layers of Transformerscited by 10
- 2025Learning to Skip the Middle Layers of Transformers26 Jun 2025
- 2025Probing Semantic Routing in Large Mixture-of-Expert Models15 Feb 2025
- 2025Adversarial Tokenizationcited by 11
- 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuningcited by 0
- 2026Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuning9 Sep 2026
- 2025Adversarial Tokenization4 Mar 2025
- 2026Why Fine-Tuning Encourages Hallucinations and How to Fix It16 Apr 2026
- 2025Measuring and Guiding Monosemanticitycited by 10
- 2025Measuring and Guiding Monosemanticity24 Jun 2025
- 2025SuperBPE: Space Travel for Language Modelscited by 63
- 2025The Dual-Route Model of Inductioncited by 24
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 17
- 2025Is the Reversal Curse a Binding Problem? Uncovering Limitations of Transformers from a Basic Generalization Failurecited by 13
- 2025Layers at Similar Depths Generate Similar Activations Across LLM Architecturescited by 12
- 2025The Strawberry Problem: Emergence of Character-level Understanding in Tokenized Language Modelscited by 11
- 2025AbbIE: Autoregressive Block-Based Iterative Encoder for Efficient Sequence Modelingcited by 7
- 2025Token Distillation: Attention-aware Input Embeddings For New Tokenscited by 6
- 2025Born a Transformer -- Always a Transformer? On the Effect of Pretraining on Architectural Abilitiescited by 6
- 2025Model-Aware Tokenizer Transfercited by 6
- 2025Weight-based Analysis of Detokenization in Language Models: Understanding the First Stage of Inference Without Inferencecited by 5
- 2025Model Internal Sleuthing: Finding Lexical Identity and Inflectional Features in Modern Language Modelscited by 5
12 most cited of 35 All 35 (JSON)
- 2026More Than Words: Compositional Tokenization for Efficient Language Models4 Oct 2026
- 2026Extracting Persona Subspaces Through Iterative Nullspace Projection For Modulation3 Oct 2026
- 2026Large language models in medical time series analysis7 Sep 2026
- 2026(How) Do MLLMs Report Bistable Images Like Humans?6 Sep 2026
- 2026Emergent retokenization symmetry in large language models: phenomenology and applications14 Jun 2026
- 2026Inside the LLM Word Factory7 Jun 2026
- 2026Learning Faster with Better Tokens: Parameter-Efficient Vocabulary Adaptation for Specialized Text Summarization17 May 2026
- 2026Multilinguality at the Edge: Developing Language Models for the Global South23 Apr 2026
- 2026How Tokenization Limits Phonological Knowledge Representation in Language Models and How to Improve Them18 Apr 2026
- 2026Defragmenting Language Models: An Interpretability-based Approach for Vocabulary Expansion17 Apr 2026
- 2026Stochasticity in Tokenisation Improves Robustness17 Apr 2026
- 2026Friends and Grandmothers in Silico: Localizing Entity Cells in Language Models1 Apr 2026
12 newest of 35 All 35 (JSON)