COMPUTER-IMPLEMENTED METHOD, COMPUTING DEVICE, AND COMPUTER PROGRAM FOR COLLABORATIVE LEARNING WITH A MULTIPLE NETWORK NODES INTERCONNECTED BY A NETWORK - Patent application

The collaborative learning framework addresses data integrity and security challenges in decentralized systems by using cryptographically secure multi-party computation and blockchain technology to build customized anomaly detection models efficiently, protecting sensitive IoT data without sharing raw data.

JP7560222B2Active Publication Date: 2024-10-02INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2022521650
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-10-16
Filing Date
2020-10-12
Publication Date
2024-10-02
Estimated Expiration
2040-10-12

AI Technical Summary

Technical Problem

Existing machine learning algorithms for decentralized systems face challenges in ensuring data integrity and security, particularly in federated learning, where traditional security concepts are inadequate for protecting sensitive IoT data, and there is a need for efficient collaborative learning frameworks that protect data privacy while optimizing computational resources.

Method used

A collaborative learning framework that utilizes cryptographically secure multi-party computation to enable consensus building among network nodes without excessive computational overhead, allowing each client system to learn anomaly detection models while keeping its data private, using a pattern dictionary built on blockchain technology.

Benefits of technology

The framework achieves secure and efficient collaborative learning by enabling each client system to build customized anomaly detection models without sharing raw data, reducing computational and memory usage, and ensuring data privacy through probabilistic distribution of local statistics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560222000018
    Figure 0007560222000018
  • Figure 0007560222000019
    Figure 0007560222000019
  • Figure 0007560222000020
    Figure 0007560222000020
Patent Text Reader

Abstract

A collaborative learning framework is presented. The collaborative framework is implemented by multiple network nodes interconnected by a network. The network nodes belong to multiple client systems of the framework. A network node belonging to a first client system creates a predictive model for the first client system using a pattern dictionary constructed based on consensus among the multiple client systems. The network node calculates a set of local statistics for the first client system based on raw data from the first client system. The network node calculates a consensus set of local statistics by aggregating the sets of local statistics from the multiple client systems. The network node updates the pattern dictionary based on the current values ​​of the pattern dictionary and the consensus set of local statistics.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates generally to distributed network computing. [Background technology]

[0002] The design principles of decentralized, secure and transparent transaction management shed new light on machine learning algorithms, especially in the field of federated learning. Moreover, traditional security concepts are partly replaced by probabilistic approaches when verifying data integrity. Summary of the Invention

[0003] Some embodiments of the present disclosure provide a collaborative learning framework implemented by a plurality of network nodes interconnected by a network. The network nodes belong to a plurality of client systems of the framework. A network node belonging to a first client system creates a predictive model for the first client system by using a pattern dictionary built based on a consensus among the plurality of client systems. The network node calculates a set of local statistics based on raw data of the first client system. The network node calculates a consensus set of local statistics by aggregating the sets of local statistics from the plurality of client systems. The network node updates the pattern dictionary based on the current values ​​of the pattern dictionary and the consensus set of local statistics.

[0004] In some embodiments, the network node computes a consensus set of local statistics by distributing different subsets of the set of local statistics of the first client system to different network nodes belonging to different client systems, where the different subsets of the set of local statistics of the first client system are distributed to network nodes identified based on a randomly generated incident matrix.

[0005] According to one aspect, a computer-implemented method of collaborative learning by multiple network nodes belonging to multiple client systems interconnected by a network is provided, the method including: at a first network node belonging to the first client system, creating a predictive model for the first client system using a pattern dictionary constructed based on a consensus among the multiple client systems; computing a set of local statistics for the first client system based on raw data for the first client system; computing a consensus set of local statistics by aggregating the sets of local statistics from the multiple client systems; and updating the pattern dictionary based on current values ​​of the pattern dictionary and the consensus set of local statistics.

[0006] According to another aspect, a computer program product is provided for implementing a network node within a plurality of network nodes belonging to a plurality of client systems in a collaborative learning framework interconnected by a network, the computer program product including one or more non-transitory computer readable storage devices and program instructions stored in at least one of the one or more non-transitory storage devices, the program instructions being executable by a processor, the program instructions comprising a set of instructions for: at a first network node belonging to the first client system, creating a predictive model for the first client system using a pattern dictionary constructed based on a consensus among the plurality of client systems; computing a set of local statistics for the first client system based on raw data for the first client system; computing a consensus set of local statistics by aggregating the sets of local statistics from the plurality of client systems; and updating the pattern dictionary based on current values ​​of the pattern dictionary and the consensus set of local statistics.

