Structural Priors Learning
Context
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. The resulting parent sets specify the factorization used to represent the data.
Example
The Body data set contains 91 records, one for each physically active individual. Its 26 variables include girth and skeletal diameter measurements, , , , , and .
is the only discrete variable. The import uses R²-GenOpt with three intervals and a minimum interval weight of 1% for each of the 25 continuous variables.
The example places and first in the temporal order. Set their Temporal Indices to 0 and all other indices to 1. This prevents variables in the later group from becoming parents of either node.

For the Taboo runs below, we enforce both roots directly. Assign and to a class named . In Edit Forbidden Arcs, add a rule from all nodes to that class to forbid incoming arcs.

Learning with Taboo
Start with the unconnected network and a Structural Coefficient of 1. Open Menus > Learning > Unsupervised Structural Learning > Taboo. Use a Taboo list size of 101 and leave the parent and child limits unchecked.

The Console reports the MDL score before and after learning. Under the same scoring settings, a lower score indicates a better trade-off between fit and model complexity.
Use of Forbidden Arcs
Total Weight: 91
Initial MDL score: 3,678.761
Final MDL score: 3,383.175Taboo learns 21 arcs. Four nodes remain isolated along the bottom of the graph. We keep the nodes in the same positions throughout the example so you can compare the networks directly.
Perturbing the data
Open Menus > Learning > Meta Learning > Data Perturbation. Select Taboo and Delete All Arcs. Run 100 tests with a fixed seed of 31. Set both standard deviations to 0 to bring the perturbations back to the original data and keep the Structural Coefficient fixed at 1.

Initial MDL score: 3,678.761
Final MDL score: 3,361.557At the same coefficient, perturbation finds a lower score and a network with 23 arcs. and are now both parents of . The same four nodes remain isolated.
Reading the Structural Coefficient Curve
With only 91 records, the MDL penalty can keep weak connections out of the network. To see how sensitive the structure is to that penalty, open Menus > Tools > Multi-Run > Structural Coefficient Analysis. Select Taboo and Delete All Arcs. Test 25 coefficients from 0.2 to 1 and enable both Compute Structure/Data Ratio and Compute Degree of Freedom Reduction Efficiency.

The report shows which connections recur across those 25 runs. For example, and are connected in every run. The direction is → in 32% of runs and reversed in 68%. Click Curve in the lower-right corner.

In the Structural Coefficient Curve window, select both metrics in the legend. The blue Structure/Data Ratio falls as the coefficient increases. The red df Reduction Efficiency rises. The vertical axis shows normalized values for each metric.
The analysis of these curves suggests using a Structural Coefficient of around 0.5.
Set Menus > Edit > Edit Structural Coefficient to 0.30 and repeat the 100-test Data Perturbation run. All 26 nodes now have at least one connection. The price of connecting the four isolated nodes is a much denser network. It has 41 arcs, and 17 nodes have two parents. With the global penalty changed, the new MDL scores are on a different scale.
Structural Complexity Influence: 0.3000
Use of Forbidden Arcs
Total Weight: 91
Initial MDL score: 11,634.455
Final MDL score: 9,552.332Learning arc-specific priors
Return to the unconnected network with both root constraints and a Structural Coefficient of 1. Open Menus > Learning > Meta Learning > Structural Priors Learning. Select Taboo, run 100 tests with a fixed seed of 31, and set the Structural Coefficient standard deviation to 1 with bounds of 0.2 and 1. Select Remove Current Structural Priors to begin with an empty set of priors.

BayesiaLab uses the perturbed networks to estimate a prior for each candidate arc, then learns a network on the original data using those priors. The Console reports the range and mean of the priors applied to arcs in the resulting network.
Initial MDL score: 3,678.761
Final MDL score: 3,118.625
Applied Structural Priors: min: 0.276 max: 0.994 mean: 0.638The final network contains 24 arcs. Only three nodes have two parents, and the four nodes isolated at coefficient 1 remain isolated. With these data, the learned priors favor a smaller set of connections than the global coefficient of 0.30.
Inspecting the learned priors
Click the Structural Priors icon in the lower-right corner of the graph window. The editor lists all 296 learned priors. Its Check column helps explain which direction appears in the final network. The row for → has a red cross. The reverse direction, → , has a blue check and a prior of 0.428.

Click Preview to see the candidate connections together. Darker lines indicate stronger priors. Several faint lines reach the four nodes along the bottom, even though none of those nodes has an arc in the final network.

Click Store Priors on Arcs, confirm with OK, and turn on View > Show Arc Comments. The graph now shows one value for each retained arc. For example, → is labeled 0.4283, and → is labeled 0.9938. Open the figure to inspect the labels at 150% and pan across the network.