InsightContent ModerationNimaDSAOSA

How to Build an AI Content Moderation System: Eight Decisions That Matter

How do you decide what AI should moderate, when humans should step in and how to handle mistakes? This guide walks through eight decisions involved in building an AI content moderation system, with practical examples to help you make them.

By Tremau T&S Research Team

  • 11/23/2026

AI content moderation uses models to detect and classify content. One approach is proactive detection, where platforms scan content for potential violations without waiting for a user to report it. Platforms use the results to support human review or trigger automated actions.

When detection, review and enforcement happen across separate tools, teams may have to transfer information between them. This can make it harder to follow how a decision was made or review it later. Building a reliable system also involves deciding how to evaluate models, configure rules, handle provider failures and review decisions. This guide explains eight of those decisions, with practical examples.

DECISION QUESTION IT ANSWERS WHAT TO WATCH FOR
1. Model evaluation How do you evaluate AI models against your own policies? Vendor benchmarks that have not been tested against your content, policies and languages
2. Automation Which cases should be automated, and which need human review? Relying on confidence scores without considering context or the consequences of errors
3. Rule configuration How should you configure rules for detection and review? Overlapping conditions or rule order sending cases to an unintended workflow
4. Decision history What information should be retained about each decision? Important context or decision details that your tools may not capture
5. Measuring improvement How do you assess whether moderation is improving? Looking at automation or model accuracy without considering workload, cost and errors
6. Changing providers How do you change providers without rebuilding the system? Switching without mapping classifications or testing the new thresholds
7. Provider failure What happens when a provider fails? A missing detection signal with no defined response
8. Enforcement and appeals How does a detection result become a decision that can be reviewed? Appeals handled without the context needed to reassess the decision

1. Evaluate a moderation model against your own policies before trusting a vendor benchmark

Start by making your policies clear enough to apply consistently. Define what counts as a violation in each category, what is allowed, and how context changes the decision. Then build a golden dataset: a reference set of examples with checked labels and agreed expected outcomes under your policy and, include clear violations, allowed content and borderline cases. Check the labels for errors and resolve disagreements before comparing vendors. Without clear policies and a reliable reference set, you cannot tell whether errors come from the model, unclear policy guidance, or both.

A vendor’s benchmark may not reflect your policies, languages or content. Two providers can report strong results on their own tests yet perform differently on yours. Compare them against the same policy-labelled examples.

Once the test set is ready, identify which providers support the content types you need to moderate. Compare suitable models on the same examples so you can see where their classifications differ and which performs best against your policy. Your platform’s content and past moderation decisions can provide useful examples for the test set. Check that their labels reflect your current policies.

As part of this comparison, run the test examples through each model and the rules you are evaluating. Check what actions the rules would trigger without actually removing content, restricting accounts or applying other enforcement actions. Record each model’s classification and confidence score, the rule that matched, and whether it would send the content to review, trigger enforcement or take no action. The confidence score expresses how strongly the model predicts that classification. It does not necessarily represent the probability that the classification is correct. Compare each provider’s classifications with the expected labels. The same confidence score can correspond to different error rates across providers. Precision measures how much of the content flagged as a policy violation actually breaches that policy. Measure it by checking the model’s predictions against your labelled examples, separately for each category and language. An 80% confidence score does not mean the model achieves 80% precision.

Use the test results to set thresholds for each model and policy category. A threshold is the score cutoff used to trigger an action, such as sending content to review or enforcing a policy automatically. While configuring Nima for a client, Tremau’s team tested a proactive detection model against the client’s firearms and weapons policy. Testing borderline examples showed that an 80% automatic-enforcement threshold was too aggressive. The team raised the thresholds for that policy’s rules to around 93%. Those rules all used the same model, with less certain cases routed to human review. This was a setting for that particular model and policy. The team then tested the rules on real content without applying enforcement and adjusted some thresholds further, based on the needs of that deployment.

One step that’s easy to skip: repeat this per policy category. Test each policy category separately. A model that performs well in one category may not perform well in another. Check that the test set has enough examples to assess each policy category and language, adding targeted cases where rare harms or important edge cases are underrepresented.

Once your test set covers the relevant policy categories and languages, use Nima’s Rule Testing to compare how your configured rules handle those examples with your expected outcomes. You can test individual items or batches without applying real enforcement. The results group cases by outcome, helping you identify missed violations, incorrect enforcement or unnecessary review. Use those findings to adjust the thresholds and test again.

Example Rule Testing results in Nima
Example Rule Testing results in Nima, showing how configured rules handled a test set. The thresholds shown are illustrative and should be tested against your model and policy.

