Method and system for automatically annotating sensor data - Patents.com

By grouping sensor data frames by ambient conditions and selectively retraining neural networks, the method addresses the inefficiencies of manual annotation, enhancing accuracy and reducing effort in large-scale sensor data projects.

JP2024536784AActive Publication Date: 2024-10-08DSPACE SE & CO KG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024517021
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-17
Filing Date
2022-09-15
Publication Date
2024-10-08
Estimated Expiration
2042-09-15

AI Technical Summary

Technical Problem

Existing methods for annotating sensor data, particularly for autonomous driving, require significant human effort and quality checks, and lack efficient automation to ensure high annotation quality and scalability.

Method used

A method that groups sensor data frames based on ambient conditions, uses neural networks for initial annotation, selects random samples for quality measurement, and re-trains the network when quality thresholds are not met, reducing manual effort and improving accuracy under challenging conditions.

Benefits of technology

This approach significantly reduces manual work and computational resources by focusing retraining on specific ambient conditions, ensuring high-quality annotations without additional human checks, thus accelerating large-scale annotation projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024536784000001_ABST
    Figure 2024536784000001_ABST
Patent Text Reader

Abstract

The present invention relates to a computer-implemented method for automatically annotating sensor data frames, such as video or audio frames. Received frames are grouped into packets based on at least one condition attribute related to ambient conditions present at the time the frames were recorded. A neural network is used to annotate a first packet corresponding to a particular value range of the condition attribute. Based on a first sample frame, a computer determines a quality measure for the annotations. If the quality measure for at least one frame is below a predetermined threshold, the neural network is retrained based on revised annotations for the first sample. If the quality measure is above a predetermined threshold, the annotated frames are exported. Furthermore, the present invention relates to a non-volatile computer-readable medium and a computer system.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method and computer system for automatically annotating sensor data frames, particularly image sensor data frames. [Background technology]

[0002] Autonomous driving by no means promises the current levels of comfort and safety in daily traffic. Despite significant investments by different companies, existing approaches can only be used in limited circumstances and / or assume only a subset of real autonomous behavior. The reason is the lack of a sufficient amount and variety of available driving scenarios. Further progress is therefore limited by the need for a huge amount of sufficiently different training and validation data (i.e. independent ground truth data). To prepare the training data, it is generally necessary to record a large number of different driving scenarios by a vehicle equipped with a set of sensors, in particular imaging sensors such as one or more cameras, LiDAR sensors and / or radar sensors. Before using these recorded scenarios as training data, it is necessary to annotate them.

[0003] This annotation is often performed by annotation service providers, who receive the recorded sensor data and divide it into work packets for a large human workforce, also called labelers. The exact annotations required (e.g., object classifications to be differentiated) depend on the respective project and are described in a detailed labeling specification. Customers provide the annotation service provider with raw data and expect high-quality annotations in a short period of time according to the customer's information. The number of labelers required for the completion of an annotation project increases with the increase in the amount of data provided and also with the decrease in the time frame for a fixed amount of data. For this reason, relatively large annotation projects that would provide sufficient ground truth data for validating, for example, autonomous vehicles, cannot be realized using only human work and require automating the annotation process.

[0004] The automated approach uses a neural network to label the recorded sensor data. A first set of received data is manually labeled and then used to train a dedicated neural network. Once the dedicated neural network is sufficiently trained, it can annotate a large amount of recorded imaging sensor data. This significantly reduces the effort compared to a purely manual approach. However, time-consuming human quality checks are still required to maintain a high annotation quality. A quality assurance process still has to be applied for every annotation, so there is a linear relationship between the project volume and the work effort required to meet the project requirements.

[0005] Therefore, improved methods for automatically annotating sensor data, especially imaging sensor data, are needed, and it would be particularly desirable to ensure high annotation quality while reducing the number of manual quality checks. Summary of the Invention [Problem to be solved by the invention]

[0006] It is an object of the present invention to provide a method and a computer system for automatically annotating sensor data frames, in particular video frames or LiDAR point clouds. [Means for solving the problem]

