Individual Fairness under Group Fairness Constraints in Bipartite Matching - One Framework to Approximate Them All
Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 175-183.
https://doi.org/10.24963/ijcai.2024/20
Keywords
- Agent-based and Multi-agent Systems: MAS: Resource allocation
- AI Ethics, Trust, Fairness: ETF: Fairness and diversity
Abstract
We study the probabilistic assignment of items to platforms that satisfies both group and individual fairness constraints. Each item belongs to specific groups and has a preference ordering over platforms. Each platform enforces group fairness by limiting the number of items per group that can be assigned to it. There could be multiple optimal solutions that satisfy the group fairness constraints, but this alone ignores item preferences. Our approach explores a `best of both worlds fairness' solution to get a randomized matching, which is ex-ante individually fair and ex-post group-fair. Thus, we seek a `probabilistic individually fair' distribution over `group-fair' matchings where each item has a `high' probability of matching to one of its top choices. This distribution is also ex-ante group-fair. Users can customize fairness constraints to suit their requirements. Our first result is a polynomial-time algorithm that computes a distribution over `group-fair' matchings such that the individual fairness constraints are approximately satisfied and the expected size of a matching is close to OPT. We empirically test this on real-world datasets. We present two additional polynomial-time bi-criteria approximation algorithms that users can choose from to balance group fairness and individual fairness trade-offs.
For disjoint groups, we provide an exact polynomial-time algorithm adaptable to additional lower `group fairness' bounds. Extending our model, we encompass `maxmin group fairness,' amplifying underrepresented groups, and `mindom group fairness,' reducing the representation of dominant groups.'
- [Abdulkadiroglu and Sönmez, 2003] Atila Abdulkadiroglu and T. Sönmez. School choice: A mechanism design ap- proach. AER, 2003.
- [Abhyankar et al., 2007] A. R. Abhyankar, S. A. Soman, and S. A. Khaparde. Min-max fairness criteria for transmission fixed cost allocation. IEEE Transactions on Power Systems, 22(4):2094-2104, 2007.
- [Anegg et al., 2020] Georg Anegg, Haris Angelidakis, Adam Kurpisz, and Rico Zenklusen. A technique for obtaining true approximations for k-center with covering constraints. In IPCO, 2020.
- [Aziz and Brandl, 2021] Haris Aziz and Florian Brandl. Effi- cient, fair, and incentive-compatible healthcare rationing. In EC '21, 2021.
- [Aziz et al., 2020] Haris Aziz, Anton Baychkov, and Péter Biró. Summer internship matching with funding constraints. In AAMAS, 2020.
- [Aziz et al., 2022] Haris Aziz, Péter Biró, and Makoto Yokoo. Matching market design with constraints. In AAAI, 2022.
- [Aziz et al., 2023] Haris Aziz, Aditya Ganguly, and Evi Micha. Best of both worlds fairness under entitlements. In AAMAS, 2023.
- [Aziz, 2020] Haris Aziz. Simultaneously achieving ex-ante and ex-post fairness. In WINE, 2020.
- [Babaioff et al., 2022] Moshe Babaioff, Tomer Ezra, and Uriel Feige. On best-of-both-worlds fair-share allocations. In WINE, 2022.
- [Bei et al., 2020] Xiaohui Bei, Shengxin Liu, Chung Keung Poon, and Hongao Wang. Candidate selections with pro- portional fairness constraints. In AAMAS, 2020.
- [Bera et al., 2019] Suman Kalyan Bera, Deeparnab Chakrabarty, Nicolas Flores, and Maryam Negahbani. Fair algorithms for clustering. In NeurIPS, 2019.
- [Bertsekas and Gallager, 2021] D. Bertsekas and R. Gallager. Data Networks: Second Edition. Athena Scientific, 2021.
- [Beyhaghi and Éva Tardos, 2021] Hedyeh Beyhaghi and Éva Tardos. Randomness and Fairness in Two-Sided Matching with Limited Interviews. In ITCS, 2021.
- [Birkhoff, 1946] Garrett Birkhoff. Tres observaciones sobre el algebra lineal. Univ. Nac. Tucuman, Ser. A, 5:147-154, 1946.
- [Bolukbasi et al., 2016] Tolga Bolukbasi, Kai-Wei Chang, James Y. Zou, Venkatesh Saligrama, and Adam Tauman Kalai. Man is to computer programmer as woman is to homemaker? debiasing word embeddings. In NeurIPS, 2016.
- [Celis et al., 2017] L. Elisa Celis, Damian Straszak, and Nisheeth K. Vishnoi. Ranking with fairness constraints. In ICALP, 2017.
- [Celis et al., 2018a] L. Elisa Celis, Lingxiao Huang, and Nisheeth K. Vishnoi. Multiwinner voting with fairness constraints. In IJCAI, 2018. IJCAI
- [Celis et al., 2018b] L. Elisa Celis, Damian Straszak, and Nisheeth K. Vishnoi. Ranking with fairness constraints. In ICALP, 2018.
- [Costello et al., 2016] Matthew Costello, James Hawdon, Thomas Ratliff, and Tyler Grantham. Who views online ex- tremism? individual attributes leading to exposure. Comput. Hum. Behav., 2016.
- [Cowen Institute, 2011] Cowen Institute. Case studies of school choice and open enrollment in four cities. Tech- nical report, Cowen Institute, 2011.
- [Devanur et al., 2013] Nikhil R. Devanur, Kamal Jain, and Robert D. Kleinberg. Randomized primal-dual analysis of ranking for online bipartite matching. In SODA '13, 2013.
- [Dinitz et al., 2022] Michael Dinitz, Aravind Srinivasan, Leonidas Tsepenekas, and Anil Vullikanti. Fair disaster containment via graph-cut problems. In AISTATS, 2022.
- [Esmaeili et al., 2022] Seyed A. Esmaeili, Sharmila Duppala, Vedant Nanda, Aravind Srinivasan, and John P. Dickerson. Rawlsian fairness in online bipartite matching: Two-sided, group, and individual. In AAMAS, 2022.
- [Farnadi et al., 2021] Golnoosh Farnadi, William St-Arnaud, Behrouz Babaki, and Margarida Carvalho. Individual fair- ness in kidney exchange programs. AAAI, 2021.
- [Feldman et al., 2015] Michael Feldman, Sorelle A. Friedler, John Moeller, Carlos Scheidegger, and Suresh Venkatasub- ramanian. Certifying and removing disparate impact. In Proc. of the 21th ACM SIGKDD Int. Conf. on Knowledge Discovery and Data Mining, 2015.
- [Fleiner and Kamiyama, 2016] Tamás Fleiner and Naoyuki Kamiyama. A matroid approach to stable matchings with lower quotas. Math. Oper. Res., 41(2):734-744, 2016.
- [Freeman et al., 2020] Rupert Freeman, Nisarg Shah, and Ro- hit Vaish. Best of both worlds: Ex-ante and ex-post fairness in resource allocation. In EC '20, 2020.
- [Ganesh et al., 2023] Aadityan Ganesh, Pratik Ghosal, Vishwa Prakash HV, and Prajakta Nimbhorkar. Fair healthcare rationing to maximize dynamic utilities. In PAKDD, 2023.
- [García-Soriano and Bonchi, 2021] David García-Soriano and Francesco Bonchi. Maxmin-fair ranking: Individual fairness under group-fairness constraints. In KDD '21, 2021.
- [García-Soriano and Bonchi, 2020] D. García-Soriano and F. Bonchi. Fair-by-design matching. In DMKD, page 1291-1335, 2020.
- [Georgiadis et al., 2001] L. Georgiadis, P. Georgatsos, K. Floros, and S. Sartzetakis. Lexicographically optimal balanced networks. In Proc. IEEE INFOCOM, 2001.
- [Goko et al., 2022] Hiromichi Goko, Kazuhisa Makino, Shuichi Miyazaki, and Yu Yokoi. Maximally satisfying lower quotas in the hospitals/residents problem with ties. In STACS, 2022.
- [Gonczarowski et al., 2019] Yannai A. Gonczarowski, Noam Nisan, Lior Kovalio, and Assaf Romm. Matching for the israeli: Handling rich diversity requirements. In EC, 2019.
- [Gorantla et al., 2023] Sruthi Gorantla, Anay Mehrotra, Amit Deshpande, and Anand Louis. Sampling individually-fair rankings that are always group fair. In AIES, 2023.
- [Hahne, 1991] E.L. Hahne. Round-robin scheduling for max- min fairness in data networks. JSAC, 9(7):1024-1039, 1991.
- [Halabian et al., 2012] Hassan Halabian, Ioannis Lambadaris, and Chung-Horng Lung. Optimal server assignment in multi-server parallel queueing systems with random con- nectivities and random service failures. In ICC, 2012.
- [Harris et al., 2019] David G. Harris, Thomas Pensyl, Ar- avind Srinivasan, and Khoa Trinh. A lottery model for center-type problems with outliers. TALG, 15(3), 2019.
- [Hoefer et al., 2023] Martin Hoefer, Marco Schmalhofer, and Giovanna Varricchio. Best of both worlds: Agents with entitlements. In AAMAS, 2023.
- [Huang et al., 2016] Chien-Chung Huang, Telikepalli Kavitha, Kurt Mehlhorn, and Dimitrios Michail. Fair matchings and related problems. Algorithmica, 74(3):1184- 1203, 2016.
- [Huang, 2010] Chien-Chung Huang. Classified stable match- ing. In SODA, 2010.
- [H.V. and Nimbhorkar, 2024] Vishwa Prakash H.V. and Pra- jakta Nimbhorkar. Weighted proportional allocations of indivisible goods and chores: Insights via matchings. In AAMAS, 2024.
- [Jain et al., 2003] Kamal Jain, Mohammad Mahdian, Evange- los Markakis, Amin Saberi, and Vijay V. Vazirani. Greedy facility location algorithms analyzed using dual fitting with factor-revealing LP. J. ACM, 50(6):795-824, 2003.
- [Kay et al., 2015] Matthew Kay, Cynthia Matuszek, and Sean A. Munson. Unequal representation and gender stereo- types in image search results for occupations. In CHI, 2015.
- [Kletti et al., 2022] Till Kletti, Jean-Michel Renders, and Patrick Loiseau. Introducing the expohedron for efficient pareto-optimal fairness-utility amortizations in repeated rankings. In WSDM, 2022.
- [Kurata et al., 2017] Ryoji Kurata, Naoto Hamada, Atsushi Iwasaki, and Makoto Yokoo. Controlled school choice with soft bounds and overlapping types. JAIR, 153-184, 2017.
- [Louis et al., 2023] Anand Louis, Meghana Nasre, Prajakta Nimbhorkar, and Govind S. Sankar. Online algorithms for matchings with proportional fairness constraints and diversity constraints. In ECAI, 2023.
- [Luss, 1999] Hanan Luss. On equitable resource allocation problems: A lexicographic minimax approach. OR, 1999.
- [Manlove, 2013] David F Manlove. Algorithmics of Matching Under Preferences. WORLD SCIENTIFIC, 2013.
- [McKeown et al., 1996] Nick McKeown, Venkat Anan- tharam, and Jean Walrand. Achieving 100% throughput in an input-queued switch. In INFOCOM'96, 1996.
- [Mehta et al., 2007] Aranyak Mehta, Amin Saberi, Umesh Vazirani, and Vijay Vazirani. Adwords and generalized online matching. J. ACM, 2007.
- [Mehta, 2013] Aranyak Mehta. Online matching and ad allo- cation. Foundations and Trends® in Theoretical Computer Science, 2013.
- [Nasre et al., 2019] Meghana Nasre, Prajakta Nimbhorkar, and Nada Pulath. Classified rank-maximal matchings and popular matchings -algorithms and hardness. In Graph- Theoretic Concepts in Computer Science, pages 244-257, 2019.
- [Panda et al., 2024] Atasi Panda, Anand Louis, and Prajakta Nimbhorkar. Individual fairness under varied notions of group fairness in bipartite matching -one framework to approximate them all, 2024.
- [Patro et al., 2020] Gourab K. Patro, Abhijnan Chakraborty, Niloy Ganguly, and Krishna P. Gummadi. Fair updates in two-sided market platforms: On incrementally updating recommendations. In AAAI, IAAI,EAAI, 2020.
- [Räcke, 2008] Harald Räcke. Optimal hierarchical decompo- sitions for congestion minimization in networks. In STOC, pages 255-264. ACM, 2008.
- [Radunovic and Le Boudec, 2007] Bozidar Radunovic and Jean-Yves Le Boudec. A unified framework for max-min and min-max fairness with applications. TON, 15(5):1073- 1083, 2007.
- [Sankar et al., 2021] Govind S. Sankar, Anand Louis, Meghana Nasre, and Prajakta Nimbhorkar. Matchings with group fairness constraints: Online and offline algorithms. In IJCAI, 2021. IJCAI
- [Segal-Halevi and Suksompong, 2019] Erel Segal-Halevi and Warut Suksompong. Democratic fair allocation of indivisible goods. Artificial Intelligence, 2019. IJCAI
- [Singh et al., 2021] Ashudeep Singh, David Kempe, and Thorsten Joachims. Fairness in ranking under uncertainty. In NeurIPS, 2021.
- [Sühr et al., 2019] Tom Sühr, Asia J. Biega, Meike Zehlike, Krishna P. Gummadi, and Abhijnan Chakraborty. Two- sided fairness for repeated matchings in two-sided markets: A case study of a ride-hailing platform. In KDD '19, 2019.
- [Sönmez and Yenmez, 2022] Tayfun Sönmez and M. Bumin Yenmez. Affirmative action in india via vertical, horizontal, and overlapping reservations. Econometrica, 90(3):1143- 1176, 2022.
- [Vazirani, 2013] V.V. Vazirani. Approximation Algorithms. Springer Berlin Heidelberg, 2013.
- [Williamson and Shmoys, 2011] David P. Williamson and David B. Shmoys. The Design of Approximation Algo- rithms. Cambridge University Press, 2011.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
Matching is a foundational concept in theoretical computer science, well-studied over several years. Maximum bipartite matching finds applications in real-world scenarios, such as ad-auctions [Mehta et al., 2007; Mehta, 2013] , resource allocation [Halabian et al., 2012], scheduling [McKeown et al., 1996], school choice [Abdulkadiroglu and Sönmez, 2003; Kurata et al., 2017] , and healthcare rationing [Aziz and Brandl, 2021; Ganesh et al., 2023]. In this paper, we refer to the two partitions of the underlying bipartite graph as items and platforms. A matching is an allocation of items to platforms, allowing multiple assignments for each item and platform. Real-world items often have diverse attributes, leading to their categorization into different groups. To ensure equitable representation among these groups, it is natural to enforce group fairness constraints [Definition 3.1], which limit the number of items per group assigned to a platform by enforcing upper bounds. Also, one can specify lower bounds on the number of items from each group that need to be assigned to a platform, so as to ensure a minimum representation from each group among the items matched to a platform. The above constraints thus achieve Restricted Dominance introduced in [Bera et al., 2019], which asserts that the representation from any group on any platform does not exceed a user-specified cap, and Minority Protection [Bera et al., 2019], which asserts that the representation from any group, among the items matched to any platform is at least a user-specified bound [Definition 3.2].
Both the definitions of group fairness are well-motivated by various applications like school choice, formation of committees in an organization, or teams to work on projects. For instance, in school choice, group-fairness constraints can promote diversity among students assigned to each school based on attributes like ethnicity and socioeconomic background, as observed in practical implementations [Cowen Institute, 2011]. Similarly, in project teams, group fairness constraints ensure the inclusion of experts from all required fields. Both definitions of group fairness are motivated by the Disparate Impact doctrine [Feldman et al., 2015], which broadly posits addressing unintentional bias, which leads to widely different outcomes for different groups.
However, since items have preferences over platforms, a matching meeting group fairness constraints alone may not be fair to individual items. The exclusive use of group fairness constraints can lead to sub-optimal outcomes for individuals. Furthermore, deterministic algorithms for matching assign top choices to some individuals while assigning less preferred choices to others. This necessitates the introduction of individual fairness constraints. In this paper, we consider probabilistic individual fairness constraints, first introduced in robust clustering [Anegg et al., 2020; Harris et al., 2019]. Instead of a single matching, the goal is to generate a distribution on group-fair matchings such that, in a matching sampled from the said distribution, the probability of each item being matched to one of its top choices is within the user-specified bounds [Definition 3.3]. Thus, this approach, known as the best of both worlds fairness approach in literature, aims to compute an outcome with both ex-ante and ex-post fairness guarantees.
In this paper, the central objective is to design efficient algorithms that compute an ex-ante probabilistic individually fair distribution over deterministic group-fair matchings.
1.1 An Overview of Our Results and Techniques
Our approach revolves around formulating various notions of individual and group fairness using linear programming (LP). The key idea is to represent the LP's optimal solution as a convex combination of integer group-fair matchings, enabling the satisfaction of probabilistic individual fairness constraints through sampling. However, depending on the structure of the groups, it may not be possible to express the LP optimum as an exact convex combination of integral group-fair matchings. Nonetheless, our algorithms express an approximate LP optimum as a convex combination of integer matchings.
Our technique leads to a unified framework for different group fairness notions beyond fixed upper and lower bound constraints on the number of items from each group that can be matched to a platform. Two such notions, referred to as maxmin group fairness and mindom group fairness in this paper, are discussed in a later section (see Section 3). In maxmin group fairness, the goal is to maximize the minimum number of items that get matched to any platform from any one group. In mindom group fairness, the goal is to minimize the maximum number of items that get matched to any platform from any one group. Informally, both these notions aim to get a matching with nearly equal representation from all groups. (See Section 3 Definitions 3.9 and 3.10 for formal definitions). In a similar spirit, for individual fairness, one can aim to provide the strongest possible guarantee simultaneously to all individuals in terms of the probability of being matched. We refer to this as maxmin individual fairness [Definition 3.8].
2 RelatedWork
Several allocation problems like resource allocation [Halabian et al., 2012], kidney exchange programs [Farnadi et al., 2021], school choice [Abdulkadiroglu and Sönmez, 2003], candidate selection [Bei et al., 2020], summer internship programs [Aziz et al., 2020], and matching residents to hospitals [Goko et al., 2022] are modeled as matching problems. [Manlove, 2013] extensively examines preference-based matching in the stable marriage and roommates problems, hospitals/residents matching, and the house allocation problem. Since the people/items to be matched may belong to different groups, bipartite matchings under various notions of group fairness have been studied and their significance has been emphasized in literature [Celis et al., 2017; Luss, 1999; Devanur et al., 2013; Costello et al., 2016; Segal-Halevi and Suksompong, 2019; Kay et al., 2015; Bolukbasi et al., 2016]. [Aziz et al., 2022] survey the developments in the field of matching with constraints, including those based on regions, diversity, multidimensional capacities, and matroids. The fairness constraints are captured by upper and lower bounds [Huang, 2010;
Gonczarowski et al., 2019], justified envy-freeness [Abdulkadiroglu and Sönmez, 2003], or in terms of proportion of the final matching size [Bei et al., 2020]. Historically, discriminated groups in India are protected with vertical reservations implemented as set-asides, and other disadvantaged groups are protected with horizontal reservations implemented as minimum guarantees(lower bounds) [Sönmez and Yenmez, 2022].
In some applications, the items could belong to multiple groups as well. [Sankar et al., 2021] present a polynomialtime algorithm with an approximation ratio of 1 ∆+1 where each item belongs to at most ∆ laminar families of groups per platform, and [Nasre et al., 2019] show the NP-hardness of the problem without a laminar structure. While both papers focus only on group-fairness upper bounds, [Louis et al., 2023] primarily focus on proportional diversity constraints with an emphasis on lower bounds in the general context. However, group fairness constraints alone do not account for individual preferences. Our work aims to introduce individual fairness considerations into the problem and explore both upper and lower bounds for specific scenarios.
The notions of maxmin individual fairness, maxmin group fairness, and mindom group fairness are motivated by existing literature. Maxmin individual fairness, originally termed as the "distributional maxmin fairness" framework in [GarcíaSoriano and Bonchi, 2020], was further explored in groupfair ranking problems by [García-Soriano and Bonchi, 2021]. Their distribution is only over maximum matchings, and we extend this idea to a distribution over maximum group-fair matchings and a stronger notion of individual fairness. Maxmin group fairness is a natural extension of Maxmin fairness, initially introduced as a network design objective by [Bertsekas and Gallager, 2021](Section 6.5.2) and extensively studied in various areas of networking [Radunovic and Le Boudec, 2007; Hahne, 1991]. Mindom group fairness has been studied in network load distribution [Georgiadis et al., 2001], transmission cost sharing [Abhyankar et al., 2007], and other network applications [Radunovic and Le Boudec, 2007]. This concept of probabilistic individual fairness also has applications in fair-ranking [García-Soriano and Bonchi, 2021; Gorantla et al., 2023] and graph-cut problems [Dinitz et al., 2022].
[Singh et al., 2021] study individual fairness in ranking under uncertainty, extending fairness definitions by explicitly modeling incomplete information. Their approach mirrors [Räcke, 2008] but assumes a posterior distribution over candidates' merits. Similarly, we assume that the individual and group fairness parameters are given. They express a distribution π over rankings as a bistochastic matrix, where each entry denotes the probability of a candidate's position under π. They use an LP to maximize utility while enforcing fairness constraints and ensure marginal probabilities form a doubly stochastic matrix. The optimal solution is then decomposed as a distribution over rankings using the Birkhoff-von Neumann algorithm [Birkhoff, 1946]. Though we use a similar approach for Theorems 3.5, 3.4 and 3.7, we have both group and individual fairness constraints. Our marginal probabilities do not form a doubly stochastic matrix, so we cannot use the Birkhoff-von Neumann decomposition [Birkhoff, 1946]
directly, and hence need a different approach for Theorem 3.4. Similar to our group and individual fairness constraints (Definitions 3.2 and 3.3), [Gorantla et al., 2023] address a related problem in fair ranking, particularly addressing laminar set structures using techniques akin to the Birkhoff-von Neumann decomposition.
Fairness constraints with bounds on the number of items with each attribute are also studied in ranking and multi-winner voting [Celis et al., 2018b; Celis et al., 2018a]. Among other notions of fairness, [Sühr et al., 2019] propose a fairness notion for ride-hailing platforms that distributes fairness over time, ensuring benefits proportional to drivers' platform engagement duration. Kletti et al. [Kletti et al., 2022] present an algorithm for optimizing rankings to maximize consumer utility while minimizing producer-side individual exposure unfairness. [García-Soriano and Bonchi, 2021] explore maxmin fair distributions in general search problems with group fairness constraints, while [Esmaeili et al., 2022] examine Rawlsian fairness(maxmin fairness) in online bipartite matching, considering both group and individual fairness. [Esmaeili et al., 2022] simultaneously address two-sided fairness but treat group and individual fairness separately. In contrast, we handle both individual and group fairness on the item side within a single bipartite matching instance, which has not been explored in the existing literature to the best of our knowledge.
Our solution fits into the best of both worlds (BoBW) fairness paradigm, which is gaining attention in the fair allocation of indivisible items [Aziz et al., 2023; Babaioff et al., 2022; Freeman et al., 2020; Aziz, 2020]. In literature, popular target fairness properties have been envy-freeness, envy-freeness up to one item [Freeman et al., 2020; Aziz, 2020], proportionality, and proportionality up to one item [Aziz et al., 2023; Hoefer et al., 2023; H.V. and Nimbhorkar, 2024]. Other than these, [Babaioff et al., 2022] study truncated proportional share. [Freeman et al., 2020] showed that ex-ante envyfreeness (EF) and ex-post envy-freeness up to one item (EF1) BoBW outcomes are achievable for any allocation problem instance. [Aziz et al., 2023] studied BoBW outcomes based on envy-based fairness in allocating indivisible items to agents with additive valuations and weighted entitlements. [Babaioff et al., 2022] approach BoBW fairness from a fair-share guarantee perspective. While our target fairness properties are group fairness and probabilistic individual fairness, our technique, in essence, resembles that of [Aziz, 2020], where a randomized EF allocation is first generated and then decomposed as the convex combination of EF1 deterministic allocations.
Fairness constraints, with various notions of fairness, have been considered in preference-based matchings, e.g. for kidney-exchange [Farnadi et al., 2021], for rank-maximality and popularity [Nasre et al., 2019], stability [Huang, 2010], stability under matroid constraints [Fleiner and Kamiyama, 2016], and in various settings of two-sided matching markets [Beyhaghi and Éva Tardos, 2021], [Patro et al., 2020], [Huang et al., 2016].
3 Preliminaries
Our problem: The input instance consists of a bipartite graph denoted as G = (A ∪ P, E). Here A denotes the set of items and P is the set of platforms. There is an edge, (a, p) ∈ E if a can be assigned to p. The items are grouped into possibly nondisjoint subsets A1, A2, . . . , Aχ for an integer χ ≥ 1 such that ∪h∈[χ]Ah = A. Here χ denotes the total number of groups. Let |A| = n, |P| = m, ∆ denote the maximum number of distinct groups to which any item belongs, and N(v) denote the neighborhood of any node v ∈ A ∪ P . Each item a ∈ A has a preference list Ra, which contains a ranking of platforms, and let Ra,k denote the set of top k preferred platforms of a.
We define the group fairness and individual fairness notions below, these constraints are also part of the input.
Definition 3.1 (Group fairness). Each platform, p, has upper bounds, up,h, for all h ∈ [χ] denoting the maximum number of items from group h that can be assigned to p. These are referred to as group fairness constraints in this paper. For each h ∈ [χ], let Ep,h denote the set of edges {(a, p) : a ∈ Ah}. A matching M ⊆ E is said to be group-fair if and only if
This notion of group fairness is also known as Restricted Dominance, introduced in [Bera et al., 2019].
Definition 3.2 (Strong group fairness). Along with upper bounds, each platform, p, has lower bounds, lp,h, for all h ∈ [χ] denoting the minimum number of items from group h that should be assigned to p. A matching M ⊆ E is said to be strong group-fair if and only if
This notion of group fairness encompasses Minority Protection, also introduced in [Bera et al., 2019], along with Restricted Dominance.
Definition 3.3 (Probabilistic individual fairness). In addition to the group fairness constraints, the input also contains individual fairness parameters, La,k,Ua,k ∈ [0, 1] for each item a and k ∈ [m]. A distribution D on matchings in G is probabilistic individually fair if and only if ∀a ∈ A, k ∈ [m]
It is easy to see how Equation (3) can capture the requirement that items are matched to a high-ranking platform in their preference list with high probability and a low-ranking platform in their preference list with low probability. Our model allows users to set individual fairness constraints based on their requirements.
Objective: Let I = (G,A1 · · ·Aχ,⃗l, ⃗u, ⃗L, ⃗U) denote an instance of our problem. Our objective is to calculate a probabilistic individually fair distribution over a set of group-fair matchings, aiming to maximize the expected matching size when a matching is sampled from this distribution.
Note that our model provides a generic framework that accommodates various fairness settings, elaborated in Section 3.2.
3.1 Results
We provide four different algorithms under different settings to compute a distribution over matchings. The support of the distribution is of size polynomial in the size of the instance, and is in fact of the same size as the number of iterations in the algorithms. Below, we list some known hardness results.
Known Hardness Results
Even without individual fairness constraints, finding a maximum size group-fair matching [Definition 3.1] is NP-hard [Nasre et al., 2019]. Additionally, when there is a single platform and each item appears in at most ∆ classes, the group fairness problem with only upper bounds is NP-hard to approximate within a factor of O( log2 ∆ ∆ ) [Sankar et al., 2021].
When an item can belong to multiple groups, determining if a feasible solution exists for group fairness constraints even with lower bounds alone is NP-hard [Louis et al., 2023], making the computation of a strong group-fair matching [Definition 3.2] NP-hard.
Algorithmic Results
Our first contribution is an algorithm that computes a distribution over group-fair matchings such that the individual fairness constraints are approximately satisfied and the expected size of a matching is close to OPT. Throughout the paper, OPT represents the maximum expected size of a group-fair matching across all probabilistic individually fair distributions over such matchings.
Theorem 3.4 (O(∆ log n) bicriteria approximation (Informal version of Theorem 4.1)). For any ϵ > 0, there is a polynomial-time algorithm that outputs a distribution over group-fair matchings with the following properties: The expected size of a matching is at least 1 fϵ (OPT+ ϵ), where fϵ = O(∆log(n/ϵ)), and the individual fairness constraints are satisfied within additive and multiplicative factors of at most ϵ and 1 fϵ respectively. Here ∆ denotes the maximum number of classes an item belongs to. The algorithm reports infeasibility if no such distribution exists.
For a platform p, let gp denote the number of distinct groups that have a non-empty intersection with N(p), and let g = maxp∈P gp. Next, we present an algorithm where the approximation guarantees are dependent on g, where each upper bound in the group fairness constraints is at least g.
Theorem 3.5. (Informal version of [Panda et al., 2024, Theorem 6.1]). When all the group fairness upper bounds are at least g, there is a polynomial-time algorithm that computes a distribution over group-fair matchings, with the following properties: The expected size of a matching is at least OPT 2g , and the individual fairness constraints are satisfied up to a multiplicative factor of at most 1 2g . The algorithm reports infeasibility if no such distribution exists.
Our next algorithm improves the multiplicative factor for violation of individual fairness constraints, and also the expected size of a matching, at the cost of an additive violation of group fairness constraints.
Theorem 3.6. (Informal version of [Panda et al., 2024, Theorem 6.8]). When all the group fairness upper bounds are at least g, there is a polynomial-time algorithm that computes a distribution over matchings, with the following properties: The expected size of a matching is at least OPT g , the matchings satisfy group fairness up to an additive factor of at most ∆, and the individual fairness constraints up to a multiplicative factor of at most 1 g . The algorithm reports infeasibility if no such distribution exists.
Table 1 shows a comparison of the results in Theorem 3.4, Theorem 3.5, and Theorem 3.6.
We give a polynomial-time exact algorithm for strong group fairness, when the groups are disjoint.
Theorem 3.7. Given an instance of our problem where each item belongs to exactly one group, there is a polynomial-time algorithm that either computes a probabilistic individually fair distribution over a set of strong group-fair matchings or reports infeasibility if no such distribution exists.
The proofs of all the Theorems can be found in the full version [Panda et al., 2024].
3.2 Extension to Other Fairness Notions
Our results can be extended to accommodate other fairness notions mentioned below.
Definition 3.8 (Maxmin individual fairness). Let D[a] denote PrM∼D[∃p ∈ P s.t (a, p) ∈ M]. A distribution, D, over matchings is Maxmin individually fair if for all distributions F over matchings and all a ∈ A,
We refer to the goal of maximizing the representation of the worst-off groups as maxmin group fairness, defined below.
Definition 3.9 (Maxmin group fairness). Let XM h,p denote the total number of items matched under a feasible matching, M ⊆ E, from group h to platform p. The matching M is said to be maxmin group-fair if, for any other feasible matching M ′ , if ∃p ∈ P, h ∈ [χ] such that XM′ h,p > XM h,p , then there is some p′ ∈ P, h′ ∈ [χ] with XM h,p ≥ XM h′ ,p′ and XM h′ ,p′ > XM′ h′ ,p′ . Here at least p′ ̸= p, or h′ ̸= h.
In mindom group fairness, defined below, the goal is to minimize the representation of the most dominant groups. This is a dual to maxmin group fairness.
Definition 3.10 (Mindom group fairness). Let XM h,p denote the total number of items matched under a feasible matching, M ⊆ E, from group h to platform p. M is said to be mindom group-fair if, for any other feasible matching M ′ , if ∃p ∈ P, h ∈ [χ] such that XM′ h,p < XM h,p , then there is some p′ ∈ P, h′ ∈ [χ] with XM h,p ≤ XM h′ ,p′ and XM h′ ,p′ < XM′ h′ ,p′ . Here at least p′ ̸= p, or h′ ̸= h.
Extension of Results
Theorem 3.11. Given a bipartite graph with disjoint groups and a lower bound on the expected matching size, our framework and the polynomial-time algorithm from Theorem 3.7 can be extended to compute the following:
- A probabilistic individually fair distribution over a set of maxmin or mindom group-fair matchings, with probabilistic individual fairness constraints.
- A maxmin individually fair distribution over strong groupfair matchings.
Theorem 3.12. Given a bipartite graph and a lower bound on the expected matching size, say lb, our framework and the polynomial-time algorithm from Theorems 3.4, 3.5 and 3.6 can be extended to compute the following:
| Theorem 3.4(Algorithm 1) | Theorem 3.5 | Theorem 3.6 | |
|---|---|---|---|
| Size-approximation | 1 fϵ (OPT+ ϵ) | OPT 2g | OPT g |
| Group Fairness Violation | None | None | ∆-additive |
| Individual Fairness Violation | 1 fϵ -multiplicative, ϵ fϵ -additive | 1 2g -multiplicative | 1 g -multiplicative |
.
Table 1: Comparison of Approximation Algorithms.
fϵ = O(∆ log(n/ϵ))
- A distribution over mindom group-fair or group-fair matchings, ensuring an expected matching size of at least 1 fϵ (lb + ϵ), with fϵ and the violation of probabilistic individual fairness or maxmin individual fairness as in Theorem 3.4.
- A distribution over mindom group-fair or group-fair matchings, guaranteeing an expected matching size of at least lb 2g , and a violation of probabilistic individual constraints or maxmin individual fairness by at most 1 2g .
- A distribution over matchings, guaranteeing an expected matching size of at least lb g , and a violation of probabilistic individual constraints or maxmin individual fairness by at most 1 g . The mindom group-fairness or groupfairness is violated by an additive factor of at most ∆.
The proof of Theorems 3.11 and 3.12, and details of how to extend our results to these settings are in the appendix of the full version [Panda et al., 2024].
4 O(∆logn) Bicriteria Approximation
Algorithm
In this section, we have an instance of a bipartite graph G = (A∪P, E), where any arbitrary item, a ∈ A, can belong to at most ∆ distinct groups. Our objective is to compute a probabilistic individually fair distribution over group fair matchings, so as to maximize the expected size of any matching sampled from this distributionWe design a polynomialtime algorithm that provides an approximation factor dependent on O(∆) and prove our main result, Theorem 3.4, formally stated below.
Theorem 4.1 (Formal version of Theorem 3.4). Given any ϵ > 0, and an instance of our problem where each item can belong to at most ∆ groups, there is a polynomial-time algorithm that computes a distribution D over a set of group-fair matchings such that the expected size is at least 1 fϵ (OPT + ϵ) where fϵ = O(∆ log(n/ϵ)) and n is the total number of items. Given the individual fairness parameters, La,k,Ua,k ∈ [0, 1], for each item a ∈ A and subset Ra,k ∀ k ∈ [n],
Note that if we set ϵ = min a∈A,k∈[n] La,k 2 in Theorem 4.1, then
Therefore, we only get a multiplicative violation of individual fairness for ϵ = min a∈A,k∈[n] La,k 2 .
4.1 Model Formulation
We begin by formulating a Linear Programming (LP) model for our problem, specifically tailored to address Theorem 4.1. A more extensive LP formulation, applicable to all our theorems, including Theorem 3.7, which integrates additional lower group fairness constraints, is detailed in Section 5 of the full version [Panda et al., 2024]. Since items are assumed to be indivisible, we assume that the group fairness bounds are integers.
LP 4.2.
LP 4.2 is a relaxation of the Integer Linear Programming (ILP) formulation of our problem with group and individual fairness constraints. In the ILP version, xap = 1 iff the edge (a, p) is picked in the matching and 0 otherwise. Constraints 5 and 6 capture the individual fairness and group fairness requirements, respectively.
Before delving into the algorithm and the proof sketch of Theorem 4.1, it is essential to note that LP 4.2 may become infeasible if the fairness constraints are inconsistent. This is possible due to the individual fairness constraints. To address this, one could introduce a variable to calculate the smallest multiplicative relaxation of the fairness constraints required to ensure the feasibility of LP 4.2. This method is detailed in the section titled 'Dealing with infeasibility' in the full version [Panda et al., 2024].
Algorithm 1: O(∆logn)-BicriteriaApprox(I = (G, A1 · · · Aχ,⃗l, ⃗u, ⃗L, ⃗U), ϵ)
Input : I, ϵ
Output : Distribution over matchings satisfying the guarantees in Theorem 4.1.
- 1 Solve LP 4.2 on G with the parameters in the input instance, I, and store the result in x.
0, D ← ϕ
3 while ∥x(i) ∥1 ≥ ϵ do
4
i ← i + 1, G(i) ← G(i-1) - {(a, p) | x(i-1)
ap = 0}
5 Greedily find a Maximal MatchingM (i) in G(i) such that constraints (6) are not violated.
11 if D == ϕ then
12 Return 'Infeasible'
13 Return D
4.2 Algorithm
First, we describe our algorithm (Algorithm 1) and its intuition. The key idea is to express a feasible solution, x, of LP 4.2 as a convex combination of integer group-fair matchings. This approach allows us to satisfy our probabilistic individual fairness constraints by sampling from the probability distribution corresponding to this convex combination. If the groups are not disjoint, as is the case in our problem, then it is not known whether such a convex combination exists. Therefore, we show that x-x† f can be written as a convex combination of integer group-fair matchings, where ∥x† ∥1 < ϵ for some ϵ > 0 and f = O(∆ log n). Algorithm 1 computes such a convex combination.
The algorithm begins with a feasible solution of LP 4.2 solved on the input instance I, denoted by variable x. At round i of the while loop (step 3), G(i) denotes the state of the input graph after the ith iteration. It is a graph where edges with a corresponding zero value in x(i-1) are discarded in Step 4. M(i) represents a group-fair maximal matching computed on G(i) in step 5, and x(i) denotes the state of x after i rounds. It is the residue after a scaled downM (i) is "deducted" from x(i-1) in step 8. α(i) , denoting the minimum non-zero value associated with any edge in x(i-1) (step 6), is used to scale down M (i) before "deducting" it from x(i-1) to ensure nonnegative values in x(i) . The algorithm terminates when the value of ||x(i) ||1 goes below ϵ. D returned by Algorithm 1 consists of tuples, and each tuple consists of a group-fair matching because M (i) is group-fair and its corresponding coefficient, α(i) sum . If the loop terminates after k rounds, sum= ∑ki=1 α(i) . Clearly, ∑ki=1 α(i) sum = 1, therefore, D is a distribution over group-fair matchings.
One key intuition behind Algorithm 1 is that in every iteration, we start with a solution, x(i-1) , that satisfies groupfairness constraints (Equation (6)), which allows us to greedily compute a group-fair matching M (i) in the support of x(i-1) (step 5 of Algorithm 1). This ensures that step 5 always returns a non-empty group-fair matching as long as x(i-1) has non-zero entries.
Next, we provide a proof overview of Theorem 4.1 using Algorithm 1. The proof of Theorem 4.1 is detailed in the full version [Panda et al., 2024].
4.3 Proof Overview
The proof of Theorem 4.1 is based on a careful analysis of our simple (and fast) greedy algorithm (Algorithm 1). We first construct an LP for our problem, concentrating solely on group-fairness constraints [Definition 3.1], excluding individual fairness constraints. This LP, ( LP 4.3), and its dual (LP 4.4), facilitate our analysis. This choice is made because, instead of grounding our analysis on LP 4.2, it suffices to focus on LP 4.3, as clarified in Observation 4.5.
LP 4.3.
LP 4.4.
Observation 4.5. Any feasible solution of LP 4.2 is also a feasible solution of LP 4.3
We show that the size of the matching M (i) , in the ith round of Algorithm 1, is at least ∥x(i-1) ∥1 ∆+1 using dual fitting analysis technique [Williamson and Shmoys, 2011; Vazirani, 2013; Jain et al., 2003] in the full version [Panda et al., 2024][Lemma 4.7]. We update the LP solution to x(i) by "removing" α(i)M (i) from x(i-1) (step 8 of Algorithm 1). α(i) is the largest possible value such that the remaining LP solution is still a feasible solution of LP 4.3 after step 8. Therefore, if a "large" mass of the LP solution remains in the ith iteration, i.e., ∥x(i-1) ∥1 is large, then we make "large" progress in the current iteration. This can essentially be used to show that ∑ki=1 α(i) is bounded by fϵ = 2(∆+1)(log(n/ϵ) +1) when ∥x(i) ∥1 < ϵ ([Panda et al., 2024][Lemma 4.11]). Here, k is the total number of iterations by Algorithm 1. Finally, setting ˆx = x-x(k) fϵ , t = fϵ, and δ = ϵ fϵ in Lemma 4.6, proves the approximation guarantee on probabilistic individual fairness given by Theorem 4.1. Lemma 4.6 is stated below.
| Dataset | Sample Size | ∆ | UB SOL | approx | no. of mat- chings | run-time (s) |
|---|---|---|---|---|---|---|
| EA | 1000 | 3 | 5.43 | 191.2 | 892 | 11 |
| EA | 2000 | 3 | 7.24 | 196.8 | 1871 | 60 |
| EA | 3000 | 4 | 9.19 | 250 | 2786 | 180 |
| EA | 5000 | 4 | 15.98 | 254 | 4651 | 900 |
| GA | 8707 | 12 | 7.92 | 652 | 3836 | 540 |
Lemma 4.6. Let us consider a set of tuples, D = {(M (i) , β(i) )}i∈[k], where M (i) is an integer matching and β(i) is a scalar, ∀i ∈ [k], where k ∈ Z. Let ˆx = ∑ki=1 β(i)M (i) such that ∑ki=1 β(i) = 1, and ∥ˆx - xt ∥1 ≤ δ where x is any feasible solution of LP 4.2, δ ∈ [0, 1), and t ≥ 1. The probability that an item, a ∈ A, is matched to a platform p ∈ Ra,k, ∀k ∈ [m], in a matching sampled from the support of D is
The proof of Lemma 4.6 can be found in the full version [Panda et al., 2024]. We use Lemma 4.6 to prove the individual fairness guarantees provided not just in Theorem 4.1 but also in the rest of the theorems.
5 Experiments
In this section, we apply our main algorithm 1 from Theorem 4.1, on two real-world datasets. The runtime bottleneck of our primary solution (Algorithm 1) is the execution time of LP 4.3. LP 4.3 has a polynomial number of variables and constraints, and Algorithm 1 solves it exactly once. Therefore, this solution is scalable with practical LP solvers. In our experiments on standard datasets, the algorithm performs much better than the 2(∆ + 1)(log(n/ϵ) + 1) approximation guarantee provided by Theorem 4.1. Here n is the total number of items, ∆ is the maximum number of groups an item can belong to, and ϵ > 0 is a small value. There are no comparison experiments since there are no benchmarks for solving this exact problem. We use experiments to validate and demonstrate the practical efficiency of Algorithm 1.
5.1 Datasets
Employee Access Data[EA] 1 : This data is from Amazon, collected from 2010-2011, and published on Kaggle. We sample from the testing set with 58921 samples for our experiments. Each row in the dataset represents an access request made by an employee for some resource within the company. In our model, the employees and the resources correspond to items and platforms, respectively, and each request represents an edge. We group the employees based on their role family. An employee can make multiple requests, each under a different role family. Therefore, each item could have multiple edges and belong to more than one group. We run our experiments on datasets of sizes 1000, 2000, 3000, and 5000 sampled from this dataset.
1 https://www.kaggle.com/datasets/lucamassaron/amazonemployee-access-challenge
Grant Application Data[GA] 2 : This is the University of Melbourne's dataset on grant applications collected from 20042008 and published on Kaggle. We use the entire dataset of size 8,707 for our experiments. In our model, the applicants and the grants correspond to items and platforms, respectively, and each grant application represents an edge. We group the applicants based on their research fields. The same applicant can apply to different grants under different research fields represented as RFCD code Therefore, each item could have edges to multiple platforms and belong to more than one group.
5.2 Experimental Setup and Results
We implement our algorithm in Python 3.7 using the libraries NumPy, scipy, and Pandas. All the experiments were run using Google colab notebook on a virtual machine with Intel(R) Xeon(R) CPU @ 2.20GHz and 13GB RAM. Both the datasets for our experiments are taken from Kaggle. We run our experiments on one complete dataset and three different sample sizes on another dataset. The sample size denotes the total number of rows present in the unprocessed sample. The total number of edges can differ from the sample size after data cleaning like removing null values and dropping duplicate edges if any. For group fairness bounds, we set all the upper bounds for each platform group pair to kn mg , where n is the number of items, m is the number of platforms, g is the number of groups, and k = ⌈ mg n ⌉. n mg is a uniform distribution of the items amongst group-platform pairs, however, if n mg < 1, step 5 in Algorithm 1 would always result in an empty matching. Therefore, to avoid that, the factor k is added. For individual fairness constraints, we first choose a random permutation of the platforms to create a ranking and then add constraints such that an item should have r2 % chance of being matched to a platform in the top r positions in the ranking. For all the runs, ϵ = 0.0001.
We use the solution to LP 4.2 to upper bound OPT . We denote it by UB, and SOL denotes the expected size of the solution given by Algorithm 1 on different samples. Let 'approx'= 2(∆ + 1)(log(n/ϵ) + 1). In Table 2, we compare the actual approximation ratio, UB/SOL, with the theoretical one, 'approx'. As seen in Table 2, in our experiments on standard real datasets, the algorithm performs much better than the worst-case theoretical guarantee of Algorithm 1. We repeatedly apply our approximation algorithm from Theorem 4.1 on multiple datasets sampled from the Employee Access dataset under the same experimental setup except for the ϵ-value which is now set to 0.001. We see that the algorithm continues to perform much better than the approximation guarantee of 2(∆+1)(log(n/ϵ)+1) shown in Section 4. The results can be seen in the full version [Panda et al., 2024].
Acknowledgements
We thank Shankar Ram for the initial discussions. AP was supported in part by the Empower Programme of the Kotak IISc AI-ML Centre and the Walmart Center for Tech Excellence at IISc (CSR Grant WMGT-23-0001). AL was supported in part by SERB Award CRG/2023/002896, Pratiksha Trust Young Investigator Award and the Walmart Center for Tech Excellence at IISc (CSR Grant WMGT-23-0001). PN was supported by SERB Grant CRG/2019/004757.
2 https://www.kaggle.com/competitions/unimelb/data
Contribution Statement
AL and PN contributed equally to this paper.
@inproceedings{ijcai2024p20,
title = {Individual Fairness under Group Fairness Constraints in Bipartite Matching - One Framework to Approximate Them All},
author = {Panda, Atasi and Louis, Anand and Nimbhorkar, Prajakta},
booktitle = {Proceedings of the Thirty-Third International Joint Conference on
Artificial Intelligence, {IJCAI-24}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Kate Larson},
pages = {175--183},
year = {2024},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2024/20},
url = {https://doi.org/10.24963/ijcai.2024/20},
}
TY - CPAPER TI - Individual Fairness under Group Fairness Constraints in Bipartite Matching - One Framework to Approximate Them All AU - Panda, Atasi AU - Louis, Anand AU - Nimbhorkar, Prajakta T2 - Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI-24 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2024 SP - 175 EP - 183 DO - 10.24963/ijcai.2024/20 UR - https://doi.org/10.24963/ijcai.2024/20 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: