mlsanityData to 7 Oct 2026

Boolean Matrix Logic Programming on the GPU

arXiv 2408.10369 ↗First posted 19 Aug 2024cs.SC cs.AI cs.LOcited by 1

Not on the map. Why?

Abstract (arXiv)

Traditional logic programming relies on symbolic computation on the CPU, which can limit performance for large-scale inference tasks. Recent advances in GPU hardware enable high-throughput matrix operations, motivating a shift toward parallel logic inference. Boolean Matrix Logic Programming (BMLP) introduces a novel approach to datalog query evaluation using Boolean matrix algebra, well-suited to GPU acceleration. Building on this paradigm, we present two GPU-accelerated BMLP algorithms for bottom-up inference over linear dyadic recursive datalog programs. We further extend the BMLP theoretical framework to support general linear recursion with binary predicates. Empirical evaluations on reachability queries in large directed graphs and the Freebase 15K dataset show that our methods achieve 1-4 orders of magnitude speed up over state-of-the-art systems. These results demonstrate that Boolean matrix-based reasoning can significantly advance the scalability and efficiency of logic programming on modern hardware. Source code is available on https://github.com/lun-ai/BMLP.git.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 12 of its 47 references that are in the map. First posted on arXiv 19 Aug 2024.

Builds on

12 of 47 references.

References · 12

  1. 2017Learning Explanatory Rules from Noisy Datacited by 210
  2. 2017End-to-End Differentiable Provingcited by 159
  3. 2014Clingo = ASP + Control: Preliminary Reportcited by 56
  4. 2021Inductive logic programming at 30cited by 46
  5. 2020Abductive Knowledge Induction From Raw Datacited by 38
  6. 2019Logical reduction of metarulescited by 19
  7. 2013Towards a Formal Distributional Semantics: Simulating Logical Calculi with Tensorscited by 10
  8. 2023Search-Based Regular Expression Inference on a GPUcited by 6
  9. 2018Modular Materialisation of Datalog Programscited by 4
  10. 2017Embedding Tarskian Semantics in Vector Spacescited by 2
  11. 2023Optimizing Datalog for the GPUcited by 2
  12. 2024Boolean matrix logic programming for active learning of gene functions in genome-scale metabolic network modelscited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.