Preprint
Article

This version is not peer-reviewed.

Meritocratic Lotteries Under Intersectional Diversity Quotas

Submitted:

29 September 2026

Posted:

30 September 2026

You are already at the latest version

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. Using network-flow integrality and mean-preserving rounding, we give an explicit lottery satisfying every quota when the traits admit a partition into two disjoint-set families. For general trait hypergraphs, a floating-variable construction preserves all marginals and the group size exactly, while violating each quota by at most \( D-1 \), where \( D \) is the maximum number of traits possessed by an agent. The construction runs in polynomial time and outputs at most as many selected groups as there are agents. We further 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. The resulting framework combines explicit lottery construction, overlap-sensitive bounds, and fixed-cardinality selection.
Keywords: 
;  ;  ;  ;  ;  ;  

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 D = max v ∈ V | { e ∈ E : v ∈ e } | is the largest number of quotas affected by one selection. Always D ≤ χ ′ ( 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 D − 1 . The algorithm combines Beck–Fiala floating-variable rounding [7] with repeated support reduction. It belongs to the sparse approximate-decomposition tradition of Nguyen et al. [8] and the panel-selection rounding approach of Flanigan 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.
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.

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:
  • V is a finite nonempty set of agents.
  • E is a finite nonempty set of nonempty subsets of agents.
  • p : V → [ 0 , 1 ] is the target selection probability of each agent v, where ∑ v ∈ V p ( v ) = k .
  • l : E → Z ≥ 0 is the lower bound on the number of selected agents with each trait e.
  • u : E → Z ≥ 0 is the upper bound on the number of selected agents with each trait e.
  • 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.3
  • 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 D 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 ) .

3.1. 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 [37].
  • 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 [9], 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 [38].
  • 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 [39].
  • 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 [40].
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.
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. 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 [41] 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 multigraph4  G = ( V ( G ) , E ( G ) ) (following [41]) 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.
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., ([42] Sec. 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 [38] and at most eight and typically fewer in the applications analyzed in [2]). Our main 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.5 Note that the approximation notion in [11] scales 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 already tight when deg ( V , E ) = 2 : exact diversity may be impossible, whereas Theorem 2 guarantees 1-approximate diversity.
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. [8]; 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. 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.
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 on approximate diversity achieved by Theorem 4 tends to be large in practical applications. In various settings, diversity considerations only imply lower quotas (i.e., u ( e ) ≥ k for each trait e). In such settings, minor adaptations to the proof of Theorem 4 allow us to obtain a sharper, trait-specific bound for each trait e (where m e = ∑ v ∈ e p ( v ) is the expected representation of trait e):
d δ ( e ) : = 2 m e ln | E | δ .

6. Implementation and Applications

6.1. Strategy-Proofness

Many applications share the following properties:
1.
An agent’s utility depends on their own selection probability. For concreteness, assume that each agent wishes to maximize their selection probability; the analysis is analogous if each agent wishes to minimize it.
2.
Selection probabilities are based on verifiable information (e.g., equal selection probabilities in citizens’ assemblies or GPA-based selection probabilities in Dutch medical schools).
3.
At least some diversity traits are based on information reported by the agent and are difficult or impossible to verify independently. For example, citizens’ assembly selection processes may depend on agents’ self-reported political attitudes or ethnicity.
If the target vector p is fixed independently of trait reports, any procedure that preserves p at every admissible report profile leaves each agent’s own selection probability unchanged by a unilateral misreport. Under the preferences above, truthful reporting is therefore weakly optimal. The algorithms in Theorems 1 and 2 have this property on their respective domains. If reports can produce an inconsistent instance or leave the two-dimensional domain, the procedure must specify a marginal-preserving fallback for those profiles to obtain the same conclusion on the enlarged domain. Such a fallback can sample a fixed-size group with marginals p without promising the original quota guarantee. This observation concerns trait reports with fixed targets; it does not establish incentive compatibility for participation choices, reports that determine p, or preferences over the identities of other selected members.

