Transluce's PosteriorBench Exposes a Billion-Response Gap in AI Safety Testing
Transluce's new benchmark tests whether algorithms can efficiently sample a language model's rare behaviors, and finds no method hits both bars.
Takeaways
- Transluce introduces PosteriorBench, measuring how well methods sample rare LLM behaviors faithfully.
- 21 tasks on Qwen3.5-0.8B span behavior probabilities from 10⁻⁵ to 10⁻¹.
- Ground truth comes from one billion labeled model responses.
- Methods are scored by forward and reverse KL versus compute cost in inferences.
- No tested method is both cheap and faithful; training approaches fail to beat SFT.
- Code and data on GitHub and Hugging Face.
Transluce has released PosteriorBench, a benchmark for methods that surface rare language-model behaviors without distorting how those behaviors occur. Across 21 tasks, current methods either consume substantial compute or produce samples that diverge from the target model’s conditional output distribution. None delivers both low cost and high fidelity.
The event hiding in 100,000 generations
Behavior posterior sampling asks whether a system can efficiently draw outputs from a model, conditioned on those outputs exhibiting a specified behavior. The posterior describes the mix of responses the original model would produce under that condition, including their wording, context, and variation.
For a behavior with probability 10−5, ordinary sampling yields one expected match per 100,000 generations. Rejection sampling preserves the desired distribution by generating responses normally and discarding every miss, but its cost rises inversely with the event’s probability.
Faithfulness becomes difficult when a sampler actively pushes the model toward the target. A system prompt demanding profanity may raise the hit rate while changing the topics, tone, and phrasing associated with profanity. Safety researchers then receive examples shaped by the intervention instead of representative failures from the original model and prompt.
Inside a billion-response benchmark
PosteriorBench’s core benchmark contains 21 tasks built on Qwen3.5-0.8B, with event probabilities ranging from 10−5 to 10−1. Each task combines a fixed prompt with a behavior that a regular expression can detect, including profanity, a specific word mention, or a language switch during the response.
The authors generated and labeled one billion responses from the target model. Filtering those ordinary generations produces exact posterior samples for each event, while the full corpus supplies the reference data needed to evaluate competing samplers.
The benchmark reports forward and reverse Kullback-Leibler divergence, or KL divergence, against the reference posterior at different inference budgets. Forward KL penalizes missing portions of the reference distribution; reverse KL penalizes samples concentrated too narrowly. A method also needs a behavior hit rate of at least 10%. Samplers below that threshold fail the task and receive the benchmark’s fallback score, preventing low-hit methods from earning favorable KL results.
Higher hit rates introduce drift
The evaluation covers training-free interventions and methods that update model weights. Both families can surface rare events more often, though their compute and fidelity profiles differ.
| Method family | How it works | Observed result |
|---|---|---|
| Instruction prompting | Adds an explicit behavior request to the system prompt. | Raises hit rates cheaply while producing samples far from the reference posterior. |
| Prompt selection | Searches candidate prompts for one that triggers the behavior. | Improves event frequency but retains substantial distributional bias. |
| Activation steering | Adds a steering vector to the model’s residual stream. | Surfaces the behavior without training, then reaches a fidelity plateau. |
| Training methods | Samples responses, filters for matches, and fine-tunes on accepted examples. | Can improve fidelity beyond the training-free plateau at a high inference cost. |
Several training approaches adapted from prior work fail to outperform a supervised fine-tuning baseline trained directly on filtered matches. Experiments with larger models also reproduce the fidelity limits of training-free methods, although the billion-response reference distribution remains tied to the 0.8B target model.
Where representative failures help
- Red teaming: Teams can compare methods for finding rare failures while measuring how strongly each method alters the resulting examples.
- Safety evaluation: Conditional samples can reveal the forms a failure takes after it occurs, complementing measurements of how often it occurs.
- Mechanistic interpretability: Researchers studying circuits associated with rare behavior need examples drawn from the model’s conditional distribution.
- Sampler development: The benchmark provides a shared compute and fidelity target for rejection sampling alternatives.
PosteriorBench measures conditional sampling quality rather than estimating real-world risk. Deployment risk also depends on event frequency, user traffic, prompt distribution, downstream effects, and the reliability of the behavior label.
A precise benchmark with a narrow scope
Regular expressions provide cheap, deterministic labels for surface-level behaviors. Semantic failures such as sycophancy, manipulation, or subtle deception require judgment that regex matching cannot supply. The paper includes two LLM-judged behaviors as a stress test, introducing evaluator-model reliability as another variable.
The reference corpus also limits the benchmark’s scale. Generating one billion responses from a 0.8B-parameter model is tractable for a research project; reproducing that process with a frontier model would cost far more. Results on larger models therefore offer partial evidence of transfer without an equivalent ground-truth posterior.
Run the benchmark
The GitHub repository includes task definitions, reference implementations, and an aggregation CLI. Transluce also publishes the posterior samples and training corpora as Hugging Face datasets.
- Select a benchmark task.
- Load its reference or training corpus.
- Run a sampler and write its draws to JSONL.
- Aggregate results across the required tasks and replicates.
import posteriorbench as pb
task = pb.task("wc_1853/goblin_mention")
corpus = pb.corpus(task, ledger) # posterior samples for training
# Run the sampler and write draws to JSONL, then:
# uv run posteriorbench aggregate my_method.jsonl \
# --expect-tasks benchmark --expect-replicates 0,1,2
PosteriorBench defines a concrete target for future samplers: reduce the inference cost of finding rare behaviors while preserving the conditional distribution of the original model. Its results show that existing prompting, steering, and training methods have yet to meet both requirements.