{"title":"DEEP-CWS: Distilling Efficient pre-trained models with Early exit and Pruning for scalable Chinese Word Segmentation","authors":"Shiting Xu","doi":"10.1016/j.ins.2025.122470","DOIUrl":null,"url":null,"abstract":"<div><div>Chinese Word Segmentation (CWS) is essential for a broad spectrum of tasks in natural language processing (NLP). However, the high inference cost of large pre-trained models like BERT and RoBERTa restricts their scalability in practical deployments. To overcome this limitation, we introduce <strong>DEEP-CWS</strong>, a novel approach for efficient CWS that distills pre-trained transformer models into lightweight CNNs, incorporating pruning, early exit mechanisms, and ONNX optimization to improve inference speed significantly. Our method achieves over 100 times speedup in inference latency relative to the teacher model without compromising segmentation quality, with an F1 score of 97.81 on the PKU benchmark. These characteristics make DEEP-CWS particularly well-suited for real-time scenarios and large-scale processing. Extensive experiments on public benchmarks and a legal-domain dataset validate the robustness and transferability of our framework. We also release our code base to support reproducibility and future research.</div></div>","PeriodicalId":51063,"journal":{"name":"Information Sciences","volume":"719 ","pages":"Article 122470"},"PeriodicalIF":8.1000,"publicationDate":"2025-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Sciences","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0020025525006024","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"0","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Chinese Word Segmentation (CWS) is essential for a broad spectrum of tasks in natural language processing (NLP). However, the high inference cost of large pre-trained models like BERT and RoBERTa restricts their scalability in practical deployments. To overcome this limitation, we introduce DEEP-CWS, a novel approach for efficient CWS that distills pre-trained transformer models into lightweight CNNs, incorporating pruning, early exit mechanisms, and ONNX optimization to improve inference speed significantly. Our method achieves over 100 times speedup in inference latency relative to the teacher model without compromising segmentation quality, with an F1 score of 97.81 on the PKU benchmark. These characteristics make DEEP-CWS particularly well-suited for real-time scenarios and large-scale processing. Extensive experiments on public benchmarks and a legal-domain dataset validate the robustness and transferability of our framework. We also release our code base to support reproducibility and future research.
期刊介绍:
Informatics and Computer Science Intelligent Systems Applications is an esteemed international journal that focuses on publishing original and creative research findings in the field of information sciences. We also feature a limited number of timely tutorial and surveying contributions.
Our journal aims to cater to a diverse audience, including researchers, developers, managers, strategic planners, graduate students, and anyone interested in staying up-to-date with cutting-edge research in information science, knowledge engineering, and intelligent systems. While readers are expected to share a common interest in information science, they come from varying backgrounds such as engineering, mathematics, statistics, physics, computer science, cell biology, molecular biology, management science, cognitive science, neurobiology, behavioral sciences, and biochemistry.