The Benefits of Learning with Strongly Convex Approximate Inference

Ben London, Bert Huang, Lise GetoorICML 2015

Introduction

Calculating marginal probabilities in complex graphical models, such as Markov Random Fields, is notoriously computationally intractable. Researchers typically turn to Variational Inference (VI), which approximates these probabilities by minimizing a proxy function known as the variational free energy.

While much of the existing literature has focused on making this free energy convex to guarantee convergence to a global minimum, very little attention has been paid to strong convexity. A function can be convex but remain very "flat" at its minimum. Strong convexity, on the other hand, implies a specific, guaranteed amount of curvature. This paper addresses a critical gap: Does this curvature actually help us learn better models? The authors argue that without strong convexity, inference is unstable. Small changes in model parameters can lead to wild swings in predicted marginals, ultimately resulting in poor learning performance. By ensuring the variational free energy has a minimum curvature (modulus of convexity) that doesn't vanish as the graph grows, the authors prove tighter error bounds on learned marginals and provide a practical optimization framework to "strongly convexify" common inference algorithms.

Methods

The paper bridges the gap between optimization theory and machine learning through several key methodological contributions:

  • Stability Analysis: Using the duality between strong convexity and Lipschitz continuity, the authors prove that strongly convex free energies result in more stable marginals. They derive a high-probability error bound showing that the error in learned marginals is inversely proportional to the modulus of convexity ($\kappa$).
  • The "Constant Modulus" Requirement: A key theoretical insight is that for large graphs, $\kappa$ must be independent of the graph size ($|G|$). If $\kappa$ shrinks as the graph grows—as it does in some existing methods—the learning guarantees become vacuous.
  • Strongly Convexified Bethe/TRW: The authors analyze two popular techniques: Tree-Reweighted (TRW) and Counting Number entropies, adapting them for strong convexity.
  • Counting Number Optimization: They propose a new meta-algorithm formulated as a Quadratic Program (QP). This QP takes any standard entropy approximation (like the Bethe approximation) and finds the closest set of "counting numbers" that guarantee a user-specified level of strong convexity ($\kappa$).

Experimental Setup

The authors evaluate their framework using synthetic Ising models on $8 \times 8$ non-toroidal grid structures. The experiments cover:

  • Attractive Potentials: Scenarios where neighboring nodes prefer to share the same state.
  • Mixed Potentials: Environments featuring a mix of attractive and repulsive forces.
  • Perturbations: Local perturbations (evidence) are included to simulate real-world data variance.

The proposed strongly convex methods are compared against standard Loopy Belief Propagation (LBP), Convexified Bethe (C-Bethe), and Tree-Reweighted BP (TRBP).

Key Insights

  • Curvature Equals Robustness: The core insight is the formal link between the curvature of the free energy and the stability of the inference algorithm. If the optimization "bowl" is too flat, the solution becomes hypersensitive to noise in the training data.
  • Learning the "Right" Model for "Wrong" Inference: In practice, approximate inference is often used at both train and test time. By employing a strongly convex objective during training, the model learns parameters that are specifically robust to the approximations intended for later use.
  • The $\kappa$ Trade-off: There is a "Goldilocks" zone for the modulus of convexity. Too little curvature leaves the model unstable, while too much makes the approximation "too entropic" or blurry, causing it to lose the underlying structure of the data.

Key Results

The empirical results strongly validate the theoretical claims. In experiments on learned models, the strongly convexified (SC) methods reduced the root-mean-squared error (RMSE) of marginals by over 40% compared to their simply convex counterparts.

Node Marginal RMSE comparison across different inference methods

Furthermore, the benefits of strong convexity were most pronounced in "weak signal" scenarios—where the local signal (node potentials) was weak compared to the relational signal (edge interactions). In these challenging cases, SC methods demonstrated over a 10x improvement over standard Loopy Belief Propagation. Finally, the proposed QP allows researchers to treat the modulus of convexity as a tunable hyperparameter, providing a precise knob to control the stability of the learning process.

Limitations and Future Work

While promising, the study has a few limitations. First, the evaluation is constrained to synthetic grid graphs. Although these are standard benchmarks for inference, testing on massive, real-world relational datasets remains an important next step. Second, for very high values of $\kappa$ or specific graph structures, the "variable validity" constraints in the QP might become infeasible. The authors suggest a "slackened" version of the QP to handle this, but choosing the right slack parameter adds another layer of complexity. Finally, while the counting number optimization is model-independent, the natural strong convexity of methods like TRW is shown to be model-dependent, suggesting that some models are inherently easier to convexify than others.

Summary updated

BibTeX
@inproceedings{london2015benefits,
  author = {Ben London and Bert Huang and Lise Getoor},
  title = {{The Benefits of Learning with Strongly Convex Approximate Inference}},
  booktitle = {International Conference on Machine Learning},
  year = {2015},
  url = {https://openreview.net/forum?id=BJNWKoZOZH},
}
Figure