betaFeedback

WorksComputer Science

PseuDRAGON: Knowledge-Guided Local LLMs for Financial-Data Pseudonymization in Closed Networks

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.

CCS Concepts

• Security and privacy → Privacy protections.

Introduction

Sharing financial data for analysis requires protecting personal information. At the institution we study, staff pseudonymize ledger data inside a network isolated from the Internet. Korea’s SaaS network-separation exemption excludes unique identification information and personal credit information [10]. Financial authorities elsewhere address risk-based network segmentation [5, 8, 25, 26, 34].

Staff must interpret columns, identify personal information, and choose a method. Internal abbreviations can obscure what a column means [17, 42]. The cash management service number CMS_NO in Figure 1 looked like an operational code until staff confirmed that it links to a customer one-to-one. Hashing can preserve links for analysis [7], and masking can meet institutional display rules.

Closed institutional network workflow showing policy guidance, expert review, label reuse, and audit trail

Figure 1. Closed-network RegTech workflow: source-ordered policy RAG and knowledge reuse with a fixed model. Audit records link column decisions, policy evidence, expert review, selected code, and checked outputs.

LLMs support tasks in finance [21]. Repeated model calls can return different outputs for the same input [2, 29]. When a column recurs, fresh inference can reopen a judgment staff have already checked. Context can aid identification [27], RAG provides evidence [20], and caches and feedback memories reuse earlier outputs [4, 12, 24]. Reuse also depends on whether the supporting approval remains active.

Review yields reusable knowledge even when a label requires no correction. In a replay, keeping corrections alone reuses 4 labels, while keeping all reviewed decisions reuses 75. PseuDRAGON¹ is a closed-network regulatory technology (RegTech) workflow [11] that stores those decisions outside a fixed local model, checks active approvals for conflicts, and rebuilds rules when approvals change. The audit record links evidence, selected code, and outputs.

We evaluate 92 columns from nine reconstructed financial tables with synthetic records. Held-out replays measure where rules extend reuse and where incomplete knowledge causes misses. Approval injection and withdrawal test how errors propagate and how rebuilding removes their effects. We time identification and check outputs against independent reference operations.

Our contributions follow the workflow:

  • A closed-network workflow that links policy evidence, expert review, and checked programs (§ 3).

  • Reuse of confirmed judgments and corrections, with rule rebuilding when approvals change (§ 3.3).

  • An evaluation of rule transfer, approval errors and withdrawal, and execution of selected methods (§ 4).

Related Work

PII and column semantics. Presidio offers entity recognizers, patterns, and adjustable anonymization operations [30]. For structured data, Ntwali et al. combine a field’s name and values with other field names and dataset descriptions [27]. Telkamp and Hulsebos distinguish context within a dataset from external domain information [38]. Schema matching also uses relationships between attributes to find matches when names are unclear [17]. Sherlock labels columns from their values [14]. Sato and Doduo also use table context [36, 41]. LLMs can annotate column types with few or no examples [9, 19], and NameGuess expands abbreviated column names [42]. In our setting, interpreting a column leads to a reviewed decision that can be reused when the column recurs.

Anonymization. Language-model anonymization studies how to rewrite protected content. SEAL learns to anonymize and critique text, then improves it through repeated revisions [18]. Hou et al. separate sensitive-entity detection, replacement-candidate generation, and replacement, then restore private entities in the returned text [13]. PseuDRAGON instead reviews operations on structured columns. Pseudonymization techniques differ in linkability, utility, and recovery [7], and released records can still be re-identified by linking them to other data [37]. We check whether the selected method, parameters, and code produce the specified output.

Retrieval-augmented generation. RAG uses retrieved material to guide answers [16, 20]. Legal question answering can retrieve statutory articles and cite supporting paragraphs [23]. RAG-HAT uses hallucination detection and preference tuning to improve faithfulness [35]. Reliability-Aware RAG estimates source reliability to prioritize retrieval and combine evidence [15]. Our retrieval instead searches policy sources in a fixed order with relevance checks.

Feedback and knowledge reuse. Human–AI interaction guidelines emphasize explanations, correction, and visible effects of feedback [1]. Wu et al. connect interaction design and evaluation with learning from human feedback [40]. Semantic caches also reuse earlier answers: GPTCache returns stored model responses for matching queries, avoiding new generation [12]. Feedback memories keep user corrections outside a frozen model and retrieve them as context for similar queries [4, 24]. Weak supervision combines heuristic labeling functions of unknown accuracy [31]. We keep confirmed decisions as well as corrections outside a fixed model, derive rules only from reviewed approvals, and test how conflicts and approval changes affect reuse.

Closed-Network RegTech Workflow

Figure 1 shows the four stages: PII identification (§ 3.2), method proposal and expert review with knowledge reuse (§ 3.3), and program generation (§ 3.4). An optional branch uses feedback embeddings [32] to suggest similar methods.

Problem setup

