Privacy-Preserving LLM Usage Analysis System for Production AI Safety

anthropic · Tech · 2024 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Privacy-preserving LLM usage analytics and safety monitoring

Anthropic needed to understand how Claude was being used in production for safety, governance, and product learning without exposing individual user conversations to analysts.

Constraints:

Architecture

Clio is a Claude-powered analysis pipeline that converts raw Claude conversations into privacy-preserving aggregate insights. It extracts facets from each conversation, clusters similar conversations semantically, asks Claude to describe clusters while excluding private information, organizes clusters into hierarchies, and exposes only aggregated higher-level patterns to authorized analysts. Trust and Safety teams use the resulting clusters to find coordinated misuse, monitor high-stakes events, and improve classifiers while preserving privacy through anonymization, thresholds, final privacy checks, and access controls.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  claude-conversation-corpus["Claude conversation corpus"] --> facet-extraction["Facet extraction"]
  facet-extraction["Facet extraction"] --> claude-conversation-corpus["Claude conversation corpus"]
  facet-extraction["Facet extraction"] --> semantic-clustering["Semantic clustering"]
  semantic-clustering["Semantic clustering"] --> facet-extraction["Facet extraction"]
  semantic-clustering["Semantic clustering"] --> cluster-description["Cluster description"]
  cluster-description["Cluster description"] --> semantic-clustering["Semantic clustering"]
  cluster-description["Cluster description"] --> privacy-verification["Privacy verification"]
  privacy-verification["Privacy verification"] --> cluster-description["Cluster description"]
  privacy-verification["Privacy verification"] --> hierarchy-explorer["Hierarchy explorer"]
  hierarchy-explorer["Hierarchy explorer"] --> privacy-verification["Privacy verification"]
  hierarchy-explorer["Hierarchy explorer"] --> trust-and-safety-review["Trust and Safety review"]
  trust-and-safety-review["Trust and Safety review"] --> hierarchy-explorer["Hierarchy explorer"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Claude conversation corpus Production Claude conversations used as the input population for privacy-preserving analysis. Facet extraction
Facet extraction Claude-powered extraction of topics, language, turn counts, and other metadata while omitting private details. Claude conversation corpus, Semantic clustering
Semantic clustering Grouping layer that aggregates similar conversations into themes so analysis happens at cluster level. Facet extraction, Cluster description
Cluster description Claude-generated titles and summaries for clusters that capture common themes while excluding private information. Semantic clustering, Privacy verification
Privacy verification Final model check and thresholding layer that prevents overly specific or identifying cluster summaries from being displayed. Cluster description, Hierarchy explorer
Hierarchy explorer Interactive interface for authorized analysts to explore topic, language, and other dimensions of aggregated usage. Privacy verification, Trust and Safety review
Trust and Safety review Operational workflow that uses Clio clusters to identify likely policy violations, coordinated misuse, classifier errors, and high-stakes risks. Hierarchy explorer

Data flow

Conversations enter Clio as raw usage data. Claude first extracts facets such as topic, language, and conversation-turn metadata while omitting private details. Similar conversations are then clustered by semantic theme. Claude generates sanitized cluster titles and summaries, and the clusters are organized into a multi-level hierarchy for analyst exploration. Safety teams review aggregate clusters, not individual conversations by default, to identify misuse patterns, classifier gaps, language-specific usage, and high-stakes-event risks.

3 supporting quotes
“For each conversation, Clio extracts multiple "facets"—specific attributes or metadata such as the conversation topic, number of back-and-forth turns in the conversation, or the language used.”article, stated
“Similar conversations are automatically grouped together by theme or general topic.”article, stated
“Clusters are organized into a multi-level hierarchy for easier exploration. They can then be presented in an interactive interface that analysts at Anthropic can use”article, stated

Why this architecture

Anthropic chose bottom-up aggregate analysis because pre-deployment tests cannot anticipate all real-world uses, while privacy requirements prevent ordinary direct observation. The staged pipeline lets Claude abstract conversations before analysts see them, creating aggregate safety visibility without exposing raw user data.

3 supporting quotes
“Traditional, top-down safety approaches (such as evaluations and red teaming) rely on knowing what to look for in advance. Clio takes a different approach”article, stated
“data are automatically anonymized and aggregated, and only the higher-level clusters are visible to human analysts.”article, stated
“How, then, can we research and observe how our systems are used while rigorously maintaining user privacy?”article, stated

Models used: Claude

Scale

Alternatives considered (roads not taken)

Rely only on pre-deployment evaluations and red teaming

Rejected because: Those top-down methods require knowing what to look for in advance and cannot cover the diversity of real production usage.

“Traditional, top-down safety approaches (such as evaluations and red teaming) rely on knowing what to look for in advance.”article, stated
“the sheer scale and diversity of what language models can do makes understanding their uses—not to mention any kind of comprehensive safety monitoring—very difficult.”article, stated

Expose raw user conversations to human analysts

Rejected because: Anthropic treated user privacy as a central constraint and only exposes higher-level clusters to analysts.

“At Anthropic, we take the protection of our users’ data very seriously.”article, stated
“only the higher-level clusters are visible to human analysts.”article, stated

Use Clio outputs for automated enforcement

Rejected because: Anthropic says Clio is not used for automated enforcement actions in the Trust and Safety context.

“at this time we don't use Clio’s outputs for automated enforcement actions, and we extensively validate its performance across different data distributions”article, stated

Patterns

privacy-preserving-processing (governance)

Clio anonymizes and aggregates conversation analysis before humans see it, using Claude instructions, minimum thresholds, final privacy checks, access controls, and data-minimization policies.

“data are automatically anonymized and aggregated, and only the higher-level clusters are visible to human analysts.”article, stated
“Claude is instructed to extract relevant information from conversations while omitting private details.”article, stated

prompt-chaining (pipeline)

The system decomposes analysis into sequential Claude-powered steps: facet extraction, semantic clustering, cluster description, and hierarchy building.

“Here is a brief summary of Clio’s multi-stage process:”article, stated
“These four steps are powered entirely by Claude, not by human analysts. This is part of our privacy-first design of Clio, with multiple layers to create “defense in depth.” For example, Claude is instructed to extract relevant information from conversations while omitting private details.”article, stated

observability-tracing (operations)

Clio acts as an observability system for production LLM usage, surfacing aggregate day-to-day usage patterns and language-specific differences.

“Clio is an automated analysis tool that enables privacy-preserving analysis of real-world language model use. It gives us insights into the day-to-day uses of claude.ai in a way that’s analogous to tools like Google Trends.”article, stated
“Claude usage varies considerably across languages, reflecting varying cultural contexts and needs. We calculated a base rate of how often each language appeared in conversations overall, and from there we could identify topics where a given language appeared much more frequently than usual.”article, stated

safety-policy-enforcement (safety)

Trust and Safety teams use Clio clusters to detect prohibited activity, review accounts when appropriate, and strengthen enforcement systems.

“Our Trust and Safety team is able to review topic clusters for areas that indicate likely violations of our Usage Policy.”article, stated
“the pattern of behavior across accounts revealed a form of coordinated platform abuse we explicitly prohibit in our policy and we removed the network of accounts.”article, stated

eval-driven-development (quality)

Anthropic validates Clio across privacy evaluations, language distributions, classifier disagreements, and false-positive/false-negative analysis to improve safety systems.

“All our privacy protections have been extensively tested, as we describe in the research paper.”article, stated
“we extensively validate its performance across different data distributions—including testing across multiple languages”article, stated

human-in-the-loop-gate (governance)

Clio informs authorized human Trust and Safety review rather than directly enforcing from model output.

“Our Trust and Safety teams can use this bottom-up review approach to identify individual accounts for further review and, if appropriate, take action”article, stated
“We strictly limit this type of review to those with legitimate Trust and Safety needs. Our research paper includes more information on these processes.”article, stated

Tradeoffs

Analyze aggregate clusters instead of individual conversations.

Chose Anonymized, aggregated clusters visible to analysts over Direct human review of raw conversation data.

Rationale: Aggregate analysis provides usage and safety insight while preserving user privacy.

“data are automatically anonymized and aggregated, and only the higher-level clusters are visible to human analysts.”article, stated
“AI providers have a dual responsibility: to maintain the safety of their systems while protecting user privacy.”article, stated

Use bottom-up discovery in addition to proactive safety testing.

Chose Clio's bottom-up cluster discovery over Only pre-deployment evaluations and red teaming.

Rationale: The team needed to detect unknown unknowns and real-world patterns that top-down testing had not anticipated.

“Clio takes a different approach, enabling bottom-up discovery of patterns by distilling conversations into abstracted, understandable topic clusters.”article, stated
“The ability to detect “unknown unknowns,” made possible through Clio, complements our proactive safety measures and helps us respond quickly to new challenges.”article, stated

Keep enforcement human-reviewed rather than automated from Clio output.

Chose Authorized Trust and Safety review informed by Clio over Automated enforcement actions from Clio outputs.

Rationale: This reduces false-positive risk while still allowing teams to investigate likely violations.

“For example, at this time we don't use Clio’s outputs for automated enforcement actions, and we extensively validate its performance across different data distributions—including testing across multiple languages, as we detail in our paper.”article, stated
“Our Trust and Safety teams can use this bottom-up review approach to identify individual accounts for further review and, if appropriate, take action”article, stated

Publish Clio's purpose and limitations publicly.

Chose Transparency about the monitoring system and its findings over Keeping usage-analysis capabilities entirely internal.

Rationale: Anthropic frames transparency as a way to maintain user trust around a potentially sensitive monitoring system.

“We've chosen to be transparent about Clio's purpose, capabilities, limitations, and what insights we’ve learned from it.”article, stated
“By openly discussing Clio, we aim to contribute to positive norms around the responsible development and use of such tools.”article, stated

Gotchas (what bit them)

Privacy-preserving monitoring can become invasive if analysts see overly specific clusters.

Root cause: Low-frequency topics may be specific to individuals, and cluster summaries could accidentally include identifying information.

Resolution: Clio uses minimum thresholds, final Claude privacy verification, access controls, data minimization, retention policies, and audits.

“We also have a minimum threshold for the number of unique users or conversations, so that low-frequency topics (which might be specific to individuals) aren’t inadvertently exposed.”article, stated
“Claude verifies that cluster summaries don’t contain any overly specific or identifying information before they’re displayed to the human user.”article, stated

Individual conversations may look benign while account networks are abusive.

Root cause: Coordinated misuse can emerge only as a pattern across accounts, not as a single obviously violating conversation.

Resolution: Clio performs bottom-up aggregate clustering so Trust and Safety teams can identify coordinated prompt structures and account networks.

“the pattern of behavior across accounts revealed a form of coordinated platform abuse we explicitly prohibit in our policy and we removed the network of accounts.”article, stated
“Clio has proven effective at identifying patterns of coordinated, sophisticated misuse that would otherwise be invisible when looking at individual conversations”article, stated

Existing Trust and Safety classifiers missed some harmful translations and over-flagged benign content.

Root cause: Classifier boundaries did not fully align with real conversation clusters across languages, resumes, security programming, or role-playing content.

Resolution: Anthropic used Clio disagreement clusters to find both false negatives and false positives and tune systems toward true policy violations.

“our systems sometimes failed to flag violating content when the user asked Claude to translate from one language to another. Clio, however, spotted these conversations.”article, stated
“We also used Clio to investigate false positives—another common challenge when developing Trust and Safety classifiers”article, stated

A tool for usage insight can itself be misused for inappropriate monitoring.

Root cause: The system gives analysts a powerful view into aggregate user behavior.

Resolution: Anthropic applies strict access controls, privacy techniques, and data minimization/retention policies.

“A system like Clio could be misused to engage in inappropriate monitoring.”article, stated
“we mitigate this risk by implementing strict data minimization and retention policies: we only collect and retain the minimum amount of data necessary for Clio.”article, stated

Evaluation

Anthropic evaluates Clio through privacy validation testing, comparison against existing Trust and Safety classifiers, language-distribution analysis, false-positive/false-negative review, and operational use during feature launches and elections.

Metrics: 1 million analyzed Claude.ai conversations · Top task category shares such as over 10% web/mobile development · Trust and Safety classifier correlation of r = 0.71 · False-negative and false-positive clusters identified · Testing across multiple languages and privacy evaluations

3 supporting quotes
“All our privacy protections have been extensively tested, as we describe in the research paper.”article, stated
“The overall correlation between the Trust and Safety and the Clio classifications was r = 0.71, indicating broad overall agreement between the two systems.”article, stated
“we extensively validate its performance across different data distributions—including testing across multiple languages”article, stated

Outcomes

Anthropic reports analysis of 1 million claude.ai conversations, over 10% coding-related usage, more than 7% education usage, nearly 6% business strategy/operations usage, and r = 0.71 agreement with existing Trust and Safety classifiers.

4 supporting quotes
“This revealed a particular emphasis on coding-related tasks: the "Web and mobile application development" category represented over 10% of all conversations.”article, stated
“we identified a network of automated accounts using similar prompt structures to generate spam for search engine optimization.”article, stated
“For example, while we conducted a wide range of safety tests in advance of launching a new computer use feature, we used Clio to screen for emergent capabilities and harms we might have missed1.”article, stated
“We used Clio to highlight these erroneous decisions, helping our safety systems to trigger only for content that really does violate our policies”article, stated