TL;DR
This paper introduces the first "lifted" online training method for Statistical Relational Models. By shattering a single massive dataset (a "mega-example") into smaller, tree-structured pieces, the authors enable the use of stochastic gradient methods and exploit symmetries that would otherwise be broken in the full model, resulting in training speeds over an order of magnitude faster than traditional batch methods.
Introduction: The Challenge of Relational Learning
Statistical Relational Learning (SRL) models, such as Markov Logic Networks (MLNs), offer a powerful synthesis of logic and probability for modeling complex, interconnected domains. However, their training remains a significant computational bottleneck due to two primary issues:
- Symmetry Breaking: "Lifted" inference techniques achieve efficiency by grouping identical objects. However, real-world evidence often breaks these symmetries, forcing a fallback to computationally expensive "grounded" calculations.
- The Mega-Example Problem: Unlike standard machine learning where data consists of independent samples, relational domains often present a single, massive "mega-example"—a web of interconnected facts. This structure makes it difficult to apply Stochastic Gradient Descent (SGD), which relies on iterating through distinct examples.
Methodology: Lifted Online Training
The authors propose a Lifted Online Training framework designed to overcome these hurdles by decomposing the global model into manageable, "liftable" components.
Piecewise Shattering
The first step involves decomposing the global factor graph into smaller subgraphs, or "pieces." This transformation converts a single monolithic training task into a series of smaller tasks, facilitating incremental or online learning.
Relational Tree Shattering
To balance computational efficiency with the preservation of local context, the authors introduce Relational Tree Shattering (Algorithm 1). Instead of using arbitrary subgraphs, they grow tree-structured patterns via random walks starting from specific factors. Trees are inherently easier to process than loopy graphs and are small enough to preserve many "liftable" symmetries that would be lost in the full graph.
Lifted Stochastic Meta-Descent
The framework utilizes a Lifted Stochastic Meta-Descent (SMD) optimizer (Algorithm 2). This optimizer employs natural gradients to account for parameter space geometry and gain vector adaptation for individual step sizes. By performing lifted belief propagation within each mini-batch, the method maintains high throughput.
Evaluation and Results
The approach was evaluated across four domains: the Friends-and-Smokers MLN, Voting MLN, CORA Entity Resolution, and a Wumpus relational imitation learning task.
- Superior Speed: The lifted SMD optimizer achieved convergence over an order of magnitude faster than standard batch methods like Scaled Conjugate Gradient (SCG).
- Scalability: In the Wumpus domain, containing over 180,000 factors, the batch learner failed to converge within 72 hours, whereas the lifted online method converged in minutes.
- Contextual Accuracy: Tree-structured pieces consistently outperformed single-factor pieces (depth 0) by capturing essential local dependencies, such as the relationship between "same author" and "same paper" in bibliographic data.
Discussion: Insights and Future Directions
A key insight of this work is that local is liftable. While evidence often breaks symmetries globally, local pieces often remain highly symmetric, allowing lifted inference to provide massive speedups. Furthermore, the method often achieves "one-pass learning," converging before the entire mega-example has been processed.
Future work includes exploring training under strict resource budgets, further parallelizing the piecewise decomposition, and investigating more robust gain adaptation strategies to enhance one-pass learning capabilities.
Summary updated