Skip to Content
MathematicsMathematics
  • Feature Paper
  • Article
  • Open Access

4 November 2026

28 Pages

Meritocratic Lotteries Under Intersectional Diversity Quotas

,
and
Department of Economics, Bar-Ilan University, Ramat Gan 5290002, Israel
*
Author to whom correspondence should be addressed.

Abstract

Meritocratic lotteries seek to implement prescribed selection probabilities reflecting merit or priority while meeting diversity quotas. We study this implementation problem on a hypergraph, with arbitrary target marginals and integer lower and upper quotas. Assuming consistency of the target marginals with the quotas and prescribed group size, we adapt existing decomposition and rounding results to establish two guarantees: (1) exact quota compliance when the traits admit a partition into two disjoint-set families; and (2) for general trait hypergraphs, a violation of each quota by at most D − 1 , where D is the maximum number of traits possessed by an agent. Both constructions preserve all marginals and the group size exactly, run in polynomial time, and produce explicit lotteries supported on at most as many selected groups as there are agents. The explicit lists of groups and their probabilities allow organisers to publish and inspect these lotteries before the draw. We then obtain trait-specific bounds when a small set of agents has high trait overlap and a concentration-based guarantee allowing small marginal errors. Applications to representative selection illustrate the trade-off between exact marginal implementation and exact quota compliance.

1. Introduction

Selection procedures often seek to reconcile meritocracy with diversity. An institution may wish to honor individual selection probabilities reflecting merit or priority while ensuring representation across overlapping traits. Lotteries provide a way to implement these probabilities when selecting a group of a prescribed size. Representation requirements arise in citizens’ assemblies, admissions lotteries, juries, and the allocation of public-program places [1,2,3]. The resulting mathematical question is whether a prescribed vector of selection probabilities can be expressed as a lottery over groups that satisfy every representation quota.
Let V be a finite population, let E ⊆ 2 V be a family of nonempty traits, and fix a target vector p ∈ [ 0 , 1 ] V with ∑ v ∈ V p ( v ) = k ∈ Z > 0 . Each trait e ∈ E has integer lower and upper quotas l ( e ) and u ( e ) . We seek a distribution over sets S ⊆ V with | S | = k such that
Pr ( v ∈ S ) = p ( v ) ( v ∈ V ) , l ( e ) ≤ | S ∩ e | ≤ u ( e ) ( e ∈ E )
in every outcome. A necessary condition is consistency: l ( e ) ≤ ∑ v ∈ e p ( v ) ≤ u ( e ) for every trait. Overlap between traits can prevent this expectation-level condition from being sufficient.
The target probabilities may reflect merit, priorities, needs, or entitlements, or may be uniform. Weighted admissions and medical-allocation lotteries provide examples [4,5,6]. When the targets encode merit or priority, we interpret their exact implementation as meritocracy and call the resulting lottery meritocratic. We take the targets as given and do not prescribe how merit or priority should be assessed. In the formal definitions and results, we use marginal preservation for exact implementation of the target probabilities, because the results apply to any consistent target vector. Representation requirements can refer to several attributes and their intersections, so the traits need not form partitions or nested families.
Two parameters of the trait hypergraph play distinct roles. Its chromatic index χ ′ ( V , E ) is the minimum number of families of pairwise disjoint traits into which E can be partitioned; we call these families dimensions. Its maximum degree deg ( V , E ) = max v ∈ V | { e ∈ E : v ∈ e } | is the largest number of quotas affected by one selection. Always deg ( V , E ) ≤ χ ′ ( V , E ) , but their ratio can be arbitrarily small. This distinction separates the structure needed for exact implementation from the sparsity governing additive approximation.
We first give a constructive exact benchmark for χ ′ ( V , E ) ≤ 2 (Theorem 1). Consistency then suffices. The existence result follows from standard network integrality and is a special case of the bihierarchy framework of Budish et al. [1]. We provide a direct circulation construction, a mean-preserving cycle-rounding implementation, and an explicit lottery supported on at most | V | groups. Examples with three dimensions show that this sufficient condition cannot be extended to all higher-dimensional instances.
For arbitrary trait hypergraphs, Theorem 2 constructs a lottery that preserves all marginals and the group size exactly and violates every quota by at most deg ( V , E ) − 1 . The rounding step adapts the algorithm of Flanigan et al. [7] to the present trait-hypergraph setting. The algorithm combines Beck–Fiala floating-variable rounding [8] with repeated support reduction. It belongs to the sparse approximate-decomposition tradition of Nguyen et al. [9]. Our formulation accommodates arbitrary overlapping traits and consistent two-sided quotas, and its deterministic output is an explicit distribution over at most | V | groups. The bound depends on the number of constraints involving an individual, rather than on the number of trait dimensions.
The explicit representation of the lottery has practical value, particularly for sortition. The algorithm produces a list of at most | V | selected groups together with their probabilities. Organisers can publish or print this list before conducting the draw. Each group’s size and quota compliance, up to the stated approximation guarantee, can be checked directly. Likewise, each individual’s prescribed selection probability can be verified by summing the probabilities of the listed groups containing that individual. The final selection then requires only a draw from this explicitly specified finite lottery. Thus, the support reduction makes the construction transparent and readily inspectable, in addition to keeping its representation small.
We develop two complementary refinements. First, if most agents have low degree, the guarantee need not be determined by the few agents who have many traits. For an exceptional set B ⊆ V , Theorem 3 bounds the violation of trait e by d B + | e ∩ B | − 1 , where d B is the largest degree outside B. Thus, at most r agents with degree above d yield a uniform bound of d + r − 1 . Second, Theorem 4 combines dependent rounding [10] with rejection sampling. Allowing marginal errors of at most δ gives a quota bound of order k log ( | E | / δ ) , which can be useful when the maximum degree is large.
The results yield a design alternative to procedures that impose exact quotas and optimize the resulting marginal probabilities. In particular, LEXIMIN [2] prioritizes exact representation and then makes selection probabilities as equal as possible. Our construction preserves an externally specified vector and makes the required quota relaxation explicit. A small example shows that even when exactly diverse groups exist, preserving uniform marginals can require relaxing a quota. An illustration using citizens’ assembly data reports substantially smaller quota deviations than the worst-case bound. We also discuss type compression and the limited incentive implication of maintaining marginals independently of reported traits.
Section 2 positions the results in the related literature. Section 3 presents the model and its matrix formulation. Section 4 and Section 5 give the exact and approximate implementation results. Section 6 discusses implementation and applications, and Section 7 concludes. Detailed proofs appear in Appendix A.

2. Related Literature

Apportionment and panel-selection rounding. Cembrano et al. [11] study multidimensional political apportionment (other related papers in apportionment include [12,13,14]). Like us, they identify a sharp two-versus-three-dimensional divide: exact proportionality is guaranteed in two dimensions but may fail with three or more, and they provide approximation guarantees for higher dimensions. Our results differ from theirs in three respects. First, our object is a lottery over selected groups with prescribed individual marginals, rather than an apportionment vector. Second, our model incorporates arbitrary ex ante target probabilities p in addition to ex post representation quotas. Third, our approximation guarantee depends on deg ( V , E ) , the maximum number of traits possessed by an agent, rather than on the number of dimensions. Since the former is weakly smaller than the latter, and the gap can be arbitrarily large, this distinction can be substantial.
Flanigan et al. [7] [Lemmas 3 and 9] present a result closely related to Theorem 2. Conditional on a realized volunteer pool, they start from individual marginals summing to the panel size and use Beck–Fiala floating-variable rounding [8] to preserve these marginals and the panel size, while keeping each trait count within an additive error equal to the exogenously specified number of dimensions minus one (although their displayed guarantee uses a weak bound equal to the number of dimensions, their proof yields a strict error smaller than that number; consequently, when expressed relative to consistent integer quotas, their argument gives the same one-unit refinement as Theorem 2 in their feature-partition setting). In their model, every agent possesses exactly one trait in each dimension. By contrast, Theorem 2 applies to arbitrary trait hypergraphs in which agents need not possess a trait in every dimension, accommodates arbitrary consistent lower and upper quotas, and produces in polynomial time an explicit lottery with support size at most | V | . Their polynomial-time result instead provides a sampling procedure; their alternative column-generation method constructs an explicit distribution but is not guaranteed to run in polynomial time. Finally, our degree-based formulation can yield a substantially smaller bound when the maximum number of traits possessed by an agent is strictly smaller than the number of dimensions.
Sparse approximate decomposition. Nguyen et al. [9] [Theorem 2.1] show that a fractional assignment of bundles can be implemented as a lottery over integral assignments, preserving the fractional assignment exactly and over-allocating each good by at most the maximum bundle size minus one. Viewing an agent’s traits as a bundle connects that size parameter to the column sparsity of our trait-incidence matrix. Their result therefore already establishes the combination of exact marginal preservation and a sparsity-minus-one additive relaxation. The direct candidate-as-bundle interpretation does not itself impose a fixed number of selected candidates in every realization. We give a direct construction for fixed-size subsets with overlapping lower and upper quotas, together with the exceptional-agent and approximate-marginal refinements below. The degree-based bound should thus be understood within this established sparse-rounding framework.
Network flows, b-matchings, and dependent rounding. After adding trivial traits where needed, the two-dimensional case can be viewed as a bipartite b-matching problem with lower and upper degree bounds and fixed cardinality: traits form the two vertex classes, and agents correspond to unit-capacity edges. Theorem 1 gives a direct lottery implementation of the associated integral-flow formulation [15]. For Theorems 1 and 2, Appendix A.2 combines mean-preserving rounding with Carathéodory support reduction to construct explicit lotteries over fixed-size subsets. Theorem 4 instead applies the dependent-rounding and concentration results of Gandhi et al. [10], followed by rejection sampling, to obtain simultaneous quota guarantees with small marginal errors.
Diverse committees, sortition, and citizens’ assemblies. A growing literature studies representative committees and citizens’ assemblies, including diverse representation, multiwinner selection with diversity constraints, and sortition [16,17,18,19,20,21,22,23,24,25]. Another important benchmark is the LEXIMIN approach of Flanigan et al. [2], which restricts attention to exactly quota-feasible panels and then makes individual selection probabilities as equal as possible. We compare our algorithm with LEXIMIN in Section 6.
Random allocation, priorities, and implementable lotteries. A central question in random allocation is when a desired fractional assignment can be implemented as a lottery over deterministic feasible outcomes. In classical random assignment, the Birkhoff–von Neumann decomposition underlies lottery implementations of doubly stochastic matrices and mechanisms such as probabilistic serial [26,27]. Budish et al. [1] extend this logic to random allocation with additional constraints, identifying structural conditions, such as bi-hierarchical constraints, that allow fractional allocations to be decomposed into feasible deterministic outcomes. Indeed, the existence part of Theorem 1 can be viewed as a special case of their bihierarchy result: when traits can be partitioned into two dimensions, the two families of pairwise-disjoint traits form two hierarchies, so consistency implies that the target marginal vector can be decomposed into quota-feasible selected groups. More recent work studies priorities, constraints, and approximate implementability in random allocation [28,29,30,31].
Our question belongs to this implementability tradition, but with differently structured constraints. Trait quotas are overlapping and intersectional: a selected agent may affect many constraints, and the traits need not be disjoint or nested. We take an arbitrary target marginal vector p and ask whether it can be decomposed into a lottery over groups satisfying, or approximately satisfying, every quota ex post.
Distributional constraints in market design. Distributional constraints are central in market design, especially in school choice, affirmative action, and matching with regional or type-specific quotas. The school-choice framework of Abdulkadiroğlu and Sönmez [3] and subsequent work on controlled choice and affirmative action study how priorities, preferences, and constraints interact [32,33]. Kamada and Kojima [34,35,36] analyze matching with distributional constraints, including existence, stability, efficiency, and strategy-proofness issues. Carvalho et al. [37] emphasize that single-dimension affirmative-action policies can miss important intersectional effects.
Relative to this literature, our model abstracts from preferences and strategic behavior. In applications such as sortition, juries, and lotteries among qualified applicants, the central institutional question is often not which object an agent prefers, but whether a prescribed priority vector can be implemented without violating representation constraints. Our results characterize this implementation problem under intersectional quotas.

