rules management blog posts

Novel Decision Modeling Techniques (DC2023 Notes Part 2)

Blog: Decision Management Community

There were two presentations at DecisionCAMP-2023 devoted to new ideas that extend traditional Decision Modeling and DMN-like tools in new directions: 1) Probabilistic reasoning when a decision model deals with uncertain facts about which we know only their probability; 2) Declarative decision modeling with rules and constraints defined on yet unknown decision variables. In this post I briefly describe these presentations and recommend you to watch their recordings from the Program.

Probabilistic Reasoning. Simon Vandevelde presented a new probabilistic extension of DMN developed by KU Leuven researchers from Belgium called pDMN. While DMN-like tools deal only with precise facts, in real life, uncertainties are found almost everywhere, yet, DMN has no native support for probabilities. For example, you may easily see the value of this decision table:

pDMN decision tables may mix & match regular decision variables with those whose values defined with probabilities. Then DMN-like models will be able to produce decisions with estimated probabilities.

Simon provided an example of a Covid decision model that calculates infection probability to decide if a person should be allowed to entry a country. The following decision tables define probabilities of a person being infected based on their vaccine’s type a, b, or n (none):

For example, if Ann was infected and Bob contacted Ann, then the decision model can calculate the odds that Bob is infected now too.

Internally, pDMN tables are translated to ProbLog, a probabilistic logic programming package that extends Prolog with probabilities. ProbLog was developed also in KU Leuven ~15 years ago. pDMN can be seen as a user-friendly front-end for ProbLog.

Adding probabilities to Decision Modeling tools will essentially extend their capabilities in many real-world cases.

To be fair, it is not for the first time when probabilities were used within decision tables. At the DecisionCAMP-2014, Mark Proctor explained how business rule conflicts could be addressed using the Defeasible Logic implemented within the Red Hat Drools. At the BBC-2014 I presented a similar OpenRules approach but more oriented to business analysts. Here is an example of a decision table with probabilities:

If interested, you may find more information about Drools and OpenRules implementations of defeasible logic here.

Declarative Decision Modeling with Rules and Constraints. On Sep 19 I presented a new approach that supports declarative decision modeling by integrating rule engines and constraint solvers within the same decision models. It allows business analysts to create a decision model using DMN-like decision tables (“WHAT”) and rely on predefined search strategies to come up with the proper decisions (“HOW”).

The main idea of the proposed approach is to introduce new types of decision table columns that define constrained variables and their relationships. It allows a user to mix and match business rules with technical constraints within the same decision tables. This approach has been implemented in a new OpenRules Rule Solver. Here is simple example of a decision table with a business condition and a solver action:

Rule Solver extends DMN-like decision tables with predefined actions on collections such as “All Different” and predefined search methods. He is a complete simple decision model (with results) for the Map Coloring problem:

I used well-known decision modeling challenges to compare this new declarative approach to traditional procedural decision modeling. You may watch my entire presentation here and download open-sourced http://RuleSolver.com with many complete declarative decision models.