LIVE · Thursday 3 December

Decision Models vs Classification Models for Support Routing: Which to Use, What to Test, What It Costs

Use a trained classifier when your ticket categories are stable, and a decision model when they change or each ticket needs several judgments. Measure calibration either way before a score triggers an action.

By Nick8 min read

For routing support tickets, a trained classifier is the sensible choice when your categories are stable and you have labeled examples for each one. A decision model fits better when categories change often or when each ticket needs several judgments, because it takes the questions and allowed answers in every request. A zero-shot classifier sits between the two, since it also accepts labels at runtime. With any of the three, a new label that is accepted is not a label that is recognized, and a returned probability is not calibrated confidence until you test it on held-out tickets.

A decision model scores the allowed answers that each request supplies

In the sense that Hugging Face described on November 10, 2026, a decision model reads a state and returns a probability for each predefined answer to each question. The blog post summarizes the interface as "State + Questions + Allowed Answers → Decisions + Probabilities." The model does not generate text.

This meaning is different from older uses of the phrase. IBM's Decision Optimization "provides CPLEX optimization engines" for prescriptive problems, and IBM describes prescriptive analytics as "mathematical models and optimization algorithms to recommend business decisions." Decision intelligence, in Wikipedia's definition, is "an engineering discipline that augments data science with theory from social science." A buyer who is comparing decision models versus classification models for routing needs the first meaning, not these.

The four options differ in where the label set lives and what changing it costs

The comparison below uses a router that sends tickets to billing, technical or sales, and that later needs a legal queue.

Option Where the labels live Adding "legal" Several judgments per ticket
Keyword rules In your code Write and test new rules One rule set per judgment
Trained classifier In the classification head Label legal tickets and retrain One model or head per judgment
Zero-shot classifier In each request Add a label string One call per judgment
Decision model In each request Add an option Several typed questions in one request

The capabilities overlap. All four can be built to return a probability over choices, and Hugging Face's own comparison credits zero-shot classifiers with runtime labels. The decision model's distinct feature is the typed question. The post defines a choice question that picks one option, a score question on an ordered scale such as low, medium and high, and a noul question that returns one yes-or-no probability.

Each situation points to a different option

The right option depends mostly on how often the categories change and whether you have labeled data. The situations below are ordered from the cheapest option to the most flexible one.

  • If a form field or a few keywords already decide the route, keyword rules are enough. They need no model and can be audited line by line.
  • If your categories are stable and you have labeled tickets for each one, a trained classifier is the default. A TF-IDF vectorizer with logistic regression in scikit-learn is a simple baseline, and scikit-learn's guide says that logistic regression is "more likely to return well calibrated predictions by itself."
  • If you need runtime labels for one question and have no labeled data yet, a zero-shot classifier such as facebook/bart-large-mnli works without training. Its model card says that it turns each candidate label into an NLI hypothesis, so each ticket is scored once per label.
  • If your categories change often, or each ticket needs a department, an urgency level and a refund flag together, a decision model fits. Hugging Face's examples use autotrust/GEV-26B-Decide through pipeline("decision", ...).
  • If a decision model misses your target on held-out tickets and you have labeled examples, fine-tuning is justified. The Hugging Face post shows a toy example that trains one logit per option with a cross-entropy loss.

Parsec's TOD is one versioned decision model for the fourth situation. Parsec calls it a "universal decision model" that ranks options from an allowed list without generating text. Its predict(state, options, question, images) call returns one probability per option. The release is LoRA adapters on Google's Gemma 4 12B instruction model, so the Gemma 4 licence applies to the base weights, and the repo warns against bitsandbytes int8 and sdpa attention when serving it. Parsec's TOD page labels its evaluation "TOD decision v1 release evaluation, 29 September 2026," and reports that TOD scored below its untrained base model on the public JevBench set. Parsec also says that it tunes decision models on a customer's own decisions, but it publishes no price for that work and names no deployment options. These are Parsec's own statements, and no independent re-run has been published.

The same ticket shows the request and output for each option

Hugging Face's post opens with a support message that reads, "I was charged twice for my subscription. I need a refund today." Its code examples use a shorter state, "I was charged twice for my order and want a refund." A decision-model request carries a state and a questions object. Each question has a type and instructions, and a choice question also takes criteria that map each option to a short description.

from transformers import pipeline

ticket = "I was charged twice for my order and want a refund."
decide = pipeline("decision", model="autotrust/GEV-26B-Decide")
result = decide({
    "state": ticket,
    "questions": {
        "department": {"type": "choice",
                       "instructions": "Which team should handle this?",
                       "criteria": {"billing": "Payments and refunds",
                                    "technical": "Bugs and technical issues",
                                    "sales": "Pricing and subscriptions",
                                    "legal": "Contracts, disputes and legal requests"}},
        "refund": {"type": "noul",
                   "instructions": "Is the customer requesting a refund?"},
    },
})