[0007] In a first aspect of the present invention, there is provided a computer implemented method for automatically annotating sensor data frames, the method comprising: receiving a plurality of sensor data frames; grouping the frames into a plurality of packets based on at least one condition attribute, the condition attribute representing an ambient condition that existed during recording of the sensor data frames; annotating frames from a first packet using a neural network, the annotation including assigning at least one data point to each frame, the first packet including frames having at least one condition attribute within a selected range of values; selecting a first random sample of one or more frames from the first packet and determining a quality measure for the data points; Including, If the computer determines that the quality measure for at least one frame in the first random sample is below a predetermined threshold, the method further comprises: receiving revised annotations for the frames in the first random sample; retraining the neural network based on the frames in the first random sample; selecting a second random sample of one or more frames from the frames of the first packet that were not included in the first random sample; annotating a second random sample of frames with the retrained neural network; and receiving quality measures for the data points and determining that the quality measures for the frames in the second random sample are above a predetermined threshold; annotating the remaining frames of the first packet with the retrained neural network; and Exporting the annotated frame of the first packet; A method is provided, further comprising:

[0008] The host computer can be realized as a single standard computer including a processor, such as a general-purpose microprocessor, a display device, and an input device. Alternatively, the host computer system can include one or more servers including multiple processing elements, which are connected via a network to clients including display devices and input devices. Thus, the annotation software can be partially or completely realized on a remote server, such as on a computer cloud, and thus only the graphical user interface needs to be realized locally. Exporting the annotated frames can include, for example, storing the frames on an external data medium and / or converting or integrating them into a predefined data format.

[0009] By grouping the sensor data frames based on condition attributes that represent the ambient conditions that existed at the time of recording, possible correlations between the condition attributes and the accuracy of the annotation can be taken into account. The ambient conditions that existed during the recording of the frames can affect the accuracy of the annotation. For annotations that include multiple data points, this effect can vary depending on the data points. If the sensor data includes camera images taken at night, it can be more difficult to determine the location and / or classification of the object. However, attributes of the car, such as the state of the indicator lights, are more easily perceptible than in broad daylight. The present invention makes it possible to identify ambient conditions that inhibit annotation accuracy and to improve the neural network under these conditions by selective retraining. The retraining is carried out targeted to the problematic ambient conditions, thus reducing the overall training effort. This further reduces the computational performance required for training and thus the energy consumption.

[0010] The term "neural network" may relate to a single neural network, a combination of different neural networks according to a given architecture, or any kind of technique based on machine learning that learns from sample data in a supervised, semi-supervised or unsupervised manner. Different neural networks may be used for different data points, i.e. a first neural network may be used to determine the location and / or classification of an object, while at least one further neural network may be used to determine the attributes of the object.

[0011] Since manual work is only used to create training, test and / or validation data for the purpose of systematically improving the neural network for annotating frames, or other automated components based on machine learning, the effort for large-scale annotation projects can be significantly reduced. Typically, after several iterations of neural network retraining, the quality level is sufficient to provide automated results without further manual checks, i.e., annotation by the neural network. The method of the present invention further reduces the manual effort and time required by focusing the retraining on conditions where annotation quality is still lacking.

[0012] As a quality measure, for example, the area overlap between an automatically created bounding box and a bounding box created manually within the framework of a quality control can be used. It is also possible to require a maximum number and / or rate of incorrectly assigned object classifications and / or false positives and / or false negatives. In that case, for example, if the area overlap of the bounding boxes is too small, the quality measure falls below a predefined threshold. It can also be assumed as a quality measure that at most a predefined number of false positive or incorrectly identified objects and / or false negative or not incorrectly identified objects may occur in a random sample from a predefined number of frames. In that case, for example, if a maximum permissible number of not-identified objects in a random sample is exceeded, the quality measure falls below a predefined threshold.

[0013] The step of selecting the second random sample of frames from the first packet and the step of annotating the remaining frames of the first packet with the retrained network may be interchanged. For example, all remaining frames of the first packet may be annotated with the retrained network before the second random sample is selected. If only the annotation of the frames of the second random sample with the retrained network is performed and annotation of further frames is postponed until sufficient annotation quality is confirmed, this reduces the computational effort in cases where the neural network must be retrained more than once, thereby accelerating the retraining and annotation process.

