Measuring generalization ability of trained machine learning model with respect to given measurement data

By generating validation examples that combine source content with target styles, the method enhances the generalization ability of machine learning models, addressing the limitation of existing models to handle diverse data contexts and improving system reliability.

JP2024127846APending Publication Date: 2024-09-20ROBERT BOSCH GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024034411
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-07
Filing Date
2024-03-06
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Machine learning models trained for specific tasks have limited ability to generalize to different domains and distributions, leading to inaccurate outputs when encountering data from unfamiliar contexts.

Method used

A method to measure and enhance the generalization ability of machine learning models by generating validation examples that combine source content with target styles, using trained feature extractors and generative networks to create verification examples with preserved base truth labels.

Benefits of technology

This approach allows for assessing and improving the model's ability to generalize across different domains and distributions, reducing the risk of inaccurate outputs and enabling safer operation of systems like autonomous vehicles and quality assurance inspections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127846000001
    Figure 2024127846000001
Patent Text Reader

Abstract

To provide a method for measuring the ability of a trained machine learning model for the processing of measurement data to generalize, with respect to a given task, to a target domain and / or distribution to which one or more input records of measurement data belong.SOLUTION: A method 100 includes: a step 110 of determining, from input records 2 of measurement data, a target style 2b that characterizes a target domain and / or distribution; a step 120 of acquiring, on the basis of at least in part the target style 2b, validation examples 4 in the target domain and / or distribution, and corresponding ground truth labels 4*; a step 130 of processing, by the trained machine learning model 1, the validation examples into outputs; and a step 140 of determining, on the basis of comparison between the outputs 3 and the respective ground truth labels, accuracy of the trained machine learning model as sought ability 1a of the trained machine learning model 1 to generalize to the target domain.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the evaluation of measurement data using trained machine learning models. [Background technology]

[0002] background In many applications, for example in the steering of autonomous vehicles or robots, even in premises or public road traffic, or in quality assurance inspections, measurement data is processed using trained machine learning models. In particular, machine learning models are advantageous for processing image data from cameras and point cloud data from radar or lidar sensors. Even if two records of such measurement data of any given scene are captured in immediate succession, they are not identical. This does not pose a problem when a trained machine learning model is used for processing, since the machine learning model has the ability to generalize the training data set on which it was trained. Summary of the Invention [Problem to be solved by the invention]

[0003] However, the ability to generalize is inherently limited to the domain and / or distribution to which the training data set belongs: if a machine learning model encounters records of measurement data from too different domains and / or distributions, its output may lack precision. [Means for solving the problem]

[0004] Disclosure of the Invention The invention provides a method for measuring the ability of a trained machine learning model for processing measurement data to generalize to a target domain and / or distribution to which one or more input records of measurement data belong. The machine learning model is trained for a specific given task. The ability to generalize is therefore measured with respect to this given task. The target domain and / or distribution does not have to be explicitly known. It is sufficient that the input records of the measurement data are representative of this domain and / or distribution.

[0005] In particular, the term "machine learning model" includes any function with a high ability to generalize that can be adapted using parameters that characterize its behavior. For example, a machine learning model may include one or more neural networks. The parameters may include, for example, weights by which inputs to a neuron are summed to the activation of this neuron.

[0006] From the input records of the measurement data, a target style is determined that characterizes the target domain and / or distribution. Based at least in part on the target style, validation examples in the target domain and / or distribution are determined. Each such validation example is labeled with a corresponding ground truth label. The ground truth label is the output that the trained machine learning model should ideally generate given the respective validation example. As described below, one approach to obtain labeled validation examples is to mix content in the source domain, for which ground truth labels are already available, with the target style in order to obtain a new validation example and reuse the ground truth label for the new validation example.

[0007] The trained machine learning model processes the validation examples into outputs. Based on a comparison between the outputs and each ground truth label, the accuracy of the trained machine learning model on the set of validation examples is determined as the desired ability of the trained machine learning model to generalize to the target domain.

