Policy Regret for Embedding Model Routing: Contextual Bandits with Low-Rank Experts

Yan Dai, Negin Golrezaei, Patrick Jaillet
6/12/2026
cs.LGcs.AIstat.ML
rl

No confident code implementation found for this paper.

Abstract

Modern recommendation systems increasingly rely on dynamically routing diverse queries to multiple embedding models. Despite its practical significance, this problem remains poorly understood under realistic conditions like adversarial queries, bandit feedback, and limited observability of models.

Show full abstract

We formalize embedding model routing as an adversarial contextual linear bandit with low-rank experts, where contexts are queries, actions are items, and experts are the embedding models working on low-rank latent representation spaces. We first establish that standard regret notions suffer from structural misspecification or statistical intractability, and we identify a log-quadratic policy class that is expressive enough to capture query-dependent model routing, yet structured enough to allow efficient online learning. Focusing on this log-quadratic policy optimization problem under bandit feedback -- which is of independent interest -- we propose a policy gradient algorithm called Hypentropy Policy Gradient (HPG). It provably adapts to the unknown low-rank structure under incomplete information and attains $\widetilde{\mathcal O}(s\sqrt{M T})$ linearized policy regret -- where $s, M$, and $T$ are the intrinsic rank of the experts, the number of models, and the number of rounds -- thus avoiding a curse of dimensionality. We provide computationally efficient and parameter-free implementation of HPG.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dai2026policy,
  title  = {Policy Regret for Embedding Model Routing: Contextual Bandits with Low-Rank Experts},
  author = {Yan Dai and Negin Golrezaei and Patrick Jaillet},
  year   = {2026},
  eprint = {2606.14929},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.14929v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.14929.svg)](https://codeofpaper.com/paper/2606.14929)

Discussion