Risk-Aware Linear Bandits: Theory and Applications in Smart Order Routing

Jingwei Ji, Renyuan Xu, Ruihao ZhuarXiv 2022 · DOI

Abstract

Sequential decision-making in financial markets requires balancing expected returns with risk, often across massive action spaces. Traditional Multi-Armed Bandit (MAB) frameworks struggle with these requirements due to risk-neutrality and regret bounds that scale with the number of actions. This paper introduces the first risk-aware linear bandit framework, utilizing G-optimal experimental design and a novel temporal regret decomposition. Our proposed algorithms, RISE and RISE++, decouple performance loss from the number of actions, providing a scalable solution for complex tasks like Smart Order Routing (SOR).

Introduction

The Multi-Armed Bandit (MAB) framework is a cornerstone of reinforcement learning for balancing exploration and exploitation. However, its application to high-frequency trading and Smart Order Routing (SOR) faces two significant hurdles. First, financial agents are typically risk-averse, requiring optimization of mean-variance metrics rather than simple expected rewards. Second, the action space in SOR—how to split $V$ shares across $d$ venues—grows exponentially, rendering standard MAB algorithms that scale with the number of actions ($K$) practically ineffective.

Methodology: RISE and RISE++

To address these challenges, we propose a linear bandit approach where rewards and risks are modeled as linear functions of action features. This allows for generalization across the action space. We introduce two algorithms:

  • RISE (Risk-Aware Explore-then-Commit): Uses G-optimal design to identify a minimal subset of actions for exploration before committing to the best-estimated strategy.
  • RISE++ (Risk-Aware Successive Elimination): An iterative approach that progressively eliminates sub-optimal actions.

A key theoretical contribution is the Temporal Regret Decomposition. Unlike traditional proofs that decompose regret action-wise (retaining dependence on $K$), our approach looks at temporal accumulation, replacing $K$ with the much smaller feature dimension $d$.

Empirical Justification of Linearity

The validity of a linear bandit model hinges on the underlying structure of the data. We analyzed high-frequency message-level data from the NASDAQ ITCH dataset to reconstruct Limit Order Books (LOBs) and validate our assumptions.

Empirical evidence from NASDAQ AMZN data showing linear relationships for mean PnL and variance.

As shown in the figure above, the estimated mean of PnL exhibits a clear linear relationship with the test quantity, while the variance scales linearly with the square of the quantity. This empirical evidence justifies the linear/quadratic assumptions used in our framework, providing a solid real-world foundation for the model.

Key Results

Our theoretical analysis shows that RISE achieves a regret bound of $\tilde{O}(dT^{2/3})$, and RISE++ reaches near-optimal logarithmic regret in $T$, both independent of $K$. In numerical simulations with over 1,000 possible actions, traditional algorithms like UCB failed to learn within the horizon, whereas RISE and RISE++ successfully identified optimal routing strategies with sublinear regret.

Conclusion and Future Work

By integrating risk-awareness with linear bandit theory, we provide a robust framework for financial decision-making in high-dimensional spaces. Future research will focus on non-stationary market regimes, non-Gaussian noise distributions, and alternative risk measures like Conditional Value at Risk (CVaR).

Summary updated

Abstract

Motivated by practical considerations in machine learning for financial decision-making, such as risk aversion and large action space, we consider risk-aware bandits optimization with applications in smart order routing (SOR). Specifically, based on preliminary observations of linear price impacts made from the NASDAQ ITCH dataset, we initiate the study of risk-aware linear bandits. In this setting, we aim at minimizing regret, which measures our performance deficit compared to the optimum's, under the mean-variance metric when facing a set of actions whose rewards are linear functions of (initially) unknown parameters. Driven by the variance-minimizing globally-optimal (G-optimal) design, we propose the novel instance-independent Risk-Aware Explore-then-Commit (RISE) algorithm and the instance-dependent Risk-Aware Successive Elimination (RISE++) algorithm. Then, we rigorously analyze their near-optimal regret upper bounds to show that, by leveraging the linear structure, our algorithms can dramatically reduce the regret when compared to existing methods. Finally, we demonstrate the performance of the algorithms by conducting extensive numerical experiments in the SOR setup using both synthetic datasets and the NASDAQ ITCH dataset. Our results reveal that 1) The linear structure assumption can indeed be well supported by the Nasdaq dataset; and more importantly 2) Both RISE and RISE++ can significantly outperform the competing methods, in terms of regret, especially in complex decision-making scenarios.
BibTeX
@misc{ji2022risk,
  author = {Jingwei Ji and Renyuan Xu and Ruihao Zhu},
  title = {{Risk-Aware Linear Bandits: Theory and Applications in Smart Order Routing}},
  year = {2022},
  eprint = {2208.02389},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.02389},
}
Figure