Efficient Algorithms for Learning Revenue-Maximizing Two-Part Tariffs

Maria-Florina Balcan, Siddharth Prasad, Tuomas Sandholm

Abstract

This paper addresses the computational challenge of finding revenue-maximizing two-part tariffs (TPTs) from buyer valuation samples. While previous research established sample complexity bounds for generalization, efficient algorithms for price optimization remained elusive. We present the first computationally efficient algorithms for single TPTs, menus of tariffs, and multi-market scenarios. Our "hinging" algorithm for single TPTs achieves a significant speedup over general-purpose solvers, while our analysis of market segmentation identifies conditions under which the problem remains tractable despite general NP-hardness.

Introduction

A two-part tariff (TPT) is a ubiquitous pricing model consisting of a lump-sum entry fee ($p_1$) and a per-unit price ($p_2$). Common examples include warehouse clubs like Costco (membership fee plus item prices) or coffee systems like Keurig (machine cost plus pod prices).

In practical settings, sellers rarely possess perfect information regarding buyer valuations. Instead, they rely on empirical data—samples of past buyer behavior. The central challenge addressed in this work is: given a set of buyer valuation samples, how can one algorithmically determine the $p_1$ and $p_2$ that maximize total revenue? While prior work by Balcan et al. (2018) established the sample complexity required for generalization, it did not provide an efficient method to compute the optimal prices. This paper fills that void with specialized algorithms for single tariffs and menus.

The Hinging Algorithm for Single TPTs

The core algorithmic insight for the single TPT case is the concept of Anchored Optimality. The authors prove that an optimal tariff line must pass through at least one data point $(q, v(q))$, where $v(q)$ represents a buyer's valuation for quantity $q$. This observation reduces the search space from a continuous 2D plane to a discrete set of "hinge points."

Visualization of the "hinging" process where the price line rotates around a valuation point (q, v(q)) to find optimal thresholds.

As shown in the figure above, the algorithm "hinges" a price line on these valuation points and rotates it. As the slope (the per-unit price $p_2$) changes, buyers switch the quantities they purchase at discrete thresholds. By checking these $O(NK)$ thresholds for every possible hinge point, the algorithm identifies the global optimum in $O(N^3 K^3)$ time.

Beyond single tariffs, the authors extend their approach to Menus of TPTs (offering $L$ different tariffs). By partitioning the parameter space into convex polytopes using hyperplanes, they ensure buyer behavior remains constant within each region. This allows the revenue function to be treated as linear, transforming the problem into a series of Linear Programs (LPs) solvable in $(NK)^{O(L)}$ time.

However, the problem becomes significantly more complex when considering Market Segmentation—offering different prices to different groups under inventory constraints. The authors demonstrate that finding revenue-maximizing prices across markets with limited inventory is NP-hard via a reduction from the Maximum Weight Independent Set problem. Despite this, they find that if buyers share the same valuation distribution across markets, an "unsegmented" optimal solution remains near-optimal, providing a practical heuristic for sellers.

Experimental Results

To validate their theoretical findings, the authors compared their specialized "hinging" algorithm against Gurobi, an industry-standard mixed-integer programming (MILP) solver. Using synthetic valuation datasets, the results demonstrated a substantial performance advantage:

  • Efficiency: For a single TPT with $N=600$ samples and $K=5$ units, the specialized algorithm found the optimal price in under 23 minutes, whereas Gurobi required over 3.5 hours.
  • Feasibility: The authors proved that if a pricing scheme does not exceed inventory capacity on the samples, it is mathematically guaranteed (with high probability) to remain feasible for the entire population.

Conclusion

This work bridges the gap between the theory of sample complexity and the practice of automated mechanism design. By exploiting the geometric structure of revenue functions, the authors provide tools that are both theoretically grounded and practically efficient. Future research may extend these "hinging" and "partitioning" techniques to even more complex structures, such as three-part tariffs or multi-product bundles.

Summary updated

BibTeX
@inproceedings{balcan2020efficient,
  author = {Maria-Florina Balcan and Siddharth Prasad and Tuomas Sandholm},
  title = {{Efficient Algorithms for Learning Revenue-Maximizing Two-Part Tariffs}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/47},
}
Figure