Data extension program, data extension method, and information processing apparatus

The data expansion method using generative models enhances dataset availability for machine learning models, enabling accurate estimation of protected attributes while addressing ethical constraints and overfitting.

JP2024154237APending Publication Date: 2024-10-30FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023067967
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-10-30

AI Technical Summary

Technical Problem

There is a lack of datasets for training machine learning models, particularly for estimating protected attributes, which can lead to incomplete data expansion and overfitting, and conventional methods fail to accurately estimate protected attributes due to legal and ethical constraints.

Method used

A data expansion method using generative models to generate images and text from initial data, extracting additional attributes from captions, and expanding the dataset by incorporating these attributes to train a machine learning model that estimates protected attributes.

Benefits of technology

The method effectively expands the dataset, allowing for accurate estimation of protected attributes while preventing overfitting and ensuring fairness without requiring actual protected attributes, using available known data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154237000001_ABST
    Figure 2024154237000001_ABST
Patent Text Reader

Abstract

To extend a data set for use in training a machine-learning model for use in estimating a protection attribute.SOLUTION: An information processing apparatus according to the present invention acquires an image by inputting, to a first generation model, a first text including attribute values of a plurality of attributes included in first data of a plurality of data. The information processing apparatus acquires a second text by inputting the image to a second generation model. The information processing apparatus selects an attribute value of another attribute different from the plurality of attributes from the second text. The information processing apparatus expands the plurality of data by adding the attribute value of another attribute to the first data.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data augmentation program, a data augmentation method, and an information processing device for expanding a dataset for training a machine learning model. [Background technology]

[0002] There are cases where a dataset for training a machine learning model is insufficient to begin with, or where some part of the dataset is unavailable due to some constraint. For example, among attributes that affect the output results of a machine learning model, attributes that require sensitive handling may be useful for correcting the output results, but may not be directly usable due to legal and ethical risks. In the following explanation, attributes that require sensitive handling are referred to as "protected attributes."

[0003] In conventional technology, in order to avoid directly using the protected attributes, a machine learning model is trained to estimate the protected attributes from attributes other than the protected attributes of the published dataset, and the protected attributes are indirectly estimated using the trained machine learning model. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] Radford, A. et al., Learning Transferable Visual Models From Natural Language Supervision, in proceedings of ICML (2021) [Non-Patent Document 2] Awasthi, P. et al., Evaluating Fairness of Machine Learning Models Under Uncertain and Incomplete Information, in proceedings of FAccT (2021) [Non-Patent Document 3] Brown, DP et al., Using Bayesian Imputation to Assess Racial and Ethnic Disparities in Pediatric Performance Measures, Health Services Research (2015) Summary of the Invention [Problem to be solved by the invention]

[0005] However, since the attributes of the actual operational data are varied, it may not be possible to estimate the protection attributes using a trained machine learning model as in the conventional technology. For example, when the machine learning model estimates the protection attributes based on the attributes A and B, if the actual operational data does not contain the attributes A and B, the protection attributes cannot be estimated.

[0006] In addition, conventional techniques train machine learning models to estimate protection attributes within the range of attributes included in the dataset, so when there are few original attributes, they can overfit a particular attribute or fail to generalize.

[0007] For this reason, it is preferable to expand the dataset for training machine learning models that estimate protection attributes.

[0008] In one aspect, an object of the present invention is to provide a data augmentation program, a data augmentation method, and an information processing device that can expand a dataset for training a machine learning model that estimates protection attributes. [Means for solving the problem]

[0009] In the first proposal, the computer is caused to execute the following process: The computer obtains an image by inputting a first text including attribute values ​​of a plurality of attributes included in a first data among a plurality of data to a first generative model; The computer obtains a second text by inputting the image to a second generative model; The computer selects attribute values ​​of other attributes different from the plurality of attributes from the second text; The computer augments the plurality of data by adding the attribute values ​​of the other attributes to the first data. Effect of the Invention

[0010] The dataset for training the machine learning model to estimate the protection attributes can be expanded. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram (1) for explaining the data expansion process when the actual operational data is unknown. [Diagram 2] FIG. 2 is a diagram (2) for explaining the data expansion process when the actual operational data is unknown. [Diagram 3] FIG. 3 is a diagram (1) for explaining the data expansion process when the actual operation data is known. [Figure 4] FIG. 4 is a diagram (2) for explaining the data expansion process when the actual operation data is known. [Diagram 5] FIG. 5 is a functional block diagram illustrating a configuration of an information processing device according to the present embodiment. [Figure 6] FIG. 6 is a diagram illustrating an example of a data structure of the appearance rate table. [Figure 7] FIG. 7 is a flowchart of a process performed by the extraction unit according to the present embodiment. [Figure 8] FIG. 8 is a diagram for explaining the process of the extension unit according to the present embodiment. [Figure 9] FIG. 9 is a flowchart (1) showing the processing procedure of the extension unit according to the present embodiment. [Figure 10]FIG. 10 is a flowchart (2) showing the processing procedure of the extension unit according to the present embodiment. [Figure 11] FIG. 11 is a flowchart of a process performed by the matching unit according to the present embodiment. [Figure 12] FIG. 12 is a flowchart illustrating another processing procedure of the matching unit according to the present embodiment. [Figure 13] FIG. 13 is a flowchart illustrating a processing procedure of the information processing device according to the present embodiment. [Figure 14] FIG. 14 is a diagram for explaining other processes of the extension unit according to the present embodiment. [Figure 15] FIG. 15 is a flowchart illustrating another processing procedure of the extension unit according to the present embodiment. [Figure 16] FIG. 16 is a diagram illustrating an example of a hardware configuration of a computer that realizes the same functions as the information processing apparatus of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, a data expansion program, a data expansion method, and an information processing device disclosed in the present application will be described in detail with reference to the accompanying drawings. Note that the present invention is not limited to the embodiments. EXAMPLES

