English

DVAGen: Dynamic Vocabulary Augmented Generation

Computation and Language 2025-10-21 v1 Artificial Intelligence

Abstract

Language models trained with a fixed vocabulary struggle to generalize to novel or out-of-vocabulary words, limiting their flexibility in handling diverse token combinations. Existing dynamic vocabulary approaches attempt to address this limitation but face challenges such as fragmented codebases, lack of support for modern LLMs, and limited inference scalability. To overcome these issues, we introduce DVAGen, a fully open-source, unified framework designed for training, evaluation, and visualization of dynamic vocabulary-augmented language models. Our framework modularizes the pipeline for ease of customization, integrates seamlessly with open-source LLMs, and is the first to provide both CLI and WebUI tools for real-time result inspection. We validate the effectiveness of dynamic vocabulary methods on modern LLMs and demonstrate support for batch inference, significantly improving inference throughput.

Keywords

Cite

@article{arxiv.2510.17115,
  title  = {DVAGen: Dynamic Vocabulary Augmented Generation},
  author = {Wei Du and Nuowei Liu and Jie Wang and Jiahao Kuang and Tao Ji and Xiaoling Wang and Yuanbin Wu},
  journal= {arXiv preprint arXiv:2510.17115},
  year   = {2025}
}
R2 v1 2026-07-01T06:46:27.051Z