# Safe Linear Bandits with Unknown Safety Gaps

*MAOLI LIU, Zhuohua Li, Zeyu Zhang, Xiangxiang Dai, John C. S. Lui*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/156007) · [Open on the map](../papers.html#p156007)

Category: [Bandits, Online Learning & Economics](../pcat/12.md) › [Contextual Bandits and Multi-armed Bandits](../pgroup/356.md) · Type: new method · Keywords: safe linear bandits, unknown safety gap, regret bounds, lower bound, adaptive algorithms

## Summary
Epoch-SLUCB is an algorithm that achieves widetildeO(sqrtT) regret for safe linear bandits even when the safety gap is positive but unknown, and we prove a matching Omega(T2/3) lower bound for zero-gap cases.

## Explained to a 5-year-old
In a game, you have to pick actions that are safe. Sometimes you know how safe they are, but sometimes you don't. The paper makes a new way to play the game that stays safe even when you don't know the safety. It also shows that when you don't know the safety at all, you cannot do better than a certain slow way of playing. This helps designers make safer robots and decision-making systems.

## Explained to a 5-year-old, longer
Imagine you are choosing actions in a video game, and each action must be safe to avoid hurting the player. Sometimes the game tells you exactly how safe each action is, but other times it only gives a hint. The paper looks at a situation where the safety hint is unknown and you still need to stay safe every time you act. It studies two cases: when the safety hint is zero (meaning no extra safety) and when it is a small positive amount but you don't know its exact value. The authors prove that when the safety hint is zero, you cannot do better than a certain slower way of playing, no matter how clever you are. When the safety hint is positive, they create a new strategy that works well even though you don't know the exact size of the hint. This new strategy keeps you safe while making almost the best possible choices most of the time. They also run computer experiments to show how the strategy behaves in practice. The results help us understand the limits of safe decision-making when information is missing. This knowledge can be used to design safer robots, self-driving cars, and other systems that must avoid harm. By knowing these limits, engineers can build more reliable safety checks. Overall, the paper gives both a proof of what is possible and a practical method for staying safe without full knowledge.

## For a technical reader
The paper addresses safe linear bandits where each action must satisfy a safety constraint that depends on an unknown parameter. Existing algorithms either assume the safety margin (gap) is known and positive, or they suffer a higher regret when the gap is zero or unknown. The authors provide a rigorous lower bound showing that Omega(T2/3) regret is unavoidable in the zero-gap case, establishing the tightness of prior results. They then propose an epoch-based algorithm that adaptively estimates the gap and selects actions using confidence bounds, achieving widetildeO(sqrtT) regret without prior knowledge of the gap. Numerical simulations confirm the algorithm’s practical performance, offering both theoretical insight and a usable solution for safe decision-making under uncertainty.

## Problem
Adapting safe linear bandit algorithms to unknown safety gaps is challenging; prior work either assumes a known positive gap or suffers higher regret. The problem is to achieve optimal widetildeO(sqrtT) regret without knowing the safety gap, and to understand whether the T2/3 regret in zero-gap settings is optimal.

## Method
The approach constructs epochs of exploration and exploitation, adaptively estimating the safety gap and adjusting the action selection to maintain safety while achieving near-optimal regret. It uses confidence bounds on the unknown safety parameter to guarantee safety with high probability and to drive regret scaling as widetildeO(sqrtT).

## Results
The approach achieves widetildeO(sqrtT) regret for positive safety gaps without knowing the gap, and the lower bound shows Omega(T2/3) regret is unavoidable in zero-gap cases.

## Contributions
We prove a matching lower bound for zero-gap safe linear bandits, clarifying the optimality of prior results, and we introduce an algorithm that attains optimal regret without requiring knowledge of the safety gap.

## Research questions this paper is counted under

- [How can we obtain high-probability regret guarantees for linear contextual bandits under realistic, non-i.i.d. or safety-constrained settings?](../q/551.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/156007)
