Synthetic Data Defect Detection in ML Training Pipelines

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing complexity of machine learning model training pipelines leads to significant challenges in identifying and correcting defects, requiring substantial manual effort and time, as changes introduce various defects throughout the lifecycle stages, complicating the defect identification process.

Innovation Solution

A computerized method generates synthetic data sets associated with specific defect types and lifecycle stages, allowing for the detection of defects by comparing baseline and test performance metrics, providing indicators for targeted defect correction and reducing the need for extensive manual analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If machine learning model training pipelines become more complex to handle sophisticated classification and pattern recognition tasks, then the model's ability to identify patterns in large data sets improves, but the difficulty of detecting and measuring defects in the pipeline increases

Engineering Contradiction:
Improvemodel capabilityVSAvoiddefect detection difficulty
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The pipeline is divided into discrete lifecycle stages (data loading, preprocessing, feature extraction, model training, evaluation), with synthetic defect injections at specific segments to isolate and detect defects systematically

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Synthetic data sets act as intermediaries that carry known defect characteristics through the pipeline, enabling indirect detection of defects by observing how these synthetic markers transform or degrade across processing stages

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If more manual effort is applied to identify and correct defects in the pipeline, then defect detection accuracy improves, but the time required for defect identification and correction increases

Engineering Contradiction:
Improvedefect detection accuracyVSAvoiddefect identification time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

Synthetic defects are pre-injected into data sets before pipeline execution, and baseline performance metrics are pre-established, so that when real defects occur, comparison against these pre-prepared references enables rapid automated detection without manual analysis

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system continuously compares actual pipeline output against expected outcomes from synthetic data processing, providing automated feedback loops that identify deviations indicating defects, reducing reliance on manual inspection

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If the complexity of model training processes increases, then the type and number of defects that may be introduced increases, but the resources available for defect management remain limited

Engineering Contradiction:
Improvepipeline complexityVSAvoiddefect management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

A unified defect management framework handles multiple defect types across all pipeline stages using consistent synthetic data injection and performance comparison mechanisms, reducing the need for separate defect management systems for each pipeline component

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

Data Source

PatentUS11580425B2Managing defects in a model training pipeline using synthetic data sets associated with defect types
Publication Date: 2023.02.14 MICROSOFT TECHNOLOGY LICENSING LLC
  • US11580425B2 patent drawing
  • US11580425B2 patent drawing
  • US11580425B2 patent drawing

AI summary

The disclosure herein describes managing defects in a model training pipeline. A synthetic data set is generated that is associated with a defect type and a lifecycle stage of the model training pipeline, and baseline performance metrics associated with the defect type are generated. Based on a code change to the pipeline, a test model is trained using the pipeline and the synthetic data set, and test performance metrics are collected based on the test model and associated with the defect type. Based on comparing the baseline performance metrics and the test performance metrics, a defect of a particular defect type is identified in the pipeline. An indicator of the defect is provided that includes the defect type and the lifecycle stage with which the synthetic data set is associated, whereby a defect correction process is enabled to remedy the defect based on the associated defect type and the lifecycle stage.