This paper, presented at the 35th Canadian Conference on Artificial Intelligence, tackles a fundamental but often overlooked problem in Bayesian network (BN) research: how to decide which edges are actually "real" when learning from data.
TL;DR
Choosing a confidence threshold for model averaging in Bayesian networks is usually done by guesswork or flawed automated methods. This paper proves that a popular "instance-specific" thresholding method is mathematically equivalent to a simple 0.5 cutoff and proposes a superior transfer learning approach that learns optimal, application-specific thresholds from proxy datasets.
What Problem Does This Paper Address?
When researchers try to learn the structure of a Bayesian network from data, they rarely rely on a single "best" model. Instead, they use model averaging—generating many plausible networks (using techniques like bootstrapping) and calculating the probability that an edge exists between two variables.
The million-dollar question is: What is the cutoff? If an edge appears in 60% of the models, is it significant? Most researchers pick an ad hoc value like 0.5 or 0.8. While some automated methods exist to pick this threshold ($c$) based on the data, they are poorly understood. The authors aim to move threshold selection from "voodoo" to a principled, supervised learning task.
Methods
The authors contribute to the field in two major ways:
- A Theoretical "Gotcha": They provide a mathematical proof regarding the optimization method by Scutari and Nagarajan (the default in the widely used
bnlearnR package). They show that while this method looks like it's picking a custom threshold for every dataset, the edges it identifies are identical to those identified by a fixed threshold of $c = 0.5$. - A Transfer Learning Approach: They frame threshold selection as a supervised learning problem.
- Step 1: Take "proxy" datasets where the ground truth is known.
- Step 2: Perform model averaging to get edge probabilities.
- Step 3: Find the threshold $c^*$ that minimizes a specific loss function (like Structural Hamming Distance or $F_\beta$ score) relative to the ground truth.
- Step 4: Apply these learned thresholds to new "target" datasets where the ground truth is unknown.
This allows the threshold to adapt to the sample size ($N$), the scoring function (AIC, BIC, BDeu), and the user's priorities (e.g., is a False Positive more expensive than a False Negative?).
Datasets
The authors used an extensive set of benchmarks to train and test their approach:
- UCI Repository: 16 real-world datasets (e.g., census income, heart disease, shuttle).
- bnlearn Repository: 10 well-known human-constructed Bayesian networks (e.g., alarm, insurance, hailfinder).
- Synthetic Ground Truths: To ensure a robust "proxy" set, they generated 80 additional ground truth BNs based on the UCI data, resulting in 90 total networks.
- Varying Sample Sizes: They generated samples ranging from $N=50$ to $N=10,000$ to see how data density affects the optimal threshold.
Key Insights and Ideas
- The 0.5 Myth: The revelation that the most popular automated thresholding tool is essentially just a hidden 0.5 cutoff explains why it often fails to outperform simple heuristics.
- Thresholds are Context-Dependent: The optimal threshold changes significantly based on the sample size. For small datasets, you might need a lower threshold to capture signal; for massive datasets, you might need a higher one to filter out noise.
- Loss Functions Matter: In medicine, missing an edge (False Negative) might be worse than adding an extra one (False Positive). The authors' method allows users to pick a threshold optimized for the $F_\beta$ score, which balances these concerns.
- Invariance to Network Size: Interestingly, the number of variables ($n$) in a network did not significantly change the optimal threshold, whereas the number of instances ($N$) and the scoring function did.
Key Results
The authors evaluated their method using the Borda count (a ranking system) across thousands of experiments.
- Superior Performance: Their Machine Learning (ML) approach consistently outperformed the Scutari, Broom, and Gross methods across almost all scenarios.
- Structural Hamming Distance (SHD): In Table 3, the ML approach achieved the highest Borda count (6,166 for Bootstrap) compared to the next best (Gross at 5,864).
- Cost-Sensitive Metrics: When optimizing for specific costs (Table 4), the ML approach was the clear winner, often by a wide margin.
- Practical Guidance: The paper concludes with a "cheat sheet" (Table 6) providing recommended thresholds for practitioners based on their sample size and scoring function.
Limitations and Future Work
- Proxy Dependency: The success of the transfer learning approach depends on the proxy datasets being somewhat representative of the target data. While 90 networks is a lot, extremely niche or high-dimensional data might require different proxies.
- Directed vs. Undirected: While the paper touches on directed edges, much of the evaluation focuses on undirected edges (the skeleton of the network). Future work could refine thresholds specifically for edge directionality.
- Computational Cost: Learning the thresholds requires a one-time heavy lift of processing 90+ ground truth networks, though the resulting thresholds are then "free" for others to use.
Summary updated