Simat Labs
Book a demo

This research post is available in English only.

Simat Labs engineering team10 min read

Model Routing for Edge Computer Vision: Why Cheap Gates Beat Clever Routers

Diagram of model routing: a camera frame passes a cheap gate that branches three ways, to skip the frame, to a small model for most of the work, or to a large model only when unsure
Photo: Simat Labs · All rights reserved

We reviewed the 2025–2026 evidence on model routing. Learned routers save about 30% at equal quality. On fixed cameras, skipping work saves far more.

Why we ran this

Both of our products decide, many times a second, which model looks at what. DCI recognises returning customers at the till on a small edge computer and asks the cloud only when it is unsure. IFA runs vision modules on an edge box beside existing cameras and can send heavy jobs to a cloud GPU. Model routing is the name for these decisions.

Routing is a busy research field, and the headline numbers are large. Before building anything more elaborate, we wanted to know what the evidence supports and what it does not. This post is a review of published work from 2017 to 2026. None of the figures below is our own measurement. Each comes from the source named beside it.

What routing means

A recent survey draws the main line. A router looks at each input and picks one model before anything runs. A cascade runs a small, cheap model first and calls a larger one only when the first answer looks unreliable. Learning to defer is the theory behind the same choice: send each input to the expert, model or human, most likely to get it right.

Video adds a choice the language-model literature mostly ignores: whether to run any model on this frame, this region or this camera at all. That covers frame differencing, detecting an object once and then tracking it, and spending compute only where something changed. Most of the theory of cascades was first worked out on image classifiers, so it carries over to detectors and face recognisers directly.

What router papers claim, and what benchmarks find

FrugalGPT reported matching GPT-4 with up to 98% lower cost, on a 2023 model pool. RouteLLM reported more than 85% savings on MT-Bench but 45% on MMLU and 35% on GSM8K, against a random router. AutoMix reported over 50%. The pattern is consistent: savings are largest when the cheap model already handles most traffic, and smallest on reasoning-heavy work.

Independent benchmarks shrink these numbers. LLMRouterBench (January 2026) tested routers over 13 flagship models. The best gained at most 4 points of accuracy, or cut cost by up to 31.7% while matching the best single model. Several routers failed to beat that single model, and one commercial auto-router scored 24.7 points below it.

Cost reduction reported0%25%50%75%100%Share of cost saved, as each source reports itFrugalGPT (authors, “up to”, 2023): 98%FrugalGPTauthors, “up to”, 202398%RouteLLM, MT-Bench (authors, vs random routing): 85%RouteLLM, MT-Benchauthors, vs random routing85%AutoMix (authors): 50%+AutoMixauthors50%+RouteLLM, MMLU (authors, vs random routing): 45%RouteLLM, MMLUauthors, vs random routing45%RouteLLM, GSM8K (authors, vs random routing): 35%RouteLLM, GSM8Kauthors, vs random routing35%Best router (LLMRouterBench, independent): 31.7%Best routerLLMRouterBench, independent31.7%
Cost reduction for language-model routers as each source reports it. Orange bars are the authors' own figures; the blue bar is an independent benchmark. The metrics are not identical, which is part of the point.

Learned routers have hit a plateau

A May 2026 study of 21 routing methods found the field has stalled. The findings:

  • The best router trails a perfect per-query router by 10.6 to 29.4 points.
  • The top 15 routers on one standard benchmark differ by 0.23 points.
  • Ten times more training data adds about 1.24 points.
  • Hard queries are a minority of inputs but hold 53% to 81% of the gap to a perfect router. Routers learn which model is better in general, not which is better for this input.
  • Simple methods hold their own. A nearest-neighbour router is in the top two on all five benchmarks, and a 22.7 M-parameter text encoder matches a 7 B one.

How routers fail

