General Article

International Journal of Sustainable Building Technology and Urban Development. 30 September 2026. 591-606
https://doi.org/10.22712/susb.20260032

ABSTRACT


MAIN

  • Introduction

  • Related Work

  • Materials and Methods

  •   Datasets and Preprocessing

  •   Gold-standard UMLS annotation

  •   NER Methods and Training

  •   Entity linking pipeline

  • Results

  •   Extracting Entities from n2c2 Datasets (NER)

  •   Token Inflation Analysis

  • Entity linking performance

  • Discussion

  • Conclusion and future work

Introduction

The sustainability of modern urban healthcare systems depends not only on resilient physical infrastructure and healthcare resources but also on the intelligent management of the vast volumes of clinical data generated through Electronic Health Records (EHRs). As smart cities continue to evolve, Artificial Intelligence (AI)-enabled clinical information systems have become essential components of sustainable healthcare infrastructure, supporting efficient healthcare delivery, data-driven decision-making, and long-term urban health resilience. Recent advances in machine learning, federated learning, and Natural Language Processing (NLP) have significantly enhanced clinical data analytics, enabling improved disease diagnosis, healthcare resource optimization, and medical knowledge management [1, 2, 3]. Similarly, transfer learning and hybrid convolutional neural networks (CNNs) have demonstrated remarkable performance in medical image analysis, including MRI-based brain tumor detection and basil disease classification, highlighting the growing role of AI in sustainable digital healthcare ecosystems [4, 5]. Despite these advances, the reliable extraction and standardization of clinical information from unstructured medical records remain major challenges for interoperable and trustworthy healthcare systems. This study addresses this gap by developing a robust framework for clinical Named Entity Recognition (NER) and Entity Linking (EL), providing reproducible benchmarks that support the sustainable adoption of trustworthy AI in urban health information ecosystems. The proposed approach contributes to intelligent healthcare infrastructure by improving clinical knowledge management, interoperability, and evidence-based decision-making, thereby strengthening sustainable urban healthcare services and supporting the digital transformation of smart and resilient cities.

Clinical Named Entity Recognition (NER) is a specialized area of NLP dedicated to the identification and classification of entities (symptoms, diseases, and treatments) in medical texts. It supports applications such as clinical decision support, knowledge base creation, and information retrieval in healthcare [6, 7]. These entities must be associated with vocabularies such as UMLS (Unified Medical Language System) to guarantee coherence, compatibility and consistency across diverse systems of healthcare. This procedure is referred to as Entity Linking (EL) wherein identified entities are associated with established entities in a knowledge base facilitating systematic analysis and interoperability among systems. [8, 9].

With evolution of NLP trends, Clinical NER has developed from the rule-based systems and conditional random fields (CRF) [10, 11] through recurrent neural networks (RNN) [12, 13] to transformer-based architectures. A transformative change has arrived with the launch of Bidirectional Encoder Representations from Transformers (BERT) [14] and versions—BioBERT [15], ClinicalBERT [16], PubMedBERT [17], and SciBERT [18]— with models presenting novel execution on clinical NER standards. Furthermore, EL has progressed from dictionary-based literal match to refined neural embedding techniques, with latest models like SapBERT [19, 20] and BioSyn utilizing contrastive learning to identify semantic similarities between different medical terminologies. Significant evaluation gaps that affect the reliability and comparability of presented outcomes have been found by current methodological analyses [21, 22, 23, 24, 25]. Figure 1 maps the overall process of entity extraction and linking to demonstrate the following core contributions of this study:

•This study performs rigorous NER and entity linking on two clinical datasets: n2c2_2010 [26] with 3 entity types (Problem, Treatment, Test) and n2c2_ 2018 [29] with 9 medication attributes (Drug, Reason, ADE, Strength, Form, Dosage, Frequency, Route, Duration).

•We systematically compare six transformer models representing different pre-training strategies: four established baselines (BioBERT, PubMedBERT, ClinicalBERT, SciBERT) and two architectural enhancements (Multi-Task learning with type-specific heads, Character-CNN integration).

•Our evaluation framework implements span-aligned preprocessing preserving perfect alignment with gold annotations, statistical validation across three random seeds with 95% confidence intervals, and the first gold-standard UMLS linking benchmark for these datasets comprising 300 manually validated annotations.

•Our analysis reveals that domain-specific pre- training provides substantially greater performance gains than architectural modifications, with both datasets converging on identical optimal entity linking thresholds despite significant performance differences driven by entity type complexity rather than threshold selection.

https://cdn.apub.kr/journalsite/sites/durabi/2026-017-03/N0300170308/images/Figure_susb_17_03_08_F1.jpg
Figure 1.

Overview of the proposed methodology for sustainable performance analysis.

The remainder of this paper is organized as follows: Section 2 reviews related work in clinical NER and entity linking, establishing the six critical evaluation gaps motivating our contributions. Section 3 describes datasets, preprocessing approach, gold-standard annotation protocol and algorithms for NER and entity linking tasks. Section 4 presents results for both NER and entity linking tasks. Section 5 discusses key findings and acknowledges limitations. Section 6 concludes with contributions and future work.

Related Work

Initially rule-based methods and CRFs [13, 14, 24] have been used in clinical NER. Bidirectional Long Short-Term Memory Conditional Random Field (LSTM-CRFs) advanced performance [23, 24], with transformer models (BERT, BioBERT, ClinicalBERT) achieving state-of-art results [25, 26, 27, 28, 29, 30]. Recent approaches explore multi-task learning [27], character- aware architectures [28], and attention mechanisms [29, 30]. Entity linking evolved from dictionary matching to neural embeddings [20, 31, 32]. Biomedical models like SapBERT [33] and BioSyn [32] show promise, but most clinical NLP studies on i2b2/n2c2 datasets [34] perform NER without validated entity linking [20, 22, 35].

Following six critical gaps motivate our work:

1.Inflation of token-level micro-F1 results by 5-10% via O-tag dominance [15, 16], thereby passing boundary errors.

2.Alignment breaking with gold annotations by rigorous preprocessing, thereby prevents valid span evaluation [17, 18].

3.Authentic enhancements may be prevented by single-run results (std 1-3%) from random variation [19, 36].

4.Lack of expert validated standards in clinical entity linking, thereby describes only the percentage of entities matched without validation [20, 21, 22].

5.Violation of entity validity with the confusion of Concept Unique Identifiers (CUI)/ SNOMED CT Identifier.

6.Lack of data centric validation by fixing fixed thresholds values of entity linking [21, 31, 37].

Materials and Methods

Datasets and Preprocessing

We evaluate on two complementary clinical note benchmarks from the i2b2/n2c2 shared tasks [34], representing different levels of entity complexity as shown in Table 1. The n2c2_2010 dataset in Table 1 used combined 80-10-10 split (Train: 35,144, Val: 4,393, Test: 4,394 lines) due to limited training data in official split. The n2c2_2018 dataset maintained official splits from the shared task.

Table 1.

Summary of i2b2/n2c2 datasets

Datasets n2c2_2010 n2c2_2018
Source Partners Healthcare
discharge summaries
De-identified
medication records
Documents Combined: 426
(80-10-10 split)
Train: 505
Test: 202
Test Lines 4,394 23,156
Test Entities ~7,500 245,678
Entity Types 3 (Problem,
Treatment, Test)
9 (Drug, Reason, ADE,
Strength, Form, Dosage,
Frequency, Route, Duration)
BIO Labels 7 19
Avg Tokens/ Line 14.3 10.6
Entity Density 1.67/line 10.61/line
Domain Challenge Broad clinical
concepts
Fine-grained
medication attributes
EL Gold Standard 150 (manual) 150 (manual)
Ontology UMLS CUI UMLS CUI
KB Size 1,282,556 1,282,556

Preprocessing: Our preprocessing approach follows a critical design principle: preserve perfect alignment with gold standard annotations to enable valid span-level evaluation. We perform line-level tokenization with whitespace splitting, no text modification (no lowercasing, no character removal), padding/ truncation to 128 tokens, BERT special tokens ([CLS], [SEP]), and BIO encoding (B-{TYPE}, I-{TYPE}, O). No data augmentation applied. This alignment- preserving approach addresses gap 2 from Section 2.

Gold-standard UMLS annotation

We constitute the entity linking standard for i2b2/ n2c2 clinical notes by creating UMLS Knowledge Base: 1,282,556 CUIs from MRCONSO.RRF (2024 AA) [38] encoded with SapBERT [33], indexed via Facebook AI Similarity Search (FAISS) for effective search. Following are the steps of annotation Protocol (300 entities total):

1. Stratified Sampling:

•n2c2_2010: 150 entities (50 Problem, 50 Treatment, 50 Test)

•n2c2_2018: 150 entities (50 Drug, 50 Reason, 50 ADE)

2. Candidate Generation:

•For each entity mention, FAISS retrieves top-5 UMLS candidates ranked by semantic similarity

•Candidates presented with similarity scores and preferred terms

3. Train/Test Split:

•60% validation (90 entities): For threshold optimization

•40% test (56 entities for n2c2_2010, 60 for n2c2_2018): For final evaluation

NER Methods and Training

We compare following six transformer-based models representing different pre-training strategies and architectural enhancements:

1.Baselines Models: (1) BioBERT [25], (2) PubMedBERT, (3) ClinicalBERT [9], (4) SciBERT [26]—representing different pre-training strategies.

2.Architectural Enhancements to BioBERT: We evaluate two architectural enhancements that adapt established techniques to clinical NER:

(a) Multi-Task BioBERT with type-specific classification heads and inverse frequency weighting as stated in eq 1:

(1)
L=Σ_e(1/freq(e))·CE(y_e,ŷ_e).

(b) CharCNN-BioBERT integrating character-level features via parallel CNNs (kernel sizes 3-5), concatenating 768-dim word features with 250-dim character features.

3.Training Configuration: To ensure fair comparison, all models use identical training configurations addressing gap 3: Three random seeds (42, 123, 456), AdamW optimizer (lr=2e-5), batch size 32, 3 epochs.

4.Evaluation: Span-strict F1 (primary), token-level and span-relaxed (secondary), 95% bootstrap CIs (1000 iterations).

Algorithm 1 shows the NER process.

Algorithm 1.

Named Entity Recognition with Statistical Validation

INPUT: D: Clinical notes, G: Gold annotations
OUTPUT: F1_mean, F1_std, CI_95
1. for each seed ∈ {42, 123, 456} do
set_random_seed(seed)
tokens ← BioBERT_tokenize(D, preserve_spans=True)
model ← train_transformer_NER(tokens, epochs=3)
spans ← predict_entity_spans(model, D_test)
F1[seed] ← evaluate_span_strict(spans, G)
end for
2. return mean(F1), std(F1), bootstrap_CI(F1, α=0.05)

Entity linking pipeline

Our entity linking pipeline uses bi-encoder architecture with data-driven threshold optimization. Bi- encoder architecture with data-driven threshold tuning (addresses gap 6 from section 2):

1.Encoding: Clinical entity mention → SapBERT encoder [23, 24] → CLS token representation → L2 normalization → 768-dimensional embedding.

2.Candidate Retrieval: FAISS approximate nearest neighbor search on 1,282,556 UMLS CUI embeddings → top 50 candidates ranked by cosine similarity.2. FAISS retrieval: top-K candidates from 1.28M UMLS concepts.

3.Benchmark Construction: We constructed a manually validated gold-standard UMLS benchmark through stratified sampling from the complete i2b2 2010 and n2c2 2018 test set predictions generated during candidate retrieval. The benchmark provides 300 human-verified entity-to-UMLS mappings partitioned into validation and test splits for threshold calibration and final evaluation respectively. Table 2 presents the stratification and statistical validation of the gold-standard UMLS benchmark constructed for both datasets.

4.Threshold optimization: (addresses gap 6): Validation set (60% of gold standard): Test θ ∈ {0.50, 0.52, 0.54, ..., 0.92, 0.94} (23 values, step 0.02). Select θ* = argmax F1 on validation set. Test set (40% of gold standard): Apply θ* for final evaluation. Generate Precision-Recall curves across all thresholds.

5.Linking Decision: Link entity to top-ranked CUI if similarity ≥ θ*, otherwise predict null (no suitable match).

