DEEP-CWS: Distilling Efficient pre-trained models with Early exit and Pruning for scalable Chinese Word Segmentation

IF 8.1 1区 计算机科学 0 COMPUTER SCIENCE, INFORMATION SYSTEMS
Shiting Xu
{"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.
DEEP-CWS:基于早期退出和修剪的高效预训练模型的可扩展中文分词
在自然语言处理(NLP)中,汉语分词是一项非常重要的任务。然而,像BERT和RoBERTa这样的大型预训练模型的高推理成本限制了它们在实际部署中的可扩展性。为了克服这一限制,我们引入了DEEP-CWS,这是一种高效CWS的新方法,它将预训练的变压器模型提炼成轻量级cnn,结合修剪、早期退出机制和ONNX优化来显着提高推理速度。我们的方法在不影响分割质量的情况下,相对于教师模型,在推理延迟上实现了超过100倍的加速,在PKU基准上的F1得分为97.81。这些特点使得DEEP-CWS特别适合于实时场景和大规模处理。在公共基准和法律领域数据集上进行的大量实验验证了我们框架的鲁棒性和可移植性。我们还发布了我们的代码库,以支持再现性和未来的研究。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Information Sciences
Information Sciences 工程技术-计算机:信息系统
CiteScore
14.00
自引率
17.30%
发文量
1322
审稿时长
10.4 months
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信