The small models
Models - 3 min read -
Give narrow decisions to specialists and leave the larger conversation to a general model. A classifier can choose a route or score a proposition without composing prose; the application uses that result to decide what happens next.
Laya implements this with an encoder and decision heads. Jev exposes the same kind of typed judgment interface; sharing an interface does not establish identical internals or latency. Generative task extraction, embedding search and reranking are separate workloads. Classifier cost and timing follows those distinctions.
Four bounded jobs
- Extract tasks: turn a request into discrete actions. Check both the task count and whether each action is actually requested.
- Extract constraints: identify prohibitions with supporting words from the user. A plausible rule without evidence is a failure.
- Route a request: classify its kind and decide whether clarification is needed. Ambiguous requests deserve their own cases.
- Select tools: rank tools for an identified task. Test whether the necessary tool survives selection and whether irrelevant tools crowd it out.
These jobs have different errors. A valid JSON object can still contain the wrong tasks. A high average classification score can hide a costly missed prohibition.
Open the diagram at full size.
Worked experiment: constraint extraction
Prepare examples with explicit prohibitions, implied limits, quoted third-party instructions and messages with no restriction. Mark the expected rules and their supporting text. Keep evaluation examples out of training and out of prompt tuning.
Run the baseline and candidate on the same examples. Inspect missed rules and invented rules separately. Check output format, evidence spans and the downstream consequence of each error. Reserve a fresh set for checking changes made after reading the first results.
Only then test the composed workflow: does using the specialist improve the final task outcome, and what latency or failure paths did it add? A specialist can score well in isolation while harming the larger system.
Why selection can help
When the application uses a selection to send only relevant tool definitions, the model has fewer distractions and fewer actions available in that step. Checking returned calls against that offered set adds enforcement beyond a prompt asking the model to behave. This contributes to security alongside execution permissions. Inside auto describes the current baseline selector, conditional roles and fallback paths.
What this establishes
This is an evaluation design, not a published benchmark. A reproducible result needs the dataset split, exact model and prompt configuration, scoring rules and failure cases. Without that record, a percentage is too easy to misread.
Barracks supplies candidate-workflow machinery; Ingot supplies inference. Anvil demonstrates why local tool loops and configured server playbooks should be distinguished. The Laboratory connects these components.