[0007] According to another aspect, a computing device implementing one of a plurality of network nodes interconnected by a network and belonging to a plurality of client systems in a collaborative learning framework is provided, the computing device comprising: a processor; and a storage device that stores a set of instructions, where execution of the set of instructions by the processor configures the computing device to perform acts including, at a first network node belonging to the first client system, creating a predictive model for the first client system using a pattern dictionary constructed based on a consensus among the plurality of client systems; computing a set of local statistics for the first client system based on raw data for the first client system; computing a consensus set of local statistics by aggregating the sets of local statistics from the plurality of client systems; and updating the pattern dictionary based on current values ​​of the pattern dictionary and the consensus set of local statistics.

[0008] The foregoing summary is intended to serve as a brief introduction to some embodiments of the present disclosure. The foregoing summary is not intended to be an introduction or overview of all inventive subject matter disclosed in this document. The following detailed description and the drawings referenced therein further describe the embodiments described in the summary, as well as other embodiments. Thus, the summary, detailed description, and drawings are provided for understanding all embodiments described herein. Furthermore, the claimed subject matter may be embodied in other specific forms without departing from the spirit of the subject matter, and is therefore not limited by the illustrative details in the summary, detailed description, and drawings, but rather is defined by the appended claims. [Brief description of the drawings]

[0009] The drawings are of exemplary embodiments. The drawings do not illustrate all embodiments. Other embodiments may be used in addition or instead. Details that may be obvious or unnecessary may be omitted to save space or for a more effective illustration. Some embodiments may be practiced with additional components or steps, or without all of the components or steps shown, or both. When the same numeral appears in different drawings, it refers to the same or similar components or steps.

[0010] [Figure 1] 1 illustrates a distributed system 100 that implements a collaborative learning framework, consistent with an illustrative embodiment. [Diagram 2] 1 illustrates a consensus node of various client systems performing collaborative dictionary learning, consistent with an illustrative embodiment. [Figure 3a] 1 illustrates a consensus node of a client system for collaborative dictionary learning according to a preferred embodiment. [Figure 3b] 1 illustrates a consensus node of a client system for collaborative dictionary learning according to a preferred embodiment. [Figure 3c] 1 illustrates a consensus node of a client system for collaborative dictionary learning according to a preferred embodiment. [Figure 4] (a)-(h) show examples of cyclic graphs used as incident matrices for consensus nodes. [Diagram 5] 5 conceptually illustrates a process 500 for collaborative dictionary learning, consistent with an illustrative embodiment. [Figure 6] 1 depicts a block diagram of components of a data processing system in accordance with an illustrative embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] In the following detailed description, numerous specific details are set forth as examples to provide a thorough understanding of the relevant teachings. However, it should be apparent that the present teachings can be practiced without such details. In other instances, well-known methods, procedures, components and / or circuits have been described at a relatively high level, without detail, in order to avoid unnecessarily obscuring aspects of the present teachings.

[0012] Collaborative learning using Internet of Things (IoT) devices is one application of distributed learning. The statistical nature of IoT data is different from transactional data between financial entities; it is mostly noisy, multivariate, real-valued data. Real-valued data may be too low-level to be protected by existing cryptographic techniques. Furthermore, the security requirements for IoT data are different from those for money transfer. Many IoT applications are more interested in high-level statistics, such as production yields, than the exact values ​​of individual data samples.

[0013] Some embodiments of the present disclosure provide a framework for collaborative learning in a distributed multitasking environment. The framework performs collaborative learning in three steps: local updates, consensus building, and optimization. A computing device implementing a client system of the collaborative learning framework can achieve consensus building and data privacy without the computational overhead of cryptography-based multi-party computation methods, especially for transactions involving large amounts of low-level sensor data from IoT devices. In this way, a computing device implementing the client system discussed herein uses fewer computational resources, including computing cycles and memory.

[0014] The collaborative learning framework can be used for collaborative anomaly detection of industrial assets owned by different companies. The collaborative learning framework allows each client system to learn anomaly detection models customized for each asset based on a secure collaborative effort. Other examples using the collaborative learning framework include collaborative disease or symptom analysis based on biomarkers collected by different medical institutions, collaborative anti-money laundering models based on transaction data from different financial entities, and battery life prediction based on battery sensor data from different electric vehicles.

