PosteriorBench: Evaluating Behavior Posterior Sampling in Language Models
Zhiyang Xun, Daniel D. Johnson, Sarah Schwettmann, Neil Chowdhury
Abstract
Rare language model behaviors can be difficult to study because obtaining them through ordinary sampling can require a very large number of samples. This motivates the behavior posterior sampling problem: given a language model and a behavior of interest, is there an algorithm that efficiently samples from the model's distribution over transcripts that exhibit this behavior? We introduce PosteriorBench, a benchmark for comparing algorithms by their compute cost and by how close their samples are to the true posterior in forward and reverse KL divergence. PosteriorBench contains 21 tasks on Qwen3.5-0.8B with behavior probabilities from to , each with exact posterior samples from a corpus of one billion labeled responses. We find that no method we evaluate is both efficient and faithful: simple methods like prompting are cheap but plateau at a high KL divergence from the posterior, fine-tuning on posterior samples is often cost-prohibitive, and several training methods from prior work do not perform better. Building a posterior sampler that can cheaply approximate the true posterior remains an open problem, and we hope PosteriorBench can measure progress towards this objective. Code and data are available at https://github.com/TransluceAI/PosteriorBench.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.CL
Related papers
LAF-ECG: Multi-Resolution Lead-Aware Fusion of Time-Series and Language Foundation Models for ECG Classification
Shared title terminologycs.LGKiana Taktehrani, Maryam Hosseini, Amir Keynia et al.
Adaptation or Poisoning? Security Risks of Conversational Test-Time Learning in Large Language Models
Shared title terminologycs.LGHonghao Feng, Shanhan Qu, Kai Tong et al.
CoHABIT: Complementary Evaluation of Furniture Layouts through Spatial Rules and Household Routines
Shared title terminologycs.LGEwsey Obzherin, Samira Atlangirieva, Anastasia Antsiferova et al.
Pain Reassessment from Pulse Waveforms with Language Model Explanations
Shared title terminologycs.LGCheng Ding, Jiaming Liu, Daoqiang Zhang
A Finite-Rate Selection Law for Annealed Gibbs Sampling
Shared title terminologycs.LGIzhar Ali, Muhammad Haris Khan, Saeed Ahmad
Interaction Retention and Output-Likelihood Training in Parallel Sampling
Shared title terminologycs.LGDa Li, Bo Jin, Xiaopeng Wei et al.