[0013] An example of data extension processing executed by an information processing device according to this embodiment will be described. In the following description, the information processing device according to this embodiment will be referred to as "information processing device 100". A data set published on a network or the like will be referred to as "initial table data". A data set used during actual operation will be referred to as "actual operation data". A plurality of attributes and attribute values ​​for each attribute are set in the initial table data and the actual operation data.

[0014] First, the data extension process executed by the information processing device 100 will be described in terms of the case where the actual operation data is unknown, and then the data extension process in the case where the actual operation data is known.

[0015] 1 and 2 are diagrams for explaining data expansion processing when actual operation data is unknown. FIG. 1 will be explained. The information processing device 100 uses initial table data 141a as a published data set. The initial table data 141a includes item number, gender, race, age, region, and occupation. The item number is a number that identifies each record of the initial table data 141a. Gender, race, age, region, and occupation are attributes. In the explanation of FIGS. 1 and 2, the gender attribute is considered to be a protected attribute.

[0016] Corresponding to the record with item number “1” in the initial table data 141a, the attribute value of gender is “Female”, the attribute value of race is “Asian”, the attribute value of age is “38”, the attribute value of region is “A”, and the attribute value of occupation is “Researcher”.

[0017] The attribute value of gender corresponding to the record with item number "2" in the initial table data 141a is "Male", the attribute value of race is "Black", the attribute value of age is "50", the attribute value of region is "B", and the attribute value of occupation is "Office Worker". The attribute value of gender corresponding to the record with item number "3" is "Female", the attribute value of race is "White", the attribute value of age is "65", the attribute value of region is "C", and the attribute value of occupation is "Freelancer".

[0018] The information processing device 100 generates text that partially expresses an object from attribute values ​​of attributes in the initial table data 141a. In the following description, text that is generated from attribute values ​​of attributes and that partially expresses an object is referred to as a "query." For example, the information processing device generates a query q1 based on the attribute values ​​of each attribute included in the record with item number "1." As shown in FIG. 1, the query q1 includes "A 38-years-old Asian female researcher who lives in A."

[0019] We now move on to the description of FIG. 2. The information processing device 100 uses generation models M1 and M2. The generation model M1 is a model that receives text as input and outputs an image. The generation model M2 is a model that receives an image as input and outputs text. The generation models M1 and M1 are NNs (Neural Networks) or the like. The generation models M1 and M2 are pre-trained models.

[0020] The information processing device 100 generates an image Im1 by inputting the query q1 to the generative model M1. For example, the image Im1 is a face image of a person indicated by the query q1.

[0021] The information processing device 100 generates a caption c1 by inputting an image Im1 to a generative model M2. The caption c1 is text that expresses the image Im1. For example, the caption c1 includes "An Asian female with wavy hair. She is about 30 years old. She is preparing measurement device in a laboratory."

[0022] The information processing device 100 analyzes the caption c1 to identify the relationship between the attribute and the attribute value. The information processing device 100 repeatedly executes the above process for the records with item numbers "1" and onward shown in FIG. 1 to identify the relationship between the attribute and the attribute value. The information processing device 100 sets the appearance rate of each attribute identified from each caption in the appearance rate table 143.

[0023] The information processing device 100 identifies attributes included in the initial table data 141a from among the attributes identified from each caption. The information processing device 100 registers the relationship between the identified attribute and the attribute value of this attribute in the extended table data 144a.

[0024] Furthermore, the information processing device 100 identifies attributes that are not included in the initial table data 141a and have an appearance rate equal to or higher than a threshold, among the attributes identified from each caption, based on the appearance rate table 143. The information processing device 100 registers the relationship between the identified attribute and the attribute value of this attribute in the extended table data 144a.

[0025] The information processing device 100 executes the processes described in FIG. 1 and FIG. 2, and thereby an attribute value of each attribute is set in the extended table data 144a. In the example shown in FIG. 2, the extended table data 144a registers gender, race, age, region, occupation, and hairstyle as attributes. For example, the attribute value of gender is "Female", the attribute value of race is "Asian", the attribute value of age is "38", the attribute value of region is "A", the attribute value of occupation is "Researcher", and the attribute value of hairstyle is "Wavy hair". The attributes of the extended table data 144a are data in which the attribute of hairstyle is added to the attributes of the initial table data 141a.

[0026] The extended table data 144a is used as a training data set when training a machine learning model that estimates a protected attribute. For example, if the protected attribute is "gender", the input data when training the machine learning model are attribute values ​​of "race", "age", "area", "occupation", and "hairstyle", and the correct answer label is the attribute value of "gender".

[0027] 1, the extended table data 144a includes hairstyle, which is not included in the attributes of the initial table data 141a. That is, according to the information processing device 100, it is possible to extend the data set for training a machine learning model that estimates the protection attributes.

[0028] Next, the data extension process when the actual operation data is known will be described. Figures 3 and 4 are diagrams for explaining the data extension process when the actual operation data is known.

[0029] Fig. 3 will be described. The information processing device 100 uses initial table data 141b as a published data set. The initial table data 141b includes an item number, gender, age, and region. The item number is a number that identifies each record of the initial table data 141b. Gender, race, age, and region are attributes. In the description of Figs. 3 and 4, the gender attribute is considered to be a protected attribute.

[0030] 3, for the initial table data 141b, the attribute value of gender corresponding to the record with the item number "1" is "Female", the attribute value of age is "38", and the attribute value of region is "A". The attribute value of gender corresponding to the record with the item number "2" is "Male", the attribute value of age is "50", and the attribute value of region is "B". The attribute value of gender corresponding to the record with the item number "3" is "Female", the attribute value of age is "65", and the attribute value of region is "C".