[0015] In accordance with some embodiments, FIG. 1 illustrates a distributed system 100 that implements a collaborative learning framework consistent with an embodiment of the present disclosure. As illustrated, distributed system 100 is implemented on a network 105 that interconnects S client systems, including client systems 111-119 (client systems 113-118 are not shown). Each client system may belong to a corporation, a financial institution, a government agency, a private residence, or other type of entity that may be interested in utilizing useful information from the other client systems. Each client system or corporation wishes to utilize data owned by the other client systems to improve its own predictive models and does not wish to share its own data with competitors or outside entities.

[0016] Each client system uses one or more computing devices, including a computing device connected to the network 105. The administrator of the network 105 is expected to perform bookkeeping jobs such as managing communication paths, clock synchronization, etc. The administrator of the network 105 is not allowed to see the raw data of the clients. Each client system includes one or more computing devices that are connected to the network 105 as network nodes. The network nodes of a client system may include partner client nodes and consensus nodes. As shown, client system 111 has client node 121 and consensus node 131, client system 112 has client node 122 and consensus node 132, and the other client system 119 has client node 129 and consensus node 139. The consensus nodes are network nodes of the network 105. In some embodiments, some or all of the client nodes are not network nodes of the network 105 and are not directly connected to the network 105.

[0017] A client node is an owner of local data for a client system, for example by being connected to the client system's database. A client node for a client system can act as an administrator of the client system's network nodes (e.g., consensus nodes). In some embodiments, multiple client nodes can be connected to a consensus node. A client node communicates only with preselected trusted partner consensus nodes (e.g., consensus nodes for the same client system). A consensus node communicates with other consensus nodes to build a consensus (in the form of a pattern dictionary). For example, client node 121 is an owner of local data for client system 111 and sends and receives data belonging to client system 111. Consensus node 131 is a trusted partner consensus node for client node 121 and receives statistics from client node 121. Consensus node 131 communicates with consensus nodes belonging to other client systems, including consensus node 132 in client system 112 and consensus node 139 in client system 119.

[0018] A client node and its partner consensus node can be implemented on the same computing device. For example, the client node 122 and the consensus node 132 of a client system 112 are implemented on the same computing device 102. A client node and its partner consensus node can also be implemented on different computing devices. The two computing devices implementing the client node and the partner consensus node can be connected by a private connection within the client system. The two computing devices can also be in different physical locations and interconnected by the network 105. In some embodiments, the network traffic between the client node of a client system and its partner consensus node can be encrypted according to the privacy requirements of the client, while the network traffic between the consensus nodes of different client systems is not encrypted. In some embodiments, the client node is not connected to the network to prevent leakage of the client's raw data from the client system.

[0019] FIG. 2 illustrates consensus nodes for various different client systems performing collaborative dictionary learning, consistent with one embodiment of the present disclosure. The consensus nodes for the different client systems communicate with each other to collaboratively build a pattern dictionary that each client system can use to build a predictive model. The diagram illustrates the operation of a consensus node 139 for a client system 119 (Client S). The consensus node 139 receives client-specific data from a partner client node 129 (not shown) for the client system 119. The consensus node 139 communicates with other consensus nodes for other client systems (e.g., consensus node 131 for Client 1 and consensus node 132 for Client 2) over the network to collaboratively create and update the pattern dictionary, the results of which are stored in the blockchain 239.

[0020] In some embodiments, a computing device implementing a client system 119 implements a consensus node 139 and a blockchain 239. In some embodiments, the consensus node 139 and the blockchain 239 are modules of software instructions executed by one or more processing units (e.g., processors) of the computing device 105. In some embodiments, the consensus node 139 and the blockchain 239 are modules of hardware circuits implemented by one or more integrated circuits (ICs) of an electronic device. An exemplary computing device 600 that can implement a client system 119 will be described below with reference to FIG. 6.

[0021] Consensus node 139 has received raw data 219(x S ), mixed weight 229(π S), and the current contents of the pattern dictionary 239, generate updates for the pattern dictionary Θ (stored in the blockchain 239), along with consensus information 250 exchanged with other consensus nodes through the network 105. The raw data 219 and the mixture weights 229 are specific or proprietary information of the client 119 (client S). The pattern dictionary 239 stores the results of collaborative learning by different consensus nodes of different client systems. The content of the blockchain 239 (pattern dictionary Θ) is the consensus between the different client systems. The pattern dictionary Θ is a set of K model parameters or words {θ 1 ,...θ K}, where each word corresponds to a mixture component used to compute a predictive model 249. The client system 119 mixes the corresponding component of the pattern dictionary 239, the raw data 219, and the mixture weights 229 to generate the predictive model 249 for the client system 119. The predictive model 249 is used by the client system application, for example, to provide stimuli to a control module 259. In some embodiments, the client system 119 application, including the predictive model 249 and the control module 259, is not connected to the network 105 to prevent leakage of the client's raw data.

