Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND SYSTEM FOR GENERATING MULTIMODAL DIGITAL IMAGE
Document Type and Number:
WIPO Patent Application WO/2017/209307
Kind Code:
A1
Abstract:
A computer-implemented method generates a multimodal digital image by processing a vector with a first neural network to produce a first modality of the digital image and processing the vector with a second neural network to produce a second modality of the digital image. A structure and a number of layers of the first neural network are identical to a structure and a number of layers of the second neural network. Also, at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network, and at least one layer in the first neural network has parameters different from parameters of a corresponding layer in the second neural network.

Inventors:
LIU MING-YU (US)
TUZEL ONCEL (US)
Application Number:
PCT/JP2017/020730
Publication Date:
December 07, 2017
Filing Date:
May 24, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MITSUBISHI ELECTRIC CORP (JP)
International Classes:
G06K9/46
Foreign References:
US7876320B22011-01-25
Other References:
IAN J GOODFELLOW ET AL: "Generative Adversarial Nets", 10 June 2014 (2014-06-10), XP055376544, Retrieved from the Internet [retrieved on 20170529]
Attorney, Agent or Firm:
SOGA, Michiharu et al. (JP)
Download PDF:
Claims:
[CLAIMS]

[Claim 1]

A computer-implemented method for generating a multimodal digital image, comprising:

processing a vector with a first neural network to produce a first modality of the digital image; and

processing the vector with a second neural network to produce a second modality of the digital image, wherein a structure and a number of layers of the first neural network are identical to a structure and a number of layers of the second neural network, wherein at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network, and wherein at least one layer in the first neural network has parameters different from parameters of a corresponding layer in the second neural network, wherein steps of the method are performed using a processor.

[Claim 2]

The method of claim 1, further comprising:

randomly generating elements of the vector using a probabilistic

distribution.

[Claim 3]

The method of claim 1, wherein the layers of the first and the second neural networks having identical parameters produce high-level features of the digital image, and wherein the layers of the first and the second neural networks having different parameters produce low-level features of the digital image.

[Claim 4]

The method of claim 3, wherein the low-level features are derived from the high-level features.

[Claim 5] The method of claim 1, wherein the digital image includes one or combination of an image, a video, a text, and a sound.

[Claim 6]

The method of claim 1, further comprising:

training jointly the first neural network and the second neural network while enforcing identical parameters for several bottom layers of the first neural network and the second neural network.

[Claim 7]

The method of claim 6, wherein at least one or both of the first neural network and the second neural network are trained using generative adversarial nets (GAN) including a generative subnetwork for producing a sample of the digital image of a specific modality and a discriminative subnetwork for testing if the sample of the digital image produced by the generative subnetwork has the specific modality.

[Claim 8]

The method of claim 7, wherein a first generative subnetwork and a first discriminative subnetwork of the first neural network and a second generative subnetwork and a second discriminative subnetwork of the second neural network are jonitly trained to minimize a minimax objective function.

[Claim 9]

The method of claim 1, further comprising:

rendering the digital image of the first and the second modality on a display device or transmitting the digital image of the first and the second modality over a communication channel.

[Claim 10] The method of claim 1 , wherein the first modality of the digital image is a color image, and wherein the second modality of the digital image is a depth image.

[Claim 11]

The method of claim 1, wherein the first modality of the digital image is a color image, and wherein the second modality of the digital image is a thermal image.

[Claim 12]

The method of claim 1 , wherein the first modality of the digital image is an image having a first style, and wherein the second modality of the digital image is an image having a second style.

[Claim 13]

The method of claim 1 , wherein the first neural network and the second neural network are selected from a set of the neural networks jointly trained to produce a set of modalities of the digital image, comprising:

processing the vector with a set of neural networks to produce the

multimodal digital image.

[Claim 14]

The method of claim 13, wherein the set of the neural networks forms a Coupled Generative Adversarial Nets (CoGAN).

[Claim 15]

A system for generating multimodal digital image, comprising:

at least one non-transitory computer readable memory storing a first neural network trained to produce a first modality of the digital image and a second neural network trained to produce a second modality of the digital image, wherein a structure and a number of layers of the first neural network are identical to a structure and a number of layers of the second neural network, wherein at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network, and wherein at least one layer in the first neural network has parameters different from parameters of a

corresponding layer in the second neural network; and

a processor to generate the multimodal digital image by processing a vector with the first neural network trained to produce a first modality of the digital image and processing the vector with the second neural network trained to produce a second modality of the digital image, and to store the multimodal digital image in the memory.

[Claim 16]

The system of claim 15, further comprising:

a display device for displaying the multimodal digital image.

[Claim 17]

The system of claim 15, wherein the layers of the first and the second neural networks having identical parameters produce high-level features of the digital image, and wherein the layers of the first and the second neural networks having different parameters produce low-level features of the digital image, wherein the high-level features are attributed to entire digital image and the low-level features are attributed to a portion of the digital image.

[Claim 18]

The system of claim 15, wherein the digital image includes one or combination of an image, a video, a text, and a sound.

[Claim 19]

The system of claim 15, wherein the first and the second neural networks are jointly trained.

[Claim 20] A non-transitory computer-readable medium with instructions stored thereon, that when executed by a processor, perform the steps comprising:

processing a vector with a first neural network trained to produce a first modality of the digital image; and

processing the vector with a second neural network trained to produce a second modality of the digital image, wherein a structure and a number of layers of the first neural network are identical to a structure and a number of layers of the second neural network, wherein at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network, and wherein at least one layer in the first neural network has parameters different from parameters of a corresponding layer in the second neural network.

Description:
[DESCRIPTION]

[Title of Invention]

METHOD AND SYSTEM FOR GENERATING MULTIMODAL DIGITAL IMAGE

[Technical Field]

[0001]

This invention relates generally to image synthesis and more particularly to generating multimodal digital images using neural networks.

[Background Art]

[0002]

Pair image generation refers to generating a pair of corresponding images in two different modalities such as a face with different attributes, a character in different fonts, or a color image and the corresponding depth image. The multimodal image generation refers to generating a pair or more of corresponding images of different modalities. The generation of multimodal images has a wide range of applications. For example, the multimodal images can be applied to render novel pairs of corresponding images for movies and computer games. For example, a method described in U.S. 7876320 synthesizes two or more face images, or at least one face image and one face graphics or a face animation to thereby create a fictional face image.

[0003]

A number of methods use one-to-one correspondences between images in different modalities to generate a multimodal digital image. Examples of those methods include a deep multi-modal Boltzmann method and a coupled dictionary learning method. Some methods can use physical models to generate

corresponding images in the two different modalities such as image super-resolution or image deblurring. However, in general case, determining the one-to-one correspondences between images in different modalities is challenging.

[0004]

Accordingly, there is a need to generate a multimodal digital image without relying on one-to-one correspondence between different modalities in the training data.

[Summary of Invention]

[0005]

Some embodiments of the invention provide a set of the neural networks jointly trained to produce different modalities of a digital image. For example, one embodiment provides a set of neural networks, which can render a set of corresponding images in different modalities without the existence of one-to-one correspondence between different modalities of the digital image.

[0006]

Some embodiments are based on realization that when neural networks are trained independently to generate a digital image, the generated digital images are not related. However, by forcing, e.g., during the joint training, a weight sharing constraint on the neural networks, the neural networks can be trained to generate a multimodal digital image. For example, one embodiment generates a multimodal digital image using a first neural network trained to produce a first modality of the digital image and a second neural network trained to produce a second modality of the digital image. The structure and number of layers of the first neural network are identical to the structure and number of layers of the second neural network. Also, at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network and at least one layer in the first neural network has parameters different from parameters of a corresponding layer in the second neural network. [0007]

In such a manner, the identical structure as well as the number and identical value of some parameters of the neural networks force some commonality in the generated digital images, while the different values of other parameters of the neural networks enforce the differences in the modalities. For example, in one embodiment, some layers of the first and the second neural networks have identical parameters to produce high-level features of the digital image, while the other layers of the first and the second neural networks have different parameters to produce low-level features of the digital image. Typically, the low-level features are derived from the high-level features. For example, the high-level features can be a description of types and configurations of the objects in the image, and the low-level features can be edges of the objects determined based on the types and configurations of the objects.

[0008]

Accordingly, one embodiment discloses a computer-implemented method for generating a multimodal digital image. The method includes processing a vector with a first neural network to produce a first modality of the digital image; and processing the vector with a second neural network to produce a second modality of the digital image, wherein a structure and a number of layers of the first neural network are identical to a structure and a number of layers of the second neural network, wherein at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network, and wherein at least one layer in the first neural network has parameters different from parameters of a corresponding layer in the second neural network. The steps of the method are performed using a processor.

[0009] Another embodiment discloses a system for generating multimodal digital image, including at least one non-transitory computer readable memory storing a first neural network trained to produce a first modality of the digital image and a second neural network trained to produce a second modality of the digital image, wherein a structure and a number of layers of the first neural network are identical to a structure and a number of layers of the second neural network, wherein at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network, and wherein at least one layer in the first neural network has parameters different from parameters of a