[0031] The information processing device 100 uses actual operation data 142 as a data set to be actually operated. The actual operation data 142 includes item number, race, age, region, and occupation. The item number is a number that identifies each record of the actual operation data 142. Race, age, region, and occupation are attributes. It is assumed that the attributes of the actual operation data 142 do not include the protected attribute "gender."

[0032] In the example shown in FIG. 3, for the actual operation data 142, the attribute value for race corresponding to the record with item number “1” is “Asian”, the attribute value for age is “36”, the attribute value for region is “D”, and the attribute value for occupation is “Researcher”.

[0033] The attribute value of race corresponding to the record with the item number "2" is "Black", the attribute value of age is "42", the attribute value of region is "B", and the attribute value of occupation is "Office Worker". The attribute value of race corresponding to the record with the item number "3" is "Black", the attribute value of age is "46", the attribute value of region is "E", and the attribute value of occupation is "Freelancer".

[0034] The information processing device 100 generates a query q2 that partially expresses the target from the attribute values ​​of the attributes of the initial table data 141b. The query q2 includes "A 38-years-old Asian female researcher who lives in A."

[0035] We now move on to the description of Fig. 4. The information processing device 100 uses generative models M1 and M2. The description of the generative models M1 and M2 is the same as that of Fig. 2.

[0036] The information processing device 100 generates an image Im2 by inputting the query q2 to the generative model M1. For example, the image Im2 is a face image of a person indicated by the query q2.

[0037] The information processing device 100 generates a caption c2 by inputting an image Im2 to a generative model M2. The caption c2 is text that expresses the image Im2. For example, the caption c2 includes "An Asian female with wavy hair. She is about 30 years old. She is preparing measurement device in a laboratory."

[0038] The information processing device 100 identifies the relationship between the attribute and the attribute value by analyzing the caption c2. The information processing device 100 identifies the relationship between the attribute and the attribute value by repeatedly executing the above process for records from item number "1" onward in the initial table data 141b shown in FIG. 3. The information processing device 100 sets the appearance rate of each attribute identified from each caption in the appearance rate table 143.

[0039] The information processing device 100 identifies, from the attributes identified from each caption, attributes included in the initial table data 141a and the actual operation data 142. The information processing device 100 registers the relationship between the identified attribute and the attribute value of this attribute in the extended table data 144b.

[0040] Furthermore, the information processing device 100 identifies attributes that are not included in the initial table data 141a or the actual operation data 142 and have an appearance rate equal to or higher than a threshold, among the attributes identified from each caption, based on the appearance rate table 143. The information processing device 100 registers the relationship between the identified attribute and the attribute value of this attribute in the extended table data 144b.

[0041] 3 and 4, the information processing device 100 sets an attribute value of each attribute in the extended table data 144b. In the example shown in Fig. 4, the extended table data 144b registers gender, race, age, region, occupation, and hairstyle as attributes. For example, the attribute value of gender is "Female", the attribute value of race is "Asian", the attribute value of age is "38", the attribute value of region is "A", the attribute value of occupation is "Researcher", and the attribute value of hairstyle is "Wavy hair".

[0042] The extended table data 144b is used as training data when training a machine learning model that estimates a protected attribute. For example, if the protected attribute is "gender", the input data when training the machine learning model are attribute values ​​of "race", "age", "area", "occupation", and "hairstyle", and the correct label is the attribute value of "gender".

[0043] Compared with the attributes of the actual operation data 142 in FIG. 3, the extended table data 144b includes gender, age, region, and hairstyle, which are not included in the attributes of the actual operation data 142. That is, according to the information processing device 100, it is possible to expand a data set for training a machine learning model that estimates a protected attribute. In addition, since the types of attributes are increased, it is possible to prevent overlearning for a specific attribute when training a machine learning model. In addition, it is possible to correct fairness by using available known data without requiring protected attributes for unknown input data.

[0044] 2 and 4, the case where the appearance rate of the attribute identified from each caption is set in the appearance rate table 143 has been described, but the information processing device 100 may register the number of appearances instead of the appearance rate and perform processing. In this case, the information processing device 100 identifies, from the attributes identified from each caption, an attribute that is not included in the initial table data 141a or the actual operation data 142 and has an appearance rate equal to or greater than a threshold, based on the appearance rate table 143. The information processing device 100 registers the relationship between the identified attribute and the attribute value of this attribute in the extended table data 144b.

[0045] Next, a configuration example of the information processing device 100 that executes the above-mentioned data extension process will be described. Fig. 5 is a functional block diagram showing the configuration of the information processing device according to this embodiment. As shown in Fig. 5, the information processing device has a communication unit 110, an input unit 120, a display unit 130, a storage unit 140, and a control unit 150.

[0046] The communication unit 110 executes data communication with an external device, etc., via a network. For example, the information processing device 100 may acquire the generative models M1 and M2, the initial table data 141, and the actual operation data 142 via the communication unit 110.

[0047] The input unit 120 inputs various information to the control unit 150 of the information processing device 100. A user may operate the input unit 120 to input actual operation data 142 and the like.

[0048] The display unit 130 displays information output from the control unit 150 .

[0049] The storage unit 140 includes generative models M1 and M2, an estimation model M3, initial table data 141, actual operation data 142, an appearance rate table 143, and extended table data 144.

[0050] The generative model M1 is a model that receives text such as a query as input and outputs an image. The generative model M1 is a NN or the like.

[0051] The generative model M2 is a model that takes an image as input and outputs text. The generative model M2 is a NN or the like. The text output by the generative model M2 is the caption described in FIG. 2 and FIG. 4.

[0052] The estimation model M3 is a model that receives attribute values ​​of attributes other than the protection attribute as input and outputs the attribute value of the protection attribute. The estimation model M3 is a NN or the like.

