Method of training a machine learning model for a detection application in a vehicle

By selecting a subset of annotations relevant to vehicle system functions and combining them with auxiliary tasks to optimize training, the problem of low efficiency in existing technologies is solved, enabling high-precision vehicle detection applications and improving the model's performance and generalization ability on specific tasks.

CN123147169APending Publication Date: 2026-11-20ROBERT BOSCH GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202580029690.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-04-25
Filing Date
2025-04-16
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies typically use all available labels for optimization when training machine learning models for vehicle detection applications, while actual system functions only require labels from a portion of the field of view, resulting in inefficiency and insufficient accuracy.

Method used

By selecting a subset of labeled data relevant to vehicle system functions for training, using user-defined algorithms or existing systems for labeling and weighting in the objective function, and combining auxiliary tasks to optimize model training, the accuracy of the model in specific scenarios can be improved.

Benefits of technology

It achieves high-precision detection in vehicle system function-related scenarios, improves the performance and generalization ability of machine learning models on specific tasks, and reduces the risk of overfitting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123147169A_ABST
    Figure CN123147169A_ABST
Patent Text Reader

Abstract

The invention relates to a method (100) for training a machine learning model for a detection application in a vehicle (1), comprising the following steps: - providing (101) a training dataset, wherein the training dataset is representative of a traffic environment, wherein the training dataset comprises annotations for objects in the traffic environment; - selecting (102), depending on at least one characteristic of the detection application, a subset of the annotations in the training dataset, wherein the detection application is applied within the framework of a system function of the vehicle (1) and the at least one characteristic is specific to the system function; - training (103) the machine learning model for the detection application using the selected subset of annotations. The invention also relates to a computer program, a device and a storage medium for this purpose.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method for training a machine learning model for detection applications in vehicles. Furthermore, the invention also relates to computer programs, apparatus, and storage media used for this purpose. Background Technology

[0002] Active learning refers to training a machine learning model using labeled data, meaning data whose output has been determined before training. Training the machine learning model specifically involves statistically optimizing it against an objective function tailored to the application. In active learning, the model is typically trained using all available labels.

[0003] One specific application of machine learning models is so-called 3D object recognition. In this case, the label is, for example, a so-called 3D “bounding box,” that is, a 3D cuboid that surrounds the relevant object (e.g., vehicle, pedestrian, truck, cyclist, etc.).

[0004] In driver assistance applications, the output of an object detector can be used as an input signal for system functions such as Automatic Distance Control (ACC) or Automatic Emergency Braking (AEB).

[0005] In existing active learning techniques, all available labels are typically used to optimize the detection application, regardless of the scene. Furthermore, system functions often use detection applications trained for the entire field of view, even though the entire field of view is generally not required. Summary of the Invention

[0006] The subject matter of this invention is a method having the features of claim 1, a computer program having the features of claim 8, an apparatus having the features of claim 9, and a computer-readable storage medium having the features of claim 10. Further features and details of the invention are derived from the corresponding dependent claims, the description, and the drawings. Herein, the features and details described in conjunction with the method according to the invention also apply in conjunction with the computer program according to the invention, the apparatus according to the invention, and the computer-readable storage medium according to the invention, and vice versa, so that the disclosure of the invention may always be referenced mutually.

[0007] The subject of this invention is, in particular, a method for training a machine learning model for detection applications in vehicles, comprising the following steps, wherein the steps may be performed repeatedly and / or sequentially. The machine learning model may be a neural network, particularly a deep neural network. The detection application is, in particular, object detection, preferably the detection of three-dimensional objects.

