Case study

Content-Safety System · Praxis AI

A content-moderation system built on a fine-tuned classifier and a separately versioned policy graph, so decisions are measured and have a traceable policy basis.

Role
LLM Application Engineer
Status
Current role · Apr 2026 – Present
Focus
LLM Evaluation, Content Moderation, Policy Traceability

Problem

A moderation model has to catch violations without flooding reviewers with false alarms, and allow, review and block decisions need a traceable policy basis.

My contribution

I own the content-safety system from requirements to launch. That covers the data and evaluation framework, the model context, fine-tuning and deployment of the classifier, decision thresholds, and the policy graph that gives decisions a traceable policy basis.

Technical & design decisions

  1. Improve accuracy on four fronts at once

    Accuracy improved through four coordinated changes: fine-tuning on human-verified golden data, a redesigned model context, a rebuilt data and evaluation framework, and tuned decision thresholds. The improvement reflects all four together, so none of them is credited on its own.

  2. Keep policy separate from model scores

    A Neo4j policy graph links clauses, risk categories, scope and allow/review/block rules. It is kept separate from model scores and versioned by effective date, so decisions have a traceable policy basis.

  3. Evaluate reproducibly, with a holdout

    A reproducible evaluation pipeline spans multiple domains and scoring categories, with development/holdout separation, error analysis and safety checks.

  4. Ship only verified models

    The classifier is fine-tuned with PEFT/LoRA on GCP Vertex AI and released as versioned artifacts, with integrity checks that block unverified models.

Evidence

Results are measured on an internal benchmark, with a holdout drawn from it. The figures are not published here.

Deliverables & outcomes

  • Improved content-moderation accuracy on the internal benchmark while reducing both missed violations and false positives.
  • Decisions have a traceable policy basis, kept separate from model scores and versioned by effective date.
  • Integrity checks on versioned model artifacts block unverified models.

Tradeoffs

  • Thresholds trade missed violations against false positives. Tracking both alongside accuracy keeps that choice visible instead of hiding it in one number.
  • Keeping the policy graph separate from model scores means maintaining two versioned artifacts instead of one, in exchange for decisions whose policy basis is explicit and dated.
  • A holdout drawn from the same benchmark measures generalization within that benchmark's domains and categories. New policy domains need their own evaluation.

Technologies & Tools

  • Python
  • PEFT / LoRA
  • GCP Vertex AI
  • Neo4j / Cypher
  • Evaluation pipeline
  • Versioned model artifacts