Saved in:
Bibliographic Details
Main Authors: Lei, Jinping, Takisaka, Toru, Peng, Junqiang, Xiao, Mingyu
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.05874
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913850580795392
author Lei, Jinping
Takisaka, Toru
Peng, Junqiang
Xiao, Mingyu
author_facet Lei, Jinping
Takisaka, Toru
Peng, Junqiang
Xiao, Mingyu
contents This paper proposes a novel approach to determining the internal parameters of the hashing-based approximate model counting algorithm $\mathsf{ApproxMC}$. In this problem, the chosen parameter values must ensure that $\mathsf{ApproxMC}$ is Probably Approximately Correct (PAC), while also making it as efficient as possible. The existing approach to this problem relies on heuristics; in this paper, we solve this problem by formulating it as an optimization problem that arises from generalizing $\mathsf{ApproxMC}$'s correctness proof to arbitrary parameter values. Our approach separates the concerns of algorithm soundness and optimality, allowing us to address the former without the need for repetitive case-by-case argumentation, while establishing a clear framework for the latter. Furthermore, after reduction, the resulting optimization problem takes on an exceptionally simple form, enabling the use of a basic search algorithm and providing insight into how parameter values affect algorithm performance. Experimental results demonstrate that our optimized parameters improve the runtime performance of the latest $\mathsf{ApproxMC}$ by a factor of 1.6 to 2.4, depending on the error tolerance.
format Preprint
id arxiv_https___arxiv_org_abs_2504_05874
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Systematic Parameter Decision in Approximate Model Counting
Lei, Jinping
Takisaka, Toru
Peng, Junqiang
Xiao, Mingyu
Artificial Intelligence
This paper proposes a novel approach to determining the internal parameters of the hashing-based approximate model counting algorithm $\mathsf{ApproxMC}$. In this problem, the chosen parameter values must ensure that $\mathsf{ApproxMC}$ is Probably Approximately Correct (PAC), while also making it as efficient as possible. The existing approach to this problem relies on heuristics; in this paper, we solve this problem by formulating it as an optimization problem that arises from generalizing $\mathsf{ApproxMC}$'s correctness proof to arbitrary parameter values. Our approach separates the concerns of algorithm soundness and optimality, allowing us to address the former without the need for repetitive case-by-case argumentation, while establishing a clear framework for the latter. Furthermore, after reduction, the resulting optimization problem takes on an exceptionally simple form, enabling the use of a basic search algorithm and providing insight into how parameter values affect algorithm performance. Experimental results demonstrate that our optimized parameters improve the runtime performance of the latest $\mathsf{ApproxMC}$ by a factor of 1.6 to 2.4, depending on the error tolerance.
title Systematic Parameter Decision in Approximate Model Counting
topic Artificial Intelligence
url https://arxiv.org/abs/2504.05874