3. Model

Setting. We study the problem of selecting a group of k agents from a finite population, subject to target ex ante selection probabilities and ex post diversity requirements. Depending on the context, the selected group may represent a committee, a citizens’ assembly, a jury, a scholarship cohort, or an admissions class.
Formally, a setting is a tuple ( V , E , p , l , u , k ) , where:
1.
V is a finite nonempty set of agents.
2.
E is a finite nonempty set of nonempty subsets of agents.
3.
p : V → [ 0 , 1 ] is the target selection probability of each agent v, where ∑ v ∈ V p ( v ) = k .
4.
l : E → Z ≥ 0 is the lower bound on the number of selected agents with each trait e.
5.
u : E → Z ≥ 0 is the upper bound on the number of selected agents with each trait e.
6.
k ∈ Z > 0 is the number of selected agents.
We interpret each e ∈ E as a diversity trait. For every v ∈ V and e ∈ E , membership v ∈ e indicates that agent v has trait e, and v ∉ e indicates that agent v does not have trait e. Observe that ( V , E ) constitutes a finite hypergraph (a hypergraph is a pair ( V , E ) of a vertex set V and a collection E of subsets of V , called hyperedges).
Quota Feasibility and Marginal Preservation. We require the random selection process to satisfy:
1.
ex post diversity: The number of selected agents with each trait e must be between l ( e ) and u ( e ) .
2.
ex ante marginal preservation: Each agent v should be selected with probability p ( v ) . The target vector may represent merit, need, entitlement, or equal treatment; its interpretation is separate from the implementation problem.
A selected group (of size k) is a subset of k agents, i.e., a set S ⊆ V satisfying | S | = k . A selected group S is diverse if the number of selected agents with each trait is between the trait’s lower bound and its upper bound, i.e., if l ( e ) ≤ | S ∩ e | ≤ u ( e ) for each trait e ∈ E .
Denote the set of all selected groups of size k by K . A k-selection lottery is a distribution μ ∈ Δ ( K ) over selected groups of size k. Given a k-selection lottery μ ∈ Δ ( K ) and an agent v, let μ v = ∑ S ∈ K : v ∈ S μ ( S ) be the marginal selection probability of agent v. We say that a k-selection lottery μ ∈ Δ ( K ) is marginal-preserving if μ v = p ( v ) for each agent v, and we say that it is diverse if every selected group in its support is diverse.
Matrix formulation and computational conventions. Let n = | V | , and define the incidence matrix A ∈ { 0 , 1 } E × V by A e v = 1 if and only if v ∈ e . Write 1 S for the incidence vector of S. The problem is to find weights λ i ≥ 0 and sets S i ∈ K such that
p = ∑ i = 1 q λ i 1 S i , ∑ i = 1 q λ i = 1 , l ≤ A 1 S i ≤ u ( i = 1 , … , q ) .
Consistency means l ≤ A p ≤ u . The parameter deg ( V , E ) is the maximum column sum of A, whereas two-dimensionality is a structural restriction on its rows. An explicit lottery consists of the sets S i and their probabilities λ i . Throughout, input probabilities are rational and encoded in binary, quotas are integers, and polynomial time refers to the total encoding length, including the trait-incidence data. Bounds stated in terms of numbers of agents and traits use this convention.
Remark 1.
The target selection probabilities may themselves be derived from a social-welfare objective. For example, suppose that society evaluates a k-selection lottery μ according to W ( μ ) = ∑ v ∈ V a v ln ( μ v ) , where a v > 0 represents the merit or priority weight assigned to agent v. Maximizing W over all k-selection lotteries is equivalent to maximizing it over all marginal vectors ( μ v ) v ∈ V ∈ [ 0 , 1 ] V satisfying ∑ v ∈ V μ v = k . Provided that k a v ∑ w ∈ V a w ≤ 1 for every v ∈ V , the unique welfare-maximizing marginal probabilities are p ( v ) = k a v ∑ w ∈ V a w for every v ∈ V . Thus, the target probabilities may be interpreted as the welfare-maximizing probabilities associated with society’s merit or priority weights.
Dimensionality. It turns out that the ability to achieve both marginal preservation and diversity crucially depends on the dimensionality of the traits, which is the minimum number of classes (dimensions) into which the set of traits can be partitioned, such that all traits within the same dimension are pairwise disjoint. For example, the different dimensions might be race, gender, socioeconomic status, and locale type.
Formally, the dimensions correspond to a proper edge-coloring of the hypergraph ( V , E ) : each color class represents one dimension, and the hyperedges of that color represent the traits within that dimension (e.g., { female , male } for gender, or { urban , rural } for locale type). Properness means that hyperedges (traits) of the same color are pairwise disjoint. Thus, the chromatic index  χ ′ ( V , E ) , i.e., the minimum number of colors in a proper edge-coloring of the hypergraph, captures the dimensionality of the traits. Henceforth, we define the number of dimensions in a setting ( V , E , p , l , u , k ) as the chromatic index χ ′ ( V , E ) .

Examples

Real-world examples. Various random selection processes require ex ante marginal preservation, ex post diversity, or both. The simplest case is the equal-priority case, in which all agents are entitled to the same ex ante probability of selection. This arises, for example, in some forms of jury selection, citizens’ assemblies, and school admission lotteries, where uniform randomization is used to treat similarly situated candidates symmetrically.
In other settings, the required selection probabilities are non-uniform and reflect heterogeneity in merit, priority, need, or entitlement. Some examples include:
  • GPA-band weighted lottery. For several decades, admission to Dutch medical schools was based on a national weighted lottery. Applicants with higher GPAs received higher lottery weights, with students in the highest GPA category having about three times the selection probability of those in the lowest category [4].
  • Charter-school weighted admissions lottery. Some charter schools use weighted admissions lotteries, giving priority applicants higher selection probabilities [5]. For example, a Jersey City charter school doubles the lottery weight of applicants receiving certain forms of public assistance [38].
  • Weighted lottery for scarce medical treatments. During COVID-19 shortages, some health systems allocated scarce therapeutics by weighted lottery, giving higher chances to patients with ethical or medical priority factors, such as essential-worker status, social disadvantage, or expected clinical benefit [6].
Various selection procedures include ex post diversity quotas. Some examples include:
  • Citizens’ assemblies. Random selection processes for citizens’ assemblies typically try to implement either approximately equal or non-uniform selection probabilities that compensate for non-uniform response rates [7], subject to the constraint that the resulting assembly satisfies diversity quotas across dimensions. For example, the Irish Citizens’ Assembly was required to satisfy diversity quotas in four dimensions: gender, age, region, and social class [39].
  • Affordable housing. Affordable housing is often allocated by lottery under the constraint that the share of units allocated to applicants with disabilities must meet a specified minimum quota; for example, 7% in NYC [40].
  • Diversity quotas for juries. Several Argentine provinces require a 12-person criminal jury to be composed of six women and six men. In addition, when an Indigenous defendant faces a criminal jury trial in Chaco province, at least 6 of the jurors must belong to the defendant’s Indigenous community [41].
Illustrative examples. We illustrate our model with two simple examples.
Example 1.
Consider 6 agents and 3 diversity dimensions: locale type, age, and height. Each agent has exactly two traits (and has no diversity trait in the remaining dimension): Agent 1 is urban and old; Agent 2 is old and tall; Agent 3 is rural and short; Agent 4 is urban and tall; Agent 5 is young and short; and Agent 6 is rural and young. Thus, each trait is held by exactly two agents. This is represented by V = { 1 , 2 , 3 , 4 , 5 , 6 } , and E = { 1 , 2 } , { 1 , 4 } , { 2 , 4 } , { 3 , 5 } , { 3 , 6 } , { 5 , 6 } . The hypergraph ( V , E ) is 2-uniform, hence a graph, and consists of two disjoint triangles; its chromatic index is 3. The left panel of Figure 1 depicts ( V , E ) with a proper 3-edge-coloring, where colors correspond to dimensions.
Figure 1. Trait hypergraphs. The (left) panel shows the two disjoint triangles of Example 1 with a proper 3-edge-coloring. The (right) panel shows the hypergraph of Example 2 with a proper 2-edge-coloring.
Let k = 4 , and require each trait to be represented by at least one selected agent, i.e., l ( e ) = 1 and u ( e ) = 4 for every e ∈ E . The group { 1 , 2 , 3 , 4 } is not diverse, since it contains no young agents. In contrast, { 1 , 2 , 5 , 6 } is diverse, since every trait has a selected member. Assume that we require equal selection probability for all agents, i.e., p ( v ) = 4 6 for each v ∈ V . Consider the set K div ⊆ K consisting of selected groups with two members from 1 , 2 , 4 and two members from 3 , 5 , 6 , i.e., K div = S ∈ K ∣ | S ∩ { 1 , 2 , 4 } | = | S ∩ { 3 , 5 , 6 } | = 2 . Clearly, every selected group in K div is diverse. Let μ be the uniform distribution over K div . Observe that μ is marginal-preserving (i.e., μ v = p ( v ) = 4 6 for each v ∈ V ) and diverse.
Example 2.
Consider a population of six agents with two diversity dimensions—age and height—where each dimension has two traits. Agents 1 and 2 are old and tall; Agent 3 is old and short; Agent 4 is young and tall; Agent 5 is young and has no height trait; and Agent 6 is young and short. The right panel of Figure 1 illustrates the resulting hypergraph. Observe that the chromatic index of the hypergraph is 2.

4. Results with Exact Diversity

4.1. Consistent Settings

A setting ( V , E , p , l , u , k ) is consistent if l ( e ) ≤ ∑ v ∈ e p ( v ) ≤ u ( e ) for each trait e, and it is inconsistent otherwise. Observe that when the setting is inconsistent, every selection lottery must violate either diversity or marginal preservation.
Claim 1.
If a setting ( V , E , p , l , u , k ) is inconsistent, then any lottery over selected groups μ ∈ Δ ( K ) must violate either diversity or marginal preservation.
Proof. 
Since the setting is inconsistent, there is a trait e ∈ E such that ∑ v ∈ e p ( v ) ∉ [ l ( e ) , u ( e ) ] . Suppose, toward a contradiction, that a lottery μ ∈ Δ ( K ) satisfies both marginal preservation and diversity. By marginal preservation, μ v = p ( v ) for every v ∈ V , so the expected number of selected agents with trait e is ∑ S ∈ K μ ( S ) | S ∩ e | = ∑ v ∈ e μ v = ∑ v ∈ e p ( v ) . Since μ satisfies diversity, every selected group S in its support satisfies l ( e ) ≤ | S ∩ e | ≤ u ( e ) , and hence l ( e ) ≤ ∑ S ∈ K μ ( S ) | S ∩ e | ≤ u ( e ) . This contradicts ∑ v ∈ e p ( v ) ∉ [ l ( e ) , u ( e ) ] . □
Thus, in what follows, we focus on conditions for the existence of diverse and marginal-preserving selection processes in consistent settings.

4.2. Exact Diversity with Two Dimensions

