Federal learning authentication system and method for industrial internet data security sharing

By adopting the federated learning authentication system in the industrial Internet environment, utilizing the generation and management of pseudo-identities and public-private key pairs, combined with elliptic curve certificateless signatures and Tesla broadcast authentication, the computational overhead and privacy vulnerability issues of identity authentication in federated learning are solved. It achieves efficient authentication and model updates, ensures data security and privacy protection, and promotes the collaborative development of industrial big data.

CN118677626APending Publication Date: 2024-09-20HUNAN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410952307.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In the industrial Internet environment, federated learning identity authentication has computational overhead, latency issues and potential privacy vulnerabilities, making it difficult to implement an efficient and privacy-protecting authentication mechanism, leading to problems such as invalid sharing or malicious models.

Method used

A federated learning authentication system for secure sharing of industrial Internet data is adopted to generate pseudo identities and public-private key pairs through cloud servers and trusted agencies (TAs) to ensure anonymity, and when malicious behavior is detected, the real identity is tracked and participation is revoked qualifications, while using elliptic curve certificateless signatures and Tesla broadcast authentication protocols to achieve efficient authentication and model updates.

Benefits of technology

It improves authentication efficiency and complexity, enhances enterprise privacy protection, accurately identifies and removes malicious participants, prevents attacks, ensures data integrity and security, solves the problem of data islands, and promotes the collaborative development and application of the industrial big data industry. Innovation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677626A
    Figure CN118677626A
Patent Text Reader

Abstract

The invention discloses a federal learning authentication system and method for industrial internet data security sharing, and relates to the field of artificial intelligence technology and information security crossing, and the system comprises a cloud server which is used for aggregating local models into global models, distributing the global models to participants, and generating and updating group keys; participants and enterprises participating in data sharing independently execute federal learning training tasks by using local data of the participants and the enterprises, and submit trained local models to the cloud server; and the TA is used for generating partial public and private keys of the cloud server and the participants, providing false identities for the participants and tracking the identities of malicious participants. According to the invention, on the premise of ensuring the integrity and security of enterprise data, data intercommunication between enterprises is realized, and the problem of data islands is solved, so that collaborative development and application innovation of the industrial big data industry are effectively promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the intersection of artificial intelligence technology and information security, and in particular to a federated learning authentication system and method for secure sharing of industrial Internet data. Background Art

[0002] In recent years, the use of IoT devices has continued to increase, resulting in a significant increase in data collection in industrial environments. By using IoT technology, the Industrial Internet allows the use of big data technology to monitor production environments and control processes. This has the potential to greatly change the way industrial environments connect and communicate with end users, allowing industrial production to effectively integrate with advanced technologies.

[0003] The deployment of the Industrial Internet promotes seamless data sharing, bringing many advantages to enterprises. The framework promotes cross-platform knowledge exchange and collaborative cooperation between different devices, systems and entities, thereby stimulating innovation and improving operational efficiency. Real-time data analysis from shared data enables enterprises to speed up the decision-making process and optimize operational workflows in a timely manner. In addition, it also helps to optimize resource allocation, improve equipment efficiency and reduce resource waste.

[0004] To address privacy concerns, federated learning technology keeps training data on local devices, reducing the risk of data transmission and privacy leakage. However, federated learning has limitations such as lack of participant identity authentication, which can lead to problems such as sharing invalid or malicious models.

[0005] In a federated learning ecosystem, identity authentication is essential to establish trust and verify the identities of participants. The authentication process is a necessary step to ensure the integrity of data exchange, prevent unauthorized access, and verify the legitimacy of model updates in the network. However, traditional authentication methods may introduce computational overhead, latency issues, and potential privacy vulnerabilities. Therefore, a key challenge in implementing federated learning data sharing in an industrial Internet environment is to ensure an efficient and privacy-preserving authentication mechanism to enable seamless model updates and collaboration among distributed participants while protecting sensitive industrial data. Summary of the invention

[0006] One of the purposes of the present invention is to address the defects in the above-mentioned background technology and provide a federated learning authentication system for secure sharing of industrial Internet data to solve the identity authentication problem of federated learning participants when sharing industrial Internet data.