[0053] The initial table data 141 is a data set published on a network, in which a plurality of attributes and attribute values ​​corresponding to the attributes are registered. For example, the initial table data 141 corresponds to the initial table data 141a shown in Fig. 1 and the initial table data 141b shown in Fig. 3.

[0054] The actual operation data 142 is a data set used during operation, and a plurality of attributes and attribute values ​​corresponding to the attributes are registered. For example, the actual operation data set corresponds to the actual operation data 142 shown in FIG.

[0055] The appearance rate table 143 is a table that holds information about the appearance rate of attributes extracted from multiple captions. Fig. 6 is a diagram showing an example of the data structure of the appearance rate table. As shown in Fig. 6, this appearance rate table 143 associates attributes with appearance rates.

[0056] The relationship between the attribute and the attribute value identified by executing the above-mentioned data extension process by the information processing device 100 is registered in the extension table data 144. For example, the extension table data 144 corresponds to the extension table data 144a shown in Fig. 2 and the extension table data 144b shown in Fig. 4.

[0057] The control unit 150 includes an extraction unit 151 , an expansion unit 152 , a matching unit 153 , and a training unit 154 .

[0058] The extraction unit 151 generates a query including an attribute value based on the attribute value of each attribute included in the initial table data 141. The extraction unit 151 generates a face image by inputting the generated query to the generative model M1.

[0059] The extraction unit 151 may execute face detection on the face image, and if the face detection accuracy deteriorates, may change the type of attribute used when generating the query. For example, the extraction unit 151 may input the face image to a trained face detection model, calculate a face-likeness score, and determine that the face detection accuracy has deteriorated if the calculated score is equal to or less than a predetermined score.

[0060] Here, an example of the processing procedure of the extraction unit 151 will be described. FIG. 7 is a flowchart showing the processing procedure of the extraction unit according to the present embodiment. As shown in FIG. 7, the extraction unit 151 of the information processing device 100 extracts attributes (attributes: x1, . . . , x n ) (step S101). The extraction unit 151 sets i to 1 (step S102). The extraction unit 151 obtains S attrA is set to empty (step S103).

[0061] The extraction unit 151 is attrA ∪x i " by S attrA (step S104). The extraction unit 151 updates S attrA A query is generated based on the above (step S105).

[0062] The extraction unit 151 inputs a query to the generative model M1 and extracts S attrA A facial image expressing the facial expression is generated (step S106). The extraction unit 151 detects a face from the facial image (step S107).

[0063] When the face detection accuracy for the face image is deteriorated (step S108, Yes), the extraction unit 151 attrA x jAdd it (step S109) and proceed to step S105. However, it is assumed that the condition j < i is satisfied. This process corresponds to removing xi added in S104.

[0064] On the other hand, if the face detection accuracy for the face image has not deteriorated (step S108, No), the extraction unit 151 updates i to i + 1 (step S110).

[0065] If the extraction unit 151 satisfies the condition i ≤ n (step S111, Yes), it proceeds to step S105. On the other hand, if the extraction unit 151 does not satisfy the condition i ≤ n (step S111, No), the process ends.

[0066] By the extraction unit 151 executing the process shown in FIG. 7, the attribute word set S attrA and the face image set representing S attrA are generated. The attribute word set S attrA is an attribute included in the initial table data 141 and includes attributes for which the face detection accuracy for the face image does not deteriorate. The extraction unit 151 outputs the data of the face image set representing S attrA to the expansion unit 152. The extraction unit 151 outputs the data of the attribute word set S attrA to the matching unit 153.

[0067] Note that the extraction unit 151 may set the attribute values of the attributes included in the attribute word set S attrA in association with the attribute word set S attrA , or may store the relationship between the attribute and the attribute value in the storage unit 140.

[0068] Returning to the description of FIG. 5. The expansion unit 152 generates a plurality of captions (texts) by inputting each face image included in the face image set representing S attrA to the generation model M2. The expansion unit 152 extracts attributes by analyzing the plurality of captions, and all the extracted attributes are added to the attribute word set S attrBThe extension unit 152 executes a morphological analysis on the caption to obtain information on words and parts of speech included in the caption and extracts attributes.

[0069] The expansion unit 152 may extract the attributes of the words using dictionary information that defines the relationship between the words and the attributes. A series of multiple words may correspond to one attribute. The expansion unit 152 specifies the occurrence rate of each attribute and generates the occurrence rate table 143.

[0070] Fig. 8 is a diagram for explaining the processing of the extension unit according to the present embodiment. In the example shown in Fig. 8, the extension unit 152 generates a caption c1-1 by inputting a face image img1 to a generative model M2. The extension unit 152 extracts word attributes by executing a morphological analysis on the caption c1-1, and generates an attribute word set A1.

[0071] The attribute word set A1 includes the attribute "race" corresponding to "Asian", the attribute "hair style" corresponding to "wavy hair", the attribute "age" corresponding to "30 years old", and the attribute "occupation" corresponding to "preparing measurement device in a laboratory". The extension unit 152 adds all the attributes included in the attribute word set A1 to the attribute word set S attrB Register for.

[0072] Next, the extension unit 152 generates a caption c1-2 by inputting the face image img2 to the generative model M2. The extension unit 152 executes a morphological analysis on the caption c1-2 to extract attributes of words and generate an attribute word set A2.

[0073] The attribute word set A2 includes the attributes "age" corresponding to "25-years-old", "race" corresponding to "black", "gender" corresponding to "male", and "occupation" corresponding to "talking with his customer at a meeting". The extension unit 152 selects attributes from the attribute word set S attrB The attribute "gender" that is not registered in attrB Add to registration.

