Method and system for federated learning training of neural networks for autonomous vehicles

By exchanging sensor data with nearby vehicles to create training datasets with teacher signals, the method addresses the lack of reliable training signals and privacy concerns in federated learning for autonomous vehicles, enhancing accuracy and privacy.

JP7553663B2Active Publication Date: 2024-09-18WOVEN BY TOYOTA INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023116729
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-01-26
Filing Date
2023-07-18
Publication Date
2024-09-18
Estimated Expiration
2043-07-18

AI Technical Summary

Technical Problem

Existing federated learning techniques for training neural networks in autonomous vehicles lack reliable training signals, leading to reduced accuracy in safety-critical applications due to the absence of human annotation, and there are concerns about user privacy when transmitting data.

Method used

A method involving vehicles exchanging sensor data with nearby vehicles to generate training datasets with teacher signals, training local models, and transmitting gradients to ensure privacy and improve accuracy.

Benefits of technology

Enhances the accuracy of neural network training in autonomous vehicles by leveraging local data from nearby vehicles while maintaining user privacy, reducing transmission overhead, and improving estimation confidence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553663000003
    Figure 0007553663000003
  • Figure 0007553663000001
    Figure 0007553663000001
  • Figure 0007553663000004
    Figure 0007553663000004
Patent Text Reader

Abstract

To provide a system for and a metho of providing a neural network with training of federated learning with maintaining safety and user privacy.SOLUTION: A method according to the present invention includes the steps of: receiving a first model, collecting sensor data acquired by a sensor on a first vehicle; when it is determined that a first data item satisfies a reference, specifying one data item among the collected sensor data; detecting an object included in the specified first data item by operating the first model with using the specified first data item as an input to the first model; establishing communication with a computer on a second vehicle positioned away from the first vehicle by a predetermined distance or shorter; receiving a second data item indicated as that including an object from the computer on the second vehicle; generating a training data set; training the first model on the training data set; and transmitting the first data indicating the trained first model.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates generally to systems and methods for providing training for neural networks in autonomous vehicle applications, and more particularly, to providing federated learning training for neural networks while maintaining safety and user privacy. [Background technology]

[0002] Neural networks may be integrated into applications deployed on many distributed edge devices (e.g., processors or computing devices implemented in hospitals or mobile phones). One method for training such neural networks is Federated Learning (FL), which trains machine learning (ML) models using large amounts of data while preserving user privacy.

[0003] To this end, the FL technique consists of a local training phase and a global aggregation phase. In the local training phase, each edge device trains its copy of the neural network with the data sensed and used by the application. By performing the training on the edge device, local data is not exposed or transmitted externally (e.g., to a remote coordinator or server), thereby ensuring data privacy for edge device users. Instead, only local updates to the neural network trained on the edge device are sent to the coordinator, which aggregates the updates to generate a new global model. The global model can then be provided to other edge devices for use in applications.

[0004] It is crucial that machine learning (ML) models integrated into safety-critical applications, such as computer vision (CL) or other machine learning (ML) applications (e.g., autonomous driving control) in autonomous vehicles, are trained on a large amount of data to ensure the accuracy of estimation and the safety of use in real-world environments. Although FL can be applied to these models, there is no reliable teacher signal (e.g., human annotation) for training in the vehicular context. As a result, the accuracy of estimation may be reduced when trained on local data in the vehicle. Summary of the Invention

[0005] SUMMARY OF THE DISCLOSURE In accordance with one or more exemplary embodiments, a system and method for providing driving information to non-driver users is provided.

[0006] According to an aspect of the disclosure, a method executed by one or more programmed processors includes receiving a first model from one or more server computers over a communications network; collecting sensor data acquired by a sensor on a first vehicle; identifying a first data item from the collected sensor data when the first data item is determined to satisfy a criterion; detecting an object included in the identified first data item by operating the first model using the identified first data item as an input to the first model; establishing communication with a computer on a second vehicle located within a predetermined distance from the first vehicle; receiving a second data item indicated as including an object from the computer on the second vehicle; generating a training dataset including the first data item, the second data item, and a label of the object as a teacher signal; training the first model on the training dataset; and transmitting first data representing the trained first model to one or more server computers over a communications network.

[0007] According to an aspect of the disclosure, a computing device includes a memory that stores instructions and a processor, the processor being configured to execute instructions to receive a first model from one or more server computers over a communications network; collect sensor data acquired by a sensor on a first vehicle; identify a first data item from the collected sensor data when it is determined that the first data item satisfies a criterion; detect an object included in the identified first data item by operating the first model using the identified first data item as an input to the first model; establish communication with a computer on a second vehicle located within a predetermined distance from the first vehicle; receive a second data item indicated as including the object from the computer on the second vehicle; generate a training dataset including the first data item, the second data item, and a label of the object as a teacher signal; train the first model on the training dataset; and transmit first data representing the trained first model to the one or more server computers over the communications network.

