Re:Scallop – A Language for Neurosymbolic Programming
by xabush on Saturday March 22, 2025 @12:41PM
(#43446952)
How does Scallop scale on large knowledge bases (KBs) for doing probabilistic reasoning? I'm currently working on large KB with ~ 12M facts and trying to do probabilistic inference on it. So far I've been using [cplint](https://friguzzi.github.io/cplint/_build/html/index.html) which is based on SWI-Prolog. It works fine for toy examples, however, it doesn't finish running for the large KB - even after waiting for it for more than a week. Does know any Probabilistic Logic Programming (PLP) libraries that are fast and scale to large KBs? Preferably in Prolog ecosystem, but not a hard requirement.
[ Parent
| on HN ]
Re:Scallop – A Language for Neurosymbolic Programming
by nextos on Saturday March 22, 2025 @08:59PM
(#43450055)
ProbLog? https://dtai.cs.kuleuven.be/problog
Re:Scallop – A Language for Neurosymbolic Programming
by riku_iki on Saturday March 22, 2025 @11:49PM
(#43450768)
I am surprised you have problems with 12M facts and can't process them in a week, looks like bug in software you are using.
Re:Scallop – A Language for Neurosymbolic Programming
by xabush on Monday March 24, 2025 @09:50AM
(#43461084)
Thanks for the comment. Have you run cplint on a kb of the similar size before and gotten it to finish in reasonable time?