[0007] In order to solve the above technical problems, the present invention adopts the following technical solution: a federated learning authentication system for secure sharing of industrial Internet data, comprising:

[0008] A cloud server, which receives local models from participants and integrates them into a global model, which is then distributed to all participants for the next round of training;

[0009] Participants, for enterprises participating in data sharing, which train local models using locally collected data and transfer the trained model parameters to the cloud server;

[0010] TA is a trusted authority for generating public parameters of the system. The TA assigns pseudo identities to participants to ensure anonymity during the interaction process, and tracks the real identities of participants when malicious behavior is detected, and discloses them to the cloud server to revoke their eligibility to participate in federated learning. The TA also generates some public-private key pairs for participants and cloud servers, but does not participate in the federated learning process.

[0011] The present invention also provides a method for federated learning authentication for secure sharing of industrial Internet data. The method is based on the above-mentioned federated learning authentication system for secure sharing of industrial Internet data, and comprises the following steps:

[0012] S1, Initialization: TA selects security parameters according to system security requirements, generates corresponding parameters and hash functions, etc.;

[0013] S2. Generate pseudo identities: TA assigns pseudo identities to each participant, which are used in the federated learning process, but if there is malicious behavior, TA can track the identity of the malicious participant;

[0014] S3. Registration: All federated learning participants and cloud servers need to register with TA, which assigns them corresponding partial public and private keys. The cloud server or participant generates a complete public and private key based on the randomly selected secret value.

[0015] S4, cloud server configuration: the cloud server initializes Tesla broadcast authentication protocol parameters and generates group keys;

[0016] S5, global model distribution: the cloud server distributes the global model to each participant;

[0017] S6. Local training model and model upload: Participants use the collected data to train the local model, sign the model, and upload the local model and signature to the cloud server;

[0018] S7, model aggregation: The cloud server collects local models from participants and performs signature verification. After signature verification, it uses FedAvg to aggregate into a global model;

[0019] S8. Participating member management: When a new participant wants to join federated learning, the cloud server assigns necessary parameters to it and updates the group key; if a malicious participant is detected, the cloud server revokes the malicious participant's parameters and updates the group key.

[0020] Preferably, when a participant registers with a cloud server, TA selects a random number and generates a partial private key f i and a partial public key F i ; Participants and cloud server set secret value x i , and combine the secret value and part of the public and private keys to calculate the public key PK i and private key SK i .

[0021] More preferably, the cloud server pre-sets the number of rounds e of federated learning training, selects a random number, performs e hash operations, and then sends it to the participants.

[0022] More preferably, the cloud server selects different prime numbers and uses the Chinese remainder theorem to calculate the group public key α, and the participants perform a modulo operation to obtain the group key k d .

[0023] More preferably, in round i, the cloud server calculates the key K of this round i , and use K i Generate a message authentication code and broadcast the key K after a delay i , the receiver uses K i Verify the message authentication code and obtain the global model.

[0024] More preferably, the participant chooses a random number u i , calculate U i =u i ·P, S i =α i ·k d , and then calculate its signature σ i =(U i ,sng i ), where sng i =u i +h i2 ·SK i +S i (mod q), send the trained local model parameters and signature to the cloud server.

[0025] More preferably, after receiving the local model and signature, the cloud server needs to verify the signature, which can be verified once or in batches. The signature verification first verifies the freshness of the time, and then verifies the sng i P=U i +h i2(L i +h i1 ·P pub )+α i ·K pub ; For batch verification, first verify the freshness of each message time, and then verify

[0026] More preferably, revoking the group key of a member or members requires revoking their information from μ and selecting a new group key k′ d , according to the updated group information μ′ and group key k′ d Get the updated α′ and broadcast the message. All members in the group receive α′ and obtain the new group key k′ d .

[0027] More preferably, if one or more enterprises want to participate in data sharing, the cloud server will add the group key of the participants to μ and then select a new group key k′ d , according to the updated group information μ′ and group key k′ d Get the updated α′ and broadcast the message, and all participants in the group obtain the new group key k′ d .

