通过迭代去对齐估计语言模型智能体的罕见事件概率
Rare Event Estimation via Iterative Unalignment
研究提出一种重要性采样(IS)方法,通过扰动原模型权重构建可微参数化的语言模型提案,实现权重空间上的梯度搜索,用于估计智能体随机动作轨迹中罕见事件的发生概率。在约120M和约2.6B模型、3类事件共300+个低至10⁻⁹的罕见事件上评估,IS估计器在概率低于10⁻⁷的事件上平均取得超过800倍的计算加权效率提升。
arXiv:2609.24969v2 Announce Type: replace 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org