[0022] Raw Data 219(x S ) is data, statistics, or measurements specific or proprietary to the client 119 (client S) and should not be shared with other client systems. In some embodiments, each client maintains its own raw data privately in a database. For some embodiments, the raw data 219 may include noisy multivariate real-valued data, such as measurements or sensor data generated by IoT devices owned by the client system 119. In some embodiments, the raw data 219 is provided to the consensus node 139 by its partner client nodes over the network 105.

[0023] Mixing weight 229(π S ) is used to determine how much weight is given to a word or mixture component in the pattern dictionary 239. S 1 ,...π S K} are the prediction models P of the client system S (client system 119), respectively. s To determine the private raw data 219(x S ) and the mixture component {θ 1 ,...θ K}.

[0024] The pattern dictionary 239 is a blockchain structure that stores the words or mixture components of the pattern dictionary Θ. The blockchain is an immutable record that can be used for auditing, pricing, valuation, etc. The results of the secure collaborative learning are stored in the blockchain at each client system. The blockchains of the different client systems (blockchains 231-239 of client systems 111-119) have the same content based on a consensus building algorithm. In some embodiments, a new block is added to the blockchain when one iteration or cycle of the consensus building algorithm is completed. Each block contains an updated matched pattern dictionary. The learned dictionary is a set of model parameter vectors that are stored in the blockchain for the words {θ 1 ,...θ K}, where each word is multivariate real-valued. Once a convergence criterion is met, the pattern dictionary stops updating and the blockchain is "locked". The final dictionary words are stored in the last block of the blockchain.

[0025] Client systems s=1,...S have their own private, raw data, such as:

number

[0026] The predictive model for a client system S is the probability distribution p determined by s Is:

number

[0027] The computing devices in the client system s collaboratively calculate the predictive distribution p s Based on the result, a decision may be made or a corresponding action may be triggered, or both. For example, the collaborative learning system may be used to detect anomalies based on sensor data from various companies' industrial assets. In some embodiments, the anomaly score may be calculated as the negative log-likelihood according to the following formula:

number

[0028] For some embodiments, the collaborative dictionary learning problem can be formulated as a collaborative density evaluation of a mixture of exponential families. Based on the exponential family, the collaborative learning framework performs collaborative dictionary learning in three steps: local update, consensus building, and optimization.

[0029] The exponential family for the probability density is given by:

number

[0030] In particular, T(x s ) is the raw data x of client s s A statistic is sufficient for a family of probability distributions (e.g., the exponential family) if the sample on which the statistic is computed does not provide any additional information about which of those probability distributions are in the population from which the sample was taken, beyond what the statistic provides. Based on equation (4), for a dictionary word {θ k} can be found by maximizing the following quantity:

number

[0031] In equation (5), all terms that do not depend on Θ are omitted. s k is the set of local sufficient statistics based on the raw data of client system s for mixture component k. N s k is the sample size of client system s for mixture component k. Ns is the total sample size of all mixture components in client system s. For example, the collaborative learning system can be used to detect fraud by different financial institutions (as different client systems). s represents the total number of accounts in a particular bank, and N s k represents the number of accounts at a particular bank that have a particular characteristic (eg, accounts with more than one million dollars in funds).

[0032] N for different client systems according to the following formula: s k and T s k is the consensus set of sample sizes, N k and the consensus set of sufficient statistics T k This boils down to:

number

[0033] Therefore, the dictionary word {θ k} can be found by maximizing equation (5) according to:

number

[0034] Since all terms in (7) are already available to the client systems, (7) can be evaluated without any communication between the client systems. The formulation of collaborative learning as an exponential family allows it to be done in three distinct steps: (i) local update, (ii) consensus, and (iii) optimization. During the local update step, the client systems obtain N s k and T s kThese can be determined entirely in client system s without communication with other client systems. During the consensus step, client system s communicates with the consensus nodes of other client systems and obtains the aggregated consensus N based on (6). k and T k During the optimization step, the client system calculates θ k This is done by computing the set N without communicating with other consensus nodes. k and T k This can be done entirely within the client system.

