An engineering leader hears, “We fixed the data,” after a model result changes. The report lists the edits, but leaves the leader unable to see what changed the result.
A data diff compares versions of a dataset to reveal changes in rows, values, table structure, or column statistics. For machine learning, those changes are a starting point: their effect on model results needs a separate comparison using the same model settings and evaluation records, interpreted against criteria for the task.
Adapted from Data Has No Diff by Daesung Kang, CTO of CUBIG, on the CUBIG Tech Blog (November 2026).
Key takeaways
- Row-level and table-level diffs show what changed in data, but do not establish how those changes affected model results.
- A comparison using the same model settings and evaluation records makes the effect of preparation easier to examine.
- Passing data quality checks does not show that data fits the task; agreed acceptance criteria, such as how many false alarms the reviewing team can handle, decide what counts as a pass.
- Earlier data versions are useful comparison points, but an earlier result does not vouch for new conditions; it becomes the baseline for a new comparison.
What does a data diff show, and what does it miss for machine learning?
A data diff shows how datasets differ, while a model-result comparison shows how results differ before and after those changes under the same conditions. Data diff tools help teams find added or removed records, changed values, schema changes, and shifts in column statistics. Those details are useful for reviewing preparation work and investigating unexpected inputs.
A list of edits might say that a team cleaned input variables, added derived variables, or filled gaps in underrepresented cases. Each item describes work performed, but the list does not say whether a model became more useful for its intended task. A reviewer needs both the change record and a way to assess its consequences.
The distinction resembles code review, with a limit. Reading a changed conditional can help a reviewer reason about which inputs might produce different behavior, although code review cannot reveal every effect. A newly added data record can look reasonable on its own while its contribution to a model depends on the rest of the training distribution.
Why can’t changed rows show the effect on a model?
Changed rows alone cannot show the effect on a model because learning depends on relationships across the data. A change to the distribution of an input may also change how a model uses other inputs. A row diff is therefore valuable evidence of the edit, but it is not a prediction of the resulting model behavior.

