Skip to content
AI Learning Ground Start learning

Research ·

Decision Models in Hugging Face

Hugging Face explains "decision models": models that return probability distributions over predefined answers instead of generating text, with a typed interface of choice, score, and noul questions.

Decision Models in Hugging Face
Image: Hugging Face

Hugging Face published a post introducing decision models, models that evaluate a question against predefined answers and return a structured decision with probabilities rather than generating text token by token. The motivating example is customer support triage: routing a message to a team, judging urgency, and detecting a refund request. TypeSafe AI had introduced a model called Jev as a "System One model", but the community settled on the term "decision model" after a Twitter poll, since it describes the computational role rather than a theory of cognition.

The post contrasts decision models with prompting an LLM for JSON, which risks schema violations, and with constrained-decoding libraries like Outlines and XGrammar, which enforce structure but add computational overhead and still require autoregressive generation. It also compares decision models to traditional classification, where output classes are baked into a classification head and adding a new label means retraining, and to zero-shot classification, often implemented with NLI models that score label hypotheses. Decision models differ by accepting multiple named questions about the same state with different answer types and by organizing everything around an interface of probability distributions over decisions.

For builders, the appeal is a consistent interface where a request carries a state (a string, JSON object, or other modality for omni-modal models) plus questions using three primitives: choice (pick among options), score (rate on an ordered scale), and noul (probabilistic yes/no). This targets tasks like routing and classification where open-ended generation is unnecessary work, and potentially allows architectures and training optimized specifically for decisions.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#open-weights #tooling #research