Compact encoders for closed-set decisions like tool selection
The study asks how small an encoder for closed-set decisions such as tool selection can be, and whether to score options jointly or separately. Per-option scoring was more accurate but needed 5-13x more passes; six joint encoders from 17M to 1B parameters are…
Why it matters
Replacing an LLM call with a small encoder for routing or tool choice can cut latency and cost dramatically.
What happened
1 min readThe study asks how small an encoder for closed-set decisions such as tool selection can be, and whether to score options jointly or separately. Per-option scoring was more accurate but needed 5-13x more passes; six joint encoders from 17M to 1B parameters are released, the smallest answering in 14 ms on CPU.
Our analysis
That reordering options changes 12-23% of joint-model answers is an important warning. The main comparison is against DeBERTa-v3, not LLMs, so the gain over prompting an LLM isn't measured directly.