WhoBuilt

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

Dec 2, 2024· 15 min· 1.2K views·Watch on YouTube

Speaker

Vibhor Kumar, senior AI engineer at Tinder, explains how the dating app uses AI to detect trust and safety violations at scale at AI Engineer World’s Fair.

Trust and safety challenges at Tinder

Kumar frames trust and safety as preventing, detecting, reducing, and mitigating harm, with this talk focused on detection. Tinder faces violations ranging from prevalent profile links to less common but more harmful hate speech, harassment, and pig-butchering scams.

Generative AI brings risks and opportunities

Kumar says generative AI can scale misinformation, spam, impersonation, deepfakes, and scams, while making similarity-based detection less reliable. He also sees an opportunity in fine-tuning open-source models: it can shorten development from months to weeks and help detection models hold up as bad actors adapt.

Build high-quality data and fine-tune models

Creating a reliable training set is often the hardest step, even when fine-tuning may need only hundreds to thousands of examples. Tinder can use GPT-4 to mine likely violations from internal analytics data, then have people verify examples and correct labels. Kumar says fine-tuned models offer more control and avoid the cost, latency, and throughput limits of relying on API calls for Tinder’s real-time volume.

Serve many adapters at low cost

With LoRA, teams can train small adapters while keeping the base model’s weights fixed; Kumar says QLoRA can enable this on a single GPU. Tinder uses LoRAX to serve many adapters on a small number of GPUs, with little marginal cost per adapter. Kumar reports serving 7-billion-parameter models at tens of queries per second and roughly 100 milliseconds of latency on A10 GPUs.

Improve detection and extend to more modalities

Kumar says classification and extraction need only a few output tokens, keeping inference fast, and that LLMs improve precision, recall, and resilience to evasive text such as typos and mixed letters and numbers. Tinder is exploring vision-language models for image detection and aims to automate adapter training and retraining with operations and policy experts involved in dataset creation.

Takeaways

  • Treat high-quality, human-verified examples as a core part of a fine-tuning project.
  • Use fine-tuned models when API cost, latency, throughput, or model changes make production detection difficult to maintain.
  • LoRA adapters can make it practical to cover many distinct violation categories on shared GPU capacity.
  • For high-volume detection, use heuristics to limit model calls and consider a smaller-model-first cascade.
  • Plan for adversarial change: monitor model performance and retrain as harmful behavior shifts.

Mentioned in this talk

Search inside this talk

What was claimed 5

  • built
    “the Predibase team, who developed and maintain LoRAX”
    YouTube
    Verified2 sources· Talk, Web· archived
  • works at
    senior AI engineer
    “I'm a senior AI engineer at Tinder”
    YouTube
    Verified3 sources· Talk, Web· archived
  • feature
    LoRAX: Serves thousands of fine-tuned models on a single GPU
    “serve thousands of fine-tuned models on a single GPU”
    YouTube
    Unverified1 source· Talk
  • uses
    “In production, we use LoRAX”
    YouTube
    Unverified1 source· Talk
  • metric
    Tinder: 7-billion-parameter models at tens of QPS, with roughly 100 milliseconds of latency on A10 GPUs
    “We can support 7-billion-parameter models at tens of QPS, with roughly 100 milliseconds of latency on A10 GPUs.”
    YouTube
    Unverified1 source· Talk

Related talks