[0008] In this way, given any technique for obtaining validation examples based on the target style, it is possible to determine whether the input records of the measurement data are still sufficiently covered by the training of the machine learning model, or whether these input records are in danger of falling out of the training coverage, meaning that the training no longer guarantees that the output generated by the machine learning model will be correct.

[0009] Figuratively speaking, training a human driver is very similar to training a machine learning model: after only a few dozen hours of training and less than 1,000 km of driving, the driver is expected to safely handle situations that are not visible, as well as those encountered during training. For example, even a driver who has taken all his driving lessons in the summer is expected to be able to drive similarly in winter conditions. Driver training generalizes well. If this were not the case, it would be required by law that all drivers must take a certain amount of driving lessons in the winter. However, the ability to generalize is not infinite. A driver who has only learned to drive a passenger car is not necessarily able to drive trucks, buses, motorcycles, etc., which operate differently and have very different dynamic behaviors. For this reason, drivers are required to take additional lessons and obtain upgraded licenses before being allowed to drive these very different vehicles.

[0010] One exemplary approach to obtaining validation examples is to detect characteristics in the input records of measurement data, and then modify examples for which the ground truth labels are known so that those characteristics are obtained as well. In a very simple example, in response to detecting a given image as a record of measurement data taken in winter, snow may be overwritten onto an image taken in summer for which the ground truth labels are known.

[0011] In a particularly preferred embodiment, the step of determining the target domain style comprises the following steps: processing input records of measurement data into a target feature map by a trained feature extractor network; determining from the target feature map features of the measurement data that characterize the target domain; Includes.

[0012] For example, a convolutional neural network may be used for the generation of a target feature map. The target feature map may then be decomposed into a first contribution having features characterizing the target domain and / or distribution on the one hand, and a second contribution having features characterizing the content in the target domain and / or distribution on the other hand. Here, only the first contribution is needed. For example, an encoder that can be used with the StyleGAN network proposed by Nvidia includes a convolutional neural network, as well as "map2style" and "map2content" means for determining the first style contribution and the second content contribution from the feature map. The first style contribution and the second content contribution may be fed to a StyleGAN generator network.

[0013] In a further particularly preferred embodiment, the step of obtaining validation examples comprises the steps of: Providing source examples in a source domain and / or distribution and corresponding ground truth labels; determining, from these source examples, source content that characterizes the content of the source examples within a source domain and / or distribution; Mapping each source content and target style to a validation example in the target domain and / or distribution, such that the ground truth label of each source example remains valid for the validation examples; Includes.

[0014] In particular, training examples, on which a machine network has been trained in a supervised manner, may be used as source examples. For these training examples, ground truth labels are readily available. The labels originally assigned to the source examples remain valid for the newly generated validation examples under the precondition that these labels are indeed related to the content of the source examples, which remain unchanged. For example, in an image as a source example, a car remains a car and a tree remains a tree, even if the image is transformed from day to night or from summer to winter. Thus, if the labels are related to the objects shown in the source images, they will remain valid in the validation images. However, if the labels are related to the time of day or season, which is part of the style that is changed, there is no guarantee that the old labels are still appropriate for the validation images.

[0015] In a further particularly preferred embodiment, the step of determining the source content comprises the steps of: processing the source examples into a source feature map by a trained feature extractor network; determining features of source examples from the source feature map that characterize content within a source domain and / or distribution; Includes.

[0016] For example, analogous to the determination of features characterizing a target domain and / or distribution, a trained feature extractor network can process source examples into a source feature map. The source feature map can then be decomposed into a first contribution with features characterizing the source domain and / or distribution on the one hand, and a second contribution characterizing the content in the source domain and / or distribution on the other hand. Here, only the second contribution is needed. In particular, said encoder provided within the framework of the StyleGAN network can be used. This encoder can be paired with the StyleGAN generator and trained in a very generalized manner, so that a single and identical encoder can be used both to determine the style of the input records of measured data and to determine the content of the source records of measured data. That is, a single and identical trained feature extractor network can be used to generate the target feature map and the source feature map, and a single and identical means can be used to decompose these feature maps into domain and style contributions.