corresponding layer in the second neural network; and a processor to generate the multimodal digital image by processing a vector with the first neural network trained to produce a first modality of the digital image and processing the vector with the second neural network trained to produce a second modality of the digital image, and to store the multimodal digital image in the memory.

[0010]

Yet another embodiment discloses a non-transitory computer-readable medium with instructions stored thereon, that when executed by a processor, perform the steps including processing a vector with a first neural network trained to produce a first modality of the digital image; and processing the vector with a second neural network trained to produce a second modality of the digital image, wherein a structure and a number of layers of the first neural network are identical to a structure and a number of layers of the second neural network, wherein at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network, and wherein at least one layer in the first neural network has parameters different from parameters of a

corresponding layer in the second neural network.

[Brief Description of the Drawings] [0011]

[Fig. 1]

Figure 1 is a block diagram of a computer system for generating a

multimodal digital image in accordance with some embodiments of the invention. [Fig. 2A]

Figure 2A is a block diagram of a computer-implemented method for generating a multimodal digital image according to one embodiment.

[Fig. 2B]

Figure 2B is an exemplar schematic of the structure neural networks for generating multimodal digital image according to one embodiment of the invention.

[Fig. 3]

Figure 3 is a block diagram of a neural network used by some embodiments. [Fig. 4A]

Figure 4A is a schematic of coupled generative adversarial nets (CoGAN) framework according to some embodiments.

[Fig. 4B]

Figure 4B is an example of the weight-sharing constraints in the CoGAN imposed by some embodiments.

[Fig. 5A]

Figure 5A is a schematic of neural networks training used by some embodiments.

[Fig. 5B]

Figure 5B is a pseudo code of the neural network training according to one embodiment.

[Fig. 5C]

Figure 5C is a block diagram of a training system according to one embodiment.

[Fig. 6A]

Figure 6A is an example of a structure of generative and discriminative subnetworks for generating multimodal digital images of handwritten digits according to one embodiment.

[Fig. 6B]

Figure 6B is a visualization of multimodal digital images generated by the neural network of Figure 6 A.

[Fig. 6C]

Figure 6C is a visualization of multimodal digital images generated by the neural network of Figure 6 A.

[Fig. 7A]

Figure 7A is an example of a structure of generative and discriminative subnetworks for generating multimodal face images with different attributes according to one embodiment.

[Fig. 7B]

Figure 7B is a visualization of multimodal digital images generated by the neural network of Figure 7A.

[Fig. 7C]

Figure 7C is a visualization of multimodal digital images generated by the neural network of Figure 7A.

[Fig. 7D]

Figure 7D is a visualization of multimodal digital images generated by the neural network of Figure 7A.

[Fig. 8A]

Figure 8A is an example of a structure of generative and discriminative subnetworks for generating multimodal digital images including color images and its corresponding depth images according to one embodiment.

[Fig. 8B]

Figure 8B is a visualization of multimodal digital images generated by the neural network of Figure 8 A.

[Fig. 9]

Figure 9 is an example of a modality transformation according to some embodiments.

[Description of Embodiments]

[0012]

Figure 1 shows a block diagram of a computer system 100 for generating a multimodal digital image in accordance with some embodiments of the invention. As used herein, the multimodal digital image is structural digital data having different modalities. For example, the multimodal digital image can include a first image having a first modality and a second image having a second modality.

Different modalities can represent different styles or types of data that form the digital image. Examples of different digital images having different modalities include color images, depth images, and thermal images. In some embodiments,' the digital image is structural digital data of one or combination of different formats. For example, the digital image can include one or combination of an image, a video, a text, and a sound.

[0013]

The different modalities of the digital image usually form different images of different types representing the same or at least similar structural information. To that end, the images of different modalities forming the multimodal digital image are related. For example, the first modality of the digital image can be a first image of a text depicted in one style, and the second modality of the digital image can be a second image of the same text but depicted in different style. For example, the first modality of the digital image can be a first image of a face of a person wearing glasses, and the second modality of the digital image can be a second image of the same face of the person not wearing the glasses. For example, the first modality of the digital image can be an image that includes color information for each pixel to represent a scene, and the second modality of the digital image that includes depth information for each pixel to represent the same scene.

[0014]

The computer system 100 includes a processor 102 configured to execute stored instructions, as well as a memory 104 that stores instructions that are executable by the processor. The processor 102 can be a single core processor, a multi-core processor, a computing cluster, or any number of other configurations. The memory 104 can include random access memory (RAM), read only memory (ROM), flash memory, or any other suitable memory systems. The processor 102 is connected through a bus 106 to one or more input and output devices.

