Measure False Positives in LLM Moderation

Measure legitimate tasks blocked by enterprise LLM moderation. Compare false positives and missed detections by workflow before changing guardrails.

Measure false positives in LLM moderation by running labeled, permitted examples through the same detector and enforcement path your application uses. Divide incorrect blocks by the number of permitted examples, and repeat the calculation for each critical workflow. Report missed detections on restricted examples alongside false positives so that a lower block rate cannot hide a weaker control.

Define what the workflow permits

Ask the workflow owner and the policy owner to label examples independently. Use the active policy, the role, the input or output location and the destination when determining the expected action. A workplace incident assistant may let trained staff summarize an employee's description of harassment for a restricted case file. The same information may be prohibited in a general management report. Keep the work purpose and output destination in the fixture so reviewers can explain these different decisions.

Use synthetic fixtures where a realistic example can be created without retaining employee submissions. Include routine successes, difficult permitted examples and restricted examples. Keep uncertain cases in a separate review set. If reviewers disagree about what the policy permits, resolve that ambiguity before using those cases to tune a detector. AWS discusses both traditional classifier metrics and tests for over-defensive model behavior in application guardrail evaluation. AWS guide to evaluating generative AI guardrails

Track findings and interruptions independently

For each example, record the expected action, the detector category, configured action and whether the user could finish the task. A flagged example can still complete if your policy only records findings. A permitted example can also fail because the provider refuses or a downstream parser rejects a truncated response. Use a signal for the effective reason for interruption so that reviewers can distinguish these cases.

Suppose your enterprise test set contains 1,000 permitted examples and a separate set of 100 restricted examples. A new configuration incorrectly stops 20 permitted tasks. Twelve of those failures occur among the 40 permitted workplace incident summaries, which gives that workflow a 30% false positive rate. The aggregate rate is 2%. Both numbers describe the same run, and the aggregate reports much less impact than the incident team experiences.

Slice Incorrect blocks Permitted examples False positive rate
All tested workflows 20 1,000 2%
Workplace incident summaries 12 40 30%
Other workflows 8 960 About 0.8%

Report how many of the 100 restricted examples completed with a prohibited outcome. Where a policy transforms content, check the actual delivered result. A summary with a missing prohibited value can satisfy the policy while preserving the employee's task. A partial result that retains it may fail the policy even if the application later records a block.

Change the narrowest control you can verify

Review wrong blocks by category and task. If the problem is concentrated in a restricted workflow, check whether an alternative approved action such as human review is available to staff with a documented need. In a workflow that uses provider moderation scores, check whether a change to one category improves the permitted slice without admitting restricted cases. OpenAI distinguishes a classification flag from category confidence scores and says that policies using those scores may require recalibration as its model changes. OpenAI moderation guide

Repeat the evaluation after a detector or application change. Keep a separate holdout set so the person tuning the policy has to show that the change works on examples beyond the cases they reviewed. Record the tested version and denominators so you can compare release results.

Alectura supports Flag and Block for its moderation guardrail, and reviewers can label individual findings without changing policy. Use Alectura's guardrails to check available actions, and use the sensitive-data evaluation set guide to design fixtures for a separate personal data policy.

This catch-up edition for 25 November was released on 30 November 2026.

Source documents (2)

Trace a request through Alectura.

Bring a sample prompt and a customer policy. See what reaches the model and which decisions appear in the request record.

Try the quickstart

Keep reading

Measure LLM abstention before automating routing ↗Set guardrails for LLM spreadsheet exports ↗Cut over to a new embedding model safely ↗