[0017] In a further particularly preferred embodiment, combining the source content and the target style includes providing the source content and the target style to a trained generative network, e.g., the StyleGAN generator accepts the style as a first input and the content as a second input, and creates a new realistic record of the measured data based on these two inputs.

[0018] In a further preferred embodiment, the step of obtaining validation examples includes retrieving validation examples from a library based on the target style, i.e., validation examples for already pre-computed requirements of the target style may be reused, which saves computation time, especially if the measurement of the ability to generalize is performed on a regular basis to continuously monitor the ability of the trained machine learning model to generalize.

[0019] In particular, a measurement data record may include images and / or point clouds that assign measurements of at least one measurand to positions in a plane and / or in space. For example, still cameras, video cameras and thermal cameras all generate images as a measurement data record. Radar, lidar and ultrasonic measurements frequently generate point clouds as measurement data. The main difference between images and point clouds is that in a point cloud, the positions in space annotated with measurements of at least one measurand do not have to be in a regular grid. In particular, there may be gaps of different sizes between adjacent points in a point cloud.

[0020] In particular, a classifier that maps the measurement data records to classification scores for one or more classes of a given classification may be selected as the trained machine learning model, for example, a class may correspond to a type of object whose presence the measurement data records indicate.

[0021] Furthermore, in a particularly preferred embodiment, input records of measurement data captured by at least one sensor mounted on a vehicle or robot are selected, which, as vehicles and robots move, in particular often encounter situations that are no longer covered by the original training of the trained machine learning model.

[0022] In particular, the validation examples may be obtained from an external server external to the vehicle or robot. The steps of processing the validation examples and determining the required ability to generalize can then be performed on the vehicle or robot. In this way, the external server only needs to compute each validation example once, which can then be redistributed any number of times to the machine learning models on board multiple vehicles or robots. That is, in the presence of a large fleet of vehicles and / or robots, the computational overhead of generating validation examples is significantly reduced.

[0023] At the same time, it is advantageous to keep the actual execution of the step of determining the ability to generalize on the vehicle or robot: although vehicles and robots are mass-produced and often initially equipped with identical machine learning models, the learning states of the machine learning models on board the individual vehicles or robots may later differ from each other. For example, one model may already have the latest update from the manufacturer installed, while the other model may lack this update. Also, the models may be configured such that continuous learning takes place, at least to a limited extent. Thus, passing the validation records to the model on the server requires the transfer to the server of the complete parameter set that characterizes the behavior of the trained model. This parameter set may be several gigabytes in size or even more.

[0024] In a further particularly preferred embodiment, in response to determining that the determined capabilities of the trained machine learning model meet a predefined criterion, a downstream technology system that uses the output of the machine learning model is triggered to move the technology system into an operating state that is better able to tolerate noisy or incorrect outputs. In this way, possible adverse effects resulting from the use of noisy or incorrect outputs by the downstream technology system can be reduced. If this is not possible, for example if the model is too poor for some corner cases, a human driver or other operator of the downstream technology system may be prompted to intervene.

[0025] For example, if the downstream technology system is a vehicle, the speed at which the vehicle can travel may be limited: the higher the speed, the less time available to react if any issues arise due to incorrect outputs from the machine learning model. For the same reasons, overtaking maneuvers or maneuvers that increase risk may be discouraged. At higher elevation levels, the human driver may be prompted to take over control of the vehicle or robot. At the highest elevation level, the vehicle or robot may be stopped on a predefined emergency stop trajectory.

[0026] In another example of a quality assurance system classifying images of manufactured products as good or bad, one possible approach to address the lack of ability to generalize is to modify the physical acquisition process of the measurement data with the aim of improving the ability of the machine learning model to generalize the measurement data acquired at that time. For example, unexpected snow outside the factory may block the entry of sunlight through the windows of the factory building, so that the lighting conditions are different from what they should be at a certain time. In this case, switching on an additional artificial light source may already solve the problem. Also, products for which the machine learning model does not generalize well to the images may be flagged for manual labeling.

[0027] As previously mentioned, the validation examples may be generated by an entity different from the entity that uses them to determine the ability of the trained machine learning model to generalize, and in particular, the validation examples may be generated without having to take into account one particular trained model.

