MedSeg: A Statistical Approach to Tokenization Assessment in Medical NLP

With the rapid adoption of Large Language Models (LLMs) in healthcare, accurate tokenization of complex medical terms has become increasingly critical. Improper segmentation leads to high unidentified words and suboptimal performance, particularly in medical Natural Language Processing (NLP) tasks. While subword tokenization methods like WordPiece and Byte Pair Encoding (BPE) have been widely used to mitigate Out-of-Vocabulary issues, there remains a lack of specialized metrics for evaluating their effectiveness in the medical domain. In this study, we propose MedSeg, a novel statistical evaluation metric designed to assess tokenizer performance by analyzing the Token Split Rate and Out-of-Vocabulary distribution across word lengths. MedSeg introduces a domain-aware, regression-based scoring mechanism that compares each tokenizer’s output to an estimated population distribution, quantified using normalized root mean square error (NRMSE). Experimental results using BioBERT and BioLlama on CTCAE data demonstrate that MedSeg effectively captures the trade-off between segmentation granularity and medical vocabulary preservation. The proposed metric provides a robust and interpretable framework for assessing tokenization strategies in domain-specific NLP applications.

Authors

Publication Details

Journal
Journal of Information Systems Engineering & Management
Published
2025-04-18
DOI
https://doi.org/10.52783/jisem.v10i37s.6506
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MedSeg: A Statistical Approach to Tokenization Assessment in Medical NLP

M. Yu
Journal of Information Systems Engineering & Management
Natural Language Processing Techniques
article

MedSeg: A Statistical Approach to Tokenization Assessment in Medical NLP

M. Yu
article en

Abstract

With the rapid adoption of Large Language Models (LLMs) in healthcare, accurate tokenization of complex medical terms has become increasingly critical. Improper segmentation leads to high unidentified words and suboptimal performance, particularly in medical Natural Language Processing (NLP) tasks. While subword tokenization methods like WordPiece and Byte Pair Encoding (BPE) have been widely used to mitigate Out-of-Vocabulary issues, there remains a lack of specialized metrics for evaluating their effectiveness in the medical domain. In this study, we propose MedSeg, a novel statistical evaluation metric designed to assess tokenizer performance by analyzing the Token Split Rate and Out-of-Vocabulary distribution across word lengths. MedSeg introduces a domain-aware, regression-based scoring mechanism that compares each tokenizer’s output to an estimated population distribution, quantified using normalized root mean square error (NRMSE). Experimental results using BioBERT and BioLlama on CTCAE data demonstrate that MedSeg effectively captures the trade-off between segmentation granularity and medical vocabulary preservation. The proposed metric provides a robust and interpretable framework for assessing tokenization strategies in domain-specific NLP applications.

Journal of Information Systems Engineering & ManagementVol. 10(37s)
Openalex Percentile: Top 96%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

MedSeg: A Statistical Approach to Tokenization Assessment in Medical NLP — M. Yu · Journal of Information Systems Engineering & Management (2025) | TGRS Research Map | TGRS