Chatbot Training Dataset Error Detection and Correction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing chatbot training datasets are prone to errors such as spelling mistakes, duplicate utterances, and data imbalances, which lead to incorrect responses due to the lack of tools to identify and correct these issues, affecting the performance and efficiency of chatbots.

Innovation Solution

A system and method that utilize multiple machine learning models to identify and correct errors in chatbot training datasets by evaluating intent predictions, removing duplicates, and balancing data distribution, providing recommendations for improvement.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual preparation of training dataset is performed, then the dataset can be created with human understanding, but spelling errors and manual errors occur in the dataset

Engineering Contradiction:
Improvedataset qualityVSAvoiderror-free guarantee
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The system performs self-diagnosis by automatically detecting errors in the training dataset using multiple machine learning models. The ensemble of models evaluates the dataset and identifies issues such as spelling errors, duplicate utterances, and data imbalances without requiring external manual inspection, enabling the system to self-correct and improve dataset quality.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements a feedback mechanism where the ensemble of machine learning models continuously evaluates the training dataset and provides error detection feedback. This feedback loop identifies problematic patterns and allows for automated correction, improving the reliability of the dataset while maintaining human-understandable quality.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If multiple machine learning models are used to evaluate the dataset, then error detection accuracy improves, but the complexity of the system increases

Engineering Contradiction:
Improveerror detection accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system merges multiple machine learning models into an ensemble evaluation framework. By combining the strengths of different models (such as spell checkers, duplicate detectors, and distribution analyzers), the system achieves higher error detection accuracy while managing complexity through integrated architecture and coordinated operation of the models.

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If the training dataset is prepared manually, then customization to chatbot complexity is possible, but the preparation process becomes tedious and time-consuming

Engineering Contradiction:
Improvechatbot customizationVSAvoiddataset preparation speed
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system performs preliminary error detection and evaluation actions on the training dataset before the chatbot training process begins. By pre-identifying and flagging errors such as spelling mistakes, duplicates, and imbalances, the system enables faster dataset preparation and reduces the tedious manual review process while maintaining customized chatbot configurations.

Inventive Principle:
Principle #10Preliminary action

4Extent of automation

If supervised machine learning algorithms are used to train chatbots, then automated response generation is achieved, but the algorithms perform poorly when the training dataset contains errors

Engineering Contradiction:
Improveautomated response generationVSAvoidresponse accuracy
Core Design Contradiction:
Extent of automationVSReliability

Solution Approach 1:

The system applies beforehand cushioning by detecting and flagging errors in the training dataset before the supervised machine learning algorithms are trained. This preventive measure cushions against the negative impact of errors on response accuracy by identifying problematic data points in advance, allowing for correction or weighting adjustments before training begins.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS11893354B2System and method for improving chatbot training dataset
Publication Date: 2024.02.06 COGNIZANT TECH SOLUTIONS INDIA PVT LTD
  • US11893354B2 patent drawing
  • US11893354B2 patent drawing
  • US11893354B2 patent drawing

AI summary

The present invention provides for improving training dataset by identifying errors in training dataset and generating improvement recommendations. In operation, the present invention provides for identifying and correcting duplicate utterances in training dataset comprising utterances-intent pairs. Further, a plurality of Natural Language ML models are trained with the corrected training dataset to obtain diverse set of trained ML models. Each utterance of training dataset are fed as input to trained ML models, and a probability of error associated with each utterances-intent pairs of training dataset are evaluated based on analysis of respective intent predictions received from each of the trained ML models. Furthermore, spelling errors in the dataset are identified and data-imbalances in the training dataset are evaluated. Finally, a set of improvement recommendations for each utterances-intent pair is generated based on evaluated probability of errors, spelling errors, duplicate utterances and data imbalances.