# Training ML Models with Predictable Failures

*Will Schwarzer, Scott Niekum*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149754) · [OpenReview](https://openreview.net/forum?id=nbRdWENRb8) · [alphaXiv](https://www.alphaxiv.org/abs/2605.15134) · [Open on the map](../papers.html#p149754)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Adaptive LLM Agent Management](../pgroup/420.md) · Type: new method · Keywords: failure rate estimation, deployment safety, forecastability loss, extrapolation bias, ML model reliability

## Summary
The paper introduces a forecastability loss fine-tuning objective that reduces forecast error for deployment-scale failure rates while preserving primary task performance.

## Explained to a 5-year-old
We want to know how often a computer program will make mistakes when it is used a lot. We only have a small test set, so we guess how many mistakes will happen in the big world. Sometimes our guess is too high, which is okay because it makes us careful. But if we miss a rare kind of mistake, we might guess too low and be unsafe. The paper creates a new way to train the program so it guesses better and stays safe.

## Explained to a 5-year-old, longer
When we build computer programs that think or decide things, we need to know how often they will be wrong. Knowing this helps us keep people safe when the programs are used a lot. Usually we test the program on a small set of examples, but the real world has many more situations. Because we only see a few mistakes, we have to guess how many mistakes will happen later. Our guess can be too high, which means we think the program is worse than it really is. Guessing too high is actually good because it makes us extra careful. However, sometimes the program makes a kind of mistake that we never saw in our small test set. If we miss that rare mistake, our guess can be too low, and we might think the program is safer than it really is. This can be dangerous because we might trust the program too much. The paper looks at why this happens and shows that the guessing method has a built-in tendency to over-estimate mistakes. It also points out a problem when a rare mistake is hidden, causing the guess to under-estimate. To fix this, the authors create a new training trick that helps the program predict its own mistakes more accurately, keeping it safe while still doing its job well.

## For a technical reader
The paper addresses the challenge of estimating how often an ML model will fail when deployed at scale, which is crucial for safety. Existing approaches extrapolate failure rates from a small evaluation set, but this can be biased-typically over-predicting failures (which is safe) yet under-predicting when rare failure modes are missed. The authors provide a finite-k decomposition of the estimator’s error and prove its built-in over-prediction bias. To mitigate the under-prediction risk, they introduce a fine-tuning objective called the forecastability loss that encourages the model to predict its own forecast error more accurately. Experiments on a language-model password game and an RL gridworld show that this loss reduces held-out forecast error while preserving primary-task performance and achieving safety comparable to supervised baselines.

## Problem
Estimating the failure rate of ML models at deployment scale is crucial for safety, yet evaluation sets are typically too small to capture the rare failures that matter.

## Method
The authors propose a fine-tuning objective that encourages the model to predict its own forecast error, thereby reducing extrapolation bias and improving held-out forecast accuracy while preserving performance on the primary task.

## Results
Fine-tuning with the forecastability loss substantially reduces held-out forecast error and maintains primary-task performance, achieving safety comparable to supervised baselines.

## Contributions
It derives a finite-k decomposition of the estimator’s forecast error and shows its inherent bias toward over-prediction, which is safety-favorable but can reverse when rare failure modes are missed. The work also proposes a fine-tuning objective to address this under-prediction failure mode.

## Practical relevance
The approach helps ensure safer deployment of ML models by providing more reliable failure-rate forecasts, reducing the risk of unexpected failures in production.

## Research questions this paper is counted under

- [How can we reliably estimate the failure rate of black-box AI systems when only cheap surrogate error signals are available?](../q/708.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149754)