[0028] Compared with the prior art, the present invention designs an efficient certificateless authentication protocol, which greatly improves the authentication efficiency and the complexity of TA; at the same time, a pseudo-identity is adopted to enhance the privacy protection of the enterprise by confusing the association between model parameters and the real identity of the enterprise; and a federated learning audit mechanism is used to supervise forged identities and malicious local models. This mechanism can monitor abnormal behaviors in anonymous communications, accurately identify malicious participants, and take punitive measures to completely remove them from the FL system to prevent attackers from participating in training without restriction. In short, the federated learning authentication method for secure sharing of industrial Internet data of the present invention realizes data intercommunication between enterprises under the premise of ensuring the integrity and security of enterprise data, solves the problem of data islands, and can effectively promote the coordinated development and application innovation of the industrial big data industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic diagram of the system structure of the present invention;

[0030] Figure 2 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION

[0031] In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with embodiments and drawings. The contents mentioned in the implementation modes are not intended to limit the present invention.

[0032] like Figure 1 As shown in FIG. 1 , a federated learning authentication system for secure sharing of industrial Internet data includes a cloud server, participants, and a trusted authority (TA), where:

[0033] The cloud server, also called the parameter server, receives local models from participants and integrates them into a global model. This global model is then distributed to all participants for the next round of training;

[0034] Participants are enterprises participating in data sharing, which are responsible for training local models using locally collected data and transferring parameters to the cloud server;

[0035] The trusted authority generates the public parameters of the system. In addition, the TA assigns pseudo identities to participants to ensure anonymity during the interaction, and tracks the real identities of participants when malicious behavior is detected, revealing them to the cloud server to revoke their eligibility to participate in federated learning. The TA also generates some public-private key pairs for participants and cloud servers, but does not participate in the federated learning process.

[0036] like Figure 2 As shown, a federated learning authentication method for secure sharing of industrial Internet data based on the above authentication system specifically includes the following steps:

[0037] S1, Initialization: TA selects security parameters according to system security requirements, generates corresponding parameters and hash functions, etc.;

[0038] S2. Generate pseudo identities: TA will assign pseudo identities to each participant. These pseudo identities are used in the federated learning process, but if there is malicious behavior, TA can track the identity of the malicious participant;

[0039] S3. Registration: All federated learning participants and cloud servers need to register with TA, which assigns them corresponding partial public and private keys. The cloud server or participant generates complete public and private keys based on the randomly selected secret value.

[0040] S4, cloud server configuration: the cloud server initializes Tesla broadcast authentication protocol parameters and generates group keys;

[0041] S5, global model distribution: the cloud server distributes the global model to each participant;

[0042] S6. Local training model and model upload: Participants use the collected data to train the local model, sign the local model and upload the local model and signature to the cloud server;

[0043] S7, model aggregation: The cloud server collects local models from participants and performs signature verification. After signature verification, it uses FedAvg to aggregate into a global model;

[0044] S8. Participating member management: When a new participant wants to join federated learning, the cloud server assigns necessary parameters to it and updates the group key; if a malicious participant is detected, the cloud server revokes the malicious participant's parameters and updates the group key.

[0045] In step S1, the TA selects the security parameter λ and generates the elliptic curve parameters (q, P, G); the TA randomly selects As its master private key, and calculate its public key P pub =s·P; TA selects five one-way hash functions H i (i∈[0,4]); TA publishes public parameters {q,P,G,P pub , H i (i∈[0,4])}.

[0046] In step S2, TA selects Generate pseudo-identities of participants TV i The validity period of the pseudo identity, and the PID i Sent to the appropriate participants.

[0047] In step S3, participant w i Send a pseudo identity to TA, TA randomly selects Calculate P pub =r i P: Then calculate h i1 =H2(PID i , P pub , R i ), f i =r i +s·h i1 , put F i =(f i , R i ) is sent to the participants. The participants verify f i P=P pub ·h i1 +R i Is it true?

