Contextual Multinomial Logit Bandits with General Value Functions

Mengxiao Zhang, Haipeng Luo

Abstract

In online assortment recommendation, the Multinomial Logit (MNL) model is the standard framework for predicting user choice. However, existing contextual MNL bandit algorithms have largely been restricted to linear value functions and suffer from regret bounds that scale exponentially with problem-dependent constants. This paper introduces a novel framework that supports general value functions and eliminates these exponential dependencies. By reducing the bandit problem to a log-loss regression task and employing log-barrier regularization, the authors achieve significant theoretical improvements in both stochastic and adversarial environments.

Introduction

Online platforms, from e-commerce sites to streaming services, must constantly decide which subset of items—an "assortment"—to present to a user. The goal is to maximize the probability that a user selects an item, a process typically modeled using the Multinomial Logit (MNL) framework. In this model, each item is assigned a "valuation," and the probability of selection is proportional to that valuation relative to the rest of the assortment.

While the MNL model is powerful, its application in "contextual" settings (where decisions are informed by user history or item features) has faced two major hurdles. First, most existing research relies on linear models to map contexts to valuations, which often fails to capture the complexity of real-world behavior. Second, even within linear models, the theoretical performance guarantees (regret bounds) often include a constant, $\kappa$, which can grow exponentially with the norm of the model's weights. This paper addresses both issues by providing a flexible framework for general value functions that bypasses the "exponentially large" constant problem.

The Problem: Linearity and the "$\kappa$" Bottleneck

In a contextual MNL bandit, the learner observes a context, chooses an assortment, and observes the user's choice. The "regret" is the difference between the reward the learner could have achieved with perfect knowledge and what it actually earned.

Previous state-of-the-art algorithms for this problem were limited by a dependence on $\kappa = \exp(2B)$, where $B$ is the weight norm. In large-scale recommendation systems, this constant becomes so large that theoretical regret bounds lose their practical meaning. Furthermore, the reliance on linear functions prevents the use of more sophisticated models, such as neural networks, which might better approximate true user preferences.

Methodology

The authors propose a suite of algorithms designed for both stochastic (independent and identically distributed) and adversarial contexts. Their approach is built on several key technical pillars:

1. Reduction to Log-Loss Regression

Instead of treating the bandit problem in isolation, the authors reduce it to a simpler log-loss regression problem. They prove a "Reverse Lipschitzness" property (Lemma 3), which demonstrates that if the choice distributions of two sets of valuations are similar, the valuations themselves must be close. This justifies using regression to learn the underlying value function.

2. Log-Barrier Regularization

To ensure the algorithm explores the item space sufficiently, the authors introduce a novel sampling strategy using a log-barrier penalty. This ensures "high dispersion," preventing the algorithm from prematurely converging on a suboptimal assortment while maintaining a balance between exploration and exploitation.

3. Decision-Estimation Coefficient (DEC)

For adversarial settings, where contexts may change arbitrarily, the authors adapt the DEC framework. This allows them to bound the gap between the learner’s estimates and the ground truth, providing the first-ever results for completely adversarial context-reward pairs in the MNL setting.

4. Feel-Good Thompson Sampling (FGTS)

To push toward the optimal regret bound of $\sqrt{T}$, the authors extend Feel-Good Thompson Sampling to the MNL model. While computationally more intensive, this technique provides the tightest possible theoretical guarantees.

Key Results and Insights

The paper’s findings represent a significant leap in the theoretical understanding of assortment optimization:

  • Eliminating the Exponential Constant: By utilizing log-loss regression and specific regularization, the authors achieve regret bounds that are polynomial or logarithmic in the weight norm $B$. This represents a "doubly-exponential" improvement over previous linear benchmarks that relied on $\exp(2B)$.
  • Unified Strategy: The research demonstrates that a single strategy—log-barrier regularized sampling—is effective across both stochastic and adversarial environments, suggesting that low-regret-high-dispersion is a fundamental requirement for solving MNL bandits.
  • Dimension-Free Regret: Several of the proposed algorithms offer regret bounds that do not depend on the dimensionality ($d$) of the feature space, making them highly suitable for high-dimensional personalized recommendation tasks.

Conclusion and Future Work

This work provides a robust theoretical foundation for moving beyond linear models in assortment recommendation. By solving the "$\kappa$" problem, the authors have made regret analysis relevant for large-scale, real-world applications.

However, challenges remain regarding computational efficiency. The algorithms that achieve the optimal $\sqrt{T}$ regret, such as FGTS, require sampling from complex distributions that are not easily computed in polynomial time. Additionally, the current analysis assumes a "no-purchase" normalization where the probability of a user picking nothing is relatively high. Future research will likely focus on developing computationally efficient algorithms that maintain these improved regret bounds without such constraints.

Summary updated

BibTeX
@inproceedings{zhang2024contextual,
  author = {Mengxiao Zhang and Haipeng Luo},
  title = {{Contextual Multinomial Logit Bandits with General Value Functions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=2ltOkbo67R},
}
Figure