[0035] Figure 3a-c shows a consensus node in a client system that performs collaborative dictionary learning. Specifically, the figure shows the exponential family (e.g., the aggregated sufficient statistic T k and the aggregated sample size N k 1 shows a consensus node 139 of a client system 119 performing local updating, consensus building, and optimization steps to determine parameters of the pattern dictionary 239 ( ) and update the contents of the pattern dictionary 239 by communicating with other consensus nodes through the network 105.

[0036] 3a illustrates the local update step of collaborative dictionary learning. As shown, a consensus node 139 receives the mixture weights 229 and raw data 219 of a client system 119 (e.g., from a partner client node). The consensus node 139 then calculates a sufficient statistic T s k and sample size N s k The consensus node does not use any information from other client systems in this operation. Calculate / update the sufficient statistics T s k and sample size Ns k is stored locally as collaboration data 319 within the client system 119.

[0037] In some embodiments, the consensus node selects a sample weight r s(n) k and N s k π s k Based on the (mixture weights 229), it is calculated according to the following formula:

number

number

[0038] In some embodiments, the sufficient statistics T of the mixture component k of the client system s are s k can be defined as:

number

[0039] FIG. 3b illustrates the consensus building step of collaborative dictionary learning. As shown, the consensus node 139 communicates with the consensus nodes of other client systems over the network 105 to obtain the Ts of the other client systems. s k and N s k Get the value of local T s k and N s k The consensus node 139 then sends the values ​​of T s kand N s k We aggregate the values ​​of to obtain a consensus sufficient statistic T k and consensus sample size N k (e.g., by using equation (6)). The consensus sufficient statistic T k and consensus sample size N k is also stored as collaboration data 319.

[0040] Figure 3c shows the optimization step of collaborative dictionary learning. In this operation, the consensus node 139 optimizes the consensus sufficient statistic T k and consensus sample size N k Using the pattern dictionary θ k The updated content of is determined and stored in the blockchain 239. k and N k Since these have been aggregated (stored as collaborative data 319) at the consensus node 139, they are already available to the consensus node 139 without communication with other client systems.

[0041] In some embodiments, T k and N k The summation of equation (6) over can be done element-wise and generalized as a sum of scalars as follows:

number

number

[0042] In some embodiments, communication paths between consensus nodes of different client systems are defined based on a connection graph A, also called the incident matrix, where a "1" indicates that an edge or path exists and a "0" indicates that an edge or path does not exist. At each consensus node of a client system, a local statistic ξ s The set of is iteratively updated according to the following formula:

number

[0043] In some embodiments, ε is determined based on the incident matrix, ε=1 / d max where d max is the maximum node degree or number of incident edges of a consensus node. In some embodiments, to protect data privacy, the local statistic ξ s Set N c chunks

number

number

[0044] The client system s is s How to N cIn some embodiments, during each iteration of the consensus building step of FIG. 3b, the consensus node 119 randomly generates an incident matrix and distributes chunks or subsets of the set of local statistics to the consensus nodes of other client systems based on the randomly generated incident matrix. Probabilistically distributing the subsets of local statistics to other consensus nodes during consensus building increases the security of the client system because other client systems cannot recreate the private raw data.

[0045] If the incident matrices A are non-overlapping and the router always selects a different A than in the previous iteration of consensus building and chunk division of local statistics, then N c = 2 may be sufficient to protect privacy. Even when it is impossible to generate multiple non-overlapping incident matrices (which can happen when A is dense or when routers cannot keep memory of previously used A), the probability of privacy violation p b The upper limit of is given by:

number

[0046] where d max is the maximal limit of the incident matrix A. A is sparse, hence d max As long as p is much smaller than S, b is a sufficiently large N c can be made arbitrarily small by choosing

[0047] In some embodiments, a regular and sparse cyclic graph is used as the incident matrix to ensure parity between different consensus nodes. Figures 4(a)-4(h) show examples of cyclic graphs used as incident matrices for consensus nodes. In this figure, each vertex represents a consensus node, and each edge represents a communication path that can be used by a consensus node to distribute a subset of its local statistics to build consensus.

[0048] In some embodiments, an expander graph is used as an incident matrix to distribute a subset of local statistics to speed up convergence. Specifically, for each consensus node s=1,...S, the expander graph based incident matrix gives edges to consensus nodes s-1, s+1, and j, where j is the solution of (s-1)(j-1)modS=1. Using an expander graph implies ~log(S) iterations to achieve a given accuracy.

[0049] 5 conceptually illustrates a process 500 for collaborative dictionary learning consistent with one embodiment. Collaborative learning is performed by multiple network nodes interconnected by a network and belonging to multiple different client systems of a collaborative learning framework. In some embodiments, one or more processing units (e.g., processors) of a computing device implementing a network node of a client system (e.g., consensus node 139 of client system 119) perform process 500 by executing instructions stored in a computer-readable medium.

[0050] The network node creates (at 510) a predictive model for the first client system using a pattern dictionary built based on consensus among the multiple client systems. The pattern dictionary may be stored in a hash chain type data structure. The predictive model for the first client system is generated based on the raw data (x S ), the mixing weights of the first client system (π S ), and a probability distribution (p s ). The raw data may include noisy real values ​​generated by one or more Internet of Things (IoT) devices. In some embodiments, the first network node is a consensus node of a first client system, and the raw data of the first client system is received encrypted from a client node of the first client system.

[0051] The network node determines a set of local statistics (ξ s ) is calculated (at 520). The set of local statistics is then calculated based on the set of sufficient statistics (T S ) and a set of sample sizes (N S ) for the first client system based on the set of sample weights for the first client system. In some embodiments, the network node also updates the set of sample weights (r s(n) ) and update the set of sample sizes (N S) is determined based on the sample weights. In some embodiments, the pattern dictionary, the set of local statistics, the set of sample sizes, the set of sample weights, and the set of mixture weights each correspond to a respective set of mixture components.

number

[0052] A network node can, for example, collect sufficient statistics (T s k ) to obtain a consensus set of sufficient statistics (T k ) or by calculating the sample size (N s k ) to obtain a consensus set of sample sizes (N k ) or both, to obtain a set of local statistics (ξ S ) to obtain a consensus set of local statistics (ξ - ) (at 530). In some embodiments, the network node computes a consensus set of local statistics by distributing different subsets of the set of local statistics for the first client system to different network nodes belonging to different client systems. In some embodiments, the different subsets of the set of sufficient statistics for the first client system are distributed to network nodes identified based on a randomly generated incident matrix.

[0053] Network nodes communicate a pattern dictionary (Θ) with the current values ​​of the pattern dictionary and a consensus set of local statistics (ξ -) based on the local updates, consensus building, and optimization (at 540). In some embodiments, the network node may return to 520 to compute the next iteration of local updates, consensus building, and optimization. Process 500 may end when convergence or consensus is achieved, e.g., when local statistics of different client systems have the same value or values ​​within a threshold range of each other.

[0054] The present application may incorporate a system, method, or computer program product, or combination thereof, at any possible level of technical detail. The computer program product may include a computer-readable storage medium or media having computer-readable program instructions for causing a processor to perform aspects of the present disclosure.

[0055] A computer readable storage medium may be any tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer readable storage media includes the following: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disks (DVD), memory sticks, mechanically encoded devices such as punch cards or ridge structures in grooves with instructions recorded thereon, and any suitable combination of the above. As used herein, a computer-readable storage medium is not to be construed as a transitory signal per se, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., light pulses through a fiber optic cable), or an electrical signal sent through a wire.