[0008] In the first step, a training dataset is preferably provided, wherein the training dataset represents a traffic environment. The traffic environment is, for example, a highway or rural road, or a scene of rural or urban traffic. The training dataset also preferably includes annotations for objects within the traffic environment. Annotations can also be referred to as and understood as “labels” within the framework of this invention. Labels in the training of a machine learning model specifically represent data points that represent the expected answer or result of the input data. For example, labels are a component of supervised learning of a machine learning model. In the context of supervised learning, labels can be used to show the machine learning model during training what kind of output is expected when processing a particular input. Thus, the machine learning model can learn to recognize the association between input data and corresponding labels and make predictions or decisions about new, unknown data. Labels can exist in different forms depending on the type of task the machine learning model is training for. In classification tasks, labels are, for example, the kind or category to which the input data belongs. In detection applications within the framework of this invention, the labels can be, for example, “vehicles in the lane,” “vehicles in the adjacent lane,” “pedestrians,” or “traffic lights.” In this application, the annotations are specifically three-dimensional “bounding boxes,” that is, three-dimensional cuboids that enclose objects such as vehicles, pedestrians, trucks, or cyclists.

[0009] In another step, a subset of the labeled data is preferably selected from the training dataset based on at least one characteristic of the detection application. The detection application is applied, in particular, within the framework of the vehicle's system functions, and the at least one characteristic is specific to those system functions. The characteristic might, for example, indicate that only vehicles in the vehicle's own lane are relevant to the system function. The own lane here specifically refers to the lane in which the vehicle is located. In this case, the subset will only include labels associated with vehicles in the vehicle's own lane. For example, in overtaking assistance as a system function, the vehicle's adjacent lanes might also be relevant.

[0010] In another step, the machine learning model is preferably trained for the detection application using a selected subset of labeled data. This selected subset allows for targeted training, enabling more precise application of the detection application within the framework of the system's functionality, and optimizing the detection application for that system's capabilities. This training is performed, in particular, as supervised training. During this training, the machine learning model's parameters, such as weights in the neural network, are tuned to maximize its predictive accuracy. Within this process, hyperparameters of the machine learning model, such as the learning rate or the depth of the tree, can also be adjusted. The machine learning model can then be tested using a validation dataset to evaluate its generalization ability and adjust the hyperparameters accordingly.

[0011] Furthermore, it is advantageous that the selection, particularly the selection of the subset, is performed automatically and includes the following steps: A user-defined algorithm is applied, which is configured to perform the selection based on the at least one characteristic.

[0012] The user-defined algorithm, for example, uses a lane recognition algorithm to perform rule-based selection of relevant labels by dividing existing bounding boxes into objects inside and outside the lane. Alternatively, this selection can be performed using existing (production-ready) systems or existing corresponding algorithms.

[0013] Another advantage is that the method may further include the following steps: The labels are weighted in the objective function of the machine learning model, wherein a higher weight is assigned to the selected subset compared to the remaining labels.

[0014] Therefore, the machine learning model can be trained specifically for annotations related to the system functions of the vehicle. Consequently, accuracy can be advantageously achieved in the subsequent inference phase of the machine learning model.

[0015] For example, the method may be specified to further include the following steps: Define an additional auxiliary task for the machine learning model, wherein the labels of a selected subset are detected within the framework of the additional auxiliary task.

[0016] This can have the following advantages: the machine learning model is trained with greater discriminative power, and thus achieves higher accuracy in recognizing labels within a selected subset. The technique of using auxiliary tasks can be applied to improve the performance of the machine learning model on the main task, which in this application is particularly the detection application. The auxiliary task can be trained in parallel with the main task, whereby it prompts the machine learning model to learn internal representations useful for both the main and auxiliary tasks. By adding auxiliary tasks, the machine learning model can be prompted to extract richer and more general features from the input data. These features can then be useful for both the main and auxiliary tasks. The auxiliary task can also be used as a form of regularization to prevent the machine learning model from becoming overly focused on specific properties of the main task and thus potentially overfitting. The necessity of performing well on the auxiliary task also forces the machine learning model to find more general solutions. By training with auxiliary tasks, the machine learning model can also learn to organize its internal representations in a way that not only improves performance but also enhances the interpretability of the model's dynamics.

[0017] In another possibility, the auxiliary task can be specified to be performed in parallel or sequentially, particularly iteratively, with the detection application. In other words, the auxiliary task can be performed simultaneously with the detection application (e.g., distance control), or the auxiliary task can be performed first and then the distance control in a defined iteration, or vice versa. Iterative applications are also conceivable, i.e., the auxiliary task and the detection application can be performed sequentially multiple times.

