Blocking-Based Batches for ML Training Hard Negatives

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current machine learning model training methods waste computational resources by excluding useful information from similar non-matches, leading to inefficient training and inaccurate differentiation between similar samples, as they focus on positive matches while neglecting hard negatives.

Innovation Solution

The approach involves constructing blocking-based batches that include positive matches, hard negatives, and easy negatives, allowing machine learning models to differentiate between similar samples by grouping data based on shared heuristics, thereby improving training efficiency and reducing resource consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If traditional machine learning training methods focus only on positive matches, then the training process is simpler, but the model accuracy in differentiating similar samples deteriorates

Engineering Contradiction:
Improvetraining process simplicityVSAvoidmodel accuracy in differentiating similar samples
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent segments the training data into distinct categories: positive matches, hard negatives (similar non-matches), and easy negatives (dissimilar non-matches). This segmentation allows the model to learn from different types of examples separately, improving its ability to differentiate similar samples while maintaining a structured training process.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by treating different types of training samples with different weights or attention. Hard negatives receive special focus in the blocking-based batching process, allowing the model to pay more attention to difficult differentiation cases while still processing easier examples efficiently.

Inventive Principle:
Principle #3Local quality

2Productivity

If traditional training methods exclude similar non-matches, then computational resources are used more efficiently, but the model's ability to differentiate similar samples deteriorates

Engineering Contradiction:
Improvetraining efficiencyVSAvoiddifferentiation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent performs preliminary action by pre-computing blockings and identifying hard negatives before the main training process. This preliminary organization of data into blocking-based batches allows the model to efficiently access and learn from difficult examples without wasting computational resources during training inference.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The blocking structure acts as an intermediary between the raw training data and the model training process. It organizes and filters samples into meaningful groups (positive matches, hard negatives, easy negatives), allowing efficient processing while ensuring important difficult examples are not excluded.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If blocking-based batches including hard negatives are constructed, then model differentiation accuracy is improved, but device complexity increases

Engineering Contradiction:
Improvemodel differentiation accuracyVSAvoidbatch construction complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The blocking mechanism segments the training process into distinct phases: blocking construction, hard negative identification, and batch assembly. This segmentation makes the complex process more manageable and systematic, allowing automated construction of informative batches without overwhelming complexity.

Inventive Principle:
Principle #1Segmentation

4Measurement precision

If blocking-based batches with multiple data types are used, then training accuracy is improved, but computational resource consumption increases

Engineering Contradiction:
Improvetraining accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies partial action by selectively including only the most informative samples in each blocking-based batch. Rather than processing all possible samples, it focuses on positive matches, hard negatives, and easy negatives that provide the most learning signal, reducing unnecessary computational waste while maintaining training accuracy.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20230376844A1Methods, systems, articles of manufacture and apparatus to build blocking-based batches for training machine learning models
Publication Date: 2023.11.23 NIELSEN CONSUMER LLC
  • US20230376844A1 patent drawing
  • US20230376844A1 patent drawing
  • US20230376844A1 patent drawing

AI summary

Methods, apparatus, systems, and articles of manufacture are disclosed to improve model training efficiency comprising block circuitry to: generate a first blocking corresponding to first ones of first data samples retrieved from a first data source, the first ones of the first data samples including a first heuristic; and generate a second blocking corresponding to second ones of the first data samples that include a second heuristic; match circuitry to: retrieve a second data sample from a second data source and determine a match of the first blocking or the second blocking; and assign respective ones of the first data samples from the match one of a first designation type or a second designation type; and batch circuitry to: combine the first designation type and the second designation type into a machine learning input batch.