[0056] The computer readable program instructions described herein can be downloaded from a computer readable storage medium to the respective computing / processing device or to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network can include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions to store in a computer readable storage medium within the respective computing / processing device. The computer readable program instructions for performing the operations of the present disclosure can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, configuration data for integrated circuits, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, and conventional procedural programming languages ​​such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partially on the user's computer as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.In the last scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or wide area network (WAN), or a connection may be made to an external computer (e.g., through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), may execute computer readable program instructions to individualize the electronic circuitry by utilizing state information of the computer readable program instructions to implement aspects of the present disclosure.

[0057] Aspects of the present disclosure are described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus create means for performing the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. These computer program instructions can also be stored in a computer-readable medium that can direct a computer, other programmable data processing apparatus, or other device, or combination thereof to function in a particular manner, such that the instructions stored in the computer-readable medium include a product including instructions implementing aspects of the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.

[0058] The computer program instructions may be loaded onto a computer, other programmable data processing apparatus, or other device to cause the computer, other programmable data processing apparatus, or other device to perform a sequence of operational steps to generate a computer-implemented process, whereby the instructions executed on the computer or other programmable apparatus perform the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. The flowcharts and block diagrams in the figures (e.g., FIG. 5) illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of code, which includes one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions shown in the blocks may be performed in a different order than that shown in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, depending on the functions involved, or the blocks may sometimes be executed in the reverse order. It should also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, can be implemented by special-purpose hardware-based systems that perform the specified functions or operations, or execute a combination of special-purpose hardware and computer instructions.