[0074] For example, the expansion unit 152 repeatedly executes the above process for the facial images img3 to img5 to obtain the attribute word set S attrB 8. The extension unit 152 also generates an appearance rate table 143 based on the attribute extraction result. For example, in the appearance rate table 143 of FIG. 8, the appearance rate of the attribute "hair style" is "1 / 5". This means that the attribute "hair style" appears in one of the five captions generated by inputting the face images img1 to img5 to the generation model M2.

[0075] Here, an example of the processing procedure of the extension unit 152 will be described. Fig. 9 and Fig. 10 are flowcharts showing the processing procedure of the extension unit according to this embodiment. Note that "T" shown in Fig. 9 and Fig. 10 corresponds to the appearance rate table 143. b set in T indicates an attribute, and c indicates an appearance rate.

[0076] First, FIG. 9 will be described. The extension unit 152 of the information processing device 100 is attrA A set of face images expressing the above expression is acquired (Step S201). The expansion unit 152 sets i to 0 (Step S202).

[0077] The extension unit 152 sets the number of samples of the face image to n (step S203). k (Step S204). The extension unit 152 sets img kInput it into the generation model M2 to generate a caption (step S205).

[0078] The extension part 152 executes text analysis on the caption and extracts m sets of attribute words A i (step S206). The extension part 152 prepares a data structure such that T = {(b, c)|b ∈ S attrB , 0 < c ≤ 1} (step S207) and proceeds to step S208 in FIG. 10.

[0079] Proceed to the description of FIG. 10. The extension part 152 sets 0 for j (step S208). The extension part 152, when b j (∈ A i ) is included in S attrB (step S209, Yes), for c = T(b j ) (where c = T(bj) is the value of c corresponding to bj in T), sets (c + 1) / n for c (step S210) and proceeds to step S212.

[0080] On the other hand, when b j (∈ A i ) is not included in S attrB (step S209, No), newly adds (b j , 1) to T (step S211) and proceeds to step S212.

[0081] The extension part 152 adds 1 to j (step S212). When the condition j < m is satisfied (step S213, Yes), the extension part 152 proceeds to step S209. On the other hand, when the condition j < m is not satisfied (step S213, No), it updates S i with "A attrB ∪ S attrB " (step S214).

[0082] The extension unit 152 adds 1 to i (step S215). If the extension unit 152 satisfies the condition i < n (step S216, Yes), it proceeds to step 202 in FIG. 9. On the other hand, if the extension unit 152 does not satisfy the condition i < n (step S216, No), the process ends.

[0083] By the extension unit 152 executing the processes shown in FIGS. 9 and 10, an attribute word set S attrB and an occurrence rate table 143 (occurrence rate table T) are generated. The extension unit 152 outputs the data of the attribute word set S attrB to the matching unit 153. Note that the extension unit 152 may set the attribute values of the attributes included in the attribute word set S attrB in association with the attribute word set S attrB or may store the relationship between the attributes and the attribute values in the storage unit 140.

[0084] Returning to the description of FIG. 5. The matching unit 153 generates extended table data 144 based on the attribute word set S attrA the attribute word set S attrB and the occurrence rate table 143 (occurrence rate table T). For example, the matching unit 153 generates a set S of the attribute word set S attrA and the attribute word set S attrB and identifies the attributes included in the set S that are included in the initial table data 141 or the actual operation data 142. The matching unit 153 sets the relationship between the identified attributes and the attribute values in the extended table data 144.

[0085] Also, the matching unit 153 identifies, based on the occurrence rate table 143, the attributes among the attributes included in the set S whose occurrence rate is equal to or greater than the threshold value. The matching unit sets the relationship between the identified attributes and the attribute values in the extended table data 144. For example, it is assumed that the data of the attribute values corresponding to each attribute is stored in the storage unit 140.

[0086] Here, an example of the processing procedure of the matching unit 153 will be described. FIG. 11 is a flowchart showing the processing procedure of the matching unit according to the present embodiment. Note that "S'" shown in FIG. 11 corresponds to the extended table data 144.

[0087] As shown in FIG. 11, the matching unit 153 acquires the attribute word sets S attrA and S attrB (step S301). The matching unit 153 sets s i ∈S attrA ∪S attrB under the condition of "s i ∈S attrA ∪S attrB , n(s) = L'" in S (step S302). Here, L' in step S302 is the number of attributes included in S.

[0088] The matching unit 153 sets S' to empty (step S303). The matching unit 153 sets i to 1 (step S304). If s i is included in the initial table data 141 or the actual operation data 142 (step S305, Yes), the process proceeds to step S306. The matching unit 153 updates S' by "s i ∪S'" (step S306).

[0089] The matching unit 153 adds 1 to i (step S307). If the condition i < L' is satisfied (step S308, Yes), the process proceeds to step S304. On the other hand, if the condition i < L' is not satisfied (step S308, No), the process ends.

[0090] By the way, if the matching unit 153 does not satisfy the condition of step S305 (step S305, No), the process proceeds to step S309. If the appearance rate table 143 cannot be used (step S309, No), the process proceeds to step S307.

[0091] On the other hand, if the occurrence rate table 143 is available (Yes in step S309), the matching unit 153 proceeds to step S310. i If the appearance rate of s is equal to or greater than the threshold (Yes at step S310), the process proceeds to step S306. i If the appearance rate is not equal to or greater than the threshold (step S310, No), the process proceeds to step S307.

[0092] The processing procedure of the matching unit 153 is not limited to the processing procedure described in Fig. 11. For example, in addition to the above processing, the matching unit 153 sets, in the extension table data 144, attributes that are included only in the actual operation data 142, among the attributes included in the set S. The matching unit 153 may execute the processing procedure shown in Fig. 12. Fig. 12 is a flowchart showing other processing procedures of the matching unit according to this embodiment.

