Heterogeneous Multi-Domain Dataset Synthesis to Facilitate Privacy and Risk Assessments in Smart City IoT
Abstract
1. Introduction
- How can we generate synthetic multimodal IoT datasets that exhibit realistic spatio-temporal and behavioral patterns across several domains while being suitable for research on privacy and linkage attacks?
- How can such datasets be structured so that they can later be used to study uniqueness, cross-modal linkage properties, and to stress test anonymization strategies and formal privacy mechanisms before deployment on real data?
- 1.
- Unified multimodal synthesis framework:We introduce a scalable, modular pipeline for generating heterogeneous IoT datasets. Our initial framework includes support for three interconnected behavioral modalities: cellular mobility traces, payment terminal transactions, and itemized grocery purchases. The framework was utilized to produce realistic spatio-temporal correlations across 40,000 synthetic users over a 12-week time horizon, with approximately 346 mobility pings, 1.6 payment transactions, and 3.5 grocery items per user-day.
- 2.
- Privacy-aware design: We designed this synthesis framework with privacy research applications in mind, ensuring that the generated data retains realistic behavioral structure while avoiding any direct dependence on real individuals or locations. We emphasize that this constitutes independence from real records rather than formal privacy guarantees such as differential privacy.
- 3.
- Realism mechanisms: We incorporate a spatially constrained merchant selection approach via KD-tree nearest-neighbor search, anchor-based mobility simulation, and dietary-constraint filtering to ensure that the generated behaviors remain plausible at both the individual and aggregate level. The resulting datasets realistically reproduce key empirical patterns such as commute peaks, shopping and exercise routines, and realistic spatial clustering.
- 4.
- Multimodal benchmark dataset: We utilized our framework to generate a large-scale synthetic dataset comprising 116 million mobility records, 5.4 million transactions, and 1.9 million nutrition entries. The dataset is designed to serve as a benchmark for evaluating anonymization techniques, differential privacy mechanisms, and machine learning models in various IoT contexts, such as city planning and healthcare, with all generative assumptions documented.
Privacy Scope and Threat Model
- 1.
- Not derived from real individuals: the synthetic data contains no information originating from actual persons’ records
- 2.
2. Related Work
2.1. Privacy Risks in IoT Data
2.2. Synthetic Data Generation Techniques
2.3. Multimodal Data Synthesis
3. Methodology
3.1. System Architecture
- 1.
- User profile generator: assigns demographic, mobility, exercise, shopping, and dietary attributes that collectively determine per-user behavioral tendencies.
- 2.
- Mobility simulator: generates cellular tower ping sequences using anchor-based state machines and interpolated transit paths.
- 3.
- Transaction simulator: produces payment terminal transactions based on spatial proximity, temporal context, merchant category, and user budget constraints.
- 4.
- Nutrition engine: generates itemized grocery basket contents aligned with dietary profiles and merchant categories.
- 5.
- Aggregation layer: integrates outputs across modalities and exports them into relational tables and columnar storage formats.
3.2. Geographic Scope and Synthetic Population
3.3. User Profile Generation
3.3.1. Demographic and Location Assignment
3.3.2. Exercise Behavior
3.3.3. Dietary and Shopping Behavior
- Grocery Frequency:
- Rare (15%): convenience-driven, <1 grocery trip/week;
- Mixed (50%): 2–3 grocery trips/week;
- Frequent (35%): 4–6 grocery trips/week.
- Healthy Eating Level:
- Unhealthy (20%): high snack/soda likelihood and ultra-processed foods;
- Moderate (50%): nutritionally balanced convenience foods;
- Healthy (30%): strong preference for produce/protein.
3.4. Mobility Simulation
3.4.1. Anchor State Model
- 1.
- Home (22:00–7:00);
- 2.
- Morning commute;
- 3.
- Work ((7:00–9:00)–(16:00–18:00));
- 4.
- Lunch excursion;
- 5.
- Evening commute;
- 6.
- Exercise (if scheduled);
- 7.
- Shopping (probabilistic).
3.4.2. Cellular Tower Infrastructure
3.4.3. Transit Path Interpolation
3.5. Transaction Simulation
3.5.1. Merchant Infrastructure
3.5.2. Purchase Frequency and Selection
- 1.
- Spatial filtering: merchants are retrieved using a KD-tree search within a radius of 500 to 1000 m from the user’s location at the time of this opportunity.
- 2.
- Temporal filtering: merchant classes are prioritized based on time of day (lunch 11:30–13:30, grocery evenings).
- 3.
- Budget constraints: users receive monthly budgets drawn from the Gaussian distribution , capping monthly spending.
3.5.3. Transaction Amounts
3.6. Nutrition Data Generation
- 1.
- Basket size follows a truncated Poisson .
- 2.
- Categories are sampled according to the user’s assigned healthy eating habit class.
- 3.
- Items are drawn uniformly from within the categories.
- 4.
- Nutritional filtering rejects implausible items, such as sugary beverages for healthy eaters, with 90% probability.
- where denotes the fraction of purchased items in category c. An end to end algorithmic approach can be seen in Algorithm 1.
| Algorithm 1. Anchor-based daily mobility simulation. |
|
4. Implementation and Data Pipeline
4.1. Software Architecture
4.2. Data Schema and Export Formats
5. Dataset Characteristics and Validation
5.1. Aggregate Statistics
- 116,046,000 mobility pings (mean 345.75/user-day);
- 5,376,000 transactions (1.6/user-day);
- 1,881,600 nutrition entries (3.5 items/transaction).
5.2. Distributional Validation
5.3. Temporal Patterns
5.4. Spatial Clustering and Cross-Modal Correlations
5.5. Preliminary Uniqueness Analysis
5.5.1. Threat Model and Evaluation Scope
- Adversary knowledge:
- Access to one or more modalities: mobility, transactions, or grocery data.
- Limited auxiliary knowledge of a target individual, such as approximate home location, workplace, or a small number of known spatio-temporal observations.
- The attack objective is either:
- To uniquely identify a target individual within the dataset.
- To reduce the candidate set to a small number of plausible matches that could be further disambiguated with additional auxiliary information.
5.5.2. Transaction Uniqueness
5.5.3. Cross-Modal Linkage Potential
- Exercise frequency correlates strongly with gym visit mobility traces (), enabling linkage between transaction records (gym membership payments) and mobility data.
- Mobility entropy correlates with merchant category diversity (), suggesting that users with geographically dispersed mobility also exhibit distinctive transaction patterns.
- Grocery shopping frequency negatively correlates with fast food usage (), creating dietary fingerprints that could link nutrition records to transaction histories.
5.5.4. Implications for Privacy Research
- Re-identification risk under varying temporal and spatial granularities (e.g., hour-level vs. minute-level timestamps, tower-level vs. coordinate-level locations).
- Cross-modal linkage attacks that exploit correlations between mobility, transactions, and nutrition data.
- The effectiveness of anonymization techniques and differential privacy mechanisms in mitigating these risks.
6. Discussion
6.1. Contributions and Novelty
6.2. Limitations and Future Work
6.2.1. Modeling Simplifications
6.2.2. Population and Temporal Scope
6.2.3. Correlation Structure and Privacy Guarantees
6.3. Addressing Modeling Simplifications
6.4. Ethical Considerations
7. Conclusions
- The framework generates large-scale, multimodal IoT data with realistic spatio-temporal and behavioral patterns across mobility, transactions, and nutrition.
- The joint modeling of multiple modalities captures cross-domain structure such as the coupling between commuting patterns, shopping behavior, and dietary profiles.
- The resulting datasets are suitable for benchmarking IoT analytics algorithms and for future studies on anonymization, differential privacy, and probabilistic record linkage in a controlled synthetic environment.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- De Montjoye, Y.A.; Radaelli, L.; Singh, V.K.; Pentland, A.S. Unique in the shopping mall: On the reidentifiability of credit card metadata. Science 2015, 347, 536–539. [Google Scholar] [CrossRef] [Scilit]
- Dwork, C.; McSherry, F.; Nissim, K.; Smith, A. Calibrating Noise to Sensitivity in Private Data Analysis. In Proceedings of the Theory of Cryptography Conference (TCC); Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2006; Volume 3876, pp. 265–284. [Google Scholar]
- Dwork, C.; Roth, A. The Algorithmic Foundations of Differential Privacy; Now Publishers, Inc.: Hanover, MA, USA, 2014; Volume 9, pp. 211–407. [Google Scholar]
- De Montjoye, Y.A.; Hidalgo, C.A.; Verleysen, M.; Blondel, V.D. Unique in the crowd: The privacy bounds of human mobility. Sci. Rep. 2013, 3, 1376. [Google Scholar] [CrossRef] [Scilit]
- Schlackl, F.; Link, N.; Hoehle, H. Antecedents and consequences of data breaches: A systematic review. Inf. Manag. 2022, 59, 103638. [Google Scholar] [CrossRef] [Scilit]
- Reiter, J.P. Using CART to generate partially synthetic public use microdata. J. Off. Stat. Stockh. 2005, 21, 441. [Google Scholar]
- Stadler, T.; Oprisanu, B.; Troncoso, C. Synthetic data–anonymisation groundhog day. In Proceedings of the 31st USENIX Security Symposium (USENIX Security 22), Boston, MA, USA, 10–12 August 2022; pp. 1451–1468. [Google Scholar]
- Giomi, M.; Boenisch, F.; Wehmeyer, C.; Tasnádi, B. A unified framework for quantifying privacy risk in synthetic data. arXiv 2022, arXiv:2211.10459. [Google Scholar] [CrossRef] [Scilit]
- Xu, F.; Tu, Z.; Li, Y.; Zhang, P.; Fu, X.; Jin, D. Trajectory Recovery From Ash: User Privacy Is NOT Preserved in Aggregated Mobility Data. arXiv 2017, arXiv:1702.06270. [Google Scholar] [CrossRef] [Scilit]
- Preibusch, S.; Peetz, T.; Acar, G.; Berendt, B. Purchase Details Leaked to PayPal. In Proceedings of the Financial Cryptography and Data Security (FC 2015); Revised Selected Papers; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2015; Volume 8975, pp. 217–226. [Google Scholar]
- Yang, H.; Ping, A.; Wei, H.; Zhai, G. Unique in the metro system: The likelihood to re-identify a metro user with limited trajectory points. Phys. A Stat. Mech. Its Appl. 2023, 628, 129176. [Google Scholar] [CrossRef] [Scilit]
- Fan, X.; Qu, X.; Yang, H. Privacy Risk Assessment of Travel Trajectories in Metro AFC Data; Technical Report; SAE: Warrendale, PA, USA, 2025. [Google Scholar]
- Khaliq, A.A.; Anjum, A.; Ajmal, A.B.; Webber, J.L.; Mehbodniya, A.; Khan, S. A secure and privacy preserved parking recommender system using elliptic curve cryptography and local differential privacy. IEEE Access 2022, 10, 56410–56426. [Google Scholar] [CrossRef] [Scilit]
- Alqazzaz, A.; Alrashdi, I.; Aloufi, E.; Zohdy, M.; Ming, H. Secsps: A secure and privacy-preserving framework for smart parking systems. J. Inf. Secur. 2018, 9, 299–314. [Google Scholar] [CrossRef]
- Rubin, D.B. Discussion: Statistical disclosure limitation. J. Off. Stat. 1993, 9, 461–468. [Google Scholar]
- Goodfellow, I.J.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial nets. Adv. Neural Inf. Process. Syst. 2014, 2672–2680. [Google Scholar]
- Kingma, D.P.; Welling, M. Auto-encoding variational bayes. arXiv 2013, arXiv:1312.6114. [Google Scholar]
- Shokri, R.; Stronati, M.; Song, C.; Shmatikov, V. Membership inference attacks against machine learning models. In Proceedings of the 2017 IEEE Symposium on Security and Privacy (SP), San Jose, CA, USA, 22–24 May 2017; pp. 3–18. [Google Scholar]
- Fredrikson, M.; Jha, S.; Ristenpart, T. Model inversion attacks that exploit confidence information and basic countermeasures. In Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security, Denver, CO, USA, 12–16 October 2015; pp. 1322–1333. [Google Scholar]
- Abadi, M.; Chu, A.; Goodfellow, I.; McMahan, H.B.; Mironov, I.; Talwar, K.; Zhang, L. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, Vienna, Austria, 24–28 October 2016; pp. 308–318. [Google Scholar]
- Kulkarni, V.; Tagasovska, N.; Vatter, T.; Garbinato, B. Generative Models for Simulating Mobility Trajectories. arXiv 2018, arXiv:1811.12801. [Google Scholar] [CrossRef] [Scilit]
- Altman, E. Synthesizing credit card transactions. In Proceedings of the Second ACM International Conference on AI in Finance, Virtual, 3–5 November 2021; pp. 1–9. [Google Scholar]
- Walonoski, J.; Kramer, M.; Nichols, J.; Quina, A.; Moesel, C.; Hall, D.; Duffett, C.; Dube, K.; Gallagher, T.; McLachlan, S. Synthea: An approach, method, and software mechanism for generating synthetic patients and the synthetic electronic health care record. J. Am. Med. Inform. Assoc. 2018, 25, 230–238. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Beaulieu-Jones, B.K.; Wu, Z.S.; Williams, C.; Lee, R.; Bhavnani, S.P.; Byrd, J.B.; Greene, C.S. Privacy-preserving generative deep neural networks support clinical data sharing. Circ. Cardiovasc. Qual. Outcomes 2019, 12, e005122. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, D.C.; Lin, L.S. Generating information for small data sets with a multi-modal distribution. Decis. Support Syst. 2014, 66, 71–81. [Google Scholar] [CrossRef] [Scilit]
- Li, C.L.; Chang, W.C.; Cheng, Y.; Yang, Y.; Póczos, B. Mmd gan: Towards deeper understanding of moment matching network. In Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; Volume 30. [Google Scholar]
- Angel, S.; Parent, J.; Civco, D.L.; Blei, A.; Potere, D. The dimensions of global urban expansion: Estimates and projections for all countries, 2000–2050. Prog. Plan. 2011, 75, 53–107. [Google Scholar] [CrossRef] [Scilit]
- U.S. Bureau of Labor Statistics. 70.1 Percent of Workers Were Full-Time, Year-Round in 2023. The Economics Daily, U.S. Bureau of Labor Statistics. 2025. Available online: https://www.bls.gov/opub/ted/2025/70-1-percent-of-workers-were-full-time-year-round-in-2023.htm (accessed on 14 July 2025).
- Centers for Disease Control and Prevention (CDC), National Center for Health Statistics. FastStats: Exercise or Physical Activity, Online. 2024. Available online: https://www.cdc.gov/nchs/fastats/exercise.htm (accessed on 10 December 2025).
- Rada, A.; Szabó, Á. The impact of the pandemic on the fitness sector–The general international situation and a Hungarian example. Soc. Econ. 2022, 44, 477–497. [Google Scholar] [CrossRef] [Scilit]
- Isaacman, S.; Becker, R.; Cáceres, R.; Martonosi, M.; Rowland, J.; Varshavsky, A.; Willinger, W. Human mobility modeling at metropolitan scales. In Proceedings of the 10th International Conference on Mobile Systems, Applications, and Services, Lake District, UK, 25–29 June 2012; pp. 239–252. [Google Scholar]
- Capital One Shopping Research. Number of Credit Card Transactions per Second, Day & Year. 2025. Available online: https://capitaloneshopping.com/research/number-of-credit-card-transactions/ (accessed on 17 July 2025).
- Clearly Payments. What is the Average Transaction Size in Payments by Sector in 2025? 2025. Available online: https://www.clearlypayments.com/blog/what-is-the-average-transaction-size-in-payments-by-sector-in-2025/ (accessed on 12 December 2025).
- Eagle, N.; Pentland, A. Reality mining: Sensing complex social systems. Pers. Ubiquitous Comput. 2006, 10, 255–268. [Google Scholar] [CrossRef] [Scilit]
- Gonzalez, M.C.; Hidalgo, C.A.; Barabasi, A.L. Understanding individual human mobility patterns. Nature 2008, 453, 779–782. [Google Scholar] [CrossRef] [Scilit]
- Chen, G.; Viana, A.C.; Fiore, M.; Sarraute, C. Complete trajectory reconstruction from sparse mobile phone data. EPJ Data Sci. 2019, 8, 30. [Google Scholar] [CrossRef] [Scilit]
- Zhang, P.; Liu, M.; Xu, J.; Zhu, Z.; Cao, R. Characterizing Temporal Patterns of Intra-Urban Human Mobility in Bike-Sharing through Trip Analysis: A Case Study of Shanghai, China. Appl. Sci. 2024, 14, 8583. [Google Scholar] [CrossRef] [Scilit]











