From Shallow to Deep Interactions Between Knowledge Representation, Reasoning and Machine Learning (Kay R. Amel group)

Zied Bouraoui, Antoine Cornuéjols, Thierry Denoeux, Sébastien Destercke, Didier Dubois, Romain Guillaume, João Marques-Silva, Jérôme Mengin, Henri Prade, Steven Schockaert, Mathieu Serrurier, Christel VrainarXiv 2019

Abstract

For decades, Artificial Intelligence has been bifurcated into two distinct paradigms: Knowledge Representation and Reasoning (KRR), which focuses on symbolic logic and structured expertise, and Machine Learning (ML), which emphasizes statistical pattern recognition from numerical data. This paper surveys the evolving landscape where these two fields intersect. By analyzing hybrid methodologies—ranging from neuro-symbolic integration to inductive logic programming—the authors argue that the historical separation is a false dichotomy. The paper identifies key synergies in handling uncertainty, causality, and explainability, proposing a roadmap for more robust, data-efficient, and interpretable AI systems.

Introduction: Bridging the Great Divide

Historically, the AI community has operated in silos. KRR researchers have often prioritized formal rigor and logical consistency, sometimes at the expense of scalability and data-driven adaptability. Conversely, the ML community has achieved remarkable success through deep learning and optimization, yet these models often function as "black boxes" that ignore structured human knowledge and struggle with out-of-distribution reasoning.

This survey addresses the "Great Divide" by showcasing how the strengths of one field can mitigate the weaknesses of the other. The authors posit that the future of AI lies not in the dominance of one paradigm over the other, but in "deep interactions" where symbolic structures and statistical learning are inextricably linked.

Methodological Synergies

The paper categorizes several existing hybrid methodologies that facilitate these interactions:

  • Knowledge-Informed Learning: This involves using "representation biases" (restricting the hypothesis space) and "search biases" (guiding optimization) to incorporate prior expert knowledge directly into ML models. This reduces the search space and improves data efficiency.
  • Inductive Logic Programming (ILP): A subfield of ML that learns models expressed in First-Order Logic. Because the output is symbolic, ILP models are inherently interpretable and can generalize from very small datasets.
  • Neuro-Symbolic Reasoning: These techniques attempt to map logical formulas onto neural network architectures. For example, using Recurrent Neural Networks (RNNs) to compute the semantics of a logic program allows for gradient-based optimization within a symbolic framework.
  • Formal Concept Analysis (FCA): A mathematical framework based on lattice theory that identifies conceptual structures within data, demonstrating that KRR tools can be used for data-driven discovery.
  • Analogical Reasoning: By utilizing the "a is to b as c is to d" framework, researchers can perform transfer learning and classification in low-data regimes, bridging the gap between structured comparison and statistical prediction.

Conceptual Insights: Beyond the Surface

One of the paper's most significant contributions is the identification of deep conceptual links between seemingly disparate fields:

Epistemic vs. Aleatory Uncertainty

Standard ML typically focuses on aleatory uncertainty—the statistical noise inherent in data. KRR provides the tools (such as Possibility Theory and Dempster-Shafer Theory) to handle epistemic uncertainty, which arises from a lack of knowledge. Distinguishing between "I am unsure because the data is noisy" and "I am unsure because I haven't seen this before" is critical for safety-critical applications like autonomous driving or medical diagnosis.

The EM Algorithm as Belief Revision

The authors highlight a fascinating theoretical bridge: the Expectation-Maximization (EM) algorithm, a staple of unsupervised learning, can be viewed as a form of Jeffrey’s rule of probability revision. This aligns a core ML optimization technique with classic KRR concepts of belief update.

Explainability via Counterfactuals

The paper links ML "adversarial examples" to KRR "counterfactuals." In both domains, the goal is to find the minimal change in input that alters the output. This suggests that the logical foundations of KRR can provide a formal basis for explaining why a deep learning model arrived at a specific decision.

Practical Results and Applications

The survey highlights several areas where hybrid approaches have yielded superior results:

  1. Robustness and Verification: Automated reasoners, such as SAT solvers, are increasingly used to verify the safety of neural networks, ensuring they are robust against adversarial attacks.
  2. Knowledge Graph Completion: Combining vector embeddings (ML) with ontological rules (KRR) has significantly improved the accuracy of predicting missing links in massive datasets like Freebase or WordNet.
  3. Preference Learning: KRR’s "CP-nets" offer a computationally efficient way to handle complex, conditional user preferences in recommendation systems, a task where pure ML often struggles with combinatorial explosions.

Challenges and Future Directions

Despite the promise of these hybrid systems, several hurdles remain. The primary challenge is computational complexity; many KRR tasks, such as reasoning in First-Order Logic, are NP-hard or undecidable, making them difficult to scale to the massive datasets typical of modern deep learning. Furthermore, reconciling the high-dimensional, continuous parameter space of neural networks with the discrete, symbolic nature of logic remains an open research question.

The authors conclude by calling for further research into using KRR to mitigate "catastrophic forgetting" in ML and developing "lazy preference learning" models that can operate effectively without complete datasets. This survey serves as a foundational step toward a unified AI that is both statistically powerful and logically sound.

Summary updated

BibTeX
@misc{bouraoui2019from,
  author = {Zied Bouraoui and Antoine Cornuéjols and Thierry Denoeux and Sébastien Destercke and Didier Dubois and Romain Guillaume and João Marques-Silva and Jérôme Mengin and Henri Prade and Steven Schockaert and Mathieu Serrurier and Christel Vrain},
  title = {{From Shallow to Deep Interactions Between Knowledge Representation, Reasoning and Machine Learning (Kay R. Amel group)}},
  year = {2019},
  eprint = {1912.06612},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.06612},
}
Figure