# Rare Event Estimation via Iterative Unalignment

DevFeed: [Rare Event Estimation via Iterative Unalignment](<https://devfeed.tech/articles/rare-event-estimation-via-iterative-unalignment-131971.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.24969>)

Author: Hanming Yang, Daksh Mittal, Jing Dong, Hongseok Namkoong

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Risk](<https://devfeed.tech/topics/risk.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [agent](<https://devfeed.tech/tags/agent.md>), [autonomy](<https://devfeed.tech/tags/autonomy.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [estimator](<https://devfeed.tech/tags/estimator.md>), [events](<https://devfeed.tech/tags/events.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [monte-carlo](<https://devfeed.tech/tags/monte-carlo.md>), [probability](<https://devfeed.tech/tags/probability.md>), [risk](<https://devfeed.tech/tags/risk.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [unalignment](<https://devfeed.tech/tags/unalignment.md>)

## AI overview

The paper estimates rare events in stochastic agent outputs by using importance sampling (IS) with a proposal model created by perturbing the original language model's weights. Because the proposal is differentiably parameterized, the method searches weight space with gradients; its objective combines a differentiable event-amplification surrogate with adaptive regularization to balance amplification and estimator stability. The authors evaluate it on approximately 120M- and 2.6B-parameter models across three event families and more than 300 events, including probabilities as low as 10⁻⁹, using independently estimated reference probabilities. In the most verifiable settings, for events rarer than 10⁻⁷, they report average compute-weighted efficiency gains above 800x versus naive Monte Carlo.

## Source excerpt

arXiv:2609.24969v2 Announce Type: replace-cross Abstract: As agents are deployed with increased autonomy, even extremely rare events along their stochastic output trajectories can occur and prove catastrophic. Safe deployment therefore does not depend on whether these events can occur, but on how often they might. We study the problem of estimating the probability of rare events that arise from stochastic variation in the agent's own actions. Estimating this type of risk requires searching over the combinatorially vast space of trajectories. Naive Monte Carlo is computationally prohibitive in this regime, and constructing effective importance sampling (IS) proposals requires coordinated changes to a context-dependent chain of conditional distributions. We develop a new IS method that perturbs the original model's weights to construct the proposal. The proposal is itself a differentiably parameterized language model, enabling gradient-based search over weight space. We formulate an objective that combines a differentiable surrogate for event amplification and an adaptive regularization scheme that dynamically balances amplification against estimator stability. We evaluate our approach on $\sim$120M and $\sim$2.6B models across three event families spanning 300+ rare events as rare as $10^{-9}$, all with independently estimated reference probabilities. In our most verifiable settings, we observe that our IS estimator achieves over $800\times$ compute-weighted efficiency gains on average over naive Monte Carlo for events with probabilities lower than $10^{-7}$. Our implementation is available at https://github.com/namkoong-lab/iterative-unalignment.