The field names and the first three options follow the post, and the legal option is added for this test. With only billing, technical and sales, the post reports billing at a probability of about 0.998 and a refund probability of about 0.995. It publishes no decision-model output with legal included.

The zero-shot baseline takes one line:

zs = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
zs("My payment was deducted twice.",
   candidate_labels=["billing", "technical support", "sales", "legal"])

The post runs this baseline on the message "My payment was deducted twice." It reports billing at about 0.847 with three labels, and at about 0.819 with legal added, when legal received about 0.033.

The trained classifier needs labeled data first:

from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.linear_model import LogisticRegression
from sklearn.calibration import CalibratedClassifierCV
from sklearn.metrics import classification_report

vec = TfidfVectorizer()
X_train = vec.fit_transform(train_texts)
clf = CalibratedClassifierCV(LogisticRegression(max_iter=1000), method="sigmoid", cv=5)
clf.fit(X_train, train_labels)
print(classification_report(test_labels, clf.predict(vec.transform(test_texts))))

This classifier has no output for legal until legal tickets are labeled and the model is retrained.

A new label that is accepted still has to be tested for recognition

The zero-shot result shows that the model accepted legal and still put a billing ticket in billing. It does not show that a real legal ticket, such as a contract dispute, would reach the legal queue. Whether any of these models recognizes a new support category accurately has not been measured on published data.

The test is simple to set up. Keep a labeled set of real legal tickets out of every training set, add legal to each system that accepts runtime labels, and report recall on that set. The trained classifier scores zero on legal until it is retrained, which gives you a floor to compare against.

A comparison is complete only when it reports calibration and deferral coverage

A buyer should ask for, or produce, five results on the same held-out tickets:

  1. Report per-class precision, recall and F1 with scikit-learn's classification_report.
  2. Report recall on the new legal category separately.
  3. Draw a reliability diagram for each system. In a well-calibrated model, about 80% of the predictions scored near 0.8 are correct, according to scikit-learn's guide. The same guide says that a calibrator must be fit on data that is separate from the training data.
  4. Report deferral coverage at a fixed error limit. Sort the tickets by confidence, and report the largest share that a system can route while its error stays at or below a set limit such as 2%.
  5. Report latency and total cost, with the hardware, precision, batch size and traffic named, and release the splits, the code and the raw outputs.

The decision model's own confidence field is not a calibration result. Hugging Face defines it as (p_max − 1/K) / (1 − 1/K) for K options, which rescales the top probability against guessing. It also moves when an option is added. A top probability of 0.90 gives 0.85 with three departments and about 0.867 with four. A threshold should therefore be re-checked whenever the option list changes.

A worked example puts list prices on 100,000 tickets a month

The serving cost depends on the hardware that each option needs. The example below assumes 100,000 tickets a month, one always-on Hugging Face Inference Endpoint for each self-hosted option, and a 730-hour month. Hugging Face bills endpoints by the minute while they are running.

  • A TF-IDF and logistic-regression classifier on the smallest AWS CPU endpoint, intel-spr x1 at $0.033 an hour, costs about $24 a month.
  • The zero-shot facebook/bart-large-mnli model, which has 0.4 billion parameters, on an nvidia-t4 x1 endpoint at $0.50 an hour costs about $365 a month.
  • A self-hosted decision model such as Parsec's TOD on an nvidia-a100 x1 endpoint with 80 GB at $2.50 an hour costs about $1,825 a month. TOD's repo reports its latency on a 40 GB A100, and whether the 80 GB endpoint runs it as configured has not been tested.
  • Hosted TOD at Parsec's listed $0.30 per 1,000 decisions costs about $30 a month for one question per ticket. If each of three questions counts as one decision, the cost is about $90.

Several costs are left out of these figures. Labeling legal tickets for the classifier is not priced, and neither is the engineering time for any option. Whether one instance of each option carries this traffic at your latency target has not been measured. The ranking by price also says nothing about accuracy, which only the held-out test above can settle.

The routing score should feed a policy layer instead of triggering actions

A decision model scores options, and the Hugging Face post says that it leaves "the application to decide how to act on it." A refund probability of 0.995 means that the customer is probably asking for a refund. It does not identify the duplicated charge, the amount or whether the account qualifies.

A practical design keeps three layers apart. The model scores the ticket. A policy layer compares the calibrated score with a threshold that was set from the deferral-coverage test, and it sends tickets below the threshold to a person or a larger model. The billing system then resolves the charge and applies the company's refund rules before any money moves.

Sources

More in Models

All Models →