[0014] In one embodiment, the received sensor data includes frames of at least one imaging sensor, such as one or more cameras, LiDAR sensors and / or radar sensors. The received sensor data may also include additional sensor data recorded simultaneously with the imaging sensor data, such as GPS position, vehicle acceleration or data from a rain sensor. In the case of an image frame, i.e. a frame with image data or data frames from an imaging sensor, the condition attributes are preferably geographic location, time of day, weather conditions, visibility conditions, road type, distance to object and / or traffic density. The distance to object may be the distance to the nearest object, the distance to the farthest object or the average distance to multiple objects identified in the frame, and by considering the distance of the object as an ambient condition at the time of recording, the impact on the performance of the object detection and / or object classification of the neural network can be quantified. In the case of an image frame, the at least one data point preferably includes the object location, the object classification, the location of the bounding box edge, the degree of overlap of the object with other objects, the correlation of the object in the image frame with objects in the preceding or following image frame (as a result of tracking the object), and / or the activation of an indicator light, e.g. a turn signal or a brake light. The number of data points may depend on the content of the image frame, e.g. a large number of cars and pedestrians in a large city scenario with a corresponding number of object locations, object classifications and possible attributes for the corresponding object classifications.

[0015] In one embodiment, the received sensor data comprises audio frames recorded by at least one microphone. In the case of audio frames, i.e. frames with audio data, the condition attributes are preferably a geographic location, a gender and / or an age of the recorded speaker, a room size and / or a measure of background noise. In the case of audio frames, the at least one data point comprises one or more text words identified from the audio frames. Words can be identified from multiple subsequent audio frames, from which data points can thus be derived. The difficulty in identifying the voice may depend, for example, on the frequency range from which the speaker speaks, the presence of reverberation or echo from the room and / or the level of background noise present.

[0016] Preferably, receiving the plurality of sensor data frames comprises pre-processing the frames, where at least one of the condition attributes for the frame is determined by a dedicated neural network based on the frame and / or where at least one of the condition attributes for the frame is determined based on additional sensor data recorded simultaneously with the frame, which can be combined and / or used for queries regarding different services, for example presenting types of lighting conditions based on weather conditions, time of day and geographical location.

[0017] In one embodiment, the first random sample includes two or more frames selected from the first packet. Preferably, as soon as the computer identifies that the quality measure for the first random sample is below a predetermined threshold, no further calculations are performed on the frames from the first packet until a corrected annotation for the frame in the first random sample is received. Additional frames from the first group can be manually annotated and added to the frames of the first random sample, allowing a relatively large data set to be used for retraining the model. By postponing further processing until the neural network is retrained, a large amount of time and energy is saved.

[0018] Advantageously, the selection of frames for the first random sample depends on the data points for which the quality measure is to be determined, inter alia, a single frame is randomly selected in case of object detection and / or a batch of consecutive frames is randomly selected in case of object tracking. By using an intelligent strategy to extract the random sample, the improvement that can be achieved by retraining is maximized. Object detectors, such as for identifying traffic signs, benefit from training data with high variance, and therefore a random selection of a single frame is a useful first random sample. On the other hand, the tracking component benefits from consecutive data, since only then can tracking of the same object between consecutive frames be performed. In such a case, a series of consecutive (e.g. always 10) frames for a wide variety of objects would be randomly selected as a useful random sample. As an example, an intelligent sample extraction would extract frames 10-20, frames 100-110 and frames 235-245 for the first random sample when determining a quality measure for the tracking component. To obtain a large variance in the random samples, the software component performing the sample selection can specify a minimum time interval between the random samples to ensure that the different frames are taken under different ambient conditions. Additionally or alternatively, one or more attributes can be considered during sample selection. For example, if the random samples are selected to quantify the performance of an object detector at night, different environments can be specified, such as a metropolis, a countryside, or a highway. A random selection will then be performed between all random samples that meet the specified criteria.

[0019] In one embodiment, the steps of selecting a current random sample from one or more frames from the first packet, determining a quality measure for the data points, receiving revised annotations for the frames in the current random sample, and retraining the neural network based on the frames in the current random sample are repeated until the quality measure for the frames in the current random sample exceeds a predetermined threshold or until the first packet does not contain any remaining frames. Usefully, the neural network is retrained until it is able to correctly handle ambient conditions that are adverse to the annotation process.

[0020] Preferably, the annotating and recording of the sensor data are performed alternately or simultaneously, and when it is determined that the quality measure for at least one frame in the first random sample is below a predetermined threshold, the computer requests the recording of additional sensor data in which at least one condition attribute is within a selected value range of the first packet. The value range of the condition attribute can be selected by equipping the test vehicle with an automated recording device that runs a selection program that triggers recording as soon as a predetermined recording condition is met, or by requesting the test driver to drive under predetermined conditions, for example at night. In this way, new data is recorded at least mainly for ambient conditions for which the neural network requires further training. By carefully selecting the training data, the improvement per training effort is maximized. Thus, the computational performance required for training and also the energy consumption are reduced.