Sculley and colleagues describe this dependency as CACE, or “Changing Anything Changes Everything,” in Hidden Technical Debt in Machine Learning Systems, presented at NIPS in 2015. Their paper includes a section called “Data Dependencies Cost More than Code Dependencies.” Interactions make the effect of an edit difficult to infer from the edit alone, even when the change turns out to be harmless.
For a reviewer, the practical question changes from “Which rows did we edit?” to “How did results differ under the same conditions?” The row-level answer remains useful when investigating a result. The result comparison adds the task-level evidence that the row listing cannot supply by itself.
CUBIG Shorts
Same Model. Two Different Results.
A short take on the same point: the same model can give a different result when only the state of the data changes.
How can you read a data diff in model results?
Compare the before and after data with the same model settings and the same evaluation records, then examine the differences against the task’s criteria. Keeping those conditions consistent makes the comparison more informative because the team is not simultaneously changing the model settings or the records used for evaluation. The comparison still needs interpretation: a better aggregate score may come with a less acceptable pattern of errors.
The closest software analogy is a regression test. Instead of treating the data change list as the complete review, the team runs a comparable test on each state and examines what changed in the results. A suitable evaluation set provides the records against which those results are examined.
Record the data states, preparation choices, model settings, evaluation records, metrics, and acceptance criteria alongside the result. That context lets another reviewer understand what was compared and what the result can support. When conditions later change, the recorded comparison remains useful as a reference, but the new conditions need their own assessment.
A comparison can reveal a tradeoff without deciding whether the tradeoff is acceptable. For example, a team may want to find more relevant cases while also limiting the work created by false alarms. The people responsible for acting on alerts need to decide which balance is acceptable for their task.
Why can data pass quality checks and still fail the task?
Data can satisfy checks for missing values, formats, and ranges while containing information unavailable when a prediction is needed. Many data quality checks resemble unit tests: they inspect whether individual properties meet specifications. Task acceptance asks a different question: can the data and resulting model support the decision the user actually needs to make?
The UCI Bank Marketing dataset page notes that call duration is unknown before a call and should be discarded for a realistic predictive model. A duration value may be numeric and plausible, yet it cannot be used to decide whom to call in advance. The timing of the decision exposes a problem that a format or range check cannot establish.
In CUBIG’s 2026 Bank Marketing experiment, the inputs included call duration, and Random Forest F1 rose after preparation while false alarms rose from 16 to 39 on the same 824 evaluation records, in one evaluation split. The experiment therefore illustrates a metric tradeoff under those conditions; it does not establish performance for a realistic prediction made before a call. A team reviewing alerts could judge the additional false alarms differently depending on its capacity and priorities.
Acceptance criteria make that judgment explicit. The business team that reviews the alerts decides how many false alarms are acceptable, while an engineering leader should refuse reports that provide no criteria for interpreting the result. Data cleaning for machine learning is useful in this wider context, but clean-looking inputs do not by themselves answer the task question.
What does a postmortem need when an AI result changes?
A useful postmortem needs the data, model settings, and evaluation conditions associated with each result. A software incident review starts by reconstructing the deployed commit and configuration, then asks what changed. When an AI result cannot be traced to its data and conditions, the team is running that review without commit hashes. For an AI system, the training data, search index, reference documents, model, and evaluation conditions may change, sometimes at the same time.
When both the model and data change between results, the difference alone cannot identify which change produced the outcome. A record of the relevant states helps narrow the investigation and guides a controlled comparison. Without that context, a change list may tell the team what happened to a file without explaining the conditions behind a result.
Sambasivan and colleagues studied data cascades in high-stakes AI in a CHI 2021 paper, describing problems that compound and can be difficult to diagnose. Their Google Research summary of the 2021 study says cascades often lack clear indicators, and those triggered by drift took up to two to three years to surface. A delayed symptom makes the ability to reconstruct earlier conditions especially useful.
Data lineage can help a team understand where data came from and how it changed. For a postmortem, the remaining question is how those records connect to the settings and evaluation conditions behind a particular result. That connection gives the investigation a starting point, so the team can narrow down the cause instead of guessing.
Why is an earlier data version a yardstick rather than a safe place to roll back to?
An earlier data version supplies a reference for comparison, but its earlier result applies to the conditions in which it was measured. Software teams keep releases so they can recover a known state after a problem. Data work also benefits from preserving earlier states, particularly when preparation might otherwise overwrite the source or obscure what was removed.
Preserving a version does not make its former result valid under every later model, dataset, or acceptance criterion. A team can return to an earlier state and still need to evaluate it under current conditions. The old result is useful evidence about the earlier comparison, not a substitute for the new one.
The rollback question changes as a result. Instead of asking only whether an earlier file exists, ask whether the team can identify the data version, settings, and evaluation conditions behind the result and run a comparable assessment again. The concepts in data versioning help frame why retaining those states matters.
Where does the software analogy break down?
The analogy needs adjustment because model comparisons are statistical, acceptance criteria come from the team that acts on the results, and preparation choices must be assessed through results. A deterministic code test can return the same answer for the same input, while an evaluation result depends on the records and split used. A favorable result on one split does not establish that it will hold on other splits.
In CUBIG’s October 2026 UCI Wilt experiment, the evaluation set contained 15 positives among 868 image segments, so missing one positive changes recall by about 6.67 percentage points. That observation comes from one split, and performance on other splits requires separate checks. The example shows why the size and makeup of an evaluation set matter when interpreting a score.
The analogy also breaks at the acceptance decision. Engineering can make comparisons reviewable, but the business team that handles alerts must decide what workload and errors it can accept. Similarly, a preparation choice such as adding variables or filling underrepresented cases needs comparison on the specific task before its value can be judged.
The release questions still provide a useful structure when rewritten for data:
| What we asked of software | What we ask of data |
|---|---|
| What changed? | With the same model settings and evaluation records, how different are the results before and after the change? |
| How was it verified? | What did we agree counts as a pass, and who set that criterion? |
| Can we roll it back? | Is each result kept with the data version, settings, and evaluation conditions that produced it, so the same comparison can be run again when conditions change? |
The three rewritten questions can be asked across model architectures. Leaving them unanswered makes it difficult to rule out data operations as a source of a changed result, even when the model itself receives most of the attention. The data preparation experiments provide further examples of examining preparation through task results.
Where does CUBIG fit in this workflow?
CUBIG builds Syntitan, an AI-ready data platform, to help teams prepare and validate data for a specific AI task and keep earlier states available for comparison. Syntitan leaves the original Dataset untouched; each Use Case Project starts from a copy. Preparation and validation results are kept as Versions, leaving an earlier state available to compare against.
As of November 2026, Syntitan’s Ready for Model compares built-in models before and after its own preparation on the same evaluation records, for yes-or-no prediction on datasets of 100 to 10,000 rows. The comparison gives a team results to examine against its own task criteria. The business decision about acceptable errors remains with the people responsible for the work.
AI-ready data has been prepared for a specific AI task and had its results checked, and its relevant parts can be checked again when data or conditions change. Readiness is not a one-time score: the meaning of a result depends on the task and the conditions under which it was measured.
A before-and-after comparison cannot establish that a result will hold under every future condition or identify every cause of a change. Try it on your data in Syntitan: compare model results before and after preparation on the same evaluation records.
