Machine learning device, machine learning method, and machine learning program

The machine learning device uses adversarial training with synthetic data generation and classification to address the challenge of limited private data and data leakage, ensuring effective model performance and security.

WO2026244848A1PCT designated stage Publication Date: 2026-11-26MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2025/032100
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-19
Filing Date
2025-09-11
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Machine learning devices face challenges in performing additional learning on limited data containing private information, leading to performance degradation due to noise addition in gradient descent methods, and there is a risk of data leakage.

Method used

A machine learning device performs adversarial training using a generation unit to create synthetic data mimicking private data, a classification unit to distinguish between synthetic and private data, and a likelihood ratio determination unit to calculate losses, reducing the risk of data leakage while maintaining model performance.

Benefits of technology

The solution effectively reduces the risk of training data leakage while suppressing performance degradation by using synthetic data to train the model, making it resistant to data leaks and maintaining model efficacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2025032100_26112026_PF_FP_ABST
    Figure JP2025032100_26112026_PF_FP_ABST
Patent Text Reader

Abstract

A machine learning device (100) performs adversarial training of a target model (14). A generation unit (11) outputs synthetic data that imitates private data. A classification unit (12) outputs, as a classification determination result, a determination as to whether input data is synthetic data or private data. A likelihood ratio determination unit (15) acquires a first loss indicating an index when a reference model (13), which has been trained by machine learning using data that does not include private data, predicts output data from the synthetic data, and a second loss indicating an index when the target model (14) predicts output data from the synthetic data. The likelihood ratio determination unit (15) performs likelihood ratio determination using the first loss and the second loss, and outputs a likelihood ratio determination result. A loss calculation unit (16) uses the classification determination result and the likelihood ratio determination result to calculate a loss to be used for training the generation unit (11) and the classification unit (12).
Need to check novelty before this filing date? Find Prior Art

Description

Machine learning device, machine learning method, and machine learning program

[0001] This disclosure relates to a machine learning device, a machine learning method, and a machine learning program.

[0002] In order to adapt to a specific task domain, it is common for machine learning devices to perform additional learning on data containing private information. However, it is difficult to obtain data containing private information, and the number of learning data is often limited. In order to solve the situation where the number of learning data is limited, for example, data generated by a GAN is used to supplement the insufficient data. A GAN is also referred to as a generative adversarial network. GAN is an abbreviation for Generative Adversarial Network. However, machine learning devices are known to store learning data.

[0003] Non-Patent Document 1 discloses a technique for performing a gradient descent method in which noise is added to learning data to guarantee a differential privacy method.

[0004] By Liyang Xie et al., "Differentially Private Generative Adversarial Network", IEEE International Workshop on Information Forensics and Security (WIFS), published in 2021

[0005] However, the machine learning device described in Non-Patent Document 1 has a problem in that model performance deteriorates because noise is added to the learning data.

[0006] The present disclosure aims to reduce the risk of learning data leakage while suppressing performance degradation of a machine learning model.

[0007] The machine learning device relating to this disclosure is a machine learning device that performs adversarial training of a target model, which is a machine learning model, and comprises: a generation unit that performs a generation process to output synthetic data that mimics private data indicating data containing private information; a classification unit that receives the synthetic data or the private data as input and performs a classification process to output a determination result of whether or not the input data is the private data as a classification determination result; a likelihood ratio determination unit that acquires a first loss indicating an index when a reference model, which is a machine learning model obtained by machine learning using data that does not contain the private data, predicts output data from the synthetic data, and a second loss indicating an index when the target model predicts output data from the synthetic data, and performs a likelihood ratio determination using the first loss and the second loss to output a likelihood ratio determination result; and a loss calculation unit that calculates a loss used for training the generation process and the classification process using the classification determination result and the likelihood ratio determination result.

[0008] The machine learning device described herein has the effect of reducing the risk of leakage of training data while suppressing the performance degradation of machine learning models.

[0009] A diagram showing an example of the functional configuration of the machine learning device according to Embodiment 1. A flowchart showing an example of the operation of the machine learning device according to Embodiment 1. A diagram showing an example of the hardware configuration of the machine learning device according to Embodiment 1. A diagram showing another example of the hardware configuration of the machine learning device according to a modified version of Embodiment 1. A diagram showing an example of the functional configuration of the machine learning device according to Embodiment 2. A flowchart showing an example of the operation of the machine learning device according to Embodiment 2.

