Using machine learning models to suppress biased data

By receiving the biased training data set and adjusting the weight of the training data set, the problem of biased data amplification in data processing is solved, and more accurate machine learning model training and prediction are achieved.

CN112639843BActive Publication Date: 2024-09-24GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980057508.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-10
Filing Date
2019-08-26
Publication Date
2024-09-24
Estimated Expiration
2039-08-26

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively suppress biased data in data processing, especially in large-scale data processing, which may amplify the bias problem and produce incomparable results.

Method used

By receiving the bias training data set, perform segmentation clustering based on the bias-sensitive variables of the target group, and adjust the training data set weight to match the bias clustering weight, forming an unbiased training data set for use by the machine learning model to reduce the impact of bias .

Benefits of technology

Effectively suppress the impact of biased data, ensure that the results generated by the machine learning model during the training and prediction process are more accurate, and reduce bias towards the target group.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112639843B_ABST
    Figure CN112639843B_ABST
Patent Text Reader

Abstract

A method (400) for suppressing biased data includes receiving a biased training dataset (130) and segmenting the biased training dataset into clusters (212) based on at least one corresponding bias-sensitive variable of a target population, each cluster including a biased cluster weight (214). The method also includes receiving a training dataset (302) for a machine learning model (300) and segmenting the training dataset into training clusters (216). Each training cluster is associated with at least one corresponding bias-sensitive variable of the target population and includes a corresponding training dataset weight (218). The method also includes adjusting each training dataset weight to match the corresponding biased cluster weight to form an adjusted training dataset (208) and providing the adjusted training dataset as an unbiased training dataset (206) to the machine learning model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to rejecting biased data using machine learning models. Background Art

[0002] Generally speaking, bias is the tendency of statistical data to overestimate or underestimate parameters. In this regard, data collection and analysis usually include some inherent biases. These biases may be generated by the method of collection and analysis or the entity that performs collection and analysis. For example, data research designed and performed by humans can cater to specific assumptions, human design constraints (e.g., human ability), sampling constraints, etc. By catering to these elements, the data results of the research are likely to include various sampling errors, measurement errors, or more broadly based on the errors of samples that do not represent the target population of the research. Since computer processing enables technology to collect data and analyze data at a rate incomparable with human activities, data processing technology must also overcome the problem of bias. Otherwise, data processing, especially for large pieces of data, may amplify the problem of bias and produce results incomparable with the bias generated by human activities. Summary of the invention

[0003] One aspect of the present disclosure provides a method for suppressing biased data using a machine learning model. The method includes receiving a biased training data set at data processing hardware, the biased training data set being based on a probability distribution of a bias-sensitive variable of a target population. The method also includes segmenting the biased training data set into clusters based on at least one corresponding bias-sensitive variable of the target population by the data processing hardware, each of the clusters including a corresponding biased cluster weight. The method also includes: receiving a training data set for a machine learning model at the data processing hardware; and segmenting the training data set for the machine learning model into training clusters by the data processing hardware. Each training cluster is associated with at least one corresponding bias-sensitive variable of the target population and includes a corresponding training data set weight. The method also includes adjusting each training data set weight by the data processing hardware to match the corresponding biased cluster weight to form an adjusted training data set. The method also includes providing the adjusted training data set to the machine learning model as an unbiased training data set by the data processing hardware.

[0004] Implementations of the present disclosure may include one or more of the following optional features. In some implementations, the method includes providing the adjusted training data set as an unbiased training data set to the machine learning model and also includes training the machine learning model with the unbiased training data set. The method may include training the machine learning model with the unbiased training data set by data processing hardware or may include receiving a sample data set including at least one corresponding bias-sensitive variable at the data processing hardware. Here, the method may also include generating an unbiased prediction value based on the received sample data set using the trained machine learning model by the data processing hardware.

[0005] In some examples, adjusting each training dataset weight to match the corresponding biased cluster weight includes: for each training dataset weight, matching the training dataset weight to the corresponding biased cluster weight based on a common bias-sensitive variable; and removing data from the training dataset until the training dataset weight matches the corresponding biased cluster weight. In other examples, adjusting each training dataset weight to match the corresponding biased cluster weight includes: for each training dataset weight, matching the training dataset weight to the biased cluster weight based on a common bias-sensitive variable; and copying data from the training dataset until each training dataset weight matches the corresponding biased cluster weight.

[0006] In some configurations, for each training dataset weight, adjusting each training dataset weight to match the corresponding bias cluster weight includes matching the training dataset weight to the bias cluster weight based on a common bias sensitive variable. When the training dataset weight is less than the corresponding bias cluster weight, the method may include associating an indication to increase the importance weight of training the machine learning model with respect to the training data corresponding to the training dataset weight. Additionally or alternatively, for each training dataset weight, adjusting each training dataset weight to match the corresponding bias cluster weight may include matching the training dataset weight to the bias cluster weight based on a common bias sensitive variable. Here, when the training dataset weight is greater than the corresponding bias cluster weight, the method may include associating an indication to decrease the importance weight of training the machine learning model with respect to the training data corresponding to the training dataset weight.

[0007] In some implementations, adjusting each of the training dataset weights to match the corresponding bias cluster weight includes, for each training dataset weight, matching the training dataset weight to the corresponding bias cluster weight based on the common bias sensitive variable. When the training dataset weight is less than the corresponding bias cluster weight, the method includes associating an indication to increase the importance weight of training the machine learning model with respect to the training data corresponding to the training dataset weight, and when the training dataset weight is greater than the corresponding bias cluster weight, the method includes associating an indication to decrease the importance weight of training the machine learning model with respect to the training data corresponding to the training dataset weight.