[0028] The invention therefore also relates to a method for generating validation examples for use in the above-mentioned method from input records of measurement data.

[0029] In the course of the method, source examples within a source domain and / or distribution are prepared. These source examples are labeled with corresponding ground truth labels.

[0030] From these source examples, source content is determined that characterizes the content of the source examples within the source domain and / or distribution. As previously mentioned, the source examples may take into account the content to be rendered with a specific style, and therefore the content may take into account the source examples minus this specific style. For example, the content may include the type of object whose existence the source examples indicate.

[0031] From the input records of the measurement data, a target style is determined that characterizes a target domain and / or distribution to which one or more input records of the measurement data belong, the style characterizing how a given content in the target domain is to be rendered.

[0032] Each source content and target style is bound to a validation example within the target domain and / or distribution. As previously mentioned, as long as the ground truth label of a source example is relevant to its content that remains unchanged, this ground truth label will remain valid for the validation example.

[0033] All disclosures given above relating to the method for measuring the ability to generalize are also valid for the method for generating validation examples.

[0034] The method may be wholly or partly computer-implemented and implemented by software. The invention therefore also relates to a computer program having machine-readable instructions which, when executed by one or more computers and / or computing instances, cause the one or more computers and / or computing instances to carry out the method. In this specification, control units for vehicles or robots and other embedded systems capable of executing machine-readable instructions should be considered as computers as well. Computing instances include virtual machines, containers or other execution environments that allow the execution of machine-readable instructions in the cloud.

[0035] The non-transitory storage medium and / or download product may include a computer program. The download product is an electronic product that may be available online and can be transferred over a network for rapid realization. One or more computers and / or computing instances may include such a computer program and / or such a non-transitory storage medium and / or download product.

[0036] In the following, the present invention will be described with reference to the drawings, but this description is not intended to limit the scope of the present invention in any way. [Brief description of the drawings]

[0037] [Figure 1] FIG. 1 illustrates an exemplary embodiment of a method 100 for measuring the ability 1a of a machine learning model 1 to generalize to a target domain and / or distribution of measurement data 2. [Diagram 2] FIG. 13 is an explanatory diagram of generation of verification example 4. [Diagram 3] FIG. 1 shows the correlation between performance 1a measured using the method 100 and performance 1a(2) measured using real labeled validation examples from the target domain. [Figure 4] FIG. 2 illustrates an exemplary embodiment of a method 200 for generating validation example 4. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0038] FIG. 1 is a schematic flow chart of an embodiment of a method 100 for measuring the ability 1a of a given trained machine learning model 1 to generalize to a target domain and / or distribution of given measurement data 2.

[0039] In step 110, from the input records 2 of measurement data, target styles 2b are determined that characterize the target domain and / or distribution.

[0040] For this purpose, according to block 111, the trained feature extractor network 6 can process the input records 2 of the measurement data into target feature maps 2c. Then, according to block 112, features 2d of the measurement data characterizing the target domain can be determined from these feature maps 2c. For this purpose, a map-to-style network 7b can be used. The feature extractor network 6 and the map-to-style network 7b can be part of the encoder 8.

[0041] In step 120, validation examples 4 in the target domain and / or distribution and corresponding ground truth labels 4 are generated based at least in part on the target style 2b. * is obtained.

[0042] According to block 121, source examples 5 within a source domain and / or distribution and corresponding ground truth labels 5 are * may be prepared. Then, according to block 122, from these source examples 5, source contents 5a may be determined that characterize the content of the source examples 5 in the source domain and / or distribution. Then, according to block 123, each source content 5a and target style 2b may be combined with a validation example 4 in the target domain and / or distribution. A ground truth label 5 for each source example 5 may be determined. * is related to the source content 5a stored in the verification example 4, the ground truth label 5 * is the generated ground truth label 4 of validation example 4 * remains valid as

