A grocery chain trains a CNN to grade bananas on a conveyor belt as unripe, ripe or overripe from camera images. Which augmentation is most likely to hurt the model by producing images whose label is no longer correct?
Show the answer and explanation
Correct answer: B, Random hue and saturation jitter, because ripeness is read from the colour of the peel, so shifting green toward yellow makes an unripe banana look ripe.
Explanation Computer Vision
Data augmentation only helps if the transformation is label-preserving: the transformed image must still be a valid example of the same class. Otherwise you inject label noise and teach the model a false invariance.
For ripeness grading, colour is the label: green means unripe, yellow ripe, brown-spotted overripe. Hue and saturation jitter can turn a green banana yellow while it keeps the "unripe" label, so the model is trained to treat the very signal it needs as irrelevant noise. Mild brightness jitter, simulating lighting changes, is usually fine; large hue shifts are not.
The other options are standard, safe augmentations here: ripeness does not depend on orientation, so flips are label-preserving even if the belt always presents fruit the same way. Crops covering most of the image still show the peel's colour, and blur or JPEG artefacts at realistic strengths mimic camera quality: they soften fine detail but keep the peel colour and browning that separate the classes.
Domain knowledge decides what is safe:
| Domain | Risky augmentation | Why |
|---|---|---|
| Digits, text, OCR | flips, large rotations | 6↔9, mirrored letters |
| Traffic signs | horizontal flip | left-turn ↔ right-turn arrows |
| Medical imaging | left-right flip | laterality matters (organ position, markers) |
| Fruit ripeness, traffic lights | colour/hue jitter | colour is the label |
| Satellite imagery | (rotations and flips usually fine) | no canonical orientation |
Interview tip: say you choose augmentations by asking "would a human labeller still give this image the same label?" and that you validate augmentations empirically, ideally inspecting a grid of augmented samples before training.