TSRGet The Daily Report
The Singularity Report

TSR Desk · science · 2 December 2026, 19:00 UTC

DecideSQL: Probabilistic Semantic Query Processing with Decision Models

What
DecideSQL: Probabilistic Semantic Query Processing with Decision Models
Who
arxiv.org
When
1 December 2026, 04:51 UTC
Category
Science
Primary source
https://arxiv.org/abs/2612.00962
What is not known
This brief does not claim independent replication. Claims that appear only on X and not in the primary source stay unknown.

Answer probabilities are SQL aggregates that implement the independent project of safe plans, and for the benchmark's queries a label planner follows each answer's lineage to the decisions whose labels would most reduce its expected error. It comes from a paper posted to arXiv on 1 December 2026. Semantic query engines let SQL filter and aggregate rows by what their text says, by prompting a large language model (LLM) for every row they read. Most return the rows the model accepts without a probability for each answer, and those that bound their errors do so relative to an LLM or to labels collected for one query, not to a reading of the text that the user chooses. Decision models, small models that return the probability of a yes instead of generating text, make per-answer probabilities cheap, and probabilistic databases have long known how to query such probabilities. We present DecideSQL, a semantic query engine on DuckDB that treats a natural-language predicate as a probabilistic relation whose probabilities a model supplies on demand. A decision store keys every decision by its decider, question and text, so a stored decision is not requested again, and Explain counts the decisions a query needs before any model is called. Calibration maps turn a model's scores into the probability that a reference of the user's choice says yes, where the reference can be the labels that came with the data or what the text says. References are stored like deciders, so one SQL query yields both an answer and the reference's answer. DecideSQL is an open-source Python package with a web interface, and it served as the testbed of an experimental study of decision models. On that study's benchmark, it answers every query from its store in tens of milliseconds on a laptop, and Explain predicts exactly the decisions of every query that carries probabilities to its answers.

Why it counts

Answer probabilities are SQL aggregates that implement the independent project of safe plans, and for the benchmark's queries a label planner follows each answer's lineage to the decisions whose labels would most reduce its expected error. DecideSQL is an open-source Python package with a web interface, and it served as the testbed of an experimental study of decision models. On that study's benchmark, it answers every query from its store in tens of milliseconds on a laptop, and Explain predicts exactly the decisions of every query that carries probabilities to its answers.

Sources

Primary source: primary source

What is not known

This brief does not claim independent replication. Claims that appear only on X and not in the primary source stay unknown.

No clip. The article still stands.