2. What to automate, and on what basis beyond the score

Teams often use a model’s confidence score to decide whether to automate an action, but the score alone is not enough. A high score does not tell you how harmful the content is or what the consequences of a mistake would be. Those are separate considerations when deciding whether to automate an action.

Before automating an action, answer five questions:

  • Harm: If the content violates the policy, what harm could it cause, and how severe would that harm be?
  • Context: Can the violation be identified from the content alone, or does the decision require additional context?
  • Incorrect enforcement: What happens if the system removes or restricts content that should have been allowed?
  • Missed violations: What harm could occur if the system fails to detect content that violates the policy?
  • Reversibility: If the action is wrong, can it be reversed, and can its effects be remedied?
FACTOR PUSHES TOWARD AUTOMATION PUSHES TOWARD REVIEW
Harm severity, if the content is genuinely violating Low-impact, e.g. spam Severe, e.g. threats or other serious policy violations
Context required Can be assessed from the content alone Depends on account history or cultural context
Cost of incorrect enforcement Limited impact, with prompt correction available Account loss, lost income or an incorrect report to an authority
Reversibility of the action Action and its effects can be corrected Action or its effects are difficult to reverse

Consider three hypothetical cases, each receiving a confidence score of 92% from the relevant detection model. Despite the identical scores, the appropriate action differs: a spam post is removed automatically, a culturally ambiguous image goes to a human reviewer, and a flag that could end an account goes to a person regardless of score. The score alone does not determine the action. Policy, context and the consequences of a mistake determine whether each case can be handled automatically or needs review.

In Nima, teams can configure score ranges for three outcomes: dismissing a case as no policy violation, sending it to a human review queue or enforcing a policy automatically. The fraud detection configuration below shows one way to set these ranges. Teams should test their settings against the model and policy they use.

Example score ranges for a fraud detection rule in Nima
Example score ranges for a fraud detection rule in Nima. The thresholds shown are illustrative and should be tested against your model and policy.

When testing rules, compare each result with the outcome expected for that example:

  • Blindspot: Content expected to trigger automatic enforcement is treated as having no policy violation.
  • Over-flagging: Content expected to be allowed is automatically restricted.
  • Safe content queued: Content expected to be allowed is sent for human review, adding to the review workload.
  • Reviewing a clear violation: Content expected to trigger automatic enforcement is sent for human review. Review may still be appropriate where the policy calls for human judgment.
  • Queue bypassed: Content expected to go to human review is dismissed or automatically enforced.

Review these results alongside your policy and adjust the score ranges where needed, then test again.

3. How should you configure rules for detection and review?

A moderation rule determines how content is handled when it meets the conditions you set. In Nima, a proactive detection rule specifies the content type and provider, with proactive detection set as its source. Additional conditions, such as custom attributes, determine which content is sent to the provider. The provider returns a classification and confidence score. Depending on the configured score ranges, Nima can dismiss the case as no policy violation, send it to a review queue or automatically enforce the selected policy. The rule also specifies the queue for cases sent to human review.

Conditions help teams direct content to the appropriate workflow. AND means all specified conditions must be met. OR means either condition can be met. For example, a rule could apply to content from country X or country Y.

A platform concerned about scams could create two proactive detection rules for text content:

  • Country-specific rule: For text from a country where the platform sees a high rate of fraud, a scam detection score below 85% sends the case to the fraud queue for human review. A score of 85% or above triggers automatic removal.
  • Broader rule: For all text content, a scam detection score below 50% leads to no action. A score of 50% or above sends the case to the fraud queue for review.

Choose detection providers according to the content types you need to assess. For example, a platform may use one provider for text and another for images. Test the rules against relevant examples before using them in the live workflow.

Text from the specified country matches both rules, so the first rule is placed higher. Nima applies that rule and the second one does not run. A default rule handles content that does not match another rule.

A team may also choose to use more than one model in a rule. Consider the benefit alongside the cost: sending the same content to two providers can mean paying for two scans, depending on their pricing.

4. What to include in a decision record

Ideally, every decision has a record specific enough to reconstruct later. Here is what to capture and why you’ll need it:

WHAT TO RECORD WHY YOU’LL NEED IT
Provider and model version To know which model produced a signal after providers or versions change, and to compare providers on past cases
Model output (class, score, raw response) To see whether a decision rested on a strong or marginal signal, and to recalibrate
Rule and threshold that matched To explain why a case was auto-actioned or sent to review, and to judge the effect of a threshold change
Policy applied To show which platform rule the action enforced
Human involvement To show who reviewed the case, what they decided and the information they considered, such as the content, location, IP address or reporter account details, where relevant and available
Action taken To check consistency across similar cases
User communication To show what the user was told, and when
Appeal To show whether it was contested, who handled it and what they saw
Final outcome To feed overturn metrics and the evaluation set

