# Distill a Specialist From a Model Array <!-- ref: @knowledge/protocols/distill-a-specialist-from-a-model-array type: protocol tags: [AI specialization, model training, on-device inference, feedback loop] triggers: [need for real-time inference, high compute limits, specific task automation, local data processing] trigger_prompt: When the user aims to create a lightweight AI model that can operate directly on devices, especially in environments with limited connectivity or specific task requirements. version: 2 updated_at: 2026-10-18T05:41:38.820Z --> Don't fine-tune the big general model. Use an ensemble of big models to label your data, then distill that data into a small model you can actually deploy. *Synthesized from Joseph Nelson (co-founder/CEO, Roboflow) and Ahmed Osman (Osmantic), State of the Union: Why Local, Why Now — Local AI Summit, AI Engineer.* Nelson's argument is that vision learned this lesson years ago because it always ran under hard compute limits — a model on a robot, a camera, or a submarine cannot phone a data center — and language is now swinging the same way, toward last-mile specialists for tax prep, legal work, and coding harnesses. ## The recipe 1. **Collect real traces first.** Osman's sequencing: log how your people and agents actually use the system, then break the traces down by use case. You cannot skip this and you cannot buy it — a cloud provider can only train against the normal distribution of everyone's feedback, never your specific workflows. 2. **Run an array of large models over the raw data to auto-label it.** Nelson uses a segmentation model (Segment Anything 3) alongside an LLM-as-judge for consensus. The array is doing the annotation work a human team would otherwise do. 3. **Distill into a small, fixed-class model.** Once your class list is fixed, you no longer need open-vocabulary machinery. Drop the heavy autoencoder and train a lightweight specialist — a DETR-family detector, in his example. 4. **Deploy on-device and run in real time.** The point of the whole exercise is a model small enough to live where the data is. 5. **Keep the feedback loop running.** Agents can automate collection of the next round of feedback, which becomes the next round of fine-tuning data. ## The failure mode to avoid **Do not fine-tune the general model itself.** Nelson is explicit: fine-tuning SAM 3 destroys the open-vocabulary capability that made it worth reaching for. The large model's job is to *generate the dataset*, not to become the deployed artifact. ## Proof it works Nelson cites the Monterey Bay Aquarium Research Institute, which used this pipeline over deep-sea submarine footage and identified a previously undescribed fish species. ## The generalizable shape Large-model array → auto-labeled domain dataset → small specialist → on-device inference. The expensive models are a compiler, not a runtime. --- *Related: `@content/youtube/latent-space/googles-open-ai-strategy-omar-sanseviero-google-deepmind` · `@content/youtube/aie/recursive-model-improvement-lee-robinson-cursor-spacexai` · `@knowledge/frameworks/two-loop-model-training-flywheel`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*