Federal learning participant selection method based on symmetry theory

Through symmetry theory evaluation and selection of federated learning participants, the problem of data unreliability under random selection is solved, privacy protection and user enthusiasm are improved, and a more effective privacy protection mechanism is provided.

CN118569357APending Publication Date: 2024-08-30WEST YUNNAN UNIV OF APPLIED TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410741211.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Randomly selecting participants in federated learning cannot guarantee the reliability and authenticity of data. The privacy protection mechanism is expensive and has poor robustness. It lacks an effective incentive mechanism, leading to challenges in data security and privacy protection.

Method used

Adopt a federated learning participant selection method based on symmetry theory, and periodically send exploratory information to the client to evaluate indicators such as willingness to participate in training, data authenticity, delay and network robustness, calculate the training participation coefficient, and sign an electronic agreement And record the credit report, and select clients with better performance as participants.

Benefits of technology

It improves the data reliability and privacy protection of participants, reduces the overhead of privacy protection mechanisms, enhances the robustness of federated learning and user enthusiasm, and provides better privacy protection solutions for digital governance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569357A
    Figure CN118569357A
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to a federated learning participant selection method based on a symmetry theory, which can solve the difficulty brought to federated learning by randomly selecting participants in typical federated learning. Typical federal learning usually selects a client as a participant of federal learning model training in a random selection mode, and the selection mode cannot ensure the data reliability, data authenticity and stability of the participant. According to the scheme provided by the invention, the problems can be effectively solved, a better guarantee is provided for federal learning in the aspect of privacy protection, and a better privacy protection scheme is provided for digital governance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method for selecting federated learning participants based on symmetry theory. Background Art

[0002] As an important branch of artificial intelligence, machine learning has been applied to intelligent transportation, financial analysis, recommendation systems, smart healthcare and other fields and has achieved certain results. However, in the training and use of mainstream machine learning models, data has always faced the risk of leakage, which has brought great challenges to personal privacy and data security. For example, Facebook data leakage and Yahoo data leakage have attracted great attention from the industry and academia. Privacy protection and data security have also become important topics in machine learning applications. With the rapid development of artificial intelligence, the demand for effective sharing and integration of data has become increasingly strong. In order to solve the challenges brought by data privacy and data silos, federated learning has emerged and has been widely used in health care, financial analysis and other fields. Federated learning is a distributed machine learning framework for multi-user scenarios, which is used to solve the data silos and privacy protection problems encountered by artificial intelligence. This technology can coordinate multiple participants through the server to complete the training of a global model without the need for the participants to upload the original data, thus achieving "data available but invisible". The training data in federated learning is distributed on the data owner's device. The data owner trains locally and only shares the model parameters with the service provider. The service provider aggregates the data owner's updates through an algorithm (such as FedAvg, FedProx, etc.) to train the global model. Typical federated learning usually includes the following steps: (1) All participants download the latest model from the server; (2) Each participant uses local data to calculate the gradient, and then encrypts the gradient and uploads it to the server. The server then aggregates these gradients to update the model parameters; (3) The server distributes the updated model to each participant; (4) All participants update their local models. Iterate steps (1)(2)(3)(4) in sequence until the model converges or reaches the specified termination condition. The selection of participants in typical federated learning mainly uses random selection. This solution cannot guarantee the reliability of training and the authenticity of the participant data.

[0003] Federated learning brings many benefits. Since the multiple parties involved in the training do not need to directly exchange data, it protects the privacy and data security of users to a certain extent. However, with the development of Internet technology, users' demand for privacy protection has increased, and the federated learning model faces new challenges in data privacy and security protection. The following problems still exist in the privacy protection of federated learning:

[0004] (1) Privacy protection mechanisms are expensive

[0005] In recent years, researchers have proposed a large number of privacy protection methods based on technologies such as differential privacy, secret sharing, homomorphic encryption, and secure multi-party computation. However, these methods often have large computational and communication overheads, which will affect the availability and real-time performance of applications. Therefore, how to design energy-efficient privacy protection for the specific needs of Internet services, especially a privacy protection mechanism that can meet the needs of real-time data query, has become a challenge faced by the design of privacy protection solutions.

