Dynamic Task Sampling for Multi-Task Model Training

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Training machine learning models, particularly cross-modal models, is data and compute intensive, and existing methods struggle to retain knowledge of different training tasks, leading to reduced reliability and increased difficulty in extrapolating the model to untrained areas.

Innovation Solution

A method for training machine learning models that adjusts the representation of different tasks over time based on the model's performance, emphasizing 'harder' tasks by increasing the representation of tasks where the model performs poorly and decreasing those where it performs well, using smaller datasets and dynamic difficulty sampling.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional training methods are used with large datasets, then model performance on individual tasks can be improved, but computational resources and training time increase significantly

Engineering Contradiction:
Improvemodel performanceVSAvoidcomputational resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent implements dynamic task sampling where the proportion of training examples from different tasks is adjusted based on the model's current performance. Tasks where the model performs poorly are sampled more frequently, while tasks where performance is good are sampled less frequently. This dynamic adjustment allows the model to focus computational resources on areas needing improvement rather than uniformly processing all tasks, resolving the contradiction between achieving high performance and reducing computational waste.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the sampling parameters of training data dynamically during training. Specifically, it modifies the proportion of training examples from different tasks based on performance metrics. This parameter change enables the system to adapt the training process to focus on difficult tasks, improving model performance while reducing the overall computational burden compared to traditional methods that process all tasks uniformly with large datasets.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If multiple training tasks are included in the training dataset, then model versatility improves, but the model struggles to retain knowledge of different tasks

Engineering Contradiction:
Improvemodel versatilityVSAvoidtask retention
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent dynamically adjusts the sampling proportion of training examples from different tasks based on the model's performance on each task. When the model performs poorly on a particular task, that task's examples are sampled more frequently in subsequent training iterations. This dynamic reweighting ensures that the model continues to learn and retain knowledge across multiple tasks rather than forgetting them, resolving the contradiction between versatility and task retention.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent implements a feedback mechanism where the model's performance on each task is continuously evaluated and used to adjust the training data sampling strategy. The performance metrics from multiple tasks feed back into the sampling process, creating a closed-loop system that adapts to the model's learning progress. This feedback ensures that the model maintains proficiency across all tasks while still achieving versatility, as the training process actively responds to performance deficiencies.

Inventive Principle:
Principle #23Feedback

3Ease of operation

If uniform sampling of training examples from different tasks is used, then training process simplicity is maintained, but model performance on difficult tasks deteriorates

Engineering Contradiction:
Improvetraining simplicityVSAvoidperformance on difficult tasks
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent transitions from static uniform sampling to dynamic performance-based sampling. While the implementation adds some complexity, it maintains operational ease by automatically adjusting sampling proportions based on performance metrics without requiring manual intervention. The system simply monitors performance and reweights sampling accordingly, achieving a balance between simplicity and effectiveness where the added complexity is minimal compared to the performance gains on difficult tasks.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12499662B2Dynamic training of models
Publication Date: 2025.12.16 GOOGLE LLC
  • US12499662B2 patent drawing
  • US12499662B2 patent drawing
  • US12499662B2 patent drawing

AI summary

A method involves the training of a model by dynamically adjusting the number of examples within each training batch. The dynamic adjustment is accomplished by adjusting the number of examples per task within each training batch according to the performance of the model on the tasks that the model is being trained on. In some embodiments, this method is applied to cross-modal vision-language tasks. This model may also be applied to the pre-training of a model that can be later fine-tuned for a more specific task(s).