The failure modes repeat across sources, and each has a counterpart in vision:

  • Drift to the expensive model. Learned routers picked the premium model 78.8% to 97.6% of the time, although a cheaper acceptable model existed for 93% to 97% of queries.
  • Distribution shift. Routing on confidence is provably sub-optimal when test data differs from training data, when labels are noisy, or when the stronger model is good only on some inputs. A new camera angle or new lighting is exactly that kind of shift.
  • Unequal errors. Sending too little to the strong model gives wrong answers; sending too much only costs money. For a safety alert, the first is much worse.

On cameras, the win is skipping work

Video analytics research reports much larger savings, but most of it is older and all of it is the authors' own evaluation. NoScope (2017) ran 265× to 15,500× faster than real time within 1% to 5% accuracy, on yes-or-no questions over fixed cameras. Reducto (2020) filtered 51% to 97% of frames on the camera while meeting accuracy targets. Chameleon (2018) reached equal accuracy with 30% to 50% of the resources by adapting resolution, frame rate and model over time. Remix (2021) gave different detectors to different regions of a frame, for up to 5.5× speedup.

Newer work reports smaller gains. ECORE (2025) routed by scene complexity for 35% lower energy and 49% lower latency at about 2% accuracy loss. A small/big detector split between edge and cloud uploaded about half the images and still found 94% to 98% of objects.

The lesson is about which questions benefit. Huge speedups apply to sparse questions on static cameras, such as whether anything is in the frame. Dense, multi-class work such as counting fast objects crossing a line cannot drop frames blindly, because the frames it would drop are the ones that matter.

Detect cheaply, then verify

“A cheap detector proposes, a vision-language model checks” is now a vendor reference design. In NVIDIA's Video Search and Summarization blueprint, computer vision raises candidate alerts and a vision-language model reviews a clip of each one, confirming or rejecting it. Because the large model sees only candidates, it needs far less GPU than watching every frame. NVIDIA's documentation also notes that clips that are too short hurt the model's accuracy.

Field evidence is thin. The only quantified report we found is a single practitioner's post. Escalating about 3% of frames to a cloud model raised detection accuracy (mAP) from 78.2% to 86.9%. But worst-case latency (p99) rose from 52 ms to 1,290 ms, and the share of frames escalated drifted from 3% to 7% over six weeks. The cloud model's corrections hid that drift until an alert was added. A cascade that works can hide the problem it was meant to catch, so the escalation rate itself needs watching.

On edge hardware, routing becomes scheduling

On a Raspberry Pi 5 CPU, Ultralytics reports 128 ms per image for the nano YOLO26 detector in ONNX, 353 ms for the small model and 994 ms for the medium. The export format alone moves the nano model from 299 ms in PyTorch to 67 ms in NCNN. On a Jetson Orin Nano Super with TensorRT at half precision, the same model runs in 4.57 ms.

On accelerators such as Hailo, the main cost of switching models is the switch itself: one chip is shared between models by a scheduler. A big/little router on such hardware must keep both models loaded or batch heavily, or the switching cancels the gain. Picking the right export format and keeping models resident can matter as much as picking the right model.

Inference time per image, Raspberry Pi 5 CPU (YOLO26)02505007501000Milliseconds per image, as published by UltralyticsModel size (ONNX)Model size (ONNX), nano: 128 ms128 msnanoModel size (ONNX), small: 353 ms353 mssmallModel size (ONNX), medium: 994 ms994 msmediumExport format (nano)Export format (nano), PyTorch: 299 ms299 msPyTorchExport format (nano), ONNX: 128 ms128 msONNXExport format (nano), NCNN: 67 ms67 msNCNN
YOLO26 inference time per image on a Raspberry Pi 5 CPU, from Ultralytics' published guide. Left: three model sizes in ONNX. Right: the smallest model in three export formats.

For faces, decide per visit, not per frame

Face recognition at a till has a routing problem of its own: is this a returning customer, or someone new? Deciding on one frame with one fixed similarity cut is the weakest option in the literature. One 2025 preprint scored that rule at 71.35% on the open-set question. Fusing the gallery scored 87.12%, and a tiny network reading the ranks of the top match's other enrolled images scored 97.74%. Those are forensic datasets, not retail, but the signal is one any system that stores several images per person already has.

