bayesia logo
BayesiaLab
Learning (9.0)
Structural Priors Learning (9.0)

Structural Priors Learning (9.0)

Context

Learning | Structural Priors Learning

43450603

The Structural Priors Learning is a Meta-Learning algorithm that can be compared to Bagging. It is based on Data Perturbation (Smoothed Bootstrapping) for learning a bag of networks and gathering statistics about the relationships that have been found. These statistics are then used for automatically defining Structural Priors.

Once defined, the Structural Priors are used for learning a network on the original unperturbed data set.

43450604

Example

Let's use a small data set that contains only 91 particles. Each particle is a physically active individual (several hours of exercise a week), described with body girth measurements and skeletal diameter measurements, as well as age, weight, height and gender.

All the variables are continuous, except Gender. We discretized all continuous variables with R2GenOpt* 3 (opens in a new tab).

43450607

We define Temporal Indices to specify that Age and Gender have to be root nodes.

43450608

The same result can be obtained by associating these 2 nodes in a Class and then forbidding (opens in a new tab) incoming arcs to this class:

43450609

Below is the network learned with EQ.

43450610
43450613

Let's use Data Perturbation in order to try to escape from the local optima found with EQ.

43450612
43450614

The obtained network has a better score that the one obtained with EQ. It also makes more sense as we can see that it captures the relationship between Weight, Height and BMI.

However, we still have 4 "orphan" nodes: Ankle diameter, Ankle girth, Age and Knee diameter.

There are two scenarios:

  • either these nodes are really marginally independent of all the other nodes, or
  • their relationships with the other nodes is above the "significance threshold" implicitly defined by the MDL (opens in a new tab) score.

Keeping in mind that we just have 91 particles, and given that the MDL score is conservative, we can try decreasing the Structural Coefficient.

Instead of manually testing the structural coefficient, we use the Structural Coefficient Analysis (opens in a new tab) tool.

43450617
43450618

The analysis of these curves suggest the utilization of a Structural Coefficient = 0.6

The network below has been learned with Data Perturbation - EQ.

43450623

As we can see, there is now only 1 orphan: Ankle diameter. Reducing the value of the Structural Coefficient was indeed efficient for connecting the orphans. However, this coefficient has a global impact on the MDL score. It reduces the cost of adding arcs for all the nodes. We can see for example that Biacromial diameter (highlighted in red) has now 3 parents, which is probably too much given the amount of data available. There are also now 5 nodes with 2 parents (highlighted in pink), instead of one with the Structural Coefficient = 1.0.

Instead of reducing the Structural Coefficient globally, we now use Structural Priors Learning for exploring a range of coefficients [0.2 ; 1.0] and automatically get Structural Priors.

43450620
43450624
43450636

In addition to the MDL score, the Console  returns the Min, Max, and Mean of the arcs' Priors that are represented in the learned network.

As we can see, there is also only one orphan. However, the complexity of the obtained network is lower than the one learned with a Structural Coefficient = 0.6. The Biacromial diameter has only one parent, which makes much more sense given the amount of data available, and there are only three nodes with two parents (highlighted in pink).

Clicking  in the lower right corner of the graph window opens the editor of the Structural Priors:

43450625

The Preview returns a graph with all the connections that have been learned on the perturbed data sets.

43450627

Store Priors on Arcs associates the priors with the arcs of the network. It also a way to get in the Console  the Min, Max, and Mean of the arcs' Priors that are represented in the current network.

43450628

Copyright © 2025 Bayesia S.A.S., Bayesia USA, LLC, and Bayesia Singapore Pte. Ltd. All Rights Reserved.