We use cookies, including third-party cookies from Google to serve personalized ads through AdSense, to operate this site and understand how it is used. By continuing to browse, you accept this use. See our Privacy Policy and Terms of Use for details, including how to opt out of personalized advertising.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More: Analytics
    choosing the next training batch from your model's mistakes
    Choosing the Next Training Batch from Your Model’s Mistakes
    14 Min Read
    Cut-paper editorial diagram of public web pages flowing through a terracotta volume meter into a BI budget panel.
    The Line Item Behind Public Web Data in BI: Proxy Bandwidth
    12 Min Read
    Flat editorial illustration: The article is about joining public web signals with internal business metrics so BI teams can inter
    Alternative Data in BI: Bringing Public Web Data Into Your Dashboards
    23 Min Read
    Flat editorial illustration: The article is about automating the collection, preparation, and delivery of marketing data across p
    From Data to Dashboards: 5 Marketing Reporting Automation Software Picks
    12 Min Read
    Flat editorial illustration: The article contrasts passive follower totals with a behavioral path from attention and trust to cli
    Creator Analytics Beyond Follower Count: Seven Metrics That Measure Audience Behavior
    11 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Choosing the Next Training Batch from Your Model’s Mistakes
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Business Intelligence > Artificial Intelligence > Choosing the Next Training Batch from Your Model’s Mistakes
Artificial IntelligenceModeling

Choosing the Next Training Batch from Your Model’s Mistakes

A refund-routing example shows which mistakes to train on and how to check the next model.

Kayla Matthews
Kayla Matthews
14 Min Read
choosing the next training batch from your model's mistakes
Image Credit: OpenAI
SHARE

Build the next training batch around a recurring mistake the model has enough information to resolve. Group related examples by incident, check the labels and add examples on both sides of the decision. Use validation data to choose the batch and reserve a separate final test for the fixed candidate.

  • Compare the input the model actually received with the label a reviewer can justify.
  • Count repeated messages from one incident together when prioritizing failures.
  • Review the label, data permissions and minimum context before adding a case to training.
  • Check precision and recall on the target class and watch for regressions on neighboring classes.

If a support classifier opens a new refund every time a customer asks where an approved refund is, another batch of ordinary refund requests may teach it very little. Start by finding out whether the model saw the approval and whether your routing policy tells it what to do with that evidence.

Contents
  • Decide whether the mistake needs more training data
  • Group failures by the decision they require
  • Choose examples on both sides of the decision
  • Audit labels, context and data permissions
  • Split incidents before selecting training examples
  • Measure whether the targeted batch helped
  • Frequently asked questions
    • How many examples should a targeted training batch include?
    • Can a failed test example move into training?
    • When should you change the routing rule instead of retraining?

Decide whether the mistake needs more training data

Start with examples your team can reproduce. In a hypothetical billing queue, requests for a new refund keep getting mixed up with follow-ups on an existing claim. Pull the message, the context the model received, the predicted route and the policy version that governs the decision.

If the approval never reached the model, fix the input or retrieval step and replay the incident. If two billing leads disagree when given the same evidence, resolve the queue rule and update the labels. A training batch is a better experiment when the context was available, reviewers agree on the right route and the error repeats across independent incidents. The same distinction matters in ticket and data pipeline automation, where application rules can cause errors downstream of the model.

Group failures by the decision they require

In your restricted review ledger, record an incident key, the model input or a reference to it, the expected and predicted route, the evidence behind the expected label and the rubric version. Use an access-controlled reference for raw context. Record the model version so you know which run produced each error.

More Read

5 Common Use Cases for Hadoop in Retail
5 Common Use Cases for Hadoop in Retail
Big Data: It’s About the Data, Not About the Big
How Is Knowing the Business Important to Data Science?
Important Steps to Take to Address the Bias in AI
Has Machine Learning Made Cryptocurrencies Traceable?

Four wrong replies in one refund thread count as four message-level errors and one failed incident. Keep both counts. Incident counts help you decide how broadly the failure recurs. Message counts show how much rework it generated. If forwarded tickets, merged cases or examples rewritten from the same source carry different IDs, group them before splitting.

A slice is a subset of examples that share a condition you want to check. For this router, group cases by the decision the system must make. An approved refund, a new request, missing context and a message with two requests call for different checks. Count misses against all reviewed examples in a slice before comparing error rates. A list of failures alone cannot tell you how often the model got that slice right.

Choose examples on both sides of the decision

