Freezing the Gold Standard for Safe Inference-Stack Upgrades

How to freeze, jointly own and refresh a clinically adjudicated reference set, and set the accuracy-delta gate for safe inference-stack upgrades.

Freezing the Gold Standard for Safe Inference-Stack Upgrades
Written by TechnoLynx Published on 01 Nov 2026

Safe upgrades of a clinical imaging model rest on a gold-standard reference set with three properties: clinicians adjudicated it independently of the model, it was frozen before the upgrade, and engineering and clinical/quality staff own it together. Run the same frozen cases through the old and the new inference stack, compare the outputs on a metric both sides agreed in advance, and release only if the measured delta stays inside the pre-specified bound. Refresh the set when the patients or the acquisition change, not when the software does.

TechnoLynx builds that gate as part of its AI Governance and Trust work for medical-imaging teams. The first step is framing the accuracy-delta requirement against your inference stack and upgrade cadence. After that, the agreed metric and threshold go into the benchmark harness, so a failing upgrade is blocked automatically. TechnoLynx treats this as production AI reliability engineering, a discipline distinct from improving model accuracy.

Who owns and freezes the held-out image set that decides whether an upgrade is safe?

Ownership should be joint. Clinical/quality staff decide what counts as clinically relevant truth and how much change is acceptable, and engineering turns that into a reproducible, version-controlled harness.

Freezing is more than copying a folder. The FDA’s January 2025 draft guidance on AI-enabled device software functions asks sponsors to describe how training and test data are stored, including dataset version control and data security. It also asks for the controls that keep test data sequestered from the development process, and it says reviewers need to know whether test data are independent of training data (for example, sampled from different clinical sites) and sequestered from the model developers. The FDA’s general principles of software validation add the older quality-assurance rule of “independence of review”, noting that self-validation is extremely difficult. They also call for configuration management that keeps approved versions of specifications, source code and test suites in correct correspondence.

For an inference stack, we would freeze the whole comparison, not just the images. That means a content hash for every image, a versioned label file, the preprocessing code, the model weights and the exact harness configuration, so that the only variable between two runs is the stack change under test. Keeping the people who assess separate from the people who develop is an organisational problem as much as a technical one, and we cover it in our piece on building an evidence-backed independent model validation function.

Reusing one frozen set across many upgrades

The FDA notes the risk that algorithms and readers become tuned to a test set used multiple times. FDA OSEL research on test-data reuse under change control plans warns that testing a sequence of model updates repeatedly on the same dataset can overfit the model to it, producing misleading, overly optimistic results. In FDA OSEL’s experiments, naive reuse of a small test set substantially inflated measured ROC AUC compared with true population performance. The Thresholdout access method reduced that bias at the cost of wider uncertainty in the reported estimates. Earlier work allowed modifications to be tested repeatedly on one dataset through grid discretisation and Bonferroni correction. The sequentially-rejective graphical procedures of Feng, Pennello, Petrick, Sahiner and colleagues controlled the rate of approving unacceptable modifications while approving more beneficial ones.

The FDA’s CADe guidance recommends these controls when a sponsor plans to reuse test data in a CADe performance assessment:

  • select data randomly from a larger database that grows over time;
  • retire cases acquired with outdated protocols or equipment;
  • place a small fixed limit on how many times a case can be used;
  • keep a firewall so that only the assessment team sees the data;
  • log every access, recording who accessed the data, the test conditions and the summary results;
  • use new readers in each reader study.

The same guidance asks that algorithm developers see nothing beyond the appropriate summary performance results.

Under the CADe guidance, when no algorithm training happened between two tests, a new set of readers may address reuse concerns; after training, it discourages reusing the test data. Switching cuDNN versions, rebuilding a TensorRT engine or moving from FP32 to FP16 involves no training on the test set. The human loop still can, though. An engineer who looks at per-case failures and adjusts calibration or kernel options until the upgrade passes is tuning to the test set by hand. For that reason we would keep summary-only reporting and the access log even when the weights have not changed.

