Secure federated learning system and method in quantum autonomous driving vehicle network

By introducing local training, privacy protection, quantum key distribution and middle-layer aggregation units into the quantum autonomous driving Internet of Vehicles, combined with homomorphic encryption and differential privacy algorithms, the problem of false model parameters and privacy leakage in the federated learning system is solved and achieved Provides higher security and privacy protection.

CN115150068BActive Publication Date: 2024-10-22SHANGHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210656643.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-10
Publication Date
2024-10-22
Estimated Expiration
2042-06-10

AI Technical Summary

Technical Problem

The federated learning system in the quantum self-driving car network has risks caused by false model parameters. The central server may be subject to model inference attacks, the private data of self-driving vehicles will be leaked, and the system is vulnerable to Witch attacks, affecting availability.

Method used

A secure federated learning system is adopted, including a local training unit, a privacy protection unit, an intermediate layer aggregation unit and a quantum key distribution unit. It protects vehicle data through homomorphic encryption and differential privacy algorithms, and uses quantum communication to ensure the absolute security of key transmission. properties, defending against model inversion and eavesdropping attacks.

Benefits of technology

It effectively reduces the risks caused by false model parameters, improves the security of federated learning, protects the privacy of autonomous vehicles, defends against channel eavesdropping and data tampering attacks, and ensures the security and privacy of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115150068B_ABST
    Figure CN115150068B_ABST
Patent Text Reader

Abstract

The present invention discloses a secure federated learning system and method in a quantum autonomous vehicle network. The system includes a local training unit, a privacy protection unit, an intermediate layer aggregation unit, a quantum key distribution unit, and a global aggregation unit. The local training unit needs to execute the privacy protection unit. The local training unit is connected to the intermediate layer aggregation unit through a wireless channel. The quantum key distribution unit is respectively connected to the intermediate layer aggregation unit and the global aggregation unit through a quantum channel. The intermediate layer aggregation unit is connected to the global aggregation unit through a wireless channel. The method includes establishing a federated learning method in an autonomous vehicle network to achieve secure training of an autonomous driving model. According to whether a roadside unit can be used as an intermediate layer aggregation unit, a homomorphic encryption algorithm and a differential privacy algorithm are respectively executed. According to the different entity objects of the intermediate layer aggregation unit, quantum channels with different paths are established with the global aggregation unit to achieve secure transmission of model parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of quantum autonomous vehicular networks (QAVNs), and in particular, to a secure federated learning system and method in quantum autonomous vehicular networks. Background Art

[0002] With the continuous increase in population and the rapid development of urbanization, the problem of road congestion is becoming increasingly serious. A recent report shows that by 2035, the number of cars will reach 2 billion. The increase in car ownership is bound to bring challenges to the management of the transportation system. Therefore, how to improve the efficiency and safety of the transportation system is imminent. Autonomous Vehicular Networks (AVNs) can provide convenient, safe and comfortable driving services, which can significantly promote the management of future intelligent transportation systems and therefore have good application prospects. Specifically, AVNs enable autonomous vehicles (AVs) to share data through multiple communication methods such as vehicle-to-vehicle, vehicle-to-infrastructure and vehicle-to-everything, reduce traffic accidents, increase traffic flow, reduce carbon dioxide emissions, etc. The data in AVNs is usually critical and sensitive, related to traffic conditions, driving behavior, owner privacy information, etc. Generally speaking, these data can be easily eavesdropped, intercepted and replaced, which will significantly reduce the performance of AVNs and may cause serious traffic accidents. Therefore, how to protect the security and privacy of data sharing in AVNs is an urgent problem to be solved. Recently, quantum communication is considered to be an effective solution to enhance the security of AVN. The application of quantum communication to AVN has formed a quantum autonomous vehicle network. Quantum communication is an emerging communication method that uses quantum superposition and quantum entanglement effects to transmit information. Due to the uncertainty of quantum transmission, measurement collapse and the principle of non-cloning, quantum communication provides an absolute security guarantee that cannot be eavesdropped and cracked by calculation. The main application of quantum communication is quantum key distribution, in which the key can be randomly generated by one of the parties in QAVN and securely shared between the two communicating parties using a quantum communication link. Therefore, by encrypting the data with this key, the security of data sharing in QAVN can be significantly improved.

