Abstract
Learning the structure of Markov networks is a fundamental task in probabilistic graphical modeling, yet it remains computationally challenging due to the high cost of evaluating candidate features. We present GSSL (Generate Select Structure Learning), a novel algorithm that decouples feature generation from evaluation. By using a randomized, data-driven process to propose features and L1-regularized weight learning for final selection, GSSL achieves state-of-the-art accuracy while operating significantly faster than existing methods. Our evaluation across 20 real-world datasets shows that GSSL is, on average, 15 times faster than standard L1 approaches and orders of magnitude faster than traditional search-based algorithms.
The Challenge of Structure Learning
A Markov network represents the joint probability distribution over a set of variables through an undirected graph. Building these models requires "structure learning"—identifying the conditional dependencies, or features, that define the network.
Traditionally, this is framed as a search problem: an algorithm proposes a feature, learns its weight via inference, and decides whether to keep it. Because weight learning and inference are often computationally intractable, search-based methods scale poorly. While newer methods attempt to learn local models for each variable, they still struggle with high-dimensional data. GSSL addresses this by asking: Can we generate a high-quality set of candidate features without constant, expensive weight learning evaluations?
The GSSL Approach
GSSL frames structure learning as a two-step feature generation and selection problem:
- Randomized Feature Generation: Unlike top-down search, GSSL uses a bottom-up, data-driven approach. It converts training examples into initial features (conjunctions of variables) and then generalizes them by randomly dropping variables. This process is repeated millions of times. Crucially, because every feature is a generalization of a real data point, GSSL ensures that every candidate feature actually exists in the dataset.
- Feature Selection: The algorithm filters the generated pool using a simple frequency threshold—assuming that frequently generated features have higher support in the data. Finally, weight learning is performed only once on the surviving features using pseudo-likelihood and an L1 penalty. The L1 regularization automatically prunes irrelevant features by setting their weights to zero.
Experimental Results
Accuracy and Performance
We evaluated GSSL against several baselines, including the state-of-the-art L1 approach (Ravikumar et al., 2010), DTSL (Decision Trees), and BLM (Bottom-Up Learning). Accuracy was measured using Conditional Marginal Log-Likelihood (CMLL) on held-out test data.
As shown in the results, GSSL is statistically equivalent to the L1 approach in terms of accuracy and significantly outperforms DTSL and BLM on most benchmarks.
Computational Efficiency
The primary advantage of GSSL is its speed. By avoiding the iterative search-and-evaluate loop, GSSL dramatically reduces total runtime, especially on large datasets.
On average, GSSL is 15 times faster than the L1 approach. When compared to the traditional search-based BLM algorithm, GSSL achieves an average speed-up of 4,634x. While the randomized generation is fast, the final weight learning step still accounts for over 95% of the remaining runtime, suggesting that further improvements in feature pruning could yield even greater efficiency.
Conclusion
GSSL demonstrates that randomized, data-driven feature generation is a powerful alternative to traditional search in Markov network structure learning. By decoupling the proposal of features from their evaluation, GSSL matches the predictive power of state-of-the-art methods while offering the scalability required for modern, high-dimensional datasets. Future work will focus on more sophisticated pruning strategies to further reduce the burden on the final weight learning phase.
Summary updated