[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-413495-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-413495-en":131,"doc-similar-413495":164},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","vocabulary-customization-for-efficient-domain-specific-llm-deployment-preprint","Vocabulary Customization for Efficient Domain-Specific LLM Deployment - Preprint","","When an LLM processes text outside its training domain, vocabulary mismatch often forces the general tokenizer to split frequent domain-specific terms into less efficient sub-words. This increases token counts and suboptimal splits, leading to slower processing. The work augments a pretrained vocabulary with domain-specific tokens via an algorithm that extends an existing tokenizer while guaranteeing tokenization efficiency never decreases. E-commerce evaluations show up to 20% shorter inputs and lower inference latency while preserving prediction quality, with additional analysis of forward-pass impact and token adoption rates.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/vocabulary-customization-for-efficient-domain-specific-llm-deployment-preprint/413495/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/vocabulary-customization-for-efficient-domain-specific-llm-deployment-preprint/413495.png","ImageObject",300,407,{"name":42,"@type":43},"dabgoudw","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-09-28",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",14,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does vocabulary customization address for domain-specific LLM deployment?","Question",{"text":63,"@type":64},"It mitigates vocabulary mismatch where a general tokenizer fails to capture frequent domain-specific terms, causing higher token counts and slower processing.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the proposed method ensure tokenizer quality does not degrade?",{"text":68,"@type":64},"It uses an algorithm that extends an existing tokenizer while guaranteeing every input sequence is segmented into at most the same number of tokens as before.",{"name":70,"@type":61,"acceptedAnswer":71},"What performance gains are reported for the e-commerce evaluation?",{"text":72,"@type":64},"The augmented tokenizer shortens input sequences by up to 20% and reduces inference latency on downstream tasks while preserving predictive quality.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},413495,1790741535,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":33,"preview_urls":147},3985747860484,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","arXiv :2509 .26124v1 [ cs .CL] 30 Sep 2025  \nVocabulary Customization for Efficient Domain-Specific LLM Deployment  \nChristian Herold∗ Michael Kozielski Nicholas Santavas  \nYannick Versley Shahram Khadivi  \neBay Inc.  \nAbstract  \nWhen using an LLM to process text outside the training domain(s), an often overlooked factor is vocabulary mismatch, where the general-domain tokenizer fails to capture frequent domain-specific terms, leading to higher token fertility and thus a decrease in processing speed due to suboptimal sub-word splits.  \nWe address this limitation by augmenting the pretrained vocabulary with a set of domain-specific tokens. To this end, we design an algorithm that extends an existing tokenizer while guaranteeing it never decreases tokenization efficiency:  \nevery input sequence is segmented into at most the same number of tokens as before.  \nEvaluated on real-world e-commerce use-cases, the augmented tokenizer significantly shortens input sequences by up to 20% and reduces inference latency on downstream tasks while preserving predictive quality. We further analyze secondary effects, such as the impact on forward pass speed and the rate at which the model adopts the newly introduced tokens, to illustrate the broader benefits of vocabulary adaptation.  \n1 Introduction  \nLarge Language Models (LLMs) have been established as state-of-the-art approaches for countless downstream applications across many domains and languages, still it is a common occurrence that they are adapted either to underrepresented/unseen languages or to new domains, such as healthcare, finance or e-commerce [Artetxe et al., 2020, Peng et al., 2024, Palen-Michel et al., 2024] . While it is relatively common to see tokenizer adaptation for new languages (see also Section 2), we argue that extending the tokenizer can also show significant benefits for domain adaptation. For example, ine-commerce we can improve the modeling of the language occurring in brand names, stock-keeping units or multilingual descriptors, which occur with high regularity but are often not represented as single tokens in the original vocabulary.  \nWhen we extend the vocabulary with a tailored set of additional tokens that cover frequent or semantically critical domain terms, there are a number of tradeoffs and non-trivial questions on which we want to shed light in this paper, specifically: (i) How and to what extent should we select candidate tokens so that the resulting token set maximizes compression without bloating the embedding table?  \n(ii) Can we modify an existing tokenizer incrementally and deterministically, such that the new segmentation is never worse than the original, thus preserving backward compatibility with legacy inputs? (iii) What are the measurable gains, not only in static token counts but also in end-to-end inference time and prediction quality, when the augmented tokenizer is paired with a domain-specific model?  \n∗ Corresponding author. Email: [cherold@ebay.com](cherold@ebay.com).  \nPreprint.  \nWe answer these questions through three main contributions.  \n1. We propose a new algorithm for vocabulary extension that is guaranteed to always result in equal or fewer tokens being used.  \n2. We show that vocabulary extension can be applied to make inference with autoregressive LLMs more efficient for a specific domain (e-commerce) by up to 20% without degrading model quality.  \n3. We highlight and investigate multiple implications of vocabulary extensions that are often ignored in previous work, such as the impact on forward pass speed and how frequently the final model utilizes the additional tokens.  \nBy systematically addressing vocabulary mismatch, our work closes an often overlooked gap between laboratory-grade fine-tuning and production-ready LLM deployment. The proposed method is orthogonal to ongoing efforts in model quantization, speculative decoding, and optimized kernels, and can be combined with them to yield multiplicative efficiency gains,","cbCaibgfgAuUsbVs","https://ap.wps.com/l/cbCaibgfgAuUsbVs","pdf",488975,15,"English","# Abstract\n# Introduction\n# Related Work\n## Vocabulary Extensions","[{\"question\":\"What problem does vocabulary customization address for domain-specific LLM deployment?\",\"answer\":\"It mitigates vocabulary mismatch where a general tokenizer fails to capture frequent domain-specific terms, causing higher token counts and slower processing.\"},{\"question\":\"How does the proposed method ensure tokenizer quality does not degrade?\",\"answer\":\"It uses an algorithm that extends an existing tokenizer while guaranteeing every input sequence is segmented into at most the same number of tokens as before.\"},{\"question\":\"What performance gains are reported for the e-commerce evaluation?\",\"answer\":\"The augmented tokenizer shortens input sequences by up to 20% and reduces inference latency on downstream tasks while preserving predictive quality.\"}]","Vocabulary Customization for Efficient Domain-Specific LLM Deployment - Preprint | PDF",1790595019,38,[148,152,156,160],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b21360f6f64bec9c1672c3b01ac8b0bf.webp",983,1272,{"page_no":26,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/973fa8686e40b050bb1c02ea81eb6ba5.webp",982,1270,{"page_no":30,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3245d512ff1da9d35a83632b8c6e61c6.webp",981,1269,{"page_no":33,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/459b6fd3f778c541fda91c7bc367e5f3.webp",980,1268,{"list":165,"token":11},[166,173,180,186,193,200,207,214,221,227],{"doc_id":167,"doc_title":168,"file_type":138,"home_preview_img_url":169,"slug":170,"view_count":171,"category_name":29,"create_tm":172},327188,"STELLA - Efficient Sensor-to-LLM Translation for On-Device Human Activity Recognition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909308474/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=J9mL4uNirYmSe4b0miDtvjWTDdI%3D","stella-efficient-sensor-to-llm-translation-for-on-device-human-activity-recognition",17,1789976637,{"doc_id":174,"doc_title":175,"file_type":138,"home_preview_img_url":176,"slug":177,"view_count":178,"category_name":29,"create_tm":179},84330,"LUMI: Tokenizer-Agnostic LLM-Based Lossless Image Compression","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809041862/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=ZTsm9TOfIYyxfa2CNwAOKDt0M58%3D","lumi-tokenizer-agnostic-llm-based-lossless-image-compression",21,1784194864,{"doc_id":181,"doc_title":182,"file_type":138,"home_preview_img_url":183,"slug":184,"view_count":178,"category_name":29,"create_tm":185},273518,"What Tokens are Learned when Tokenization is Optimized Jointly with Language Modeling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899944922/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=lVnkZdU%2BBKYDkOaetSh8fSvjPL4%3D","what-tokens-are-learned-when-tokenization-is-optimized-jointly-with-language-modeling",1789471843,{"doc_id":187,"doc_title":188,"file_type":138,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":29,"create_tm":192},84940,"NativeMEM: Native Memory Compression for Long-Horizon Robotic Manipulation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809223327/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=LICpJJkNOw1Pt1PYh6jVoD%2FU%2Fd0%3D","nativemem-native-memory-compression-for-long-horizon-robotic-manipulation",22,1784199593,{"doc_id":194,"doc_title":195,"file_type":138,"home_preview_img_url":196,"slug":197,"view_count":198,"category_name":29,"create_tm":199},82784,"Speaker-Disentangled Chunk-Wise Regression for Syllabic Tokenization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808909294/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=51dt3U8DgTZ8hZYwjNX9SG4oyeE%3D","speaker-disentangled-chunk-wise-regression-for-syllabic-tokenization",25,1784182913,{"doc_id":201,"doc_title":202,"file_type":138,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":29,"create_tm":206},492508,"VerChol - Grammar-First Tokenization for Agglutinative Languages - A Morphological Alternative to Statistical Subword Tokenization, with Full Tamil Wikipedia Evaluation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928642857/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=QD7E1%2BY1ZJDv2ZlM%2FiegWSQuZxk%3D","verchol-grammar-first-tokenization-for-agglutinative-languages-a-morphological-alternative-to-statistical-subword-tokenization-with-full-tamil-wikipedia-evaluation",11,1790864843,{"doc_id":208,"doc_title":209,"file_type":138,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":29,"create_tm":213},82419,"Tokenizer Transplantation: Mitigating Autoregressive Collapse in Edge-Efficient Bengali ASR","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808740230/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=No%2BId69BmObe%2FvLr%2FRaF7qU5EAc%3D","tokenizer-transplantation-mitigating-autoregressive-collapse-in-edge-efficient-bengali-asr",23,1784180265,{"doc_id":215,"doc_title":216,"file_type":138,"home_preview_img_url":217,"slug":218,"view_count":219,"category_name":29,"create_tm":220},273656,"When Machines Speak - A Unified Generative Framework for Integrating Machine-Native Symbols into Pretrained Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899956642/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=LqMFUy%2BBtuPGTPoWSs3INoFPfU0%3D","when-machines-speak-a-unified-generative-framework-for-integrating-machine-native-symbols-into-pretrained-large-language-models",18,1789472384,{"doc_id":222,"doc_title":223,"file_type":138,"home_preview_img_url":224,"slug":225,"view_count":140,"category_name":29,"create_tm":226},491994,"Vocab Diet: Reshaping the Vocabulary of LLMs via Vector Arithmetic - Abstract and Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928513078/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=Ik3KQRQsB%2BTTWL9SWy0EtMzWOEE%3D","vocab-diet-reshaping-the-vocabulary-of-llms-via-vector-arithmetic-abstract-and-introduction",1790856262,{"doc_id":228,"doc_title":229,"file_type":138,"home_preview_img_url":230,"slug":231,"view_count":232,"category_name":29,"create_tm":233},82850,"Turning Off-Policy Tokens On-Policy: A Plug-in Approach for Improving LLM Alignment","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808796863/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=HCRbJIwRgdNKDMtaIrWuDrzTPfc%3D","turning-off-policy-tokens-on-policy-a-plug-in-approach-for-improving-llm-alignment",36,1784183409]