[0059] FIG. 6 illustrates a block diagram of components of data processing systems 600 and 650 that can be used to implement a client system or consensus node in a collaborative learning framework in accordance with an exemplary embodiment of the present disclosure. It should be appreciated that FIG. 6 is only intended to provide an example of one implementation and is not intended to imply any limitation with respect to the environment in which different embodiments may be implemented. Many modifications to the depicted environment may be made based on design and implementation requirements.

[0060] Data processing systems 600 and 650 are representative of any electronic device capable of executing machine-readable program instructions. Data processing systems 600 and 650 may be representative of a smart phone, computer system, PDA, or other electronic device. Computing systems, environments, or configurations that may be represented by data processing systems 600 and 650, or all of them, include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, network PCs, minicomputer systems, and distributed cloud computing environments that include any of the above systems or devices.

[0061] Data processing systems 600 and 650 may include a set of internal components 605 and a set of external components 655 as shown in FIG. 6. The set of internal components 605 includes one or more processors 620, one or more computer-readable RAMs 622 and one or more computer-readable ROMs 624 on one or more buses 626, as well as one or more operating systems 628 and one or more computer-readable tangible storage devices 630. The one or more operating systems 628 and programs, such as programs for executing process 500, are stored in one or more computer-readable tangible storage devices 630 for execution by one or more processors 620 via one or more RAMs 622 (typically including cache memory). In the embodiment shown in FIG. 6, each computer-readable tangible storage device 630 is an internal hard drive magnetic disk storage device. Alternatively, each computer-readable tangible storage device 630 is a semiconductor storage device such as a ROM 624, an EPROM, a flash memory, or any other computer-readable tangible storage device capable of storing computer programs and digital information.

[0062] The set of internal components 605 further includes a R / W drive or interface 632 for reading from and writing to one or more portable computer-readable tangible storage devices 686, such as, for example, CD-ROMs, DVDs, memory sticks, magnetic tapes, magnetic disks, optical disks, or semiconductor storage devices. Instructions for executing the process 500 may be stored in one or more respective portable computer-readable tangible storage devices 686, readable via the respective R / W drive or interface 632, and loaded onto the respective hard drives 630.

[0063] The set of internal components 605 may further include a network adapter (or switch port card) or interface 636, such as a TCP / IP adapter card, a wireless Wi-Fi interface card, or a 3G or 4G wireless interface card, or a wired or wireless communication link. Instructions for the above processes or programs may be downloaded from an external computer (e.g., a server) via a network (e.g., the Internet, a local area network, or other wide area network) and the respective network adapter or interface 636. From the network adapter (or switch port card) or interface 636, instructions and data for the above programs or processes are loaded into the respective hard drives 630. The network may comprise copper wire, fiber optic, wireless transmissions, routers, firewalls, switches, gateway computers, or edge servers, or both.

[0064] The set of external components 655 can include a computer display monitor 670, a keyboard 680, and a computer mouse 684. The set of external components 655 can further include a touch screen, a virtual keyboard, a touch pad, a pointing device, and other human interface devices. The set of internal components 605 further includes a device driver 640 for interfacing the computer display monitor 670, the keyboard 680, and the computer mouse 684. The device driver 640, the R / W drive or interface 632, and the network adapter or interface 636 include hardware and software (stored in the storage device 630 or the ROM 624, or both).

[0065] One or more of the foregoing embodiments implement a client system or network node of the collaborative learning framework by having one or more computing devices in a computer infrastructure update local statistics. The computing devices also exchange the updated local statistics with other client systems or network nodes over the network and build a consensus in the form of a pattern dictionary that is stored in a blockchain. The computing devices further divide the updated local statistics into subsets and probabilistically distribute the subsets to other computing devices.

[0066] The description of various embodiments of the present disclosure is presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications, or technical improvements over the technology found in the market, or to enable those skilled in the art to understand the embodiments contained herein.

Claims

1. 1. A computer-implemented method for collaborative learning by a plurality of network nodes interconnected by a network, comprising: the plurality of network nodes belong to a plurality of client systems; creating, at a first network node belonging to a first client system, a predictive model for the first client system using a pattern dictionary constructed based on a consensus among the plurality of client systems; calculating a set of local statistics for the first client system based on the raw data for the first client system; computing a consensus set of local statistics by aggregating sets of local statistics from the plurality of client systems; updating the pattern dictionary based on current values ​​of the pattern dictionary and the consensus set of local statistics; Including, the predictive model is a probability distribution determined based on the raw data of the first client system, a set of mixture weights for the first client system, and the pattern dictionary. A computer-implemented method.