[0093] As shown in FIG. 12, the matching unit 153 uses an attribute word set S attrA , S attrB (Step S401). The matching unit 153 obtains "s i ∈S attrA ∪S attrB , n(s)=L', S is assigned s i (Step S402). L' in step S402 is the number of attributes included in S. The matching unit 153 sets S' to empty (Step S403).

[0094] The matching unit 153 sets i to 1 (step S404). i If "s" is included in the initial table data 141 or the actual operation data 142 (Yes in step S405), the process proceeds to step S406. i S' is updated by ∪S' (step S406).

[0095] The matching unit 153 adds 1 to i (step S407). If the matching unit 153 satisfies the condition i < L’ (step S408, Yes), it proceeds to step S404. On the other hand, if the matching unit 153 does not satisfy the condition i < L’ (step S408, No), the process ends.

[0096] Incidentally, if the matching unit 153 does not satisfy the condition of step S405 (step S405, No), it proceeds to step S409. If the matching unit 153 can utilize the appearance rate table 143 (step S409, Yes), it proceeds to step S410. When the appearance rate of s i is equal to or higher than the threshold value (step S410, Yes), it proceeds to step S406. When the appearance rate of s i is not equal to or higher than the threshold value (step S410, No), it proceeds to step S407.

[0097] Incidentally, if the matching unit 153 does not satisfy the condition of step S409 (step S409, No), it proceeds to step S411. If s i is included only in the actual operation data 142 (step S411, Yes), it proceeds to step S406. On the other hand, if s i is not included only in the actual operation data 142 (step S411, No), it proceeds to step S407.

[0098] Return to the description of FIG. 5. The training unit 154 trains the estimation model using the information stored in the extended table data 144. For example, the training unit 154 uses, as input data, the attribute values of attributes other than the protection attribute among the attributes included in the extended table data 144, uses the attribute value of the protection attribute as the correct label, and trains the estimation model M3 based on the error backpropagation method.

[0099] Next, an example of a processing procedure of the information processing device 100 according to the present embodiment will be described. Fig. 13 is a flowchart showing the processing procedure of the information processing device according to the present embodiment. As shown in Fig. 13, the extraction unit 151 of the information processing device 100 executes an attribute set extraction process (step S501). The attribute set extraction process of step S501 corresponds to the process executed by the extraction unit 151 described in Fig. 7.

[0100] The extension unit 152 of the information processing device 100 executes an attribute set extension process (step S502). The attribute set extension process in step S502 corresponds to the process executed by the extension unit 152 described with reference to FIGS.

[0101] The matching unit 153 of the information processing device 100 executes a matching process (step S503). The matching process in step S503 corresponds to the process of the matching unit 153 described with reference to FIG.

[0102] Next, the effect of the information processing device 100 according to the present embodiment will be described. The information processing device 100 generates an image by inputting a query including attribute values ​​of a plurality of attributes included in the initial table data 141 to the generative model M1, and generates a caption by inputting the generated image to the generative model M2. The information processing device 100 can perform data extension by selecting an attribute value of an attribute different from the attribute included in the initial table data 141 from the caption and adding the attribute value of the selected attribute to the initial table data 141.

[0103] The information processing device 100 generates a plurality of images by repeatedly executing a process of inputting a plurality of queries to a generative model M1, and generates a plurality of captions by repeatedly executing a process of inputting the plurality of images to a generative model M2. The information processing device 100 selects an attribute value of an attribute other than the attribute included in the initial table data 141 based on the appearance rate of the attribute detected from the plurality of captions, and adds the attribute value of the selected attribute to the initial table data 141. This enables data expansion using a more optimal attribute value.

[0104] The information processing device 100 can perform data expansion by selecting an attribute value of an attribute from the caption that is different from the attributes contained in the initial table data 141 and the operational data 142, and adding the attribute value of the selected attribute to the initial table data 141.

[0105] Furthermore, the information processing device 100 uses the attribute values ​​of attributes other than the protected attributes among the attributes included in the extended table data 144 as input data, uses the attribute values ​​of the protected attributes as correct labels, and trains the estimation model M3 based on the backpropagation method. This makes it possible to generate an estimation model M3 capable of estimating the protected attributes with high accuracy. For example, the extended table data 144 has more types of attributes compared to the initial table data 141 and the actual operation data 142, so that when training the estimation model M3, overlearning of a specific attribute can be suppressed. Furthermore, by using available known data, fairness can be corrected without requiring protected attributes for unknown input data.

[0106] Furthermore, the information processing device 100 can execute other processes by using the estimated protected attributes. For example, the information processing device 100 may train an estimation model that estimates attributes other than the protected attributes using attribute values ​​of multiple attributes including the estimated protected attributes as input, and use the estimation model.

[0107] Incidentally, the above-described processing of the information processing device 100 is just an example, and the information processing device 100 may execute other processing. Other processing of the extension unit 152 and other processing of the matching unit 153 will be described below in that order.

[0108] For example, as described in FIG. 8, the expansion unit 152 adds all the attributes identified from each caption to the attribute word set S attrB However, the present invention is not limited to this. The extension unit 152 registers attributes that are identified from each caption and are common to each caption in an attribute word set S attrBYou may register at .

[0109] Fig. 14 is a diagram for explaining other processing of the extension unit according to the present embodiment. As shown in Fig. 14, a face image img1 is input to a generative model M2 to generate a caption c1-1. The extension unit 152 executes a morphological analysis on the caption c1-1 to extract attributes of words and generate an attribute word set A1.

[0110] The attribute word set A1 includes the attribute "race" corresponding to "Asian", the attribute "hair style" corresponding to "wavy hair", the attribute "age" corresponding to "30 years old", and the attribute "occupation" corresponding to "preparing measurement device in a laboratory".

