Tuning as convex optimisation: a polynomial tuner for multi-parametric combinatorial samplers

Maciej Bendkowski, Olivier Bodini, Sergey Dovgal
2/26/2020
math.COcs.CCcs.DM

Official code: maciej-bendkowski/boltzmann-brain (31 stars, BSD-3-Clause, last commit 2022-07-10). 1 more implementation below.

Abstract

Combinatorial samplers are algorithmic schemes devised for the approximate- and exact-size generation of large random combinatorial structures, such as context-free words, various tree-like data structures, maps, tilings, RNA molecules. They can be adapted to combinatorial specifications with additional parameters, allowing for a more flexible control over the output profile of parametrised combinatorial patterns. One can control, for instance, the number of leaves, profile of node degrees in trees or the number of certain sub-patterns in generated strings. However, such a flexible control requires an additional and nontrivial tuning procedure. Using techniques of convex optimisation, we present an efficient tuning algorithm for multi-parametric combinatorial specifications. Our algorithm works in polynomial time in the system description length, the number of tuning parameters, the number of combinatorial classes in the specification, and the logarithm of the total target size. We demonstrate the effectiveness of our method on a series of practical examples, including rational, algebraic, and so-called Pólya specifications. We show how our method can be adapted to a broad range of less typical combinatorial constructions, including symmetric polynomials, labelled sets and cycles with cardinality lower bounds, simple increasing trees or substitutions. Finally, we discuss some practical aspects of our prototype tuner implementation and provide its benchmark results.

View on arXivView PDF

Code Implementations(2)

BSD-3-Clause

Analytic sampler compiler for combinatorial systems

315Nix, PythonOct 23, 20164 years agoBSD-3-Clause
BSD-3-Clause

Multiparametric tuner for combinatorial specifications

61PythonMay 29, 20194 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{bendkowski2020tuning,
  title  = {Tuning as convex optimisation: a polynomial tuner for multi-parametric combinatorial samplers},
  author = {Maciej Bendkowski and Olivier Bodini and Sergey Dovgal},
  year   = {2020},
  eprint = {2002.12771},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.12771}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2002.12771.svg)](https://codeofpaper.com/paper/2002.12771)

Discussion