[0015]

The computer system 100 includes a neural network image generator

(NNIG) 114 for generating the multimodal digital images. The NNIG 114 is implemented using a set of neural network, e.g., a first neural network and a second neural network, jointly trained to generate the multimodal digital image. For example, the first and the second neural networks can accept the same input and generate the multimodal digital image, in which the first neural network generates the first modality of the digital image and the second neural network generates the second modality of the digital image. The NNIG 114 can be stored in the memory of the system 100.

[0016]

The computer system 100 can also include a storage device 108 adapted to store supplementary data and/or software modules used by the NNIG 114. For example, the storage device 108 can store input vectors 110 used by the NNIG 114 to generate the multimodal digital image. Additionally or alternatively, the storage device 108 can store a vector generator 112 for generating vectors 110. For example, the vector generator 112 can be implemented using the processor 102 or any other suitable processor. The vectors 110 can have different or even arbitrarily values. For example, the vector generator 112 can randomly generate elements of the vector using a probabilistic distribution. The storage device 108 can also store the structure and parameters of the NNIG 114. The storage device 108 can include a hard drive, an optical drive, a thumb-drive, an array of drives, or any

combinations thereof.

[0017]

A human machine interface 116 within the computer system 100 can connect the system to a keyboard 118 and pointing device 120, wherein the pointing device 120 can include a mouse, trackball, touchpad, joy stick, pointing stick, stylus, or touchscreen, among others. The computer system 100 can be linked through the bus 106 to a display interface 122 adapted to connect the system 100 to a display device 124, wherein the display device 124 can include a computer monitor, camera, television, projector, or mobile device, among others.

[0018]

The computer system 100 can also be connected to an imaging interface 126 adapted to connect the system to an imaging device 128. The imaging device 128 can include a camera, computer, scanner, mobile device, webcam, or any combination thereof. A printer interface 130 can also be connected to the computer system 100 through the bus 106 and adapted to connect the computer system 100 to a printing device 132, wherein the printing device 132 can include a liquid inkjet printer, solid ink printer, large-scale commercial printer, thermal printer, UV printer, or dye-sublimation printer, among others. A network interface controller 134 is adapted to connect the computer system 100 through the bus 106 to a network 136. The multimodal digital image can be rendered on a display device, imaging device, and/or printing device. The multimodal digital image can be transmitted over a communication channel of the network 136, and/or stored within the computer's storage system 108 for storage and/or further processing.

[0019]

Figure 2 A shows a block diagram of a computer-implemented method for generating a multimodal digital image according to one embodiment of the invention. The method processes 220 a vector 210 with a first neural network 240 to produce a first modality 225 of the digital image and processes 230 the vector 210 with a second neural network 250 to produce a second modality 235 of the digital image. The method can be performed using the NNIG 114 and executed using a processor of the computer system 100, e.g., the processor 102.

[0020]

Some embodiments are based on realization that when neural networks are trained independently to generate an image, the generated images are not related. However, by forcing a weight sharing constraint in the neural networks, and given sufficient training images in each modality, the neural networks can be jointly trained to generate a multimodal digital image.

[0021]

Figure 2B shows an exemplar schematic of the structure of the first neural network 240 trained to produce a first modality of the digital image and the structure of the second neural network 250 trained to produce a second modality of the digital image. The structure, e.g., the number of layers and connection among layers, of the first neural network are identical to the structure of the second neural network. Additionally, at least one layer in the first neural network has parameters identical to parameters of a corresponding layer in the second neural network. However, at least one layer in the first neural network has parameters different from parameters of a corresponding layer in the second neural network. In the example of Figure 2B, the layers 231, 232, 233, 234, 235, and 236 are shown. The corresponding layers 231, 232, and 233 have the same parameters, while the corresponding layers 234, 235, and 246 have different parameters.

[0022]

Typically, the layers with identical parameters are the top layers to enforce the high-level features of the images. For example, the both networks are trained jointly while enforcing identical parameters for several top layers of the first neural network and the second neural network. In such a manner, the identical structure identical parameters of the networks force some commonality in the generated images, while the different parameters of at least some layers of the networks enforce the different modalities. For example, in one embodiment, the layers of the first and the second neural networks that have identical parameters produce high-level features of the digital image, and the layers of the first and the second neural networks that have different parameters produce low-level features of the digital image. Typically, the low-level features are derived from the high-level features. For example, the high-level features can be a description of types and configurations of the objects in the image, and the low-level features can be edges of the objects determined based on the types and configurations of the objects.