[0008] In some examples, segmenting the bias training dataset into clusters includes determining a bias cluster weight for each cluster based on a ratio of a size of the corresponding cluster to a size of a target population of the bias training dataset. Training the bias training dataset may include defining bias features corresponding to the bias sensitive variables.

[0009] Another aspect of the present disclosure provides a system for suppressing bias data using a machine learning model. The system includes data processing hardware and memory hardware in communication with the data processing hardware. The memory hardware stores instructions that, when executed on the data processing hardware, cause the data processing hardware to perform operations. The operations include receiving a bias training data set based on a probability distribution of a bias-sensitive variable of a target population. The operations also include segmenting the bias training data set into clusters based on at least one corresponding bias-sensitive variable of the target population, each of the clusters including a bias cluster weight. The operations also include: receiving a training data set for a machine learning model; and segmenting the training data set for the machine learning model into training clusters by the data processing hardware. Each training cluster is associated with at least one corresponding bias-sensitive variable of the target population and includes a corresponding training data set weight. The method also includes adjusting each training data set weight to match the corresponding bias cluster weight to form an adjusted training data set. The method also includes providing the adjusted training data set to the machine learning model as an unbiased training data set.

[0010] This aspect may include one or more of the following optional features. In some configurations, providing the adjusted training data set as an unbiased training data set to the machine learning model includes training the machine learning model with the unbiased training data set. The operations may also include: training the machine learning model with the unbiased training data set; receiving a sample data set including at least one corresponding bias-sensitive variable; and using the machine learning model to generate an unbiased prediction value based on the received sample data set.

[0011] In some implementations, adjusting each training data set weight to match the corresponding biased cluster weight further includes: for each training data set weight, matching the training data set weight to the corresponding biased cluster weight based on the common bias-sensitive variable; and removing data from the training data set until the training data set weight matches the corresponding biased cluster weight. In other examples, adjusting each training data set weight to match the corresponding biased cluster weight includes: for each training data set weight, matching the training data set weight to the biased cluster weight based on the common bias-sensitive variable; and copying data from the training data set until each training data set weight matches the corresponding biased cluster weight.

[0012] In some examples, the operation of adjusting each training data set to match the corresponding bias cluster weight includes, for each training data set weight, matching the training data set weight to the bias cluster weight based on a common bias sensitive variable. In this example, when the corresponding training data set weight is less than the corresponding bias cluster weight, the operation includes associating an indication to increase the importance weight of the training of the machine learning model with respect to the training data corresponding to the training data set weight. In other examples, the operation of adjusting each training data set weight to match the corresponding bias cluster weight may include matching the training data set weight to the bias cluster weight based on a common bias sensitive variable. In this example, when the corresponding training data set weight is greater than the corresponding bias cluster weight, the operation includes associating an indication to decrease the importance weight of the training of the machine learning model with respect to the training data corresponding to the training data set weight.

[0013] Additionally or alternatively, adjusting each training dataset weight to match the corresponding bias cluster weight may include, for each training dataset weight, matching the training dataset weight to the corresponding bias cluster weight based on the common bias sensitive variable. Here, when the corresponding training dataset weight is less than the corresponding bias cluster weight, the association indicates an increase in the importance weight of the training of the machine learning model with respect to the training data corresponding to the training dataset weight, and when the training dataset weight is greater than the corresponding bias cluster weight, the association indicates a decrease in the importance weight of the training of the machine learning model with respect to the training data corresponding to the training dataset weight.

[0014] In some configurations, segmenting the bias training data set into clusters includes determining a bias cluster weight for each cluster based on a ratio of a size of the corresponding cluster to a size of a target population of the bias training data set. Training the bias training data set may include defining bias features, the bias features corresponding to the bias sensitive variables.

[0015] The details of one or more embodiments of the present disclosure are set forth in the accompanying drawings and the description below. Other aspects, features, and advantages will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a diagram of an example machine learning environment.

[0017] Figure 2A is a schematic diagram of example processing stages for a bias suppression model.

[0018] Figure 2B is Figure 2A Schematic diagram of an example bias suppression model during the training phase of .

[0019] Figure 2C is Figure 2A Schematic diagram of an example bias suppression model during the bias-free phase of .

[0020] Figure 2D and 2E is Figure 2A Schematic diagram of example adjustments made by the bias suppression model during the bias-free phase of .

[0021] Figure 3 is a schematic diagram of example processing stages of a machine learning model that incorporates unbiased training data from a bias suppression model.

[0022] Figure 4 is a flowchart of an example method for making a machine learning model unbiased within a machine learning environment.

[0023] Figure 5 is a schematic diagram of an example computing device that can be used to implement the systems and methods described herein.

[0024] Like reference numbers in the various drawings indicate like elements. DETAILED DESCRIPTION

[0025] Figure 11 is an example of a machine learning environment 10. The machine learning environment 10 generally includes a distributed system 100 (e.g., a remote system such as a cloud environment) having a resource 110 accessible via a network 120, a bias suppression model 200, and a machine learning model 300. The resource 110 is accessible to the bias suppression model 200 and / or the machine learning model 300 for training the bias suppression model 200 and / or the machine learning model 300, and for performing the machine learning functions disclosed herein. The distributed system 100 can be any computer processing system having computing resources (e.g., resources 110) capable of executing the bias suppression model 200 and / or the machine learning model 300. In some examples, the bias suppression model 200 and / or the machine learning model 300 is executed on a device that can access the distributed system 100 via the network 120 or otherwise communicate with the distributed system 100. For example, the device can execute a web-based application associated with the distributed system 100.

