Cutting False Positives in a Close Following Distance Detector
Last updated: November 29, 2026
Quick Overview
A forward-facing dashcam model that flags unsafe following distance is producing too many events that fleet reviewers dismiss. Explain how you would diagnose the false positives and improve precision without losing the true dangerous tailgating events.
Motive
November 29, 20260
0
0 solved
A forward-facing dashcam model that flags unsafe following distance is producing too many events that fleet reviewers dismiss. Explain how you would diagnose the false positives and improve precision without losing the true dangerous tailgating events.
Close following is one of the core AI Dashcam behaviors Motive surfaces to fleet managers, and the metric depends on estimating distance and closing speed from a monocular camera. The interviewer wants structured error analysis, an understanding of where monocular distance estimates break, and a plan that ties model changes to reviewer-confirmed precision.
What the Interviewer Expects
- Define the event (time headway under a threshold for a sustained period) and how precision is measured
- Bucket false positives by root cause before changing the model
- Identify likely causes: lead vehicle misassignment, distance error, cut-ins, slow traffic
- Propose fixes at the right layer: perception, tracking, or event rules
- Validate on a held-out reviewed set sliced by condition and roll out gradually
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you estimate distance with a single camera, and how does camera height calibration affect it?
- How do you avoid trading away recall when you only label events that fired?
- Should the threshold differ for a loaded semi versus a pickup?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Close following is usually defined by time headway, , where is distance to the lead vehicle and is own speed, for example second sustained for 10 seconds above 35 mph. Preci...
Approach
Sample a few hundred dismissed events and a few hundred confirmed ones, and label each dismissal with a cause. Typical buckets: wrong lead vehicle (a truck in the next lane on a curve), distance overe...