Privacy and preparation
Dataset record retirement policy: when to retire a training record
By SourceX Editorial · Updated
9 sections
Short answer
Retire a training record when no source can support a trustworthy correction, when the right to use it has ended, or when a fix would change what the record means. Repair it when a linked source shows the correct value and its lineage is intact. Apply stricter rules in test sets, release every change as a new version and notify each recipient that holds an affected copy.
Redaction
Dataset record retirement
Key takeaways
- Repair, quarantine, retire and withdraw are separate actions with separate triggers and notices.
- Decide from a written issue record with source links, not from a reviewer's impression.
- The same defect can be repaired in training data and retired from a test set.
- Never edit a delivered version in place; edited or removed records mean a new major version.
- A retirement is complete only when every recipient holds the new version and knows what to do with the old one.
- Agree the retirement policy in writing before the first delivery.
When should a training record be retired instead of repaired?
Retire a record when the evidence cannot support a trustworthy correction, when the right or permission to use it has lapsed, or when fixing it would turn it into a different record. Repair it when a linked source shows the correct value, the record's lineage is intact and the fix does not change what the record was meant to teach or test.
The use case changes the answer. The same defect can be tolerable in a large training split, worth a careful repair in an evaluation set and grounds for removal from a held-out test set that others have already scored against. A retirement policy therefore needs two inputs for every decision: what the evidence says about the defect, and where the record is used.
This guide covers that decision for teams preparing business records, such as tickets, work orders, claims or orders, as training or evaluation data. It ends with a decision table you can adopt as a policy and an illustrative case that shows each step.
Repair, quarantine, retire and withdraw are four different actions
Treat these as separate states with separate triggers. Teams that use one word for all of them end up deleting records that only needed a fix, or quietly editing records that should have been removed from every recipient's copy.
| Action | What changes | Typical trigger | What recipients must be told |
|---|---|---|---|
| Repair | One or more fields are corrected in a new version; the record stays | A linked source shows the right value | The new version, the changed fields and the evidence behind the fix |
| Quarantine | The record is held out of new releases pending review | A credible issue report without enough evidence yet | Usually nothing until the review closes, unless the issue is serious |
| Retire | The record is removed from future versions for quality or fitness reasons | No reliable correction exists, or the fix would change its meaning | The removal, the reason category and which versions contained it |
| Withdraw | The record is removed because the right to use it ended | Permission revoked, contract scope narrowed, or a deletion obligation | The removal and the steps the license requires recipients to take |
The evidence a retirement decision needs
Make the decision from a written issue record, not from a reviewer's impression that something looks off. A record can look wrong and be right, for example a resolution code that seems inconsistent with the notes but reflects a policy in force at the time.
At a glance
The evidence a retirement decision needs
The issue record below is the minimum that lets a second person reach the same decision and lets any recipient trace what happened.
- Issue ID and date reported, plus who or what found it, such as a reviewer, a label-error screen or a customer complaint.
- Severity, judged by what a wrong value would teach a model or how it would distort a score.
- Source links: the system of record entry, attachments or related records that show the correct value, or show that none exists.
- Derived links: every split, file, prompt set or annotation built from this record.
- Proposed action, and for a repair, the exact fields and new values.
- Regression checks run after the change, such as schema validation, duplicate checks and a re-score of affected evaluation items.
- Recipient and version log: which delivered versions contained the record, and who received them.
- Change notice text and the date it was sent, then a reconciliation note confirming that the change reached each copy.
A use case and evidence driven retirement decision table
Adopt the table as policy and record which row each decision used. Rows are ordered from the strongest case for retirement to the strongest case for repair; when two rows apply, the one higher in the table wins.
| Defect and evidence | Training split | Evaluation or test split | Proof required before closing |
|---|---|---|---|
| Right or permission to use the record has ended | Withdraw | Withdraw | Rights note, removal from every version, recipient confirmations as the license requires |
| Personal data found that should have been removed, and cannot be reliably removed from free text | Retire | Retire | Scan result, removal confirmation, notice to recipients |
| Label is wrong and the source shows the correct value | Repair in a new version | Repair and re-score affected items, or retire if scores were already published | Source link, before and after values, regression check |
| Label is wrong and no source can establish the right value | Retire, or keep with an uncertainty flag if errors are rare | Retire | Note that no source exists, reviewer sign-off |
| Record contradicts itself, for example a closed date before the open date | Repair if the system audit trail shows the true order, otherwise retire | Retire unless the audit trail settles it | Audit trail excerpt or retirement note |
| Exact or near duplicate of another record | Retire the extra copy | Retire the copy, and check whether the pair straddles training and test | Duplicate match and which copy was kept |
| Value was correct under the policy of its time but differs under today's policy | Keep, and add the policy version as a field | Keep, and score against the policy in force | Policy version mapping |
| Format or encoding error with the content intact | Repair | Repair | Checksum of the new file and a parse test |
| Test item leaked into training data or public material | Not applicable | Retire from the test set and replace with an unseen item | Overlap check result and replacement log |
Why the same defect gets a stricter answer in a test set
Training data tolerates some noise because many examples average it out; a test set does not, because each item directly moves a score that people compare. Northcutt, Athalye and Mueller estimated that label errors make up at least 3.3% of test sets on average across ten widely used datasets, and showed that such errors can change which model appears to perform better.
Repairing a test item after results are published creates a second problem: earlier and later scores are no longer comparable. If a benchmark or evaluation set has already been used to report results, prefer releasing a new version with the repaired or retired items clearly listed, rather than editing the old one in place, so earlier scores stay reproducible.
Label-error screening tools help find candidates, not decisions. The cleanlab library, for example, finds likely label issues and supports training with noisy labels, but a flagged record still needs the evidence review above before anyone repairs or retires it.
Versioning every repair and retirement so recipients can follow it
Never change a delivered version in place. Semantic Versioning states that once a versioned package has been released, its contents must not be modified and any modification must be released as a new version; the same rule keeps dataset recipients able to reproduce what they trained or tested on.
The MLCommons Croissant specification applies this to datasets. It recommends a MAJOR.MINOR.PATCH version and says the major version should increase when existing data has been changed, for example records edited, removed or shuffled across splits. It also recommends a sha256 checksum on each file, so a recipient can confirm that the file they hold matches the declared version.
Under that scheme, a batch of repairs or retirements is a major version, even when only a small share of records changed. The release note should list the issue IDs, the action taken for each, and which earlier versions contained the affected records. The Croissant responsible-AI vocabulary adds a maintenance plan field for updating timeframe, maintainers and deprecation policies, which is a natural home for the retirement policy itself.
Illustrative case: resolution codes in a field-service dataset
This case is invented to show the method; it does not describe a real company or dataset. A field-service company has prepared work orders with a resolution code as the label, delivered as version 1.0.0 to one evaluation team and one training team. A reviewer reports that some orders coded fixed on first visit were followed by a return visit to the same site within days.
The starting state is an issue record covering 120 work orders (an illustrative count). Linking each order to later visits in the dispatch system shows three groups. In 70, the return visit was for an unrelated asset, so the original label is correct and nothing changes. In 35, the return visit closed the same fault, so the dispatch records support a repair to not fixed on first visit. In 15, the later visit's notes are missing and nobody can tell whether the fault was the same.
The decisions follow the table. The 35 are repaired with the dispatch links attached. The 15 are retired from the evaluation split because no source can settle them; in the training split they are kept with an uncertainty flag, because the use is tolerant and the flag lets the training team drop them if they choose. The 70 are a useful counterexample: they looked wrong and were right, which is why the decision rested on linked records rather than on the reviewer's first impression.
The outcome check is a new major version, 2.0.0, with a release note listing the issue, the three groups and the affected record IDs. Each recipient gets a change notice, and the issue closes only when both teams confirm they hold the new version and have re-scored the evaluation items.
Notifying recipients, and why removal alone rarely works
A retirement is not finished when the record leaves the next release; it is finished when every recipient knows and the license terms say what they must do. Research by Peng, Mathur and Narayanan on face recognition datasets found that even after two datasets were retracted, their data remained widely available and continued to be used, which the authors describe as runaway data.
Luccioni and colleagues propose a dataset deprecation framework that covers risk, mitigation of impact, appeal mechanisms, timeline, post-deprecation protocols and publication checks. A business dataset does not need the full framework, but three of its ideas carry over directly: give recipients enough time to assess the impact, name a contact for questions, and state what may still be done with the retired version.
The Datasheets for Datasets template asks the same questions from the creator's side: whether the dataset will be updated to correct labeling errors or delete instances, how often and by whom, how users will be told, and whether older versions will continue to be supported. Answer those in writing before the first delivery, and the retirement policy becomes something recipients agreed to rather than a surprise.
Settling the retirement policy before records are licensed
For a company licensing its records, the cheapest time to agree a retirement policy is before the agreement is signed. Decide who may report an issue, how long a quarantine can last, which actions trigger a notice and what recipients must do with a retired or withdrawn record.
Keep the reasons distinct in the policy. A quality retirement, a privacy removal and a withdrawal because rights ended involve different people and different obligations, and de-identification alone does not create a right to license a record in the first place.
Through SourceX, a company can license a selected set of business records as an AI dataset, with rights review, contracting and data preparation handled for it. The company agrees the scope and terms and signs before delivery, after which the signed agreement controls how the de-identified dataset may be used. The first step is a brief assessment with no data uploaded.
Frequently asked questions
Is it better to delete a bad record or fix it?
Fix it when a linked source shows the correct value and the fix does not change the record's meaning. Retire it when no source can establish the right value, when the defect is in a test set already used to publish results, or when the right to use it has ended.
Does removing records require a new dataset version?
Yes. A released version should never change in place. Croissant's versioning guidance treats edited or removed records as a major version change, and file checksums let recipients confirm which version they hold.
What is the difference between retiring and withdrawing a record?
Retirement is a quality or fitness decision: the record should not be used because it is wrong or unfit. Withdrawal follows from rights: permission, contract scope or a deletion obligation no longer covers the record, and the license defines what recipients must do.
How should recipients be told about retired records?
Send a change notice listing the issue IDs, the action taken, the affected record IDs and the versions that contained them, with a contact for questions. Close the issue only when each recipient confirms they hold the new version.
Can a label-error tool decide which records to retire?
No. Tools such as confident learning rank likely label errors, but a flagged record can be correct. Use the flags to build a review queue, then decide from linked source evidence.
Sources
- Northcutt, Athalye and Mueller estimate that label errors make up at least 3.3% of test sets on average across ten widely used datasets and can change model rankings. Source
- The cleanlab library finds likely data and label issues and supports training with noisy labels. Source
- Semantic Versioning requires that a released version's contents never change and that modifications ship as a new version. Source
- The Croissant 1.1 specification recommends MAJOR.MINOR.PATCH dataset versions, a major increment when records are edited or removed, and sha256 file checksums. Source
- The Croissant RAI vocabulary includes a release maintenance plan covering updating timeframe, maintainers and deprecation policies. Source
- Peng, Mathur and Narayanan found retracted datasets remained available and in use after retraction. Source
- Luccioni and colleagues propose a dataset deprecation framework covering risk, mitigation, appeals, timeline, post-deprecation protocols and publication checks. Source
- Datasheets for Datasets asks whether a dataset will be updated to correct labeling errors or delete instances and whether older versions remain supported. Source
See if your company qualifies
A short company assessment. No data uploads are needed.