Include cases where changing one fact should change the route. Hold the customer’s wording roughly constant and change the visible order state from an existing claim to no claim. Then vary wording while holding the expected label fixed. These are two distinct checks in Ribeiro and colleagues’ CheckList research. Keep any variants derived from the same incident together.

Decision to teachHypothetical customer messageWhat the reviewer checks
Refund status“You approved my refund last week. When will it arrive?”Check the prior approval. Route to the existing claim.
New refund request“The item arrived damaged. Can I get my money back?”Check whether a claim already exists. Apply the policy for new requests.
Missing context“Can you help with my refund?” with no visible order or claim stateUse the written clarification rule or route for review.
Two intents“Where is the refund on my first order? The replacement also arrived damaged.”Check whether the system supports two labels. Apply the escalation rule if it does not.
Four examples of refund-routing decisions. These cases illustrate the labels and do not represent production traffic.

The batch should also include ordinary examples the model already handles. Use them to check that the new data does not crowd out important behavior. For genuine ambiguity, use an explicit fallback label or exclude the case until reviewers resolve it. Keep examples with two requests only if the rubric explains how the system should handle them.

Audit labels, context and data permissions

Have another reviewer check a sample of the proposed labels without seeing the model’s prediction. Review disagreements against the rubric. If reviewers encountered the same ambiguity, write down the adjudication and apply it to similar rows. A small set of adjudicated reference labels can help reviewers calibrate. Use the same acceptance checks when you work with external annotation partners.

Keep the smallest context that justifies the label. A status request may need the earlier approval and its date. It rarely needs a card number or billing address. Before moving logs to a training store, check permitted use, access and retention and record the source. Confirm that the approved use covers training as well as logging. Synthetic variants need the same checks for label fidelity and source lineage.

Mind Lab describes benchmarking, data development and model post-training as parts of its training service. For a small internal pilot, the handoff can be a manifest linking the approved rows to their incidents, target slices, rubric and dataset snapshot.

Split incidents before selecting training examples

Assign each related incident group to one split before selecting examples. Grouped splitting keeps related observations together. It does not detect near-duplicates that were given unrelated IDs. Check shared orders, copied templates and synthetic descendants where they could reproduce the same evidence across splits.

Build the batch from training-pool incidents. Use a separate validation set to choose the batch and tune the candidate. Reserve a final test and open it after you freeze the candidate. Google’s guidance on dataset splits explains why reviewing a test repeatedly can make it less useful as an independent check.

Incident groups branch into a training pool, validation set and reserved final test.
Figure 1: Training and validation guide development. The final test checks the frozen model.
Assign related incidents to a single split. Select examples from the training pool and tune on validation. Use the separate final test after the model and settings are frozen. If a test incident informs a change, use the exposed group only for development and compare the models on the same new unseen benchmark.

Hamel Husain’s field guide on evaluations makes a related point about realistic test coverage when describing the Rechat property-search assistant.

you need to ensure your test data has enough variety to exercise the scenarios you care about.

Hamel Husain, A Field Guide to Rapidly Improving AI Products

The Python example below uses synthetic routing logs and a preassigned incident manifest. It counts failures only in the training pool. The final-test manifest includes an incident ID for the isolation check. Its message text, label and result are absent from the replay.

from itertools import combinations

# Synthetic replay log. Split assignments were made before error analysis.
events = [
    ("M-01", "INC-101", "refund_status", "new_refund"),
    ("M-02", "INC-101", "refund_status", "new_refund"),
    ("M-03", "INC-101", "refund_status", "new_refund"),
    ("M-04", "INC-101", "refund_status", "new_refund"),
    ("M-05", "INC-102", "new_refund", "refund_status"),
    ("M-06", "INC-103", "refund_status", "new_refund"),
]
# These sets come from separate split manifests.
groups = {
    "training": {"INC-101", "INC-102"},
    "validation": {"INC-103"},
    "final_test": {"INC-104"},  # Only the held-out ID is visible here.
}
for (left_name, left), (right_name, right) in combinations(groups.items(), 2):
    overlap = left & right
    if overlap:
        raise ValueError(f"{left_name} and {right_name} share {sorted(overlap)}")

errors = [
    inc for _, inc, expected, predicted in events
    if inc in groups["training"] and expected != predicted
]
print(f"Training-pool misroutes: {len(errors)}")
print(f"Unique training-pool failed incidents: {len(set(errors))}")
print(f"Validation incidents: {sorted(groups['validation'])}")
print(f"Final-test manifest: {sorted(groups['final_test'])}")
Training-pool misroutes: 5
Unique training-pool failed incidents: 2
Validation incidents: ['INC-103']
Final-test manifest: ['INC-104']