[0048] In step S3, participant w i Random Selection And calculate X i =x i ·P, L i =R i +h i1 ·Xi , set SK i =h i1 ·x i +f i Its private key, PK i =(L i , R i ) as its public key.

[0049] In step S4, the cloud server randomly selects pass Generate a hash key chain and broadcast the initial key K0 on the network.

[0050] In step S4, the cloud server randomly selects a prime number b i As the offline key of the participant, calculate μ i =c i ·e i , where c i ·e i ≡1; then the cloud server randomly selects Calculated α = k d ·P is used as the group public key, and {α, K pub}Sent to all participants; participants calculate k d =αmod(b i ) to obtain the group key.

[0051] In step S5, the cloud server calculates in the i-th round set up Calculate m i The message authentication code hm i =HMAC(m i , K i ),broadcast Broadcast K after a delay of δ i , the receiver uses the received K i Verify hm i .

[0052] In step S6, the participant signs the local model after completing the current round of training using local data. The signing method is: i Random Selection Calculate U i =u i P, α i =H1(PID i , T i ), S i =α i ·k d , and sgn i =u i +h i2 ·SK i +S i , output signature σ i =(U i ,sng i ), send a message To the cloud server.

[0053] In step S7, after receiving the local model and signature, the cloud server needs to verify the signature, which can be verified once or in batches. The signature verification first verifies the freshness of the time, and then verifies the sng i P=U i +h i2 (L i +h i1 P pub )+α i K pub For batch verification, first verify the freshness of each message time, and then randomly select a small integer a i ∈[1,2 b ] generates a vector a={a1,a2,…,a n},verify

[0054] In step S7, the cloud server aggregates all local models

[0055] In step S8, the cloud server receives the request to participate in federated learning and first calculates the corresponding μ i , and the updated μ′=μ+μ i ; Reselect a new group key k′ d , calculate the updated α′=k′ d μ′, broadcast α′, and federated learning participants obtain the new group key k′ through the modulo operation d =α′mod(b i ).

[0056] In step S8, if the cloud server detects a malicious local model, it will revoke its group key and prohibit malicious participants from participating in federated learning; the cloud server first calculates μ′=μ-μ i ; Reselect a new group key k′ d , calculate the updated α′=k′ d μ′, broadcast α′, and participants in the federated learning group obtain the new group key k′ through the modulo operation d =α′mod(b i ).

[0057] In step S8, batch joining and batch withdrawal can be performed in a similar manner to single participation and single withdrawal; taking batch joining and withdrawal of μ2, μ4, μ6 as an example, the difference is that batch joining μ′=μ+μ2+μ4+μ6, and batch withdrawal is μ′=μ-μ2-μ4-μ6.

[0058] The above-mentioned implementation method provides a federated learning authentication method for secure sharing of industrial Internet data. By adopting elliptic curve certificateless signature, Chinese remainder theorem and Tesla broadcast authentication, an efficient certificateless authentication protocol is designed. The protocol supports batch verification, dynamic update and revocation of group keys, which greatly improves the authentication efficiency and the complexity of TA. In addition, participants interact anonymously to achieve secure communication, and TA can track the true identity of the participants when malicious behavior occurs. This method is applicable to all machine learning algorithms, does not harm data utility, and ensures privacy protection. In addition, it can be used in conjunction with detection schemes to defend against data poisoning and free-rider attacks, and promote data interconnection and interoperability among enterprises.

[0059] In order to make it easier for ordinary technicians in the field to understand the improvements of the present invention over the prior art, some drawings and descriptions of the present invention have been simplified, and the above-mentioned embodiments are preferred implementation schemes of the present invention. In addition, the present invention can also be implemented in other ways. Any obvious replacement without departing from the concept of the present technical solution is within the protection scope of the present invention.

Claims

1. A federated learning authentication system for secure sharing of industrial Internet data, characterized in that: include: A cloud server, which receives local models from participants and integrates them into a global model, which is then distributed to all participants for the next round of training; Participants, for enterprises participating in data sharing, which train local models using locally collected data and transfer the trained model parameters to the cloud server; TA is a trusted authority for generating public parameters of the system. The TA assigns pseudo identities to participants to ensure anonymity during the interaction process, and tracks the real identities of participants when malicious behavior is detected, and discloses them to the cloud server to revoke their eligibility to participate in federated learning. The TA also generates some public-private key pairs for participants and cloud servers, but does not participate in the federated learning process.

