Instruction-Tuning Data Set Selection for Zero-Shot Task Relevance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing AI models face challenges in zero-shot learning due to negative transfer when trained on irrelevant tasks, degrading performance, and the selection of relevant training tasks is inefficient, leading to suboptimal computing resource utilization.
Innovation Solution
A system and method for constructing a data set that improves zero-shot learning by extracting and selecting instructions from training tasks with similarity scores greater than a predetermined value, using cosine similarity and model transfer methods, and unifying placeholders to enhance task relevance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If training tasks are selected without similarity evaluation, then training efficiency is improved, but zero-shot learning performance deteriorates due to negative transfer from irrelevant tasks
Solution Approach 1:
The patent applies preliminary action by evaluating task similarity before the actual training process. The system calculates similarity scores between target tasks and candidate training tasks using instruction embeddings and cosine similarity, then pre-selects relevant training tasks. This preliminary selection prevents negative transfer from irrelevant tasks, ensuring that only high-similarity tasks are used for training, thus maintaining both training efficiency and zero-shot learning performance.
2Adaptability or versatility
If all training tasks are used for instruction tuning, then model coverage is improved, but computing resource utilization deteriorates due to processing irrelevant tasks
Solution Approach 1:
The patent applies the extraction principle by isolating and selecting only the relevant components (training tasks) from the entire task pool. The system extracts instructions from training tasks that have similarity scores above a threshold, discarding irrelevant tasks. This selective extraction maintains model coverage on relevant tasks while significantly reducing computing resource consumption by excluding unrelated tasks from the training process.
3Measurement precision
If similarity evaluation is performed using model transfer method, then task relevance accuracy is improved, but training time increases due to additional model training
Solution Approach 1:
The patent applies partial action by implementing a two-stage similarity evaluation process. First, a quick cosine similarity calculation is performed on instruction embeddings to filter out obviously irrelevant tasks. Then, the computationally intensive model transfer method is applied only to the remaining candidate tasks that passed the initial filter. This partial application of the expensive evaluation method maintains high task relevance accuracy while minimizing additional training time.
Data Source
AI summary
A system, method, and program for constructing a data set that improves zero-shot learning performance of an AI model through instruction tuning extract instructions from each of a training task used for training an AI model, and a target task that is a task to be trained through the training task, evaluate similarity by comparing the extracted instruction of the training task with the extracted instruction of the target task, select, from among the extracted instructions of the training task, instructions having a similarities equal to or greater than a predetermined value, and output the selected instructions of the training task as a data set.


