[KongchangAI]
· 1 min read· 983 words

PseuDRAGON: Using Knowledge-Guided Local LLMs to Solve Financial Data De-identification Challenges

PseuDRAGON: Using Knowledge-Guided Local LLMs to Solve Financial Data De-identification Challenges

PseuDRAGON uses knowledge guidance to solve local LLM output inconsistency and improve financial data de-identification consistency.

PseuDRAGON addresses inconsistent outputs from local language models in closed networks with a knowledge-guided de-identification approach. It stores confirmed judgments and corrections outside the model and reuses knowledge through exact-name lookup and learned rules. Experiments based on 92 column names show that with full training judgments, rules raise reused labels from 75 to 83 with no errors; with only 25% training data, a conservative strategy eliminates additional missed PII detections but lowers the reuse rate. Approval revisions trigger rule rebuilding, and synthetic tests verify output reliability. The history-first baseline cuts identification time by 83.0% on average, showing that knowledge reuse can significantly improve efficiency and offering an auditable path for closed-network AI applications.

In closed-network environments handling financial data, employees need to interpret abbreviated column names, identify personal information, and select processing methods. Local language models can assist, but the same input may yield different labels, posing risks to data de-identification. PseuDRAGON proposes a knowledge-guided local LLM approach that stores confirmed judgments and corrections outside the model and reuses them through exact-name lookup and learned rules to improve de-identification consistency and efficiency.

PseuDRAGON research overview

Core Challenge: Inconsistency of Local LLMs

In closed networks, data cannot leave the institution, so only local language models can be used. But local models have a key problem: the same input may produce different output labels. For financial data de-identification, this inconsistency can lead to personal identity information (PII) being handled incorrectly, creating compliance risks.

The research team started with 92 column names from one institution and required that employees interpreting abbreviated column names and identifying personal information receive stable and reliable model assistance. PseuDRAGON's design philosophy is: rather than relying on the fixed model's "memory," it crystallizes confirmed judgments and corrections into reusable knowledge.

Local LLM refers to a large language model fully deployed on an institution's internal network that does not rely on external APIs. In heavily regulated industries such as finance, data cannot leave the institutional network, so only local models can be used. However, local models are constrained by parameter count and training data, and may generate different outputs for the same input. This uncertainty stems from the sampling mechanisms of generative models (such as temperature parameters) and context sensitivity. For PII identification tasks, inconsistent output means the same column name may be labeled as different categories, directly threatening the reliability of the de-identification process.

Knowledge Guidance and Reuse Mechanism

PseuDRAGON stores confirmed judgments and corrections outside the fixed model and reuses them in two ways: exact-name lookup and learned rules. Exact-name lookup ensures that identical column names directly match existing judgments; learned rules are used to generalize to unseen names.

In the expert review stage, the workflow searches institutional policies, national privacy laws, and international sources in sequence to provide a basis for judgments. This layered retrieval strategy both meets the compliance requirements of closed networks and ensures the explainability of decisions.

According to experimental data, when all training judgments are available, the rules increase the number of reused labels under the same approval check from 75 to 83, with no reuse errors. This means the knowledge-guided mechanism can effectively expand the coverage of model assistance while maintaining the rigor of the approval process.

Exact-name lookup is a retrieval strategy based on exact string matching: when a new column name exactly matches a confirmed column name in the knowledge base, its label is reused directly without model inference. Learned rules induce patterns from existing judgments (for example, if a column name contains "ID card," label it as PII) and are used to generalize to unseen names. Combined, the two ensure zero-error reuse for known names and expand coverage through rules, while the auditability of rules satisfies compliance requirements.

Trade-offs Under Few-Shot Conditions and Approval Dynamics

When only 25% of training judgments were available, the research team found that temporarily not applying non-PII rules to unseen names could eliminate additional missed PII detections in replay, but at the cost of a lower reuse rate. This reveals a key trade-off in knowledge reuse—when data is limited, a conservative strategy can avoid errors but sacrifices efficiency.

Approval is not one-time. When approvals are revised or withdrawn, PseuDRAGON rebuilds derived rules to ensure the knowledge base stays consistent with the latest approvals. Tests on synthetic records also verified that the selected method produces the specified output, providing additional evidence for system reliability.

Missed PII detection refers to personal identity information not being identified and de-identified, which may lead to privacy leaks and compliance penalties. When training judgments are insufficient, rules may overgeneralize and misclassify non-PII names as PII (false positives) or vice versa (false negatives). The conservative strategy in the study—temporarily not applying non-PII rules to unseen names—essentially avoids rules making incorrect negative determinations when data is insufficient, thereby reducing the risk of missed detections, but at the cost of automated coverage. This trade-off is especially important in data-sensitive scenarios because the cost of missed detections far exceeds that of false positives.

Efficiency Gains and Actual Performance

In three paired runs, compared with no reuse, the history-first baseline reduced automated identification time by an average of 83.0%. This figure shows that the knowledge reuse mechanism can significantly reduce the manual review burden, allowing employees to focus on the complex cases that truly require judgment.

PseuDRAGON's value lies in that it does not try to make the local model "smarter," but instead compensates for model inconsistency through external knowledge management. For financial data de-identification scenarios in closed networks, this approach provides a pragmatic and auditable path.

History-first baseline is a comparison method: prioritize reusing historical judgments and call the model only when there is no match. Paired runs refer to testing both configurations—with reuse and without reuse—under the same conditions to control variables. The 83.0% time reduction shows that knowledge reuse greatly reduces the number of model calls, thereby lowering computational overhead and manual review burden. This result emphasizes the practical value of external knowledge management in closed-network environments.

Implications for Closed-Network AI Applications

PseuDRAGON's practice shows that in environments where data is sensitive and cannot be transmitted externally, knowledge guidance is more reliable than relying solely on model capability. Externalizing expert judgments into reusable rules both preserves human final control and leverages the efficiency advantages of automation.

As local LLMs become more widespread in industries with high compliance requirements such as finance and healthcare, how to manage inconsistency in model outputs will become a key issue. PseuDRAGON's combination of exact-name lookup and rule learning provides an engineering approach worth learning from for this challenge.

#PseuDRAGON#local LLM#financial data de-identification#PII identification#knowledge-guided#closed network AI#data masking
Share:

Related articles