[0021] In a second aspect of the present invention, a computer-implemented method for automatically annotating sensor data including frames, e.g., video or audio frames, is contemplated, the method being performed by at least one processor of a host computer, the method comprising: a) receiving a plurality of sensor data frames; b) grouping frames into packets based on at least one condition attribute, the condition attribute representing an ambient condition that existed during recording of the sensor data frames; c) annotating frames from a first packet using a neural network, the annotation including assigning at least one data point to each frame, the first packet including frames having at least one condition attribute within a selected range of values; d) selecting a first random sample of one or more frames from the first packet and determining a quality measure for the data points; e) determining that a quality metric for at least one frame in the first random sample is below a predetermined threshold; f) receiving revised annotations for the frames in the first random sample and retraining the neural network with the frames in the first random sample; g) annotating at least one of the remaining frames of the first packet with the retrained neural network; h) selecting a second random sample of one or more frames from the at least one annotated remaining frame of the first packet and determining a quality measure for the data points; i) identifying a quality metric for frames in the second random sample that is above a predefined threshold; j) annotating the remaining frames from the first packet with the retrained neural network; k) exporting the annotated frames; and Includes.

[0022] An aspect of the present invention also relates to a non-volatile computer readable medium comprising instructions which, when executed by a microprocessor of a computer system, cause the computer system to carry out a method according to the present invention as described above or in the appended claims.

[0023] In a further aspect of the invention, a computer system is envisaged, comprising a host computer, the host computer comprising a processor, a main memory, a display, a device for human input and a non-volatile memory, in particular a hard disk or a solid state drive, the non-volatile memory comprising instructions which, when executed by the processor, cause the computer system to carry out the method according to the invention.

[0024] The processor may be a general-purpose microprocessor commonly used as the central unit of a personal computer, or the processor may include one or more processing elements configured to perform specialized calculations, such as, for example, a graphics processor. Alternative embodiments of the invention may use programmable logic devices such as FPGAs, which may include, for example, FPGAs and / or IP core microprocessors configured to provide a fixed range of functionality, instead of or in addition to the processor.

[0025] BRIEF DESCRIPTION OF THE DRAWINGS A better understanding of the invention can be obtained from the following detailed description of the preferred embodiments when considered in conjunction with the following drawings. [Brief description of the drawings]

[0026] [Figure 1] 1 is an exemplary diagram of a computer system. [Diagram 2] FIG. 2 shows an example video frame, together with a schematic diagram of possible data points in the top left inset. [Diagram 3] 2 is a schematic diagram of an exemplary packet of a video frame; [Figure 4] 2 is a schematic diagram of an exemplary packet of video frames grouped according to time and weather information; [Diagram 5]FIG. 1 is a schematic diagram illustrating the correlation between ambient conditions and annotation quality. [Figure 6] 1 is a schematic diagram of an automated system for implementing the method according to the invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] In the drawings, similar elements are given the same reference numerals. While the invention is susceptible to various modifications and alternative forms, specific embodiments have been shown by way of example in the drawings and are described in detail herein. It is to be understood, however, that the drawings and detailed description of the specific embodiments are not intended to limit the invention to the particular forms disclosed. On the contrary, the invention is intended to cover all such modifications, equivalents and alternatives falling within the inventive spirit and scope of the invention as defined by the appended claims.

[0028] FIG. 1 illustrates an exemplary embodiment of a computer system.

[0029] The illustrated embodiment includes a host computer PC having a display ANZ and user interface devices such as a keyboard TAS and a mouse MAU, and further, an external server may be connected via a network as indicated by the cloud symbol.

[0030] The host computer PC includes at least one processor CPU with one or more cores, a main memory RAM, and a number of devices connected to a local bus (such as, for example, PCI-Express) that exchanges data with the CPU via a bus controller BS. These devices include, for example, a graphic processor GPU for controlling the display, a control unit USB for connecting peripherals, a non-volatile memory HDD, such as, for example, a hard disk or a solid-state drive, and a network interface NC. Furthermore, the host computer may include a dedicated accelerator KI for the neural network. The accelerator may be configured as, for example, a programmable logic device, such as an FPGA, as a graphic processor suitable for general calculations, or as an application-specific integrated circuit. Preferably, the non-volatile memory includes instructions that, when executed by one or more cores of the processor CPU, cause the computer system to carry out the method according to the invention.

