Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interoperability with boolean circuits #13

Open
LedaguenelArthur opened this issue Jul 1, 2024 · 3 comments
Open

Interoperability with boolean circuits #13

LedaguenelArthur opened this issue Jul 1, 2024 · 3 comments
Assignees

Comments

@LedaguenelArthur
Copy link

Hi,

Are there interoperability options with boolean circuits packages ? For instance convert a dDNNF into a pyjuice computation graph.

Best regards,
Arthur

@liuanji
Copy link
Member

liuanji commented Jul 2, 2024

Hi Arthur,

We are planning to integrate boolean circuit operations into pyjuice (either in this package or in another one that calls pyjuice) and add support to implement many neurosymbolic algorithms easily. Could you share what boolean circuit package you are using, and also what type of computations are you expecting? Thanks a lot!

Best,
Anji

@LedaguenelArthur
Copy link
Author

Hi @liuanji,

Thanks for your quick answer. I would be interested in interoperability with the SDD format (for instance used in https://github.com/art-ai/pypsdd) and dDNNF format produced by the knowledge compiler d4 (https://www.cril.univ-artois.fr/en/software/d4/).

I would like to compute both PQE (Probabilistic Query Evaluation) and MPE (Most Probable Explanation). This means respectively working with + and x gates ((+, x) semi-ring) and max and + gates ((max, +) semi-ring).

Best regards,
Arthur

@liuanji
Copy link
Member

liuanji commented Jul 9, 2024

Hi Arthur,

Sorry for the late reply. I am not very familiar with pypsdd but will try to take a look this month. I will try to implement an interface between pyjuice and pypsdd so that the PQE will be supported directly (it is just the forward pass in pyjuice).

Best,
Anji

@KareemYousrii KareemYousrii self-assigned this Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants