arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.25463cs.CL
收藏

一种轻量级混合Transformer-CRF架构用于多类型孟加拉语医学实体识别

A Lightweight Hybrid Transformer-CRF Architecture for Multi-Type Bangla Medical Entity Recognition

Peyal Saha, Ahsanul Haque Hasib, Shoumik Barman Polok

AI总结:

提出一种轻量级孟加拉语医学实体识别框架,通过知识蒸馏将12层BanglaBERT-CRF教师模型压缩为4层学生模型,并应用INT8动态量化,在保持性能的同时实现8.6倍CPU加速和近48%存储节省。

摘要:

MedER指的是医学实体的识别。它对于从非结构化医学文本中提取结构化临床信息至关重要。许多现有系统依赖于基于Transformer的模型,这些模型计算成本高且难以在资源受限环境中部署。此外,早期的工作通常使用宽松的评估指标,通过奖励正确预测主导的“外部”(O)标记来人为地提升性能。在本文中,我们提出了一种轻量级的孟加拉语医学实体识别(MedER)框架。我们使用一个12层BanglaBERT模型结合条件随机场(CRF)层进行精确边界实体检测,建立了严格的基线。为了解决部署限制,我们通过知识蒸馏(KD)将该教师模型压缩为一个4层学生网络,其中学生从教师的CRF前软发射logits中学习。最后,我们应用INT8动态量化进一步减小模型大小和推理成本。我们最终的量化学生模型实现了8.6倍的CPU加速,同时所需存储比CRF教师模型减少近48%。

英文摘要:

MedER refers to the identification of medical entities. It is crucial for extracting structured clinical information from unstructured medical text. Many existing systems rely on transformer-based models, which are computationally expensive and difficult to deploy in resource-constrained environments. Furthermore, earlier works often use relaxed evaluation metrics that artificially inflate performance by rewarding correct prediction of dominant "Outside" (O) tokens. In this paper, we propose a lightweight Medical Entity Recognition (MedER) framework for the Bangla language. We establish a rigorous baseline using a 12-layer BanglaBERT model combined with a Conditional Random Field (CRF) layer for exact-boundary entity detection. To address deployment constraints, we compress this teacher model into a 4-layer student network through Knowledge Distillation (KD), where the student learns from the teacher's pre-CRF soft emission logits. Finally, we apply INT8 dynamic quantization to further reduce model size and inference cost. Our final quantized student achieves an 8.6x CPU speedup while requiring nearly 48 percent less storage than the CRF teacher model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