Distributed model training with collaboration weights for private data sets
Abstract
Model training systems collaborate on model training without revealing respective private data sets. Each private data set learns a set of client weights for a set of computer models that are also learned during training. Inference for a particular private data set is determined as a mixture of the computer model parameters according to the client weights. During training, at each iteration, the client weights are updated in one step based on how well sampled models represent the private data set. In another step, gradients are determined for each sampled model and may be weighed according to the client weight for that model, relatively increasing the gradient contribution of a private data set for model parameters that correspond more highly to that private data set.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (17 — 3 Independent, 14 Dependent)
- Claim 1Independent Claim
A system for distributed learning of computer model parameters for private client data, comprising: one or more processors; one or more non-transitory computer-readable media containing instructions executable by the one or more processors for: selecting one or more sampled computer models to sample in a training iteration, each of the one or more sampled computer models being selected from a plurality of computer models having the same model architecture and each computer model having an associated client weight and a set of training parameters describing values for applying the respective computer model, wherein one of the plurality of computer models is a local model; for each sampled computer model: updating the client weight for the computer model based on the computer model applied to the private data set according to the associated set of training parameters; determining an update gradient for the sampled model as applied to the private data set and weighed based on the updated client weight; and sending the update gradient for application to the sampled computer model; and sending the local model to another computer model training system having another private data set; receiving an update gradient for the local model with respect to the local model applied to the other private data set weighed by a client weight of the other model for the local model; updating the local model based on the update gradient; and determining parameters for an inference model for performing inference of a private local data sample by combining training parameters of the plurality of computer models in proportion to the associated client weights.
- Claim 2Depends on #1
The system of claim 1, wherein the sampled models from the plurality of computer models is selected based, in part, on the client weight of the sampled models.
- Claim 3Depends on #1
The system of claim 1, wherein updating the client weight for a sampled computer model comprises: determining a loss function with respect to the sampled computer model applied to the private data set.
- Claim 4Depends on #3
The system of claim 3, wherein updating the client weight further comprises: updating a plurality of loss functions based on the loss function with respect to the sampled computer model; and wherein the client weight is updated based on the updated plurality of loss functions.
- Claim 5Depends on #3
The system of claim 3, wherein updating the client weight for a sampled computer model comprises: determining a moving average of the loss function and updating the client weight based on the moving average.
- Claim 6Depends on #1
The system of claim 1, wherein the one or more sampled computer models include a local model and at least one computer model at another computer model training system.
- Claim 7Independent Claim
A method for distributed learning of computer model parameters for private client data, comprising: selecting one or more sampled computer models to sample in a training iteration, each of the one or more sampled computer models being selected from a plurality of computer models having the same model architecture and each computer model having an associated client weight and a set of training parameters describing values for applying the respective computer model, wherein one of the plurality of computer models is a local model; for each sampled computer model: updating the client weight for the computer model based on the computer model applied to the private data set according to the associated set of training parameters; determining an update gradient for the sampled model as applied to the private data set and weighed based on the updated client weight; and sending the update gradient for application to the sampled computer model; and sending the local model to another computer model training system having another private data set; receiving an update gradient for the local model with respect to the local model applied to the other private data set weighed by a client weight of the other model for the local model; updating the local model based on the update gradient; and determining parameters for an inference model for performing inference of a private local data sample by combining training parameters of the plurality of computer models in proportion to the associated client weights.
- Claim 8Depends on #7
The method of claim 7, wherein the sampled models from the plurality of computer models is selected based, in part, on the client weight of the sampled models.
- Claim 9Depends on #7
The method of claim 7, wherein updating the client weight for a sampled computer model comprises: determining a loss function with respect to the sampled computer model applied to the private data set.
- Claim 10Depends on #9
The method of claim 9, wherein updating the client weight further comprises: updating a plurality of loss functions based on the loss function with respect to the sampled computer model; and wherein the client weight is updated based on the updated plurality of loss functions.
- Claim 11Depends on #9
The method of claim 9, wherein updating the client weight for a sampled computer model comprises: determining a moving average of the loss function and updating the client weight based on the moving average.
- Claim 12Depends on #7
The method of claim 7, wherein the one or more sampled computer models include a local model and at least one computer model at another computer model training system.
- Claim 13Independent Claim
A non-transitory computer-readable medium for distributed learning of computer model parameters for private client data, the non-transitory computer-readable medium comprising instructions that, when executed by a processor, cause the processor to: select one or more sampled computer models to sample in a training iteration, each of the one or more sampled computer models being selected from a plurality of computer models having the same model architecture and each computer model having an associated client weight and a set of training parameters describing values for applying the respective computer model, wherein one of the plurality of computer models is a local model; for each sampled computer model: update the client weight for the computer model based on the computer model applied to the private data set according to the associated set of training parameters; determine an update gradient for the sampled model as applied to the private data set and weighed based on the updated client weight; and send the update gradient for application to the sampled computer model; and send the local model to another computer model training system having another private data set; receive an update gradient for the local model with respect to the local model applied to the other private data set weighed by a client weight of the other model for the local model; update the local model based on the update gradient; and determine parameters for an inference model for performing inference of a private local data sample by combining training parameters of the plurality of computer models in proportion to the associated client weights.
- Claim 14Depends on #13
The non-transitory computer-readable medium of claim 13, wherein the sampled models from the plurality of computer models is selected based, in part, on the client weight of the sampled models.
- Claim 15Depends on #13
The non-transitory computer-readable medium of claim 13, wherein updating the client weight for a sampled computer model comprises: determining a loss function with respect to the sampled computer model applied to the private data set.
- Claim 16Depends on #15
The non-transitory computer-readable medium of claim 15, wherein updating the client weight further comprises: updating a plurality of loss functions based on the loss function with respect to the sampled computer model; and wherein the client weight is updated based on the updated plurality of loss functions.
- Claim 17Depends on #15
The non-transitory computer-readable medium of claim 15, wherein updating the client weight for a sampled computer model comprises: determining a moving average of the loss function and updating the client weight based on the moving average.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of U.S. Provisional Application No. 63/346,820, filed May 27, 2022, and U.S. Provisional Application No. 63/350,342, filed Jun. 8, 2022, the contents of each of which are hereby incorporated by reference in the entirety. BACKGROUND This disclosure relates generally to collaborative model training, and more particularly to performing collaborative model training with private data that is not shared across collaborators. Collaborative learning refers to various processes that may be used to learn computer models that effectively learn parameters from decentralized datasets. This approach has been successfully implemented in practice for developing machine learning models without direct access to client data, which is crucial in heavily regulated industries such as banking and healthcare. For example, multiple hospitals that collect patient data may desire to merge their datasets for increased data diversity, to increase training data size, encourage transfer learning across similar data sets or to otherwise improve performance of the trained data model(s). In many instances, these data sets cannot be directly shared, for example, to preserve privacy related to the individual members of the data sets. As such, in these collaborative learning environments, each party has a respective data set that cannot be shared with other parties, but where the data shares sufficient similarity that being able to incorporate information from multiple data sets would likely benefit model training. In addition, statistical heterogeneity is a major and common practical challenge in collaborative learning, where each client may hold different data distributions. Prior approaches, such as Federated Averaging, have demonstrated promising performance with homogeneous client data. However, these methods often struggle to handle statistical heterogeneity for two main reasons. First, the variation in client distributio
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- International Search Report and Written Opinion issued in PCT/CA2023/050728 on Aug. 9, 2023; 8 pages.
- Acar, et al.,
- “
- Debiasing Model Updates for Improving Personalized Federated Training,
- ”
- Proceedings of the 38th International Conference on Machine Learning, 2021, 11 pages; http://proceedings.mlr.press/v139/acar21a/acar21a.pdf.
- Arivazhagan, et al.,
- “
- Federated Learning with Personalization Layers,
- ”