[0043] According to block 122a, in order to determine the source content 2a, the trained feature extractor network 6 can process the source examples into a source feature map 5c. Then, according to block 122b, features 5d of the source examples 5 characterizing the content in the source domain and / or distribution can be determined from the source feature map. For this purpose, for example, a map-to-content network 7a can be used. The feature extractor network 6 and the map-to-content network 7a can be part of an encoder 8, which can also include a map-to-style network 7b.

[0044] According to block 123a, combining the source content 5a and the target style 2b may include providing the source content 5a and the target style 2b to a trained generative network 9.

[0045] According to block 124, obtaining validation example 4 may include retrieving validation example 4 from a library based on target style 2b.

[0046] In step 130 , the trained machine learning model 1 processes the validation examples 4 into output 3 .

[0047] In step 140, the output 3 and each ground truth label 4 * Based on the comparison between, the accuracy of the trained machine learning model 1 is determined as the desired ability 1a of the trained machine learning model 1 to generalize to the target domain.

[0048] According to block 105, an input record 2 of measurement data captured by at least one sensor mounted on the vehicle 50 or robot 51 may be selected. In this case, according to block 125, a validation example 4 may be obtained from an external server outside the vehicle 50 or robot 51. Then, according to block 131, a step of processing the validation example 4 may be performed on board the vehicle 50 or robot 51. According to block 141, a step of determining a desired ability 1a for generalization may likewise be performed on board the vehicle 50 or robot 51.

[0049] In the example shown in Fig. 1a, in response to determining 150 that the determined capability 1a of the trained machine learning model satisfies a predefined criterion 150 (truth value 1), a downstream technical system 50, 51, 60, 70, 80, 90 using the output 3 of the machine learning model 1 may be activated to move the technical system 50, 51, 60, 70, 80, 90 to a better acceptable operating state of the noisy or incorrect output 3. Examples of such technical systems are a vehicle 50, a robot 51, a driver assistance system 60, a monitoring system 70, a quality inspection system 80 and a medical imaging system 90. In particular, the activation may be performed using an activation signal 160a.

[0050] The creation of a validation example 4 is illustrated in Figure 2. In this example, a trained machine learning model 1 processes images as records of measurement data 2 and produces a semantic segmentation of these images as output 3.

[0051] In the source domain and / or distribution, the source images 5 and the corresponding ground truth label maps 5 * are available. From these source images 5, the source content 5a is extracted using an encoder 8. Using the same encoder 8, the target style 2b is extracted from the target images 2 belonging to the target domain and / or distribution. A trained generator network 9 takes the source content 5a and the target style 2b as input and generates the validation examples 4. Since the content 5a has not changed, the ground truth label map 5 of the source images 5 * is the ground truth label map 4 of validation example 4 in the target domain and / or distribution * remains valid as

[0052] 2 also shows the internal structure of an encoder 8. This encoder 8 includes a feature extractor 6 that processes a target image 2 in the target domain or a source image 5 in the source domain to generate feature maps 2c, 5c. A map-to-content network 7a extracts features 5d characterizing the content of the source image from the feature map 5c of the source image 5, thereby forming the source content 5a. Similarly, the target content 2a is formed from the feature map 2c of the target image 2. A map-to-style network 7b extracts features 2d characterizing the style of the target image from the feature map 2c of the target image 2, thereby forming the target style 2b. Similarly, the source style 5b is extracted from the feature map 5c of the source image 5.

[0053] When measuring the ability of a machine learning model to generalize, the “gold standard” is, of course, to use examples that are actually labeled in the target domain. Mixed-style validation examples are based on the ground truth labels of source examples. * is a readily available alternative because it is reusable. Figure 3 shows how ability 1a measured using the style-mixed validation example 4 correlates with ability 1a(2) measured according to the "gold standard" above.

[0054] In the example shown in Fig. 3, a machine learning model 1 generates semantic segmentations from images. It is trained on a publicly available cityscape dataset of road scenes as the source domain. In the upper row of Fig. 3 (sub-figures 3(a)-3(c)), the target domain is the publicly available Adverse Conditions Dataset with Correspondences (ACDC) dataset of road scenes captured in adverse viewing conditions. In the lower row of Fig. 3 (sub-figures 3(d)-3(f)), the target domain is the publicly available BDD100K diverse driving dataset for heterogeneous multi-task learning.