[0026] Typically, the resources 110 of the distributed system 100 may include hardware resources 110h, 110h 1-i and software resources 110s, 110s 1-i The hardware resources 110h include data processing hardware 112 and memory hardware 114. The software resources 110s may include software applications, software services, application programming interfaces (APIs), etc. The software resources 110s may reside on the hardware resources 110h (e.g., stored in the memory hardware 114), or may include instructions executed on the data processing hardware 112.

[0027] Software applications (i.e., software resources 110s) may refer to computer software that enables a computing device to perform tasks. In some examples, software applications may be referred to as "applications," "apps," or "programs." Example applications include, but are not limited to, system diagnostic applications, system management applications, system maintenance applications, word processing applications, spreadsheet applications, messaging applications, media streaming applications, social networking applications, and gaming applications.

[0028] Memory hardware 114 is non-transitory memory that can be a physical device used to store programs (e.g., sequences of instructions) or data (e.g., program state information) on a temporary or permanent basis for use by data processing hardware 112. Memory hardware 114 can be volatile and / or non-volatile addressable semiconductor memory. Examples of non-volatile memory include, but are not limited to, flash memory and read-only memory (ROM) / programmable read-only memory (PROM) / erasable programmable read-only memory (EPROM) / electronically erasable programmable read-only memory (EEPROM) (e.g., commonly used for firmware, such as boot programs), and disk or tape. Examples of volatile memory include, but are not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), and phase change memory (PCM).

[0029] In the example shown, the bias suppression model 200 is executed in conjunction with the resource 110 to address the bias issue to prevent the machine learning model 300 from being adversely affected. In other words, the bias suppression model 200 is configured to prevent the machine learning model 300 from being trained on a machine learning (ML) training dataset 302 that includes biased data by generating / outputting an unbiased training dataset associated with the ML training dataset 302 for use in training the ML model 300, in which the biased data has been removed. By preventing the machine learning model 300 from being trained on the biased data within the ML training dataset 302, the machine learning model 300 is not affected by the biased data and is therefore able to generate unbiased prediction values ​​310 ( Figure 3 ). Thus, the bias suppression model 200 corresponds to a filter that removes / adjusts biased data within the ML training dataset 302 prior to training the ML model 300 by outputting / generating an unbiased training dataset 206 for use in training the ML model 300.

[0030] Figure 2A The bias suppression model 200 is shown during execution of a first training phase 202 and a second unbiased phase 204 following the first training phase 202. During the training phase 202, the bias suppression model 200 receives the biased training dataset 130 and outputs biased clustering weights 214. During the unbiased phase 204, the bias suppression model 200 receives the ML training dataset 302 and uses the biased clustering weights 214 output from the training phase 202 to output an unbiased training dataset 206 having biased data removed from the ML training dataset 302.

[0031] Here, the term "weight" (e.g., the deviation cluster weights 214, 214a-n and the training data set weights 218, 218a-n) refers to a value, such as a ratio, mapped to a unique cluster formed by the process of clustering. For a population, each cluster can be related to a portion of the population, so the value of the portion can be a weight associated with the cluster (e.g., a subset of the population). In other words, by clustering the population into subsets, each subset inherently has characteristics (e.g., weights) about the population. More generally, clusters such as the deviation cluster 212 or the training cluster 216 refer to groups of people that can be used to group training data related to those people. Groups of people can include people who share a continuous range of variable values ​​in their training data (e.g., a cluster for Asian females aged 25-27 may include one training example of an Asian female aged 25, another training example of an Asian female aged 26, and other training examples that share this set of values).

[0032] In other implementations, clustering includes people whose training data is clustered by a clustering algorithm (e.g., a clustering model). The clustering algorithm places people into groups that the algorithm considers similar based on having a shorter distance between people (or characteristics of people). Grouping by shorter distances can avoid the exponential growth of the number of clusters as the number of variable values ​​grows in the corresponding group. Clustering can be performed based on the variable of interest (e.g., a deviation variable) and / or other variables to determine the distance between training data (e.g., people). For example, clustering is performed based on other variables, but the final determination for clustering the data is based on the variable of interest (e.g., a deviation variable). As an example, the clustering process groups 18-year-old and 19-year-old male Austrians and Germans into a single cluster because it identifies similarities based on a defined metric (e.g., language used, related interests, frequency of being connected in a social network or being a member of the same organization). As another example to illustrate the large number of potential clustering approaches, the clustering process may have four separate groups covering these categories: (1) 18-year-old Austrians; (2) 18-year-old Germans; (3) 19-year-old Austrians; and (4) 19-year-old Germans.

[0033] Further references Figure 2ADuring the training phase 202, the bias suppression model 200 receives a bias training data set 130 based on a probability distribution of bias sensitive variables 132 for the target group. The bias sensitive variables 132 refer to variables that, when over-represented or under-represented in the data sample of the target group, result in an increased likelihood of biased predictions based on the sampling of the target group. In other words, small deviations from the accurate representation of the bias sensitive variables 132 are likely to produce biased predictive analysis. Therefore, when a machine learning model such as the machine learning model 300 is constructed (i.e., trained) without an accurate training data set for the bias sensitive variables 132, the machine learning model may inherently produce biased predictions and biased computational analysis. Some examples of bias sensitive variables 132 include race, gender, sex, age, nationality, religious affiliation, political affiliation, affluence, etc. In other words, the bias sensitive variables 132 may be human characteristics or attributes (also referred to as bias features).

