Class-Dependent Effects of Data Augmentation in Object Detection
Consider a single photograph of a damaged bridge. Increasing the contrast — a standard augmentation applied routinely in training pipelines — improves detection for two of the damage types in the image and degrades it for six others. The same image, the same edit, opposite effects.
The cause is that classes in an image are recognised by different visual cues, while data augmentation is conventionally evaluated by a single average across classes. An average can conceal a loss for an individual class behind a gain for another.
Different classes, different cues
A thin crack in concrete is recognised mainly by its shape and fine structure. Rust is recognised mainly by its colour and texture. A hairline crack and a rust patch can occur side by side in the same image while depending on entirely different visual information.
Standard augmentation pipelines apply one edit to the whole image.…