[0006] (2) The privacy protection mechanism is not robust enough

[0007] Differential privacy, homomorphic encryption, and secure multi-party computation can improve the security of federated learning, but these privacy protection mechanisms will also affect the performance and accuracy of the model, thereby reducing the robustness of federated learning and affecting its applicability to a certain extent. The data in the real application scenarios of federated learning often do not meet the independent and identically distributed property, but the existing federated learning privacy protection mechanisms all assume the independent and identically distributed nature of the data to a certain extent. The design of data security and privacy protection mechanisms when the data is not independent and identically distributed has also become a major challenge for federated learning.

[0008] (3) Lack of effective incentive mechanism

[0009] How to ensure that the server and local participants are honest and not malicious, and to ensure the cleanliness of the training data is also a major challenge in privacy protection.

[0010] Therefore, in order to ensure the safe implementation of more and more federated learning applications, it is imperative to design an energy-efficient and balanced federated learning participant selection mechanism. Summary of the invention

[0011] In view of the above-mentioned deficiencies in the prior art, the present invention proposes a method for selecting federated learning participants by combining the theories of model symmetry, data symmetry and communication resource symmetry, in order to reduce attacks on federated learning participants, increase the enthusiasm of participants, improve the existing federated learning privacy protection mechanism, and provide better privacy protection for the application of federated learning.

[0012] A method for selecting federated learning participants based on symmetry theory includes the following steps:

[0013] S1. The server periodically sends exploratory information to the client; the exploratory information mainly includes a network status exploration package, a network connection exploration package, a service delay exploration package, a connection and disconnection exploration package, a data symmetry detection package, and a client participation training willingness package;

[0014] S2, the client returns confirmation information to the server;

[0015] S3. The server evaluates the client by returning information. The server evaluates the client based on the willingness to participate in training, data authenticity, return delay, service delay, network topology and network congestion. The server assigns a weight to these indicators in turn, and then calculates the best participant in this cycle based on a certain algorithm.

[0016] S4. Calculate the client training coefficient according to the information returned by the participants;

[0017] ① Assign weights n1, n2, n3, n4, n5, and n6 to the parameter training willingness, data authenticity, return delay, service delay, network robustness, and network congestion of the M clients, and sort them in descending order;

[0018] ② Calculate the client training coefficient = ∑ (parameter × weight) = parameter willingness × n1 + data authenticity × n2 + 1 / return delay × n3 + 1 / service delay × n4 + network robustness × n5 + 1 / network congestion × n6;

[0019] S5. The server signs a training agreement with each client in sequence according to the client information that appears in the queue. The agreement is an electronic identification. After the agreement is signed, it is stored in the server's electronic credit chain to record the electronic credit of the training client, which serves as an important credential for the subsequent selection of participants.

[0020] S6. The server selects N clients with better performance as participants to participate in model training based on the training coefficient and previous credit information.

[0021] Preferably, the network condition exploration packet in step S1 includes congestion condition and flow condition;

[0022] The network connection exploration package is the topology of the client's network, including the client's network robustness and fault tolerance;

[0023] The disconnection exploration package is a memory queue that records the delay information of the data sent and returned this time, arranges the priorities from small to large, and removes the client information with longer delay from the queue;

[0024] The data symmetry detection package is used to provide the client with the reliability and authenticity of the evaluation data. The reliability and authenticity of the data are evaluated by the server. The server evaluates the reliability and authenticity of the client data through the symmetry of the training model of the same data.

[0025] The client's willingness to participate in training package is for the client to return feedback information on whether it is willing to participate in training. The information includes the periodic information exploration time limit and whether to feedback information. If the client does not want to participate in training during this period, it does not need to return information to the server.