[0034] In some configurations, the bias-sensitive variables 132 change dynamically based on factors such as political climate (e.g., immigration / citizenship, race relations, etc.), current events (protests, scandals, news, weather, etc.), or popular culture (movies, books, art, movies, celebrities, sports, etc.). In some implementations, the bias-sensitive variables 132 are determined based on the type of data used with the machine learning model 300 or the type of modeling performed by the machine learning model 300. For example, a machine learning model 300 that models demographics for California may have different bias-sensitive variables 132 than a machine learning model 300 that models demographics for New Hampshire. That is, New Hampshire, as a racially non-diverse state, may naturally not include some of the bias-sensitive variables 132 that affect the demographics of California.

[0035] In other configurations, the bias-sensitive variables 132 are global variables that do not change once identified and / or pre-programmed. Optionally, if an entity defines bias-sensitive variables 132, the entity can first model the predicted results of the machine learning model 300 to analyze the bias-sensitive variables 132 that have the greatest impact on the prediction. For example, the entity has a baseline of the expected results for the predictions of the machine learning model 300, and when compared to the expected results, determines the impact of the bias-sensitive variables 132 based on statistics such as deviation and variance.

[0036] In some examples, the target population is the complete data set for a given variable or set of variables. Here, the bias suppression model 200 and / or the machine learning model 300 can be trained and / or make predictions corresponding to the target population. As a basic example, the machine learning model 300 can be configured to predict the value of the target population as the population in California. In order to accurately make predictions about the population in California, each model 200, 300 is trained on data associated with the population in California.

[0037] After training the bias suppression model 200 on the received bias training dataset 130, the bias suppression model 200 is configured to adjust the ML training dataset 302 intended for use in training the ML model 300 during the unbiased phase 204. By adjusting the ML training dataset 302 before training the ML model 300, the bias suppression model 200 generates an unbiased training dataset 206 and provides the unbiased training dataset 206 to the ML model 300. In other words, during the unbiased phase 204, the bias suppression model 200 converts the ML training dataset 302 (e.g., which may potentially include biased data) into an unbiased training dataset 206 based on the training of the bias suppression model 200 on the bias training dataset 130 during the training phase 202. In some examples, the bias suppression model 200 is trained with more than one bias training dataset 130. For example, the bias suppression model 200 is dynamically trained on new or updated bias training datasets 130 to continuously account for changes in the bias training datasets 130 over time. The training phase 202 and the unbiasing phase 204 may be performed consecutively or simultaneously, or some combination of both.

[0038] Figure 2B An example of a bias suppression model 200 during a training phase 202 is illustrated. Here, the bias suppression model 200 receives a bias training dataset 130 corresponding to a target population. In some implementations, an entity 140, such as an administrator of the bias suppression model 200 or a user with access to the bias suppression model 200 (e.g., a user interested in a particular set of bias features), defines bias features corresponding to bias-sensitive variables 132 for the bias training dataset 130. For example, Figure 2BEntities 140 are depicted in association with dashed lines to indicate that entities 140 defining bias features and / or bias-sensitive variables 132 are optional during the training phase 202. In some examples, a designer or entity implementing the bias suppression model 200 designs the bias suppression model 200 for a particular set of bias features. In these examples, the entity 140 may not need to supply bias features and / or bias-sensitive variables 132. In some configurations, the bias training dataset 130 includes a complete target group dataset. For example, when the bias-sensitive variables 132 correspond to demographic sensitive variables (e.g., race, gender, age, nationality, etc.), the bias suppression model 200 may receive a complete dataset of U.S. demographic data as the bias training dataset 130.

[0039] The bias suppression model 200 includes a segmenter 210 and an adjuster 220. The segmenter 210 is configured to segment the bias training data set 130 into bias clusters 212, 212a-n based on at least one corresponding bias sensitive variable 132 of the target population. For example, Figure 2B The bias sensitive variables 132, 132a-n are illustrated as race, gender, and age. In some examples, each bias cluster 212 corresponds to each bias sensitive variable 132 combination. As an example, in the case of the bias sensitive variables 132 of race, gender, and age, each bias cluster 212 corresponds to a type of race (e.g., black, white, Hispanic, etc.), a type of gender (e.g., male, female, transgender), and a type of age category (e.g., 19-30, 31-44, 45-59, 60+, etc.). When the segmenter 210 segments the bias training data set 130 into the bias clusters 212, the segmenter 210 is also configured to determine a corresponding bias cluster weight 214 for each bias cluster 212, so that the bias clusters 212, 212a-n have associated bias cluster weights 214, 214a-n. In some examples, the bias cluster weight 214 represents the population portion of the bias cluster 212 with respect to the target population. For example, the deviation cluster weight 214 can represent a ratio of the size of the corresponding deviation cluster 212 to the size of the target population of the deviation training data set 130. In some examples, to determine each deviation cluster weight 214, the segmenter 210 determines the population portion of each deviation cluster 212 and divides each population portion by the maximum population portion of all deviation clusters 212 (e.g., each deviation cluster weight 214 is less than 1). In other examples, to determine each deviation cluster weight 214, the segmenter 210 determines the population portion of each deviation cluster 212 and divides each population portion by the lowest population portion of all deviation clusters 212 (e.g., each deviation cluster weight 214 is greater than 1).

[0040] In some configurations, the segmenter 210 transmits the biased cluster weights 214 of the biased clusters 212 to the adjuster 220 during the training phase 202. For example, the adjuster 220 includes a data store 222 of the biased cluster weights 214. In other examples, the segmenter 210 stores the biased cluster weights 214 (e.g., in a data store of the segmenter 210) for access by the adjuster 220 during the unbiased phase 204.

