WO2020239196A1 - System and method for training a generative adversarial model generating image samples of different brightness levels - Google Patents

System and method for training a generative adversarial model generating image samples of different brightness levels Download PDF

Info

Publication number
WO2020239196A1
WO2020239196A1 PCT/EP2019/063650 EP2019063650W WO2020239196A1 WO 2020239196 A1 WO2020239196 A1 WO 2020239196A1 EP 2019063650 W EP2019063650 W EP 2019063650W WO 2020239196 A1 WO2020239196 A1 WO 2020239196A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
training
model
sample
decoder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/EP2019/063650
Other languages
French (fr)
Inventor
Sven Meier
Norimasa Kobori
Fabian MANHARDT
Federico Tombari
Christian Rupprecht
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Europe NV SA
Technische Universitaet Muenchen
Original Assignee
Toyota Motor Europe NV SA
Technische Universitaet Muenchen
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Europe NV SA, Technische Universitaet Muenchen filed Critical Toyota Motor Europe NV SA
Priority to PCT/EP2019/063650 priority Critical patent/WO2020239196A1/en
Publication of WO2020239196A1 publication Critical patent/WO2020239196A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • G06N3/0455Auto-encoder networks; Encoder-decoder networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/047Probabilistic or stochastic networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0475Generative networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0499Feedforward networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/09Supervised learning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/094Adversarial learning

