Skip to content

Quantifying Behavioral Tails in Black-Box Language Models

Sep 2026 · 0 citations · 47 references
Computer Science Mathematics

TL;DR

RareTrap provides model developers a principled approach for evaluating language models under a common distribution, and prioritizing alignment effort to improve safety and mitigate risks.

Abstract

We introduce RareTrap, a framework for estimating the probability of severe behaviors in black box large language models (LLMs). A key challenge for probability estimation is defining a tractable distribution over the input space. To accomplish that, RareTrap uses a surrogate LLM and constructs a geometry-aware mapping from a lower-dimensional latent reference space into its token-embedding space to induce an explicit and reproducible distribution over input prompts. A response-level performance function is utilized on the response to quantify behavior severity. This enables sequential rare event simulation that concentrates evaluations on progressively more severe behaviors while preserving probability under the induced prompt distribution, which would otherwise be prohibitive to measure. Across 10 open-weight and two frontier models (GPT-5.4 and Claude Sonnet 4.6), we find that RareTrap successfully induces severe resource consumption behaviors and computes their probability with as few as 200 evaluations. RareTrap provides model developers a principled approach for evaluating language models under a common distribution, and prioritizing alignment effort to improve safety and mitigate risks.

View source

Similar papers

#natural language process... Preprint Oct 2026

Weighted Ensemble Sampling for Rare-Event Estimation in Language Models

Rare but severe failures of large language models can become practically significant at deployment scale. Estimating their probabilities with direct Monte Carlo sampling is highly inefficient, while proposal-based methods typically require auxiliary learning of an additional proposal distribution. We introduce \textbf{...

Zi-Xuan Liu, Gustavo Didier, Fang-Zheng Wu et al. · 0 citations
#artificial intelligence Preprint Nov 2026

PosteriorBench: Evaluating Behavior Posterior Sampling in Language Models

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...

Zhi-Yang Xun, Daniel D. Johnson, Sarah E. Schwettmann et al. · 0 citations
#natural language process... Preprint Oct 2026

HeadEdit: Calibrating Language Model Behavior Through the Frozen Unembedding Matrix

Alignment does not eliminate behavioral errors in language models. Models may still refuse benign requests, call unnecessary tools, or yield to false user claims. Current methods mitigate such errors as a computation problem, and rarely explore if the desired behavior is already encoded in the model's representation. M...

Zirui He, Hai-Yan Zhao, Jing-Yu Hu et al. · 0 citations
#artificial intelligence Preprint Oct 2026

From the Zoo to the BULLPEN: Sample-Efficient LLM Profiling via Multi-Channel Model Embeddings

BULLPEN (Behavioral Understanding of Large Language models via Profile ENcodings), a framework that extends EmbedLLM in three ways and is the first framework to read a model's own answer text jointly with its correctness and the question text, is introduced.

Russell Ro, Qi-Ming Cui, Reza Abbasi-Asl · 0 citations
#artificial intelligence Preprint Oct 2026

Causally Fair Generation with Large Language Models

Causally Fair Generation with LLMs is introduced and formal guarantees for the method are provided when eliminating all discriminatory causal effects in the adapted population model, under appropriate causal assumptions.

Patrik Okanovic, T. Hoefler, Drago Plečko · 0 citations
Book Open access Oct 2026

Distributional Program Analysis: Treating Large Language Models as Program Samplers

A specification under-determines a program: prompted with one, a large language model (LLM) induces a distribution over candidate programs that respond to it in different ways. Pipelines that generate one program and analyze it discard the key artifact of that distribution: variation across samples. We propose distribu...

Phat T. Tran-Truong, Xuan-Bach Le · 0 citations

Related blog posts

MIT News · Artificial Intelligence Nov 17, 2026

Learning the language of machine learning

By studying the computational foundations of language learning, Associate Professor Jacob Andreas builds intelligent systems that can communicate effectively with humans.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.