arXiv:2610.22733cs.CLOct 2026

Manuscript Offprint

arXiv:2610.22733

Thunder-DeID+: Boundary-Aware Korean De-identification from Court Judgments to Broader Sensitive Documents

Gyuseong Lee, Gyeongje Cho, Jongmin Kim, Heejin Kim, Yeonkyoung So, Hyunggeun Jeon, Hyunji M. Park, Sangho Kim, Yoonhee Park, Youngbin Pyo, Jaejin Lee

Abstract

This study examines the transferability of a de-identification model developed for Korean court judgments to a broader range of sensitive documents, focusing on boundary precision, label granularity, and recall. The agglutinative structure of Korean causes Byte Pair Encoding (BPE) tokenizers to frequently merge Personally Identifiable Information (PII) with adjacent particles, which complicates accurate span recovery. Furthermore, current PII taxonomies lack sufficient granularity for legal texts. To address these issues, this study introduces Thunder-DeID+, which integrates a refined three-tier PII taxonomy with a boundary-aware tokenizer. The tokenizer enhances a pretrained BPE vocabulary by incorporating N-gram and boundary-scoring components to better align token and PII span boundaries. The proposed approach is evaluated using a tokenizer-independent word-segment-level protocol. On full-length judgments, the tokenizer consistently improves W. Strict Typed F1-score from 0.76–0.77 to 0.87–0.88 across four model sizes (150M, 395M, 750M, and 1B), mainly by increasing precision rather than model scale. With fine-tuning on 1,000 broader sensitive documents, the judgment-trained model further achieves 0.93 W. Strict Typed F1-score, indicating effective transfer beyond court judgments.

1 Introduction

Legal documents contain dense, context-rich information about individuals, organizations, events, disputes, transactions, and institutional decisions. In South Korea, court judgments are publicly disclosed under the legal framework governing access to them, but must be released in a manner that protects personal and case-specific identifying information. This requirement creates a central tension: court judgments should remain valuable for public access, legal research, and downstream processing, while sensitive information must be removed or masked prior to disclosure or reuse. Consequently, Korean court judgment de-identification is not merely a removal problem. The task requires reducing re-identification risk while preserving the legal content that renders judgments useful.

In Korea, where the Personal Information Protection Act covers not only direct identifiers but also information that can identify an individual when combined with other information (Republic of Korea, 2025), court-deidentified data requires more than simple PII removal. Identifiability often depends on relationships among persons, organizations, events, locations, dates, and case-specific facts, so systems must understand contextual relations rather than detect isolated entities. The task is further complicated by the Korean agglutinative structure, in which PII may be attached to particles or other morphemes without intervening whitespace, making boundary-accurate masking difficult. Since raw legal documents cannot always be sent to external LLMs before masking, reliable de-identification models must be developed for controlled or offline environments while preserving legal utility.

Previous research has addressed the de-identification of Korean court judgments using NLP methods, including Thunder-DeID and K-LegalDeID (Hahm et al., 2025; Choi et al., 2026). However, these approaches are less suited to real-world de-identification tasks, where diverse case types and context-dependent identifiers necessitate finer-grained, more systematic PII categories, more accurate boundary modeling, and evaluation protocols that address residual privacy risks.

To address these challenges, we propose Thunder-DeID+, a Korean de-identification framework that extends court judgment de-identification to broader sensitive document settings. Thunder-DeID+ integrates an annotated judgment corpus, an extensible three-tier PII taxonomy, a boundary-aware tokenization and span-alignment strategy, and a word-segment-level evaluation protocol. On full-length judgments, Thunder-DeID+ achieves substantial improvements over Thunder-DeID in Strict Binary F1-score, with gains attributable to improved precision without loss of recall. The framework also transfers effectively to non-judgment Korean documents with minimal fine-tuning.

The main contributions of this paper are summarized as follows:

• We redesign Korean legal PII categories into an extensible three-tier taxonomy that reduces redundant labels, resolves inconsistent granularity, and enables realistic data augmentation by replacing each PII span with a label-matched surrogate value.

• We propose a tokenizer that combines an N-gram language model with a boundary-aware model to separate Korean PII spans from adjacent particles and functional morphemes, leading to consistent F1 gains over standard BPE across model sizes.

• We introduce a tokenizer-independent word-segment-level evaluation protocol that assesses both boundary coverage and type correctness through Strict/Partial and Typed/Binary metric variants.

• We conduct a domain transfer study from Korean court judgments to broader non-judgment sensitive documents, showing that judgment-trained Thunder-DeID+ adapts effectively to broader Korean sensitive documents.