[0026] Preferably, in step S3, the priorities of willingness to participate in training, data authenticity, return delay, service delay, network topology, and network congestion are reduced in sequence.

[0027] Preferably, in step S4 and step S6, M>N.

[0028] The beneficial effects of the present invention are:

[0029] The present invention provides a method for selecting federated learning participants based on symmetry theory, which can solve the difficulties brought to federated learning by randomly selecting participants in typical federated learning; typical federated learning usually uses random selection to select clients as participants in federated learning model training, and this selection method cannot guarantee the data reliability, data authenticity and stability of the participants. The solution proposed in the present invention can effectively solve such problems, provide better guarantees for privacy protection in federated learning, and provide a better privacy protection solution for digital governance. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 It is a schematic diagram of the working steps of the present invention; DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0033] In the description of the embodiments of the present invention, it should be noted that if the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or the orientation or position relationship in which the invented product is usually placed when used. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0034] In addition, the terms "horizontal", "vertical", "overhanging" and the like do not mean that the components must be absolutely horizontal or overhanging, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0035] In the description of the embodiments of the present invention, "plurality" means at least 2.

[0036] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0037] The present invention proposes a method for selecting federated learning participants based on symmetry theory, which can solve the difficulties brought to federated learning by the random selection of participants in current typical federated learning.

[0038] The present invention introduces the periodic exploration packet technology. Before selecting a participant, the server sends a probing message to the client, which includes a lot of exploratory information packets. The present invention introduces the periodic exploration technology to reduce the waste of network resources caused by sending such information packets.

[0039] The present invention introduces the principle of symmetry. The same equipment operates the same data to obtain the symmetry of the model, the same equipment uses the same model to generate data, and different equipment trains the same data to obtain the symmetry of the model. Of course, the symmetry of the model can also verify the symmetry of the data.

[0040] The present invention introduces the idea of ​​mutual transmission and mutual verification of client models, and verifies the authenticity and reliability of each other's data through the symmetry of data and the symmetry principle of models.

[0041] The specific steps include:

[0042] S1. The server periodically sends tentative information to the client. The tentative information mainly includes network status (congestion status, traffic status) exploration package, network connection (the topology of the network where the client is located, mainly to check the client's network robustness and fault tolerance; at the same time, it provides a reference for mutual selection and model transmission between clients) exploration package, service delay exploration package (feedback on the recent client's receiving data and processing data cycle, mainly to check whether the client can participate in training efficiently recently), disconnection exploration package (this package is actually a memory queue, recording the delay information of the data sent and returned this time, arranging the priority from small to large, and removing the client information with longer delay from the queue), data symmetry detection package (provided to the client to evaluate the reliability and authenticity of the data, the reliability and authenticity of the data are evaluated by the server, and the server evaluates the reliability and authenticity of the client data through the symmetry of the training model of the same data), client participation training willingness package (hope that the client will return feedback information on whether it is willing to participate in training, this information includes the periodic information exploration time limit and whether to feedback information. If the client does not want to participate in training during this period, it does not need to return information to the server).

[0043] S2. The client returns confirmation information to the server.

[0044] S3. The server evaluates the client through the returned information. The server evaluates the client based on the following indicators: willingness to participate in training, data authenticity, return delay, service delay, network topology, and network congestion (with decreasing priority). The server assigns a weight to these indicators in turn, and then calculates the best participant in this cycle based on a certain algorithm.

[0045] S4. Calculate the client training coefficient according to the information returned by the participants. ① Assign weights n1, n2, n3, n4, n5, and n6 to the parameter training willingness, data authenticity, return delay, service delay, network robustness, and network congestion of the M clients respectively, and sort the weights from large to small; ② Calculate the client training coefficient = ∑ (parameter × weight) = parameter willingness × n1 + data authenticity × n2 + 1 / return delay × n3 + 1 / service delay × n4 + network robustness × n5 + 1 / network congestion × n6.

