# Whether to put validation on the frontend or backend depends first on whether errors can be reversed.

Date: 2026-11-21
Category: Product
Tags: Content Moderation, Product Design, Process Design
Summary: Where human review sits in the pipeline determines what information it can access and what responsibility it bears. This article breaks down the failure paths of pre-positioned and post-positioned review, and offers a set of criteria for choosing the placement based on reversibility and information completeness.

"Should review come first or last?" This question often gets compressed into a single line in review meetings: the earlier, the safer. But once you actually draw the review points onto the pipeline, this conclusion is only half right. What you can block upfront is less, and what you can remedy downstream is less—these two "lesses" are not the same thing.

A common scenario is AI-generated product copy or marketing assets. Teams initially arrange for full manual review before publishing, and quality is indeed stable. As volume grows, the review queue stretches from hours to days, operations start requesting expedited channels, and the practical meaning of an expedited channel is no review. In post-mortems, everyone says "review execution was inadequate," but the real problem is that the review point was placed at the segment with the tightest capacity.

## There are more than two positions for review points

Lay out a generation pipeline, and there are at least five places where human review can be attached: when user input comes in, before corpus enters retrieval, before the model calls tools or sends requests, before content is published externally, and after publication relying on reports and spot checks. These five positions receive different information and can make different judgments.

Entry review sees one sentence from the user, but cannot see how the model will interpret it, which corpus it will cite, or what the final output will look like. Corpus review sees static documents, but does not know under which question they will be used or by whom they will be seen. The pre-action gate knows that an SMS will be sent, a payment will be deducted, or an external API will be called, but does not know whether the body text is presentable. Pre-publication final review can see the finished product, but at this point the cost of changes is highest—sending it back means rerunning the entire pipeline.

So the binary choice of "frontend or backend" is itself problematic. What really needs to be decided is: what information does this judgment require to be accurate, and at which step does that information become complete. If the information needed for review is only complete at the exit, forcing it to the entrance means reviewers can only guess, and the result of guessing is always conservative rejection.

There is a common practice of pushing review points as early as possible, on the grounds of "catch it early, handle it early." This reasoning holds in one situation: when a problem, once created, has no intermediate state—for example, an erroneous SMS cannot be recalled once sent. In all other cases, moving earlier does not save cost; it converts cost from incident compensation into a human labor pipeline, and this pipeline grows linearly with traffic.

## Pre-review judges whether something can be done; post-review judges whether it is done well

I think this distinction is fairly hard and rarely articulated clearly.

Pre-review is good at judging "whether this thing is allowed to happen": whether this category can be advertised, whether this client has qualifications, whether this sentence contains promises that must not appear, whether this amount exceeds the limit. These judgments share common traits: clear basis, enumerable, and independent of what the final copy looks like. A reviewer can reach a conclusion by glancing at the rules, and the rejection reason can be written in one sentence.

Post-review is good at judging "whether what was produced is acceptable": whether the tone is right, whether there is exaggeration, whether it touches current public sentiment, whether it fits the channel's style. These judgments require seeing the finished product, and even knowing where it appears and who sees it. You cannot judge from a single line of user input whether the final copy will read like false advertising.

Moving problems that can only be judged post-hoc to the front means reviewers make decisions with insufficient information. They see "help me write a promotional copy" and do not know whether the final output will be "limited to three days" or "lowest price across the entire internet," so they can only handle it according to the worst case. The false-kill rate rises, the business side starts complaining that "nothing dares to pass," and then workarounds appear.

Conversely, putting problems that can be judged upfront into post-review is equivalent to letting reviewers discover them after the incident has already occurred. At that point, all that can be done is retract and apologize. Some teams put hard conditions like qualification checks, sensitive words, and price consistency into pre-publication final review. It looks rigorous, but in practice it makes a person do what a machine can do in milliseconds, and it lengthens latency.

## The earlier the review, the more expensive the false kill