[0003] Federated learning is an emerging machine learning paradigm that is often used to achieve fully autonomous driving in QAVN. Federated learning can train artificial intelligence (AI) models for autonomous driving in a distributed manner. Specifically, AI models are trained locally and collaboratively on distributed autonomous vehicles, and then the vehicles upload model parameters (e.g., weights, gradients, etc.) instead of raw data to a central server for aggregation. Since federated learning only transmits small-sized AI model parameters, it can effectively protect the privacy of autonomous vehicles and significantly reduce the consumption of resources (e.g., energy, bandwidth, etc.). Although federated learning can benefit autonomous vehicles in QAVN, it still faces some security and privacy threats. First, the central server can launch a model inference attack based on the updated model parameters to obtain the vehicle's private data. Second, the autonomous vehicle may be hijacked by a malicious attacker, who can deliberately upload false model parameters to the central server, thereby reducing the convergence speed and accuracy of the AI ​​model. Third, the central server that performs federated learning is vulnerable to Sybil attacks, which paralyzes federated learning and further undermines the availability of federated learning. Summary of the invention

[0004] In view of the defects of the existing federated learning system in QAVNs, in order to reduce the risks brought by false model parameters to federated learning, improve the security of federated learning in QAVNs, protect the privacy of autonomous driving vehicles, and achieve more accurate autonomous driving, the purpose of the present invention is to provide a secure federated learning system and method in quantum autonomous driving vehicle networks.

[0005] In order to achieve the above object, the present invention adopts the following technical scheme:

[0006] A secure federated learning system in a quantum autonomous driving vehicle network includes a local training unit, a privacy protection unit, an intermediate layer aggregation unit, a quantum key distribution unit, and a global aggregation unit. The privacy protection unit is executed by the local training unit; the local training unit is connected to the intermediate layer aggregation unit through a wireless channel; the quantum key distribution unit is connected to the intermediate layer aggregation unit and the global aggregation unit respectively through quantum communication; the intermediate layer aggregation unit is connected to the global aggregation unit through a wireless channel.

[0007] Among them, the local training unit is composed of an autonomous driving vehicle, and the local training process of the autonomous driving model is performed through a local data set. In order to protect the privacy data of the local training unit, the local training unit needs to execute a privacy protection unit to achieve privacy protection by calling different privacy protection algorithms. The intermediate layer aggregation unit is composed of a roadside unit (RSU) and a vehicle leader, communicates with the local training unit through a wireless channel, receives the privacy-protected local model parameters from the local training unit, performs intermediate layer aggregation, and is responsible for sending global model parameters. The quantum key distribution unit is connected to the intermediate layer aggregation unit and the global aggregation unit through a quantum communication channel, respectively, to ensure the absolute security of the encryption key transmission between the two units. The global aggregation unit is composed of a base station, communicates with the intermediate layer aggregation unit through a wireless channel, and performs global model aggregation tasks.

[0008] A secure federated learning method in QAVNs, comprising the following steps:

[0009] S100. The autonomous driving vehicle uses the local data set to perform a local training process of the autonomous driving model and obtains local model parameters;

[0010] S200. The autonomous driving vehicle executes a privacy protection algorithm on the local model parameters and sends the parameters to the middle layer aggregation unit via wireless communication;

[0011] S300. Each intermediate layer aggregation unit performs intermediate layer aggregation on the transmitted local model parameters to obtain intermediate model parameters;

