Data Augmentation
Creating additional training examples by changing an observation in ways that preserve its task label.
Published · Updated
Turn a photo of a maple leaf upside down. Still a maple. Now turn a picture of a compass arrow upside down. If the label says “points north,” you’ve just made yourself an exquisitely clear example with the wrong label.
Decide whether the label survives the edit
Put the most extreme proposed edit in front of the person who assigned the original label. Would a crop remove the leaf margin used to identify the species? Would a brightness adjustment erase a faint boundary? Their answer matters more than how natural the new image looks.
Keep all versions of the same specimen on one side of a training/test split. A recognizer that has already seen the unrotated leaf hasn’t really met a new specimen, however you turn the picture.
What it means
Augmentation reuses a real observation to teach a model which variations can leave an answer intact. That promise belongs to the task. A rotation can preserve a cell-type label while destroying the directional measurement that someone else wants from the very same image.
Rotations, crops, flips and changes in brightness or noise are common image transformations. Their validity depends on what a human needs to see. A crop can preserve a leaf species label and remove the damaged edge that a plant-health study set out to measure. In text, a paraphrase can preserve a topic and reverse a conclusion simply by losing “no.”
Spectral and time-series data require the same care. Added noise should resemble the instrument’s variability. Scaling an amplitude makes sense only if the label survives a change in amplitude. For structures, a rigid rotation and a mirror reflection can have quite different chemical meanings.
Why augmentation matters for scientific ML
Scientific collections are often expensive to label. Showing a model plausible variations of an observed example can help it generalize, provided the observations used for testing remain independent. A useful pilot includes the original, the mildest edit and the most extreme edit. Ask someone familiar with the measurement which labels they would change and why.
Augmentation vs. synthetic data
Augmentation starts with a particular observation and varies it. A simulator or generative model can also produce an example without starting from that particular record. Either approach can introduce a shortcut. A synthetic leaf always photographed against a white background and an augmented real leaf cropped identically both deserve a test on untouched field photographs. Synthetic data
