Wow, I'm currently reading the Scallop paper, so funny to see it posted here! I really love the concept. This isn't just differentiable neurosymbolic declarative probabilistic programming; Scallop has the flexibility of letting you use various (18 included) or custom provenance semirings to e.g. track "proofs" why a relational fact holds, not just assign it a probability. Sounds cool but I'm still trying to figure ou…
Scallop – A Language for Neurosymbolic Programming
51–60 of 68 posts
Re: Scallop – A Language for Neurosymbolic Programming
#52How 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 i…
Re: Scallop – A Language for Neurosymbolic Programming
#53Wow, I'm currently reading the Scallop paper, so funny to see it posted here! I really love the concept. This isn't just differentiable neurosymbolic declarative probabilistic programming; Scallop has the flexibility of letting you use various (18 included) or custom provenance semirings to e.g. track "proofs" why a relational fact holds, not just assign it a probability. Sounds cool but I'm still trying to figure ou…
I'm pretty sure "differentiable" isn't necessary or sufficient to create valid and useful code.
In the other hand, these problems are routinely analyzed and solved by differentiable algorithms running on neural net substrates (e.g. you).
Re: Scallop – A Language for Neurosymbolic Programming
#54Ever since I learned about category theory and its relationship with symbolic reasoning I've suspected that AGI will come from elegantly combining symbolic reasoning and probabilistic reasoning. This is the first project I've seen that seems to be positioned that way. Very cool.
Re: Scallop – A Language for Neurosymbolic Programming
#55Earlier quoted context omitted.
I'm pretty sure "differentiable" isn't necessary or sufficient to create valid and useful code.
On the one hand, there are problems which by accident or design are nondifferentiable. Cryptography, for example. In the other hand, these problems are routinely analyzed and solved by differentiable algorithms running on neural net substrates (e.g. you).
Re: Scallop – A Language for Neurosymbolic Programming
#56How 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 i…
Re: Scallop – A Language for Neurosymbolic Programming
#57The problem with scallop is that no one has ever shown a single program that wasn't easier to write without it. Their papers usually contain also no examples, and the ones that do are a heck of a lot more complicated than asking the model to do it directly. The programming languages world let's them get away with this because they're excited to be relevant in the LLM universe. But I wouldn't accept any of this work i…
I think you misunderstand what a neuro-symbolic programming language (like Scallop) is for. It's not about performance, but safety. Making safe decisions becomes exponentially more important as ML / agents evolve, to avoid "performant" but ultimately inefficient/dangerous/wasteful inferences.
Re: Scallop – A Language for Neurosymbolic Programming
#58Earlier quoted context omitted.
On the one hand, there are problems which by accident or design are nondifferentiable. Cryptography, for example. In the other hand, these problems are routinely analyzed and solved by differentiable algorithms running on neural net substrates (e.g. you).
Nah, I'm not crackin crypto with my noggin buddy. Sorry.
Re: Scallop – A Language for Neurosymbolic Programming
#59Wow, I'm currently reading the Scallop paper, so funny to see it posted here! I really love the concept. This isn't just differentiable neurosymbolic declarative probabilistic programming; Scallop has the flexibility of letting you use various (18 included) or custom provenance semirings to e.g. track "proofs" why a relational fact holds, not just assign it a probability. Sounds cool but I'm still trying to figure ou…
https://www.cis.upenn.edu/~mhnaik/papers/neurips21.pdf
https://dl.acm.org/doi/10.1145/3591280
There is a 135 page book on Scallop https://www.cis.upenn.edu/~mhnaik/papers/fntpl24.pdf
Re: Scallop – A Language for Neurosymbolic Programming
#60Earlier quoted context omitted.
Yes, this seems to be what the symbolists always forget. We don’t use symbolism like this, we just have very dense neural connections that emerge from scale and approximate it
That's not really what symbolists actually argue. Read Fodor and Pylylshyn 1988 to better understand how symbolists view the relationship between symbolic representation and connectionist models. What you're saying is akin to saying there's no point in doing neuroscience or trying to understand neural-networks as its just particle physics deep down.
Fodor and Pylyshyn's Critique of Connectionism and the Brain as Basis of the Mind https://arxiv.org/abs/2307.14736