[0031] In an alternative embodiment, the host computer may include one or more servers, shown as a cloud in the drawings, including one or more processing elements, and the servers are connected via a network to clients including display devices and input devices. Thus, the annotation environment may be realized partially or completely on a remote server, such as in a cloud computing device. A personal computer may be used as a client including a display device and an input device via a network. Alternatively, the graphical user interface of the annotation environment may be displayed on a portable computing system, such as on a smartphone or tablet, especially with a touch screen user interface.

[0032] FIG. 2 shows an example video frame, along with a schematic diagram of possible data points in the upper left inset.

[0033] The drawing shows a photograph or frame of a large cityscape. Such a frame may be part of a video recording. Typically, the recording provided by the customer consists of video or audio data, which may be a continuous context, such as a 5-minute drive recorded via a camera and a LiDAR sensor, or a 10-minute voice recording. The video recording may consist of, for example, a series of consecutive frames, which themselves capture a series of objects. The neural network processes the recording to create an annotation that may include multiple data points, each data point representing one particular aspect.

[0034] A data point is a parameter that represents a particular characteristic of a recording and is applicable at all levels of detail. The level of detail may be the entire recording, a series of consecutive or random frames, a single frame, or an object on a frame. Particular examples are annotations for cars consisting of a bounding box that represents the car's position with some accuracy, vertical lines marking the edges of the car, a classification to represent the type of car, attributes related to cropping or occlusion, turn signals, stop lights, color, etc. A data point may be a classification, a box, a segment, a polygon, a line, an attribute, e.g. turn signals, stop lights, color, subclassification, tracking information, degree of occlusion, degree of cropping, a complex classification representing the importance of an object / frame / clip, a sound, a text, a sensation, or any other automatically identifiable information.

[0035] In the upper left inset of the drawing, different data points for a car are shown. The car can be of different types, for example a delivery van, an SUV or a sports car. The position or even the dimensions of the car are generally shown by a bounding box, i.e. a rectangular frame or a cuboid surrounding the car. The vertical lines indicate the boundaries of the car. A further possible data point for the car is the activation of the indicator lights, for example the turn signals shown in the inset.

[0036] There are many cars in the frame, each surrounded by a bounding box. Cars may be fully visible, e.g., cars driving directly in front of the camera, or they may be occluded. Traffic density in large urban scenes can hinder annotation quality, e.g., by making it difficult to accurately determine the boundaries of the bounding boxes due to occlusions.

[0037] FIG. 3 shows a schematic diagram of an exemplary packet of a video frame.

[0038] A typical method for creating sensor data for training or validating an autonomous vehicle is to have a test driver drive around while recording all sensor data of interest, e.g., camera data, LiDAR data, and / or GPS data. These data are not sorted, so the first recording (record 1) may have been taken in broad daylight on a highway, while the next recording (record 2) may have been taken during the day, but during rain. The next recording 3 (record 3) may have been taken at night. In subsequent recordings, ambient conditions may change in unexpected ways.

[0039] Fig. 4 shows a schematic diagram of an example packet of video frames grouped according to additional time information and weather information. Since the visibility of objects strongly depends on the time of day and weather conditions, the annotation quality for the object detector is correlated with these ambient conditions.

[0040] It is advantageous to group the recorded frames into packets or clusters according to time of day and weather conditions. In the illustrated example, records 1, 5 and 6 were recorded during a day with clear skies, whereas records 2, 4 and 7 were recorded during a day with rainy weather due to rainfall. Record 3 was recorded at night under rainy conditions.

[0041] Further criteria may be used to group the recorded frames into packets or clusters. As an example in the context of autonomous driving, customer-provided data may be aggregated based on day / night and rain / sun, as well as road type, e.g., city roads versus highways.

[0042] To provide a group of frames with uniform annotation quality, frames recorded during similar ambient conditions are processed together. In one embodiment, different neural networks can be used to annotate the frames based on at least one ambient condition that was present when the respective frames were recorded.

[0043] FIG. 5 shows an exemplary diagram illustrating the correlation between ambient conditions and annotation quality.

