WorksComputer Science
Two-Sided Screening in Quality-Differentiated Markets
Abstract
Motivated by digital marketplaces such as Uber and Airbnb, we study how a two-sided platform designs a menu of qualities, consumer prices, and provider wages. Consumers and providers self-select according to their private values and costs, so the platform must design its menu to attract consumers while inducing enough supply to meet their demand. We study this coordination problem over a continuous quality space, requiring supply to cover demand at every quality threshold. We formulate menu design as an optimization over trading distributions, which specify how much trade occurs at or above each quality. Through convexification of the technological cost function, we characterize the profit- and welfare-optimal trading distributions. This characterization shows how production technology alone can reduce menu size without sacrificing optimal profit or welfare, regardless of the type distributions, and determines when optimal menus can be finite. We then show that profit maximization can be highly efficient: under monotone hazard rate conditions on both sides, a profit-optimal menu achieves at least of optimal social welfare. We next consider the practical setting in which the menu size is restricted to a prescribed number of offers. We establish how the restricted menu approximates the unrestricted optimum in profit. We develop an algorithm that computes a menu within this size limit in polynomial time. The computed menu simultaneously approximates the unrestricted optimal profit and social welfare with additive error.
Introduction
Platforms in quality-differentiated markets coordinate trade in goods or services offered at different quality levels. For example, Uber offers service tiers such as UberX and Uber Comfort. Offering a higher-quality option requires both consumers willing to pay for it and providers willing to supply it at the offered compensation. This creates a joint design problem: consumer prices shape demand across qualities, while provider compensations shape the corresponding supply. We study how a platform can coordinate two-sided menus when supply must cover demand at every quality, and how its choices affect platform profit and social welfare.
This problem combines screening with a feasibility constraint that links the two sides. In classical one-sided screening, a seller offers a price–quality menu to consumers with privately known valuations (Mussa and Rosen, 1978). There, the seller produces whatever quality a consumer selects, so every consumer’s choice is fulfilled automatically. Here, the platform also faces privately informed providers and must design a compensation menu to induce their participation and quality choices. Adjusting either menu changes the distribution of demand or supply across qualities, so the two menus cannot be optimized separately. Moreover, a continuous quality space may require an infinite optimal menu, while practical considerations favor finite menus that are easier to communicate and manage. These considerations raise three related questions:
What structure do optimal two-sided menus have?
How much welfare does profit maximization preserve?
How much profit can a platform retain with a limited menu, and how can such a menu be computed?
To address these questions, we study a platform intermediating trade between a continuum of consumers and a continuum of providers over a compact quality interval. Consumers have private values for quality, and providers have private cost types that scale a common technological cost function. The platform posts a set of qualities with consumer prices and provider compensations. Traders on both sides independently select their preferred quality or choose not to participate. We require supply to cover demand at every quality, with excess supply downgraded or discarded at no cost, and show that optimal menus match the two exactly (Proposition 2.1). Our goal is to characterize optimal menus in quality-differentiated markets, quantify the welfare consequences of profit maximization, and develop profit and welfare guarantees for menus with a limited number of qualities.
Our contribution and techniques
Within our model, we address the structure of optimal menus, the welfare consequences of profit maximization, and the design of limited menus. Below we present our main contributions with a running example (Example 1.1) for illustrating.
Example 1.1. Suppose the platform chooses qualities from the interval . Both consumer and provider types are uniformly distributed on , and the technological cost function is
Structure of optimal menus. We formulate menu design as an optimization over a common trading distribution, which specify how much trade occurs at or above each quality and express platform profit and social welfare as integrals of scalar contributions (Theorem 3.2). Our key reduction replaces technological cost function by its greatest convex minorant , the largest convex function below it (Theorem 3.3). As illustrated in Figure 1, the solid and dashed curves represent and . They coincide at isolated contact qualities and along contact intervals, while is linear between contacts whenever the curves differ. This replacement preserves both optimal values, and each objective admits an optimal menu using only contact qualities. Thus, technology alone identifies qualities that can be omitted, while type distributions determine the optimal trading masses. We also give a necessary and sufficient condition for finite optimal menus (Proposition 3.4). Example 1.1 below illustrates the trading-distribution representation, cost convexification, and the resulting finite optimal menu.