In this section, we restrict attention to settings with at most two diversity dimensions (e.g., race and gender), i.e., χ ′ ( V , E ) ≤ 2 . It is well known that one can decide in polynomial time whether a hypergraph has chromatic index at most 2 (however, determining the exact value of χ ′ ( V , E ) is NP-hard in general). Thus, one can decide in polynomial time whether a setting admits a representation using at most two dimensions. For completeness, we include a proof in Appendix A.1.
Fact 1.
There exists an algorithm that, given a hypergraph ( V , E ) , runs in time polynomial in | V | + | E | and decides whether χ ′ ( V , E ) ≤ 2 .
The following constructive form of the network-integrality benchmark shows that when there are at most two dimensions (i.e., χ ′ ( V , E ) ≤ 2 ), diverse and marginal-preserving k-selection lotteries always exist. Moreover, they can be found with running time polynomial in the number of agents ( | V | ) and traits ( | E | ).
Theorem 1.
There exists an algorithm that, given a consistent setting ( V , E , p , l , u , k ) with χ ′ ( V , E ) ≤ 2 , runs in time polynomial in | V | + | E | and outputs an explicit description of a diverse and marginal-preserving k-selection lottery μ with support size at most | V | .
The formal proof of Theorem 1 appears in Appendix A.3. It combines an auxiliary circulation-graph construction in the spirit of [42] with a rounding scheme in the spirit of [10]. We now sketch the proof outline.
Let E = E 1 ∪ ˙ E 2 be a partition of the hyperedges into two color classes (the two trait dimensions). Without loss of generality, assume ⋃ e ∈ E 1 e = ⋃ e ∈ E 2 e = V ; otherwise, for each i ∈ { 1 , 2 } such that ⋃ e ∈ E i e ≠ V , add to E i an auxiliary hyperedge V ∖ ⋃ e ∈ E i e that includes the agents with no trait in dimension i. We assign this auxiliary hyperedge trivial bounds 0 and k, so it imposes no additional diversity constraint. Any solution for the augmented hypergraph (with the added auxiliary hyperedge) is also a solution for the original. We treat traits in the two color classes as distinct labeled copies, even if two augmented subsets coincide. Since hyperedges of the same color form a partition of V , each vertex v ∈ V belongs to exactly one hyperedge of E 1 and one hyperedge of E 2 .
We now construct an auxiliary directed multigraph (a directed multigraph allows multiple directed edges between the same ordered pair of vertices). G = ( V ( G ) , E ( G ) ) (following [42]) in which: (1) the set of vertices is the hyperedges of ( V , E ) (with the added auxiliary hyperedges mentioned above) and two distinguished vertices s and t arranged in four tiers, V ( G ) = { s } ∪ E 1 ∪ E 2 ∪ { t } , and (2) the arc set consists of one arc s → e 1 for each e 1 ∈ E 1 , one arc e 1 → v e 2 for each agent v ∈ e 1 ∩ e 2 , one arc e 2 → t for each e 2 ∈ E 2 , and one arc t → s . The arcs from s to E 1 and from E 2 to t correspond to traits (elements of E ) and the arcs from E 1 to E 2 correspond to agents (elements of V ). The edges are described in Table 1 and illustrated for the setting of Example 2 in Figure 2.
Table 1. Arcs and flows in the auxiliary circulation graph G.
Figure 2. Auxiliary circulation graph for Example 2, with k = 3 , p ≡ 1 2 , l ≡ 1 , and u ≡ 3 .
For each vertex v ∈ V ( G ) , let δ + ( v ) ⊆ E ( G ) and δ − ( v ) ⊆ E ( G ) denote the set of outgoing and incoming edges of v, respectively. A circulation is a vector f ∈ R E ( G ) that assigns a real value to each edge of G while satisfying flow conservation, i.e., for every vertex, the inflow equals the outflow:
∑ a ∈ δ + ( v ) f a = ∑ a ∈ δ − ( v ) f a , ∀ v ∈ V ( G ) .
Table 1 specifies an initial circulation f 0 , which represents the target marginal selection probabilities p ( v ) . Observe that this initial circulation satisfies flow conservation.
Starting from f 0 , we repeatedly apply a standard cycle-based perturbation argument (see, e.g., [15] [Section 9.6]), which gradually turns fractional arc flows into the neighboring integers while preserving flow conservation. At each step, let f denote the current circulation, and consider an undirected multigraph F obtained from G by removing the arcs whose current flow is integral. If this multigraph were acyclic, it would have a leaf vertex v. Then exactly one edge incident to v would be fractional, while all others would be integral, which contradicts flow conservation at v. Hence F contains an undirected cycle C, possibly of length two. Fix such a cycle C and choose an arbitrary traversal direction. Define a signed circulation h that assigns + 1 to each arc of C whose orientation agrees with the chosen traversal direction and − 1 to each arc whose orientation disagrees with it, and 0 to all other edges (not in C).
Observe that h satisfies flow conservation. Let a + , a − > 0 be maximal such that f + = f + a + h and f − = f − a − h remain within the current floor–ceiling bounds, i.e., ⌊ f e ⌋ ≤ f e − , f e + ≤ ⌈ f e ⌉ for every e ∈ E ( G ) . By maximality, at least one additional edge becomes integral in each of f + , f − . We randomize between them so that the expected flow remains f , choosing f + with probability a − a + + a − . Thus the expected final circulation remains f 0 . Each step strictly reduces the number of fractional edges, so after at most | E ( G ) | steps we obtain an integer circulation. This circulation corresponds to a diverse selected group; since its expectation is f 0 , the induced lottery is marginal-preserving. Finally, by Carathéodory’s theorem, because all diverse selected-group incidence vectors lie in the affine hyperplane ∑ v ∈ V x v = k of dimension at most | V | − 1 , the marginal vector p can be expressed as a convex combination of at most | V | diverse selected groups. Hence the lottery has support size at most | V | .
Figure 2 illustrates the auxiliary multigraph for the setting of Example 2 with selected group size k = 3 , uniform selection probabilities p ≡ 0.5 , and diversity quotas l ( e ) = 1 and u ( e ) = 3 for each trait e. The figure shows the initial flow f 0 , an undirected cycle C (the diamond-like shape marked with thick yellow lines), one possible flow after a single cycle-perturbation step with respect to C, and one possible realization for the final integer flow. The final integer flow corresponds to a diverse committee that includes agent 1 (old and tall), agent 3 (old and short) and agent 5 (young with no height trait).

4.3. Impossibility in High Dimensions ( χ ′ ( V , E ) ≥ 3 )

The following example illustrates that even a small deviation from the two-dimensional case is sufficient to make diverse selected groups infeasible. Specifically, we revisit Example 1, where there are three dimensions and each agent has two diversity traits, and we show that no diverse selected groups of size 3 exist.
Example 1 (cont.).
We change the selected group size to be k = 3 and the uniform selection probability to be p ≡ 0.5 . Suppose, for contradiction, that there exists a diverse selected group S ∈ K of size 3. Observe that the selected group has at most one member from one of the “triangles” in the left panel of Figure 1, i.e., either | S ∩ { 1 , 2 , 4 } | ≤ 1 or | S ∩ { 3 , 5 , 6 } | ≤ 1 . The former (resp., latter) implies that the selected group misses at least one of the following traits: urban, old, or tall (resp., rural, young, or short). This contradicts S being diverse because there is a trait e with no selected members even though l ( e ) = 1 .
In Example 1, any selected group falls short of diversity by at most one member for each trait (i.e., for some traits it has 0 members where the lower quota is 1). By contrast, the next example shows that for any n, there exists a consistent setting in which every selected group falls short by at least n members for some trait.
Example 3.
Let ( V , E , p , l , u , k ) be a setting with k = 2 n and | V | = 4 n , where the hyperedges are all 2 n -element subsets of V . Assume uniform selection probabilities, p ( v ) = 0.5 for each v ∈ V , and require each trait to have at least n selected members, i.e., l ( e ) = n and u ( e ) = 2 n for every e ∈ E . The setting is consistent. However, any selected group S ∈ K of size 2 n contains no members of its complement V ∖ S , which is itself a 2 n -element trait. Since this trait has lower quota n, the group S falls short by n members.

5. Approximate Diversity

5.1. Few Diversity Traits per Agent

In many applications, the maximum number of diversity traits held by a single agent is small (e.g., four in the Irish citizens’ assembly application [39] and at most eight and typically fewer in the applications analyzed in [2]). Our next result (Theorem 2) shows an efficient algorithm to construct a marginal-preserving k-selection lottery that is approximately diverse. The approximation error is additive and strictly smaller than the maximum number of traits held by any single agent.
We say that a selected group is d-approximately diverse if no diversity trait is either underrepresented or overrepresented in the selected group by more than d members. Formally,
Definition 1.
Fix a setting ( V , E , p , l , u , k ) and d ∈ Z ≥ 0 . A selected group S ∈ K is d-approximately diverse if for every e ∈ E , l ( e ) − d ≤ | S ∩ e | ≤ u ( e ) + d . A k-selection lottery is d-approximately diverse if all selected groups in its support are d-approximately diverse.
The number of diversity traits of agent v is captured by its degree in the hypergraph deg ( v ) . The maximum degree of the hypergraph, deg ( V , E ) = max v ∈ V deg ( v ) , captures the intersectionality of the traits, i.e., the maximum number of traits held by a single agent.
Our next result shows that any consistent setting admits a marginal-preserving and ( deg ( V , E ) − 1 ) -approximately diverse selection lottery. Moreover, such a selection lottery can be implemented in polynomial time. Note that the maximum degree of ( V , E ) is always at most the number of dimensions (i.e., deg ( V , E ) ≤ χ ′ ( V , E ) ), and the gap between them can be arbitrarily large (for any m ≥ 3 , let V = { v i j ∣ 1 ≤ i < j ≤ m } and let E = { e 1 , … , e m } , where e i = { v min { i , j } , max { i , j } ∣ j ∈ [ m ] ∖ { i } } . Then every vertex v i j lies in exactly two hyperedges ( e i and e j ), so deg ( V , E ) = 2 . Moreover, any two hyperedges e i , e j intersect in v i j , and therefore there are m dimensions ( χ ′ ( V , E ) = m )). Note that the related approximation notions in [7,11] scale with the number of dimensions, making it uninformative when agents have far fewer traits than there are dimensions, i.e., deg ( V , E ) ≪ χ ′ ( V , E ) .
Example 1 shows that the guarantee is tight when deg ( V , E ) = 2 : exact diversity may be impossible, whereas Theorem 2 guarantees 1-approximate diversity. Our analysis leaves open whether the bound is tight for higher values of deg ( V , E ) .
Theorem 2.
There exists an algorithm that, given a consistent setting ( V , E , p , l , u , k ) , runs in time polynomial in | V | + | E | and outputs a marginal-preserving and ( deg ( V , E ) − 1 ) -approximately diverse k-selection lottery with support size at most | V | .
The sparsity-minus-one form of this guarantee is closely related to the approximate decomposition of Nguyen et al. [9] and to the algorithm of Flanigan et al. [7]; see Section 2. The construction below keeps the cardinality equation exact throughout the rounding process.
The formal proof is presented in Appendix A.4. Its main steps also give a sampling implementation. Let D = deg ( V , E ) . Start from x 0 = p , and at each stage let
F ( x ) = { v : 0 < x v < 1 } , E x = { e ∈ E : | e ∩ F ( x ) | > D } .
Keep integral coordinates fixed, preserve ∑ v x v = k , and preserve the trait sums for all e ∈ E x . These requirements admit a nonzero perturbation direction whenever x is nonintegral. To see the key point, set m = | F ( x ) | and identify repeated restrictions e ∩ F ( x ) . If there are r distinct large restrictions, incidence counting gives ( D + 1 ) r ≤ D m . Including the cardinality equation still leaves fewer than m independent equations: if r = m − 1 , then m ≤ D + 1 , so any large restriction must be the whole fractional set and the cardinality equation is redundant. If there are no large restrictions, integrality of k excludes m = 1 . Lemma A2 gives the full argument.
Choose a nonzero direction satisfying these homogeneous equations and move to the two endpoints of the feasible line segment in [ 0 , 1 ] V . Each endpoint has at least one additional integral coordinate. Randomizing between the endpoints to preserve the current vector in expectation preserves every target marginal. The cardinality equation is maintained deterministically at every step.
For a fixed trait e, its sum remains equal to ∑ v ∈ e p ( v ) until at most D of its coordinates are fractional. Each remaining coordinate can subsequently change by less than one, giving
| S ∩ e | − ∑ v ∈ e p ( v ) < D .
Consistency and the integrality of the quotas then yield
l ( e ) − ( D − 1 ) ≤ | S ∩ e | ≤ u ( e ) + ( D − 1 ) .
Thus the process terminates after at most | V | steps along each sampled path. To produce an explicit lottery without expanding the full branching tree, we round every current support point one step and then reduce the support while preserving its mean. Since all vectors satisfy ∑ v x v = k , Carathéodory reduction retains at most | V | points. Appendix A.2 details this construction.

5.2. A Small Set of Highly Overlapping Agents