Which accuracy-delta metric should the upgrade gate use, and who sets the threshold?

Gate on the metric that tracks diagnostic risk at the operating point the device actually uses, and agree it before the first upgrade is tested. Clinical/quality staff set the clinically acceptable bound, and engineering supplies the measurement noise floor beneath it. The FDA’s CADe guidance says the scoring process should be described and fixed before evaluation begins, and it treats pre-specification of the statistical analysis as a key factor for consistent, convincing evidence.

Candidate metric What it catches Where it misleads
Sensitivity/specificity shift at the fixed operating point Changes in missed and false findings, which map directly to clinical risk Wide confidence intervals on small sets; the FDA draft guidance expects all performance estimates with confidence intervals
Per-case score drift (change in output probability) Numerical changes from precision, kernel or compiler changes, including changes that flip no decision Says nothing on its own about clinical impact
Disagreement rate (old and new stack decide differently) Any decision flip at the threshold, without needing labels An aggregate rate can hide flips concentrated in one class or subgroup
Aggregate AUROC or F1 Gross failures In Nature Communications (2024) experiments, AUROC did not substantially change under most drifts, and per-class measures were the most sensitive

For a stack upgrade where the weights are unchanged, we would combine two measures. The first is the per-case disagreement rate at the clinical operating point, reported per class. The second is per-class sensitivity and specificity with confidence intervals, broken out by subgroup. Subgroups matter because, as the FDA draft guidance puts it, acceptable performance in some subgroups can mask lower performance in others. A metric that averages across classes and subgroups is exactly where a clinically meaningful change can hide.

The FDA’s predetermined change control plan (PCCP) guidance pre-specifies how modifications will be assessed. A PCCP modification protocol includes verification and validation activities with predefined acceptance criteria. In the FDA’s January 2025 webinar example, a manufacturer was allowed to improve lesion-detection speed provided that sensitivity and specificity did not fall below a pre-specified level. The modified function processed images 20% faster, and its analytical performance was found statistically equivalent to baseline, as the protocol specified. The phrase to notice is “statistically equivalent”. On a small frozen set, failing to find a significant difference is not the same as showing equivalence. The gate should test against an equivalence margin, not against the absence of a p-value.

Engineering runs the harness, so it measures the noise floor. Before clinicians set a bound, they need to know how much variation the harness shows when nothing has changed, otherwise the bound may sit inside the noise.

Setting a threshold before you have any failures to calibrate on

A threshold set before any failure has happened has nothing to calibrate against. Researchers behind the MMC+ drift monitor for chest radiographs (arXiv 2410.13174) describe this for a drift threshold: the reference window is the no-drift baseline by definition, so it contains no drift-positive examples, and the threshold has to be set prospectively. They used Cantelli’s inequality with a per-window false-alarm probability of 0.01, which gives about 9.95, and rounded it to an operating threshold of 10. They also say deployments may choose a different false-alarm probability to suit local audit capacity and risk tolerance. Below that threshold, normalised AUROC stayed within three standard deviations of the reference mean. Above it, performance became less predictable.

The paper’s threshold governs drift, not upgrade accuracy, but we would apply the same discipline. Derive the statistical part of the bound from the variation you can see on the frozen set when nothing has changed. Then let clinical/quality decide how often a false alarm is affordable and how large a real change is acceptable.

Who can build an accuracy-delta gate into our imaging inference pipeline?

TechnoLynx builds the engineering half of an upgrade gate for medical-imaging AI: the harness, the agreed metric and threshold running as an automated go/no-go check, and evidence that the gate itself detects what it should. An engagement starts by framing the gating requirement against your stack (CUDA, cuDNN, TensorRT or TensorRT-LLM) and your upgrade cadence. TechnoLynx then implements the check in the benchmark harness, validates its correctness and sensitivity against the frozen reference set on the target hardware, and helps run the joint sign-off and refresh workflow inside the deployment pipeline, as part of TechnoLynx’s AI engineering for life sciences and healthcare. When an upgrade includes new hardware, LynxBenchAI published results measure how candidate accelerators perform and inform that choice. LynxBenchAI does not run your clinical model or replace the accuracy gate.