[0023]

Coupled Generative Adversarial Nets

Some embodiments of the invention use a coupled generative adversarial nets (CoGAN) framework to train the NNIG 114, which can render the multimodal digital image without the existence of one-to-one correspondence in the training dataset. The framework is based on the generative adversarial nets (GAN) for image generation. The CoGAN framework includes of at least a pair of GANs. [0024]

Each GAN is trained to generate images in one domain and the framework of the CoGAN forces each GAN to generate different images that are related to each other at least in one respect. For example, by forcing the layers that decode high level information in the two GANs to share the network connection weights, the two GANs decode the high level semantics in the same way. Then, the layers that decode low level visual information map the shared semantics to images of different modality for confusing the discriminative subnetworks for each modality. By forcing a weight sharing constraint in the generative subnetwork, and given sufficient training images in each domain, the CoGAN is trained to acquire the correspondence in the multiple modalities.

[0025]

To that end, in some embodiments, at least one or both of the first neural network and the second neural network are trained using the adversarial training procedure. For example, a first generative subnetwork and a first discriminative subnetwork of the first neural network as well as a second generative subnetwork and a second discriminative subnetwork of the second neural network can be jointly trained to minimize a minimax objective function.

[0026]

Generative Adversarial Nets

Figure 3 shows a block diagram of a GAN used by some embodiments to train the NNIG 114. The GAN framework includes two subnetworks, a generative subnetwork 301 and a discriminative subnetwork 302. The objective of the generative subnetwork 301 is to synthesize or generate images 300 resembling training images 310 from a random input 305, e.g., the vector 210. The objective of the discriminative subnetwork 302 is to distinguish 303 the images 310 from synthesized images 300. Both the generative and discriminative subnetworks can be implemented as multi-layer perceptrons, i.e., feedforward neural network, or multilayer convolutional neural networks.

[0027]

Formally, let D GAN be the training dataset, where each sample, x is drawn from a data distribution, x : p x . Let z be a random vector of dimension d . In one embodiment, z is drawn from a multidimensional uniform distribution. Alternative embodiments use different distributions, such as the multidimensional normal distribution. Let g and f be the generative and discriminative subnetworks, respectively. The function g takes z as input and output a random vector g(z) , which has the same support as x . Denote the distribution of g(z) as p G . The function f estimates the probability that an input is drawn from p x . Notably, when x is from p x and f(x) = 0 when x is from p G .

[0028]

By the way of analogy, the GAN framework corresponds to a minimax two-player game, and the generative and discriminative subnetworks can be trained jointly by solving:

where the value function V GAN is given by

[0029]

A back-propagation algorithm with stochastic gradient descent is used to train the networks and g . In some embodiments, Equation (1) is solved by

alternating the following two gradient update steps:

where Θ /and Θ g are the learnable network parameters of network f and g , respectively, λ is the learning rate, and the superscript t denotes the iteration number of gradient updates.

[0030]

Given enough capacity to f and g and enough training iterations, the distribution p G converges to p x . That is from a random seed, z , the network g can synthesize an image, g(z) , that are similar to those drawn from the true data distribution, p x . To that end, after the training, the generative subnetwork 301 can form a part of the NNIG 1 14.

[0031]

Coupled Generative Adversarial Nets

Figure 4A shows the CoGAN framework according to some embodiments. The CoGAN includes a pair of generative adversarial nets: GAN1 and GAN2. Each of the generative adversarial nets has a generative subnetwork that can synthesize the images and a discriminative subnetwork that can classify whether an input signal is a real image or a synthesized image. The generative subnetworks for GAN1 and GAN2 are denoted by g l 4011 and g 2 4012, while the

discriminative subnetworks for GAN1 and GAN2 are denoted by f x 4021 and f 2 4022. The subnetworks can be implemented as multilayer perceptrons.

[0032]

The generative subnetwork 401 1 is trained to generate images 3001 in the first modality from an input vector 305 and the generative subnetwork 401 is trained to generate images 3002 in the second modality from the input vector 305. To facilitate the training, the discriminative subnetwork 4021 distinguishes 4031 the images 3001 from the training images of the first modality 31 1. Similarly, the discriminative subnetwork 4022 distinguishes 4032 the images 3002 from the training images of the first modality 312.

[0033]

Figure 4B shows an example of the weight-sharing constraints in the coupled generative adversarial nets framework. In the CoGAN framework, the weights of the bottom layers 420 of generative subnetworks g x and g 2 , i.e., the layers that corresponds to high-level semantic information, are constrained to have the identical weights, i.e., the identical parameters. In this example, the weights of the top layers 410 corresponding to the high-level semantic information of the discriminative subnetworks f x and f 2 are shared.

