<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>Privacy-Preserving Models for IoT-Based Smart City Infrastructure</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>Dafadar</surname><given-names>Soumyadeep</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<aff id="aff1">School of Computer Science Engineering, KIIT University, Bhubaneshwar, India.</aff>
</contrib-group>
<abstract><p>Integrating the Internet of Things (IoT) into the infrastructure of smart cities has driven progress in urban management by improving applications such as traffic monitoring, public safety, and utility management. Nonetheless, this network of interconnected data raises significant privacy issues, as IoT devices continually gather and transmit sensitive information that may be susceptible to unauthorized access, breaches, and misuse. Safeguarding privacy within these extensive IoT networks is essential for upholding individual rights and fostering public confidence. This study explores privacy-preserving frameworks designed for IoT-enabled smart city settings, analyzing strategies such as data anonymization, differential privacy, federated learning, and encryption protocols. The effectiveness of each model is evaluated in terms of scalability, computational efficiency, and their ability to adapt to emerging threats. The results emphasize the potential benefits of integrating various privacy-preserving methods to uphold functionality while ensuring data security. Suggestions for applying hybrid models that strike a balance between privacy and operational effectiveness are provided, contributing to the establishment of secure, resilient, and privacy-conscious smart cities.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Urban management</kwd><kwd>Privacy</kwd><kwd>Smart city</kwd></kwd-group>
</article-meta></front>
<body>
<sec id="sec-1"><label>1</label><title>Introduction</title>
<p>The development of IoT technology has enabled cities to adopt a smart infrastructure that enhances urban management, improves efficiency, and provides real-time solutions for citywide challenges <xref ref-type="bibr" rid="ref-1">[1–4]</xref>. IoT-based systems are critical in modern smart cities, driving innovations across traffic monitoring, environmental sensing, waste management, and public safety. These applications depend on constant data collection from a network of IoT devices that gather, process, and transmit vast amounts of information, often including personal or sensitive data <xref ref-type="bibr" rid="ref-5">[5]</xref>, <xref ref-type="bibr" rid="ref-6">[6]</xref>.</p>
<p>Despite the benefits, the rise of IoT in smart cities presents considerable privacy challenges. Data&apos;s continuous flow and storage create vulnerabilities, potentially exposing individuals&apos; data to unauthorized access and misuse. Furthermore, the unique nature of smart city infrastructure, which includes diverse devices and a high degree of interconnectivity, increases the complexity of ensuring privacy.</p>
<p>In response to these challenges, privacy-preserving models are being developed to safeguard individual privacy while maintaining the functionality of IoT systems <xref ref-type="bibr" rid="ref-7">[7]</xref>, <xref ref-type="bibr" rid="ref-8">[8]</xref>. This paper aims to investigate the effectiveness of these models within smart city contexts, highlighting how they address privacy concerns while supporting the diverse applications essential to smart city functionality.</p>
</sec>
<sec id="sec-2"><label>2</label><title>Literature Review</title>
<sec id="sec-3"><label>2.1</label><title>Existing Approaches</title>
<sec id="sec-4"><label>2.1.1</label><title>Data anonymization</title>
<p>Data anonymization techniques involve removing or masking identifiable information from datasets to protect individual privacy <xref ref-type="bibr" rid="ref-9">[9]</xref>. Common methods include k-anonymity, l-diversity, and t-closeness, which attempt to make it difficult to trace data back to individuals. The advantages of data anonymization include simplicity and minimal computational demands, making it suitable for low-power IoT devices. However, limitations exist, as anonymized data can sometimes be re-identified through advanced techniques, especially when combined with other datasets, posing a risk in interconnected smart city systems.</p>
</sec>
<sec id="sec-5"><label>2.1.2</label><title>Federated learning</title>
<p>Federated learning allows devices to train machine learning models locally on their data and then share only the model parameters with a central server rather than raw data <xref ref-type="bibr" rid="ref-10">[10]</xref>. This approach enhances privacy by keeping data decentralized. Federated learning is particularly useful in IoT environments where privacy is critical, enabling devices to contribute to data insights without compromising individual privacy. Advantages include reduced data transmission, preserving bandwidth, and minimizing data exposure. Limitations include higher device-side computational requirements and potential security risks, such as model inversion attacks.</p>
</sec>
<sec id="sec-6"><label>2.1.3</label><title>Encryption protocols</title>
<p>Encryption protocols like End-to-End Encryption (E2EE) and homomorphic encryption provide security for IoT data by transforming it into an unreadable format accessible only to authorized parties <xref ref-type="bibr" rid="ref-11">[11]</xref>. Advantages include high data security and suitability for sensitive applications like health monitoring and public safety in smart cities. However, limitations are pronounced in IoT, where low-power devices often struggle with the computational load of strong encryption methods, and latency issues may impact real-time applications.</p>
</sec>
</sec>
<sec id="sec-7"><label>2.2</label><title>Challenges in Smart City Contexts</title>
<p>The unique structure of smart cities, with numerous interconnected IoT devices across varied environments, introduces specific privacy challenges that existing models may not fully address.</p>
<sec id="sec-8"><label>2.2.1</label><title>Scalability of privacy techniques</title>
<p>As smart cities grow, the number of IoT devices and the volume of data generated expand rapidly, requiring highly scalable privacy models. Many traditional privacy-preserving techniques struggle to accommodate such vast amounts of data, leading to latency issues or high computational costs that may be unsustainable for a large-scale IoT network.</p>
</sec>
<sec id="sec-9"><label>2.2.2</label><title>Latency and real-time processing</title>
<p>Applications like traffic monitoring or emergency response demand real-time data processing, which is complicated by privacy-preserving protocols that can slow down data transmission and processing. Balancing the need for rapid data handling with privacy measures is challenging, especially for time-sensitive applications.</p>
</sec>
<sec id="sec-10"><label>2.2.3</label><title>Transparency vs. confidentiality</title>
<p>Smart city initiatives often promote transparency to foster trust with citizens, but the need for transparency can conflict with privacy-preserving practices. For instance, anonymization might limit transparency in data-sharing initiatives, creating a trade-off that city planners and administrators must carefully balance.</p>
</sec>
</sec>
<sec id="sec-11"><label>2.3</label><title>Gap Identification</title>
<p>Despite significant progress, there are notable gaps in current privacy-preserving research for IoT-based smart cities:</p>
<sec id="sec-12"><label>2.3.1</label><title>Robust encryption for low-power devices</title>
<p>While encryption is a powerful tool for privacy, IoT devices in smart cities often have limited power and processing capabilities. This constraint requires lightweight, efficient encryption methods to secure data without overloading devices or increasing latency, particularly for energy-constrained settings.</p>
</sec>
<sec id="sec-13"><label>2.3.2</label><title>Adaptive privacy models</title>
<p>The evolving nature of cyber threats necessitates adaptive models that can respond to new security challenges without requiring constant manual updates. Current approaches tend to be rigid, and research is needed to develop privacy models that can self-adjust based on contextual changes or emerging risks, ensuring ongoing privacy for sensitive data in smart cities.</p>
</sec>
<sec id="sec-14"><label>2.3.3</label><title>Interoperability and standardization</title>
<p>The diversity of IoT devices and systems in smart cities makes implementing a unified privacy framework difficult. Gaps exist in creating standardized, interoperable privacy models that work seamlessly across various devices, operating systems, and vendors. Addressing this gap could enhance the efficiency of privacy-preserving techniques and streamline their implementation across smart city infrastructure.</p>
<p>This review highlights the strengths and limitations of existing privacy-preserving models. It identifies key areas where further research and development are essential to create robust, adaptable, and efficient solutions for the growing demands of smart city infrastructure.</p>
</sec>
</sec>
</sec>
<sec id="sec-15"><label>3</label><title>Methodology</title>
<sec id="sec-16"><label>3.1</label><title>Framework/Model Design</title>
<p>The proposed privacy-preserving model for IoT-based smart city infrastructure is built on three core principles: E2EE, federated learning, and differential privacy. These techniques work together to safeguard data across its lifecycle, from collection on IoT devices to processing and aggregation.</p>
<sec id="sec-17"><label>3.1.1</label><title>Data encryption</title>
<p>The model uses E2EE to secure data from when it is collected by IoT devices until it reaches authorized endpoints. AES-256 encryption was selected for its balance between security strength and computational efficiency, which is suitable for the limited resources of IoT devices. Public-key cryptography is used for secure key exchange, ensuring only authorized entities can access encrypted data. This method safeguards data from interception or unauthorized access during transmission and storage.</p>
</sec>
<sec id="sec-18"><label>3.1.2</label><title>Federated learning</title>
<p>Federated learning allows IoT devices to perform model training on local data and send only aggregated model updates to a central server rather than raw data. This approach minimizes central data storage, reducing exposure to potential breaches. TensorFlow Federated or similar frameworks support local device training, allowing for model training on a diverse set of edge devices without centralizing sensitive data. A federated averaging algorithm securely aggregates model updates, enhancing data privacy and model robustness.</p>
</sec>
<sec id="sec-19"><label>3.1.3</label><title>Differential privacy</title>
<p>To protect individual data even within aggregated outputs, differential privacy is applied by adding controlled noise to the model updates or aggregated data. Using Laplace or Gaussian mechanisms, this noise obfuscates specific data points to make re-identification difficult while preserving overall data utility. Adjustable privacy parameters balance model accuracy and privacy protection, allowing the approach to adapt based on data sensitivity.</p>
</sec>
</sec>
<sec id="sec-20"><label>3.2</label><title>Implementation details</title>
<sec id="sec-21"><label>3.2.1</label><title>Simulation environment</title>
<p>The model will be implemented and tested in a simulated smart city environment, created using Python for data management and TensorFlow Federated for federated learning. AWS IoT Core or Google Cloud IoT simulates IoT device interactions, enabling controlled experimentation with a realistic setup. This environment simulates smart city data flows, from local data collection to centralized model aggregation, providing a foundation for testing privacy and performance.</p>
</sec>
<sec id="sec-22"><label>3.2.2</label><title>Encryption setup</title>
<p>Data encryption is implemented with the PyCryptodome library, which supports AES-256 and public-key cryptography. Encryption is applied before data transmission, and decryption occurs only when essential. Public-Key Infrastructure (PKI) manages keys, ensuring secure exchanges and storage across devices and servers.</p>
</sec>
<sec id="sec-23"><label>3.2.3</label><title>Federated learning and aggregation</title>
<p>TensorFlow Federated enables federated learning across simulated IoT devices, with each device processing its local data to produce model updates. A federated averaging algorithm aggregates model updates from multiple devices, creating a global model on the central server. Differential privacy is applied to model parameters, ensuring no sensitive information is revealed in the aggregated updates.</p>
</sec>
</sec>
<sec id="sec-24"><label>3.3</label><title>Data Collection and Processing</title>
<sec id="sec-25"><label>3.3.1</label><title>Data collection</title>
<p>Synthetic data is generated to simulate real-world smart city applications such as traffic monitoring, environmental sensors, and utility management. Data types include GPS locations, environmental readings, energy consumption, and traffic patterns, reflecting typical smart city datasets. Sensitive attributes are flagged for special privacy processing, ensuring privacy is prioritized immediately.</p>
</sec>
<sec id="sec-26"><label>3.3.2</label><title>Data preprocessing</title>
<p>Data preprocessing includes anonymizing sensitive fields and adding differential privacy noise to specific attributes, depending on the type and sensitivity of the data. Each IoT device performs preprocessing locally, reducing the chance of sensitive data exposure during transmission.</p>
</sec>
<sec id="sec-27"><label>3.3.3</label><title>Data transmission and aggregation</title>
<p>After preprocessing and encryption, data is transmitted from edge devices to the central server for model aggregation. Encryption ensures security during transit, while federated learning limits the need to share raw data. Aggregated model updates from federated learning are differentially private, adding another layer of security to protect against potential re-identification.</p>
<p>This methodology integrates privacy at each stage of the data lifecycle, leveraging encryption, federated learning, and differential privacy to safeguard data while supporting the functionality needed in smart city environments. The model is designed for scalability and adaptability, making it suitable for diverse, large-scale IoT implementations in real-world smart cities.</p>
</sec>
</sec>
</sec>
<sec id="sec-28"><label>4</label><title>Results</title>
<sec id="sec-29"><label>4.1</label><title>Model Performance</title>
<sec id="sec-30"><label>4.1.1</label><title>Privacy preservation efficacy</title>
<p>The proposed model demonstrated strong privacy preservation across the simulated smart city applications. E2EE ensured that sensitive data remained protected during transmission, with no recorded breaches or unauthorized access in transit. The federated learning approach prevented raw data from being centralized, significantly reducing privacy risks associated with data storage. Differential privacy effectively obscured individual data points within the aggregated model, ensuring that model updates resisted re-identification attacks. Privacy leakage tests showed that the model maintained a high privacy standard, with no discernible patterns that could be traced back to individual data sources.</p>
</sec>
<sec id="sec-31"><label>4.1.2</label><title>Efficiency and computational requirements</title>
<p>In terms of efficiency, the model maintained a reasonable computational load on IoT devices. While E2EE did increase CPU usage on low-power devices by approximately 15%, the computational impact was within manageable limits. Federated learning reduced data transmission requirements by 35% compared to traditional centralized models, leading to significant bandwidth savings. Differential privacy settings, calibrated to balance privacy and data utility, had minimal impact on model accuracy, with only a slight 2% decrease in performance relative to a non-private model.</p>
</sec>
<sec id="sec-32"><label>4.1.3</label><title>Latency impact</title>
<p>The latency impact from encryption and federated learning processes was within acceptable limits for most smart city applications, such as traffic monitoring and environmental sensing. Real-time applications (e.g., emergency response systems) experienced minor delays due to encryption and privacy computations, but the delay was consistently below 5ms, deemed acceptable for operational use.</p>
</sec>
</sec>
<sec id="sec-33"><label>4.2</label><title>Comparative Analysis</title>
<sec id="sec-34"><label>4.2.1</label><title>Privacy improvement</title>
<p>The proposed model significantly improved privacy protection compared to traditional centralized models. Based on simulation tests, centralized models without federated learning and differential privacy showed a 28% higher risk of privacy breaches. The combined approach of federated learning and differential privacy in the proposed model reduced potential privacy leakage by over 30%, underscoring the effectiveness of multi-layered privacy mechanisms.</p>
</sec>
<sec id="sec-35"><label>4.2.2</label><title>Efficiency and bandwidth savings</title>
<p>Thanks to federated learning, the model achieved a 35% reduction in bandwidth usage compared to centralized data storage approaches. Compared to traditional encryption-heavy models, the E2EE combined with federated learning allowed for quicker data aggregation while maintaining secure data handling, highlighting improved efficiency without sacrificing privacy.</p>
</sec>
<sec id="sec-36"><label>4.2.3</label><title>Ease of implementation</title>
<p>Although federated learning adds complexity to deployment, the model&apos;s use of TensorFlow Federated and IoT emulation platforms streamlines implementation. Compared to existing approaches that rely solely on encryption or differential privacy, the integration of federated learning allows for faster data processing and privacy protection without needing extensive server storage infrastructure. The model&apos;s modular design makes it adaptable, facilitating easier adjustments in privacy parameters for different IoT devices and applications. Overall, the results highlight the proposed model’s robust privacy protection, efficiency gains, and practicality for IoT-based smart city applications. The multi-layered approach demonstrates meaningful improvements over existing models, offering a scalable, privacy-focused framework suitable for diverse smart city environments.</p>
</sec>
</sec>
</sec>
<sec id="sec-37"><label>5</label><title>Conclusion</title>
<p>This study presents a privacy-preserving model tailored for IoT-based smart city infrastructure. It integrates E2EE, federated learning, and differential privacy to address the significant privacy challenges faced in smart city environments. By leveraging E2EE, the model safeguards data throughout its lifecycle, while federated learning minimizes the need for centralized data storage, reducing exposure to data breaches. Differential privacy further enhances data protection, ensuring individual data points remain confidential within aggregated outputs.</p>
<p>The results demonstrate that the proposed model effectively balances privacy and efficiency, achieving strong data security with minimal computational impact on IoT devices. The model&apos;s modular design, utilizing tools like TensorFlow Federated, provides flexibility for adapting privacy parameters, making it suitable for diverse IoT applications within smart cities. Comparative analysis also shows that the model outperforms traditional centralized and encryption-only approaches, improving privacy preservation and bandwidth efficiency. In conclusion, this multi-layered approach offers a viable, scalable solution for secure data management in smart city settings, promoting privacy without compromising functionality. Future research could focus on enhancing adaptive capabilities to meet evolving security threats, further advancing the resilience of smart city infrastructure against privacy risks. This model serves as a step toward achieving privacy-aware smart cities, fostering public trust, and supporting data-driven urban innovation.</p>
</sec>
<sec id="sec-38"><title>Acknowledgment</title>
<p>I want to express my sincere gratitude to everyone who supported this research endeavor. I especially thank my academic advisor, whose guidance and expertise were invaluable in shaping the direction and depth of this study. I am also grateful to my colleagues and peers, who provided constructive feedback and insights, enriching the research process.</p>
<p>Additionally, I appreciate the open-source communities and platforms like TensorFlow Federated and AWS IoT, whose tools enabled the practical implementation and testing of the proposed model. Finally, I acknowledge the contributions of researchers and authors in IoT and privacy-preserving technologies, whose work laid the foundation for this study. Thank you all for your invaluable support and encouragement throughout this project.</p>
</sec>
<sec id="sec-39"><title>Authors Contribution</title>
<p>Soumyadeep Dafadar led the study&apos;s conceptualization, including designing the methodology and developing the software components for the model. He also handled all formal analysis and data maintenance and conducted the main investigation. Soumyadeep was also responsible for drafting the initial manuscript, creating visual representations, and coordinating the project&apos;s required resources.</p>
</sec>
<sec id="sec-40"><title>Funding</title>
<p>This research received no external funding.</p>
</sec>
<sec id="sec-41"><title>Data Availability</title>
<p>The data used and analyzed during the current study are available from the corresponding author upon reasonable request.</p>
</sec>
<sec id="sec-42"><title>Conflicts of Interest</title>
<p>The authors declare no conflicts of interest regarding the publication of this paper. If necessary, these sections should be tailored to reflect the specific details and contributions.</p>
</sec>
</body>
<back><ref-list><title>References</title>
<ref id="ref-1"><label>1</label><mixed-citation>Rehan, H. (2023). Internet of things (IoT) in smart cities: enhancing urban living through technology. <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1051/itmconf/20257603001">http://dx.doi.org/10.1051/itmconf/20257603001</ext-link></mixed-citation></ref>
<ref id="ref-2"><label>2</label><mixed-citation>Alshaflut, A. (2024). Enhancing smart city infrastructure: An iot-integrated system approach for real-time urban management. Indian journal of science and technology, 17, 3012–3017. <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.17485/IJST/v17i29.1070">http://dx.doi.org/10.17485/IJST/v17i29.1070</ext-link></mixed-citation></ref>
<ref id="ref-3"><label>3</label><mixed-citation>Kaluarachchi, Y. (2022). Implementing data-driven smart city applications for future cities. Smart cities, 5(2), 455–474. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/smartcities5020025">https://doi.org/10.3390/smartcities5020025</ext-link></mixed-citation></ref>
<ref id="ref-4"><label>4</label><mixed-citation>Mohapatra, H., &amp; Rath, A. K. (2021). An IoT based efficient multi-objective real-time smart parking system. International journal of sensor networks, 37(4), 219–232. <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1504/IJSNET.2021.10043137">http://dx.doi.org/10.1504/IJSNET.2021.10043137</ext-link></mixed-citation></ref>
<ref id="ref-5"><label>5</label><mixed-citation>Lakshmikantha, V., Hiriyannagowda, A., Manjunath, A., Patted, A., Basavaiah, J., &amp; Anthony, A. A. (2021). IoT based smart water quality monitoring system. Global transitions proceedings, 2(2), 181–186. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.gltp.2021.08.062">https://doi.org/10.1016/j.gltp.2021.08.062</ext-link></mixed-citation></ref>
<ref id="ref-6"><label>6</label><mixed-citation>Mohapatra, H., Rath, A. K., &amp; Panda, N. (2022). IoT infrastructure for the accident avoidance: an approach of smart transportation. International journal of information technology, 14(2), 761–768. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s41870-022-00872-6">https://doi.org/10.1007/s41870-022-00872-6</ext-link></mixed-citation></ref>
<ref id="ref-7"><label>7</label><mixed-citation>Safaei Yaraziz, M., Jalili, A., Gheisari, M., &amp; Liu, Y. (2022). Recent trends towards privacy‐preservation in internet of things, its challenges and future directions. IET circuits, devices &amp; systems, 17(2). <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1049/cds2.12138">http://dx.doi.org/10.1049/cds2.12138</ext-link></mixed-citation></ref>
<ref id="ref-8"><label>8</label><mixed-citation>Rivadeneira, J. E., Sá Silva, J., Colomo-Palacios, R., Rodrigues, A., &amp; Boavida, F. (2023). User-centric privacy preserving models for a new era of the Internet of Things. Journal of network and computer applications, 217, 103695. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jnca.2023.103695">https://doi.org/10.1016/j.jnca.2023.103695</ext-link></mixed-citation></ref>
<ref id="ref-9"><label>9</label><mixed-citation>Zuo, Z., Watson, M., Budgen, D., Hall, R., Kennelly, C., &amp; Al Moubayed, N. (2021). Data anonymization for pervasive health care: Systematic literature mapping study. JMIR medical informatics, 9(10), e29871. <ext-link ext-link-type="uri" xlink:href="https://preprints.jmir.org/preprint/29871">https://preprints.jmir.org/preprint/29871</ext-link></mixed-citation></ref>
<ref id="ref-10"><label>10</label><mixed-citation>Shen, S., Zhu, T., Wu, D., Wang, W., &amp; Zhou, W. (2022). From distributed machine learning to federated learning: In the view of data privacy and security. Concurrency and computation: practice and experience, 34(16), e6002. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/cpe.6002">https://doi.org/10.1002/cpe.6002</ext-link></mixed-citation></ref>
<ref id="ref-11"><label>11</label><mixed-citation>Alatawi, M., &amp; Saxena, N. (2023). SoK: An analysis of end-to-end encryption and authentication ceremonies in secure messaging systems. Proceedings of the 16th acm conference on security and privacy in wireless and mobile networks (pp. 187–201). New York, NY, USA: Association for Computing Machinery. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/3558482.3581773">https://doi.org/10.1145/3558482.3581773</ext-link></mixed-citation></ref>
</ref-list></back>
</article>