AI NewsProductivityAnnouncement
Google Cloud publishes a brand safety playbook for agents with sample sizes
Two Forward Deployed AI Engineers at Google Cloud published a brand safety playbook for agents. It names three review tiers, four sample sizes keyed to risk, and a 3-sigma rule for outlier routing.

Why it mattersA team launching an agent can set its review budget from the table. The method separates sampling that catches known risks from sampling that catches unknown ones.
A team launching a customer-facing agent has to decide how much of the traffic a human reviews. Google Cloud's Forward Deployed Engineering group published a guide that gives the numbers to work from. The post is by Casey Justus and Defne Yazicioglu, both Forward Deployed AI Engineers at Google Cloud. It names three review tiers, four sample sizes, and a GitHub notebook that implements the outlier check.
The three principles the team works from
The guide names three rules the authors say they apply on every engagement. Agree on the priority risks at the start of the project, not at the end. Pair rule-based controls that always fire with instruction-based controls that cut failure rates. Every safety layer sits on the request path, so size the classifiers and filters for traffic spikes.
The sample sizes
The authors give one table for sampling rate by risk. The target is a 95 percent confidence that the failure rate stays under the chosen number. A public-facing agent at 0.1 percent needs about 3,000 reviews. A standard setup at 0.5 percent needs about 600. A moderated environment at 1 percent needs about 300. An internal chatbot at 5 percent needs about 60.
The three review tiers
The second table splits traffic into three tiers by how risky each request looks. Tier 1 is flagged by Model Armor, Google Cloud's own safety filter, or caught as a jailbreak attempt. The rule is 100 percent review. Tier 2 is a smaller classifier's "sensitive" flag or a low sentiment score. The authors say this catches the grey area of safe but off-brand answers. The rule is 50 percent review. Tier 3 is everything else, sampled at 1 to 5 percent. That tier catches drift and unknown failure modes.
Model Armor is a Google Cloud service for filtering agent inputs and outputs. The documentation link is in the guide.
A 3-sigma rule for the unknown
The authors describe a check for interactions that none of the rules caught. Build a baseline from recent known-safe interactions in the vector space of their embeddings. For each new interaction, measure its cosine distance and its local outlier factor against that baseline. Any interaction more than three standard deviations from the baseline goes straight to Tier 1 for a full human review.
The authors publish the implementation as a Jupyter notebook in the GoogleCloudPlatform/generative-ai repository, at embeddings/anomaly_sampling_engine.ipynb.
What this gives a reader this week
A team can read the risk-appetite row for its own setup. One number says how many reviews a week it is signing up for. A team that was running human review on a flat percentage of traffic has a reason to split that budget. Give the dangerous slice full coverage and spread the rest.
Two limits of the guide are worth saying out loud. The sample sizes are a statistical target under the authors' chosen confidence level. The three tiers also assume Model Armor is in place, which ties the method to Google Cloud for now. A team on another platform can still apply the sampling maths and the embedding check without it.
Source
Google Cloud: A guide to improve your brand safety by Casey Justus and Defne Yazicioglu. The anomaly-sampling notebook is at GoogleCloudPlatform/generative-ai.
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.