[0111] Next, the extension unit 152 generates a caption c1-2 by inputting the face image img2 to the generative model M2. The extension unit 152 executes a morphological analysis on the caption c1-2 to extract attributes of words and generate an attribute word set A2.

[0112] The attribute word set A2 includes the attributes "age" corresponding to "25-years-old", "race" corresponding to "black", "gender" corresponding to "male", and "occupation" corresponding to "talking with his customer at a meeting".

[0113] The extension unit 152 adds the attributes “race”, “age”, and “occupation” common to the attribute word set A1 and the attribute word set A2 to the attribute word set S attrB In the example shown in FIG. 14, the facial image img1 and the facial image img2 are used for explanation. However, when other facial images exist, the extension unit 152 adds attributes common to each attribute set obtained from the captions of each facial image to the attribute word set S. attrB Register for.

[0114] FIG. 15 is a flowchart showing other processing procedures of the extension unit according to the present embodiment. As shown in FIG. 15, the extension unit 152 of the information processing apparatus 100 obtains a set of face images representing S attrA (step S601). The extension unit 152 sets 0 to i (step S602).

[0115] The extension unit 152 sets the number of face image samples to n (step S603). The extension unit 152 sets the k-th image to Img k (step S604). The extension unit 152 inputs img k into the generation model M2 to generate a caption (step S605).

[0116] The extension unit 152 performs text analysis on the caption and extracts m sets of attribute words A i (step S606). The extension unit 152 registers the attributes common to the set of attribute words A i (i = 0 to n - 1) in S attrB (step S607).

[0117] The extension unit 152 adds 1 to i (step S608). When the condition i < n is satisfied (step S609, Yes), the extension unit 152 proceeds to step S604. On the other hand, when the condition i < n is not satisfied (step S609, No), the extension unit 152 ends the process.

[0118] By executing the above processing, the extension unit 152 can register the attributes that appear from the captions of each face image in the set of attribute words S attrB .

[0119] Subsequently, other processing of the matching unit 153 will be described. For example, the matching unit 153 identifies the attributes to be added based on the set of attribute words S attrA generated based on the initial table data 141 and the set of attribute words S attrB generated by the extension unit 152, but is not limited thereto.

[0120] For example, the matching unit 153 selects an attribute word set S attrA The matching unit 153 may execute a process of excluding attribute values ​​of attributes that have a conflicting relationship with the attribute values ​​of other attributes. For example, the target of attribute values ​​for attributes (names or ranges of values) are set in advance in a table or the like, and the matching unit 153 identifies and excludes attribute values ​​of mutually conflicting attributes based on the table. This makes it possible to prevent attribute values ​​that conflict with attributes from being registered in the extended table data 144.

[0121] Next, a description will be given of an example of a hardware configuration of a computer that realizes the same functions as the above-mentioned information processing device 100. Fig. 16 is a diagram showing an example of a hardware configuration of a computer that realizes the same functions as the information processing device of the embodiment.

[0122] 16, the computer 200 includes a CPU 201 that executes various arithmetic processes, an input device 202 that accepts data input from a user, and a display 203. The computer 200 also includes a communication device 204 that transmits and receives data to and from external devices, etc., via a wired or wireless network, and an interface device 205. The computer 200 also includes a RAM 206 that temporarily stores various information, and a hard disk device 207. The devices 201 to 207 are connected to a bus 208.

[0123] The hard disk device 207 has an extraction program 207a, an expansion program 207b, a matching program 207c, and a training program 207d. The CPU 201 reads out each of the programs 207a to 207d and develops them in the RAM 306.

[0124] The extraction program 207a functions as the extraction process 206a. The extension program 207b functions as the extension process 206b. The matching program 207c functions as the matching process 206c. The training program 207d functions as the training process 206d.

[0125] The processing of the extraction process 206a corresponds to the processing of the extraction unit 151. The processing of the extension process 206b corresponds to the processing of the extension unit 152. The processing of the matching process 206c corresponds to the processing of the matching unit 153. The processing of the training process 206d corresponds to the processing of the training unit 154.

[0126] It is not necessary that each of the programs 207a to 207d is stored in the hard disk device 207 from the beginning. For example, each program may be stored in a "portable physical medium" such as a flexible disk (FD), CD-ROM, DVD, magneto-optical disk, or IC card that is inserted into the computer 200. Then, the computer 200 may read and execute each of the programs 207a to 207d.

[0127] The following supplementary notes are further disclosed regarding the embodiments including the above examples.

[0128] (Supplementary Note 1) An image is obtained by inputting a first text including attribute values ​​of a plurality of attributes included in a first data among a plurality of data into a first generative model; obtaining a second text by inputting the image into a second generative model; selecting an attribute value of another attribute different from the plurality of attributes from the second text; augmenting the plurality of data by adding attribute values ​​of the other attributes to the first data; A data expansion program that causes a computer to execute a process.

[0129] (Appendix 2) The data augmentation program described in Appendix 1, characterized in that the process of acquiring the second text acquires a plurality of second texts by inputting a plurality of images into the second generative model, and the process of selecting selects attribute values ​​of the other attributes based on an occurrence rate of an attribute contained in the plurality of second texts.

[0130] (Appendix 3) The data expansion program described in Appendix 1, characterized in that the selecting process obtains second data containing at least one different attribute compared to the multiple attributes contained in the first data, and further selects attribute values ​​of other attributes from among the attributes contained in the second text that are different from the attributes of the second data.

[0131] (Appendix 4) The data extension program according to appendix 1, further comprising a process of causing a computer to execute a process of training an estimation model that estimates the attribute value of a protected attribute by using, as a correct label, an attribute value of an attribute corresponding to a protected attribute among a plurality of attributes extended by the extension process, and using, as input data, attribute values ​​of attributes other than the protected attribute.