[0008] According to an aspect of the disclosure, a non-transitory computer-readable medium has instructions stored thereon, the instructions including one or more instructions that, when executed by one or more processors of the device, cause the one or more processors to perform the following: receiving a first model from one or more server computers over a communications network; collecting sensor data acquired by a sensor on the first vehicle; identifying a first data item from the collected sensor data when the first data item is determined to satisfy a criterion; detecting an object included in the identified first data item by operating the first model using the identified first data item as an input to the first model; establishing communication with a computer on a second vehicle located within a predetermined distance from the first vehicle; receiving a second data item indicated as including an object from the computer on the second vehicle; generating a training dataset including the first data item, the second data item, and a label of the object as a teacher signal; training the first model on the training dataset; and transmitting first data representing the trained first model to one or more server computers over a communications network.

[0009] Additional aspects will be set forth in part in the description that follows, or will be apparent from the description that follows, or may be learned from practice of illustrative embodiments of the present disclosure. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a diagram of a system according to an embodiment. [Diagram 2] FIG. 2 is a diagram of components of the autonomous vehicle of FIG. 1 according to an embodiment. [Diagram 3] FIG. 3 is a diagram of data processing associated with training neural networks for multiple autonomous vehicles, according to an embodiment. [Figure 4] FIG. 4 is a diagram of data processing associated with training a neural network for a single autonomous vehicle, according to an embodiment. [Diagram 5] FIG. 5 is a flow chart of a method for training a neural network for an autonomous vehicle according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The above and other aspects, features and modes of embodiments of the present disclosure will become more apparent from the following description taken in conjunction with the accompanying drawings.

[0012] The following detailed description of the exemplary embodiments refers to the accompanying drawings, in which the same reference numbers in different drawings identify the same or similar elements, and in which:

[0013] 1 is a diagram of a system 100 according to an embodiment. The system 100 includes a number of vehicles 110a-n and one or more server computers 120a-n. The one or more server computers 120a-n are connected to each other and to each of the vehicles 110a-n, for example, via a communications network 130.

[0014] The disclosed embodiments include receiving from one or more server computers 120. Server computers 120 as used in this disclosure include general purpose computers, personal computers, workstations, mainframe computers, notebooks, global positioning devices, laptop computers, smart phones, personal digital assistants, network servers, and other electronic devices that may interact with a user to develop programming code.

[0015] In some embodiments, the server computer 120 includes a processor, a display device, a memory device, and other components including these components that facilitate electronic communication. Other components include user interface devices such as input / output devices. The server computer 120 includes computer hardware components such as a central processing unit (CPU) or processor, a bus, memory devices, storage units, data processors, input devices, output devices, network interface devices, and combinations of other types of components apparent to those skilled in the art. The server computer 120 can further include application programs including software modules, sets of instructions, routines, data structures, display interfaces, and other types of structures that perform the operations of the present disclosure.