Decision records help teams investigate errors, test alternative providers and review appeals. If overturns rise, check the record for changes to models, thresholds or policies. When evaluating a replacement provider, use retained content and previous decisions to compare its results on the same cases. During an appeal, the record helps the reviewer understand the model output and the basis for the original action. These records can also help teams compile information for transparency reports. For example, the EU Digital Services Act (DSA) requires certain providers to publish reports on their content moderation, including their use of automated tools. Decision records help teams explain and reconsider moderation actions. Link each action to the policy applied, the reasons for the decision and the notice sent to the user. If the user challenges it, preserve the reviewer’s reasoning and the final outcome alongside the original record. A clear decision history also supports complaints handling. For example, the UK Online Safety Act requires regulated user-to-user services to provide complaints procedures for specified moderation decisions, including content removed on illegal-content grounds. In the US, the DMCA notice-and-counter-notice process allows users to contest copyright takedowns they believe resulted from mistake or misidentification. Keeping the original notice, the action taken, user communications and the subsequent outcome together helps teams handle these disputes.

Keep decision records retrievable for the applicable retention period, including after a provider or tool changes. Check which fields your tooling captures automatically and which need additional configuration. Do not assume it preserves the exact rule and threshold versions used for each decision or records whether a fallback was used.

5. How to measure whether AI is actually improving moderation

Model accuracy alone does not show whether moderation is improving. Track whether the system reduces review workload, speeds up decisions and controls costs without increasing errors. Establish a baseline before changing the configuration. Compare results over a defined period, accounting for changes in content volume and the types of cases received.

Here’s what to track, and why each one matters:

  • Review volume and time to action. Track how many cases need human review and how long moderation actions take. Check whether backlogs are falling and urgent cases are handled within your target times.
  • Automation rate. Track the share of cases resolved automatically for each policy and compare it with the level of automation you have chosen for that policy. This helps you check whether cases are being handled as intended, including where all cases should go to human review.
  • Cost per decision. Divide total moderation costs, including provider charges, human review, rework and appeal handling, by the number of cases resolved in the same period. Compare configurations using this measure alongside decision quality.
  • Appeals and overturn rate, specifically what share of decided appeals get overturned. If the overturn rate rises, check whether the model’s performance has changed or its thresholds need adjusting. Additionally, check for changes in policy, reviewer decisions and the mix of cases users appeal. A higher overturn rate does not, on its own, mean the model is performing worse.
  • False positives, false negatives and recall. Review flagged content to identify false positives. Also sample unflagged content to find violations the model missed. Recall measures the proportion of actual violations the model detects. Measuring it requires labelled examples of both detected and missed violations, not just a review of what the model flagged.

Quality assurance helps teams check whether moderation decisions are consistent with their policies. In Nima’s Quality Assurance workflow, teams configure a sampling strategy for a queue, then a quality reviewer assesses the sampled cases. Nima compares those verdicts with the original decisions and reports precision, recall and accuracy for the reviewed sample, alongside error breakdowns by policy and moderator. Teams can use the results to investigate where policy guidance or reviewer training may need attention.

The practical takeaway: review these measures together to understand how changes affect decision quality, review workload, costs and appeal outcomes.

6. Swapping providers without rebuilding the system

Keep provider integrations separate from policy rules, review workflows, enforcement and reporting. If routing, enforcement and reporting rules depend on a specific provider’s response format or labels, changing providers may require changes to those rules too.

Nima connects teams to multiple detection providers through a single integration. Teams can switch between compatible providers by updating their configuration rather than building a separate integration. Include the provider and model used for each result in the decision record. This helps reviewers understand how a decision was made, even after a provider has been changed.

When switching to another integrated proactive detection provider, map its classifications to your policies and set its thresholds. Use Nima’s Rule Testing to check the new configuration against the labelled examples from Section 1 before enabling it in production. The test shows how the rules would handle those examples without applying real enforcement or affecting live queues. Depending on your configuration, your existing review workflows, enforcement actions and reporting may remain in place.

7. What happens when a provider fails?

Plan how each workflow will handle a provider outage. Depending on the risk, you can:

  • Use another provider that has been validated for the affected policy and content type.
  • Send affected cases to human review, within the team’s available capacity.
  • Hold content and retry detection within a defined time limit.
  • Temporarily change routing or enforcement rules to limit the impact of the outage.

