Approximate Counting of Linear Extensions in Practice
We investigate the problem of computing the number of linear extensions of a given partial order on n elements. The problem has applications in numerous areas, such as sorting, planning, and learning graphical models. The problem is #P-hard but admits fully polynomial-time approximation schemes. However, the polynomial complexity bounds of the known schemes involve high degrees and large constant factors, rendering the schemes only feasible when n is some dozens. We present novel schemes, which stem from the idea of not requiring provable polynomial worst-case running time bounds. Using various new algorithmic techniques and implementation optimizations, we discover schemes that yield speedups by several orders of magnitude, enabling accurate approximations even when n is in several hundreds.
Authors
- Topi Talvitie (ORCID: https://orcid.org/0000-0003-0831-0997)
- Mikko Koivisto (ORCID: https://orcid.org/0000-0001-9662-3605)
Institutions
- University of Helsinki (FI)
Publication Details
- Journal
- Journal of Artificial Intelligence Research
- Published
- 2024-11-24
- DOI
- https://doi.org/10.1613/jair.1.16374
- Primary Topic
- Machine Learning and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00