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

Assortment Optimization Under the Mallows model

Antoine Désir, Vineet Goyal, Srikanth Jagabathula, Danny SegevNeurIPS 2016

Introduction

Imagine you are a retailer with a catalog of 1,000 products, but your shelf space—or website front page—only fits 20. Which 20 do you pick to maximize profit? This is the classic assortment optimization problem.

The core challenge in assortment optimization lies in modeling "substitution behavior." If a customer wants a black shirt and you do not offer it, they might buy a dark blue one instead, or they might leave empty-handed. To solve this, retailers rely on demand models. While simple models like the Multinomial Logit (MNL) are computationally convenient, they often fail to capture the complex nuances of real-world consumer preferences.

The Mallows model is a popular ranking-based model in machine learning that assumes customer preferences are "clustered" around a central, modal ranking. Despite its expressiveness, it has been historically ignored in retail optimization. Calculating the probability of a customer choosing a specific item under the Mallows model requires summing over an exponential number of possible rankings—a task known to be #P-hard for general partial orders. This paper bridges a long-standing gap between machine learning and operations management by providing the first efficient algorithms to overcome this computational bottleneck.

Methodology

The authors introduce two primary technical breakthroughs to make the Mallows model tractable for assortment optimization:

  1. Efficient Choice Probability Computation:
  2. FFT Approach: The authors demonstrate that the Mallows distribution possesses a rich combinatorial structure, allowing choice probabilities to be expressed as a discrete convolution. By leveraging the Fast Fourier Transform (FFT), they can evaluate these probabilities in $O(n^2 \log n)$ time, where $n$ is the number of products.
  3. Dynamic Programming (DP): They also exploit the "Repeated Insertion Method" (a standard technique for sampling from a Mallows distribution) to create a dynamic program that computes choice probabilities in $O(n^3)$ time.
  4. Assortment Optimization via MIP: The authors transform their DP specification into a Mixed Integer Linear Program (MIP). This is a powerful optimization framework because it easily incorporates real-world "business constraints"—such as limiting the number of items from a specific category or mandating the inclusion of a flagship product—which are notoriously difficult to hardcode into pure combinatorial algorithms.

Experimental Setup and Key Insights

The paper evaluates its approach using a synthetic simulation study. Product prices were sampled uniformly at random from $[0, 1]$, and the modal ranking was fixed to an identity ranking. To simulate a competitive market where customers are likely to walk away, the "outside option" (no purchase) was ranked at the top. The experiments tested product universes of up to $n=25$ products.

Key Insights

  • Structure over Complexity: While computing probabilities for general partial orders is #P-hard, the specific structure of "choosing the best available item from a set" under the Mallows model is contiguous. This realization is what allows for the use of efficient convolutions.
  • MIP Strengthening: The authors found that the raw MIP formulation was initially slow. However, by applying structural properties (e.g., deducing that the highest-priced product is highly likely to be in the optimal set), they significantly tightened the constraints and accelerated the solver.

Key Results

The most significant result of the paper is moving the Mallows model from a theoretical machine learning construct to a practical tool for operations management. The paper provides the first efficiently computable closed-form expression for choice probability under Mallows. Furthermore, the framework naturally extends to mixtures of Mallows models, allowing retailers to model diverse customer segments (e.g., "budget shoppers" vs. "luxury seekers") simultaneously.

Computationally, the strengthened MIP proves highly effective for standard category sizes.

Average and maximum running times (in seconds) for the MIP formulation across different assortment sizes ($n$) and concentration parameters ($e^{-\theta}$).

As shown in the performance table above, the strengthened MIP can solve assortment problems with 25 products in a few minutes on average (ranging from ~143 seconds to ~770 seconds depending on the concentration parameter $e^{-\theta}$). Without the authors' strengthening techniques, the same problem instances failed to terminate even after several hours.

Limitations and Future Work

While the results are promising, the authors note a few limitations that pave the way for future research:

  • Scalability: While $n=25$ is a common size for a single physical shelf or specific web category, many online retailers optimize across thousands of items. The $O(n^3)$ complexity of the MIP variables means that scaling to "Big Data" levels will require further optimization or specialized heuristics.
  • Numerical Stability: Potential numerical instabilities can arise when the concentration parameter ($\theta$) is very small (indicating preferences are nearly random) or when the number of products becomes exceptionally large.
  • Real-World Validation: The current study relies on synthetic data. Future work would benefit greatly from testing these models against actual transaction logs to determine how accurately the Mallows model captures real human "fickleness" compared to simpler, traditional models.

Summary updated

BibTeX
@inproceedings{desir2016assortment,
  author = {Antoine Désir and Vineet Goyal and Srikanth Jagabathula and Danny Segev},
  title = {{Assortment Optimization Under the Mallows model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=H1Njz_b_bS},
}
Figure