News for hackers. Stuff that matters.
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.
Re:Scallop – A Language for Neurosymbolic Programming by nextos on Saturday March 22, 2025 @08:59PM (#43450055)
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?
Re:Scallop – A Language for Neurosymbolic Programming by riku_iki on Monday March 24, 2025 @11:39AM (#43462292)
I never used cplint, but I use other software (including I built myself) to process KBs with many billions of facts.
Re:Scallop – A Language for Neurosymbolic Programming by xabush on Friday March 28, 2025 @08:03AM (#43504307)
Is the software open-source? If so, can you share a link to it?