[0012] S400. Each intermediate layer aggregation unit establishes a quantum channel with the global aggregation unit and obtains an encryption key through a quantum key distribution method;

[0013] S500. Each intermediate layer aggregation unit encrypts the intermediate model parameters by an encryption key and uploads them to the global aggregation unit through a wireless channel;

[0014] S600. The global aggregation unit performs global model aggregation to obtain global model parameters.

[0015] After step S600, step S600A may be included: determining whether the model performance meets the requirements or the number of iterations exceeds the set value. If yes, the process ends; if not, the process returns to step S100 to continue iterating the global model.

[0016] The specific steps of step S200 are:

[0017] S210. First, determine whether there is an RSU that can be used as an intermediate aggregation unit. If yes, execute step S220A branch:

[0018] S220A. RSU is used as an intermediate aggregation unit, which is responsible for completing the intermediate layer model aggregation;

[0019] S230A. The autonomous driving vehicle performs a homomorphic encryption algorithm on the local model parameters to obtain encrypted local model parameters;

[0020] S240. The autonomous driving vehicle sends the encrypted local model parameters to the RSU;

[0021] If no, execute step S220B:

[0022] S220B. Elect a leader vehicle from the autonomous driving vehicles as an intermediate aggregation unit, which is responsible for completing the intermediate layer model aggregation;

[0023] S230B. The autonomous driving vehicle executes a differential privacy algorithm on the local model parameters to obtain the local model parameters with added noise;

[0024] S240. The autonomous driving vehicle sends the local model parameters with added noise to the leading vehicle;

[0025] The specific steps of step S400 are:

[0026] S410. The middle layer aggregation unit and the global aggregation unit use a pre-shared key to complete the identity authentication;

[0027] S420. The middle layer aggregation unit randomly selects a coding base, generates a corresponding quantum bit key based on the traditional bit key, and transmits it to the global aggregation unit through the quantum channel;

[0028] S430. The global aggregation unit randomly selects a measurement basis, measures the quantum bit, and restores it to a traditional bit;

[0029] S440. Both parties share the coding basis and the measurement basis, and select the bits with the same basis;

[0030] S450. Both parties agree to take out a portion of bits with the same basis for comparison and calculate the quantum bit error rate. The bits used for comparison will be discarded;

[0031] After step S450, step S450A may be further included: determining whether the quantum bit error rate is less than a set threshold, if yes, executing step S460, if no, returning to step S420 to re-establish the quantum channel;

[0032] S460. Both parties perform error correction, verification and privacy amplification processes on the remaining bits with the same basis, and then combine these bits to obtain the encryption key.

[0033] Compared with the prior art, the present invention has the following outstanding substantive features and significant advantages:

[0034] Applying quantum communication to autonomous vehicle networks can defend against channel eavesdropping and data tampering attacks. At the same time, any eavesdroppers in the channel will be discovered, thus ensuring the security of data transmission in the autonomous vehicle network.

[0035] In order to deal with the privacy issues of autonomous vehicles that still exist in federated learning, a homomorphic encryption mechanism is established. Autonomous vehicles implement homomorphic encryption algorithms on local model parameters to defend against RSU model inversion attacks and attackers eavesdropping attacks, effectively protecting the data privacy of the vehicle.

[0036] Considering that in some cases, RSU cannot serve as the intermediate-layer aggregation unit of federated learning, a leader vehicle is elected as the intermediate-layer aggregation unit. The autonomous driving vehicle implements a differential privacy algorithm on the local model parameters to defend against the leader vehicle's model inversion attack and the attacker's eavesdropping attack, thereby effectively protecting the vehicle's data privacy. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 Schematic diagram of the secure federated learning system in the present invention.

[0038] Figure 2 Schematic diagram of the secure federated learning method in the present invention.

[0039] Figure 3 for Figure 2 Specific flow chart of step S200 in FIG.

[0040] Figure 4 for Figure 2 Specific flow chart of step S400 in FIG. DETAILED DESCRIPTION

