English

NeuralFastLAS: Fast Logic-Based Learning from Raw Data

Machine Learning 2023-10-10 v1 Artificial Intelligence

Abstract

Symbolic rule learners generate interpretable solutions, however they require the input to be encoded symbolically. Neuro-symbolic approaches overcome this issue by mapping raw data to latent symbolic concepts using a neural network. Training the neural and symbolic components jointly is difficult, due to slow and unstable learning, hence many existing systems rely on hand-engineered rules to train the network. We introduce NeuralFastLAS, a scalable and fast end-to-end approach that trains a neural network jointly with a symbolic learner. For a given task, NeuralFastLAS computes a relevant set of rules, proved to contain an optimal symbolic solution, trains a neural network using these rules, and finally finds an optimal symbolic solution to the task while taking network predictions into account. A key novelty of our approach is learning a posterior distribution on rules while training the neural network to improve stability during training. We provide theoretical results for a sufficient condition on network training to guarantee correctness of the final solution. Experimental results demonstrate that NeuralFastLAS is able to achieve state-of-the-art accuracy in arithmetic and logical tasks, with a training time that is up to two orders of magnitude faster than other jointly trained neuro-symbolic methods.

Keywords

Cite

@article{arxiv.2310.05145,
  title  = {NeuralFastLAS: Fast Logic-Based Learning from Raw Data},
  author = {Theo Charalambous and Yaniv Aspis and Alessandra Russo},
  journal= {arXiv preprint arXiv:2310.05145},
  year   = {2023}
}

Comments

Pre-print, work in progress

R2 v1 2026-06-28T12:43:52.265Z