Generation with Dynamic Vocabulary
Yanting Liu, Tao Ji, Changzhi Sun, Yuanbin Wu, Xiaoling Wang
Abstract
We introduce a new dynamic vocabulary for language models. It can involve arbitrary text spans during generation. These text spans act as basic generation bricks, akin to tokens in the traditional static vocabularies. We show that, the ability to generate multi-tokens atomically improve both generation quality and efficiency (compared to the standard language model, the MAUVE metric is increased by 25%, the latency is decreased by 20%). The dynamic vocabulary can be deployed in a plug-and-play way, thus is attractive for various downstream applications. For example, we demonstrate that dynamic vocabulary can be applied to different domains in a training-free manner. It also helps to generate reliable citations in question answering tasks (substantially enhancing citation results without compromising answer accuracy). 1
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Improving Language Models by Retrieving from Trillions of Tokens cites Generalization through Memorization: Nearest Neighbor Language Models
- On Discriminative vs. Generative classifiers: Rethinking MLLMs for Action Understanding cites LoRA: Low-Rank Adaptation of Large Language Models
- Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNets cites LoRA: Low-Rank Adaptation of Large Language Models
- Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNets cites Improving Language Models by Retrieving from Trillions of Tokens
- Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNets cites Generalization through Memorization: Nearest Neighbor Language Models
- zip2zip: Inference-Time Adaptive Tokenization via Online Compression cites LoRA: Low-Rank Adaptation of Large Language Models
Cited by top-tier papers5
- Protein Design with Dynamic Protein VocabularyNuowei Liu, Jiahao Kuang, Yanting Liu, Tao Ji et al.NeurIPS 2025 · 12 citations
- Attribution, Citation, and Quotation: A Survey of Evidence-based Text Generation with Large Language ModelsTobias Schreieder, Tim Schopf, Michael FärberACL 2026 · 10 citations
- zip2zip: Inference-Time Adaptive Tokenization via Online CompressionSaibo Geng, Nathan Ranchin, Yunzhen Yao, Maxime Peyrard et al.NeurIPS 2025 · 5 citations
- On Discriminative vs. Generative classifiers: Rethinking MLLMs for Action UnderstandingZhanzhong Pang, Dibyadip Chatterjee, Fadime Sener, Angela YaoICLR 2026 · 1 citation
- Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNetsBo Xue, Yunchong Song, Fanghao Shao, Xuekai Zhu et al.ICLR 2026
Builds on23
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai et al.ICML 2022 · 1,629 citations
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
- Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2020 · 1,038 citations
Related papers
- Cite Pretrain: Retrieval-Free Knowledge Attribution for Large Language ModelsYukun Huang, Sanxing Chen, Jian Pei, Manzil Zaheer et al.ICLR 2026 · 1 citation
- DyVo: Dynamic Vocabularies for Learned Sparse Retrieval with EntitiesThong Nguyen, Shubham Chatterjee, Sean MacAvaney, Iain Mackie et al.EMNLP 2024 · 4 citations
- Retrieval is Accurate GenerationBowen Cao, Deng Cai, Leyang Cui, Xuxin Cheng et al.ICLR 2024 · 13 citations
- Copy is All You NeedTian Lan, Deng Cai, Yan Wang, Heyan Huang et al.ICLR 2023
- Forking Paths in Neural Text GenerationEric J. Bigelow, Ari Holtzman, Hidenori Tanaka, Tomer David UllmanICLR 2025
