# Time-Sensitive Anytime-Valid Testing

*Eugenio Clerico, Tobias Wegel, Iskander Azangulov, Patrick Rebeschini*

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

Category: [AI Safety, Security & Alignment](../pcat/16.md) › [Membership Inference and Privacy Leakage](../pgroup/205.md) · Type: new method · Keywords: anytime-valid testing, time-sensitive betting, optimal stopping, type-I error control, Bellman representation

## Summary
The paper introduces a time-sensitive testing-by-betting framework that rewards early rejections and yields optimal anytime-valid tests under deadlines and time preferences.

## Explained to a 5-year-old
Imagine you are checking if a new game is broken by playing it a little each day. You want to know if it’s broken as soon as possible, but you also need to be careful not to make a mistake. This paper creates a way to decide early, giving a small reward for stopping early while still being safe. It works like a game where you only look at how much evidence you have and how much time is left. The result is a smarter way to make quick, correct decisions in important situations.

## Explained to a 5-year-old, longer
Imagine you are trying to find out if a toy is broken by testing it a little each day. You would like to know as soon as possible, but you also don't want to say it's broken when it's actually fine. The paper makes a new rule that gives a little prize for stopping early, so you are encouraged to decide quickly. This rule still keeps the chance of being wrong very low, just like a safety guard. It works by looking only at how much you have seen and how much time is left, not at everything you have done before. For situations where there is a hard deadline, like a race that must finish by a certain time, the rule finds the best way to stop early. When the prize for early stopping gets smaller over time, the rule becomes simple and similar to an old idea of always looking for fast evidence. All of these ideas help you make better, faster decisions in real life, like checking a medical test quickly or monitoring a machine in a factory. The paper shows that these new ideas connect to older ones, giving a clearer picture of how to be both fast and safe. It also gives a way to think about the problem as a game, where you try to win by stopping early while staying safe. This makes the idea easier to understand and use in many different fields. In the end, the paper gives a smarter, more practical way to decide when to stop testing, which can save time and money while keeping accuracy.

## For a technical reader
The paper reframes hypothesis testing as a time-sensitive betting problem, rewarding early rejections to encourage prompt decisions while preserving type-I error control. It shows that the optimal policy can be expressed via a Bellman equation that depends only on elapsed time and current evidence, simplifying the control problem. For hard deadlines, a closed-form optimal test is derived in the simple-vs-simple setting, and exponentially decaying rewards lead to a stationary approximation that converges to the classic growth-rate-optimal approach as the time scale grows.

## Problem
In many applications, rejecting a null hypothesis is only valuable if it occurs promptly, but traditional anytime-valid tests do not prioritize early rejection. The challenge is to design testing procedures that control type-I error while favoring timely decisions, especially under hard deadlines or time preferences.

## Method
The approach formulates testing as a time-sensitive betting problem, assigning rewards to rejection times and maximizing expected reward under a given alternative. It derives a Bellman representation that depends only on elapsed time and current evidence against the null, enabling optimal control policies. For hard deadlines, a canonical optimal test is identified in the simple-vs-simple setting, and exponentially decaying rewards lead to a stationary approximation that connects to growth-rate-optimal testing.

## Contributions
We propose a time-sensitive testing framework that incorporates early-rejection rewards and provides a Bellman representation for optimal anytime-valid tests under deadlines and time preferences. We also derive a canonical optimal test for hard deadlines and show a connection to growth-rate-optimal testing via exponentially decaying rewards.

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/148853)