6.Evaluation Metrics: We report comprehensive metrics for entity linking performance:

a)Ranking Metrics: Acc@1: Correct CUI in top-1 position. Acc@5: Correct CUI in top-5 positions. Acc@10: Correct CUI in top-10 positions. Mean Reciprocal Rank (MRR): Average of 1/rank across test entities.

b)Classification Metrics (at optimal threshold θ*): Precision: Fraction of predicted links that are correct. Recall: Fraction of gold entities successfully linked. F1: Harmonic mean of precision and recall.

c)Per-type Analysis: Separate metrics for each entity type to identify type-specific challenges.

Algorithm 2 shows the entity linking process.

Algorithm 2.

Entity Linking with Threshold Optimization

INPUT: Entities E, UMLS KB U (1.28M CUIs)
OUTPUT: Acc@1, θ*
1. // Build knowledge base
for each cui ∈ U do
KB [cui] ← L2_normalize (SapBERT.encode(cui.term))
index ← FAISS.build_index (KB)
2. // Optimize threshold on validation set

θ* ← argmax_{θ∈[0.5,0.94]} F1_val(θ)

3. Evaluate on test data

for entity ∈ E_test do
emb ← SapBERT.encode(entity.text)
top_5 ← FAISS.search(index, emb, k=5)
pred ← top_5[0] if similarity ≥ θ* else NULL
end for
return Acc@1, θ*

As shown in Table 2, for both the datasets, 150 entities were annotated proportionally across all entity types. For n2c2 2018, annotation was restricted to Drug, ADE, and Reason — the three entity types with direct UMLS concept mappings relevant to clinical pharmacovigilance. Statistical power analysis yields 95% confidence intervals of [70.4%, 90.4%] for i2b2 2010 and [58.4%, 81.6%] for n2c2 2018, confirming reliable metric estimation within the pilot benchmark scope, with all 300 annotations released publicly to support community extension.

Table 2.

Stratification and statistical validation gold-standard UMLS benchmark

Attributes n2c2_2010 n2c2_2018
Entity Types Problem, Treatment, Test Drug, ADE, Reason
Full Test Set (N) 4,752 32,645
Stratified Sample 496 496
Total Annotated 150 150
Type Distribution Problem: 60, Treatment: 45, Test: 45 Drug: 50, ADE: 50, Reason: 50
Type Coverage (%) Problem: 3.2%, Treatment: 3.1%, Test: 3.2% Drug: 0.5%, ADE: 8.7%, Reason: 2.0%
Validation/Test Split 90/60 90/60
Acc@1 80.4% 70.0%
95% CI [70.4%, 90.4%] [58.4%, 81.6%]
Margin of Error ±10.0% ±11.6%

Results

This section delineates our experimental results (performed on Google Colabpro server) elucidates the experimental setting and presents a comprehensive examination of the results. All the datasets have been divided into train and test datasets for model evaluation.

Extracting Entities from n2c2 Datasets (NER)

The results of NER performance using span-strict F1 as the fundamental metric are shown in Table 3. The highest performance is measured by PubMed BERT with SciBERT close to second. Also it is observed from Table 3, that pre-training > architecture for clinical NER as indicated by marginal advantages by architectural changes: Multi-Task (+0.1% on 2018, -0.3% on 2010), CharCNN (-0.1% to –0.5%). Table 4 and 5 are demonstrating per entity NER scores for both the datasets. From Table 4, Problem entities achieve highest F1 scores (88-90%) across all models due to high frequency and clear semantic boundaries in clinical text. Treatment entities show strong performance (87-89%), Test entities are most challenging (85-87%), reflecting greater variability in laboratory test names, abbreviations, and measurement descriptions. As shown in Table 5, Drug entities achieve highest F1 (90-91%), reflecting standardized medication nomenclature. Form and Strength attributes show strong performance (90- 95%), as these are typically expressed in consistent formats. Route entities perform well (94-95%) due to limited vocabulary (oral, IV, topical, etc.).

Table 3.

NER performance (span-strict F1)

Model n2c2_2010 n2c2_2018 Avg Std
PubMedBERT 88.2±0.8 87.3±0.2 0.50%
SciBERT 88.1±0.3 86.9±0.3 0.30%
BioBERT 87.5±0.4 86.8±0.2 0.30%
ClinicalBERT 87.3±0.4 86.8±0.3 0.35%
Multi-task 87.2±0.5 86.9±0.2 0.35%
CharCNN 87.0±0.1 86.7±0.2 0.15%
Table 4.

Per-Entity-Type NER Performance — n2c2 2010

Model Problem Treatment Test
PubMedBERT 89.3±0.7 86.0±0.5 89.3±1.4
SciBERT 88.9±0.5 85.2±0.6 90.0±0.1
BioBERT 88.5±0.9 84.9±0.5 89.1±1.0
ClinicalBERT 88.1±0.6 84.8±0.2 88.7±0.9
Multi-task 87.6±0.5 85.5±0.9 88.6±0.5
CharCNN 87.8±0.1 84.7±0.6 88.6±0.7
Table 5.

Per-Entity-Type NER Performance — n2c2 2018

Model ADE Dosage Drug Duration Form Frequency Reason Route Strength
PubMedBERT 38.7±2.1 88.2±0.3 91.2±0.3 73.0±1.5 90.5±0.4 82.5±0.4 56.9±0.8 94.5±0.2 95.1±0.1
SciBERT 36.0±3.0 88.1±0.4 90.8±0.1 71.5±1.4 90.9±0.4 82.8±0.2 53.9±1.4 94.4±0.3 95.0±0.1
BioBERT 38.0±1.6 87.8±0.6 90.8±0.3 71.9±1.4 90.8±0.5 82.6±0.2 54.4±0.6 94.3±0.3 95.0±0.1
ClinicalBERT 34.5±0.8 87.9±0.3 91.0±0.2 73.1±0.3 90.9±0.2 82.2±0.5 54.7±1.1 94.6±0.3 95.1±0.4
Multi-task 35.8±3.0 87.5±0.5 90.8±0.2 70.6±1.1 91.2±0.2 82.7±0.2 54.5±1.0 94.6±0.5 95.0±0.0
CharCNN 36.6±3.2 87.8±0.1 90.9±0.1 72.3±0.8 90.7±0.8 82.8±0.3 52.9±1.6 94.5±0.2 94.9±0.5

