When an AI model falls short of quality expectations, the proposed fix is often a larger model, a newer architecture, or a more complex reasoning approach.

That proposal may be right. The current model may lack capacity, or it may be unable to process the inputs or relationships the task requires.

But poor quality is an outcome, not a diagnosis. Unclear ground truth, unrepresentative data, training that does not reflect the errors that matter to the product, and architectural limitations can all produce the same result. If you change the architecture before separating these causes, you are using the most expensive option to test a diagnosis that is still vague.

An architecture change should not be the first response to a quality problem. It should be the last major investment approved, after the remaining errors have been shown to reflect an architectural limitation.

Start Where System-Wide Diagnosis Ends

Quality problems in a production AI product can originate in real-world inputs, retrieval and preprocessing, post-processing, or how the product presents the result. The previous article explained why failures must be traced across the entire system.

This article begins after the problem has been reproduced under real-world conditions and the system and product execution paths have been checked, confirming that the remaining quality work lies within model development.

The question is now where to invest: data, training, or model architecture. The three influence one another, but changing them all at once makes it impossible to know what produced the result. Before approving the next level of investment, define the evidence that would support it instead of choosing the solution that sounds most plausible.

The Request-Routing Problem That Seemed to Need a Larger Model

Consider a hypothetical organization that uses a classification model to route user requests to the appropriate specialist team.

Overall offline quality remains roughly unchanged. But during a limited operational trial, some requests repeatedly go to the wrong team. Responses are delayed while staff reread and reroute them, adding to the operational workload.

The errors are not evenly distributed. They cluster in a few request types that are rare but consequential when misrouted. Because common requests dominate the overall average, the problem barely registers there.

The model engineers suspect that the current model cannot adequately understand complex phrasing or subtle differences in intent. They consider replacing it with a larger language model or adopting a multistage architecture that selects a broad category before identifying a more specific one.

The explanation is intuitive, and the work is easy to plan. Select a new model, run a comparative evaluation, and set a migration schedule. It is also easier to start within the model group than to reopen the ground-truth criteria and ask multiple stakeholders to assess the errors together.

But only one fact has been established so far: some predictions differ from the recorded ground truth. The team has not yet shown that the current model is unable to make the necessary distinctions.

Inspect the Errors Instead of Recalculating the Average

Rather than calculate the overall score again, the model engineers create two review samples.

The first is a random sample that reflects the distribution of production inputs. The second deliberately includes errors that have a high impact on users and operations, even if they are rare.

A random sample alone allows common request types to dominate the analysis. A sample containing only high-impact cases can make a rare problem look system-wide. Reviewing both separates error frequency from error impact.

The model engineers examine the original request, the existing ground truth, the model prediction, and the actual routing outcome side by side. Operations staff who understand the business rules independently assess the same cases.

What had been grouped together as “model errors” now splits into distinct hypotheses: ground-truth criteria, data representativeness, training, and architectural limitations. Error analysis is not retrospective reporting. It is technical work that defines the problem the next investment must solve.

You Cannot Compare Models Until the Ground Truth Is Sound

When reviewers reassess the error sample, they find that some cases have no consistent ground truth.

A single request may contain two different needs. Some historical records label the team that first received the request as correct, while others use the team that ultimately resolved it. Operations staff also disagree about which need should take priority.

In these cases, a prediction is not necessarily wrong simply because it differs from the existing label. A larger model will not make an ambiguous objective clear. Even if it scores higher on the existing evaluation, that result cannot show whether it follows the actual routing policy more faithfully.

The reviewers decide which need takes priority when a request contains several, whether ground truth should reflect the initial assignment or the final resolution, and how to handle cases that people cannot agree on in an automated classification evaluation. They then relabel a separate evaluation sample using the agreed criteria and hold it fixed for subsequent experiments.

Correcting the evaluation criteria is not administrative work that comes before model improvement. It determines what counts as improvement.

Separate the Data and Training Hypotheses

Once the analysis is limited to errors with clear ground truth, a new pattern appears. The errors cluster in request types and phrasings that are poorly represented in the training data. Common categories contain varied examples, while rare but important categories lack both representative and borderline cases.

The model engineers hold the architecture and training conditions constant, recheck the labels in those slices, and add examples that better represent them. They measure the result on the evaluation sample fixed earlier.

In this hypothetical scenario, some of the target errors decline. That does not prove data was the only cause. It does provide evidence that the current architecture can learn at least some of the necessary distinctions when given appropriate examples.

Testing a data hypothesis does not mean adding data indiscriminately. The engineers need to know which errors the data is meant to reduce, whether its labels are trustworthy, and which part of the real input distribution it represents. Adding data without a target is no different from scaling a model without one.