2. The computer-implemented method of claim 1 , wherein the pattern dictionary, the set of local statistics, and the set of mixture weights each include components that correspond to a set of mixture components, respectively.

3. 3. The computer-implemented method of claim 1 or claim 2, wherein the pattern dictionary is stored in a hash chain type data structure.

4. 4. The computer-implemented method of claim 1, wherein the set of local statistics includes a set of sufficient statistics for the raw data of the first client system and a set of sample sizes for the raw data of the first client system.

5. The computer-implemented method of any one of claims 1 to 4, wherein the raw data comprises real-valued values ​​generated by one or more Internet of Things (IoT) devices.

6. 6. The computer-implemented method of claim 1, wherein aggregating the set of local statistics from the plurality of client systems comprises exchanging the set of local statistics between the plurality of network nodes over the network in an unencrypted manner.

7. 7. The computer-implemented method of claim 1, wherein the first network node is a consensus node of the first client system, and the raw data of the first client system is received encrypted from a client node of the first client system.

8. 5. The computer-implemented method of claim 4, further comprising updating a set of sample weights for the first client system based on the raw data and the pattern dictionary for the first client system, wherein the set of sample sizes is determined based on the sample weights.

9. 9. The computer-implemented method of claim 1, wherein computing the consensus set of local statistics comprises distributing different subsets of the set of local statistics of the first client system to different network nodes belonging to different client systems.

10. 10. The computer-implemented method of claim 9, wherein the different subsets of the set of local statistics of the first client system are distributed to identified network nodes based on a randomly generated incident matrix.

11. 1. A computing device implementing a network node in a plurality of network nodes interconnected by a network, comprising: the plurality of network nodes belong to a plurality of client systems within a collaborative learning framework; A processor; a storage device for storing a set of instructions; Equipped with Execution of the set of instructions by the processor comprises: creating, at a first network node belonging to a first client system, a predictive model for the first client system using a pattern dictionary constructed based on a consensus among the plurality of client systems; calculating a set of local statistics for the first client system based on the raw data for the first client system; computing a consensus set of local statistics by aggregating sets of local statistics from the plurality of client systems; updating the pattern dictionary based on current values ​​of the pattern dictionary and the consensus set of local statistics; configuring the computing device to perform actions including the predictive model is a probability distribution determined based on the raw data of the first client system, a set of mixture weights for the first client system, and the pattern dictionary. Computing devices.

12. The computing device of claim 11 , wherein the pattern dictionary, the set of local statistics, and the set of mixture weights each include components that correspond to a set of mixture components, respectively.

13. 13. A computing device according to claim 11 or 12, wherein the pattern dictionary is stored in a hash chain type data structure.

14. 14. The computing device of claim 11, wherein the set of local statistics comprises a set of sufficient statistics for the raw data of the first client system and a set of sample sizes for the raw data of the first client system.

15. The computing device of any one of claims 11 to 14, wherein the raw data comprises real-valued values ​​generated by one or more Internet of Things (IoT) devices.

16. 16. The computing device of claim 11, wherein aggregating the set of local statistics from the plurality of client systems comprises exchanging the set of local statistics between the plurality of network nodes over the network in an unencrypted manner.

17. The computing device of any one of claims 11 to 16, wherein the first network node is a consensus node of the first client system, and the raw data of the first client system is received encrypted from a client node of the first client system.

18. 15. The computing device of claim 14, wherein the computing device is operable to perform steps including updating a set of sample weights for the first client system based on the raw data of the first client system and the pattern dictionary, and the set of sample sizes is determined based on the sample weights.

19. 19. The computing device of claim 11, wherein computing the consensus set of local statistics comprises distributing different subsets of the set of local statistics of the first client system to different network nodes belonging to different client systems, the different subsets of the set of local statistics of the first client system being distributed to network nodes identified based on a randomly generated incident matrix.

20. A computer program comprising program code means adapted to perform the method according to any one of claims 1 to 10, when the computer program is run on a computer.

21. 21. A computer readable storage medium having stored thereon the computer program of claim 20.

Citation Information

Patent Citations

  • Data integration device, data integration method, and data integration program

    JP2013037726A

  • Neural network consensus using blockchain

    US20190012595A1