[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-413496-105":59,"doc-detail-413496-en":130,"doc-similar-413496":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","gold-panning-in-vocabulary-an-adaptive-method-for-vocabulary-expansion-of-domain-specific-llms","Gold Panning in Vocabulary - An Adaptive Method for Vocabulary Expansion of Domain-Specific LLMs","","Large Language Models often underperform in specialized domains because they lack sufficient domain-specific knowledge. Research typically expands vocabulary before fine-tuning on in-domain corpora to shorten sequences and improve decoding efficiency, yet it seldom analyzes how vocabulary expansion changes performance across domains. A pilot study shows using only a subset of the full vocabulary can outperform full expansion. This paper introduces VEGAD, which adaptively selects valuable words from a given domain vocabulary. Experiments on three Chinese datasets confirm effectiveness, and analyses show that choosing an optimal subset improves both domain-specific and general tasks.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/gold-panning-in-vocabulary-an-adaptive-method-for-vocabulary-expansion-of-domain-specific-llms/413496/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/gold-panning-in-vocabulary-an-adaptive-method-for-vocabulary-expansion-of-domain-specific-llms/413496.png","ImageObject",300,407,{"name":92,"@type":93},"asba","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-12-02","2026-09-28",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why is vocabulary expansion used for domain-specific LLMs?","Question",{"text":112,"@type":113},"Vocabulary expansion aims to improve decoding efficiency by shortening token sequences, often by forming new words from frequent n-grams, and to enhance domain understanding.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What does the pilot study reveal about vocabulary expansion size?",{"text":117,"@type":113},"It shows that expanding with only a subset of the entire vocabulary can yield superior performance compared with direct supervised fine-tuning and larger or full vocabulary additions.",{"name":119,"@type":110,"acceptedAnswer":120},"How does VEGAD select a vocabulary subset?",{"text":121,"@type":113},"VEGAD adaptively identifies valuable words from a candidate domain vocabulary by leveraging gradients on domain instances, treating larger-gradient token groups as more pivotal.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},413496,1791337529,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},3985747872567,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Gold Panning in Vocabulary: An Adaptive Method for Vocabulary Expansion of Domain-Specific LLMs  \nChengyuan Liu1,2 * , Shihang Wang2 , Lizhi Qing2 , Kun Kuang1†,  \nYangyang Kang3,1,2 , Changlong Sun2 , Fei Wu1  \n{liucy1,kunkuang,yangyangkang, [wufei}@zju.edu.cn](wufei}@zju.edu.cn),{wangshihang.wsh,[yekai.qlz}@alibaba-inc.com](yekai.qlz}@alibaba-inc.com), [changlong.scl@taobao.com](changlong.scl@taobao.com)  \n1College of Computer Science and Technology, Zhejiang University, 2Tongyi Lab, Alibaba Group,  \n3Polytechnic Institute, Zhejiang University  \nAbstract  \nWhile Large Language Models (LLMs) demonstrate impressive generation abilities, they frequently struggle when it comes to specialized domains due to their limited domain-specific knowledge. Studies on domain-specific LLMs resort to expanding the vocabulary before finetuning on domain-specific corpus, aiming to decrease the sequence length and enhance efficiency during decoding, without thoroughly investigating the results of vocabulary expansion to LLMs over different domains. Our pilot study reveals that expansion with only a subset of the entire vocabulary may lead to superior performance. Guided by the discovery, this paper explores how to identify a vocabulary subset to achieve the optimal results.  \nWe introduce VEGAD, an adaptive method that automatically identifies valuable words from a given domain vocabulary. Our method has been validated through experiments on three Chinese datasets, demonstrating its effectiveness. Additionally, we have undertaken comprehensive analyses of the method. The selection of a optimal subset for expansion has shown to enhance performance on both domain-specific tasks and general tasks, showcasing the potential of VEGAD.  \n1 Introduction  \nDespite achieving satisfactory performance on a wide range of tasks (OpenAI et al., 2024 ; Touvron et al., 2023a ; Xu et al., 2023 ; Yuan and Zhu, 2023), Large Language Models (LLMs) continue to encounter challenges, particularly in domain-specific tasks, such as the generation of legal, medical, and financial texts. The expansion of vocabulary (Provilkov et al., 2020 ; Liu et al., 2021 ; Ozdemirand Goksel, 2019 ; Rothe et al., 2020) serves asa strategy to enhance the decoding efficiency for  \n*This work was done when Chengyuan Liu interned at Alibaba.  \n†Corresponding author.  \nImproved (%)  \n17.00  \n12.00  \n7.00  \n2.00  \n-3.00  \n-8.00  \nDomain ALPACA GSM8K AVG  \n\n|  |  |  |\n| --- | --- | --- |\n| | |  |\n| |  |  |\n|  |  | |\n\n0 285 2242 7196 Vocabulary Size  \nFigure 1: Pilot study: Relative improvement comparing with direct supervised fine-tuning, by adding vocabulary with different sizes.  \ndomain-specific LLMs. By concatenating specific, frequent n-grams into new words, the token sequence is shortened, thereby visibly boosting efficiency. Cui et al. (2024) extended LLaMA’s existing vocabulary with an additional 20,000 Chinese tokens, thereby improving its encoding efficiency and semantic understanding of Chinese. LawGPT 1 is fine-tuned based on the general Chinese LLMs (such as Chinese-LLaMa, ChatGLM (Du et al., 2022), etc.), the legal domain specific vocabulary is expanded to enhance the semantic understanding ability of the LLMs.  \nCurrent researches primarily focus on some specific domains. Nonetheless, they have not thoroughly elucidate the performance enhancements resulting from vocabulary expansion in various domains. We conduct a pilot study illustrating the domain performance and general capabilities after vocabulary expansion with different sizes, and the results are illustrated in Figure 1. It is revealed that augmenting the size of the newly added vo-  \n1[https://github.com/pengxiao-song/LaWGPT](https://github.com/pengxiao-song/LaWGPT)  \n7442  \nProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 7442–7459 November 12-16, 2024 ©2024 Association for Computational Linguistics  \n① Text Segmentation  \n② Build Trie  \n③ Calculating Gradients  \n⑤ Resize Em","cbCaie7toxJ2ZkFJ","https://ap.wps.com/l/cbCaie7toxJ2ZkFJ","pdf",1986530,18,"English","# Abstract\n# 1 Introduction\n## Vocabulary expansion for domain-specific LLMs\n## Pilot study and motivation\n# 2 Method: VEGAD\n## Gradient-based adaptive subset selection\n## Candidate word retrieval with Trie\n## Gradient calculation strategy","[{\"question\":\"Why is vocabulary expansion used for domain-specific LLMs?\",\"answer\":\"Vocabulary expansion aims to improve decoding efficiency by shortening token sequences, often by forming new words from frequent n-grams, and to enhance domain understanding.\"},{\"question\":\"What does the pilot study reveal about vocabulary expansion size?\",\"answer\":\"It shows that expanding with only a subset of the entire vocabulary can yield superior performance compared with direct supervised fine-tuning and larger or full vocabulary additions.\"},{\"question\":\"How does VEGAD select a vocabulary subset?\",\"answer\":\"VEGAD adaptively identifies valuable words from a candidate domain vocabulary by leveraging gradients on domain instances, treating larger-gradient token groups as more pivotal.\"}]","Gold Panning in Vocabulary - An Adaptive Method for Vocabulary Expansion of Domain-Specific LLMs | PDF",1790595023,45,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/243f66e2a0822bc303d5f0d941d1d196.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b16e88d63d0880b6ca98dbdde1a54692.webp",982,1388,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/8b2603943454f653e2335c02ec50179d.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/0bf58d366d29be1732096a4b92740548.webp",980,1385,{"list":164,"token":66},[165,172,179,186,193,200,207,213,220,226],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":40,"create_tm":171},429119,"VE-KD - Vocabulary-Expansion Knowledge-Distillation for Training Smaller Domain-Specific Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922828248/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=Iy5dRH9AzB8F8wDMIYBHAExl8xM%3D","ve-kd-vocabulary-expansion-knowledge-distillation-for-training-smaller-domain-specific-language-models",11,1790648702,{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":40,"create_tm":178},273441,"Token Distribution versus Data Volume - Domain Balancing in Multi-Domain Meeting Summarisation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899547723/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=4fxqsYo5NiiOMBbeeSzT5ZoZzN0%3D","token-distribution-versus-data-volume-domain-balancing-in-multi-domain-meeting-summarisation",17,1789471435,{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":40,"create_tm":185},82486,"Adaptive Perturbation Selection for Contrastive Audio Decoding","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808896957/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=zdfhUhpYyFX23flw7NKlM83sJvU%3D","adaptive-perturbation-selection-for-contrastive-audio-decoding",21,1784180858,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":40,"create_tm":192},124664,"Model Reprogramming - Resource-Efficient Cross-Domain Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838277803/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=cGBNiL1hnhwL%2F8ZDUzEhdEXbI6A%3D","model-reprogramming-resource-efficient-cross-domain-machine-learning",22,1785893673,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":198,"category_name":40,"create_tm":199},423132,"Optimal Selection of Limited Vocabulary Speech Corpora","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922341857/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=XNilJuZyGkPNb%2B3owPp5Y%2BFgMqs%3D","optimal-selection-of-limited-vocabulary-speech-corpora",13,1790630295,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":40,"create_tm":206},84556,"PRISM Prioritized Channel Importance with Semi-supervised Domain Adaptation for Cross-Subject EEG Emotion Recognition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809060397/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=cuM0%2FC%2BKvGsHo50n6NPC39w6n8Q%3D","prism-prioritized-channel-importance-with-semi-supervised-domain-adaptation-for-cross-subject-eeg-emotion-recognition",34,1784196706,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":34,"category_name":40,"create_tm":212},421531,"Vocabulary Scaling Law - Tuning Open-vocabulary Predictors for Their Openness","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922589422/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=8F1PzeKv1pfyZqzczD2065EopM4%3D","vocabulary-scaling-law-tuning-open-vocabulary-predictors-for-their-openness",1790625078,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":40,"create_tm":219},273499,"Margin-Regularized Structured Semantic Alignment for Brain-Language Correspondence","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899550562/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=NZH7AWEJpI2LWYq28yVxtbo%2BHZw%3D","margin-regularized-structured-semantic-alignment-for-brain-language-correspondence",15,1789471730,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":139,"category_name":40,"create_tm":225},273460,"Domain-Agnostic Neural Topic Modeling with Contextual Token-Level Semantic Graph Representation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899938929/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=gWcw0vi%2FOjg5jnleJpFg8cqS5oA%3D","domain-agnostic-neural-topic-modeling-with-contextual-token-level-semantic-graph-representation",1789471526,{"doc_id":227,"doc_title":228,"file_type":137,"home_preview_img_url":229,"slug":230,"view_count":231,"category_name":40,"create_tm":232},122007,"Moderately Distributional Exploration for Domain Generalization - Abstract and Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836662566/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796240579&Signature=6ZFIk4NRPxWDeuVL2brdgm97HWU%3D","moderately-distributional-exploration-for-domain-generalization-abstract-and-introduction",24,1785808264]