An operator selects tables and states the intended use. Each column cc has a name v(c)v(c), a data type, and a comment. The workflow assigns each column a label y(c)∈{PII,non-PII}y(c) \in\{\mathrm{PII}, \mathrm{non\text{-}PII}\} and a method with parameters, such as hashing, encryption, or masking for PII columns, and keeping or deleting non-PII columns. A reviewer checks column meanings, requirements, and proposed operations in table context, then confirms or corrects each proposal. Each reviewed label becomes an approval aa with name v(a)v(a), label y(a)y(a), explanation, and evidence. Let A\mathcal{A} be the active approvals and R\mathcal{R} the automatic rules learned from them (§ 3.3), together with any manual rules. With the fixed local model MM and retrieved evidence E(c)E(c), PseuDRAGON labels a column as

y^(c)={M(c,E(c))if same-name approvals in A disagree,y(a)else if some a∈A has v(a)=v(c),y(r)else if r is the first rule in R matching v(c),M(c,E(c))otherwise.(1)\hat{y}(c)= \begin{cases} M(c,E(c)) & \text{if same-name approvals in }\mathcal{A}\text{ disagree},\\ y(a) & \text{else if some }a\in\mathcal{A}\text{ has }v(a)=v(c),\\ y(r) & \text{else if }r\text{ is the first rule in }\mathcal{R}\text{ matching }v(c),\\ M(c,E(c)) & \text{otherwise.} \end{cases} \tag*{(1)}

The second and third cases depend only on cc, A\mathcal{A}, and R\mathcal{R}, so covered columns receive deterministic labels when inputs and stores are unchanged. Revising or withdrawing an approval updates A\mathcal{A} and rebuilds the automatic rules in R\mathcal{R}.

Interpreting columns and requirements

Stage 1 labels each column with Eq. (1). For columns routed to the model, M\mathcal{M} receives retrieved evidence, table and column names, comments, and data types, and returns a PII or non-PII label.

Search follows institutional policy, national privacy law, then international sources. Column descriptions retrieve passages in each category, and the model checks their relevance to the column and intended use. Let Pk(c)P_k(c) be the relevant passages in category k∈{1,2,3}k \in\{1, 2, 3\}. Search stops at the first relevant category, giving E(c)=Pk∗(c)E(c) = P_{k^*}(c) for k∗=min⁡{k:Pk(c)≠∅}k^* = \min\{k : P_k(c) \ne\varnothing\}. If none supplies a relevant passage, the system records the gap and proceeds without retrieved evidence. Later categories may contain requirements that this search omits. The order governs retrieval, and reviewers must check applicable requirements across sources before approval.

BM25 ranks each category’s passages and adds nearby text as specified in Table 3. Relevance checks use task and passage text, without retrieval scores or evaluation labels. Rejected passages do not carry forward; invalid responses cannot stop search. Records keep category and passage IDs; method parameters require review.

ComponentConfiguration (document aliases I1–G1)
Institutional sourcesI1: display rules (revision marker 2022-04-20; 7 chunks); I2: privacy rules (revised 2025-10-15; 223 chunks).
National sourcesN1: Personal Information Protection Act No. 20897 [33] (effective 2025-10-02; 417 chunks); N2: privacy-policy drafting guidance (April 2025; 537 chunks).
International sourceG1: GDPR [6] translation (EU 2016/679; 2,192 chunks); translation edition date unrecorded.
Passage retrievalFive documents, 3,376 uniquely identified chunks; character-bigram/trigram BM25 (k1=1.2k_1 = 1.2, b=0.75b = 0.75). Each category supplies up to three positive-score passages with adjacent same-document text; overlapping groups are merged.
Model generationgpt-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 replayWithheld 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.
Source-ordered runsThree runs without stored judgments or heuristics: 92 columns and 11 account-display requests with two names. Inputs: names, types, and comments; no cell values; fixed display requirement. Total: 208 relevance checks, 309 proposal calls.
Timing runsHistory-first baseline versus no reuse; three paired runs, three workers per condition; order no reuse–reuse, reuse–no reuse, no reuse–reuse. Each condition starts with an empty relevance cache; stores stay fixed.

Table 3. Experiment settings and controls.

Review and knowledge reuse

Stage 2 records methods, parameters, reasons, sources, and code. For account-display requests, a bounded parser reads explicit source instructions. The evaluated instruction permits hiding at least three digits at the end or before the final digit, producing two alternatives. Each records the position, digit count, mask character, missing-value handling, and source, with a matching template. Unrecognized or conflicting instructions produce no compiled candidate. Experts review these alternatives alongside model candidates.

Stage 3 lets reviewers correct labels and adjust methods; changed labels regenerate the policy before approval. Feedback stores labels and explanations; rules store patterns and support. Figure 2(a,Figure 2b) shows the initial non-PII label and the approved PII label on reuse.

Recorded examples showing CMS_NO labels before and after approval and DPS_ACNO masking code with annotated outputs

Figure 2. Recorded examples: (a, b) CMS_NO labels before and after a demonstration approval whose explanation records the customer mapping; (c, d) DPS_ACNO MASK code and annotated outputs for the same synthetic input.

Rules learn from confirmed judgments and corrections. Each name supplies a prefix through its first underscore and suffixes from each underscore. An initial candidate must have at least two supporting entries and meet the scoring threshold:

s=min⁡(1,nNy+0.1u)≥0.8,(2)s = \min\left(1, \frac{n}{N_y} + 0.1u\right) \ge0.8, \tag*{(2)}

where nn counts supporting entries, NyN_y counts entries with label yy, and uu distinct supporting names. This heuristic combines label coverage and name diversity; it is not a correctness probability.

New rules are checked against all matching training entries, including rare counterexamples. Opposite labels in more than 0.10 of these entries remove the rule. Uncovered names get exact patterns. Refinement merges same-label exact patterns with a common suffix and at least two supporting names, bypassing the initial score threshold. For example, reviewed non-PII judgments for STD_DT and WD_DT can merge into a _DT rule for REQ_DT. Longer suffixes use parent examples and the same support and score thresholds. Equal example sets keep the longer suffix.

A merged suffix with mm exact-name examples scores min⁡(1,0.7+0.1m)\min(1, 0.7 + 0.1m); a longer refinement with nn matches among NrN_r parent examples scores min⁡(1,n/Nr+0.1n)\min(1, n/N_r + 0.1n). Rules apply by descending priority: [100s] for ss rounded to three decimals, plus 10 for longer refinements. Exact-name rules have priority 50; ties retain stored order.

Name and pattern reuse applies within an active scope of reviewed column meanings and method requirements. Revised or withdrawn approvals trigger rebuilding automatic rules from active feedback, preserving manual rules. As in retraining-based machine unlearning [3], rebuilding removes a withdrawn approval’s influence. When meanings or requirements change, the operator archives old stores and starts new ones, carrying forward only reviewed judgments and manual rules. Review also saves accepted methods and edited code as preferences for later proposals.

Generating pseudonymization programs

Stage 4 combines selected code or templates into one program per table. Running it transforms an in-memory copy of the synthetic records and exports the output without changing the source.

Code must match its method and parameters. Supported masking and generalization edits update both; other edits require an explicit, unverified declaration. Both three-digit compiled masks preserve separators and missing inputs, hiding all digits when there are at most three. On 00123456, they yield 00123*** or 0012****. Selection rechecks source identity, parameters, and program structure. All selected operations preserve missing inputs.

For DPS_ACN0 in the home and firm banking table HF_TRNS_TRAN, the initial and reference labels are PII. In Figure 2(c,Figure 2d), the retained original MASK shows the last three digits, while the selected MASK hides the last four characters. On 00123456, the candidate exposes both protected ranges; the selection meets the display rule. § 4.5 tests both. Records link proposals and selections to methods, parameters, reasons, evidence, and supporting knowledge. Verification fingerprints the stores, selected programs, and their outputs.

Evaluation

We measure the accuracy and consistency of fresh PII labels. We test how incorrect or withdrawn approvals affect reuse and check program outputs against independent reference operations.

Experimental setup

Data and reference. Table 2 lists the nine reconstructed financial tables and their purposes. Of their 92 columns, 32 are PII and 60 non-PII in the reference. Table 1 summarizes reference PII labels for columns that identify an individual customer or account holder: names, customer and linkage identifiers, account numbers, and customer-linked service numbers. Corporate identifiers and transaction details such as dates and balances are non-PII in this task; thus DPS_ACN0 is positive and CRN0 negative. A study author built the reference with responsible business staff, checking column meanings, underlying data, and one-to-one links to individuals. It was finalized before blind practitioner evaluation and inference. Tests use synthetic records preserving these column meanings. Labels guide identification; the institution approves release.

Column nameMeaningPIITable count
CUST_IDCustomer identifierYes2
WD_ACNOWithdrawal account numberYes7
DPSTR_NMDepositor nameYes6
DPS_ACNODeposit account numberYes4
CMS_NOCash management service no.Yes5
USER_SEQ_NOUser sequence numberYes3
CIIdentity-linking informationYes3
FIN_INTT_SVC_NOFinancial transfer service no.Yes2
STD_DTStandard dateNo9
WD_BANK_CDWithdrawal bank codeNo8
WD_MNWithdrawal amountNo8
TRNS_DTIMETransaction date/timeNo5
CRNOCorporate registration no.No5
RCMS_BSWR_CL_CDRecipient inquiry categoryNo4
DPS_BANK_CDDeposit bank codeNo4
WD_DTWithdrawal dateNo4
TRNS_MED_CL_CDTransaction mediumNo2
TRNS_CL_CDTransaction categoryNo2
FEEFeeNo2
DEALCO_CDHandling institution codeNo2
WD_RSLT_CDWithdrawal result codeNo1
INQR_DTIMEInquiry date/timeNo1
INQR_CL_CDInquiry categoryNo1
BLNCBalanceNo1
REQ_DTRequest dateNo1

Table 1. The 25 column names in the 92 columns, with schema meanings, reference PII labels, and the number of tables containing each name (32 PII and 60 non-PII columns). Labels are constant within each name.

Table namePurposeColumns
CD_TRNS_TRANCD/ATM withdrawals and transfers13
CMS_REQ_TRANCMS withdrawal requests7
CMS_RES_TRANCMS withdrawal results8
GR_JC_TRANDirect-debit collection requests10
GR_NJ_TRANPayer direct debits10
HF_TRNS_TRANHome and firm banking transfers14
OB_INQR_TRANOpen banking inquiries7
OB_TRNS_TRANOpen banking transfers11
PI_WD_LEDGDebit-transfer ledger12
Total92

Table 2. Financial tables used in the evaluation.

Practitioners. Eight practitioners judged columns without seeing reference labels, system outputs, or peer judgments. Their responses were kept separate from feedback. Six were current or former staff at KFTC (Korea Financial Telecommunications & Clearings Institute, Korea), and two were from FSI (Financial Security Institute, Korea).

Model. The main evaluation runs use gpt-oss:120b [28], served on an NVIDIA H100 (80 GB) inside the institutional network. Table 3 lists the sources, retrieval, and generation settings. Three kinds of runs have separate records: the initial run, the first institutional response, which also sees one synthetic row per table; three metadata-only source-ordered runs; and three paired timing runs.

Reuse routes. The 92 columns share 25 names, making name caching a useful baseline. No reuse labels every column with the model. The name cache reuses exact-name approvals only. The history-first baseline consults exact-name history before rules, without the approval check. Cache + rules is PseuDRAGON’s default route (Eq. (1)). Unless stated otherwise, the name cache and cache + rules share the same approval checks, and uncovered or conflicting columns take labels from three fixed prediction sets: the saved source-ordered runs of § 4.2.

Held-out protocol. We withhold each schema family and build from the others’ reference labels, without new practitioner approvals. Families share table-name prefixes or header-set Jaccard similarity of at least 0.8. Grouping uses no labels; each column is tested once. Held-out labels affect neither stores nor predictions.

Metrics. We report precision (P), recall (R), and F1 against the reference. Reused labels come from stored knowledge through exact names or rules; fresh labels come from the model, and their counts exclude subsequent method proposals. Reuse errors are reused labels that disagree with the reference, separate from final prediction errors. Cases count injections that introduce errors; added errors count the held-out labels made wrong by those injections.

Identification and consistency

Majority voting can hide minority judgments in subjective labeling [39]. A strict majority requires at least five of eight positive judgments. In Table 4, the majority identifies 25 of 32 positive columns without false positives against the reference; the initial run identifies 29. Scored against majority judgments, the same predictions give F1 0.926. Two practitioners with ten years of experience differ in the categories they protect. All 5 false positives from one practitioner are corporate-registration columns excluded by the institutional reference. E6 matches all reference labels but neither set the reference nor supplied feedback.

Decision sourceGroupPRF1
E1KFTC (current)1.0000.7810.877
E2KFTC (current)1.0000.6250.769
E3KFTC (current)1.0000.7810.877
E4KFTC (former)1.0000.5940.745
E5KFTC (former)1.0000.7500.857
E6KFTC (former)1.0001.0001.000
E7FSI0.6040.9060.725
E8FSI0.8651.0000.928
Strict practitioner majority1.0000.7810.877
Initial run1.0000.9060.951
Reviewed state, same items1.0001.0001.000

Table 4. Column identification against the reference.

The same-item check tests retention after review of the initial run. After reference disclosure, all rerun labels match: 77 columns use stored knowledge (70 rules and 7 feedback records), and the model supplies the remaining 15 labels.

Three source-ordered runs label the same 92 columns without stored judgments or heuristics. F1 is 1.000, 1.000, and 0.985. Labels agree for 91/92 columns; the third run mislabels one balance column as positive. The reported evidence changes for 18 columns under the same inference settings and retrieval procedure. Nine switch between source categories, and nine switch between a source category and no retrieved evidence. The labels from these runs supply the fixed reuse fallbacks.

An earlier paired check compares the weighted retriever with the source-ordered pipeline on the same 92 columns, with one prediction per column in each arm. Both arms use the same model, schema metadata, and generation settings. Both arms correctly label all 32 PII and 60 non-PII columns. The change also affects passage ranking, context windows, and relevance checks, so the comparison evaluates the two retrieval pipelines as a whole. Checking whether early stopping misses applicable requirements calls for measuring coverage across sources.

Reusing reviewed decisions

We compare the name cache and cache + rules under the same approval checks and held-out protocol in Table 5.

MethodExactRulesFresh labelsReuse errors
Schema family withheld
No reuse00920
Name cache750170
Cache + rules75890
Family withheld; same-name records also removed
Name cache00920
Cache + rules039530

Table 5. Reuse with all training judgments and identical approval checks across three fixed prediction sets.

With families withheld, Table 5 shows reuse rising from 75 to 83 columns without reuse errors after adding rules. Name coverage grows from 14 to 19 of 25. The extra 8 are among 17 columns with names absent from training: 2 positives and 6 negatives across 5 names. F1 stays 1.000, 1.000, and 0.985 across the fixed prediction sets; the only error comes from a model fallback.

In a stricter replay within the same institution, we also remove all same-name training records before rebuilding each query’s store. The rules correctly label 39 of 92 columns across 12 names (8 PII, 31 non-PII). Exact-name reuse assumes that the name has the same meaning for identification across tables. In these schemas each name has a consistent reference label.

We also rebuild stores as training judgments accumulate in 20 fixed orders (Table 7). At 25% of the judgments, a non-PII rule for WD_ mislabels two held-out WD_ACNO columns in two orders. With no account-number counterexample in the store, the rule overrides correct fallback predictions. A separate replay defers non-PII rules for names absent from the store. At 25%, mean additional false negatives fall from 0.20 to 0 and mean reuse falls from 62.20 to 51.35 columns. The same policy reduces reuse from 83 to 77 columns when each training store contains all its judgments.

JudgmentsHistory-firstName cacheCache + rules
0%000
25%61.4050.4562.20
50%76.2567.0077.85
75%79.1572.5082.15
100%75.0075.0083.00

Table 7. Mean reuse counts for 92 columns across 20 judgment orders and three fixed prediction sets.

Replaying initial-run predictions tests what confirmed answers add to corrections. Here the history-first baseline holds either corrections only or all reviewed selections. Corrections alone reuse 4 labels without fixing any of the 3 misses; all selections reuse 75 and fix all 3. The name cache fixes 2; rules also reach an unseen service-number name (§ 4.4). Across the three fixed prediction sets, corrections alone cover no columns.

Timing runs compare no reuse with the history-first baseline, using training-family stores without the added approval check. In Figure 3(b), label calls fall from 92 to 17 and mean times from 361.7 ± 57.2 to 61.7 ± 11.2 seconds (sample SD), a mean paired reduction of 83.0%. Timing covers lookup, retrieval, generation, parsing, and audit writes. Initialization and store building, human review, and method selection are excluded.

Reuse with a fixed model

Figure 3. Reuse with a fixed model. (a) Fixed-prediction replay of the history-first baseline and name-cache variants. (b) Timing runs of the history-first baseline versus no reuse; mean error bars show sample SD (n=3n = 3).

Timing-run F1 is 1.000, 0.985, and 1.000 without reuse, and 1.000 with reuse. The only difference is OB_INQR_TRAN.BLNC in run 2, which both conditions predict afresh with the same model, inputs, and settings: the same request yields different labels.

Ablation: approvals and reuse

Table 6 evaluates the approval checks before history lookup and during learning. Each of 92 columns appears in four training stores: 368 injection positions. Flipping one label at each position across three fixed prediction sets yields 1,104 cases.

ConditionCasesErrors
History-first
Before approval check208322
With approval check24
Cache + rules
Conflict deferral removed4875
Conflict deferral enabled24
Name cache
Approval check enabled24
After withdrawal (rule-based routes)
Approval removed; rules retained24
Approval removed; rules rebuilt00

Table 6. Approval checks and rule rebuilding: added-error cases and errors per 368 injection positions. Counts match across three fixed prediction sets.

Approval checks reduce added errors in both rule routes to 4 errors in 2 cases per set, without changing clean coverage. Each failure has one wrong approval and no stored conflict to reveal it. The name cache, the history-first baseline with the approval check, and cache + rules agree on held-out labels, including fallbacks, across stages and prediction sets. Clean reuse is 75, 75, and 83, respectively. In all 1,104 cases, rebuilding after withdrawal gives each method the same routes as a new store built from remaining approvals. Restoring the correct approval recovers clean routes.

Five CMS_NO approvals and one USER_SEQ_NO approval support a PII_NO rule for unseen FIN_INTT_SVC_NO. Changing one CMS_NO approval to a non-PII rule prevents the rule after rebuilding; withdrawing it restores the rule. The target’s PII label stays unchanged while its route moves from reuse to fixed fallback and back.

New counterexamples can remove rules and reduce reuse. Table 7 tracks this change. Reuse is error-free at higher training fractions.

The rule settings affect reuse and the risk of leaving missed PII untreated. Table 8 varies minimum support (2 or 3), score threshold (0.7 or 0.9), and conflict limit (0 or 0.2) over the same 20 orders. At 25%, all reuse errors are missed PII. With all training judgments available, each setting correctly reuses 83 labels.

Setting25% judgments25% judgments100%
ReusedWrongReused
Default62.200.2083
Support 2; four settings61.70–62.250.20–0.3083
Support 3; four settings58.30–58.900.20–0.3083

Table 8. Cache + rules sensitivity. Partial-store entries give ranges of 20-order means; full-store entries give counts.

Executing selected methods

Across three runs, 33 account-display requests each yield a raw MASK candidate and two source-compiled alternatives. Of 33 raw candidates, 32 pass the three digit-only strings. Table 9 compares unchanged raw code with compiled alternatives on the same 17 inputs. Raw code fails on short strings, separators, and missing values. For example, 12-34-56 becomes 12-34***, hiding only two digits. Small test sets can overstate the correctness of generated code [22]. Raw candidates also lack parameter declarations, preventing selection. The 66 compiled alternatives have matching parameters and code and pass all 1,122 comparisons using automatic test selections.

CandidateInputsPassingContract pass
Raw MASK332/330/33
Raw MASK170/330/33
Compiled1766/6666/66

Table 9. MASK checks across three runs. Passing candidates meet every assigned input check; contract checks match methods, parameters, and code.

We separately check the retained candidates and selections from § 3.4 on six digit-only inputs. All 4 selected masks meet the display rule in 24/24 program–input cases. Of the candidates, 9 runnable ones pass 0/54 cases and 2 others have syntax errors.

We then run nine table programs three times each on read-only synthetic data. The 92 selections use hashing for 25 columns, masking for 4, interval generalization for 3, and KEEP for 60. With 1,000 rows per table, all 27 outputs match separately implemented reference operations over 92,000 unique cells (276,000 comparisons). Reference functions follow operation definitions, independently of the normalizer and selected source code.

All 92 columns pass method/parameter and missing-value checks. All 1,288 boundary-cell and 276 expanded missing-value comparisons pass, and inputs remain unchanged. Boundary inputs include short or empty strings, leading zeros, multilingual text, emoji, control characters, and interval boundaries.

A synthetic check tests whether the selected customer-ID hashes preserve links across two tables with 84 transactions from 12 fictitious customers. The outputs preserve all 144 cross-table pairs and each customer’s transaction count and total amount. Changing one key preserves the match count while changing the linked pairs. These links support analysis, and linking released records with outside data can still allow re-identification [37].

Limitations and Ethical Considerations

Limitations. We evaluate one institution’s reconstructed schemas and synthetic records. Staff-checked business data support the reference, without external adjudication or a dated original label copy. Same-item replay tests retention; family replay tests reference-based rule transfer with fixed predictions. Execution checks selected operations on tested inputs. Broader code correctness, re-identification resistance, reviewer productivity, and deployment effects remain outside this evaluation.

Ethics. The eight practitioners consented to participate. No information that could identify them was collected or recorded. No separate institutional ethics review was obtained. Institutional execution uses synthetic records and read-only source access. Execution checks do not certify legal compliance or privacy protection.

Conclusion

PseuDRAGON stores confirmed labels and corrections outside the local model. Exact lookup and learned rules return the same labels for covered columns as long as the inputs and stored knowledge stay the same. If staff revise or withdraw an approval, the system rebuilds the learned rules. When a reviewed column recurs, the next analyst can reuse its approved label and inspect the evidence.

References

  1. [1]Saleema Amershi, Dan Weld, Mihaela Vorvoreanu, Adam Fourney, Besmira Nushi, Penny Collisson, Jina Suh, Shamsi Iqbal, Paul N. Bennett, Kori Inkpen, Jaime Teevan, Ruth Kikin-Gil, and Eric Horvitz. 2019. Guidelines for Human–AI Interaction. In Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems (CHI ’19). ACM, New York, NY, USA, 1–13. doi:10.1145/3290605.3300233DOI
  2. [2]Berk Atul, Sarp Aykent, Alexa Chittams, Lisheng Fu, Rebecca J. Passonneau, Evan Radcliffe, Guru Rajan Rajagopal, Adam Sloan, Tomasz Tudrej, Ferhan Ture, Zhe Wu, Lixinyu Xu, and Breck Baldwin. 2025. Non-Determinism of “Deterministic” LLM System Settings in Hosted Environments. In Proceedings of the 5th Workshop on Evaluation and Comparison of NLP Systems (Eval4NLP). 135–148. doi:10.18653/v1/2025.eval4nlp-1.12DOI
  3. [3]Lucas Bourtoule, Varun Chandrasekaran, Christopher A. Choquette-Choo, Hengru Jia, Adelin Travers, Baiwu Zhang, David Lie, and Nicolas Papernot. 2021. Machine unlearning. In 2021 IEEE symposium on security and privacy (SP). IEEE, 141–159.
  4. [4]Bhavana Dalvi Mishra, Oyvind Tafjord, and Peter Clark. 2022. Towards Teachable Reasoning Systems: Using a Dynamic Memory of User Feedback for Continual System Improvement. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing. 9465–9480.arxiv.org/abs/2204.13074
  5. [5]European Commission. 2024. Commission Delegated Regulation (EU) 2024/1774. Article 13: Network Security Management. https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX%3A32024R1774
  6. [6]European Parliament and Council of the European Union. 2016. Regulation (EU) 2016/679 (General Data Protection Regulation). Official Journal of the European Union. Original Official Journal text, Articles 4(5), 25, and 32. https://eur-lex.europa.eu/eli/reg/2016/679/oj
  7. [7]European Union Agency for Cybersecurity. 2019. Pseudonymisation techniques and best practices: Recommendations on shaping technology according to data protection and privacy provisions. Publications Office of the European Union, Luxembourg. doi:10.2824/247711
  8. [8]Federal Financial Institutions Examination Council. 2021. Authentication and Access to Financial Institution Services and Systems. Appendix: System and Network Design and Architecture Controls. https://www.federalreserve.gov/frrs/guidance/authentication-and-access-to-financial-institution-services-and-systems-interagency-guidance.htm
  9. [9]Benjamin Feuer, Yurong Liu, Chinhang Hegde, and Juliana Freire. 2024. ArcheType: A Novel Framework for Open-Source Column Type Annotation Using Large Language Models. Proceedings of the VLDB Endowment 17, 9 (2024), 2279–2292.DOI
  10. [10]Financial Services Commission. 2026. Financial Companies Will Be Able to Use Cloud-Based Software as a Service on Internal Network from April 20. https://www.fsc.go.kr/eng/pr010101/86743
  11. [11]Financial Stability Board. 2020. The Use of Supervisory and Regulatory Technology by Authorities and Regulated Institutions: Market developments and financial stability implications. Technical Report. Financial Stability Board. https://www.fsb.org/uploads/P090120.pdf
  12. [12]Bang Fu and Di Feng. 2023. GPTCache: An Open-Source Semantic Cache for LLM Applications Enabling Faster Answers and Cost Savings. In Proceedings of the 3rd Workshop for Natural Language Processing Open Source Software (NLP-OSS 2023). Association for Computational Linguistics, Singapore, 212–218. Proceedings PDF: https://aclanthology.org/2023.nlposs-1.24.pdf. doi:10.18653/v1/2023.nlposs-1.24DOI
  13. [13]Shilong Hou, Ruilin Shang, Zi Long, Xianghua Fu, and Yin Chen. 2025. A general pseudonymization framework for cloud-based LLMs: Replacing privacy information in controlled text generation. arXiv preprint arXiv:2502.15233. doi:10.48550/arXiv.2502.15233
  14. [14]Madelon Hulsebos, Kevin Hu, Michiel Bakker, Emanuel Zgraggen, Arvind Satyanarayan, Tim Kraska, Çağatay Demiralp, and César Hidalgo. 2019. Sherlock: A Deep Learning Approach to Semantic Data Type Detection. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD ’19). 1500–1508.
  15. [15]Jeongyeon Hwang, Junyoung Park, Hyejin Park, Dongwoo Kim, Sangdon Park, and Jungseok Ok. 2025. Retrieval-Augmented Generation with Estimation of Source Reliability. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Suzhou, China, 34279–34303. doi:10.18653/v1/2025.emnlp-main.1738DOI
  16. [16]Gautier Izacard and Edouard Grave. 2021. Leveraging passage retrieval with generative models for open domain question answering. In Proceedings of the 16th conference of the european chapter of the association for computational linguistics: main volume. 874–880.arxiv.org/abs/2007.01282
  17. [17]Jaewoo Kang and Jeffrey F. Naughton. 2003. On Schema Matching with Opaque Column Names and Data Values. In Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data (SIGMOD). ACM, 205–216. doi:10.1145/872757.872783DOI
  18. [18]Kyuyoung Kim, Hyunjun Jeon, and Jinwoo Shin. 2025. Self-Refining Language Model Anonymizers via Adversarial Distillation. In Advances in Neural Information Processing Systems, Vol. 38. Curran Associates, Inc., Red Hook, NY, USA, 165629–165659. doi:10.52022/085713-5520arxiv.org/abs/2506.01420
  19. [19]Keti Korini and Christian Bizer. 2023. Column Type Annotation using ChatGPT. In Joint Proceedings of Workshops at the 49th International Conference on Very Large Data Bases (VLDB 2023), Tabular Data Analysis Workshop (TaDA) (CEUR Workshop Proceedings, Vol. 3462). 1–10.arxiv.org/abs/2306.00745
  20. [20]Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mikel Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2020. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Advances in Neural Information Processing Systems (NeurIPS), Vol. 33. Curran Associates, Inc., 9459–9474. https://papers.nips.cc/paper_files/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.htmlarxiv.org/abs/2005.11401
  21. [21]Yinsheng Li, Shaofei Wang, Han Ding, and Hang Chen. 2023. Large language models in finance: A survey. In Proceedings of the fourth ACM international conference on AI in finance. 374–382. doi:10.1145/3604237.3626869
  22. [22]Jiawei Liu, Chuanqiu Steven Xia, Yuya Wang, and Lingming Zhang. 2023. Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation. In Advances in Neural Information Processing Systems, Vol. 36. 21558–21572.arxiv.org/abs/2305.01210
  23. [23]Antoine Louis, Gijs van Dijk, and Gerasimos Spanakis. 2024. Interpretable Long-Form Legal Question Answering with Retrieval-Augmented Large Language Models. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI-24), Vol. 38. AAAI Press, 22266–22275. doi:10.1609/aaai.v38i20.30232
  24. [24]Aman Madaan, Niket Tandon, Peter Clark, and Yiming Yang. 2022. Memory-assisted prompt editing to improve GPT-3 after deployment. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing. 2833–2861.
  25. [25]Monetary Authority of Singapore. 2021. Technology Risk Management Guidelines. Sections 11–11.1–11.2. https://www.mas.gov.sg/regulation/guidelines/technology-risk-management-guidelines
  26. [26]National Financial Regulatory Administration. 2024. Measures for Data Security Management of Banking and Insurance Institutions. No. 24, Article 41. Title translated from Chinese. https://app.www.gov.cn/govdata/2024/29/253120/article.html
  27. [27]Albert Agh Ntwali, Luca Rück, and Martin Heckmann. 2025. Detection of Personal Data in Structured Datasets Using a Large Language Model. arXiv:2506.22305. https://arxiv.org/abs/2506.22305
  28. [28]OpenAI. 2025. gpt-oss-120b & gpt-oss-20b Model Card. arXiv preprint arXiv:2508.10925. Model weights released under Apache 2.0. doi:10.48550/arXiv.2508.10925
  29. [29]Shiyin Ouyang, Jie M. Zhang, Mark Harman, and Meng Wang. 2025. An Empirical Study of the Non-Determinism of ChatGPT in Code Generation. ACM Transactions on Software Engineering and Methodology 34, 2, Article 42 (2025), 28 pages. doi:10.1145/3697010
  30. [30]Presidio Contributors. [n. d.]. Presidio: Detection and De-identification SDK. https://github.com/microsoft/presidio. MIT license; accessed: 2026-09-29.
  31. [31]Alexander Ratner, Stephen H. Bach, Henry Ehrenberg, Jason Fries, Sen Wu, and Christopher Ré. 2017. Snorkel: Rapid Training Data Creation with Weak Supervision. Proceedings of the VLDB Endowment 11, 3 (2017), 269–282.
  32. [32]Nils Reimers and Iryna Gurevych. 2019. Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP). 3982–3992.arxiv.org/abs/1908.10084
  33. [33]Republic of Korea. 2025. Personal Information Protection Act. Act No. 20897, effective Oct. 2, 2025, Articles 2, 28-4, and 29. https://elaw.klri.re.kr/eng_service/lawViewContent.do?hseq=71740
  34. [34]Saudi Arabian Monetary Authority. 2017. Cyber Security Framework. Section 3.3.8, control (6)(e). https://rulebook.sama.gov.sa/en/338-infrastructure-security-0
  35. [35]Juntong Song, Xingguang Wang, Juno Zhu, Yuanhao Wu, Wuxin Cheng, Randy Zhong, and Cheng Niu. 2024. RAG-HAT: A Hallucination-Aware Tuning Pipeline for LLM in Retrieval-Augmented Generation. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track. Association for Computational Linguistics, Miami, Florida, US, 1548–1558. doi:10.18653/v1/2024.emnlp-industry.113DOI
  36. [36]Yoshihiko Suhara, Jinfeng Li, Yuliang Li, Dan Zhang, Çağatay Demiralp, Chen Chen, and Wang-Chiew Tan. 2022. Annotating columns with pre-trained language models. In Proceedings of the 2022 International Conference on Management of Data. 1493–1503.DOI
  37. [37]Latanya Sweeney. 2002. k-Anonymity: A Model for Protecting Privacy. International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems 10, 5 (2002), 557–570. doi:10.1142/S0218488502001648DOI
  38. [38]Liang Telkamp and Madelon Hulsebos. 2025. Towards Contextual Sensitive Data Detection. arXiv:2512.04120v2. Revised March 2026. https://arxiv.org/abs/2512.04120
  39. [39]Michiel van der Meer, Neele Falk, Pradeep K. Murukannaiah, and Enrico Liscio. 2024. Annotator-Centric Active Learning for Subjective NLP Tasks. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. 18537–18555.
  40. [40]Tongshuang Wu, Diyiyang, and Sebastian Sany. 2023. Designing, Evaluating, and Learning from Humans Interacting with NLP Models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Tutorial Abstracts. Association for Computational Linguistics, Singapore, 13–18. doi:10.18653/v1/2023.emnlp-tutorial.3DOI
  41. [41]Dan Zhang, Yoshihiko Suhara, Jinfeng Li, Madelon Hulsebos, Çağatay Demiralp, and Wang-Chiew Tan. 2020. Sato: Contextual Semantic Type Detection in Tables. Proceedings of the VLDB Endowment 13, 11 (2020), 1835–1848. doi:10.14778/3407790.3407793
  42. [42]Jian Zhang, Zhengyuan Shen, Balasubramaniam Srinivasan, Shen Wang, Huzefa Rangwala, and George Karypis. 2023. NameGuess: Column name expansion for tabular data. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. 13276–13290. doi:10.18653/v1/2023.emnlp-main.820

Paper details

vlnc:W_j6u3esj7
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents