Sensitivity Analysis in Markov Networks

Hei Chan, Adnan DarwicheIJCAI 2005

Abstract

This paper explores the topic of sensitivity analysis in Markov networks, by tackling questions similar to those arising in the context of Bayesian networks: the tuning of parameters to satisfy query constraints, and the bounding of query changes when perturbing network parameters. Even though the distribution induced by a Markov network corresponds to ratios of multi-linear functions, whereas the distribution induced by a Bayesian network corresponds to multi-linear functions, the results we obtain for Markov networks are as effective computationally as those obtained for Bayesian networks. This similarity is due to the fact that conditional probabilities have the same functional form in both Bayesian and Markov networks, which turns out to be the more influential factor. The major difference we found, however, is in how changes in parameter values should be quantified, as such parameters are interpreted differently in Bayesian networks and Markov networks.

Introduction

In probabilistic graphical models, sensitivity analysis is a critical tool for understanding how local parameter adjustments—such as tweaking a specific weight or probability—impact global queries. While this field is well-developed for directed Bayesian networks (BNs), it has remained largely unexplored for undirected Markov networks (MNs). This gap stems from the fundamental difference in how these models parameterize distributions: BNs utilize normalized Conditional Probability Tables (CPTs), resulting in joint distributions that are multi-linear functions of their parameters. In contrast, MNs use unnormalized potential tables (cliques) and a global normalizing constant, making their joint distributions ratios of multi-linear functions. This study investigates whether the efficient sensitivity analysis techniques established for BNs can be mathematically adapted for the MN framework.

Methodology and Functional Similarity

The authors demonstrate that despite the structural differences in joint distributions, the conditional probability $Pr(z|e)$ in a Markov network is a ratio of multi-linear functions—the exact same functional form found in Bayesian networks. This mathematical parallel allows for the direct transfer of BN sensitivity techniques to MNs.

Figure 1: A 4-variable undirected Markov network used to illustrate sensitivity analysis in the context of disease transmission.

To evaluate this, the authors utilize a theoretical 4-variable undirected graph (Figure 1). They derive a linear inequality to calculate the minimum parameter change ($\Delta\theta_c$) required to satisfy a query constraint (e.g., $Pr(z|e) \ge k$). This process relies on partial derivatives that can be computed in $O(n \exp(w))$ time, where $w$ is the treewidth of the network, matching the computational efficiency of Bayesian networks.

Key Insights: Semantic Differences in Sensitivity

A major finding of this research is the divergence in how sensitivity scales between the two model types. In Bayesian networks, parameters are probabilities, and sensitivity is measured by relative odds change. This makes BNs hyper-sensitive to changes in extreme values (near 0 or 1).

Figure 3: Linear sensitivity bounds in Markov networks, illustrating that sensitivity is proportional to the parameter value.

Conversely, MN parameters are unnormalized compatibility ratios. The authors prove that the sensitivity of an MN to a parameter is simply proportional to its value, leading to linear scaling (Figure 3). Unlike BNs, MN sensitivity does not "blow up" at the extremes. Furthermore, the authors establish that to satisfy a query constraint while minimizing global disturbance, the optimal strategy is to apply a uniform relative change to all modified parameters within a clique.

Key Results and Bounding Belief Change

The study yields two primary theoretical results:

  1. Closed-Form Tuning (Theorem 1): A formulated inequality allows practitioners to determine the exact interval of permissible parameter changes for any clique to meet a desired query constraint.
  2. Global-to-Local Bounding (Theorem 2): The authors prove that the global distance between two MN distributions differing by a single clique $C$ is equivalent to the local distance between those specific clique tables: $\ln \max (\theta'_c / \theta_c) - \ln \min (\theta'_c / \theta_c)$. This enables rapid, localized computation of global error bounds.

Using the toy network in Figure 1, the authors demonstrated these principles by calculating the precise parameter reduction (from 2 to 0.533) needed to shift a conditional query $Pr(\bar{a}_2 | a_1)$ from 0.789 to $\ge 0.9$, showcasing the practical debugging utility of the framework.

Conclusion and Future Work

This research successfully extends sensitivity analysis to Markov networks, proving that they are as computationally tractable as Bayesian networks in this regard. While the current work is theoretical and focuses on exact bounds for localized changes, it provides the necessary mathematical foundation for future applications. Potential next steps include applying these bounds to approximate inference algorithms and guiding robust parameter learning in large-scale, real-world Markov networks.

Summary updated

BibTeX
@inproceedings{chan2005sensitivity,
  author = {Hei Chan and Adnan Darwiche},
  title = {{Sensitivity Analysis in Markov Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2005},
  url = {https://openreview.net/forum?id=SJ-aeNz_bB},
}

Loading related content...

Figure