[0044] The first group of frames in cluster 1, which includes records 2, 4, and 7, were recorded during rainy or wet days. The accuracy of cluster 1 is near 90% based on manual quality checks. Therefore, although this annotation still needs to be checked, the neural network is able to produce sufficiently accurate data after several retraining iterations.

[0045] The second group of frames in Cluster 2, which includes Records 1 and 5, were recorded during the day in clear skies. The accuracy of Cluster 2 is 99% based on a manual quality check. This is accurate enough that we can completely omit the quality check for groups of frames recorded under identical ambient conditions.

[0046] The third group of frames in cluster 3, which includes records 3 and 8, were recorded at night in rainy weather. The accuracy of cluster 3 is 50% based on manual quality checks and is therefore clearly unacceptable. Frames recorded under identical ambient conditions require thorough manual checking and improved training of the neural network.

[0047] Since the frames are grouped according to the surrounding conditions, the human effort is invested in the group of frames where it is most needed. The frames recorded under favorable conditions can be processed fully automatically. The computational performance or energy required for new training of the neural network is also invested where it has a significant impact on the quality of the annotation.

[0048] 6 is a schematic diagram of an automation system implementing the method according to the invention, which performs the different steps of the method in dedicated components and is well adapted for implementation in a cloud computing environment.

[0049] In the first step, "data capture," unsorted recordings are received by the customer. To allow for uniform processing, the recordings can be normalized, e.g. split into multiple frames.

[0050] In the second step, "enrichment", frames from the recording are analyzed and automatically enriched with metadata related to a measurement of the automation quality. Although this step is shown as a prerequisite for automation, in alternative embodiments, this enrichment can also be performed after the automation, depending on the desired metadata, for example based on information collected during annotation, such as traffic density or distance from the object to the sensor. In the context of autonomous driving, the metadata or condition attributes related to the annotation quality can be geography, weather conditions, road type, lighting conditions and / or time of day. For the efficiency of the automation, it is beneficial to process the group of frames as a whole in subsequent steps. In the case of projects involving nested recording and processing of multiple frames, it would be advantageous to add frames recorded under identical ambient conditions until a predefined cluster size is reached before continuing with further processing steps. Enrichment and cluster formation therefore includes techniques for adding static or dynamic metadata to the recordings and for inserting individual records into larger clusters of a definable size based on metadata enrichment.

[0051] In a third step, the "scheduler," different groups of frames are sorted for annotation by an automation engine, which drives one or more automation components to annotate the frames with one or more data points. The scheduler selects groups of frames for processing based on the availability of new versions of the automation components. The automation components may generate a single data point, e.g., a vertical line, or may generate corresponding multiple data points, e.g., a bounding box and an object classification. The automation components may be neural networks or any other type of machine learning based technique that learns from data samples in a supervised, semi-supervised, or unsupervised manner.

[0052] In a fourth step, "automation engine", the group of frames is processed by at least one automation component that assigns data points to the frames. The automation system generates each data point of any kind via the automation component, i.e. the automation component is a central part of the annotation system's workflow. Preferably, the data points carry metadata detailing the version of the automation component used to generate the result. The automation engine includes techniques for accurately storing the relevant metadata via the automation component.

[0053] In a fifth step, "sample check," a random sample of frames is selected for quality control. In quality control, the frames with corresponding annotations, e.g., bounding boxes, can be displayed to a human annotator, who can be queried whether the bounding boxes are correct. Alternatively, a user interface can be displayed to the human annotator for adjusting and / or adding bounding boxes if an object is missed by the neural network. The automated system determines a quality measure from the type and number of corrections made by the human annotator.

[0054] In the sixth step "sample check passed?", the system determines whether the annotation quality or quality measure is above a predefined threshold. If the automated system confirms that the predefined threshold is exceeded (yes), the group of frames including the selected random sample is exported and provided to the customer. If at least one group of frames recorded in a certain set of ambient conditions passes the sample check, the automated system can determine that the annotation quality for all groups of frames with the same ambient conditions may be exported without further quality checks, and thus steps 5 and 6 should be skipped. In one embodiment, the automated system can count the number of groups with ambient conditions with sufficient annotation quality and skip the check of the random sample as soon as a predefined number of groups pass the sample check. If the automated system confirms that the group of frames did not pass the sample check (no), the execution continues in an eighth step, in which the automated system identifies whether frames recorded under the ambient conditions of the selected random sample are necessary for the dataset. Whether they are necessary for the dataset may depend on the number of frames recorded under the same conditions already used for training the model. If a sufficient number of frames have already been used for training, then a group of frames can simply be inserted into the third step, the "scheduler", for afresh processing by the retrained neural network as soon as it is available.