[0041] Figure 2C An example of a bias suppression model 200 during an unbiased phase 204 is illustrated. During the unbiased phase 204, the bias suppression model 200 receives an ML training data set 302 intended for use in training an ML model 300. For example, the training data set 302 may include an original training data set that may be potentially biased (e.g., including biased data). In some implementations, the training data set 302 is a sample of a target population, and therefore, may not accurately reflect the bias-sensitive variables 132 of the target population. For example, the target population may have a racial composition of 25% whites, whereas the training data set 302 may indicate a sampled racial composition of 45% whites. Therefore, in order to prevent the ML model 300 from being trained on the ML training data 302 that inaccurately reflects the bias-sensitive variables 132 of the target population, the bias suppression model 200 seeks to adjust this bias (e.g., 20% difference) with the segmenter 210 and the adjuster 220 during the unbiased phase 204.

[0042] Similar to how segmenter 210 Figure 2BThe biased training dataset 130 is segmented into biased clusters 212 during the training phase 202 of the ML training dataset 302, and the segmenter 210 is configured to segment the received ML training dataset 302 into training clusters 216 during the unbiased phase 204. Here, each training cluster 216 is associated with at least one corresponding bias-sensitive variable 132 of the target population. The segmenter 210 is also configured to generate a corresponding training dataset weight 218, 218a-n for each segmented training cluster 216, so that the segmented training clusters 216a-n include the associated training dataset weights 218, 218a-n. In some examples, the corresponding training dataset weight 218 represents the population portion of the training cluster 216 with respect to the sample population associated with the training dataset 302. For example, the training dataset weight 218 can represent the ratio of the size of the corresponding training cluster 216 to the size of the sample population of the training dataset 302. In some examples, to determine each training data set weight 218, the segmenter 210 determines a population portion of each training cluster 216 and divides each population portion by the largest population portion of the training clusters 216a-n (e.g., each training data set weight 218 is less than 1). In other examples, to determine each training data set weight 218, the segmenter 210 determines a population portion of each training cluster 216 and divides each population portion by the lowest population portion of the training clusters 216a-n (e.g., each training data set weight 218 is greater than 1).

[0043] The adjuster 220 is configured to adjust the training data set weights 218a-n to match the probability distribution of the bias-sensitive variables 132 of the target population. In some implementations, the adjuster 220 performs a process 226 that adjusts the training data set weights 218 by comparing the training data set weights 218 to the bias cluster weights 214. For example, Figure 2C-2E The adjuster 220 is depicted executing a process 226 to retrieve and compare the biased cluster weights 218 from the biased cluster weights data store 222 and the training data set weights 218 from the training weights data store 224, and based on the comparison, adjust the training data set weights 218. For example, based on the comparison difference between the corresponding training data set weights 218 and the biased cluster weights 214, the adjuster 220 may adjust the corresponding training data set weights 218 to match the corresponding biased cluster weights 214. Thus, the process 226 executed by the adjuster 220 for adjusting the training data set weights 218 generates / outputs the adjusted training data set weights, or more generally the adjusted training data set 208, that form the unbiased training data set 206 for training the ML model 300.

[0044] In some implementations, the adjuster 220 performs the process 226 by first matching one or more training dataset weights 218 with one or more bias cluster weights 214 based on the matched bias sensitive variables 132. For example, when the training dataset weights 218 and the bias cluster weights 214 each share a common bias sensitive variable 132 or a combination of bias sensitive variables 132, the adjuster 220 can adjust the training dataset weights 218 with the matched (i.e., corresponding) bias cluster weights 214 to output corresponding adjusted training dataset weights or adjusted training dataset 208.

[0045] refer to Figure 2D , the adjuster 220 compares the training dataset weights 218 and the bias cluster weights 214 of the combinations that share the common bias-sensitive variable 132 or the bias-sensitive variable 132. When the ML training dataset 302 over-represents the bias-sensitive variable 132, the training dataset weight 218 exceeds (e.g., is greater than) the bias cluster weight 214 (e.g., the training dataset 302 indicates a white racial composition of more than 20%). In response to such over-representation, the process 226 performed by the adjuster 220 may correspond to a data removal adjustment process that adjusts the training dataset weights 218 by removing data from the training dataset 302 until the training dataset weights 218 match the bias cluster weights 214. On the other hand, when the training dataset 302 under-represents the bias-sensitive variable 132, the training dataset weights 218 are less than the bias cluster weights 214 (e.g., the training dataset 302 indicates a black racial composition of less than 20%). In response to this under-representation, the process 226 executed at the adjuster 220 can correspond to a data copying process that adjusts the training dataset weights 218 by copying data from the training dataset 302 until the training dataset weights 218 match the biased clustering weights 214. In some implementations, the adjuster 220 randomly copies or removes data from the training dataset 302 to maintain the integrity of the training dataset 302.

[0046] same Figure 2C In contrast to the process 226 of removing / adding data to / from the training dataset 302 until the training dataset weights 218 match the bias cluster weights 214, Figure 2E 26 is shown performing on the adjuster 220 to adjust the importance weight 228 associated with each training data set weight 218. Specifically, the process associates the importance weight 228 with the data of the training data set 302 corresponding to the associated training data set weight 218. The importance weight 228 is provided to the training phase 304 ( Figure 3) provides an indication to understand how much weight to provide to the base data corresponding to the training data set weight 218 while training the machine learning model 300. In some examples, when the training data set weight 218 is greater than the bias cluster weight 214, the adjuster 220 associates an indication to reduce the importance weight 228 of the training of the machine learning model 300 with respect to the training data corresponding to the corresponding training data set weight 218. In other examples, when the training data set weight 218 is less than the bias cluster weight 214, the adjuster 220 associates an indication to increase the importance weight 228 of the training of the machine learning model 300 with respect to the training data corresponding to the corresponding training data set weight 218.

