Dialog Data Templates With Keyword Slots for Scalable Training Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The scarcity of dialog data in task-oriented dialog application scenarios limits the training of models, leading to inefficiencies and high costs in data collection and annotation, thereby restricting the use of task-oriented dialogs in various fields.

Innovation Solution

A method for generating dialog data by constructing a dialog data template with keyword slots and related information, allowing automatic matching and filling of keywords to create a large amount of dialog data efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual data collection and annotation methods are used, then data quality can be ensured, but data collection cost and time increase significantly

Engineering Contradiction:
Improvedata qualityVSAvoiddata collection time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent pre-processes and structures dialog data into templates with keyword slots before actual data generation. By preparing the template framework in advance with defined slots and attributes, the system enables rapid automated population of dialog data without requiring manual annotation during the generation process, thus reducing data collection time while maintaining quality through structured validation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses dialog data templates as reusable patterns that can be copied and instantiated multiple times. Instead of manually creating each dialog data entry, the system copies the template structure and automatically fills it with varied content through keyword matching and substitution, dramatically reducing the time and cost of data collection while ensuring consistent quality across all generated samples.

Inventive Principle:
Principle #26Copying

2Measurement precision

If manual data collection and annotation methods are used, then data accuracy can be maintained, but data collection cost increases

Engineering Contradiction:
Improvedata accuracyVSAvoiddata collection cost
Core Design Contradiction:
Measurement precisionVSEase of manufacture

Solution Approach 1:

The patent employs dialog data templates that can be copied and instantiated repeatedly with automatic keyword filling. This copying mechanism eliminates the need for expensive manual annotation of each individual dialog sample, reducing data collection cost significantly while maintaining accuracy through the structured template framework that ensures consistent formatting and valid content generation.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system performs self-service data generation by automatically matching keywords to template slots and generating dialog samples without human intervention. The automated keyword matching and substitution process eliminates the need for manual data annotation, reducing labor costs while maintaining data accuracy through algorithmic validation and structured generation rules.

Inventive Principle:
Principle #25Self-service

3Device complexity

If a small scale of dialog data is available, then data processing simplicity is maintained, but model training effectiveness deteriorates

Engineering Contradiction:
Improvedata processing simplicityVSAvoidmodel training effectiveness
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent pre-structures dialog data into templates with clearly defined keyword slots and attributes before model training. This preliminary structuring organizes the data in a standardized format that is easy to process while enabling the generation of large volumes of diverse training samples, thus improving model training effectiveness without significantly increasing processing complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The dialog data template framework serves multiple functions: it structures data for easy processing, enables automated generation of diverse samples, ensures data quality through validation, and facilitates efficient model training. This universal template approach allows the system to maintain processing simplicity while generating sufficient data volume and diversity for effective model training across different scenarios.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12505304B2Dialog data generating
Publication Date: 2025.12.23 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US12505304B2 patent drawing
  • US12505304B2 patent drawing
  • US12505304B2 patent drawing

AI summary

A method for generating dialog data is provided. An implementation is: obtaining a target dialog data template, where the target dialog data template includes one or more target single-round dialog data templates, each target single-round dialog data template includes one or more keyword slots and related information about each keyword slot, and the related information about each keyword slot includes location information and attribute information; for each keyword slot, determining, from a keyword data set at least based on the attribute information of the keyword slot, one or more target keywords that match the keyword slot; and for each target single-round dialog data template, filling the target single-round dialog data template with the one or more target keywords based on the location information of the one or more keyword slots, to obtain target dialog data.