Poor data foundations erode AI return on investment quietly. The model looks fine in a demo, then underperforms in production because the inputs are inconsistent, the labels are unreliable, the test set leaks answers, or nobody notices when the data changes. Before spending more on models, check five things: data quality, provenance, labels, evaluation sets and monitoring. In our delivery work, fixing these has usually moved results more than changing the model.
Why data problems stay hidden until launch
A prototype is usually built on a clean sample someone prepared by hand. Production brings every format, missing field and exception the sample left out. The model has not changed, but the problem it is asked to solve has. Teams then tune prompts or swap algorithms when the real fault sits upstream.
The symptoms are familiar: accuracy that drops after launch, reviewers who stop trusting the output, and a growing pile of manual corrections that never flow back into the system. Each is a data problem first.
Quality and provenance: know what every field means and where it came from
On a loan processing and underwriting platform we built for a regional consumer lender, applicant documents arrived in fifteen different formats: pay stubs, tax returns, bank statements and employer letters. The existing OCR output had to be reconciled by hand, line by line, against the application. Credit scoring could never be better than that input.
We made document understanding the foundation. A layout-aware model fine-tuned on the lender’s own documents produced structured fields mapped to the underwriting schema, with a confidence score per field so underwriters knew where to look. Extraction shipped first because everything else depended on it. Looking back, the time invested in extraction quality paid back several times over downstream, because the credit model, the compliance engine and the underwriter workstation all consumed the same structured output.
Provenance matters as much as accuracy. For each field, you should be able to say which source produced it, when, and with what confidence. Without that, a wrong prediction cannot be traced and a reviewer cannot check it quickly.
Labels are a product decision, not a cleanup task
The same lender captured underwriter overrides as free text, which made them useless for retraining. We replaced free text with a structured override taxonomy, so every disagreement with the model became a labelled example. The model then retrained weekly on that stream, with promotion gated on held-out metrics. On a predictive maintenance platform for an industrial equipment operator, we logged maintenance leads’ disagreements with recommendations and reviewed them weekly for the same reason.
If your experts already correct the system, design the correction screen so their judgement becomes training data. It is the cheapest labelling you will get.
Leakage and honest evaluation sets
An evaluation set that resembles the training data too closely flatters the model. Leakage is the usual cause: information that would not exist at decision time slips into the features, or near-duplicate records land on both sides of the split. Check for these before trusting any headline figure:
- Features that are only known after the outcome, such as fields filled in during collections or repair.
- Duplicate or near-duplicate records shared between training and test data.
- Random splits on data with a time dimension, where a time-based split reflects real use.
- Test sets drawn only from clean cases rather than the formats and exceptions production will bring.
State how each published number was measured. The lending platform’s 92% risk accuracy was measured on a held-out twelve-month back-test against actual repayment performance, and the maintenance platform’s 85% failure prediction figure on a held-out three-month sample. A number without its test set is not evidence.
When the data you need does not exist yet
The maintenance operator had sensors on its machines, but the data lived in vendor-specific systems with no unified view, and near-miss failures had been visible in the readings only after the fact. The first piece of work was not a model. It was a single time-series store covering every machine, with per-machine-class anomaly detectors feeding the failure prediction models.
Many plants have the opposite of what a failure model needs: plenty of sensor data and few recorded failures. In that situation we start with anomaly detection and condition thresholds agreed with the plant’s engineers, then add failure prediction as labelled events accumulate. The modest version earns the history the ambitious one requires.
Monitor the data, not just the model
After launch, watch the inputs as closely as the outputs: new document formats, missing sensor feeds, a rising share of low-confidence fields, and climbing override rates. Define a cutover gate before rollout. The lender moved to the new platform only after underwriter overrides of model recommendations fell below twelve percent, and the maintenance platform moved to ERP-integrated scheduling only once recommendation acceptance held above seventy-five percent.
For the full lending example, read the loan processing and underwriting case study, or our guide to predictive maintenance software development. If you want a second opinion on whether your data can support the project you are planning, talk to our team before choosing a model.