2. A method for federated learning authentication for secure sharing of industrial Internet data, based on the method for federated learning authentication for secure sharing of industrial Internet data as claimed in claim 1, characterized in that: The following steps are involved: S1, Initialization: TA selects security parameters according to system security requirements, generates corresponding parameters and hash functions, etc.; S2. Generate pseudo identities: TA assigns pseudo identities to each participant, which are used in the federated learning process, but if there is malicious behavior, TA can track the identity of the malicious participant; S3. Registration: All federated learning participants and cloud servers need to register with TA, which assigns them corresponding partial public and private keys. The cloud server or participant generates a complete public and private key based on the randomly selected secret value. S4, cloud server configuration: the cloud server initializes Tesla broadcast authentication protocol parameters and generates group keys; S5, global model distribution: the cloud server distributes the global model to each participant; S6. Local training model and model upload: Participants use the collected data to train the local model, sign the model, and upload the local model and signature to the cloud server; S7, model aggregation: The cloud server collects local models from participants and performs signature verification. After signature verification, it uses FedAvg to aggregate into a global model; S8. Participating member management: When a new participant wants to join federated learning, the cloud server assigns necessary parameters to it and updates the group key; if a malicious participant is detected, the cloud server revokes the malicious participant's parameters and updates the group key.

3. The method for federated learning authentication for secure sharing of industrial Internet data according to claim 2 is characterized in that: When a participant registers with the cloud server, TA selects a random number and generates a partial private key f i and a partial public key F i ; Participants and cloud server set secret value x i , and combine the secret value and part of the public and private keys to calculate the public key PK i and private key SK i .

4. The method for federated learning authentication for secure sharing of industrial Internet data according to claim 2 is characterized in that: The cloud server pre-sets the number of rounds of federated learning training, selects a random number, performs e hash operations, and then sends it to the participants.

5. The method for federated learning authentication for secure sharing of industrial Internet data according to claim 2 is characterized in that: The cloud server selects different prime numbers and uses the Chinese remainder theorem to calculate the group public key α. The participants perform the modulus operation to obtain the group key k. d .

6. The method for federated learning authentication for secure sharing of industrial Internet data according to claim 2 is characterized in that: In round i, the cloud server calculates the key K for this round i , and use K i Generate a message authentication code and broadcast the key K after a delay i , the receiver uses K i Verify the message authentication code and obtain the global model.

7. The method for federated learning authentication for secure sharing of industrial Internet data according to claim 2 is characterized in that: The participant chooses a random number u i , calculate U i =u i ·P, S i =α i ·k d , and then calculate its signature σ i =(U i ,sng i ), where sng i =u i +h i2 ·SK i +S i (mod q), send the trained local model parameters and signature to the cloud server.

8. The method for federated learning authentication for secure sharing of industrial Internet data according to claim 2 is characterized in that: After receiving the local model and signature, the cloud server needs to verify the signature. It can be verified once or in batches. The signature verification first verifies the freshness of the time, and then verifies the sng i P=U i +h i2 (L i +h i1 ·P pub )+α i ·K pub ; For batch verification, first verify the freshness of each message time, and then verify 9. The method for federated learning authentication for secure sharing of industrial Internet data according to claim 2 is characterized in that: To revoke the group key of a member or some members, you need to revoke their information from μ and then choose a new group key k. ′ d , according to the updated group information μ ′ and group key k ′ d Get the updated α ′ And broadcast the message, all members in the group receive α ′ Get the new group key k ′ d .

10. The method for federated learning authentication for secure sharing of industrial Internet data according to claim 2 is characterized in that: If one or more companies want to participate in data sharing, the cloud server will add the group key of the participants to μ and then select a new group key k. ′ d , according to the updated group information μ ′ and group key k ′ d Get the updated α ′ And broadcast the message, all participants in the group obtain the new group key k ′ d .