Towards Data Science iconTowards Data ScienceSep 29, 2026 ~7 min source read

When All You Have Are Decoders, Every Decision Looks Like Generation

Decoder-based routing is common in agentic systems, but many bounded routing problems fit a classification-shaped decision layer better. The article argues for a typed, probabilistic decision primitive alongside generative models and recommends concrete evaluation steps.

Share this story

Send the public story page.

Useful takeaways from this story.

Routing a request inside an agentic stack is often a bounded decision over a finite candidate set, not a freeform text-generation task.

A decision layer returns explicit candidate scores, supports thresholds or abstention, and hands deterministic results to software, improving measurability and often efficiency.

Decoder routers are useful when policy or candidate sets are open-ended, but stable route sets should be measured as classification problems with encoder-plus-head or structured-decision baselines.

Why this matters: decoder routers are convenient because a general-purpose language model can interpret changing policies expressed in natural language and cope with long-tail requests. But convenience does not equal optimal design. Passing a simple routing question through an autoregressive decoder hides the decision inside freeform text, creates parsing and validation work, and makes the behavior harder to measure and optimize as a decision problem.

The article lays out the agentic stack roles to clarify where a decision layer fits. Planners decompose goals and may need broad generative capability. Orchestrators handle state, ordering, retries, and handoffs in deterministic code. Routers should answer bounded questions like "Is this retrieval, billing, security, or human review?" That question is a candidate-set decision and does not require prose generation.

A decision layer is not a rediscovery of classification. Its novelty is a system primitive built around decisions rather than strings: explicit candidates, typed and uncertainty-aware outputs, thresholds or abstention, and deterministic branches. Jev is presented as a public example pointing in this direction, though its proprietary architecture and training objectives are not public and claims still need empirical validation.

The practical recommendation is measurement and comparison. Do not assume efficiency or accuracy gains. Instead run side-by-side evaluations that keep routes, data, policies, and metrics identical while comparing:

  • Decoder routing (autoregressive generation parsed into routes),
  • An encoder-plus-classification head baseline, and
  • A structured-decision implementation (the decision layer with typed scores and abstention).

Measure accuracy, latency, token or compute cost, failure modes (malformed outputs, schema violations), and how uncertainty is surfaced and acted upon. Where candidate sets are rapidly changing or policies require open-ended reasoning, decoder routing remains a useful tool. Where the route set is stable and finite, a decision layer can reduce token spend, simplify validation, and turn hidden prompt behavior into a measurable software contract.

Conclude with a pragmatic stance: planners and decoders still have a place for open-ended planning and explanation. But teams building agentic systems should treat routing decisions explicitly and evaluate whether a dedicated decision primitive yields clearer, cheaper, and more measurable behavior than asking a decoder to generate the same answer.

More context around this story.

Stop Paying a Model to Make Decisions You Already Made
Dzone iconDzoneSep 28, 2026

Stop Paying a Model to Make Decisions You Already Made

If your team distributes AI development skills (as a Claude Code or Cursor plugin or a shared rules file), you own a catalog. That catalog covers things like: How to structure a service What must pass before a commit Which internal library to use instead of rolling your own Skills load cheaply, thanks to progressive di

Uxdesign iconUxdesignSep 8, 2026

Most AI problems are really human problems

The machine room is full; the chair that owns the decision is empty. AI assisted. The cause sits upstream: unread intent, missing oversight, thin context, loose language, unset expectations, no evals, fuzzy outcomes, and the wrong tool for the job. Here’s the AI checklist. Anthropic recently told its growth team to hir

Loading more related stories...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app