[0010] The following description of this embodiment will be illustrated with reference to the figures. In each figure, identical or corresponding parts are denoted by the same reference numerals. In the description of the embodiment, the explanation of identical or corresponding parts will be omitted or simplified as appropriate. The arrows in the figures mainly indicate the flow of data or processing.

[0011] Embodiment 1. ***Description of Configuration*** Figure 1 is a diagram showing an example of the functional configuration of the machine learning device 100 according to this embodiment. The machine learning device 100 according to this embodiment is a device that performs adversarial training of a target model 14, which is a machine learning model.

[0012] In Figure 1, the machine learning device 100 consists of a generation unit 11, a classification unit 12, a reference model 13, a target model 14, a likelihood ratio determination unit 15, a loss calculation unit 16, and a learning unit 19. In this embodiment, the machine learning model that the machine learning device 100 learns is described as a large-scale language model, or LLM. LLM is an abbreviation for Large Language Models.

[0013] ***Description of Function*** Random data is input to the generation unit 11. The generation unit 11 performs a generation process that outputs synthetic data that mimics private data, which is data that contains private information. The generation unit 11 is a machine learning model that outputs data that would be identified as private data, for example, synthetic data that mimics private data. Private data is data that contains private information, such as personal information such as name, date of birth, and address. Private data and synthetic data are, for example, text or parameters obtained by converting text into features. The generation unit 11 is also called a generator.

[0014] The private data database 17 stores a large amount of real, existing private data. The private data database 17 may be embedded within the machine learning device 100, or it may be provided from outside the machine learning device 100.

[0015] The classification unit 12 receives either synthetic or private data as input and performs a classification process that outputs a classification result indicating whether the input data is private or not. The classification unit 12 receives private data output from the private data database 17 and synthetic data output from the generation unit 11 alternately as input. The classification unit 12 is a machine learning model that determines whether private or synthetic data has been input and outputs a classification result. In the classification result, for example, if each input data is real, i.e., private data, it will be "1", and if it is not real, it will be "0". The classification unit 12 is also called a classifier.

[0016] Reference model 13 is a machine learning model obtained by machine learning using a large amount of data that does not include private data. Target model 14 is a machine learning model that has learned the synthesized data output by the generation unit 11. Target model 14 is the final machine learning model that is the processing result of the machine learning device 100. Note that reference model 13 may be included in the machine learning device 100 or may be located outside the machine learning device 100.

[0017] The reference model 13 and the target model 14 receive the synthesized data output from the generation unit 11 as input. The reference model 13 and the target model 14 then output output data, which is the data predicted by each model, and also output a loss, which is an indicator of how well the respective output data was predicted. There are two types of losses: a first loss and a second loss. The loss is an indicator output by a predetermined loss function. The loss function is a function used to calculate the difference between the predicted value calculated by the machine learning model and the actual correct value. The output loss represents, for example, the distance or difference, the total amount of difference or the average value, between the actual correct value and the predicted value. Alternatively, cross-entropy error, KL divergence, etc., can be used to calculate the loss.

[0018] The likelihood ratio determination unit 15 receives a first loss output from the reference model 13 and a second loss output from the target model 14. The likelihood ratio determination unit 15 performs a likelihood ratio determination on the two losses to determine whether the synthetic data is included in the training data of the target model, and outputs the likelihood ratio determination result. The first loss indicates the index when the reference model 13, a machine learning model obtained by machine learning using data that does not include private data, predicts the output data from the synthetic data. The first loss is data that shows the difference between the correct value in the output data and the prediction made by the reference model 13 from the synthetic data. The second loss indicates the index when the target model 14, a machine learning model obtained by machine learning using synthetic data, predicts the output data from the synthetic data. The second loss is data that shows the difference between the correct value in the output data and the prediction made by the target model 14 from the synthetic data. The likelihood ratio determination unit 15 acquires the first loss and the second loss, performs a likelihood ratio determination using the first loss and the second loss, and outputs the likelihood ratio determination result.

