Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

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…

Published Read the original
Compact encoders for closed-set decisions like tool selection

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 read

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 released, the smallest answering in 14 ms on CPU.

inscraper analysis

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.

More in Research