Text Q&A Model Training Using Uncertainty-Based Question Filtering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing text question and answer (Q&A) models face challenges in training efficiency due to varying difficulty levels of question texts, leading to poor performance in learning from both simple and complex questions.

Innovation Solution

A method for training a text Q&A model that involves determining sample question texts and answers, calculating uncertainty degrees based on prediction probabilities, and adjusting model parameters to focus on learning difficult questions, accompanied by filtration of simpler questions to enhance training efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the Q&A model is trained using conventional methods on all question texts, then the model can learn from both simple and complex questions, but the training efficiency is poor due to varying difficulty levels of questions

Engineering Contradiction:
Improvetraining efficiencyVSAvoidlearning quality
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent changes the parameter of training sample selection by filtering out simple questions based on uncertainty degree thresholds, transforming the training process from uniform treatment of all questions to selective processing based on difficulty parameters

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies different processing strategies to different parts of the question set: simple questions (below threshold) are filtered out, while complex questions (above threshold) are retained for training, creating local quality differentiation in the training data

Inventive Principle:
Principle #3Local quality

2Productivity

If the model focuses on complex questions by filtering simple questions, then the training efficiency improves, but the quantity of training data decreases

Engineering Contradiction:
Improvetraining efficiencyVSAvoidtraining data volume
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent extracts and removes simple questions from the training set based on uncertainty degree calculation, keeping only the complex questions that provide meaningful learning signals for the model

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent generates multiple versions of complex questions through text augmentation techniques, creating synthetic training samples that increase data volume while maintaining quality

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20250390683A1Method for training text question and answer model, and electronic device
Publication Date: 2025.12.25 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US20250390683A1 patent drawing
  • US20250390683A1 patent drawing
  • US20250390683A1 patent drawing

AI summary

A method for training a text question and answer (Q&A) model is performed by an electronic device. The method includes: determining a sample question text set and a sample answer text corresponding to a sample question text in the sample question text set; inputting the sample question text into a text Q&A model to be trained, and obtaining a predicted answer text output by the text Q&A model and at least one prediction probability of at least one reference character on each character position in the predicted answer text; determining an uncertainty degree of the predicted answer text; and obtaining a trained text Q&A model by adjusting a parameter of the text Q&A model based on the sample answer text, the predicted answer text and the uncertainty degree of the predicted answer text.