Confirm the problem with metrics split by object size, then give small objects more pixels: raise the input resolution or tile large images into overlapping crops at inference. Make sure the architecture keeps high resolution features, through a feature pyramid with a fine level and less aggressive early downsampling, and that anchor sizes or label assignment suit small boxes. Then add data and augmentation targeted at small instances, such as copy and paste.
Why interviewers ask this
Small object detection is a classic practical problem, and the interviewer wants a systematic set of levers rather than a single trick. They listen for measuring by object size first, for understanding that downsampling destroys small object information, and for both data and architecture fixes. Mentioning the latency cost of higher resolution, and tiling as an alternative, shows you have shipped this rather than read about it.
How to structure your answer
- Measure performance by object size first.
- Give small objects more pixels with resolution or tiling.
- Preserve fine features in the architecture and tune assignment.
- Target data and augmentation at small instances.
Example answer
First I make sure that is really the problem, by splitting recall by object size. Often the aggregate score is fine and the small bucket is terrible. The root cause is usually that a small object covers only a few cells after the backbone has downsampled the image, so there is almost no signal left. The most direct fix is more pixels. You can raise the input resolution, at a latency cost, or tile the image into overlapping crops at inference and merge the detections, which worked well for me on aerial images where vehicles were ten pixels across. Architecture matters too. I want a feature pyramid with a high resolution level, and I check that anchor sizes or the label assignment strategy actually match the small boxes, because default settings can leave tiny objects with no positive matches. Then data. I add more small examples, use copy and paste augmentation to place small instances in new contexts, and avoid augmentations that shrink objects below what the model can see. On that aerial project, tiling plus anchor tuning roughly doubled small object recall.
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
- What are the downsides of tiling at inference time?
- How would you handle objects that span tile boundaries?
- How do you decide the input resolution for a new problem?
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