[0055] In all subfigures 3(a)-3(f), the performance 1a(2) measured according to the above "gold standard" is compared with other metrics. In the left column (subfigures 3(a) and 3(d)), the other metrics 1a(5) are the accuracies measured on the original cityscape validation dataset in the source domain. In the middle column (subfigures 3(b) and 3(e)), the other metrics 1a(4, 5a, 5b) are the accuracies measured on newly generated validation images 4 in the source domain based on source content 5a and source style 5b. In the right column (subfigures 3(c) and 3(f)), the other metrics 1a(4, 5a, 5b) are the accuracies measured on newly generated mixed-style validation images 4 based on source content 5a and target style 2b. In each of subfigures 3(a)-3(f), each data point corresponds to one machine learning model. In total, 95 models are investigated. The symbolic filled circles represent the machine learning model with a convolutional neural network as the backbone, and the symbolic open circles represent the machine learning model with a transformer network as the backbone.

[0056] Two different correlation indices were calculated that quantitatively measure the strength of correlation across all data points in each plot: the Spearman rank correlation coefficient ρ and the Kendall rank correlation coefficient γ. Both indices can vary in the interval from -1 to 1. Values ​​close to -1 indicate a strong negative correlation, while values ​​close to 1 indicate a strong positive correlation. A value of 0 indicates complete non-correlation. Both indices are non-parametric, i.e. they do not require any assumptions about the data distribution, and the evaluation is based on the ranking of the data.

[0057] For both ACDC and BDD100K as target domains, good correlations (ρ = 0.893a and ρ = 0.928, respectively) are observed, indicating that the style mixture validation example 4 can serve as a good surrogate for the actual validation image 4 in the target domain to test generalization to each target domain.

[0058] It is also observed that using the generated validation images 4 generated from the source content 5a and source style 5b also provides significant improvement over using the source images as is. A possible explanation is that by applying this "in-source style augmentation", the data coverage is improved and therefore the metric can better measure the generalization ability under style shift. After all, with respect to the original cityscape training dataset, most of the ACDC and BDD100K datasets are out-of-distribution data.

[0059] Furthermore, in all subfigures 3(a)-3(f), we observe that almost all the transducer-based models (data points marked with white circles as symbols) lie above the diagonal line representing the linear fit. This suggests that the transducer-based models exhibit better general ability under natural shifts compared to the convolutional neural network-based models.

[0060] It is also observed there that the values ​​of the indices obtained for the 95 models cover a very wide range, which means that there is a large difference between the performance of these models and that the indices are a well-suited tool to determine which model is the best for a given use case.

[0061] 4 is a schematic flow chart of an embodiment of a method 200 for generating validation examples for use in the above-described method 100. The method 200 begins with a given input record 2 of measurement data.

[0062] In step 210, source instances 5 in the source domain and / or distribution are identified with corresponding ground truth labels 5 * It is prepared together with.

[0063] In step 220, from each source example 5, source content 5a is determined that characterizes the content of the source example 5 within the source domain and / or distribution.

[0064] In step 230, a target style 2b characterizing the target domain and / or distribution to which one or more input records 2 of measured data belong is determined from the input records 2 of measured data.

[0065] In step 240, each source content 5a and target style 2b is bound to a validation example 4 in the target domain and / or distribution. In this way, the ground truth label 5*=:4* of each source example 5 remains valid for the validation example 4.

Claims

