Video demonstrations of ProvSQL in action.

Preserving LLM Output Distributions for Probabilistic Query Evaluation

June 2026

Demonstration of a framework that keeps the whole output distribution of a language model instead of collapsing it to a single top prediction. Candidate values and their probabilities, obtained locally with Llama 3.1 over 10,612 Amazon musical products and 230,156 user reviews, are stored as JSONB mappings and turned by ProvSQL into mutually exclusive gates of a provenance circuit. Plain SQL queries are then evaluated probabilistically, with the uncertainty propagated through joins, group-by, and filters.

Paper PDF Paper DOI

Preserving LLM Output Distributions for Probabilistic Query Evaluation


Using a Probabilistic Database in an Image Retrieval Application

December 2024

Demonstration of a system that uses ProvSQL as the probabilistic database backend for content-based image retrieval. Uncertain feature vectors from a deep learning object detector are stored and queried, with result probabilities computed via ProvSQL’s knowledge compilation pipeline.

Paper PDF Paper DOI

Using a Probabilistic Database in an Image Retrieval Application


ProvSQL Demonstration

January 2018

The original demonstration of the ProvSQL system, accompanying the VLDB 2018 demonstration paper. Shows provenance tracking and probability management in PostgreSQL, including semiring provenance, where-provenance, and probabilistic query evaluation.

Paper PDF Paper DOI

ProvSQL Demonstration