This checks the manifest for overlaps and counts errors on the training side. Match the manifest against the actual split exports, then check for related cases with different IDs. A release evaluation needs enough independent incidents to cover the intended cases and adjacent behavior.

If you use a final-test failure to change the batch, the exposed group becomes development data. Keep the old score attached to its benchmark version. Build a new unseen benchmark with comparable coverage and rescore the baseline and the candidate on that same version before claiming a gain.

Measure whether the targeted batch helped

Write the hypothesis and the release criteria before retraining. For this router, decide how many false status routes you can tolerate while catching more valid status requests. Compare the baseline and candidate on the same examples, label policy and scoring method. Keep other training inputs and settings steady if the goal is to isolate the effect of the batch.

Suppose the validation set contains 25 actual status requests. The baseline correctly routes 15 of them and sends five other requests to the status queue. Its precision is 15 of 20, or 75%, and its recall is 15 of 25, or 60%. The candidate catches 20 status cases and sends eight other requests to that queue. Recall rises to 80% while precision falls to about 71%.

Read those eight wrong routes before deciding what to ship. If they are new claims that will now miss a deadline, the recall gain may be a poor trade. Report the raw counts, especially for small slices. Also check new claims and unrelated billing queues so an improvement on the target class does not hide a regression elsewhere.

In its launch note for Mind Recursive (named Mint Recursive in the announcement), Mind Lab describes a chat experiment in which task progress improved while timely closure declined on the company’s scoring scale. That is a useful example of competing outcomes within one run. The company’s report does not establish how the refund router would perform.

Save the data version, rubric, split manifest, model settings and result counts. Use validation errors to decide what to investigate in the next round. Keep release-test results tied to the version you actually measured.

Frequently asked questions

How many examples should a targeted training batch include?

Size a targeted training batch by coverage. Include reviewed examples on both sides of the decision, plus independent cases for the important edge conditions. Start with a batch small enough to audit, then use a separate validation set to check whether adding more training examples helps.

Can a failed test example move into training?

Retire the incident and all related examples from independent scoring before using it in training. Treat any fix shaped by the exposed test as development work, then compare the baseline and candidate on a new unseen version of the benchmark.

When should you change the routing rule instead of retraining?

Change the rule when reviewers cannot agree on the expected label given the same evidence. Correct the input pipeline when the necessary evidence never reaches the model. Consider retraining when the rule is clear, the input is complete and independent incidents still fail.

TAGGED:data qualitymachine learningtraining data
Share This Article
Facebook Pinterest LinkedIn
Share
ByKayla Matthews
Follow:
Kayla Matthews has been writing about smart tech, big data and AI for five years. Her work has appeared on VICE, VentureBeat, The Week and Houzz. To read more posts from Kayla, please support her tech blog, Productivity Bytes.

Follow us on Facebook

Latest News

Flat illustration of vermilion data packets following separate paths through charcoal relay nodes.
5 Residential Rotating Proxy Services for Web Scraping
Data Collection Exclusive Privacy
Cut-paper scene of split mobile and TV signal cards passing through a charcoal bridge and vermilion reconciliation gates.
Data Fragmentation and Measurement Gaps in Programmatic
Big Data Exclusive
Cut-paper editorial scene of labeled data cards passing through a charcoal inspection frame and vermilion quality gates.
How to Measure Data Annotation Quality Before Release
Big Data Exclusive
Cut-paper editorial diagram of service callback tickets moving through a terracotta sorter into rising scorecard bars.
Why Your Redo Jobs Hold the Best Data in Your Franchise
Big Data Data Collection Exclusive

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

New Case Studies Show Promising Potential for Writing Content with Machine Learning
Artificial Intelligence

New Case Studies Show Promising Potential for Writing Content with Machine Learning

7 Min Read
#11: Here's a thought...
Business IntelligencePredictive Analytics

#11: Here’s a thought…

7 Min Read
Selling the Business Benefits of Data Quality
Data Quality

Selling the Business Benefits of Data Quality

0 Min Read
Prinicpal Components for Modeling
Predictive Analytics

Prinicpal Components for Modeling

6 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots
ai chatbot
How AI Website Chatbots Improve Customer Support and Lead Generation
Chatbots Exclusive

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-26 SmartData Collective. All Rights Reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?