1. A method (100) for measuring the ability (1a) of a trained machine learning model (1) for processing measurement data to generalize, for a given task, to a target domain and / or distribution to which one or more input records (2) of measurement data belong, comprising: The method (100) comprises the following steps: determining (110) from said input records (2) of measurement data a target style (2b) characterizing said target domain and / or distribution; Based at least in part on the target style (2b), validation examples (4) within the target domain and / or distribution, as well as corresponding ground truth labels (4 * ) (120); processing (130) the validation examples (4) into an output (3) by the trained machine learning model (1); The output (3) and each of the ground truth labels (4 * determining (140) the accuracy of the trained machine learning model (1) as a desired ability (1a) of the trained machine learning model (1) to generalize to the target domain based on a comparison between the A method (100).

2. The step (110) of determining the target style (2b) comprises the following steps: processing (111) input records (2) of said measurement data into a target feature map (2c) by a trained feature extractor network (6); determining (112) features (2d) of the measurement data characterizing the target domain from the target feature map (2c); The method of claim 1 , comprising:

3. The step of acquiring the verification example (4) (120) includes the following steps: Providing (121) source examples (5) in a source domain and / or distribution and corresponding ground truth labels (5); determining (122) from these source examples (5) source content (5a) characterizing the content of said source examples (5) within said source domain and / or distribution; binding (123) each source content (5a) and said target style (2b) to a validation example (4) within said target domain and / or distribution, whereby the ground truth label (5*=:4*) of each source example (5) remains valid for said validation example (4); The method (100) of claim 1 or 2, comprising:

4. The step (122) of determining the source content (5a) comprises the following steps: processing (122a) said source examples (5) into a source feature map (5c) by a trained feature extractor network (6); determining (122b) features (5d) of the source examples (5) from the source feature map (5c) that characterize content within the source domain and / or distribution; The method (100) of claim 3, comprising:

5. 5. The method (100) according to claim 3 or 4, wherein the step of combining (123) the source content (5a) and the target style (2b) comprises the step of providing (123a) the source content (5a) and the target style (2b) to a trained generative network (9).

6. The method (100) of any one of claims 1 to 5, wherein the step of obtaining (120) a validation example (4) comprises a step of retrieving (124) a validation example (4) from a library based on the target style (2b).

7. The method (100) according to any one of the preceding claims, wherein the records of measurement data comprise images and / or point clouds assigning measurements of at least one measurand to positions in a plane and / or in space.

8. 8. The method (100) according to any one of claims 1 to 7, wherein a classifier that maps records of measurement data to classification scores for one or more classes of a given classification is selected as the trained machine learning model (1).

9. The method (100) according to any one of the preceding claims, wherein an input record (2) of measurement data captured by at least one sensor mounted on a vehicle (50) or a robot (51) is selected (105).

10. The verification example (4) is obtained (125) from an external server outside the vehicle (50) or the robot (51); The method (100) according to claim 9, wherein the steps of processing the validation examples (4) and determining the desired capability (1a) for generalization are performed (131, 141) on board the vehicle (50) or the robot (51).

11. In response to determining that the determined performance (1 a) of the trained machine learning model satisfies a predetermined criterion (150), the following steps:

11. The method (100) of any one of claims 1 to 10, further comprising a step (160) in which a downstream technology system (50, 51, 60, 70, 80, 90) that uses the output (3) of the machine learning model (1) is triggered to move the technology system (50, 51, 60, 70, 80, 90) to an operating state that can better tolerate a noisy or incorrect output (3).

12. A method (200) for generating validation examples for use in the method of claim 1 from input records (2) of measurement data, said method (200) comprising the following steps: Source examples in a source domain and / or distribution (5) and corresponding ground truth labels (5 * ) (210); determining (220) from said source examples (5) source content (5a) characterizing the content of said source examples (5) within said source domain and / or distribution; - determining (230) from said input records (2) of measurement data a target style (2b) characterizing a target domain and / or distribution to which said input records (2) of measurement data belong; Mapping (240) each source content (5a) and the target style (2b) to validation examples (4) within the target domain and / or distribution, thereby determining a ground truth label (5) for each source example (5). * =:4 * ) remains valid for said verification example (4), step (240); The method (200).

13. A computer program comprising machine-readable instructions that, when executed on one or more computers and / or computing instances, cause said one or more computers and / or computing instances to perform a method (100, 200) according to any one of claims 1 to 12.

14. A non-transitory machine-readable data carrier and / or download product comprising a computer program according to claim 13.

15. One or more computers comprising a computer program according to claim 13 and / or comprising a non-transitory machine-readable data carrier and / or a download product according to claim 14.