Errors remain after the data is cleaned and expanded. Analysis of those residual errors shows that the model tends to choose common categories. Misclassifying a rare category creates more operational burden, but the existing training objective treats cases similarly and optimizes for a higher overall average. Common requests also dominate the training sample.

Relevant information may exist in the data without the training process making sufficient use of it.

The model engineers keep the architecture and cleaned data fixed while changing the training conditions. They adjust the objective to account for high-impact errors and change the sample mix so that common categories do not dominate training. They also verify that these changes do not degrade overall quality.

Even if the target slice improves again after these changes in this hypothetical scenario, the result does not establish that training is always more important than architecture. It shows only that if a different training approach can reduce the target errors with the same data and architecture, those residual errors cannot yet be attributed to an architectural limitation.

Only then is there a sound basis for testing whether the remaining errors reflect a limitation of the current architecture.

Compare Architectures on the Same Problem

Before investing in a product migration, the model engineers compare the current and candidate architectures using the same cleaned data and evaluation criteria. Where practical, they align the comparison budget and tuning opportunities. They also document in advance the training conditions each architecture requires and any factors that cannot be held constant.

The comparison examines the error slices the project is actually trying to improve, not just the overall average. It also covers response time, compute, reliability, and operational complexity. Without these controls, improvements from additional data, compute, or tuning opportunities given to the candidate model can be mistaken for improvements from the architecture itself.

In this hypothetical case, the candidate architecture improves some aggregate metrics but delivers no consistent additional benefit in the critical error slices across repeated experiments. Once the added resources and migration work are considered, the evidence is not strong enough to justify replacing the entire architecture.

The organization keeps the current architecture. The people responsible for the relevant work instead clarify the routing rules and ground-truth definition, strengthen the data in weak slices, and adjust the training objective and sample mix. They continue to track the high-impact error slices alongside the overall average.

The important outcome is not a particular score improvement. Breaking one quality problem into distinct hypotheses changed the investment decision.

The Investment Approval Sequence: Error Analysis → Data → Training → Architecture

The reasoning in this case can be compressed into four stages. Each stage requires different evidence before the next level of investment is approved.

  1. Error Analysis
    The problem must be reproducible under real-world conditions. The ground-truth criteria and target error slices must be defined, and error frequency must be separated from error impact.
  2. Data
    Significant labeling and representativeness problems must be corrected. The errors resolved by data changes must be distinguishable from those that remain.
  3. Training
    After reasonable training alternatives have been tested, the residual errors must continue to recur consistently, with evidence that further training adjustments offer limited additional value.
  4. Architecture
    A controlled comparison on the same problem and under the same evaluation conditions must show that the candidate architecture consistently reduces the target errors.

This Sequence Is Not a Waterfall

This framework defines the order for approving major investments, not the calendar order of the work. Low-cost experiments can run in parallel. While examining data learning curves, the model engineers might test a different objective function or explore a candidate architecture on a small scale.

The framework also does not require an endless search through every possible data and training method. Important low-cost hypotheses should be tested within a reasonable scope, with the experimental boundaries and stopping conditions set in advance. If a new labeling problem or a change in the data emerges, the investigation may need to return to an earlier hypothesis.

Conversely, data and training experiments should not continue when there is a clear architectural limitation. Architecture can be evaluated earlier when:

  • The current model cannot process an input format or modality required by the task.
  • The required context window or output format clearly falls outside the boundaries of the current design.
  • The model repeatedly underfits reliable data across several reasonable training conditions.
  • The current architecture is fundamentally unlikely to meet established latency, memory, power, or privacy requirements.
  • The product is now trying to solve a different task.
  • A limited comparison using the same data and evaluation conditions has already shown a consistent advantage for the candidate architecture.

Even in these cases, the errors and requirements still need to be verified. Architecture may be the first improvement candidate, but the larger the change and the more product migration it entails, the greater the burden of proof.

Separate Exploration From Migration Approval

Exploring a new architecture and migrating a product to it are different decisions.

Small comparative experiments can begin early. But a product migration may require changes to data and training pipelines, renewed validation, system integration, and additional operational work. Promising results from exploration are not enough to approve a full migration.

A product migration proposal should present the evidence from the four preceding stages on a single page: the errors to be solved and their impact, trustworthy evaluation criteria, what data and training changes resolved and what remains, and the results of a controlled architecture comparison.

The proposal should also include product-level costs and stopping conditions. The decision must account for whether the expected quality gain justifies the latency, compute, reliability, migration, and operational complexity. It should also specify in advance which results would warrant further investment and which would bring the work to a stop.

Narrow the Cause Before Reaching for the Expensive Fix

Selecting a new model and developing a migration plan can feel like progress. Rereading errors, agreeing on ground truth, and finding gaps in the data can seem slower by comparison.

That is precisely when one question should come before the name of the model:

Which errors remain, and what evidence now says that the architecture must change?