# Learning Unknown Oscillators From Bandit Feedback

> Confidence sets let Jayraj et al. choose how long an oscillator fit guides a bandit whose actions determine its observations. Across 96 fresh synthetic runs, checked commitment used 49 versus 1,023 refits per run, with 1.51% higher mean regret than dense NLS.

- arXiv: https://arxiv.org/abs/2611.27492
- Authors: Priyank Jayraj, Poonam Goyal, Navneet Goyal
- Published: 2026-11-24
- Topic: RL & post-training
- Visual carousel: https://instaxiv.com/p/2611.27492
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## How long should a bandit trust one oscillator forecast?

**95.2%** fewer nonlinear refits vs dense, 96 fresh runs

## A reward choice is also a measurement

![Figure 1](https://cdn.instaxiv.com/figures/2611.27492/figure1.webp)

Pick two of four arms; only those rewards are revealed. Two equal-mean arms duplicate each rotating signal coordinate (H or V), so taking both copies of the larger coordinate pays now but hides the other. (Figure 1)

## Holding one model can expose a false frequency

**Switching explanations:** For $z=e_1$, the $+2\pi/3$ truth and its $-2\pi/3$ reflection predict identical H rewards. The specified switcher chooses H in rounds 1 and 2, so the alias survives.

**Hold the reflection:** The held reflection greedily switches to V in round 2, where its forecast $+\sqrt{3}/2$ conflicts with truth $-\sqrt{3}/2$. Switching to truth after that contradiction caps regret at $2\sqrt{3}$ in this noiseless example.

The held model's own action can expose the error.

## How the controller chooses a block length

1. **Fit a candidate**: Nonlinear least squares estimates frequency and initial state from selected rewards.
2. **Propose greedy choices**: The fit sets a future pair schedule; those same choices determine which noisy coordinates the learner observes.
3. **Check worst-case cost**: A continuous, time-uniform confidence set retains oscillator models supported by past rewards; the controller bounds each prefix's worst-case regret over them.
4. **Hold or learn**: Accept the longest prefix under the square-root regret budget. If none passes, SquareCB randomizes toward promising pairs for up to four online-learning rounds.

## Chosen measurements constrain forecasts through time 2n

$$
\begin{gathered}\lambda(\omega),\lambda(\nu)\ge \lambda_0,\quad n\ge H,\\\max_{1\le t\le 2n}\|R(t\omega)z-R(t\nu)y\|_2^2\le \frac{K}{n}\,D_n,\\R_{1:n}\le 4\sqrt{Kn\,D_n}.\end{gathered}
$$

$D_n$ sums squared mean errors on the fit's chosen coordinates over $n$ rounds. With both frequencies a fixed distance from resonance, it bounds forecasts through $2n$ and held-block pseudo-regret.

- $D_n$: Sum of squared mean errors on candidate-selected coordinates
- $\lambda_0$: Positive margin keeping both frequencies away from multiples of $\pi/2$; it fixes $H,K$.

## Why the controller still has a regret guarantee

1. **Price each accepted prefix**: For a block from round $n$ to endpoint $e$, the budget is $c\sigma\sqrt{\log(8T/\delta)}(\sqrt{e}-\sqrt{n})$.
2. **Telescope the budgets**: Accepted intervals are disjoint, so their square-root increments sum to the horizon-wide allowance.
3. **Learn when checks fail**: If no prefix passes, SquareCB gathers selected rewards; its online-regression term is $\widetilde{O}(\sqrt{T})$ up to logarithmic factors.
4. **Full-circle guarantee**: With amplitude and sub-Gaussian noise bounds, the high-probability $1-\delta$ regret bound is startup plus square-root terms over all frequencies for one or two oscillators.

## Fewer fits, nearly the same mean regret

| Method | Mean regret | NLS refits |
| --- | --- | --- |
| Dense NLS | 3.246 | 1023 |
| Oscillator posterior | 3.877 | -- |
| Matched sparse NLS | 3.295 | 49 |
| **Checked, factor 1.25** | **3.295** | **49** |

_Fresh mixed-start T=1024, 96 paired runs; regret includes startup. Posterior is a sampler with unbounded state prior, not NLS._

## Checking changes behavior under resonance stress

**Fresh confirmation:** At T=1024 across 96 mixed-start runs, checked and matched sparse NLS took identical actions; both averaged 3.295 regret and 49 refits.

**Resonance stress, T=1024:** Across 16 original holdouts, checked averaged 3.845 regret versus 6.209 for sparse NLS; dense NLS averaged 2.590. Checked won, tied, or lost 4, 8, and 4 times versus sparse NLS (absolute tie tolerance $10^{-10}$).

Across these 16 holdouts, checks triggered 2148 learning rounds and 136 shortened blocks.

## Two-plane checks test reward and information

![Figure 5](https://cdn.instaxiv.com/figures/2611.27492/figure5.webp)

Both planes get a directional-information check. Thin lines are 16 primary trajectories; thick is their mean. Every pre-block lower bound on reward advantage is positive against dedicated sensing over the same up-to-256-round window. (Figure 5)

## Where the theorem and evidence stop

- **Resonance condition**: The held-prediction theorem needs both true and candidate frequencies a fixed margin from multiples of $\pi/2$; the separate regret guarantee covers the full circle.
- **Synthetic evidence**: One-plane trials use Gaussian noise at $T=1024$; the primary two-plane comparison has 16 paired instances at $T=8192$.
- **Hardware-specific timing**: On one system, checked end-to-end median across 12 runs was 1.515 s vs 0.227 s for matched sparse; 4.69× is the paired ratio vs dense NLS.

Best used when: Consider it when certified block lengths matter; benchmark confidence-oracle cost against a matched sparse refit schedule.

## Key takeaways

- With a fixed nonresonance margin, enough held greedy rounds can make selected measurements expose the model's prediction errors.
- Use the confidence set to test proposed blocks; switch to online learning when no prefix fits the regret budget.
- Extending this control to many signals means deciding how long any evolving state can go unobserved.

## Links

- arXiv: https://arxiv.org/abs/2611.27492
- PDF: https://arxiv.org/pdf/2611.27492

## Citation

```bibtex
@article{jayraj2026learning,
  title   = {Learning Unknown Oscillators From Bandit Feedback},
  author  = {Jayraj, Priyank and Goyal, Poonam and Goyal, Navneet},
  journal = {arXiv preprint arXiv:2611.27492},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.27492}
}
```
