Skip to content
tezvyn:
Menu

🤖AI & ML

Artificial intelligence, machine learning, and data science

1167 bites

Test yourself: Top 30 AI & ML interview questions →Multiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Everything in AI & ML, page 11

intermediate1 min read

What is Bundle Adjustment and why is it tractable?

Jointly refine 3D points and camera poses by minimizing reprojection error, expensive due to many coupled parameters; sparsity of the Jacobian and the Schur complement make it tractable.

intermediate1 min read

Why learn detection and description jointly like SuperPoint?

A shared backbone jointly optimizes detection and description for matching, sharing computation and learning data-driven robustness instead of hand-crafted heuristics.

intermediate1 min read

Feature detector vs feature descriptor.

A detector finds where interesting points are, a descriptor encodes the local appearance around each so points can be matched.

intermediate1 min read

How is an HDR radiance map constructed from exposures?

Recover the inverse camera response function from corresponding pixels, linearize each exposure to radiance, then merge with confidence weights into a floating-point radiance map.

advanced1 min read

Design drift detection and retraining for a CV model.

Monitor input and prediction distributions plus delayed labels, detect data and concept drift, trigger an automated retrain-validate-deploy pipeline with versioning and rollback.

advanced1 min read

Design a cashierless retail checkout vision system.

Multi-camera coverage, person tracking and re-ID, product detection plus action recognition for take or return, sensor fusion, edge-cloud split, and failure handling.

intermediate1 min read

CPU vs GPU vs Edge TPU for inference.

CPU is flexible but slow, GPU offers massive parallelism at high power, Edge TPU gives efficient low-power int8 inference but is constrained; choose by latency, power, cost, and model fit.

intermediate1 min read

How do you train and evaluate on imbalanced defect data?

Resampling, class weighting, focal loss, and anomaly framing for training; evaluate with precision, recall, PR-AUC, and F-beta, not accuracy.

intermediate1 min read

How do you speed up a slow detection model?

Quantization, pruning, distillation, lighter backbones, and resolution or batching tweaks, each trading some accuracy or effort for speed.

easy1 min read

Precision vs recall in object detection.

Precision is fraction of detections that are correct, recall is fraction of true objects found; prioritize recall for safety-critical detection, precision when false alarms are costly.

easy1 min read

What data augmentations help small image datasets?

Apply label-preserving transforms like flips, crops, rotation, color jitter, and mixing to enlarge effective data and reduce overfitting.

advanced1 min read

How does focus stacking build an all-in-focus image?

Align frames, measure local sharpness as a focus metric, select or blend the sharpest source per region, then composite.

advanced1 min read

Why merge a burst instead of one long low-light exposure?

Short frames avoid motion blur and clipping while averaging cuts noise; align frames and merge robustly, rejecting misaligned regions to avoid ghosting.

advanced1 min read

How does a plenoptic camera enable post-capture refocus?

Light field records ray direction plus position via a microlens array, refocusing shears and integrates the 4D data to choose a virtual focal plane.

intermediate1 min read

Compare Gray World and White Patch white balance.

Gray World assumes average scene color is gray, White Patch assumes the brightest pixel is white, both fail on dominant colors or clipping; learning predicts illuminant from data.

intermediate1 min read

How does smartphone Portrait Mode produce bokeh?

Estimate per-pixel depth via dual-pixel or stereo or learning, segment the subject, then apply depth-dependent blur.

easy1 min read

Outline the classic image stitching pipeline.

Detect and match features like SIFT, estimate a homography with RANSAC, warp and blend with multiband or feathering.

easy1 min read

How do you build an HDR image from bracketed exposures?

Align frames, recover the camera response function, merge to a linear radiance map weighted by exposure, then tone map for display.

advanced1 min read

How do BYOL and Barlow Twins avoid representation collapse?

Collapse is embeddings shrinking to a constant or low-rank subspace; BYOL uses predictor plus momentum target plus stop-gradient, Barlow Twins decorrelates feature dimensions.

advanced1 min read

How does MAML's inner and outer loop work?

Inner loop does task-specific gradient steps from shared init, outer loop updates the init for fast adaptability via second-order gradients.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles