US-12619919-B2 - Systems and methods for node weighting and aggregation for federated learning techniques
Abstract
A system described herein may provide a technique for enhanced federated learning in an environment that makes use of one or more centralized models. Different nodes may be associated with different groups. Each node may provide refinement information for a given centralized model. The modifications for particular groups may be aggregated and the model may be modified based on modifications associated with each group, as opposed to modifications associated with each node. Weights for each group may be determined based on attributes of the modifications associated with each group, which may allow for the identification, on a group basis, of bias, maliciously injected data, outliers, and/or other types of modifications which may reduce the quality of the model. As such, embodiments described herein may enhance the quality, accuracy, and predictive ability of federated learning techniques that utilize distributed or federated modifications to a centralized model.
Inventors
- Kushal SINGLA
Assignees
- VERIZON PATENT AND LICENSING INC.
Dates
- Publication Date
- 20260505
- Application Date
- 20211209
Claims (20)
- 1 . A device, comprising: one or more processors configured to: receive policy information specifying respective sets of criteria for a plurality of different node groups, wherein the respective sets of criteria include a device type criteria; identify that a first set of nodes is associated with a first device type; identify, based on a first device type criteria specified by the policy information and further based on identifying that the first set of nodes is associated with the first device type, that the first set of nodes are associated with a first node group of the plurality of node groups; identify that a second set of nodes is associated with a second device type; identify, based on a second device type of criteria specified by the policy information and further based on identifying that the second set of nodes is associated with the second device type, that the second set of nodes are associated with a second node group of the plurality of node groups; receive, from the first set of nodes, a first set of refinement information for a particular machine learning model, wherein the first set of refinement information includes a first plurality of modifications to a particular feature of the particular machine learning model, wherein each modification to the particular feature, of the first set of refinement information, has been generated by a respective node of the first set of nodes based on sensor data detected by the respective node of the first set of nodes; receive, from the second set of nodes, a second set of refinement information for the particular machine learning model, wherein the second set of refinement information includes a second plurality of modifications to the particular feature of the particular machine learning model, wherein each modification to the particular feature, of the second set of refinement information, has been generated by a respective node of the second set based on sensor data detected by the respective node of the second set of nodes; generate first aggregated refinement information based on first set of refinement information for the particular machine learning model; generate second aggregated refinement information based on the second set of refinement information for the particular machine learning model; determine a first weight associated with the first node group, wherein the first weight is determined based on identifying that the first node group is associated with the first device type; determine a second weight associated with the second node group, wherein the second weight is determined based on identifying that the second node group is associated with the second device type; identify a measure of error associated with the second set of refinement information, wherein identifying the measure of error includes: applying the second set of refinement information to a set of data that includes a plurality of labels, and identifying the measure of error based on applying the second set of refinement information to a particular subset, of the set of data, that is associated with a particular label of the plurality of labels; identify that the measure of error associated with the second set of refinement information exceeds a threshold measure of error; determine a third weight associated with the second group based on identifying that the measure of error, associated with the second refinement information, exceeds the threshold measure of error; and modify the particular machine learning model based on the first and second aggregated refinement information and further based on the first and third weights.
- 2 . The device of claim 1 , wherein determining the first weight associated with the first node group includes: determining a measure of variation between the refinement information associated with the first node group and the second node group.
- 3 . The device of claim 2 , wherein a first measure of variation between the first node group and the second node group is associated with the first weight for the first node group, and wherein a second measure of variation, that is lower than the first measure of variation, between the first node group and the second node group is associated with a third weight, that is higher than the first weight, for the first node group.
- 4 . The device of claim 1 , wherein modifying the particular machine learning model based on the aggregated refinement information and the first and second weights respectively associated with the first and second node groups consumes fewer processing resources than modifying the particular machine learning model based on the plurality of instances of refinement information.
- 5 . The device of claim 1 , wherein the refinement information includes feature importance gradients for one or more features associated with the particular machine learning model.
- 6 . The device of claim 1 , wherein the measure of error associated with the second set of refinement information is a second measure of error, wherein determining the first weight associated with the first node group includes: determining a first measure of error with respect to a particular label associated with a particular instance of refinement information associated with the first node group, wherein the first weight associated with the first node group is further based on the determined first measure of error.
- 7 . The device of claim 1 , wherein the first set of nodes includes a plurality of Internet of Things (“IoT”) devices that each include one or more respective sensors that detect the sensor data associated with each respective node of the first set of nodes.
- 8 . A non-transitory computer-readable medium, storing a plurality of processor-executable instructions to: receive policy information specifying respective sets of criteria for a plurality of different node groups, wherein the respective sets of criteria include a device type criteria; identify that a first set of nodes is associated with a first device type; identify, based on a first device type criteria specified by the policy information and further based on identifying that the first set of nodes is associated with the first device type, that the first set of nodes are associated with a first node group of the plurality of node groups; identify that a second set of nodes is associated with a second device type; identify, based on a second device type of criteria specified by the policy information and further based on identifying that the second set of nodes is associated with the second device type, that the second set of nodes are associated with a second node group of the plurality of node groups; receive, from the first set of nodes, a first set of refinement information for a particular machine learning model, wherein the first set of refinement information includes a first plurality of modifications to a particular feature of the particular machine learning model, wherein each modification to the particular feature, of the first set of refinement information, has been generated by a respective node of the first set of nodes based on sensor data detected by the respective node of the first set of nodes; receive, from the second set of nodes, a second set of refinement information for the particular machine learning model, wherein the second set of refinement information includes a second plurality of modifications to the particular feature of the particular machine learning model, wherein each modification to the particular feature, of the second set of refinement information, has been generated by a respective node of the second set based on sensor data detected by the respective node of the second set of nodes; generate first aggregated refinement information based on first set of refinement information for the particular machine learning model; generate second aggregated refinement information based on the second set of refinement information for the particular machine learning model; determine a first weight associated with the first node group, wherein the first weight is determined based on identifying that the first node group is associated with the first device type; determine a second weight associated with the second node group, wherein the second weight is determined based on identifying that the second node group is associated with the second device type; identify a measure of error associated with the second set of refinement information, wherein identifying the measure of error includes: applying the second set of refinement information to a set of data that includes a plurality of labels, and identifying the measure of error based on applying the second set of refinement information to a particular subset, of the set of data, that is associated with a particular label of the plurality of labels; identify that the measure of error associated with the second set of refinement information exceeds a threshold measure of error; determine a third weight associated with the second group based on identifying that the measure of error, associated with the second refinement information, exceeds the threshold measure of error; and modify the particular machine learning model based on the first and second aggregated refinement information and further based on the first and third weights.
- 9 . The non-transitory computer-readable medium of claim 8 , wherein determining the first weight associated with the first node group includes: determining a measure of variation between the refinement information associated with the first node group and the second node group.
- 10 . The non-transitory computer-readable medium of claim 9 , wherein a first measure of variation between the first node group and the second node group is associated with the first weight for the first node group, and wherein a second measure of variation, that is lower than the first measure of variation, between the first node group and the second node group is associated with a third weight, that is higher than the first weight, for the first node group.
- 11 . The non-transitory computer-readable medium of claim 8 , wherein modifying the particular machine learning model based on the aggregated refinement information and the first and second weights respectively associated with the first and second node groups consumes fewer processing resources than modifying the particular machine learning model based on the plurality of instances of refinement information.
- 12 . The non-transitory computer-readable medium of claim 8 , wherein the refinement information includes feature importance gradients for one or more features associated with the particular machine learning model.
- 13 . The non-transitory computer-readable medium of claim 8 , wherein the measure of error associated with the second set of refinement information is a second measure of error, wherein determining the first weight associated with the first node group includes: determining a first measure of error with respect to a particular label associated with a particular instance of refinement information associated with the first node group, wherein the first weight associated with the first node group is further based on the determined first measure of error.
- 14 . The non-transitory computer-readable medium of claim 8 , wherein the first set of nodes includes a plurality of Internet of Things (“IoT”) devices that each include one or more respective sensors that detect the sensor data associated with each respective node of the first set of nodes.
- 15 . A method, comprising: receiving policy information specifying respective sets of criteria for a plurality of different node groups, wherein the respective sets of criteria include a device type criteria; identifying that a first set of nodes is associated with a first device type; identifying, based on a first device type criteria specified by the policy information and further based on identifying that the first set of nodes is associated with the first device type, that the first set of nodes are associated with a first node group of the plurality of node groups; identifying that a second set of nodes is associated with a second device type; identifying, based on a second device type of criteria specified by the policy information and further based on identifying that the second set of nodes is associated with the second device type, that the second set of nodes are associated with a second node group of the plurality of node groups; receiving, from the first set of nodes, a first set of refinement information for a particular machine learning model, wherein the first set of refinement information includes a first plurality of modifications to a particular feature of the particular machine learning model, wherein each modification to the particular feature, of the first set of refinement information, has been generated by a respective node of the first set of nodes based on sensor data detected by the respective node of the first set of nodes; receiving, from the second set of nodes, a second set of refinement information for the particular machine learning model, wherein the second set of refinement information includes a second plurality of modifications to the particular feature of the particular machine learning model, wherein each modification to the particular feature, of the second set of refinement information, has been generated by a respective node of the second set based on sensor data detected by the respective node of the second set of nodes; generating first aggregated refinement information based on first set of refinement information for the particular machine learning model; generating second aggregated refinement information based on the second set of refinement information for the particular machine learning model; determining a first weight associated with the first node group, wherein the first weight is determined based on identifying that the first node group is associated with the first device type; determining a second weight associated with the second node group, wherein the second weight is determined based on identifying that the second node group is associated with the second device type; identifying a measure of error associated with the second set of refinement information, wherein identifying the measure of error includes: applying the second set of refinement information to a set of data that includes a plurality of labels, and identifying the measure of error based on applying the second set of refinement information to a particular subset, of the set of data, that is associated with a particular label of the plurality of labels; identifying that the measure of error associated with the second set of refinement information exceeds a threshold measure of error; determining a third weight associated with the second group based on identifying that the measure of error, associated with the second refinement information, exceeds the threshold measure of error; and modifying the particular machine learning model based on the first and second aggregated refinement information and further based on the first and third weights.
- 16 . The method of claim 15 , wherein determining the first weight associated with the first node group includes: determining a measure of variation between the refinement information associated with the first node group and the second node group, wherein a first measure of variation between the first node group and the second node group is associated with the first weight for the first node group, and wherein a second measure of variation, that is lower than the first measure of variation, between the first node group and the second node group is associated with a third weight, that is higher than the first weight, for the first node group.
- 17 . The method of claim 15 , wherein modifying the particular machine learning model based on the aggregated refinement information and the first and second weights respectively associated with the first and second node groups consumes fewer processing resources than modifying the particular machine learning model based on the plurality of instances of refinement information.
- 18 . The method of claim 15 , wherein the refinement information includes feature importance gradients for one or more features associated with the particular machine learning model.
- 19 . The method of claim 15 , wherein the measure of error associated with the second set of refinement information is a second measure of error, wherein determining the first weight associated with the first node group includes: determining a first measure of error with respect to a particular label associated with a particular instance of refinement information associated with the first node group, wherein the first weight associated with the first node group is further based on the determined first measure of error.
- 20 . The method of claim 15 , wherein the first set of nodes includes a plurality of Internet of Things (“IoT”) devices that each include one or more respective sensors that detect the sensor data associated with each respective node of the first set of nodes.
Description
BACKGROUND Systems may utilize models, such as machine learning models, to aid in the performance of various functions such as pattern recognition, analysis of real-world data, automated network remediation, etc. Some systems may distribute a centralized model to several nodes, such as Internet of Things (“IoT”) devices, and the individual nodes may modify the centralized model based on locally collected data, individualized processing at each node, etc. BRIEF DESCRIPTION OF THE DRAWINGS FIGS. 1-3 illustrate an example overview of one or more embodiments described herein; FIGS. 4 and 5 illustrate an example weighting of node groups based on the detection of outliers and/or anomalous model refinement information associated with such node groups, in accordance with some embodiments; FIG. 6 illustrates an example weighting of node groups based on the detection of bias or error with respect to one or more sensitive labels, in accordance with some embodiments; FIG. 7 illustrates an example process for refining a centralized model based on refinement information received from multiple nodes, in accordance with some embodiments; FIG. 8 illustrates an example environment in which one or more embodiments, described herein, may be implemented; FIG. 9 illustrates an example arrangement of a radio access network (“RAN”), in accordance with some embodiments; and FIG. 10 illustrates example components of one or more devices, in accordance with one or more embodiments described herein. DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS The following detailed description refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements. Embodiments described herein provide one or more techniques for enhanced federated learning in an environment that makes use of one or more centralized models that may be modified based on feedback, training data, sensor data, gradients, etc. associated with one or more nodes to which such centralized models are distributed. In some embodiments, different nodes may be associated with different groups, categories, classes, types, etc. (referred to herein as “groups” for the sake of brevity). For example, different groups of nodes may be located in different geographical regions, may be owned and/or operated by different entities, may be configured with different sets of parameters, may include different types of sensors, and/or may have other differentiated attributes. As discussed herein, nodes of different groups may provide different modifications to a centralized model distributed to the different groups. The modifications for particular groups may be aggregated and the model may be modified based on modifications associated with each group (e.g., as opposed to modifications associated with each node). As further discussed herein, weights for each group may be determined based on attributes of the modifications associated with each group, which may allow for the identification, on a group basis, of bias, maliciously injected data, outliers, and/or other types of modifications which may reduce the quality of the model. As such, embodiments described herein may enhance the quality, accuracy, and predictive ability of federated learning techniques that utilize distributed or federated modifications to a centralized model. As shown in FIG. 1, for example, Federated Learning System (“FLS”) 101 may distribute (at 102) a centralized model to multiple nodes 103. In some embodiments, nodes 103 may include Internet of Things (“IoT”) devices, Machine-to-Machine (“M2M”) devices, User Equipment (“UEs”), and/or other types of suitable devices. The centralized model may include a predictive model, a statistical model, a machine learning model, and/or some other suitable type of model. The model may be used to, for example, categorize or classify a set of input data, such as sensor data detected, collected, received, etc. by nodes 103. In some embodiments, the model may include one or more features, feature importance weights, labels, correlations between features, correlations between labels, correlations between features and labels, and/or other suitable information. As further shown in FIG. 1, nodes 103 may be associated with multiple groups, shown as “Group_A,” “Group_B,” and/or other groups. As noted above, a particular group may be associated with a particular geographical region (e.g., a particular geographical region in which respective nodes 103 are located or otherwise associated), a particular owner and/or operator entity associated with respective nodes 103, type(s) of sensors or other devices integrated in or otherwise associated with nodes 103 (e.g., accelerometers, gyroscopes, Global Positioning System (“GPS”) sensors, barometers, photosensors, Light Detection and Ranging (“LIDAR”) sensors, etc.), and/or other identifiable attributes of nodes 103. In some embodiments, a particular group of nodes 103 may be associated with a particular