atlas

Research map / Learning theory and algorithms / Combinatorial and search optimization

Model Counting and Sampling via Semiring Extensions

AAAI 2024 · Learning theory and algorithms › Combinatorial and search optimization · approach: SAT and model counting solvers · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Lifts selective MPF queries over semirings into MPF queries that compute model counts and uniform model samples via a semiring extension, solved by generic tensor network contraction (MCSSE).

Problem

Model counting and uniform model sampling for selective MPF queries (e.g., #SAT and discrete optimization), which are not directly expressible as MPF queries over the original semiring.

Approach

A selective semiring extension combines a selective semiring with a second semiring (counting or set-of-partial-states) so that model counting, model set, and uniform model sampling become MPF queries over the extended semiring, solvable by unchanged generic contraction algorithms.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use MCSSE semiring extension for model countingMCSSE · 2022 Model Counting Competition CNF instancesinstances faster than all three state-of-the-art counters: fourHelped
Use direct MPF model countingDirect MPF model counter · 2022 Model Counting Competition CNF instancesinstances faster than all three state-of-the-art counters: 18Helped
Use MCSSE instead of WAPS for samplingCNF model sampling · CNF sampling datasetsampling time relative to WAPS: 49.5 times faster; 7.5 times fasterMixed

Surprising findings

Limitations

Experimental setup

Datasets: 2022 Model Counting Competition CNF benchmarks (200 problems) 773 CNF formulas constructed by Gupta et al. (2019)

Benchmarks: 2022 Model Counting Competition CNF instances 773-instance CNF sampling set from Gupta et al. 2019

Metrics: runtime number of instances solved time to one sample speedup factor

Baselines: SharpSAT-TD PySDD D4 WAPS direct MPF model counting

Builds on: marginalize a product function (Aji and McEliece 2000) algebraic model counting functional aggregate queries

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy