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.
| Dataset | Default split | Resampled |
|---|---|---|
| PowerCons | 37.2% | 37.4% |
| WormsTwoClass | 13.0% | 17.9% |
| Worms | 13.0% | 17.7% |
| Crop | 16.4% | 16.2% |
| ElectricDevices | 2.7% | 3.2% |
| ToeSegmentation1 | 1.8% | 1.6% |
| InlineSkate | 1.1% | 1.6% |
| Rock | 0.0% | 1.0% |
| InsectEPGSmallTrain | 6.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%.
| Dataset | 1-NN | MiniRocket |
|---|---|---|
| Crop | 71.1 to 65.5 | 70.0 to 65.4 |
| Worms | 47.7 to 35.5 | 70.5 to 66.5 |
| WormsTwoClass | 60.8 to 52.1 | 79.0 to 75.5 |
| PowerCons | 91.7 to 86.6 | 95.5 to 92.8 |
| ElectricDevices | 69.4 to 69.6 | 87.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.
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.
| Grouping | Units | Pairs | Subset | Random groups |
|---|---|---|---|---|
| Every dataset counted separately | 112 | 516 | ||
| Shared rows | 93 | 508 | 466 to 501 | 479 to 509 |
| Plus documented source | 71 | 436 | 408 to 462 | 448 to 492 |
| Plus same lab or donor | 61 | 428 | 374 to 446 | 434 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}
}