Secure Multi-Party Computation for Cross-Institutional Query Federation without Raw Data Exposure in Healthcare Databases
Haider H. Razzaq
Published: 2026
Abstract
Cross-institutional healthcare research requires secure analysis of patient data distributed across hospitals while complying with the Health Insurance Portability and Accountability Act (HIPAA) and General Data Protection Regulation (GDPR). Existing federated query platforms restrict analyses to predefined aggregates and may expose institution-level statistics, whereas federated learning remains vulnerable to information leakage. This paper proposes a Secure Multi-Party Computation (SMPC) framework for privacy-preserving federated Structured Query Language (SQL) queries across multiple healthcare institutions without disclosing individual records or intermediate results. The framework introduces a federated query language and compiler that transforms queries into depth-bounded arithmetic circuits. It integrates verifiable secret sharing, Beaver-triple generation, and distributed key generation to support secure equality testing, comparison, record linkage, and aggregation. Protocol complexity and security guarantees are analyzed under semi-honest and malicious adversarial models, with malicious security approximately doubling communication requirements. An analytical cost model, calibrated using the SPDZ family of Multi-Party Computation (MPC) frameworks, evaluates scalability across 3–30 institutions and 1,000–500,000 patient records per institution. Results project that a representative cross-institutional linkage query requires less than one second and approximately 77 megabytes of communication for 15 institutions containing 10,000 records each. Four healthcare case studies demonstrate the framework’s potential applicability to rare-disease cohort discovery, drug-safety surveillance, and comparative-effectiveness research. The proposed framework provides a scalable approach to privacy-preserving healthcare analytics while supporting regulatory compliance and enabling secure collaborative research without centralizing sensitive patient information.
Keywords
Secure Multi-Party Computation for Cross-Institutional Query Federation without Raw Data Exposure in Healthcare Databases is licensed under CC BY 4.0
References
- U.S. Department of Health and Human Services. (2002). Standards for privacy of individually identifiable health information (HIPAA Privacy Rule) (45 C.F.R. Parts 160 and 164, as amended). https://www.hhs.gov/hipaa/for-professionals/privacy/index.html
- European Parliament and Council of the European Union. (2016). Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data (General Data Protection Regulation). Official Journal of the European Union, L119, 1–88. https://eur-lex.europa.eu/eli/reg/2016/679/oj.
- Weber, G. M., Murphy, S. N., McMurry, A. J., MacFadden, D., Nigrin, D. J., Churchill, S., & Kohane, I. S. (2009). The Shared Health Research Information Network (SHRINE): A Prototype Federated Query Tool for Clinical Data Repositories. Journal of the American Medical Informatics Association, 16(5), 624–630. https://doi.org/10.1197/jamia.m3191
- Hripcsak George, Duke Jon D., Shah Nigam H., Reich Christian G., Huser Vojtech, Schuemie Martijn J., Suchard Marc A., Park Rae Woong, Wong Ian Chi Kei, Rijnbeek Peter R., van der Lei Johan, Pratt Nicole, Norén G. Niklas, Li Yu-Chuan, Stang Paul E., Madigan David, & Ryan Patrick B. (2015). Observational Health Data Sciences and Informatics (OHDSI): Opportunities for Observational Researchers. MEDINFO 2015: eHealth-Enabled Health. https://doi.org/10.3233/978-1-61499-564-7-574
- Fleurence, R. L., Curtis, L. H., Califf, R. M., Platt, R., Selby, J. V., & Brown, J. S. (2014). Launching PCORnet, a national patient-centered clinical research network. Journal of the American Medical Informatics Association, 21(4), 578–582. https://doi.org/10.1136/amiajnl-2014-002747
- Behrman, R. E., Benner, J. S., Brown, J. S., McClellan, M., Woodcock, J., & Platt, R. (2011). Developing the Sentinel System — A National Resource for Evidence Development. New England Journal of Medicine, 364(6), 498–499. https://doi.org/10.1056/nejmp1014427
- Dwork, C., & Roth, A. (2014). The Algorithmic Foundations of Differential Privacy. Foundations and Trends® in Theoretical Computer Science, 9(3-4), 211–487. https://doi.org/10.1561/0400000042
- Rieke, N., Hancox, J., Li, W., Milletarì, F., Roth, H. R., Albarqouni, S., Bakas, S., Galtier, M. N., Landman, B. A., Maier-Hein, K., Ourselin, S., Sheller, M., Summers, R. M., Trask, A., Xu, D., Baust, M., & Cardoso, M. J. (2020). The future of digital health with federated learning. Npj Digital Medicine, 3(1). https://doi.org/10.1038/s41746-020-00323-1
- Bonawitz, K., Ivanov, V., Kreuter, B., Marcedone, A., McMahan, H. B., Patel, S., Ramage, D., Segal, A., & Seth, K. (2017). Practical Secure Aggregation for Privacy-Preserving Machine Learning. Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, 1175–1191. https://doi.org/10.1145/3133956.3133982
- Yao, A. C. (1982). Protocols for secure computations. 23rd Annual Symposium on Foundations of Computer Science (Sfcs 1982), 160–164. https://doi.org/10.1109/sfcs.1982.38
- Evans, D., Kolesnikov, V., & Rosulek, M. (2018). A Pragmatic Introduction to Secure Multi-Party Computation. Foundations and Trends® in Privacy and Security, 2(2-3), 70–246. https://doi.org/10.1561/3300000019
- Kamm, L., & Bogdanov, D. (2024). Overview of Secure Multi-Party Computation Applications in Health Research and Social Sciences. Handbook of Sharing Confidential Data, 242–256. https://doi.org/10.1201/9781003185284-19
- Wettstein, R., Kussel, T., Hund, H., Fegeler, C., Dugas, M., & Hamacher, K. (2022). Secure Multi-Party Computation Based Distributed Feasibility Queries – A HiGHmed Use Case. German Medical Data Sciences 2022 – Future Medicine: More Precise, More Integrative, More Sustainable! https://doi.org/10.3233/shti220802
- Tawfik, A. M., Sabbeh, S. F., & EL-Shishtawy, T. (2018). Privacy-Preserving Secure Multiparty Computation on Electronic Medical Records for Star Exchange Topology. Arabian Journal for Science and Engineering, 43(12), 7747–7756. https://doi.org/10.1007/s13369-018-3122-5
- Damgård, I., Pastro, V., Smart, N., & Zakarias, S. (2012). Multiparty Computation from Somewhat Homomorphic Encryption. Advances in Cryptology – CRYPTO 2012, 643–662. https://doi.org/10.1007/978-3-642-32009-5_38
- Keller, M. (2020). MP-SPDZ: A Versatile Framework for Multi-Party Computation. Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security, 1575–1590. https://doi.org/10.1145/3372297.3417872
- Goldreich, O., Micali, S., & Wigderson, A. (1987). How to play ANY mental game. Proceedings of the Nineteenth Annual ACM Conference on Theory of Computing - STOC ’87, 218–229. https://doi.org/10.1145/28395.28420
- Ben-Or, M., & Wigderson, A. (1988). Completeness theorems for non-cryptographic fault-tolerant distributed computation. Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing-STOC ’88, 1–10. https://doi.org/10.1145/62212.62213
- Shamir, A. (1979). How to share a secret. Communications of the ACM, 22(11), 612–613. https://doi.org/10.1145/359168.359176
- Beaver, D. Efficient Multiparty Protocols Using Circuit Randomization. Advances in Cryptology — CRYPTO ’91, 420–432. https://doi.org/10.1007/3-540-46766-1_34
- Paillier, P. Public-Key Cryptosystems Based on Composite Degree Residuosity Classes. Advances in Cryptology — EUROCRYPT ’99, 223–238. https://doi.org/10.1007/3-540-48910-x_16
- Cheon, J. H., Kim, A., Kim, M., & Song, Y. (2017). Homomorphic Encryption for Arithmetic of Approximate Numbers. Advances in Cryptology – ASIACRYPT 2017, 409–437. https://doi.org/10.1007/978-3-319-70694-8_15
- Demmler, D., Schneider, T., & Zohner, M. (2015). ABY - A Framework for Efficient Mixed-Protocol Secure Two-Party Computation. Proceedings 2015 Network and Distributed System Security Symposium. https://doi.org/10.14722/ndss.2015.23113
- Mohassel, P., & Rindal, P. (2018). ABY3: A mixed protocol framework for machine learning. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security (pp. 35–52). Association for Computing Machinery. https://doi.org/10.1145/3243734.3243760
- Büscher, N., Demmler, D., Katzenbeisser, S., Kretzmer, D., & Schneider, T. (2018). HyCC: Compilation of hybrid protocols for practical secure computation. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security (pp. 847–861). Association for Computing Machinery.
- Feldman, P. (1987). A practical scheme for non-interactive verifiable secret sharing. 28th Annual Symposium on Foundations of Computer Science (Sfcs 1987), 427–438. https://doi.org/10.1109/sfcs.1987.4
- Pedersen, T. P. Non-Interactive and Information-Theoretic Secure Verifiable Secret Sharing. Advances in Cryptology — CRYPTO ’91, 129–140. https://doi.org/10.1007/3-540-46766-1_9
- Herzberg, A., Jarecki, S., Krawczyk, H., & Yung, M. (1995). Proactive Secret Sharing Or: How to Cope With Perpetual Leakage. Advances in Cryptology — CRYPT0’ 95, 339–352. https://doi.org/10.1007/3-540-44750-4_27
- Gennaro, R., Jarecki, S., Krawczyk, H., & Rabin, T. (1999). Secure Distributed Key Generation for Discrete-Log Based Cryptosystems. Advances in Cryptology — EUROCRYPT ’99, 295–310. https://doi.org/10.1007/3-540-48910-x_21
- Gkoulalas-Divanis, A., Vatsalan, D., Karapiperis, D., & Kantarcioglu, M. (2021). Modern Privacy-Preserving Record Linkage Techniques: An Overview. IEEE Transactions on Information Forensics and Security, 16, 4966–4987. https://doi.org/10.1109/tifs.2021.3114026
- Schnell, R., Bachteler, T., & Reiher, J. (2009). Privacy-preserving record linkage using Bloom filters. BMC Medical Informatics and Decision Making, 9(1). https://doi.org/10.1186/1472-6947-9-41
- Stammler, S., Kussel, T., Schoppmann, P., Stampe, F., Tremper, G., Katzenbeisser, S., Hamacher, K., & Lablans, M. (2020). Mainzelliste SecureEpiLinker (MainSEL): privacy-preserving record linkage using secure multi-party computation. Bioinformatics, 38(6), 1657–1668. https://doi.org/10.1093/bioinformatics/btaa764
- Cho, H., Wu, D. J., & Berger, B. (2018). Secure genome-wide association analysis using multiparty computation. Nature Biotechnology, 36(6), 547–551. https://doi.org/10.1038/nbt.4108
- Bonte, C., Makri, E., Ardeshirdavani, A., Simm, J., Moreau, Y., & Vercauteren, F. (2018). Towards practical privacy-preserving genome-wide association study. BMC Bioinformatics, 19(1). https://doi.org/10.1186/s12859-018-2541-3
- Costan, V., Lebedev, I., & Devadas, S. (2017). Secure Processors Part II: Intel SGX Security Analysis and MIT Sanctum Architecture. https://doi.org/10.1561/9781680833034
- Ostrovsky, R., & Skeith, W. E. (2007). A Survey of Single-Database Private Information Retrieval: Techniques and Applications. Public Key Cryptography – PKC 2007, 393–411. https://doi.org/10.1007/978-3-540-71677-8_26
- Nishide, T., & Ohta, K. Multiparty Computation for Interval, Equality, and Comparison Without Bit-Decomposition Protocol. Public Key Cryptography – PKC 2007, 343–360. https://doi.org/10.1007/978-3-540-71677-8_23