Statistical Validation: Average std 0.35% (vs 1-3% prior work [14, 37]) confirms model stability. Narrow 95% CIs (±0.5-0.8%) enable valid comparisons: differences >1.5% are statistically significant (p<0.05).

Token Inflation Analysis

Our span-aligned preprocessing eliminates token inflation (addresses gap 1 from section 2). Average token-span gap: 0.05% (vs expected 5-10% [10, 13, 18]):

-BioBERT: Token=87.6%, Span=87.5%, Gap=0.04%

-PubMedBERT: Token=88.3%, Span=88.2%, Gap=0.09%

-ClinicalBERT: Token=87.3%, Span=87.3%, Gap=0.03%

This validates our preprocessing methodology: proper alignment eliminates inflation.

Figure 2 shows the comprehensive NER Process on n2c2_2010 dataset representing the overall span-strict F1 performance of all six models, also displays the 95% confidence intervals derived from three-seed evaluation for each model, model stability through standard deviation across seeds, confirming that CharCNN-BioBERT and SciBERT are the most consistent models. It also presents the Precision-Recall trade-off curves for all models under span-strict evaluation, demonstrates the token-level versus span- strict metric comparison and quantify the token metric inflation effect, revealing a systematic gap of 6.0–7.9 percentage points between relaxed and span-strict F1 across all models.

https://cdn.apub.kr/journalsite/sites/durabi/2026-017-03/N0300170308/images/Figure_susb_17_03_08_F2.jpg
Figure 2.

Comprehensive visualization of named entity recognition results for intelligent analysis of environmental data using the n2c2 2010 dataset.

Figure 3 shows the comprehensive NER Process on n2c2_2018 dataset presenting the overall span-strict F1 performance across all six models on the nine- entity n2c2 2018 medication extraction task. It displays the 95% confidence intervals for all models, showing notably tighter intervals on n2c2 2018 compared to i2b2 2010. It illustrates model stability across seeds, revealing that CharCNN-BioBERT achieves the most consistent performance (std=0.001), shows the Precision-Recall trade-off for each model, demonstrating that ADE entities systematically fall in the low-precision, low-recall quadrant across all architectures. Token-level versus span-strict metric comparison is also quantified showing a consistent inflation gap of 4.8–5.8 percentage points across all models — slightly smaller than on i2b2 2010 but still substantial.

https://cdn.apub.kr/journalsite/sites/durabi/2026-017-03/N0300170308/images/Figure_susb_17_03_08_F3.jpg
Figure 3.

Comprehensive visualization of named entity recognition results for intelligent analysis of sustainable environmental data using the n2c2 2018 dataset.

Entity linking performance

Table 6 shows entity linking results on gold- standard annotations (addresses gap 4 from section 2). As shown in Table 6, perfect recall (100%) on n2c2_2010 and Acc@5 (100% for n2c2_2010, 76% for n2c2_2018) indicate correct CUIs are consistently among top candidates, validating SapBERT’s semantic matching capability. From Table 7, Test and treatment entities achieve highest linking performance (92.9.0%), (89.7.0%) despite variations in medication and procedure descriptions. Problem entities are most challenging (86.4.0%), reflecting diverse laboratory test nomenclature and abbreviations that may not have direct UMLS mappings. ADE entities achieve excellent linking performance (92.9.0%), leveraging standardized medication terminology and extensive UMLS coverage. The higher optimal threshold (θ*=0.76) for n2c2_2018 reflects the need for stricter matching criteria when distinguishing fine-grained medication attributes.

Table 6.

Entity linking performance

Datasets n2c2_2010 n2c2_2018
n_test 56 60
θ* 0.5 0.5
Acc@1 0.804 0.7
Acc@5 1 0.767
Acc@10 1 0.833
MRR 0.865 0.753
Precision 0.804 0.7
Recall 1 1
F1 0.891 0.824
Table 7.

Per-Entity-Type Linking Performance

Entity Type Precision Recall F1 Score
Test (n2c2_2010) 0.867 1 0.929
Problem (n2c2_2010) 0.76 1 0.864
Treatment (n2c2_2010) 0.812 1 0.897
ADE (n2c2_2018) 0.867 1 0.929
Reason (n2c2_2018) 0.789 1 0.882
Drug (n2c2_2018) 0.538 1 0.7

Figure 4 shows a comprehensive entity linking process on both the datasets. It presents the overall entity linking Acc@1 performance on both datasets, illustrates per-entity-type linking performance, revealing substantial variation across entity types. Also presents the candidate ranking performance through Acc@1, Acc@5, and Acc@10 metrics on both datasets, demonstrating that i2b2_2010 achieves perfect Acc@5 (100.0%) while n2c2_2018 reaches 76.7%. Both datasets converge on θ*=0.50 (addresses gap 6), nullifying fixed 0.85 thresholds [21, 35].

https://cdn.apub.kr/journalsite/sites/durabi/2026-017-03/N0300170308/images/Figure_susb_17_03_08_F4.jpg
Figure 4.

Comprehensive entity linking framework for integrating sustainable building, environmental, and performance-related information.

Discussion

The key findings of this study can be summarized as: first is, our span-aligned preprocessing eliminates token inflation (0.05% gap vs 5-10% [15, 18]), addressing gap 1 from section 2. Statistical stability (avg std 0.35%) enables valid comparisons, addressing gap 3. Gold-standard UMLS annotations (300 entities) enable threshold optimization, addressing gaps 4 and 6 from section 2. Second is, domain-specific pre-training (PubMedBERT 88.2%, SciBERT 88.1%) outperforms architectural modifications (Multi-Task +0.1%, Char CNN -0.3%). BioBERT’s WordPiece and clinical pre- training capture morphological and type-specific patterns, rendering architectural enhancements redundant. Third is threshold consistency that means both datasets converge on θ*=0.50 despite performance differences (80.4% vs 70.0% Acc@1) driven by entity complexity (3 broad types vs 9 fine-grained attributes), not threshold variation. This outcome shows requirement of data-oriented tuning by invalidating the exact value of thresholds as 0.85 in entity linking [21, 31]. Fourth is cross-dataset generalization, the highest performance is maintained by PubMedBERT across datasets. Fifth is practical implications. Practitioners should prioritize clinical pre-training over architectural complexity. Bi-encoder entity linking (Acc@5: 100%/77%) enables efficient cross-encoder reranking for 5-10% Acc@1 improvement.