| Approach | Domain(s) | Multimodal Support | Cross-Domain Consistency | Interpretable Generation | IoT/Smart City Focus |
|---|---|---|---|---|---|
| Traditional Statistical Methods [15] | Tabular | No | N/A | Yes | No |
| GAN-based Generators [16] | Various | No | N/A | No | No |
| VAE-based Generators [17] | Various | No | N/A | No | No |
| Kulkarni et al. [21] | Mobility traces | No | N/A | No | Partial |
| Altman [22] | Credit card transactions | No | N/A | No | No |
| Synthea [23] | Electronic health records | No | N/A | Yes | No |
| Beaulieu-Jones et al. [24] | Clinical/EHR | No | N/A | No | No |
| Li et al. [26] | Small-scale multimodal | Yes | Limited | – | No |
| Proposed Framework | Mobility, transactions, nutrition | Yes | Yes | Yes | Yes |
| Category | MCC | Median (USD) | ||
|---|---|---|---|---|
| Grocery | 5411 | 3.75 | 0.35 | 42.52 (30–60) |
| Quick-Service | 5814 | 2.40 | 0.55 | 11.02 (6–20) |
| Full-Service | 5812 | 3.80 | 0.45 | 44.70 (25–80) |
| Component | Parameter | Value |
|---|---|---|
| Simulation Scope (Section 3.2) | ||
| Study area | 312 km2 | |
| Population size | 40,000 users | |
| Time horizon | 12 weeks | |
| User Profile Generation (Section 3.3) | ||
| Home location jitter | 50–100 m | |
| Work start times | 7:00, 8:00, 9:00 a.m. (uniform) | |
| Work duration | 9 h | |
| Exercise Behavior (Section 3.3.2) | ||
| Class 0 (never exercise) | 13% | |
| Class 1 (occasional) | 40% | |
| Class 2 (regular) | 47% | |
| Venue: Home | 40% | |
| Venue: Outdoor | 30% | |
| Venue: Gym | 30% | |
| Dietary/Shopping Behavior (Section 3.3.3) | ||
| Rare grocery frequency | 15% (<1 trip/week) | |
| Mixed grocery frequency | 50% (2–3 trips/week) | |
| Frequent grocery frequency | 35% (4–6 trips/week) | |
| Unhealthy eating | 20% | |
| Moderate eating | 50% | |
| Healthy eating | 30% | |
| Mobility Simulation (Section 3.4) | ||
| Stationary ping interval | 3–5 min | |
| Location noise | m (Gaussian) | |
| Number of cell towers | 500 | |
| Tower coverage radius | 300–800 m | |
| Nearest tower selection probability | 85% | |
| Transit travel time | 15–60 min (uniform) | |
| Maximum transit speed | 50 km/h | |
| Transit waypoint interval | 3–5 min | |
| Transaction Simulation (Section 3.5) | ||
| Number of merchants | 1200 | |
| Merchant mix: Grocery | 15% | |
| Merchant mix: Restaurants | 30% | |
| Merchant mix: Fast food | 25% | |
| Merchant mix: Gas stations | 10% | |
| Merchant mix: General retail | 20% | |
| Daily transaction rate | Poisson () | |
| Merchant search radius (KD-tree) | 500–1000 m | |
| Monthly budget | USD | |
| Transaction Amounts (Table 1) | ||
| Grocery (MCC 5411) | , (log-normal) | |
| Quick-Service (MCC 5814) | , (log-normal) | |
| Full-Service (MCC 5812) | , (log-normal) | |
| Nutrition Generation (Section 3.6) | ||
| Product catalog size | 500 items | |
| Basket size | Truncated Poisson () | |
| Nutritional filter rejection rate | 90% | |
| Metric | Achieved Value | Expected Value | Source |
|---|---|---|---|
| Mobility entropy | 3.2 bits (mean) | 2–4 bits | MIT Reality Mining dataset [34] |
| Radius of gyration | 8.3 km (median) | 5–10 km | Urban mobility studies [35,36] |
| Transaction frequency | 1.6 per day | 1.4–1.8 per day | U.S. consumer payment data [32] |
| Spending distribution | Within 10% of MCC benchmarks | Industry averages | Payment processor statistics [33] |
| Indicator | Value | Privacy Implication |
|---|---|---|
| Median of merchants visited per week | 7–8 | High transaction sparsity enables re-identification with few observations [1] |
| Transactions within 1 km of current location | 78% | Spatial clustering constrains candidate set when location is known |
| Lunch purchases within 500 m of work | 92% | Direct linkage channel between mobility (work anchor) and transactions |
| Grocery purchases within 2 km of home | 65% | Home location inference from transaction patterns |
| Exercise frequency–gym visit correlation | Cross-modal linkage between transaction (membership) and mobility data | |
| Mobility entropy–merchant diversity correlation | Behavioral fingerprinting across modalities | |
| Grocery frequency–fast food correlation | Dietary fingerprints link nutrition to transaction histories |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Boeding, M.; Hempel, M.; Sharif, H.; Lopez, J., Jr. Heterogeneous Multi-Domain Dataset Synthesis to Facilitate Privacy and Risk Assessments in Smart City IoT. Electronics 2026, 15, 692. https://doi.org/10.3390/electronics15030692
Boeding M, Hempel M, Sharif H, Lopez J Jr. Heterogeneous Multi-Domain Dataset Synthesis to Facilitate Privacy and Risk Assessments in Smart City IoT. Electronics. 2026; 15(3):692. https://doi.org/10.3390/electronics15030692
Chicago/Turabian StyleBoeding, Matthew, Michael Hempel, Hamid Sharif, and Juan Lopez, Jr. 2026. "Heterogeneous Multi-Domain Dataset Synthesis to Facilitate Privacy and Risk Assessments in Smart City IoT" Electronics 15, no. 3: 692. https://doi.org/10.3390/electronics15030692
APA StyleBoeding, M., Hempel, M., Sharif, H., & Lopez, J., Jr. (2026). Heterogeneous Multi-Domain Dataset Synthesis to Facilitate Privacy and Risk Assessments in Smart City IoT. Electronics, 15(3), 692. https://doi.org/10.3390/electronics15030692

