mlsanityData to 7 Oct 2026

The Gradient of Algebraic Model Counting

arXiv 2502.18406 ↗First posted 25 Feb 2025cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Algebraic model counting unifies many inference tasks on logic formulas by exploiting semirings. Rather than focusing on inference, we consider learning, especially in statistical-relational 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-the-art gradient-based optimisation methods for probabilistic logical models. We also discuss why algebraic model counting on tractable circuits does not lead to more efficient second-order optimization. Empirically, our algebraic backpropagation exhibits considerable speed-ups as compared to existing approaches.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 13 of its 41 references that are in the map. First posted on arXiv 25 Feb 2025.

Builds on

13 of 41 references.

References · 13

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 389
  4. 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 267
  5. 2020Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuitscited by 102
  6. 2013A Differential Approach to Inference in Bayesian Networkscited by 93
  7. 2022Scaling Up Probabilistic Circuits by Latent Variable Distillationcited by 35
  8. 2020The Model Counting Competition 2020cited by 24
  9. 2020Group Fairness by Probabilistic Modeling with Latent Fair Decisionscited by 22
  10. 2019Smoothing Structured Decomposable Circuitscited by 14
  11. 2023Differentiable Sampling of Categorical Distributions Using the CatLog-Derivative Trickcited by 13
  12. 2016The Sum-Product Theorem: A Foundation for Learning Tractable Modelscited by 8
1 more
  1. 2023Generalizing Backpropagation for Gradient-Based Interpretabilitycited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.