[0019] The likelihood ratio is an index used to determine the authenticity of data. The likelihood ratio is an index that indicates how likely the data being judged is to be true (genuine), assuming that the data is true (genuine). In a more specific example, in the case of pathological examinations, the likelihood ratio can be used as an index that indicates how likely the disease is when the test is assumed to be positive. The likelihood ratio can be calculated by taking the ratio of the first loss output from the reference model 13 to the second loss output from the target model 14. The value of this ratio is compared with a pre-calculated threshold to determine whether the synthetic data has been used for training or not. Whether the synthetic data has been used as training data for the target model means whether the input synthetic data has been used as training data for the target model 14 in the past. In this case, the threshold is calculated from the distribution of the training dataset. This distribution may be modeled as a Gaussian distribution, etc. From the above, the likelihood ratio judgment result V(L), which is the output of the likelihood ratio judgment unit 15, can be expressed by equation (1), for example.

[0020]

[0021] Here, L(x) is the probability that the input data is genuine, assuming that the data is genuine. E[•] represents the expected value.

[0022] The loss calculation unit 16 uses the classification judgment result and the likelihood ratio judgment result to calculate the loss used to train the generation process by the generation unit 11 and the classification process by the classification unit 12. In other words, the loss calculation unit 16 uses the classification judgment result and the likelihood ratio judgment result to calculate the loss used to train the generator and the classifier. Hereinafter, the loss calculated by the loss calculation unit 16 will be referred to as the loss used to train the generation unit 11 and the classification unit 12. The loss calculation unit 16 takes the classification judgment result, which is the output of the classification unit 12, and the likelihood ratio judgment result V(L), which is the output of the likelihood ratio judgment unit 15, as input and calculates the loss used to train the generation unit 11 and the classification unit 12. For example, the loss calculation unit 16 calculates and outputs the loss using a function V(G, D, L) that has both a term related to the judgment of the classification unit and a term related to the likelihood ratio judgment, as shown in equation (2). In equation (2), the first and second terms are examples of loss functions used in GANs. In this embodiment, a new term relating to likelihood ratio determination, shown in equation (1), is added to the loss function of this GAN as the third term.

[0023]

[0024] Here, D(x) is the probability that the input data is real, and D(G(x)) is the probability that the data generated from the input data is real. E[•] represents the expected value. By using the newly defined loss function V(G, D, L) shown in equation (2) and training to maximize both D(•) and L(x), the probability that the classification unit 12's judgment result is real increases, and the probability that the likelihood ratio determination unit 15's judgment result is also real increases. In other words, by training using the newly defined loss function V(G, D, L) shown in equation (2), it is possible to efficiently determine both whether the input data has not been used to train the target model 14 (is not a member) and whether it is private data (real).

[0025] ***Explanation of Operation*** Next, the operation of the machine learning device 100 according to this embodiment will be explained. The operation procedure of the machine learning device 100 corresponds to the machine learning method. The program that realizes the machine learning processing, which is the operation of the machine learning device 100, corresponds to the machine learning program.

[0026] Figure 2 is a flowchart showing an example of the operation of the machine learning device 100 according to this embodiment. In step S101, the generation unit 11 receives random data as input and outputs synthetic data. In step S102, the classification unit 12 receives either the synthetic data or private data output from the generation unit 11 as input. Specifically, the classification unit 12 receives alternating minipatch inputs of synthetic data and private data output from the generation unit 11. The classification unit 12 determines whether the input data was synthetic data or private data. The classification unit 12 then outputs a classification determination result, that is, the result of determining whether the input data was synthetic data or private data.

[0027] In step S103, the classification unit 12 branches based on the quality of the generated synthetic data, according to the classification judgment result. The quality of the generated synthetic data indicates whether the proportion of data judged to be private data is high. The process proceeds to step S104 until the judgment of private data, i.e., genuine data, exceeds 80%. After the judgment of private data, i.e., genuine data, exceeds 80%, the process proceeds to step S105. Here, the judgment criterion is stated as 80%, but this criterion can be changed as appropriate depending on the content of the private data.

[0028] In step S104, the classification unit 12 updates the parameters of the generation unit 11 and the classification unit 12 by feeding back the classification determination result to the generation unit 11 and the classification unit 12, and then returns to step S101.

[0029] In step S105, the generation unit 11 receives random data as input and outputs synthesized data. In step S106, the classification unit 12 receives either the synthesized data or private data output from the generation unit 11 as input. The classification unit 12 determines whether the input data was synthesized data or private data. The classification unit 12 then outputs the classification determination result.