[0132] (Appendix 5) The data expansion program according to appendix 1, characterized in that, in the expansion process, if attribute values ​​of multiple attributes included in the first text contradict each other, a process of adding attribute values ​​of the other attributes to the first data is skipped.

[0133] (Appendix 6) An image is obtained by inputting a first text including attribute values ​​of a plurality of attributes included in a first data among a plurality of data into a first generative model; obtaining a second text by inputting the image into a second generative model; selecting an attribute value of another attribute different from the plurality of attributes from the second text; augmenting the plurality of data by adding attribute values ​​of the other attributes to the first data; A data expansion method characterized in that processing is executed by a computer.

[0134] (Appendix 7) The data augmentation method described in Appendix 6, characterized in that the process of acquiring the second text acquires a plurality of second texts by inputting a plurality of images into the second generative model, and the process of selecting selects attribute values ​​of the other attributes based on an occurrence rate of an attribute contained in the plurality of second texts.

[0135] (Appendix 8) The data expansion method described in Appendix 6, characterized in that the selecting process obtains second data containing at least one different attribute compared to the multiple attributes contained in the first data, and further selects attribute values ​​of other attributes from among the attributes contained in the second text that are different from the attributes of the second data.

[0136] (Appendix 9) The data extension method according to appendix 6, further comprising causing the computer to execute a process of training an estimation model that estimates the attribute value of the protected attribute by using, as a correct label, an attribute value of an attribute corresponding to a protected attribute among a plurality of attributes extended by the extension process, and using, as input data, attribute values ​​of attributes other than the protected attribute.

[0137] (Appendix 10) The data extension method described in Appendix 6, characterized in that the extension process skips a process of adding attribute values ​​of the other attributes to the first data when attribute values ​​of multiple attributes included in the first text contradict each other.

[0138] (Appendix 11) An image is obtained by inputting a first text including attribute values ​​of a plurality of attributes included in a first data among a plurality of data into a first generative model; obtaining a second text by inputting the image into a second generative model; selecting an attribute value of another attribute different from the plurality of attributes from the second text; augmenting the plurality of data by adding attribute values ​​of the other attributes to the first data; An information processing device including a control unit that executes processing.

[0139] (Appendix 12) The information processing device described in Appendix 11, characterized in that the process of acquiring the second text acquires multiple second texts by inputting multiple images into the second generative model, and the process of selecting selects attribute values ​​of the other attributes based on an occurrence rate of attributes contained in the multiple second texts.

[0140] (Appendix 13) The information processing device described in Appendix 11, characterized in that the selecting process acquires second data containing at least one different attribute compared to the multiple attributes contained in the first data, and further selects attribute values ​​of other attributes from among the attributes contained in the second text that are different from the attributes of the second data.

[0141] (Appendix 14) The information processing device described in Appendix 11, characterized in that the control unit further executes a process of training an estimation model that estimates the attribute value of the protected attribute by using, as a correct label, an attribute value of an attribute corresponding to a protected attribute among the multiple attributes extended by the extension process, and using, as input data, attribute values ​​of attributes other than the protected attribute.

[0142] (Appendix 15) The information processing device according to appendix 11, characterized in that the expansion process skips a process of adding attribute values ​​of the other attributes to the first data when attribute values ​​of multiple attributes included in the first text contradict each other. [Explanation of symbols]

[0143] 100 Information processing device 110 Communications Department 120 Input section 130 Display section 140 Storage section 141 Initial table data 142 Actual operation data 143 Appearance Rate Table 144 Extended Table Data 150 Control section 151 Extraction part 152 Extension 153 Matching Department 154 Training Department

Claims

1. obtaining an image by inputting a first text including attribute values ​​of a plurality of attributes included in a first data among the plurality of data into a first generative model; obtaining a second text by inputting the image into a second generative model; selecting an attribute value of another attribute different from the plurality of attributes from the second text; augmenting the plurality of data by adding attribute values ​​of the other attributes to the first data; A data expansion program that causes a computer to execute a process.

2. The data expansion program according to claim 1, characterized in that the process of acquiring the second text acquires a plurality of second texts by inputting a plurality of images into the second generative model, and the process of selecting selects attribute values ​​of the other attributes based on an appearance rate of the attributes contained in the plurality of second texts.

3. The data expansion program according to claim 1, characterized in that the selection process obtains second data containing at least one different attribute compared to the multiple attributes contained in the first data, and further selects attribute values ​​of other attributes from among the attributes contained in the second text that are different from the attributes of the second data.

4. The data extension program according to claim 1, further comprising a process of causing a computer to execute a process of training an estimation model that estimates the attribute value of a protected attribute by using, as input data, an attribute value of an attribute corresponding to a protected attribute among the multiple attributes extended by the extension process as a correct label, and an attribute value of an attribute other than the protected attribute.

5. The data expansion program according to claim 1, characterized in that, in the expansion process, if attribute values ​​of multiple attributes contained in the first text contradict each other, a process of adding attribute values ​​of the other attributes to the first data is skipped.

6. obtaining an image by inputting a first text including attribute values ​​of a plurality of attributes included in a first data among the plurality of data into a first generative model; obtaining a second text by inputting the image into a second generative model; selecting an attribute value of another attribute different from the plurality of attributes from the second text; augmenting the plurality of data by adding attribute values ​​of the other attributes to the first data; A data expansion method characterized in that processing is executed by a computer.

7. obtaining an image by inputting a first text including attribute values ​​of a plurality of attributes included in a first data among the plurality of data into a first generative model; obtaining a second text by inputting the image into a second generative model; selecting an attribute value of another attribute different from the plurality of attributes from the second text; augmenting the plurality of data by adding attribute values ​​of the other attributes to the first data; An information processing device including a control unit that executes processing.