[0034]

Notably, the generative and discriminative subnetworks are used mostly or even exclusively during the training stage. After the generative subnetwork is trained, the discriminative subnetwork can be discarded, and the generative subnetwork becomes the first 240 or the second 250 neural network.

[0035]

This weight-sharing scheme forces GAN1 and GAN2 to synthesize pairs of corresponding images, where the correspondence is defined in the sense that the two images share the same high-level semantic information but have different low-level realization such as an image and its rotation or the face of a person with glasses and the face of the same person without glasses. For example, the CoGAN can be used to synthesize an image and its rotation or synthesize a face with glasses and the same face without glasses. The CoGAN framework can be extended to handle joint image generation in multiple modalities by simply adding more GANs. [0036]

Generative Subnetworks

Let -D DGAN be the training dataset, where each sample is drawn either from the data distribution of the first modality, x x ' . p x , or from the data distribution of the second modality, x 2 : Ρχ . Let g x and g 2 be the generative subnetworks of

GANl and GAN2. The subnetworks individually map a random vector input z to images that have the same support as X 1 and x 2 . Denote the distributions of

[0037]

In one embodiment, both of g x and g 2 are implemented as multilayer perce trons and can be expressed as

where are the / th layers of are me

numbers of layers in the generative subnetworks g x and g 2 . Note that m x needs not be equal to m 2 ■ Use to denote the learnable parameters for

respectively.

[0038]

Through layers of perceptron operations, the generative subnetworks gradually decode information from more abstract concepts to more concrete details. The bottom layers decode high-level semantic information and the top layers decode low-level detail information. Note that this information flow is different than a discriminative deep neural network for the classification task. In the discriminative subnetwork, the bottom layers extract low-level features while the top layers extract high-level features.

[0039]

Because corresponding images in different modalities share the same high-level semantic information, some embodiments force the bottom layers 420 of to have identical structure and share the weights. That is

where k is the number of shared layers. This weight-sharing constraint forces the high-level information is decoded in the same way by the generative networks g x and Some embodiments do not put additional constraints on the top layers.

The constraints are allowed to learn to materialize the high-level semantic information in the best ways for the individual modalities.

[0040]

Discriminative Subnetwork

The derivation of the discriminative subnetwork is similar to that for the generative subnetwork. Let f x and f 2 be the discriminative subnetworks of GAN1 and GAN2, which can be implemented as multilayer perceptrons:

where are the i th layers of f x and f 2 , and n x and n 2 are the

numbers of layers of f x and f 2 . Use to denote the learnable

parameters for , respectively.

[0041] The discriminative subnetworks map an input image to a probability score, estimating the probability that the input is drawn from the training data

distributions. For these subnetworks, the bottom layers of the discriminative subnetworks extract low-level features, while the top layers extract high-level features. Because the input images are the realization of the same high-level semantics in two different modalities, some embodiments force the discriminative subnetworks to have the same top layers 410, which is achieved by

sharing the weights of the top layers of the two discriminative subnetworks via

where / is the number of shared layers.

[0042]

Training

By the way of analogy, the training of the CoGAN also corresponds to a constrained minimax game given by

where the value function V DGAN is

[0043] In this game analogy, there are two teams and each team has two players. The generative subnetworks forms a team and work together for

synthesizing a pair of corresponding images in two different modalities for confusing the discriminative subnetworks . On the other hand, the

discriminative subnetworks try to differentiate images drawn from the training data distribution in the respective modalities from those drawn from the respective generative subnetworks. The collaboration is established from the weight sharing constraints. Similar to the GAN framework, the training of the generative and discriminative subnetworks can be achieved by the back propagation algorithm with an alternating gradient update scheme.

[0044]

In the CoGAN game, there are two teams and each team has two players. The generative subnetworks form a team and work together for

synthesizing a pair of corresponding images in two different modalities for confusing the discriminative subnetworks , respectively. The

discriminative subnetworks try to differentiate images drawn from the training data distribution in the respective modalities from those drawn from the respective generative subnetworks. The collaboration is established from the weight sharing constraints. Similar to the GAN framework, the learning of the generative and discriminative subnetworks can be achieved by the back-propagation algorithm with alternating gradient update.

[0045]

Figure 5A shows a schematic of neural networks training used by some embodiments of the invention. The training 510 uses a training set of images 501 and 502 of different modalities to produce the parameters 520 of the NNIG.