[0030] In step S107, the likelihood ratio determination unit 15 inputs the composite data into the reference model 13 and the target model 14 and performs a likelihood ratio determination from the output losses. Specifically, the likelihood ratio determination unit 15 performs a likelihood ratio determination from the first loss output from the reference model 13 and the second loss output from the target model 14. Then, as a result of the likelihood ratio determination, the likelihood ratio determination unit 15 outputs whether or not the input data was used to train the target model 14. The fact that the data was used to train the target model 14 is sometimes referred to as the data being a member. That is, as a result of the likelihood ratio determination, the likelihood ratio determination unit 15 outputs whether or not the input data is a member. Here, the result of the likelihood ratio determination, which is the output of step S107, is called the likelihood ratio determination result.

[0031] In step S108, the loss calculation unit 16 takes the likelihood ratio determination result, which is the output of step S107, and the classification determination result, which is the output of step S106, as inputs, calculates the loss to be used for training the generation unit 11 and the classification unit 12, and outputs it.

[0032] In step S109, the classification unit 12 proceeds to step S110 until it determines that the input data is not used for training the target model 14 (not a member) and is private data (genuine). Once it is determined that the input data is not used for training the target model 14 (not a member) and is private data (genuine), the process proceeds to step S111.

[0033] In step S110, the classification unit 12 updates the parameters of the generation unit 11 and the classification unit 12 using the loss output in step S108. Then the process proceeds to step S105.

[0034] In step S111, the learning unit 19 trains a model using the generated data.

[0035] As described above, the loss calculation unit 16 feeds back the loss used for training the generation unit 11 and the classification unit 12 to the generation unit 11 and the classification unit 12 until it is determined that the synthesized data has never been used as training data for the target model 14 and is private data.

[0036] The types of machine learning models and learning algorithms used in the generation unit 11 and the classification unit 12, as well as in the reference model 13 and the target model 14, can be any of the types known to exist. For example, machine learning models can be broadly classified into machine learning models that perform supervised learning, machine learning models that perform unsupervised learning, machine learning models that perform reinforcement learning, and machine learning models that perform deep learning, and any of these methods can be used.

[0037] Machine learning models that perform supervised learning include, for example, regression models, trees, neural networks, naive Bayes models, time series models, clustering models using k-nearest neighbors, and ensemble learning models. Regression models include, for example, linear regression, logistic regression, and support vector machines. Trees include, for example, decision trees, regression trees, random forests, and gradient boosting trees. Neural networks include, for example, perceptrons, convolutional neural networks, recurrent neural networks, residual networks, and neural networks based on transformers such as GPT or BERT. Time series models include, for example, moving average models, autoregressive models, autoregressive moving average models, autoregressive Japanese moving average models, and state-space models. Ensemble learning models include, for example, models that learn by boosting or bagging.

[0038] Models that perform learning without supervised data include, for example, clustering models and neural networks using self-organizing maps. Clustering models include, for example, hierarchical clustering and non-hierarchical clustering (k-means), and also include topic models. Hierarchical clustering is clustering using Euclidean distance or Ward's method. Non-hierarchical clustering is, for example, clustering using the k-means method.

[0039] Reinforcement learning models include, for example, dynamic programming, Monte Carlo methods, time-gap learning methods, and Q-learning.

[0040] Deep learning models include, for example, language models, image recognition models, speech recognition models, video recognition models, and multimodal large-scale language models. Language models are models that model the probability of word occurrence based on natural language. Image recognition models are models that allow a machine or computer to recognize what is depicted in an image. Speech recognition models consist of an acoustic model, a language model, and a word dictionary. The acoustic model converts speech into phonemes, and by comparing the phoneme sequence with the word dictionary, candidate word sequences are considered, and the language model finds the word sequence with the highest probability and outputs it as text. Video recognition models are mechanisms that repeatedly process still images. Multimodal large-scale language models are AI models that can process multiple types of information, such as text, images, and videos. The learning algorithms can be pre-trained or additionally trained. For example, full fine-tuning, parameter-efficient fine-tuning (PEFT), transfer learning, knowledge distillation, and associative learning. Perturbations may be added to these learning methods to protect privacy during training. The types of datasets used for training tasks include, for example, image classification, object detection, segmentation, tasks that perform object detection and segmentation simultaneously, pose estimation, motion classification, anomaly detection, video classification, tasks that generate image captions, image search, tasks that determine if images depict the same person, image generation, text region detection, natural language processing, machine translation, question answering, text summarization, text classification, sentiment estimation, and recommendation.