Definitions

  • the present disclosure is related to the field of image processing, in particular to a method for training a generative adversarial model generating image samples of different brightness levels.
  • Machine learning techniques require sample data for training.
  • training data may be image samples.
  • Computer vision tasks comprise e.g. the extraction of highdimensional data from the real world in order to produce numerical or symbolic information, e.g., in the forms of decisions.
  • deep learning architectures using a trained model e.g. in the form of an artificial neural network, can be applied in the field of computer vision.
  • the model can be trained in a supervised, semi-supervised or unsupervised manner.
  • Examples of deep learning architectures in the computer vision field comprise e.g.:
  • a further specific class of machine learning systems comprise generative adversarial network (GAN).
  • GAN generative adversarial network
  • two neural networks contest with each other in a zero-sum game framework, cf. e.g. :
  • the model learns to perform a task in different lighting conditions, i.e. to increase their robustness to lighting.
  • the trained model may be required to extract high ⁇ dimensional data from images and/or to semantically segment these images in different lighting conditions, e.g. during different day time and/or in tunnels.
  • the mentioned exemplary task of semantic image segmentation is a method to automatically determine the semantic labels of the objects which appear in an image.
  • the image may be acquired by a camera mounted in a vehicle.
  • Semantic segmentation of such an image allows recognizing cars, pedestrians, traffic lanes, etc. Therefore, semantic segmentation is the backbone technique for autonomous driving systems or other automated systems.
  • Semantic image segmentation typically uses models such as neural networks to perform the segmentation. These models need to be trained.
  • Training such a model typically comprises inputting known images to the model. For these images, a predetermined semantic segmentation is already known (an operator may have prepared the predetermined semantic segmentations of each image by annotating the images). The output of the model is then evaluated in view of the predetermined semantic segmentation, and the parameters of the model are adjusted if the output of the model differs from the predetermined semantic segmentation of an image. It follows that in order to train a semantic segmentation model, a large number of image samples and predetermined semantic segmentations are necessary.
  • segmentation task is merely an example for image processing. There may be other image processing tasks where it is desirable to train a model with image samples of different brightness levels, in order to increase robustness of the trained model with regard to varying lighting.
  • a (desirably computer-implemented) method for training a generative adversarial model generating image samples of different brightness levels comprises the steps of:
  • a - obtaining a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level
  • the generative adversarial model desirably reduces blur effects in the generated images.
  • the trained model becomes able to generate multiple images of consistently different lighting levels from a single input image.
  • the generated image samples of the trained model may be used to extend the dynamic range (like e.g. a pre-processor) for an existing algorithm (e.g. another model) by feeding every output image into the existing algorithm.
  • an existing algorithm e.g. another model
  • the standard LI and/or L2 loss may be augmented by an adversarial loss which is based on a discriminator model trained to distinguish machine generated image samples and (realistic) target image samples.
  • the adversarial loss may be used to optimize all decoder branches. Accordingly, at each training iteration all decoder branches may be updated, in order to learn generating more realistic output image samples.
  • the step d of training the image generating model using the set of training image data may comprise a training according to a supervised learning method.
  • the training uses a target image sample.
  • the predefined loss function may determine a loss between an output image sample generated by the image generating model and the target output image.
  • the method may further comprise the step of: e - training the discriminator model using the set of training image data and generated output image samples generated by the image generating model, in order to learn discriminating between real image samples and machine generated image samples.
  • the discriminator model is trained together with the image generating model.
  • the discriminator model and the image generating model may be trained alternatingly.
  • the step of training the discriminator model may comprise, for each generated image sample of a training image, inputting the generated image sample and the corresponding target image sample (which relates to the same input image sample as the generated image sample) and computing the adversarial loss for said generated image sample.
  • the discriminator model may be trained based on all generated image samples, i.e. on image samples with different brightness levels.
  • the adversarial loss used for augmenting the training step of the image generating model may be the mean of the adversarial losses for said generated image samples of the respective training image (i.e. those image samples which have been generated based on the same input image sample representing the training image).
  • the image generating model may be a deep neural network.
  • the discriminator model may be a deep neural network.
  • Each decoder branch may be a separate decoder of the model.
  • the model may comprise a decoder with at least one decoder layer, in which the decoder is branched such the last decoder layer comprises the plurality of decoder branches.
  • This alternative has the advantage that during each training iteration of the decoder the common parts of decoder branches (including the decider branch having the minimum loss) are optimized based on the predefined loss function.
  • the present disclosure further relates to a system for training a generative adversarial model generating image samples of different brightness level, comprising:
  • a module A for obtaining a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level
  • a module B for providing an image generating model having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample
  • the system may comprise further (sub-) modules and features corresponding to the features of the method described above.
  • the present disclosure further relates to a (computer) system for generating image samples of different brightness levels, comprising the trained model of step d of the method described above or of the trained module D of the system described above.
  • the present disclosure further relates to a computer vision system for processing an input image sample (e.g. to semantically segment the input image sample, and/or to acquire information from said the input image sample), comprising a pre-processor module configured to generate image samples of different brightness level based on the input image sample, the pre ⁇ processor module comprising the trained model of step d of the method described above or of the trained module D of the system described above.
  • said computer vision system may comprise a module including an algorithm (e.g. another model) configured to receive and process the output of the pre-processor module (i.e. including the generated image samples).
  • the present disclosure relates to a computer program including instructions for executing the steps of a method, as described above, when said program is executed by a computer.
  • This program can use any programming language and take the form of source code, object code or a code intermediate between source code and object code, such as a partially compiled form, or any other desirable form.
  • the present disclosure relates to a recording medium readable by a computer and having recorded thereon a computer program including instructions for executing the steps of a method, as described above.
  • the information medium can be any entity or device capable of storing the program.
  • the medium can include storage means such as a ROM, for example a CD ROM or a microelectronic circuit ROM, or magnetic storage means, for example a diskette (floppy disk) or a hard disk.
  • the information medium can be an integrated circuit in which the program is incorporated, the circuit being adapted to execute the method in question or to be used in its execution.
  • FIG. 1 shows a schematic flow chart of the steps of a method for training a generative adversarial model generating image samples of different brightness levels according to embodiments of the present disclosure
  • Fig. 2 shows a schematic block diagram of a system according to embodiments of the present disclosure. DESCRIPTION OF THE EMBODIMENTS
  • FIG. 1 shows a schematic flow chart of the steps of a method for training a generative adversarial model generating image samples of different brightness levels according to embodiments of the present disclosure.
  • the model being desirably a neural network is trained to take as input an image sample and produces as output a multitude of image samples of same size but varying lighting conditions.
  • the scene is desirably not modified by the network.
  • a set of training image data is obtained comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level.
  • step S02 (which may be carried out before, after or at the same time as step SOI) an image generating model is provided having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample.
  • step S03 (which may be carried out before, after or at the same time as step SOI and/or S02) a discriminator model is provided.
  • the network consists of a single encoder and multiple decoders, each producing one of the multiple output images.
  • a global discriminator is used to provide the loss for each of the output images.
  • a subsequent step S04 the image generating model is trained using the set of training image data based on a predefined loss function, wherein for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function.
  • the final loss is the minimum value of all losses associated with the respective decoder branches. Only the encoder and decoder branch associated with the lowest loss is updated on each training cycle.
  • the training step S04 is augmented by an adversarial loss which is based on the output of the discriminator model.
  • the training objective is composed of two individual loss terms, i.e. the discriminator loss and the predefined (e.g. LI) loss. Thereby each of the n output image samples will be evaluated by the discriminator, which ensures that all images fit the target domain in terms of structure and realism.
  • each of the (predicted, i.e. generated) image samples is paired with the corresponding target image sample, and is sent through the discriminator. Afterwards, an (adversarial) loss value is obtained for each prediction and the mean over the individual losses is taken. Hence, the loss for the real input-target pair and all prediction-target pairs is computed and the mean is taken.
  • the image generating model and discriminator more are trained alternating.
  • the discriminator model computes the loss for all predicted samples (each paired with the target) and then computes the mean over all loss terms, as expressed by the following simplified equations for the generator step:
  • the predefined loss will be also computed on all output images, but inspired by e.g. C. Rupprecht et al (2017). Learning in an Uncertain World: Representing Ambiguity Through Multiple Hypotheses. 10.1109/ICCV.2017.388, only the minimum contributes to the final loss. This enforces that the different hypotheses specialize on the different target lightning conditions.
  • the discriminator loss is the average over all generated image samples with respect to the discriminator. Thereby each of the n generated image samples will be evaluated by the discriminator, which ensures that all images fit the target domain in terms of structure and realism and in our case also lighting.
  • the LI loss will be also computed on all generated image samples, but only the minimum contributes to the final loss. This enforces that the different hypotheses specialize on the different target lightning conditions.
  • the trained model will output a multitude of generated image samples based on a given input image sample, each with a different brightness level but similar content to the original input image sample.
  • the network can be used to augment an existing dataset to extend the lighting range while preserving labels associated to the original image. Additionally or alternatively it can be used to pre-process existing images to achieve a high dynamic range sequence of images for detection of objects or other existing perception applications.
  • FIG. 2 shows a schematic block diagram of a system according to embodiments of the present disclosure.
  • a system 200 for training a model has been represented.
  • This system 200 which may be a computer, comprises a processor 201 and a non-volatile memory 202.
  • the system 200 may not only be configured for training a generative adversarial model generating image samples of different brightness levels. It may also apply the trained model to another algorithm 400.
  • the trained model may be applied to a computer vision system 400.
  • a computer vision system for processing an input image sample 400 may comprise a pre-processor module configured to generate image samples of different brightness level based on the input image sample, the pre-processor module comprising said trained model.
  • the system 200 may further be connected to a (passive) optical sensor 300, in particular a digital camera (e.g.
  • the digital camera 300 is configured such that it can take pictures which may be used as input image samples provided to the model.
  • the camera 300 desirably generates image data comprising a 2D or 3D image of the environment.
  • a set of instructions is stored and this set of instructions comprises instructions to perform a method for training a model.
  • these instructions and the processor 201 may respectively form a plurality of modules:
  • a module A for obtaining a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level
  • a module B for providing an image generating model having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to a method and system for training a generative adversarial model generating image samples of different brightness levels. The method comprises the steps of: a - obtaining (SOI) a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level, b - providing (S02) an image generating model having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample, c - providing (S03) a discriminator model, d - training (S04) the image generating model using the set of training image data based on a predefined loss function, wherein for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function, and wherein the training step (S04) of d is augmented by an adversarial loss which is based on the output of the discriminator model.

Description

SYSTEM AND METHOD FOR TRAINING A GENERATIVE ADVERSARIAL MODEL GENERATING IMAGE SAMPLES OF DIFFERENT BRIGHTNESS
LEVELS
FIELD OF THE DISCLOSURE
[0001] The present disclosure is related to the field of image processing, in particular to a method for training a generative adversarial model generating image samples of different brightness levels.
BACKGROUND OF THE DISCLOSURE
[0002] Machine learning techniques require sample data for training. For example in the field of computer vision, such training data may be image samples. Computer vision tasks comprise e.g. the extraction of highdimensional data from the real world in order to produce numerical or symbolic information, e.g., in the forms of decisions. In particular, deep learning architectures using a trained model, e.g. in the form of an artificial neural network, can be applied in the field of computer vision. The model can be trained in a supervised, semi-supervised or unsupervised manner.
[0003] Examples of deep learning architectures in the computer vision field comprise e.g.:
Fabian Manhardt et.al. (ECCV2018) "Deep Model-Based 6D Pose Refinement in RGB", and
Rupprecht, Christian & Laina, Iro & DiPietro, Robert & Baust, Maximilian & Tombari, Federico & Hager, Gregory & Navab, Nassir (2017). Learning in an Uncertain World: Representing Ambiguity Through Multiple Hypotheses. 10.1109/ICCV.2017.388.
[0004] A further specific class of machine learning systems comprise generative adversarial network (GAN). In this class two neural networks contest with each other in a zero-sum game framework, cf. e.g. :
Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde- Farley, Sherjil Ozairy, Aaron Courville, Yoshua Bengioz (2014) "Generative Adversarial Nets", Advances in neural information processing systems, Pages 2672-2680, and
Alec Radford, Luke Metz, Soumith Chintala, 2015 "Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks" (arXiv:1511.06434). [0005] When training a model, it may be desirable that the model learns to perform a task in different lighting conditions, i.e. to increase their robustness to lighting. For example, in case the computer vision tasks are in the context of automated driving, the trained model may be required to extract high¬ dimensional data from images and/or to semantically segment these images in different lighting conditions, e.g. during different day time and/or in tunnels.
[0006] The mentioned exemplary task of semantic image segmentation is a method to automatically determine the semantic labels of the objects which appear in an image. For example, the image may be acquired by a camera mounted in a vehicle. Semantic segmentation of such an image allows recognizing cars, pedestrians, traffic lanes, etc. Therefore, semantic segmentation is the backbone technique for autonomous driving systems or other automated systems. Semantic image segmentation typically uses models such as neural networks to perform the segmentation. These models need to be trained.
[0007] Training such a model typically comprises inputting known images to the model. For these images, a predetermined semantic segmentation is already known (an operator may have prepared the predetermined semantic segmentations of each image by annotating the images). The output of the model is then evaluated in view of the predetermined semantic segmentation, and the parameters of the model are adjusted if the output of the model differs from the predetermined semantic segmentation of an image. It follows that in order to train a semantic segmentation model, a large number of image samples and predetermined semantic segmentations are necessary.
[0008] Is has been observed that the illumination condition at e.g. nighttime (in particular when there is no direct solar illumination but e.g. only electrical street lights, i.e. nocturnal artificial lighting) creates visibility problems for drivers and for automated systems. While sensors and computer vision algorithms are constantly getting better, the improvements are usually benchmarked with images taken during daylight time. Those methods often fail to work in nighttime condition. This prevents the automated systems from actually being used: it is not conceivable for a vehicle to avoid nighttime, and the vehicle has to be able to distinguish different objects during in daytime and nighttime conditions. [0009] Compared to daylight, nocturnal artificial lighting degrades the visibility of a scene significantly, according to the darkness of the driving scene.
[0010] It may thus be desirable to train semantic segmentation models with nighttime images (images taken at night time with no direct solar illumination but e.g. only electrical street lights, i.e. nocturnal artificial lighting). Obtaining e.g. nighttime image samples (taken by a camera) or image samples of other brightness (e.g. of a relatively high brightness) can be difficult and time- consuming, especially if for each scene images at different brightness levels, e.g. during different day times have to be taken. Furthermore it can be difficult to annotate night-time images due to their light conditions (i.e. for the task of semantic segmentation).
[0011] It is noted though that the described segmentation task is merely an example for image processing. There may be other image processing tasks where it is desirable to train a model with image samples of different brightness levels, in order to increase robustness of the trained model with regard to varying lighting.
SUMMARY OF THE DISCLOSURE
[0012] Currently, it remains desirable to obtain image samples suitable for training an algorithm (e.g. another model) such that the robustness of the trained model with regard to varying lighting is increased. In particular, is remains desirable to provide a method and a system for training a model to learn generating image samples of different brightness levels, in particular such that the trained model can generate from one input image sample a set of different brightness output image samples, while preserving the main content of the input image sample.
[0013] Therefore, according to the embodiments of the present disclosure, a (desirably computer-implemented) method for training a generative adversarial model generating image samples of different brightness levels is provided. The method comprises the steps of:
a - obtaining a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level, b - providing an image generating model having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample,
c - providing a discriminator model,
d - training the image generating model using the set of training image data based on a predefined loss function, wherein for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function, and
wherein the training step of d is augmented by an adversarial loss which is based on the output of the discriminator model.
[0014] Accordingly, it is proposed to use a model in the form of a generative adversarial model which is able to learn generating realistic output image samples which preserve the main content of the input image sample. In particular, the generative adversarial model desirably reduces blur effects in the generated images.
[0015] Furthermore, due to the multiple hypothesis approach (i.e. the fact that for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function) the trained model becomes able to generate multiple images of consistently different lighting levels from a single input image.
[0016] By training such a model it becomes possible to use the generated image samples of the trained model to train other algorithms, e.g. other models, for robustness to lighting.
[0017] For example, the generated image samples of the trained model may be used to extend the dynamic range (like e.g. a pre-processor) for an existing algorithm (e.g. another model) by feeding every output image into the existing algorithm.
[0018] For example, the standard LI and/or L2 loss may be augmented by an adversarial loss which is based on a discriminator model trained to distinguish machine generated image samples and (realistic) target image samples.
[0019] For each training image the adversarial loss may be used to optimize all decoder branches. Accordingly, at each training iteration all decoder branches may be updated, in order to learn generating more realistic output image samples.
[0020] The step d of training the image generating model using the set of training image data may comprise a training according to a supervised learning method. In other words, the training uses a target image sample.
[0021] The predefined loss function may determine a loss between an output image sample generated by the image generating model and the target output image.
[0022] The method may further comprise the step of: e - training the discriminator model using the set of training image data and generated output image samples generated by the image generating model, in order to learn discriminating between real image samples and machine generated image samples.
Accordingly, the discriminator model is trained together with the image generating model.
[0023] The discriminator model and the image generating model may be trained alternatingly.
[0024] The step of training the discriminator model may comprise, for each generated image sample of a training image, inputting the generated image sample and the corresponding target image sample (which relates to the same input image sample as the generated image sample) and computing the adversarial loss for said generated image sample.
Accordingly, the discriminator model may be trained based on all generated image samples, i.e. on image samples with different brightness levels.
[0025] The adversarial loss used for augmenting the training step of the image generating model may be the mean of the adversarial losses for said generated image samples of the respective training image (i.e. those image samples which have been generated based on the same input image sample representing the training image).
[0026] The image generating model may be a deep neural network.
[0027] The discriminator model may be a deep neural network.
Each decoder branch may be a separate decoder of the model.
[0028] Alternatively the model may comprise a decoder with at least one decoder layer, in which the decoder is branched such the last decoder layer comprises the plurality of decoder branches. This alternative has the advantage that during each training iteration of the decoder the common parts of decoder branches (including the decider branch having the minimum loss) are optimized based on the predefined loss function.
[0029] The present disclosure further relates to a system for training a generative adversarial model generating image samples of different brightness level, comprising:
a module A for obtaining a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level,
a module B for providing an image generating model having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample,
a module C for providing a discriminator model, and
a model D for training the image generating model using the set of training image data based on a predefined loss function, wherein for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function, and
wherein the training in module D is augmented by an adversarial loss which is based on the output of the discriminator model.
[0030] The system may comprise further (sub-) modules and features corresponding to the features of the method described above.
[0031] The present disclosure further relates to a (computer) system for generating image samples of different brightness levels, comprising the trained model of step d of the method described above or of the trained module D of the system described above.
[0032] The present disclosure further relates to a computer vision system for processing an input image sample (e.g. to semantically segment the input image sample, and/or to acquire information from said the input image sample), comprising a pre-processor module configured to generate image samples of different brightness level based on the input image sample, the pre¬ processor module comprising the trained model of step d of the method described above or of the trained module D of the system described above. Accordingly, said computer vision system may comprise a module including an algorithm (e.g. another model) configured to receive and process the output of the pre-processor module (i.e. including the generated image samples).
[0033] Furthermore the present disclosure relates to a computer program including instructions for executing the steps of a method, as described above, when said program is executed by a computer.
[0034] This program can use any programming language and take the form of source code, object code or a code intermediate between source code and object code, such as a partially compiled form, or any other desirable form.
[0035] Finally, the present disclosure relates to a recording medium readable by a computer and having recorded thereon a computer program including instructions for executing the steps of a method, as described above.
[0036] The information medium can be any entity or device capable of storing the program. For example, the medium can include storage means such as a ROM, for example a CD ROM or a microelectronic circuit ROM, or magnetic storage means, for example a diskette (floppy disk) or a hard disk.
[0037] Alternatively, the information medium can be an integrated circuit in which the program is incorporated, the circuit being adapted to execute the method in question or to be used in its execution.
[0038] It is intended that combinations of the above-described elements and those within the specification may be made, except where otherwise contradictory.
[0039] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure, as claimed.
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, and serve to explain the principles thereof.
BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Fig. 1 shows a schematic flow chart of the steps of a method for training a generative adversarial model generating image samples of different brightness levels according to embodiments of the present disclosure; and
[0042] Fig. 2 shows a schematic block diagram of a system according to embodiments of the present disclosure. DESCRIPTION OF THE EMBODIMENTS
[0043] Reference will now be made in detail to exemplary embodiments of the disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
[0044] Fig. 1 shows a schematic flow chart of the steps of a method for training a generative adversarial model generating image samples of different brightness levels according to embodiments of the present disclosure.
[0045] Accordingly, the model being desirably a neural network is trained to take as input an image sample and produces as output a multitude of image samples of same size but varying lighting conditions. Other than the brightness and clipping introduced by the limited dynamic range of the image format the scene is desirably not modified by the network.
[0046] In a first step SOI a set of training image data is obtained comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level.
[0047] In a further step S02 (which may be carried out before, after or at the same time as step SOI) an image generating model is provided having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample.
[0048] In a further step S03 (which may be carried out before, after or at the same time as step SOI and/or S02) a discriminator model is provided.
[0049] Accordingly, the network consists of a single encoder and multiple decoders, each producing one of the multiple output images. In particular, a global discriminator is used to provide the loss for each of the output images.
[0050] In a subsequent step S04 the image generating model is trained using the set of training image data based on a predefined loss function, wherein for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function.
[0051] In other words, the final loss is the minimum value of all losses associated with the respective decoder branches. Only the encoder and decoder branch associated with the lowest loss is updated on each training cycle.
[0052] The training step S04 is augmented by an adversarial loss which is based on the output of the discriminator model. [0053] In other words, the training objective is composed of two individual loss terms, i.e. the discriminator loss and the predefined (e.g. LI) loss. Thereby each of the n output image samples will be evaluated by the discriminator, which ensures that all images fit the target domain in terms of structure and realism.
[0054] Accordingly, each of the (predicted, i.e. generated) image samples is paired with the corresponding target image sample, and is sent through the discriminator. Afterwards, an (adversarial) loss value is obtained for each prediction and the mean over the individual losses is taken. Hence, the loss for the real input-target pair and all prediction-target pairs is computed and the mean is taken.
[0055] The image generating model and discriminator more are trained alternating. The discriminator model computes the loss for all predicted samples (each paired with the target) and then computes the mean over all loss terms, as expressed by the following simplified equations for the generator step:
Figure imgf000011_0001
and for the discriminator step:
Figure imgf000011_0002
wherein:
O = Generator Input Image
T = Target Image
I = All predicted Images
Ij = Predicted image j
[0056] The predefined loss will be also computed on all output images, but inspired by e.g. C. Rupprecht et al (2017). Learning in an Uncertain World: Representing Ambiguity Through Multiple Hypotheses. 10.1109/ICCV.2017.388, only the minimum contributes to the final loss. This enforces that the different hypotheses specialize on the different target lightning conditions.
[0057] If for example the hypothesis (i.e. generated image sample) of the nth decoder branch is the closest of the target image sample, only its loss will contribute to the final loss to let it further optimize on the given sampled lightning condition.
[0058] In other words, the discriminator loss is the average over all generated image samples with respect to the discriminator. Thereby each of the n generated image samples will be evaluated by the discriminator, which ensures that all images fit the target domain in terms of structure and realism and in our case also lighting. The LI loss will be also computed on all generated image samples, but only the minimum contributes to the final loss. This enforces that the different hypotheses specialize on the different target lightning conditions.
[0059] At runtime the trained model will output a multitude of generated image samples based on a given input image sample, each with a different brightness level but similar content to the original input image sample. The network can be used to augment an existing dataset to extend the lighting range while preserving labels associated to the original image. Additionally or alternatively it can be used to pre-process existing images to achieve a high dynamic range sequence of images for detection of objects or other existing perception applications.
[0060] Fig. 2 shows a schematic block diagram of a system according to embodiments of the present disclosure.
[0061] In this figure, a system 200 for training a model has been represented. This system 200, which may be a computer, comprises a processor 201 and a non-volatile memory 202. The system 200 may not only be configured for training a generative adversarial model generating image samples of different brightness levels. It may also apply the trained model to another algorithm 400. For example the trained model may be applied to a computer vision system 400. In other words, a computer vision system for processing an input image sample 400 may comprise a pre-processor module configured to generate image samples of different brightness level based on the input image sample, the pre-processor module comprising said trained model. [0062] The system 200 may further be connected to a (passive) optical sensor 300, in particular a digital camera (e.g. integrated into the vehicle and being oriented to at least one of the front, the sides and the back). The digital camera 300 is configured such that it can take pictures which may be used as input image samples provided to the model. The camera 300 desirably generates image data comprising a 2D or 3D image of the environment. There may also be provided a set of monocular cameras which generate a panoramic 2D or 3D image.
[0063] In the non-volatile memory 202, a set of instructions is stored and this set of instructions comprises instructions to perform a method for training a model.
[0064] In particular, these instructions and the processor 201 may respectively form a plurality of modules:
a module A for obtaining a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level,
a module B for providing an image generating model having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample,
a module C for providing a discriminator model, and
a model D for training the image generating model using the set of training image data based on a predefined loss function, wherein for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function, and
wherein the training in module D is augmented by an adversarial loss which is based on the output of the discriminator model.
[0065] Throughout the description, including the claims, the term "comprising a" should be understood as being synonymous with "comprising at least one" unless otherwise stated. In addition, any range set forth in the description, including the claims should be understood as including its end value(s) unless otherwise stated. Specific values for described elements should be understood to be within accepted manufacturing or industry tolerances known to one of skill in the art, and any use of the terms "substantially" and/or "approximately" and/or "generally" should be understood to mean falling within such accepted tolerances.
[0066] Although the present disclosure herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present disclosure.
[0067] It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims.

Claims

1. A method for training a generative adversarial model generating image samples of different brightness levels, comprising the steps of:
a - obtaining (SOI) a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level,
b - providing (S02) an image generating model having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample,
c - providing (S03) a discriminator model,
d - training (S04) the image generating model using the set of training image data based on a predefined loss function, wherein for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function, and
wherein the training step (S04) of d is augmented by an adversarial loss which is based on the output of the discriminator model.
2. The method according to the claim 1, wherein
for each training image the adversarial loss is used to optimize all decoder branches.
3. The method according to the claim 1, wherein
d - training (S04) the image generating model using the set of training image data comprises a training according to a supervised learning method.
4. The method according to claim 1 or 2, wherein
the predefined loss function determines a loss between an output image sample generated by the image generating model and the target output image.
5. The method according to any one of the preceding claims, further comprising the step of:
e - training (S06) the discriminator model using the set of training image data and generated output image samples generated by the image generating model, in order to learn discriminating between real image samples and machine generated image samples.
6. The method according to any the preceding claim, wherein
the discriminator model and the image generating model are trained alternatingly.
7. The method according to any the preceding claim, wherein
training (S06) the discriminator model comprises, for each generated image sample of a training image, inputting the generated image sample and the corresponding target image sample and computing the adversarial loss for said generated image sample, wherein
the adversarial loss used for augmenting the training step (S04) of the image generating model is the mean of the adversarial losses for said generated image samples of the respective training image.
8. The method according to the preceding claim, wherein
the image generating model is a deep neural network, and/or
the discriminator model is a deep neural network.
9. The method according to the preceding claim, wherein
each decoder branch is a separate decoder of the model, or
the model comprises a decoder with at least one decoder layer, in which the decoder is branched such the last decoder layer comprises the plurality of decoder branches.
10. A system for training a generative adversarial model generating image samples of different brightness level, comprising:
a module A for obtaining a set of training image data comprising for each of a plurality of training images an input image sample and a target image sample representing the same image but in a different brightness level,
a module B for providing an image generating model having an encoder configured to receive the input image sample and a plurality of decoder branches configured to output each a generated output sample,
a module C for providing a discriminator model, and a model D for training the image generating model using the set of training image data based on a predefined loss function, wherein for each training image among the decoder branches only the decoder branch whose generated output sample has a minimum loss compared to all other decoder branches is optimized based on said predefined loss function, and
wherein the training in module D is augmented by an adversarial loss which is based on the output of the discriminator model.
11. A system for generating image samples of different brightness levels, comprising the trained model of step d of any one of claims 1 to 9 or of the trained module D of claim 10.
12. A computer vision system for processing an input image sample, comprising a pre-processor module configured to generate image samples of different brightness level based on the input image sample, the pre-processor module comprising the trained model of step d of any one of claims 1 to 9 or of the trained module D of claim 10.
13. A computer program including instructions for executing the steps of a method according to any one of claims 1 to 9 when said program is executed by a computer.
14. A recording medium readable by a computer and having recorded thereon a computer program including instructions for executing the steps of a method according to any one of claims 1 to 9.
PCT/EP2019/063650 2019-05-27 2019-05-27 System and method for training a generative adversarial model generating image samples of different brightness levels Ceased WO2020239196A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/EP2019/063650 WO2020239196A1 (en) 2019-05-27 2019-05-27 System and method for training a generative adversarial model generating image samples of different brightness levels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/EP2019/063650 WO2020239196A1 (en) 2019-05-27 2019-05-27 System and method for training a generative adversarial model generating image samples of different brightness levels

Publications (1)

Publication Number Publication Date
WO2020239196A1 true WO2020239196A1 (en) 2020-12-03

Family

ID=66668940

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2019/063650 Ceased WO2020239196A1 (en) 2019-05-27 2019-05-27 System and method for training a generative adversarial model generating image samples of different brightness levels

Country Status (1)

Country Link
WO (1) WO2020239196A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113505848A (en) * 2021-07-27 2021-10-15 京东科技控股股份有限公司 Model training method and device
CN113591975A (en) * 2021-07-29 2021-11-02 中国人民解放军战略支援部队信息工程大学 Countermeasure sample generation method and system based on Adam algorithm
CN114419360A (en) * 2021-11-23 2022-04-29 东北电力大学 A photovoltaic panel infrared thermal image classification and hot spot location method
CN115082761A (en) * 2022-01-06 2022-09-20 鸿海精密工业股份有限公司 Model generation device and method
CN115131629A (en) * 2022-07-14 2022-09-30 佳源科技股份有限公司 Power distribution station intelligent gateway data enhancement method based on generation countermeasure model
CN116229201A (en) * 2023-01-03 2023-06-06 马上消费金融股份有限公司 Image generation model construction method, device, electronic equipment and storage medium

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
ALEC RADFORDLUKE METZSOUMITH CHINTALA: "Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks", ARXIV:1511.06434, 2015
C. RUPPRECHT ET AL., LEARNING IN AN UNCERTAIN WORLD: REPRESENTING AMBIGUITY THROUGH MULTIPLE HYPOTHESES, 2017
FABIAN MANHARDT: "Deep Model-Based 6D Pose Refinement in RGB", ECCV2018
IAN J. GOODFELLOWJEAN POUGET-ABADIEMEHDI MIRZABING XUDAVID WARDE-FARLEYSHERJIL OZAIRYAARON COURVILLEYOSHUA BENGIOZ: "Generative Adversarial Nets", ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS, 2014, pages 2672 - 2680, XP055572979, DOI: doi:https://dl.acm.org/citation.cfm?id=2969125
JOOST VAN AMERSFOORT ET AL: "Frame Interpolation with Multi-Scale Deep Loss Functions and Generative Adversarial Networks", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 16 November 2017 (2017-11-16), XP081289078 *
NGUYEN VU ET AL: "Shadow Detection with Conditional Generative Adversarial Networks", 2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), IEEE, 22 October 2017 (2017-10-22), pages 4520 - 4528, XP033283326, DOI: 10.1109/ICCV.2017.483 *
RUPPRECHT, CHRISTIANLAINA, IRODIPIETRO, ROBERTBAUST, MAXIMILIANTOMBARI, FEDERICOHAGER, GREGORYNAVAB, NASSIR, LEARNING IN AN UNCERTAIN WORLD: REPRESENTING AMBIGUITY THROUGH MULTIPLE HYPOTHESES, 2017
WEI-SHENG LAI ET AL: "Semi-Supervised Learning for Optical Flow with Generative Adversarial Networks Jia-Bin Huang 2", 1 January 2017 (2017-01-01), XP055676590, Retrieved from the Internet <URL:https://faculty.ucmerced.edu/mhyang/papers/nips17_flowGAN.pdf> [retrieved on 20200313] *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113505848A (en) * 2021-07-27 2021-10-15 京东科技控股股份有限公司 Model training method and device
CN113505848B (en) * 2021-07-27 2023-09-26 京东科技控股股份有限公司 Model training method and device
CN113591975A (en) * 2021-07-29 2021-11-02 中国人民解放军战略支援部队信息工程大学 Countermeasure sample generation method and system based on Adam algorithm
CN114419360A (en) * 2021-11-23 2022-04-29 东北电力大学 A photovoltaic panel infrared thermal image classification and hot spot location method
US11631237B1 (en) 2021-11-23 2023-04-18 Northeast Electric Power University Infrared thermal image classification and hot spot positioning method of photovoltaic panel
CN115082761A (en) * 2022-01-06 2022-09-20 鸿海精密工业股份有限公司 Model generation device and method
US12315229B2 (en) 2022-01-06 2025-05-27 Hon Hai Precision Industry Co., Ltd. Model generating apparatus and method
CN115131629A (en) * 2022-07-14 2022-09-30 佳源科技股份有限公司 Power distribution station intelligent gateway data enhancement method based on generation countermeasure model
CN116229201A (en) * 2023-01-03 2023-06-06 马上消费金融股份有限公司 Image generation model construction method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2020239196A1 (en) System and method for training a generative adversarial model generating image samples of different brightness levels
CN116188307B (en) A joint method and system for low-light image enhancement and semantic segmentation applicable throughout the day
US10235605B2 (en) Image labeling using geodesic features
Manssor et al. Real-time human detection in thermal infrared imaging at night using enhanced Tiny-yolov3 network
WO2019230339A1 (en) Object identification device, system for moving body, object identification method, training method of object identification model, and training device for object identification model
CN117036895B (en) Multi-task environment sensing method based on point cloud fusion of camera and laser radar
CN109509156B (en) Image defogging processing method based on generation countermeasure model
CN114419603A (en) An automatic driving vehicle control method, system and automatic driving vehicle
EP3690797B1 (en) Learning method and learning device for learning automatic labeling device capable of auto-labeling image of base vehicle using images of nearby vehicles, and testing method and testing device using the same
Yang et al. [Retracted] A Method of Image Semantic Segmentation Based on PSPNet
CN114596584A (en) Intelligent detection and identification method of marine organisms
US10735660B2 (en) Method and device for object identification
CN119206196B (en) Monocular 3D target detection method and device
WO2020020445A1 (en) A method and a system for processing images to obtain foggy images
US11941815B2 (en) Method and a system training a model to perform semantic segmentation on foggy images
JP2025525285A (en) Segmentation of objects in images
CN116310900A (en) A target recognition and tracking method, device and system on a complex battlefield
WO2020057753A1 (en) A method and a system for training a model performing semantic segmentation of nighttime images
CN116452476A (en) Fusion method, device, equipment and medium of multi-focus image
CN112257548B (en) Method, device and storage medium for generating pedestrian images
CN117409389A (en) Deep recognition model training method, image depth recognition method and related equipment
CN120088756A (en) Traffic cone detection method for driverless cars based on dark channel defogging and improved YOLOv8
KR102570131B1 (en) Method and Apparatus for Providing an HDR Environment Map from an LDR Image Based on Deep Learning
CN118982665A (en) Semantic segmentation method for nighttime images based on detail enhancement and bidirectional guidance
CN114757820B (en) A semantically guided content feature transfer style transfer method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19726996

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19726996

Country of ref document: EP

Kind code of ref document: A1