Todd Schiller

Human โœ˜ Artificial Intelligence

Note What size model does real-time on-device protection need?

System One decision models fit on-device behavior detection, and Chrome is building one into the browser. For real-time protection, small models trained for the task still win on latency and memory.

Four System One decision models compared by size: TypeSafe Jev (hosted, about 3B parameters, roughly 3 GB), Kev (open, 800M, roughly 800 MB), Chrome Decisions API (built-in, about 300M, roughly 300 MB), and a specialized SLM (trained for the task, 10 to 150M, roughly 10 to 150 MB). Each model lists parameters, memory, compute, and latency, and model size is drawn as the bubble area.
Decision models for on-device behavior detection, by size. A model trained for the task is an order of magnitude smaller and faster than the generic options.

A 3-billion-parameter model and a 30-megabyte one can make the same security decision. For real-time protection, only one of them actually works.

Behavior detection is a decision problem, not a chat problem. On every action a user takes, you want one answer: is this risky, and what kind of action is it? That's classification, and it lives or dies on context: what screen you're on, what just changed, where you are in the workflow.

The new class of "System One" decision models is built for exactly these decisions. You give them the state and a closed question, and they hand back a calibrated answer in a single pass. TypeSafe's Jev and the open Kev family are early examples.

I'm excited to see Chrome now building a decision model right into the browser with their upcoming Decisions API.

But for real-time protection, I predict the generic models won't be enough. Running detection on every action has to be fast enough that the user never feels it, and small enough to run on any device.

A model trained for behavior analytics is an order of magnitude smaller and faster: tens of megabytes, a few milliseconds, no GPU required. That's the kind of specialized model we're building at PixieBrix, and for always-on, on-device protection.

Decision models are the right direction. The winning move today is a small model, trained for the problem domain.