Unbalanced Training Data Batching for Chatbot Bias Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Chatbot systems trained with unbalanced data exhibit biased behaviors, leading to inefficient or incorrect interactions with users, which can waste resources and cause customer complications.

Innovation Solution

The system utilizes an intent distribution to generate a distributed and unbiased training batch, ensuring that each output category is utilized equally by the intent classifier, thereby reducing biases inherent in previous random-sampling methods.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If random sampling is used to generate training batches, then the training process is simple and fast, but the trained model exhibits biased behavior towards overrepresented categories

Engineering Contradiction:
Improvetraining speedVSAvoidmodel unbiasedness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies local quality by making the sampling probability dependent on the specific category characteristics. Instead of uniform random sampling, the system adjusts the sampling probability for each category based on its representation in the training data, thereby creating non-uniform local properties in the sampling process that counteract the global bias towards overrepresented categories

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the sampling parameter from uniform probability to category-dependent probability. By modifying the sampling distribution parameter to account for category frequencies, the system transforms the sampling process to achieve balanced category representation in training batches while maintaining computational efficiency

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If training data is provided with high representation of certain contexts, then the chatbot learns those contexts well, but it exhibits biased behavior and performs poorly on underrepresented contexts

Engineering Contradiction:
Improvecontext recognition accuracyVSAvoidperformance across all contexts
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent applies dynamics by making the training batch composition adaptive rather than static. The sampling probability dynamically adjusts based on category representation, ensuring that underrepresented categories receive adequate attention in each training batch while maintaining overall training efficiency and model performance across all contexts

Inventive Principle:
Principle #15Dynamics

3Use of energy by moving object

If the chatbot is trained with unbalanced data, then training resources are consumed efficiently, but biased interactions occur wasting resources and causing customer complications

Engineering Contradiction:
Improvetraining resource efficiencyVSAvoidbiased interactions
Core Design Contradiction:
Use of energy by moving objectVSObject-generated harmful factors

Solution Approach 1:

The patent converts the harmful effect of data imbalance into a benefit by using the imbalance information to guide the sampling process. Instead of treating unbalanced data as a problem to be ignored, the system leverages the frequency information to adjust sampling probabilities, thereby transforming the potential harm of bias into a useful signal for achieving balanced training

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Data Source

PatentUS12236321B2Batching techniques for handling unbalanced training data for a chatbot
Publication Date: 2025.02.25 ORACLE INT CORP
  • US12236321B2 patent drawing
  • US12236321B2 patent drawing
  • US12236321B2 patent drawing

AI summary

The present disclosure relates to chatbot systems, and more particularly, to batching techniques for handling unbalanced training data when training a model such that bias is removed from the trained machine learning model when performing inference. In an embodiment, a plurality of raw utterances is obtained. A bias eliminating distribution is determined and a subset of the plurality of raw utterances is batched according to the bias-reducing distribution. The resulting unbiased training data may be input into a prediction model for training the prediction model. The trained prediction model may be obtained and utilized to predict unbiased results from new inputs received by the trained prediction model.