TL;DR
LSM (Learning using Structural Motifs) is the first structure learner for Markov Logic Networks (MLNs) capable of efficiently discovering long, complex formulas. By identifying and searching within "structural motifs"—recurring patterns of densely connected objects—LSM achieves speedups of up to five orders of magnitude over previous state-of-the-art methods while maintaining or improving predictive accuracy.
What Problem Does This Paper Address?
Markov Logic Networks (MLNs) are powerful tools that combine the formal expressive power of first-order logic with the probabilistic robustness of graphical models. However, "learning" an MLN—specifically, discovering the logical formulas (structure) that describe a dataset—is a computational nightmare. The search space for these formulas is super-exponential.
Until this paper, most learners were limited to finding very short clauses (4–5 literals). Top-down approaches were too slow and prone to local optima, while bottom-up approaches (which use the data to suggest formulas) became bogged down by an exponential number of possible paths between objects. This meant MLNs couldn't capture the complex, long-range dependencies often found in real-world relational data.
Methods
The authors introduce LSM, which operates on the insight that relational data is not random; it consists of recurring "structural motifs."
- Hypergraph Representation: LSM views the database as a hypergraph where constants (like people or papers) are nodes and true relations (like
TaughtBy(course, person)) are hyperedges. - Random Walks & Hitting Times: To find motifs, LSM performs random walks starting from various nodes. It uses "truncated hitting times" to measure how "close" nodes are to one another.
- Motif Identification: It groups nodes that are "symmetrical"—meaning they have similar distributions of paths connecting them. These groups are compressed into a "lifted hypergraph," which represents a high-level concept (a motif).
- Constrained Search: Instead of searching the entire, massive database for formulas, LSM only searches within these identified motifs.
- Efficiency Gains: Because motifs are small and dense, the search is much faster. Furthermore, LSM only needs to search a unique motif once, even if that pattern appears thousands of times in the actual data.
Datasets
The authors evaluated LSM on three standard relational benchmarks:
- IMDB: A dataset of movies, actors, and directors.
- UW-CSE: Data describing an academic department (students, professors, courses).
- Cora: A large collection of computer science citations used for header and venue deduplication.
Key Insights and Ideas
- The Power of Symmetry: The core "aha moment" is that many objects in a database are structurally indistinguishable. By clustering these symmetrical objects into motifs, you can drastically reduce the search space without losing the ability to find complex rules.
- Filtering Spurious Links: In a raw database, everything might be connected to everything else through weak or "noisy" links. Motifs act as a filter, focusing the learner on the dense, meaningful interactions that actually lead to good logical rules.
- Searching Once, Applying Everywhere: By abstracting a motif, the algorithm avoids redundant work. If a specific pattern of "Professor-Student-Paper" exists in ten different departments, LSM finds the rule once in the motif rather than ten times in the data.
Key Results
- Massive Speedups: On the task of learning long formulas (up to 10 literals), LSM was consistently 100 to 100,000 times faster than the previous state-of-the-art (LHL).
- Better Accuracy: On the complex Cora dataset, LSM significantly outperformed other learners in both Area Under the Precision-Recall Curve (AUC) and Conditional Log-Likelihood (CLL).
- Complexity: LSM successfully discovered formulas with more than 5 literals—a feat that was previously considered computationally intractable for general MLN structure learning.
Limitations and Future Work
While LSM is a major leap forward, the authors note a few areas for improvement:
- Heuristic Pruning: One of their speed-up heuristics (evaluating clauses against motif-specific hypergraphs) actually slightly decreased performance on the very small IMDB dataset, suggesting it's best suited for larger, noisier data.
- Granularity: The current approach finds motifs at a single level of abstraction. Future work could involve discovering motifs at multiple granularities (e.g., a "Research Group" motif nested inside a "Department" motif).
- Hybrid Approaches: The authors suggest that combining LSM's motif discovery with other search strategies (like top-down refinement) could yield even more robust results.
Summary updated