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.
Keywords
Publication details
- Journal
- Not available
- Open access
- Green open access
Cite this article
APA 7
Eshra, E., Al-Lawati, A., Lee, D., & Wang, S. (2026). Quantifying Behavioral Tails in Black-Box Language Models. https://omanscience.com/en/articles/quantifying-behavioral-tails-in-black-box-language-models
MLA 9
Eshra, Elsayed, et al. "Quantifying Behavioral Tails in Black-Box Language Models." https://omanscience.com/en/articles/quantifying-behavioral-tails-in-black-box-language-models.
Chicago (author–date)
Eshra, Elsayed, Ali Al-Lawati, Dongwon Lee, and Suhang Wang. 2026. "Quantifying Behavioral Tails in Black-Box Language Models." https://omanscience.com/en/articles/quantifying-behavioral-tails-in-black-box-language-models.
Harvard
Eshra, E., Al-Lawati, A., Lee, D. and Wang, S. (2026) 'Quantifying Behavioral Tails in Black-Box Language Models', Available at: https://omanscience.com/en/articles/quantifying-behavioral-tails-in-black-box-language-models.
Vancouver
Eshra E, Al-Lawati A, Lee D, Wang S. Quantifying Behavioral Tails in Black-Box Language Models. https://omanscience.com/en/articles/quantifying-behavioral-tails-in-black-box-language-models
IEEE
E. Eshra, A. Al-Lawati, D. Lee, and S. Wang, "Quantifying Behavioral Tails in Black-Box Language Models," https://omanscience.com/en/articles/quantifying-behavioral-tails-in-black-box-language-models.