TL;DR
This paper investigates using Large Language Models (LLMs) to generate synthetic financial transaction data while preserving differential privacy. While LLM-based generation shows promise for complex data, the study reveals significant "distribution drift" where LLM biases override the privacy-protected input data, particularly for temporal and demographic features.
What Problem Does This Paper Address?
Financial institutions possess vast amounts of transaction data crucial for research, especially in fraud detection. However, privacy regulations severely restrict data sharing. Differentially private (DP) synthetic data generation offers a solution, but traditional methods struggle with high-dimensional data, leading to a rapid degradation of utility. The paper explores a novel approach: using LLMs as simulators to generate rich transaction sequences from compact, DP-synthesized user "personas." The core question is whether LLMs can faithfully reproduce the statistical properties of these DP inputs, enabling scalable synthetic data generation for complex user profiles where direct DP methods fail.
Methods
The authors propose a "Profile-then-Simulate" architecture.
- DP Persona Generation: They first aggregate real transaction logs into 27 user-level summary statistics (demographics, spending habits, risk factors). These statistics are then discretized and used to generate DP synthetic personas using the AIM (Adaptive Information Mechanism) algorithm across different privacy budgets ($\epsilon$). AIM was chosen for its superior performance on small tabular datasets.
- Agentic Simulation (PersonaLedger): These DP synthetic personas are then fed into PersonaLedger, an LLM-driven financial simulator. PersonaLedger converts the persona statistics into a format it understands and generates transaction sequences. To facilitate evaluation, PersonaLedger is extended to produce transactions in a 12-dimensional ordinal format, mapping to categories like transaction amount, merchant code, and payment method. This approach aims to isolate the privacy budget to persona generation, while the LLM handles the complex transaction sequence generation.
Datasets
- Kaggle Credit Card Transactions Dataset: This dataset, described as a multi-agent simulation of 20M+ transactions from 2,000 synthetic consumers, is used for training and evaluation. It is noted to match real fraud data across key dimensions.
- Real User Statistics: The paper uses real user statistics to seed the DP persona generation process.
Key Insights and Ideas
- LLMs as a Promising, Yet Flawed, Tool: LLM-based simulators can generate synthetic data with moderate utility (e.g., good fraud detection AUC) even from DP-protected inputs. This suggests a viable path for generating complex synthetic data.
- The Dominance of LLM Priors: The study highlights a fundamental tension: LLMs' learned "priors" about typical financial behavior can override the statistical distributions provided in the DP personas. This is the primary cause of "distribution drift."
- Differential Bias: The drift is not uniform across all features. Temporal (e.g., transaction times) and demographic features show significant drift, while simpler, binary, or low-cardinality features (like gender or day of the week) are preserved more accurately.
- Privacy Budget vs. LLM Bias: The non-monotonic relationship observed between the privacy budget ($\epsilon$) and utility suggests that LLM biases, rather than the noise introduced by DP mechanisms, become the dominant factor limiting performance at certain privacy levels.
Key Results
- Utility: PersonaLedger achieved a moderate fraud detection utility (AUC of 0.70) at $\epsilon=1$, demonstrating its ability to produce usable synthetic data. However, utility decreased at $\epsilon=5$, indicating LLM biases are a significant bottleneck.
- Fidelity: PersonaLedger exhibited substantial distribution drift, with Total Variation Distance (TVD) ranging from 0.30 to 0.34.
- Temporal Drift: Transactions clustered unrealistically in "business hours" (9 am-2 pm), missing night/evening patterns.
- Demographic Drift: Generated personas skewed older and had a disproportionately higher retirement rate (~80% vs. ~50% in real data).
- Well-Preserved Features: Binary/low-cardinality attributes like gender, home zip code usage, and day of the week were transferred accurately.
- Comparison to Direct Synthesis: The direct DP synthesis method (AIM Synthetic) achieved significantly higher utility (AUC ~0.87-0.89) and much lower fidelity drift (TVD ~0.05-0.10) on a simplified 12-feature schema, highlighting the challenge LLMs face with complex data.
Limitations and Future Work
- Limitations:
- The current pipeline does not fully propagate all DP statistics to the final output schema, requiring post-hoc estimation for some attributes.
- LLM priors can conflict with target statistical distributions, leading to drift in counter-intuitive patterns.
- Future Work:
- Develop techniques like constrained decoding or rejection sampling to enforce stricter adherence to input distributions.
- Evaluate the approach on higher-dimensional user profiles where direct synthesis is infeasible.
- Explore prompt engineering strategies to mitigate LLM biases for financial data.
Summary updated