[0055] In the seventh step "Customer Sample Check", the customer can check a random sample of the exported frames to ensure that the annotation complies with the customer's settings and the required annotation quality. If the customer rejects a group of frames, in a "Correction" step the random sample or the entire group of frames is processed manually. Preferably, the automated system forces a sample check on all subsequent groups with identical ambient conditions until the new group of frames passes the sixth step sample check and / or the seventh step customer sample check.

[0056] In the ninth step, "correction", manual annotation of a random sample of frames that do not pass the test, or of the entire group of random samples or frames rejected by the customer, is performed. The manually annotated frames are exported and provided to the customer for the seventh step, i.e., customer sample check. The manually annotated frames are also used to retrain the neural network by providing the corrected data to the training, validation or test datasets. These datasets are symbolically illustrated by cylinders.

[0057] In the tenth step "Flywheel", retraining of at least one neural network or automation component that generated the data points rejected in the sample check is performed. Retraining of the neural network improves the automation quality. Preferably, the automation component is improved to a level where manual inspection for too many metadata clusters (i.e. frames recorded at a particular set of ambient conditions) is not required as much as possible. To allow for a rapid improvement in efficiency, the iteration time for retraining should be as short as possible.

[0058] The Flywheel includes techniques for efficiently storing the training dataset for each automated component (each data point) in order to monitor changes in the training dataset and automatically trigger retraining upon detection of a predefined or automatically determined threshold of changes in the training dataset. Additionally, the Flywheel includes techniques for automatically populating the retrained models into the automated components and for notifying planners of version changes in the automated components.

[0059] An additional step of targeted data capture can be performed if new data are recorded simultaneously or nested with the annotation of the frames. The automation component is improved by multiple training iterations on a constantly refined dataset, which reflects the real-world variance better and better over time. The confidence level per metadata cluster allows a systematic approach to capture the very data samples where the automation results suffer most. With reference to FIG. 5, the frames of cluster 3 were recorded at night, and the automatic annotation actually results in an unacceptable annotation quality. As soon as this is discovered in a check step, a targeted data capture can be requested, during which a night sample is recorded under these ambient conditions specifically to improve the training dataset of the automation component.

[0060] In a preferred embodiment, the level and amount of additional training data of a particular type (cluster) is determined depending on the confidence level. All data recorded under the same conditions can be used for retraining. As soon as the correction of incorrectly annotated frames is performed, these frames are directly fed into the training dataset of the special automation component. However, it is usually not necessary to manually correct all data for a particular cluster and data point. Instead, only samples up to the next retraining threshold level are extracted and corrected. The remaining part of the data is automatically planned for a fresh run with a higher version of the automation component. The targeted data acquisition includes techniques for selecting samples of interest based on metadata clusters up to a predefined amount for manual correction. Furthermore, the targeted data acquisition preferably includes techniques for marking low-quality samples that are not required for retraining to run the automation in a higher version of the respective automation component.

[0061] By exploiting the correlation between the ambient conditions when a frame was recorded and the quality of the resulting annotation, the method according to the invention allows to put in manual work, in particular in the rapid refinement of the neural network, which is then used to create automatic annotations for supply to customers, thus significantly accelerating relatively large annotation projects required, for example, for validation.

[0062] Those skilled in the art will recognize that the order of at least some of the steps of the method according to the present invention may be changed without departing from the scope of the invention as claimed. While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will recognize numerous modifications and variations of these embodiments. It is intended that the appended claims cover all such modifications and variations that fall within the true inventive spirit and scope of the invention.

Claims

