Decision Models vs LLMs: DMN Rules, Optimization and Option Scorers Handle Different Parts of a Decision
A decision model can mean a DMN rule table, a solver formulation or a trained model that scores supplied options. An LLM can help with each one, but none of them proves on its own that a decision follows policy.
Decision models choose an action from logic or options that someone has defined, while LLMs read and write language. The term "decision model" covers four different things: DMN business rules and decision tables, mathematical optimization, learned models that score a supplied list of options, and LLMs prompted to pick an option. Rules and solvers give guarantees that apply only to the logic or formulation that people wrote. A learned scorer or an LLM gives a probability or a valid option ID, and neither of those proves that the decision follows policy.
The term "decision model" refers to four different kinds of system.
The first meaning comes from the Object Management Group's Decision Model and Notation standard. DMN 1.5, a formal OMG specification dated August 2024, says that its purpose is to model decisions so that they can be "readily depicted in diagrams, accurately defined by business analysts, and (optionally) automated." The specification says that decision logic can take the form of "business rules, decision tables, or executable analytic models." In this meaning, a decision model is a document of logic that people write and can inspect.
The second meaning comes from operations research. Gurobi's documentation describes optimization as finding "the best decision among all the decisions that are possible." A modeler defines decision variables, constraints and one objective to minimize or maximize. The solver then searches for the best assignment of values.
The third meaning is newer. A learned decision model reads unstructured input, such as a customer message, and returns a probability for each action in a list that the caller supplies. It is trained on examples rather than written by hand. Such a model can itself be built on an LLM, so "decision model versus LLM" is sometimes a contrast between two uses of the same base model.
The fourth meaning is a general LLM that is prompted to choose an option. It reads the same messy input, but it generates its answer as text.
These four meanings include five approaches once DMN modeling and rule execution are counted separately, and they compare as follows.
| Approach | Input and output | Who writes the logic | How it is validated, and its limit |
|---|---|---|---|
| DMN decision modeling | Decisions, inputs and knowledge sources in a diagram | Business analysts | Reviewed by people; it documents logic but runs nothing alone |
| Rule execution | Structured facts in, a rule result out | Analysts and developers, in tables and FEEL | Tested case by case and checked for gaps or overlaps; wrong rules give wrong results |
| Constrained optimization | Data, variables and constraints in, a best solution out | Optimization modelers | Optimal for the stated formulation only |
| Learned option scoring | Text, images and state plus a supplied option list in, probabilities out | Trained from labeled examples | Measured on held-out data; a score is not a policy check |
| Prompted generative LLM | Text in, generated text or an option ID out | Prompt authors | Measured on held-out data; it can confabulate |
Rules and solvers give guarantees that stop at the edge of what people wrote down.
DMN rules are explicit, and that is the reason to use them. The specification defines FEEL, an expression language for decision tables and if-then-else logic, as "executable expressions with formally defined semantics." It also defines hit policies, which say what happens when more than one rule matches. The default, Unique, means that only one rule can match. The specification says that First tables, where the first matching rule wins, "are not considered good practice." Engines can check tables mechanically. The Drools 8.44 user guide says that its build plugin analyzes DMN decision tables "for gaps or overlaps" by default.
A rule table still only encodes what its authors believed. If the refund limit in the table is wrong, the engine applies the wrong limit every time and with perfect consistency.
Optimization has the same boundary in a different form. Gurobi's documentation says that the solver "returns a solution it can prove is optimal, or tells you that no valid solution exists." The same page then warns that "a correct implementation of a misstated problem still returns a confident, wrong answer." Optimality also depends on solver settings. Gurobi's parameter reference says that its mixed-integer solver stops "with an optimal result" when the gap between its bounds falls below the MIPGap setting, which defaults to 1e-4. "Optimal" therefore means optimal for this formulation, within this tolerance.
LLMs read messy input well but can produce confident errors.
LLMs are useful where rules stop working, such as with free-text requests, screenshots and long conversation histories. The risk is a specific one. NIST's Generative AI Profile, published in July 2024, defines confabulation as "the production of confidently stated but erroneous or false content." NIST says that confabulations "are a natural result of the way generative models are designed." It adds that the risk is especially important to monitor in "applications involving consequential decision making."
NIST also warns about explanations. Generated outputs "may also include confabulated logic or citations that purport to justify or explain the system's answer." A fluent reason for a refund is therefore not evidence that the refund was allowed.
Constraining the output does not remove this risk. OpenAI's Structured Outputs guide says that enum values will follow the supplied JSON Schema. The same guide tells developers to "validate any business rules that the schema does not express." A model that returns refund_order from a list of five valid IDs has produced a valid ID. It has not shown that the customer qualifies for a refund.
A calibrated score measures confidence, not policy correctness.
Learned option scorers return probabilities, and good ones are calibrated. The scikit-learn documentation gives the standard meaning: among cases given a probability near 0.8, "approximately 80%" should turn out to be correct. Calibration is useful because it lets a system set a threshold and send uncertain cases elsewhere.
Calibration describes how often the model is right on cases like its test data. It does not say whether a particular action is allowed. A model can be highly confident about a refund that the policy forbids, because the policy was never part of its training signal. The policy check needs to run separately, on the extracted facts, after the scorer has chosen.
A request-routing example shows where each approach fits.
Consider a support assistant that receives this message: "I was charged twice for order 5521, please fix it." The system holds state from its billing system, which shows two identical charges of $84 on the same day. It supplies five actions: refund_duplicate_charge, open_billing_ticket, ask_for_order_number, transfer_to_human and defer. All of the values in this example are illustrative.
The work splits into six steps, and each step suits a different tool.
- Extraction turns the message into structured facts, such as the order number and the issue type, and an LLM or a learned extractor does this well.
- Option scoring ranks the five supplied actions and returns a probability for each, which is the job of a learned decision model or a prompted LLM.
- The policy check applies written rules to the extracted facts, for example a DMN table with a
Uniquehit policy that allows an automatic refund only for a confirmed duplicate charge under a set limit. - Argument resolution fills in the action's parameters, such as the charge ID and the amount, from the billing system rather than from the model's text.
- Execution calls the refund API from ordinary code, which runs only after the policy check passes.
- Explanation drafts the reply to the customer from the recorded result, and an LLM does this well because the facts are already fixed.
Optimization appears when the system defers. Suppose that a few hundred deferred tickets need human agents with different skills and limited hours. Assigning those tickets to agents is an assignment problem. Google's OR-Tools, which is licensed under Apache 2.0, includes a linear sum assignment solver for this kind of problem.
Parsec's TOD is one documented implementation of the option-scoring step.
Parsec's TOD is a learned option scorer that fits step 2. Parsec calls it a "universal decision model." Its product page says that TOD reads text, images, policy and task state, ranks the next action from the allowed list, and "invents no actions." A confidence gate lets TOD handle a turn when it is confident and passes the turn unchanged to the parent LLM otherwise.
The published release is LoRA adapters on google/gemma-4-12B-it plus a ModernBERT-base retriever, according to its Hugging Face model card and GitHub repo. The retriever and a first scoring pass shortlist 16 options, and the adapter re-ranks that shortlist. The model card lists the adapters under Apache-2.0, while the Gemma 4 base is not included and stays under Google's Gemma 4 terms. The call predict(state, options, question, images) returns one probability per supplied option. The product page also describes a compact encoder, and that description does not match the Gemma-based release, so teams should evaluate the files that they can download.
Parsec's page dates its "TOD decision v1 release evaluation" to 29 September 2026, and its figures are Parsec's own. On the public JevBench set of 231 text decisions, TOD scored 84.4% against 86.2% for its untrained base model. The page says that the regression is to be fixed in the next release. The repo says that TOD is not state of the art on that benchmark. No independent re-run of these results has been published. A frozen base model or a prompted LLM may do as well on a given workload. Parsec's decision-models page also says that it tunes decision models on a customer's own decisions, but it publishes no price for that work and gives its improvement claims without a baseline.
The right choice depends on how structured the input is and who owns the logic.
The approaches fit different situations, and many systems need more than one.
- Use rules alone when the inputs already arrive as structured fields and the policy is written down, because a DMN table can then be reviewed, tested and run without any model.
- Use an optimization solver when the decision allocates limited resources across many choices with a clear objective, such as staff, vehicles or capacity.
- Use an untuned option scorer when the input is messy text or images but the list of allowed actions is fixed and known in advance.
- Use a general LLM when the actions are open-ended or the output must be generated language, such as a reply or a summary.
- Use a hybrid when language understanding and dependable execution both matter, with learned components proposing and rules deciding what is allowed.
Customization becomes worth testing once a team has logged decisions with known correct outcomes. Those logs can show whether a tuned scorer beats the untuned one on that team's own cases. Tuning should be treated as an experiment to measure, not as an expected gain.
Each part of the system needs its own measured outcome before anyone compares products.
A single accuracy number does not show the failures that matter. NIST's profile recommends that teams "evaluate claims of model capabilities using empirically validated methods" and avoid extrapolating from "narrow, non-systematic, and anecdotal assessments." For a routing system, that means reporting these outcomes separately:
- Report held-out decision accuracy on cases that the model never saw, drawn from the same traffic that it will serve.
- Report calibration, for example with a reliability diagram, so that the confidence threshold rests on measured behavior.
- Report deferral coverage, which is the share of cases that the scorer handles, next to the accuracy on the cases that it keeps.
- Report policy violations that the rule check caught and any that reached execution.
- Report end-to-end success, meaning whether the customer's problem was actually resolved.
- Report latency and total cost, including the parent LLM calls on deferred turns.
Each measurement should name the model version, rule version and dataset version, and it should include the failed cases. No published study has compared DMN rules, a solver, a learned option scorer and a prompted LLM on the same routing workload. Until a team runs that comparison on its own traffic, no approach can be called better in general.
Sources
- Object Management Group, Decision Model and Notation 1.5: https://www.omg.org/spec/DMN/1.5/
- Object Management Group, DMN 1.5 specification (PDF): https://www.omg.org/spec/DMN/1.5/PDF
- Drools, DMN user guide: https://docs.drools.org/latest/drools-docs/drools/DMN/index.html
- Gurobi, Mathematical optimization: https://docs.gurobi.com/projects/intelligence/en/current/optimization.html
- Gurobi, Parameter reference: https://docs.gurobi.com/projects/optimizer/en/current/reference/parameters.html
- Google, OR-Tools introduction: https://developers.google.com/optimization/introduction
- Google, OR-Tools repository: https://github.com/google/or-tools
- NIST, AI 600-1 Generative Artificial Intelligence Profile: https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf
- OpenAI, Structured Outputs guide: https://developers.openai.com/api/docs/guides/structured-outputs
- scikit-learn, Probability calibration: https://scikit-learn.org/stable/modules/calibration.html
- Parsec, TOD: https://parseclab.ai/tod/
- Parsec, TOD model card: https://huggingface.co/parsecai/tod
- Parsec, TOD repository: https://github.com/daseinlabs/tod
- Parsec, Decision models: https://parseclab.ai/solutions/decision-models/