The cost of false kills is easily underestimated because it does not appear in incident reports. It manifests as: operations making proposals increasingly empty and template-like; the business side privately going through offline processes; review being treated as a procedural stamp, with the person stamping not believing in it either.

The mechanism is this: pre-review receives too little diagnostic information, so reviewers cannot judge "whether this one will actually cause trouble" and can only handle it according to the worst case. When rejection reasons cannot be falsified, the rejected party also cannot appeal, and over time they stop appealing and simply go around. Workarounds leave no records, hence no incident data, so everything looks normal on the dashboard.

My inclination is: pre-review should only block "hard conditions with clear basis." Anything that requires explanation, context, or trade-offs should not be placed upfront. The narrower the responsibility of pre-review, the more it can survive long term. An operational test is to see whether its rejection reason can be written in one sentence, and whether that sentence needs to contain "I think." If it cannot be written, it means this judgment should not be made at this step.

This also explains why many pre-reviews eventually degenerate into whitelists: not because reviewers are lazy, but because at a position with insufficient information, a whitelist is the only self-consistent approach. And once a whitelist takes shape, new businesses, new categories, and new expressions are all locked out, and the product can no longer grow.

## The later the review, the more it gets crushed by capacity

The problem with post-review is usually not lack of diligence; it is queuing.

Give an order of magnitude. For a piece of copy of two to three hundred characters, an experienced reviewer takes roughly tens of seconds to read it, and with recording, communication, and rework, it is measured in minutes. When daily generation volume is in the hundreds, one or two people can handle it; at thousands, it takes several people full-time; at tens of thousands, full manual review is simply economically unviable.

After volume grows, three things usually happen, and the order is basically fixed. The queue lengthens, and latency goes from minutes to hours; the business side starts requesting expedited handling; the expedited channel crowds out the normal queue, and eventually everyone goes expedited. Expedited equals no review.

What makes this failure path insidious is that on the dashboard, review volume is full and the pass rate is normal; only end-to-end latency is quietly growing. When an incident finally occurs, tracing back reveals that the problematic item went through expedited handling, and the approval record for expedited handling often contains only one line: "business urgency."

So post-review must be paired with an explicit capacity ceiling and degradation rules, rather than "review as much as possible." For example, when the queue backlog exceeds two hours, automatically downgrade from full review to spot checks, and simultaneously send alerts to the business side so everyone knows the current assurance level has dropped. This rule must be fixed in advance and cannot be negotiated on the fly during a backlog, because at that time every negotiation is "let this one through first."

## My default division

In the review pipelines I have followed over the past decade, most problems are not that review is too loose, but that the review position is wrong. If I were to design from scratch now, I would go through three questions in order.

First, see whether an error can be retracted after it occurs. Sending SMS, sending email, deducting payment, publishing externally, calling third-party APIs—once these actions occur, they cannot be taken back, so there must be a gate in front, even if it is slow, even if volume cannot scale. Internal drafts, rollback-capable recommendation slots, and replies users can retract with one click have low remediation costs, so human review can be placed later, or even only spot checks.

Second, see whether the judgment requires complete context. Judgments that require seeing the finished product, the channel, and the audience must be placed near the exit. Those that do not require context should be moved earlier.

Third, see whether it can be written as rules. What can be written as rules should be given to machines upfront: zero latency, zero labor, explainable. What cannot be written as rules but can be judged by models should be scored by models, with humans only looking at the low-confidence segment. There is an easily失控 place here: if the proportion of model uncertainty remains above 30% for a long time, it means the judgment criteria themselves are not clearly defined, and adding people only transfers vague standards into manpower.

```mermaid
flowchart TD
  A[审核点要判什么] --> B{错误能撤回吗}
  B -->|不能| C[放在动作之前 人卡口]
  B -->|能| D{判定需要完整上下文吗}
  D -->|需要| E[靠近出口 人审加抽检]
  D -->|不需要| F{能写成规则吗}
  F -->|能| G[机器前置]
  F -->|不能| H[模型判定加人审灰区]
```