The maximum-degree bound can be driven by a small number of agents. The next refinement separates an arbitrary exceptional set B from the remaining population and gives a bound for each trait according to its intersection with B.
Theorem 3.
Let ( V , E , p , l , u , k ) be a consistent setting and let B ⊆ V be any set of agents. Define d B : = max { deg ( v ) : v ∈ V ∖ B } ∪ { 0 } and b B : = max e ∈ E | e ∩ B | . There exists an algorithm that, given the setting and B, runs in time polynomial in | V | + | E | and outputs a marginal-preserving k-selection lottery with support size at most | V | such that every selected group S in its support satisfies
l ( e ) − d B + | e ∩ B | − 1 ≤ | S ∩ e | ≤ u ( e ) + d B + | e ∩ B | − 1 for every e ∈ E .
In particular, the lottery is ( d B + b B − 1 ) -approximately diverse. Hence, if at most r agents possess more than d traits, then one can construct a marginal-preserving and ( d + r − 1 ) -approximately diverse k-selection lottery with support size at most | V | .
The proof appears in Appendix A.5. It uses the same rounding scheme, preserving a trait sum while more than d B nonexceptional coordinates in that trait remain fractional. Once the sum is released, at most d B + | e ∩ B | coordinates can still change. Taking B = ⌀ recovers Theorem 2; allowing a nonempty B can improve the bound when high-degree agents are rare.

5.3. Result for Settings with High Intersectionality

When some agents possess many traits, the degree-based guarantee of Theorem 2 can become large. We next present an alternative algorithm for achieving approximate diversity and marginal preservation, whose guarantees may improve on those of Theorem 2 at high levels of intersectionality (though such high levels do not typically occur in citizens’ assembly applications).
We first define an additive notion of approximate marginal preservation.
Definition 2.
Fix δ ≥ 0 . A k-selection lottery μ ∈ Δ ( K ) is δ-approximately marginal-preserving if
μ v − p ( v ) ≤ δ for every v ∈ V .
Our next result shows that, for every δ ∈ ( 0 , 1 ) , one can implement a k-selection lottery that is δ -approximately marginal-preserving and d δ -approximately diverse, with d δ = 2 k ln 2 | E | δ .
Theorem 4.
Fix a consistent setting ( V , E , p , l , u , k ) and fix δ ∈ ( 0 , 1 ) . Let
d δ : = 2 k ln 2 | E | δ .
Then there exists a k-selection lottery μ δ that is d δ -approximately diverse and δ-approximately marginal-preserving.
The formal proof appears in Appendix A.6. The basic idea is that μ δ is implemented by a rejection-sampling procedure. First, we draw a selected group from a marginal-preserving lottery by applying the dependent-rounding algorithm of Gandhi et al. [10] (Theorem 2.3). By applying probabilistic tail bounds [10] (Theorem 3.1), we show that the resulting selected group S satisfies
| S ∩ e | − ∑ v ∈ e p ( v ) ≤ d δ for every e ∈ E
with probability at least 1 − δ . We accept the draw if this condition holds; otherwise, we reject it and draw again. The expected number of draws is at most 1 / ( 1 − δ ) , and conditioning on acceptance yields a d δ -approximately diverse and δ -approximately marginal-preserving selection lottery.
Remark 2.
The additive bound in Theorem 4 tends to be large, and often too loose to be practically informative (for instance, in the HD dataset presented in Section 6.2 ( k = 30 , | E | = 33 ), Theorem 4 gives d 0.05 = 21 , compared with the degree-based bound of 6 from Theorem 2. Indeed, the former bound cannot improve on the latter for any δ ∈ ( 0 , 1 ) ). In various settings, diversity considerations impose only lower quotas (i.e., u ( e ) ≥ k for each trait e). In such settings, minor adaptations to the proof yield a sharper, trait-specific bound for each trait e (where m e = ∑ v ∈ e p ( v ) is its expected representation): (The factor 2 inside the logarithm disappears because only lower-tail deviations need to be controlled. The union bound therefore involves one event per trait, whereas Theorem 4 controls both lower- and upper-tail deviations).
d δ ( e ) : = 2 m e ln | E | δ .
As an illustration consider a hypothetical setting with 1000 candidates, a committee size of k = 100 , and uniform targets p ( v ) = 0.1 . Partition the candidates into 100 types of 10 candidates, arranged cyclically, and define 100 traits, each comprising 50 consecutive types. Each trait therefore contains 500 candidates, and each candidate possesses 50 traits (a level of intersectionality significantly higher than typical citizen assembly applications). Set l ( e ) = 50 and u ( e ) = 100 for every trait. These quotas are consistent with the targets, since m e = 50 for every e ∈ E . Theorem 2 gives an additive bound of deg ( V , E ) − 1 = 49 , whereas the preceding bound, with δ = 0.05 , gives d δ ( e ) = 2 · 50 ln ( 100 / 0.05 ) = 28 . Thus, the trait-specific bound guarantees at least 22 selected candidates from every trait, compared with the lower guarantee of one candidate implied by the degree-based bound.

6. Discussion

6.1. Compressed Settings and Fast Running Times

The algorithms presented here run in time polynomial in | V | + | E | . However, when the population size | V | is very large, potentially in the millions, direct implementation may raise practical running-time concerns. In this subsection, we show that any setting can be transformed into a compressed setting by merging agents who share the same selection probability and trait profile into a single vertex. We then run slightly adapted versions of our algorithms on the compressed instance. Even in applications with very large populations, the number of distinct agent types may remain small, often only a few dozen in citizens’ assembly applications, so the adapted algorithms can run efficiently in practice.
Given a setting ( V , E , p , l , u , k ) , define its compressed setting as a tuple ( V ′ , E ′ , m ′ , p ′ , l ′ , u ′ , k ) :
  • V ′ is the finite set of distinct agent types. Each vertex v ′ ∈ V ′ corresponds to a pair ( E v ′ , π v ′ ) , where E v ′ ⊆ E is a trait profile and π v ′ ∈ [ 0 , 1 ] is a selection probability, such that there exists at least one agent v ∈ V satisfying p ( v ) = π v ′ and
    v ∈ e if and only if e ∈ E v ′
    for every e ∈ E . Let V ( v ′ ) denote the set of agents of type v ′ ; that is,
    V ( v ′ ) = { v ∈ V : p ( v ) = π v ′ and ( v ∈ e ⇔ e ∈ E v ′ ) for every e ∈ E } .
  • E ′ is the finite set of compressed traits. Each trait e ′ ∈ E ′ corresponds to a trait e ∈ E , with
    v ′ ∈ e ′ if and only if e ∈ E v ′ .
  • m ′ : V ′ → Z > 0 is the mass of each agent type, namely, the number of agents of that type: m ′ ( v ′ ) = | V ( v ′ ) | . Observe that ∑ v ′ ∈ V ′ m ′ ( v ′ ) = | V | .
  • p ′ : V ′ → R ≥ 0 is the marginal selection mass of each agent type, namely, the expected number of selected agents of that type: p ′ ( v ′ ) = m ′ ( v ′ ) π v ′ . Observe that p ′ ( v ′ ) ≤ m ′ ( v ′ ) and ∑ v ′ ∈ V ′ p ′ ( v ′ ) = k .
  • l ′ : E ′ → Z ≥ 0 assigns each trait e ′ ∈ E ′ the same lower bound as its corresponding trait in the original setting.
  • u ′ : E ′ → Z ≥ 0 assigns each trait e ′ ∈ E ′ the same upper bound as its corresponding trait in the original setting.
  • k ∈ Z > 0 is the number of selected agents.
In a compressed setting, a selected group is a vector q ∈ Z ≥ 0 V ′ such that 0 ≤ q ( v ′ ) ≤ m ′ ( v ′ ) for every v ′ ∈ V ′ and ∑ v ′ ∈ V ′ q ( v ′ ) = k . It is diverse if
l ′ ( e ′ ) ≤ ∑ v ′ ∈ e ′ q ( v ′ ) ≤ u ′ ( e ′ )
for every e ′ ∈ E ′ .
The exact-marginal algorithms in Theorems 1–3 can be adapted to integer-bounded compressed settings. The circulation and floating-variable steps round each type count within its current floor–ceiling interval. Trait counts and the total selected-group size are computed from these type counts, so the same rounding arguments apply. The main difference is that the output of the algorithms specifies the number of selected agents of each type rather than their identities. To implement the output, for each agent type v ′ , we select uniformly at random q ( v ′ ) agents from V ( v ′ ) . Since all agents of type v ′ have the same target probability π v ′ and the compressed lottery satisfies
E [ q ( v ′ ) ] = p ′ ( v ′ ) = m ′ ( v ′ ) π v ′ ,
each agent v ∈ V ( v ′ ) is selected with marginal probability
E q ( v ′ ) m ′ ( v ′ ) = p ′ ( v ′ ) m ′ ( v ′ ) = π v ′ = p ( v ) .
Thus, implementing the compressed lottery in this way preserves the target selection probability of every original agent. A compact distribution over type-count vectors need not expand to a distribution over individual groups with equally small support; it instead gives a compact two-stage sampling implementation. For the exceptional-agent refinement, the designated exceptional agents may be kept as separate vertices before compressing the remaining population.

6.2. An Illustration Using Citizens’ Assembly Data

In this subsection, we compare the sampling procedure underlying Theorem 2 with the influential LEXIMIN algorithm for selecting citizens’ assemblies [2]. Whenever a quota-feasible group exists, LEXIMIN selects only groups satisfying all lower and upper quotas and lexicographically maximizes the vector of individual selection probabilities sorted from smallest to largest.
Paul Gölz kindly shared with us anonymized versions of the CCA and HD citizens’ assembly selection datasets used in Flanigan et al. [2], courtesy of the Center for Climate Assemblies and Healthy Democracy, respectively. The main characteristics of these datasets are summarized in Table 2.
Table 2. Characteristics of the two citizens’ assembly datasets.
The datasets specify lower and upper quotas for each trait but do not include target selection probabilities. To enable comparison with our algorithm, we construct two separate adaptations of each dataset:
1.
Original quotas with consistent targets. We retain the original quotas and add nonuniform target probabilities that depend only on agents’ trait profiles. Specifically, we minimize ∑ v ∈ V ( p ( v ) − k / | V | ) 2 subject to 0 ≤ p ( v ) ≤ 1 , ∑ v ∈ V p ( v ) = k , l ( e ) ≤ ∑ v ∈ e p ( v ) ≤ u ( e ) for every e ∈ E , and equal probabilities for agents with identical trait profiles. Thus, the targets are as close as possible to uniform under this criterion, while ensuring that expected trait counts satisfy the original quotas.
2.
Uniform targets with adjusted quotas. We set p ( v ) = k / | V | for every agent and adjust each trait’s lower and upper quotas to the floor and ceiling, respectively, of its expected count: l ( e ) = ⌊ k | e | / | V | ⌋ and u ( e ) = ⌈ k | e | / | V | ⌉ .
This yields four comparisons, summarized in Table 3. Our algorithm preserves the target selection probabilities exactly, whereas LEXIMIN satisfies all quotas in every selected group. The table reports the remaining deviations: quota violations under our algorithm and deviations from target probabilities under LEXIMIN. The quota-violation statistics are based on 10,000 runs of the randomized sampling procedure underlying Theorem 2, each producing a single selected group. This procedure preserves the prescribed marginals, the group size, and the theorem’s worst-case quota guarantee. The experiments do not implement the repeated Carathéodory support reduction used to construct an explicit lottery with support size at most | V | . For a selected group S and trait e ∈ E , the quota violation is max { l ( e ) − | S ∩ e | , | S ∩ e | − u ( e ) , 0 } . We report its average across traits and runs, and the average across runs of its maximum across traits. The data, code, and detailed results are available in the Supplementary Material.
Table 3. Quota violations under Theorem 2 and LEXIMIN deviations from target probabilities.
Table 3 shows that the algorithm of Theorem 2 preserves the prescribed selection probabilities with small average quota violations in these instances. The mean violation across traits and runs ranges from 0.11 to 0.47 agents, while the mean maximum violation across traits ranges from 1.29 to 1.80 agents. For HD, the mean maximum violations of 1.66 and 1.39 are substantially below the worst-case bound of 6; for CCA, the corresponding values of 1.80 and 1.29 are below the bound of 3. The largest observed violation of any single trait quota across the simulated groups was three seats for CCA and four seats for HD. The CCA averages are computed using the 61 nonempty traits.
The comparison also illustrates the algorithms’ different objectives. With the original quotas and added nonuniform targets, LEXIMIN’s mean absolute deviations from the targets are 8.0 and 9.3 percentage points, and its maximum absolute deviations are 64.6 and 66.6 percentage points. These targets are not inputs to LEXIMIN, which instead optimizes its own egalitarian objective subject to quota satisfaction. With uniform targets and adjusted quotas, LEXIMIN satisfies all quotas and matches the target selection probabilities up to numerical precision in both instances. Thus, the illustration demonstrates how our algorithm can preserve prescribed marginals while allowing small quota violations, including when those marginals differ substantially from the probabilities selected by LEXIMIN.

