Introduction
Probabilistic graphical models are powerful tools for representing dependencies between variables, but "inference"—calculating marginal distributions—is notoriously difficult. Exact inference scales exponentially with the "treewidth" of the graph, making it impossible for large, loopy networks like grids. This paper, "Focused Inference" by Rómer E. Rosales and Tommi S. Jaakkola, presents a novel approach that bridges the gap between exact variable elimination and approximate message-passing algorithms.
The Challenge of Approximate Inference
Existing approximate methods have significant trade-offs. Variational methods like Mean Field often assume variables are independent, which fails under strong dependencies. Belief Propagation works well on trees but can struggle to converge on loopy graphs. Assumed Density Filtering (ADF) uses a fixed, pre-defined structure for its approximation, which might not fit the actual distribution well. Focused Inference (FI) addresses these challenges by dynamically adapting its approximation structure at each step.
The Focused Inference Algorithm
The core idea of FI is to treat inference as a sequence of elimination steps, similar to standard variable elimination. However, instead of allowing complexity to explode, FI "compresses" the information at each step through dynamic projection.
- Iterative Elimination: The algorithm selects a variable to remove.
- Local Decomposition: It separates the distribution into a "local" part (the variable being removed and its neighbors) and the "rest" of the graph.
- Dynamic Projection: This is the key innovation. Instead of using a fixed structure, FI projects the complex marginal resulting from the elimination onto the best possible tree structure by minimizing the Kullback-Leibler (KL) divergence.
- Factor Update: It creates new, simpler factors (edges) in the remaining graph that represent the "memory" of the eliminated variable.
The authors also introduce a Distributed Focused Inference version, which uses an "Order-induced Tree" (OT) to allow for efficient message-passing across the entire graph.
Experimental Results
The authors evaluated FI using synthetic $9 \times 9$ grid networks, which are standard benchmarks for inference due to their high loopiness. They tested a wide variety of distributions, ranging from "attractive" to "repulsive" couplings.
In numerical simulations, FI consistently outperformed both Tree-Structured ADF and Variational Mean Field across all tested conditions. Notably, the performance gap grew larger as dependencies in the network became stronger. While Mean Field failed as coupling increased, FI maintained high accuracy.
Key Insights
- Adaptive Approximation: FI builds its approximation "on the fly," deciding which dependencies are most important to keep at every step.
- The Power of Trees: Restricting the projection to tree structures ensures computational tractability ($O(M^3)$ complexity) while remaining much more expressive than fully independent models.
- Theoretical Guarantees: The authors prove that FI is exact for "decimatable" distributions (treewidth of 2), making it a strict generalization of exact inference for simpler graphs.
- Computational Parity: Despite its higher accuracy, FI maintains a computational complexity equivalent to ADF, making it a highly efficient upgrade.
Limitations and Future Work
The order in which nodes are removed affects the result, and finding the globally optimal order remains an open challenge. Additionally, running the algorithm for different sets of variables might yield slightly inconsistent marginals, though a maximum-likelihood fix is proposed. Future work could involve projecting onto more complex structures, such as hyper-trees, to further increase accuracy.
Summary updated