One more thing needs to be said separately: do not use expected value to calculate the total cost of a review checkpoint. The cost of a review incident is not the mean, it is the tail. A single regulatory communication or a single public opinion flare-up can cover several years of review manpower, but that probability cannot be estimated accurately—the expected value you calculate is just self-deception. My approach is to calculate separately: irreversible actions are decided by worst case, looking at "how bad can the worst case get, and can I absorb it"; reversible actions are decided by expected value, calculating the sampling ratio and fallback cost. Mix them together, and the conclusion will always lean toward the side that saves money.

The card below is the minimal version I would fill out now. If it cannot be filled out, it means this review checkpoint has not been thought through.

```yaml
audit_point: 发布前终审
position: 生成之后 对外动作之前
reversible: false          # 发布即对外，撤不回
context_needed: [渠道, 受众, 法务口径]
human_role: 卡口            # 卡口 / 灰区裁决 / 抽检
machine_pre: [敏感词, 价格一致性, 资质校验]
sample_rate: 0.05          # 只用于质量监控，不用于兜底
kpi: [漏放率, 误杀率, 端到端延迟]
stop_rule: 队列积压超过两小时降级为抽检并告警
```

## Don't evaluate review by pass rate

Pass rate is the metric most easily used to evaluate review teams, and also the metric most easily ruins review. The reason is straightforward: pass rate is entirely controlled by the reviewers themselves. Want it high? Loosen up. Want it low? Tighten up. It has no stable relationship with "whether something went wrong externally."

I prefer to look at four numbers. Miss rate, inferred from post-hoc sampling and reports—though imprecise, the trend is meaningful; false-kill rate, the proportion of rejected samples that are rechecked and found releasable—a high number means the review checkpoint is in the wrong place, not that reviewers are incompetent; per-item review cost, which must include reading time, communication, and rework, not just reading; end-to-end latency, from generation to publishable, looking at both P50 and P95.

Among the four, latency is the most easily overlooked and the first to go wrong. Because longer latency does not trigger alarms—it only makes the business side start looking for shortcuts, and shortcut-seeking actions usually do not get written into any document.

## Some positions should not have human review

In three cases I would cut human review outright rather than optimize it.

Reversible and low-impact. Internal documents, drafts, replies that can be recalled with one click—the marginal value of human review is very low, and it slows down feedback. The right approach for these scenarios is to do recall and traceability well, not to add a layer of human eyes.

Strong downstream fallback. Users can report, customer service can compensate, the platform can take things down—these mechanisms themselves perform a review function, and human review is just one layer among them. When downstream fallback is strong enough, stacking another layer of pre-review on top mainly yields psychological benefit.

Human review expands the data exposure surface. Pre-review means the raw input must be seen by a person—possibly the user's private content, possibly an unmasked contract. Some teams, in order to be "safer," move review to the very front, and the result is spreading sensitive data to more people. Few people calculate this cost, but it really happens. Post-review can look only at the masked final product, with a much smaller exposure surface.

## Review position determines who has power

There is another organizational consequence that is rarely discussed at the design stage. When review is placed in front, the review team holds admission power, and they will instinctively demand more rejection rights, more rules, more whitelists; when review is placed behind, they hold discovery power, and they will demand more automatic approval and faster closed loops. The two positions grow two team personalities, and also determine who can change prompts, who can change policies, and whose words carry more weight in review meetings.

Responsibility boundaries change accordingly. A front checkpoint means whoever approved it is responsible, and when something goes wrong it can be traced to a specific person; post-sampling is discovered by sampling, and what is not sampled effectively has no responsible person. This is not to say post-review is bad, but that post-review must come with a clear set of responsibility agreements; otherwise, after an incident, it will inevitably fall into mutual blame—"the system didn't stop it" versus "the person didn't catch it."

Next time someone in a review meeting proposes "add a layer of human review," first ask three questions: does this review need to judge whether it can be done, or whether it is done well; is the information it needs complete at this step; what does it degrade to when the queue backs up. If none of the three can be answered, what is being added is not review—it is a stretch of latency.
