Abstract
Online marketplaces must frequently match a heterogeneous stream of users to a limited supply of resources. This task is complicated by the fact that user preferences and types are often unknown a priori, necessitating a period of exploration. However, in capacity-constrained environments, exploring a suboptimal match for one user creates a negative externality by making that resource unavailable to others. This paper introduces DEEM (Decentralized Explore-then-Exploit for Matching), an algorithm that achieves theoretically optimal regret by integrating shadow pricing with a structured exploration phase. We demonstrate that by accounting for resource scarcity through dual variables, platforms can decouple complex global matching problems into manageable, decentralized learning tasks.
Introduction
In modern digital economies, platforms like Upwork, Amazon, and Uber act as intermediaries between a fluctuating supply of products or tasks and a continuous stream of users. To maximize efficiency, these platforms must solve a "matching while learning" problem: they need to identify which matches yield the highest rewards while simultaneously respecting the physical limits of their inventory.
Traditional multi-armed bandit (MAB) frameworks provide a robust foundation for learning under uncertainty. However, they typically assume that pulling an arm has no impact on the availability of that arm for future users. In a matching market, this assumption fails. Assigning a scarce job to a specific worker is not just a learning opportunity; it is a resource allocation decision that potentially deprives a more suitable worker of that same job later. This paper addresses how to balance the need for exploration with the rigid constraints of capacity.
The Matching-While-Learning Problem
The authors model the marketplace as a system where workers of unknown types arrive sequentially. The platform's goal is to maximize the steady-state rate of payoff by matching these workers to job types with fixed capacities. The challenge is two-fold:
- Information Asymmetry: The platform does not know the worker's type (skills or preferences) and must infer it from the rewards generated by different matches.
- Capacity Externalities: Because jobs are limited, the "cost" of a match is not just the immediate regret of a suboptimal choice, but also the opportunity cost of using a resource that could have been better utilized elsewhere.
The DEEM Algorithm
The proposed solution, DEEM (Decentralized Explore-then-Exploit for Matching), utilizes a decentralized architecture. Rather than requiring a global controller to monitor every worker in real-time, DEEM makes decisions based on an individual worker's history and global system statistics.
Shadow Pricing
The core innovation of DEEM is the use of shadow prices ($p^*$). These prices are derived from the dual of a static matching optimization problem. By subtracting the shadow price of a job from its expected reward, the platform creates a "price-adjusted payoff." This mechanism allows the algorithm to internalize the global scarcity of a resource at a local level. If a job is highly scarce, its shadow price will be high, discouraging the algorithm from using it for exploration unless the potential information gain is significant.
Two-Phase Structure
DEEM operates in two distinct phases for each worker:
- Exploration Phase: This is further divided into Guessing and Confirmation. During Guessing, the platform samples jobs to form a Maximum A Posteriori (MAP) estimate of the worker's type. During Confirmation, the platform specifically samples jobs that help distinguish the current best guess from "difficult" alternative types—those that look similar to the true type under optimal matching.
- Exploitation Phase: Once a worker's type is confirmed with high confidence, the platform matches them myopically based on the price-adjusted payoffs.
For practical implementation, the authors also introduce DEEM+, a heuristic that replaces static shadow prices with dynamic "backpressure" prices derived from real-time queue lengths of available jobs.
Theoretical Analysis and Regret Bounds
A significant contribution of this work is the identification of "difficult type pairs." These are worker types that yield identical rewards for their respective optimal jobs but differ on suboptimal ones. The presence of these pairs dictates the fundamental limits of learning.
The authors prove that DEEM is instance-optimal. When difficult type pairs exist, the regret scales at a rate of $O(\log N/N)$, where $N$ is the worker's lifetime. In the absence of such pairs, the regret improves significantly to $O(\log \log N/N)$. This theoretical bound demonstrates that DEEM efficiently navigates the trade-off between information acquisition and resource preservation.
Experimental Results
The researchers evaluated DEEM and DEEM+ using 350 synthetic problem instances involving various worker and job type distributions. The simulations focused on scenarios with difficult type pairs to test the limits of the algorithms.
Key findings include:
- Superiority over Thompson Sampling: DEEM+ significantly outperformed Price-Adjusted Thompson Sampling (PA-TS). While Thompson Sampling is often a gold standard in MAB problems, its aggressive exploration can be wasteful in capacity-constrained environments. DEEM’s structured confirmation phase ensures that exploration is targeted and efficient.
- Price Convergence: The experiments validated that backpressure-based prices in DEEM+ quickly converge to the theoretical shadow prices ($p^*$), confirming that real-time queue management is an effective proxy for global optimization.
Discussion and Future Directions
While DEEM provides a powerful framework for matching while learning, several avenues for future research remain. The current model assumes a finite set of discrete types; extending this to continuous type spaces (e.g., using embedding vectors) would increase its applicability to large-scale recommendation systems. Additionally, the model assumes one-sided uncertainty (unknown worker types). Future work could explore two-sided uncertainty where both worker and job characteristics must be learned simultaneously. Finally, considering strategic behavior—where workers might reject exploration matches—would bring the model closer to the complexities of real-world labor markets.
Summary updated