PseuDRAGON: Knowledge-Guided Local LLMs for Financial-Data Pseudonymization in Closed Networks
Organizations: KFTC Seoul, South Korea
Abstract
Staff pseudonymizing financial data in closed networks must interpret abbreviated column names, identify personal information, and choose processing methods. Local language models can assist, but may give different labels for the same input. PseuDRAGON keeps confirmed judgments and corrections outside a fixed model and reuses them through exact-name lookup and learned rules. For expert review, the workflow searches institutional policy, national privacy law, then international sources. Across 92 columns from one institution, rules increase reuse under the same approval checks from 75 to 83 labels without reuse errors when all training judgments are available. With 25% of the training judgments, withholding non-PII rules for unseen names eliminated the extra PII misses in replay at the cost of lower reuse. Revising or withdrawing approvals rebuilds derived rules, and tests on synthetic records verify that selected methods produce the specified outputs. In three paired runs, the history-first baseline cut automated identification time by 83.0% on average versus no reuse.
Figures & tables
| Column name | Meaning | PII | Table count |
| CUST_ID | Customer identifier | Yes | 2 |
| WD_ACNO | Withdrawal account number | Yes | 7 |
| DPSTR_NM | Depositor name | Yes | 6 |
| DPS_ACNO | Deposit account number | Yes | 4 |
| CMS_NO | Cash management service no. | Yes | 5 |
| USER_SEQ_NO | User sequence number | Yes | 3 |
| Table name | Purpose | Columns |
| CD_TRNS_TRAN | CD/ATM withdrawals and transfers | 13 |
| CMS_REQ_TRAN | CMS withdrawal requests | 7 |
| CMS_RES_TRAN | CMS withdrawal results | 8 |
| GR_JC_TRAN | Direct-debit collection requests | 10 |
| GR_NJ_TRAN | Payer direct debits | 10 |
| HF_TRNS_TRAN | Home and firm banking transfers | 14 |
| Component | Configuration (document aliases I1–G1) |
| Institutional sources | I1: display rules (revision marker 2022-04-20; 7 chunks); I2: privacy rules (revised 2025-10-15; 223 chunks). |
| National sources | N1: Personal Information Protection Act No. 20897 ( Republic of Korea, 2025 ) (effective 2025-10-02; 417 chunks); N2: privacy-policy drafting guidance (April 2025; 537 chunks). |
| International source | G1: GDPR ( European Parliament and Council of the European Union, 2016 ) translation (EU 2016/679; 2,192 chunks); translation edition date unrecorded. |
| Passage retrieval | Five documents, 3,376 uniquely identified chunks; character-bigram/trigram BM25 ( , ). Each category supplies up to three positive-score passages with adjacent same-document text; overlapping groups are merged. |
| Model generation | gpt-oss:120b ; temperature 0; low reasoning effort; output limits 4,096 tokens for proposals and 2,048 for relevance checks. Relevance caching stays within a repetition or timing condition. |
| Held-out replay | Withheld families: 27, 15, 20, 18, and 12 columns. Stores use other families’ reference-confirmed labels; static rules and embeddings are disabled. Methods share fixed fallbacks: initial-run predictions or each source-ordered set. |
| Decision source | Group | P | R | F1 |
| E1 | KFTC (current) | 1.000 | 0.781 | 0.877 |
| E2 | 1.000 | 0.625 | 0.769 | |
| E3 | 1.000 | 0.781 | 0.877 | |
| E4 | KFTC (former) | 1.000 | 0.594 | 0.745 |
| E5 | 1.000 | 0.750 | 0.857 | |
| E6 | 1.000 | 1.000 | 1.000 |
| Method | Exact | Rules | Fresh labels | Reuse errors |
| Schema family withheld | ||||
| No reuse | 0 | 0 | 92 | 0 |
| Name cache | 75 | 0 | 17 | 0 |
| Cache + rules | 75 | 8 | 9 | 0 |
| Family withheld; same-name records also removed | ||||
| Name cache | 0 | 0 | 92 | 0 |
| Condition | Cases | Errors |
| History-first | ||
| Before approval check | 208 | 322 |
| With approval check | 2 | 4 |
| Cache + rules | ||
| Conflict deferral removed | 48 | 75 |
| Conflict deferral enabled | 2 | 4 |
| Judgments | History-first | Name cache | Cache + rules |
| 0% | 0 | 0 | 0 |
| 25% | 61.40 | 50.45 | 62.20 |
| 50% | 76.25 | 67.00 | 77.85 |
| 75% | 79.15 | 72.50 | 82.15 |
| 100% | 75.00 | 75.00 | 83.00 |
| Setting | 25% judgments | 100% | |
| Reused | Wrong | Reused | |
| Default | 62.20 | 0.20 | 83 |
| Support 2; four settings | 61.70–62.25 | 0.20–0.30 | 83 |
| Support 3; four settings | 58.30–58.90 | 0.20–0.30 | 83 |
| Candidate | Inputs | Passing | Contract pass |
| Raw MASK | 3 | 32/33 | 0/33 |
| Raw MASK | 17 | 0/33 | 0/33 |
| Compiled | 17 | 66/66 | 66/66 |
PII Detection
Personally identifiable information (PII) detection finds sensitive personal details in text, conversations, images, and other data.
See all 42 papers