InterviewStack.io LogoInterviewStack.io

Computer Vision Questions

Modeling and pipelines for image and video data. Covers image classification, detection and segmentation, image preprocessing and augmentation, and end-to-end vision model pipelines. Focuses on the fundamentals of applying learning to visual inputs and the practical constraints of vision systems.

HardTechnical
50 practiced

Explain how you would evaluate and harden a deployed vision model against adversarial examples and distributional shifts. Cover how to generate adversarial examples for testing, defenses such as adversarial training, input preprocessing and sanitization, runtime detection mechanisms, robustness certification techniques where applicable, and how to monitor for distributional shift in production.

MediumTechnical
86 practiced

You have a small labeled image dataset (5,000 images, 10 classes). Compare three strategies: (a) train a ResNet from scratch, (b) fine-tune a pretrained ResNet, (c) use a pretrained ResNet as a fixed feature extractor and train a linear classifier on top. For each strategy explain pros/cons, which layers to freeze/unfreeze, recommended learning rates or schedules, and data augmentation you would apply.

HardTechnical
50 practiced

You must build an explainable multi-modal classifier (text + images) to detect policy violations on product listings. Discuss data collection and labeling strategy, multi-modal architecture choices (early vs late fusion, cross-attention), pretraining vs fine-tuning, interpretability methods suitable for multi-modal outputs, and deployment considerations for inference cost and missing modalities.

HardTechnical
52 practiced

You must build an image classifier for a niche product category with only a few hundred labeled images but access to large generic image datasets (e.g., ImageNet). Propose a strategy using transfer learning, domain adaptation, and data augmentation. Discuss when to freeze vs fine-tune layers, risks of domain mismatch, and how you'd evaluate if transfer learning is helping.

MediumTechnical
44 practiced

You have one million listing images labeled 'professional' or 'amateur'. Describe a TensorFlow-based pipeline to classify image quality and provide host-facing feedback. Include dataset splits, augmentation, transfer-learning choices, dealing with class imbalance, evaluation metrics (precision@k, ROC/AUC), inference-time deployment for upload-time scoring, and how to collect feedback to improve the model.

That is every published Computer Vision question for Data Scientist so far. Browse the other topics in this category, or practice this one interactively.