Notably, the images 501 do not have to correspond to the images 502. In general, training an artificial-neural-network comprises applying a training algorithm, sometimes referred to as a "learning" algorithm, to an artificial-neural-network in view of a training set. A training set may include one or more sets of inputs and one or more sets of outputs with each set of inputs corresponding to a set of outputs. A set of outputs in a training set comprises a set of outputs that are desired for the artificial-neural-network to generate when the corresponding set of inputs is inputted to the artificial-neural-network and the artificial-neural-network is then operated in a feed-forward manner. Training the neural network involves computing the parameters, e.g., weight values associated with the connections in the artificial-neural-network.

[0046]

Figure 5B shows a pseudo code of the training 510 according to one embodiment of the invention. During the CoGAN training, the training samples are drawn independently from the marginal distributions in order not to rely on samples from the joint distribution, where one-to-one correspondences are available. In such a manner, the CoGAN trains generative subnetworks that can synthesize different modalities of the digital images in correspondence, but without having the correspondences in advance. The ability of learning the joint

distribution from marginals can largely ease the burden of training data collection for pair image generation as acquiring corresponding images even in two different modalities can be very difficult.

[0047]

Figure 5C shows a block diagram of a training system according to one embodiment of the invention. The training system includes a processor connected by a bus 22 to a read only memory (ROM) 24 and a memory 38. The training system can also include are a display 28 to present information to the user, and a plurality of input devices including a keyboard 26, mouse 34 and other devices that may be attached via input/output port 30. Other input devices such as other pointing devices or voice sensors or image sensors can also be attached. Other pointing devices include tablets, numeric keypads, touch screen, touch screen overlays, track balls, joy sticks, light pens, thumb wheels etc. The I/O 30 can be connected to communications lines, disk storage, input devices, output devices or other I/O equipment. The memory 38 includes a display buffer 72 that contains pixel intensity values for a display screen. The display 28 periodically reads the pixel values from the display buffer 72 displaying these values onto a display screen. The pixel intensity values may represent grey-levels or colors.

[0048]

The memory 38 includes a database 90, trainer 82, the NNIG 114, preprocessor 84. The database 90 can include the historical data 105, training data, testing data 92. The database may also include results from operational, training or retaining modes of using the neural network. These elements have been described in detail above.

[0049]

Also shown in memory 38 is the operating system 74. Examples of operating systems include AIX, OS/2, DOS, LINUX, and WINDOWS. Other elements shown in memory 38 include device drivers 76 which interpret the electrical signals generated by devices such as the keyboard and mouse. A working memory area 78 is also shown in memory 38. The working memory area 78 can be utilized by any of the elements shown in memory 38. The Working memory area can be utilized by the neural network 101, trainer 82, the operating system 74 and other functions. The working memory area 78 may be partitioned amongst the elements and within an element. The working memory area 78 may be utilized for communication, buffering, temporary storage, or storage of data while a program is running. [0050]

Examples

The several examples provided in this disclosure illustrate that the NNIG trained by some embodiments using the CoGAN framework can generate different kind of the multimodal digital images in a purely unsupervised fashion and without relying on one-to-one correspondence between different modalities in the training data.

[0051]

Generation of Digits

Figure 6A shows example of structure 610 of generative and discriminative subnetworks for generating multimodal digital images of handwritten digits according to one embodiment. The embodiment uses 60000 training images in the training dataset to train CoGANs for generating digits in two different modalities including, e.g., generating a digit and its edge image and/or generating a digit and its negative image. For example, the first modality can include handwritten digit images, while the second modality can include their corresponding edge images. The examples of the multimodal digital images generated by some embodiments are shown in Figure 6B. In another example, the two modalities include the handwritten digit images and their negatives images, respectively. The examples of those multimodal digital images generated by some embodiments are shown in Figure 6C.

[0052]

In the example of Figure 6A, the two generative subnetworks had an identical structure; both had 5 layers and were fully convolutional. The stride lengths of the convolutional layers were fractional. The subnetworks also employed the batch normalization layers and the parameterized rectified linear unit layers. The generative subnetworks share the parameters for all the layers except for the last convolutional layers that were responsible for generating image outputs. The discriminative subnetworks use a variant of the LeNet. The inputs to the discriminative subnetworks are batches containing output images from the generative subnetworks and images from the two training subsets (each pixel value is linearly normalized to from 0 to 1). One implementation uses adaptive moment stochastic-gradient descent (ADAM) method to train the CoGAN for 25000 iterations.

[0053]

Generation of Faces

