Probability a Flagged Face ID Unlock Attempt Is Really an Impostor
Last updated: November 29, 2026
Quick Overview
A spoof-detection model flags Face ID unlock attempts. Impostor attempts are 1 in 1,000 attempts, the model flags 99% of impostors and 2% of genuine attempts. Given an attempt is flagged, what is the probability it is an impostor, and what happens if two independent checks both flag it?
Apple
November 29, 20260
0
0 solved
A spoof-detection model flags Face ID unlock attempts. Impostor attempts are 1 in 1,000 attempts, the model flags 99% of impostors and 2% of genuine attempts. Given an attempt is flagged, what is the probability it is an impostor, and what happens if two independent checks both flag it?
Security and biometrics teams at Apple reason about rare attacks where a small false positive rate swamps true detections. The interviewer checks clean Bayes' rule, intuition about base rates, and whether you question the independence assumption.
What the Interviewer Expects
- Writes Bayes' rule with the base rate explicitly
- Computes about 4.7% and explains why it is low despite a 99% detection rate
- Shows how a second check changes the posterior if errors are independent
- Flags that independence rarely holds for two models seeing the same face
- Connects the result to product decisions such as fallback to passcode
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What false positive rate would you need for the posterior to exceed 50%?
- How would the answer change for a targeted attacker who tries many times?
- How would you estimate the 1 in 1,000 base rate in the first place?
- Should a flag lock the device or just require the passcode?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Define = impostor, = flagged. Given , , . Confirm that 1 in 1,000 is per attempt, not per user....
Approach
Bayes' rule: . Thinking in counts is a good check: out of 1,000,000 attempts, 1,000 are impostors....