Abstract
Traditional machine learning often assumes that data points are independent and identically distributed (i.i.d.). However, in domains like social networks, biology, and knowledge bases, the relationships between entities are as informative as the entities themselves. This paper surveys Relational Models, which leverage these interconnections to perform "collective learning," significantly improving predictive accuracy in networked environments by capturing global dependencies.
Beyond the i.i.d. Assumption
Most traditional machine learning algorithms rely on the i.i.d. assumption: the belief that data instances are Independent and Identically Distributed. In a standard spreadsheet, this implies that the data in one row does not affect the prediction for another.
However, real-world data is rarely isolated. In social networks, biological systems, and knowledge bases, the "links" between entities provide critical signals. For example, in social networks, homophily suggests that connected individuals often share similar traits. If these relationships are ignored, a massive amount of predictive information is lost. Relational models address this by mathematically representing and learning from complex, non-trivial domains where long-range dependencies are the norm.
Representing Relational Data
To model these domains effectively, data must be structured to preserve the links between entities. Rather than a single flat table, relational data is viewed as a collection of entities and predicates.
As illustrated above, entities (such as Jack or Mary) possess unary attributes (e.g., being a student) and participate in binary relationships (e.g., "Jack knows Mary"). Relational models aim to identify the underlying patterns and dependencies within these multi-relational structures.
Architectural Families
The paper categorizes relational models into three primary architectural families:
- Directed Relational Models (e.g., Probabilistic Relational Models - PRMs): These extend Bayesian networks to relational data using "templates" to define how attributes of different entities depend on one another.
- Undirected Relational Models (e.g., Markov Logic Networks - MLNs): These combine first-order logic with Markov networks. Logical rules (e.g., "Friends tend to have similar habits") are assigned weights based on their prevalence in the data.
- Relational Latent Variable Models:
- IHRM (Infinite Hidden Relational Model): A latent class approach that clusters entities into hidden groups to explain their relationships.
- RESCAL: A latent factor approach using tensor decomposition. It represents a database as a three-dimensional cube (subject, object, and relation type) and factorizes it to find hidden patterns.
Key Insights: Collective Learning
The "aha" moment of relational modeling is collective learning. This refers to the ability to predict an entity's attributes not just from its own data, but from its environment. For example, a person's income can be predicted more accurately by observing the income of their social connections.
While some practitioners use propositionalization—flattening relational data into a standard table via aggregate features—the authors argue this often misses the global dependencies that true relational models capture. There is a fundamental trade-off between interpretability and scalability: logic-based models (MLNs) are human-readable but difficult to scale, while latent factor models (RESCAL) scale to millions of entities but rely on abstract vectors.
Results and Scalability
Relational models consistently outperform non-relational approaches in tasks like link prediction and entity resolution. Specifically, RESCAL has proven powerful for web-scale data, successfully managing the YAGO ontology's millions of entities. These models are now essential for "cleaning" and completing massive databases like the Knowledge Vault by automatically filling in missing facts.
Future Directions
Despite their success, several challenges remain:
- Computational Complexity: "Structural learning"—automatically discovering logical rules—is computationally expensive.
- Hybrid Solutions: Future breakthroughs likely lie in combining the scalability of tensor factorization with the domain-specific constraints of logical rules.
- Dynamic Data: Most current models are static; extending these frameworks to handle sequential data and evolving networks is a major research frontier.
Summary updated