Figure 7 A shows example of structure 710 of generative and discriminative subnetworks for generating multimodal face images with different attributes according to one embodiment. The embodiment trained the several CoGANs, each for generating a face image with an attribute and the corresponding face image without the attribute. The training dataset included 10177 people with 202599 face images. The training dataset covered large pose variations and background clutters. Each face image had 40 attributes, including eyeglass, smiling, and blond hair. The face images with an attribute formed the first modality of the digital image; and those without the attribute formed the second modality. There were no overlapping faces in the two modalities. In this example, the generative and discriminative subnetworks were both seven layers deep convolutional neural networks.

[0054]

Figure 7B shows examples of the multimodal images of faces with blond hair and with dark hair. Figure 7C shows examples of the multimodal images of smiling and non-smiling faces. Figure 7D shows examples of the multimodal images of faces with eyeglasses and without eyeglasses.

[0055]

Some implementations randomly sampled two points in the 100-dimensional input space and visualized the deformation of the rendered faces as traveling from one pint to the other. Notably, the CoGAN generated pairs of corresponding faces, resembling those from the same person with different attributes. As traveling in the space, the faces can be gradually deformed, e.g., from one person to another. Such deformations are consistent for both modalities, which verified the CoGAN framework.

[0056]

Generation of RGB and Depth Images

Figure 8A show an example of a structure of generative and discriminative subnetworks for generating multimodal digital images including color images and its corresponding depth images according to one embodiment. Note that the rendered image pairs had two different modalities. The training dataset had RGBD images with registered color and depth images of 300 objects captured by a sensor from different viewpoints. The color images in the first subset were used for training the GAN1, while the depth images in the second subset were used for training the GAN2. There were no corresponding depth and color images in the two subsets. The images in the dataset have different resolutions.

[0057]

Figure 8B shows examples of the multimodal color and depth images. The rendered depth profile deformed smoothly, resembling real objects.

[0058]

Applications

In addition to rendering multimodal digital images for movie and game production, the disclosed CoGAN framework finds applications in the modality transformation and modality adaptation tasks. Let x 1 be an image in the first modality. The modality transformation task is about finding the corresponding image in the second modality, x 2 , such that the joint probability density

is maximized. Let L be a loss function measuring the difference between two images. Given the trained generative subnetworks g 1 and g 2 , the transformation can be achieved by first solving

After finding z * , one can apply g 2 , to obtain the transformed image,

[0059]

Figure 9 shows example of modality transformation according to some embodiments. For example, the image 910 is transformed into the image 920, and the image 930 is transformed into the image 940. Those examples are computed by using the Euclidean distance (L2 loss) function and a Limited-memory BFGS (L-BFGS or LM-BFGS) optimization method.

[0060]

Modality adaptation concerns adapting a classifier trained in one modality to the other. To that end, one embodiment uses of the CoGAN framework for an unsupervised modality adaptation task. Let D 1 and D 2 be the subsets of digit images in the first modality and second modality used in Task A. Assume that the class labels of the images in D x were known but the class labels of the images in D 2 were unknown. One goal was to adapt a digit classifier trained using D 1 to classify digits in the second modality. The CoGAN can be trained by jointly solving the digit classification problem in the first modality that used the images and labels in D 1 and the CoGAN learning problem that used the images in both

D 1 and D 2 . This produces two classifiers: for

the first modality and for the second modality.

Note that due to weight sharing.

[0061] Additionally or alternatively, one embodiment creates a modality shift by transforming the Mixed National Institute of Standards and Technology database (MNIST) test images to their corresponding edge images. As applying q to classify the edge images, the classification accuracy degraded to 87.0\% due to the modality shift. However, when applying c 2 to classify the images in the second modality, we obtained a classification accuracy of 96.7\%. The accuracy is close to that obtained in the first modality. This was surprising because neither labels in the second modality nor sample correspondence between the two modalities were used.

[0062]

The above-described embodiments of the present invention can be implemented in any of numerous ways. For example, the embodiments may be implemented using hardware, software or a combination thereof. When

implemented in software, the software code can be executed on any suitable processor or collection of processors, whether provided in a single computer or distributed among multiple computers. Such processors may be implemented as integrated circuits, with one or more processors in an integrated circuit component. Though, a processor may be implemented using circuitry in any suitable format.

[0063]

Also, the embodiments of the invention may be embodied as a method, of which an example has been provided. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be

constructed in which acts are performed in an order different than illustrated, which may include performing some acts simultaneously, even though shown as sequential acts in illustrative embodiments.

[0064] Use of ordinal terms such as "first," "second," in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements.