# US 2021/0287073 A1 · Image generation method, image generation apparatus, and image generation program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0287073 A1
- Document ID: US20210287073A1
- Status: Published application
- Kind: A1
- Application number: 17/336,959
- Filed: 2021-06-02
- Published: 2021-09-16
- Earliest claimed: 2017-10-26
- Assignees: Preferred Networks, Inc.
- Applicants: Preferred Networks, Inc.
- Inventors: Takeru MIYATO
- Web page: https://patentgrep.com/patent/US20210287073A1

## CPC

- G06N 3/0475: Generative networks
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/08: Learning methods
- G06N 3/094: Adversarial learning
- G06N 20/00: Machine learning
- G06T 7/143: involving probabilistic approaches, e.g. Markov random field [MRF] modelling
- G06T 11/00: Two-dimensional [2D] image generation
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Embodiments are directed to accurately measuring a distance between a “true probability distribution: q” and a “probability distribution determined from a model of a generator: p” by D(x,y) of cGANs, so that a generated image may be made closer to a true image. A method of generating an image by using a conditional generative adversarial network constituted by two neural networks which are a generator and a discriminator, in which the discriminator outputs a result obtained from an arithmetic operation using a model of the following equation: f(x, y; θ):=f1 (x, y; θ)+f2(x; θ)=yTV ϕθΦ(x)+ψθΨ (ϕθΦ (x))

## Claims

### Claim at position 1

1-6. (canceled)

### Claim 7

A model training device comprising:
at least one memory; and
at least one processor configured to:
provide at least one of (1) first data generated by a generator or (2) training data to a first neural network included in a discriminator,
calculate a first scalar value based on a product between an output of the first neural network and condition information,
calculate a loss based on the first scalar value, and
update, based on the loss, at least one of the discriminator or the generator.

### Claim 8 (depends on 7)

The device according to claim 7, wherein the condition information is represented by a one-hot vector.

### Claim 9 (depends on 8)

The device according to claim 8, wherein the one-hot vector includes category information.

### Claim 10 (depends on 7)

The device according to claim 7, wherein the at least one processor is further configured to:
calculate a second scalar value by providing the output of the first neural network to a second neural network included in the discriminator, and
calculate the loss based on the first scalar value and the second scalar value.

### Claim 11 (depends on 10)

The device according to claim 10, wherein the at least one processor is further configured to calculate the loss by adding the first scalar value and the second scalar value.

### Claim 12 (depends on 7)

The device according to claim 7, wherein the first data generated by the generator is image data.

### Claim 13 (depends on 7)

The device according to claim 7, wherein the at least one processor is further configured to input noise to the generator to generate the first data.

### Claim 14 (depends on 7)

A data generation device comprising:
at least one memory; and
at least one processor configured to:
generate data by inputting noise to a generator trained by the device according to claim 7.

### Claim 15

A model training method comprising:
providing, by at least one processor, at least one of (1) first data generated by a generator or (2) training data to a first neural network included in a discriminator,
calculating, by the at least one processor, a first scalar value based on a product between an output of the first neural network and condition information,
calculating, by the at least one processor, a loss based on the first scalar value, and
updating, by the at least one processor, at least one of the discriminator or the generator based on the loss.

### Claim 16 (depends on 15)

The method according to claim 15, wherein the condition information is represented by a one-hot vector.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the one-hot vector includes category information.

### Claim 18 (depends on 15)

The method according to claim 15, further comprising:
calculating, by the at least one processor, a second scalar value by providing the output of the first neural network to a second neural network included in the discriminator,
wherein calculating the loss includes calculating the loss based on the first scalar value and the second scalar value.

### Claim 19 (depends on 18)

The method according to claim 18, wherein calculating the loss includes calculating the loss by adding the first scalar value and the second scalar value.

### Claim 20 (depends on 15)

The method according to claim 15, wherein the first data generated by the generator is image data.

### Claim 21 (depends on 15)

The method according to claim 15, further comprising:
inputting, by the at least one processor, noise to the generator to generate the first data.

### Claim 22 (depends on 15)

A data generating method comprising:
generating, by at least one processor, data by inputting noise to a generator trained by the method according to claim 15.

### Claim 23

A non-transitory computer readable medium storing a program configured to cause at least one computer to execute a method comprising:
providing at least one of (1) data generated by a generator or (2) training data to a first neural network included in a discriminator,
calculating a first scalar value based on a product between an output of the first neural network and condition information,
calculating a loss based on the first scalar value, and
updating at least one of the discriminator or the generator, based on the loss.

### Claim 24 (depends on 23)

The non-transitory computer readable medium according to claim 23, wherein the condition information is represented by a one-hot vector.

### Claim 25 (depends on 24)

The non-transitory computer readable medium according to claim 24, wherein the one-hot vector includes category information.

### Claim 26 (depends on 23)

The non-transitory computer readable medium according to claim 23, wherein the method further comprises:
calculating a second scalar value by providing the output of the first neural network to a second neural network included in the discriminator,
wherein calculating the loss includes calculating the loss based on the first scalar value and the second scalar value.