[0041] The following is a further description of examples of the present invention in conjunction with the accompanying drawings.

[0042] In the schematic diagram of the secure federated learning system, Figure 1 As shown, a secure federated learning system in a quantum autonomous driving vehicle network includes a local training unit 100, a privacy protection unit 200, an intermediate layer aggregation unit 300, a quantum key distribution unit 400, and a global aggregation unit 500; the local training unit 100 needs to execute the privacy protection unit 200; the local training unit 100 is connected to the intermediate layer aggregation unit 300 through a wireless channel; the quantum key distribution unit 400 is respectively connected to the intermediate layer aggregation unit 300 and the global aggregation unit 500 through quantum channels; the intermediate layer aggregation unit 300 is connected to the global aggregation unit 500 through a wireless channel.

[0043] The local training unit 100 is responsible for performing local training in federated learning and is composed of autonomous driving vehicles participating in federated learning. The autonomous driving vehicle trains the local model based on the local data set and the global model parameters of the previous round to obtain the local model parameters. In terms of communication, the autonomous driving vehicle communicates with the RSU through the long-term evolution technology, and at the same time realizes communication between autonomous driving vehicles in a dedicated short-range communication mode.

[0044] The privacy protection unit 200 is used for privacy protection of local data of the local training unit 100. Specifically, the privacy protection unit mainly includes two privacy protection algorithms, a homomorphic encryption algorithm and a differential privacy algorithm. When RSU is available for intermediate model aggregation, the local training unit 100 performs a homomorphic encryption algorithm on the local model parameters to obtain encrypted local model parameters. When RSU is not available, the local training unit 100 elects one of the autonomous driving vehicles to act as the intermediate layer aggregation unit 300. At this time, the local training unit 100 performs a differential privacy algorithm on the local model parameters to obtain local model parameters containing noise.

[0045] The intermediate layer aggregation unit 300 is responsible for performing intermediate model aggregation in federated learning, and is composed of RSU and a leading vehicle. When the RSU is available, the RSU acts as the intermediate layer aggregation unit 300; when the RSU is not available, the leading vehicle acts as the intermediate layer aggregation unit 300. After receiving the local model parameters transmitted by the local training unit 100, the intermediate layer aggregation unit 300 performs intermediate model aggregation on these parameters to obtain the intermediate model parameters.

[0046] The quantum key distribution unit 400 is responsible for constructing a quantum communication channel between the middle-layer aggregation unit 300 and the global aggregation unit 500. Specifically, when the middle-layer aggregation unit 300 is an RSU, the middle-layer aggregation unit 300 and the global aggregation unit 500 implement quantum key distribution through optical fiber transmission; when the middle-layer aggregation unit 300 is a leading vehicle, the middle-layer aggregation unit 300 and the global aggregation unit 500 implement quantum key distribution through free space transmission.

[0047] The global aggregation unit 500 is responsible for performing global model aggregation in federated learning and is composed of base stations. After receiving the intermediate model parameters from the intermediate layer aggregation unit 300, the base station performs global model aggregation on these parameters to obtain global model parameters, and sends them to the local training unit 100 through the intermediate layer aggregation unit 300 to start the next round of model training.

[0048] Based on the above secure federated learning system, a specific method for secure federated learning is provided, such as Figure 2 As shown, the specific steps are as follows:

[0049] S100. The autonomous driving vehicle performs a local training process of federated learning using a local data set and obtains local model parameters;

[0050] Specifically, in the tth round of model iteration, the autonomous driving vehicle AV v i In the global model parameter ω t The goal is to train a local model based on the local dataset D by performing a stochastic gradient descent method. i Minimize the loss function f i (ω i ,D i ), and finally get the local model parameters

[0051] S200. The autonomous driving vehicle executes a privacy protection algorithm on the local model parameters and sends them to the middle layer aggregation unit 300 via wireless communication;

