mlsanityData to 14 Oct 2026

Estimating the Probabilities of Rare Outputs in Language Models

arXiv 2410.13211 ↗First posted 17 Oct 2024cs.LG cs.AI stat.MLcited by 16

Not on the map. Why?

Abstract (arXiv)

We consider the problem of low probability estimation: given a machine learning model and a formally-specified input distribution, how can we estimate the probability of a binary property of the model's output, even when that probability is too small to estimate by random sampling? This problem is motivated by the need to improve worst-case performance, which distribution shift can make much more likely. We study low probability estimation in the context of argmax sampling from small transformer language models. We compare two types of methods: importance sampling, which involves searching for inputs giving rise to the rare output, and activation extrapolation, which involves extrapolating a probability distribution fit to the model's logits. We find that importance sampling outperforms activation extrapolation, but both outperform naive sampling. Finally, we explain how minimizing the probability estimate of an undesirable behavior generalizes adversarial training, and argue that new methods for low probability estimation are needed to provide stronger guarantees about worst-case performance.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 20 of its 30 references that are in the map. First posted on arXiv 17 Oct 2024.

Builds on

20 of 30 references.

References · 20

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  5. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  6. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
  7. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
  8. 2023Are aligned neural networks adversarially aligned?cited by 315
  9. 2021Recent Advances in Adversarial Training for Adversarial Robustnesscited by 279
  10. 2019Risks from Learned Optimization in Advanced Machine Learning Systemscited by 258
  11. 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 173
  12. 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 129
8 more
  1. 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 126
  2. 2020Adversarial Training for Large Neural Language Modelscited by 111
  3. 2024Probabilistic Inference in Language Models via Twisted Sequential Monte Carlocited by 90
  4. 2024Defending Against Unforeseen Failure Modes with Latent Adversarial Trainingcited by 88
  5. 2023Sequential Monte Carlo Steering of Large Language Models using Probabilistic Programscited by 80
  6. 2018A Statistical Approach to Assessing Neural Network Robustnesscited by 54
  7. 2019Transfer of Adversarial Robustness Between Perturbation Typescited by 25
  8. 2024Analyzing Probabilistic Methods for Evaluating Agent Capabilitiescited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 12.

16 papers.

Sort:

By area: