arXiv:2610.19202v1 Announce Type: new Abstract: 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{Weighted Ensemble (WE)}, a training-free framework for rare-event estimation in language models. WE samples exclusively from the original language model and improves upon direct Monte Carlo by periodically reallocating the sampling budget toward prefixes that appear more likely to reach the target rare event. To guide this reallocation without learning a separate proposal distribution, we exploit internal LLM representations as prefix-level signals and empirically validate their effectiveness. We provide a theoretical analysis of the proposed algorithm. Experiments on safety-related tasks spanning both small-scale and modern large-scale LLMs demonstrate that WE improves the efficiency and reliability of rare-event probability estimation.
Weighted Ensemble Sampling for Rare-Event Estimation in Language Models
A new arXiv paper (arXiv:2610.19202v1) introduces Weighted Ensemble (WE), a training-free framework for estimating the probabilities of rare but severe large language model failures without learning an auxiliary proposal distribution. WE samples exclusively from the original language model and periodically reallocates the sampling budget toward prefixes more likely to reach the target rare event, using internal LLM representations as prefix-level signals. Experiments on safety-related tasks across small-scale and modern large-scale LLMs show WE improves the efficiency and reliability of rare-event probability estimation over direct Monte Carlo sampling.
Run your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.