LLM Dataset Augmentation via Vector Distance Constraints

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for training machine-learning models are inefficient due to the difficulty in obtaining large datasets, and existing synthetic sample generation methods often produce similar examples lacking diversity.

Innovation Solution

An online system that augments a training dataset by generating candidate samples using a machine-learning language model with a temperature parameter to induce randomness, and validates these samples by comparing their similarity to existing samples within a threshold level.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If synthetic samples are generated to augment the training dataset, then the quantity of training data is increased, but the diversity of the generated samples is reduced

Engineering Contradiction:
Improvequantity of training dataVSAvoiddiversity of generated samples
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The patent applies parameter changes by utilizing the temperature parameter of the machine-learning language model to control the randomness and diversity of generated samples. By adjusting the temperature parameter, the system can generate diverse samples while maintaining quality, resolving the contradiction between quantity and diversity.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements feedback by comparing generated candidate samples to existing samples in the training dataset and filtering out samples that are too similar. This feedback mechanism ensures that only diverse and meaningful samples are added to the dataset, maintaining both quantity and diversity.

Inventive Principle:
Principle #23Feedback

2Quantity of substance

If conventional methods are used to obtain large datasets, then the training data quantity is sufficient, but the process efficiency is low

Engineering Contradiction:
Improvetraining data quantityVSAvoidprocess efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent uses copying by generating synthetic samples through a machine-learning language model that replicates and extends existing training data patterns. This copying process efficiently creates large datasets without requiring manual collection or processing of real-world data.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent replaces mechanical data collection methods with an automated machine-learning-based synthesis system. The machine-learning language model automatically generates training samples, substituting manual or conventional data gathering processes with an efficient computational approach.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Device complexity

If synthetic samples are generated without diversity constraints, then the sample generation process is simple, but the model accuracy is compromised

Engineering Contradiction:
Improvesample generation process complexityVSAvoidmodel accuracy
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent uses feedback by comparing generated samples against existing samples using similarity metrics. This feedback loop ensures that only samples contributing to model accuracy are accepted, maintaining high reliability while keeping the generation process relatively simple.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent replaces complex manual curation processes with automated machine-learning-based filtering. The system automatically evaluates and selects diverse samples, substituting complex human judgment with computational similarity comparisons that maintain model accuracy.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20250139523A1Generating diverse datasets using machine-learned large language models (LLMS) based on vector distance constraints
Publication Date: 2025.05.01 MAPLEBEAR INC
  • US20250139523A1 patent drawing
  • US20250139523A1 patent drawing
  • US20250139523A1 patent drawing

AI summary

An online system augments a dataset in conjunction with a model serving system. The online system accesses a dataset for training a machine-learning model. The online system generates a prompt to generate candidate samples in the training dataset to the model serving system. The online system receives a response comprising one or more candidate samples. The online system compares the one or more candidate samples to at least one existing sample of the dataset to determine whether the one or more candidate samples are within a threshold level of similarity to an existing sample. If a candidate sample received from the machine-learning language model is not within the threshold level of similarity to an existing sample, the online system updates the dataset with the candidate sample.