[0016] The disclosed embodiments include receiving over a communications network 130. A communications network as used in this disclosure includes a set of computers (e.g., one or more server computers 120) that share resources on or provided by a network node. The set of computers communicate with each other using a common communications protocol over digital interconnects. These interconnects consist of physical wired, optical, wireless, radio frequency based electrical communications technologies arranged in a variety of network topologies. For example, these interconnects are made through databases, servers, RF (radio frequency) signals, cellular technologies, Ethernet, telephone, "TCP / IP" (Transmission Control Protocol / Internet Protocol), and other electronic communications formats. For example, the network 130 may include a cellular network (e.g., a fifth generation (5G) network, a long term evolution (LTE) network, a third generation (3G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., a public switched telephone network (PSTN), a private network, an ad-hoc network, an intranet, the Internet, an optical fiber-based network, or equivalents thereof, and / or combinations thereof or other types of networks.

[0017] The number and arrangement of servers 120 and networks 130 shown in Figure 1 are provided as an example. In practice, there may be additional servers 120 and / or networks 130, fewer servers 120 and / or networks 130, different servers 120 and / or networks 130, or servers 120 and / or networks 130 arranged differently than those shown in Figure 1. Furthermore, two or more servers 120 shown in Figure 1 may be implemented within a single server 120, or a single server 120 shown in Figure 1 may be implemented as multiple distributed servers 130. Additionally or alternatively, a set of servers 120 (e.g., one or more servers 120) may perform one or more functions described as being performed by another set of servers 120.

[0018] In some embodiments, the communication network 130 is constructed as a neural network. A neural network is based on a collection of connected units or nodes called artificial neurons, loosely modeled on neurons in a biological brain. Each connection, like a synapse in a biological brain, can send a signal to another neuron. An artificial neuron receives and processes a signal, then sends the signal to other neurons connected to it. The signals in the connections are real numbers, and the output of each neuron is calculated by a nonlinear function of the sum of its inputs. The connections may be edges (like in the autonomous vehicle 110). Neurons and edges have weights that are adjusted as learning progresses. The weights increase or decrease the strength of the signal in the connection. Neurons have thresholds such that a signal is sent only if the aggregate signal exceeds that threshold. Neurons are aggregated into layers. Different layers perform different transformations on their inputs. Signals travel from the first layer (e.g., input layer) through potential hidden layers to the last layer (e.g., output layer), and may travel multiple times.

[0019] As described in more detail below, federated learning (FL) is used to train neural networks for safety-critical automotive applications by locally deriving reliable supervision signals using data obtained from nearby devices (e.g., autonomous vehicles 110). By applying FL, a large amount of data can be used to train the neural network, which increases the accuracy of the estimation. Furthermore, by applying FL, data privacy for the user (i.e., the operator of the vehicle 110) can be ensured. In addition, the accuracy of the estimation or prediction by the neural network can be increased by utilizing detection results from another edge device (e.g., another autonomous vehicle 110) to obtain reliable supervision signals.

[0020] A more detailed view of the vehicles 110 can be seen in Figure 2. Each of the vehicles 110 includes one or more sensors 112, one or more transceivers 114, and a vehicle computer 116.

[0021] The one or more transceivers 114 as used in this disclosure include one or more components (e.g., a transceiver and / or a separate receiver and transmitter) that enable the vehicle 110 to communicate with other vehicles 110 and / or one or more server computers 120, for example, via a wired connection, a wireless connection, or a combination of wired and wireless connections. The one or more transceivers 114 enable the vehicle 110 to receive information from and / or provide information to another vehicle 110 / server computer 120. For example, the one or more transceivers 114 may include an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi interface, a cellular network interface, or other interface capable of transmitting or receiving electrical / electromagnetic information.

[0022] As seen in FIG. 2, a vehicle computer 116 as used in this disclosure includes a bus (not shown), a memory 117, a processor 118, input components (not shown), and output components (not shown).

[0023] The bus includes components that enable communication between the components of the vehicle computer 116 .

[0024] Processor 118 may be implemented in hardware, firmware, or a combination of hardware and software. Processor 118 may be a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or another type of processing component. Processor 118 may include one or more processors that can be programmed to perform functions.

[0025] Memory 117 may include random access memory (RAM), read only memory (ROM), and / or another type of dynamic or static storage device (e.g., flash memory, magnetic memory, and / or optical memory) that stores information and / or instructions used by processor 118. Memory 117 also stores information and / or software related to the operation and use of vehicle computer 116. For example, memory 117 may include a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optical disk, and / or a solid-state disk), a compact disk (CD), a digital versatile disk (DVD), a floppy disk, a cartridge, a magnetic tape, and / or another type of non-transitory computer-readable medium along with a corresponding drive.

[0026] The input components include components that allow the vehicle computer 116 to receive information, for example, via user input (e.g., a touch screen display, a keyboard, a keypad, a mouse, a button, a switch, and / or a microphone), and sensors for sensing information (e.g., a Global Positioning System (GPS) component, an accelerometer, a gyroscope, and / or an actuator).

[0027] Output components include components that provide output information from the vehicle computer 116 (eg, a display, a speaker, and / or one or more light emitting diodes (LEDs)).

[0028] Vehicle computer 116 performs one or more processes described herein. Vehicle computer 116 performs operations based on processor 118 executing software instructions stored by a non-transitory computer readable medium, such as memory 117. A computer readable medium is defined herein as a non-transitory memory device. A memory device includes memory space within a single physical storage device or memory space spread across multiple physical storage devices.

[0029] The software instructions may be read into memory 117 from another computer-readable medium or another device via one or more transceivers 114. When executed, the software instructions stored in memory 117 cause processor 118 to perform one or more operations described herein.

[0030] Additionally or alternatively, hardwired circuitry may be used in place of or in combination with software instructions to perform one or more operations described herein, and thus, the embodiments described herein are not limited to any specific combination of hardware circuitry and software.

[0031] The disclosed embodiment includes receiving a first model 210a. The first model 210 as used in this disclosure includes a machine learning model. The machine learning model is configured to be integrated into applications running on an autonomous vehicle (such as the vehicle 110a). The applications running on the autonomous vehicle 110 are safety-critical applications such as computer vision, autonomous vehicle control, and other machine learning applications related to the operation of the autonomous vehicle 110. The autonomous vehicle control can include autonomous control of acceleration, braking, steering, gear shifting, and other systems that may affect the operation of the vehicle 110 through the vehicle's 110 environment.

[0032] In some embodiments, the first model 210a is associated with the detection of an object 140 encountered by the vehicle 110. An object may be another vehicle, a pedestrian, wildlife, a road hazard, or any other aspect of the environment that may interact with the vehicle 110. For example, in Figure 1, the object 140 is depicted as a bicycle on the road.

[0033] In some embodiments, the first model 210a is associated with a sensory interpretation. For example, one type of sensory interpretation includes image segmentation. Image segmentation divides a digital image into multiple image segments (e.g., image regions or image objects (a set of pixels)). Image segmentation simplifies and / or changes the display of an image to one that is more meaningful and / or easier to analyze. Image segmentation is used to locate objects and boundaries (e.g., lines and curves) in an image. Image segmentation involves assigning labels to various pixels in an image such that pixels with the same label share certain characteristics.

[0034] 1 and 2, the vehicle 110a receives the first model 210a via one or more transceivers 114 and stores the received first model 210a, for example, in a memory 117 of the vehicle computer 116 of the vehicle 110a. Similarly, the other vehicles 110b-n each receive models (e.g., the second model 210b, the third model 210c, the nth model 210n) similar to the reception of the first model 210a at their respective transceivers 114 and store the respective received models 210b-n, for example, in a memory 117 of the vehicle computer 116 of the other vehicles 110b-n.

[0035] The disclosed embodiments include collecting sensor data 220a acquired by one or more sensors 112 at the vehicle 110a. As used in this disclosure, a sensor 112 includes a camera, camcorder, microphone, lidar, or other device configured to collect the sensor data 220a. As used in this disclosure, sensor data 220a includes photographs, video recordings, audio recordings, lidar data, or other measurements of the vehicle 110a's surrounding environment. Similarly, other vehicles 110b-n each collect sensor data 220b-n via their respective sensors 112.

[0036] 1 and 2, vehicle 110a receives sensor data 220a via one or more sensors 112 and stores the received sensor data 220a, for example, in memory 117 of vehicle computer 116. Similarly, other vehicles 110b-n each store their collected sensor data 220b-n via their respective memories 117 of their vehicle computers 116.

[0037] The disclosed embodiment includes a first vehicle 110a. As used in this disclosure, the first vehicle 110a includes a car, van, truck, bus, motorcycle, moped, drone, robot, or other mobile device capable of full or partial autonomous movement.

[0038] As seen in FIG. 1 , the system 100 includes a plurality of vehicles 110a-n. Each of the vehicles 110a-n is substantially similar to some of the other vehicles 110a-n or different from some of the other vehicles 110a-n. In some embodiments, all of the vehicles 110a-n are autonomous vehicles of the same model having similar sensing and dynamic capabilities / configurations. In other embodiments, all of the vehicles 110a-n are autonomous vehicles of different models having a variety of different sensing and dynamic capabilities / configurations. In other embodiments, some of the vehicles 110a-n are similarly configured and other vehicles are differently configured.

[0039] The disclosed embodiment includes identifying a first data item 222a from among the collected sensor data 220a. The first data item 222a as used in this disclosure includes a subset of the sensor data 220a received by the vehicle 110a, which subset is useful for training the first model 210a to improve the accuracy of the estimation and the safety of use in a real-world environment. In a similar manner, as seen for example in FIG. 3, the other vehicles 110b-n include identifying other data items (e.g., the second data item 222b, the third data item 222c, the nth data item 222n) similar to identifying the first data item 222a.

[0040] The disclosed embodiment includes identifying when the first data item 222a is determined to meet a criterion. Criteria as used in this disclosure include (i) vehicle information (e.g., speed, steering, and braking) when the data is detected (e.g., speed above a predetermined speed, or braking when the speed is above a predetermined speed, steering above a predetermined degree or amount, steering above a predetermined amount when the speed is above a predetermined speed, or other conditions related to vehicle motion useful for training the first model 210); (ii) vehicle position (e.g., as determined by an inertial measurement unit (IMU), global positioning system (GPS), or other sensor used to determine the relative or absolute position / orientation of the vehicle 110a) when the data is detected, the time when the data is detected, driver monitor information when the data is transmitted; (iii) image recognition results (e.g., scene classification, variance in number of detected objects, road structure, or other meaningful characteristics of the environment around the vehicle 110a); (iv) uniqueness / clustering of image features; and (v) uncertainty metrics. (vi) and / or other recognizable characteristics that indicate usefulness in training the first model 210. In a similar manner, the other vehicles 110b-n identify when their respective data items 222b-n are determined to meet the criteria.

[0041] The disclosed embodiment includes detecting the object 140 contained in the identified first data item 222a. Detecting the object 140 as used in this disclosure includes locating the first data item 222a that indicates the real-world presence of the object 140 in the environment. Information regarding the real-world presence of the object 140 in the environment includes properties of the object including the position, orientation, size, speed, trajectory or other physical / behavioral characteristics of the object 140. In a similar manner, other vehicles 110b-n detect the object 140 by locating portions of their respective data items 222b-n that indicate the real-world presence of the object 140 in the environment.

[0042] As seen in FIG. 1, detecting the object 140 involves determining that a portion of the first data item 222a represents a bicycle traveling at a particular speed, in a particular direction, on a particular portion of the road.

[0043] The disclosed embodiments include running the first model 210a using the identified first data item 222a as an input to the first model 210a. In some embodiments, after (i) the first model 210a is received from the server computer 120 and stored in the memory 117 of the vehicle computer 116 of the vehicle 110a, and (ii) the first data item 222 is stored in the memory 117 and identified by the processor 118 of the vehicle 110a, the processor 118 inputs the first data item 222a into the first model 210a to detect the object 140 as a first estimation 224a. Running the first model results in the detection of the object 140 and generates the first estimation 224a having one or more particular confidence levels. These confidence levels indicate the degree to which the first model's 210a's perception of the presence, properties, and behavior of the object 140 matches the reality of the object 140 in a real-world environment. For example, after running the first data item 222a through the first model 210a, the processor 118 determines as a first estimate 224a with 90% confidence that a bicycle was detected traveling north at 20 miles per hour and with 80% confidence that the detected bicycle will continue on this trajectory. In a similar manner, as seen, for example, in FIG. 3, the other vehicles 110b-n run their respective received models 210b-n using their respective identified first data items 222b-n as inputs to generate estimates (e.g., second estimate 224b, third estimate 224c, nth estimate 224n). The confidence intervals of these other estimates 224b-n are, individually, similar to, less than, or greater than the first estimate 224a.

[0044] The disclosed embodiment includes establishing communications with the computer 116 on the second vehicle 110b. Establishing communications as used in this disclosure includes engaging in the exchange of electrical / electromagnetic information in a wired or wireless manner, for example, via the communications network 130, via a network separate from the communications network 130, as a separate stand-alone interconnect, or in any other manner suitable for the transfer of electronic data.

[0045] Depending on the circumstances, some embodiments may include establishing communications with additional vehicles 110. For example, as seen in Figure 1, a first vehicle 110a communicates with each of vehicles 110b and 110c (see arrows 222b and 222c).

[0046] The disclosed embodiment includes a second vehicle 110b located within a predetermined distance 150 from the first vehicle 110a. The predetermined distance 150 as used in this disclosure includes a geographic range in close proximity to the first vehicle 110a that is (i) long enough to obtain enough data to efficiently train a neural network, and (ii) sufficiently restricted to ensure data privacy for a user (e.g., the operator of the vehicle 110a). The length of the predetermined distance may be static or may vary depending on the relevant circumstances (e.g., the density of vehicles 110 in the environment). In some embodiments, the predetermined distance is only a few feet. In some embodiments, the predetermined distance is several miles.

[0047] 1, a first vehicle 110a is in close proximity to two other vehicles 110b and 110c within the predetermined distance 150, and yet another vehicle 110n is not within the predetermined distance 150 of the first vehicle 110a. In addition, as seen in FIG. 1, because vehicles 110b and 110c are within the predetermined distance 150 of the first vehicle 110a, communication has been established (e.g., via the transceiver 114 for each of the vehicles 110a-c) between the computer 116 of the first vehicle 110a and each of the computers 116 of the vehicles 110b and 110c (see arrows 222b and 222c). Additionally, as can be seen in FIG. 1, no communication was established between the computer 116 of vehicle 110a and the computer 116 of vehicle 110n because vehicle 110n was not within the predetermined distance 150 of the first vehicle 110a.

[0048] The disclosed embodiment includes receiving a second data item 222b from the computer 116 on the second vehicle 110b, the second data item 222b being indicated as including the object 140. As described above, the second data item 222b, as well as the first data item 222a associated with the first vehicle 110a, includes a subset of the sensor data 220b from the second vehicle 110b that is useful for training the second model 210b to improve the accuracy of the estimation and safety of use in a real-world environment.

[0049] In some embodiments, receiving the second data item 222b includes receiving the second data item 222b and an estimation result 224b of the second model 210b in the second vehicle 110b for detecting the object 140 in the second data item 222b.

[0050] Some embodiments include receiving additional data items 222. For example, as seen in Fig. 1, the first vehicle 110a receives both the second data item 222b and the third data item 222c because both vehicles 110b and 110c are within the predetermined distance 150 of the first vehicle 110a. Additionally, as seen in Fig. 1, the first vehicle 110a does not receive the nth data item because vehicle 110n is not within the predetermined distance 150 of the first vehicle 110a. In a similar manner, the other vehicles 110b-n also receive respective data items 222 from some of the vehicles 110 that are within the respective predetermined distances 150 of these other vehicles 110b-n.

[0051] In some embodiments, receiving the additional data item 222 includes receiving the additional data item 222 and an estimation result 224 of the additional model 210 in the additional vehicle 110 for detection of the object 140 in the additional data item 222.

[0052] The disclosed embodiment includes generating a training dataset 228a including a first data item 222a, a second data item 222b, and a label 226 of the object 140 (e.g., as seen in FIG. 4). Generating the training dataset 228a as used in the present disclosure includes aggregating relevant information of a useful aspect for training a machine learning model. The training dataset 228a includes other data items 222. For example, in the situation shown in FIG. 1, since only vehicles 110b and 110c are within the predetermined distance 150 of the vehicle 110a, the training dataset 228a does not include the n-th data item 222n, but includes the first data item 222a, the second data item 222b, and the third data item 222c. The label 226 of the object 140 as used in the present disclosure is a meaningful or useful characteristic of the object 140 that provides a context from which the machine learning model can learn. For example, the label corresponding to a bicycle includes two wheels, pedals, or handlebars. Similarly, as seen in FIG. 3, for example, other vehicles 110b-n generate their own training datasets (e.g., training dataset 224b, training dataset 224c, training dataset 224n) that include labels 226 and generated or received data items 222 corresponding to each vehicle 110b-n.

[0053] The disclosed embodiment includes generating a training data set 228a as a teacher signal. A teacher signal as used in this disclosure includes training examples having an input and a desired output value. The input includes a first data item 222a and a second data item 222b (e.g., as seen in FIG. 4). The input includes other data items 222. For example, in the situation shown in FIG. 1, since only vehicles 110b and 110c are within the predetermined distance 150 of vehicle 110a, the input does not include the n-th data item 222n, but includes the first data item 222a, the second data item 222b, and the third data item 222c. The desired output value includes the label 226 of the object 140. Similarly, the training data set 228b-n associated with vehicles 110b-n is also generated as a teacher signal.

[0054] In some embodiments, generating the training data set 228 (e.g., as seen in FIGS. 1 and 4 ) includes obtaining a label 226 for the object 140 by combining an estimation result (e.g., a first estimation 224a) of the first model 210a with an estimation result (e.g., a second estimation 224b) of the second model 210b in the second vehicle 110b that detects the object 140 in the second data item 222b. This fusion of the estimation results 224a, 224b (i.e., the estimation results 224 from the first model 210a and the second model 210b) results in rich label information about the object 140. Obtaining the label 226 includes fusion of additional estimations 224. 1, only vehicles 110b and 110c are within the predetermined distance 150 of vehicle 110a, so the label 226 is obtained by combining the first estimate 224a, the second estimate 224b, and the third estimate 224c, rather than the fourth estimate 224d. In this regard, when there is a mismatch between the estimation results 224 of different edge models 210, the vehicle 110 determines the estimation result with the highest confidence score for the teacher signal, or determines the estimation result that is most frequently seen among the multiple estimation results for the teacher signal.

[0055] The disclosed embodiment includes training the first model 210a on the training data set 228a. Training as used in this disclosure includes a local training phase associated with FL. As seen in FIG. 4, training the first model 210a with the training data set 228a results in the generation of a trained first model 230a. The trained first model 230a can generate estimates with a higher confidence level than the untrained first model 210a. For example, the processor 118, after running the first data item 222a through the trained first model 230a, determines as the trained first estimate with 95% confidence (up from 90% using the original first model 210a) that a bicycle was detected traveling north at 20 miles per hour, and with 85% confidence (up from 80% using the original first model 210a) that the detected bicycle will continue on this trajectory. Similarly, the other vehicles 110b-n train their respective edge models 210b-n on their respective generated training datasets 228b-n to generate trained edge models 230b-n.

[0056] In some embodiments, training the first model 210a includes training a copy of the received first model 210a. By training a copy of the first model 210a, the original first model 210a is preserved after training. Thus, the performance of the original first model 210a can be compared with the performance of the trained first model 230a so that the models 210a, 230a capable of generating estimates with a high confidence level can be used in the future. Similarly, the other vehicles 110b-n train themselves on copies of their respective edge models 210b-n.

[0057] The disclosed embodiment includes transmitting the first data 240a representing the trained first model 230a to one or more server computers 120 via the communication network 130. In contrast to transmitting the training data set 228a to one or more servers 120 for training, transmitting the first data 240a representing the trained first model 230a (obtained by training locally) can protect the privacy of the user's data. Similarly, as seen in FIG. 3, the other vehicles 110b-n generate their own data (e.g., second data 240b, third data 240b, nth data 240n) that is then transmitted to one or more servers 120.

[0058] The disclosed embodiment includes obtaining gradients 232a between the pre-trained first model 210a and the trained first model 230a as the first data 240a. The gradients 232a as used in this disclosure include update parameters (e.g., weights) that represent the difference between the first model 210a and the trained first model 230a. By transmitting only the gradients 232a rather than the entire updated / trained model 230a, the transmission overhead can be reduced, which can improve the performance of the communication network 130. Similarly, the other vehicles 110b-n obtain gradients 232b-n between their respective edge models 210b-n and the trained edge models 230b-n as their respective data 240b-n, which are then transmitted to one or more servers 120.

[0059] The disclosed embodiment includes receiving update data 250a from one or more server computers 120 via the communication network 130, the update data 250a representing a model trained using model information aggregated from other edge models. As used in this disclosure, the update data 250a includes the results of a global aggregation phase associated with the FL. For example, the one or more server computers 120 aggregate data 240a-n (e.g., trained models 230a-n or gradients 232a-n) received from each of the multiple edge vehicles 110a-n for the first model 210a and update the first model 210a accordingly. The update data 250a represents the updated first model itself or the gradient between the updated first model and the original first model 210a. Similarly, the other vehicles 110b-n each receive the update data 250b-n. Update data 250b-n represent updates to each model 210b-n based on an aggregation of data 240a-n for each model 210b-n. Update data 250b-n may be substantially identical to or different from update data 250a. In some embodiments, update data 250a is transmitted from one or more server computers 120 to each of edge vehicles 110a-n.

[0060] The disclosed embodiment includes updating the first model 210a based on the update data 250a. After updating the first model 210a (and potentially the trained first model 230a, if both copies are stored in the memory 117) with the update data 250a, the updated first model can generate estimates with a higher confidence level relative to both the original first model 210a and the trained first model 230a. For example, after running the first data item 222a through the updated first model, the processor 118 determines, as an updated first estimate, with 98% confidence (up from 95% using the trained first model 230a and 90% using the original first model 210a) that a bicycle traveling north at 20 miles per hour has been detected, and with 90% confidence (up from 85% using the trained first model 230a and 80% using the original first model 210a) that the detected bicycle will continue on this trajectory. Similarly, the other vehicles 110b-n each update their respective edge models 210b-n using the update data 250b-n. Alternatively, the other vehicles 110b-n may update their respective edge models 210b-n using the update data 250a.

[0061] FIG. 5 is a flow chart of a method for providing a FL for training a neural network for an autonomous vehicle according to an embodiment. Referring to FIG. 5, in operation 302, the system receives a first model from one or more server computers via a communication network. In operation 304, the system collects sensor data acquired by a sensor on the first vehicle. In operation 306, the system identifies a first data item from the collected sensor data when it is determined that the first data item satisfies a criterion. In operation 308, the system detects an object included in the identified first data item by running the first model using the identified first data item as an input to the first model. In operation 310, the system establishes communication with a computer on a second vehicle located within a predetermined distance from the first vehicle. In operation 312, the system receives a second data item indicated as including an object from the computer on the second vehicle. In operation 314, the system generates a training dataset including the first data item, the second data item, and a label of the object as a teacher signal. In operation 316, the system trains the first model on the training data set. In operation 318, the system transmits first data representing the trained first model over a communications network to one or more server computers.

[0062] It will be understood that one or more operations of the methods described above may be omitted or combined with other operations, and one or more additional operations may be added.

[0063] Using the above method, several advantages over conventional autonomous vehicle training techniques are realized. By training locally, as opposed to sending training data to a coordinator, privacy of user data is ensured. By utilizing estimation results from one or more nearby vehicles and fusing the estimation results at the local edge device to obtain a teacher signal, training can be performed in a vehicular context where a teacher signal is not easily or practically achievable, improving the accuracy of the estimation. By transmitting only gradients rather than the updated / trained model, the transmission overhead is reduced, thereby improving the performance of the communication network. By aggregating updates to the ML model from multiple edge devices, the ML model can be efficiently trained with a large amount of data, thereby improving performance (accuracy of estimation).

[0064] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the implementation to the precise form disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the implementations.

[0065] As used herein, the term "component" is intended to broadly comprise hardware, firmware, or a combination of hardware and software.

[0066] It will be apparent that the systems and / or methods described herein may be implemented in various forms of hardware, firmware, or a combination of hardware and software. The actual specialized control hardware or software code used to implement the systems and / or methods is not intended to limit the implementation. Thus, the operation and behavior of the systems and / or methods are described herein without reference to specific software code, and it will be understood that software and hardware may be designed to implement the systems and / or methods based on the description herein.

[0067] Although particular combinations of features are recited in the claims and / or disclosed in the specification, these combinations are not intended to limit the disclosure of possible implementations. Indeed, many of these features can be combined in ways not specifically recited in the claims and / or disclosed in the specification. Although each dependent claim listed below depends directly on only one claim, the disclosure of possible implementations includes each dependent claim in combination with every other claim in the claim set.

[0068] No element, act, or instruction used herein should be construed as critical or required unless expressly stated. Also, as used herein, the articles "a" and "an" are intended to include one or more items and may be used interchangeably with "one or more." Additionally, as used herein, the term "set" is intended to include one or more items (e.g., related items, unrelated items, a combination of related and unrelated items, etc.) and may be used interchangeably with "one or more." When only one item is intended, the term "a" or similar language is used. Also, as used herein, the term "having" or similar language is intended to be an open-ended term. Additionally, the phrase "based on" is intended to mean "based at least in part on" unless expressly specified to the contrary.

[0069] An expression such as "at least one," when preceding a list of elements, modifies the entire list of elements and not each individual element of the list. For example, the expression "at least one of a, b, and c" should be understood to include a only, b only, c only, both a and b, both a and c, both b and c, all of a, b, and c, or any variation of the foregoing examples.

[0070] Although terms such as "first", "second", etc. are used to describe various elements, such elements should not be limited to the above terms. The above terms may be used only to distinguish one element from another element.

Claims

1. 1. A method executed by one or more programmed processors, comprising: receiving a first model over a communications network from one or more server computers; collecting sensor data acquired by a sensor on a first vehicle; identifying a first data item from the collected sensor data when it is determined that the first data item satisfies a criterion; detecting an object contained in the identified first data item by running the first model using the identified first data item as an input to the first model; establishing communication with a computer on a second vehicle located within a predetermined distance of the first vehicle; receiving a second item of data from the computer on the second vehicle, the second item of data being indicated as including the object; generating a training data set including the first data item, the second data item, and a label of the object as a teacher signal; training the first model on the training data set; transmitting first data representing the trained first model over the communications network to the one or more server computers; A method comprising:

2. receiving update data from the one or more server computers over a communications network, the update data representing a model trained using model information aggregated from other edge models; updating the first model based on the update data; and The method of claim 1 further comprising:

3. The method of claim 1 or 2, wherein training the first model comprises training a copy of the received first model.

4. The method of claim 1 or 2, further comprising obtaining as the first data a gradient between the first model before the training and the first model after the training.

5. The method of claim 3 , further comprising obtaining, as the first data, gradients between the received first model and a copy of the first model updated by the training.

6. 3. The method of claim 1 or 2, wherein receiving the second data item comprises receiving the second data item and an estimation result of a second model in the second vehicle for the detection of the object in the second data item.

7. 3. The method of claim 1 or 2, wherein generating the training dataset comprises obtaining labels of the objects by combining estimation results of the first model and estimation results of a second model on the second vehicle that detects the objects in the second data items.

8. A memory for storing instructions; Processor and A computing device comprising: The processor, receiving a first model over a communications network from one or more server computers; Collecting sensor data acquired by sensors on the first vehicle; identifying a first data item from the collected sensor data when it is determined that the first data item satisfies a criterion; detecting an object contained in the identified first data item by running the first model using the identified first data item as an input to the first model; establishing communication with a computer on a second vehicle located within a predetermined distance of the first vehicle; receiving a second item of data from the computer on the second vehicle, the second item of data being indicated as including the object; generating a training data set including the first data item, the second data item, and a label of the object as a teacher signal; training the first model on the training data set; a computing device configured to execute the instructions to transmit first data representing the trained first model over the communications network to the one or more server computers.

9. The processor further comprises: receiving update data from the one or more server computers over a communications network, the update data representing the model trained using model information aggregated from other edge models; The computing device of claim 8 , configured to execute the instructions for updating the first model based on the update data.

10. 10. A computing device according to claim 8 or 9, wherein the instructions for training the first model comprise instructions for training a copy of the received first model.

11. 10. The computing device of claim 8 or 9, wherein the processor is further configured to execute the instructions to obtain as the first data a gradient between the first model before the training and the first model after the training.

12. 11. The computing device of claim 10, wherein the processor is further configured to execute the instructions to obtain, as the first data, gradients between the received first model and a copy of the first model updated by the training.

13. 10. The computing device of claim 8 or 9, wherein the instructions for receiving the second data item include instructions for receiving the second data item and an estimation result of a second model in the second vehicle for detection of the object in the second data item.

14. 10. The computer device of claim 8 or 9, wherein the instructions for generating the training dataset include instructions for obtaining labels of the objects by combining estimation results of the first model and estimation results of a second model on the second vehicle that detects the objects in the second data items.

15. A non-transitory computer-readable medium storing instructions, comprising: The instruction: receiving a first model over a communications network from one or more server computers; collecting sensor data acquired by a sensor on a first vehicle; identifying a first data item from the collected sensor data when it is determined that the first data item satisfies a criterion; detecting an object contained in the identified first data item by running the first model using the identified first data item as an input to the first model; establishing communication with a computer on a second vehicle located within a predetermined distance of the first vehicle; receiving a second item of data from the computer on the second vehicle, the second item of data being indicated as including the object; generating a training data set including the first data item, the second data item, and a label of the object as a teacher signal; training the first model on the training data set; transmitting first data representing the trained first model over the communications network to the one or more server computers; A non-transitory computer-readable medium comprising one or more instructions that, when executed by one or more processors of a device, cause the one or more processors to execute.

16. The instructions may further include: receiving update data from the one or more server computers over a communications network, the update data representing a model trained using model information aggregated from other edge models; updating the first model based on the update data; and 20. The non-transitory computer-readable medium of claim 15, comprising one or more instructions that, when executed by one or more processors of a device, cause the one or more processors to execute:

17. 17. The non-transitory computer-readable medium of claim 15 or 16, wherein causing the one or more processors to train the first model comprises causing the one or more processors to train a copy of the received first model.

18. 17. The non-transitory computer-readable medium of claim 15 or 16, wherein the instructions further include one or more instructions that, when executed by one or more processors of the device, cause the one or more processors to obtain as the first data a gradient between the first model before the training and the first model after the training.

19. 20. The non-transitory computer-readable medium of claim 18, wherein causing the one or more processors to receive the second data item includes causing the one or more processors to receive the second data item and an estimation result of a second model in the second vehicle in response to detection of the object in the second data item.

20. 17. The non-transitory computer-readable medium of claim 15 or 16, wherein causing the one or more processors to generate the training data set includes causing the one or more processors to obtain labels of the objects by combining estimation results of the first model and estimation results of a second model for the second vehicle that detects the objects in the second data items.

Citation Information

Patent Citations

  • Automatic driving training method and device based on federated learning and medium

    CN112052959A

  • Dynamic weight updating for neural network

    JP2022171603A