hottub.patents
US 12,206,758 B2#2173362 Most CitedActiveUnited States (USPTO)Utility

System and method for privacy-preserving distributed training of machine learning models on distributed datasets

2Forward Citations (#2173362 Global)
2.0/yrCitation Velocity (#2173362 Global)
0.27Citation PageRank (#2173362 Global)
35Prior Art Cited
15Claims (2 Indep. · 13 Dep.)
11Drawings / Sheets

Abstract

A system for privacy-preserving distributed training of a global model on distributed datasets has a plurality of data providers being communicatively coupled. Each data provider has a local model and a local training dataset for training the local model using an iterative training algorithm. Further it has a portion of a cryptographic distributed secret key and a corresponding collective cryptographic public key of a multiparty fully homomorphic encryption scheme. All models are encrypted with the collective public key. Each data provider trains its local model using the respective local training dataset, and combines the local model with the current global model into a current local model. A data provider homomorphically combines current local models into a combined model, and updates the current global model based on the combined model. The updated global model is provided to at least a subset of the other data providers.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 2.

Claims (15 — 2 Independent, 13 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for privacy-preserving distributed training of a global machine learning model (global model)-referred to as global model-on a plurality of distributed datasets, wherein a plurality of data providers are communicatively coupled, each data provider having: a respective local machine learning model (local model) and a respective local training dataset for training the local model using an iterative training algorithm, and cryptographic keys including a portion of a cryptographic distributed secret key and a corresponding collective cryptographic public key (collective public key) of a multiparty fully homomorphic encryption scheme, with the local model being encrypted with the collective public key, wherein the cryptographic keys are collectively initialized by the plurality of data providers, and the local models and local training datasets of all data provider systems adhere to the same structure and data formats and use the same training parameters, and the plurality of all local training datasets represents a global training dataset for the global model, and the global model also being encrypted with the collective public key, the method comprising: for a predefined maximum number of global iterations: each data provider training its local model using the respective local training dataset by executing a predefined number of local iterations of an iterative training algorithm for its local model to generate an updated local model, and combining the updated local model with the current global model into a current local model, and providing the current local model to at least a subset of the data providers; homomorphically combining at least a subset of the current local models by at least one of the subset of data providers into a combined model; and updating, by the at least one data provider of the subset of data providers, the current global model based on the combined model to generate an updated global model; providing, by the at least one data provider of the subset of data providers, the updated global model to at least a subset of the other data providers of the plurality of data providers.

  2. Claim 2Depends on #1

    The method of claim 1, further comprising: a particular data provider of the plurality of data providers receiving, from a querying entity, input data encrypted with the collective public key, and receiving a destination public key of a destination entity, the destination entity being the recipient of a prediction result to be provided in response to the input data; in response to the input data, obtaining one or more corresponding encrypted prediction values by applying the encrypted global model to the encrypted input data; and switching the one or more encrypted prediction values to the destination public key, and providing the switched one or more encrypted prediction values to the querying entity so that only the destination entity can decrypt the one or more encrypted prediction values.

  3. Claim 3Depends on #1

    The method of claim 1, further comprising: switching the updated global model to one or more destination public keys of one or more destination entities, and providing the one or more switched global models to respective destination entities for obtaining the corresponding decrypted global model.

  4. Claim 4Depends on #1

    The method of claim 1, wherein the local and global machine learning models are implemented by feed-forward neural networks with one or more hidden layers wherein the one or more hidden layers comprise only activation functions that can be approximated by a polynomial function.

  5. Claim 5Depends on #4

    The method of claim 4, wherein each machine learning model comprises a single hidden layer made of one node that defines an activation function according to a generalized linear model, where the combination of a feature matrix X and a weights vector w is related to a vector of class labels y by the activation function σ such that E(y)= σ − 1 (Xw), where E(y) is the mean of y.

  6. Claim 6Depends on #5

    The method of claim 5, wherein the type of the generalized linear model is any of: linear regression, logistic regression, and multinomial logistic regression.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the multiparty fully homomorphic encryption scheme is a quantum-resistant cryptographic scheme relying on parallel computations, single-instruction-multiple-data (SIMD) operations, and optimized polynomial approximations of the activation functions of the machine learning models.

  8. Claim 8Depends on #1

    The method of claim 1, wherein at least a subset of the local training datasets is also encrypted with the collective public key.

  9. Claim 9Depends on #1

    The method of claim 1, wherein homomorphically combining the current local models is performed ascending a tree structure, such that each data provider aggregates its current local model with current local models of its children, and sends the aggregate result to its parent so that the data provider at the root of the tree structure — the root data provider — obtains the updated global model combined from all current local models; and wherein updating is performed by the root data provider.

  10. Claim 10Independent Claim

    A distributed computer system for privacy-preserving distributed training of a global machine learning model (global model) on a plurality of distributed datasets, the system comprising: a plurality of data provider computer systems being communicatively coupled such that each data provider computer system can exchange information with any other data provider computer system, wherein each data provider computer system has a respective local machine learning model (local model) and a respective local training dataset for training the local model using an iterative training algorithm, and has cryptographic keys including a portion of a cryptographic distributed secret key and a corresponding collective cryptographic public key (collective public key) of a multiparty fully homomorphic encryption scheme, with the local model being encrypted with the collective public key, the cryptographic keys being collectively initialized by the plurality of data provider computer systems, and the local models and local training datasets of all data provider computer systems adhering to the same structure and data formats and using the same training parameters, and the plurality of all local training datasets representing a global training dataset for the global model, the global model also being encrypted with the collective public key; wherein each data provider computer system is configured to train its local model using the respective local training dataset by executing a predefined number of local iterations of an iterative training algorithm for its local model to generate an updated local model, and combining the updated local model with the current global model into a current local model, and to provide the current local model to at least a subset of the data provider computer systems; and wherein at least one data provider computer system of the subset of data provider computer systems is configured to homomorphically combine at least a subset of the current local models into a combined model, and to update the current global model based on the combined model to generate an updated global model, and provide the updated global model to at least a subset of the other data provider computer systems of the plurality of data provider computer systems after a number of global iterations of global model updates which does not exceed a predefined maximum number of global iterations.

  11. Claim 11Depends on #10

    The system of claim 10, wherein a particular data provider computer system of the plurality of data provider computer systems is configured: to receive, from a querying entity, input data encrypted with the collective public key, and to receive a destination public key of a destination entity, the destination entity being the recipient of a prediction result to be provided in response to the input data; and in response to the input data, to obtain one or more corresponding encrypted prediction values by applying the encrypted global model to the encrypted input data; and to switch the one or more encrypted prediction values to the destination public key, and to provide the switched one or more encrypted prediction values to the querying entity so that only the destination entity can decrypt the one or more encrypted prediction values.

  12. Claim 12Depends on #10

    The system of claim 10, wherein: at least a subset of the plurality of data provider computer systems is configured: to collectively switch the updated global model to one or more destination public keys of one or more destination entities, and to provide the one or more switched global models to respective destination entities for obtaining the corresponding decrypted global model.

  13. Claim 13Depends on #10

    The system of claim 10, wherein the machine learning models are implemented by feed-forward neural networks with one or more hidden layers wherein the one or more hidden layers comprise only activation functions that can be approximated by a polynomial function.

  14. Claim 14Depends on #13

    The system of claim 13, wherein each machine learning model comprises a single hidden layer made of one node that defines an activation function according to a generalized linear model, where the combination of a feature matrix X and a weights vector w is related to a vector of class labels y by the activation function σ such that E(y)= σ − 1 (Xw), where E(y) is the mean of y, wherein the type of the generalized linear model is any of: linear regression, logistic regression, and multinomial logistic regression.

  15. Claim 15Depends on #10

    The system of claim 10, wherein the multiparty fully homomorphic encryption scheme is a quantum-resistant cryptographic scheme relying on parallel computations, single-instruction-multiple-data (SIMD) operations, and optimized polynomial approximations of the activation functions of the machine learning models.

Technical Overview & Description

RELATED APPLICATIONS This application is a national stage application, under 35 U.S.C. § 371 of International Patent Application No. PCT/EP2020/062810, filed on May 8, 2020 and published as WO 2021/223873 on Nov. 11, 2021, which is hereby incorporated by reference in its entirety. TECHNICAL FIELD The present invention generally relates to electronic data processing, and more particularly, relates to methods, computer program products and systems for improving data input by a user to modify configuration settings for physical entities. BACKGROUND The training of machine-learning (ML) models usually requires large and diverse datasets. In many domains, such as medicine and finance, assembling sufficiently large datasets has been proven difficult and often requires the sharing of data among multiple data providers (i.e. computer systems which are able to contribute data to such large and diverse datasets). This is particularly true in medicine, where patients' data are spread among multiple entities: For example, for rare diseases, one hospital might have only a few patients, whereas a medical study requires hundreds of them to produce meaningful results. Data sharing among many entities, which can be disseminated over multiple countries, is hence required. However, in such and many other situations, the secrecy of data has to be ensured which makes it particularly difficult to share. Hence, it is very difficult to obtain sufficient data to train ML models that are key enablers in medical research, finance analysis, and many other domains where the secrecy of the underlying data is to be guaranteed. Prior art solutions have been proposed for secure predictions using pre-trained models. However, secure training of ML models, which is much more computationally demanding, is still a field with potential for improvement. Some centralized solutions have been proposed which rely on homomorphic encryption (HE). They have the advantage of being straightforward to implement but

Non-Patent Literature (2)

  • Liu Changchang et al., Secure Model Fusion for Distributed Learning Using Partial Homomorphic Encryption, Apr. 25, 2019, Advances in Databases and Information Systems, Lecture Notes in Computer Science, Lect.Notes Computer, Springer International Publishing, Cham, pp. 154-179, XP047507043, ISBN: 978-3-319-10403-4, retrived on Apr. 25, 2019.
  • Search Report and Written Opinion dated Jan. 27, 2021, for related PCT Application No. PCT/EP2020/062810 filed May 8, 2020, 12 pages.