Grounding Methods for Neural-Symbolic AI
Rodrigo Castellano Ontiveros, Francesco Giannini, Marco Gori, Giuseppe Marra, Michelangelo Diligenti
TL;DR
This work addresses the grounding bottleneck in Neural-Symbolic AI by introducing a parametrized framework that generalizes Backward Chaining to balance expressiveness and scalability. The authors formalize a family of BC_{w,d} grounders, connect them to established approaches, and show how grounding strategy critically influences NeSy performance across multiple KG link-prediction tasks. Through extensive experiments with R2N, SBR, and DCR models, they demonstrate that modest grounding depths can capture essential multi-hop reasoning with substantial gains, while deeper grounding or full grounding often yields diminishing returns or worsens generalization on large graphs. The findings underscore the practical importance of selecting appropriate grounding criteria and pave the way for dynamic, end-to-end trainable grounders that adapt to the learner’s predictions.
Abstract
A large class of Neural-Symbolic (NeSy) methods employs a machine learner to process the input entities, while relying on a reasoner based on First-Order Logic to represent and process more complex relationships among the entities. A fundamental role for these methods is played by the process of logic grounding, which determines the relevant substitutions for the logic rules using a (sub)set of entities. Some NeSy methods use an exhaustive derivation of all possible substitutions, preserving the full expressive power of the logic knowledge. This leads to a combinatorial explosion in the number of ground formulas to consider and, therefore, strongly limits their scalability. Other methods rely on heuristic-based selective derivations, which are generally more computationally efficient, but lack a justification and provide no guarantees of preserving the information provided to and returned by the reasoner. Taking inspiration from multi-hop symbolic reasoning, this paper proposes a parametrized family of grounding methods generalizing classic Backward Chaining. Different selections within this family allow us to obtain commonly employed grounding methods as special cases, and to control the trade-off between expressiveness and scalability of the reasoner. The experimental results show that the selection of the grounding criterion is often as important as the NeSy method itself.