Compared to previous studies, the results of span- strict evaluation lie in line with the latest standards [11, 12, 39] using a stringent analysis. Higher scores are reported in studies that use token-level evaluation [40], which is consistent with findings about token inflation. Strong bi-encoder baselines with reranking potential are represented by entity linking performance. Table 8 and 9 shows the comparison of previous work in clinical NER and entity linking.

Table 8.

Summary of previous studies and current approach (NER process)

Ref Method/Study Datasets NER F1
[41] NEAR: joint NER + polarity/modality tagging via BiLSTM n-CRF variants n2b2 2010/VA, n2b2 2012 n2c2 2010-0.90
n2c2 2012-0.80
[42] Active learning with UMLS feature matching (SSM) ShARe/CLEF 2013, n2b2/VA 2010 n2c2 2010-0.87
[43] Multi-task BERT adaptation (MT-NER) for medications + ADE n2c2 2018/2009, n2c2 2010/2012, ShAReCLEF 2013 n2c2 2010-88.42
n2c2 2012-87.54
n2c2 2018-90.10
[44] Spark NLP BiLSTM-CNN-Char at scale;
beats AWS/GCP
n2b2 2010/VA, n2c2 2014/2018,
8 biomedical benchmarks
n2c2 2010-0.87
n2c2 2018-0.89
[45] TransformerCRF trained from scratch vs fine-tuned LLMs n2c2 2018 n2c2 2018-93.59
[Our work] (BioBERT, PubMedBERT, ClinicalBERT, SciBERT) and two architectural enhancements n2c2 2010, n2c2 2018 88.2%, 87.3%
Span-strict + 95% CI (3 seeds)
Table 9.

Summary of previous studies and current approach (Entity linking process)

Ref Method/Study Datasets Accuracy Evaluation Metric
[21] B-LBConA NCBI Disease, ADR, ShARe/CLEF 93.57
94.72
94.23
Accuracy (%) — official test / refined (zero-shot) test
[46] Prompt-BioEL (cross-entity interaction) NCBI Disease , BC5CDR, COMETA 91.5 /95.7
93.0 /96.7
83.3 /92.4
Acc@1/ Acc@5
[47] kNN-BioEL NCBI Disease , BC5CDR, COMETA,AAP 92.8/ 96.1
93.7/ 96.2
85.7/ 92.3
90.3/ 95.3
Acc@1/ Acc@5
[48] MEDTYPE NCBI, Bio CDR, shARE, MedMentions 97.2/ 45.0
97.3/ 50.7
95.1/ 28.5
87.3/ 41.3
Type pred. AUC † / EL Exact F1 (ScispaCy + MEDTYPE) *
[Our work] SapBERT + FAISS +   n2c2 2010, n2c2 2018
Gold-standard
(300 manually validated)
80.4/70.0
1/0.76
1/0.83
Acc@1/Acc@5/ Acc@10 Threshold optimization
(Data-driven θ*=0.50)

As shown in Table 8, the proposed span-strict evaluation with three-seed statistical validation achieves competitive performance on n2c2 datasets comparable to recent transformer-based methods [41, 42, 43, 44, 45] while providing greater reproducibility through rigorous confidence interval reporting.

According to our research, this study demonstrates the first gold-standard UMLS benchmark with 300 manually validated annotations for clinical entity linking for n2c2 datasets, achieving good performance as indicated from Table 9, advancing beyond dictionary- based and retrieval-enhanced approaches reported in [46, 47, 48]. Architectural enhancements have been continued explored in recent studies [50, 51, 53, 54, 56, 57, 58]. The findings remain consistent: domain-specific pre- training (BioBERT, ClinicalBERT) provides greater benefit than architectural modifications or hybrid LLM approaches [56]. Our work provides a rigorous evaluation framework that enables these emerging approaches to be properly validated on standardized benchmarks. However, this study has some limitations. In this study, the manual generated only 56/60 entities in gold standard dataset. A more fine-grained analysis can be enabled with larger samples. Although bi-encoder outputs represent efficient basslines, Acc@1 can be improved by 5-10% by cross encoder at the expense of computational overhead.

For deployment within real-time EHR processing pipelines in smart urban healthcare environments [49, 52, 55, 59, 60, 61], computational efficiency is a critical consideration alongside accuracy. Among the six architectures evaluated, CharCNN-BioBERT offers the most favorable latency profile due to its lightweight character- level encoding, while PubMedBERT despite achieving the highest accuracy requires approximately 2–4× greater inference time due to its larger parameter count. For the entity linking component, the SapBERT- FAISS pipeline achieves sub-second candidate retrieval through approximate nearest-neighbor indexing, making it suitable for near-real-time clinical coding assistance. For resource-constrained smart hospital deployments, PubMedBERT can be utilized for batch processing scenarios and lighter BERT variants for latency-sensitive real-time applications.

Further research can be generalized on other medical datasets. The evaluation framework proposed in this work is designed to be dataset-agnostic and generalizable to any biomedical NER and entity linking benchmark. The span-strict metric can be applicable to other datasets like BC5CDR, NCBI Disease, MedMentions and ShARe/CLEF 2013 as it requires only gold span boundaries and predicted span boundaries as inputs, with no dataset-specific assumptions. The three- seed statistical validation protocol is similarly universal and can be applied to any NER or EL evaluation with minimal implementation effort.

However, two dataset-specific factors may affect generalization. First, UMLS concept density varies significantly across biomedical sub domains — medication entities in n2c2 2018 have denser UMLS coverage than general clinical concepts in i2b2 2010, which may shift optimal threshold values on datasets from other sub domains such as genomics or radiology. Second, datasets from non-English clinical text may require language-specific SapBERT variants and separate threshold calibratio.

Conclusion and future work