[0018] According to another advantage, the method may further include the following steps: The detection application is performed within the framework of the system functions of the vehicle during the inference phase, using a trained machine learning model.

[0019] In this way, the advantages of using the machine learning model according to the invention for detection applications optimized for the system functions can be achieved. For example, through specific training according to the invention, higher accuracy can be provided during detection, especially when detecting objects related to the system functions.

[0020] Furthermore, it is advantageous that the system functions include lane keeping assist, lane change assist, automatic distance control (ACC), or automatic emergency braking (AEB). This list is not exhaustive, and other system functions for detection applications may also be envisioned.

[0021] It is possible that the machine learning model trained according to the present invention is used in a vehicle during the inference phase. The vehicle may, for example, be configured as a motor vehicle and / or passenger car and / or autonomous vehicle. The vehicle may have vehicle equipment, for example, for providing autonomous driving functions and / or driver assistance systems. The vehicle equipment may be configured to at least partially automatically control and / or accelerate and / or brake and / or steer the vehicle.

[0022] The machine learning model is trained specifically for classification and / or object detection. Accordingly, the training yields a trained machine learning model that can be used for the classification and / or object detection. This use and the resulting inference can, for example, be implemented in a vehicle. The data points of the input data can be, for example, pixels of image data or, based on these pixels, classification and / or object detection can be performed on the data points. The input data can include sensor data and / or image data, which are at least partially derived from acquisitions using sensors, preferably camera sensors, and / or at least partially synthesized, i.e., particularly simulating real sensor data. Specifically, the values ​​of image points, preferably pixels, of the image data can be specified to represent the sensor and / or vehicle environment, and / or traffic scene. Classification, preferably image classification, and / or object detection can be set based on these values. This allows, for example, the detection of objects in the traffic scene. The classification can also be set in the form of semantic segmentation (i.e., pixel-by-pixel or region-by-region classification) and / or object detection. The image data may be, for example, images from radar sensors and / or ultrasonic sensors and / or lidar (LiDAR) sensors and / or thermal imaging cameras. Accordingly, the images may also be radar images and / or ultrasonic images and / or thermal images and / or lidar images.

[0023] The subject of this invention also lies in a computer program, and more particularly a computer program product, comprising instructions that, when executed by a computer, cause the computer to perform the method according to the invention. Thus, the computer program according to the invention provides the same advantages as those already described in detail with reference to the method according to the invention.

[0024] The subject of this invention also relates to an apparatus for data processing configured to perform the method according to the invention. As an example, the apparatus may be a computer executing a computer program according to the invention. The computer may have at least one processor for executing the computer program. A non-volatile data memory may also be provided, in which the computer program is stored, and which the processor may read from the non-volatile data memory for execution.

[0025] The subject of this invention can also be a computer-readable storage medium having a computer program according to the invention and / or including instructions that, when executed by a computer, cause the computer to perform the method according to the invention. The storage medium is, for example, configured as a data storage device, such as a hard disk, and / or a non-volatile memory and / or a memory card. The storage medium may, for example, be integrated into the computer.

[0026] Furthermore, the method according to the present invention can also be implemented as a computer-based method. Attached Figure Description

[0027] Other advantages, features, and details of the invention will become apparent from the following description, in which embodiments of the invention are described in detail with reference to the accompanying drawings. Herein, the features mentioned in the claims and specification may be inventive, individually or in any combination. Wherein: Figure 1 A schematic visualization of a method, vehicle, apparatus, storage medium, and computer program according to embodiments of the present invention is shown. Detailed Implementation

[0028] Figure 1 The diagram schematically illustrates a method 100, a vehicle 1, an apparatus 10, a storage medium 15, and a computer program 20 according to an embodiment of the present invention.

