Automatic compile-time synthesis of entropy-optimal Boltzmann samplers

06/14/2022
by   Maciej Bendkowski, et al.
0

We present a famework for the automatic compilation of multi-parametric Boltzmann samplers for algebraic data types in Haskell. Our framework uses Template Haskell to synthesise efficient, entropy-optimal samplers generating random instances of user-declared algebraic data types. Users can control the outcome distribution through a pure, declarative interface. For instance, users can control the mean size and constructor frequencies of generated objects. We illustrate the effectiveness of our framework through a prototype generic-boltzmann-brain library showing that it is possible to control thousands of different parameters in systems of tens of thousands of ADTs. Our prototype framework synthesises Boltzmann samplers capable of rapidly generating random objects of sizes in the millions.

READ FULL TEXT
research
08/26/2022

Automatic Synthesis of Random Generators for Numerically Constrained Algebraic Recursive Types

In program verification, constraint-based random testing is a powerful t...
research
05/23/2019

Generative training of quantum Boltzmann machines with hidden units

In this article we provide a method for fully quantum generative trainin...
research
08/03/2017

Polynomial tuning of multiparametric combinatorial samplers

Boltzmann samplers and the recursive method are prominent algorithmic fr...
research
12/29/2011

Multi-q Analysis of Image Patterns

This paper studies the use of the Tsallis Entropy versus the classic Bol...
research
11/30/2021

On the challenges of using D-Wave computers to sample Boltzmann Random Variables

Sampling random variables following a Boltzmann distribution is an NP-ha...
research
01/18/2021

A superstatistical formulation of complexity measures

It is discussed how the superstatistical formulation of effective Boltzm...
research
09/26/2022

Relating description complexity to entropy

We demonstrate some novel links between entropy and description complexi...

Please sign up or login with your details

Forgot password? Click here to reset