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:
- LLM usage is too diverse for top-down red-teaming and anticipated-use monitoring to cover comprehensively.
- Direct human inspection of individual conversations would conflict with Anthropic's privacy commitments.
- Safety teams still need enough aggregate visibility to detect misuse, false positives, false negatives, and emerging risks.
- Low-frequency clusters may reveal individual users if displayed without thresholds.
- Outputs used for Trust and Safety require access controls and safeguards against misuse of the monitoring tool itself.
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"]
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
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
Models used: Claude
Scale
- Clio analyzed 1 million Claude.ai conversations across Free and Pro tiers.“(both the Free and Pro tiers) to identify the top tasks people use Claude for. This revealed a particular emphasis on coding-related tasks”article, stated
- Web and mobile application development represented over 10% of analyzed conversations.“the "Web and mobile application development" category represented over 10% of all conversations.”article, stated
- Educational uses were more than 7% of conversations and business strategy/operations nearly 6%.“Educational uses formed another significant category, with more than 7% of conversations focusing on teaching and learning. A substantial percentage of conversations (nearly 6%) concerned business strategy and operations”article, stated
- The Trust and Safety classifier comparison had an overall correlation of r = 0.71 with Clio classifications.“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
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.
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.
Use Clio outputs for automated enforcement
Rejected because: Anthropic says Clio is not used for automated enforcement actions in the Trust and Safety context.
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.
prompt-chaining (pipeline)
The system decomposes analysis into sequential Claude-powered steps: facet extraction, semantic clustering, cluster description, and hierarchy building.
observability-tracing (operations)
Clio acts as an observability system for production LLM usage, surfacing aggregate day-to-day usage patterns and language-specific differences.
safety-policy-enforcement (safety)
Trust and Safety teams use Clio clusters to detect prohibited activity, review accounts when appropriate, and strengthen enforcement systems.
eval-driven-development (quality)
Anthropic validates Clio across privacy evaluations, language distributions, classifier disagreements, and false-positive/false-negative analysis to improve safety systems.
human-in-the-loop-gate (governance)
Clio informs authorized human Trust and Safety review rather than directly enforcing from model output.
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.
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.
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.
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.
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.
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.
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.
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.
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
Outcomes
- Clio surfaced dominant real-world Claude use cases such as coding, education, and business strategy.
- The system identified coordinated spam and unauthorized-access resale patterns that individual-conversation review could miss.
- Clio helped Anthropic monitor emergent risks during computer-use rollout and the 2024 US General Election.
- Classifier disagreement analysis exposed both false negatives and false positives in existing Trust and Safety systems.
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.