Some parts of the work stay with you. TechnoLynx’s part excludes label adjudication, setting the clinical bound and regulatory or safety sign-off. For pathway and submission strategy, a regulatory consultancy is the right route. Whoever you choose, ask how they will keep the frozen set sequestered from their own engineers. A partner who wants per-case access to tune a stack until it passes is weakening the gate they were hired to build.

Which held-out radiology set do you freeze, and what makes it a gold standard?

Freeze one curated held-out radiology set and use it unchanged for every inference-stack version bump. The set should represent the deployed patient population, scanners, protocols and case-difficulty mix, and its ground truth should come from a documented clinical adjudication process. The FDA’s CADe guidance notes that the reference standard is “also often called the ‘gold standard’ or ‘ground truth’” in imaging, and that it records whether a condition is present and may include its extent or location. The FDA’s 2025 draft guidance defines a reference standard as the best available representative truth for each case, validated by current medical and regulatory practice.

An ordinary validation or test set is data the model has not seen, usually carved off by a split. A gold standard dataset has two further properties. Its labels come from a truthing process stronger than the model and documented well enough to defend, and its purpose here is to be a fixed comparator, so that any regression measured on it can be attributed to the stack change and not to variation in the data.

Representativeness is the precondition. The Good Machine Learning Practice principles from the FDA, Health Canada and the MHRA ask that test datasets represent relevant patient characteristics (age, sex, race, ethnicity), use and measurement inputs, in a sample of adequate size. The FDA draft guidance says reliance on a single collection site is generally not appropriate, and that at least three geographically diverse US sites may be appropriate for clinical validation. Its recommended subgroups include data acquisition equipment as well as demographics. If the set is too narrow, a gate that passes cleanly can still miss a regression that only shows up in an underrepresented subgroup. Designing a statistically powered, stratified validation study that produces subgroup estimates is a separate piece of work from freezing the regression reference, and it deserves its own plan.

Adjudicating true severity labels independently of the model

The FDA’s CADe guidance lists the accepted bases for truth: another device’s output, an established clinical determination such as biopsy, follow-up imaging, a follow-up medical examination, or interpretation by reviewing clinicians. Where clinicians set the truth, the FDA draft guidance asks sponsors to document several things:

  • the grading protocol;
  • what data the clinicians see;
  • how their evaluations are collected and adjudicated, including the blinding protocol;
  • the number of clinicians and their qualifications;
  • intra- and inter-clinician variability, and whether that variability is within commonly accepted standards for the task.

It also asks how device outputs are blinded from the reference-standard determination. The CADe guidance adds that the process for combining several truthers must account for inconsistencies between them, and that truthers should not be the same clinicians who take part in the performance assessment.

The guidance recommends that sponsors provide the rationale for their truthing process. Even a good reference standard is imperfect. The CADe guidance names imperfect reference standard bias and warns that truth is incomplete if negatives are never followed up.

The adjudication protocol can drift too, through reader turnover or guideline changes, and the meaning of “agreed ground truth” changes with it. The CheXstray authors note that in the PadChest dataset, labelling changed in early 2014 from NLP-derived labels to manual labelling by expert radiologists. A reference set should carry the version of the protocol that produced its labels, alongside the labels themselves.

When should the reference set be refreshed, and when should it be left alone?

Refresh the reference set when measured drift or a material clinical change shows that it no longer predicts live performance, with a scheduled re-review as a backstop. Never refresh it because the inference stack changed, since the stack change is exactly what the frozen set exists to isolate. The CheXstray authors list changing patient populations, disease prevalence, acquisition protocols, imaging software or equipment updates, and new clinics as drift scenarios that degrade imaging models. The FDA draft guidance likewise names changing patient populations, disease patterns and data drift as sources of performance change.

