Statistical Relational Learning (SRL) frameworks, such as Markov Logic Networks (MLNs) and Relational Logistic Regression (RLR), combine the structured representation of first-order logic with the capacity to handle uncertainty. They achieve this by defining probabilistic dependencies using templates. Instead of assigning probabilities to specific individuals, these models assign weights to logical formulas that apply universally across a domain of entities.
While this template-based approach is elegant, it introduces a fundamental vulnerability: domain size sensitivity. When a model trained on a small population is evaluated on a larger one, the underlying probability distributions often distort, collapse, or undergo radical phase transitions. Understanding why this happens requires looking at how combinatorial growth interacts with fixed weights.
The Mechanics of Failure: Combinatorial Explosion and Weight Irrelevance
To understand why relational models fail at scale, consider how a template translates into a concrete probability distribution. When a model is instantiated over a specific domain, its logical formulas are "grounded"—meaning every possible combination of entities is substituted into the template.
If a formula contains a single variable (e.g., $\text{Smoker}(x)$), the number of ground formulas scales linearly with the domain size $N$. But if a formula describes a relationship between multiple entities (e.g., $\text{Friends}(x, y) \land \text{Friends}(y, z) \implies \text{Friends}(x, z)$), the number of groundings grows polynomially—in this case, $O(N^3)$.
As discovered by Kristian Kersting et al., representing probabilistic dependencies through fixed weights rather than direct probabilities causes the effective strength of a constraint to fluctuate based on the domain size. In an MLN, the probability of a world state is proportional to the exponentiated sum of its weighted true groundings:
$$P(X) \propto \exp\left( \sum_{i} w_i \cdot n_i(X) \right)$$
Where $w_i$ is the weight of formula $i$ and $n_i(X)$ is the number of times that formula is true in state $X$. As the domain size $N$ increases, the number of groundings $n_i$ for complex formulas grows vastly faster than for simpler ones. As a result, Ondrej Kuzelka et al. demonstrate that fixed weights allow complex logical formulas to disproportionately dominate the distribution as the number of nodes increases, destroying the balance calibrated during training.
This dominance triggers a phenomenon known as probability shattering. As documented by Happy Mittal et al., when the domain size scales up, marginal probabilities frequently converge to fixed extreme constants (0 or 1) regardless of the learned weights. The statistical evidence captured during training becomes mathematically irrelevant, rendering the model incapable of making nuanced predictions in large-scale environments.
Non-Monotonic Scaling and Phase Transitions
Intuitively, one might expect that adding more individuals to a network would smoothly increase or decrease the probability of an outcome. However, the math governing relational models does not behave linearly.
David Poole et al. showed that population size acts as a hidden variable that can induce highly non-monotonic behavior. The likelihood of an event might peak at a specific group size before sharply declining as more individuals are added.
Marginal Probability
1.0 | / \
| / \
| / \
0.5 | / \------------------- (Shatters to constant)
| /
0.0 |____/_____________________________
0 Small Large Domain Size (N)
(Training) (Inference)
Worse still, these models undergo sharp phase transitions. A model can behave predictably within a small population, but as the population crosses a critical threshold, a tiny change in a learned weight can cause a dramatic, sudden jump in global probability. This instability means that parameters calibrated on small groups become highly volatile when transferred to larger environments.
The Mathematical Ideal: Projectivity
To build relational models that can safely transfer across scales, researchers study a property called projectivity. A relational model is projective if the joint probability distribution it defines over a subset of entities remains identical whether computed directly on that subset or marginalized out from a larger domain.
As Ondrej Kuzelka et al. and SAGAR MALHOTRA et al. point out, standard MLNs inherently suffer from domain size dependence and lack projectivity because their raw weights tie the distribution's behavior directly to the total entity count. This makes learning from sub-sampled data or generalizing to new scales fundamentally unreliable.
To resolve this, Manfred Jaeger et al. leveraged the mathematical theory of infinite exchangeable arrays to provide a complete characterization of projectivity. The authors proved that for a relational model to be truly projective—and thus completely immune to domain-size inconsistencies—it must be representable as a specific class of directed latent variable models (known as AHK models).
Restoring Scale Invariance
Recognizing that standard fixed-weight models break at scale, recent research focuses on making models explicitly aware of domain size during parameterization.
One prominent solution is the introduction of Domain-Size Aware MLNs (DA-MLNs) by Happy Mittal et al.. Instead of keeping weights constant, DA-MLNs dynamically re-parameterize formula weights as a function of the domain size $N$. By scaling the weights downward as the number of potential groundings explodes, DA-MLNs prevent probability shattering and ensure that marginal probabilities remain well-behaved and meaningful at any scale.
Alternatively, the problem can be bypassed by changing how we learn parameters. By framing parameter estimation as a relational marginal problem, Ondrej Kuzelka et al. established a mathematical duality between maximum-entropy distributions and maximum-likelihood estimation. This framework allows researchers to calculate strict bounds on estimation errors and mathematically scale relational models across different domain sizes without relying on fragile, fixed-weight assumptions.
Key Foundational Work
Aggregation and Population Growth: The Relational Logistic Regression and Markov Logic Cases (2012) — contributed 6 concept elements to this direction.
An Exercise with Statistical Relational Learning Systems (2009) — contributed 3 concept elements to this direction.