1. 1. A computer-implemented method for automatically annotating sensor data frames, the method comprising: receiving a plurality of sensor data frames; grouping the frames into a plurality of packets based on at least one condition attribute, the condition attribute representing ambient conditions that existed during recording of the sensor data frames; annotating frames from a first packet using a neural network, said annotation comprising assigning at least one data point to each frame, said first packet comprising frames for which said at least one conditional attribute is within a selected range of values; selecting a first sample of one or more frames from the first packet and determining a quality metric for the data points, where if the computer determines that the quality metric for at least one frame in the first sample is below a predetermined threshold, the method further includes receiving revised annotations for the frames in the first sample and retraining the neural network based on the frames in the first sample; selecting one or more second frame samples from the frames of the first packet that were not included in the first samples; annotating the second sample frame with the retrained neural network to determine a quality measure for the data points; determining that the quality metric for the frame in the second sample is above a predetermined threshold; annotating the remaining frames of the first packet with the retrained neural network; and exporting the annotated frame of the first packet; and The method includes:

2. In the case of frames having image data, the condition attributes are geographic location, time of day, weather conditions, visibility conditions, road type, distance to objects and / or traffic density; and / or In the case of audio frames, the conditional attributes are geographic location, gender and / or age of the speaker, room size and / or background noise measures; The method of claim 1.

3. Receiving a plurality of sensor data frames includes pre-processing the frames; At least one of the conditional attributes for a frame is determined by a dedicated neural network based on the frame; and / or at least one of the conditional attributes for a frame is determined based on additional sensor data recorded contemporaneously with the frame.

3. The method according to claim 1 or 2.

4. In the case of an image frame, the at least one data point comprises an object location, an object classification, a position of a bounding box edge, a correlation of an object in the image frame with an object in a preceding or subsequent image frame, and / or activation of an indicator light; and / or In the case of an audio frame, the at least one data point comprises one or more text words identified from the audio frame.

4. The method according to any one of claims 1 to 3.

5. the first sample includes two or more frames selected from the first packet; As soon as the computer determines that the quality measure for the first sample is below the predetermined threshold, no further calculations are performed on the frame from the first packet until a revised annotation for the frame in the first sample is received.

5. The method according to any one of claims 1 to 4.

6. The selection of a frame for the first sample depends on the data points for which the quality measure is to be determined, in particular a single frame is selected randomly in the case of object detection and / or a batch of consecutive frames is selected randomly in the case of object tracking.

6. The method according to any one of claims 1 to 5.

7. selecting a current sample from one or more frames from the first packet; determining a quality measure for the data points; receiving revised annotations for the frame in the current sample; retraining the neural network based on the frames in the current sample; is repeated until the quality measure for the frame at the current sample exceeds the predetermined threshold or until the first packet does not contain any remaining frames.

7. The method according to any one of claims 1 to 6.

8. Annotating the sensor data and recording the sensor data are performed alternately or simultaneously; and upon determining that the quality metric for at least one frame in the first sample is below a predetermined threshold, the computer requests recording of additional sensor data in which the at least one condition attribute is within the selected value range of the first packet.

8. The method according to any one of claims 1 to 7.

9. 1. A method for automatically annotating sensor data including frames, e.g., video or audio frames, comprising: The method is performed by at least one processor of a host computer, The method comprises: a) receiving a plurality of sensor data frames; b) grouping the frames into packets based on at least one condition attribute, the condition attribute representing ambient conditions that existed during recording of the sensor data frames; c) annotating frames from a first packet using a neural network, said annotation comprising assigning at least one data point to each frame, said first packet comprising frames for which said at least one conditional attribute is within a selected range of values; d) selecting a first sample of one or more frames from said first packet and determining a quality measure for said data point; e) determining that the quality measure for at least one frame in the first sample is below a predefined threshold; and f) receiving revised annotations for the frames in the first sample and retraining the neural network with the frames in the first sample; g) annotating at least one of the remaining frames of the first packet with the retrained neural network; and h) selecting a second sample of one or more frames from the at least one annotated remaining frame of said first packet and determining a quality measure for said data points; i) determining that the quality measure for the frame in the second sample is above a predefined threshold; j) annotating remaining frames from the first packet with the retrained neural network; and k) exporting the annotated frames; The method includes:

10. A non-volatile computer readable medium comprising instructions which, when executed by a microprocessor of a computer system, cause the computer system to perform the method of any one of claims 1 to 9.

11. 1. A computer system including a host computer, comprising: the host computer includes a microprocessor, a direct access memory, a display, a device for human input, and a non-volatile memory, in particular a hard disk or solid state drive; A computer system, wherein the non-volatile memory contains instructions which, when executed by the microprocessor, cause the computer system to perform a method according to any one of claims 1 to 9.