NLP Training Data Augmentation Through Schema-Synchronized SQL

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for augmenting training data for neural networks translating natural language queries to SQL queries require manually created templates or natural language training data, and do not ensure diversity in database schemas.

Innovation Solution

A method that augments training datasets by modifying database schemas through schema modification operations and SQL query synchronization, generating new training data without additional natural language data, using a neural network-based translator.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If template-based methods are used to generate synthetic training data, then data augmentation can be performed, but manual work of defining multiple templates is required and expressions are limited

Engineering Contradiction:
Improvequantity of training dataVSAvoidease of data generation
Core Design Contradiction:
Quantity of substanceVSEase of manufacture

Solution Approach 1:

The patent uses SQL-to-text models to automatically generate natural language queries from existing SQL queries and database schemas, copying and transforming structured data into natural language training data without requiring manual template creation. This automates the data generation process while maintaining domain-specific accuracy.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent modifies database schemas by applying various transformations (adding columns, renaming tables, changing data types) to generate diverse training datasets. By changing schema parameters systematically, the method generates varied training examples without manual intervention.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If SQL-to-text models are used to generate natural language queries, then various natural language expressions can be generated, but it is still difficult to collect or generate various data for training the model

Engineering Contradiction:
Improvediversity of natural language expressionsVSAvoidquantity of training data
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent performs preliminary database schema modifications and SQL query transformations before training the SQL-to-text model. By pre-processing the database schemas and generating corresponding SQL queries with varied structures, the method prepares diverse training data in advance, enabling the model to learn multiple natural language expression patterns.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent dynamically generates training data by applying various schema modification operations (add column, rename table, change data type) to create evolving database structures. This dynamic approach continuously produces new training examples with different natural language expressions, preventing data exhaustion.

Inventive Principle:
Principle #15Dynamics

3Quantity of substance

If existing training data augmentation methods are used, then training data quantity can be increased, but diversity of database schemas is not ensured

Engineering Contradiction:
Improvequantity of training dataVSAvoiddiversity of database schemas
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The patent systematically changes database schema parameters through defined transformation operations including adding columns, renaming tables, changing data types, and modifying relationships. Each transformation creates a new schema variant, ensuring diverse database structures in the training dataset while maintaining data quantity growth.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12530344B2Method for enhancing learning data set in natural language processing system
Publication Date: 2026.01.20 POSTECH ACADEMY INDUSTRY FOUNDATION
  • US12530344B2 patent drawing
  • US12530344B2 patent drawing
  • US12530344B2 patent drawing

AI summary

A learning data set enhancing method comprises the steps of: determining a first initial learning data set comprising a first learning-purpose natural language query, database information regarding the database, and a first learning-purpose SQL query corresponding to the first learning-purpose natural language query; generating first novel database information regarding a first novel database having a different schema from the database by applying a first schema modification operation to the database; generating a first novel learning-purpose SQL query regarding the first novel database by applying a first SQL query synchronization operation corresponding to the first schema modification operation to the first learning-purpose SQL query; and determining a first novel learning data set comprising the first learning-purpose natural language query, the first novel database information, and the first novel learning-purpose SQL query.