[0041] ***Explanation of Hardware Configuration Example*** Figure 3 shows an example of the hardware configuration of the machine learning device 100 according to this embodiment.

[0042] The machine learning device 100 is a computer. The machine learning device 100 includes a processor 910, as well as other hardware such as memory 921, auxiliary storage device 922, input / output interface 930, and communication interface 950. The processor 910 is connected to the other hardware via signal lines 80 and controls this other hardware.

[0043] As described above, the functions of the generation unit 11, the classification unit 12, the reference model 13, the target model 14, the likelihood ratio determination unit 15, the loss calculation unit 16, and the learning unit 19 as functional elements of the machine learning device 100 are implemented by software. The functions of the generation unit 11, the classification unit 12, the reference model 13, the target model 14, the likelihood ratio determination unit 15, the loss calculation unit 16, and the learning unit 19 may be referred to as the functions of the machine learning device 100. Also, the generation unit 11, the classification unit 12, the reference model 13, the target model 14, the likelihood ratio determination unit 15, the loss calculation unit 16, and the learning unit 19 may be referred to as each unit of the machine learning device 100.

[0044] The processor 910 is a device that executes a machine learning program. The machine learning program is a program that implements the functions of the machine learning device 100. The processor 910 is an IC that performs arithmetic processing. Specific examples of the processor 910 are a CPU, a DSP, and a GPU. IC is an abbreviation for Integrated Circuit. CPU is an abbreviation for Central Processing Unit. DSP is an abbreviation for Digital Signal Processor. GPU is an abbreviation for Graphics Processing Unit.

[0045] The memory 921 is a storage device that temporarily stores data. A specific example of the memory 921 is SRAM or DRAM. SRAM is an abbreviation for Static Random Access Memory. DRAM is an abbreviation for Dynamic Random Access Memory. The auxiliary storage device 922 is a storage device that stores data. A specific example of the auxiliary storage device 922 is an HDD. The auxiliary storage device 922 may be a portable storage medium such as an SD (registered trademark) memory card, CF, NAND flash, flexible disk, optical disk, compact disk, Blu-ray (registered trademark) disk, or DVD. HDD is an abbreviation for Hard Disk Drive. SD (registered trademark) is an abbreviation for Secure Digital. CF is an abbreviation for CompactFlash (registered trademark). DVD is an abbreviation for Digital Versatile Disk.

[0046] The input / output interface 930 is an interface for connecting an input / output device. As a specific example, the input / output interface 930 is a USB or HDMI (registered trademark) port. USB is an abbreviation for Universal Serial Bus. HDMI (registered trademark) is an abbreviation for High-Definition Multimedia Interface.

[0047] The communication interface 950 is an interface for communicating with an external device. As a specific example, the communication interface 950 is an Ethernet (registered trademark) port or a device that performs wireless communication.

[0048] The machine learning program is executed in the machine learning device 100. The machine learning program is read into the processor 910 and executed by the processor 910. The memory 921 stores not only the machine learning program but also an OS. OS is an abbreviation for Operating System. The processor 910 executes the machine learning program while executing the OS. The machine learning program and the OS may be stored in the auxiliary storage device 922. The machine learning program and the OS stored in the auxiliary storage device 922 are loaded into the memory 921 and executed by the processor 910. Note that part or all of the machine learning program may be incorporated into the OS.

[0049] The machine learning device 100 may include a plurality of processors that replace the processor 910. These multiple processors share the execution of the machine learning program. Each processor is a device that executes a machine learning program, similarly to the processor 910.

[0050] Data, information, signal values, and variable values used, processed, or output by the machine learning program are stored in the memory 921, the auxiliary storage device 922, or a register or cache memory within the processor 910.

[0051] The word "part" in "each part of the machine learning device 100" may be read as "circuit," "process," "procedure," "process," or "circuitry." The machine learning program causes the computer to execute each process of the machine learning device 100, where "part" is read as "process." The word "process" in each process of the machine learning device 100 may be read as "program," "program product," "computer-readable storage medium storing the program," or "computer-readable recording medium recording the program." Furthermore, the machine learning method is a method performed by the machine learning device 100 executing the machine learning program. The machine learning program may be provided stored on a computer-readable recording medium. The machine learning program may also be provided as a program product.

