arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.29623cs.AIcs.LG
收藏

SCARCE: 基于嵌入的可扩展级联分析用于罕见事件表征

SCARCE: Scalable Cascade Analysis for Rare-event Characterisation via Embeddings

University of Liverpool, UK(利物浦大学);UK AI Security Institute, UK(英国人工智能安全研究所);Loughborough University, UK(洛桑大学);Department of Computer Science, Vanderbilt University, USA(范德比大学计算机科学系)

Yingjie Wang, Yi Dong, Edmund Lau, Jie Meng, Taylor T Johnson, Xiaowei Huang

AI总结:

提出SCARCE方法,用学习到的潜在表示和几何标尺替代传统子集模拟中的性能函数,通过自适应阈值构建嵌套事件,在MNIST误分类和LLM越狱任务中实现更低的估计误差和更好的可迁移性。

摘要:

罕见事件决定了现代AI系统的安全特性,但其概率极难估计:直接蒙特卡洛需要巨大的样本预算。子集模拟(SS)通过将罕见事件概率分解为嵌套中间事件上的适度条件概率来解决这一问题。然而,经典SS需要手工设计的标量性能函数,其子水平集定义这些事件,这要求对失效几何有详细了解,并限制了向新领域的迁移。我们提出SCARCE(基于嵌入的可扩展级联分析用于罕见事件表征),该方法用学习到的潜在表示和几何标尺替代性能函数,这些标尺用于评分接近失效区域的接近度。自适应阈值直接从数据中构建嵌套中间事件。我们通过非负上鞅形式化SCARCE,得到一个高概率上包络,该包络在提前停止下仍然有效。在MNIST误分类任务中,密集蒙特卡洛提供了真实值,SCARCE的均绝对误差比网格搜索的传统SS低约400-500倍,同时消除了系统性过度计数。然后,我们在舰队级威胁模型下研究PAIR风格的LLM越狱,其中对抗比例$η$。在Llama-Guard-3-8B隐藏状态上,基于PCA的标尺在$η\geq 10^{-3}$时相对于有限样本参考(其平均自举相对半宽为27.9%)达到2.6%的平均相对误差,并在重新校准后迁移到GCG风格语料库,相对误差为2.93%。方向性准则$\mathrm{KL}(p_{\mathrm{good}}\,\|\,p_{\mathrm{bad}})$对标尺的排序与估计误差一致(Spearman $ρ=0.83$)。

英文摘要:

Rare events govern the safety profile of modern AI systems, yet their probabilities are extremely difficult to estimate: direct Monte Carlo requires prohibitive sample budgets. Subset Simulation (SS) addresses this by decomposing a rare-event probability into moderate conditional probabilities over nested intermediate events. However, classical SS requires a handcrafted scalar performance function whose sublevel sets define those events, demanding detailed knowledge of the failure geometry and limiting transfer to new domains. We propose SCARCE (Scalable Cascade Analysis for Rare-event Characterisation via Embeddings), which replaces the performance function with learned latent representations and geometric rulers that score proximity to failure regions. Adaptive thresholding constructs nested intermediate events directly from data. We formalise SCARCE through a non-negative supermartingale, yielding a high-probability upper envelope that remains valid under early stopping. On MNIST misclassification, where dense Monte Carlo provides ground truth, SCARCE achieves approximately 400--500 times lower mean absolute error than grid-searched traditional SS while eliminating systematic over-counting. We then study PAIR-style LLM jailbreaks under a fleet-level threat model with adversarial fraction $η$. On Llama-Guard-3-8B hidden states, a PCA-based ruler attains 2.6% mean relative error for $η\geq 10^{-3}$ against finite-sample references whose average bootstrap relative half-width is 27.9%, and transfers to a GCG-style corpus with 2.93% relative error after recalibration. A directional criterion $\mathrm{KL}(p_{\mathrm{good}}\,\|\,p_{\mathrm{bad}})$ ranks rulers consistently with estimation error (Spearman $ρ=0.83$).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