New Method Improves Rare Event Estimation in Language Models

Nikita Y. Parulekar, Anqi Liu· July 22, 2026 View original

Summary

This research introduces Gradient Activation Adaptive Multi-Level Splitting (GA-AMLS) and Shifted-Power Bregman (SPB) Loss to robustly estimate rare failure probabilities in language models. These methods address issues like zero-estimate collapse and systematic bias, offering improved accuracy and tunable evaluation for safety-critical applications.

Quantifying the risk of rare failures in large language models (LLMs), especially under adversarial conditions or massive deployments, is crucial but challenging due to the extremely low probabilities involved. Traditional random sampling methods are inadequate for such rare events, and existing low-probability estimation pipelines often suffer from fragility, including zero-estimate collapse and systematic bias. This paper introduces a novel approach called Gradient Activation Adaptive Multi-Level Splitting (GA-AMLS). This method adapts rare-event Monte Carlo techniques to the continuous activation space of LLMs, using a gradient-based MCMC kernel. This innovation eliminates the zero-estimate problem common in input-space searches and replaces problematic independence assumptions with conditional sampling under a heavier-tailed activation prior. Additionally, the researchers propose the Shifted-Power Bregman (SPB) Loss, a proper scoring rule designed to remain stable even with zero-estimates and offering tunable asymmetry for underestimation versus overestimation penalties. Experiments on small transformer models show GA-AMLS achieving the lowest loss under symmetric evaluation, while highlighting that the optimal estimator choice depends on the specific deployment context and its associated cost asymmetries. This work establishes activation space as a viable domain for robust rare-event estimation in LLMs.

Why it matters

For professionals deploying LLMs in sensitive or high-stakes environments, accurately estimating the probability of rare but critical failures is essential for risk management, safety, and compliance.

How to implement this in your domain

  1. 1Evaluate the GA-AMLS method for quantifying rare failure modes in your organization's deployed or developing language models.
  2. 2Adopt the Shifted-Power Bregman (SPB) Loss in your model evaluation frameworks, especially when dealing with asymmetric costs of errors.
  3. 3Collaborate with research teams to integrate activation-space analysis techniques for more robust safety testing of LLMs.
  4. 4Develop internal guidelines for matching estimator choice to specific deployment contexts, considering the balance between underestimation and overestimation risks.

Who benefits

AI/ML DevelopmentCybersecurityFinanceHealthcareAutonomous Systems

Key takeaways

  • Estimating rare LLM failures requires specialized methods beyond random sampling.
  • GA-AMLS uses activation space and gradient-based MCMC for robust estimation.
  • SPB Loss provides stable, tunable evaluation for rare events with asymmetric costs.
  • Estimator choice should align with the specific deployment context and risk profile.

Original post by Nikita Y. Parulekar, Anqi Liu

"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…"

View on X

Originally posted by Nikita Y. Parulekar, Anqi Liu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses