Inspection samples with clear and ambiguous surface marks.
All notes

Industrial AI

Data labelling in manufacturing explained

Define manufacturing training labels before annotating data. Keep defect criteria, uncertain cases, reference decisions and revisions visible.

Data labelling assigns the target information a model will learn or use during evaluation. In manufacturing, that might be a part-level defect decision, a defect location or a confirmed equipment event.

A label records a decision under a definition. Its presence in a dataset does not establish that the decision is correct.

Google's labelling guidance distinguishes different annotation tasks. A whole-image class, an object location and a detailed segmentation require different instructions and checks.

Define the target the model actually needs

The inspection case counts good and defective parts. It assumes independent checks establish that status. Those labels support its evaluation, but they do not identify every defect's location or failure mode.

Choose the required target before commissioning annotation. If the application needs a defect location, a pass/fail label alone cannot supply it.

Instruction field What to record
Characteristic The feature or event being assessed
Decision boundary The applicable specification or agreed category definition
Unit Whole part, image region, event or time interval
Uncertain cases Review route and how unresolved records are retained
Reference Who or what establishes the accepted decision
Revision Effective version and treatment of earlier labels
Define the target before expanding annotationReference rules and uncertain cases should remain visible in a labelled dataset.Define the target before expanding annotation1ObservationPart, regionor event2Decision ruleCharacteristicand revision3ReferenceAgreed reviewmethod4LabelTarget plusuncertaintyKeep independent review decisions and later corrections with thetraining record.
The target definition comes before the label. Keep uncertain records and reference decisions visible instead of silently converting them into good parts.

Check agreement without assuming correctness

Two people can agree because they follow the same mistaken interpretation. One person can also repeat a decision consistently while disagreeing with the reference.

Attribute agreement analysis separates those checks for categorical ratings. The worked agreement Note uses Minitab's published fabric-rating example to show the difference.

Inspect disagreements by category and near the decision boundary. A high overall match rate can conceal a weak distinction in the class the model most needs to recognise.

Retain when the label becomes available

A later laboratory or maintenance finding may provide a useful training target. It is not necessarily available when the model must make its prediction.

Keep the original observation time, the finding time and any later correction. The leakage guide explains why using later information as an input can inflate an evaluation result.

A change in defect criteria also needs a dated revision. Mixing old and new meanings without recording the change can make model performance appear to move for reasons the team cannot reconstruct.

Make the dataset reviewable

Preserve the annotation instructions, reference examples, review decisions and versions with the data. Decide how the team handles uncertain and corrected labels before training begins.

For the next annotation task, ask a second qualified reviewer to apply the instructions to the same source records independently. Use the disagreements to improve the definition before multiplying the number of labels.

Sources

NextData leakage in machine learning: factory checks

Discuss an operations problem

I work with operations and transformation teams on operational excellence, digital transformation programs, supply chains and industrial AI. Send me the problem you’re working on and the result you need.

Abolfazl ShirkavandImage preview unavailable