6.3. Additional Comments

Strategy-proofness Various applications share three properties: (1) agents care only about their own selection probability (e.g., they wish to maximize it); (2) selection probabilities are based on verifiable information; and (3) some diversity traits are privately known, self-reported, and difficult to verify. With p fixed independently of trait reports, preserving p at every admissible report profile makes truthful reporting weakly optimal under the preferences above. This applies to the algorithms in Theorems 1 and 2 on their respective domains. Extending the conclusion to other report profiles requires a fallback preserving marginals and group size, but not necessarily the quota guarantees. This observation does not cover participation choices, reports determining p, or preferences over the identities of other selected members.
Social welfare. Consider welfare criteria that combine penalties for deviations from target selection probabilities with expected penalties for quota violations. In consistent settings with at most two dimensions, Theorem 1 eliminates both types of deviation and therefore maximizes every such criterion with componentwise nonincreasing welfare components. Beyond two dimensions, these objectives can conflict. Appendix A.7 formalizes the welfare criterion and illustrates the trade-off in an example. Theorem 2 may therefore be attractive when marginal preservation has priority, while LEXIMIN [2] may be attractive when exact quota compliance has priority.

7. Conclusions

Main results. Building on established decomposition and rounding methods, we implement prescribed marginals under overlapping quotas. Theorem 1 gives an exact circulation-based construction for at most two dimensions. For arbitrary trait hypergraphs, Theorem 2 preserves marginals and group size with quota violations of at most deg ( V , E ) − 1 . Theorem 3 refines this bound when high overlap is concentrated in a small exceptional set. These constructions yield explicit lotteries supported on at most | V | groups. Theorem 4 instead uses rejection sampling to obtain concentration-based quota guarantees with small marginal errors.
Practical implications and limitations. Explicit lotteries allow organisers to inspect groups, probabilities, and quota guarantees before the draw. Section 6.2 illustrates the sampling implementation of Theorem 2 on two adaptations of each of the CCA and HD datasets, documenting small average quota violations and clarifying the different objectives of our algorithm and LEXIMIN. Our results address implementation given targets and quotas; they do not determine appropriate quotas or definitions of merit. The guarantees assume consistent prescribed targets, integer quotas, fixed group size, and known binary trait memberships that remain unchanged during selection. Multicategory attributes and intersections can be encoded as multiple traits. Uncertain or missing inputs, changing characteristics, and endogenous participation require further modeling.
Open problems. Open questions include sharper degree-dependent bounds beyond the tight degree-two case, efficient selection of exceptional sets, and the attainable trade-off between marginal error and quota violation. Further extensions include uncertain inputs, changing populations, and repeated selection.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/math14214027/s1, replication material for Section 6.2.

Author Contributions

Conceptualization, Y.H., R.P. and A.S.; Methodology, Y.H., R.P. and A.S.; Software, Y.H. and A.S.; Validation, Y.H., R.P. and A.S.; Formal analysis, Y.H., R.P. and A.S.; Investigation, Y.H., R.P. and A.S.; Resources, Y.H., R.P. and A.S.; Data curation, Y.H. and A.S.; Writing—original draft, Y.H., R.P. and A.S.; Writing—review & editing, Y.H., R.P. and A.S.; Visualization, Y.H., R.P. and A.S.; Project administration, Y.H.; Funding acquisition, Y.H. All authors have read and agreed to the published version of the manuscript.

Funding

Yuval Heller acknowledges support from the Israel Science Foundation, grant number 458/25. Ron Peretz acknowledges support from the Israel Science Foundation, grant number 1461/26.

Institutional Review Board Statement

Not applicable. The study did not involve new data collection from human participants; the numerical illustration uses only anonymized, previously collected datasets.

Data Availability Statement

The original contributions presented in this study are included in the Supplementary Materials. For further inquiries, please contact the corresponding author.

Acknowledgments

We thank Paul Gölz, Arye Hillman, and the participants in the Silvaplana Workshop 2026 for helpful comments. A previous version was titled “Feasible Diversity: Individually Fair Lotteries with Intersectional Constraints.” During preparation of this manuscript, GPT-6 Astra (OpenAI) was used to assist with manuscript organization, language editing, LaTeX preparation, and the empirical illustration in Section 6.2. The authors reviewed and edited the AI-assisted material and take full responsibility for the content of the manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Appendix

Appendix A.1. Proof of Fact 1

Define the intersection graph (also called the line graph)  L ( H ) of a hypergraph H = ( V , E ) as follows: V ( L ( H ) ) = E , and two vertices e , f ∈ E are adjacent iff e ∩ f ≠ ∅ . By definition of hypergraph edge-coloring, a proper 2-edge-coloring of H assigns colors from { 1 , 2 } to hyperedges so that any two intersecting hyperedges receive different colors. This is exactly a proper 2-vertex-coloring of L ( H ) . Conversely, any proper 2-vertex-coloring of L ( H ) yields a proper 2-edge-coloring of H by coloring each hyperedge e with the color of the corresponding vertex in L ( H ) . Therefore, χ ′ ( H ) ≤ 2 if and only if L ( H ) is 2-colorable, which holds if and only if L ( H ) is bipartite.
We can thus decide whether χ ′ ( H ) ≤ 2 by constructing L ( H ) and running a linear-time bipartiteness test, for example, by breadth-first search. Moreover, the test returns a 2-coloring of L ( H ) , which translates to a proper 2-edge-coloring of H.

Appendix A.2. General Framework for a Rounding Scheme

The algorithms we use in Theorems 1 and 2 share a common rounding-based scheme, which we describe here (the scheme follows the approach of [10]).
For a vector x ∈ R n , denote its integer coordinates by J x = { j ∈ [ n ] : x j ∈ Z } . A mean-preserving rounding procedure is an algorithm that takes as input a vector x ∈ R n and expresses it as a convex combination x = ∑ i = 1 m λ i y i , where λ i ≥ 0 and ∑ i = 1 m λ i = 1 , such that for every i ∈ [ m ] and j ∈ [ n ] we have ⌊ x j ⌋ ≤ y j i ≤ ⌈ x j ⌉ and J x ⊊ J y i .
That is, each output coordinate remains within its current floor–ceiling interval while at least one additional coordinate becomes integral. Our framework is driven by such a procedure that also preserves desired properties, such as diversity constraints: if the input x has the desired properties, then so do all output vectors ( y i ) i = 1 m .
Given a mean-preserving rounding procedure, the framework operates as follows. Start with a vector x 0 ∈ R n whose relevant coordinates encode the target marginal selection probabilities p. Apply the rounding procedure to x d and sample x d + 1 by setting x d + 1 = y i with probability λ i . Repeat to obtain x 2 , x 3 , … until, after at most n iterations, an all-integer vector x ∞ is obtained. The mean-preserving property ensures E [ x ∞ ] = x 0 . Thus, whenever the agent coordinates of x 0 are equal to p, the induced lottery is marginal-preserving.
When the one-step decompositions are computed explicitly, repeated support reduction yields a deterministic output: an explicit distribution supported on a polynomial-size set of integral outcomes. If we naively followed all possible continuations and tracked their probabilities, we would obtain an exponential tree of alternatives. To overcome this, we repeatedly compress supports using Carathéodory’s theorem. Specifically, start with x 0 and the Dirac measure q 0 = δ x 0 . Suppose that at stage d we have a measure q d over possible realizations of x d with mean x 0 and support size at most the affine dimension of the admissible vectors plus one (in our applications, the relevant agent-coordinate vectors satisfy ∑ v ∈ V x v = k , so they lie in an affine subspace of dimension at most | V | − 1 , and Carathéodory’s theorem yields support size at most | V | ). Apply the rounding procedure to each point in supp ( q d ) to obtain a measure q ˜ d + 1 over possible realizations of x d + 1 with mean x 0 and polynomial-size support. Then reduce the support while preserving its mean. If the current vectors z 1 , … , z M are affinely dependent, find coefficients a i , not all zero, with ∑ i a i = 0 and ∑ i a i z i = 0 . For their current positive weights w i , set t = min a i > 0 w i / a i and replace w i by w i − t a i . The weights remain nonnegative, preserve their sum and barycenter, and at least one vanishes. Iterating leaves at most the affine dimension plus one support points. In our fixed-cardinality applications this is at most | V | , yielding q d + 1 with the same mean. After at most n rounds, the process terminates at a measure q ∞ over integral outcomes. In the applications below, this gives an explicit k-selection lottery whose agent marginals are p.

Appendix A.3. Proof of Theorem 1

