MLCrack

    COMPUTER VISION · INTERVIEW QUESTION

    In an object detector, validation mAP@0.50 improves while mAP@[0.50:0.95] drops after increasing input resolution. What is the most likely interpretation?

    🟡 intermediate · Detection · Metrics

    Hint: Focus on the decision rule, assumptions, and failure mode behind detection · metrics.

    Answer

    mAP@0.50 is lenient. A drop across stricter IoU thresholds usually points to poorer box precision, calibration, NMS behavior, or regression quality rather than pure recognition failure.

    Interview reasoning

    mAP at 0.50 tolerates loose boxes; stricter IoU thresholds expose localization error. A mixed change can also involve ranking, NMS, or matching behavior.

    mAP@0.50 counts relatively loose matches, while the range through 0.95 increasingly tests precise localization. Divergent changes suggest inspecting box quality, matching and suppression, not automatically declaring that classification improved. Increasing resolution may also alter feature distributions or postprocessing assumptions.

    Worked example. A predicted box with IoU 0.60 counts at threshold 0.50 but fails at 0.75 and 0.95. More such predictions can improve AP50 while lowering stricter AP.

    Validation

    Inspect box residuals and PR curves by IoU and object size before blaming one component.

    Plot AP by IoU and object size, inspect matched-box residuals, and rerun with fixed NMS and score settings.

    Common pitfalls

    The metric pattern suggests a hypothesis; it does not uniquely identify a causal bug.

    The metric pattern supports several hypotheses. Changing resolution and thresholds simultaneously prevents a clean causal attribution.

    Likely follow-up: Inspect box residuals and PR curves by IoU and object size before blaming one component.