Introduction
NeuralFastLAS is a novel neuro-symbolic framework designed to bridge the gap between perception and reasoning. Traditional AI systems often struggle with a "chicken-and-egg" problem: a neural network needs a training signal from a logic engine to learn perception, but the logic engine cannot induce correct rules if the neural network provides noisy, incorrect guesses. Existing solutions either rely on hand-coded rules or computationally expensive iterative searches that fail to scale. NeuralFastLAS addresses this by jointly learning to "see" and "reason" directly from raw data, achieving state-of-the-art accuracy with significantly reduced training times.
Methods: Joint Learning via Rule Distributions
The core of NeuralFastLAS is its ability to train both components jointly without massive overhead. It builds upon FastLAS, an Inductive Logic Programming (ILP) system, using a unique pipeline:
- Opt-Sufficient Subsets: Instead of searching for rules in every epoch, the system performs "Abduction" upfront to find all possible symbolic labels explaining the data. It constructs a pruned collection of rules guaranteed to contain the optimal solution.
- Posterior Rule Distribution: A key novelty is the learning of a probability distribution ($\theta_R$) over candidate rules. This acts as a stabilizer; the system "hedges its bets" while the perception network is still uncertain, preventing it from getting stuck in local minima.
- Semantic Loss: A semantic loss function bridges the gap between the neural network's continuous outputs and the discrete logic world, allowing the network to learn from the "meaning" of the rules.
Experimental Evaluation
The authors evaluated NeuralFastLAS on two primary challenges:
- MNIST Arithmetic: Tasks such as $a + b + c$ and $a \times b \times c$ using raw images of handwritten digits. These tasks are difficult due to the large range of possible outcomes (e.g., up to 729 for multiplication).
- Even9Plus (E9P): A logical reasoning task testing the system's ability to handle negation-as-failure (e.g., reasoning about what is not true).
Key Results and Efficiency
NeuralFastLAS demonstrates significant improvements in both accuracy and training efficiency. It consistently achieves 96-98% accuracy across all tasks, outperforming baselines like standard CNNs and other neuro-symbolic systems like NSIL and MetaABD.
The most striking result is the speedup. By pre-calculating the rule subset and performing symbolic learning in a single pass, NeuralFastLAS avoids the "slow training" trap of iterative search models.
As shown in the results, on the $a + b + c$ task, NeuralFastLAS trained in just 0.8 minutes, compared to 18.2 minutes for NSIL (22x slower) and 245.4 minutes for MetaABD (306x slower). In "Large" search space experiments, where other systems timed out after 24 hours, NeuralFastLAS finished in under 30 minutes with high accuracy.
Conclusion and Future Work
NeuralFastLAS represents a major step forward in neuro-symbolic AI, proving that expressive logic can be learned efficiently from raw data. While currently restricted to non-recursive tasks and requiring a predefined "mode bias," the framework's ability to handle complex Answer Set Programming (ASP) constructs like negation makes it highly versatile. Future work will focus on lifting the non-recursion restriction to further expand its applicability.
Summary updated