Advanced everything in AI & ML, page 3
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.
Formulating a multi-step robot manipulation task
Perception detects and localizes the mug, action space spans navigation and manipulation, and a reward shaped over subgoals (reach, grasp, transport, place) with sparse final success guides learning.
NeRF limitations and advances for robotics
Original NeRF is slow to train and render, per-scene, static, and needs many calibrated views; address speed with explicit grids or Gaussian splatting, dynamics with time-conditioned fields, and scale with…
Designing a high-resolution photorealistic face generator
Weigh StyleGAN's fast, controllable style-based synthesis against diffusion's diversity and stable training; handle scale via progressive or multi-resolution synthesis; protect diversity to avoid mode…
DDPM versus DDIM sampling trade-offs
DDPM is a stochastic Markov chain needing many steps; DDIM is a non-Markovian, deterministic sampler that skips steps for far faster inference and reproducible, invertible latents, trading a…
Classifier-free guidance in diffusion models
Train one model jointly on conditional and dropped-condition inputs; at inference extrapolate from unconditional toward conditional prediction via a guidance scale, sharpening prompt adherence…
Attention in diffusion U-Nets for text conditioning
Self-attention mixes spatial features at low-res blocks; cross-attention has image queries attend to text-token keys/values; placed inside transformer blocks.
Pure ViT vs hybrid CNN-Transformer for medical segmentation
Pure ViT captures global context but is data hungry and weak on local detail; hybrid CNN-Transformer gets local features cheaply plus global attention, ideal for scarce…
Core principles of a Neural Radiance Field
An MLP maps a 3D point plus view direction to color and density; novel views render by casting rays, sampling points, querying the MLP, and volume-integrating along each ray.
Scene flow versus optical flow
Optical flow is 2D pixel motion in the image plane; scene flow is the 3D motion field of points in space, needing depth via stereo, RGB-D, or LiDAR.
Self-supervised pretraining for video understanding
Define a label-free task like temporal order prediction or contrastive clip matching that forces temporal reasoning, then fine-tune on labeled action data.
Adapting ViT for dense semantic segmentation
Reassemble patch tokens into a 2D feature map, add a decoder, and handle low resolution plus quadratic attention cost.
Explain panoptic segmentation and Panoptic Quality
Panoptic assigns every pixel a class and instance id over things and stuff; PQ factors into SQ, average IoU of matches, times RQ, an F1 over matched segments.
Detector head losses: regression versus classification
The head splits into a classification branch using cross-entropy over classes and a regression branch using a robust Smooth L1 or IoU loss on box offsets, combined as a weighted sum.
Deploying real-time detection on edge devices
Pick an efficient one-stage detector, train with augmentation, then quantize, prune, and compile to a hardware-accelerated runtime, measuring latency and accuracy tradeoffs.
Focal Loss and class imbalance in detectors
Focal loss multiplies cross-entropy by a (1-p)^gamma factor that down-weights easy, well-classified examples so the vast easy background does not swamp the loss.
Translation equivariance versus invariance in CNNs
Convolution is equivariant, shifting input shifts feature maps; invariance comes only from pooling and global aggregation. Strict invariance is partial and broken by strided sampling.
Depthwise separable convolution cost savings
Separable conv splits standard conv into per-channel spatial filtering plus a 1x1 pointwise mix, cutting cost by roughly 1/N plus 1/k².
Adapting a classification CNN for segmentation
Replace the dense head with conv layers, upsample via transposed convolutions, and fuse encoder skip connections to recover spatial detail lost to downsampling.
Stereo rectification math and its artifacts
Rectification warps both images by homographies so epipolar lines become horizontal and aligned.
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