Business

DoorDash Cuts Chat Abuse in Half With Hybrid AI Pipeline

DoorDash developed a hybrid AI safety system that cut verbal abuse incidents by 50 percent, proving that combining small internal models with LLMs can scale moderation affordably.

InfoQ AI1 day agoBusiness
Image: InfoQ AI

DoorDash software engineer Bruna Pereira revealed how the delivery giant designed and scaled SafeChat, a hybrid content moderation system that reduced verbal abuse incidents on the platform by approximately 50 percent. Handling a daily volume of over four million chat messages, 400,000 voice calls, and 200,000 images, the company could not rely on large language models alone. Standard LLM calls introduced a prohibitive latency of two to ten seconds and extreme operational costs if queried for every transaction.

To solve this, DoorDash analyzed its data to find that only a small, single-digit percentage of messages were actually unsafe. The team built a fast, cheap internal classifier to filter out obviously safe messages. This first-layer model costs nothing per call and responds in under 100 milliseconds at the 90th percentile. Only the remaining ten percent of ambiguous messages are routed to an LLM. Instead of asking the LLM for a simple binary safety judgment, the system prompts it to score content across multiple axes, such as threat level, profanity, and sexual content. This scoring allows DoorDash to take graduated actions, ranging from censoring minor swearing to canceling orders and banning offenders for high-severity threats.

Following the success of SafeChat, DoorDash transitioned the architecture into a content-agnostic moderation platform. Using a no-code user interface, other internal teams can now build custom moderation workflows without writing new code. The platform utilizes three building blocks: internally hosted models, external vendor APIs, and external prompts managed through an LLM gateway. This gateway handles fallback and retry strategies to maintain system health when external providers fail.

For AI practitioners, the DoorDash architecture highlights the value of putting a cheap, specialized model in front of expensive LLMs for high-volume pipelines. It also demonstrates that requesting numerical scores rather than boolean labels from LLMs yields more stable, flexible moderation thresholds. Finally, the platform includes a built-in backtesting framework, allowing developers to test new prompts against historical data and calculate precision metrics before deploying them to production.

This is our own summary of reporting by InfoQ AI

More in Business