Pradeep Shah, senior software engineer at Netflix, discusses the coordination of rule engines, ML models, and humans in content understanding infrastructure. The system extends to AI agents, emphasizing workflow and task, addressing challenges with metadata quality, decision-making variability, and the need for a balanced approach involving rules, ML, and human judgment.
Welcome everyone, I'm Pradeep Shah, a senior software engineer on the Content Understanding Infrastructure team at Netflix. At Netflix, before any title reaches a viewer, it passes through a pipeline of decisions related to content understanding about what it is, what it contains, and how it should be surfaced. Some of these decisions are made by rule engines, some by ML models, and some require humans to make the call.
Today, I want to talk about how we build the infrastructure to coordinate all these three reliably. We will also show you how the same infrastructure extends naturally to AI agents using our prototype example. But before I explain the system details, let's cover the key concepts. One, workflow. It's the process that defines what work needs to happen. And two, task. Tracks the unit of work from start to finish.
Now that we understand the key concepts, let me set the context on why the problem is hard. Netflix has an enormous catalog spanning markets and languages. Every title on the platform carries a large number of metadata attributes, content signals that describe what the title is, what element it contains, etc. This metadata is the engine behind content discoverability, how the right title surfaces to the right viewer. Poor metadata quality degrades discovery, reduces engagement, and erodes consumer trust. The volume and the variety of signals means this cannot be done manually. AI, automation, rule-based engines, etc. are all essential. But here is also the core design challenge.
All decisions are not equal. Rules are fast and cheap, but brittle. They break on edge cases. ML models are scalable, but imperfect. Confidence varies, and we need a mechanism to catch low-confidence predictions before they cause quality problems. Humans are accurate, but this approach does not scale. We want the human's judgment precisely where it adds most value, not as a general fallback. The question is not which one to use. The answer is all three in the right combination for each piece of work. Hence, we need a system which would route each piece of work to the right worker, human, model, AI agent, etc., captures every human decision as structured feedback for model Sharks state across many concurrent workflows. Different teams plug in their own logic without rebuilding the plumbing.
Comments