Introduction
Alps (Auto-encoding Logic Programs) is a novel framework that integrates the representational power of auto-encoders with the interpretability of symbolic logic. By substituting traditional neural networks with logic programs for both encoding and decoding, Alps learns "latent" relational features. These features significantly enhance the performance and transparency of statistical reasoning models when applied to complex relational data.
The Challenge: Bridging DL and SRL
Artificial Intelligence has long faced a dichotomy between Deep Learning (DL) and Statistical Relational Learning (SRL). Deep Learning excels at discovering latent representations but typically operates in Euclidean space, often losing the precise structural nuances of relational data like family trees or citation networks. Conversely, SRL utilizes first-order logic for exact data representation and reasoning but lacks the automated feature discovery capabilities of DL, often relying on pre-defined predicates. Alps addresses this gap by automating "predicate invention"—learning new, hidden relational features within an interpretable logical framework.
Methodology: Auto-encoding Logic Programs (Alps)
The Alps architecture mirrors a standard neural auto-encoder but utilizes logic-based components:
- The Encoder: A logic program that maps original facts (e.g.,
mother(X, Y)) into a "latent" representation using newly invented predicates (e.g.,latent1(X, Y)). - The Latent Space: Instead of numerical vectors, the latent space consists of a set of new logical facts. A "bottleneck" is imposed by limiting the number of facts allowed, forcing the system to capture high-level patterns.
- The Decoder: A secondary logic program that attempts to reconstruct the original input facts from the latent representation.
Learning in Alps is framed as a Constraint Optimization Problem (COP) rather than gradient descent. The system searches for logic rules that minimize "reconstruction loss"—the discrepancy between input data and the decoder's output. Efficiency is maintained through Large Neighborhood Search (LNS) and strategic pruning of redundant or non-contributory rules.
Experimental Evaluation
The framework was evaluated on several standard SRL benchmarks, including Cora-ER (entity resolution), WebKB (web page classification), UWCSE (university structure), and IMDB (movie relationships). The core test involved training a Markov Logic Network (MLN) on Alps' latent representations versus raw data.
Key Results
- Significant Performance Gains: The most notable improvement occurred on the Cora-ER dataset, where the Area Under the Precision-Recall Curve (AUC-PR) increased from a baseline of 0.18 to 0.68. This indicates that latent predicates successfully captured complex, non-obvious dependencies.
- Consistent Improvement: Across WebKB and IMDB, models using latent features showed an average AUC-PR improvement of approximately 0.18 points.
- Computational Viability: Most latent representations were learned in under an hour, demonstrating that the COP approach is feasible for mid-sized relational datasets.
Discussion and Future Work
Alps demonstrates that "Neural-Symbolic" AI can achieve high representational power without sacrificing clarity. Its built-in interpretability allows humans to read and understand the discovered "hidden features," a significant advantage over "black box" numerical embeddings.
However, challenges remain. The combinatorial search space for logic programs is computationally intensive compared to gradient descent, posing scaling issues for massive datasets. Additionally, current constraints on rule complexity (e.g., variable limits) may restrict expressiveness. Future research will focus on expanding the logical language and optimizing search strategies for larger-scale relational graphs.
Summary updated