Skip to main content

Evidence Optimization

Introduction

Evidence Optimization is a powerful approach to refine and optimize decision-making by intelligently searching through possible sets of evidence. It operates within specific constraints to meet your objectives, enabling you to minimize, maximize, or goal-seek any of the following:

  • A function variable (based on an arbitrary expression)
  • A continuous variable
  • A discrete or discretized variable state
info

Key Difference
Unlike traditional optimization focused on adjusting model structures or parameters, Evidence Optimization is applied post-model construction. It leverages the existing model to make the best possible decisions, helping you reach your objectives with precision and clarity.

By using Evidence Optimization, you can achieve more targeted, data-driven decisions, whether it's to minimize risk, maximize performance, or find the optimal point for a given goal.

Optimizer

Causal Evidence Optimization

Design variables can be marked as interventions (Do evidence).

This is important when we are building Causal models, and we want to make optimum causal decisions.

Settings

Help for all settings is directly available in the User Interface via the Property Editor.

Fixed evidence

The optimizer can be configured to include fixed evidence, that does not change during the optimization process.

When set in the User Interface, it will automatically use any evidence currently set in the network viewer.

info

Note that a variable with fixed evidence set cannot be included as an input to the optimizer.

Allow Missing

When the Allow missing option is true on a design variable, the optimizer will consider missing values in the sets of possible solutions. This can be configured per variable.

Evidence kind

Discrete design variables can have either Hard or Soft/Virtual evidence set during optimization. This can be configured per variable.

Intervention Type

A design variable can be configured so that an Intervention (Do evidence) is perform instead of standard evidence.

info

For an introduction to to causal optimization please see Introduction to causality | the science of measuring and optimizing cause & effect

Add current queries

When a function is being optimized, the function and possibly others it depends on may reference the means or probabilities of other variables in an expression. When this is the case the optimizer will need to perform these additional queries. In the User Interface when this option is true, all queries currently used in the network viewer will be added.

Constraints

Bounds

Bounds can be set on continuous variables and discrete states (in soft/virtual evidence mode).

info

The User Interface allows you to automatically configure lower and upper bounds for continuous variables using standard deviations from the current mean (taking into account any fixed evidence).

Lower and Upper bounds can also be loaded from and saved to a file.

Algorithms

Genetic optimizer

Uses a genetic algorithm to search possible evidence sets.

info

Optimal solutions are not guaranteed, so it can be useful to run the optimizer multiple times.

Simplification

When Simplify is set to true in the user interface, an additional algorithm is run, that attempts to reduce the number of variables with evidence set, while maintaining the best solution to within a specified tolerance.