Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
arXiv Machine Learning · 2026/7/22 04:00:00

Estimating Rare Events in Language Models with Proper Evaluation

AI 中文解读
1. 核心亮点:科学家发明了一种新方法,能高效估算AI语言模型在极罕见情况下出错的概率,从而大幅提升AI的可靠性和安全性。 2. 通俗解读:AI模型偶尔会“抽风”,比如突然生成危险内容,这种极端情况发生的概率极小,用常规测试很难发现。新方法就像给AI装上一台“显微镜”和一个“异常探测器”:它不再盲目地在海量输入中瞎找,而是深入AI内部的“神经元活动模式”——也就是模型理解语言时激活的那些中间状态,通过模拟这些状态的极端变化来精准定位问题。同时,它还配了一把“不对称天平”,让开发者可以根据需要选择更看重“漏报”(没发现隐患)还是“虚报”(过度警惕),从而灵活评估风险。 3. 实际影响:未来你用的聊天机器人或智能助手将更少出现“胡言乱语”或输出有害内容的情况,尤其是在医疗、金融等容错率极低的场景中。开发人员也能用更低的成本测试AI的“抗压能力”,确保大规模部署时万无一失。简单说,这项技术让AI从“大部分情况下靠谱”向“极端情况下也可靠”迈进了一大步。
arXiv:2607.18454v1 Announce Type: new Abstract: Quantifying the risk of rare failures in language models, such as those triggered by adversarial distribution shifts or very large-scale deployments, requires estimating probabilities far too small for random sampling. While recent work has formalized Low Probability Estimation, existing pipelines remain fragile in the rarest regimes: estimators can suffer zero-estimate collapse or systematic bias, and standard evaluation losses can become unstable or poorly matched to asymmetric safety costs. In this work, we introduce Gradient Activation Adaptive Multi-Level Splitting (GA-AMLS), which adapts rare-event Monte Carlo methods to the continuous activation space of language models. Specifically, GA-AMLS uses a gradient-based MCMC kernel to navigate activation space, eliminating the zero-estimate collapse of input-space search and replacing the independence assumptions of prior activation-space estimators with conditional sampling under an explicit, heavier-tailed activation prior. We also propose the Shifted-Power Bregman (SPB) Loss, a proper scoring rule that remains finite for zero-estimates and offers tunable asymmetry between underestimation and overestimation penalties. Experiments on small transformer models reveal a bias-variance tradeoff: GA-AMLS achieves the lowest loss under symmetric evaluation, reducing average log-space squared error relative to the strongest baseline across model sizes, while methods with overestimation bias prevail under asymmetric penalties. Our findings highlight that estimator choice should be matched to deployment context. More broadly, our work establishes activation space as a tractable domain for rare-event estimation in language models, circumventing the brittleness of discrete input-space search.
分享
阅读原文