6.2. Social Welfare

Consider a setting ( V , E , p , l , u , k ) and a k-selection lottery μ ∈ Δ ( K ) . A broad family of social welfare functions for societies that care about 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 ,
where:
1.
α ∈ [ 0 , 1 ] is the weight society assigns to marginal preservation (and the remaining weight of 1 − α is assigned to diversity).
2.
W m ( · ) is a componentwise decreasing function representing the welfare effect of deviations from the target selection probabilities.
3.
W D ( · ) is a componentwise decreasing function representing the welfare effect of diversity-quota violations.
For consistent settings with at most two dimensions, the algorithm of Theorem 1 finds an optimal k-selection lottery that achieves both exact marginal preservation and exact diversity, and it maximizes any social welfare function W ( μ ) in this broad class. When the setting has more than two diversity dimensions, one may have to trade off diversity against marginal preservation. The algorithm of Theorem 2 may be attractive when society places high weight on preserving the targets. A procedure such as LEXIMIN [2], discussed in Section 6.4, may be attractive when exact quota compliance has priority. These observations do not assert that either algorithm maximizes every welfare function in this class.
The trade-off between marginal preservation and diversity is illustrated in the following example.
Example 4.
Consider six agents, V = { 1 , … , 6 } , and a selected-group size of k = 4 . The target selection probabilities are uniform (i.e., p ( v ) = 2 3 for every v ∈ V ). There are three diversity dimensions: locale type, age, and height, with the following traits (see Figure 3):
urban = { 1 , 2 } , rural = { 5 , 6 } , old = { 1 } , young = { 3 , 4 , 5 } , short = { 2 } , tall = { 3 , 4 , 6 } .
Thus, each agent has exactly two traits, so deg ( V , E ) = 2 . Suppose that the lower quotas are l ( urban ) = l ( rural ) = 1 and l ( young ) = l ( tall ) = 2 (which represent their population shares rounded down to the nearest seat), while the remaining lower quotas are zero and all upper quotas are nonbinding. Observe that the setting is consistent.
Every exactly diverse selected group contains exactly one agent from { 1 , 2 } and exactly three agents from { 3 , 4 , 5 , 6 } . Indeed, the urban quota requires at least one of Agents 1 and 2. If both were selected, the two remaining selected agents would have to be Agents 3 and 4 in order to satisfy both the young and tall quotas, but the resulting group would contain no rural agent. Conversely, choosing exactly one agent from { 1 , 2 } and any three agents from { 3 , 4 , 5 , 6 } satisfies all quotas.
Consequently, every exactly diverse lottery μ satisfies μ 1 + μ 2 = 1 . Hence at least one of Agents 1 and 2 must have selection probability at most 1 / 2 , which is at least 1 / 6 below the target probability 2 / 3 .
By contrast, the uniform lottery over all 6 4 selected groups of size four is exactly marginal-preserving, since every agent is selected with probability 2 / 3 . Every selected group in its support misses each lower quota by at most one member, so this lottery is also 1-approximately diverse, as guaranteed by Theorem 2.
Thus, a society that places sufficiently high weight on marginal preservation ( α sufficiently close to 1) may prefer the uniform lottery, whereas a society that places sufficiently high weight on exact diversity ( α close to 0) may prefer an exactly diverse lottery.

6.3. 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 ) :
1.
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 } .
2.
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 ′ .
3.
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 | .
4.
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 .
5.
l ′ : E ′ → Z ≥ 0 assigns each trait e ′ ∈ E ′ the same lower bound as its corresponding trait in the original setting.
6.
u ′ : E ′ → Z ≥ 0 assigns each trait e ′ ∈ E ′ the same upper bound as its corresponding trait in the original setting.
7.
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.4. An Illustration Using Citizens’ Assembly Data

In this subsection, we compare the algorithm of Theorem 2 with the influential LEXIMIN algorithm for selecting citizens’ assemblies [2].6
LEXIMIN enforces exact quotas whenever a feasible group exists and lexicographically maximizes the vector of individual selection probabilities sorted from smallest to largest. It need not preserve an externally specified target vector. Our algorithm preserves that vector exactly and permits bounded quota deviations. In the instances described below, the procedures produce similar outcomes: LEXIMIN’s marginal probabilities are close to the chosen targets, and our algorithm’s quota deviations are small.
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 databases do not include target probabilities (they only include lower and upper quotas for each trait). To enable comparison with our algorithm, we modified each dataset in two ways:
1.
Adding target probabilities (which depend only on the trait profile) that are consistent with the existing quotas. These targets can be non-uniform. They illustrate the implementation of prescribed priorities in a selected volunteer pool; their consistency with the quotas alone does not establish that they exactly correct the original population’s response rates.
2.
Adjusting the quotas to be consistent with uniform selection probabilities. Specifically, setting each trait’s lower (resp., upper) quota equal to the floor (resp., ceiling) of the sum of the uniform selection probabilities of agents with that trait.
This yields four comparisons, all of which yielded similar results. In what follows we report the results for the HD dataset after adding consistent target probabilities. This database includes 239 candidates and a selected-group size of 30. The candidates have diversity traits in seven dimensions. The LEXIMIN algorithm exactly implements the diversity quotas. It turns out that the induced selection probabilities are similar to the target probabilities; the differences are a few percentage points.
The algorithm of Theorem 2 exactly implements the selection probabilities. It turns out that the resulting quota deviations are small, and, in particular, much lower than the general theoretical bound. Specifically, the average quota violation (across all traits) was 0.3, and, moreover, the maximal quota miss was 3 seats (and in 95% of the realized selected groups the maximum miss was 1–2 seats), which is much smaller than the theoretical upper bound of 6.
These comparisons illustrate that the worst-case quota bound can be conservative in the reported instances. Both procedures achieve their secondary objective with small deviations here. Their substantive distinction is the guarantee they prioritize: prescribed marginals for our construction and exact quota compliance for LEXIMIN. The welfare example in Section 6.2 shows why this distinction can matter in other instances.

7. Conclusions

We study the decomposition of a prescribed marginal vector into lotteries over fixed-size subsets subject to overlapping lower and upper quotas. A hypergraph representation distinguishes the trait structure relevant to exact implementation from the column sparsity controlling additive approximation. With two dimensions, a direct circulation construction implements every consistent target vector exactly. With arbitrary overlap, floating-variable rounding preserves the marginals and group size while violating each quota by at most D − 1 . Repeated support reduction produces an explicit lottery over at most | V | selected groups.
The refinements identify cases in which maximum degree is an unnecessarily coarse summary. A small exceptional set yields trait-specific bounds governed by the degrees outside that set and its intersection with each trait. Allowing small marginal errors gives a complementary concentration-based guarantee. Together, these results provide constructive options for choosing which requirements to enforce exactly and which to relax.
Several mathematical questions remain. These include sharper bounds for structured overlapping trait families, efficient selection of the exceptional set, and characterization of the attainable frontier between marginal error and quota violation. On the application side, the joint choice of target probabilities and quotas, and the treatment of participation and unverifiable priorities, require additional modeling beyond the implementation problem studied here.

Author Contributions

All authors contributed jointly and equally to all aspects of the research and manuscript preparation. All authors have read and approved the manuscript and agree to its submission.

Funding

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

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 theoretical constructions and proofs are contained in this article. The numerical illustration uses anonymized CCA and HD citizens’ assembly datasets from the Center for Climate Assemblies and Healthy Democracy, respectively, kindly shared with us by Paul Gölz, as described in Section 6.4. The datasets are not publicly redistributed with this article, as permission for public redistribution has not been obtained. Requests for access should be directed to the respective organizations and are subject to their approval.

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, ChatGPT (OpenAI) was used to assist with manuscript organization, language editing, and LaTeX preparation. 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. Proofs and Rounding Constructions

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–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.7 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. [42] Sec. 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. [9] 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. 
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. 
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. □

