Skip to Content

Taboo Learning

Context

Taboo Learning refers to structural learning that implements the so-called Taboo search for Bayesian networks. This method is particularly useful for refining networks built by human experts or for updating a network learned from a previous data set. SopLEQ and Taboo Order start with an unconnected network. Taboo can start with an existing structure. An arc change alters the local terms in the factorization for the nodes whose parent sets change.

Usage

Open Menus > Learning > Unsupervised Structural Learning > Taboo. When the network already contains arcs, the dialog lets you choose which ones the search starts with. A fixed arc can encode a relationship you want to preserve. To fix an arc, right-click it and choose Properties > Fix. An ordinary arc gives the search a starting point that it can revise. Each run also respects the network’s Forbidden Arcs and Temporal Indices.

Taboo dialog with both node limits unchecked and all three starting options available. Keep Structure is selected.

Choose the starting structure

The Body network contains 26 variables measured on 91 people. In the starting network below, follow the dotted arrows from Gender\mathit{Gender} through Shoulder girth\mathit{Shoulder\ girth} to Chest diameter\mathit{Chest\ diameter}. Those two arcs and the one from Weight\mathit{Weight} to Chest girth\mathit{Chest\ girth} are fixed. The two solid arrows are ordinary arcs.

To reproduce the comparison, reopen the same starting network before each run. Leave Taboo List Size at 101 and both node limits unchecked. The saved network uses a Structural Coefficient of 0.5 and forbids incoming arcs to Age\mathit{Age} and Gender\mathit{Gender}. Download the starting Body network (.xbl).

Starting optionArcs at the startArcs after learning
Delete All ArcsNone. Taboo can rediscover any of the five starting arcs.26
Delete Unfixed ArcsThe three fixed arcs. Each keeps its direction throughout the search.28
Keep StructureAll five arcs. The three fixed arcs stay in place, and Taboo can change either ordinary arc.28

Switch between the networks and follow the arrow from Weight\mathit{Weight} to Chest girth\mathit{Chest\ girth}. Each node stays in the same position across the figures.

Loading SVG...

The ordinary arcs run from Chest girth\mathit{Chest\ girth} to Chest depth\mathit{Chest\ depth} and from Chest diameter\mathit{Chest\ diameter} to Wrist diameter\mathit{Wrist\ diameter}.

In this example, Delete Unfixed Arcs and Keep Structure reached the same 28 directed arcs. Their starting scores show where the runs differed. The Console reported an initial minimum description length (MDL) score of 6,978.160 with the three fixed arcs and 6,962.623 with all five arcs. Both finished at 6,122.874.

Limit the number of parents or children

Maximum Number of Parent Nodes limits how many arrows can enter each node. Maximum Number of Child Nodes limits how many can leave it. To see the difference, choose Keep Structure for each run and change one limit at a time. Follow the arrows entering Height\mathit{Height} and those leaving Gender\mathit{Gender}.

Limit enabledParents of HeightChildren of GenderTotal arcs
NeitherBMI\mathit{BMI} and Weight\mathit{Weight}828
Maximum one parentBMI\mathit{BMI}622
Maximum one childBMI\mathit{BMI}120
Loading SVG...

With both limits unchecked, Height\mathit{Height} has two parents. The eight arrows leaving Gender\mathit{Gender} include its fixed arc to Shoulder girth\mathit{Shoulder\ girth}.