[0052] Further, combined with Figure 3 , step S200 comprises the following steps:

[0053] S210. Determine whether there is an RSU that can be used as the intermediate aggregation unit 300. If yes, execute step S220A branch:

[0054] S220A. RSU is used as the intermediate aggregation unit 300, which is responsible for completing the intermediate layer model aggregation;

[0055] Specifically, in the federated learning system, the set of RSUs is {1,…,k,…,K}. For RSU k, the set of autonomous driving vehicles it is responsible for is {1,…,i k These autonomous vehicles will use the local model parameters Upload to RSU k to complete the middle-layer model aggregation.

[0056] S230A. The autonomous driving vehicle executes a homomorphic encryption algorithm on the local model parameters to obtain encrypted local model parameters.

[0057] Specifically, the implementation of the homomorphic encryption algorithm is as follows:

[0058] Assume there are three integers N, q, λ, where N = 2λ and λ is a security parameter. Assume the polynomial ring is and Assume that the ring learning problem with error is, given any number of polynomial samples (a i ,b i ), solve for s. Among them, a i and s in is uniformly random, and e iFrom the error distribution. s (h) is {0,±1} N The set of signed binary vectors with Hamming weight h in . e (σ 2 )express The distribution of the vector in is independent of the variance σ 2 The discrete Gaussian distribution of χ r is uniformly distributed.

[0059] When generating homomorphic encryption keys, first s ,x r ,x e Sample s, a, and e from the distribution. Then, set M = 2L, where L is an integer and M is the ciphertext modulus. By calculating b = -a·s+e mod L, set the public key: pk←(b,a), and the private key: sk←(1,s).

[0060] When using public key encryption, first start from χ r Draw a random number r←χ from the distribution r , from χ e Sample two random numbers e from the distribution 0 ,e 1 ←χ e For plaintext m, the ciphertext c can be calculated as, c←r·pk+(m+e 0 ,e 1 )mod M. When transmitting ciphertext, just transmit (c,L).

[0061] When using the private key to decrypt, for the ciphertext Calculate c 0 +c 1 ·s mod 2 l , that is, decryption can be completed and the plaintext can be obtained.

[0062] When performing additive homomorphic encryption, for two ciphertexts c = ((c 0 ,c 1 ),l),c'=((c 0 ',c 1 '),l), perform addition: In other words, the plaintext can be added without decrypting the ciphertext. That's it.

[0063] The key management center generates a key (pk k ,sk k ) and distribute them to the autonomous driving vehicles {1,…,i k} and the global aggregation unit 500. The autonomous driving vehicle uses the public key pk k For local model parameters Encrypt to obtain the encrypted local model parameters

[0064] S240. The autonomous driving vehicle will encrypt the local model parameters Sent to RSU k.

[0065] If no RSU can be used as the intermediate aggregation unit 300 (for example, the autonomous driving vehicle is too far away from the RSU), the step S220B branch is executed:

[0066] S220B. Elect a leader vehicle from the autonomous driving vehicles as an intermediate aggregation unit, which is responsible for completing the intermediate layer model aggregation;

[0067] Specifically, in the federated learning system, the set of leading vehicles is {1,…,P,…,P}. The set of autonomous driving vehicles that the leading vehicle p is responsible for is {1,…,i p These autonomous vehicles will use the local model parameters Upload to the leader vehicle p to complete the intermediate layer model aggregation.

[0068] S230B. The autonomous driving vehicle executes a differential privacy algorithm on the local model parameters to obtain local model parameters with added noise.

[0069] Specifically, the definition of the differential privacy algorithm is as follows:

[0070] An algorithm satisfies (∈,δ)-differential privacy, then for any adjacent datasets D and D' they differ in at most one row, and for all have Where ∈ represents the privacy budget, which indicates the current privacy level, and δ is the relaxation coefficient, which defines the failure probability of ∈-differential privacy. Given that the data to be protected by federated learning are all numerical data, the Gaussian mechanism is introduced to ensure (∈,δ)-differential privacy. For the query function f, if it satisfies Then f' satisfies (∈,δ)-differential privacy, where is the added noise, which follows a Gaussian distribution and σ≥cΔf / ∈, where Δf satisfies The global sensitivity of the condition.

[0071] The autonomous vehicle allocates the local model parameters according to the privacy budget ∈ and the relaxation coefficient δ Add Gaussian noise to get the local model parameters containing noise

[0072] S240. The autonomous vehicle will contain noisy local model parameters Sent to leader vehicle l.

[0073] S300. Each intermediate layer aggregation unit 300 performs intermediate layer aggregation on the transmitted local model parameters to obtain intermediate model parameters;

[0074] Specifically, for RSU k, it can perform encrypted local model parameter Using the additive homomorphic mechanism, perform intermediate model aggregation to obtain the intermediate model parameters For the leading vehicle p, it can directly perform intermediate model aggregation to obtain the intermediate model parameters

[0075] S400. Each intermediate layer aggregation unit 300 establishes a quantum communication channel with the global aggregation unit 500, and obtains an encryption key through the quantum key distribution unit 400;

[0076] Further, combined with Figure 4 , step S400 comprises the following steps:

[0077] S410. The intermediate layer aggregation unit 300 and the global aggregation unit 500 complete the identity authentication using a pre-shared key;

[0078] S420. The intermediate layer aggregation unit 300 randomly selects a coding base, generates a corresponding quantum bit key according to a traditional bit key, and transmits it to the global aggregation unit 500 through a quantum channel;

[0079] The middle layer aggregation unit 300 randomly generates a series of classical bits, i.e., keys, and corresponding measurement bases, including orthogonal bases (+) and diagonal bases (×). In the orthogonal base (+), the single photon polarization states {0°, 90°} correspond to the classical binary bits {0, 1}, respectively. In the diagonal base (×), the single photon polarization states {+45°, -45°} correspond to {1, 0}, respectively. Then, the middle layer aggregation unit 300 uses the measurement base to encode the classical bits into single photon streams, i.e., quantum bits. The quantum bits will be sent to the global aggregation unit 500 through the quantum channel. Specifically, the transmission path from RSU to the global aggregation unit 500 is: RSU→ground satellite station→low-orbit satellite→global aggregation unit 500. The transmission path from the leader vehicle to the global aggregation unit 500 is: leader vehicle→drone→low-orbit satellite→global aggregation unit 500, wherein the drone acts as a relay node of the quantum channel, replenishing the photon energy without changing the state of the quantum bit.

[0080] S430. The global aggregation unit 500 randomly selects a measurement basis, measures the quantum bit, and restores it to a traditional bit;

[0081] The global aggregation unit 500 randomly selects a measurement basis, i.e., a right angle basis or a diagonal basis, for each qubit, and then uses the measurement basis to measure the qubit, and observe and record the polarization state of the photon.

[0082] S440. Both parties share the coding basis and the measurement basis, and select the bits with the same basis;

[0083] The intermediate layer aggregation unit 300 and the global aggregation unit 500 share the coding basis and the measurement basis through the wireless channel. The qubits with the same basis will be decoded into traditional bits, and the remaining qubits will be discarded.

[0084] S450. Both parties agree to take out a portion of bits with the same basis for comparison and calculate the quantum bit error rate. The bits used for comparison will be discarded;

[0085] After step S450, step S450A may be further included: determining whether the quantum bit error rate is less than a set threshold, if yes, executing step S460, if no, returning to step S420 to re-establish the quantum channel;

[0086] If the quantum bit error rate is greater than the set threshold, it means that there is an eavesdropper on the quantum channel, and the quantum channel should be re-established.

[0087] S460. Both parties perform error correction, verification and privacy amplification processes on the remaining bits with the same basis, and then combine these bits to obtain the encryption key.

[0088] S500. Each intermediate layer aggregation unit 300 encrypts the intermediate model parameters by an encryption key and uploads them to the global aggregation unit 500 via a wireless channel;

[0089] All RSUs and the leading vehicle encrypt the intermediate model parameters with the key obtained by quantum key distribution, and upload them to the global aggregation unit 500 through the wireless channel.

[0090] S600. The global aggregation unit 500 performs global model aggregation to obtain global model parameters.

[0091] After obtaining the encrypted intermediate model parameters of RSU k, the global aggregation unit 500 needs to use the key (pk k ,sk k )right Decrypt and get the plaintext Then, the global aggregation unit 500 processes the intermediate model parameters transmitted by the RSU. and the intermediate model parameters from the leading vehicle Perform global model aggregation to obtain a new round of global model parameters ω t+1 .

[0092] After step S600, step S600A may be included: determining whether the model performance meets the requirements or the number of iterations exceeds the set value. If yes, the process ends; if not, the process returns to step S100 to continue iterating the global model.

[0093] Specifically, if it is necessary to return to step S100 to continue the global model iteration, the global model aggregation unit 500 will use the intermediate layer model unit 300 to convert the global model parameters ω of the new round into t+1 Sent to the autonomous vehicle.

[0094] In summary, the secure federated learning system and method in the quantum autonomous driving vehicle network in the above embodiment of the present invention includes a local training unit, a privacy protection unit, an intermediate layer aggregation unit, a quantum key distribution unit, and a global aggregation unit; the local training unit needs to execute the privacy protection unit; the local training unit is connected to the intermediate layer aggregation unit through a wireless channel; the quantum key distribution unit is connected to the intermediate layer aggregation unit and the global aggregation unit respectively through a quantum channel; the intermediate layer aggregation unit is connected to the global aggregation unit through a wireless channel. The above embodiment method includes establishing a federated learning method in a quantum autonomous driving vehicle network to achieve secure training of the autonomous driving model; executing different privacy protection algorithms, namely, homomorphic encryption algorithm and differential privacy algorithm, respectively, according to whether there are roadside units that can be used as intermediate layer aggregation units; establishing quantum channels of different paths with the global aggregation unit according to the different entity objects of the intermediate layer aggregation unit to achieve secure transmission of model parameters.

[0095] The above describes the embodiments of the present invention in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Various changes can be made according to the purpose of the invention. Any changes, modifications, substitutions, combinations or simplifications made according to the spirit and principle of the technical solution of the present invention should be equivalent replacement methods. As long as they meet the purpose of the invention and do not deviate from the technical principles and inventive concepts of the present invention, they belong to the protection scope of the present invention.

Claims

1. A secure federated learning system in quantum autonomous driving vehicle networking, characterized in that: The system comprises a local training unit (100), a privacy protection unit (200), an intermediate layer aggregation unit (300), a quantum key distribution unit (400), and a global aggregation unit (500); the local training unit (100) needs to execute the privacy protection unit (200); the local training unit (100) is connected to the intermediate layer aggregation unit (300) via a wireless channel; the quantum key distribution unit (400) is respectively connected to the intermediate layer aggregation unit (300) and the global aggregation unit (500) via a quantum channel; the intermediate layer aggregation unit (300) is connected to the global aggregation unit (500) via a wireless channel; The local training unit (100) is responsible for executing local training in federated learning, and is composed of autonomous driving vehicles participating in federated learning; the privacy protection unit (200) is used for privacy protection of local data of the local training unit (100); the intermediate layer aggregation unit (300) is responsible for executing intermediate model aggregation in federated learning, and is composed of an RSU and a leading vehicle; the quantum key distribution unit (400) is responsible for building a quantum channel between the intermediate layer aggregation unit (300) and the global aggregation unit (500); the global aggregation unit (500) is responsible for executing global model aggregation in federated learning, and is composed of a base station; The privacy protection unit (200) includes two privacy protection algorithms, which are divided into a homomorphic encryption algorithm and a differential privacy algorithm according to whether an RSU can serve as an intermediate layer aggregation unit (300).

2. The secure federated learning system in quantum autonomous driving vehicle networking according to claim 1 is characterized in that: The quantum key distribution unit (400) needs to establish a quantum channel in the autonomous driving vehicle network to complete the secure transmission of the federated learning model parameters.

3. A secure federated learning method in quantum autonomous driving vehicle networking, characterized in that: The following steps are involved: S100. The autonomous driving vehicle performs a local training process of federated learning using a local data set and obtains local model parameters; S200. The autonomous driving vehicle executes a privacy protection algorithm on the local model parameters and sends the parameters to the middle layer aggregation unit (300) via wireless communication. S300. Each intermediate layer aggregation unit (300) performs intermediate layer aggregation on the transmitted local model parameters to obtain intermediate model parameters; S400. Each intermediate layer aggregation unit (300) establishes a quantum channel with the global aggregation unit (500) and obtains an encryption key through the quantum key distribution unit (400); S500. Each intermediate layer aggregation unit (300) encrypts the intermediate model parameters using an encryption key and uploads them to the global aggregation unit (500) via a wireless channel; S600. The global aggregation unit (500) performs global model aggregation to obtain global model parameters; The specific steps of step S200 are: S210. Determine whether there is an RSU that can be used as an intermediate aggregation unit (300). If yes, execute step S220A branch: S220A. RSU is used as an intermediate aggregation unit (300), which is responsible for completing the intermediate layer model aggregation; S230A. The autonomous driving vehicle performs a homomorphic encryption algorithm on the local model parameters to obtain encrypted local model parameters; S240. The autonomous driving vehicle sends the encrypted local model parameters to the RSU; If no RSU can be used as the intermediate aggregation unit (300), then execute step S220B branch: S220B. Elect a leader vehicle from the autonomous driving vehicles as an intermediate aggregation unit, which is responsible for completing the intermediate layer model aggregation; S230B. The autonomous driving vehicle executes a differential privacy algorithm on the local model parameters to obtain the local model parameters with added noise; S240. The autonomous driving vehicle sends the noisy local model parameters to the leading vehicle.

4. The secure federated learning method in quantum autonomous driving vehicle networking according to claim 3 is characterized in that: After step S600, step S600A is also included: judging whether the model performance meets the requirements or the number of iterations exceeds the set value, if yes, the process ends; if not, returning to step S100 to continue iterating the global model.

5. The secure federated learning method in quantum autonomous driving vehicle networking according to claim 3 is characterized in that: The specific steps of step S400 are: S410. The middle layer aggregation unit (300) and the global aggregation unit (500) complete identity authentication using a pre-shared key; S420. The intermediate layer aggregation unit (300) randomly selects a coding base, generates a corresponding quantum bit key according to a traditional bit key, and transmits the corresponding quantum bit key to the global aggregation unit (500) through a quantum channel; S430. The global aggregation unit (500) randomly selects a measurement basis, measures the quantum bit, and restores it to a traditional bit; S440. Both parties share the coding basis and the measurement basis, and select the bits with the same basis; S450. Both parties agree to take out a portion of bits with the same basis for comparison and calculate the quantum bit error rate. The bits used for comparison will be discarded. S460. Both parties perform error correction, verification and privacy amplification processes on the remaining bits with the same basis, and then combine these bits to obtain the encryption key.

6. The secure federated learning method in quantum autonomous driving vehicle networking according to claim 5 is characterized in that: After step S450, the method further includes step S450A: determining whether the quantum bit error rate is less than a set threshold value, if yes, executing step S460, if not, returning to step S420 to re-establish the quantum channel.