Figure 1. Convexification of technological cost.
Example 1.1 (cont.). Write for the mass trading at quality at least . The strictly matched menu we construct to implement has profit and welfare . The greatest convex minorant joins the contact points , , and :
The profit-maximizing menu is finite: it offers quality at price and compensation , and quality at price and compensation , plus the outside option with optimal profit .
The welfare optimum is also attained by a finite menu offering the same two qualities with optimal welfare .
Efficiency of profit maximization. We characterize the efficiency loss caused by profit maximization. The welfare optimum can be implemented without a platform subsidy (Proposition 4.1), yet profit maximization can preserve arbitrarily little welfare even when both type distributions are regular (Proposition 4.2). Under MHR condition, we establish a tight welfare ratio (Theorem 4.3). Example 1.1 below illustrates the welfare comparison between profit and welfare maximization under MHR.
Example 1.1 (cont.). Both uniform type distributions satisfy MHR conditions. The profit-maximizing menu yields welfare and therefore preserves of optimal welfare . This ratio exceeds , consistent with our welfare guarantee.
Limited menus and computation. When the smallest unrestricted optimal menu uses qualities, restricting menus to at most qualities preserves at least a fraction of optimal profit, and this bound is tight (Theorem 5.1). For general instances, including those requiring infinite optimal menus, we develop a dynamic program under a scalar profit oracle (Theorem 5.2). The algorithm combines quality discretization, cost convexification, and optimization over consecutive groups of quality increments. It returns a menu with at most qualities and additive profit loss at most , where is the quality bound, is the mean consumer value, and is an accuracy parameter. Under MHR, the same output achieves at least of optimal welfare minus the same additive error. Example 1.1 below illustrates the computed restricted menu and compares its profit and welfare with our approximation guarantees.
Example 1.1 (cont.). Set and . The algorithm returns a menu offering only quality 1 at price and compensation , in addition to the outside option. Its profit is , retaining of the unrestricted optimal profit and losing only . Its welfare is , retaining of optimal welfare.
The retained profit exceeds our relative guarantee, while the profit and welfare also satisfy the general additive bounds.
Related work
Our model builds on monopolistic price-quality screening (Mussa and Rosen, 1978) and its multidimensional extensions [2] (Rochet and Choné 1998). We study private information on both sides of a platform, with provider choices required to cover consumer choices at every quality. Similar supply–demand matching conditions are common in models of quality-differentiated markets and platforms (e.g., Ekeland, 2010; Light et al., 2024).
Matching intermediation. A broad literature studies pricing, screening, and matching by intermediaries [12, 20, 1, 19, 21, 6] (Johnson 2013). Algorithmic work studies intermediary fees (Niazadeh et al., 2014), revenue-maximizing double auctions [14], and match recommendations [4]. Related work examines matching and assignment under distributional constraints [3] (Kamada and Kojima 2015). We focus on consumer and provider menus over common production qualities, requiring the induced supply to cover the induced demand at every quality.
Menu structure and pooling. Prior work studies optimal nested bundles [7], pooling under cross-side externalities (Jeon et al., 2022), and information design concerning buyer values [9]. Algorithmic studies also examine optimal information disclosure [16] and its limits under communication constraints [17]. Light et al. (2024) also require supply to meet demand on a platform whose buyers value quality linearly, but seller quality is exogenous and the platform chooses which sellers to admit and what quality information to disclose. They show that, under a demand-elasticity condition, admitting only high-quality sellers and pooling them maximizes revenue. In our model, providers produce quality at privately known costs and the platform sets transfers on both sides. Our structural reduction instead convexifies technological cost independently of type distributions, preserving both optimal profit and optimal welfare.
Profit and gains from trade. Existing work examines matching distortions under profit maximization [20, 1] and designs mechanisms approximating second-best [10] or first-best [15] gains from trade. Other work bounds revenue relative to welfare in single-parameter environments (Kleinberg and Yuan, 2013) and approximates gains from trade in multidimensional markets [11]. We establish a tight welfare guarantee for profit-maximizing quality menus under MHR.
Limited menus and computation. Bergemann et al. (2021b) quantify finite-menu losses in nonlinear pricing. Babaioff et al. (2017) bound the menu size needed to approximate revenue for an additive buyer with independent item values. Further work studies menu complexity with private values and deadlines (Saxena et al., 2018) and computational hardness in multi-item mechanism design [13]. We study a common quality limit on both sides, obtaining a dynamic program and approximation guarantees.
Preliminaries
We consider a market that consists of two sides, consumers and providers, and a monopolistic trading platform. On one side is a unit mass of providers, each of whom can produce one unit of a service or commodity at different quality levels. Denote by the quality set that can be produced by providers. The other side is a unit mass of consumers, each with unit demand for the service or commodity from the providers. Consumers and providers cannot trade with each other directly and every transaction takes place through the platform.
Provider and consumer types. On the provider side, the production of quality requires an intrinsic effort , where the technological cost function is absolutely continuous and strictly increasing with . A provider’s type is her cost per unit of effort, so her cost of producing quality is . Suppose the compensation for producing quality is . Then the utility of a provider of type who produces quality is . The unit mass of providers is distributed over types according to the cumulative distribution with density , supported on the interval with . That is, the mass of providers with types at most is for every .
The consumer’s type is the consumer’s marginal value of quality. Suppose the price for buying quality is . Then the utility of a consumer of type who buys quality is . The consumer’s value type has cumulative distribution and density , supported on the interval with . Both type distributions are strictly increasing on their supports. For the type distributions and , let the corresponding quantile functions be and , mapping each mass of traders to the type below which that mass lies.
Two-sided screening. The platform knows the instance , consisting of the quality set, the technological cost function, and the two type distributions, but types are traders’ private information. Hence, the platform cannot tailor prices or wages to individual traders; instead, it commits to a two-sided menu of take-it-or-leave-it offers, from which each trader selects one. The menu thereby screens traders by self-selection, sorting each side along the quality spectrum according to type.
Definition 2.1 (Two-sided menu). A two-sided menu is a tuple consisting of a posted quality set , a consumer price schedule , and a provider wage schedule . Moreover, the menu posts the outside option at zero transfers: and . An offer of the menu is a posted quality together with its price and wage.
Note that the posted quality set need not be the whole quality set . Given a menu , a consumer of type selects a posted quality that maximizes her utility,1 and a provider of type selects a posted quality that maximizes hers:
We call and the consumer and provider choice maps, with ties broken by a fixed rule when there is more than one maximizer. Thus, the type- consumer’s and type- provider’s indirect utilities are defined by
Demand, supply and market clearing. Given an instance and a menu , the choice maps determine the distribution of selected qualities on each side of the market, which we call the demand and supply distributions, defined as follows:
Definition 2.2 (Demand and supply distributions). For an instance and a menu , the induced demand distribution and supply distribution give, for each quality , the masses of consumers and providers who select a quality of at least :
Ideally, we should have so that every provider’s output is consumed by a consumer who selects exactly that quality. We call this condition strict matching. More generally, service can be downgraded or discarded at no cost, so a consumer of type can be served with any quality equal to or higher than while still paying . A provider of type still produces quality for the wage , even though her output may be downgraded or discarded. All consumers can be served exactly when at every quality , that is, when the providers who produce quality or higher are enough to serve the consumers who select quality or higher, a condition we call feasibility. Market clearing can then be achieved by pairing both sides from the highest quality down. Formally, we have the following definition.
Definition 2.3 (Feasible and strict matching). For an instance , a menu is feasible if the induced demand distribution and supply distribution satisfy for every positive quality . A menu satisfies strict matching if , and we call the common distribution the trading distribution, denoted by .
For a strictly matched menu , the trading distribution is nonincreasing and left-continuous. We call the trading mass at , which is the common mass of consumers and providers who trade at a quality at least .
Objectives. The platform’s primary objective is profit. The profit of a feasible menu is the expected consumer payment minus the expected provider compensation,
We also consider social welfare as an efficiency benchmark. The social welfare of a feasible menu is the expected consumer gross value minus the expected provider production cost,
Both objectives are maximized over feasible menus. We conclude this section by showing that focusing on strictly matched menus is without loss of generality.
Proposition 2.1. For an instance , every feasible menu that is not strictly matched has lower profit and lower welfare than some strictly matched menu. In particular, every feasible menu that maximizes profit or welfare satisfies strict matching.
The proof of Proposition 2.1 uses the menu construction developed in § 3 and appears in Section A.3. Intuitively, by adjusting only the wages, the platform can preserve consumer choices while reducing supply to match demand at every quality. Whenever supply exceeds demand, this strictly lowers production costs and provider compensation without reducing consumer payments, improving both welfare and profit. From now on, we restrict attention to strictly matched menus.
Characterization of Optimal Menus
This section characterizes optimal menus. We first show that every trading distribution can be implemented by a strictly matched menu that is optimal for both profit and social welfare among the menus implementing it (Theorem 3.1), and we express the resulting profit and social welfare as integrals over quality (Theorem 3.2). Menu design thus becomes an optimization over trading distributions. We then show that replacing the technological cost function by its greatest convex minorant, which is determined by the technology alone, preserves both optimal profit and optimal social welfare, and that each objective admits an optimal menu that posts only qualities at which the two costs coincide (Theorem 3.3). Finally, we give a necessary and sufficient condition for finite optimal menus (Proposition 3.4) and show that some instances require infinitely many qualities (Example 3.3).
Optimal menus implementing a trading distribution
Every strictly matched menu induces a trading distribution, so menu design can proceed in two steps: choose a trading distribution, and then find the most profitable menu that induces it. This subsection solves the second step for an arbitrary trading distribution, and the next subsection solves the first.
Definition 3.1 (Implementation). Let be nonincreasing and left-continuous. A menu implements if satisfies strict matching and the induced trading distribution .
A menu implementing a given trading distribution can be constructed as follows. Assign higher qualities to consumers with higher values and to providers with lower costs. Thus the top mass of consumers trades at quality at least , and the consumer who chooses quality has value type . A consumer of type maximizes , so the first-order condition holds at her chosen quality; substituting and integrating from gives the price schedule
Similarly, the providers’ first-order condition gives the wage schedule
Together, eqs. (3) and (4) define the menu , which posts every quality . Theorem 3.1 below verifies that this menu indeed implements , and moreover, shows that this menu is optimal with respect to social welfare and profit among all menus implementing . Intuitively, every menu implementing assigns the same quality to almost every type, so all such menus yield the same social welfare and differ only in their transfers. The menu in eqs. (3) and (4) leaves each trader the least utility needed to keep her choice. Thus the platform profit, which equals the social welfare minus the traders’ utilities, is the largest. The proof of Theorem 3.1 appears in Section A.1.
Theorem 3.1. For an instance and any nonincreasing left-continuous function , the menu with the transfers in eqs. (3) and (4) is strictly matched and implements . Any other menu implementing has the same social welfare as , and maximizes platform profit among all menus implementing .
Thus, by Theorem 3.1, the platform can shape the market into any trading distribution by designing a strictly matched menu defined by eqs. (3) and (4), and this implementation is optimal for both profit and social welfare among all menus implementing . Next, we express the resulting platform profit and social welfare directly in terms of the trading distribution.
Theorem 3.2. For an instance and every nonincreasing left-continuous function , the optimal platform profit and the optimal social welfare among menus implementing are
Theorem 3.2 converts optimal menu design into an optimization over trading distributions. Its proof in Section A.2 decomposes consumer payments, provider compensations, and production costs into quality increments and swaps the integration order.
Optimal trading distributions via cost convexification
By Theorems 3.1 and 3.2, maximizing platform profit or social welfare over strictly matched menus is equivalent to an optimization over functions:
s.t. is nonincreasing and left-continuous.
To solve this functional optimization problem, observe that at each quality , the integrands of eqs. (5) and (6) depend on only through two numbers: the trading mass and the marginal technological cost . For a trading mass and a marginal technological cost , define the profit and welfare contributions as the integrands with and replaced by and :
Hence, the two objectives in Theorem 3.2 take the compact forms
The next theorem shows that the functional optimization in eq. (7) decouples across qualities once the technological cost is convexified: maximizing each contribution over the trading mass separately at every quality yields an optimal trading distribution for profit or welfare, respectively.
Definition 3.2 (Convexified technological cost). The convexified technological cost function is the greatest convex minorant of the technological cost function , that is, the greatest convex function on that lies below . A quality is a contact quality if .
On every open interval where the two costs differ, the convexified cost is affine and the interval endpoints are contact qualities, as illustrated in Figure 1. The derivative exists at all but countably many qualities and is positive and nondecreasing.
Theorem 3.3. For an instance , optimal trading distributions for profit and for social welfare are obtained as:
for almost every . Moreover, for each objective, there exists an optimal menu with posted quality set .
Economically, Theorem 3.3 shows that optimal menus skip every interval of qualities on which exceeds : there, is constant, so both optimal trading distributions are constant and no trade occurs. Thus, when the technological cost is strictly concave on an interval, that is, when the marginal technological cost decreases over this interval, the platform need not post any quality in it other than its endpoints, whatever the objective and type distributions.
The proof of Theorem 3.3 replaces technological cost by its greatest convex minorant and optimizes the scalar contributions along the resulting nondecreasing marginal technological costs. Higher marginal technological costs favor smaller trading masses, so these independently optimal masses satisfy the required ordering. The main issue is to return to the original technology without changing either objective: constancy of the trading mass on noncontact intervals supplies this equality, and Theorem 3.1 supplies bounded transfers. This argument parallels the ironing technique of Myerson (1981), applied along qualities instead of types: the marginal technological cost plays the role of the virtual value, and convexifying corresponds to convexifying the integral of the virtual value. Unlike that ironing, which depends on the value distribution, cost convexification depends only on the technology. The complete proof appears in Section A.4.
Finite optimal menus
In a continuous quality space, Theorem 3.3 does not by itself imply that an unrestricted optimum uses finitely many qualities. A trading distribution is finitely supported if trade occurs at only finitely many positive qualities, which we call its active qualities. It is then constant between consecutive active qualities, its jumps are the masses trading at those qualities, and it is zero above the highest one. Unused offers can be deleted, so existence of a finite optimal posted menu is equivalent to existence of a finitely supported optimal trading distribution.
Proposition 3.4. For an instance , a finite menu attains unrestricted optimal profit if and only if there exists a finitely supported trading distribution whose active qualities are contacts and mass maximizes the scalar profit contribution at almost every quality:
The corresponding criterion for unrestricted welfare replaces the profit contribution in eq. (8) by the welfare contribution.
The proof in Section A.5 derives this criterion directly from the two equality conditions in the proof of Theorem 3.3. The criterion concerns existence of a finite optimal selection. Finiteness of the contact set is sufficient but not necessary: infinitely many qualities can be technologically undominated while only finitely many are used optimally. What matters is whether scalar maximizing masses can be chosen to form a finitely supported trading distribution.
For example, suppose the convexified cost is piecewise linear with pieces, as it is whenever the original cost is piecewise linear with finitely many pieces. Then the marginal technological cost is constant on each piece, so both objectives admit optimal menus with at most positive qualities, located at the right endpoints of the pieces. The following example shows that continuous strictly convex cost can instead require an optimal trading distribution with infinite support.
Example 3.3 (Quadratic technological cost). Let and for , with marginal technological cost , and let both types be uniform on . The profit contribution has the unique maximizer ; at , the optimal trading distribution is . It is strictly decreasing, so trade occurs at infinitely many qualities and no finite menu is optimal; welfare behaves the same way, with .
Strict convexity of technological cost alone is not a general criterion for infinite optimal support: the scalar maximizing masses may be constant, including zero trade. Proposition 3.4 states the exact condition, while piecewise linearity of the convexified cost is a sufficient condition that depends only on the cost geometry. The following example shows that the exact condition can hold even when the sufficient condition fails.
Example 3.4 (Infinitely many contacts and a finite optimum). Keep the cost and the provider distribution of Example 3.3 and set , so every quality is still a contact, but let consumer values be uniform on . Now is increasing on for every marginal technological cost , so its maximizer is , and the same holds for welfare. Hence all traders trade at quality one through the single offer , : a strictly convex cost can still have a finite optimal menu.
Efficiency of Profit Maximization
In this section we study the efficiency loss caused by profit maximization. Let and be the selected profit- and welfare-optimal trading distributions in Theorem 3.3. When , define the welfare ratio .
We first show that the welfare benchmark requires no platform subsidy. We then prove that regularity alone provides no positive uniform lower bound on , whereas MHR guarantees a tight bound , where is the base of the natural logarithm.
Proposition 4.1. For an instance , the selected welfare-optimal trading distribution can be implemented under the original technological cost with nonnegative platform profit: .
The efficiency loss measured by therefore arises from maximizing profit, rather than the requirement of nonnegative profit. The proof appears in Section B.1.
Definition 4.1 (Regularity). A consumer’s value distribution is regular if the consumer revenue curve is concave. A provider’s cost distribution is regular if the provider expenditure curve is convex.
Proposition 4.2. For any , there exists an instance with both and regular and , such that the welfare ratio .
Regularity controls the shape of the profit objective but does not bound the surplus forgone by the platform. The following example illustrates how the welfare ratio can approach zero. The proof appears in Section B.2.
Example 4.2. Let and at every feasible quality . Thus the marginal technological cost is . Fix a parameter . Define the consumer and provider distributions through quantile functions as for and
The support of is and the support of is . Both distributions are absolutely continuous and strictly increasing.
A constant guarantee under MHR
The negative result under regularity motivates the stronger MHR conditions. Our results show that under MHR assumptions, profit maximization preserves a constant fraction of the optimal social welfare and the guarantee is tight.
Definition 4.3 (Monotone hazard rate). A consumer’s value distribution satisfies monotone hazard rate (MHR) if its hazard rate is nondecreasing. A provider’s cost distribution satisfies MHR if its reverse hazard rate is nonincreasing.
Theorem 4.3. For an instance , if both and satisfy MHR and , the welfare ratio .
The ratio is tight: there exist a sequence of instances whose ratios converge to .
Intuitively, the MHR condition limits how slowly the gap between the marginal consumer’s value and the marginal provider’s cost can decline as trade expands, preventing the excluded trades from accounting for an arbitrarily large share of the gains from trade. The formal proof uses the following technical lemma and can be found in Section B.4.
Lemma 4.4. For an instance , the selected optimal trading distributions satisfy
This comparison holds under the baseline assumptions, without regularity or MHR. The proof appears in Section B.3.
Limited Menus and Computation
The characterization in § 3 does not directly provide a finite computational procedure, particularly when an optimal menu requires infinitely many qualities. In practice, platforms typically offer finite menus that participants can readily compare and choose from. We therefore study profit maximization over menus offering at most positive qualities excluding the outside option.
Let be the unrestricted optimal profit and the supremum under this restriction. Because the proof of Proposition 2.1 weakly improves every feasible menu with finitely many qualities by a strictly matched menu that posts the same qualities, is the same over feasible and strictly matched menus. We establish a tight profit guarantee when the smallest unrestricted optimal menu has positive qualities, and give a dynamic program with an additive profit guarantee for general instances.
A tight guarantee for finite optimal menus
We first quantify the profit loss from menu size restriction when the unrestricted optimal menu is finite.
Theorem 5.1. For an instance , if the smallest unrestricted optimal menu has positive qualities, for every integer , .
The ratio is tight: for any , there exist a sequence of instances whose ratios converge to .
The proof constructs a feasible -quality menu by successively removing qualities with small incremental profit contributions from a finite unrestricted optimum. Economically, the result quantifies the worst-case cost of limiting menu size, even when the platform optimally chooses which qualities to offer. The proof and tightness construction appear in Section C.1.
Additive approximation and computation
The multiplicative guarantee in Theorem 5.1 relies on the existence of a finite unrestricted optimal menu. Without this assumption, Example 3.3 shows that no positive multiplicative guarantee depending only on holds uniformly across instances.2 We therefore develop a dynamic program that offers at most qualities with a bounded additive profit loss relative to the unrestricted optimum.
Write for the mean consumer value. For an accuracy parameter , let denote the output menu and its profit.
We assume exact real arithmetic and access to technological cost and quantile evaluations, plus the scalar profit oracle defined below. Given any marginal technological cost , the oracle returns
Theorem 5.2. For an instance , any integer and accuracy parameter , under the scalar profit oracle model, there is an algorithm that computes a strictly matched menu with at most positive qualities such that
If the consumer distribution and the provider distribution additionally satisfy MHR, the same output menu has social welfare
The algorithm uses oracle calls and arithmetic operations, where .
Overall, the algorithm first discretizes the quality space, then convexifies the grid cost and retains its contact qualities. Finally, a dynamic program groups consecutive quality increments to select at most positive qualities and recover their prices and wages.
Below we show the full algorithm and a useful technical lemma used for welfare approximation in MHR condition while the proof of Theorem 5.2 appears in Section C.3.
Algorithm. Given and , the algorithm proceeds in three steps.
Step 1: Quality discretization. Set and discretize the quality interval into the uniform grid . We restrict candidate qualities to while retaining the menu-size limit . On this grid, replace by the piecewise-linear interpolation of , .
Step 2: Convexification. Compute the greatest convex minorant of this interpolated cost and retain its contact grid qualities. Let the retained qualities be . By convexity, slopes between consecutive retained qualities are nondecreasing.
Step 3: Dynamic programming and menu recovery. For every $0 \le i < j \le L$, define
is the maximum profit contribution when trading mass is constant on . Let be the maximum total contribution from partitioning the first intervals into exactly nonempty consecutive groups. Setting , we compute
for . The optimal restricted grid profit is
Backtracking the dynamic program yields at most qualities, with trading masses determined by . The original menu is then recovered using eqs. (3) and (4) with quantile evaluations.
Lemma 5.3. For an instance , if and satisfy MHR, the unrestricted optimal profit OPT satisfies
The above comparison converts a profit guarantee into a welfare guarantee under MHR. The proof appears in Section C.2.
Conclusion and Discussion
In this work, we study the two-sided screening problem in quality-differentiated markets. We characterize optimal two-sided quality menus through trading distributions and a convexification of technological cost. The characterization identifies when finite optimal menus exist and supports tight guarantees for welfare under profit maximization and profit under menu-size restrictions. For general continuous-quality instances, our dynamic program provides an additive profit guarantee and, under MHR, a welfare guarantee for the same output menu.
Future work could study menu design when type distributions must be learned from transaction data, including how estimation errors affect profit, welfare, and market clearing. Another direction is to allow waiting, rationing, or quality upgrades and examine whether the cost convexification and approximation guarantees extend to these settings.
Omitted Proofs in Section 2 and 3.
Implementation
Proof of Theorem 3.1
Proof of Theorem 3.1. We first show that menus sort types, so that a trading distribution determines, up to null sets, which types trade at each quality threshold. We then verify that the menu in eqs. (3) and (4) implements the given function. Finally, we show that every other menu implementing the function has the same welfare and a profit reduced by its endpoint utilities.
Sorting. Fix a menu and consider consumer types with maximized choices and . Optimality gives and . Adding yields , so . For provider types with maximizing choices and , adding the optimality inequalities and yields , so because is strictly increasing. Hence, on the full-measure set of types with maximizing choices, the consumer choice map is nondecreasing and the provider choice map is nonincreasing. Now let the menu be strictly matched with trading distribution , and fix a positive quality . Up to a null set, the consumers choosing quality at least form an upper interval of types with probability ; because is continuous and strictly increasing, they are, up to a null set, the types with . Up to a null set, the providers choosing quality at least form a lower interval of types with probability ; because is continuous and strictly increasing, they are, up to a null set, the types with .
Implementation. Fix a nonincreasing left-continuous function , and post every quality in with the transfers in eqs. (3) and (4). These transfers are continuous in quality and satisfy and , because both quantile functions take values in bounded nonnegative supports. Define the choice maps
The consumer map is nondecreasing and the provider map is nonincreasing, so both are measurable. Because is nonincreasing, each set in these definitions contains every positive quality below any of its elements; because is also left-continuous, each nonempty set contains its supremum. Hence, for every positive quality ,
For every consumer type , provider type , and quality , these transfers give
By eq. (9), the first integrand is nonnegative at qualities , because there , and negative at qualities . The consumer’s utility is therefore nondecreasing in quality up to and nonincreasing beyond it, so maximizes it. By eq. (10), the second integrand is nonnegative at qualities , because there , and negative at qualities . Since is strictly increasing, the provider’s utility is therefore nondecreasing in quality up to and nonincreasing beyond it, so maximizes it. Thus every type has a maximizing choice under the menu , the maps above are measurable maximizing selections, and expected transfers are finite. Since and are continuous, both and are uniformly distributed on . By eqs. (9) and (10), a consumer and a provider each choose quality at least with probability exactly , for every positive quality . The demand and supply distributions therefore both equal , which establishes strict matching and implementation.
Comparison with other menus. Consider any menu implementing , with consumer and provider indirect utilities and . Applying the sorting step at every rational quality threshold and comparing with eqs. (9) and (10) shows that its choice maps agree with the maps and of the implementation step at almost every type. Consequently, its social welfare equals that of , since by eq. (2) welfare depends only on the qualities assigned to types. The indirect utility is a supremum of affine functions of the consumer type with slopes in , and it is finite because almost every type has a maximizing choice. Hence is convex and Lipschitz, and at almost every type its derivative equals the menu’s maximizing choice, which is , because a maximizing choice is a subgradient. Likewise, is a finite supremum of affine functions of the provider type with slopes in , so it is convex and Lipschitz with derivative at almost every type. Writing for a type integration variable, absolute continuity yields the envelope identities
Taking and in the consumer and provider utility formulas of the implementation step, both integrands are nonpositive because and . Since the outside option yields zero, the menu gives zero utility to the lowest consumer type and to the highest provider type. The envelope identities, which hold for both menus with the same choice maps, therefore show that the alternative menu’s consumer indirect utility exceeds that under by exactly at almost every consumer type, and its provider indirect utility exceeds that under by exactly at almost every provider type. Because both menus assign the same qualities at almost every type, the alternative menu collects less from almost every consumer and pays more to almost every provider. With unit masses, its profit equals the profit of minus . The outside option gives and , so no menu implementing earns more profit than .
Characterization
Proof of Theorem 3.2
Proof of Theorem 3.2. Fix and consider the menu in eqs. (3) and (4). By Theorem 3.1, this menu implements , maximizes platform profit among all menus implementing , and has the same social welfare as every other such menu. It therefore suffices to show that its profit and welfare equal the right-hand sides of eqs. (5) and (6). We use the choice maps and constructed in the proof of Theorem 3.1 in Section A.1. By eqs. (9) and (10), a consumer and a provider each choose quality at least with probability , for every quality .
Profit. By eq. (1), the profit of this menu is its expected consumer payment minus its expected provider compensation. The expected consumer payment is
Equality (a) substitutes the price in eq. (3). Equality (b) extends the integral to the full quality interval, with the indicator removing all increments above the consumer’s chosen quality. Equality (c) exchanges the order of expectation and integration. Equality (d) factors out the quantile value, which does not depend on the consumer type, and uses that the expected indicator equals the probability of its event. By Definitions 2.2 and 2.3, , proving equality (e). By a similar argument, using the compensation in eq. (4), the expected provider compensation is
Subtracting the expected compensation from the expected payment gives eq. (5).
Welfare. By eq. (2), the welfare of this menu is its expected consumer gross value minus its expected provider production cost. Since , the expected consumer gross value is
Equality (a) exchanges the order of expectation and integration. Equality (b) uses from eq. (9). Equality (c) changes to the mass variable : and . The type limits become mass limits and are reversed. Since , we have , and the expected provider production cost is
Equality (a) exchanges the order of expectation and integration and uses . Equality (b) uses from eq. (10). Equality (c) changes to the mass variable : and , with mass limits . Subtracting the expected production cost from the expected gross value gives eq. (6). □
Proof of Proposition 2.1
Proof of Proposition 2.1. Let be a feasible menu. Since and feasibility gives at every positive quality , if is not strictly matched, then at some positive quality . It therefore suffices to show that is weakly improved in both profit and welfare by a strictly matched menu, and strictly improved if at some positive quality . The second claim follows because every strictly matched menu is feasible, so a feasible menu that is not strictly matched maximizes neither profit nor welfare over feasible menus. For use in Section 5, we also show that this strictly matched menu can be chosen to post exactly when is finite.
Replacement. Let have choice maps and and indirect utilities and . The function is nonincreasing and left-continuous on , with values in , because the event shrinks as increases and is the intersection of the corresponding events at all smaller positive qualities. By Theorem 3.1, the menu defined by eqs. (3) and (4) with in place of gives every type a maximizing choice and is strictly matched; we call it the replacement. By the proof of Theorem 3.1, the choice maps of the replacement satisfy eqs. (9) and (10) with in place of , and the replacement gives zero utility to the lowest consumer type and to the highest provider type.
Choices. By the sorting step in the proof of Theorem 3.1, the map is nondecreasing and the map is nonincreasing. Fix a positive quality . Under , the consumers who select a quality of at least therefore form an upper interval of types with probability , and the providers who do so form a lower interval of types with probability . Because and are continuous and strictly increasing, eqs. (9) and (10) show that, except possibly at one boundary type on each side, the replacement selects a quality of at least at the same consumer types as and at a subset of the provider types at which does. Since any two different qualities are separated by a positive rational quality, applying this at every positive rational quality shows that, except at countably many types, the replacement assigns the same quality as to every consumer type and a weakly lower quality to every provider type.
Comparison. Countable sets of types are null, both under the type distributions and for integrals over types. The consumer half of the comparison step in the proof of Theorem 3.1 uses only that the two menus assign the same quality to almost every consumer type. Hence the replacement collects more than from almost every consumer, while the expected gross value is unchanged. For providers, the envelope identity in that step gives, for either menu with its own wage schedule, provider choice map, and provider indirect utility,
For the replacement, the second term is zero and the provider choice map is weakly lower at almost every type; since is increasing, its first and third terms are therefore weakly lower than those of . The replacement thus pays weakly less to providers and incurs a weakly lower expected production cost . By eqs. (1) and (2), it has weakly higher profit and weakly higher welfare than .
Strictness. Suppose that at some positive quality . The provider types with have positive probability and are positive, because . Each of them selects a quality of at least under but, by eq. (10), a lower quality under the replacement. Because is strictly increasing, the expected production cost, and with it the expected provider compensation, is then strictly lower under the replacement, so both comparisons are strict.
Finite posted sets. Suppose that is finite. Since takes values in , the function is constant on each interval between consecutive qualities of , including its right endpoint, and vanishes above the largest quality of . Hence, for every level in , the positive qualities at which is at least this level form either the empty set or an interval whose right endpoint lies in . At every consumer type below and every provider type above , the levels and are positive, so the choice maps constructed in the proof of Theorem 3.1, which take the supremum of such a set or zero if it is empty, select qualities in . Posting only the qualities in , with the same price and wage at each of them, keeps these choices maximizing and changes choices only at the types and . The resulting menu posts exactly and has the same demand and supply distributions, profit, and welfare as the replacement.
Proof of thm:commonconvexification
Lemma A.1. For either scalar objective or , the largest maximizer over exists and is nonincreasing in the marginal technological cost .
Proof. Under bounded type supports, both scalar objectives are continuous on , so their largest maximizers exist.
Fix , and let the trading masses be the largest maximizers of and , respectively. By optimality,
Adding these inequalities yields
Since is strictly increasing, we obtain .
For welfare, the same argument applies with replaced by , which is also strictly increasing. Hence the largest welfare maximizer is likewise nonincreasing in . □
Proof of Theorem 3.3. We first show that replacing with its greatest convex minorant cannot decrease either objective for any fixed trading distribution. We then construct optimal trading distributions under and show that they attain the same values under the original cost.
Cost comparison. The convexified cost is continuous, strictly increasing, and absolutely continuous, and it agrees with the original cost at zero and at . Let the cost gap be . By the properties of the greatest convex minorant, is continuous and nonnegative, with . Moreover, is affine on every connected component of , whose endpoints are contact qualities.
Fix any trading distribution . Since is nonincreasing in , and the function is nondecreasing in , we have is nonincreasing in . By eq. (5), since is nonincreasing and with , integration by parts for monotone functions yields
It follows that . For social welfare, is also nonincreasing in . Applying the same argument gives . Besides, both inequalities become equalities whenever is constant on every noncontact interval satisfying . Indeed, in this case and are constant on these intervals, so their distributional derivatives are supported on the contact set, where .
Optimal trading distributions. Since is convex and absolutely continuous, its derivative exists at all but countably many qualities and is nondecreasing, and the two objectives under the convexified cost can be expressed as
For either objective, select the largest maximizer of its scalar contribution at marginal technological cost , at every quality where this derivative exists. By Lemma A.1, these maximizing masses are nonincreasing in . Since is nondecreasing, selected masses are nonincreasing in quality on a set whose complement is countable. Taking their left-continuous versions gives trading distributions and , which agree with selected masses almost everywhere.
These functions maximize respective scalar contributions almost everywhere. Thus, for any trading distribution , we have
Thus and attain optimal values under the convexified cost.
It remains to show that these optima are also attained under the original cost. On every noncontact interval, is affine and hence is constant. Because we consistently select the largest scalar maximizer, both and are constant on each such interval. Their induced quality distributions therefore assign no mass to noncontact qualities.
By the equality condition in the cost comparison,
Combining these equalities with the inequalities for a fixed trading distribution yields
Finally, Theorem 3.1 implements both selected trading distributions with the bounded transfers in eqs. (3) and (4) under the original technological cost. Since their induced quality distributions are supported on the contact qualities, the posted menus can be restricted to these qualities and the outside option without changing the induced quality distributions or objectives.
Therefore, both optimal values are preserved and attained by menus supported on contact qualities.
Proof of prop:finiteoptimalmenu
Proof of Proposition 3.4. For necessity, replace the transfers of a finite optimal menu by those in eqs. (3) and (4) and delete unused offers. Its original objective is no greater than its convexified objective, which is no greater than the integral of the scalar maxima. Theorem 3.3 says the last value is the unrestricted original optimum. Both inequalities must therefore be equalities. For a finitely supported trading distribution with active qualities , trading masses , and , define . Integration by parts expresses the original-minus-minorant expenditure gap as
Each coefficient drop is strictly positive at an active quality, by strict increase of . Every summand is nonnegative, so equality forces every active quality to be a contact. The pointwise profit gap is nonnegative and has integral zero; it therefore vanishes almost everywhere, which is exactly eq. (8). For welfare, the coefficient is , whose active drops are also strictly positive; the same two equality arguments apply.
For sufficiency, a finitely supported trading distribution satisfying the stated scalar condition attains the convexified integral maximum. Because its active qualities are contacts, the original and convexified objectives are equal. Bounded support makes every transfer in eqs. (3) and (4) finite, including at full mass. Theorem 3.1 constructs its implementation, and deleting unused offers leaves a finite optimal posted menu.
Omitted Proofs in Section 4.
The proofs in this section and in Section C use the marginal surplus , so that and .
Weak budget balance
Proof of Proposition 4.1
Proof of Proposition 4.1. We first show nonnegative scalar profit at a welfare-maximizing trading mass, and then integrate this inequality along the convexified technological cost.
Consider any marginal technological cost and scalar trading mass . Since is nonincreasing and is nondecreasing, the marginal surplus is nonincreasing and thus the scalar welfare contribution is concave. Let the scalar mass denote the largest maximizers of . If , optimality gives zero marginal surplus, i.e., . If , the left derivative condition at this upper boundary gives . Finally, if , its profit contribution is . Thus in every case the scalar profit contribution satisfies .
By the construction in Theorem 3.3, the selected welfare-maximizing trading distribution is constant on every noncontact interval. The equality condition in its proof therefore gives the same profit under the original and convexified costs. Moreover, is a scalar welfare maximizer at marginal technological cost for almost every quality , so we have
where the inequality follows from the nonnegative scalar profit established above. By Theorem 3.1, the transfers in eqs. (3) and (4) implement under the original cost, yielding a welfare-optimal menu with nonnegative platform profit.
Regularity counterexample
Proof of Proposition 4.2
Proof of Proposition 4.2. We verify regularity, determine the scalar optima, and then use the continuous-quality reduction to show that these optima are attained against all menus. The provider expenditure curve is and the consumer revenue curve is
The first consumer piece is concave and the second is linear. At the joining mass the revenue curve is continuous and its slope decreases, since . The provider expenditure curve is convex. Hence both distributions are regular.
Since the marginal technological cost is , the scalar profit contribution is
Since , the first piece is strictly increasing and the second is strictly decreasing. Thus the scalar profit-maximizing trading mass is uniquely .
The welfare contribution is
For , the first piece is increasing on . Therefore the scalar welfare-maximizing mass with
Because the technological cost is linear, Theorem 3.3 selects constant trading masses and at every positive quality . Their attained welfare values satisfy
Since the welfare-maximizing mass converges to a positive constant, the welfare ratio tends to zero as tends to zero.
Proof of Lemma 4.4
Proof of Lemma 4.4. By Theorem 3.3, it suffices to compare the largest profit and welfare maximizers at a fixed positive marginal technological cost, and apply the comparison along the convexified cost. Consider any marginal technological cost and scalar trading mass . Let the scalar masses and denote the largest maximizers of the scalar profit and welfare contributions and , respectively. If the profit-maximizing mass is , we have . Otherwise, optimality implies and hence . is therefore nonnegative throughout the trading mass interval since it is nonincreasing. For any two trading masses , this gives
where equality (a) holds by the definition of and inequality (b) holds by nonnegative marginal surplus on this interval. Thus is nondecreasing on . The largest welfare maximizer therefore satisfies .
By the construction in Theorem 3.3, and are the largest scalar profit and welfare maximizers at marginal technological cost for almost every quality. Applying the above scalar comparison gives for almost every . Since both functions are left-continuous, approaching any positive quality from below through points where this inequality holds yields for any .
Proof of Theorem 4.3
Example B.1. Let and throughout the feasible interval . Thus the marginal technological cost is . Fix a parameter . Define the consumer and provider distributions through quantile functions as for and
The support of is and the support of is . Both distributions are absolutely continuous and strictly increasing.
Proof of Theorem 4.3. We first prove the scalar ratio bound and integrate it along the convexified cost, and then show tightness by analyzing Example B.1.
Ratio bound. Consider any positive marginal technological cost and scalar trading mass . Define . Under MHR conditions, derivatives below are understood almost everywhere:
Consequently, we have
Since is nonincreasing and is nondecreasing, the first term is nondecreasing in . Similarly, since is nondecreasing and is nonincreasing, the second term is also nondecreasing. Hence, is nondecreasing with denoting its right-hand limit.
Let the scalar masses and denote the largest maximizers of the scalar profit and welfare contributions and , respectively. If , continuity and nonincrease of imply that it is nonpositive everywhere. Thus and the desired bound is immediate. Otherwise at some , so . Consequently and . Recall that Lemma 4.4 gives . If , the desired welfare bound is immediate. Consider the remaining case , where is interior with
where inequality (a) holds by profit optimality and equality (b) differentiates the scalar profit contribution. For every , monotonicity of gives . Integrating the derivative then gives
Since is maximized at satisfying and is nonincreasing, we can obtain for any . It follows that for any ,
Since , we obtain . Therefore, we have
Monotonicity of also gives
Combining the last two bounds gives the scalar inequality
By Theorem 3.3, the scalar inequality applies almost everywhere at marginal technological cost , and the welfare values of and are preserved under convexification. Hence, we can obtain that
Tightness. We now show the tightness by analyzing Example B.1. The consumer distribution satisfies
One can verify that this quantity is nondecreasing in , implying is nondecreasing. The provider distribution has reverse hazard , which is nonincreasing. Thus and satisfy MHR.
Since the marginal technological cost is , the marginal surplus is
A direct differentiation shows that the scalar profit contribution is increasing on and decreasing on . Thus the unique scalar profit-maximizing mass is .
Note that
The unique scalar welfare-maximizing mass satisfies
Thus tends to 1 as tends to 0.
Since , Theorem 3.3 implies that both optima are attained by menus offering only quality 1 and the outside option. Their welfare values satisfy
As tends to 0, tends to and thus tends to . Hence the welfare ratio tends to as desired.
Omitted Proofs in Section 5.
Proof of Theorem 5.1
Example C.1. Fix an integer and a parameter . Both type distributions are uniform on . Let and define the normalization constant . Define the quality nodes by
Thus . Define
and let be linear on each interval with slope . These slopes are positive and strictly increasing, so is absolutely continuous, strictly increasing, and convex.
Proof of Theorem 5.1. We first prove the profit guarantee by deleting qualities, and then establish tightness using Example C.1.
The guarantee. Choose an optimal menu whose transfers are given by eqs. (3) and (4), with active positive qualities and trading masses . Define its quality increments, cost increments, and slopes by
By the necessity argument in Proposition 3.4, its active qualities are contacts and its mass maximizes scalar profit almost everywhere under the convexified cost. Consequently, each incremental profit satisfies .
Now consider a menu whose transfers are given by eqs. (3) and (4), with active qualities, nonnegative incremental profits, and total profit . Choose an increment with . If , delete the highest quality. Otherwise, lower to . Since is decreasing, we can obtain that
Hence the modified increment still contributes nonnegative profit, and the loss is at most . This operation deletes quality from the menu. Thus the resulting menu has active qualities and
Starting from and repeating this deletion gives
Tightness. Consider Example C.1. Uniform types give . On increment , we have . Its unique maximizer is , with value . These masses strictly decrease, so Theorem 3.3 gives .
Uniqueness forces every optimal trading distribution to attain these values almost everywhere on the corresponding increments. By left continuity, all increment endpoints are active, so every optimal menu contains exactly positive qualities.
For restricted menus, it suffices to consider increment endpoints. Indeed, fixing the trading masses, profit is affine in each quality location within a linear cost increment. Thus any interior quality can be moved to an increment endpoint or merged with an adjacent quality without decreasing profit or increasing menu size. Repeating this process proves the claim.
An endpoint menu with at most active qualities partitions a prefix of the increments into at most consecutive groups, followed by a zero-mass suffix. For a group of increments , its profit is at most
Summing over at most groups and applying the guarantee already proved yields . Letting proves tightness.
Proof of Lemma 5.3
Proof. We first show that reducing a scalar trading mass by a factor of yields profit at least times its original welfare contribution. We then apply this comparison at every quality threshold and implement the reduced trading distribution.
Fix a nonnegative marginal technological cost . Consumer MHR makes the map increasing and convex, since its derivative is the nondecreasing consumer hazard rate. With denoting logarithmic trading mass, the map is therefore concave. Similarly, the map is convex. It follows that is concave for .
For a positive trading mass , we obtain
where inequality (a) follows from Jensen’s inequality. Multiplying by gives . The same inequality holds at , since both sides vanish.
Since is nonincreasing, left-continuous, and takes values in , Theorem 3.1 implements it with the transfers in eqs. (3) and (4). Applying the above inequality at the nonnegative marginal technological cost for almost every and integrating yields
Proof of Theorem 5.2
Proof. In this proof, we show the error, correctness, and complexity of our algorithm, respectively.
Error analysis. We bound two sources of error by successive downward rounding: menu-size restriction and computational grid. Consider a strictly matched menu whose transfers are given by eqs. (3) and (4). By definition, and . Each indirect utility is the maximum of affine functions of its type. Since qualities and technological costs are bounded, the utilities are Lipschitz continuous. At almost every type, their derivatives equal the type coefficients of chosen offers: and . Integrating these derivatives and using endpoint utilities gives
Taking expectations and exchanging the order of integration yields
These exchanges are valid because the integrands are nonnegative and the integrals are finite under bounded qualities and costs.
Recall that
Taking expectations and substituting preceding expressions gives
For an integer , round qualities by . Applying this map on both sides preserves equality of their quality distributions and monotonicity in type, so Theorem 3.1 implements the rounded choices with the transfers in eqs. (3) and (4).
On provider side, since and is increasing, we have weakly decreases.
On consumer side, writing , the expected consumer payment loss is at most
Thus profit decreases by at most .
Start from an unrestricted optimum OPT, which exists by Theorems 3.2 and 3.3. Rounding with gives at most positive qualities and loses at most . Rounding this menu again with places it on without increasing its size, and loses at most . The transfers in eqs. (3) and (4) are recomputed after each rounding. Hence a feasible restricted grid menu has profit at least .
Algorithm correctness. We first show that convexification preserves the optimal -restricted grid profit, and then verify the dynamic program.
For convexification, let be the piecewise-linear curve in Step 1 and let be its greatest convex minorant. By the proof of Theorem 3.3, replacing by weakly increases profit for any fixed trading distribution.
Consider any feasible -restricted grid menu. Under , fix its trading masses and consider a noncontact quality . Let be the maximal interval containing on which . Its endpoints are contact grid qualities, and is affine on .
Let and be the trading masses immediately below and above . With other quality locations fixed, the total platform profit under the convexified cost is
where is independent of . Hence is also affine on implying that can move toward or without decreasing profit, until it reaches that endpoint or another offered quality. In the latter case, merge the coincident offers and repeat the argument. Each move either reaches a contact or reduces the number of distinct interior qualities, so this process terminates without increasing menu size.
Repeating for all noncontact qualities gives a contact menu with weakly higher convexified profit and at most active positive qualities. Since at every resulting quality, its profit under the original sampled costs is the same. Thus restricting to the retained contact qualities preserves the optimal -restricted grid profit.
On the retained qualities, any nonzero trading distribution with at most active qualities partitions a prefix into at most constant-mass groups, followed by a zero suffix. For a group with mass , its profit contribution satisfies , where and are the group slope and optimal group profit defined in Step 3. Conversely, successive groups have nondecreasing slopes, so their largest maximizing masses are nonincreasing by Lemma A.1. They therefore realize the sum of group values with at most one active quality per group.
The problem is consequently equivalent to the stated consecutive-group partition problem. Conditioning on the last group’s left endpoint gives the recurrence for the partition value ; induction on proves its optimality. Maximizing over all permitted prefixes and group counts, together with the zero-trade solution, yields the optimal restricted grid profit. Backtracking and Theorem 3.1 implement this value with at most active positive qualities.
Welfare under MHR. Suppose both type distributions satisfy MHR. The social welfare of the output menu satisfies
Inequality (a) is the profit guarantee established above. Inequality (b) follows from Lemma 5.3.
Complexity. The algorithm uses cost evaluations. Convexification takes arithmetic operations. Since , group values and maximizing masses require oracle calls. Endpoint differences give each group’s increments in constant time. There are DP states and at most transitions per state, giving arithmetic operations in total. Recovering transfers uses quantile evaluations and arithmetic operations.
References
- [1]Masaki Aoyagi and Seung Han Yoo. Matching strategic agents on a two-sided platform. Games and Economic Behavior, 135:271–296, 2022.DOI
- [2]Mark Armstrong and Jean-Charles Rochet. Multi-dimensional screening: A user’s guide. European Economic Review, 43(4-6):959–979, 1999.
- [3]Itai Ashlagi, Amin Saberi, and Ali Shameli. Assignment mechanisms under distributional constraints. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’19, page 229–240, USA, 2019. Society for Industrial and Applied Mathematics.arxiv.org/abs/1810.04331
- [4]Itai Ashlagi, Anilesh K Krishnaswamy, Rahul Makhijani, Daniela Saban, and Kirankumar Shiragur. Assortment planning for two-sided sequential matching markets. Operations Research, 70(5):2784–2803, 2022.
- [6]Tian Bai, Yiding Feng, Yaohao Liu, Mengfan Ma, and Mingyu Xiao. Contracting with a mechanism designer. arXiv preprint arXiv:2507.12054, 2025.arxiv.org/abs/2507.12054
- [7]Dirk Bergemann, Alessandro Bonatti, Andreas Haupt, and Alex Smolin. The optimality of upgrade pricing. In International Conference on Web and Internet Economics, pages 41–58. Springer, 2021a.arxiv.org/abs/2107.10323
- [9]Dirk Bergemann, Tibor Heumann, and Stephen Morris. Screening with persuasion. Journal of Political Economy, 134(2):570–625, 2026.arxiv.org/abs/2212.03360
- [10]Johannes Brustle, Yang Cai, Fa Wu, and Mingfei Zhao. Approximating gains from trade in two-sided markets via simple mechanisms. arXiv preprint arXiv:1706.04637, 2017.arxiv.org/abs/1706.04637
- [11]Yang Cai, Kira Goldner, Steven Ma, and Mingfei Zhao. On multi-dimensional gains from trade maximization. In Proceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’21, page 1079–1098, USA, 2021. Society for Industrial and Applied Mathematics. ISBN 9781611976465.arxiv.org/abs/2007.13934
- [12]Ettore Damiano and Hao Li. Price discrimination and efficient matching. Economic Theory, 30(2):243–263, 2007.
- [13]Constantinos Daskalakis, Alan Deckelbaum, and Christos Tzamos. The complexity of optimal mechanism design. In Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’14, page 1302–1318, USA, 2014. Society for Industrial and Applied Mathematics. ISBN 9781611973389.
- [14]Xiaotie Deng, Paul Goldberg, Bo Tang, and Jinshan Zhang. Revenue maximization in a bayesian double auction market. Theoretical Computer Science, 539:1–12, 2014.
- [15]Yuan Deng, Jieming Mao, Balasubramanian Sivan, and Kangning Wang. Approximately efficient bilateral trade. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, pages 718–721, 2022.
- [16]Shaddin Dughmi and Haifeng Xu. Algorithmic bayesian persuasion. In Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC ’16, page 412–425, New York, NY, USA, 2016. Association for Computing Machinery. ISBN 9781450341325. doi: 10.1145/2897518.2897583. URL https://doi.org/10.1145/2897518.2897583.
- [17]Shaddin Dughmi, David Kempe, and Ruixin Qiang. Persuasion with limited communication. In Proceedings of the 2016 ACM Conference on Economics and Computation, EC ’16, page 663–680, New York, NY, USA, 2016. Association for Computing Machinery. ISBN 9781450339360. doi: 10.1145/2940716.2940781. URL https://doi.org/10.1145/2940716.2940781.
- [19]Daniel Fershtman and Alessandro Pavan. Matching auctions. The RAND Journal of Economics, 53 (1):32–62, 2022.
- [20]Renato Gomes and Alessandro Pavan. Many-to-many matching and price discrimination. Theoretical Economics, 11(3):1005–1052, 2016.
- [21]Renato Gomes and Alessandro Pavan. Price customization and targeting in matching markets. The RAND journal of economics, 55(2):230–265, 2024.