[0047] In some configurations, the adjuster 220 determines the adjusted training dataset weights and / or the adjusted training dataset 208 based on statistical analysis to form the unbiased training dataset 206. For example, during the unbiased phase 204, the segmenter 210 and / or the adjuster 220 identifies the training clusters 216 that share a common bias-sensitive variable 132 or a combination of bias-sensitive variables 132 with the bias clusters 212. Here, the bias suppression model 200 may perform a statistical test (e.g., a chi-square test) between the target population of the bias training dataset 130 and the distribution of data within the ML training dataset 302. When the statistical test indicates (e.g., by a confidence interval, such as 95%) that the bias training dataset 130 and the training dataset 302 do not have the same distribution (e.g., with respect to the bias-sensitive variable 132), the adjuster 220 generates a multiplier as the adjusted training dataset weight, wherein the multiplier indicates the number of samples within the ML training dataset 302 that generate a data distribution of the ML training dataset 302 that matches the bias training dataset 130.

[0048] If Figure 2A-2E As shown, the bias suppression model 200 generates an unbiased training dataset 206 for training the machine learning model 300. Figure 3300 is an example of a machine learning model 300 trained on an unbiased training dataset 206. A machine learning model, such as the machine learning model 300, is typically taught (or trained) based on a dataset and a result set to predict its own output based on input data similar to the dataset. In some implementations, much like the bias suppression model 200, the machine learning model 300 first undergoes training during a training phase 304 and then undergoes a prediction phase (e.g., inference) 306, which receives a sample dataset 308 as input and outputs an unbiased predicted value 310. During the prediction phase 306, the machine learning model 300 receives a sample dataset 308, such as a sample dataset that includes at least one bias-sensitive variable 132, and utilizes an associated machine learning functionality trained on the unbiased training dataset 206 to generate an unbiased predicted value 310 based on the received sample dataset 308.

[0049] In some examples, the machine learning model 300 is trained with more than one unbiased training data set 206. For example, the machine learning model 300 is dynamically trained during operation to continuously learn dynamically changing data sets. In other words, the stages of training 304 and prediction 306 can operate continuously or simultaneously, or some combination of the two.

[0050] The bias suppression model 200 and / or the machine learning model 300 can be any type of machine learning model (e.g., supervised, unsupervised, reinforcement, ensemble / decision tree, deep learning, neural network, recursive, linear, etc.) that employs a machine learning algorithm to perform the functionality of any of the models 200, 300 described herein. Broadly speaking, the algorithm may involve supervised learning, unsupervised learning, active learning, or some hybrid combination of these algorithms. Some specific examples of these broad algorithms include machine learning algorithms such as linear regression algorithms, logistic regression algorithms, decision tree-based algorithms, support vector machine algorithms, naive Bayes classifiers, k-nearest neighbor algorithms, dimensionality reduction algorithms, gradient boosting algorithms, etc.

[0051] Figure 4 Is to have Figure 1An example method 400 of unbiased operation of a machine learning model 300 within a machine learning environment 10 of a target population is provided. At operation 402, the method 400 receives a bias training data set 130. The bias training data set 130 is based on a probability distribution of bias-sensitive variables 132 of a target population. At operation 404, the method 400 segments the bias training data set 130 into clusters 212 based on at least one corresponding bias-sensitive variable 132 of the target population. Each cluster 212 includes a bias cluster weight 214. At operation 406, the method 400 receives a training data set 302 intended for use in training the machine learning model 300. At operation 408, the method 400 segments the training data set 302 into training clusters, wherein each training cluster 216 is associated with at least one corresponding bias-sensitive variable 132 of the target population. At operation 410, the method 400 generates a training data set weight 218 corresponding to each training cluster 216 of the segmented training data set 302. At operation 412 , the method 400 adjusts each training data set weight to match the corresponding biased cluster weight 214 .

[0052] Figure 5 is a schematic diagram of an example computing device 500 that can be used to implement the systems and methods described in this document (e.g., bias suppression model 200 and / or machine learning model 300). Computing device 500 is intended to represent various forms of digital computers, such as laptops, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not meant to limit the implementation of the inventions described and / or claimed in this document.

[0053] The computing device 500 includes a processor 510, a memory 520, a storage device 530, a high-speed interface / controller 540 connected to the memory 520 and a high-speed expansion port 550, and a low-speed interface / controller 560 connected to a low-speed bus 570 and the storage device 530. Each of the components 510, 520, 530, 540, 550, and 560 are interconnected using various buses and can be mounted on a common motherboard or in other appropriate ways. The processor 510 is capable of processing instructions for execution within the computing device 500, including instructions stored in the memory 520 or stored on the storage device 530, to display graphical information for a graphical user interface (GUI) on an external input / output device such as a display 580 coupled to the high-speed interface 540. In other embodiments, multiple processors and / or multiple buses, as well as multiple memories and memory types, can be used appropriately. Moreover, multiple computing devices 500 can be connected, each of which provides a portion of the necessary operations (for example, as a server group, a blade server group, or a multi-processor system).

[0054] Memory 520 stores information non-temporarily within computing device 500. Memory 520 may be a computer-readable medium, a volatile memory unit, or a non-volatile memory unit. Non-temporary memory 520 may be a physical device used to store programs (e.g., sequences of instructions) or data (e.g., program state information) on a temporary or permanent basis for use by computing device 500. Examples of non-volatile memory include, but are not limited to, flash memory and read-only memory (ROM) / programmable read-only memory (PROM) / erasable programmable read-only memory (EPROM) / electronically erasable programmable read-only memory (EEPROM) (e.g., typically used for firmware, such as bootloaders). Examples of volatile memory include, but are not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), phase change memory (PCM), and disk or tape.

