Methods and Apparatus
By transforming and synthesizing environmental representations using semantic information, the method addresses the inefficiencies of conventional training data methods, enhancing the testing and safety of autonomous vehicle control software.
Patent Information
- Application Number
- JP2024521767
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-10-15
- Filing Date
- 2022-10-17
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2042-10-17
AI Technical Summary
Conventional methods for obtaining labeled training data for autonomous vehicle (AV) control software are expensive, time-consuming, and require capturing low probability events, which is often not possible.
A computer-implemented method generates training data by transforming and synthesizing environmental representations using semantic information, allowing for the creation of comprehensive training data that includes low probability events, thereby improving the efficiency and effectiveness of AV control software testing.
This approach accelerates the generation of training data, enhances testing capabilities, and improves the safety of AV control software by providing more comprehensive testing scenarios.
Smart Images

Figure 2024537282000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to autonomous vehicles. [Background technology]
[0002] For example, traditional testing of autonomous vehicle (AV) control software (also known as the AV stack) according to SAE Levels 1 to 5 is problematic. For example, traditional methods for obtaining labeled training data for testing control software for autonomous vehicles, e.g., installation, assurance, validation, verification, regression and / or progression testing, typically include: 1. Collect data based on specific requirements (scenario, scene structure, scene appearance, weather, operating area, occurrence of rare events), and 2. Data labeling (instance segmentation in image and / or LIDAR space, action labeling, etc.).
[0003] Not only are these traditional methods extremely expensive and time consuming, but they also require capturing low probability events, which is often not possible.
[0004] Therefore, training data needs to be obtained. Summary of the Invention
[0005] A first aspect is a computer-implemented method for generating training data, the method comprising: providing a representation of an environment, the representation of the environment having a defined structure and / or a defined shape; generating training data comprising a set of transformed representations, the set of transformed representations comprising the first transformed representation of the environment, by transforming the representation of the environment into a set of transformed representations, the set of transformed representations comprising the first transformed representation of the environment; Including, A computer-implemented method is provided in which providing a representation of the environment includes at least partially synthesizing an image of the environment using semantic information.
[0006] The term "training data" can be expanded to include training data, test data, validation data, and verification data.
[0007] A second aspect is a computer-implemented method for training a machine learning (ML) algorithm, the method comprising: According to a first aspect, generating training data comprising a set of transformed representations, the training data comprising a first transformed representation of an environment; training an ML algorithm to classify the set of transformed representations according to a set of classes including the first class; The present invention provides a computer-implemented method, comprising:
[0008] A third aspect is a computer-implemented method for determining a class of a representation of an environment using a machine learning (ML) algorithm trained according to the second aspect, the method comprising: Determining the class of the representation of the environment, including inferring the class of the representation of the environment using a trained ML algorithm. The present invention provides a computer-implemented method, comprising:
[0009] A fourth aspect is a computer-implemented method for testing an ego-vehicle, such as its control software, such as for installation, assurance, verification, validation, regression and / or progress testing, the method comprising: generating training data according to a first aspect; simulating a scenario including a first transformed representation of an environment having therein an ego-vehicle, a set of actors including a first actor, and optionally a set of objects including a first object; and simulating the first scenario comprises: Identifying defects in the ego vehicle in the scenario. The present invention provides a computer-implemented method, comprising:
[0010] A fifth aspect provides a computer including a processor and a memory configured to carry out the methods according to the first, second, third and / or fourth aspects.
[0011] A sixth aspect provides a computer program comprising instructions which, when executed by a computer comprising a processor and a memory, cause the computer to carry out a method according to the first aspect, the second aspect, the third aspect and / or the fourth aspect.
[0012] A seventh aspect provides a non-transitory computer-readable storage medium comprising instructions which, when executed by a computer including a processor and a memory, cause the computer to perform a method according to the first aspect, the second aspect, the third aspect, and / or the fourth aspect.
[0013] Detailed Description of the Invention According to the present invention, there is provided a method as set forth in the accompanying claims. Also provided is a computer program, a computer, a non-transitory computer readable storage medium and a vehicle. Other features of the invention will be apparent from the dependent claims and the following description.
[0014] (How to generate training data) A first aspect is a computer-implemented method for generating training data, the method comprising: providing a representation of an environment, the representation of the environment having a defined structure and / or a defined shape; generating training data comprising a set of transformed representations, the set of transformed representations comprising the first transformed representation of the environment, by transforming the representation of the environment into a set of transformed representations, the set of transformed representations comprising the first transformed representation of the environment; Including, A computer-implemented method is provided in which providing a representation of the environment includes at least partially synthesizing an image of the environment using semantic information.
[0015] Since the training data is generated by transforming an at least partially synthetic representation of the environment, the generation of the training data is accelerated, and it can be automatically labeled if the ground truth is maintained. Since the representation of the environment is at least partially synthetic using semantic information, low probability events can be represented, thereby providing more comprehensive testing and therefore improving the safety of the AV control software. In this way, obtaining training data for the AV is improved.
[0016] Additionally and / or alternatively, a first aspect is a computer-implemented method for generating training data for a machine learning model, comprising: the method is based on image generation from abstract representations (semantic information) and / or A computer-implemented method is provided, where the method is based on one or more learned or heuristics-based image transformations.
[0017] Examples of transformations include weather editing, partial or full image compositing, road surface manipulation, dynamic actor manipulation, and combinations thereof. Transforms can be chained together.
[0018] In particular, the transformation of the data is designed to improve the performance of models trained on such data, not necessarily to perfectly resemble natural / realistic images.
[0019] In other words, an abstract representation of the structure of a scene is used as guidance to generate visual training data that maximizes the performance of a vision machine learning model trained on it. Maximizing performance does not necessarily mean that the data lies on the manifold of realistic / natural images.
[0020] Existing solutions focus on photorealism, not on generating maximally informative training data. This method focuses on generating optimal training data, which may not necessarily follow or even lie on the manifold distribution of natural / realistic images. This means that during the training process, one can measure how informative the data is.
[0021] In contrast to conventional methods, the method according to the first aspect generates training data in silico, either directly or by leveraging simulations and constructions in simple spaces (e.g. semantic segmentation), and then synthesizes sufficiently realistic images from this representation (the goal is to synthesize optimal training data for a given task or model). In many cases, this can be achieved by following a distribution other than that of natural images. Furthermore, we enable composability of the transformations.
[0022] Furthermore, real and synthetic data can be transformed / adapted to follow different distributions, e.g. day to night transformation, again with the goal to obtain optimal training data.
[0023] Furthermore, the method can directly transform structures in existing (natural or synthetic) images, including moving / removing / placing road actors (pedestrians, vehicles) and manipulating road surfaces and structures (road signs, lanes, etc.) as described below.
[0024] (Computer Implemented Method) The method is computer-implemented, for example by a computer including a processor and a memory. Suitable computers are known.
[0025] The method may, for example, generate training data (i.e., a datum) for training a machine learning (ML) algorithm, e.g., according to the second aspect. The ML algorithm may be as described with respect to the second aspect.
[0026] (Providing a representation of the environment) The method includes providing a representation of an environment. In general, a scenario includes an environment having therein an ego vehicle, a set of actors including a first actor (i.e., at least one actor), and a set of objects including, optionally, a first object. The environment, also known as a scene, typically includes one or more roads with one or more lanes, and optionally one or more obstacles, as will be understood by those skilled in the art. In general, the ego vehicle is a connected and / or automated vehicle of interest, whose behavior is of primary interest in a test, trial, or operational scenario. It should be understood that the behavior of the ego vehicle is dictated by its control software (also known as an AV stack). In one example, the first actor is a road user, such as a vehicle, a pedestrian, or a cyclist. Other road users are known. In one example, the first object includes and / or is an infrastructure, such as a traffic light, or a static road user. In one example, the set of actors includes A actors, where A is a natural number greater than or equal to 1, e.g., 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, or more. In one example, the set of objects includes O objects, where O is a natural number greater than or equal to 1, e.g., 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, or more. In one example, the representation of the environment is an image, e.g., stored in a raw data format (binary, bitmap, TIFF, MRC, etc.) or another image data format (PNG, JPEG), encoded image, composited image, image defined with reference to other sub-images, vector graphic, etc.
[0027] The representation of the environment has a defined structure and / or a defined shape and thus provides the ground truth, i.e., the representation of the environment includes one or more roads with one or more lanes and, optionally, one or more obstacles, as will be understood by those skilled in the art.
[0028] In one example, providing a representation of the environment includes at least partially acquiring (also known as capturing) an image of the environment, such that the representation of the environment may be partially synthesized and partially acquired, such as a mosaic.
[0029] In one example, providing a representation of the environment includes at least partially semantically structuring the image of the environment. Semantic structuring is known in the art. In this manner, the target environment may be semantically structured to include low probability events.
[0030] In one example, providing a representation of the environment includes inpainting an image of the environment such that the image can be rendered for training.
[0031] (Generating training data) The method includes generating training data including a set of transformed representations, including a first transformed representation of the environment, by transforming a representation of the environment into a set of transformed representations including a first transformed representation of the environment. In one example, the set of transformed representations includes T transformed representations, where T is a natural number equal to or greater than 1, such as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 50, 100, 200, 500, 1,000, 2,000, 5,000, 10,000, 20,000, 50,000, or more. In this manner, a sufficient data set for training can be provided. In particular, transforming the representations can be as described in https: / / arxiv.org / pdf / 1907.11004.pdf, the subject matter of which is incorporated herein by reference in its entirety.
[0032] In one example, generating the training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment includes generating the training data by transforming the representation of the environment into the set of transformed representations including the first transformed representation of the environment using a respective set of trained transformations (also known as adapters) including the first trained transformation, in this manner improving the generation of the training data.
[0033] In one example, generating the training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment includes generating the training data by transforming the representation of the environment into the set of transformed representations including the first transformed representation of the environment using a respective set of heuristics-based transformations including the first heuristics-based transformation. Heuristics-based transformations are known.
[0034] In one example, generating the training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment includes generating the training data by transforming the representation of the environment into the set of transformed representations including the first transformed representation of the environment using a respective set of augmentations including the first augmentation. Image augmentation is known.
[0035] In one example, generating training data by converting the representation of the environment into a set of transformed representations including the first transformed representation of the environment includes generating training data by converting the representation of the environment into a set of transformed representations including the first transformed representation of the environment using a respective set of conditions including the first condition. In one example, the first condition is a weather condition (e.g., sun, rain, clouds, snow, drizzle, fog), a seasonal condition (e.g., spring, summer, fall, winter), a time condition (day, night), and a lighting condition (bright sun, street lights, headlights). In one example, the set of conditions includes C conditions, where C is a natural number equal to or greater than 1, e.g., 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 50, 100, 200, 500, or more. In one example, converting the representation of the environment into a set of transformed representations including the first transformed representation of the environment using a respective set of conditions including the first condition includes using multiple conditions of the set. Conditions may be combined in this manner.
[0036] In one example, generating the training data by transforming a representation of the environment into a set of transformed representations, including a first transformed representation of the environment, includes blending the set of representations of the environment, such that further representations of the environment can be generated inexpensively.
[0037] In one example, the first transformed representation of the environment has a defined structure and / or a defined shape of the representation of the environment, in this manner, a ground truth of the representation of the environment is maintained for the first transformed representation of the environment.
[0038] In one example, generating the training data by transforming the representation of the environment into a set of transformed representations including a first transformed representation of the environment includes redefining a defined structure of the representation of the environment to a redefined structure of the first transformed representation of the environment. In this manner, the ground truth of the representation of the environment is redefined relative to the first transformed representation of the environment, e.g., in a known manner.
[0039] (Environmental image synthesis) Providing a representation of the environment includes at least partially synthesizing an image of the environment using the semantic information.
[0040] In one example, at least partially synthesizing an image of the environment using semantic information includes obtaining the image or a portion thereof that corresponds to the semantic information from a database or by learning.
[0041] (How to train ML algorithms) A second aspect is a computer-implemented method for training a machine learning (ML) algorithm, the method comprising: generating training data comprising a set of transformed representations comprising a first transformed representation of an environment according to a first aspect; training an ML algorithm to classify the set of transformed representations according to a set of classes including the first class; The present invention provides a computer-implemented method, comprising:
[0042] In this manner, a set of transformed representations may be grouped together to test a particular scenario involving, for example, a transformed representation of an environment.
[0043] (Computer Implemented Method) The method is computer-implemented, for example by a computer including a processor and a memory. Suitable computers are known.
[0044] This method trains an ML algorithm.
[0045] (Generating training data) The method includes generating training data comprising a set of transformed representations including a first transformed representation of an environment according to a first aspect.
[0046] (Classification of Expressions) The method includes training an ML algorithm that includes classifying the set of transformed representations according to a set of classes including a first class.
[0047] In one example, the set of classes that includes the first class is a set of conditions that includes the first condition, for example as described with respect to the first aspect.
[0048] In one example, the method includes identifying a set of characteristic (also known as intermediary) features that include a first characteristic feature associated with a first condition. In this manner, characteristic or distinguishing features associated with the first condition are identified and can be used for comparison, such as to discover new conditions.
[0049] (How to determine the class) A third aspect is a computer-implemented method for determining a class of a representation of an environment using a machine learning (ML) algorithm trained according to the second aspect, the method comprising: determining a class of the representation of the environment, including inferring a class of the representation of the environment using a trained ML algorithm; The present invention provides a computer-implemented method, comprising:
[0050] (Computer Implemented Method) The method is computer-implemented, for example by a computer including a processor and a memory. Suitable computers are known.
[0051] This method involves determining a class of representation of the environment, for example as described in relation to the second aspect.
[0052] (Representation Class Inference) The method includes a step of determining a class of the representation of the environment, including inferring the class of the representation of the environment using a trained ML algorithm, for example as described in relation to the second aspect.
[0053] In one example, the method includes calculating a confidence score for the inferred class. For example, the calculated confidence can be used during testing.
[0054] In one example, the method includes identifying a set of features, including a first feature, associated with a condition of the representation of the environment.
[0055] In one example, the method includes comparing the set of identified features to a set of characteristic features associated with a condition of the representation of the environment.
[0056] In one example, the method includes storing a representation of the environment based on a result of the comparison.
[0057] In one example, the method includes training the transformation using a stored representation of the environment.
[0058] In one example, the method includes generating training data using a trained transformation, eg, according to the first aspect.
[0059] In one example, the method includes training an ML algorithm using the generated training data.
[0060] In one example, the method includes validating the ML algorithm using the generated training data.
[0061] In one example, the method includes performing an action based on a result of the comparison. In this manner, the downstream task may be trained or tuned, such as by selecting its parameters.
[0062] (Testing Method) A fourth aspect is a computer implemented method for testing an ego-vehicle, e.g. its control software, e.g. installation, assurance, verification, validation, regression and / or progress testing, the method comprising: generating training data according to a first aspect; simulating a scenario including a first transformed representation of an environment having therein an ego-vehicle, a set of actors including a first actor, and optionally a set of objects including a first object; and simulating the first scenario comprises: Identifying defects in the ego vehicle in the scenario. The present invention provides a computer-implemented method, comprising:
[0063] (Computer, computer program, non-transitory computer-readable storage medium) A fifth aspect provides a computer including a processor and a memory configured to carry out a method according to the first, second, third and / or fourth aspect.
[0064] A sixth aspect provides a computer program comprising instructions which, when executed by a computer comprising a processor and a memory, cause the computer to carry out a method according to the first aspect, the second aspect, the third aspect and / or the fourth aspect.
[0065] A seventh aspect provides a non-transitory computer-readable storage medium comprising instructions that, when executed by a computer including a processor and a memory, cause the computer to perform a method according to the first aspect, the second aspect, the third aspect and / or the fourth aspect.
[0066] (definition) Throughout this specification, the term "comprising" or "comprises" means including the specified components but not excluding the presence of other components. The term "consisting essentially of" or "consisting essentially of" means including the specified components but excluding other components, except for materials present as impurities, unavoidable materials present as a result of the process used to provide the components, and components added for purposes other than achieving the technical effect of the invention, such as colorants.
[0067] The terms "consisting of" or "consists of" mean the inclusion of the specified elements but the exclusion of other elements.
[0068] Wherever appropriate and depending on the context, use of the words "comprise" or "comprising" can be interpreted to include the meaning "consisting essentially of" or "consisting essentially of" and also to include the meaning "consisting of" or "consisting of."
[0069] Any features presented herein may be used individually or in combination with each other, where appropriate, in particular in the combinations presented in the appended claims. Any features presented herein for each aspect or exemplary embodiment of the invention may also be applied to all other aspects or exemplary embodiments of the invention, where appropriate. In other words, a person skilled in the art reading this specification should consider any features for each aspect or exemplary embodiment of the invention as interchangeable and combinable between different aspects and exemplary embodiments. [Brief description of the drawings]
[0070] For a better understanding of the present invention, and to show how exemplary embodiments thereof may be carried into effect, reference is now made, by way of example only, to the accompanying drawings in which:
[0071] [Figure 1] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Diagram 2] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Diagram 3] 3A to 3C show example images. [Figure 4] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Diagram 5] 5A to 5D show example images. [Figure 6] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 7] 7A to 7D show example images. [Figure 8] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 9] 9A to 9D show example images. [Figure 10] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 11] 11A to 11D show example images. [Figure 12] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 13] 13A to 13D show example images. [Figure 14] 14A to 14F show examples of the conversion. [Figure 15] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 16] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 17] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 18] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 19] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 20] 1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 21]1 illustrates a detailed schematic of a method according to an exemplary embodiment; [Figure 22] An example image is shown. [Figure 23] An example image is shown. [Figure 24] An example image is shown. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0072] In general, FIGS. 1-14 show generally a computer-implemented method for generating training data as described with respect to a first aspect, the method comprising: providing a representation of an environment, the representation of the environment having a defined structure and / or a defined shape; generating training data comprising a set of transformed representations, the set of transformed representations comprising the first transformed representation of the environment, by transforming the representation of the environment into a set of transformed representations, the set of transformed representations comprising the first transformed representation of the environment; and wherein providing a representation of the environment includes at least partially synthesizing an image of the environment using the semantic information.
[0073] FIG. 1 shows a detailed schematic diagram of a method according to an exemplary embodiment.
[0074] In particular, Fig. 1 shows a corpus 1 including labeled data DL, which is manually or automatically labeled data DU, and unlabeled data DU. The labeled data DL includes original images IO of an environment and their respective semantic maps / object positions / depths SMOD. The unlabeled data DU includes a set of conditions including a first condition C1 (e.g., wet), a second condition C2 (e.g., snow), and a third condition C3 (e.g., night).
[0075] FIG. 2 shows method 2 according to an exemplary embodiment in more detail.
[0076] In this example, the step of generating training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment includes generating the training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment using a respective set of conditions including the first condition.
[0077] In this example, the step of generating the training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment optionally includes generating the training data by transforming the representation of the environment into the set of transformed representations including the first transformed representation of the environment using a respective set of trained transformations (also known as adapters) including the first trained transformation.
[0078] In this example, the step of generating training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment optionally includes generating the training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment using a set of respective heuristics-based transformations including the first heuristics-based transformation.
[0079] In one example, the step of generating training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment includes generating the training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment, optionally using a respective set of augmentations including the first augmentation.
[0080] Referring to FIG. 2, data augmentation can be performed by executing an image augmentation task 20. The image augmentation task 20 can be performed using a generative adversarial agent (GAN). The original image IO and the semantic map / object / depth SMOD are inputs to the GAN. The GAN is trained to output an augmented image based on the original image. The augmented images IA1, IA2 can be the original image IO augmented with conditions, e.g., rain IA1 or soil IA2. The structure of the augmented images IA1, IA2 is the same as the original image, so the ground truth, e.g., semantic map, object location, depth, etc., is still valid.
[0081] The semantic map, object location, depth SMOD, original image IO, and augmented images IA1, IA2 may be labeled data. In this way, training the GAN may be supervised. Thus, the GAN may be trained to augment the original image in one or more conditions. The conditions may include weather conditions, lighting conditions, etc.
[0082] Figure 3A shows an original image, Figure 3B shows an augmented image (with rain), and Figure 3C shows an augmented image (with rain) generated by the method described with respect to Figure 2. Each ground truth is valid for either the original image or the augmented image containing the condition (Figures 3B and 3C).
[0083] FIG. 4 illustrates generally how the example training data is generated.
[0084] In particular, FIG. 4 illustrates the extension 4 of the labeled data DL using an unpaired translation method. The image translation method may be an image translation task 20. The image translation task may use cycle consistent GAN to translate an image into a different domain. More specifically, the augmented image IA generated from the method using the method of FIG. 2, as well as the semantic map, object location, and depth SMOD, and the original image OI are input to cycleGAN. Various conditions, for example, condition 1 (e.g., wet) C1, condition 2 (e.g., snow) C2, and condition 3 (e.g., night) C3, may be input to cycleGAN in the form of unlabeled data. Because the condition data is unlabeled, cycleGAN is trained in an unsupervised manner.
[0085] cycleGAN can be trained to output original or augmented images translated into different conditions, e.g., condition 1C1, condition 2C2, or condition 3C3. Original or augmented images translated into different conditions IC1, IC2, IC3 may be referred to as translated images. The translated images IC1, IC2, IC3 may preserve the structure of the original image IO or the augmented image IA, respectively, and thus the respective ground truth (semantic map, object location, depth) may still be valid.
[0086] Figures 5A and 5C show an example of an original image IO, and Figures 5B and 5D show examples of translated images IC1, IC2 generated using cycleGAN of Figure 4. The illustrative examples of translated images in Figures 5B and 5D were generated by translating the original image IO from Figures 5A and 5C under nighttime conditions, e.g., low brightness levels of illumination, e.g., artificial light from street lights, buildings, vehicles, etc.
[0087] An original image IO in Fig. 5A shows a rural open road with a bus during the day, while Fig. 5B shows a translated image IC1 of the rural open road with a bus at night.
[0088] The original image IO in Fig. 5C shows an urban divided road with cars and cyclists during the day. Fig. 5D shows a translated image IC2 of an urban divided road with cars and cyclists at night. Each ground truth is valid for the original image or the augmented image containing the condition (Fig. 5B and Fig. 5D).
[0089] Note that the discrete cycleGAN models trained with reference to Figures 4 and 5A-5D may be trained for a single condition, e.g., daytime or nighttime. Thus, it may be necessary to train multiple discrete cycleGAN models, one for each of the known conditions, to generate training data translated for each of the known conditions.
[0090] Fig. 6 shows a schematic diagram of a method for generating synthetic training data. More specifically, Fig. 6 shows a method for generating synthetic training images based on a semantic map.
[0091] In this example, providing a representation of the environment includes inpainting an image of the environment.
[0092] 6, an inpainting and / or synthesis task 60 is performed. The inpainting and / or synthesis task may be performed by an inpainting or synthesis model, which may take the form of an autoencoder AE, such as a GAN, a cycle-consistent GAN, or a variational autoencoder VAE. Other models may also be used, including vision transformers, diffusion models, etc.
[0093] The inpainting or synthesis model may receive the semantic map SM1. The inpainting or synthesis model may receive an image. The image may be either the original image IO, the augmented image IA or the translated image IC1, IC2, IC3. The inpainting or synthesis model may be trained to generate a synthetic image IS based on features from the semantic map SM1 in the style of the received image. A loss between the synthetic image IS and the target image IT is determined. The target image IT may be an image received by the inpainting or synthesis model. Thus, the target image IT may be the original image IO, the augmented image IA or the translated image IC1, IC2, IC3. In order to reduce or minimize the loss between the synthetic image IS and the target image IT, the parameterisation of the inpainting or synthesis model may be modified or optimised.
[0094] 7A and 7C show a semantic map SM1.,Figures 7B and 7D show a synthetic image IS generated using a,synthetic model trained according to the method of FIG.
[0095] Fig. 7A shows a semantic map SM1 of a country road containing a car. Fig. 7B shows a synthetic image IS of a country road containing a car during the day. In other words, Fig. 7B shows an image in the style of an image received by a synthetic model showing features from the semantic map SM1 of Fig. 7A.
[0096] Figure 7C shows a different semantic map SM1 of a suburban, undivided road that does not contain any other vehicles, but does contain trees and buildings. Figure 7D shows a synthetic image IS of a suburban, undivided road that does not contain any other vehicles, but does contain trees and buildings, during the day according to semantic map SM1.
[0097] FIG. 8 shows a schematic of how training images are generated from a semantic map.
[0098] In this example, providing a representation of the environment includes, at least in part, semantically composing an image of the environment.
[0099] The method of Figure 8 operates similarly to the method of Figure 6 with the addition of a semantic map composer 80. The semantic map composer 80 may be a semantic map composer model, which may include an AE such as a GAN, a cycle-consistent GAN, or a VAE. Other models may also be used, including vision transformers, diffusion models, etc.
[0100] The semantic map composer model can be trained to generate new semantic maps SM by combining features from multiple semantic maps from a corpus of labeled data LD.
[0101] 9A and 9C show a pair of semantic maps SM1 and synthetic images obtained using a synthesis model, where the semantic map SM1 is a semantic map from a corpus of labeled data LD. FIGs. 9B and 9D show a pair of new semantic maps SM generated by the semantic map composer model based on the semantic maps of FIGs. 9A and 9C, respectively. The new semantic maps SM show the same roads as the respective semantic maps SM1, but with different road markings. In each case, the semantic map SM1 or the new semantic map SM is used by the synthesis model to generate an image in the style of the received image.
[0102] Each ground truth is validated against the original image or the augmented image containing the condition (FIGS. 9B and 9D).
[0103] FIG. 10 illustrates in detail a method according to an exemplary embodiment, generally as described with respect to FIG.
[0104] In this example, the step of generating training data by transforming the representation of the environment into a set of transformed representations, including a first transformed representation of the environment, includes blending the set of representations of the environment.
[0105] In particular, Fig. 10 shows the extension 10 of the labeled data DL to generate a final synthetic image IF derived from the semantic segmentation map SMn by directly combining or blending with any other image IK (real, augmented, or synthetic) corresponding to that semantic segmentation map SMn to generate distilled diverse data to accelerate the training of other tasks. The original image or augmented image IC1 (including the first condition C1), IC2 (including the second condition C2), and IC3 (including the third condition C3) contained in the labeled data LD similarly preserve the respective structures of the original image IO and the augmented image IA, and therefore the respective ground truths (semantic map / object location / depth SMOD) are still valid for the original image or the augmented image including conditions IC1, IC2, IC3.
[0106] Figure 11A shows an original image (urban intersection, car, summer, building), Figure 11B shows an augmented image with conditions (urban intersection, car, winter, tree), Figure 11C shows an original image (urban intersection, car, cloud cover 1 / 8, building), and Figure 11D shows an augmented image with conditions (urban intersection, car, cloud cover 7 / 8, tree) generated by the method described with respect to Figure 10. Each ground truth is valid for either the original image or the augmented image with conditions (Figures 11B and 11D).
[0107] FIG. 12 illustrates in detail a method according to an exemplary embodiment.
[0108] In this example, synthesizing at least partially an image of the environment using the semantic information includes retrieving the image, or a portion thereof, that corresponds to the semantic information from a database.
[0109] In particular, Fig. 12 shows that real, augmented or synthetic images (with and without a common segmentation map) can be decomposed into building blocks (called blobs) using their segmentation maps. Multiple blobs can be formed into blob databases (a "real" image blob database IR DB and a "synthetic" image blob database IS DB). A scene composer 120 is used to combine blobs from multiple databases IR DB, IS DB into a new synthetic image IF and segmentation map.
[0110] Figure 13A shows an original image and Figure 13B shows an augmented image including a blob, e.g., a loading platform for storing debris. Figure 13C shows an original image and Figure 13D shows an augmented image including a blob, e.g., a car, generated by the method described with respect to Figure 12. Each ground truth is valid for the original image or the augmented image including the condition (Figures 13B and 13D).
[0111] Figures 14A-14F show examples of the above transformations applied in a chain to obtain new condition, appearance, structure, and training data. Figure 14A shows the original fake (suburban, 2 lanes, 7 / 8 cloud cover, winter, daytime), Figure 14B shows the modified road markings (3 lanes), Figure 14C further shows a class switch (autumn), Figure 14D further shows an added road user (cyclist), Figure 14E further shows a changed condition (e.g., weather) (rain), and Figure 14F further shows a modified time of day (night).
[0112] As mentioned above, the final composite image may be partly composite and partly real (as shown in Figures 10-13D).
[0113] As mentioned above, the final composite image may be derived from an abstract representation (e.g., a semantic map or bounding box, Figures 6-7D) and / or may be the result of a transformation on another image (Figures 2-5D).
[0114] As will be appreciated by those skilled in the art, the image combiner network (eg, SPADE in this particular example) is interchangeable with other architectures.
[0115] The above process can potentially be applied in an online (on-vehicle, on-platform) manner to refine downstream tasks in real-time or near real-time as the vehicle / platform explores new, changing, or unknown territory.
[0116] In general, FIGS. 15-17 illustrate generally a computer-implemented method of training a machine learning (ML) algorithm as described with respect to the second aspect, the method comprising: According to a first aspect, generating training data comprising a set of transformed representations including a first transformed representation of an environment; training an ML algorithm to classify the set of transformed representations according to a set of classes including the first class; Includes.
[0117] Fig. 15 shows in detail a schematic diagram of a method 15 according to an exemplary embodiment. More specifically, Fig. 15 shows in schematic diagram a method for determining the condition of an image.
[0118] In particular, a condition classifier 150 is trained to detect and classify conditions or aspects of the input data (i.e., images with known conditions) ICK. The condition classifier 150 may be a neural network. The condition classifier 150 is trained to reduce or minimize the classification loss between the predicted condition PC and the actual condition AC. The current condition AC is the known condition, the condition associated with the input data ICK.
[0119] Furthermore, condition-specific intermediate features (predicted condition features PCF) emitted or generated as part of the operation of the condition classifier 150 may be stored in a database CF DB. The term "feature" may be used in this context to mean an activation from within a neural network or an output from an activation function from within a neural network. There may be multiple predicted condition features, each associated with a respective output of the activation function of each node in the neural network. In this way, all activation outputs may be stored as predicted condition features PCF. The predicted condition features PCF may be stored in a database called the condition feature database CF DB.
[0120] The condition classifier 150 can optionally emit a confidence score Pr for the prediction. The prediction confidence Pr can be the probability of the output layer of the neural network that the condition of the acquired image is one of one or more unknown conditions of the image. For example, if a softmax output layer is used, the probability associated with each node of the output layer is taken as the prediction confidence Pr.
[0121] In this example, an image with known conditions ICK is generated using a set including a first condition C1 (e.g., wet), a second condition C2 (e.g., snow), a third condition C3 (e.g., night), a fourth condition C4 (e.g., water droplets), ..., an Nth condition contained in labeled data LD (real data or synthetic data).
[0122] Fig. 16 illustrates in detail a method 16 according to an exemplary embodiment, which is generally as described with respect to method 15, but which has not been repeated for the sake of brevity. More specifically, Fig. 16 illustrates in schematic form a method for identifying new conditions.
[0123] 16, an input image ICU containing unknown conditions is captured by one or more image sensors of an autonomous vehicle. The captured image ICU is applied to a condition classifier 150. The conditions may be weather conditions, time of day, lighting conditions, etc. The condition classifier 150 is configured to output predicted condition features PCF, predicted condition PC, and predicted confidence Pr based on the input image ICU.
[0124] Next, the method includes checking for similar features in the condition feature database CF DB. If the prediction confidence Pr is low, e.g., below a confidence threshold, or if there are no similar features in the database, the condition is determined to be a new condition at 161. The new condition is saved in a new condition image buffer CIB at 162.
[0125] For example, a known condition may be 100% brightness, e.g., daytime, and another known condition may be 0-20% brightness, e.g., nighttime. If the input image ICU is captured by a camera of an autonomous vehicle during an evening time period with, e.g., 50% brightness, the predicted condition features PCF do not represent predicted condition features PCF for any of the known conditions. Any suitable matcher may be used to compare the condition features for the input image ICU with the condition features of the known conditions.
[0126] FIG. 17 illustrates in schematic detail a method 17 according to an exemplary embodiment, which is generally as described with respect to method 16, but which has not been repeated for the sake of brevity.
[0127] More specifically, FIG. 17 illustrates generally a method 17 for performing condition-specific downstream tasks, such as semantic segmentation, object detection, object recognition, etc.
[0128] Method 17 is the same as method 16 except that it includes checking for similar features in a feature database at 160 .
[0129] Then, at 171, if a similar feature exists in the condition feature database CF DB and the prediction confidence Pr is above a threshold, then at 172, a parameter is selected from the parameter feature database P DB. The parameter may be a parameter of a particular machine learning model used for a downstream task. For example, the parameter may include a neural network weight. The parameter is determined when training the machine learning model to perform a particular downstream task. For example, a model trained using a 100% brightness condition to perform semantic segmentation will have certain weights. A method trained using a 20% brightness condition to perform semantic segmentation will have different weights. Thus, there may be multiple parameter settings in the semantic segmentation model, one separate parameter setting for each condition trained with the model.
[0130] Once the parameter settings are retrieved, certain downstream tasks may be performed, for example the image may be parameterized.
[0131] To do this, the method may further include comparing the predicted reliability to a reliability threshold and determining a similarity between the one or more predicted reliability features and one or more respective reliability features of the known condition.
[0132] The above description is applicable when there is a very close or perfect match between the new condition and a known condition for which parameter settings of the downstream task are known. In this case, when the prediction confidence Pr is above a confidence threshold and the similarity of one or more prediction confidence features is greater than a matching threshold, the method further includes retrieving a machine learning model from a parameter database, the retrieved machine learning model having parameter settings derived from training the machine learning model in images containing conditions matching the captured image, the parameter setting database including multiple machine learning models, each having different parameter settings derived from training the machine learning model using images containing different conditions, and performing the task by applying the captured image to the retrieved machine learning model.
[0133] Similar conditions can use a similar approach. Such conditions are when the match between the features of the new condition and the features for the known condition is similar but not closely matched. For example, the difference between a first threshold and a second threshold. In this case, the parameters retrieved from the parameter database P DB at 172 can be interpolated from the known closest parameter settings. For example, the weights of the model for the closely matching parameter settings can be interpolated to generate a similar model with a new set of weights. Downstream specific tasks 174 can be performed using the model with the interpolated parameter settings.
[0134] In other words, for this case, when the predicted confidence exceeds a confidence threshold and when the similarity of one or more predicted confidence features is greater than a dissimilarity threshold and less than a matching threshold, the method further includes the steps of: retrieving a machine learning model from a parameter database, the retrieved machine learning model having parameter settings obtained from training the machine learning model in an image containing a condition that is closest to the acquired image, the parameter setting database including a plurality of machine learning models, each having different parameter settings derived from training the machine learning model using images containing different conditions; modifying the retrieved machine learning model by interpolating its parameter settings using differences between the predicted condition features and the condition features of the condition associated with the retrieved machine learning model; and performing the task by applying the acquired image to the machine learning model having the interpolated parameter settings.
[0135] In either case, the method may then include controlling the autonomous vehicle to traverse the path based on the results of performing the task.
[0136] Conversely, as in the method according to Figure 16, if the predicted confidence is below the confidence threshold and / or if the similarity of one or more predicted confidence features is below the dissimilarity threshold, the method further includes storing the retrieved image as an image containing an unknown condition and, optionally, performing, by the autonomous vehicle, a minimal risk maneuver. The minimal risk maneuver can include, for example, an emergency stop, or, for example, pulling over to the side of the road.
[0137] As should be apparent from the above description, the task may be selected from a list including semantic segmentation, object detection, and object recognition.
[0138] As should be clear from the above description, the image conditions may be selected from a list including weather type, weather type rating, brightness, brightness rating, time of day, and season. This list is not exhaustive. The conditions may also be characterized by features or feature summaries / statistics generated in the condition classifier.
[0139] As is apparent from the above description, FIG. 17 describes a method that can be summarized as a computer-implemented method for an autonomous vehicle to perform a task using a machine learning model, the computer-implemented method including the steps of acquiring images of an environment of the autonomous vehicle, applying the acquired images to a condition classifier, the condition classifier being configured to generate one or more values associated with conditions of the acquired images, determining parameter settings for the machine learning model based on the one or more values, and performing the task by applying an input image to the machine learning model having the determined parameter settings.
[0140] The one or more values may include a prediction condition feature PCF, a prediction condition PC, and a prediction confidence Pr.
[0141] FIG 18 shows in detail a schematic diagram of a method 18 according to an exemplary embodiment. More specifically, FIG 18 shows in schematic diagram a method 18 for storing new conditions in an image buffer (REMOTE). The on-vehicle (LOCAL) training data buffer CIBL can be wirelessly transferred (180) by copying to a REMOTE training data buffer CIBR, for example, located in a data center.
[0142] FIG. 19 shows a detailed schematic diagram of a method 19 according to an exemplary embodiment. More specifically, FIG. 19 shows a schematic diagram of a method 19 for training an image augmentation model or an image translation model using images including new conditions. The image augmentation model (e.g., GAN) may be the image augmentation model 20 of FIG. 2. The image translation model (e.g., cycleGAN) may be the image translation model 20 of FIG. 4. Thus, training an image augmentation model or an image translation model may mean retraining the respective model previously trained on the closest matching condition.
[0143] In retraining each model, an image containing the new condition is taken from the new condition image buffer CIB (LOCAL or REMOTE) and the respective model is trained at 190. Furthermore, the new condition image can be used to inject the new condition as a style on the image. The newly trained model 20 can generate a new image, i.e., the original image containing the new condition ICn.
[0144] FIG. 20 shows a detailed schematic diagram of a method 20 according to an exemplary embodiment. More specifically, FIG. 20 shows a schematic diagram of a method 20 for training or retraining a downstream task, e.g., semantic segmentation. As described with reference to FIG. 17, if the predicted features of a condition classifier processing an image with an unknown condition match features of a condition feature database, individual parameter settings of a downstream task model, e.g., a semantic segmentation model, can be selected from the parameter database. If the condition features are close to features from the condition feature database CF DB, individual parameter settings from the parameter database P DB can be selected and interpolated accordingly. However, in situations where the features are dissimilar, e.g., outside the above-mentioned second threshold, the downstream task is not executed. In such a case, the downstream task model needs to be retrained to new parameter settings for the new condition.
[0145] The downstream task model can be retrained by taking the parameter settings of the previously trained downstream task model and retraining it using original images with the new condition ICn, and reducing the loss between the predicted semantic map SMP and the known semantic map SMOD for that original image. This is possible because the ground truth is the same.
[0146] It will be appreciated that method 20 of FIG. 20 can be summarized as a computer-implemented method for training a machine learning model of an autonomous vehicle to perform a task using input images, the computer-implemented method including the steps of acquiring a plurality of images including unknown conditions; generating a predictive semantic map by applying the plurality of acquired images including the unknown conditions to the machine learning model; optimizing parameters of the machine learning model by minimizing an error between the predictive semantic map and the semantic map ground truth to generate a parameter setting of the machine learning model for the unknown condition; and storing the generated parameter setting of the machine learning model in a parameter database, wherein the parameter database is configured to store a plurality of machine learning models each having a different parameter setting, each parameter setting being associated with a unique condition.
[0147] Furthermore, the step of generating a predictive semantic map by applying the plurality of acquired images including unknown conditions to a machine learning model may include generating the predictive semantic map SMP by applying the plurality of acquired images ICn including unknown (or new) conditions to a machine learning model that was previously trained using images including conditions different from the unknown conditions.
[0148] As mentioned above, the unknown conditions and the unique conditions are each selected from a list including weather type, weather type rating, brightness, brightness rating, time of day, and season. The term "rating" may be used to define the amount of a certain condition. For example, the brightness rating may be 0% for completely dark conditions, e.g., in a tunnel at night with no artificial lighting, 100% for completely bright conditions, e.g., during the day, and 50% for evening hours where the brightness is still apparent but reduced compared to early morning.
[0149] Further, the task may be selected from a list including semantic segmentation, object detection, and object recognition.
[0150] Fig. 21 shows in detail a schematic diagram of the method 21 according to an exemplary embodiment. Moreover, and very importantly, the newly created data together with the original ground truth (segmentation maps, bounding boxes of objects, depth, etc.) can be used to check the performance of existing tasks 210 by using the predicted performance as a proxy for confidence 211 (global, local, instance or pixel-wise). This represents a key aspect of ongoing, long-term verification and validation, which is particularly useful but also crucial for the effective deployment of autonomous platforms in both existing, continuously changing / evolving and new domains.
[0151] The processes shown in Figures 15, 16, 17 and 21 may be performed primarily on-board the vehicle.
[0152] The process shown in FIG. 18 may wirelessly transfer the training data buffer to a data center.
[0153] The processes shown in FIGS. 19 and 20 may be performed in a data center.
[0154] Alternatively, all processing may take place entirely on-board the vehicle, or entirely in a data center.
[0155] The method may be embodied as a transitory or non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, cause the one or more processors to perform the computer-implemented method described above. Also provided herein is an autonomous vehicle that includes a storage, one or more processors, one or more image sensors, and one or more actuators, wherein the storage includes a transitory or non-transitory computer-readable medium.
[0156] The entire process can be performed in real-time or near real-time, continuously (every portion of the data, including new conditions, is used immediately for the training process) or discretely (data is clustered based on predicted conditions or based on predicted condition features and used for training when a certain amount has been accumulated).
[0157] While preferred embodiments have been shown and described, it will be understood by those skilled in the art that various changes and modifications can be made therein without departing from the scope of the invention as defined in the appended claims and as set forth above.
[0158] At least some of the exemplary embodiments described herein may be constructed, in part or in whole, using dedicated special-purpose hardware. Terms such as "component," "module," or "unit" as used herein may include, but are not limited to, hardware devices such as circuits in the form of discrete or integrated components, field programmable gate arrays (FPGAs) or application specific integrated circuits (ASICs), which perform specific tasks or provide related functionality. In some embodiments, the described elements may be configured to reside on tangible, persistent, addressable storage media and configured to execute on one or more processors. These functional elements may include, in some embodiments, components such as, by way of example, software components, object-oriented software components, class components and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables. Although the exemplary embodiments are described with reference to components, modules, and units discussed herein, such functional elements may be combined into fewer elements or separated into additional elements. It will be understood that various combinations of any feature are described herein, and that the described features can be combined in any suitable combination. In particular, features of any one exemplary embodiment can be combined with features of any other embodiment, as appropriate, unless such combinations are mutually exclusive. Throughout this specification, the terms "comprising" or "comprises" mean the inclusion of the specified components but do not exclude the presence of other components.
[0159] Attention is directed to all articles and documents in connection with this application that have been filed contemporaneously or prior to this application and that are publicly available herewith, and the contents of all such articles and documents are incorporated herein by reference.
[0160] All of the features disclosed in this specification (including any of the accompanying claims, abstract and drawings), and / or all of the steps of any method or process so disclosed, may be combined in any combination, except combinations in which at least some of such features and / or steps are mutually exclusive.
[0161] Each feature disclosed in this specification (including any of the accompanying claims, abstract and drawings), unless expressly stated otherwise, may be replaced by alternative features serving the same, equivalent or similar purpose. Thus, unless expressly stated otherwise, each feature disclosed is only an example of a generic series of equivalent or similar features.
[0162] The invention is not limited to the details of the foregoing embodiments.The invention extends to any novel, or any novel combination of, features disclosed in this specification (including any of the accompanying claims, abstract and drawings), or any novel, or any novel combination of steps of any method or process so disclosed.
[0163] The subject matter may be understood with reference to the following clauses:
[0164] (Clause 1) 1. A computer-implemented method for generating training data, the method comprising: providing a representation of an environment, the representation of the environment having a defined structure and / or a defined shape; generating training data comprising a set of transformed representations, including the first transformed representation of the environment, by transforming the representation of the environment into a set of transformed representations, including the first transformed representation of the environment; and A computer-implemented method, wherein providing a representation of the environment includes at least partially synthesizing an image of the environment using semantic information. (Clause 2) 2. The method of claim 1, wherein the step of providing a representation of the environment includes at least partially acquiring an image of the environment. (Clause 3) 3. The method of claim 1 or 2, wherein at least partially synthesizing an image of the environment using semantic information comprises obtaining the image or a portion thereof corresponding to the semantic information from a database or by learning. (Clause 4) 4. The method of any of clauses 1 to 3, wherein the step of providing a representation of the environment comprises at least partially semantically composing an image of the environment. (Clause 5) 5. The method of any of clauses 1 to 4, wherein the step of providing a representation of the environment comprises inpainting an image of the environment. (Clause 6) 6. The method of any of clauses 1 to 5, wherein the step of generating training data by transforming the representation of the environment into a set of transformed representations including a first transformed representation of the environment comprises generating the training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment using a respective set of trained transformations including the first trained transformation. (Clause 7) 7. The method of any of clauses 1-6, wherein the step of generating training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment comprises generating the training data by transforming the representation of the environment into the set of transformed representations including the first transformed representation of the environment using a respective set of heuristics-based transformations including the first heuristics-based transformation. (Article 8) The method of any of clauses 1 to 7, wherein the step of generating training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment includes generating training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment using a respective set of augmentations including the first augmentation. (Article 9) 9. The method of any of clauses 1 to 8, wherein the step of generating training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment comprises generating training data by transforming the representation of the environment into a set of transformed representations including the first transformed representation of the environment using a respective set of conditions including the first condition. (Article 10) 10. The method of any of clauses 1-9, wherein the step of generating training data by transforming a representation of the environment into a set of transformed representations, including a first transformed representation of the environment, includes mixing the set of representations of the environment. (Article 11) 11. The method according to any of clauses 1 to 10, wherein the first transformed representation of the environment has a defined structure and / or a defined shape of the representation of the environment. (Article 12) 11. The method of any of clauses 1 to 10, wherein the step of generating training data by transforming the representation of the environment into a set of transformed representations including a first transformed representation of the environment includes redefining a defined structure of the representation of the environment to a redefined structure of the first transformed representation of the environment. (Article 13) 1. A computer-implemented method for training a machine learning (ML) algorithm, the method comprising: generating training data comprising a set of transformed representations, including a first transformed representation of an environment, according to any of the previous clauses; training an ML algorithm, the ML algorithm comprising: classifying the set of transformed representations according to a set of classes including the first class; 4. A computer-implemented method comprising: (Article 14) 14. The method of claim 13, wherein the set of classes that includes the first class is the set of conditions that includes the first condition. (Article 15) 15. The method of claim 14, comprising identifying a set of characteristic features, including the first characteristic feature, associated with the first condition. (Article 16) 16. A computer-implemented method for determining a class of a representation of an environment using a machine learning (ML) algorithm trained according to any of clauses 13 to 15, the method comprising: Determining a class of the representation of the environment, including inferring a class of the representation of the environment using a trained ML algorithm. 4. A computer-implemented method comprising: (Article 17) 17. The method of claim 16, comprising identifying a set of features, including the first feature, associated with a condition of the representation of the environment. (Article 18) 18. The method of claim 17, comprising calculating a confidence score for the inferred class. (Article 19) 19. A method according to clause 17 or 18, comprising comparing the set of identified features with a set of characteristic features associated with conditions of the representation of the environment. (Article 20) 20. The method of claim 19, comprising storing a representation of the environment based on a result of the comparison. (Article 21) 21. The method of claim 20, comprising training the transformation using a stored representation of the environment. (Article 22) 22. The method of claim 21, comprising generating training data using the trained transformation. (Article 23) 23. The method of claim 22, comprising training an ML algorithm using the generated training data. (Article 24) 23. The method of claim 22, comprising validating an ML algorithm using the generated training data. (Article 25) 20. The method of claim 19, comprising performing an action based on a result of the comparison.
Claims
1. 1. A computer-implemented method for an autonomous vehicle to perform a task using a machine learning model, the computer-implemented method comprising: acquiring an image of an environment for the autonomous vehicle; applying the captured image to a condition classifier, the condition classifier configured to generate one or more values associated with a condition of the captured image; determining parameter settings for the machine learning model based on the one or more values; performing the task by applying an input image to the machine learning model using the determined parameter settings; 4. A computer-implemented method comprising:
2. The computer-implemented method of claim 1 , wherein the condition classifier comprises a neural network and the one or more values comprise one or more of a predicted condition feature and a predicted confidence.
3. The computer-implemented method of claim 2 , wherein the or each prediction feature comprises an output of an activation function.
4. 4. The computer-implemented method of claim 2 or claim 3, wherein the predicted confidence comprises a probability from an output layer of the neural network that a condition of the acquired image is one of one or more known conditions for images.
5. comparing the predicted confidence to a confidence threshold; determining a similarity between the one or more predicted confidence features and one or more respective confidence features of known conditions; The computer-implemented method of any one of claims 2 to 4, further comprising:
6. If the predicted confidence is above the confidence threshold, and if the similarity of the one or more predicted confidence features is greater than a matching threshold, the method further comprises: retrieving a machine learning model from a parameter database, the retrieved machine learning model having parameter settings obtained from training the machine learning model in images containing a condition matching the captured image, the parameter settings database including a plurality of machine learning models each having different parameter settings derived from training the machine learning model with images containing different conditions; performing the task by applying the retrieved image to the retrieved machine learning model; The computer-implemented method of claim 5 , further comprising:
7. If the predicted confidence is above the confidence threshold, and if the similarity of the one or more predicted confidence features is greater than a dissimilarity threshold and less than a matching threshold, the method further comprises: retrieving a machine learning model from a parameter database, the retrieved machine learning model having parameter settings obtained from training the machine learning model in images containing conditions that are closest to the captured image, the parameter settings database including a plurality of machine learning models each having different parameter settings derived from training the machine learning model using images containing different conditions; modifying the retrieved machine learning model by interpolating its parameter settings using differences between the predicted condition features and condition features of a condition associated with the retrieved machine learning model; performing the task by applying the acquired images to the machine learning model having the interpolated parameter settings; The computer-implemented method of claim 5 or claim 6, further comprising:
8. If the predicted confidence is less than the confidence threshold and / or if the similarity of the one or more predicted confidence features is less than a dissimilarity threshold, the method further comprises: storing the retrieved images as images containing unknown conditions; Optionally, performing, by said autonomous vehicle, a minimal risk maneuver. The computer-implemented method of any one of claims 5 to 7, further comprising:
9. 8. The computer-implemented method of claim 6 or claim 7, further comprising controlling the autonomous vehicle to traverse a path based on a result of performing the task.
10. The computer-implemented method of any one of claims 1 to 9, wherein the task is selected from a list comprising: semantic segmentation, object detection, and object recognition.
11. A computer-implemented method according to any preceding claim, wherein the conditions are selected from a list comprising: type of weather, rating of type of weather, brightness, rating of brightness, time of day, and season.
12. 1. A computer-implemented method for training a machine learning model of an autonomous vehicle to perform a task using input images, the computer-implemented method comprising: acquiring a plurality of images including unknown conditions; generating a predictive semantic map by applying a machine learning model to a plurality of the captured images including the unknown conditions; optimizing parameters of the machine learning model by minimizing an error between the predicted semantic map and a semantic map ground truth to generate parameter settings of the machine learning model for the unknown conditions; storing the generated parameter settings of the machine learning model in a parameter database, the parameter database being configured to store a plurality of machine learning models each having a different parameter setting, each parameter setting being associated with a unique condition; 4. A computer-implemented method comprising:
13. 13. The computer-implemented method of claim 12, wherein generating a predictive semantic map by applying a plurality of the captured images including the unknown condition to a machine learning model comprises generating a predictive semantic map by applying a plurality of the captured images including the unknown condition to a machine learning model that was previously trained using images including conditions different from the unknown condition.
14. 14. A computer-implemented method according to claim 12 or claim 13, wherein the unknown conditions and the specific conditions are each selected from a list comprising: weather type, weather type rating, brightness, brightness rating, time of day, and season.
15. The computer-implemented method of any one of claims 12 to 14, wherein the task is selected from a list comprising: semantic segmentation, object detection, and object recognition.
16. A transitory or non-transitory computer readable medium having instructions stored thereon which, when executed by one or more processors, cause the one or more processors to perform the computer-implemented method of any one of claims 1 to 15.
17. 17. An autonomous vehicle comprising a storage, one or more processors, one or more image sensors, and one or more actuators, the storage comprising the transitory or non-transitory computer readable medium of claim 16.
Citation Information
Patent Citations
Discrimination method, discrimination device, discriminator generation method and discriminator generation device
JP2018081404A
Scene classification
JP2020047267A
Image processing system and image processing method
JP2020126432A