Notes

1
Other related papers in apportionment include [12,13,14].
2
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.
3
A hypergraph is a pair ( V , E ) of a vertex set V and a collection E of subsets of V , called hyperedges.
4
A directed multigraph allows multiple directed edges between the same ordered pair of vertices.
5
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 ).
6
The comparison remains similar if LEXIMIN is replaced by the closely related Goldilocks algorithm [20] and the entropy-maximizing algorithm [24].
7
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 | .

References

  1. Budish, Eric; Che, Yeon-Koo; Kojima, Fuhito; Milgrom, Paul. Designing random allocation mechanisms: Theory and applications. Am. Econ. Rev. 2013, 103(2), 585–623. [Google Scholar] [CrossRef]
  2. Flanigan, Bailey; Gölz, Paul; Gupta, Anupam; Hennig, Brett; Procaccia, Ariel D. Fair algorithms for selecting citizens’ assemblies. Nature 2021, 596(7873), 548–552. [Google Scholar] [CrossRef] [PubMed]
  3. Abdulkadiroğlu, Atila; Sönmez, Tayfun. School choice: A mechanism design approach. Am. Econ. Rev. 2003, 93(3), 729–747. [Google Scholar] [CrossRef]
  4. Cohen-Schotanus, Janke; Muijtjens, Arno MM; Reinders, Jan J; Agsteribbe, Jessica; Van Rossum, Herman JM; Van Der Vleuten, Cees PM. The predictive validity of grade point average scores in a partial lottery medical school admission system. Med. Educ. 2006, 40(10), 1012–1019. [Google Scholar] [CrossRef] [PubMed]
  5. Baum, Lauren E. State laws on weighted lotteries and enrollment practices. Technical report, National Alliance for Public Charter Schools, 2015. URL https://publiccharters.org/wp-content/uploads/2023/01/NPC035_WeightedLotteries_Digital_rev.pdf. Prepared by the Law Office of Lauren E. Baum, PC and Civil Rights Solutions, LLC.
  6. White, Douglas B; McCreary, Erin K; Chang, Chung-Chou H; Schmidhofer, Mark; Bariola, J Ryan; Jonassaint, Naudia N; Persad, Govind; Truog, Robert D; Pathak, Parag; Sonmez, Tayfun; et al. A multicenter weighted lottery to equitably allocate scarce COVID-19 therapeutics. Am. J. Respir. Crit. Care Med. 2022, 206(4), 503–506. [Google Scholar] [CrossRef] [PubMed]
  7. Beck, József; Fiala, Tibor. “Integer-making” theorems. Discret. Appl. Math. 1981, 3(1), 1–8. [Google Scholar] [CrossRef]
  8. Nguyen, Thành; Peivandi, Ahmad; Vohra, Rakesh. Assignment problems with complementarities. J. Econ. Theory 2016, 165, 209–241. [Google Scholar] [CrossRef]
  9. Flanigan, Bailey; Gölz, Paul; Gupta, Anupam; Procaccia, Ariel D. Neutralizing self-selection bias in sampling for sortition. Adv. Neural Inf. Process. Syst. 2020, 33, 6528–6539. [Google Scholar]
  10. Gandhi, Rajiv; Khuller, Samir; Parthasarathy, Srinivasan; Srinivasan, Aravind. Dependent rounding and its applications to approximation algorithms. J. ACM 2006, 53(3), 324–360. [Google Scholar] [CrossRef]
  11. Cembrano, Javier; Correa, José; Verdugo, Victor. Multidimensional political apportionment. Proc. Natl. Acad. Sci. 2022, 119(15), e2109305119. [Google Scholar] [CrossRef] [PubMed]
  12. Grimmett, Geoffrey. Stochastic apportionment. Am. Math. Mon. 2004, 111(4), 299–307. [Google Scholar] [CrossRef]
  13. Correa, José; Gölz, Paul; Schmidt-Kraepelin, Ulrike; Tucker-Foltz, Jamie; Verdugo, Victor. Monotone randomized apportionment. In Proceedings of the 25th ACM Conference on Economics and Computation; 2024; p. 71. [Google Scholar]
  14. Gölz, Paul; Peters, Dominik; Procaccia, Ariel D. In this apportionment lottery, the house always wins. Oper. Res. 2026, 74(1), 390–407. [Google Scholar] [CrossRef]
  15. Aziz, Haris; Brill, Markus; Conitzer, Vincent; Elkind, Edith; Freeman, Rupert; Walsh, Toby. Justified representation in approval-based committee voting. Soc. Choice Welf. 2017, 48(2), 461–485. [Google Scholar] [CrossRef]
  16. Aziz, Haris. A rule for committee selection with soft diversity constraints. Group Decis. Negot. 2019, 28, 1193–1200. [Google Scholar] [CrossRef]
  17. Bredereck, Robert; Faliszewski, Piotr; Igarashi, Ayumi; Lackner, Martin; Skowron, Piotr. Multiwinner elections with diversity constraints. In Proceedings of the AAAI Conference on Artificial Intelligence; 2018; volume 32. [Google Scholar]
  18. Mehrotra, Anay; Pradelski, Bary, SR.; Vishnoi, Nisheeth 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; 2022; pp. 599–609. [Google Scholar]
  19. Ebadian, Soroush; Kehne, Gregory; Micha, Evi; Procaccia, Ariel D; Shah, Nisarg. Is sortition both representative and fair? Adv. Neural Inf. Process. Syst. 2022, 35, 3431–3443. [Google Scholar] [CrossRef]
  20. Baharav, Carmel; Flanigan, Bailey. Fair, manipulation-robust, and transparent sortition. In Proceedings of the 25th ACM Conference on Economics and Computation; 2024; pp. 756–775. [Google Scholar]
  21. Assos, Angelos; Baharav, Carmel; Flanigan, Bailey; Procaccia, Ariel D. Alternates, assemble! selecting optimal alternates for citizens’ assemblies. In Proceedings of the 26th ACM Conference on Economics and Computation; 2025; pp. 719–738. [Google Scholar]
  22. Halpern, Daniel; Procaccia, Ariel D; Shapiro, Ehud; Talmon, Nimrod. Federated assemblies. Proc. AAAI Conf. Artif. Intell. 2025, volume 39, 13897–13904. [Google Scholar] [CrossRef]
  23. Talmon, Nimrod; Shapiro, Ehud. Grassroots federation: Fair democratic governance at scale. In Proc. of the 25th International Conference on Autonomous Agents and Multiagent Systems; 2026; pp. 1156–1164. [Google Scholar]
  24. de Azevedo, Gabriel; Gölz, Paul. Maximally random sortition. arXiv 2026, arXiv:2604.02712. [Google Scholar]
  25. Hylland, Aanund; Zeckhauser, Richard. The efficient allocation of individuals to positions. J. Political Econ. 1979, 87(2), 293–314. [Google Scholar] [CrossRef] [PubMed]
  26. Bogomolnaia, Anna; Moulin, Hervé. A new solution to the random assignment problem. J. Econ. Theory 2001, 100(2), 295–328. [Google Scholar] [CrossRef]
  27. Akbarpour, Mohammad; Nikzad, Afshin. Approximate random allocation mechanisms. Rev. Econ. Stud. 2020, 87(6), 2473–2510. [Google Scholar] [CrossRef]
  28. Balbuzanov, Ivan. Constrained random matching. J. Econ. Theory 2022, 203, 105472. [Google Scholar] [CrossRef]
  29. Han, Xiang. A theory of fair random allocation under priorities. Theor. Econ. 2024, 19(3), 1185–1221. [Google Scholar] [CrossRef]
  30. Basteck, Christian; Ehlers, Lars. On (constrained) efficiency of strategy-proof random assignment. Econometrica 2025, 93(2), 569–595. [Google Scholar] [CrossRef]
  31. Hafalir, Isa E.; Yenmez, M. Bumin; Yildirim, Muhammed A. Effective affirmative action in school choice. Theor. Econ. 2013, 8(2), 325–363. [Google Scholar] [CrossRef]
  32. Ehlers, Lars; Hafalir, Isa E.; Yenmez, M. Bumin; Yildirim, Muhammed A. School choice with controlled choice constraints: Hard bounds versus soft bounds. J. Econ. Theory 2014, 153, 648–683. [Google Scholar] [CrossRef]
  33. Kamada, Yuichiro; Kojima, Fuhito. Efficient matching under distributional constraints: Theory and applications. Am. Econ. Rev. 2015, 105(1), 67–99. [Google Scholar] [CrossRef]
  34. Kamada, Yuichiro; Kojima, Fuhito. Stability and strategy-proofness for matching with constraints: A necessary and sufficient condition. Theor. Econ. 2018, 13(2), 761–793. [Google Scholar] [CrossRef]
  35. Kamada, Yuichiro; Kojima, Fuhito. Fair matching under constraints: Theory and applications. Rev. Econ. Stud. 2024, 91(2), 1162–1199. [Google Scholar] [CrossRef]
  36. Carvalho, Jean-Paul; Pradelski, Bary S. R.; Williams, Cole. Intersectionality: Affirmative action with multidimensional identities. Manag. Sci. 2025, 71(5), 4495–4509. [Google Scholar] [CrossRef]
  37. Learning Community Charter School. Weighted lottery information. 2026. Available online: https://www.lccsnj.org/admissions/weighted-lottery-information (accessed on 2026-07-03).
  38. Farrell, David M; Suiter, Jane. Reimagining democracy: Lessons in deliberative democracy from the Irish front line; Cornell University Press, 2021. [Google Scholar]
  39. 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 2026-07-04).
  40. Diamond, Shari S; Hans, Valarie P; Chizik, Natali; Harfuch, Andres. The arrival of the civil jury in Argentina: The case of Chaco. Chic.-Kent. Law Rev. 2024, 98(1), 167–192. [Google Scholar]
  41. Balinski, Michel L; Demange, Gabrielle. An axiomatic approach to proportionality between matrices. Math. Oper. Res. 1989, 14(4), 700–719. [Google Scholar] [CrossRef]
  42. Ahuja, Ravindra K; Magnanti, Thomas L; Orlin, James B. Network flows: theory, algorithms, and applications; Prentice-Hall, 1993. [Google Scholar]
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.
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.
Preprints 235820 g001
Figure 2. Auxiliary circulation graph for Example 2, with k = 3 , p ≡ 1 2 , l ≡ 1 , and u ≡ 3 .
Figure 2. Auxiliary circulation graph for Example 2, with k = 3 , p ≡ 1 2 , l ≡ 1 , and u ≡ 3 .
Preprints 235820 g002
Figure 3. The trait hypergraph in the welfare example, Example 4.
Figure 3. The trait hypergraph in the welfare example, Example 4.
Preprints 235820 g003
Table 1. Arcs and flows in the auxiliary circulation graph G.
Table 1. Arcs and flows in the auxiliary circulation graph G.
Arc Count Initial flow Integral-flow interpretation
s → e 1 , e 1 ∈ E 1 | E 1 | ∑ v ∈ e 1 p ( v ) Selected members of trait e 1
e 1 → v e 2 , v ∈ e 1 ∩ e 2 | V | p ( v ) Indicator that agent v is selected
e 2 → t , e 2 ∈ E 2 | E 2 | ∑ v ∈ e 2 p ( v ) Selected members of trait e 2
t → s 1 k Total selected-group size
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.