Computer Vision
CSE471Prof. Makarand Tapaswi + Prof. Charu Sharma•Spring 2025-26•4 credits
Answer Structure Templates
University exams reward formatting. Use these.
Derivation (variance / scaling)
- State assumptions about input distribution (zero mean, unit variance).
- Compute E[·] and Var[·] of the intermediate expression.
- Show how the scaling factor (e.g., √dₖ) cancels the variance growth.
- Conclude with the operating regime where softmax / gradients are stable.
- Verify with a small numerical example.
Algorithm trace (NMS / mAP)
- Sort detections by score descending.
- Initialize empty kept-list and write the first column.
- Walk row by row: keep or suppress; for mAP, mark TP/FP and update cumulative P, R.
- Tabulate intermediate values — graders give partial credit for the table.
- State the final answer with units.
Architecture compare (e.g., RoI Pool vs RoI Align)
- One-line definition of each.
- Side-by-side comparison table (≥ 5 rows: quantization, gradient quality, mask AP, output shape, when to use).
- State the failure mode of the inferior option with a concrete example.
- Conclude with which to use and why.
Mechanism + 'why does it work?'
- State the mechanism formally (equation if applicable).
- Identify the failure mode of naïve alternatives.
- Connect the mechanism's term-by-term effect to that failure mode.
- Empirical evidence: cite a benchmark / paper result.
- One-sentence summary.
Case study / paper design
- Restate the input → output spec in your own words.
- Sketch the architecture as a 3-pillar diagram (encoder → connector → decoder/head).
- List the training signal and loss; if multi-task, give the weighted sum.
- Note evaluation metrics and dataset choice.
- Identify failure modes and at least one ablation you'd run.
Multi-part 'compare and contrast'
- Brief shared definition (1 sentence).
- Table of differences (≥ 6 rows).
- Quantitative comparison (params, FLOPs, accuracy on a standard benchmark).
- Which-to-use-when guidance.
- One-line conclusion.
Numerical (params / sequence length / output shape)
- List given values.
- Write the formula symbolically.
- Substitute numbers.
- Show intermediate arithmetic (per-layer × #layers).
- Box final answer with units.