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.

Choose the starting structure
The Body network contains 26 variables measured on 91 people. In the starting network below, follow the dotted arrows from through to . Those two arcs and the one from to 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 and . Download the starting Body network (.xbl).
| Starting option | Arcs at the start | Arcs after learning |
|---|---|---|
| Delete All Arcs | None. Taboo can rediscover any of the five starting arcs. | 26 |
| Delete Unfixed Arcs | The three fixed arcs. Each keeps its direction throughout the search. | 28 |
| Keep Structure | All 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 to . Each node stays in the same position across the figures.
Starting network
The ordinary arcs run from to and from to .
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 and those leaving .
| Limit enabled | Parents of Height | Children of Gender | Total arcs |
|---|---|---|---|
| Neither | and | 8 | 28 |
| Maximum one parent | 6 | 22 | |
| Maximum one child | 1 | 20 |
No limits
With both limits unchecked, has two parents. The eight arrows leaving include its fixed arc to .