For workflows where missed violations could cause serious harm, decide how to limit exposure while detection is unavailable. For example, hold uploads from publication until another provider or a reviewer checks them. For lower-risk workflows, define how long retries can continue, whether content remains visible and when a person must intervene.

Record when a contingency was used so reviewers can understand how the decision was made.

What shouldn’t happen: content that would have gone through that provider silently skips moderation because no fallback path was ever defined. Plan provider contingencies in advance so that a missing signal triggers a visible, controlled response and coverage gaps are detected and addressed.

If a proactive detection provider goes down, Nima’s other active providers and human review workflows continue to operate.

Switching to another compatible provider is one option. Nima’s marketplace integrates with more than 10 proactive detection providers, giving teams alternatives when a provider no longer meets their needs. Plan and test the alternative before an outage. Check that its classifications match your policies and adjust its thresholds based on the test results before enabling automatic enforcement.

8. From model output to an enforcement and appeal decision

An enforcement decision may be challenged long after the original review. Preserve the model output and the rule and policy versions used at the time, alongside any context considered by a reviewer. The person handling the appeal needs to understand why the action was taken and assess whether it was justified, rather than simply repeat the original classification. Record the appeal reviewer’s reasoning and final decision.

Here is one illustrative chat message followed through the chain:

Layer What happens
Model detects A text model returns the class “harassment” with a score of 0.94
Rule matches Harassment is context-dependent, so the rule routes high-confidence flags to human review rather than auto-enforcing
Policy says If the reviewer confirms a violation, the message is removed and the user receives a warning for a first offense. Under the platform’s strike system, repeat violations can lead to a temporary account restriction.
Action taken A reviewer confirms the violation; the message is removed and the user receives a warning
User told The notice identifies the removed message, explains why it breached the harassment policy, states that automated detection was followed by human review, and explains how to appeal.
Appeal The user says it was banter between friends. A second, qualified reviewer re-examines the policy, the surrounding conversation and relevant account and report details, such as the reporter’s account, location or IP address, where available. If the decision is overturned, the message is restored and the record updated. The case is flagged for QA review and added to the test set for the next calibration round only if that review confirms what went wrong.

Automatic removal and a warning may be appropriate for a well-tested category that requires little context, provided mistaken actions can be corrected. Where Nima’s Account Strike System is used, teams should also be able to correct any strikes resulting from an incorrect decision. This harassment example uses human review because the surrounding conversation can change the interpretation. Sampled quality checks are also needed to find errors that users do not appeal.

Putting the eight decisions into practice

Start by testing providers and rules against your policies, then decide which cases need human review and which actions can be automated. Plan for provider failures and keep records that help reviewers understand and assess decisions. Once the system is live, monitor its outcomes and revisit the configuration as your content, policies or providers change.

Frequently Asked Questions (FAQs)

How do you choose an AI moderation provider?

Start with providers that cover your content types, languages and policies. Nima’s marketplace and provider expertise help you shortlist suitable options.

Your chosen provider classifies content and returns confidence scores. In Nima, you set thresholds that determine whether content goes to human review, triggers automatic enforcement or receives no action.

Use Rule Testing to check those decisions against your golden dataset. Nima compares the rules’ results with the expected outcomes and highlights missed violations, incorrect enforcement and unnecessary review. You can run tests and follow the results guidance without engineers building a separate testing process. Tests do not apply real enforcement or affect live queues.

Adjust the thresholds and test again. If you cannot reduce incorrect enforcement without missing too many violations, consider another provider. This helps you choose a provider based on how well it performs against your policies.

How do I set confidence thresholds for review and automatic enforcement?

A confidence threshold is a score cutoff used in a moderation rule. In Nima, thresholds help determine whether a provider’s result leads to no action, human review or automatic enforcement. You set them to control which cases need a person’s judgment and which can be handled automatically.

There is no universal setting. Use Nima’s Rule Testing to compare the outcomes at different thresholds with the expected outcomes in your golden dataset.

  • Violations are missed: consider lowering the relevant threshold and test again. If misses persist, assess another proactive detection provider.
  • Allowed content is automatically restricted: consider raising the automatic-enforcement threshold and test again.
  • Allowed content is unnecessarily reviewed: adjust the boundary between no action and human review.
  • Ambiguous content skips review: adjust the thresholds to send more of those cases to reviewers.

Check all results after each change, since reducing one type of error can increase another. Keep human review where the policy or consequences require it.

Once rules are live, Nima’s Quality Assurance reports can also help teams review sampled moderation decisions and investigate errors.

Build a More Effective Moderation Workflow with Nima

See how Nima connects proactive detection, configurable routing, human review and decision records in one moderation workflow. Request a demo to explore how Nima can support your policies, risks and review processes.