A support team switches its assistant to a replacement model while another team rebuilds the search index. The replacement scores lower on the same test set, and someone starts rewriting the prompt.
To compare LLM models fairly, a team runs the old and new models on the same evaluation cases, with the data setup, prompt, tools and grading held fixed where compatible and each setup repeated, so that a change in results can be traced to the model rather than to documents, indexes or settings that changed at the same time.
Based on an essay by Minchan Chung, Co-Founder and Co-CEO of CUBIG, first published on CUBIG Tech Blog on October 29, 2026.

Google researchers named a related problem in a 2015 NeurIPS paper as the “Changing Anything Changes Everything” principle, noting that in a machine learning system “no inputs are ever really independent.” When the model and its data change together, a different answer does not tell the team which change produced it.
CUBIG’s own bank marketing comparison ran the opposite experiment: the model settings and the same 824 original evaluation records stayed fixed, and only the data preparation changed. A model migration needs the mirror image. The data setup stays fixed, and only the model changes.
What has to stay the same when you compare LLM models?
An evaluation file can stay unchanged while the workload it exercises moves on. Chung’s example is a fictional technical-support assistant that answers questions from equipment manuals. The evaluation questions stay untouched, but the rebuilt index adds manuals for newer equipment and changes the passage boundaries. Answers about maintenance procedures get worse, and the team has a reason to investigate, but very little basis for blaming the replacement model.
The questions are only the starting point. An assistant may retrieve passages, look up reference tables and call tools before it answers. Chung recommends keeping a record of the source documents, index configuration, filters and reference tables used in the test, along with the prompt, tool definitions and relevant preprocessing code. Captured responses from a changing external service can support an offline replay, provided the test does not need the service’s live behavior.
Microsoft’s model migration guidance makes a similar recommendation: hold inputs, expected answers and success criteria fixed, then replay the existing workload on the replacement before tuning it. Chung adds that for a retrieval-based assistant, the material fetched during execution needs attention as well as the questions in the test file.
The baseline has a deadline when the old model is being withdrawn. Teams should run and save the baseline while access remains, because once the old model is gone, the team cannot generate fresh results from it, and an old score without its inputs and outputs is a poor substitute. The baseline also needs an agreed standard. Reproducing an old mistake is not a successful migration, so the reference answer for a maintenance question should name the equipment revision and the required steps.
How do you separate a model change from a data change?
Chung starts with three configurations, each answering a narrower question. The plan describes what to compare; three individual calls are not enough to decide anything.

- A: current model, preserved data setup. A is the baseline.
- B: replacement model, same data setup. The application prompt, tools and retrieval configuration stay unchanged where compatible. Any required adapter or parameter change is recorded; if it also changes behavior, the comparison is between configurations rather than an isolated model swap.
- C: B plus the rebuilt index. B to C measures what the index change does with the replacement in place.
Teams should repeat each configuration enough to see ordinary variation and grade the same cases with the same criteria and evaluator. A model-based grader’s configuration needs preserving too. A small movement in the average may disappear across repetitions, while a recurring failure on one equipment family may remain worth fixing.
The pattern of results points to the next step. If B behaves like A but C repeatedly misses the same instruction, the team should inspect the passages returned by the rebuilt index first. If B already fails with the old index, the replacement configuration needs attention. Saving those failing cases before tuning anything gives the next experiment a stable starting point.
The limits matter. A to B estimates the model change under the old data setup, and B to C estimates the data change under the new model. Neither shows that the data change would affect every model equally. Testing the old model with the new index, when possible, adds the missing comparison and can reveal an interaction.
DoorDash’s 2021 engineering article on ML model migrations offers a useful precedent: it describes isolating the riskiest components, migrating them sequentially and validating their impact on agreed metrics after each one, which the authors say makes a regression easier to detect early and trace.
The DoorDash case was an ML service migration, not an LLM experiment, but the same sequencing makes a regression easier to locate.
CUBIG Shorts
Two People Blamed. Neither Changed a Thing.
When a result changes, find what actually changed before assigning blame. CUBIG: It Worked in the Demo, Ep. 4.
Why can the same index return different evidence?
An agent may write its own search queries. A different model can ask the same index a different question and retrieve different passages. That shift can be part of the model change’s effect on the complete workflow, and it does not by itself mean anyone changed the underlying data.
Saving the retrieved passages separates the two questions. Feeding both models identical saved passages tests answer generation with the evidence held fixed. Letting each model retrieve through the same tools tests the wider workflow. Both experiments are useful, and the result should say which one the team ran.
Some migrations do not allow a clean intermediate configuration. Replacing an embedding model may require rebuilding the index, so the team should keep the source documents and evaluation cases fixed where possible and assess the migration as a combined retrieval-system change. A better final answer alone cannot show how much came from the embedding model and how much from the rebuilt index.
What should a team record before changing the prompt?
Before editing the prompt, Chung suggests taking one failed maintenance question and placing the two execution records side by side. Each record should hold the same fields so that the difference is visible at a glance:

- Model version and any adapter or parameter changes.
- Application configuration, including the prompt and tool definitions.
- Index version and the retrieval settings in effect.
- Retrieved passages for that question.
- Final answer and the grade it received.
Then the team runs the missing comparison while the old setup is still available. If the previous index was overwritten and cannot be recovered, the team should record that limitation. Historical traces may still explain individual failures, but they do not recreate an end-to-end baseline that no longer exists. Recording model versions together with index and data versions makes the old setup easier to rebuild for that comparison while the old model is still available.
Where does CUBIG fit?
Syntitan, CUBIG’s AI-ready data platform, works on the data side of this kind of comparison. In Ready for Model, a team compares results before and after data preparation for a specific model task under the same evaluation conditions, currently for supported binary classification tasks. The original dataset stays untouched, and each prepared result is saved as a Version, so the team knows which data produced which score.
Whatever tools a team uses, the habit from Chung’s essay applies: change one thing where the setup allows it, keep the rest fixed, and write down what stayed fixed. A result that says which experiment ran gives the engineer a specific next step before an afternoon of prompt edits makes the original difference harder to recover. Teams can compare model results before and after data preparation on their own data in Syntitan.
