Optical Flow Model Training with Confidence-Weighted Error

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Training machine-learning models for optical flow and disparity estimation is challenging due to differences in lighting conditions, feature saliency, and occlusions, leading to difficulties in pixel matching and inaccurate predictions.

Innovation Solution

The use of Regression Focal Loss (RFL) that weights predictions based on inverse confidence maps to focus training on difficult regions, combined with learning-difficulty-balancing (LDB) and occlusion-avoiding (OA) errors to improve model accuracy while maintaining computational efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional loss functions are used for optical flow training, then the training process is simple, but the model accuracy deteriorates due to inability to handle difficult regions

Engineering Contradiction:
Improveoptical flow prediction accuracyVSAvoidtraining complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies local quality by creating a confidence map that assigns different weights to different spatial regions of the optical flow prediction. Regions with lower confidence (difficult regions) are assigned higher weights, while high-confidence regions receive lower weights. This allows the training to focus locally on challenging areas where the model needs improvement, rather than treating all pixels equally, thereby improving overall prediction accuracy without requiring complete redesign of the training framework

Inventive Principle:
Principle #3Local quality

2Measurement precision

If all pixel regions are treated equally in training, then the training process is straightforward, but performance on difficult regions deteriorates

Engineering Contradiction:
Improveprediction accuracy in difficult regionsVSAvoidtraining efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The confidence map generates spatially-varying weights that highlight difficult regions (low confidence areas) for prioritized training. This local differentiation ensures that computational resources are efficiently allocated to regions that need the most improvement, enhancing training efficiency rather than reducing it

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The training process incorporates feedback through the confidence map, which is generated based on the model's current performance. The confidence map serves as a feedback mechanism that dynamically adjusts the training focus based on where the model is struggling, creating a closed-loop system that continuously improves performance on difficult regions

Inventive Principle:
Principle #23Feedback

3Measurement precision

If complex error metrics are introduced to improve accuracy, then model performance improves, but computational cost increases

Engineering Contradiction:
Improveoptical flow estimation accuracyVSAvoidcomputational energy consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

Rather than applying complex error metrics uniformly across the entire image, the patent uses a confidence map to identify and prioritize only the difficult regions that need attention. This localized approach reduces the overall computational burden compared to applying complex metrics everywhere, while still achieving improved accuracy in the critical regions

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20250292553A1Determining error for training computer-vision models
Publication Date: 2025.09.18 QUALCOMM INC
  • US20250292553A1 patent drawing
  • US20250292553A1 patent drawing
  • US20250292553A1 patent drawing

AI summary

Systems and techniques are described herein for processing image data. For instance, a method for processing image data is provided. The method may include predicting, using a machine-learning model, a difference map indicative of differences between a first image and a second image to generate a predicted difference map; determining a confidence map based on the predicted difference map; determining an error based on the confidence map and a comparison of the predicted difference map and a ground-truth difference map; and adjusting one or more parameters of the machine-learning model based on the error.