How to keep a provenance record for a downloaded dataset
By Reza Motaghi

On this page
- What the provenance record is
- The contract before the first label
- The dataset that stayed up
- Why the clock runs for one complaint and not the other
- The scientific route works, slower and by hand
- What the standards ask, and do not
- The provenance record, four lines
- What the record is not
- What I can be asked for
In February 2025 an American court ruled on a legal research tool that had been trained on memos derived from a rival's copyrighted case summaries. Of 2,830 memos examined, 2,243 were found infringing as a matter of law.1 The fair-use defence failed even though two of its four factors favoured the defendant. The tool's accuracy was never the question. Where its training data came from was the whole case.
Builders who download a public dataset for a prototype tend to ask one question of it: is it any good. This article is about the question the data will actually be judged on, which is who can ask for it back, and how fast. The answer in 2026 is uncomfortable, and it is the reason to write four lines before the first training run.
I read medical images every day, and I built the dataset my own model learns from. It has a written contract older than its first label, and every case in it was read by me. I do not publish its provenance. I can be asked for it, and that is the only test the record has to pass.
What the provenance record is
The provenance record is four lines, written before first use. Who captured the data, under what consent and licence, and when. What the labels were made from, and by whom. Who can pull the data, and on what grounds. A dated copy of the data and a dated copy of the licence text, kept where the source page cannot change them.
It is not a legal document. It is the set of facts a builder will be asked for on the worst day, by an auditor, a journal, a buyer's lawyer or a regulator. That day comes after the page that held them has gone.
The contract before the first label
The receipt is the rule I kept. Before the first case in my set was labelled, the contract was written. It said where a case may come from, what counts as a finding, and what happens when the two readers differ. Every case was read by me. The provenance is boring, and boring is the point. A gold standard is a settled argument, and the argument has to be on file to be settled.
None of that makes the set better than a download. It makes the set answerable. When the question comes, the answer exists, and it was written before anyone had a reason to shade it.
The dataset that stayed up
The case that taught the field this year began with an audit. Two clinical datasets on a public data platform had been used to build 125 published prediction models.2 One held face photographs labelled stroke or not, the other diabetes records. Those papers were cited 1,781 times and folded into 86 review articles. Both datasets scored zero of nine on the standard provenance checklist for prediction models. Nine in ten of the papers carried no ethics approval statement at all.
The stroke set's own page said it was for educational use only and that its source could not be disclosed. Inside it, the auditors found photographs of a different facial condition labelled as stroke, stock images, and repeated photographs of named celebrities.3 Any reader who has built a labelled set by hand will recognise what a set looks like when nobody did.
The audit was posted as a preprint in February 2026. One of the auditors raised the problem with the platform directly.4 The reply was that it was unclear what response he was looking for, and that the dataset did not break the terms of service. The platform's stated position deserves to be quoted fairly: its datasets are intended for benchmarking and development, not as primary evidence for medical research. That is a scope claim, not a motive, and it is internally consistent.
In July a dental journal found its own copyrighted images inside the set and filed a copyright complaint. The dataset came down within days.4 The auditor who had first flagged it said copyright enforcement had turned out to be the quickest way to get such material taken down.
Why the clock runs for one complaint and not the other
The asymmetry is written into law. Under American safe-harbour rules a host that receives a compliant copyright notice must act expeditiously to remove the material.5 Otherwise it loses its own shield from liability. The platform's incentive to move fast on a property claim is its own exposure. No statute obliges any platform to act within any time on a scientific claim that data is wrong.
So the data was not judged on whether it was right. It was judged on whether somebody with a deadline was asking. That is the mechanism, and it does not require bad faith from anyone to operate.
The scientific route works, slower and by hand
It would be wrong to say scientific concern is not an enforcement mechanism, and I first wrote something close to that. The record corrected me. One journal retracted a paper built on the stroke set in April 2026, on provenance alone.6 That was about two months after the flag, with no copyright angle at all. The same journal retracted a second paper in June.7 Its editors wrote that the training dataset could no longer be verified through its original source. Three of the five authors disagreed. Eleven papers were flagged at one publisher, nine at another, eleven at a third.6 The publisher's integrity head said investigations were ongoing, that action would follow case by case, and that authors should have time to respond. That is due process, not delay.
At the extreme end the scientific route can move in days. In 2020 an open letter from more than 200 researchers questioned the hospital database behind two pandemic drug studies.8 The world's two most prominent medical journals retracted both within about a week, after the data company refused an independent audit. A public image dataset used to train generative models was suspended by its own maintainers in December 2023.9 A university report had found thousands of suspected links to abuse material. No lawsuit was involved. Those are the exceptions, and they took the most watched retraction of the decade and a child-safety finding to happen. The ordinary case is the stroke set.
There is also the case the audit cannot reach. One model trained on the flagged data has a public website. Another is named in a medical device patent.6 Retraction reaches papers. It does not reach a prototype that already shipped, and nobody has to tell the prototype's users that its data changed.
A second dataset tells the same story from the consent side. More than 2,900 photographs of children, scraped from websites about autism and labelled by a hobbyist, fed at least 90 publications. By late 2025 the publisher had judged the set unreliable, collected without ethical approval or consent, and had retracted or planned to retract 38 of them.10 The researcher who raised it put the rule in one sentence. Posting an image to the internet is not consent for it to be used in research.
What the standards ask, and do not
The prediction-model reporting checklist has nine provenance items, and both flagged datasets scored zero.2 The most common dataset documentation format on the largest model hub asks for a licence, a language and a size.11 It encourages a note on potential biases. It has no required field for consent, chain of custody, or who collected the data. European law will require high-risk systems to document the origin, collection process and gaps of their training data, phased in through 2027 and 2028.12 That is a standard arriving after this story, not one that would have stopped it.
The provenance record, four lines
The lines are cheap because each one is a fact the source page either states or does not. One of them I changed after reading the retraction notices.
1. Who captured it, under what consent and licence, and when. The three answers go on one line with a date. If the page says the source cannot be disclosed, that is the answer, and it is a no. A dataset marked for educational use only has told you its licence, and a prototype is not education. Off-ramp: a set with a named institution, an ethics approval number and a licence you can quote has answered. Copy the three facts and the date you read them.
2. What the labels were made from, and by whom. A label with no labeller is a guess that got a column. Ask what the labeller saw, how many there were, and how a disagreement was settled. Stroke labels applied to photographs of a different condition would have failed this line in a minute. Off-ramp: where labels come from an instrument or a record rather than a person, write down the instrument and its error rate instead.
3. Who can pull it, and on what grounds. My first version said that scientific concern is not an enforcement mechanism. The retractions changed it: scientific concern is a slow, discretionary one that reaches papers, while a rights holder reaches the platform in days. So the line lists the rights holders first, then the ethics bodies, then the scientists. Of each it asks what they would need to see, and whether they have seen it. Off-ramp: a set whose only pull risk is scientific has still been judged, just later. Build as if the retraction is coming, because on this record it did.
4. A dated copy and a dated licence text. The page will change or vanish. The flagged page now returns nothing.13 Your record should hold the data as you downloaded it and the licence as it read that day, with both dates. The audit arrives after the page is gone. Off-ramp: none. A licence you cannot produce as it read on the day is a licence you cannot rely on. A test set you keep re-downloading is not the test set you validated on.

What the record is not
It is not an accusation. The platform stated its scope and acted within it. The publisher stated its process and followed it. The auditors did the field a service. The record exists because the incentives are what they are, and a builder has to live inside them.
It is not legal advice. Which claims can pull a dataset in your jurisdiction is a question for a lawyer. The four lines are what you will hand the lawyer.
It is not a case against public data. Public sets built the field. The record is what makes one of them safe to build on, and it takes an evening.
What I can be asked for
I read images every day, and I built my own set under a contract older than its first label. I can be asked where every case came from. That sentence is the whole difference between a dataset and a download. A clearance is a statement about a population, and a dataset is a statement about its chain of custody. Neither is on the label unless someone wrote it there.
Write the four lines for the dataset under your current prototype tonight. If line one reads "source cannot be disclosed", you have your answer before the audit does. If you build on medical data and want a reader who has assembled a set the slow way, the contact page reaches me directly.
References
Footnotes
-
Thomson Reuters v. ROSS Intelligence, D. Del., 11 February 2025, Judge Stephanos Bibas: 2,243 of 2,830 examined memos infringing as a matter of law; fair use rejected. As reported by the National Law Review. https://natlawreview.com/article/court-training-ai-model-based-copyrighted-data-not-fair-use-matter-law ↩
-
Gibson AD, White NM, Collins GS, Barnett AG. Evidence of unreliable data and poor data provenance in clinical prediction model research and clinical practice. BMC Medicine 24:386, 4 June 2026. 125 studies (103 on the stroke set, 20 on the diabetes set, 1 on both), 1,781 citations, 86 review articles; 0 of 9 TRIPOD+AI provenance items for both datasets; 113 of 125 papers (90 percent) with no ethics approval statement; the stroke set marked for educational use only, source undisclosed. https://link.springer.com/article/10.1186/s12916-026-04981-y ↩ ↩2
-
Retraction Watch. "Comically bad" datasets used to train clinical models for stroke and diabetes. 18 May 2026. https://retractionwatch.com/2026/05/18/kaggle-dataset-clinical-models-stroke-diabetes/ ↩
-
Retraction Watch. Kaggle removes problematic stroke dataset for copyright infringement. 29 July 2026. The direct report rebuffed; the Journal of the Canadian Dental Association's copyright complaint; removal within days in July; the platform's stated scope. https://retractionwatch.com/2026/07/29/kaggle-removes-problematic-stroke-dataset-for-copyright-infringement/ ↩ ↩2
-
17 U.S.C. 512(c). A service provider "must respond expeditiously to remove, or disable access to, the material" on receiving a compliant notice, or forfeit its safe harbour. U.S. Copyright Office, Online Service Providers. https://www.copyright.gov/onlinesp/ ↩
-
The Scientist. Flawed Kaggle datasets used in clinical models spark retractions. 2026. The April 2026 retraction on provenance; 11 papers flagged at Springer Nature, 9 at Elsevier, 11 at MDPI; a model with a public website and one linked to a device patent; the publisher's due-process statement. https://www.the-scientist.com/flawed-kaggle-datasets-used-in-clinical-models-spark-retractions-74564 ↩ ↩2 ↩3
-
Scientific Reports. Retraction notice, 29 June 2026, for an article published 27 December 2025: the training dataset "can no longer be verified through its original source"; three of five authors disagreed. https://www.nature.com/articles/s41598-025-28513-5 ↩
-
Retraction Watch. Lancet, NEJM retract controversial COVID-19 studies based on Surgisphere data. 4 June 2020. Open letter of 28 May 2020; both retractions on 4 June 2020 after the company declined an independent audit. https://retractionwatch.com/2020/06/04/lancet-retracts-controversial-hydroxychloroquine-study/ ↩
-
LAION, summarising the Stanford Internet Observatory report of December 2023 (3,226 suspected links, 1,008 externally validated) and the dataset's suspension; a cleaned release followed in August 2024. Tertiary summary. https://en.wikipedia.org/wiki/LAION ↩
-
The Transmitter. Springer Nature retracts, removes nearly 40 publications that trained neural networks on "bonkers" dataset. 8 December 2025. More than 2,900 children's photographs; 38 retractions planned against at least 90 citing publications; the publisher's finding of no ethical approval or consent. https://www.thetransmitter.org/retraction/exclusive-springer-nature-retracts-removes-nearly-40-publications-that-trained-neural-networks-on-bonkers-dataset/ ↩
-
Hugging Face Hub documentation. Dataset cards. Accessed 16 September 2026. https://huggingface.co/docs/hub/en/datasets-cards ↩
-
Regulation (EU) 2024/1689, Article 10, as explained at artificialintelligenceact.eu; obligations phased in through 2027 and 2028. https://artificialintelligenceact.eu/article/10/ ↩
-
The flagged dataset page on Kaggle returned a not-found error when opened on 16 September 2026. https://www.kaggle.com/datasets/kaitavmehta/facial-droop-and-facial-paralysis-image ↩
