Reducing LLM epistemic slop
Abstract This article is about how to use LLMs as an approximate joint probability distribution over tokens rather than as an expert system. I show how multinomial/ordinal queries with grammar constraints avoid errors related to greedy recursive generation, allow for uncertainty quantification via logits, and enable robust inference via invariant query reformulations which expose logical inconsistencies. For the binomial case, I also show how this additional information can be simply combined using the Beta distribution.