NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Signature Approach for Contextual Bandits with Nonlinear and Path-dependent Rewards

Xin Guo, Grace He, Xinyu LiNeurIPS 2026

TL;DR

Real-world decisions often depend on the winding history of events—like how a patient’s fluctuating vital signs over the last hour dictate the best treatment right now—rather than just a static snapshot. This paper brings a mathematical tool called the "signature transform" to contextual bandits, turning messy, nonlinear, path-dependent histories into clean linear features. The result is an algorithm (DisSigUCB) that handles complex sequential patterns while retaining the speed and theoretical guarantees of simple linear models.

What Problem Does This Paper Address?

Imagine playing a slot machine where, before pulling a lever, you get a clue about which arm pays out best. That is a contextual bandit: an algorithm repeatedly observes side information (context), picks an action, and gets a reward, learning on the fly how to balance exploring uncertain options with exploiting known winners.

Most classical bandit algorithms make two big, simplifying assumptions:

  1. The context is an independent static vector (a snapshot in time).
  2. The reward is a simple linear function of that snapshot.

In reality, context is often a movie, not a photograph. In finance, option payoffs depend on the entire price trajectory; in healthcare, staffing needs depend on recent spikes and trends in emergency room visits. While nonlinear bandit methods exist (like Generalized Linear Models or Kernelized bandits), they force you to commit ahead of time to a rigid mathematical structure (a specific link function or kernel) and still don't naturally digest continuous trajectories. The authors ask: Can we capture arbitrary, nonlinear, path-dependent rewards while keeping the fast, well-understood machinery of linear bandits?

Methods

The secret weapon here is the signature transform, borrowed from rough path theory. Given a continuous trajectory over a time window, its signature is an infinite sequence of iterated integrals. Intuitively, if the 1st level of a signature captures net change (like displacement), higher levels capture geometric nuances like the area swept by the curve, trends, oscillations, and the exact ordering of events.

Crucially, signatures possess a superpower called universal nonlinearity: any continuous, nonlinear function of a path can be approximated arbitrarily well by a simple linear combination of its truncated signature features (provided we include time itself as a coordinate).

Here is how the authors build DisSigUCB by combining novel path representations with standard bandit mechanics:

  • Feature Extraction (Novel Application): At each round, the learner observes a recent window of the evolving context path, augments it with a time coordinate, and computes its truncated signature up to depth $N$. To prevent algebraic redundancies in the signature from breaking the math, they apply a pruning step to keep only linearly independent features.
  • Action Selection (Standard Machinery): Once the path is mapped into signature space, the nonlinear problem becomes linear! The authors plug these pruned features directly into a classic disjoint Upper Confidence Bound (LinUCB) framework, using ridge regression to estimate action-specific reward weights and adding an uncertainty bonus to drive exploration.
Table 1: Regret bounds of related contextual bandit algorithms, to logarithmic factors.

Datasets

The authors evaluate DisSigUCB on three real-world sequential decision tasks (no new benchmark datasets are introduced, though existing time-series datasets are adapted into path-dependent bandit environments):

  • Intel Berkeley Research Lab Sensor Dataset: Temperature readings taken every 30 seconds across 54 sensors. Using 4 always-on "anchor" sensors, the learner picks one sensor each hour to track the network-wide average or maximum temperature.
  • Sleep-EDF Database Expanded: 150 overnight recordings of brain and eye activity (EEG/EOG) sampled at 25 Hz. Every 30 seconds, the algorithm observes a 750-step physiological trajectory to classify the subject's dominant sleep stage.
  • NYC Health Syndromic Surveillance Dataset: Daily emergency department visit counts for vomiting-related illnesses (2019–2025), used weekly to decide hospital nurse staffing levels under asymmetric under/over-staffing penalties.

Key Insights and Ideas

  • Linearizing History without Guesswork: Unlike kernel methods or GLMs, you don't have to guess the right nonlinear function class in advance. Truncated signatures act as a universal feature map for trajectories.
  • Beating Non-Stationarity in the Proofs: Because consecutive time windows overlap and evolve continuously, contexts aren't independent and identically distributed (i.i.d.)—breaking standard bandit proof techniques. The authors bypass this using an adapted matrix Chernoff inequality, proving that as long as each action is explored enough, the feature covariance matrices remain well-behaved even under adaptive decision-making.
  • Shallow Signatures Go a Long Way: Signature feature dimensions grow exponentially with depth $N$, $(d+1)^N$, while approximation error shrinks polynomially. Both theory and experiments confirm a sweet spot: very small depths ($N \le 2$ or $3$) capture the necessary temporal geometry without blowing up estimation complexity.

Key Results

  • Theoretical Regret: DisSigUCB achieves a high-probability cumulative regret of $\tilde{\mathcal{O}}((d+m)\sqrt{KT}) + \varepsilon$, where $d$ is context dimension, $m$ is pruned signature dimension, $K$ is number of actions, $T$ is the time horizon, and $\varepsilon$ is signature approximation error. This matches LinUCB’s linear scaling in feature dimension while handling far broader reward functions.
  • Sleep Stage Classification: Where temporal oscillations and wave patterns matter most, DisSigUCB shines. In the final 200 rounds, it hits 0.726 mean accuracy (0.718 weighted F1), handily beating KernelUCB (0.616 accuracy) and standard LinUCB (0.149 accuracy), as well as LinUCB augmented with hand-crafted summary statistics (0.394 accuracy).
  • Sensor Monitoring & Nurse Staffing: DisSigUCB consistently outperforms KernelUCB and Random Fourier Features (LinUCB-rff). On temperature tracking, it matches or ties rich summary-statistic baselines; on nurse staffing, degree-two polynomial features (LinUCB-poly) take first place—likely because total weekly demand depends more on magnitude than fine intra-week ordering—while DisSigUCB remains competitive across all domains without task-specific feature engineering.
Figure 1: Average-temperature task. Lines show medians; shaded bands show 25th–75th percentiles.

Limitations and Future Work

  • Curse of Dimensionality: Because the signature dimension $m = (d+1)^N$ scales exponentially with depth $N$ and polynomially with path dimension $d$, high-dimensional context streams can quickly make matrix inversions expensive.
  • Disjoint Action Structure: Currently, DisSigUCB learns separate parameters for every discrete action, sharing no information across arms.
  • Future Directions: To tame feature blowup, the authors propose exploring signature kernels (computing inner products of infinite signatures implicitly via PDEs) and adaptive truncation. They also aim to extend the framework to hybrid/continuous action spaces and prove regret bounds for tighter martingale-mixture confidence sets.

Summary updated

BibTeX
@inproceedings{guo2026signature,
  author = {Xin Guo and Grace He and Xinyu Li},
  title = {{Signature Approach for Contextual Bandits with Nonlinear and Path-dependent Rewards}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BfjQPRAfuN},
}
Figure