Copies in the Benchmark

A row-level audit of the UCR and UEA time series classification archives

Muhammad Ahmad, independent researcher. mahmadmanzoor.com

The 180 test rows of PowerCons in the default split. The 67 highlighted squares also appear, value for value, in its training data.

Most time series classifiers are judged on these two archives, and the comparison assumes that test rows are unseen and that datasets are independent. We checked both at the level of individual rows.

In the 128 univariate datasets, 23 contain identical rows, and 17 of them have test rows that also sit in the default training split. Three of the 30 multivariate datasets do too. The top of the leaderboard survives this. Scores on the affected datasets, and some close comparisons, do not.

Test rows already in the training data

The leak also shows up under the random resampling that published scores average over, because any set of copies can land on both sides of a split. Six datasets that look clean on the default split leak only then.

Share of test rows with an identical training row, for univariate datasets reaching 1% on either split. Resampled figures average 29 stratified resamples.
DatasetDefault splitResampled
PowerCons37.2%37.4%
WormsTwoClass13.0%17.9%
Worms13.0%17.7%
Crop16.4%16.2%
ElectricDevices2.7%3.2%
ToeSegmentation11.8%1.6%
InlineSkate1.1%1.6%
Rock0.0%1.0%
InsectEPGSmallTrain6.0%0.7%

In the multivariate archive, PEMS-SF leaks 45.7% of test rows, Libras 10.6%, and EigenWorms 5.3% on the default split.

Small-train datasets that train on their own test set

The archive describes its SmallTrain variants as smaller training sets with the same test set. In two of the three, that isn't how the rows line up. 15 of the 17 training rows in InsectEPGSmallTrain are rows of its test set, and 26 of the 28 in FreezerSmallTrain. MixedShapesSmallTrain is clean: all 100 of its training rows come from the regular training set.

What those rows do to scores

We ran two classifiers over 30 resamples and scored the same predictions with and without the copied test rows. Published predictions on the default split show the same pattern: averaged over 17 classifiers, Crop falls from 74.7% to 69.8%.

Accuracy (%) over 30 resamples, with copied test rows and then without them. MiniRocket used 2,000 kernels to stay inside a memory limit.
Dataset1-NNMiniRocket
Crop71.1 to 65.570.0 to 65.4
Worms47.7 to 35.570.5 to 66.5
WormsTwoClass60.8 to 52.179.0 to 75.5
PowerCons91.7 to 86.695.5 to 92.8
ElectricDevices69.4 to 69.687.2 to 87.7

ElectricDevices goes the other way. Many of its copies are plain on/off patterns, some with conflicting labels, so they are harder than average.

On the default split, removing these rows changes no significant difference among the 105 pairs of classifiers we could test, though the newest classifiers are not among them because their per-case predictions are not public. Copies lift most classifiers together, so they distort absolute scores more than comparisons.

Dot plots of accuracy lost when copied rows are removed, largest for 1-NN on Worms at about 12 points and for MiniRocket on Crop at about 4.6 points.
Accuracy lost when copied rows are removed from the same predictions, with 95% intervals over 30 resamples.

Datasets that are not separate votes

Shared rows reduce the 112 datasets used in recent comparisons to 93 families. Common sources named in the archive's documentation reduce them further. We repeated the tests over 40 classifiers, with each family counted once.

Significant pairs out of 780 after Holm correction, with the 95% range from two baselines: random subsets of that many datasets, and random groups with the same family sizes.
GroupingUnitsPairsSubsetRandom groups
Every dataset counted separately112516
Shared rows93508466 to 501479 to 509
Plus documented source71436408 to 462448 to 492
Plus same lab or donor61428374 to 446434 to 483

Real families hold about as much information as the same number of independent datasets, and less than arbitrary groups of the same sizes. HC2 stays first in over 98% of bootstrap samples, and MR-Hydra and MR hold second and third. Below third place, the order was already uncertain.

Check your own data

The audit tool uses only the Python standard library and reads .ts files.

python audit_ts.py PowerCons_TRAIN.ts PowerCons_TEST.ts

n_train: 180
n_test: 180
duplicate_rows: 130
test_rows_with_train_twin: 67
test_twin_pct: 37.22

The release lists every copied row in both archives, the test rows to drop for a clean score on the default split, and the family maps with their sources. It holds indices and metadata only, not archive data.

Cite this work

@misc{ahmad2026copies,
  title  = {Copies in the Benchmark: A Row-Level Audit of the UCR and UEA Time Series Classification Archives},
  author = {Ahmad, Muhammad},
  year   = {2026},
  note   = {Preprint},
  doi    = {10.5281/zenodo.23845369},
  url    = {https://doi.org/10.5281/zenodo.23845369}
}