[0029] Figure 1 In particular, an embodiment of a method 100 for training a machine learning model for a detection application in vehicle 1 is shown. In a first step 101, a training dataset is provided, wherein the training dataset represents a traffic environment, and wherein the training dataset includes annotations for objects in the traffic environment. In a second step 102, a subset of the annotations is selected from the training dataset based on at least one feature of the detection application, wherein the detection application is applied within the framework of the system functions of vehicle 1, and the at least one feature is specific to the system functions. In a third step 103, the machine learning model is trained for the detection application using the selected subset of annotations.

[0030] Relevant scenarios or annotations can be derived manually or automatically from system functional requirements. Furthermore, performance optimization can be performed specifically for relevant scenarios by dividing existing annotations into subsets of labels that are important to specific system functions and subsets that are not.

[0031] During training, detection in relevant scenarios can be improved by giving higher weights to the selected labels in the objective function. Furthermore, an auxiliary task can be defined to detect the selected labels within its framework.

[0032] An example is described below using automatic distance control or distance control function (ACC). Here, the relevant markings refer to vehicles in their own lanes, particularly on highways or rural roads. The method according to embodiments of the invention can improve the accuracy of detecting relevant vehicles, while accepting variations in detection results from other markings (e.g., vehicles in adjacent lanes). In this case, the auxiliary task is, for example, detecting vehicles in their own lanes, while the primary task or the detection application remains identifying all vehicles.

[0033] Within the framework of this invention, the objective function used to train the machine learning model can be adjusted according to the characteristics of the system functionality. This adjustment can be achieved by reweighting existing labels or by introducing an auxiliary task that detects labels important to the system functionality. As a result, the detection application can be advantageously optimized for the system functionality.

[0034] Preferably, the labels important to the system function are selected based on the characteristics of the system function. This selection can be performed using an existing (production-ready) system, manual selection, or a user-defined algorithm. The user-defined algorithm, for example, is a rule-based selection of relevant labels by using a lane recognition algorithm to divide existing bounding boxes into objects inside and outside the lane.

[0035] The foregoing description of the embodiments is merely an example to illustrate the invention. Of course, the various features of the embodiments can be freely combined with each other as long as it is technically meaningful, without departing from the scope of the invention.

Claims

1. A method (100) for training a machine learning model for a detection application in a vehicle (1), comprising the following steps: Provide a (101) training dataset, wherein the training dataset represents a traffic environment, wherein the training dataset includes annotations for objects in the traffic environment; Based on at least one characteristic of the detection application, a subset of the labeled data is selected (102) in the training dataset, wherein the detection application is applied within the framework of the system functions of the vehicle (1), and the at least one characteristic is specific to the system functions; The machine learning model (103) is trained for the detection application using the selected subset of annotations.

2. The method (100) according to claim 1, characterized in that, The selection (102) is performed automatically and includes the following steps: A user-defined algorithm is applied, which is configured to perform the selection based on the at least one characteristic.

3. The method (100) according to claim 1 or 2, characterized in that, The method (100) further includes the following steps: The labels are weighted in the objective function of the machine learning model, wherein a higher weight is assigned to the selected subset compared to the remaining labels.

4. The method (100) according to any one of the preceding claims, characterized in that, The method (100) further includes the following steps: Define an additional auxiliary task for the machine learning model, wherein the labels of a selected subset are detected within the framework of the additional auxiliary task.

5. The method (100) according to claim 4, characterized in that, The auxiliary tasks are performed in parallel or sequentially, especially iteratively, with the detection application.

6. The method (100) according to any one of the preceding claims, characterized in that, The method (100) further includes the following steps: The detection application is performed within the framework of the system functions of the vehicle (1) during the inference phase, using a trained machine learning model.

7. The method (100) according to any one of the preceding claims, characterized in that, The system functions as lane keeping assist, lane change assist, automatic distance control, or automatic braking parking assist.

8. A computer program (20) comprising instructions that, when the computer program (20) is executed by a computer (10), cause the computer to perform the method (100) according to any one of the preceding claims.

9. An apparatus (10) for data processing, configured to perform the method (100) according to any one of claims 1 to 7.

10. A computer-readable storage medium (15) comprising instructions that, when executed by a computer (10), cause the computer to perform the steps of the method (100) according to any one of claims 1 to 7.