Choose augmentations that mimic variation the model will really meet in production, such as lighting, blur, compression, scale and viewpoint, and check them by looking at augmented samples. Augmentation hurts when it changes the meaning of the label: horizontal flips where left and right matter, colour jitter when colour defines the class, or crops that cut away the object. Make sure geometric transforms update boxes and masks, and justify each one with an ablation.
Why interviewers ask this
Augmentation is often applied by copying a recipe, and interviewers want to know you reason about it from the domain. They listen for matching real world variation, for knowing the failure cases where an augmentation corrupts labels, and for the habit of visually inspecting augmented data. Validating augmentations with experiments rather than assumptions is the detail that separates experienced engineers from recipe followers.
How to structure your answer
- Derive augmentations from real production variation.
- Name the cases where augmentation changes the label.
- Check geometric transforms update annotations correctly.
- Inspect samples visually and validate with ablations.
Example answer
I derive them from the variation the model will actually see. If the cameras are outdoors, that means brightness, contrast, shadows, rain, motion blur and heavy compression. If objects appear at many distances, scale jitter matters. Then I think about what would change the meaning of an image. Horizontal flips are harmless for cars but wrong for text, for road signs with arrows, or for medical images where left and right matter. Colour jitter is harmful if colour is the label, like telling ripe from unripe fruit or reading traffic light states. Aggressive random crops can remove the object while keeping its label. I always look at a grid of augmented samples with the annotations drawn on, because that catches a lot of bugs. On one project, a rotation augmentation was rotating the images but not the keypoints, and the model learned nonsense until a visual check exposed it. Finally I run an ablation for each significant augmentation, because some popular ones made no difference on our data and only slowed training.
Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.
See how it worksFollow-up questions to expect
- How would you augment for a model that must work at night?
- What is test time augmentation, and when is it worth the cost?
- How do you choose augmentation strength?
Related computer vision engineer questions
Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.
Predict my questions