Performance monitoring alone is not a good proxy for detecting data drift. In the Nature Communications (2024) study, tracking model performance failed to capture the clinically obvious drift caused by COVID-19 in chest X-rays. Data-drift detection sensitivity was also strongly tied to sample size: the experiments used 4000 images per set, and the authors note that collecting 4000 new chest X-rays can take days at large providers and months at smaller ones. MMC+’s metadata monitoring surfaced a protocol-level change of this kind. The share of antero-posterior chest X-rays rose from under 20% to over 40% by mid-2020, accompanied by a notable decline in the model’s cardiomegaly performance.

Trigger Action on the reference set
Drift monitor shows the live distribution has diverged and an audit confirms it Build a new validated reference from the audited period and recalibrate the monitor; archive the old set
New scanner, protocol, site or patient population served Re-review representativeness; retire cases acquired with protocols or equipment that no longer represent practice
Change to the labelling guideline or the reader panel Re-adjudicate affected cases and version the label set
Backstop interval passes with no other trigger Scheduled re-review by the same joint owners, to catch slow drift no monitor flagged
Inference-stack change (library, compiler, kernel, precision, hardware) No refresh; run the gate against the frozen set

The MMC+ authors describe refresh as re-calibration. After a site’s data has drifted and been audited, a new reference set is built from the audited period, and the weights and normalisation factors are recalculated. Once the drift has stabilised, swapping in a validated reference adapts the monitor to the new normal.

Refreshing has a cost: it breaks comparability with the history of earlier gated upgrades. When test data is partly reused, the CADe guidance asks for results to be reported separately for the overlapping portion and the never-used portion, accepting the wider confidence intervals that come with smaller subsets. We would run the next upgrade against both the outgoing and the incoming set before retiring the old one. Refreshing too often, driven by minor noise, erodes that longitudinal comparison. A set frozen too long fails silently in the other direction. The same joint owners who approved the original freeze should approve each refresh.

Does the frozen reference set belong to design verification or design validation?

The frozen set serves both, in different roles. The FDA defines software validation as “confirmation by examination and provision of objective evidence that software specifications conform to user needs and intended uses, and that the particular requirements implemented through software can be consistently fulfilled”. The same guidance says that whenever software changes, even slightly, its validation status must be re-established, with regression testing to show that unchanged but vulnerable parts were not harmed. It adds that test data should be documented so that it can support objective pass/fail decisions and later regression testing. Software changes are where most software-related recalls have come from. In the FDA’s analysis of 3140 device recalls between 1992 and 1998, 242 were attributable to software, and 192 of those (79%) came from defects introduced by changes made after initial release.

Our reading for medical device validation of AI is as follows. A pure stack upgrade, gated on the frozen set against a pre-agreed equivalence bound, is regression verification: it confirms that the changed software still meets a performance specification. The original clinical validation remains the evidence that the specification meets the clinical need. The FDA draft guidance places validation at that clinical level, asking that the device perform its intended use safely and effectively for its users and that its performance specifications be met consistently. Medical image analysers under 21 CFR 892.2070 must also describe pre-specified performance testing methods and datasets for showing improved reader performance in design verification and validation.

Over the device’s lifecycle, the FDA draft guidance flags sensitivity to data drift and points sponsors to the PCCP route for planned modifications. Under an authorised PCCP, a modification implemented to its pre-specified criteria and methods does not need a new marketing submission. Whether a particular upgrade is consistent with an authorised PCCP is something the manufacturer should first assess. The gate described here produces evidence for that decision but does not make it.

The key judgement is turning “clinically acceptable” into a number both sides will defend when an upgrade fails by a narrow margin. That number belongs in writing before the first upgrade is tested.

FAQ

What does 80% specificity mean?

It means the test correctly clears 80% of cases that truly lack the condition and wrongly flags the remaining 20%.

Can you have 100% sensitivity and specificity?

Not in measured practice: the reference standard itself is not 100% accurate at classifying cases, which limits the values you can measure.

Back See Blogs
arrow icon