[0052] ***Other Configurations*** <Modification> In this embodiment, the functions of each part of the machine learning device 100 are implemented by software. As a modification, the functions of each part of the machine learning device 100 may be implemented by hardware. Specifically, the machine learning device 100 includes an electronic circuit 909 instead of a processor 910.

[0053] Figure 4 shows another example of the hardware configuration of a machine learning device 100 according to a modified example of this embodiment. The electronic circuit 909 is a dedicated electronic circuit that realizes the functions of each part of the machine learning device 100. Specifically, the electronic circuit 909 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA. GA is an abbreviation for Gate Array. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is an abbreviation for Field-Programmable Gate Array.

[0054] The functions of each part of the machine learning device 100 may be realized by a single electronic circuit, or they may be realized by distributing them across multiple electronic circuits.

[0055] As another variation, some functions of the machine learning device 100 may be implemented by electronic circuits, while the remaining functions are implemented by software. Alternatively, some or all functions of the machine learning device 100 may be implemented by firmware.

[0056] The processor and electronic circuit are also called processing circuits. In other words, the functions of each part of the machine learning device 100 are realized by processing circuits.

[0057] ***Explanation of the Effects of This Embodiment*** As described above, in the machine learning device according to this embodiment, not only the judgment result from the classification unit, but also the likelihood ratio judgment result generated based on the first loss of the reference model and the second loss of the target model are fed back to the generation unit and the classification unit. Therefore, the probability that the judgment result from the classification unit is genuine is increased, and machine learning can be performed in such a way that the probability that the judgment result from the likelihood ratio judgment unit is also genuine is increased. As a result, the machine learning device can output data that is determined to be private data and that is determined not to be used for training the target model. In other words, the target model is trained using only data that is determined to be private data and that is determined not to be used for training the target model. That is, the target model can be further trained using synthesized private data instead of real private data. More specifically, when creating synthesized data, the target model is trained on data that does not react to attacks that leak training data. Therefore, the target model can also be made resistant to attacks that leak training data. As described above, the machine learning device according to this embodiment can reduce the risk of training data leakage while suppressing the degradation of model performance.

[0058] Embodiment 2. This embodiment mainly describes the differences from Embodiment 1 and the additions to Embodiment 1. In this embodiment, components having the same function as in Embodiment 1 are denoted by the same reference numerals, and their descriptions are omitted.

[0059] In the above Embodiment 1, an embodiment was described that prevents the leakage of private data and does not degrade the performance of the model. In this embodiment, an embodiment is described that can determine whether the created synthetic data can be taken out without leaking private data.

[0060] ***Configuration Description*** Figure 5 shows an example of the functional configuration of the machine learning device 100 according to this embodiment. In addition to the configuration of Embodiment 1, a determination result display unit 18 is added between the likelihood ratio determination unit 15 and the loss calculation unit 16. The determination result display unit 18 displays the likelihood ratio determination result, allowing the user to determine whether the input data will leak private data. The rest of the configuration is the same as that of the machine learning device 100 in Embodiment 1, which is characterized by using the reference model 13, the target model 14, the likelihood ratio determination unit 15, and the feedback from the loss calculation unit 16 for parameter updates.

[0061] ***Description of Function*** In this embodiment, a determination result display unit 18 is added between the likelihood ratio determination unit 15 and the loss calculation unit 16. The determination result display unit 18 determines whether the input data will not leak private data based on the likelihood ratio determination result and displays whether the input data will not leak private data. The determination result display unit 18 can display text on a display, with a green light illuminating if the input data will not leak private data and a red light illuminating if the data will leak. Alternatively, a warning sound may be emitted when the data is determined to be leakable.

[0062] ***Explanation of Operation*** Figure 6 is a flowchart showing an example of operation of the machine learning device 100 according to this embodiment. In this embodiment, the operation is the same as in Embodiment 1, except for step S112 in which the determination result display unit 18 displays the determination result after step S109. If the likelihood ratio determination unit 15 determines in step S107 that private data will not be leaked, the determination result display unit 18 displays that there will be no leak in step S112. If the likelihood ratio determination unit 15 determines in step S107 that private data will be leaked, the determination result display unit 18 displays that there will be a leak in step S112.

[0063] ***Explanation of the effects of this embodiment*** As described above, the machine learning device according to this embodiment makes it possible to determine whether or not the training data will leak private data and to determine whether the training data can be used safely.

[0064] In Embodiments 1 and 2 described above, each part of the machine learning device was described as an independent functional block. However, the configuration of the machine learning device does not have to be as described in the embodiments above. The functional blocks of the machine learning device can be configured in any way as long as they can realize the functions described in the embodiments above. Also, the machine learning device does not have to be a single device, but a system composed of multiple devices. Furthermore, multiple parts of Embodiments 1 and 2 may be combined and implemented. Alternatively, only one part of these embodiments may be implemented. In addition, these embodiments may be combined and implemented in any way, either as a whole or in part. That is to say, in Embodiments 1 and 2, it is possible to freely combine each embodiment, modify any component of each embodiment, or omit any component in each embodiment.

[0065] The embodiments described above are essentially preferred examples and are not intended to limit the scope of the Disclosure, the scope of the Applications of the Disclosure, or the scope of Uses of the Disclosure. The embodiments described above can be modified in various ways as needed. For example, the procedures described using flowcharts or sequence diagrams may be modified as appropriate.

[0066] 11 Generation unit, 12 Classification unit, 13 Reference model, 14 Target model, 15 Likelihood ratio determination unit, 16 Loss calculation unit, 17 Private data database, 18 Judgment result display unit, 19 Learning unit, 100 Machine learning device, 80 Signal line, 909 Electronic circuit, 910 Processor, 921 Memory, 922 Auxiliary storage device, 930 Input / Output interface, 950 Communication interface.

Claims

1. A machine learning device for performing adversarial training of a target model, which is a machine learning model, comprising: a generation unit that performs a generation process to output synthetic data that mimics private data indicating data containing private information; a classification unit that receives the synthetic data or the private data as input and performs a classification process to output a determination result of whether or not the input data is the private data as a classification determination result; a likelihood ratio determination unit that obtains a first loss indicating an index when a reference model, which is a machine learning model obtained by machine learning using data that does not contain the private data, predicts output data from the synthetic data, and a second loss indicating an index when the target model predicts output data from the synthetic data, and performs a likelihood ratio determination using the first loss and the second loss to output a likelihood ratio determination result; and a loss calculation unit that calculates a loss used for training the generation process and the classification process using the classification determination result and the likelihood ratio determination result.

2. The machine learning apparatus according to claim 1, wherein the loss calculation unit feeds back the loss used for training the generation process and the classification process to the generation process and the classification process until it is determined that the synthesized data has never been used as training data for the target model and is private data.

3. The machine learning apparatus according to claim 1 or claim 2, further comprising a determination result display unit for displaying the likelihood ratio determination result.

4. The machine learning device according to claim 3, wherein the determination result display unit determines, based on the likelihood ratio determination result, whether or not the input data is data that does not leak private data, and displays whether or not the input data is data that does not leak private data.

5. A machine learning method used in a machine learning device that performs adversarial training of a target model, which is a machine learning model, comprising: a generator that outputs synthetic data that mimics private data indicating data containing private information; a classifier that receives the synthetic data or the private data as input and outputs a classification determination result indicating whether or not the input data is the private data; a computer that obtains a first loss indicating an index of when a reference model, which is a machine learning model obtained by machine learning using data that does not contain the private data, predicts output data from the synthetic data, and a second loss indicating an index of when the target model predicts output data from the synthetic data, performs a likelihood ratio determination using the first loss and the second loss and outputs a likelihood ratio determination result; and a computer that calculates a loss used to train the generator and the classifier using the classification determination result and the likelihood ratio determination result.

6. A machine learning program used in a machine learning device that performs adversarial training of a target model, which is a machine learning model, the program causes the machine learning device, which is a computer, to execute the following: generation process which outputs synthetic data that mimics private data indicating data containing private information; classification process which takes the synthetic data or the private data as input and outputs a determination result as a classification determination result whether or not the input data is the private data; likelihood ratio determination process which obtains a first loss indicating an index when a reference model, which is a machine learning model obtained by machine learning using data that does not contain the private data, predicts output data from the synthetic data, and a second loss indicating an index when the target model predicts output data from the synthetic data, and performs a likelihood ratio determination using the first loss and the second loss and outputs a likelihood ratio determination result; and loss calculation process which calculates a loss used for training the generation process and the classification process using the classification determination result and the likelihood ratio determination result.