Our proof uses a rounding procedure within the general framework described in Appendix A.2. The key step is the following lemma, which gives a mean-preserving rounding operation for circulations. The argument is a standard cycle-based perturbation; see Ahuja et al. [15] [Section 9.6] for a textbook treatment.
Lemma A1.
Let G = ( V ( G ) , E ( G ) ) be a directed multigraph and let f : E ( G ) → R + be a circulation on G. Suppose there exists an arc e ∈ E ( G ) such that f ( e ) ∉ Z . Then one can efficiently find circulations g 1 and g 2 and 0 < λ < 1 such that
1.
f = λ g 1 + ( 1 − λ ) g 2 ,
2.
f ( e ) ≤ g i ( e ) ≤ f ( e ) for every e ∈ E ( G ) and i ∈ { 1 , 2 } ,
3.
J g i ⊋ J f for every i ∈ { 1 , 2 } , i.e., g 1 and g 2 have more integral coordinates than f.
Proof. 
Let F : = { e ∈ E ( G ) : f ( e ) ∉ Z } be the set of fractional arcs and assume F ≠ ∅ . Consider the undirected multigraph obtained from G by keeping exactly the arcs in F and ignoring orientation. If this graph were acyclic, it would have a leaf vertex v. Then exactly one arc incident to v would be fractional, while all others would be integral. This contradicts flow conservation at v, since the sum of incoming flows would be an integer while the sum of outgoing flows would be non-integer, or vice versa. Hence F contains an undirected cycle C, possibly of length two.
Fix such a cycle C and choose an arbitrary traversal direction. Define a vector h ∈ R E ( G ) by setting
h ( e ) = + 1 if e ∈ C has orientation agreeing with the chosen traversal direction , − 1 if e ∈ C has orientation disagreeing with the chosen traversal direction , 0 if e ∉ C .
Each vertex on C is incident to exactly two arcs of C. Regardless of their orientations, the signed inflow and outflow balance at every vertex of the cycle, so h satisfies flow conservation. Therefore f + a h is a circulation for every a ∈ R .
Let L ( e ) = ⌊ f ( e ) ⌋ and U ( e ) = ⌈ f ( e ) ⌉ . Since all arcs of C are fractional, there exist maximal a + , a − > 0 such that f + a + h and f − a − h remain in the box [ L , U ] . Define
g 1 : = f + a + h , g 2 : = f − a − h , λ : = a − a + + a − .
Then f = λ g 1 + ( 1 − λ ) g 2 , both g 1 and g 2 are circulations satisfying L ( e ) ≤ g i ( e ) ≤ U ( e ) for all e ∈ E ( G ) , and in each of g 1 , g 2 at least one previously fractional arc becomes integral. Hence J g i ⊋ J f for i = 1 , 2 . All steps can be carried out in time polynomial in | V ( G ) | + | E ( G ) | . □
Proof of Theorem 1.
Let ( V , E , p , l , u , k ) be a consistent setting with χ ′ ( V , E ) ≤ 2 . By Fact 1, a proper 2-edge-coloring of ( V , E ) can be found in polynomial time. Let E = E 1 ∪ ˙ E 2 be the corresponding partition into two color classes.
We assume without loss of generality that ⋃ e ∈ E 1 e = ⋃ e ∈ E 2 e = V . Otherwise, for each i ∈ { 1 , 2 } such that ⋃ e ∈ E i e ≠ V , add to E i an auxiliary hyperedge V ∖ ⋃ e ∈ E i e , consisting of the agents with no trait in dimension i. We assign each auxiliary hyperedge trivial bounds 0 and k, so it imposes no additional diversity constraint. Any solution for the augmented hypergraph is therefore also a solution for the original setting. For notational simplicity, after this augmentation we continue to write E 1 and E 2 for the two color classes.
Traits in the two color classes are distinct labeled copies, even if two augmented subsets coincide. Since hyperedges of the same color are disjoint and each color class covers V , each agent v ∈ V belongs to exactly one hyperedge of E 1 and one hyperedge of E 2 .
We now construct an auxiliary directed multigraph G = ( V ( G ) , E ( G ) ) . Its vertices are V ( G ) = { s } ∪ E 1 ∪ E 2 ∪ { t } . Its arcs are as follows:
s → e 1 for each e 1 ∈ E 1 , e 1 → v e 2 for each v ∈ e 1 ∩ e 2 , e 1 ∈ E 1 , e 2 ∈ E 2 , e 2 → t for each e 2 ∈ E 2 , t → s .  
The arcs from s to E 1 and from E 2 to t correspond to traits, the arcs from E 1 to E 2 correspond to agents, and the arc from t to s records the total selected-group size.
Define an initial circulation f 0 on G by
f 0 ( s , e 1 ) = ∑ v ∈ e 1 p ( v ) ∀ e 1 ∈ E 1 ,
f 0 ( e 1 , e 2 ; v ) = p ( v ) ∀ v ∈ e 1 ∩ e 2 , e 1 ∈ E 1 , e 2 ∈ E 2 ,
f 0 ( e 2 , t ) = ∑ v ∈ e 2 p ( v ) ∀ e 2 ∈ E 2 , and
f 0 ( t , s ) = k .
Since each color class partitions V and ∑ v ∈ V p ( v ) = k , the vector f 0 satisfies flow conservation at every vertex of G, and hence is a circulation.
Starting from f 0 , repeatedly apply Lemma A1 within the rounding framework of Appendix A.2. After at most | E ( G ) | steps, we obtain a distribution over integer circulations of G whose expectation is f 0 .
Each integer circulation in the support induces a selected group V f = { v ∈ V : f ( e 1 , e 2 ; v ) = 1 } , where e 1 ∈ E 1 and e 2 ∈ E 2 are the unique hyperedges containing v in the two dimensions. Since 0 ≤ p ( v ) ≤ 1 , the corresponding agent arc is rounded to either 0 or 1. Moreover, because the flow on t → s is initially the integer k, it remains equal to k throughout the rounding process. Therefore | V f |   =   k .
We next show that every selected group in the support is diverse. Consider any original trait e ∈ E . If e ∈ E 1 , then the number of selected agents with trait e is the final integer flow on the arc s → e ; if e ∈ E 2 , it is the final integer flow on the arc e → t . By consistency, l ( e ) ≤ ∑ v ∈ e p ( v ) ≤ u ( e ) . Since l ( e ) and u ( e ) are integers, the final integer flow on the corresponding trait arc lies between
∑ v ∈ e p ( v ) and ∑ v ∈ e p ( v ) ,
and this interval is contained in [ l ( e ) , u ( e ) ] . Thus every selected group in the support satisfies the diversity constraints for every original trait. Auxiliary hyperedges impose only the trivial bounds 0 and k.
Finally, the lottery is marginal-preserving. For each agent v, the arc e 1 → v e 2 has initial flow p ( v ) , and the distribution over final integer circulations has expectation f 0 . Hence the probability that v is selected is exactly p ( v ) .
The procedure yields a distribution over diverse selected groups with marginal vector p. By the Carathéodory compression in Appendix A.2, it can be represented with support size at most | V | , since all selected-group incidence vectors lie in the affine hyperplane ∑ v ∈ V x v = k , which has dimension at most | V | − 1 . The construction and compression steps are polynomial-time, so the algorithm outputs an explicit diverse and marginal-preserving k-selection lottery with support size at most | V | in time polynomial in | V | + | E | . □

Appendix A.4. Proof of Theorem 2

The proof adapts the marginal-preserving floating-variable argument of Flanigan et al. [7] [Lemmas 3 and 9] to an arbitrary trait hypergraph and combines it with Carathéodory compression to produce an explicit compact-support lottery.
Fix a consistent setting ( V , E , p , l , u , k ) , and let D : = deg ( V , E ) . We construct a marginal-preserving lottery supported on ( D − 1 ) -approximately diverse selected groups.
Consider the polytope of fractional selected groups
Δ : = x ∈ R V : 0 ≤ x v ≤ 1 ∀ v ∈ V , ∑ v ∈ V x v = k .
Let x 0 ∈ Δ be defined by x v 0 : = p ( v ) ∀ v ∈ V , and let q 0 : = δ x 0 be the Dirac measure at x 0 .
For x ∈ Δ , let J x : = { v ∈ V : x v ∈ Z } be the set of integer coordinates, and define the set of “large” traits by E x : = { e ∈ E : | e ∖ J x | > D } . Define F x ⊆ Δ by fixing the floor and ceiling of each coordinate, as well as the trait sums on large traits:
F x : = y ∈ Δ : ⌊ x v ⌋ ≤ y v ≤ ⌈ x v ⌉ ∀ v ∈ V , ∑ v ∈ e y v = ∑ v ∈ e x v ∀ e ∈ E x .
The following lemma is the purification step.
Lemma A2.
For every x ∈ Δ with J x ≠ V , there exist y , z ∈ F x such that J y , J z ⊋ J x and x ∈ [ y , z ] .
Proof of Lemma A2.
Let x ∈ Δ with J x ≠ V . Since the coordinates in J x are fixed for all vectors in F x , it is enough to consider the remaining coordinates V ′ : = V ∖ J x . Let E ″ : = { e ∩ V ′ : e ∈ E x } and let E ′ : = E ″ ∪ { V ′ } . The projection of F x onto the coordinates in V ′ is the intersection of the cube C x : = ( ⌊ x v ⌋ ) v ∈ V ′ + [ 0 , 1 ] V ′ with the solution set of the linear system
∑ v ∈ f y v = ∑ v ∈ f x v ∀ f ∈ E ′ .
The additional equation for f = V ′ corresponds to the requirement ∑ v ∈ V y v = k .
Since x lies in the interior of C x , it suffices to show that the solution space of (A1) has positive dimension. We do this by showing that the number of distinct equations is smaller than the number of variables, i.e., | E ′ |   <   | V ′ | .
If E x = ∅ , then E ′ = { V ′ } . Since ∑ v ∈ V ′ x v is an integer and all coordinates in V ′ are fractional, we must have | V ′ |   ≥   2 , and hence | E ′ | = 1   <   | V ′ | .
Suppose next that E x ≠ ∅ . Every f ∈ E ″ has size greater than D, and every vertex in V ′ belongs to at most D sets in E ″ . Counting incidences gives ( D + 1 ) | E ″ |   ≤   D | V ′ | . Thus | E ″ |   <   | V ′ | . If V ′ ∈ E ″ , then E ′   =   E ″ , so | E ′ |   <   | V ′ | . If V ′   ∉   E ″ , then E ′ = E ″ ∪ { V ′ } . If | E ′ |   ≥   | V ′ | , then | E ″ |   ≥   | V ′ | − 1 , and the incidence inequality implies ( D + 1 ) ( | V ′ | − 1 ) ≤ D | V ′ | , so | V ′ |   ≤   D + 1 . But since E x ≠ ∅ , some f ∈ E ″ has size greater than D, implying | V ′ |   ≥   D + 1 . Hence | V ′ |   =   D + 1 , and every such f must be equal to V ′ , contradicting V ′ ∉ E ″ . Therefore | E ′ |   <   | V ′ | in all cases.
It follows that the solution space of (A1) has positive dimension and contains a line through x . Moving in the two directions along this line until hitting the boundary of C x yields two points y , z ∈ F x such that x ∈ [ y , z ] . In each of y and z , at least one previously fractional coordinate becomes integral, while all previously integer coordinates remain fixed. Hence J y , J z ⊋ J x . □
We now apply the general rounding framework of Appendix A.2. At stage n, we maintain a measure q n on Δ with barycenter x 0 and support size at most | V | . For each x in the support, if x is integral we keep it unchanged; otherwise, Lemma A2 gives a decomposition x = λ y + ( 1 − λ ) z for some λ ∈ [ 0 , 1 ] , where y , z ∈ F x have strictly more integral coordinates. Replacing each nonintegral x in this way yields a refined measure q ˜ n + 1 with the same barycenter x 0 . We then apply the Carathéodory compression from Appendix A.2 to obtain a measure q n + 1 with the same barycenter and support size at most | V | .
Since at each nonterminal step the minimum value of | J x | over points in the support strictly increases, the process halts after at most | V | stages with a measure q ∞ supported on integral points of Δ . Each integral point κ ∈ Δ is the incidence vector of a selected group of size k. Moreover, E q ∞ [ κ ] = x 0 = p , and therefore the induced k-selection lottery is marginal-preserving.
It remains to show that every selected group in the support is ( D − 1 ) -approximately diverse. Fix any realization of the purification process, ending at an integral vector κ , and fix a trait e ∈ E . Let τ ( e ) be the first stage at which e ∉ E x τ ( e ) . Such a stage exists because the final vector is integral. At every earlier stage, e is large, so the sum ∑ v ∈ e x v is preserved exactly. Hence ∑ v ∈ e x v τ ( e ) = ∑ v ∈ e p ( v ) . At stage τ ( e ) , at most D coordinates in e are fractional. From that point onward, the coordinates in e ∩ J x τ ( e ) never change, and each of the remaining at most D coordinates can change by less than 1. Therefore
∑ v ∈ e κ v − ∑ v ∈ e p ( v ) < D .
By consistency, l ( e ) ≤ ∑ v ∈ e p ( v ) ≤ u ( e ) . Thus l ( e ) − D < ∑ v ∈ e κ v < u ( e ) + D . Since l ( e ) , u ( e ) , and ∑ v ∈ e κ v are integers, this implies
l ( e ) − ( D − 1 ) ≤ ∑ v ∈ e κ v ≤ u ( e ) + ( D − 1 ) .
Equivalently, l ( e ) − ( D − 1 ) ≤ | V κ ∩ e | ≤ u ( e ) + ( D − 1 ) , where V κ : = { v ∈ V : κ v = 1 } . Hence every selected group in the support is ( D − 1 ) -approximately diverse.
The running time is polynomial because each purification step, each Carathéodory compression, and the number of stages are polynomial in | V | + | E | . The support-size bound follows from the Carathéodory compression in Appendix A.2. This completes the proof.

Appendix A.5. Proof of Theorem 3

