Scaling Trust and Safety Using LLMs at Tinder

tinder · Tech · year n/a · source Agentic: no · promotional bias: low · 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: trust and safety text classification

Tinder needed to detect many trust-and-safety violations in high-volume realtime profile interactions while adversarial behavior changed quickly enough to degrade traditional rules and models.

Constraints:

Architecture

Tinder used large API LLMs such as GPT-4 to mine and label likely violation examples from internal analytics data, manually verified ambiguous mined labels, fine-tuned open-source LLMs with LoRA/QLoRA adapters, and served thousands of small adapters on a base model through LoRAX so each trust-and-safety violation type could be deployed with low marginal serving cost.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["Internal analytics data"] --> B["Heuristic candidate gate"]
  A --> C["GPT-4 mining workflow"]
  B --> C
  C --> D["Manual verification"]
  D --> E["Fine-tuning pipelines"]
  E --> F["LoRA adapter store"]
  F --> G["LoRAX adapter serving"]
  B --> G
  G --> H["Trust and safety enforcement"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Internal analytics data Platform-specific examples used to mine true-distribution trust-and-safety cases. Heuristic candidate gate, GPT-4 mining workflow
Heuristic candidate gate Restricts expensive LLM calls to likely candidates and gates high-frequency production domains. Internal analytics data, GPT-4 mining workflow, LoRAX adapter serving
GPT-4 mining workflow Uses prompted frontier models as auto-moderation to mine candidate training examples. Internal analytics data, Heuristic candidate gate, Manual verification
Manual verification Fixes mislabeled examples and makes judgment calls on ambiguous violations. GPT-4 mining workflow, Fine-tuning pipelines
Fine-tuning pipelines Builds LoRA/QLoRA adapters on open-source base models using Hugging Face and related tooling. Manual verification, LoRA adapter store
LoRA adapter store Stores megabyte-scale adapters for many distinct violation types. Fine-tuning pipelines, LoRAX adapter serving
LoRAX adapter serving Serves many adapters jointly on a shared base model and GPU. LoRA adapter store, Heuristic candidate gate, Trust and safety enforcement
Trust and safety enforcement Consumes classifier predictions and confidence values for harm detection and mitigation workflows. LoRAX adapter serving

Data flow

Internal analytics data is gated by heuristics toward likely candidates, GPT-4-style models mine and label examples, human reviewers verify or fix labels, fine-tuning pipelines create LoRA adapters on open-source base models, and LoRAX serves many adapters on shared GPU-backed base models for realtime trust-and-safety violation detection.

3 supporting quotes
“we can use GPT-4 um with some clever prompting to ensure we don't run into the alignment um built in to actually make predictions on internal analytics data”transcript, stated
“when we get the mined examples from uh using GPT-4 effectively as an auto moderation, uh we can then do a manual verification”transcript, stated
“LoRAX, which is an open-source framework that allows users to efficiently serve thousands of fine-tuned models on a single GPU.”transcript, stated

Why this architecture

Tinder used frontier models for data mining because they could bootstrap hard examples, but used fine-tuned open-source models and LoRA adapter serving in production because realtime scale, maintainability, confidence scoring, and fast adaptation mattered more than raw API-model convenience.

3 supporting quotes
“One fundamental reason is scale. Tinder has a huge real-time volume of profile interactions”transcript, stated
“By fine-tuning our own models, we have full control over the model weights and can fine-tune when production performance inevitably degrades”transcript, stated
“we have access to the output probability distribution, which means uh we can use the confidence”transcript, stated

Models used: GPT-4 · Llama 3 · Mistral · LoRA adapters · QLoRA adapters · 7B parameter models

Scale

Alternatives considered (roads not taken)

Directly call GPT-4/API LLMs in production detection

Rejected because: Realtime Tinder volume did not scale in cost, latency, or throughput with external API calls.

“why don't we just directly use the API LLMs, like GPT-4, to do this detection in production?”transcript, stated
“hitting OpenAI APIs that often doesn't scale in terms of cost, latency, and throughput.”transcript, stated

Use purely synthetic few-shot training examples

Rejected because: Synthetic examples risked not matching Tinder's true platform distribution.

“We could generate purely synthetic training examples with few-shot prompting, um but this introduces some risk that the data won't resemble the true data distribution”transcript, stated

Full fine-tunes of smaller base models

Rejected because: PEFT/LoRA on larger base models was likely better for classification and cheaper to serve.

“PEFTs of larger base models are more likely to be better than full fine-tunes of smaller base models, especially for classification tasks.”transcript, stated

Horizontally scale separate models for every violation type

Rejected because: LoRAX made marginal adapter serving virtually free on the same base model and small GPU set.

“the marginal cost of serving a new adapter on the same base model is virtually zero.”transcript, stated
“serve all of those adapters on a on one or even a small set of GPUs and not need to worry about horizontal scaling.”transcript, stated

Patterns

fine-tuning-adaptation (model-adaptation)

Tinder fine-tuned open-source LLMs with LoRA and QLoRA adapters for many trust-and-safety classification tasks.

“By fine-tuning these models, we can actually achieve state-of-the-art performance”transcript, stated
“QLoRA, which unlocks fine-tuning on a single GPU, um even the largest models.”transcript, stated

human-in-the-loop-gate (data-quality)

GPT-4 mined likely examples, but humans verified labels, fixed mislabels, and judged ambiguous trust-and-safety cases before training.

“we can then do a manual verification, fixing any mislabeled data, and making judgment calls where the label is more ambiguous.”transcript, stated

safety-policy-enforcement (safety)

The model family detects and enforces against many safety violations such as hate speech, promotion, catfishing, and scams.

“many, many different types of trust and safety violations possible. Hate speech, promotion, catfishing, pig butchering scams, and so on.”transcript, stated

model-routing (serving)

Tinder used heuristics to restrict expensive LLM mining calls and reduce throughput for high-frequency production domains.

“It's possible to use heuristics to restrict the LLM calls to more likely candidates as well.”transcript, stated
“for those other use cases, the high-frequency domains, we can um further reduce throughput by gating requests with heuristics.”transcript, stated

Tradeoffs

Use GPT-4 for data mining but not production moderation.

Chose GPT-4-assisted mining plus fine-tuned local production models over direct GPT-4/API moderation in production.

Rationale: The API path helped bootstrap data, but Tinder's realtime production volume required lower cost, latency, and throughput control.

“we can use GPT-4 um with some clever prompting”transcript, stated
“hitting OpenAI APIs that often doesn't scale in terms of cost, latency, and throughput.”transcript, stated

Adopt LoRA/QLoRA adapter fine-tuning.

Chose parameter-efficient adapters on larger base models over full fine-tunes of smaller models.

Rationale: Adapters are small, quick to train, work on limited GPUs, and serve well with LoRAX.

“low-rank adaptation, or LoRA, freezes the weights of the base model and can create a fine-tuned model while only really needing to learn a megabytes of additional weights.”transcript, stated

Use LoRAX for many violation models.

Chose joint adapter serving on shared GPU-backed base models over dedicated horizontally scaled deployments per violation type.

Rationale: The marginal cost of another adapter on the same base model is virtually zero.

“the marginal cost of serving a new adapter on the same base model is virtually zero.”transcript, stated

Gotchas (what bit them)

Generic synthetic data could miss Tinder's true harm distribution.

Root cause: Few-shot synthetic examples are platform-agnostic and may not resemble real internal data.

Resolution: Mine internal analytics data with GPT-4 and then manually verify labels.

“purely synthetic training examples with few-shot prompting, um but this introduces some risk that the data won't resemble the true data distribution”transcript, stated
“What we found works better is to actually do a hybrid process where we can use GPT-4”transcript, stated

Production performance degrades as bad actors adapt.

Root cause: Trust-and-safety is adversarial; blocked spam waves incentivize attackers to change behavior.

Resolution: Use LLM generalization and maintain fine-tuning control so adapters can be updated as production behavior shifts.

“model performance degrades quickly in trust and safety due to the adversarial nature of automated fraud.”transcript, stated
“bad actors are incentivized to and ultimately do change their behavior to get around it.”transcript, stated

Adapter sprawl could become a serving problem.

Root cause: There are many violation types, each potentially needing its own fine-tuned model behavior.

Resolution: Serve many megabyte-scale LoRA adapters jointly with LoRAX on a shared base model.

“a fine-tuned LoRA adapter, which is just a single fine-tuned model, is only a few megabytes in size.”transcript, stated
“Many adapters can be efficiently served jointly by simply shuffling and batching adapters and requests”transcript, stated

Evaluation

The talk describes production suitability in terms of realtime throughput, latency, confidence outputs, performance degradation, and manual verification of mined training labels.

Metrics: tens of QPS · 100-ish ms latency · confidence/probability distribution · model degradation curve · manual verification of ambiguous labels

3 supporting quotes
“we have access to the output probability distribution, which means uh we can use the confidence”transcript, stated
“We can support on 7 billion parameter models uh tens of QPS on 100-ish milliseconds of latency on A10 GPUs.”transcript, stated
“manual verification, fixing any mislabeled data, and making judgment calls where the label is more ambiguous.”transcript, stated

Outcomes

The system targeted huge realtime profile-interaction volume and many trust-and-safety violation types.

3 supporting quotes
“in some cases better than few-shot GPT-4 performance on downstream textual detection tasks.”transcript, stated
“efficiently serve thousands of fine-tuned models on a single GPU.”transcript, stated
“real-time inference. And at Tinder, that's critical.”transcript, stated