Pretrained ML Adaptation via Non-Saturating Loss and Input Transformation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep neural networks often perform poorly on data distributions that differ from the training data distribution, leading to challenges in adapting to domain shifts without labeled target data.

Innovation Solution

A novel loss function is introduced that replaces entropy with a non-saturating surrogate and adds a diversity regularizer based on batch-wise entropy maximization to prevent premature convergence. Additionally, an input transformation module is prepended to the network to partially undo test-time distribution shifts, which can be learned end-to-end without target domain labels or source domain data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If entropy minimization is used for test-time adaptation, then performance on shifted distributions is improved, but premature convergence and instability occur

Engineering Contradiction:
Improveperformance on shifted distributionsVSAvoidconvergence stability
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

The patent replaces the entropy loss function with a non-saturating surrogate loss function that maintains gradient flow during convergence. This parameter change in the objective function prevents premature convergence while maintaining the ability to adapt to distribution shifts, directly resolving the contradiction between improvement and stability.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces a diversity regularizer as an intermediary component that works alongside the loss function. This regularizer prevents collapse to trivial solutions by maintaining diversity in predictions, thereby stabilizing the adaptation process while preserving performance improvement on shifted distributions.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If labeled target data is used for adaptation, then classification accuracy is improved, but labeling cost and time increase

Engineering Contradiction:
Improveclassification accuracyVSAvoidlabeling time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent enables the model to adapt to target distributions using only unlabeled target data through self-supervised learning. The model serves itself by learning from the structure and statistics of unlabeled data without requiring external labeling, thereby maintaining classification accuracy while eliminating labeling time and cost.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If full retraining is performed to restore accuracy on target distribution, then classification accuracy is improved, but computational cost and time increase

Engineering Contradiction:
Improveclassification accuracyVSAvoidadaptation speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent performs only partial adaptation by updating selected parameters of the pretrained model using a small number of epochs on unlabeled target data. This partial action is sufficient to restore accuracy on the target distribution without requiring full retraining, thereby maintaining productivity while achieving the desired accuracy improvement.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12340572B2Device and method to adapt a pretrained machine learning system to target data that has different distribution than the training data without the necessity of human annotations on target data
Publication Date: 2025.06.24 ROBERT BOSCH GMBH
  • US12340572B2 patent drawing
  • US12340572B2 patent drawing
  • US12340572B2 patent drawing

AI summary

A computer-implemented method for adapting a pretrained machine learning system, which has been trained on a first training data set, to a second dataset, wherein the second dataset has different characteristics than the first data set. An input transformation module for partly undoing the distribution shift between the first and second training data set is provided.