Proof of Theorem 3.
Fix B ⊆ V , and write D 0 : = d B . We adapt the purification argument used in the proof of Theorem 2. Let
Δ : = x ∈ R V : 0 ≤ x v ≤ 1 ∀ v ∈ V , ∑ v ∈ V x v = k ,
and let x 0 ∈ Δ be given by x v 0 : = p ( v ) for every v ∈ V . For x ∈ Δ , let J x : = { v ∈ V : x v ∈ Z } and define the set of large traits by
E x B : = e ∈ E : ( e ∖ B ) ∖ J x > D 0 .
Thus, a trait is large when it contains more than D 0 fractional nonexceptional agents. Define
F x B : = y ∈ Δ : ⌊ x v ⌋ ≤ y v ≤ ⌈ x v ⌉ ∀ v ∈ V , ∑ v ∈ e y v = ∑ v ∈ e x v ∀ e ∈ E x B .
We first establish the corresponding purification step.
Lemma A3.
For every x ∈ Δ with J x ≠ V , there exist y , z ∈ F x B such that
J y , J z ⊋ J x and x ∈ [ y , z ] .
Proof of Lemma A3.
Let V ′ : = V ∖ J x ,   R : = V ′ ∖ B , and Q : = V ′ ∩ B . Thus, R and Q are, respectively, the fractional nonexceptional agents and the fractional exceptional agents. Let
G : = { e ∩ V ′ : e ∈ E x B } and G + : = G ∪ { V ′ } .
After the coordinates in J x are fixed, the projection of F x B onto the coordinates in V ′ is the intersection of the cube C x : = ( ⌊ x v ⌋ ) v ∈ V ′ + [ 0 , 1 ] V ′ with the solution set of
∑ v ∈ f y v = ∑ v ∈ f x v for every f ∈ G + .
The equation corresponding to f = V ′ imposes ∑ v ∈ V y v = k .
Since x lies in the interior of C x , it is enough to prove that | G + |   <   | V ′ | .
If E x B = ∅ , then G + = { V ′ } . Moreover, ∑ v ∈ V ′ x v = k − ∑ v ∈ J x x v is an integer, while every coordinate indexed by V ′ is fractional. It follows that | V ′ |   ≥   2 , and hence | G + | = 1   <   | V ′ | .
Suppose now that E x B ≠ ∅ . In this case D 0 ≥ 1 . Every f ∈ G contains at least D 0 + 1 agents from R, while each v ∈ R belongs to at most D 0 sets in G . Counting incidences between R and G gives
( D 0 + 1 ) | G | ≤ D 0 | R | .
Consequently, | G | < | R | . Suppose first that Q ≠ ∅ . If V ′ ∈ G , then | G + |   =   | G | < | R |   <   | V ′ | . If V ′ ∉ G , then | G + |   =   | G | + 1 ≤ | R |   <   | V ′ | .
It remains to consider the case Q = ∅ , so that R = V ′ . If V ′ ∈ G , then | G + | = | G |   <   | V ′ | .
Suppose instead that V ′ ∉ G . If, contrary to the claim, | G + |   ≥   | V ′ | , then | G |   ≥   | V ′ | − 1 . Combining this inequality with (A3) yields ( D 0 + 1 ) ( | V ′ | − 1 ) ≤ D 0 | V ′ | , and therefore | V ′ |   ≤   D 0 + 1 . On the other hand, since E x B ≠ ∅ , some member of G contains more than D 0 elements. Hence | V ′ |   ≥   D 0 + 1 . It follows that | V ′ |   =   D 0 + 1 . Every member of G containing more than D 0 elements must then equal V ′ , contradicting V ′ ∉ G . Thus, | G + |   <   | V ′ | in all cases.
The solution space of (A2) therefore has positive dimension and contains a line through x . Move from x in the two directions along this line until reaching the boundary of C x . The resulting points y , z ∈ F x B satisfy x ∈ [ y , z ] , and at least one previously fractional coordinate is integral in each of y and z . All previously integral coordinates remain fixed. Hence J y , J z ⊋ J x . □
Starting from x 0 = p , apply Lemma A3 within the general rounding framework of Appendix A.2. At every nonintegral point x , replace it by a convex combination of the two points y , z ∈ F x B supplied by the lemma. This preserves the barycenter and makes at least one additional coordinate integral along every branch. As in the proof of Theorem 2, repeated Carathéodory compression keeps the support size at most | V | .
After at most | V | stages, the resulting measure is supported on integral points κ ∈ Δ and has barycenter p. Each such integral point is the incidence vector of a selected group of size k. Moreover, E [ κ ] = p , and therefore the induced k-selection lottery is marginal-preserving.
It remains to bound quota violations. Fix a terminal integral vector κ , a trait e ∈ E , and a branch of the purification process leading to κ . Let τ ( e ) be the first stage on this branch at which e ∉ E x τ ( e ) B . Before that stage, the sum on e is preserved exactly. Therefore,
∑ v ∈ e x v τ ( e ) = ∑ v ∈ e p ( v ) .
At stage τ ( e ) , at most D 0 nonexceptional coordinates in e are fractional, and at most | e ∩ B | exceptional coordinates in e are fractional. Hence, at most D 0 + | e ∩ B | coordinates in e remain fractional. Coordinates that are already integral never change, and each remaining fractional coordinate changes by strictly less than one before the process terminates. Consequently,
∑ v ∈ e κ v − ∑ v ∈ e p ( v ) < D 0 + | e ∩ B | .
By consistency, l ( e ) ≤ ∑ v ∈ e p ( v ) ≤ u ( e ) . It follows that
l ( e ) − D 0 + | e ∩ B | < ∑ v ∈ e κ v < u ( e ) + D 0 + | e ∩ B | .
Since l ( e ) , u ( e ) , and ∑ v ∈ e κ v are integers, this implies
l ( e ) − D 0 + | e ∩ B | − 1 ≤ ∑ v ∈ e κ v ≤ u ( e ) + D 0 + | e ∩ B | − 1 .
Thus, every selected group in the support satisfies the asserted trait-specific bound, and hence is ( d B + b B − 1 ) -approximately diverse.
Finally, suppose that at most r agents possess more than d traits, and set B : = { v ∈ V : deg ( v ) > d } . Then | B | ≤ r , d B ≤ d , and b B ≤ | B | ≤ r . Therefore, the lottery constructed above is ( d + r − 1 ) -approximately diverse.
The purification, linear algebra, and Carathéodory compression steps are polynomial-time, exactly as in the proof of Theorem 2. This completes the proof. □

Appendix A.6. Proof of Theorem 4

Proof of Theorem 4.
Fix a consistent setting ( V , E , p , l , u , k ) and δ ∈ ( 0 , 1 ) . Let
d δ : = 2 k ln 2 | E | δ .
We first construct an unconditioned dependent-rounding lottery. Consider the star graph G ★ whose center is a dummy vertex r and whose leaves correspond to the agents in V . For each agent v ∈ V , let f v be the edge connecting r to the leaf corresponding to v, and assign this edge the fractional value x f v = p ( v ) . Since p ( v ) ∈ [ 0 , 1 ] for every v and ∑ v ∈ V p ( v ) = k , this is a valid input to the dependent-rounding algorithm of Gandhi et al. [10] [Section 2.1]. Let Y v ∈ { 0 , 1 } denote the rounded value of edge f v .
By Gandhi et al. [10] (Theorem 2.3), the rounded variables satisfy properties (P1), (P2), and (P3) of that theorem. We use these three properties as follows.
First, property (P1), marginal preservation, gives Pr ( Y v = 1 ) = p ( v )   for every v ∈ V . Second, property (P2), degree preservation, applied to the center r of the star gives ∑ v ∈ V Y v = k with probability one, because the fractional degree of r is ∑ v ∈ V x f v = ∑ v ∈ V p ( v ) = k , which is an integer. Therefore V Y : = { v ∈ V : Y v = 1 } is a selected group of size exactly k with probability one. Let ν denote the distribution of V Y over K .
Third, property (P3), negative correlation, gives that for every subset S ⊆ V and every b ∈ { 0 , 1 } ,
Pr ⋂ v ∈ S { Y v = b } ≤ ∏ v ∈ S Pr ( Y v = b ) .
This is the negative-correlation property used below.
Fix a trait e ∈ E . Define
X e : = | V Y ∩ e | = ∑ v ∈ e Y v and m e : = E ν [ X e ] = ∑ v ∈ e p ( v ) .
Since the setting is consistent, l ( e ) ≤ m e ≤ u ( e ) .
We first bound the lower tail of X e . If 0 < t ≤ m e , set η = t / m e ∈ [ 0 , 1 ] . Applying the lower-tail bound of Gandhi et al. [10] (Theorem 3.1(ii)) to the variables ( Y v ) v ∈ e , using the negative correlation for the events { Y v = 0 } given by property (P3), yields
Pr ν ( X e ≤ m e − t ) = Pr ν X e ≤ m e ( 1 − η ) ≤ exp − m e η 2 2 = exp − t 2 2 m e .
If t > m e , then the event X e ≤ m e − t is empty. Thus, for every t > 0 ,
Pr ν ( X e ≤ m e − t ) ≤ exp − t 2 2 k ,
where the inequality is immediate when t > m e , and otherwise follows from m e ≤ k .
We next bound the upper tail of X e by applying the same lower-tail inequality to the complement count. Let Z e : = ∑ v ∉ e Y v . Since ∑ v ∈ V Y v = k with probability one, Z e = k − X e and E ν [ Z e ] = k − m e . If 0 < t ≤ k − m e , set η ′ = t / ( k − m e ) . Applying Gandhi et al. [10] [Theorem 3.1(ii)] to the variables ( Y v ) v ∉ e , again using property (P3) for the events { Y v = 0 } , gives
Pr ν ( Z e ≤ k − m e − t ) ≤ exp − t 2 2 ( k − m e ) .
Since
X e ≥ m e + t ⟺ Z e ≤ k − m e − t ,
we obtain
Pr ν ( X e ≥ m e + t ) ≤ exp − t 2 2 ( k − m e ) ≤ exp − t 2 2 k .
If t > k − m e , then the event X e ≥ m e + t is empty, so the same final bound holds trivially. Thus, for every t > 0 ,
Pr ν ( X e ≥ m e + t ) ≤ exp − t 2 2 k .
Combining the two tails, for every trait e ∈ E and every t > 0 ,
Pr ν | X e − m e | > t ≤ 2 exp − t 2 2 k .
Substituting t = d δ gives
Pr ν | X e − m e | > d δ ≤ 2 exp − d δ 2 2 k ≤ δ | E | .
By the union bound Pr ν | X e − m e | ≤ d δ for every e ∈ E ≥ 1 − δ .
Let G denote the event G : = | X e − m e | ≤ d δ for every e ∈ E . Observe that ν ( G ) ≥ 1 − δ > 0 . On the event G, every selected group is d δ -approximately diverse. Indeed, for every e ∈ E ,
X e ≥ m e − d δ ≥ l ( e ) − d δ and X e ≤ m e + d δ ≤ u ( e ) + d δ ,
where the middle inequalities use consistency.
Define μ δ to be the conditional distribution μ δ : = ν ( · ∣ G ) . Since μ δ is supported only on outcomes in G, it is d δ -approximately diverse. It remains to prove approximate marginal preservation. Let q : = ν ( G ) . Since q ≥ 1 − δ , we have 1 − q ≤ δ . For any event A,
ν ( A ∣ G ) − ν ( A ) = ν ( A ∩ G ) q − ν ( A ∩ G ) − ν ( A ∩ G c ) ≤ q ( 1 − q ) q = 1 − q ,
and similarly ν ( A ) − ν ( A ∣ G ) ≤ ν ( A ∩ G c ) ≤ 1 − q . Therefore ν ( A ∣ G ) − ν ( A ) ≤ 1 − q ≤ δ for every event A. Applying this bound to the event A v : = { v ∈ V Y } and using property (P1) of Gandhi et al. [10] (Theorem 2.3), we obtain μ v δ − p ( v ) = ν ( A v ∣ G ) − ν ( A v ) ≤ δ for every v ∈ V . Thus μ δ is δ -approximately marginal-preserving.
Finally, the rejection sampler described above draws independently from ν and accepts exactly on the event G. Hence its accepted draw has distribution ν ( · ∣ G ) = μ δ . Since each draw is accepted with probability q = ν ( G ) ≥ 1 − δ , the number of draws is geometrically distributed with mean 1 / q ≤ 1 / ( 1 − δ ) . The star-graph special case of Gandhi et al. [10] [Theorem 2.3] runs in linear time per dependent-rounding draw, and the acceptance test is polynomial in the input size. This completes the proof. □

Appendix A.7. Social Welfare

