Compressed Proxy Models for Efficient Unit Testing of Large Machine Learning Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Training and testing very large machine learning models (VLMs) are costly and time-consuming, making it challenging to ensure that changes to the dataset, model pipeline, or codebase do not adversely impact the model's behavior, particularly in critical applications like self-driving vehicles.

Innovation Solution

The implementation of a framework for automatic or semi-automatic unit testing using compressed models, which generates a proxy version of the VLM through neural network compression, allowing for cost-effective retraining and retesting while ensuring that the model's behavior remains valid by comparing metadata before and after changes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If full-scale retraining and retesting of VLMs is performed to ensure model validity after changes, then model behavior reliability is improved, but economic cost and time consumption increase significantly

Engineering Contradiction:
Improvemodel behavior validityVSAvoidretraining and retesting time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent creates compressed proxy versions of the original VLM that replicate its behavior for testing purposes. These compressed models serve as copies that can be tested rapidly and cheaply, eliminating the need to retest the full-scale original model while still providing validity guarantees through behavioral comparison

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent employs compressed models that are computationally inexpensive and can be rapidly created and discarded. These temporary proxy models are used solely for validation purposes after changes, then discarded once their testing function is complete, avoiding the high cost of repeatedly training and testing full-scale VLMs

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

2Reliability

If full-scale retraining and retesting of VLMs is performed to ensure model validity after changes, then model behavior reliability is improved, but economic cost increases significantly

Engineering Contradiction:
Improvemodel behavior validityVSAvoideconomic cost
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent creates compressed proxy versions of the original VLM that replicate its behavior for testing purposes. These compressed models serve as copies that can be tested rapidly and cheaply, eliminating the need to retest the full-scale original model while still providing validity guarantees through behavioral comparison

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent employs compressed models that are computationally inexpensive and can be rapidly created and discarded. These temporary proxy models are used solely for validation purposes after changes, then discarded once their testing function is complete, avoiding the high cost of repeatedly training and testing full-scale VLMs

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Productivity

If compressed proxy models are used for unit testing instead of original VLMs, then testing efficiency is improved, but model compression complexity increases

Engineering Contradiction:
Improvetesting efficiencyVSAvoidmodel compression complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces compressed models as intermediary objects that mediate between the change detection system and the original VLM. These intermediaries perform the actual testing work and can be rapidly created and discarded, protecting the original expensive model from repeated testing while still providing valid results

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transforms the original VLM into compressed proxy models by changing key parameters such as model size, precision, or architecture while preserving essential behavioral characteristics. This parameter transformation enables rapid creation of testable proxies without requiring full model retraining

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20230206115A1Efficient semi-automatic unit testing of very large machine models
Publication Date: 2023.06.29 DELL PROD LP
  • US20230206115A1 patent drawing
  • US20230206115A1 patent drawing
  • US20230206115A1 patent drawing

AI summary

Testing very large machine models is disclosed. A framework is provided that allows changes to very large machine learning models to be evaluated using compressed machine learning models and automatic or semi-automatic unit testing.