[0055] The storage device 530 can provide mass storage for the computing device 500. In some embodiments, the storage device 530 is a computer readable medium. In various embodiments, the storage device 530 can be a floppy disk device, a hard disk device, an optical disk device or a tape device, a flash memory or other similar solid state storage device, or a device array, including a device in a storage area network or other configuration. In other embodiments, the computer program product is tangibly embodied as an information carrier. The computer program product includes instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer or machine readable medium, such as a memory 520, a storage device 530, or a memory on a processor 510.

[0056] The high-speed controller 540 manages bandwidth-intensive operations of the computing device 500, while the low-speed controller 560 manages less bandwidth-intensive operations. This division of responsibilities is illustrative only. In some embodiments, the high-speed controller 540 is coupled to a memory 520, a display 580 (e.g., through a graphics processor or accelerator), and a high-speed expansion port 550 that can accept various expansion cards (not shown). In some embodiments, the low-speed controller 560 is coupled to a storage device 530 and a low-speed expansion port 590. The low-speed expansion port 590, which may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet), can be coupled to one or more input / output devices, such as a keyboard, a pointing device, a scanner, or a networking device, such as a switch or a router, for example, through a network adapter.

[0057] As shown, computing device 500 may be implemented in a variety of different forms. For example, it may be implemented as a standard server 500a or multiple times in a group of such servers 500a, as a laptop computer 500b, or as part of a rack server system 500c.

[0058] Various implementations of the systems and techniques described herein can be implemented in digital electronic and / or optical circuitry, integrated circuits, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that can be executed and / or interpreted on a programmable system that includes at least one programmable processor, which can be special purpose or general purpose, coupled to receive data and instructions from a storage system, at least one input device, and at least one output device, and to transmit data and instructions to these devices.

[0059] These computer programs (also referred to as programs, software, software applications or code) include machine instructions for a programmable processor and can be implemented in high-level procedural and / or object-oriented programming languages ​​and / or in assembly / machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, non-transitory computer-readable medium, apparatus and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.

[0060] The process and logic flow described in this specification can be performed by executing one or more computer programs to perform functions by operating input data and generating outputs. The process and logic flow can also be performed by a dedicated logic circuit, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). For example, a processor suitable for executing a computer program includes a general-purpose and special-purpose microprocessor, and any one or more processors of any kind of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for executing instructions and one or more storage devices for storing instructions and data. Typically, a computer will also include one or more large-capacity storage devices for storing data or be operably coupled to a large-capacity storage device to receive data therefrom or transmit data to it, or both, and the large-capacity storage device is, for example, a magnetic disk, a magneto-optical disk, or an optical disk. However, a computer does not have to have such a device. Computer-readable media suitable for storing computer program instructions and data include all forms of nonvolatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks. The processor and memory can be supplemented by, or incorporated in, special purpose logic circuitry.

[0061] To provide interaction with a user, one or more aspects of the present disclosure can be implemented on a computer having a display device, such as a CRT (cathode ray tube), LCD (liquid crystal display) monitor, or a touch screen for displaying information to the user, and an optional keyboard and pointing device, such as a mouse and trackball, through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including sound, voice, or tactile input. In addition, the computer can interact with the user by sending documents to and receiving documents from the device used by the user; for example, by sending a web page to a web browser on the user's client device in response to a request received from the web browser.

[0062] Many embodiments have been described. However, it should be understood that various modifications can be made without departing from the spirit and scope of the present disclosure. Therefore, other embodiments are also within the scope of the appended claims.

Claims

1. A method (400), comprising: receiving, at data processing hardware (112), a bias training data set (130), the bias training data set (130) being based on a probability distribution of bias-sensitive variables of a target population; Segmenting, by the data processing hardware (112), the bias training data set (130) into clusters (212) based on at least one corresponding bias-sensitive variable of the target population, each of the clusters (212) including a corresponding bias cluster weight (214); Receiving, at the data processing hardware (112), a training data set (302) for a machine learning model (300); segmenting, by the data processing hardware (112), the training data set (302) for the machine learning model (300) into training clusters (216), each training cluster (216) being associated with at least one corresponding bias-sensitive variable of the target population and including a corresponding training data set weight (218); adjusting, by the data processing hardware (112), each training data set weight (218) to match the corresponding biased cluster weight (214) to form an adjusted training data set (208); as well as The adjusted training data set (208) is provided by the data processing hardware (112) to the machine learning model (300) as an unbiased training data set (206).

2. The method (400) of claim 1, wherein providing the adjusted training dataset (208) as the unbiased training dataset (206) to the machine learning model (300) comprises training the machine learning model (300) using the unbiased training dataset (206).

3. The method (400) of claim 1, further comprising: Training the machine learning model (300) by the data processing hardware (112) using the unbiased training data set (206); receiving, at the data processing hardware (112), a sample data set (308) including at least one corresponding bias-sensitive variable; and The data processing hardware (112) generates an unbiased prediction value (310) based on the received sample data set (308) using the trained machine learning model (300).

4. The method (400) of claim 1, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) comprises, for each training dataset weight (218): matching the training data set weights (218) to the corresponding biased cluster weights (214) based on a common bias-sensitive variable; and Data is removed from the training data set until the training data set weights (218) match the corresponding biased cluster weights (214).

5. The method (400) of claim 1, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) comprises, for each training dataset weight (218): matching the training data set weights (218) to the corresponding biased cluster weights (214) based on a common bias-sensitive variable; and Data is copied from the training dataset until the training dataset weights (218) match the corresponding biased cluster weights (214).

6. The method (400) of claim 1, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) comprises, for each training dataset weight (218): matching the training data set weights (218) to the biased cluster weights (214) based on a common bias-sensitive variable; and When the training data set weight (218) is less than the corresponding biased cluster weight (214), the association indicates increasing the importance weight (228) of training the machine learning model (300) with respect to the training data corresponding to the training data set weight (218).

7. The method (400) of claim 1, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) comprises, for each training dataset weight (218): matching the training data set weights (218) to the biased cluster weights (214) based on a common bias-sensitive variable: and When the training data set weight (218) is greater than the corresponding biased cluster weight (214), an association indication is provided to reduce an importance weight (228) for training the machine learning model (300) with respect to the training data corresponding to the training data set weight (218).

8. The method (400) of claim 1, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) further comprises, for each training dataset weight (218): matching the training data set weights (218) to the corresponding biased cluster weights (214) based on a common bias-sensitive variable; When the training data set weight (218) is less than the corresponding biased cluster weight (214), an association instruction increases an importance weight (228) for training the machine learning model (300) with respect to the training data corresponding to the training data set weight (218); as well as When the training data set weight (218) is greater than the corresponding biased cluster weight (214), an association indication is provided to reduce an importance weight (228) for training the machine learning model (300) with respect to the training data corresponding to the training data set weight (218).

9. The method (400) of claim 1, wherein segmenting the bias training dataset (130) into clusters (212) includes determining the bias cluster weight (214) of each cluster (212) based on a ratio of a size of the corresponding cluster (212) to a size of a target population of the bias training dataset (130).

10. The method (400) according to any one of claims 1-9, wherein training the bias training data set (130) further comprises defining a bias feature, wherein the bias feature corresponds to the bias sensitive variable.

11. A system (100), comprising: Data processing hardware (112); and Memory hardware (114) in communication with the data processing hardware (112), the memory hardware (114) storing instructions that, when executed on the data processing hardware (112), cause the data processing hardware (112) to perform operations including: receiving a bias training data set (130), wherein the bias training data set (130) is based on a probability distribution of bias-sensitive variables of a target population; Segmenting the bias training data set (130) into clusters (212) based on at least one corresponding bias-sensitive variable of the target population, each of the clusters (212) including a corresponding bias cluster weight (214); Receiving a training data set (302) for a machine learning model (300); segmenting the training data set (302) for the machine learning model (300) into training clusters (216), each training cluster (216) being associated with at least one corresponding bias-sensitive variable of the target population and including a corresponding training data set weight (218); adjusting each training data set weight (218) to match the corresponding biased cluster weight (214) to form an adjusted training data set (208); as well as The adjusted training data set (208) is provided to the machine learning model (300) as an unbiased training data set (206).

12. The system (100) of claim 11, wherein providing the adjusted training dataset (208) as the unbiased training dataset (206) to the machine learning model (300) comprises training the machine learning model (300) using the unbiased training dataset (206).

13. The system (100) of claim 11, wherein the operations further comprise: Using the unbiased training data set (206) to train the machine learning model (300); receiving a sample data set (308) including at least one corresponding bias-sensitive variable; and The trained machine learning model (300) is used to generate unbiased prediction values ​​(310) based on the received sample data set (308).

14. The system (100) of claim 11, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) comprises, for each training dataset weight (218): matching the training data set weights (218) to the corresponding biased cluster weights (214) based on a common bias-sensitive variable; and Data is removed from the training data set until the training data set weights (218) match the corresponding biased cluster weights (214).

15. The system (100) of claim 11, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) comprises, for each training dataset weight (218): matching the training data set weights (218) to the corresponding biased cluster weights (214) based on a common bias-sensitive variable; and Data is copied from the training dataset until the training dataset weights (218) match the corresponding biased cluster weights (214).

16. The system (100) of claim 11, wherein adjusting each training data set (218) to match the corresponding biased clustering weight (214) comprises, for each training data set weight (218): matching the training data set weights (218) to the biased cluster weights (214) based on a common bias-sensitive variable; and When the training data set weight (218) is less than the corresponding biased cluster weight (214), the association indicates increasing the importance weight (228) of training the machine learning model (300) with respect to the training data corresponding to the training data set weight (218).

17. The system (100) of claim 11, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) comprises, for each training dataset weight (218): matching the training data set weights (218) to the biased cluster weights (214) based on a common bias-sensitive variable; and When the training data set weight (218) is greater than the corresponding biased cluster weight (214), an association indication is provided to reduce an importance weight (228) for training the machine learning model (300) with respect to the training data corresponding to the training data set weight (218).

18. The system (100) of claim 11, wherein adjusting each training dataset weight (218) to match the corresponding biased cluster weight (214) further comprises, for each training dataset weight (218): matching the training data set weights (218) to the corresponding biased cluster weights (214) based on a common bias-sensitive variable; When the training data set weight (218) is less than the corresponding biased cluster weight (214), an association instruction increases an importance weight (228) for training the machine learning model (300) with respect to the training data corresponding to the training data set weight (218); as well as When the training data set weight (218) is greater than the corresponding biased cluster weight (214), an association indication is provided to reduce an importance weight (228) for training the machine learning model (300) with respect to the training data corresponding to the training data set weight (218).

19. The system (100) of claim 11, wherein segmenting the bias training dataset (130) into clusters (212) includes determining the bias cluster weight (214) of each cluster (212) based on a ratio of a size of the corresponding cluster (212) to a size of a target population of the bias training dataset (130).

20. The system (100) according to any one of claims 11-19, wherein training the bias training data set (130) further comprises defining a bias feature, the bias feature corresponding to the bias sensitive variable.