Fix a setting ( V , E , p , l , u , k ) and a k-selection lottery μ ∈ Δ ( K ) . A broad family of welfare functions that account for both marginal preservation and diversity is
W ( μ ) = α W m ( | μ v − p ( v ) | ) v ∈ V   + ( 1 − α ) E S ∼ μ W D max { | S ∩ e | − u ( e ) , l ( e ) − | S ∩ e | , 0 } e ∈ E .
Here α ∈ [ 0 , 1 ] is the weight assigned to marginal preservation, while W m and W D are componentwise nonincreasing functions representing the welfare effects of marginal deviations and quota violations, respectively.
In a consistent setting with at most two dimensions, Theorem 1 produces a lottery with zero marginal deviations and zero quota violations, thereby maximizing every welfare function in this class. With more than two dimensions, achieving both objectives can be impossible even when exactly diverse groups exist, as the following example shows.
Example A1.
Consider six agents, V = { 1 , … , 6 } , a selected-group size of k = 4 , and uniform target probabilities p ( v ) = 2 / 3 for every v ∈ V . There are three diversity dimensions: locale type, age, and height, with the following traits (see Figure A1):
urban = { 1 , 2 } , rural = { 5 , 6 } , old = { 1 } , young = { 3 , 4 , 5 } , short = { 2 } , tall = { 3 , 4 , 6 } .
Figure A1. The trait hypergraph in the welfare example, Example A1.
Each agent has exactly two traits, so deg ( V , E ) = 2 . Set l ( urban ) = l ( rural ) = 1 and l ( young ) = l ( tall ) = 2 , with all remaining lower quotas equal to zero and all upper quotas nonbinding. These lower quotas equal the expected trait counts rounded down, so the setting is consistent.
Every exactly diverse selected group contains exactly one agent from { 1 , 2 } and three from { 3 , 4 , 5 , 6 } . Indeed, the urban quota requires at least one of Agents 1 and 2. Selecting both would force the remaining two agents to be Agents 3 and 4 to satisfy the young and tall quotas, leaving the rural quota unsatisfied. Conversely, selecting one agent from { 1 , 2 } and any three from { 3 , 4 , 5 , 6 } satisfies every quota.
Consequently, every exactly diverse lottery satisfies μ 1 + μ 2 = 1 . At least one of these agents therefore has selection probability at most 1 / 2 , which is at least 1 / 6 below the target 2 / 3 .
By contrast, the uniform lottery over all 6 4 groups of size four preserves every target probability exactly. Every group in its support violates each lower quota by at most one, so this lottery is 1-approximately diverse, consistent with the guarantee of Theorem 2.
The preferred lottery thus depends on the welfare components and their relative weights. A society placing sufficiently high weight on marginal preservation may prefer the uniform lottery, while a society prioritizing exact quota compliance may prefer an exactly diverse lottery.

References

  1. Budish, E.; Che, Y.-K.; Kojima, F.; Milgrom, P. Designing random allocation mechanisms: Theory and applications. Am. Econ. Rev. 2013, 103, 585–623. [Google Scholar] [CrossRef] [Scilit]
  2. Flanigan, B.; Gölz, P.; Gupta, A.; Hennig, B.; Procaccia, A.D. Fair algorithms for selecting citizens’ assemblies. Nature 2021, 596, 548–552. [Google Scholar] [CrossRef] [Scilit]
  3. Abdulkadiroğlu, A.; Sönmez, T. School choice: A mechanism design approach. Am. Econ. Rev. 2003, 93, 729–747. [Google Scholar] [CrossRef] [Scilit]
  4. Cohen-Schotanus, J.; Muijtjens, A.M.; Reinders, J.J.; Agsteribbe, J.; Van Rossum, H.J.; Van Der Vleuten, C.P. The predictive validity of grade point average scores in a partial lottery medical school admission system. Med. Educ. 2006, 40, 1012–1019. [Google Scholar] [CrossRef] [Scilit]
  5. Baum, L.E. State Laws on Weighted Lotteries and Enrollment Practices. Technical Report, National Alliance for Public Charter Schools; Prepared by the Law Office of Lauren E. Baum, PC and Civil Rights Solutions, LLC, 2015. Available online: https://publiccharters.org/wp-content/uploads/2023/01/NPC035_WeightedLotteries_Digital_rev.pdf (accessed on 26 October 2026).
  6. White, D.B.; McCreary, E.K.; Chang, C.-C.H.; Schmidhofer, M.; Bariola, J.R.; Jonassaint, N.N.; Persad, G.; Truog, R.D.; Pathak, P.; Sonmez, T.; et al. A multicenter weighted lottery to equitably allocate scarce COVID-19 therapeutics. Am. J. Respir. Crit. Care Med. 2022, 206, 503–506. [Google Scholar] [CrossRef] [Scilit]
  7. Flanigan, B.; Gölz, P.; Gupta, A.; Procaccia, A.D. Neutralizing self-selection bias in sampling for sortition. Adv. Neural Inf. Process. Syst. 2020, 33, 6528–6539. [Google Scholar]
  8. Beck, J.; Fiala, T. “Integer-making” theorems. Discret. Appl. Math. 1981, 3, 1–8. [Google Scholar] [CrossRef] [Scilit]
  9. Nguyen, T.; Peivandi, A.; Vohra, R. Assignment problems with complementarities. J. Econ. Theory 2016, 165, 209–241. [Google Scholar] [CrossRef] [Scilit]
  10. Gandhi, R.; Khuller, S.; Parthasarathy, S.; Srinivasan, A. Dependent rounding and its applications to approximation algorithms. J. ACM 2006, 53, 324–360. [Google Scholar] [CrossRef] [Scilit]
  11. Cembrano, J.; Correa, J.; Verdugo, V. Multidimensional political apportionment. Proc. Natl. Acad. Sci. USA 2022, 119, e2109305119. [Google Scholar] [CrossRef] [Scilit]
  12. Grimmett, G. Stochastic apportionment. Am. Math. Mon. 2004, 111, 299–307. [Google Scholar] [CrossRef] [Scilit]
  13. Correa, J.; Gölz, P.; Schmidt-Kraepelin, U.; Tucker-Foltz, J.; Verdugo, V. Monotone randomized apportionment. In Proceedings of the 25th ACM Conference on Economics and Computation; ACM Digital Library: New York, NY, USA, 2024; p. 71. [Google Scholar]
  14. Gölz, P.; Peters, D.; Procaccia, A.D. In this apportionment lottery, the house always wins. Oper. Res. 2026, 74, 390–407. [Google Scholar] [CrossRef] [Scilit]
  15. Ahuja, R.K.; Magnanti, T.L.; Orlin, J.B. Network Flows: Theory, Algorithms, and Applications; Prentice-Hall: Hoboken, NJ, USA, 1993. [Google Scholar]
  16. Aziz, H.; Brill, M.; Conitzer, V.; Elkind, E.; Freeman, R.; Walsh, T. Justified representation in approval-based committee voting. Soc. Choice Welf. 2017, 48, 461–485. [Google Scholar] [CrossRef] [Scilit]
  17. Aziz, H. A rule for committee selection with soft diversity constraints. Group Decis. Negot. 2019, 28, 1193–1200. [Google Scholar] [CrossRef] [Scilit]
  18. Bredereck, R.; Faliszewski, P.; Igarashi, A.; Lackner, M.; Skowron, P. Multiwinner elections with diversity constraints. In Proceedings of the AAAI Conference on Artificial Intelligence; Association for the Advancement of Artificial Intelligence: Washington, DC, USA, 2018; Volume 32. [Google Scholar]
  19. Mehrotra, A.; Pradelski, B.S.R.; Vishnoi, N.K. Selection in the presence of implicit bias: The advantage of intersectional constraints. In Proceedings of the 2022 ACM Conference on Fairness, Accountability, and Transparency; ACM Digital Library: New York, NY, USA, 2022; pp. 599–609. [Google Scholar]
  20. Ebadian, S.; Kehne, G.; Micha, E.; Procaccia, A.D.; Shah, N. Is sortition both representative and fair? Adv. Neural Inf. Process. Syst. 2022, 35, 3431–3443. [Google Scholar] [CrossRef] [Scilit]
  21. Baharav, C.; Flanigan, B. Fair, manipulation-robust, and transparent sortition. In Proceedings of the 25th ACM Conference on Economics and Computation; ACM Digital Library: New York, NY, USA, 2024; pp. 756–775. [Google Scholar]
  22. Assos, A.; Baharav, C.; Flanigan, B.; Procaccia, A.D. Alternates, assemble! selecting optimal alternates for citizens’ assemblies. In Proceedings of the 26th ACM Conference on Economics and Computation; ACM Digital Library: New York, NY, USA, 2025; pp. 719–738. [Google Scholar]
  23. Halpern, D.; Procaccia, A.D.; Shapiro, E.; Talmon, N. Federated assemblies. Proc. AAAI Conf. Artif. Intell. 2025, 39, 13897–13904. [Google Scholar] [CrossRef] [Scilit]
  24. Talmon, N.; Shapiro, E. Grassroots federation: Fair democratic governance at scale. In Proceedings of the 25th International Conference on Autonomous Agents and Multiagent Systems; ACM Digital Library: New York, NY, USA, 2026; pp. 1156–1164. [Google Scholar]
  25. de Azevedo, G.; Gölz, P. Maximally random sortition. arXiv 2026, arXiv:2604.02712. [Google Scholar]
  26. Hylland, A.; Zeckhauser, R. The efficient allocation of individuals to positions. J. Political Econ. 1979, 87, 293–314. [Google Scholar] [CrossRef] [Scilit]
  27. Bogomolnaia, A.; Moulin, H. A new solution to the random assignment problem. J. Econ. Theory 2001, 100, 295–328. [Google Scholar] [CrossRef] [Scilit]
  28. Akbarpour, M.; Nikzad, A. Approximate random allocation mechanisms. Rev. Econ. Stud. 2020, 87, 2473–2510. [Google Scholar] [CrossRef] [Scilit]
  29. Balbuzanov, I. Constrained random matching. J. Econ. Theory 2022, 203, 105472. [Google Scholar] [CrossRef] [Scilit]
  30. Han, X. A theory of fair random allocation under priorities. Theor. Econ. 2024, 19, 1185–1221. [Google Scholar] [CrossRef] [Scilit]
  31. Basteck, C.; Ehlers, L. On (constrained) efficiency of strategy-proof random assignment. Econometrica 2025, 93, 569–595. [Google Scholar] [CrossRef] [Scilit]
  32. Hafalir, I.E.; Yenmez, M.B.; Yildirim, M.A. Effective affirmative action in school choice. Theor. Econ. 2013, 8, 325–363. [Google Scholar] [CrossRef] [Scilit]
  33. Ehlers, L.; Hafalir, I.E.; Yenmez, M.B.; Yildirim, M.A. School choice with controlled choice constraints: Hard bounds versus soft bounds. J. Econ. Theory 2014, 153, 648–683. [Google Scholar] [CrossRef] [Scilit]
  34. Kamada, Y.; Kojima, F. Efficient matching under distributional constraints: Theory and applications. Am. Econ. Rev. 2015, 105, 67–99. [Google Scholar] [CrossRef] [Scilit]
  35. Kamada, Y.; Kojima, F. Stability and strategy-proofness for matching with constraints: A necessary and sufficient condition. Theor. Econ. 2018, 13, 761–793. [Google Scholar] [CrossRef] [Scilit]
  36. Kamada, Y.; Kojima, F. Fair matching under constraints: Theory and applications. Rev. Econ. Stud. 2024, 91, 1162–1199. [Google Scholar] [CrossRef] [Scilit]
  37. Carvalho, J.-P.; Pradelski, B.S.R.; Williams, C. Intersectionality: Affirmative action with multidimensional identities. Manag. Sci. 2025, 71, 4495–4509. [Google Scholar] [CrossRef] [Scilit]
  38. Learning Community Charter School. Weighted Lottery Information. 2026. Available online: https://www.lccsnj.org/admissions/weighted-lottery-information (accessed on 3 July 2026).
  39. Farrell, D.M.; Suiter, J. Reimagining Democracy: Lessons in Deliberative Democracy from the Irish Front Line; Cornell University Press: Ithaca, NY, USA, 2021. [Google Scholar]
  40. NYC. Affordable Housing Guide for Applicants with Disabilities. 2022. Available online: https://www.nyc.gov/assets/hpd/downloads/pdfs/services/affordable-housing-guide-for-applicants-with-disabilities.pdf (accessed on 4 July 2026).
  41. Diamond, S.S.; Hans, V.P.; Chizik, N.; Harfuch, A. The arrival of the civil jury in Argentina: The case of Chaco. Chic.-Kent Law Rev. 2024, 98, 167–192. [Google Scholar]
  42. Balinski, M.L.; Demange, G. An axiomatic approach to proportionality between matrices. Math. Oper. Res. 1989, 14, 700–719. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.