Quality-aware fusion, which combines several good frames and weights each by how usable the face is, is an established line of work. It turns a blurred or half-turned frame from a false “new customer” into one vote among several.

A bigger recogniser for hard cases looks attractive on paper. Moving from MobileFaceNet to a ResNet-50 recogniser gains 2.2 points on IJB-C (95.02 to 97.25) and 19.4 points on the harder MR-ALL set (71.87 to 91.25). But separately trained models produce incompatible embeddings, so a second model would need a second gallery, or training designed to keep new embeddings comparable with old ones. Quantizing a small recogniser to 8 bits is a poor trade: in one challenge it dropped MobileFaceNet on IJB-C from 94.70 to 90.57.

Is this person enrolled? Accuracy by decision rule0%25%50%75%100%Open-set accuracy (2025 preprint, forensic datasets)Fixed threshold (one cut on the top score): 71.4%Fixed thresholdone cut on the top score71.4%Gallery fusion (CAFace): 87.1%Gallery fusionCAFace87.1%Rank features (a 2×16 network): 97.7%Rank featuresa 2×16 network97.7%
Accuracy at deciding whether a face belongs to anyone enrolled, by decision rule. From a 2025 preprint on forensic datasets, not retail. Orange is a single fixed cut; blue rules use the rest of the gallery.

Privacy ranks the options

Under the GDPR, face templates used to identify people are special-category biometric data wherever they are processed. In its 2024 opinion on facial recognition at airports, the European Data Protection Board judged centralised template storage incompatible with data protection by design. That gives a clear order of preference for where a face decision is made:

  • 1. On the device, with nothing sent anywhere.
  • 2. A cloud check that receives only the numerical embedding, never the image.
  • 3. A second, stronger model, still run on the device.
  • 4. Uploading face crops for the cloud to re-score. We rule this out.

What this means for how we build

The research changes the question. It is not which router to adopt, but what to stop computing, and which signal says when to look harder. The best signals are ones a vision system already has or can get almost for free: a tracker, face or image quality, the margin between the best two matches, motion, and the escalation rate itself. Our plan follows from that:

  • DCI will decide once per visit, on several good frames, rather than on every frame. A match will be accepted only when it is clearly ahead of the next-best identity, and a new customer enrolled only after a confident, repeated miss. Because DCI is one product with no customization, this is one calibrated policy for every client.
  • Every check DCI does not send to the cloud is one fewer biometric transfer, so these changes improve privacy as well as speed. Face images stay on the device.
  • IFA modules will gate work inside the module: skip frames where nothing moved, and track objects between detections. High-speed counting will keep every frame where objects cross the line.
  • IFA will report routing as data, starting with how often each box escalates and how often verification rejects an alert, so drift shows up on the dashboard instead of hiding behind a working cascade.
  • For safety and compliance alerts, verification will run on the box or on the customer's own GPU wherever pictures must stay on site, and the box will remain the one that emits the event.

What this does not show

This is a review, and these are its limits:

  • We have not measured any of this on our own hardware or footage yet. Every figure here is someone else's.
  • Most vision results are from 2017 to 2021 hardware and models, and all are the authors' own evaluations.
  • The evidence for vision-language verification rests on vendor documentation, preprints and one practitioner's post. We found no peer-reviewed measurement of how much it reduces false alarms for safety detectors.
  • We found no published latency for the standard face detection and recognition models on a Raspberry Pi 5.
  • The open-set face result is a single preprint on forensic datasets.

What comes next

We will measure the numbers the literature could not give us. First, face detectors of three sizes at three resolutions on our own edge hardware. Second, a replay of consented till sessions to count how many decisions are genuinely ambiguous and how many cloud calls per visit a per-visit decision saves. Third, an on-box verifier for safety and compliance alerts, measured on short clips for false alarms removed, violations missed and latency added. We will publish the results, including the ones that disappoint.

Related on simatlabs.com

Have a problem a camera could solve?

Describe it, add a photo, and get a free first read on whether AI vision can handle it.

Run the feasibility check

More posts

Last updated: