Ethical Bias Detection in Machine Learning Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine learning models often incorporate biases during training, particularly due to biased data sets and assumptions, which can lead to unfair treatment of certain groups, and existing methods struggle to effectively detect and mitigate these biases, especially with limited computing resources and complex model architectures.

Innovation Solution

A computer system and method that processes target machine learning models using control and bias variables to generate output data sets, which are then analyzed using linear models to detect potential biases, allowing for automated remedial actions such as re-training or deactivation of models, and provides a visualization dashboard for human analysts to initiate further actions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If comprehensive bias detection methods are applied to all machine learning models, then detection accuracy and fairness improvement are enhanced, but computing resource consumption and processing time increase significantly

Engineering Contradiction:
Improvebias detection accuracyVSAvoidcomputing resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The bias detection process is segmented into distinct phases: data generation phase (creating synthetic datasets with controlled variables), model processing phase (running models on segmented data subsets), and analysis phase (comparing outputs across segments). This segmentation allows comprehensive bias detection while reducing computational burden by processing data in manageable portions rather than monolithically.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by generating synthetic training data with controlled bias variables and protected characteristics before actual model training occurs. This pre-computation of bias scenarios allows the system to detect potential biases early in the pipeline, avoiding the need to reprocess entire training datasets multiple times for bias detection.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If detailed bias analysis is conducted on complex machine learning models, then detection precision improves, but processing time and computational complexity increase

Engineering Contradiction:
Improvebias detection precisionVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system creates synthetic copies of training data with manipulated bias variables and protected characteristics. By working with these simplified copies rather than the full complex datasets, the system can conduct detailed bias analysis on specific scenarios without processing the entire complex model output, thereby improving measurement precision while reducing processing time.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The bias detection system extracts specific bias variables and protected characteristics from the complex model inputs and processes them separately through controlled data generation. This extraction allows detailed analysis of bias mechanisms without requiring processing of the entire complex model architecture, reducing overall processing time while maintaining detection precision.

Inventive Principle:
Principle #2Taking out (Extraction)

3Adaptability or versatility

If multiple training data sets are generated for bias testing, then bias detection capability improves, but data generation complexity and resource requirements increase

Engineering Contradiction:
Improvebias detection capabilityVSAvoiddata generation complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The synthetic data generation system is designed as a universal framework that can create multiple training datasets with different bias configurations by manipulating a set of template variables. This multi-functional approach allows the same data generation tool to test various bias scenarios (race, gender, age, income disparities) without requiring separate complex data generation processes for each scenario, thereby improving bias detection capability while controlling data generation complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20240378508A1System and method for detecting ethical bias in machine learning models
Publication Date: 2024.11.14 HSBC GRP MANAGEMENT SERVICES LTD
  • US20240378508A1 patent drawing
  • US20240378508A1 patent drawing
  • US20240378508A1 patent drawing

AI summary

A computing system is proposed that is configured to automatically interact with and analyze a plurality of target trained machine learning/artificial intelligence models for automated bias detection by automatically generating multiple test data sets for processing through the target trained machine learning models for analysis. The multiple test data sets can include different combinations of bias and control variables, and the outputs can then compared against one another by testing a comparative fit using linear model to the first data set and the second data set to generate a computer-based estimate of whether an ethical bias is present. In further embodiments, the computing system may control a model supervisor process to conduct further re-training and re-testing iterations in an automated attempt to reduce the estimated ethical bias.