Skip to main content
Neural Defend

How to Set a Deepfake Detector Threshold: Calibration and Abstention

Set a deepfake detector threshold from your error costs, the share of fakes in your traffic and your review capacity, using scores from your own validation data. Check calibration first: a score of 0.8 should mean about 80 percent of such files are fake. Then use two thresholds rather than one, so uncertain results go to review or recapture instead of a forced pass or fail. NeuroVerify returns a risk score your policy controls.

Maintained byNeural Defend Editorial
Updated September 1, 2026
Sumit Singh, Co-founder and CDO of Neural Defend.
Sumit SinghCo-founder & CDO
A locked decision boundary balances competing costs while ambiguous and failed media take a separate route to review.

How should I set the threshold for a deepfake detector?

Pick it from data and costs, in that order. Run the detector on a validation set drawn from your channel, separate from the final test set, and plot false positive rate against recall across every possible threshold. Then mark the points your workflow can live with. A selfie check that routes flags to a human can accept a higher false positive rate than an upload filter that blocks content automatically.

If the scores are calibrated, decision theory gives a starting point. Flag a file when the estimated probability that it is fake is greater than the cost of a false positive divided by the sum of both error costs. If a missed deepfake costs 20 times as much as a wrongly flagged real customer, that ratio is 1 in 21, so you would flag anything above roughly 0.05. Few teams use the formula unadjusted, but it shows why high-loss workflows run low thresholds.

Freeze the chosen threshold before the final test, then confirm it on held-out data. Choosing the threshold on the test set and reporting results from the same set overstates performance.

What calibration means for a deepfake detection score

A score is calibrated when it behaves like a probability: among all files scored around 0.7, about 70 percent turn out to be fake. Many detector scores are not calibrated. They rank files well, so a higher score really is more suspicious, but 0.7 might correspond to a 30 percent or a 95 percent chance of being fake depending on the model and the data.

Check calibration with a reliability plot. Group validation results into score bands, then compare the share of actual fakes in each band with the band's average score. If the curve sits far from the diagonal, either recalibrate on your data with a method such as isotonic regression or Platt scaling, or treat the score purely as a ranking and pick thresholds from observed error rates.

The VendorBench-100 authors report that some systems that ranked well by ROC-AUC were poorly calibrated at their default thresholds. TruthScan, for example, scored a ROC-AUC of 0.923 but an MCC of 0.322 at its default setting. The ranking ability was there; the shipped threshold did not use it.

Why the share of fakes in your traffic changes the right threshold

Precision, the share of flags that are actually fake, depends on how common fakes are. Most buyers underestimate this effect. The table works through a detector with 95 percent recall and a 2 percent false positive rate on 10,000 submissions at three prevalence levels.

At low prevalence, even a strong detector produces more false flags than true ones. That is not a defect. It means low-prevalence workflows need either a stricter threshold, a second signal before action, or a review step sized for the false flags.

Share of fakesFakes caughtReal files flaggedPrecision of flags
0.5 percent (50 fakes)48199About 19 percent
1 percent (100 fakes)95198About 32 percent
10 percent (1,000 fakes)950180About 84 percent
Effect of prevalence on flags for a detector with 95 percent recall and a 2 percent false positive rate, per 10,000 submissions

Designing an abstention band for uncertain results

A single threshold forces every file into pass or fail, including the ones the detector is unsure about. Two thresholds create three outcomes: low scores pass, high scores are blocked or escalated, and the middle band goes to review or a request to recapture. That middle band is the abstention zone.

Size the band to your review capacity. If reviewers can clear 400 cases a day and 20,000 files arrive, the band can hold about 2 percent of traffic, plus a margin for spikes. Track what reviewers decide in the band; if nearly all of it turns out authentic, narrow it from the bottom.

Treat unsupported files, corrupt uploads and timeouts as their own states, separate from the abstention band. Merging them hides operational faults inside detection statistics. For biometric presentation attack detection, ISO/IEC 30107-3 asks for error rates reported at a stated operating point, which is a useful habit for content detection as well.

Controlling threshold changes after launch

Thresholds drift out of date when attackers change tools, when your app changes image quality, or when the vendor updates the model. Assign one owner who can approve changes, log every change with its reason and date, and test the new value on recent labelled data before release.

Re-run the threshold analysis after any vendor model update, even when the vendor says scores are unchanged. Keep the ability to identify which threshold and model version produced each historical decision, because disputes and audits will ask.

How NeuroVerify supports your threshold policy

NeuroVerify returns one unified risk score with signal-level evidence from six signals, including face manipulation detection, AI generative model analysis and AI pixel-level manipulation. Your policy sets the thresholds and the actions; we do not make the decision for you. Signal-level evidence helps in the review band, because a reviewer can see whether the concern came from a swapped face or from a generated background.

On the public VendorBench-100 benchmark, Neural Defend ranked first of 36 systems with an MCC of 0.876, a specificity of 0.857 and a recall of 0.987, results that reflect performance at an operating threshold rather than ranking ability alone. One VendorBench author also co-authored our ARCAS 1B paper, and the corpus is public. During evaluation we help you fit thresholds on your own validation data and confirm them on a held-out set.

Evidence boundary

Limitations

  • Error-cost estimates are approximate, and small changes in the assumed cost ratio can move the optimal threshold noticeably.
  • Calibration fitted on validation data degrades when attack methods or capture conditions change, so it needs periodic refitting.
  • The prevalence of fakes in live traffic is usually unknown and must be estimated, which adds uncertainty to precision forecasts.

Frequently asked questions

Should I use the vendor's default threshold?

Only as a starting point. A default is chosen for the vendor's own test data and an assumed balance of errors, neither of which matches your channel. Measure false positive and false negative rates around the default on your validation data, then move it to the point your costs and review capacity support. VendorBench-100 shows how far default thresholds can sit from a model's best operating point.

What is abstention in deepfake detection?

Abstention means the system declines to give a pass or fail when the evidence is weak and sends the case to another route, such as human review or a request for a new capture. In practice it is a score band between two thresholds. It trades some review effort for fewer confident mistakes, and it should be measured as its own outcome in every evaluation.

How often should deepfake detection thresholds be reviewed?

After every vendor model update, after any change to your capture app or pipeline that alters image or audio quality, and on a regular cycle, such as quarterly, using recent labelled cases. Also review immediately if flag rate, review-band volume or reviewer override rate moves sharply, since that often signals a new attack or a pipeline change.

Can one threshold work across images, video and audio?

Rarely. Score distributions differ by modality, device and channel, so a single threshold usually over-flags one and under-flags another. Fit thresholds per modality and, where volumes allow, per channel, then confirm each one on held-out data. Keep the policy table small enough that reviewers and auditors can follow it.

Source record

Sources and references

  1. arXivVendorBench-100: A Unified Cross-Paradigm Benchmark for Deepfake Image Detection (v2)Published July 29, 2026. Verified October 19, 2026.
  2. National Institute of Standards and TechnologyNIST AI 100-4: Reducing Risks Posed by Synthetic ContentPublished November 20, 2024. Verified October 19, 2026.
  3. International Organization for StandardizationISO/IEC 30107-3:2023 Biometric presentation attack detection, testing and reportingVerified August 7, 2026.
  4. National Institute of Standards and TechnologyArtificial Intelligence Risk Management Framework (AI RMF 1.0)Published January 26, 2023. Verified August 7, 2026.

Fit thresholds on your data

Tune NeuroVerify's operating point to your costs.

Share a validation set and your error costs. We help you choose thresholds and a review band, then confirm them on held-out media.

Book an evaluation