Skip to content

Validation Accuracy Fell 21 Points: Leakage or Reuse?

THE ARGUMENT

Reuse is an observable fact; a 21.3-point drop is a sensitivity reading tied to one population. Treating them as one number either makes buyers pay for inflation that was never measured or lets real overlap evidence slide.

On this page

Validation balanced accuracy fell from 82.5% to 61.2%, a 21-point drop, but that drop is not a measurement of leakage. Most people see a curve like this and conclude the data was contaminated, and that deleting the offending rows will fix the score. An audit of Capsule Vision 2024 says otherwise: remove the same rows, score the same fitted models on a different set of validation rows, and balanced accuracy rises by 1.38 percentage points.[1] One action, two directions.

First, say what the 21 points measure

Start with the layer you can see without any statistics. The audit compared files across the public training and validation directories and found byte-identical files crossing a boundary that was meant to be closed.[1] No model. No interval. A hash either matches or it does not.

The next layer is source recordings: 41 Kvasir-Capsule recordings contribute frames, and all 41 appear in both partitions. That is 41 out of 41, or 100%. Perfect overlap.

So the factual question is settled. Reuse happened. What remains is the question a buyer asks: how much of the score was inflated. Most people merge the two, and treat a 21.3-point drop as the size of the inflation. That step is not in the data.

The drop depends on which population you score. Remove those rows and balanced accuracy on public validation falls from 82.5% to 61.2%; remove the same rows and it rises by 1.38 points on other sources.[1] One action, two signs. Reporting half of that and calling it leakage is how incident reports get written.

Two counterfactuals, one variable at a time

ReuScope runs two comparisons, each holding one variable fixed.[1] The first holds predictions fixed and swaps the population: same fitted models, same outputs, different validation rows. The second holds the evaluation fixed and swaps the training data: delete rows, refit, score the same rows again.

The first asks how far the score depends on one source. The second asks how far the model depends on them. The questions sound alike. The answers can point opposite ways, and 21.3 down against 1.38 up is one deletion seen twice. Both numbers are real.

The deletion set is specific. Every training row attributed to Kvasir-Capsule goes, plus five rows from other sources flagged as near-matches to it. Across ten paired seeds, balanced accuracy on the public validation set moves from 82.5% to 61.2%.

One word deserves a pause. Those five rows were flagged as near-matches, not proven duplicates; the abstract gives no rule and no threshold, so the edge of the set is soft. Harder still: shared recordings prove overlap, but missing patient identifiers mean the patient count cannot be made.

Matched controls rule out the two obvious alternatives, sample size and class counts. Neither explains the gap on its own. The score does not fall because fewer rows remain, or because one class became rare.

Split the conclusion into signals you can check

Lay the evidence out as a table. Each row is a claim you can verify alone, and each row marks a claim it cannot support.

CheckHeld fixedWhat the audit sawWhat it supportsWhat it cannot support
Byte identityHash both directoriesIdentical files across the splitReuse occurredHow much reuse
Recording overlapGroup frames by recording41 of 41 on both sidesOverlap across the splitShared patient count
Swap populationPredictions fixed, rows swapped82.5% to 61.2%; +1.38 elsewhereSensitivity to source removalThe inflation size
Swap training dataRows fixed, training deletedControls rule out size and classNot a sample-size artifactWhich frame caused it
Neighbour checkNear vs distant neighboursDiD -0.355; interval crosses zeroA direction, uncertainPer-frame loss

The last column is the one readers skip. The first four say what was found; the last says what it cannot prove.

Run the arithmetic. 82.5 minus 61.2 is 21.3, or 25.8% of 82.5; the remaining 61.2 is 74.2% of the original. Add the 1.38-point rise elsewhere and the swing between directions is 22.7 points. That swing is the honest number, because it shows how much the choice of population moves the answer.

One test is exploratory. Delete the training neighbours of validation frames that have close matches, then delete as many distant rows as a control. Against matched unflagged frames, the difference-in-differences estimate for true-class probability is -0.355 points, and the paired-t interval for accuracy spans zero.[1] That number is small. Accuracy alone cannot carry the claim.

Five questions, asked in order

Turn the principle into actions and you get five questions. Keep the order: each one is cheaper than the next.

  1. Ask for files. Request a hash manifest covering both directories. If duplicates exist, count the pairs and the rows. No model, no experiment.
  2. Ask for the population. Make the vendor state which sources contribute validation rows, and in what proportion. Without a denominator, 21.3 means nothing.
  3. Hold predictions fixed and swap the population. Recompute and watch the sign. If it flips, you hold a sensitivity reading, not an inflation amount.
  4. Hold the evaluation fixed and swap the training data. Delete, refit, run ten paired seeds, report the mean and the interval. A single seed is not evidence.
  5. Write the uncertainty unit into the contract: seeds, recordings, or patients. The same sentence carries very different weight depending on that unit.

The first question is the cheapest and the least asked. A hash manifest needs no model, no GPU, no labels; an afternoon produces one, and identical bytes do not argue back. Cheap evidence, hard to dispute.

Questions three and four get merged all the time, and merging ruins both. One measures the test set; the other measures the model.

Where this protocol stops working

The first setting where it does not apply is data whose unit is not a file. Cut video into frames and byte matching misses the same footage in a different encoding. This paper stops at the recording layer; the patient layer stalls for lack of identifiers.

The second is a small, imbalanced set. Controls rule out sample size and class counts, but not structural overlap, where one class comes from a single source. There the gap and the source are collinear, and no deletion experiment separates them.

The third limit is fundamental. You want a number for how much the score was inflated, and the design does not produce one. It produces a conditional. A conditional is useful, but it is not a scalar. It will not fill one line of a contract.

One more caveat. The procedure holds only when the same predictions and the same validation rows are under your control. Lose either, and what remains is correlation without a control.

So when a validation score drops by twenty-odd points, do not start with leakage. Ask whose rows it dropped on, whether another population flips it, and what is left after the swap. Most incidents then shrink into one narrower problem: a few sources never separated across the split.

Reuse is a fact you can see. The size of the drop is a condition you chose. Treating the first as evidence and the second as a clause is where these arguments go wrong.

References

  1. ReuScope: Auditing Data Reuse and Evaluation Sensitivity in Capsule Vision 2024

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…