JP7583256B2 - DATA GENERATION PROGRAM, INFORMATION PROCESSING APPARATUS, AND DATA GENERATION METHOD - Google Patents
DATA GENERATION PROGRAM, INFORMATION PROCESSING APPARATUS, AND DATA GENERATION METHOD Download PDFInfo
- Publication number
- JP7583256B2 JP7583256B2 JP2020211460A JP2020211460A JP7583256B2 JP 7583256 B2 JP7583256 B2 JP 7583256B2 JP 2020211460 A JP2020211460 A JP 2020211460A JP 2020211460 A JP2020211460 A JP 2020211460A JP 7583256 B2 JP7583256 B2 JP 7583256B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- pixel
- generating
- evaluation value
- generated
- 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.)
- Active
Links
Images
Landscapes
- Image Analysis (AREA)
Description
本発明は、データ生成プログラム、情報処理装置及びデータ生成方法に関する。 The present invention relates to a data generation program, an information processing device, and a data generation method.
例えば、機械学習モデルの生成に用いる教師データの自動生成を行う方法として、敵対的生成ネットワーク(GAN:Generative Adversarial Networks)を用いた方法が知られている。 For example, a method that uses Generative Adversarial Networks (GAN) is known as a method for automatically generating training data to be used in generating machine learning models.
この敵対的生成ネットワークは、ノイズを用いることによってデータ(以下、偽物データとも呼ぶ)を生成するジェネレータと、ジェネレータが生成した偽物データの真偽判定を行うディスクリミネータとから構成される。 This generative adversarial network consists of a generator that generates data (hereafter referred to as fake data) by using noise, and a discriminator that determines whether the fake data generated by the generator is true or false.
具体的に、敵対的生成ネットワークは、ジェネレータによる偽物データの生成とディスクリミネータによる偽物データの真偽判定とを繰り返すことによって、ジェネレータ及びディスクリミネータの精度をそれぞれ向上させる。そして、敵対的生成ネットワークは、ジェネレータ及びディスクリミネータの精度を十分に向上させた後、ジェネレータが生成した偽物データのうち、ディスクリミネータが本物データであると判定した偽物データを教師データとすることによって、機械学習モデルの生成に用いる教師データの生成を行う(例えば、特許文献1乃至3を参照)。
Specifically, the generative adversarial network improves the accuracy of the generator and the discriminator by repeatedly generating fake data using the generator and determining whether the fake data is genuine using the discriminator. After sufficiently improving the accuracy of the generator and the discriminator, the generative adversarial network generates training data to be used in generating a machine learning model by using fake data generated by the generator that the discriminator determines to be genuine as training data (see, for example,
しかしながら、上記のような敵対的生成ネットワークでは、例えば、ランダムに発生させたノイズを用いることによって偽物データの生成が行われる。そのため、敵対的生成ネットワークでは、教師データとして用いることが可能な偽物データ(ディスクリミネータが本物データと判定する偽物データ)の生成に長い時間を要する場合がある。 However, in the above-mentioned generative adversarial network, fake data is generated, for example, by using randomly generated noise. Therefore, in the generative adversarial network, it may take a long time to generate fake data that can be used as training data (fake data that the discriminator judges to be real data).
そこで、一つの側面では、本発明は、教師データの生成に要する時間を短縮することを可能とするデータ生成プログラム、情報処理装置及びデータ生成方法を提供することを目的とする。 Therefore, in one aspect, the present invention aims to provide a data generation program, an information processing device, and a data generation method that can reduce the time required to generate training data.
実施の形態の一態様では、敵対的生成ネットワークを用いてデータを生成する処理を行う処理をコンピュータに実行させるデータ生成プログラムであって、ランダムに発生させたノイズから複数の第1データを生成し、生成した前記複数の第1データのそれぞれについての真偽に関する評価値を算出し、生成した前記複数の第1データのうち、前記評価値が基準データよりも低い複数の第2データにおいて共通する特徴を特定し、特定した前記特徴を有しない前記複数の第1データを再度生成する、処理をコンピュータに実行させる。 In one aspect of the embodiment, a data generation program causes a computer to execute a process for generating data using a generative adversarial network, which causes the computer to execute the following processes: generate a plurality of first data from randomly generated noise, calculate an evaluation value for the truth or falsity of each of the plurality of generated first data, identify a common feature among a plurality of second data whose evaluation value is lower than a reference data among the plurality of generated first data, and regenerate the plurality of first data that does not have the identified feature.
一つの側面によれば、教師データの生成に要する時間を短縮することを可能とする。 According to one aspect, it is possible to reduce the time required to generate training data.
[情報処理システムの構成]
初めに、情報処理システム10の構成について説明を行う。図1は、情報処理システム10の構成について説明する図である。
[Configuration of Information Processing System]
First, a description will be given of the configuration of the
図1に示す情報処理システム10は、例えば、1以上の物理マシンからなる情報処理装置1と、教師データの生成を行う作業者(以下、単に作業者とも呼ぶ)が必要な情報の入力等を行う操作端末2とを有する。操作端末2は、例えば、PC(Persoanl Computer)であってよい。また、情報処理装置1と操作端末2とは、例えば、インターネット等のネットワークNWを介して接続されている。
The
情報処理装置1は、例えば、敵対的生成ネットワークを用いて教師データの生成を行う処理(以下、データ生成処理とも呼ぶ)を実行する。以下、敵対的生成ネットワークについて説明を行う。
The
[敵対的生成ネットワーク]
図2は、敵対的生成ネットワークについて説明する図である。
[Generative Adversarial Networks]
FIG. 2 is a diagram illustrating a generative adversarial network.
図2に示す敵対的生成ネットワークGAは、ノイズ発生部113と、データ生成部114と、データ識別部115とを有する。以下、データ生成部114がジェネレータに対応し、データ識別部115がディスクリミネータに対応するものとして説明を行う。
The generative adversarial network GA shown in FIG. 2 has a
データ生成部114は、例えば、予め用意された複数の教師データDT1(以下、本物データDT1とも呼ぶ)に対して、ノイズ発生部113がランダムに発生させたノイズを加えることによって複数の偽物データDT2を生成する。
The
また、データ識別部115は、例えば、複数の本物データDT1についての学習を行った後、データ生成部114が生成した複数の偽物データDT2の真偽についての判定を行う。
In addition, the
そして、データ生成部114及びデータ識別部115は、偽物データDT2の生成と偽物データDT2の判定とを交互に繰り返すことにより、それぞれ精度を向上させる。
The
具体的に、データ生成部114は、データ識別部115による偽物データDT2の判定結果を用いることによって、データ識別部115が偽物データでないと判定する偽物データDT2(データ識別部115が本物データと判定する偽物データDT2)の生成が可能になるように繰り返し学習を行う。また、データ識別部115は、偽物データDT2の判定結果が妥当であったか否かを示す情報を用いることによって、データ生成部114が生成した偽物データDT2を偽物データとして判定することが可能になるように繰り返し学習を行う。
Specifically, the
これにより、作業者は、図2に示すように、例えば、十分な学習が行われた後のデータ生成部114が生成した偽物データDT2のうち、十分な学習が行われた後のデータ識別部115が本物データであると判定した偽物データDT2を、新たな教師データDT3として取得することが可能になる。
As a result, as shown in FIG. 2, for example, the worker can obtain fake data DT2 generated by the
しかしながら、データ生成部114は、例えば、ランダムに発生させたノイズを用いることによって偽物データDT2の生成を行う。そのため、データ生成部114は、教師データDT3として用いることができる偽物データDT2(データ識別部115が本物データと判定する偽物データDT2)の生成に長い時間を要する場合がある。
However, the
そこで、本実施の形態における情報処理装置1は、ランダムに発生させたノイズから複数の偽物データDT2(以下、第1データとも呼ぶ)を生成し、生成した複数の偽物データDT2のそれぞれについての真偽に関する評価値を算出する。
The
そして、情報処理装置1は、生成した複数の偽物データDT2のうち、評価値が基準データよりも低い複数の偽物データDT2(以下、第2データとも呼ぶ)において共通する特徴を特定する。その後、情報処理装置1は、特定した特徴を有しない複数の偽物データDT2を再度生成する。
Then, the
すなわち、本実施の形態における情報処理装置1は、データ識別部115が偽物データDT2を偽物データとして判定した要因の少なくとも1つであった可能性が高い特徴(偽物データDT2に含まれる特徴)を特定する。そして、情報処理装置1は、特定した特徴が含まれないように偽物データDT2の再生成を行う。
That is, the
これにより、本実施の形態における情報処理装置1は、教師データDT3の生成が行われるまでに、データ生成部114及びデータ識別部115が生成及び真偽判定を行う必要がある偽物データDT2の数を抑えることが可能になる。そのため、情報処理装置1は、教師データDT3の生成に要する時間を短縮することが可能になる。
As a result, the
[情報処理装置のハードウエア構成]
次に、情報処理装置1のハードウエア構成について説明する。図3は、情報処理装置1のハードウエア構成を説明する図である。
[Hardware configuration of information processing device]
Next, a description will be given of the hardware configuration of the
情報処理装置1は、図3に示すように、プロセッサであるCPU101と、メモリ102と、通信装置103と、記憶媒体104とを有する。各部は、バス105を介して互いに接続される。
As shown in FIG. 3, the
記憶媒体104は、例えば、データ生成処理を行うためのプログラム110を記憶するプログラム格納領域(図示しない)を有する。また、記憶媒体104は、例えば、データ生成処理を行う際に用いられる情報を記憶する情報格納領域130を有する。なお、記憶媒体104は、例えば、HDD(Hard Disk Drive)やSSD(Solid State Drive)であってよい。
The
CPU101は、記憶媒体104からメモリ102にロードされたプログラム110を実行してデータ生成処理を行う。
The
また、通信装置103は、例えば、ネットワークNWを介して操作端末2との通信を行う。
The
[情報処理装置の機能]
次に、情報処理装置1の機能について説明を行う。図4は、情報処理装置1の機能のブロック図である。
[Functions of information processing device]
Next, a description will be given of the functions of the
情報処理装置1は、図4に示すように、CPU101やメモリ102等のハードウエアとプログラム110とが有機的に協働することにより、例えば、データ受信部111と、データ管理部112と、ノイズ発生部113と、データ生成部114と、データ識別部115と、特徴特定部116と、データ出力部117とを含む各種機能を実現する。
As shown in FIG. 4, the
また、情報処理装置1は、図4に示すように、例えば、本物データDT1と、偽物データDT2と、教師データDT3と、特徴情報131とを情報格納領域130に記憶する。
In addition, as shown in FIG. 4, the
データ受信部111は、例えば、操作端末2から送信された本物データDT1を受信する。そして、データ管理部112は、例えば、データ受信部111が受信した本物データDT1を情報格納領域130に記憶する。
The
ノイズ発生部113は、例えば、ランダムにノイズを発生させる。
The
データ生成部114は、例えば、ノイズ発生部113が発生させたノイズから偽物データDT2を生成する。また、データ生成部114は、例えば、ノイズ発生部113が発生させたノイズと、情報格納領域130に記憶した本物データDT1とから偽物データDT2を生成する。そして、データ管理部112は、例えば、データ生成部114が生成した偽物データDT2を情報格納領域130に記憶する。
The
データ識別部115は、データ生成部114が生成した偽物データDT2のそれぞれについての真偽についての判定を行う。そして、データ識別部115は、データ生成部114が生成した偽物データDT2のそれぞれに関する評価値を算出する。
The
特徴特定部116は、データ生成部114が生成した偽物データDT2のうち、データ識別部115が算出した評価値が基準データよりも低い複数の偽物データDT2において共通する特徴を特定する。基準データは、例えば、データ生成部114が偽物データDT2の生成に用いた本物データDT1である。そして、データ管理部112は、例えば、特徴特定部116が生成した特徴を示す情報である特徴情報131を情報格納領域130に記憶する。
The
データ出力部117は、例えば、データ生成部114が生成した偽物データDT2のうち、データ識別部115が算出した評価値が閾値以上である偽物データDT2を教師データDT3として出力する。すなわち、データ出力部117は、例えば、データ生成部114が生成した偽物データDT2のうち、データ識別部115が本物データDT1であると判定した偽物データDT2を教師データDT3として出力する。
For example, the
[第1の実施の形態の概略]
次に、第1の実施の形態の概略について説明する。図5は、第1の実施の形態におけるデータ生成処理の概略を説明するフローチャート図である。また、図6は、第1の実施の形態におけるデータ生成処理の概略を説明する図である。
[Outline of the first embodiment]
Next, an outline of the first embodiment will be described. Fig. 5 is a flow chart for explaining an outline of the data generation process in the first embodiment. Fig. 6 is a diagram for explaining an outline of the data generation process in the first embodiment.
情報処理装置1は、図5に示すように、例えば、データ生成タイミングになるまで待機する(S11のNO)。データ生成タイミングは、例えば、作業者が教師データDT3の生成を行う旨を入力したタイミングであってよい。
As shown in FIG. 5, the
そして、データ生成タイミングになった場合(S11のYES)、情報処理装置1は、ランダムに発生させたノイズから複数の偽物データDT2を生成する(S12)。
Then, when it is time to generate data (YES in S11), the
続いて、情報処理装置1は、S12の処理において生成した複数の偽物データDT2のそれぞれについての真偽に関する評価値を算出する(S13)。
Next, the
さらに、情報処理装置1は、S12の処理において生成した複数の偽物データDT2のうち、S13の処理において算出した評価値が基準データよりも低い複数の偽物データDT2において共通する特徴を特定する(S14)。
Furthermore, the
その後、情報処理装置1は、S14の処理において特定した特徴を有しない複数の偽物データDT2を再度生成する(S15)。
Then, the
すなわち、特徴特定部116は、図6に示すように、データ識別部115から取得した評価値から、データ識別部115が偽物データDT2を偽物データとして判定した要因の少なくとも1つであった可能性が高い特徴を特定する。そして、データ生成部114は、特徴特定部116から取得した特徴が含まれない偽物データDT2の再生成を行う。
That is, as shown in FIG. 6, the
これにより、本実施の形態における情報処理装置1は、評価値の高い偽物データDT2の再作成を促すことが可能になる。そのため、情報処理装置1は、教師データDT3の生成が行われるまでに、データ生成部114及びデータ識別部115が生成及び判定を行う必要がある偽物データDT2の数を抑えることが可能になる。したがって、情報処理装置1は、教師データDT3の生成に要する時間を短縮することが可能になる。
This enables the
[第1の実施の形態の詳細]
次に、第1の実施の形態の詳細について説明する。図7から図11は、第1の実施の形態におけるデータ生成処理の詳細を説明するフローチャート図である。また、図12から図17は、第1の実施の形態におけるデータ生成処理の詳細を説明する図である。
[Details of the First Embodiment]
Next, the details of the first embodiment will be described. Figures 7 to 11 are flow charts for explaining the details of the data generation process in the first embodiment. Figures 12 to 17 are diagrams for explaining the details of the data generation process in the first embodiment.
[データ学習処理]
初めに、データ生成処理のうち、データ識別部115の学習を行う処理(以下、データ学習処理とも呼ぶ)について説明を行う。図7は、データ学習処理について説明するフローチャート図である。
[Data learning processing]
First, the process of learning the data identification unit 115 (hereinafter, also referred to as data learning process) in the data generation process will be described. Fig. 7 is a flow chart for explaining the data learning process.
データ受信部111は、図7に示すように、例えば、操作端末2から送信された複数の本物データDT1を受信するまで待機する(S21のNO)。
As shown in FIG. 7, the
そして、複数の本物データDT1を受信した場合(S21のYES)、データ管理部112は、S21の処理において受信した複数の本物データDT1を情報格納領域130に記憶する(S22)。
If multiple pieces of genuine data DT1 are received (YES in S21), the
さらに、データ識別部115は、情報格納領域130に記憶された複数の本物データDT1を学習する(S23)。
Furthermore, the
これにより、情報処理装置1は、後述するように、データ生成部114によって生成される偽物データDT2についての真偽判定を行うことが可能になる。
This enables the
[データ生成処理のメイン処理]
次に、データ生成処理のメイン処理について説明を行う。図8から図11は、データ生成処理のメイン処理について説明するフローチャート図である。
[Main process of data generation process]
Next, the main processing of the data generation process will be described with reference to the flowcharts of Fig. 8 to Fig. 11.
ノイズ発生部113は、図8に示すように、例えば、データ生成タイミングになるまで待機する(S31のNO)。
As shown in FIG. 8, the
そして、データ生成タイミングになった場合(S31のYES)、特徴特定部116は、例えば、情報格納領域130に記憶した本物データDT1のうちのいずれかを基準データとして特定する(S32)。
Then, when it is time to generate data (YES in S31), the
続いて、ノイズ発生部113は、ランダムにノイズを発生させる(S33)。
Next, the
さらに、データ生成部114は、例えば、S33の処理において生成させたノイズと、S32の処理において特定した基準データとから複数の偽物データDT2を生成する(S34)。
Furthermore, the
その後、データ識別部115は、S34の処理において生成した複数の偽物データDT2のそれぞれが偽物データでない確率(本物データである確率)を示す評価値を算出する(S35)。
Then, the
そして、特徴特定部116は、S34の処理またはS52の処理(後述する処理)において生成した複数の偽物データDT2のうち、S35の処理において算出した評価値が基準データよりも低い複数の偽物データDT2を特定する(S36)。
Then, the
続いて、特徴特定部116は、図9に示すように、S36の処理において特定した複数の偽物データDT2のそれぞれについて、S32の処理において特定した基準データにおける同じ位置の画素よりも輝度が大きい第1画素を特定する(S41)。
Next, as shown in FIG. 9, for each of the multiple fake data DT2 identified in the process of S36, the
また、特徴特定部116は、S36の処理において特定した複数の偽物データDT2のそれぞれについて、S32の処理において特定した基準データにおける同じ位置の画素よりも輝度が小さい第2画素を特定する(S42)。
In addition, for each of the multiple fake data DT2 identified in the process of S36, the
さらに、特徴特定部116は、S36の処理において特定した複数の偽物データDT2に含まれる所定割合のデータにおいて第1画素が配置されていると特定された第1位置を特定する(S43)。
Furthermore, the
また、特徴特定部116は、S36の処理において特定した複数の偽物データDT2に含まれる所定割合のデータにおいて第2画素が配置されていると特定された第2位置を特定する(S44)。
The
その後、特徴特定部116は、S43の処理において特定した第1位置において第1画素が配置されていることを示す情報と、S44の処理において特定した第2位置において第2画素が配置されていることを示す情報とを含む情報を特徴情報131として特定する(S45)。以下、S41からS45までの処理の具体例について説明を行う。
Then, the
[S41からS45の処理の具体例(1)]
図12から図14は、S41からS45の処理の具体例について説明する図である。なお、図12等に示す例において、基準データにおける同じ位置に配置された画素よりも輝度が大きい画素が配置された位置には「UP」が設定される。また、図12に示す例において、基準データにおける同じ位置に配置された画素よりも輝度が小さい画素が配置された位置には「DN」が設定される。
[Specific example (1) of the process from S41 to S45]
12 to 14 are diagrams for explaining a specific example of the processes of S41 to S45. In the example shown in FIG. 12 etc., "UP" is set to a position where a pixel with a higher brightness than the pixel arranged at the same position in the reference data is arranged. In the example shown in FIG. 12, "DN" is set to a position where a pixel with a lower brightness than the pixel arranged at the same position in the reference data is arranged.
具体的に、図12(A)に示す偽物データDT2aにおいて、1行目3列目、2行目2列目及び4行目1列目に対応する位置のそれぞれには、「UP」が設定されており、1行目1列目、3行目3列目及び4行目3列目に対応する位置のそれぞれには、「DN」が設定されている。 Specifically, in the fake data DT2a shown in FIG. 12(A), "UP" is set in the positions corresponding to the first row, third column, the second row, second column, and the fourth row, first column, and "DN" is set in the positions corresponding to the first row, first column, the third row, third column, and the fourth row, third column.
そのため、特徴特定部116は、図12(A)に示す偽物データDT2aにおける1行目3列目、2行目2列目及び4行目1列目のそれぞれに対応する位置の画素を第1画素として特定する(S41)。また、特徴特定部116は、図12(A)に示す偽物データDT2aにおける1行目1列目、3行目3列目及び4行目3列目のそれぞれに対応する位置の画素を第2画素として特定する(S42)。
Therefore, the
同様に、特徴特定部116は、図12(B)に示す偽物データDT2bにおける1行目3列目、1行目4列目、2行目2列目及び3行目3列目のそれぞれに対応する位置の画素を第1画素として特定する(S41)。また、特徴特定部116は、図12(B)に示す偽物データDT2bにおける4行目1列目及び4行目3列目のそれぞれに対応する位置の画素を第2画素として特定する(S42)。
Similarly, the
さらに、特徴特定部116は、図12(C)に示す偽物データDT2cにおける1行目3列目、2行目2列目、3行目4列目及び4行目1列目のそれぞれに対応する位置の画素を第1画素として特定する(S41)。また、特徴特定部116は、図12(C)に示す偽物データDT2cにおける2行目1列目、3行目1列目及び4行目3列目のそれぞれに対応する位置の画素を第2画素として特定する(S42)。
Furthermore, the
ここで、1行目3列目及び2行目2列目のそれぞれに対応する位置は、図12(A)、図12(B)及び図12(C)に示す全ての偽物データDT2において第1画素として特定された位置である。また、4行目3列目に対応する位置は、図12(A)、図12(B)及び図12(C)に示す全ての偽物データDT2において第2画素として特定された位置である。 Here, the positions corresponding to the first row, third column and the second row, second column are positions identified as the first pixel in all of the fake data DT2 shown in Figures 12(A), 12(B), and 12(C). Also, the position corresponding to the fourth row, third column is a position identified as the second pixel in all of the fake data DT2 shown in Figures 12(A), 12(B), and 12(C).
そのため、特徴特定部116は、この場合、図13(A)、(B)及び(C)の下線部分に示すように、1行目3列目及び2行目2列目のそれぞれに対応する位置を第1位置として特定する(S43)。また、特徴特定部116は、この場合、図13(A)、(B)及び(C)の下線部分に示すように、4行目3列目に対応する位置を第2位置として特定する(S44)。
Therefore, in this case, the
その後、特徴特定部116は、1行目3列目に対応する位置の画素が第1画素であることを示す情報と、2行目2列目に対応する位置の画素が第1画素であることを示す情報と、4行目3列目に対応する位置の画素が第2画素であることを示す情報とを含む特徴情報131を生成する(S45)。そして、データ管理部112は、例えば、特徴特定部116が生成した特徴情報131を情報格納領域130に記憶する。以下、特徴情報131の具体例について説明を行う。
Then, the
[特徴情報の具体例(1)]
図14及び図18は、特徴情報131の具体例である。
[Specific example of characteristic information (1)]
14 and 18 are examples of the feature information 131. FIG.
図14等に示す特徴情報131は、S43及びS44の処理において特定した位置が設定される「位置」と、S41及びS42の処理において特定した画素が設定される「画素」とを項目として有する。 The feature information 131 shown in FIG. 14 etc. has the items "position" where the position identified in the processes of S43 and S44 is set, and "pixel" where the pixel identified in the processes of S41 and S42 is set.
具体的に、図14に示す特徴情報131において、1行目の情報には、「位置」として「1行目3列目」が設定され、「画素」として「第1画素」が設定されている。また、2行目の情報には、「位置」として「2行目2列目」が設定され、「画素」として「第1画素」が設定されている。さらに、3行目の情報には、「位置」として「4行目3列目」が設定され、「画素」として「第2画素」が設定されている。 Specifically, in the feature information 131 shown in FIG. 14, the information in the first row has "first row, third column" set as the "position" and "first pixel" set as the "pixel." Furthermore, the information in the second row has "second row, second column" set as the "position" and "first pixel" set as the "pixel." Furthermore, the information in the third row has "fourth row, third column" set as the "position" and "second pixel" set as the "pixel."
[S41からS45の処理の具体例(2)]
図15から図17は、S41からS45の処理の他の具体例について説明する図である。
[Specific example (2) of the process from S41 to S45]
15 to 17 are diagrams illustrating another specific example of the process from S41 to S45.
具体的に、図15(A)に示す偽物データDT2dにおいて、2行目4列目及び4行目1列目のそれぞれに対応する位置には、「UP」が設定されており、1行目3列目及び3行目2列目のそれぞれに対応する位置には、「DN」が設定されている。 Specifically, in the fake data DT2d shown in FIG. 15(A), "UP" is set in the positions corresponding to the second row, fourth column and the fourth row, first column, respectively, and "DN" is set in the positions corresponding to the first row, third column and the third row, second column, respectively.
そのため、特徴特定部116は、図15(A)に示す偽物データDT2dにおける2行目4列目及び4行目1列目のそれぞれに対応する位置の画素を第1画素として特定する(S41)。また、特徴特定部116は、図15(A)に示す偽物データDT2dにおける1行目3列目及び3行目2列目のそれぞれに対応する位置の画素を第2画素として特定する(S42)。
Therefore, the
同様に、特徴特定部116は、図15(B)に示す偽物データDT2eにおける1行目2列目、1行目4列目及び2行目4列目のそれぞれに対応する位置の画素を第1画素として特定する(S41)。また、特徴特定部116は、図15(B)に示す偽物データDT2eにおける2行目2列目及び4行目3列目のそれぞれに対応する位置の画素を第2画素として特定する(S42)。
Similarly, the
さらに、特徴特定部116は、図15(C)に示す偽物データDT2fにおける1行目3列目、2行目1列目、2行目4列目及び3行目3列目のそれぞれに対応する位置の画素を第1画素として特定する(S41)。また、特徴特定部116は、図15(C)に示す偽物データDT2fにおける3行目4列目に対応する位置の画素を第2画素として特定する(S42)。
Furthermore, the
ここで、2行目4列目に対応する位置は、図15(A)、図15(B)及び図15(C)に示す全ての偽物データDT2において第1画素として特定された位置である。 Here, the position corresponding to the second row and fourth column is the position identified as the first pixel in all of the fake data DT2 shown in Figures 15(A), 15(B), and 15(C).
そのため、特徴特定部116は、この場合、図16(A)、(B)及び(C)の下線部分に示すように、2行目4列目に対応する位置を第1位置として特定する(S43)。一方、特徴特定部116は、第2位置の特定を行わない。
Therefore, in this case, the
その後、特徴特定部116は、2行目4列目に対応する位置の画素が第1画素であることを示す情報を含む特徴情報131を生成する(S45)。
Then, the
具体的に、特徴特定部116は、図17に示すように、「位置」として「2行目4列目」が設定され、「画素」として「第1画素」が設定された情報からなる特徴情報131を生成する。
Specifically, as shown in FIG. 17, the
図10に戻り、ノイズ発生部113は、ランダムにノイズを発生させる(S51)。具体的に、ノイズ発生部113は、例えば、S45の処理において特定した特徴を有する偽物データDT2が生成される割合が閾値以下になるようにノイズを発生させる。
Returning to FIG. 10, the
そして、データ生成部114は、例えば、S51の処理において発生させたノイズと、S32の処理で特定した基準データとから複数の偽物データDT2を生成する(S52)。
Then, the
さらに、データ識別部115は、S52の処理において生成した複数の偽物データDT2のそれぞれについて本物データDT1である確率を示す評価値を算出する(S53)。
Furthermore, the
その後、データ識別部115は、S51の処理において生成した複数の偽物データDT2に、S52の処理において算出した評価値が閾値以上であるデータが存在するか否かを判定する(S54)。
Then, the
その結果、S52の処理において算出した評価値が閾値以上であるデータが存在しないと判定した場合(S55のNO)、情報処理装置1は、S36以降の処理を再度行う。
As a result, if it is determined that there is no data whose evaluation value calculated in the processing of S52 is equal to or greater than the threshold value (NO in S55), the
すなわち、特徴特定部116は、この場合、S51の処理において生成した複数の偽物データDT2に、教師データDT3として用いることが可能な偽物データDT2が含まれていないと判定し、S36以降の処理を再度行う。
In other words, in this case, the
一方、S52の処理において算出した評価値が閾値以上であるデータが存在すると判定した場合(S55のYES)、データ出力部117は、図11に示すように、S54の処理において存在すると判定したデータを教師データDT3として出力する(S61)。
On the other hand, if it is determined in the process of S52 that data exists whose evaluation value is equal to or greater than the threshold value (YES in S55), the
そして、データ出力部117は、例えば、S61の処理において出力した教師データDT3の数が閾値に到達したか否かを判定する(S62)。
Then, the
その結果、S61の処理において出力した教師データDT3の数が閾値に到達していないと判定した場合(S63のNO)、情報処理装置1は、S36以降の処理を再度行う。
As a result, if it is determined that the number of pieces of teacher data DT3 output in the processing of S61 has not reached the threshold value (NO in S63), the
一方、S61の処理において出力した教師データDT3の数が閾値に到達したと判定した場合(S63のYES)、情報処理装置1は、データ生成処理を終了する。
On the other hand, if it is determined that the number of teacher data DT3 output in the processing of S61 has reached the threshold value (YES in S63), the
なお、情報処理装置1は、S61の処理において出力された教師データDT3の数が所定数に到達した場合、S32以降の処理を再度行うものであってもよい。すなわち、情報処理装置1は、基準データを適宜変更しながら教師データDT3の生成を行うものであってもよい。
In addition, when the number of pieces of teacher data DT3 output in the process of S61 reaches a predetermined number, the
このように、本実施の形態における情報処理装置1は、ランダムに発生させたノイズから複数の偽物データDT2(第1データ)を生成し、生成した複数の第1データDT2のそれぞれについての真偽に関する評価値を算出する。
In this way, the
そして、情報処理装置1は、生成した複数の偽物データDT2のうち、評価値が基準データよりも低い複数の偽物データDT2(第2データ)において共通する特徴を特定する。その後、情報処理装置1は、特定した特徴を有しない複数の偽物データDT2を再度生成する。
Then, the
すなわち、本実施の形態における情報処理装置1は、データ識別部115が偽物データDT2を偽物データとして判定した要因の少なくとも1つとなった特徴を特定する。そして、情報処理装置1は、特定した特徴が含まれないように偽物データDT2の再生成を行う。
That is, the
これにより、本実施の形態における情報処理装置1は、教師データDT3の生成が行われるまでに、データ生成部114及びデータ識別部115が生成及び判定を行う必要がある偽物データDT2の数を抑えることが可能になる。そのため、情報処理装置1は、教師データDT3の生成に要する時間を短縮することが可能になる。
As a result, the
具体的に、例えば、図17で説明した特徴情報131は、2行目4列目に対応する位置の画素が第1画素であることを示している。そのため、例えば、基準データを構成する各画素が256諧調であり、基準データにおける2行目4列目に対応する画素の諧調が128である場合、データ生成部114は、2行目4列目に対応する画素の諧調が128未満である偽物データDT2の生成頻度(生成数)を下げることが可能になる。
Specifically, for example, the feature information 131 described in FIG. 17 indicates that the pixel at the position corresponding to the second row, fourth column is the first pixel. Therefore, for example, if each pixel constituting the reference data has 256 gradations, and the gradation of the pixel corresponding to the second row, fourth column in the reference data is 128, the
なお、上記の例では、偽物データDT2と基準データとの比較を画素ごとに行う場合について説明を行ったが、情報処理装置1は、偽物データDT2と基準データとの比較を複数の画素(以下、ブロックとも呼ぶ)ごとに行うものであってもよい。
In the above example, the comparison between the fake data DT2 and the reference data is performed for each pixel, but the
具体的に、特徴特定部116は、この場合、例えば、S36の処理において特定した偽物データDT2のそれぞれについて、各偽物データDT2において隣接した位置に配置された複数の画素からなるブロックごとに、基準データにおける同じ位置のブロックよりも輝度(例えば、輝度の平均)が大きいブロック(以下、第1ブロックとも呼ぶ)と、基準データにおける同じ位置のブロックよりも輝度(例えば、輝度の平均)が小さいブロック(以下、第2ブロックとも呼ぶ)とをそれぞれ特定するものであってよい。
Specifically, in this case, for each of the fake data DT2 identified in the processing of S36, the
さらに、特徴特定部116は、この場合、S36の処理において特定した複数の偽物データDT2のうちの所定割合のデータにおいて第1ブロックが配置されていると特定された位置(以下、第3位置とも呼ぶ)と、前記複数の第2データのうちの前記所定割合のデータにおいて前記第2ブロックが配置されていると特定された位置(以下、第4位置とも呼ぶ)とを特定するものであってよい。そして、特徴特定部116は、第3位置に第1ブロックが配置されていることを示す情報と、第4位置に第2ブロックが配置されていることを示す情報とを特徴情報131として特定するものであってもよい。
Furthermore, in this case, the
これにより、情報処理装置1は、例えば、特徴特定部116による処理負担を軽減させることが可能になる。
This enables the
[第2の実施の形態の詳細]
次に、第2の実施の形態について説明する。図18は、第2の実施の形態におけるデータ生成処理を説明するフローチャート図である。
[Details of the second embodiment]
Next, a second embodiment will be described with reference to Fig. 18, which is a flow chart illustrating a data generation process according to the second embodiment.
第2の実施の形態では、データ識別部115の学習に用いた本物データDT1が追加された場合、生成済の教師データDT3の全てを再生成する。なお、以下、第1の実施の形態と異なる点についてのみ説明を行う。
In the second embodiment, when real data DT1 used for learning by the
[データ再学習処理(1)]
初めに、データ生成処理のうち、追加された本物データDT1の学習を行う処理(以下、再学習処理とも呼ぶ)について説明を行う。図18は、データ再学習処理について説明するフローチャート図である。
[Data re-learning process (1)]
First, the process of learning the added real data DT1 (hereinafter also referred to as re-learning process) in the data generation process will be described. Fig. 18 is a flow chart for explaining the data re-learning process.
データ管理部112は、図18に示すように、操作端末2から1以上の本物データDT1を受信するまで待機する(S71のNO)。すなわち、データ管理部112は、新たな本物データDT1が追加されるまで待機する。
As shown in FIG. 18, the
そして、1以上の本物データDT1を受信した場合(S71のYES)、データ管理部112は、S71の処理において受信した1以上の本物データDT1を情報格納領域130に記憶する(S72)。
If one or more pieces of real data DT1 are received (YES in S71), the
続いて、データ管理部112は、情報格納領域130に記憶した教師データDT3を削除する(S73)。
Next, the
その後、データ識別部115は、S71の処理において受信した1以上の本物データDT1をさらに学習する(S74)。そして、情報処理装置1は、例えば、図8から図11で説明したデータ生成処理を実行する。
Then, the
すなわち、追加された本物データDT1の学習を行った場合、データ識別部115による偽物データDT2の真偽判定の基準が変わる可能性がある。そのため、第2の実施の形態における情報処理装置1は、データ識別部115の学習に用いる本物データDT1が追加された場合、教師データDT3の再生成を行う。
In other words, when the added real data DT1 is learned, the criteria by which the
これにより、第2の実施の形態における情報処理装置1は、本物データDT1が追加された場合に、より精度の高い教師データDT3の生成を行うことが可能になる。
As a result, the
[第3の実施の形態の詳細]
次に、第3の実施の形態について説明する。図19は、第3の実施の形態におけるデータ生成処理を説明するフローチャート図である。
[Details of the Third Embodiment]
Next, a third embodiment will be described with reference to Fig. 19, which is a flow chart illustrating a data generation process according to the third embodiment.
第3の実施の形態では、データ識別部115の学習に用いた本物データDT1が追加された場合、生成済の教師データDT3のうちの少なくとも一部を再生成する。なお、以下、第1の実施の形態と異なる点についてのみ説明を行う。
In the third embodiment, when real data DT1 used for learning by the
[データ再学習処理(2)]
初めに、データ生成処理のうち、再学習処理について説明を行う。図19は、データ再学習処理について説明するフローチャート図である。
[Data re-learning process (2)]
First, the re-learning process of the data generation process will be described with reference to a flow chart shown in FIG.
データ管理部112は、図19に示すように、操作端末2から1以上の本物データDT1を受信するまで待機する(S81のNO)。
As shown in FIG. 19, the
そして、1以上の本物データDT1を受信した場合(S81のYES)、データ管理部112は、S81の処理において受信した1以上の本物データDT1を情報格納領域130に記憶する(S82)。
If one or more pieces of real data DT1 are received (YES in S81), the
続いて、データ識別部115は、S81の処理において受信した1以上の本物データDT1をさらに学習する(S83)。
Then, the
さらに、データ識別部115は、情報格納領域130に記憶した教師データDT3のそれぞれが本物データDT1である確率を示す評価値を算出する(S84)。
Furthermore, the
その後、データ管理部112は、情報格納領域130に記憶した教師データDT3のうち、S84の処理において算出した評価値が閾値以下である教師データDT3を削除する(S85)。そして、情報処理装置1は、例えば、図8から図11で説明したデータ生成処理を実行する。
Then, the
すなわち、第3の実施の形態における情報処理装置1は、生成済の教師データDT3のうち、追加された本物データDT1によって学習が行われたデータ識別部115が偽物データと判定したデータについてのみ再生成を行う。
In other words, the
これにより、第3の実施の形態における情報処理装置1は、本物データDT1が追加された場合においても、教師データDT3の生成を効率的に行うことが可能になる。
As a result, the
なお、情報処理装置1は、図8におけるS35以降の処理が、データ再学習処理の終了後に行われるように制御する。
The
以上の実施の形態をまとめると、以下の付記のとおりである。 The above embodiments can be summarized as follows:
(付記1)
敵対的生成ネットワークを用いてデータを生成する処理を行う処理をコンピュータに実行させるデータ生成プログラムであって、
ランダムに発生させたノイズから複数の第1データを生成し、
生成した前記複数の第1データのそれぞれについての真偽に関する評価値を算出し、
生成した前記複数の第1データのうち、前記評価値が基準データよりも低い複数の第2データにおいて共通する特徴を特定し、
特定した前記特徴を有しない前記複数の第1データを再度生成する、
処理をコンピュータに実行させることを特徴とするデータ生成プログラム。
(Appendix 1)
A data generation program that causes a computer to execute a process of generating data using a generative adversarial network,
generating a plurality of first data from randomly generated noise;
Calculating an evaluation value regarding authenticity of each of the generated first data;
Identifying a common feature among a plurality of second data having the evaluation value lower than the reference data among the plurality of first data generated;
regenerating the plurality of first data that do not have the identified characteristic;
A data generation program that causes a computer to execute a process.
(付記2)
付記1において、さらに、
前記評価値を算出する処理、前記特徴を特定する処理及び前記複数の第1データを再度生成する処理を、前記複数の第1データのうちの1以上のデータについての前記評価値が所定の条件を満たすまで繰り返し行い、
前記繰り返し行う処理において前記1以上のデータについての前記評価値が前記所定の条件を満たした場合、前記1以上のデータを出力する、
ことを特徴とするデータ生成プログラム。
(Appendix 2)
In
The process of calculating the evaluation value, the process of identifying the characteristics, and the process of regenerating the plurality of first data are repeated until the evaluation value for one or more data among the plurality of first data satisfies a predetermined condition;
When the evaluation value for the one or more data items satisfies the predetermined condition in the repeated processing, the one or more data items are output.
A data generation program comprising:
(付記3)
付記1において、
前記評価値を算出する処理では、前記複数の第1データのそれぞれが前記第1データを生成する処理または前記第1データを再度生成する処理において生成されたデータでない確率を、前記複数の第1データのそれぞれに対応する前記評価値として算出する、
ことを特徴とするデータ生成プログラム。
(Appendix 3)
In
In the process of calculating the evaluation value, a probability that each of the plurality of first data is not data generated in a process of generating the first data or a process of regenerating the first data is calculated as the evaluation value corresponding to each of the plurality of first data.
A data generation program comprising:
(付記4)
付記2において、
前記出力する処理では、前記1以上のデータについての前記評価値が閾値以上になった場合、前記1以上のデータを出力する、
ことを特徴とするデータ生成プログラム。
(Appendix 4)
In Appendix 2:
In the output process, when the evaluation value for the one or more pieces of data becomes equal to or greater than a threshold value, the one or more pieces of data are output.
A data generation program comprising:
(付記5)
付記1において、
前記複数の第1データ及び前記基準データは、画像データであり、
前記複数の第1データを生成する処理では、前記基準データに含まれる複数の画素の輝度を変更することによって前記複数の第1データを生成する、
ことを特徴とするデータ生成プログラム。
(Appendix 5)
In
the plurality of first data and the reference data are image data;
In the process of generating the plurality of first data, the plurality of first data are generated by changing luminance of a plurality of pixels included in the reference data.
A data generation program comprising:
(付記6)
付記5において、
前記特徴を特定する処理では、
前記複数の第2データのそれぞれについて、前記基準データにおける同じ位置の画素よりも輝度が大きい第1画素と、前記基準データにおける同じ位置の画素よりも輝度が小さい第2画素とをそれぞれ特定し、
前記複数の第2データのそれぞれにおいて画素が配置されている複数の位置のうち、前記複数の第2データのうちの所定割合のデータにおいて前記第1画素が配置されていると特定された第1位置と、前記複数の第2データのうちの前記所定割合のデータにおいて前記第2画素が配置されていると特定された第2位置とを特定し、
前記第1位置に前記第1画素が配置されていることを示す情報と、前記第2位置に前記第2画素が配置されていることを示す情報とを前記特徴として特定する、
ことを特徴とするデータ生成プログラム。
(Appendix 6)
In Appendix 5:
In the process of identifying the features,
identifying, for each of the plurality of second data, a first pixel having a luminance greater than that of a pixel at the same position in the reference data, and a second pixel having a luminance less than that of a pixel at the same position in the reference data;
identifying a first position identified as the first pixel being located in a predetermined ratio of the second data among a plurality of positions at which pixels are located in each of the plurality of second data, and a second position identified as the second pixel being located in the predetermined ratio of the second data among the plurality of second data;
identifying, as the feature, information indicating that the first pixel is disposed at the first position and information indicating that the second pixel is disposed at the second position;
A data generation program comprising:
(付記7)
付記6において、
前記複数の第1データを再度生成する処理では、前記第1位置に前記第1画素が配置され、かつ、前記第2位置に前記第2画素が配置されたデータの割合が閾値以下になるように、前記複数の第1データを再度生成する、
ことを特徴とするデータ生成プログラム。
(Appendix 7)
In Appendix 6:
In the process of regenerating the plurality of first data, the plurality of first data are regenerated such that a ratio of data in which the first pixel is arranged at the first position and the second pixel is arranged at the second position is equal to or less than a threshold value.
A data generation program comprising:
(付記8)
付記5において、
前記特徴を特定する処理では、
前記複数の第2データのそれぞれについて、複数の画素からなるブロックごとに、前記基準データにおける同じ位置のブロックよりも輝度が大きい第1ブロックと、前記基準データにおける同じ位置のブロックよりも輝度が小さい第2ブロックとをそれぞれ特定し、
前記複数の第2データのそれぞれにおいてブロックが配置されている複数の位置のうち、前記複数の第2データのうちの所定割合のデータにおいて前記第1ブロックが配置されていると特定された第3位置と、前記複数の第2データのうちの前記所定割合のデータにおいて前記第2ブロックが配置されていると特定された第4位置とを特定し、
前記第3位置に前記第1ブロックが配置されていることを示す情報と、前記第4位置に前記第2ブロックが配置されていることを示す情報とを前記特徴として特定する、
ことを特徴とするデータ生成プログラム。
(Appendix 8)
In Appendix 5:
In the process of identifying the features,
for each of the plurality of second data, a first block having a higher luminance than the block at the same position in the reference data and a second block having a lower luminance than the block at the same position in the reference data, for each block consisting of a plurality of pixels;
identifying a third position identified as the first block being located in a predetermined ratio of the second data among a plurality of positions at which blocks are located in each of the plurality of second data, and a fourth position identified as the second block being located in the predetermined ratio of the second data among the plurality of second data;
identifying, as the feature, information indicating that the first block is arranged at the third position and information indicating that the second block is arranged at the fourth position;
A data generation program comprising:
(付記9)
敵対的生成ネットワークを用いてデータを生成する情報処理装置であって、
ランダムに発生させたノイズから複数の第1データを生成するデータ生成部と、
生成した前記複数の第1データのそれぞれについての真偽に関する評価値を算出し、
生成した前記複数の第1データのうち、前記評価値が基準データよりも低い複数の第2データにおいて共通する特徴を特定する特徴特定部と、を有し、
前記データ生成部は、特定した前記特徴を有しない前記複数の第1データを再度生成する、
ことを特徴とする情報処理装置。
(Appendix 9)
An information processing device that generates data using a generative adversarial network,
a data generating unit that generates a plurality of first data from randomly generated noise;
Calculating an evaluation value regarding authenticity of each of the generated first data;
a feature specifying unit that specifies a common feature among a plurality of second data pieces having the evaluation value lower than the reference data, among the plurality of first data pieces generated;
The data generation unit regenerates the plurality of first data that do not have the identified characteristic.
23. An information processing apparatus comprising:
(付記10)
付記9において、
前記複数の第1データ及び前記基準データは、画像データであり、
前記データ生成部は、前記基準データに含まれる複数の画素の輝度を変更することによって前記複数の第1データを生成する、
ことを特徴とする情報処理装置。
(Appendix 10)
In Appendix 9:
the plurality of first data and the reference data are image data;
the data generating unit generates the plurality of first data by changing luminance of a plurality of pixels included in the reference data;
23. An information processing apparatus comprising:
(付記11)
付記10において、
前記特徴特定部は、
前記複数の第2データのそれぞれについて、前記基準データにおける同じ位置の画素よりも輝度が大きい第1画素と、前記基準データにおける同じ位置の画素よりも輝度が小さい第2画素とをそれぞれ特定し、
前記複数の第2データのそれぞれにおいて画素が配置されている複数の位置のうち、前記複数の第2データのうちの所定割合のデータにおいて前記第1画素が配置されていると特定された第1位置と、前記複数の第2データのうちの前記所定割合のデータにおいて前記第2画素が配置されていると特定された第2位置とを特定し、
前記第1位置に前記第1画素が配置されていることを示す情報と、前記第2位置に前記第2画素が配置されていることを示す情報とを前記特徴として特定する、
ことを特徴とする情報処理装置。
(Appendix 11)
In
The feature specifying unit is
identifying, for each of the plurality of second data, a first pixel having a greater luminance than a pixel at the same position in the reference data and a second pixel having a less luminance than a pixel at the same position in the reference data;
identifying a first position identified as the first pixel being located in a predetermined ratio of the second data among a plurality of positions at which pixels are located in each of the plurality of second data, and a second position identified as the second pixel being located in the predetermined ratio of the second data among the plurality of second data;
identifying, as the feature, information indicating that the first pixel is disposed at the first position and information indicating that the second pixel is disposed at the second position;
23. An information processing apparatus comprising:
(付記12)
敵対的生成ネットワークを用いてデータを生成する処理を行う処理をコンピュータが実行するデータ生成方法であって、
ランダムに発生させたノイズから複数の第1データを生成し、
生成した前記複数の第1データのそれぞれについての真偽に関する評価値を算出し、
生成した前記複数の第1データのうち、前記評価値が基準データよりも低い複数の第2データにおいて共通する特徴を特定し、
特定した前記特徴を有しない前記複数の第1データを再度生成する、
処理をコンピュータが実行することを特徴とするデータ生成方法。
(Appendix 12)
A data generation method in which a computer executes a process of generating data using a generative adversarial network,
generating a plurality of first data from randomly generated noise;
Calculating an evaluation value regarding authenticity of each of the generated first data;
Identifying a common feature among a plurality of second data having the evaluation value lower than the reference data among the plurality of first data generated;
regenerating the plurality of first data that do not have the identified characteristic;
A data generating method, characterized in that processing is executed by a computer.
(付記13)
付記12において、
前記複数の第1データ及び前記基準データは、画像データであり、
前記複数の第1データを生成する処理では、前記基準データに含まれる複数の画素の輝度を変更することによって前記複数の第1データを生成する、
ことを特徴とするデータ生成方法。
(Appendix 13)
In Appendix 12,
the plurality of first data and the reference data are image data;
In the process of generating the plurality of first data, the plurality of first data are generated by changing luminance of a plurality of pixels included in the reference data.
A data generation method comprising:
(付記14)
付記13において、
前記特徴を特定する処理では、
前記複数の第2データのそれぞれについて、前記基準データにおける同じ位置の画素よりも輝度が大きい第1画素と、前記基準データにおける同じ位置の画素よりも輝度が小さい第2画素とをそれぞれ特定し、
前記複数の第2データのそれぞれにおいて画素が配置されている複数の位置のうち、前記複数の第2データのうちの所定割合のデータにおいて前記第1画素が配置されていると特定された第1位置と、前記複数の第2データのうちの前記所定割合のデータにおいて前記第2画素が配置されていると特定された第2位置とを特定し、
前記第1位置に前記第1画素が配置されていることを示す情報と、前記第2位置に前記第2画素が配置されていることを示す情報とを前記特徴として特定する、
ことを特徴とするデータ生成方法。
(Appendix 14)
In Appendix 13,
In the process of identifying the features,
identifying, for each of the plurality of second data, a first pixel having a luminance greater than that of a pixel at the same position in the reference data, and a second pixel having a luminance less than that of a pixel at the same position in the reference data;
identifying a first position identified as the first pixel being located in a predetermined ratio of the second data among a plurality of positions at which pixels are located in each of the plurality of second data, and a second position identified as the second pixel being located in the predetermined ratio of the second data among the plurality of second data;
identifying, as the feature, information indicating that the first pixel is disposed at the first position and information indicating that the second pixel is disposed at the second position;
A data generation method comprising:
1:情報処理装置 2:操作端末
10:情報処理システム 113:ノイズ発生部
114:データ生成部 115:データ識別部
DT1:本物データ DT2:偽物データ
DT3:新たな教師データ GA:敵対的生成ネットワーク
NW:ネットワーク
1: Information processing device 2: Operation terminal 10: Information processing system 113: Noise generating unit 114: Data generating unit 115: Data identifying unit DT1: Real data DT2: Fake data DT3: New teacher data GA: Generative adversarial network NW: Network
Claims (9)
複数の教師データのそれぞれに対してランダムに発生させたノイズを加えることによって複数の第1データを生成し、
生成した前記複数の第1データのそれぞれについての真偽に関する評価値を算出し、
生成した前記複数の第1データのうち、前記評価値が基準データよりも低い複数の第2データにおいて共通する特徴を特定し、
特定した前記特徴を有しない前記複数の第1データを生成可能なノイズを前記複数の教師データのそれぞれに対して加えることによって前記教師データを生成する、
処理をコンピュータに実行させることを特徴とするデータ生成プログラム。 A data generation program that causes a computer to execute a process of generating training data using a generative adversarial network,
generating a plurality of first data by adding randomly generated noise to each of the plurality of training data ;
Calculating an evaluation value regarding authenticity of each of the generated first data;
Identifying a common feature among a plurality of second data having the evaluation value lower than the reference data among the plurality of first data generated;
generating the training data by adding noise capable of generating the plurality of first data not having the identified characteristic to each of the plurality of training data ;
A data generation program that causes a computer to execute a process.
前記評価値を算出する処理、前記特徴を特定する処理及び前記教師データを生成する処理を、前記複数の第1データのうちの1以上のデータについての前記評価値が所定の条件を満たすまで繰り返し行い、
前記繰り返し行う処理において前記1以上のデータについての前記評価値が前記所定の条件を満たした場合、前記1以上のデータを前記教師データとして出力する、
ことを特徴とするデータ生成プログラム。 In claim 1, further comprising:
The process of calculating the evaluation value, the process of identifying the characteristics, and the process of generating the teacher data are repeated until the evaluation value for one or more data among the plurality of first data satisfies a predetermined condition;
When the evaluation value for the one or more data satisfies the predetermined condition in the repeated processing, the one or more data are output as the teacher data .
A data generation program comprising:
前記評価値を算出する処理では、前記複数の第1データのそれぞれが前記第1データを生成する処理において生成されたデータでない確率を、前記複数の第1データのそれぞれに対応する前記評価値として算出する、
ことを特徴とするデータ生成プログラム。 In claim 1,
In the process of calculating the evaluation value, a probability that each of the plurality of first data is not data generated in a process of generating the first data is calculated as the evaluation value corresponding to each of the plurality of first data.
A data generation program comprising:
前記出力する処理では、前記1以上のデータについての前記評価値が閾値以上になった場合、前記1以上のデータを出力する、
ことを特徴とするデータ生成プログラム。 In claim 2,
In the output process, when the evaluation value for the one or more pieces of data becomes equal to or greater than a threshold value, the one or more pieces of data are output.
A data generation program comprising:
前記複数の第1データ及び前記基準データは、画像データであり、
前記複数の第1データを生成する処理では、前記基準データに含まれる複数の画素の輝度を変更することによって前記複数の第1データを生成する、
ことを特徴とするデータ生成プログラム。 In claim 1,
the plurality of first data and the reference data are image data;
In the process of generating the plurality of first data, the plurality of first data are generated by changing luminance of a plurality of pixels included in the reference data.
A data generation program comprising:
前記特徴を特定する処理では、
前記複数の第2データのそれぞれについて、前記基準データにおける同じ位置の画素よりも輝度が大きい第1画素と、前記基準データにおける同じ位置の画素よりも輝度が小さい第2画素とをそれぞれ特定し、
前記複数の第2データのそれぞれにおいて画素が配置されている複数の位置のうち、前記複数の第2データのうちの所定割合のデータにおいて前記第1画素が配置されていると特定された第1位置と、前記複数の第2データのうちの前記所定割合のデータにおいて前記第2画素が配置されていると特定された第2位置とを特定し、
前記第1位置に前記第1画素が配置されていることを示す情報と、前記第2位置に前記第2画素が配置されていることを示す情報とを前記特徴として特定する、
ことを特徴とするデータ生成プログラム。 In claim 5,
In the process of identifying the features,
identifying, for each of the plurality of second data, a first pixel having a greater luminance than a pixel at the same position in the reference data and a second pixel having a less luminance than a pixel at the same position in the reference data;
identifying a first position identified as the first pixel being located in a predetermined ratio of the second data among a plurality of positions at which pixels are located in each of the plurality of second data, and a second position identified as the second pixel being located in the predetermined ratio of the second data among the plurality of second data;
identifying, as the feature, information indicating that the first pixel is disposed at the first position and information indicating that the second pixel is disposed at the second position;
A data generation program comprising:
前記特徴を特定する処理では、
前記複数の第2データのそれぞれについて、複数の画素からなるブロックごとに、前記基準データにおける同じ位置のブロックよりも輝度が大きい第1ブロックと、前記基準データにおける同じ位置のブロックよりも輝度が小さい第2ブロックとをそれぞれ特定し、
前記複数の第2データのそれぞれにおいてブロックが配置されている複数の位置のうち、前記複数の第2データのうちの所定割合のデータにおいて前記第1ブロックが配置されていると特定された第3位置と、前記複数の第2データのうちの前記所定割合のデータにおいて前記第2ブロックが配置されていると特定された第4位置とを特定し、
前記第3位置に前記第1ブロックが配置されていることを示す情報と、前記第4位置に前記第2ブロックが配置されていることを示す情報とを前記特徴として特定する、
ことを特徴とするデータ生成プログラム。 In claim 5,
In the process of identifying the features,
for each of the plurality of second data, a first block having a higher luminance than the block at the same position in the reference data and a second block having a lower luminance than the block at the same position in the reference data, for each block consisting of a plurality of pixels;
identifying a third position identified as the first block being located in a predetermined ratio of the second data among a plurality of positions at which blocks are located in each of the plurality of second data, and a fourth position identified as the second block being located in the predetermined ratio of the second data among the plurality of second data;
identifying, as the feature, information indicating that the first block is arranged at the third position and information indicating that the second block is arranged at the fourth position;
A data generation program comprising:
複数の教師データのそれぞれに対してランダムに発生させたノイズを加えることによって複数の第1データを生成するデータ生成部と、
生成した前記複数の第1データのそれぞれについての真偽に関する評価値を算出するデータ識別部と、
生成した前記複数の第1データのうち、前記評価値が基準データよりも低い複数の第2データにおいて共通する特徴を特定する特徴特定部と、を有し、
前記データ生成部は、特定した前記特徴を有しない前記複数の第1データを生成可能なノイズを前記複数の教師データのそれぞれに対して加えることによって前記教師データを生成する、
ことを特徴とする情報処理装置。 An information processing device that generates training data using a generative adversarial network,
a data generating unit that generates a plurality of first data by adding randomly generated noise to each of the plurality of teacher data ;
a data identification unit that calculates an evaluation value regarding authenticity of each of the generated first data;
a feature specifying unit that specifies a common feature among a plurality of second data pieces having the evaluation value lower than the reference data, among the plurality of first data pieces generated;
The data generation unit generates the teacher data by adding noise capable of generating the plurality of first data not having the identified characteristic to each of the plurality of teacher data .
23. An information processing apparatus comprising:
複数の教師データのそれぞれに対してランダムに発生させたノイズを加えることによって複数の第1データを生成し、
生成した前記複数の第1データのそれぞれについての真偽に関する評価値を算出し、
生成した前記複数の第1データのうち、前記評価値が基準データよりも低い複数の第2データにおいて共通する特徴を特定し、
特定した前記特徴を有しない前記複数の第1データを生成可能なノイズを前記複数の教師データのそれぞれに対して加えることによって前記教師データを生成する、
処理をコンピュータが実行することを特徴とするデータ生成方法。 A data generation method in which a computer executes a process of generating training data using a generative adversarial network,
generating a plurality of first data by adding randomly generated noise to each of the plurality of training data ;
Calculating an evaluation value regarding authenticity of each of the generated first data;
Identifying a common feature among a plurality of second data having the evaluation value lower than the reference data among the plurality of first data generated;
generating the training data by adding noise capable of generating the plurality of first data not having the identified characteristic to each of the plurality of training data ;
A data generating method, characterized in that processing is executed by a computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020211460A JP7583256B2 (en) | 2020-12-21 | 2020-12-21 | DATA GENERATION PROGRAM, INFORMATION PROCESSING APPARATUS, AND DATA GENERATION METHOD |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020211460A JP7583256B2 (en) | 2020-12-21 | 2020-12-21 | DATA GENERATION PROGRAM, INFORMATION PROCESSING APPARATUS, AND DATA GENERATION METHOD |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022098104A JP2022098104A (en) | 2022-07-01 |
| JP7583256B2 true JP7583256B2 (en) | 2024-11-14 |
Family
ID=82165657
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020211460A Active JP7583256B2 (en) | 2020-12-21 | 2020-12-21 | DATA GENERATION PROGRAM, INFORMATION PROCESSING APPARATUS, AND DATA GENERATION METHOD |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7583256B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200364624A1 (en) | 2019-05-16 | 2020-11-19 | Retrace Labs | Privacy Preserving Artificial Intelligence System For Dental Data From Disparate Sources |
| JP2020205030A (en) | 2019-06-17 | 2020-12-24 | 株式会社アクセル | Learning method, computer program, classifier, generator, and processing system |
| JP7424595B2 (en) | 2020-06-23 | 2024-01-30 | 株式会社島津製作所 | Discriminator generation method and device |
-
2020
- 2020-12-21 JP JP2020211460A patent/JP7583256B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200364624A1 (en) | 2019-05-16 | 2020-11-19 | Retrace Labs | Privacy Preserving Artificial Intelligence System For Dental Data From Disparate Sources |
| JP2020205030A (en) | 2019-06-17 | 2020-12-24 | 株式会社アクセル | Learning method, computer program, classifier, generator, and processing system |
| JP7424595B2 (en) | 2020-06-23 | 2024-01-30 | 株式会社島津製作所 | Discriminator generation method and device |
Non-Patent Citations (2)
| Title |
|---|
| Radford, Alec, Luke Metz, and Soumith Chintala ,"Unsupervised representation learning with deep convolutional generative adversarial networks",arXiv preprint,2015年,arXiv:1511.06434 |
| フォスター デビット David Foster,生成 Deep Learning 初版 Generative Deep Learning,第1版,株式会社オライリー・ジャパン オライリー ティム,2020年10月01日,pp.110-124 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022098104A (en) | 2022-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111031346B (en) | A method and device for enhancing video quality | |
| CN110505241B (en) | Network attack plane detection method and system | |
| US11689549B2 (en) | Continuous learning for intrusion detection | |
| CN107133265A (en) | A kind of method and device of identification behavior abnormal user | |
| KR102127571B1 (en) | Method and apparatus for removing hidden data based on auto-regressive generative model | |
| US7483864B2 (en) | Active learning method and system | |
| CN107992887A (en) | Classifier generation method, sorting technique, device, electronic equipment and storage medium | |
| KR102074909B1 (en) | Apparatus and method for classifying software vulnerability | |
| CN111586071A (en) | Encryption attack detection method and device based on recurrent neural network model | |
| CN111651792B (en) | Risk detection and model enhancement method and device in multi-party collaborative learning | |
| JP2014229115A (en) | Information processing device and method, program, and storage medium | |
| CN111447173A (en) | Device and method for classifying data of controller area network or automobile Ethernet | |
| CN119917069A (en) | An AI-based software demand intelligent analysis and prediction method and system | |
| KR20190028880A (en) | Method and appratus for generating machine learning data for botnet detection system | |
| CN110598794A (en) | Classified countermeasure network attack detection method and system | |
| JP7583256B2 (en) | DATA GENERATION PROGRAM, INFORMATION PROCESSING APPARATUS, AND DATA GENERATION METHOD | |
| WO2020239234A1 (en) | Apparatuses and methods for detecting malware | |
| CN113055546A (en) | System and method for processing images | |
| JP2020017156A (en) | Character recognition device, character recognition program, and character recognition method | |
| CN111727108B (en) | Methods, devices and systems for controlling robots and storage media | |
| CN118740522B (en) | Network attack and defense training method, equipment and storage medium based on multi-agent collaboration | |
| CN113919445A (en) | Object classification method, device and computer-readable storage medium | |
| CN114298199A (en) | Transcoding parameter model training method, video transcoding method and device | |
| CN115643056A (en) | Anti-attack capability test method and device of network model | |
| KR20250031289A (en) | Method for image classification model generating and, image processing system using the image classification model |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230804 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240418 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240514 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240711 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20241001 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241014 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7583256 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |