AI Frontiers in Trust and Safety: Combatting Multifaceted Harm on Tinder at Scale

Vibhor Kumar2 Dec 2024

Problem

A dating app sees many kinds of violations in user text. Some are frequent and low-harm, such as social media handles in bios. Others are rare and high-harm, such as hate speech, harassment and pig butchering scams. Abusers adapt: each new blocking rule triggers new evasion, so classifiers decay fast. Training a model from scratch for every violation type took months. The method covers text signals only (bios, messages) and many violation types at a very large request volume; images are future work.

Illustrative example: detecting underage users from the text of a written bio. The talk presents it as a synthetic case, not a shipped detector.

Solution in brief

Fine-tune open-source LLMs with low-rank adaptation (LoRA) as text-in, text-out classifiers. Build the training set by letting GPT-4 mine candidates from internal data, then verify them by hand. Serve every adapter from a shared base model with LoRAX, so a new violation type adds only megabytes of weights to serve.

Questions this case answers
  • How to build a training set for a rare, adversarial text violation without labeling live traffic by hand
  • How to serve many specialized text classifiers at high request volume with low latency and a small GPU budget
  • How to detect many kinds of policy violations in user text at the scale of a dating app?
  • How to build a high-quality training set for a rare violation without labeling everything by hand?

Tools and methods

  • LoRA / QLoRA — adapter fine-tuning on one or a few GPUs
  • GPT-4 — mines training examples from internal data
  • LoRAX — serves many adapters on one base model
  • Heuristic gating — limits LLM calls to likely candidates
Continue reading — it's free

Google or a one-time email code. No password.