Distributionally Robust Newsvendor on a Metric

Ayoub Foussoul, Vineet Goyal

Here is a concise, engaging blog-style summary of the paper.

Distributionally Robust Newsvendor on a Metric: A Modern Take on a Classical Problem

TL;DR

This paper introduces the first algorithm with provable performance guarantees for the multi-location newsvendor problem with sequential demand on a metric space under distributional ambiguity. By generalizing Scarf’s seminal 1957 single-site solution into a hierarchical clustering framework, the authors design a policy that balances local fulfillment efficiency with global risk pooling, achieving a poly-logarithmic approximation ratio against the worst-case demand distribution.

What Problem Does This Paper Address?

Imagine you are an e-commerce giant like Amazon. You have multiple warehouses scattered across the country, and customer demand arrives sequentially over time. Before the selling season begins, you must decide how much inventory to place at each warehouse. Once the season starts, you need a policy to fulfill incoming orders from these warehouses to minimize the total expected cost of fulfillment (shipping distance), overage (leftover stock), and underage (lost sales/dissatisfaction).

This is a multi-location generalization of the classic newsvendor problem. The challenge is twofold:

  1. Distributional Ambiguity: In reality, estimating the exact probability distribution of future demand is incredibly difficult. Often, you only know basic statistics like the mean and variance.
  2. Network Dynamics: Warehouses and demand locations exist in a metric space (where distances matter), meaning fulfillment decisions cannot be made in isolation. You want to leverage "risk pooling" (sharing inventory across locations) without incurring exorbitant shipping costs.

The authors tackle the Distributionally Robust Newsvendor on a Metric (DRNM) problem, aiming to find an initial inventory allocation and an online fulfillment policy that minimizes costs under the worst-case demand distribution and worst-case arrival sequence.

Methods

The authors adopt a two-step approach, solving the offline version of the problem first before tackling the more complex online, sequential version.

1. The Generalized-Scarf-on-a-Metric (GSM) Solution (Offline)

For the offline setting (where all demand arrives at once), the authors generalize a famous 1957 closed-form solution by Herbert Scarf for a single location. Their new GSM solution works as follows:

  • It partitions the metric space into a hierarchical set of clusters using Hierarchically Well-Separated Partitions.
  • It assigns a "virtual" underage cost to each cluster based on its parent cluster's diameter.
  • It solves a simple covering Linear Program (LP) to ensure that each cluster holds at least the safety stock suggested by Scarf’s original formula, treating the cluster as a single aggregate point.

2. The Hierarchical Balance (HB) Policy (Online)

Building on the GSM solution, the authors design the HB policy for sequential demand:

  • Inventory Allocation: It uses the GSM framework to set initial warehouse levels.
  • Fulfillment Policy: When demand materializes, it attempts to fulfill it locally. If local inventory is depleted, it searches for inventory in clusters of increasing diameter. Crucially, to prevent any single warehouse from being prematurely emptied, it draws inventory evenly from available sub-clusters.

Datasets

The paper evaluates the algorithms using synthetic datasets generated to simulate realistic spatial demand scenarios:

  • Tree Metrics: For the offline problem, metric spaces were constructed using rooted trees where edge weights increase exponentially with the level of the tree, mimicking hierarchical urban/regional structures.
  • Euclidean Plane: For the online problem, random points were generated on a 2D Euclidean plane.
  • Demand Distributions: To test robustness, demand samples ($m=1000$) were drawn from three distinct ground-truth distributions with different tail behaviors: Normal, Log-Normal, and Gamma, all matched to the specified mean ($\mu$) and covariance ($\Sigma$).

Key Insights and Ideas

  • The "Virtual" Cost Trick: The core elegance of the paper lies in mapping spatial distance to an economic penalty. A warehouse acquiring inventory from a distant location incurs a shipping cost, which acts mathematically like a modified ("virtual") underage cost. This insight allows the multi-location problem to be decomposed using single-location logic.
  • Structure Over Distribution: The hierarchical clustering depends solely on the geometry of the metric space, not the demand distribution. This means a company can use the exact same warehouse clustering setup for multiple different products simultaneously.
  • Mimicking Industry Heuristics: The theoretical "Hierarchical Balance" policy closely mirrors real-world strategies adopted by major retailers. For example, Amazon's 2022 shift to a regionalized fulfillment network (dividing the US into eight distinct regions) is a practical implementation of the two-level clustering analyzed in this paper.

Key Results

  • Theoretical Guarantees: The authors prove that the GSM solution achieves an $O(\log^4 n)$ approximation for general metric spaces and a constant $O(1)$ approximation for uniform metrics. The online HB policy achieves an $O(\log^6 n)$ approximation for general metrics.
  • Excellent Practical Performance: Despite the conservative nature of "worst-case" robust optimization, numerical experiments showed the algorithms perform remarkably well against standard distributions:
  • In the offline case, the simple GSM solution was within 6% of the mathematically optimal (but computationally intractable for large scale) Semidefinite Programming (SDP) benchmark.
  • In the online sequential case, the HB policy's cost did not exceed a 20% relative gap compared to the absolute offline optimum benchmark across all tested instances.
Relative Gap to Benchmark:
Offline (GSM vs SDP):   < 6% gap
Online (HB vs Offline): < 20% gap

Limitations and Future Work

While this paper provides a massive leap forward with the first provable bounds for DRNM, some areas remain open for improvement:

  • Uncorrelated Demand Assumption: The current model assumes demand across different locations is uncorrelated (a diagonal covariance matrix). Extending this to capture spatial correlations (e.g., a rainy day depressing demand across an entire region) is a natural next step.
  • Tightening the Bounds: The poly-logarithmic bounds ($O(\log^6 n)$) are theoretically significant, but the empirical results suggest the algorithm performs much better in practice than the theoretical worst-case bounds indicate. Tightening these mathematical guarantees remains an open challenge.

Summary updated

BibTeX
@inproceedings{foussoul2025distributionally,
  author = {Ayoub Foussoul and Vineet Goyal},
  title = {{Distributionally Robust Newsvendor on a Metric}},
  booktitle = {EC},
  year = {2025},
  doi = {10.1145/3736252.3742499},
}
Figure