This study presents a comprehensive and reproducible framework for clinical entity extraction through span-aligned pre-processing, three-seed statistical validation, and the first gold-standard UMLS benchmark for the i2b2 2010 and n2c2 2018 clinical datasets. The proposed framework achieves span-strict NER F1- scores of 88.2% and 87.3%, while entity linking attains Acc@1 scores of 80.4% and 70.0%, demonstrating that domain-specific pre-trained transformer models provide greater performance gains than architectural modifications alone. By addressing methodological limitations in previous studies through rigorous evaluation, statistical validation, and standardized benchmarking, the proposed approach establishes a reliable foundation for trustworthy clinical natural language processing. Beyond methodological improvements, this work contributes to the sustainable digital transformation of urban healthcare systems by enabling accurate clinical knowledge extraction, standardized health data integration, and AI-assisted clinical decision support. These capabilities facilitate efficient healthcare information management, improve interoperability among digital health platforms, and support evidence-based planning for resilient and sustainable healthcare services within smart cities. The proposed evaluation framework also promotes transparent, reproducible, and responsible AI adoption, thereby strengthening the long-term sustainability of urban healthcare infrastructure. Future research will focus on incorporating cross-encoder re-ranking strategies for entity linking, extending the framework to multilingual clinical text and diverse healthcare datasets, and integrating explainable and federated AI approaches to enhance data privacy, interoperability, and scalable deployment. These advancements will further support intelligent healthcare infrastructure, sustainable urban health informatics, and resilient digital ecosystems for next-generation smart and sustainable cities.

References

1

S. Sharma, R. Mittal, and N. Goyal, Prospects of machine learning algorithms in healthcare industry: A review. AIP Conference Proceedings. 2916(1) (2023), 030015.

10.1063/5.0179864
2

S. Sharma, R. Mittal, N. Goyal, S.B. Goyal, and C. Verma, Skin disease diagnostics through federated transfer learning on heterogeneous data. Scientific Reports. 16(1) (2026), 1991.

10.1038/s41598-025-31730-741540083PMC12808709
3

D. Yang, B. Kim, and H. Kim, Automated defect classification in the maintenance phase using a channel attention-based convolutional neural network model of natural language processing. International Journal of Sustainable Building Technology and Urban Development. 12(2) (2021), pp. 96-109.

4

A. Kathuria, D. Gupta, and M. Uppal, Sustainable approaches in medical imaging: Enhanced MRI-based brain tumor classification using transfer learning for urban health applications. International Journal of Sustainable Building Technology and Urban Development. 16(3) (2025), pp. 355-372.

5

D. Singla, D. Gupta, and N. Goyal, Sustainable basil leaf disease classification: Benchmarking seven deep learning models using transfer learning for urban and rural farming. International Journal of Sustainable Building Technology and Urban Development. 16(1) (2025), pp. 141-157.

6

P. Bose, S. Srinivasan, W.C. Sleeman, J. Palta, R. Kapoor, and P. Ghosh, A survey on recent named entity recognition and relationship extraction techniques on clinical texts. Applied Sciences. 11(18) (2021), 8319. DOI: 10.3390/app11188319.

10.3390/app11188319
7

M.Y. Landolsi, L. Hlaoua, and L. Ben Romdhane, Information extraction from electronic medical documents: State of the art and future research directions. Knowledge and Information Systems. 65(2) (2022), pp. 463-516. DOI: 10.1007/s10115-022-01779-1.

10.1007/s10115-022-01779-136405956PMC9640816
8

Y. Zhang, Q. Chen, Z. Yang, H. Lin, and Z. Lu, BioWordVec: Improving biomedical word embeddings with subword information and MeSH. Scientific Data. 6(1) (2019), 52. DOI: 10.1038/s41597-019-0055-0.

10.1038/s41597-019-0055-031076572PMC6510737
9

E. Alsentzer, J. Murphy, W. Boag, W.-H. Weng, D. Jindi, T. Naumann, and M. McDermott, Publicly available clinical BERT embeddings. Proceedings of the 2nd Clinical Natural Language Processing Workshop. (2019), pp. 72-78.

10.18653/v1/W19-1909
10

K. Huang, J. Altosaar, and R. Ranganath, ClinicalBERT: Modeling clinical notes and predicting hospital readmission. Proceedings of the CHIL Workshop. (2019).

11

J. Lee, W. Yoon, S. Kim, D. Kim, S. Kim, C.H. So, and J. Kang, BioBERT: A pre-trained biomedical language representation model for biomedical text mining. Bioinformatics. 36(4) (2020), pp. 1234-1240. DOI: 10.1093/bioinformatics/btz682.

10.1093/bioinformatics/btz68231501885PMC7703786
12

Y. Gu, R. Tinn, H. Cheng, M. Lucas, N. Usuyama, X. Liu, T. Naumann, J. Gao, and H. Poon, Domain-specific language model pretraining for biomedical natural language processing. ACM Transactions on Computing for Healthcare. 3(1) (2021), pp. 1-23. DOI: 10.1145/3458754.

10.1145/3458754
13

L. Chiticariu, Y. Li, and F.R. Reiss, Rule-based information extraction is dead! Long live rule-based information extraction systems!. Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). (2013), pp. 827-832.

10.18653/v1/D13-1079
14

B. Song, F. Li, Y. Liu, and X. Zeng, Deep learning methods for biomedical named entity recognition: A survey and qualitative comparison. Briefings in Bioinformatics. 22(6) (2021), bbab282. DOI: 10.1093/bib/bbab282.

10.1093/bib/bbab282
15

X. Chen, C. Ouyang, Y. Liu, and Y. Bu, Improving the named entity recognition of Chinese electronic medical records by combining domain dictionary and rules. International Journal of Environmental Research and Public Health. 17(8) (2020), 2687. DOI: 10.3390/ijerph17082687.

10.3390/ijerph1708268732295174PMC7215438
16

L. Weber, J. Münchmeyer, T. Rocktäschel, M. Habibi, and U. Leser, HUNER: Improving biomedical NER with pretraining. Bioinformatics. 36(1) (2020), pp. 295-302. DOI: 10.1093/bioinformatics/btz528.

