TRANSMISSION // 2507.08216v3

How AI’s Logic Grounding Shapes What It Can Reason About

Source published

A study of neural-symbolic AI finds that choosing which logical rule instances to include can matter as much as choosing the reasoning model itself.

AI-generated conceptual illustration for How AI’s Logic Grounding Shapes What It Can Reason About
AI-generated conceptual illustration; not documentary evidence.

Neural-symbolic AI combines learned predictions with rules written in logic. But those rules can produce huge numbers of possible cases to examine. A study of knowledge-graph prediction explores how to select a manageable subset—and what that choice may cost.

The hidden choice behind rule-based AI

A knowledge graph stores facts as linked entities: for example, that one place is in another, or that two people are related. Neural-symbolic AI systems can combine such facts and logical rules with machine-learning models that estimate which facts are likely to be true. This can help a system infer a connection that is not explicitly recorded.

But there is a practical question before the reasoning begins: which possible applications of each rule should the system consider? This step is called grounding. A rule such as “if A is in B, and B is in C, then A is in C” can be applied to many combinations of entities. Considering every possible combination may create a very large computation. Considering only a narrow selection is faster, but may omit useful context.

In a paper published in the IJCAI-25 proceedings, Rodrigo Castellano Ontiveros and colleagues propose a framework for studying that trade-off. Their central message is that grounding is not merely a technical detail: the way a system selects rule instances can influence its predictive performance and computing demands.

A dial for how much reasoning to include

The authors build their approach around Backward Chaining, a classic logic-programming strategy. Rather than expand every rule across every entity, it starts with a query—such as whether a particular relationship holds—and works backward through rules that could support it. Each possible supporting step becomes a smaller question to investigate.

The proposed family of grounders has two main controls. Depth limits how many reasoning steps a proof can take. Width limits how many body facts in a rule may be missing from the known data and treated as sub-goals. The authors also distinguish between rejecting a candidate proof when it includes unknown facts and allowing the model to use its learned scores for those facts.

By changing these settings, the framework can represent several existing grounding strategies as special cases. At one extreme, a system can consider a broad set of possible ground facts; at another, it can use only rule applications whose body facts are already known. This gives researchers a shared way to compare methods that might otherwise use different selection rules.

The experiments test link prediction: estimating missing relationships in knowledge graphs. They use several datasets, including Countries, Kinship, WN18RR and FB15k-237, and compare multiple neural-symbolic models and grounding settings. A ComplEx knowledge-graph embedding model serves as a baseline, allowing the researchers to examine what happens when reasoning layers are added under different grounding choices.

More reasoning can help—but it has a price

On the Countries tasks, which require increasingly complex chains of reasoning, deeper grounding generally helped when the task needed more hops. In one test designed around one-, two- and three-step reasoning, the grounder needed greater depth to perform well on the more demanding cases. On other Countries settings, the best depth varied with task complexity and model; one tested model also tended to overfit on a more complex setting.

The larger knowledge-graph experiments show why simply increasing depth is not a universal answer. On WN18RR, the paper reports that moving one model from a shallow to a deeper grounding setting improved mean reciprocal rank by 1.6 points, while increasing training and inference times by about threefold. The authors also report that full grounding was not feasible for WN18RR or Kinship within their stated computational conditions. For FB15k-237, those constraints limited the reported experiments to the shallow setting.

The results support a practical balance: deeper searches can expose useful reasoning paths, but they expand the computation. A shallow search may still work well because the neural component can use learned scores, rather than relying only on complete formal proofs. The authors’ broader conclusion is that the grounding criterion can be as important to results as the choice of neural-symbolic method.

What remains uncertain

These experiments concern link prediction on knowledge graphs, not every kind of neural-symbolic AI task. Performance and computing costs may differ with other datasets, rules, model designs or hardware. The paper also describes its grounders as static: they do not use the learner’s evolving predictions to decide dynamically which new atoms to include. The authors identify dynamic grounding as future work, rather than a capability established here.

The paper appears in the IJCAI-25 proceedings, and the supplied arXiv record links to that work. The findings are bounded by the tested datasets, models and computational setup; they do not establish a universally best grounding strategy. The contribution is a framework for making this often-overlooked design choice more explicit—and for testing the trade-off between richer logical context and computational scale.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.