Skip to content
tezvyn:

🤖AI & ML

Artificial intelligence, machine learning, and data science

615 bites

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

Intermediate everything in AI & ML, page 9

intermediate1 min read

3D CNNs vs two-stream action recognition

3D CNNs learn spatiotemporal filters end to end but are heavy; two-stream splits RGB appearance and precomputed optical flow, strong but costly to compute flow.

intermediate1 min read

Kalman filter for bounding-box tracking

State, transition, measurement models, and process plus measurement noise; predict then correct each frame. State holds box position and velocity; measurement is the detected box.

intermediate1 min read

Brightness constancy and small-motion assumptions

Brightness constancy says a point's intensity is invariant under motion; small motion lets you linearize via Taylor expansion.

intermediate1 min read

How to improve coarse segmentation boundaries?

Skip connections and higher-resolution features, boundary-aware losses, and point-based or CRF refinement.

intermediate1 min read

How does Mask R-CNN do instance segmentation?

Faster R-CNN backbone plus RPN, then RoIAlign and a parallel mask head predicting per-class binary masks.

intermediate1 min read

U-Net architecture and its skip connections

U-Net has a contracting encoder, an expanding decoder, and skip connections that concatenate matching-resolution encoder features into the decoder to recover spatial detail lost in downsampling.

intermediate1 min read

Uses of the 1x1 convolution

A 1x1 conv is a per-pixel linear combination across channels; it reshapes channel depth cheaply and adds nonlinearity. Uses: dimensionality reduction in bottlenecks and channel mixing.

intermediate1 min read

Receptive fields in convolutional networks

Receptive field is the input region affecting a neuron; it grows with depth, larger kernels, and stride. It matters for capturing context in detection and segmentation.

intermediate1 min read

ResNet residual blocks and the degradation problem

A residual block learns F(x) and adds the identity input x, so layers fit a residual; this eases gradient flow and solves the degradation problem.

intermediate1 min read

Regularization techniques for an overfitting CNN

Data augmentation expands the effective dataset, dropout prevents co-adaptation, weight decay penalizes large weights, plus early stopping and batchnorm.

intermediate1 min read

The PnP problem in Structure from Motion

PnP recovers a camera's pose from known 3D points and their 2D projections; it registers new frames against the existing point cloud in SfM.

intermediate2 min read

Incremental Structure from Motion pipeline

Detect and match features, estimate two-view geometry, triangulate, then incrementally add images with PnP and refine via bundle adjustment.

intermediate2 min read

Fundamental matrix versus essential matrix

Both relate corresponding points across two views via the epipolar constraint; the fundamental matrix works in pixel coordinates, the essential matrix in calibrated coordinates and encodes relative pose.

intermediate2 min read

Bag of Visual Words model

Cluster many local descriptors (e.g. k-means) into visual words; assign each image's features to words; represent the image as a histogram of word counts for a classifier.

intermediate2 min read

Descriptor matching and Lowe's ratio test

Match by nearest-neighbor descriptor distance; Lowe's ratio test keeps a match only if the best is clearly better than the second-best, rejecting ambiguous ones.

intermediate2 min read

SIFT versus SURF versus ORB

SIFT is most accurate but slow with float descriptors; SURF approximates SIFT for speed; ORB is fast, binary, and free, ideal for real-time and embedded.

intermediate2 min read

SIFT scale and rotation invariance

Scale-space extrema via difference-of-Gaussians give scale invariance; a dominant gradient orientation gives rotation invariance; the descriptor is a normalized gradient histogram.

intermediate2 min read

Removing salt-and-pepper noise

Use a median filter; it replaces a pixel with the neighborhood median so extreme outliers are discarded.

intermediate1 min read

Lens distortion and camera calibration

Radial distortion bends straight lines (barrel/pincushion), tangential comes from lens-sensor misalignment; calibrate with a known pattern to estimate intrinsics and distortion coefficients.

intermediate2 min read

Zero-Shot, Few-Shot, and Chain-of-Thought Trade-offs

Zero-shot is cheap but weak on reasoning, few-shot adds demos at token cost, CoT boosts multi-step accuracy but spends the most tokens and latency.

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