10.1093/bioinformatics/btz528
17

X. Dai, S. Karimi, C. Paris, M. Miwa, and B. Hachey, An effective transition-based model for discontinuous NER. Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL). (2020), pp. 5860-5870. DOI: 10.18653/v1/2020.acl-main.520.

10.18653/v1/2020.acl-main.520
18

N. Greenberg, T. Bansal, Y. Versley, and Y. Goldberg, Being negative but constructively: Lessons learnt from creating better visual question answering datasets. Proceedings of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT). (2018), pp. 431-441.

10.18653/v1/N18-1040
19

N. Reimers and I. Gurevych, Reporting score distributions makes a difference: Performance study of LSTM-networks for sequence tagging. Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). (2017), pp. 338-348.

10.18653/v1/D17-1035
20

E. French and B.T. McInnes, An overview of biomedical entity linking throughout the years. Journal of Biomedical Informatics. 137 (2023), 104252. DOI: 10.1016/j.jbi.2022.104252.

10.1016/j.jbi.2022.10425236464228PMC9845184
21

S. Yang, P. Zhang, C. Che, and Z. Zhong, B-LBConA: A medical entity disambiguation model based on Bio-LinkBERT and context-aware mechanism. Computers in Biology and Medicine. 157 (2023), 106768. DOI: 10.1186/s12859-023-05209-z.

10.1186/s12859-023-05209-z36927359PMC10021986
22

G. Lample, M. Ballesteros, S. Subramanian, K. Kawakami, and C. Dyer, Neural architectures for named entity recognition. Proceedings of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT). (2016), pp. 260-270.

10.18653/v1/N16-1030
23

M. Habibi, L. Weber, M. Neves, D.L. Wiegandt, and U. Leser, Deep learning with word embeddings improves biomedical named entity recognition. Bioinformatics. 33(14) (2017), pp. i37-i48. DOI: 10.1093/bioinformatics/btx228.

10.1093/bioinformatics/btx22828881963PMC5870729
24

M. Gridach, Character-level neural network for biomedical named entity recognition. Journal of Biomedical Informatics. 70 (2017), pp. 85-91. DOI: 10.1016/j.jbi.2017.05.002.

10.1016/j.jbi.2017.05.002
25

J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, BERT: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT). (2019), pp. 4171-4186.

10.18653/v1/N19-1423
26

I. Beltagy, K. Lo, and A. Cohan, SciBERT: A pretrained language model for scientific text. Proceedings of the Conference on Empirical Methods in Natural Language Processing and International Joint Conference on Natural Language Inference (EMNLP-IJCNLP). (2019), pp. 3615-3620.

10.18653/v1/D19-1371
27

Y. Luo, Ö. Uzuner, and P. Szolovits, Bridging semantics and syntax with graph algorithms: State-of-the-art of extracting biomedical relations. Briefings in Bioinformatics. 18(1) (2017), pp. 160-178. DOI: 10.1093/bib/bbw001.

10.1093/bib/bbw00126851224PMC5221425
28

X. Ma and E. Hovy, End-to-end sequence labeling via bi-directional LSTM-CNNs-CRF. Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL). (2016), pp. 1064-1074.

10.18653/v1/P16-1101
29

A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A.N. Gomez, Ł. Kaiser, and I. Polosukhin, Attention is all you need. Proceedings of the Advances in Neural Information Processing Systems (NeurIPS). (2017), pp. 5998-6008.

30

X. Wang, Y. Zhang, X. Ren, Y. Zhang, M. Zitnik, J. Shang, C. Langlotz, and J. Han, Cross-type biomedical named entity recognition with deep multi-task learning. Bioinformatics. 35(10) (2019), pp. 1745-1752. DOI: 10.1093/bioinformatics/bty869.

10.1093/bioinformatics/bty869
31

Z. Ji, Q. Wei, and H. Xu, BERT-based ranking for biomedical entity normalization. AMIA Summits on Translational Science Proceedings. 2020 (2020), pp. 269-277.

32

M. Sung, H. Jeon, J. Lee, and J. Kang, Biomedical entity representations with synonym marginalization. Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL). (2020), pp. 3641-3650.

10.18653/v1/2020.acl-main.335
33

F. Liu, E. Shareghi, Z. Meng, M. Basaldella, and N. Collier, Self-alignment pretraining for biomedical entity representations. Proceedings of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT). (2021), pp. 4228-4238.

10.18653/v1/2021.naacl-main.334
34

Ö. Uzuner, B.R. South, S. Shen, and S.L. DuVall, 2010 i2b2/VA challenge on concepts, assertions, and relations in clinical text. Journal of the American Medical Informatics Association. 18(5) (2011), pp. 552-556. DOI: 10.1136/amiajnl-2011-000203.

10.1136/amiajnl-2011-00020321685143PMC3168320
35

S. Henry, K. Buchan, M. Filannino, A. Stubbs, and Ö. Uzuner, 2018 n2c2 shared task on adverse drug events and medication extraction in electronic health records. Journal of the American Medical Informatics Association. 27(1) (2020), pp. 3-12. DOI: 10.1093/jamia/ocz166.

10.1093/jamia/ocz16631584655PMC7489085
36

J. Dodge, G. Ilharco, R. Schwartz, A. Farhadi, H. Hajishirzi, and N. Smith, Fine-tuning pretrained language models: Weight initializations, data orders, and early stopping. arXiv Preprint. (2020), arXiv:2002.06305.

37

J. D’Souza and V. Ng, Sieve-based entity linking for the biomedical domain. Proceedings of the Annual Meeting of the Association for Computational Linguistics and International Joint Conference on Natural Language Processing (ACL-IJCNLP). (2015), pp. 297-302.

10.3115/v1/P15-2049
38

O. Bodenreider, The Unified Medical Language System (UMLS): Integrating biomedical terminology. Nucleic Acids Research. 32(Suppl. 1) (2004), pp. D267-D270. DOI: 10.1093/nar/gkh061.

10.1093/nar/gkh06114681409PMC308795
39

M. Agrawal, S. Hegselmann, H. Lang, Y. Kim, and D. Sontag, Large language models are few-shot clinical information extractors. Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). (2022), pp. 1998-2022.

10.18653/v1/2022.emnlp-main.130
40

Y. Wu, M. Jiang, J. Lei, and H. Xu, Named entity recognition in Chinese clinical text using deep neural network. Studies in Health Technology and Informatics. 216 (2015), pp. 624-628.

41

N. Nath, S.H. Lee, and I. Lee, NEAR: Named entity and attribute recognition of clinical concepts. Journal of Biomedical Informatics. 130 (2022), 104092. DOI: 10.1016/j.jbi.2022.104092.

10.1016/j.jbi.2022.104092
42

L. Le, G. Demartini, G. Zuccon, G. Zhao, and X. Zhang, Active learning with feature matching for clinical named entity recognition. Natural Language Processing Journal. 4 (2023), 100015. DOI: 10.1016/j.nlp.2023.100015.

10.1016/j.nlp.2023.100015
43

S. Narayanan, K. Mannam, P. Achan, M.V. Ramesh, P.V. Rangan, and S.P. Rajan, A contextual multi-task neural approach to medication and adverse events identification from clinical text. Journal of Biomedical Informatics. 125 (2022), 103960. DOI: 10.1016/j.jbi.2021.103960.

10.1016/j.jbi.2021.103960
44

V. Kocaman and D. Talby, Accurate clinical and biomedical named entity recognition at scale. Software Impacts. 13 (2022), 100373. DOI: 10.1016/j.simpa.2022.100373.

10.1016/j.simpa.2022.100373
45

S. Belkadi, L. Han, Y. Wu, and G. Nenadic, Exploring the value of pre-trained language models for clinical named entity recognition. Proceedings of the 2023 IEEE International Conference on Big Data (BigData). (2023), pp. 3660-3669. DOI: 10.1109/BigData59044.2023.10386154.

10.1109/BigData59044.2023.10386154
46

Z. Xu, Y. Chen, and B. Hu, Improving biomedical entity linking with cross-entity interaction. Proceedings of the AAAI Conference on Artificial Intelligence. 37(11) (2023), pp. 13869-13877.

10.1609/aaai.v37i11.26624
47

Z. Zhang, X. Wu, and Y. Zheng, Improving biomedical entity linking with retrieval-enhanced learning. Proceedings of the 2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). (2024), pp. 11461-11465. DOI: 10.1109/ICASSP48485.2024.10448513.

10.1109/ICASSP48485.2024.10448513
48

S. Vashishth, D. Newman-Griffis, R. Joshi, R. Dutt, and C.P. Rosé, Improving broad-coverage medical entity linking with semantic type prediction and large-scale datasets. Journal of Biomedical Informatics. 121 (2021), 103880.

10.1016/j.jbi.2021.10388034390853PMC8952339
49

S. Mondal, K. Dogra, S. Gupta, and S.K. Gupta, A blockchain-based OBD architecture for secure data sharing in smart vehicle ecosystems. Security and Privacy. 9(1) (2026), e70158.

10.1002/spy2.70158
50

W.L. Seow, I. Chaturvedi, A. Hogarth, R. Mao, and E. Cambria, A review of named entity recognition: From learning methods to modelling paradigms and tasks. Artificial Intelligence Review. 58(10) (2025), 315.

10.1007/s10462-025-11321-8
51

N. Calzolari, M.Y. Kan, V. Hoste, A. Lenci, S. Sakti, and N. Xue (Eds.), Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024). (2024).

52

A. Mishra, N.S. Rajput, and D. Singh, Performance evaluation of normalized difference based classifier for efficient discrimination of volatile organic compounds. Materials Research Express. 5(9) (2018), 095901.

10.1088/2053-1591/aad3dd
53

G. Wu, Y. Xie, H. Wu, Z. He, H. Shao, X. Hu, and C. Yang, Utilizing large language models for zero-shot medical ontology extension from clinical notes. arXiv Preprint. (2025), arXiv:2511.16548.

10.1109/BIBM66473.2025.11356658
54

A. Alhassan, V. Schlegel, M. Aloud, R. Batista-Navarro, and G. Nenadic, Discontinuous named entities in clinical text: A systematic literature review. Journal of Biomedical Informatics. 162 (2025), 104783.

10.1016/j.jbi.2025.104783
55

A. Mishra, J. Cha, and S. Kim, HCI based in-cabin monitoring system for irregular situations with occupant’s facial anonymization. Intelligent Human Computer Interaction, Lecture Notes in Computer Science. 12616 (2021), pp. 380-390.

10.1007/978-3-030-68452-5_40
56

A. Kumar, J. Smith, and K. Lee, Better Together: Hybridizing Encoders and LLMs for Unseen Biomedical Texts. Proceedings of the 2026 IEEE International Conference on Big Data and Smart Computing (BigComp). (2026). DOI: 10.1109/BigComp68355.2026.00021.

10.1109/BigComp68355.2026.00021
57

Y. Kushwaha, N. Lal, and M. Manjul, A blockchain-based architecture for secure peer-to-peer management of personal health information in healthcare networks. International Journal of Sustainable Building Technology and Urban Development. 16(1) (2025), pp. 88-110.

10.2139/ssrn.5078229
58

T. Gupta and N. Batra, An explainable hybrid CNN-LSTM framework with grasshopper optimization for sustainable pedestrian behavior modeling and analysis. International Journal of Sustainable Building Technology and Urban Development. 17(2) (2026), pp. 286-304.

59

A. Mishra, J. Kim, D. Kim, J. Cha, and S. Kim, An intelligent in-cabin monitoring system in fully autonomous vehicles. Proceedings of the 2020 International SoC Design Conference (ISOCC). (2020), pp. 61-62.

10.1109/ISOCC50952.2020.9333062
60

K. Jain, K. Kaushik, A. Aggarwal, S.K. Gupta, and S. Mahajan, A clustering-based approach to visualize the impact of economy on national happiness score. Journal of the Knowledge Economy. 17(2) (2026), 5814.

10.1007/s13132-026-03156-7
61

K. Kaur, R. Sharma, A. Kumar, and S.K. Gupta, Epilepsy detection using Bi-LSTM integrated with decision tree. GMSARN International Journal. 20(2) (2026), pp. 275-283.

페이지 상단으로 이동하기