Granular neural network architecture search over low-level primitives
US-2024428071-A1 · Dec 26, 2024 · US
US2022036178A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2022036178-A1 |
| Application number | US-202016945715-A |
| Country | US |
| Kind code | A1 |
| Filing date | Jul 31, 2020 |
| Priority date | Jul 31, 2020 |
| Publication date | Feb 3, 2022 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
The disclosure herein describes training a global model based on a plurality of data sets. The global model is applied to each data set of the plurality of data sets and a plurality of gradients is generated based on that application. At least one gradient quality metric is determined for each gradient of the plurality of gradients. Based on the determined gradient quality metrics of the plurality of gradients, a plurality of weight factors is calculated. The plurality of gradients is transformed into a plurality of weighted gradients based on the calculated plurality of weight factors and a global gradient is generated based on the plurality of weighted gradients. The global model is updated based on the global gradient, wherein the updated global model, when applied to a data set, performs a task based on the data set and provides model output based on performing the task.
Opening claim text (preview).
What is claimed is: 1 . A system for training a global model based on a plurality of data sets, the system comprising: at least one processor; and at least one memory comprising computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the at least one processor to: apply the global model to each data set of the plurality of data sets; generate a plurality of gradients based on applying the global model to each data set of the plurality of data sets, wherein an individual gradient of the plurality of gradients is generated based on an individual data set of the plurality of data sets; determine a plurality of gradient quality metrics, at least one gradient quality metric for each individual gradient of the plurality of gradients, the at least one gradient quality metric indicating a degree to which the individual gradient can be used to improve the global model; calculate a plurality of weight factors using the determined plurality of gradient quality metrics, the plurality of weight factors including an individual weight factor for each individual gradient of the plurality of gradients; transform the plurality of gradients into a plurality of weighted gradients based on the calculated plurality of weight factors; generate a global gradient based on the plurality of weighted gradients; and update the global model based on the global gradient, wherein the updated global model, when applied to the individual data set, performs a task based on the individual data set and provides model output based on performing the task. 2 . The system of claim 1 , wherein the plurality of gradient quality metrics include at least one of gradient mean values, gradient variance values, or training loss values associated with applying the global model to each data set of the plurality of data sets. 3 . The system of claim 1 , wherein calculating the plurality of weight factors includes applying a softmax function to the at least one gradient quality metric for each individual gradient of the plurality of gradients, wherein the individual weight factor of the plurality of weight factors for each individual gradient of the plurality of gradients is based on a result of applying the softmax function to the at least one gradient quality metric of the individual gradient. 4 . The system of claim 3 , wherein calculating the plurality of weight factors further includes applying a weight factor neural network model to the at least one gradient quality metric for each individual gradient of the plurality of gradients, wherein the individual weight factor of the plurality of weight factors for each individual gradient of the plurality of gradients is based on a result of applying the weight factor neural network model to the at least one gradient quality metric of the individual gradient. 5 . The system of claim 4 , wherein the plurality of weight factors includes a first set of weight factors based on applying the softmax function to the at least one gradient quality metric for each individual gradient of the plurality of gradients and a second set of weight factors based on applying the weight factor neural network model to the at least one gradient quality metric for each individual gradient of the plurality of gradients; wherein the at least one memory and the computer program code configured to, with the at least one processor, further cause the at least one processor to: test the first set of weight factors and the second set of weight factors based on a test data set; and select a set of weight factors from the first set of weight factors and the second set of weight factors based on the testing; and wherein transforming the plurality of gradients into a plurality of weighted gradients based on the calculated plurality of weight factors includes transforming the plurality of gradients into a plurality of weighted gradients based on the selected set of weight factors. 6 . The system of claim 5 , wherein the at least one memory and the computer program code configured to, with the at least one processor, further cause the at least one processor to train the weight factor neural network model based on the testing of the first set of weight factors and the second set of weight factors based on the test data set. 7 . The system of claim 1 , wherein the at least one memory and the computer program code configured to, with the at least one processor, further cause the at least one processor to, based on updating the global model based on the global gradient, train the updated global model using a held-out data set associated with the task, wherein divergence away from the task caused by updating the global model is reduced. 8 . A computerized method for training a global model based on a plurality of clients, the computerized method comprising: providing, by a processor, the global model to a plurality of clients; receiving, by the processor, a plurality of gradients from the plurality of clients; determining, by the processor, a plurality of gradient quality metrics, at least one gradient quality metric for each individual gradient of the plurality of gradients, the at least one gradient quality metric indicating a degree to which the individual gradient can be used to improve the global model; calculating, by the processor, a plurality of weight factors using the determined plurality of gradient quality metrics, the plurality of weight factors including an individual weight factor for each individual gradient of the plurality of gradients; transforming, by the processor, the plurality of gradients into a plurality of weighted gradients based on the calculated plurality of weight factors; generating, by the processor, a global gradient based on the plurality of weighted gradients; and updating, by the processor, the global model based on the global gradient, wherein the updated global model, when applied to an individual data set, performs a task based on the individual data set and provides model output based on performing the task. 9 . The computerized method of claim 8 , wherein the plurality of gradient quality metrics includes at least one of gradient mean values, gradient variance values, or training loss values associated with applying the global model to each data set of a plurality of data sets. 10 . The computerized method of claim 8 , wherein calculating the plurality of weight factors includes applying, by the processor, a softmax function to the at least one gradient quality metric for each individual gradient of the plurality of gradients, wherein the individual weight factor of the plurality of weight factors for each individual gradient of the plurality of gradients is based on a result of applying the softmax function to the at least one gradient quality metric of the individual gradient. 11 . The computerized method of claim 10 , wherein calculating the plurality of weight factors further includes applying, by the processor, a weight factor neural network model to the at least one gradient quality metric for each individual gradient of the plurality of gradients, wherein the individual weight factor of the plurality of weight factors for each individual gradient of the plurality of gradients is based on a result of applying the weight factor neural network model to the at least one gradient quality metric of the individual gradient. 12 . The computerized method of claim 11 , wherein the plurality of weight factors includes a first set of weight factors based on applying the softmax function to the at least one gradient quality metric for each individual gradient of the plurality of
Related publications grouped by family.
Answers are generated from the same data shown on this page.