Approximate Counting of Linear Extensions in Practice
Abstract
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.
Cite
Text
Talvitie and Koivisto. "Approximate Counting of Linear Extensions in Practice." Journal of Artificial Intelligence Research, 2024. doi:10.1613/JAIR.1.16374Markdown
[Talvitie and Koivisto. "Approximate Counting of Linear Extensions in Practice." Journal of Artificial Intelligence Research, 2024.](https://mlanthology.org/jair/2024/talvitie2024jair-approximate/) doi:10.1613/JAIR.1.16374BibTeX
@article{talvitie2024jair-approximate,
title = {{Approximate Counting of Linear Extensions in Practice}},
author = {Talvitie, Topi and Koivisto, Mikko},
journal = {Journal of Artificial Intelligence Research},
year = {2024},
pages = {643-681},
doi = {10.1613/JAIR.1.16374},
volume = {81},
url = {https://mlanthology.org/jair/2024/talvitie2024jair-approximate/}
}