Computer-implemented method for training a machine learning model
By generating sensor data embeddings in vehicles and performing local training that meets correlation criteria, the problems of record archiving and control in decentralized learning are solved, enabling automated development and centralized evaluation of machine learning models, and improving data privacy and compliance.
Patent Information
- Application Number
- CN202610736733.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-05-26
- Filing Date
- 2026-05-26
- Publication Date
- 2026-11-27
AI Technical Summary
Existing decentralized training frameworks cannot provide systematic recording, archiving, and control during the training process of machine learning models, making it difficult to guarantee data privacy, compliance, and traceability, especially in the context of autonomous or semi-autonomous driving.
By generating sensor data embeddings in vehicles and satisfying defined correlation criteria, and then transmitting the embeddings and model updates to remote entities after local training, the decentralized learning process can be recorded, archived, and controlled, supporting centralized evaluation and retraining of the model.
It implements an automated and decentralized development process for machine learning models, providing contribution tracking, incentive mechanisms, activity logs, compliance management, and reproducibility, improving data privacy and model performance, and supporting centralized evaluation and retraining of models.
Smart Images

Figure CN123180271A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of machine learning. Specifically, it relates to methods and apparatus for training machine learning models in a decentralized manner. Background Technology
[0002] Modern vehicles are increasingly equipped with advanced sensors, computing platforms, and connectivity technologies, enabling them to generate massive amounts of data during daily operation. This data provides valuable input for training machine learning models used in autonomous driving (AD) functions, such as improving features like environmental perception, traffic prediction, trajectory planning, and driver assistance.
[0003] In traditional machine learning workflows, raw data is collected from distributed sources and centralized for training. However, increasing concerns about data privacy, bandwidth limitations, and regulatory compliance have led to the use of decentralized training methods such as federated learning, group learning, and edge / on-device learning. This technology is particularly relevant in the automotive industry, as connected vehicles generate vast amounts of sensor data across diverse operating conditions.
[0004] In decentralized (or distributed) learning schemes, individual vehicles (or edge devices) perform training locally based on their own data to generate model updates. Only the resulting model adjustments (not the original data itself) are transmitted to a central coordination system, which then distributes global updates of the model by aggregating local updates. This enables applicable products built upon these models to achieve an automatic and rapid closed-loop improvement process.
[0005] While decentralized training methods can help address certain issues such as data privacy and computational resources, they introduce new complexities in tracking, archiving, and managing the training process to achieve traceability, reproducibility, and verifiability. This is crucial for ensuring product compliance and credibility. However, existing decentralized training frameworks typically focus on model aggregation and data privacy, offering little to no support for systematic recording and archiving throughout the entire training process.
[0006] Accordingly, there is a need for novel and improved solutions for decentralized learning of machine learning models, and in particular, a solution that enables the recording, archiving and control of the decentralized training process across vehicle fleets. Summary of the Invention
[0007] This disclosure seeks to mitigate, alleviate, or eliminate one or more of the deficiencies and shortcomings identified above in the prior art to address various issues related to record archiving in decentralized learning of machine learning models (particularly in the context of autonomous or semi-autonomous driving). This disclosure enables seamless switching between decentralized learning methods at the edge and centralized training. It also enables record archiving of all training already conducted within the fleet, the data associated with this training, and the control history of training versions distributed throughout the fleet. This promises to enable federated learning with improved reliability and safety in the AD / ADAS context, as it can restart in a centralized training manner.
[0008] Various aspects and embodiments of the technology disclosed herein are defined below and in the appended independent and dependent claims.
[0009] According to a first aspect, a computer-implemented method for training a machine learning model, executed in a vehicle, is provided. The method includes obtaining sensor data samples related to the vehicle's surrounding environment from one or more sensors of the vehicle. The method further includes generating one or more sensor data embeddings associated with the sensor data samples. The one or more sensor data samples are representations of the sensor data samples in a multidimensional space, generated by processing the sensor data samples using one or more sensor data encoding networks trained to process the sensor data samples and output corresponding sensor data embeddings in the multidimensional space. The method further includes determining whether the sensor data samples satisfy a defined correlation criterion. The method further includes, in response to the sensor data samples satisfying the defined correlation criterion, training a machine learning model using the sensor data samples to generate a local update of the machine learning model. The method further includes transmitting information indicating the local update of the machine learning model and the one or more sensor data embeddings to a remote entity. This aspect of the present disclosure possesses similar advantages and preferred features to other aspects.
[0010] According to a second aspect, a computing device for training a machine learning model in a vehicle is provided. The computing device includes control circuitry. The control circuitry is configured to acquire sensor data samples related to the vehicle's surrounding environment from one or more sensors of the vehicle. The control circuitry is further configured to generate one or more sensor data embeddings associated with the sensor data samples. The one or more sensor data embeddings are representations of the sensor data samples in a multidimensional space, generated by processing the sensor data samples using one or more sensor data encoding networks trained to process the sensor data samples and output corresponding sensor data embeddings in the multidimensional space. The control circuitry is further configured to determine whether the sensor data samples satisfy a defined correlation criterion. The control circuitry is further configured to, in response to the sensor data samples satisfying the defined correlation criterion, use the sensor data samples to train a machine learning model, thereby generating a local update of the machine learning model. The control circuitry is further configured to transmit information indicating the local update of the machine learning model and the one or more sensor data embeddings to a remote entity. This aspect of the present disclosure possesses similar advantages and preferred features to other aspects.
[0011] According to a third aspect, a vehicle is provided that includes a computing device according to any embodiment of the second aspect. This aspect of the present disclosure possesses similar advantages and preferred features as other aspects.
[0012] According to a fourth aspect, a computer-implemented method for training a machine learning model is provided. The method includes obtaining information from one or more vehicles indicating one or more local updates of a machine learning model generated by training the model on sensor data samples obtained in the respective vehicles, and one or more sensor data embeddings associated with the sensor data samples used for said training. Each sensor data embedding is a representation of the sensor data sample in a multidimensional space, generated by processing the sensor data sample using one or more sensor data encoding networks trained to process the sensor data sample and output a corresponding sensor data embedding in the multidimensional space. The method further includes storing the one or more sensor data embeddings as archival information for training the machine learning model. This aspect of the present disclosure possesses similar advantages and preferred features to other aspects.
[0013] According to a fifth aspect, a computing device for training a machine learning model is provided. The computing device includes control circuitry. The control circuitry is configured to obtain from one or more vehicles information indicating one or more local updates of a machine learning model generated by training the model on sensor data samples obtained in the respective vehicles, and one or more sensor data embeddings associated with the sensor data samples used for said training. Each sensor data embedding is a representation of the sensor data sample in a multidimensional space, generated by processing the sensor data sample using one or more sensor data encoding networks trained to process the sensor data sample and output a corresponding sensor data embedding in the multidimensional space. The control circuitry is further configured to store the one or more sensor data embeddings as archival information for training the machine learning model. This aspect of the present disclosure possesses similar advantages and preferred features to other aspects.
[0014] According to a sixth aspect, a computer program product is provided, including instructions that, when executed by a computing device, cause the computing device to perform a method according to any embodiment of the first aspect or a method according to any embodiment of the fourth aspect. According to an alternative embodiment of the sixth aspect, a (non-transitory) computer-readable storage medium is provided. This non-transitory computer-readable storage medium stores one or more programs configured to be executed by one or more processors of a processing system, the one or more programs including instructions for performing a method according to any embodiment of the first or fourth aspect. Through this aspect of the present disclosure, similar advantages and preferred features as those of other aspects exist.
[0015] As used herein, the term "non-transitory" is intended to describe computer-readable storage media (or "memory") that do not include the propagation of electromagnetic signals, but is not intended to otherwise limit the type of physical computer-readable storage device covered by the term "computer-readable medium or memory." For example, the terms "non-transitory computer-readable medium" or "tangible memory" are intended to cover types of storage devices that do not necessarily store information permanently, including, for example, random access memory (RAM). Program instructions and data stored in a non-transitory form on a tangible computer-accessible storage medium can be further transmitted via transmission media or signals (such as electrical signals, electromagnetic signals, or digital signals) that can be transmitted via communication media such as networks and / or wireless links. Therefore, the term "non-transitory" as used herein is a limitation on the medium itself (i.e., tangible, not signaling), rather than a limitation on the persistence of data storage (e.g., RAM versus ROM).
[0016] The disclosed aspects and preferred embodiments can be suitably combined with each other in any manner that is obvious to those skilled in the art, such that one or more features or embodiments disclosed with respect to one aspect may also be considered as disclosed with respect to embodiments of another aspect or another aspect.
[0017] One advantage of some embodiments is that it can provide an automated and decentralized development process that utilizes the fleet's machine learning models, while guiding its actions through the embedding of provided sensor data, and supporting centralized evaluation and retraining of the models through record archiving and control.
[0018] Its further advantage lies in the fact that it can reduce development time through targeted learning methods.
[0019] The archiving of records in decentralized learning schemes further benefits from enabling contribution tracking (e.g., information about which vehicles or data sources have the greatest impact on local updates), incentive mechanisms (e.g., promoting further development), activity logs (e.g., maintaining detailed records of training events), compliance management (e.g., ensuring all training activities are recorded to meet regulatory or legal obligations), model record archiving (e.g., recording the complete history of how the model has evolved over time, including intermediate versions), and reproducibility and verifiability (e.g. enabling future validation activities by maintaining a complete and reliable record of the training lifecycle).
[0020] A further related advantage is that data can be transmitted and stored more efficiently. For example, sensor data embedding provides a spatially efficient representation of the data used during training, which also improves data privacy. This disclosure further provides a method for primarily transmitting and storing used sensor data samples that contribute most to performance improvements of machine learning models, thereby utilizing available bandwidth more effectively.
[0021] Other embodiments are defined in the dependent claims. It should be emphasized that, when used in this specification, the term "comprising / including" is used to indicate the presence of a described feature, integral, step, or component. It does not exclude the presence or addition of one or more other features, integrals, steps, components, or groups thereof.
[0022] These and other features and advantages of the disclosed technology will be further illustrated below with reference to the embodiments described herein. Attached Figure Description
[0023] When used in conjunction with the accompanying drawings, the foregoing aspects, features, and advantages of the disclosed technology will be more fully appreciated by referring to the following illustrative and non-limiting detailed description of exemplary embodiments of the present disclosure, wherein:
[0024] Figure 1 It is a schematic flowchart representation of a method according to some embodiments;
[0025] Figures 2A to 2D This is a schematic flowchart illustrating another method according to some embodiments;
[0026] Figure 3 These are schematic diagrams of a computing device based on some embodiments;
[0027] Figure 4 This is a schematic diagram of another computing device according to some embodiments;
[0028] Figure 5 These are schematic diagrams of vehicles based on some embodiments;
[0029] Figure 6 These are schematic diagrams of a system based on some embodiments;
[0030] Figure 7 This is a block diagram illustrating some embodiments of the technology disclosed herein. Detailed Implementation
[0031] This disclosure will now be described in detail with reference to the accompanying drawings, in which some exemplary embodiments of the disclosed technology are illustrated. However, the disclosed technology may be embodied in other forms and should not be construed as limited to the exemplary embodiments disclosed. The exemplary embodiments disclosed are provided to fully convey the scope of the disclosed technology to those skilled in the art. Those skilled in the art will appreciate that the steps, services, and functions explained herein can be implemented using separate hardware circuitry, software that works in conjunction with a programmable microprocessor or general-purpose computer, one or more application-specific integrated circuits (ASICs), one or more field-programmable gate arrays (FPGAs), and / or one or more digital signal processors (DSPs).
[0032] It will also be appreciated that when this disclosure is described as a method, it can also be embodied in an apparatus including one or more processors and one or more memories coupled to the one or more processors, in which computer code is loaded to implement the method. For example, in some embodiments, the one or more memories may store one or more computer programs that, when executed by the one or more processors, cause the apparatus to perform the steps, services, and functions disclosed herein.
[0033] It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. It must be noted that, as used in this specification and the appended claims, the words “a,” “an,” “the,” and “the” are intended to indicate the presence of one or more elements, unless the context explicitly specifies otherwise. Therefore, for example, in certain contexts, references to “a unit” or “the unit” may refer to more than one unit, etc. Furthermore, the terms “comprising,” “including,” and “containing” do not exclude other elements or steps. It should be emphasized that, when used in this specification, the term “comprising / containing” is used to indicate the presence of the described feature, integral, step, or component. It does not exclude the presence or addition of one or more other features, integrals, steps, components, or groups thereof. The term “and / or” should be interpreted as meaning “both” and each as an alternative.
[0034] It will also be understood that although the terms first, second, etc., may be used herein to describe various elements or features, these elements should not be limited by these terms. These terms are used only to distinguish one element from another. For example, a first vehicle may be referred to as a second vehicle, and similarly, a second vehicle may be referred to as a first vehicle, without departing from the scope of the embodiments. Both the first vehicle and the second vehicle are vehicles, but they are not the same vehicle unless otherwise stated.
[0035] As used herein, the phrase “one or more of a set of elements” (such as “one or more of A, B, and C” or “at least one of A, B, and C”) should be interpreted as conjunction or disjunction logic. In other words, it can refer to all elements in a set of elements, one element in a set of elements, or a combination of two or more elements in a set of elements. For example, the phrase “one or more of A, B, and C” can be interpreted as A or B or C; A and B and C; A and B; B and C; or A and C.
[0036] The term "obtain" should be interpreted broadly herein and encompasses the direct and / or indirect receiving, retrieving, collecting, and acquiring of information between two entities configured to communicate with each other or further with other external entities. However, in some embodiments, the term "obtain" should be interpreted as determining, deriving, forming, calculating, etc.
[0037] As used herein, the term "if" can be interpreted, depending on the context, as meaning "when," "once," or "in response to." Similarly, the phrases "if determined to be," "when determined to be," or "in the case of," can be interpreted, depending on the context, as meaning "once determined to be," "in response to being determined to be," "once the occurrence of the event is detected and identified," or "in response to the detection of the occurrence of the event." Accordingly, the phrase "if X equals Y" can be interpreted, depending on the context, as "when X equals Y," "when determined to be X equals Y," "in response to X equals Y," or "in response to the detection / determination of X equals Y."
[0038] Overview
[0039] As explained above, the technology disclosed herein relates to controlled decentralized learning (also known as distributed learning) of machine learning models. It is based, at least in part, on the use of embedding-based techniques to provide traceability and record archiving of the learning process.
[0040] Controlling the decentralized learning process is important for several reasons. It can be used to meet legal or other regulatory requirements (such as data protection laws that grant individuals the right to know how their data is used and to request its deletion), which may require identifying and retraining models that rely on such data, or knowing the context in which the model was trained. Detailed documentation of training data can also support accountability by allowing investigations into model failures, biases, or other issues, ensuring that models can be audited and certified for use in regulated or safety-critical applications. Furthermore, archived data can be used for scientific reproducibility, enabling models to be consistently revalidated or benchmarked over time, or even completely retrained to support architectural improvements. From an operational perspective, knowing which data was used allows developers to identify gaps, improve data quality, and manage model versions more effectively, especially in highly diverse and decentralized distributed environments. Finally, clear documentation fosters transparency and public trust by explaining how models were trained and demonstrating that ethical and legal standards were consistently adhered to throughout the process.
[0041] In short, this disclosure provides the above solution by running local training on edge nodes (i.e., vehicles). Optionally, this disclosure measures key performance indicators (KPIs) after training and iterates the process multiple times as needed. When training is complete, or when a certain performance improvement is achieved, the embeddings representing the sensor data samples used during training can be transmitted along with the model update to the centralized training entity to, for example, support centralized retraining, training traceability, or performance improvement. This disclosure further provides an efficient data management system across fleets and centralized servers.
[0042] The result is the automation and decentralization of the model development process through the use of a fleet of vehicles, while also enabling guidance of its behavior through provided embeddings. Furthermore, centralized evaluation and retraining are achieved by providing a "source" and archiving records, thus supporting control over decentralized learning that was previously impossible. This will be discussed in the following sections. Figures 1 to 7 The present invention will be further described below.
[0043] definition
[0044] In the current context, "Automatic Driving System (ADS)" refers to a complex combination of hardware and software components designed to control and operate a vehicle without direct human intervention. ADS technology aims to automate various aspects of driving, such as steering, acceleration, deceleration, and monitoring of the surrounding environment. The primary goal of ADS is to enhance safety, efficiency, and convenience in transportation. The range of ADS can vary from basic driver assistance systems to highly advanced autonomous driving systems, depending on their level of automation, as categorized according to standards such as SAE J3016. These systems utilize various sensors, cameras, radar, lidar, and powerful computer algorithms to perceive the environment and make driving decisions. The specific capabilities and features / functions of ADS can vary considerably, from systems providing limited assistance to those capable of independently handling complex driving tasks under specific conditions.
[0045] Advanced Driver Assistance Systems (ADAS) are technologies that assist drivers during driving, although they do not necessarily provide complete autonomy. ADAS functions are often built into ADS. Examples include adaptive cruise control, lane keeping assist, automatic emergency braking, and parking assist. They enhance safety and convenience but typically require a degree of human supervision and intervention. Autonomous Driving (AD), on the other hand, is a technology designed to control and navigate a vehicle without human supervision. Accordingly, the difference between ADAS and AD can be said to lie in the level of autonomy and control. ADAS systems are designed to assist and support the driver, while AD aims to achieve complete control of the vehicle without continuous human supervision. Accordingly, AD aims to achieve a higher level of autonomy (such as Level 4 and Level 5 according to SAE international standards), where the vehicle can operate independently in most or all driving scenarios without human intervention. As mentioned above, the term "ADS" is used as a general term in this document that encompasses both ADAS and AD. In the current context, ADS functions or ADS features can be understood as specific functions or features within the entire ADS technology stack, such as high-speed navigation features, traffic congestion navigation features, route planning features, etc.
[0046] In the current context, "sensor" or "sensor device" refers to a specialized component or system designed to capture and collect information from the vehicle's surroundings. It can further refer to components used to collect information about the vehicle itself. These sensors play a crucial role in enabling Autonomous Vehicles (ADSs) to perceive and understand their environment, make informed decisions, and navigate safely. Sensors are typically integrated into the hardware and software systems of autonomous vehicles to provide real-time data for various tasks, such as obstacle detection, localization, road model estimation, and object recognition. Common types of sensors used in autonomous driving include lidar (light detection and ranging), radar, cameras, ultrasonic sensors, inertial measurement units (IMUs), GPS, wheel speed sensors, and more. LiDAR sensors use laser beams to measure distances and create high-resolution 3D maps of the vehicle's surroundings based on point clouds. Radar sensors use radio waves to determine the distance and relative speed of objects around the vehicle. Camera sensors capture visual data, enabling the vehicle's computer system to identify traffic signs, lane markings, pedestrians, and other vehicles. Ultrasonic sensors use sound waves to measure proximity to objects. Various machine learning algorithms, such as artificial neural networks, can be used to process the output from sensors to understand the environment.
[0047] The term "sensor data sample" can be interpreted as a specific instance or set of data collected by sensors installed on a vehicle equipped with ADS at a particular moment or within a specific time period. Sensor data samples typically include various types of information captured by sensors, such as camera images, LiDAR output, or radar output.
[0048] Sensor data samples may include one or more sensor data frames from one or more sensors. These one or more sensors may be sensors of one or more sensor types, and / or one or more instances of the same sensor type. Therefore, sensor data samples can span a time series. In other words, sensor data samples can be sensor data sequences. Thus, sensor data samples may include sensor recordings lasting several seconds.
[0049] Sensor data samples may further include other types of related data (such as GPS coordinates, accelerometer readings, and data generated by other sensors). "Sensor data samples" may include associated metadata (e.g., timestamps, location information, vehicle information, log duration, etc.).
[0050] As used in this article, “machine learning model” (also referred to as machine learning algorithm, (artificial) neural network, deep learning network, and network, etc.) means any computational system or algorithm that is trained on data to make predictions, decisions, or otherwise generate outputs, such as by learning patterns and relationships from training data and applying that knowledge to new input data.
[0051] The deployment of such networks typically involves a training phase, during which the network learns from labeled or unlabeled training data to achieve accurate predictions during the subsequent inference phase. Training data (and input data during inference) can be, for example, images or image sequences, LiDAR data (i.e., point clouds), radar data, or any other form of data. Furthermore, training / input data can include combinations or fusions of one or more different data types. Additionally or in combination, it can include combinations or fusions of two or more instances of the same data type, such as two or more images from different cameras.
[0052] In some embodiments, a network or machine learning model may be implemented using publicly available appropriate software development machine learning code elements (e.g., those available in PyTorch, TensorFlow, and Keras), or in any other appropriate software development platform in any manner known to those skilled in the art as appropriate.
[0053] In this document, the term "encoding network" can be understood as a neural network specifically trained to encode input data and output corresponding encoded representations (or "embeds"). More specifically, the term encoding network (more specifically referred to as "embedded network," "embedded neural network," or "embedded artificial neural network") refers to a computational model or set of techniques used to enable a computer to generate embeddings for a sample of input data (e.g., sensor data or a sample of sensor data). "Embedding" can then be understood as a mathematical (or numerical) representation of the input data. More specifically, an "encoding network" is used to transform data from one representation space to another (referred to herein as a multidimensional (vector) space) while preserving valuable relationships between input data points.
[0054] Embedding networks are used, for example, in tasks such as Natural Language Processing (NLP) and Computer Vision. These networks take raw input data (such as words in a sentence or pixels in an image) and transform them into fixed-size numerical vectors (embeddings) that capture the fundamental properties or features of the input data. More specifically, in NLP, embedding networks transform words into numerical vectors where words with similar meanings or contextual usages are represented more closely to each other in an embedding space (also known as a multidimensional space or latent space). Similarly, in computer vision, embedding networks transform images into numerical vectors, enabling the network to understand visual similarity, such as grouping similar objects or scenes more closely together in the embedding space (multidimensional space).
[0055] Encoding networks can comprise layers of a neural network architecture, typically employing techniques such as convolutional layers, recurrent layers, fully connected layers, attention layers, or transformer layers, to learn and extract valuable patterns from input data. Encoding networks can be trained through processes such as supervised learning, unsupervised learning, semi-supervised learning, or self-supervised learning to optimize embeddings for specific downstream tasks, such as classification, clustering, or recommendation.
[0056] In this disclosure, references are made to various encoding networks, namely “sensor data encoding networks” and “query encoding networks.” In this context, the terms “sensor data” and “query” should be understood as labels indicating the purpose, function, or capability of the encoding network. More specifically, a sensor data encoding network can be configured to generate embeddings for sensor data samples, while a query encoding network can be configured to generate embeddings for queries. It should be further noted that a sensor data encoding network can be configured to generate embeddings for a specific sensor data type. In other words, one sensor data encoding network can be configured to generate embeddings for image data, while another sensor data encoding network can be configured to generate embeddings for LiDAR data. However, in some embodiments, a sensor data encoding network can be configured to process sensor data of more than one sensor data type, and therefore can be configured to generate embeddings for several sensor data types.
[0057] However, various encoding networks can be trained to generate embeddings in the same embedding space (i.e., the same multidimensional space), such that embeddings (generated by different encoding networks) that are context-, spatially, and / or temporally related point to the same point in the multidimensional space. The term "point pointing to the same point in the multidimensional space" should be interpreted broadly in the current context, encompassing "points in substantially the same direction in the multidimensional space" or "points pointing to substantially the same point in the multidimensional space," etc. More specifically, if two embedding vectors point to the same point or the same direction, a relationship between the two underlying data samples can be inferred. For example, given two embedding vectors, the degree to which they tend to point to the same point or the same direction can be calculated to determine the relationship between the underlying data samples, where the closer they are to pointing to the same point or the same direction, the greater the likelihood that the underlying data samples are related to the same object or scene.
[0058] This can be achieved, for example, by training a first encoding network to generate embeddings in a multidimensional space based on input data from a first data source. Then, each of the other encoding networks is trained in conjunction with or against the first encoding network such that the contextually, spatially, and / or temporally relevant embeddings of the other networks point to the same points in the multidimensional space as the relevant embeddings of the first encoding network. For example, if the first encoding network is trained to generate image embeddings for camera images, and the second encoding network is designed to generate embeddings, for example, for LiDAR data, the second encoding network can be trained by feeding the second encoding network LiDAR data of the scene, where the corresponding image embeddings will be used as the basis for forming the ground truth (desired output). By performing this process for each subsequent encoding network, a set of encoding networks can be obtained that can absorb outputs from various data sources and output corresponding embeddings, where contextually, spatially, and / or temporally relevant relationships are characterized by the proximity or directional similarity of the embeddings (vectors) in the multidimensional space.
[0059] The same applies to training the query encoding network to be associated with the same multidimensional space. Queries can have different formats, depending on the specific implementation. Queries can take the form of, for example, text queries, image queries, video queries, etc., or any combination thereof. Therefore, a query can be understood as any data indicating a scenario of interest, or otherwise defined as some data expected to be used to train a machine learning model. In some embodiments (e.g., when the query is represented by samples of sensor data), the query encoding network can be a sensor data encoding network. Therefore, the query embedding can be generated by the same network (or at least a different instance of the same network) deployed in the vehicle to generate the sensor data embedding.
[0060] As further discussed below, decoding networks can also be used. For decoding networks, the same principles and techniques apply as for encoding networks. The difference is that decoding networks are trained to generate synthetic data from embeddings (such as those output from encoding networks), rather than the other way around. The term "synthetic" (as in synthetic data) in this paper means synthesis in the sense of machine generation (generated by the decoding network in this paper), rather than real-world data that is recorded or otherwise collected. Synthetic data can be understood as a reconstruction of the original data used to generate sensor data embeddings.
[0061] For decoding networks, there are several feasible architectures. For example, the decoder part of an autoencoder or variational autoencoder, the generator part of a (conditional) generative adversarial network, and a diffusion model, in which the embedding guides the diffusion process to generate, for example, an image closely aligned with the information contained in the embedding.
[0062] Encoding and decoding networks can be trained in conjunction with each other (e.g., by training them together in a closed loop). Therefore, they are trained to relate to the same multidimensional space. This training process can be referred to as network fusion. The training process may involve feeding data samples (e.g., images) through the encoding network to generate embeddings for the data samples. These embeddings are then fed through the decoding network, whose output is used to reconstruct the original data samples input into the encoding network.
[0063] Example
[0064] Figure 1 The diagram illustrates a schematic flowchart representation of a computer-implemented method 100 for training a machine learning model, executed in a vehicle. More specifically, method 100 can be viewed as a training process as part of a decentralized (or distributed) training scheme. In other words, it can be method 100 for decentralized learning of a machine learning model. As mentioned above, this refers to training the model on multiple edge devices. In some cases, this can be referred to as federated learning, group learning, or edge learning / on-device learning. Therefore, method 100 can be viewed as steps executed in such an edge device (in this case, a vehicle). Consequently, the same method 100 can be executed in multiple different vehicles within a fleet.
[0065] Method 100 can be executed in a vehicle (i.e., using the vehicle's computing resources). The vehicle may be equipped with an automated driving system (ADS). In this case, the steps of method 100 can be executed as part of the ADS. However, method 100 can also be executed using other computing resources available in or associated with the vehicle. The following is a combination of... Figure 5 An example of a vehicle 500 configured to execute method 100 is further described.
[0066] The different steps of method 100 are described in more detail below. Although illustrated in a specific order, the steps of method 100 can be performed in any suitable order and multiple times. Therefore, although Figure 1A specific order of method steps may be shown, but the order of these steps may differ from that depicted. Furthermore, two or more steps may be performed simultaneously or partially simultaneously. This variation will depend on the chosen software and hardware system and on the designer's choice. All such variations are within the scope of this disclosure. Similarly, software implementation can be accomplished using standard programming techniques employing rule-based logic and other logic to complete the various steps. Further variations of method 100 will become apparent from this disclosure. The embodiments mentioned and described herein are given by way of example only and should not be limited to the technology of this disclosure. Other solutions, uses, objectives, and functions within the scope of this disclosure as claimed below will be apparent to those skilled in the art.
[0067] It should be further understood that Figure 1 Method 100 includes steps illustrated as solid-line boxes and steps illustrated as dashed lines. The steps illustrated as solid lines are those included in the most widely exemplary embodiment of method 100. The steps included as dashed lines are examples of multiple optional steps that may form part of multiple alternative embodiments. It should be understood that these optional steps do not need to be performed sequentially. Furthermore, it should be understood that not all optional steps need to be performed. These optional steps can be performed in any order and in any combination.
[0068] Method 100 includes (i) obtaining (S102) sensor data samples related to the vehicle's surrounding environment from one or more sensors of the vehicle. The vehicle's "surrounding environment" can be understood as the general area around the vehicle itself, in which objects (e.g., other vehicles, landmarks, obstacles, etc.) can be detected and identified by the vehicle's sensors (radar, lidar, cameras, etc.), i.e., within the sensor range of the vehicle.
[0069] Sensor data samples can include sensor data captured by one or more sensors of the vehicle. As explained above, sensor data samples can include one or more sensor data frames from one or more sensors of the vehicle. Therefore, sensor data samples can depict the surrounding environment across time series. As an example, sensor data samples can include image data captured by the vehicle's cameras, LiDAR data captured by LiDAR sensors, radar data captured by radar, etc. More specifically, sensor data samples can include one or more of image data, LiDAR data, radar data, and ultrasonic data.
[0070] The sensor data sample can be raw sensor data or processed sensor data. Sensor data can be processed, for example, before being transmitted to a remote entity. Sensor data can be processed, for example, for compression or privacy protection (e.g., anonymization by removing sensitive user information such as faces or license plates).
[0071] Method 100 further includes (ii) generating (S104) one or more sensor data embeddings associated with the sensor data sample. The one or more sensor data embeddings are generated by processing the sensor data sample using one or more sensor data encoding networks trained to process the sensor data sample and output a corresponding sensor data embedding in a multidimensional space. Therefore, the one or more sensor data embeddings are a representation of the sensor data sample in a multidimensional space. When the sensor data sample includes sensor data from multiple sensors, a sensor data embedding can be generated for each sensor. In this case, each of the one or more sensor data encoding networks can be associated with a corresponding sensor (or a corresponding sensor type). Alternatively or in combination, sensor data embeddings can be generated for more than one sensor. In other words, combined sensor data embeddings can be generated for sensor data from multiple sensors.
[0072] Method 100 further includes (iii) determining (S106) whether the sensor data samples satisfy a defined correlation criterion. The correlation criterion can be used as a decision-maker regarding which sensor data samples to train on. In other words, satisfying the correlation criterion (i.e., the sensor data samples satisfying the correlation criterion) can be used as a trigger for performing machine learning model learning. For example, the correlation criterion can be defined through embedding-matching, performance evaluation, etc., as further explained below.
[0073] Meeting a relevance criterion can, for example, indicate that a sensor data sample is relevant to the data used to train a machine learning model. For instance, a sensor data sample might satisfy a defined relevance criterion if it represents a scenario of interest for further development of the machine learning model. The scenario of interest could be, for example, a new or previously unexperienced scenario, or a scenario where the machine learning model is inadequate. In the context of ADS development, this scenario refers to a driving scenario.
[0074] In some embodiments, the relevance criterion is based on the proximity between the one or more sensor data embeddings and the query embedding. The query embedding can be generated by processing the query using a query encoding network trained to process the query and output the corresponding query embedding in a multidimensional vector space. The query encoding network can be trained in association with one or more sensor data encoding networks such that the query embedding of a query contextually relevant to a particular sensor data sample points to the same point in the multidimensional vector space as one or more sensor data embeddings of that sensor data sample.
[0075] Therefore, determining whether (S106) a sensor data sample satisfies the defined correlation criterion may include: determining whether the one or more sensor data embeddings in the multidimensional space are within a certain distance value from the query embedding.
[0076] A query can correspond to an identified underperforming region in a machine learning model. This region can then be mapped to an embedding space (i.e., a multidimensional space), for example, as a single embedding, a set of embeddings, or a subspace within the embedding space. Therefore, a query can be viewed as an underperforming location within the embedding space. To find sensor data samples falling within this underperforming region, embedding-matching can be performed in the vehicle, as explained above. One or more query embeddings can be transmitted to the vehicle, and when new sensor data samples are obtained, one or more sensor data embeddings generated for those samples can be compared with one or more query embeddings. If one or more of the sensor data embeddings are sufficiently close (e.g., considering a distance threshold) to the query embeddings (or located within a subspace of the embedding space), then the associated sensor data sample can be found to be relevant to training the model to reduce its underperformance in that region.
[0077] Distance values (or distance thresholds) can be predefined. In some embodiments, distance values are dynamically set. For example, distance values can be dynamically set directly or indirectly (e.g., through metadata associated with the query). More specifically, the query can include operators or commands for defining distance values, such as, for example, “small” (or “narrow”), “medium”, “large” (or “wide”). Alternatively, the operator or command can be set in the query metadata through which the query is generated. The operator or command can then be taken into account when comparing matching sensor data embeddings. Furthermore, the term “within a distance value” can be interpreted as “satisfying a distance metric,” where the distance metric can be that the embeddings satisfying the metric are those embeddings that are within a Euclidean distance value / Manhattan distance value / cosine distance value (e.g., a distance threshold) of the query embedding.
[0078] Alternatively or in combination, the correlation criterion can be based on a performance metric of the machine learning model. For example, if a machine learning model performs poorly on a certain sensor data sample (or the scenario depicted by that sensor data sample) (i.e., performs below some expected performance level), the sensor data sample can be considered relevant (i.e., meets the correlation criterion). In some embodiments, a reference model can be run in parallel with the machine learning model to be trained. The reference model can be, for example, a machine learning model specifically designed for certain particular data / information. If it is detected that the machine learning model to be trained performs worse than the reference model on a certain sensor data sample, this can be used as an indication that the sensor data sample is relevant to further training of the machine learning model.
[0079] In response to the sensor data samples satisfying the defined correlation criterion, method 100 further includes (iv) training (S108) a machine learning model using the sensor data samples, thereby generating a local update of the machine learning model. During the training (S108) step of the machine learning model, the vehicle uses the acquired sensor data samples as training data to locally execute a training procedure. The locally executed training step then produces an updated set of parameters for the machine learning model, which forms the local update of the machine learning model. Training (S108) can be performed, for example, by unsupervised learning, semi-supervised learning, supervised learning, or self-supervised learning, depending on the task of the machine learning model. For example, if the machine learning model is associated with a task of trajectory planning based on the perceived environment, it can be trained by comparing the model's output with how the driver operates the vehicle during manual operation. In other words, the driver's behavior can be used as ground truth for training the machine learning model. However, it should be noted that other methods of training the machine learning model are also feasible.
[0080] Method 100 further includes transmitting (S112) the sensor data embeddings and information for instructing local updates of the machine learning model to a remote entity. The remote entity can be understood herein as a remote (relative to the vehicle) server or any other centralized entity responsible for managing and aggregating decentralized learning. Such a server will be further explained below. In other words, the sensor data embeddings associated with the sensor data samples used to train (S108) the machine learning model can be transmitted to the remote entity.
[0081] As used herein, the expression "information used to indicate local updates to a machine learning model" is intended to refer broadly to any data or representation that enables the updating, replacement, reconstruction, or deployment of an updated machine learning model. Such information may include, but is not limited to, updated model parameters or weights, the complete architecture and associated parameters of the model, differential updates (e.g., weight increments or parameter adjustments relative to a previous version of the machine learning model), or references or identifiers that allow retrieval of the updated model (e.g., file paths, links, or version identifiers). Therefore, information used to indicate local updates can characterize partial updates applicable to an existing model instance, or it can define a complete model intended to replace a previous version entirely. The same applies to information used to indicate global updates to a machine learning model, as further explained below.
[0082] Method 100 may further include (v) determining (S110) a performance metric for the local update of the machine learning model. Method 100 may then further include repeating steps labeled (i) through (v) until the performance metric for the local update of the machine learning model meets the defined performance requirements. In other words, the performance of the local update of the machine learning model can be evaluated in the vehicle before local training is completed. The machine learning model can be evaluated on additional sensor data samples recorded in the vehicle or on a real-time data stream recorded by one or more sensors of the vehicle. For example, the machine learning model can be run in shadow mode and evaluated against driver behavior or against a reference machine learning model deployed in the vehicle.
[0083] The performance metrics used in this paper should be interpreted broadly and can encompass any measurable value or indicator that quantifies the behavior, accuracy, efficiency, or quality of a machine learning model when applied to a given task. Performance metrics can be defined by one or more key performance indicators (KPIs). Performance metrics can include, but are not limited to, statistical metrics such as classification accuracy, precision, recall, F1 score, mean squared error (MSE), etc. Performance metrics can be determined based on validation data, test data, real-time operational data, or other evaluation scenarios and can be used to assess whether the model meets the defined performance requirements. The defined performance requirements can be defined as a certain level of performance improvement (e.g., compared to a previous version of the machine learning model).
[0084] Therefore, repeating steps (i) through (v) may involve obtaining additional sensor data samples, generating one or more sensor data embeddings associated with said additional sensor data samples, and training a machine learning model on said additional sensor data samples if a correlation criterion is met. This process can then be repeated iteratively multiple times until the performance requirements are met.
[0085] Then, if the defined performance requirements are met, the transmission (S112) of information indicating local updates to the machine learning model and one or more sensor data embeddings can be performed. In other words, one or more sensor data embeddings and information indicating local updates to the machine learning model can be transmitted in response to the defined performance requirements being met (S112).
[0086] It should be noted that other metrics (besides the performance metrics described above) for determining when to terminate local training of a machine learning model and when to transmit local updates of that model can also be applied. As an example, this metric could be related to the amount of time since local training began or since the last reported local update, or the number of training samples that have been used to generate the local update. In other words, steps (i) through (v) could be repeated for a certain amount of time, or repeated a defined number of iterations.
[0087] During the iterative learning of a machine learning model, sensor data samples used in training can be stored in the vehicle along with associated sensor data embeddings. These sensor data samples can be stored at least temporarily until local training is complete. In some embodiments, only the sensor data embeddings may be stored. Optionally, the sensor data samples can be transferred to a remote entity and then removed from local storage in the vehicle. This can facilitate the management of local data storage in the vehicle.
[0088] In some embodiments, the method includes transmitting (S114) sensor data samples that, when used to train a machine learning model, result in a performance metric improvement exceeding a defined threshold to a remote entity. In other words, sensor data samples that produce a performance improvement exceeding a defined threshold can be transmitted to a remote entity.
[0089] Alternatively, or in combination with the above, as part of step S112, sensor data embeddings associated with sensor data samples that, when used to train a machine learning model, result in a performance metric improvement exceeding a defined threshold, may be transmitted to the remote entity. In other words, only those sensor data embeddings associated with sensor data samples that result in a performance improvement exceeding the defined threshold may be transmitted (S112) to the remote entity.
[0090] If sensor data samples have already been transmitted to a remote entity, the sensor data embeddings of the "best training samples" (i.e., those sensor data samples that result in performance improvements exceeding a defined threshold) transmitted later can enable the retrieval of the correct sensor data samples (e.g., in cases where a machine learning model should be retrained). Sensor data samples stored at the remote entity and not associated with any sensor data embeddings transmitted from the vehicle can then be deleted from storage.
[0091] Method 100 may further include transmitting (S116) metadata associated with the training of a machine learning model performed in the vehicle to a remote entity. This metadata may include, for example, information such as which sensor data samples have been used to train the machine learning model, the order in which the sensor data samples were used to train the machine learning model, and how they affect the performance of the machine learning model.
[0092] One or more sensor data embeddings transmitted and / or metadata associated with the training of the machine learning model can be stored at the remote entity as archival information for the machine learning model training. In other words, the sensor data embeddings and / or associated metadata associated with the sensor data samples used in the local training of the machine learning model can be used as an archive of how the training was performed to generate local updates to the machine learning model. This archived information can be used for subsequent retraining of the machine learning model performed by the remote entity. In other words, the training can be replicated in the remote entity by having sensor data embeddings and / or metadata associated with the training performed in the vehicle.
[0093] Method 100 may further include receiving (S118) information from a remote entity indicating a global update to the machine learning model. The global update to the machine learning model may be based on multiple local updates of the machine learning model obtained from multiple vehicles participating in its training. In other words, the global update to the machine learning model can be formed by aggregating multiple local updates of the machine learning model (including, for example, local updates generated by the vehicle in question). Method 100 may then further include updating (S120) the machine learning model of the vehicle based on the received information indicating the global update to the machine learning model. In other words, a previous local version of the machine learning model deployed at the vehicle can be replaced by the global update to the machine learning model. The global update to the machine learning model can then be used for the control or operation of the vehicle. The processes described above can then be restarted to generate new local updates for the newly deployed machine learning model.
[0094] Executable instructions for performing these functions may optionally be included in a non-transitory computer-readable storage medium or other computer program product configured to be executed by one or more processors.
[0095] Generally, computer-accessible media can include any tangible or non-transitory storage medium or memory medium (such as electronic, magnetic, or optical media—e.g., a disk or CD / DVD-ROM coupled to a computer system via a bus). The terms “tangible” and “non-transitory” as used herein are intended to describe computer-readable storage media (or “memory”) excluding those that transmit electromagnetic signals, but are not intended to otherwise limit the types of physical computer-readable storage devices covered by the term “computer-readable medium or memory.” For example, the terms “non-transitory computer-readable medium” or “tangible memory” are intended to cover types of storage devices that do not necessarily store information permanently (including, for example, random access memory (RAM)). Program instructions and data stored in a non-transitory form on a tangible computer-accessible storage medium can be further transmitted via transmission media or signals (such as electrical signals, electromagnetic signals, or digital signals), which can be transmitted via communication media such as networks and / or wireless links.
[0096] Figures 2A to 2D The diagram illustrates a schematic flowchart representation of computer-implemented methods 200, 200', 200'', 200''' for training machine learning models. In other words, methods 200, 200', 200'', 200''' can be methods for decentralized learning of machine learning models. More specifically, they can be methods for performing decentralized learning of machine learning models. Methods 200, 200', 200'', 200''' can be executed by remote entities. Remote entities can be, for example, remote servers, data centers, centralized computing devices, or the like (such as servers as further described below). Remote entities can be considered as entities responsible for centralized aggregation of the decentralized learning process. More specifically, methods 200, 200', 200'', 200''' can be considered as centralized (or server-side) processing of local update aggregations from decentralized learning processing. Therefore, methods 200, 200', 200'', 200''' can be considered as a combination of the above. Figure 1 This is a supplement to the described edge-side method 100.
[0097] The following describes the different steps of methods 200, 200', 200'', and 200''' in more detail. Although illustrated in a specific order, the steps of methods 200, 200', 200'', and 200''' can be performed in any suitable order and multiple times. Therefore, although Figures 2A to 2DA specific order of method steps may be shown, but the order of these steps may differ from that depicted. Furthermore, two or more steps may be performed simultaneously or partially simultaneously. This variation will depend on the chosen software and hardware system and on the designer's choice. All such variations are within the scope of this disclosure. Similarly, software implementation can be accomplished using standard programming techniques employing rule-based logic and other logic to complete the various steps. Further variations of methods 200, 200', 200'', 200''' will become apparent from this disclosure. The embodiments mentioned and described herein are given by way of example only and should not be limited to the technology of this disclosure. Other solutions, uses, objectives, and functions within the scope of this disclosure as claimed below will be apparent to those skilled in the art.
[0098] It should be further understood that Figures 2A to 2D Methods 200, 200', 200'', and 200''' include steps illustrated with solid lines and steps shown with dashed lines. The steps shown with solid lines are those included in the most widely exemplary embodiments of methods 200, 200', 200'', and 200'''. The steps enclosed in dashed lines are examples of multiple optional steps that may form part of multiple alternative embodiments. It should be understood that these optional steps do not need to be performed sequentially. Furthermore, it should be understood that not all optional steps need to be performed. These optional steps can be performed in any order and in any combination. Specifically, Figures 2A to 2D Each figure illustrates several optional steps of methods 200, 200', 200'', and 200'''. For illustrative purposes, these are illustrated in separate figures. However, it should be noted that... Figures 2A to 2D One or more of the optional steps presented in association can be with and Figures 2A to 2D One or more of the optional steps presented in another related manner, unless otherwise stated.
[0099] Methods 200, 200', 200'', and 200''' include obtaining (S202) information from one or more vehicles indicating one or more local updates to a machine learning model generated by training the model on sensor data samples obtained in the respective vehicles, and one or more sensor data embeddings associated with the sensor data samples used for said training. In other words, (S202) local updates from the fleet can be obtained, wherein each local update of the machine learning model is generated through decentralized learning across the fleet. The local updates may be received together with sensor data embeddings of the sensor data samples used in the local training to characterize the machine learning model.
[0100] The fleet can be a number of vehicles selected from a larger fleet. The selected vehicles can be those chosen to participate in decentralized learning and selected, for example, based on standard client selection techniques known in the field of decentralized learning. Metadata associated with the machine learning model training performed in each vehicle can be used to refine the selection process, allowing the training process to be further enhanced or improved at faster cycles. For example, vehicles that have significantly improved model performance in previous steps can be selected. In another example, vehicles can be selected based on their geographic location. For example, vehicles traveling in certain geographic areas where model performance needs improvement can be selected.
[0101] In some embodiments, the step of obtaining (S202) may include obtaining information for indicating local updates of the machine learning model and one or more sensor data embeddings associated with sensor data samples used to generate the local updates, according to method 100 as described above. In other words, one or more local updates of the machine learning model may each be obtained by utilizing, in combination with Figure 1 The method 100 described herein is used for generation. Therefore, methods 100, 200, 200', 200'', and 200''' described herein can be considered as two related methods (e.g., client-server, or transmitter-receiver). Thus, any feature, principle, or advantage described in combination with one of methods 100, 200, 200', 200'', and 200''' is applicable to the other methods accordingly, unless otherwise stated.
[0102] As explained above, each sensor data embedding is a representation of a sensor data sample in a multidimensional space, generated by processing the sensor data sample using one or more sensor data encoding networks that have been trained to process the sensor data sample and output the corresponding sensor data embedding in the multidimensional space.
[0103] Methods 200, 200', 200'', 200''' further include (S204) storing (one or more sensor data embeddings) as record archiving information for training a machine learning model. In other words, sensor data embeddings can be used as record archiving for machine learning model training. As will be further described below, the record archiving data can, for example, be used to subsequently retrain the machine learning model. Optionally, methods 200, 200', 200'', 200''' may further include receiving metadata associated with the machine learning model training. This metadata can be stored as additional record archiving information for further development of the machine learning model.
[0104] See Figure 2AThe paper further illustrates an optional process for generating and distributing global updates to a machine learning model. Methods 200, 200', 200'', and 200''' may further include generating (S206) a global update to the machine learning model based on information used to indicate local updates to the machine learning model. In other words, one or more local updates to the machine learning model can be aggregated (or integrated) into a single global update for the machine learning model. The global update to the machine learning model can be generated using various aggregation or integration techniques, such as model parameter averaging, weighted model parameter averaging, etc., which are well-known in the field of decentralized learning (S206). In other words, the generation of the global update can be accomplished using any standard technique used for model aggregation in decentralized learning schemes.
[0105] The terms “global” and “local” (as in “global update” and “local update”) can be understood in this text as indicating where an update originates. A global update (also known as a centralized update) originates from a centralized entity within a decentralized learning scheme. Global updates can be distributed across the fleet and are therefore deployed “globally.” In contrast, a local update refers to an update generated in one of the vehicles in the fleet, i.e., in one of the local entities within the decentralized learning scheme. Therefore, a local update of a machine learning model is “local” in the sense that it involves one of the vehicles.
[0106] Then methods 200, 200', 200'', 200''' may further include transmitting information (S210) indicating a global update to the machine learning model to one or more vehicles. This can be viewed as deploying a global update to the machine learning model (i.e., an updated version of the machine learning model) across the fleet (i.e., the one or more vehicles). Therefore, a global update to the machine learning model can replace any existing version of the machine learning model currently deployed in the vehicles.
[0107] In some embodiments, methods 200, 200', 200'', 200''' further include determining (S208) a performance metric for the global update of the machine learning model; and transmitting (S210) the global update of the machine learning model if the performance metric satisfies a defined performance criterion. In other words, the global update of the machine learning model can be evaluated based on (or taken into account) a performance metric, and once it satisfies the defined performance criterion, it is distributed to the one or more vehicles. Thus, a remote entity can collect and aggregate local updates from one or more vehicles until the desired performance improvement of the updated global model is achieved. Before the desired performance improvement is achieved, steps labeled S202 and S204 can be repeated to collect additional local updates of the machine learning model, and a new global update can be generated (S206) based on the additional local updates.
[0108] See Figure 2B This illustrates an additional optional process for training subsequent machine learning models. This can be viewed as a process of completely retraining the machine learning model from scratch (i.e., from a re-initialized state), or by re-applying the same training procedures previously used to train a new machine learning model. Advantageously, this allows for the development of subsequent machine learning models with modified or entirely different architectures compared to earlier models, while benefiting from insights or parameters derived from previous training. This approach can be particularly beneficial when introducing incremental architectural modifications aimed at enhancing model performance, stability, or efficiency. Archived information stored for training earlier machine learning models can be used in this process.
[0109] More specifically, methods 200, 200', 200'', 200''' may further include obtaining (S216) a set of sensor data samples used to train a machine learning model to generate each of the local updates of the machine learning model; and storing (S218) the received set of sensor data samples. In other words, sensor data samples associated with the obtained sensor data embeddings can be obtained (S216). The sensor data samples can be received from the corresponding vehicle. Optionally, the step of obtaining sensor data samples may include transmitting a request for sensor data samples to the corresponding vehicle and receiving the sensor data samples in response to the request. Alternatively or in combination, sensor data samples may be retrieved from a storage device (e.g., a database of sensor data samples) connected to a remote entity. Sensor data samples may be retrieved, for example, by querying the database based on the one or more sensor data embeddings.
[0110] Alternatively or in combination with the above, methods 200, 200', 200'', 200''' may further include generating (S220) synthetic sensor data samples based on the stored sensor data embeddings. Generating the synthetic sensor data samples can be accomplished by processing the sensor data embeddings using one or more decoding networks trained to process the sensor data embeddings and output corresponding synthetic data for each sensor data embedding. Each of the one or more decoding networks has been trained in association with at least one of the one or more encoding networks to be correlated with the same multidimensional space. Methods 200, 200', 200'', 200''' may further include storing (S222) the synthetic sensor data samples. Therefore, the synthetic sensor data samples can be considered as reconstructed sensor data generated based on the sensor data embeddings.
[0111] Method 100 may then further include training (S224) a subsequent machine learning model by taking into account the stored record archive information. More specifically, the subsequent machine learning model may be trained using the obtained sensor data samples and / or synthetic sensor data samples (S224).
[0112] See Figure 2C This illustrates an additional optional process for using available information to determine when a model performs well within a specific Operating Design Domain (ODD). More specifically, if no further performance improvement is detected within a specific time period (i.e., local updates of the machine learning model reported by the vehicle), this can be used as an indication that the machine learning model is performing well within its ODD.
[0113] The term "operational design domain" can be understood as the specific operating conditions and environment within which an autonomous driving system (ADS) or autonomous vehicle is designed to function safely and effectively. It defines the boundaries within which the system (or its specific characteristics) is designed and validated to operate. ODD conditions can be divided into external ODD conditions and internal ODD conditions. Here, external ODD conditions can refer to external factors or environmental elements that affect the operation of the autonomous driving system. Internal ODD conditions can refer to the inherent capabilities and limitations of the autonomous vehicle or ADS itself.
[0114] External ODD conditions can include geographical constraints, which define the geographic area or region where the ADS is intended to operate, such as urban areas, highways, or specific cities. External ODD conditions can include environmental factors, encompassing conditions affecting the ADS's sensors and perception systems, such as weather (rain, snow, fog, etc.), lighting conditions (daylight, nighttime), and various terrain types (mountainous, urban, rural). External ODD conditions can include road infrastructure, including the types of roads, lanes, intersections, signs, and road markings for which the ADS is designed for navigation. External ODD conditions can include traffic conditions, including variations in traffic density and changes in the behavior of other vehicles, pedestrians, and cyclists.
[0115] Internal ODD conditions may include sensor capability parameters, such as the range, accuracy, and reliability of sensors like cameras, lidar, radar, and other perception systems. Internal ODD conditions may include processing and decision parameters, encompassing the computational capabilities and algorithms used to interpret sensor data, make driving decisions, and control the vehicle. Internal ODD conditions may include functional capability parameters, containing the specific capabilities of the ADS, including its ability to handle complex traffic situations, navigate intersections, change lanes, park, and perform emergency maneuvers.
[0116] Therefore, the ADS features (or functionalities) associated with a machine learning model can have a defined ODD. The ODD can be characterized by a subspace or region within the embedding space. Thus, training of the machine learning model can be performed against a subspace of the operational design domain defined in a multidimensional space to characterize the ADS features associated with the machine learning model. In other words, one or more vehicles can be instructed to perform decentralized learning on a scenario within that subspace.
[0117] As explained above, obtaining (S202) information indicating a local update to the machine learning model can be received from one or more vehicles in response to a local update causing an improvement in the model's performance metrics exceeding a defined threshold. In other words, a local update is reported from a vehicle when it contributes to some performance improvement of the model.
[0118] Then, if no new information indicating a local update of the machine learning model within the defined subspace is obtained within the defined time period, the step of transmitting (S210) a global update of the machine learning model can be performed. In other words, when no new local updates are received within a certain period (i.e., within the defined time period), decentralized learning can be terminated, and ADS features associated with the machine learning model can be initiated (or deployed) in the fleet.
[0119] See Figure 2D This illustrates an additional optional process for updating the triggering mechanism of a decentralized learning scheme by transmitting (updated) relevance criteria.
[0120] The method may further include determining a target subspace in the multidimensional space (S212) based on the presence of sensor data embeddings stored within the subspace and / or a performance metric of the machine learning model's global updates on sensor data samples associated with the sensor data embeddings within the subspace. This target subspace can be viewed as the target of decentralized learning, i.e., the sensor data samples on which the machine learning model should be trained. The target subspace can, for example, be identified as a subspace not covered by existing sensor data embeddings, or a subspace without sufficient sensor data embeddings. Therefore, this can be viewed as identifying a set of scenarios not covered by available sensor data samples. Alternatively or in combination, the target subspace can be identified as regions where the global update performance of the machine learning model is insufficient, i.e., regions where the machine learning model could benefit from more training.
[0121] Methods 200, 200', 200'', and 200''' may further include transmitting (S214) a relevance criterion for indicating the target subspace to one or more vehicles. Thus, the relevance criterion may include a query embedding, a set of query embeddings, or otherwise indicate the target subspace. Therefore, the relevance criterion can be used as a trigger for sensor data samples on which a machine learning model should be trained.
[0122] Executable instructions for performing these functions may optionally be included in a non-transitory computer-readable storage medium or other computer program product configured to be executed by one or more processors.
[0123] Figure 3 This is a schematic diagram of a computing device 300 according to some embodiments of the present disclosure. The computing device 300 can be configured to perform combined... Figure 1 Method 100 is described. Therefore, computing device 300 can be a computing device 300 used for training machine learning models in a vehicle.
[0124] As described herein, computing device 300 refers to a computer system, or any device or general-purpose computing system configured to perform various functions. Although computing device 300 is illustrated herein as a single device, it can be a distributed computing system comprised of multiple different devices. Computing device 300 may be provided as part of a vehicle. The following is combined with... Figure 5 To further describe such a vehicle.
[0125] The computing device 300 includes a control circuit 302. The control circuit 302 may physically comprise a single circuit device. Alternatively, the control circuit 302 may be distributed across multiple circuit devices.
[0126] like Figure 3 As shown in the example, computing device 300 may further include transceiver 306 and memory 308. Control circuitry 302 is communicatively connected to transceiver 306 and memory 308. Control circuitry 302 may include a data bus, and control circuitry 302 may communicate with transceiver 306 and / or memory 308 via the data bus.
[0127] Control circuitry 302 can be configured to perform overall control of the functions and operations of computing device 300. Control circuitry 302 may include processor 304 (such as a central processing unit (CPU), microcontroller, or microprocessor). Processor 304 can be configured to execute program code stored in memory 308 to perform the functions and operations of computing device 300. Control circuitry 302 is configured to perform the above-mentioned combination. Figure 1The steps of method 100 are described. These steps can be implemented in one or more functions stored in memory 308.
[0128] Transceiver 306 is configured to enable computing device 300 to communicate with other entities, such as other devices. Transceiver 306 can both transmit data from computing device 300 and receive data destined for computing device 300. Computing device 300 may, for example, be part of a vehicle. Transceiver 306 can then allow computing device 300 to communicate with other systems within the vehicle or with external entities, such as other vehicles or remote entities (e.g., remote servers).
[0129] Memory 308 may be a non-transitory computer-readable storage medium. Memory 308 may be one or more of a buffer, flash memory, hard disk drive, removable media, volatile memory, non-volatile memory, random access memory (RAM), or other suitable devices. In a typical arrangement, memory 308 may include non-volatile memory for long-term data storage and volatile memory that functions as system memory of computing device 300. Memory 308 may exchange data with circuit 302 via a data bus. Accompanying control lines and address buses may also exist between memory 308 and circuit 302.
[0130] The functions and operations of computing device 300 can be implemented in the form of executable logic routines (e.g., lines of code, software programs, etc.) stored on a non-transitory computer-readable recording medium (e.g., memory 308) of computing device 300 and executed by circuit 302 (e.g., using processor 304). In other words, when circuit 302 is configured to perform a specific function, processor 304 of circuit 302 can be configured to execute a portion of program code stored on memory 308, wherein the stored portion of program code corresponds to that specific function. Furthermore, the functions and operations of circuit 302 can be a standalone software application or part of a software application that performs additional tasks associated with circuit 302. The described functions and operations can be considered as methods configured to be performed by the corresponding device, such as those described above. Figure 1 Method 100 is discussed. Furthermore, while the described functions and operations can be implemented in software, such functions can also be performed via dedicated hardware or firmware, or some combination of one or more of hardware, firmware, and software. The functions and operations of computing device 300 are described below.
[0131] Control circuit 302 is configured to acquire (i) sensor data samples relating to the vehicle’s surrounding environment from one or more sensors of the vehicle. This can be performed, for example, by executing acquisition function 310.
[0132] The control circuit 302 is further configured to generate (ii) one or more sensor data embeddings associated with the sensor data samples. This can be performed, for example, by performing the generation function 312. The one or more sensor data embeddings are representations of the sensor data samples in a multidimensional space and are generated by processing the sensor data samples using one or more sensor data encoding networks that have been trained to process the sensor data samples and output the corresponding sensor data embeddings in the multidimensional space.
[0133] The control circuit 302 is further configured to determine (iii) whether the sensor data samples meet the defined correlation criteria. This can be performed, for example, by executing a first determination function 314.
[0134] The control circuit 302 is further configured to train (iv) a machine learning model using the sensor data samples in response to the sensor data samples satisfying a defined correlation criterion, thereby generating a local update of the machine learning model. This can be performed, for example, by executing the training function 316.
[0135] The control circuit 302 is also configured to transmit information indicating local updates to the machine learning model, along with one or more sensor data embeddings, to a remote entity. This can be performed, for example, by executing a first transmission function 320.
[0136] Control circuitry 302 may be further configured to determine (v) a performance metric for the local update of the machine learning model. This may be performed, for example, by executing a second determination function 318. Control circuitry 302 may be further configured to repeat steps labeled (i) through (v) until the performance metric for the local update of the machine learning model meets a defined performance requirement. Then, if the defined performance requirement is met, information indicating the local update of the machine learning model and one or more sensor data embeddings may be transmitted.
[0137] The control circuit 302 can be further configured to transmit sensor data samples that, when used to train a machine learning model, result in a performance metric improvement exceeding a defined threshold, to a remote entity. This can be performed, for example, by executing a second transmission function 322.
[0138] The control circuit 302 can be further configured to transmit metadata associated with the training of a machine learning model performed in the vehicle to a remote entity. This can be performed, for example, by executing a third transmission function 324.
[0139] Control circuitry 302 can be further configured to receive information from a remote entity indicating global updates to the machine learning model. This can be performed, for example, by executing receiving function 326. The global update of the machine learning model is based on multiple local updates of the machine learning model obtained from multiple vehicles participating in the training of the machine learning model.
[0140] The control circuit 302 can be further configured to update the vehicle's machine learning model based on received information indicating a global update for the machine learning model. This can be performed, for example, by executing update function 328.
[0141] It should be noted that the first determining function 314 and the second determining function 318 can be implemented as two independent functions or as a common determining function. Similarly, the first, second, and third transmission functions can be implemented as three independent functions or as one or more common transmission functions.
[0142] It should also be noted that, in conjunction with the above... Figure 1 The principles, features, aspects, and advantages of method 100 described herein also apply to the computing device 300 described herein. For the avoidance of unnecessary repetition, refer to the foregoing. Therefore, the control circuitry can be configured to perform any of the steps described as part of method 100.
[0143] Figure 4 This is a schematic diagram of a computing device 400 according to some embodiments of the present disclosure. The computing device 400 can be configured to perform combined... Figures 2A to 2D Methods 200, 200', 200'', and 200''' are described. Therefore, computing device 400 can be a computing device 400 used to train machine learning models in remote entities. More specifically, computing device 400 can be a server (or at least part of a server) (a server can also be referred to as a remote server, cloud server, central server, back-end server, fleet server, or back-end server).
[0144] Generally, the computing device 400 described herein refers to a computer system, or any device or general-purpose computing system configured to perform various functions. Although the computing device 400 is illustrated as a single device herein, it can be a distributed computing system comprised of multiple different devices.
[0145] The computing device 400 includes control circuitry 402. Control circuitry 402 may physically comprise a single circuit device. Alternatively, control circuitry 402 may be distributed across multiple circuit devices.
[0146] like Figure 4As shown in the example, computing device 400 may further include transceiver 406 and memory 408. Control circuitry 402 is communicatively connected to transceiver 406 and memory 408. Control circuitry 402 may include a data bus, and control circuitry 402 may communicate with transceiver 406 and / or memory 408 via the data bus.
[0147] Control circuitry 402 can be configured to perform overall control of the functions and operations of computing device 400. Control circuitry 402 may include processor 404 (such as a central processing unit (CPU), microcontroller, or microprocessor). Processor 404 can be configured to execute program code stored in memory 408 to perform the functions and operations of computing device 400. Control circuitry 402 is configured to perform the above-mentioned combination. Figures 2A to 2D The methods described are steps 200, 200', 200'', and 200'''. These steps can be implemented in one or more functions stored in memory 408.
[0148] Transceiver 406 is configured to enable computing device 400 to communicate with other entities, such as other devices. Transceiver 406 can both transmit data from computing device 400 and receive data destined for computing device 400. Transceiver 406 can then allow computing device 400 to communicate with external entities, such as a fleet of vehicles.
[0149] Memory 408 may be a non-transitory computer-readable storage medium. Memory 408 may be one or more of a buffer, flash memory, hard disk drive, removable media, volatile memory, non-volatile memory, random access memory (RAM), or other suitable devices. In a typical arrangement, memory 408 may include non-volatile memory for long-term data storage and volatile memory that functions as system memory of computing device 400. Memory 408 may exchange data with circuit 402 via a data bus. Accompanying control lines and address buses may also exist between memory 408 and circuit 402.
[0150] The functions and operations of computing device 400 can be implemented in the form of executable logic routines (e.g., lines of code, software programs, etc.) stored on a non-transitory computer-readable recording medium (e.g., memory 408) of computing device 400 and executed by circuit 402 (e.g., using processor 404). In other words, when circuit 402 is configured to perform a specific function, processor 404 of circuit 402 can be configured to execute a portion of program code stored on memory 408, wherein the stored portion of program code corresponds to that specific function. Furthermore, the functions and operations of circuit 402 can be a standalone software application or part of a software application that performs additional tasks associated with circuit 402. The described functions and operations can be considered as methods configured to be performed by the corresponding device, such as those described above. Figures 2A to 2D The methods discussed are 200, 200', 200'', and 200'''. Furthermore, while the described functions and operations can be implemented in software, such functions can also be performed via dedicated hardware or firmware, or one or more combinations of hardware, firmware, and software. The functions and operations of the computing device 400 are described below.
[0151] Control circuitry 402 is configured to obtain from one or more vehicles information indicating one or more local updates of a machine learning model generated by training a machine learning model on sensor data samples obtained in the respective vehicles, and one or more sensor data embeddings associated with the sensor data samples used for said training. This can be performed, for example, by performing acquisition function 410. Each sensor data embedding is a representation of the sensor data sample in a multidimensional space, generated by processing the sensor data sample using one or more sensor data encoding networks trained to process the sensor data sample and output the corresponding sensor data embedding in the multidimensional space.
[0152] The control circuit 402 is further configured to store one or more sensor data embeddings as archival information for training a machine learning model. This can be performed, for example, by executing the first storage function 412.
[0153] Control circuitry 402 may be further configured to generate a global update of the machine learning model based on information used to indicate local updates to the machine learning model. This may be performed, for example, by executing a first generation function 414. Control circuitry 402 may be further configured to transmit information used to indicate the global update of the machine learning model to one or more vehicles. This may be performed, for example, by executing a first transmission function 416.
[0154] The control circuit 402 can be further configured to determine a performance metric for the global update of the machine learning model. This can be performed, for example, by executing a first determination function 418. The global update of the machine learning model can then be delivered if the performance metric for the global update of the machine learning model satisfies the defined performance criteria.
[0155] Control circuitry 402 may be further configured to determine a target subspace in a multidimensional space based on the presence of sensor data embeddings stored within the subspace and / or a performance metric of global updates of a machine learning model on sensor data samples associated with the sensor data embeddings within the subspace. This may be performed, for example, by performing a second determination function 420. Control circuitry 402 may be further configured to transmit relevance criteria for indicating the target subspace to one or more vehicles. This may be performed, for example, by performing a second transmission function 422.
[0156] The control circuit 402 may be further configured to receive a set of sensor data samples used to train a machine learning model to generate each of the local updates of the machine learning model. This may be performed, for example, by performing a receiving function 424. The control circuit 402 may be further configured to store the received set of sensor data samples. This may be performed, for example, by performing a second storage function 426.
[0157] Control circuit 402 can be further configured to generate synthetic sensor data samples based on stored sensor data embeddings by processing the sensor data embeddings using one or more decoding networks trained to process the sensor data embeddings and output corresponding synthetic data for each sensor data embedding. This can be performed, for example, by performing a second generation function 428. Each of the one or more decoding networks has been trained in association with at least one of the one or more encoding networks to be correlated with the same multidimensional space. Control circuit 402 can be further configured to store the synthetic sensor data samples. This can be performed, for example, by performing a third storage function 430.
[0158] The control circuit 402 can be further configured to train a subsequent machine learning model by taking into account the stored recorded information. This can be performed, for example, by executing the training function 432. The subsequent machine learning model can be trained using stored sensor data samples and / or stored synthetic sensor data samples.
[0159] It should be noted that one or more of the functions mentioned above can be implemented as a common function.
[0160] Further attention should be paid to the following, as in the combination of the above. Figures 2A to 2DThe principles, features, aspects, and advantages of methods 200, 200', 200'', and 200''' described herein also apply to the computing device 400 described herein. For the avoidance of unnecessary repetition, refer to the foregoing. Therefore, the control circuitry can be configured to perform any of the steps described as part of methods 200, 200', 200'', and 200'''.
[0161] Figure 5 This is a schematic diagram of a vehicle 500 according to some embodiments. The vehicle 500 may, for example, form part of a fleet of vehicles used for decentralized learning of machine learning models, as described herein.
[0162] Vehicle 500 may be equipped with an automated driving system (ADS) 510. As used herein, “vehicle” means any form of motorized transport. For example, vehicle 500 may be any road vehicle, such as a car (as illustrated herein), a motorcycle, a (freight) truck, a bus, a smart bicycle, etc. Vehicle 500 may be equipped with a computing device 300 as described above. Thus, vehicle 500 is capable of performing at least a portion of the technology disclosed herein. Computing device 300 may be provided as part of any suitable module or system, or distributed across several such modules or systems, as described below. Computing device 300 may, for example, be implemented as part of control system 502 or using its control circuitry 504. Alternatively, computing device 300 may be implemented as a standalone system communicatively connected to other parts of vehicle 500, such as sensor system 520 for acquiring sensor data samples and communication system 526 for transmitting data to remote entities. The technology of method 100 may be performed when the vehicle’s computing resources are idle (or released), such as when the vehicle is parked or when the vehicle is charging.
[0163] Vehicle 500 includes several components common in autonomous or semi-autonomous vehicles. It will be understood that vehicle 500 may have... Figure 5 Any combination of the various elements shown. Furthermore, vehicle 500 may include more than Figure 5 Further elements are shown. Although the various elements are shown herein as being located inside vehicle 500, one or more of these elements may be located outside vehicle 500. Furthermore, although the various elements are depicted herein in a particular arrangement, the various elements may also be implemented in different arrangements, as will be readily understood by those skilled in the art. It should also be noted that the various elements may be communicatively connected to each other in any suitable manner. Figure 5 Vehicle 500 should be considered only as an illustrative example, as the components of vehicle 500 can be implemented in several different ways.
[0164] Vehicle 500 includes a control system 502. The control system 502 is configured to perform overall control of the functions and operations of vehicle 500. The control system 502 includes control circuitry 504 and memory 506. Control circuitry 502 may physically comprise a single circuit device. Alternatively, control circuitry 502 may be distributed across multiple circuit devices. As an example, control system 502 may share its control circuitry 504 with other parts of the vehicle. Control circuitry 502 may include one or more processors (such as a central processing unit (CPU), microcontroller, or microprocessor). These processors may be or may include any number of hardware components for performing data or signal processing or for executing computer code stored in memory 506. In some embodiments, control circuitry 504 or some of its functions may be implemented on one or more so-called system-on-a-chip (SoC). As an example, ADS 510 may be implemented on an SoC.
[0165] Memory 506 may optionally include high-speed random access memory, such as dynamic random access memory (DRAM), static random access memory (SRAM), double-data-rate random access memory (DDR RAM), or other random access solid-state memory devices; and may optionally include non-volatile memory, such as one or more disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Memory 506 may include database components, object code components, script components, or any other type of information structure used to support the various activities described herein.
[0166] In the illustrated example, memory 506 further stores map data 508. Map data 508 can be used, for example, by the ADS 510 of vehicle 500 to perform autonomous functions of vehicle 500. Map data 508 may include high-definition (HD) map data and / or standard-definition (SD) map data. It is contemplated that memory 508, even though illustrated as a separate element from ADS 510, may also be provided as an integral part of ADS 510. In other words, according to some embodiments, any distributed or local memory device can be used to implement the concepts of the present invention. Similarly, control circuitry 504 can be distributed, for example, such that one or more processors of control circuitry 504 are provided as integrated elements of ADS 510 or any other system of vehicle 500. In other words, according to exemplary embodiments, any distributed or local control circuitry device can be used to implement the techniques of this disclosure.
[0167] Vehicle 500 further includes a sensor system 520. Sensor system 520 is configured to acquire sensing data about the vehicle itself or its surroundings. Sensor system 520 may include, for example, a Global Navigation Satellite System (GNSS) module 522 (e.g., GPS), configured to collect geographic location data of vehicle 500. Sensor system 520 may further include one or more sensors 524. The one or more sensors 524 may be any type of onboard sensor such as a camera, lidar and radar, ultrasonic sensors, gyroscope, accelerometer, odometer, etc. It should be understood that sensor system 520 may also provide the possibility of acquiring sensing data directly or via dedicated sensor control circuitry within vehicle 500.
[0168] Vehicle 500 further includes a communication system 526. The communication system 526 is configured to communicate with external units such as other vehicles (i.e., via vehicle-to-vehicle (V2V) communication protocols), remote servers (e.g., cloud servers), databases, or other external devices (i.e., vehicle-to-infrastructure (V2I) or vehicle-to-everything (V2X) communication protocols). The communication system 526 can communicate using one or more communication technologies. The communication system 526 may include one or more antennas. Cellular communication technologies can be used for remote communication, such as to remote servers or cloud computing systems. Furthermore, if the cellular communication technology used has low latency, it can also be used for V2V, V2I, or V2X communication. Examples of cellular radio technologies are Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Enhanced Data Rate GSM Evolution (EDGE), Long Term Evolution (LTE), 5G, and 5G NR, as well as future cellular solutions. However, in some solutions, short-to-medium range communication technologies such as wireless local area networks (LANs) (e.g., solutions based on IEEE 802.11) can be used to communicate with other vehicles in the vicinity of the vehicle or with local infrastructure components. The European Telecommunications Standards Institute (ETSI) is developing cellular standards for vehicle communication, and 5G is considered a suitable solution, for example, due to its low latency and efficient handling of high bandwidth and communication channels.
[0169] Communication system 526 can further provide the possibility of sending output to a remote location (e.g., a remote server, operator, or control center) via one or more antennas. Furthermore, communication system 526 can be further configured to allow various components of vehicle 500 to communicate with each other. As an example, the communication system can provide a local network setup such as CAN bus, I2C, Ethernet, and fiber optics. Local communication within the vehicle can also be wireless, using protocols such as WiFi, LoRa, Zigbee, Bluetooth, or similar medium / short-range technologies.
[0170] Vehicle 500 further includes a control system 520. Control system 528 is configured to control the handling of vehicle 500. Control system 528 includes a steering module 530 configured to control the direction of travel of vehicle 500. Control system 528 further includes a throttle module 532 configured to control the actuation of the throttle valve of vehicle 500. Control system 528 further includes a braking module 534 configured to control the actuation of the brakes of vehicle 500. The various modules of steering system 528 can receive manual input from the driver of vehicle 500 (i.e., from the steering wheel, accelerator pedal, and brake pedal, respectively). However, control system 528 can communicatively connect to the vehicle's ADS 510 to receive instructions on how the various modules should operate. Therefore, ADS 510 can control the handling of vehicle 500.
[0171] As stated above, vehicle 500 includes ADS 510. ADS 510 may be part of the vehicle's control system 502. ADS 510 is configured to perform various functions and operations within the autonomous functions of vehicle 500. ADS 510 may include multiple modules, each responsible for a different function of ADS 510.
[0172] ADS 510 may include a positioning module 512 or a positioning block / system. The positioning module 512 is configured to determine and / or monitor the geographic location and direction of travel of vehicle 500, and may utilize data from sensor system 520 (e.g., data from GNSS module 522). Alternatively or in combination, the positioning module 512 may utilize data from one or more sensors 524. The positioning system may alternatively be implemented as a real-time dynamic (RTK) GPS.
[0173] ADS 510 may further include a perception module 514 or a perception block / system. The perception module 514 may refer to any known module and / or functional group, such as those included in one or more electronic control modules and / or nodes of vehicle 500, adapted and / or configured to interpret driving-related sensing data of vehicle 500 to identify, for example, obstacles, lanes, relevant landmarks, appropriate navigation paths, etc. Therefore, the perception module 514 may be adapted to rely on multiple data sources (such as motor vehicle imaging, image processing, computer vision, and / or in-vehicle networking, etc.) and obtain input from these multiple data sources in combination with, for example, sensing data from sensor system 520.
[0174] The positioning module 512 and / or the sensing module 514 can be communicatively connected to the sensor system 520 to receive sensor data from the sensor system 520. The positioning module 512 and / or the sensing module 514 can further transmit control commands to the sensor system 520.
[0175] The ADS may further include a path planning module 516. The path planning module 516 is configured to determine a planned path for the vehicle 500 based on the vehicle's perception and position, as determined by the perception module 514 and the positioning module 512, respectively. The planned path determined by the path planning module 516 can be sent to the control system 528 for execution. As an example, the vehicle's determined current position on the navigation map can be transmitted to the path planning module 516.
[0176] The ADS may further include a decision and control module 518. The decision and control module 518 is configured to perform control and decision-making for the ADS 510. For example, the decision and control module 518 may decide whether the planned path determined by the path planning module 516 should be executed.
[0177] It should be understood that some of the described solutions may be implemented in vehicle 500, in a system located outside the vehicle, or in a combination of inside and outside the vehicle; for example, in a server communicating with the vehicle, a so-called cloud solution. The different features and principles of the various embodiments may be combined in ways other than those described. Furthermore, the various elements (i.e., systems and modules) of vehicle 500 may be implemented in combinations different from those described herein.
[0178] Figure 6 System 600 according to some embodiments is illustrated by way of example. More specifically, system 600 is configured to implement the principles of the present disclosure. Therefore, system 600 should be considered as a non-limiting example of an implementation of the aspects of the present technology disclosed herein. For example, system 600 may be configured to perform the above-described combinations. Figure 1 The described method 100 and its combination Figures 2A to 2D Methods 200, 200', 200'', and 200''' are described. Therefore, unless otherwise stated, any features or principles described above also apply to system 600 as described herein, and vice versa.
[0179] System 600 includes a remote entity 602 or a server (or remote server, cloud server, central server, back-end server, fleet server, or back-end server), referred to below as remote server 602 or simply server 602. Server 602 can be configured to perform the above-described combination. Figures 2A to 2D The methods described are 200, 200', 200'', and 200'''. Server 602 may include combinations as described above. Figure 4 The described computing device 400. Server 602 can be distributed across multiple entities, such as multiple regional infrastructures. Regional infrastructures can act as intermediary servers in different geographic regions to aggregate results from various clients (i.e., vehicles) in different regions. This can provide hierarchical decentralized learning, which can help to efficiently manage larger fleets.
[0180] As illustrated, server 602 can be provided in the cloud, i.e., as a server implemented in the cloud. Advantageously, server 602 can perform computationally intensive tasks, or manage and coordinate the fleet (such as aggregating data from different vehicles in the fleet or distributing data to them), or update ADS functionality and distribute that update to the fleet.
[0181] System 600 further includes one or more vehicles 604a-604c, also referred to as a fleet of 604a-604c. The one or more vehicles 604a-604c can be combined as described above. Figure 5 The described vehicle. Therefore, one or more vehicles 604a-604c can be configured to perform method 100. Specifically, one or more vehicles 604a-604c may include the combination described above. Figure 3 The computing device 300 is described. Figure 6 The convoy illustrated herein includes, by way of example, three vehicles: vehicle 604a, vehicle 604b, and vehicle 604c. However, system 600 may include any number of vehicles 604a-604c. Although reference will be primarily made to vehicle 604a, the same principles apply to the other vehicles in the convoy.
[0182] One or more vehicles 604a-604c are communicatively connected to a remote server 602. This allows data 606 to be transmitted and / or received between the vehicles and the server. The one or more vehicles 604a-604c may further communicatively connect to each other. Data 606 can be any type of data (e.g., communication signals, sensor data samples, sensor data embeddings, information used to indicate local / global updates to a machine learning model, etc.). This communication can be performed via any suitable wireless communication protocol. The wireless communication protocol can be, for example, a long-range communication protocol (e.g., cellular communication technologies such as GSM, GPRS, EDGE, LTE, 5G, 5G NR, etc.) or a short-range communication protocol (e.g., a solution based on a wireless local area network (WLAN) such as IEEE 802.11). Server 602 includes suitable memory and control circuitry, such as one or more processors or processing circuitry, and one or more other components (e.g., data interfaces and transceivers). Server 602 may also include software modules or other components such that the control circuitry can be configured to execute machine-readable instructions loaded from memory to implement the steps of the method to be performed.
[0183] As mentioned above, each of the one or more vehicles 604a-604c can be configured to execute vehicle-side method 100, while server 602 can be configured to execute server-side methods 200, 200', 200'', and 200'''. However, it should be understood that these examples should not be considered restrictive, as several different implementations may exist depending on the specific implementation. Further details regarding the different steps can be found above to avoid unnecessary repetition.
[0184] Figure 7 This is a block diagram illustrating some embodiments of the technology disclosed herein. This block diagram can be considered an alternative representation of the technology described above. The block diagram illustrates a data pipeline 700 performed across methods 100, 200, 200', 200'', 200''' performed by one or more vehicles 704a, 704b, 704c (for local training of machine learning models as part of a decentralized learning scheme) and a remote entity 702 (for centralized integration of machine learning models). It should be noted that this block diagram is only considered an illustrative example of the technology disclosed herein.
[0185] First, let's look at the vehicle side. Box 706 represents one or more sensors in vehicle 704a that capture sensor data samples. These sensor data samples are then sent to box 708, where they are evaluated to determine if they meet a defined correlation criterion. The correlation criterion can be based, for example, on KPI measurements or embedding matching. If the sensor data samples pass the check for decentralized learning (box 710), they are sent to box 714 to train a machine learning model, which generates local updates to the machine learning model.
[0186] In parallel with training, the training process is recorded and archived (box 712). As explained above, this recording archive may include storing sensor data embeddings generated for the sensor data samples used in training. Additional information, such as the order in which the sensor data samples were used during training and the performance improvements they brought, may also be stored as part of the recording archive process. After training is complete, the recorded archive information (e.g., sensor data embeddings) and information indicating local updates to the machine learning model (e.g., updated model weights) may be transmitted (box 716) to remote entity 702.
[0187] Record archiving information associated with the decentralized training of machine learning models can be stored in remote entities (box 720). This record archiving process (primarily boxes 712, 716, and 720) enables many specific use cases, which will be explained further below. Furthermore, it can be provided for decentralized learning of final products (e.g., production models) (box 718).
[0188] The first use case is the automated validation and verification of ADS features at the level (primarily boxes 726, 730, 738, and 742). ADS features (associated with the machine learning model) are available in a defined ODD, which can be characterized by a subspace defined in the embedding space. For example, the ODD can be defined as all driving scenarios in darkness and on specific types of roads. Decentralized learning can then be enabled for the fleet within this defined subspace. All local training performed by fleets 704a-704c within this subspace is then logged, archived, and transmitted to the remote entity 702. Performance within the ODD (whether local or global updates to the machine learning model) can be continuously evaluated in the remote entity (box 726). If the performance is good (e.g., exceeding a certain threshold, box 730), the feature can be enabled (box 728) and included in the ADS feature configuration (box 742). In some cases, ODD performance can be accepted when no (or fewer than a set threshold) new training (i.e., reported local updates) is performed within the ODD within a specific time limit, as this would indicate that the machine learning model has reached a point where it appears capable of handling all new scenarios it has been exposed to with the expected performance. The enabled features can then be further added to the final product deployed in the fleet (Box 744).
[0189] The second use case is to support updates to the current machine learning model (e.g., increasing its size) or to support entirely new model architectures without discarding early training efforts (primarily boxes 724 and 722). As explained earlier, all local training of the machine learning model is recorded and archived and collected in remote entity 702 (box 724). Sensor data samples used in training can be transferred from vehicle 704a-704c, or reconstructed into synthetic sensor data samples by utilizing one or more decoding networks operating on sensor data embeddings (as combined above). Figure 2B (As explained). At any time, an existing machine learning model can be completely retrained, updated, or a completely new machine learning model can be run in remote entity 702 based on the archived fleet training data and other collected data (box 722). This allows for updating or replacing model architectures in a more efficient manner. The retrained model can then be added to the final product (box 744) for deployment to the fleet.
[0190] The third use case is to automate the development and improvement of machine learning models without developer intervention by logging and archiving progress (primarily boxes 728, 736, 734, 740, 732, 730, and 738). Furthermore, all local training of the machine learning model is logged and archived and collected in a remote entity 702 (box 724). This logging and archiving information can be mapped to the collected data (i.e., sensor data samples stored in the remote entity). This mapping allows for the evaluation of the strengths and weaknesses of the machine learning model without any targeted offline activity (boxes 728, 734). This can be used to streamline product decisions, enabling features under certain conditions where performance is sufficiently good. Additionally, it can highlight problem areas requiring targeted effort, such as additional offline data collection (box 732) or targeted training of more fleet data (e.g., modifying training triggers in the fleet by adjusting KPI thresholds and / or defining new query embeddings (box 740)). Even further, it can be used to measure the occurrence of training over time (i.e., training trends) to build confidence that the product is improving (box 736).
[0191] The present disclosure has been described above with reference to specific embodiments. However, other embodiments besides those described above are also possible and within the scope of the present disclosure. Within the scope of the present disclosure, method steps different from those described above, performed by hardware or software, can be provided. Therefore, according to an exemplary embodiment, a non-transitory computer-readable storage medium is provided that stores one or more programs configured to be executed by one or more processors of a vehicle control system, the one or more programs including instructions for performing the methods according to any of the embodiments discussed above. Alternatively, according to another exemplary embodiment, a cloud computing system can be configured to perform any of the methods presented herein. The cloud computing system may include distributed cloud computing resources that jointly perform the methods presented herein under the control of one or more computer program products.
[0192] It should be noted that no reference numerals in the drawings limit the scope of the claims. The technology disclosed herein can be implemented at least in part by means of both hardware and software, and the same hardware item can represent multiple “devices” or “units”.
Claims
1. A computer-implemented method (100) for training a machine learning model, executed in a vehicle, the method (100) comprising: i. Obtain (S102) sensor data samples related to the surrounding environment of the vehicle from one or more sensors of the vehicle; ii. Generate (S104) one or more sensor data embeddings associated with the sensor data sample, wherein the one or more sensor data embeddings are representations of the sensor data sample in a multidimensional space, generated by processing the sensor data sample using one or more sensor data encoding networks, which have been trained to process the sensor data sample and output the corresponding sensor data embedding in the multidimensional space. iii. Determine (S106) whether the sensor data sample satisfies the defined correlation criterion; iv. In response to the sensor data samples satisfying the defined correlation criterion, the machine learning model is trained (S108) using the sensor data samples, thereby generating a local update of the machine learning model; as well as The information used to indicate the local update of the machine learning model, along with the embedded data from the one or more sensors, is transmitted (S112) to the remote entity.
2. The method (100) according to claim 1, further comprising: v. Determine (S110) the performance metric for the local update of the machine learning model; as well as Repeat the steps labeled i through v until the performance metric of the locally updated machine learning model meets the defined performance requirements. The transmission (S112) is used to indicate that the information of the local update of the machine learning model and the embedding of one or more sensor data are performed while meeting the defined performance requirements.
3. The method (100) according to claim 1, further comprising: The sensor data sample that, when used to train the machine learning model, causes the performance metric to improve by more than a defined threshold, is transmitted to the remote entity (S114).
4. The method (100) according to claim 1, wherein, The defined relevance criterion is based on the proximity between the one or more sensor data embeddings and the query embedding, wherein the query embedding has been generated by processing the query using a query encoding network, which has been trained to process the query and output the corresponding query embedding in the multidimensional vector space, wherein the query encoding network has been trained in association with one or more of the sensor data encoding networks such that the query embedding of a query that is context-related to a particular sensor data sample points to the same point in the multidimensional vector space as the one or more sensor data embeddings of that sensor data sample; and Determining whether the sensor data sample (S106) satisfies the defined relevance criterion includes determining whether the one or more sensor data embeddings are within a distance value from the query embedding in the multidimensional space.
5. The method (100) according to claim 1, further comprising: Metadata associated with the training of the machine learning model executed in the vehicle is transmitted (S116) to the remote entity.
6. The method (100) according to claim 1, further comprising: Receive (S118) information from the remote entity indicating a global update to the machine learning model, wherein the global update to the machine learning model is based on multiple local updates to the machine learning model obtained from multiple vehicles participating in the training of the machine learning model; and The machine learning model of the vehicle is updated (S120) based on the received information indicating the global update of the machine learning model.
7. The method (100) according to claim 1, wherein, The transmitted one or more sensor data embeddings and / or the transmitted metadata associated with the training of the machine learning model are stored at the remote entity as archival information for the training of the machine learning model.
8. The method (100) according to claim 7, wherein, The archived information is used for the subsequent retraining of the machine learning model by the remote entity.
9. A computing device (300) for training a machine learning model in a vehicle, the computing device (300) including a control circuit (302) configured to: i. Obtain sensor data samples related to the vehicle's surrounding environment from one or more sensors of the vehicle; ii. Generate one or more sensor data embeddings associated with the sensor data sample, wherein the one or more sensor data embeddings are representations of the sensor data sample in a multidimensional space, generated by processing the sensor data sample using one or more sensor data encoding networks that have been trained to process the sensor data sample and output the corresponding sensor data embedding in the multidimensional space; iii. Determine whether the sensor data samples meet the defined correlation criteria; iv. In response to the sensor data samples satisfying the defined correlation criterion, the machine learning model is trained using the sensor data samples, thereby generating a local update of the machine learning model; as well as The information used to indicate the local update of the machine learning model, along with the embedded data from the one or more sensors, is transmitted to the remote entity.
10. A computer-implemented method (200, 200', 200'', 200''') for training a machine learning model, the method (200, 200', 200'', 200''') comprising: (S202) Information obtained from one or more vehicles to indicate one or more local updates of the machine learning model generated by training the machine learning model on sensor data samples obtained in the respective vehicles, and one or more sensor data embeddings associated with the sensor data samples used for training, wherein each sensor data embedding is a representation of the sensor data sample in a multidimensional space, generated by processing the sensor data sample using one or more sensor data encoding networks that have been trained to process the sensor data sample and output the corresponding sensor data embedding in the multidimensional space; as well as (S204) The one or more sensor data embeddings are stored as record archive information for the training of the machine learning model.
11. The method of claim 10 (200, 200', 200'', 200'''), further comprising: (S206) Generate a global update of the machine learning model based on the information used to instruct the local update of the machine learning model; as well as Information used to instruct the global update of the machine learning model is transmitted (S210) to the one or more vehicles.
12. The method (200, 200', 200'', 200''') according to claim 11, wherein, The training of the machine learning model is performed on a subspace defined in the multidimensional space, the defined subspace representing the operational design domain of the ADS features associated with the machine learning model. The information obtained (S202) indicating the local update of the machine learning model is received from the one or more vehicles in response to the local update of the machine learning model causing an improvement in the performance metric of the machine learning model exceeding a defined threshold. The transmission (S210) of the global update of the machine learning model is performed when no new information indicating a local update of the machine learning model within the defined subspace is obtained within a defined time period.
13. The method of claim 10 (200, 200', 200'', 200'''), further comprising: The stored record archive information is considered to train (S224) the subsequent machine learning model.
14. A computing device (400) for training a machine learning model, the computing device (400) including a control circuit (402) configured to: Information is obtained from one or more vehicles to indicate one or more local updates of the machine learning model generated by training the machine learning model on sensor data samples obtained in the respective vehicles, and one or more sensor data embeddings associated with the sensor data samples used for training, wherein each sensor data embedding is a representation of the sensor data sample in a multidimensional space, generated by processing the sensor data samples using one or more sensor data encoding networks trained to process the sensor data samples and output the corresponding sensor data embedding in the multidimensional space; and The data embeddings from the one or more sensors are stored as archival information for the training of the machine learning model.
15. A computer program product comprising instructions that, when executed by a computing device, cause the computing device to perform the method (100) according to claim 1 or the method (200, 200', 200'', 200''') according to claim 10.
