4 ms·
How does this compare to NeuraLogic? https://github.com/LukasZahradnik/PyNeuraLogic https://github.com/LukasZahradnik/PyNeuraLogic
by daralthus 4y ago
How does this compare to NeuraLogic?
https://github.com/LukasZahradnik/PyNeuraLogic https://github.com/LukasZahradnik/PyNeuraLogic
- joaquincabezas 4y agoI have been a few months into PyNeuraLogic because of its focus on Relational Deep Learning (in particular Lifted Relational Neural Networks). I would say the main selling point is extending GNNs (Graph Neural Networks) From what I can see on the Scallop website, the focus is on vision and NLP. So both are similar approaches combining deep learning with symbolic reasoning (and both are based in Datalog) but the problems they are tackling are quite different. Also, both approaches have made it to top conferences like NeurIPS and ICLR, so I guess this field is gaining momentum.
- daralthus 4y agoJust based on the docs, on the lowest level they both create a mapping from input features to relations. Then NeuraLogic has an example for implementing GCN like message passing with a simple relational rule: ``` node2(X) <= W node1(Y), edge(X, Y) ``` Do you know, is it possible to implement something on Scallop as well, or are the differences much larger?
- joaquincabezas 4y agoThe GCN implementation is based on the concept of templating (or lifting) which is not exploited in Scallop. In fact, this is the key idea of Neuralogic for joining deep learning and relational-logic representations. It is explained in the paper "Beyond Graph Neural Networks with Lifted Relational Neural Networks" (https://arxiv.org/abs/2007.06286 https://arxiv.org/abs/2007.06286) and you also have a series of blog posts at https://medium.com/@sir.gustav https://medium.com/@sir.gustav