Jaron Maene, Luc De Raedt
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Algebraic model counting unifies many inference tasks on logic formulas by exploiting semirings. Rather than focusing on inference, we consider learning, especially in statisticalrelational and neurosymbolic AI, which combine logical, probabilistic and neural representations. Concretely, we show that the very same semiring perspective of algebraic model counting also applies to learning. This allows us to unify various learning algorithms by generalizing gradients and backpropagation to different semirings. Furthermore, we show how cancellation and ordering properties of a semiring can be exploited for more memory-efficient backpropagation. This allows us to obtain some interesting variations of state-of-theart gradient-based optimisation methods for probabilistic logical models. We also discuss why algebraic model counting on tractable circuits does not lead to more efficient secondorder optimization. Empirically, our algebraic backpropagation exhibits considerable speed-ups as compared to existing approaches.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2502.18406")
get_code_for_paper("2502.18406")
have("2502.18406")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2502.18406.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2502.18406)
Connect an agent — have() is free.