Neural-symbolic Computing: An Effective Methodology for Principled Integration of Machine Learning and Reasoning

Artur S. d'Avila Garcez, Marco Gori, Luís C. Lamb, Luciano Serafini, Michael Spranger, Son N. Tran

Introduction

Neural-Symbolic (NeSy) computing represents a comprehensive methodology for the principled integration of machine learning and symbolic reasoning. While deep learning has achieved remarkable success in perception-based tasks like vision and audio processing, it remains a "black box" that often requires massive datasets, struggles with explainability, and is prone to catastrophic forgetting. Conversely, symbolic logic excels at high-level reasoning and transparency but is brittle when faced with noisy, real-world data. NeSy computing seeks to bridge this divide by representing logical rules within neural architectures, creating AI systems that are high-performing, interpretable, and data-efficient.

The Core Challenge: Connectionism vs. Symbolism

The fundamental divide in AI lies between connectionism (statistical learning) and symbolism (rule-based logic). To achieve human-level AI, systems must satisfy Leslie Valiant’s criteria: the dual ability to learn from an environment and reason from what has been learned. NeSy computing addresses this by embedding symbolic knowledge into the structure of neural networks, allowing for a hybrid approach that leverages the strengths of both paradigms.

Methodologies in Neural-Symbolic Integration

Research in NeSy computing can be categorized into a unified taxonomy of methods focusing on representation and learning:

Knowledge Representation

A primary challenge is translating logical formulas into neural network structures. Early pioneering systems like KBANN (Knowledge-Based Artificial Neural Network) and CILP (Connectionist Inductive Learning Program) map logical atoms to neurons and implications to weighted connections. Modern approaches have evolved toward Tensorisation, where constants are represented as vectors and predicates as tensors, enabling logic to be computed via standard matrix operations.

Figure 4: Comparison of KBANN and CILP architectures for mapping logic to neural networks.

Learning Paradigms

  • Horizontal Hybrid Learning: Logical rules act as constraints or regularizers during training, guiding the network toward solutions that are logically or physically sound.
  • Vertical Hybrid Learning: This "sandwich" approach uses neural networks for raw perception (e.g., object identification) and a symbolic layer for higher-level reasoning (e.g., action recognition).
  • Differentiable Logic: Logical operators (AND, OR, NOT) are replaced with continuous, differentiable functions, allowing the entire hybrid system to be optimized using backpropagation.

Applications and Benchmarks

NeSy systems have demonstrated success across diverse domains where pure deep learning often struggles:

  • Bioinformatics: Early use of KBANN for gene sequence analysis.
  • Semantic Image Interpretation: Logic Tensor Networks (LTN) applied to the Pascal dataset for scene understanding.
  • Multi-agent and Temporal Reasoning: Classic logic problems, such as the "Muddy Children" puzzle, are used to test the ability of networks to handle epistemic and temporal logic over multiple steps.
Figure 1: Multi-agent neural-symbolic architecture showing agents evolving through time steps t1 to t3.

Key Insights and Results

NeSy computing offers several distinct advantages over traditional deep learning:

  • Compositionality and Modularity: Systems are modular, allowing perception or reasoning components to be updated independently.
  • Data Efficiency: By instilling prior human knowledge via logic, models require significantly less training data to reach high performance.
  • Intrinsic Explainability: Logic is not just a post-hoc explanation; it is the actual mechanism the network uses to reach its conclusion.

Quantitative milestones include proofs of mathematical soundness for architectures like CILP, which are equivalent to specific logic programs. Furthermore, systems like DeepProbLog have successfully integrated vision with probabilistic logic to solve complex reasoning tasks that standard convolutional neural networks cannot.

Limitations and Future Frontiers

Despite significant progress, several challenges remain:

  • Scalability: The process of "propositionalisation" can lead to an exponential explosion of rules in complex domains.
  • Symbol Grounding: Automatically learning the mapping between raw sensory data (pixels) and abstract symbols (concepts) without human intervention remains difficult.
  • Backward Chaining: While forward-deducing facts is straightforward for neural nets, goal-directed backward reasoning is still a significant hurdle.

The ultimate goal remains creating systems that can truly extrapolate beyond their training distributions, achieving a level of generalization that mirrors human intelligence.

Summary updated

BibTeX
@article{garcez2019neural,
  author = {Artur S. d'Avila Garcez and Marco Gori and Luís C. Lamb and Luciano Serafini and Michael Spranger and Son N. Tran},
  title = {{Neural-symbolic Computing: An Effective Methodology for Principled Integration of Machine Learning and Reasoning}},
  journal = {FLAP},
  year = {2019},
}
Figure