[0046] S5. The server signs a training agreement with each client in sequence according to the client information that appears in the queue. The agreement is an electronic identification. After the agreement is signed, it will be stored in the server's electronic credit chain to record the electronic credit of the training client, which serves as an important credential for the subsequent selection of participants.

[0047] S6. The server selects N (M>N) clients with better performance as participants to participate in model training based on the training coefficient and previous credit information.

[0048] As attached Figure 1 As shown, ① a probe message is sent to the client; ② the client sends a confirmation message to the server; ③ the first N clients with better feedback are set as participants; ④ the models are transmitted and verified mutually.

[0049] The present invention provides a method for selecting federated learning participants based on symmetry theory, which can solve the difficulties brought to federated learning by randomly selecting participants in typical federated learning. Typical federated learning usually uses a random selection method to select clients as participants in federated learning model training. This selection method cannot guarantee the data reliability, data authenticity and stability of the participants. The solution proposed in the present invention can effectively solve such problems, provide better guarantees for privacy protection in federated learning, and provide a better privacy protection solution for digital governance.

[0050] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for selecting federated learning participants based on symmetry theory, characterized in that: The following steps are involved: S1. The server periodically sends exploratory information to the client; the exploratory information mainly includes a network status exploration package, a network connection exploration package, a service delay exploration package, a connection and disconnection exploration package, a data symmetry detection package, and a client participation training willingness package; S2, the client returns confirmation information to the server; S3, the server evaluates the client by returning information; The server evaluates the quality of the client based on the following indicators: willingness to participate in training, data authenticity, return delay, service delay, network topology, and network congestion; The server assigns a weight to these indicators in turn, and then calculates the best participant in this cycle based on a certain algorithm; S4. Calculate the client training coefficient according to the information returned by the participants; ① Assign weights n1, n2, n3, n4, n5, and n6 to the parameter training willingness, data authenticity, return delay, service delay, network robustness, and network congestion of the M clients, and sort them in descending order; ② Calculate the client training coefficient = ∑ (parameter × weight) = parameter willingness × n1 + data authenticity × n2 + 1 / return delay × n3 + 1 / service delay × n4 + network robustness × n5 + 1 / network congestion × n6; S5. The server signs a training agreement with each client in sequence according to the client information that appears in the queue. The agreement is an electronic identification. After the agreement is signed, it is stored in the server's electronic credit chain to record the electronic credit of the training client, which serves as an important credential for the subsequent selection of participants. S6. The server selects N clients with better performance as participants to participate in model training based on the training coefficient and previous credit information.

2. The method for selecting federated learning participants based on symmetry theory according to claim 1, characterized in that: The network situation exploration packet in step S1 includes congestion situation and flow situation; The network connection exploration package is the topology of the client's network, including the client's network robustness and fault tolerance; The disconnection exploration package is a memory queue that records the delay information of the data sent and returned this time, arranges the priorities from small to large, and removes the client information with longer delay from the queue; The data symmetry detection package is used to provide the client with the reliability and authenticity of the evaluation data. The reliability and authenticity of the data are evaluated by the server. The server evaluates the reliability and authenticity of the client data through the symmetry of the training model of the same data. The client's willingness to participate in training package is for the client to return feedback information on whether it is willing to participate in training. The information includes the periodic information exploration time limit and whether to feedback information. If the client does not want to participate in training during this period, it does not need to return information to the server.

3. The method for selecting federated learning participants based on symmetry theory according to claim 1, characterized in that: In step S3, the priorities of willingness to participate in training, data authenticity, return delay, service delay, network topology, and network congestion decrease in sequence.

4. The method for selecting federated learning participants based on symmetry theory according to claim 1, characterized in that: In step S4 and step S6, M>N.

Citation Information

Patent Citations

  • Federal learning method and device for credit card fraud prevention

    CN113362160A

  • Centralized client selection method for federal learning based on fuzzy logic

    CN116582539A

  • Random multi-model privacy protection method based on federated learning

    CN117592584A

  • User-level Privacy Preservation for Federated Machine Learning

    US20230047092A1