A Taxation Perspective for Fair Re-ranking
Abstract.
Fair re-ranking aims to redistribute ranking slots among items more equitably to ensure responsibility and ethics. The exploration of redistribution problems has a long history in economics, offering valuable insights for conceptualizing fair re-ranking as a taxation process. Such a formulation provides us with a fresh perspective to re-examine fair re-ranking and inspire the development of new methods. From a taxation perspective, we theoretically demonstrate that most previous fair re-ranking methods can be reformulated as an item-level tax policy. Ideally, a good tax policy should be effective and conveniently controllable to adjust ranking resources. However, both empirical and theoretical analyses indicate that the previous item-level tax policy cannot meet two ideal controllable requirements: (1) continuity, ensuring minor changes in tax rates result in small accuracy and fairness shifts; (2) controllability over accuracy loss, ensuring precise estimation of the accuracy loss under a specific tax rate. To overcome these challenges, we introduce a new fair re-ranking method named Tax-rank, which levies taxes based on the difference in utility between two items. Then, we efficiently optimize such an objective by utilizing the Sinkhorn algorithm in optimal transport. Upon a comprehensive analysis, Our model Tax-rank offers a superior tax policy for fair re-ranking, theoretically demonstrating both continuity and controllability over accuracy loss. Experimental results show that Tax-rank outperforms all state-of-the-art baselines in terms of effectiveness and efficiency on recommendation and advertising tasks.
1. Introduction
Ranking tasks such as recommendation and advertising is important in personalized information filtering for users (Xu et al., 2018). However, recent studies (Patro et al., 2020; Deldjoo et al., 2022) have revealed that prioritizing ranking accuracy will lead to significant unfair exposures of items, threatening the ethics and stability of ranking systems. Recently, many fair re-ranking methods (Patro et al., 2020; Deldjoo et al., 2022) have been developed to redistribute ranking slots among items more equitably by transforming the problem into a resource redistribution problem (Xu et al., 2023a).
The investigation of resource redistribution has a long history in economics (Hanlon and Heitzman, 2010; Nerré, 2001), offering economic insights for examining the task of fair re-ranking. For example, as shown in the left part of Figure LABEL:fig:intro (a), federal taxes are structured to redistribute subsidies to the poor while aiming to minimize the sacrifice of social welfare. Similarly, as shown in the right part of Figure LABEL:fig:intro (a), the goal of fair re-ranking is to redistribute items, aiming for a more equitable distribution of ranking slots, without significantly compromising ranking accuracy. Since both taxing and fair re-ranking are essentially redistributing resources, we can examine fair re-ranking from the view of taxation. Intuitively, fair re-ranking can be viewed as taxing exposure from “rich” items (with more exposure) and redirects it to “poor” items (have less exposure) in Figure LABEL:fig:intro (a).
Viewing fair re-ranking as a taxation process provides a fresh perspective to re-examine previous fair re-ranking methods and inspire new approaches. From a taxation perspective, we can theoretically show that most previous fair re-ranking methods (Wu et al., 2021; Patro et al., 2020; Xu et al., 2023a; Do and Usunier, 2022a; Naghiaei et al., 2022) can be reformulated as an item-level tax policy, which imposes an additional tax on each item (see Section 4.1). In economics, a good tax policy should be effective and conveniently controllable to adjust ranking resources (Hanlon and Heitzman, 2010; Nerré, 2001). However, we observe that the item-level tax policy derived from previous fair re-ranking methods fails to meet these two ideal controllability criteria for taxation: (1) Continuity, implying that slight variations in tax rates lead to minor shifts in performances. As shown in the left part of Figure LABEL:fig:intro (b), When tax rates vary, previous methods exhibit numerous breakpoints in fairness and accuracy performance, indicating poor continuity. (2) Controllability over accuracy loss, ensuring an accurate estimation of accuracy loss caused by a specific tax rate. However, previous methods are uncertain about such accuracy loss (refer to Section 4.2 for a more detailed theoretical analysis). These two requirements are important for a tax policy since continuity ensures the stability of the tax rate, while controllability over accuracy loss ensures better management of the trade-off between fairness and accuracy.
To meet the two aforementioned essential criteria for the taxation process for fair re-ranking, in this paper, we introduce a novel fair ranking method, termed Tax-rank. Differing from the item-level tax policy, Tax-rank introduces a distinct fair re-ranking optimization objective, which levies taxes based on the difference in utility (e.g., exposure) between two items. A detailed geometric explanation of such a taxation process is in Section 5.2.1. Upon a comprehensive analysis, our taxation process presents two key advantages: (1) Tax-rank demonstrates greater effectiveness as it adheres to continuity w.r.t. tax rates, as depicted in the right part of Figure LABEL:fig:intro (b). (2) Tax-rank offers enhanced controllability over accuracy loss, as we can provide an upper bound, showcasing the maximum accuracy loss across different tax rates. More detailed theoretical analyses are in Section 5.2.2.
Meanwhile, we propose an effective algorithm to implement the taxation process of Tax-rank efficiently. We first present an easily solvable lower-bound function for the optimization objective of Tax-rank. However, the solution of the lower-bound function does not satisfy the ranking constraint, which requires fixed-sized items (i.e. Top-K ranking) for each user. To solve this issue, we utilize the Sinkhorn algorithm (Swanson et al., 2020) of optimal transport (Pham et al., 2020; Peyré et al., 2019) to project non-compliant solutions onto solutions that satisfy the ranking constraint.
We summarize the major contributions of this paper as follows:
(1) We re-conceptualize the fair re-ranking task as a taxation process and re-examine the previous fair re-ranking methods from a novel taxation perspective.
(2) We introduce a novel fair re-ranking method named Tax-rank, incorporating a new optimization objective based on the taxation process and utilizing the Sinkhorn algorithm for efficient optimization. Theoretical evidence indicates that Tax-rank exhibits superior continuity and systematic controllability.
(3) We conduct extensive experiments on two publicly available recommendation and advertising datasets, demonstrating that Tax-rank outperforms state-of-the-art baselines in terms of both fair ranking performance and efficiency.
2. Related Work
Recently, fair re-ranking tasks have become a compelling and pressing issue, driven by the need for a responsible and trustworthy ecosystem (Li et al., [n. d.]; Lipani, 2016; Deldjoo et al., 2022; Patro et al., 2022). Fairness concept in re-ranking varies for multi-stakeholders settings (Abdollahpouri et al., 2020), such as user-oriented fairness (Abdollahpouri et al., 2019; Li et al., 2021) and item-oriented fairness (Patro et al., 2020; Xu et al., 2023a; Wang et al., 2022; Singh and Joachims, 2019). The concept of user fairness suggests that ranking models should avoid delivering significantly disparate outcomes to users based on their sensitive attributes (Matsumoto and Juang, 2016; Tyler and Smith, 1995; Li et al., 2021). On the other hand, item fairness is more related to distributive justice (Tyler and Allan Lind, 2002; Lamont, 2017), which requires an equitable reallocation of ranking results for items within a healthy ecosystem. In this paper, our primary focus is on applying an economic perspective to reconsider item-fair re-ranking tasks.
Regarding item fair re-ranking, previous work can be divided into two types: one is regularized methods, which used a multi-task optimization approach with a linear combination of accuracy and fairness loss functions, incorporating a trade-off coefficient (Xu et al., 2023a; Do and Usunier, 2022a; Naghiaei et al., 2022). Another approach employed constraint-based methods, formulating the task as a constrained optimization problem to ensure that fairness metrics do not exceed a specified threshold (Wu et al., 2021; Biswas et al., 2021; Zafar et al., 2019; Patro et al., 2020). For measuring fairness, both of the methods utilize different fairness metrics: Ben-Porat and Tennenholtz (2018); Patro et al. (2020); Biswas et al. (2021) proposed the Shapley value to optimize fairness; Do and Usunier (2022b) proposed to optimize Gini Index (Do and Usunier, 2022b), Xu et al. (2023a); Do et al. (2021) proposed to optimize max-min fairness function and Jiang et al. (2021) suggested to use the variance (distance) of different item utilities to measure the item fairness. Despite achieving significant performances, existing methods show poor continuity and systematic controllability under a taxation perspective for fair re-ranking.
In the economic field, the resource is usually allocated through first distribution and re-distribution process (Lambert, 1992). In the process of redistribution, taxation is frequently employed as a mechanism to redistribute wealth and tackle income inequality (Hanlon and Heitzman, 2010; Nerré, 2001). There are usually two types of taxation methods: (1) flat tax rates, such as property tax (Oates, 1969), which are designed with different fixed rates based on the varying amounts of property; (2) progressive tax, such as income taxes (Poulson and Kaplan, 2008) and payroll taxes (Brittain, 1971), typically involve progressive tax rates that increase as a taxpayer’s earnings increase. Process tax often is regarded as a more useful but complex taxation method. Previous tax policies resemble a flat tax, whereas Tax-rank adopts a closer resemblance to a progressive tax. Finally, the Tax-rank policy is more closely related to -fair optimization in cooperative games (Bertsimas et al., 2011, 2012). However, these approaches are not suitable for fair re-ranking tasks.
3. Problem Formulation
We first define some notations for the problem. For vector , let denote the -th element of the vector. For vector , let denote the element of -th row and -th column.
In this section, we will first formulate the ranking task. Let representing the set of users, and representing the set of items. When a user arrives, the ranking system will give the user a ranking list , which has fixed-size items.
Then, we define the item utility in the ranking task. Let be the utility of item . In the context of ranking, is typically defined as the accumulated utilities of item across all ranking lists when users arrive (e.g., could be total exposure or click numbers of item within a day). Formally, is defined as , where denotes item is in the ranking list of user (i.e., ), otherwise, . If , the item will receive an utility . Typically, has two possible definitions: (1) item exposure (Xu et al., 2023a; Patro et al., 2020), which implies that if an item is exposed to a user once, it will gain one unit of utility (i.e., ). (2) item click (Yang et al., 2019; Liu et al., 2021), which implies that if an item is clicked by a user, it will gain one unit of utility. Since we do not know whether a user will click an exposed item, we utilize the estimated probability of a user clicking on an item (i.e., click-through-rate (CTR) value) as the value of .
Finally, the goal of fair re-ranking is to balance the various utilities of items more equitably. That is, on the one hand, aims to maximize the weighted sum of their utilities (), where is the item weight or bidding value (Yang et al., 2019). On the other hand, aims to achieve as even utilities () as possible.
4. Taxation Perspective for Fair Re-ranking
In this section, we utilize the taxation perspective to re-think the fair re-ranking problem.
4.1. Fair Re-ranking as Tax Policy
Firstly, the objectives of the previous fair re-ranking can be mainly divided into either regularization-based optimization (Xu et al., 2023a; Do and Usunier, 2022a; Naghiaei et al., 2022; Patro et al., 2020) or constraint-based optimization (Wu et al., 2021; Patro et al., 2020; Biswas et al., 2021; Zafar et al., 2019). Specifically, the objectives of regularization-based and constraint-based are formulated in Equation (1) and Equation (2), respectively:
(1) |
(2) |
where , is the feasible region of variable , is a trade-off coefficient, and is the pre-defined fairness threshold. The function is the fairness function, which aims to measure the disparity of different items’ utilities. Note that in previous literature, has many forms: (Xu et al., 2023a; Patro et al., 2020; Biswas et al., 2021), (Naghiaei et al., 2022; Tang et al., 2023) and any other forms (Li et al., [n. d.]).
Then, in Theorem 1, we will illustrate that both of the objectives can be interpreted as a taxation process, which imposes an additional tax rate and a taxation value on each item .
Theorem 1.
Then optimal fair re-ranking result with specific tax rate can be achieved as:
(3) |
where and
In simpler terms, the ranking score is like the original score but with the addition of item-level taxation with the tax rate of . The tax rate is calculated as
where .
The proof of the Theorem 1 can be seen in Appendix A. From Theorem 1, we can see that previous fair re-ranking methods can be regarded as an item-level tax policy with the taxation value as for ranking score . Meanwhile, we find that the tax policy is a well-studied knapsack problem (Salkin and De Kluyver, 1975), where we can only choose the top K items with the highest scores .
4.2. Re-examine Fair Re-ranking
Through examination, we theoretically demonstrate that previous item-level tax policies of fair re-ranking lack continuity and controllability over accuracy loss.
4.2.1. Non-continuity.
In Theorem 2, we will establish the non Lipschitz continuous (Hager, 1979) of the optimization objective for the existing taxation w.r.t. the tax rate :
Theorem 2.
When is not continuous, and is non Lipschitz continuous wrt the tax rate . Formally, , when , , where .
The detailed proof of Theorem 2 can be seen in Appendix B. Intuitively, the binary variable under the item-level policy and the non-differentiable property of some lead to the non-continuity. The Theorem 2 tells us a slight change in tax rates leads to significant shifts in fair re-ranking performances.
4.2.2. Non-controllability over accuracy loss.
we will establish the definition of the price of taxation (POT) (Bertsimas et al., 2011) as the maximum ranking accuracy loss across various taxation levels, formulated as the ratio of ranking accuracy loss to the maximum accuracy:
(4) |
where denotes the ranking accuracy (here, accuracy refers to the overall user-item ranking scores that these items are exposed to by users) under existing tax rate , i.e.,
and is the optimal result with specific tax rate . Upon examining Equation (3), it becomes evident that the relationship between the ranking result and the tax rate is non-linear and non-continuous (refer to Theorem 2 and the non-linear of the fairness function (Xu et al., 2023a; Patro et al., 2020)). Simultaneously, it is noteworthy that Equation (3) represents a well-studied integral knapsack problem (Salkin and De Kluyver, 1975), and obtaining an upper bound for such a non-linear and non-continuous knapsack problem remains a huge challenge (Cacchiani et al., 2022). Therefore, we are uncertain about the extent to which a specific tax rate will incur accuracy losses.
4.3. Insights from Taxation Perspective
Through the lens of taxation, the fair re-ranking mechanism operates as a dynamic adjustment tool, adapting to various systematic objectives during both periods of economic prosperity and downturn. During periods of prosperity in the ranking system, there is typically a surge in user traffic, and providers are willing to offer a greater variety of items. However, the increased competition during such periods may result in unfairness, as it can lead to a long-tail effect and the monopolization of specific items (Abdollahpouri et al., 2017). During such periods, strategically increasing the tax rate can enhance fairness, fostering a healthier ecosystem (Xu et al., 2023a). On the other hand, during economic downturns in the ranking system, user traffic tends to decrease, and providers may exhibit reduced enthusiasm for participation. In such a period, appropriately reducing tax rates can incentivize provider competition, attracting more users to the system and ensuring economic vitality. Therefore, a good fair re-ranking method not only needs to be effective but also provide a conveniently controllable way to select an appropriate hyper-parameter (e.g., tax rate) for regulating fairness degree.
5. Tax-rank
To overcome the previous tax policy issues, we propose an improved fair re-ranking method named Tax-rank.
5.1. Optimization Objective
In this section, we will first introduce the proposed taxation optimization objective of Tax-rank. Drawing inspiration from the welfare function (Bertsimas et al., 2012), we levy taxes based on the difference in utility between two items: tax the higher utility of item and redirect to the item (i.e., ) with the value as . Then the overall optimization objective will be
(5) |
where is the feasible region of variable . Intuitively, to keep the social welfare function unchanged, for every additional unit of utility gained by the “poor” item , the “rich” item has to pay the tax value of with their weight and .
Note that, Tax-rank introduces a relaxation of the binary solution for , transitioning it into a continuous version. Here, can be interpreted as the recommendation probability assigned to each item, allowing us to leverage a multi-nominal sample technique to generate ranking lists. represents the tax rate, where a higher value results in a more fair results.
When , the optimization objective reduces to the accuracy-first objective; When tax rate , the objective can be reduced to Nash solution (Nash Jr, 1950), where the tax rate will make the item utilities proportional to its weight, i.e., . When approaches , the optimization objective reduces to max-min form , leading to even utility for every item.

5.2. Optimization Objective Analysis
In this section, we will give a formal analysis of our optimization objective in a geometric view and its controllable requirements.
5.2.1. Geometric explanation for our taxation process
To gain a better understanding of Tax-rank, we visualize the geometric to show our taxation process for taxing the difference in utility between two items. In Figure 2, the ranking system only has two items and ranking size . The x-axis and y-axis represent the expected click numbers of items 1 and 2 (see Section 3). We set their weight . The green area describes the feasible region of all the possible values of and under ranking constraint. The circle points are optimal solutions under different tax rates . The line in Figure 2 (b) represents the tangent between the optimization objective and the feasible region.
In Figure 2 (a), we observe that when (red points), prioritizing overall utility ; at (yellow points), the tax rate will make the item utilities proportional to its weight, i.e., . At (blue points), the two items will share the same utility, i.e., . In Figure 2 (b), we give a geometric explanation to show the optimal points change w.r.t. tax rate. From Figure 2, the optimal points must stay in the boundary lines (i.e., Pareto frontier) of the ranking feasible region (see detailed proof in (Bertsimas et al., 2011)). Therefore, the optimal points should be the tangent points between the contours of the optimization objective and the Pareto front. Let’s consider the taxation process in two-dimensional space.
For example, in Figure 2 (b), when , the red point is the tangent point between the red line and the Pareto front. When , a tax of is applied to from to along the red line if , which means the slope becomes . When , similar operation also make the slope becomes . Then the taxation process leads to the optimization function of (orange line). Similarly, , a tax of is applied at each point on the red line, resulting in a slope of each point become and for each point when and , respectively. Such taxation process leads to the objective becomes (blue line). Without loss of generality, tax the value as for every will transform the objective into the Equation (5).
In summary, the tax process of imposing taxes based on the disparity in utility between two items will determine the optimization objective of Equation (5) by influencing the slope of each point in the geometric perspective.
5.2.2. Controllable requirements
we demonstrate the optimization objective meets two ideal controllable requirements: continuous and controllability over the accuracy loss.
Continuity. Firstly, the Tax-rank policy adheres to the Lipschitz continuity property (Hager, 1979) of the optimization objective associated with the existing taxation concerning the tax rate . Because we can easily observe that takes an exponential form w.r.t. , and their first-order derivatives are also continuous (Lan et al., 2010). Meanwhile, transforming the binary solution of previous methods to a continuous solution also ensures feasible region is continuous.
Controllability over accuracy loss. For the bound the maximum ranking accuracy loss across different taxation degrees under varying tax rates , we will have the following Theorem:
Theorem 1.
The price of taxation (POT) of Tax-rank is bounded:
(6) |
where denotes the accuracy under Tax-rank tax policy with tax rate , i.e., is the optimal fair re-ranking result with specific tax rate in Equation (5).
5.3. Algorithm
The overall algorithm workflow can be seen in Algorithm 1. We observe that directly optimizing the Equation (5) is NP-hard since it is a non-linear, large-scale, and integral programming (Bertsekas, 1997). Therefore, firstly, we construct an easy-solved standard programming (lines 1-2), which is the lower bound function of Equation (5). Then we apply the OT projection to obtain the final ranking result (lines 3-9).
5.3.1. Lower Bound Function Construction
Lemma 0.
There exists , s.t. we have
(7) | ||||
s.t. | ||||
This lemma can be easily achieved when Let be the optimal value of the variable , which represents the accumulated exposure of items over all users. Then we will apply the Sinkhorn algorithm (Pham et al., 2020) to project the averaged exposure to recommendation decision variable discussed in Section 3.
5.3.2. Optimal Transport Projection
We obtain the final ranking result by utilizing the following sample process, where (i.e. ranking score distribution) is derived from the OT projection process.
(8) |
where it implies sampling non-repeated items to user according to the recommended probability of item .
We construct a matrix , where the element . An OT problem can be formulated as:
(9) |
where denotes a vector of ones, denotes the optimal value of Equation (7) and is the coefficient of entropy regularizer. results transport plan lies on the Pareto frontier and which forces the variable into the feasible region . The constraint condition ensures that the ranking satisfies the limitation that each user can only be ranked among the top items, and it also guarantees that the exposure of each item aligns optimally with the predefined exposure vector .
This problem can be efficiently solved by the Sinkhorn algorithm (Swanson et al., 2020), where the solution of the form , where diag denote the generating diagonal matrix from vector,, and , , which iteratively computes where denotes element-wise division.


6. Experiment
We evaluate Tax-rank using two publicly available ranking datasets333The source codes have been shared in https://github.com/XuChen0427/Tax-rank.
6.1. Experimental settings
Dataset. The experiments were based on two large-scale, publicly available ranking applications, including: Yelp444https://www.yelp.com/dataset: a large-scale businesses recommendation dataset. It has 154543 samples, which contain 17034 users, 11821 items. Ipinyou (Liao et al., 2014)555http://contest.ipinyou.com/: a large-scale advertising dataset. We only use the clicked data, which contains 18588 samples, which contains 18565 users, and 149 advertisements. During the pre-processing step, users and items that had interactions with fewer than 5 items or users were excluded from the entire dataset to mitigate the issue of extreme sparsity.
Evaluation. As for the evaluation metrics, the performances of the models were evaluated from two aspects: ranking accuracy, and fairness degree. As for the ranking accuracy, following the practices in (Wu et al., 2021; Xu et al., 2023b; Yang et al., 2019), we utilize excepted Click/Exposure Number (eCN) for recommendation and expected Cost Per Mile (eCPM) for advertising under top- ranking.:
(10) |
where, denotes the bidding price of an advertisement, while is calculated using Equation 5, which is dependent on the .
As for the fairness degree, we utilize the Gini Index (Do and Usunier, 2022b; Do et al., 2021), which is the most common measure of item utility inequality under top- ranking. Formally, it is defined as:
(11) |
where it ranges from 0 to 1, with 0 representing perfect equality (every item has the same utility), and 1 representing perfect inequality (one item has all the utility, while every item else has none).
Baselines. The following representative item fairness models were chosen as the baselines: FairRec (Patro et al., 2020) and FairRec+ (Biswas et al., 2021) proposed to ensure Max-Min Share (-MMS) of exposure for the items. P-MMF (Xu et al., 2023a) utilized the mirror descent method to improve the worst-off item’s utility. Moreover, we also compare Welf (Do et al., 2021), which also used the Frank-Wolfe algorithm to optimize a similar exponential form of optimization objective for two-sided fairness.
6.2. Experimental Results
Figure 3 and Figure 4 shows the Pareto frontiers (Xu et al., 2023a) of Gini Index (abbreviated as Gini.) and eCN/eCPM on two application datasets with different ranking size . Figure 3 is generated using CTR-based settings, as described in Section 3, where the item utilities are defined as the expected number of clicks within a specified time period. On the other hand, Figure 4 is generated using exposure settings (also see Section 3), where the item utilities are defined as the expected number of exposures. The Pareto frontiers (Lotov and Miettinen, 2008) are constructed by systematically adjusting various parameters of the models and then selecting the points with the best performance in terms of both Gini@K and eCN@K/eCPM@K, resulting in an optimized trade-off between item fairness and total utilities.
Firstly, it is evident that a trade-off exists between ranking accuracy metrics (eCN@K or eCPM@K) and item fairness metric (Gini@K) w.r.t. the tax rate . As the tax rate approaches , FairTax tends to prioritize ranking accuracy, and as the tax rate increases, FairTax tends to emphasize item fairness.
Moreover, compared with the baseline methods, it becomes evident that the proposed Tax-rank method consistently outperforms the baseline methods under both CTR-based and exposure-based settings (as indicated by the Tax-rank curves occupying the upper right corner). This Pareto dominance signifies that, for a given eCN@K or eCPM@K level, Tax-rank achieves superior Gini@K values, and for a given Gini@K level, it attains better eCN@K or eCPM@K performance. These results highlight that Tax-rank significantly outperforms the baseline methods.


6.3. Experimental Analysis
We also conducted experiments to analyze our proposed Tax-rank on Yelp dataset for top-10 ranking. Similar phenomena can be observed in other datasets and with different top-k settings.
6.3.1. Continuity
Firstly, we experiment to assess the continuity of the proposed Tax-rank and other baseline methods by adjusting the tax rate or other parameters related to fairness. As shown in Figure 5, we draw the Lorenz Curve (Gastwirth, 1971) of three best-performing baselines and our model Tax-rank under different tax rate or other parameters. Since Lorenz Curve is a graphical representation that vividly illustrates income or wealth distribution within a population, providing insights into the level of inequality in economics.
Figure 5 shows the proportion of overall exposure percentage assumed by the bottom % items. In simpler terms, the Lorenz Curve reveals the percentage (y%) of the total exposures accumulated by the worst-off of items in the distribution. From Figure 5, it is evident that as the tax rate changes from to , Tax-rank exhibits superior continuity. This is observed by the nearly averaged increase in the colored area between the two Lorenz Curves (can also be viewed as the fairness increasing value when increasing tax rate ). It indicates a more consistent response to a tenfold increase in the tax rate. On the contrary, as the tax rate changes, baselines, exhibit either minimal alterations (P-MMF) or an uneven increase (Welf and FairRec) in the colored area. This implies that a minor adjustment in the fair-aware parameter will result in a more significant performance alteration compared to Tax-rank.
6.3.2. Controllability over accuracy loss.
Then, we experiment Figure LABEL:fig:analysis_1 (a) to demonstrate how the price fairness of the taxation (POT) changes of Tax-rank and baseline P-MMF w.r.t. variations in the tax rate , ranging from to . Since P-MMF is a represented and best-performing tax policy in Theorem 1.
From the curve, it is evident that as we increase the tax rate , our proposed Tax-rank and P-MMF approach leads to a reduction in the total ranking accuracy. Firstly, it is evident that the POT achieved by Tax-rank is notably lower compared to that of P-MMF, highlighting the effectiveness of the Tax-rank approach. Secondly, we can also observe that the POT of Tax-rank obeys a smooth form, as the theoretical analysis results in Theorem 1. However, the previous ranking tax policies exhibit a more complex POT function form, resulting in poor systematic controllability.
6.3.3. Inference time.
We conduct experiments to investigate the total inference time of the Tax-rank method compared to other item fairness baselines. In our analysis, our objective is to assess the total inference time across various user sizes , within real-world ranking applications. Therefore, we conducted tests to measure the total inference time of various models in terms of the varying number of users, all while keeping the number of items constant.
Figure LABEL:fig:analysis_1 (b) reports the curves of total inference time (s) w.r.t. user size . It is worth noting that the Tax-rank method demonstrates remarkably low inference times, typically taking less than ten million seconds across different user sizes. Furthermore, when compared to other baseline methods, the inference time of these alternatives tends to increase either linearly or exponentially with changing user sizes, whereas Tax-rank consistently maintains a low inference time.
This is attributed to the fact that the CP solver process (Equation (7)) along with Tax-rank reduces the variable size from to and employs the OT algorithm to efficiently map the solution to each user. Therefore, Tax-rank method involves matrix operations with limited sensitivity to changes in user size.
6.3.4. Visualizing fair re-ranking results.
In Figure 6, we visualize the Tax-rank recommendation results under the tax rate of . In Figure 6, we visualize the ranking result matrix , where the elements denotes the probability of recommending item to user in Equation (9). We also visualize the utility vector , which is the amortized value for the columns value of (i.e., ). The utility vector represents the utility value associated with the ownership of item .
The results clearly demonstrate that the accuracy-first solution consistently ranks the most popular items highly for users, thereby enhancing overall utility but potentially leading to market dominance by a few top items. Regarding , Tax-rank tends to distribute rankings to items in proportion to their contribution to the market. For , Tax-rank method strives to provide equal exposure and similar utilities to every item in the ranking. The experiment also served as validation that Tax-rank method can effectively adapt to various fairness principles as intended.
6.4. Ablation Experiments
In this section, we aim to conduct ablation experiments for Tax-rank. To better investigate the performance of our model under different parameter settings, we also conduct a series of ablation experiments on the Yelp dataset under ranking size . Similar experiment results are also observed on other datasets and other ranking sizes .

6.4.1. OT regularizer coefficient .
In this section, we first conduct the ablation study for the OT regularizer coefficient (Equation (9), which trade-off the entropy loss to force the variable into the feasible region. Figure 8 illustrates how the ranking accuracy (eCN) and fairness metric (Gini) w.r.t. from .
Specifically, from Figure 8 (a), we can observe that when the tax rate is small (), the accuracy increases as becomes larger. When the tax rate is large (), the accuracy will decrease as becomes larger. From Figure 8 (b), We can observe that Gini remains relatively stable across the different . Moreover, as the tax rate increases, Tax-rank begins to prioritize fairness among items more prominently, resulting in a decrease in Gini.
The reason is the trade-off between the smoothness and convexity of the exposure probability distribution among items by tuning the parameter . A higher will emphasize more on the smoothness of the probability distribution, implying a reduced disparity in exposure among items. When tax rate is relatively small (), a slight reduction in the difference in exposure probability among items allows some items with lower to gain more exposure, resulting in an increase in eCN. However, when becomes larger, the increased smoothness of probability distributions results in a decrease in eCN consequently.
7. Conclusion
In this paper, we re-conceptualize the fair re-ranking task by framing it as a taxation process from an economic perspective. In theory, we reformulate previous fair re-ranking architectures as a tax process, which imposes an additional tax on each item. However, we find that previous fair re-ranking methods fail to satisfy two crucial taxation attributes: continuity and controllability over accuracy loss. To address this challenge, we introduce a novel fair re-ranking model named Tax-rank. The optimization objective of Tax-rank levies taxes based on the difference in utility between two items. For optimization, we introduce a highly effective and efficient algorithm to optimize the Tax-rank objective, employing the Sinkhorn algorithm in optimal transport. Theoretical evidence shows that Tax-rank has superior continuity and systematic controllability compared to existing methods. Through extensive experiments on two publicly available datasets, it is evident that Tax-rank outperforms state-of-the-art baselines in terms of both fair ranking performance and efficiency.
Acknowledgements.
This work was funded by the National Key R&D Program of China (2023YFA1008704), the National Natural Science Foundation of China (No. 62377044, 62276248), the Youth Innovation Promotion Association CAS (No. 2023111), Beijing Key Laboratory of Big Data Management and Analysis Methods, Major Innovation & Planning Interdisciplinary Platform for the “Double-First Class” Initiative, Public Computing Cloud, funds for building world-class universities (disciplines) of Renmin University of China. Supported by the Outstanding Innovative Talents Cultivation Funded Programs 2024 of Renmin University of China.Appendix
Appendix A Proof of Theorem 1
Proof.
Let denotes the -th largest element of . Firstly, we will prove Equation (2) can be written as the same form of Equation (1). By utilizing the Lagrange multiplier method, we can write the objective of Equation (2) as
where optimal value is , . Therefore, we can only analyze the form of Equation (1). Then following Xu et al. (2023a); Balseiro et al. (2021), we can also utilize the Lagrangian condition to break the relationship between and : where and
∎
Appendix B Proof of Theorem 2
Proof.
According the Theorem 1, we can know the Equation (2) and Equation (1) is equivalent. Therefore, we mainly analyze the continuity of regularizer-based form in Equation (1): . Then we will prove is not continuous w.r.t. tax rate .
We can observe that the binary ranking solution also leads to non-continuity. We can see that if the function changes, it implies that there exists an item being removed from a ’s ranking list, while simultaneously a new item is introduced and added to that ’s ranking list. Then the tax rate ’s changing value rate should be at least
to result a different recommendation results, where is the change value of fairness value when item is replaced with item . Since the is also often non-continuous, such as max-min form (Xu et al., 2023a), therefore, we have .
∎
Appendix C Proof of Theorem 1
Lemma 0.
Given the vector , , for any we have
(12) |
Proof.
We apply Hölder inequality, we have when ,
(13) |
Also, we have therefore, we have Let , we have
(14) |
∎
Then we will give a formal proof of Theorem 1.
Proof.
From Lemma 2, we can also write :
(15) |
where , the input optimal value is , which represents be the best allocation under the -fairness criterion. We briefly let denotes the accuracy value of .
Firstly, we will bound the : without generality, we assume:
(16) |
The necessary first-order condition for the optimality of can be expressed as:
The equation can be equivalently written as:
(17) |
where We observe the Equation (17), which is a well-studied knapsack problem (Salkin and De Kluyver, 1975), with the best solution:
(18) |
since according the Equation (16), we have
∎
References
- (1)
- Abdollahpouri et al. (2020) Himan Abdollahpouri, Gediminas Adomavicius, Robin Burke, Ido Guy, Dietmar Jannach, Toshihiro Kamishima, Jan Krasnodebski, and Luiz Pizzato. 2020. Multistakeholder recommendation: Survey and research directions. User Modeling and User-Adapted Interaction 30, 1 (2020), 127–158.
- Abdollahpouri et al. (2017) Himan Abdollahpouri, Robin Burke, and Bamshad Mobasher. 2017. Controlling popularity bias in learning-to-rank recommendation. In Proceedings of the eleventh ACM conference on recommender systems. 42–46.
- Abdollahpouri et al. (2019) Himan Abdollahpouri, Masoud Mansoury, Robin Burke, and Bamshad Mobasher. 2019. The unfairness of popularity bias in recommendation. arXiv preprint arXiv:1907.13286 (2019).
- Balseiro et al. (2021) Santiago Balseiro, Haihao Lu, and Vahab Mirrokni. 2021. Regularized online allocation problems: Fairness and beyond. In International Conference on Machine Learning. PMLR, 630–639.
- Ben-Porat and Tennenholtz (2018) Omer Ben-Porat and Moshe Tennenholtz. 2018. A game-theoretic approach to recommendation systems with strategic content providers. Advances in Neural Information Processing Systems 31 (2018).
- Bertsekas (1997) Dimitri P Bertsekas. 1997. Nonlinear programming. Journal of the Operational Research Society 48, 3 (1997), 334–334.
- Bertsimas et al. (2011) Dimitris Bertsimas, Vivek F Farias, and Nikolaos Trichakis. 2011. The price of fairness. Operations research 59, 1 (2011), 17–31.
- Bertsimas et al. (2012) Dimitris Bertsimas, Vivek F Farias, and Nikolaos Trichakis. 2012. On the efficiency-fairness trade-off. Management Science 58, 12 (2012), 2234–2250.
- Biswas et al. (2021) Arpita Biswas, Gourab K Patro, Niloy Ganguly, Krishna P Gummadi, and Abhijnan Chakraborty. 2021. Toward Fair Recommendation in Two-sided Platforms. ACM Transactions on the Web (TWEB) 16, 2 (2021), 1–34.
- Brittain (1971) John A Brittain. 1971. The incidence of social security payroll taxes. The American Economic Review 61, 1 (1971), 110–125.
- Cacchiani et al. (2022) Valentina Cacchiani, Manuel Iori, Alberto Locatelli, and Silvano Martello. 2022. Knapsack problems—An overview of recent advances. Part II: Multiple, multidimensional, and quadratic knapsack problems. Computers & Operations Research 143 (2022), 105693.
- Deldjoo et al. (2022) Yashar Deldjoo, Dietmar Jannach, Alejandro Bellogin, Alessandro Difonzo, and Dario Zanzonelli. 2022. A survey of research on fair recommender systems. arXiv preprint arXiv:2205.11127 (2022).
- Diamond and Boyd (2016) Steven Diamond and Stephen Boyd. 2016. CVXPY: A Python-embedded modeling language for convex optimization. The Journal of Machine Learning Research 17, 1 (2016), 2909–2913.
- Do et al. (2021) Virginie Do, Sam Corbett-Davies, Jamal Atif, and Nicolas Usunier. 2021. Two-sided fairness in rankings via Lorenz dominance. Advances in Neural Information Processing Systems 34 (2021), 8596–8608.
- Do and Usunier (2022a) Virginie Do and Nicolas Usunier. 2022a. Optimizing Generalized Gini Indices for Fairness in Rankings (SIGIR ’22). Association for Computing Machinery, New York, NY, USA, 737–747.
- Do and Usunier (2022b) Virginie Do and Nicolas Usunier. 2022b. Optimizing generalized Gini indices for fairness in rankings. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval. 737–747.
- Gastwirth (1971) Joseph L Gastwirth. 1971. A general definition of the Lorenz curve. Econometrica: Journal of the Econometric Society (1971), 1037–1039.
- Hager (1979) William W Hager. 1979. Lipschitz continuity for constrained processes. SIAM Journal on Control and Optimization 17, 3 (1979), 321–338.
- Hanlon and Heitzman (2010) Michelle Hanlon and Shane Heitzman. 2010. A review of tax research. Journal of accounting and Economics 50, 2-3 (2010), 127–178.
- Jiang et al. (2021) Zhimeng Jiang, Xiaotian Han, Chao Fan, Fan Yang, Ali Mostafavi, and Xia Hu. 2021. Generalized demographic parity for group fairness. In International Conference on Learning Representations.
- Lambert (1992) Peter J Lambert. 1992. The distribution and redistribution of income. Springer.
- Lamont (2017) Julian Lamont. 2017. Distributive justice. Routledge.
- Lan et al. (2010) Tian Lan, David Kao, Mung Chiang, and Ashutosh Sabharwal. 2010. An axiomatic theory of fairness in network resource allocation. IEEE.
- Li et al. (2021) Yunqi Li, Hanxiong Chen, Zuohui Fu, Yingqiang Ge, and Yongfeng Zhang. 2021. User-oriented fairness in recommendation. In Proceedings of the web conference 2021. 624–632.
- Li et al. ([n. d.]) Yunqi Li, Hanxiong Chen, Shuyuan Xu, Yingqiang Ge, Juntao Tan, Shuchang Liu, and Yongfeng Zhang. [n. d.]. Fairness in Recommendation: Foundations, Methods and Applications. ACM Transactions on Intelligent Systems and Technology ([n. d.]).
- Liao et al. (2014) Hairen Liao, Lingxiao Peng, Zhenchuan Liu, and Xuehua Shen. 2014. iPinYou global rtb bidding algorithm competition dataset. In Proceedings of the Eighth International Workshop on Data Mining for Online Advertising. 1–6.
- Lipani (2016) Aldo Lipani. 2016. Fairness in information retrieval. In Proceedings of the 39th International ACM SIGIR conference on Research and Development in Information Retrieval. 1171–1171.
- Liu et al. (2021) Xiangyu Liu, Chuan Yu, Zhilin Zhang, Zhenzhe Zheng, Yu Rong, Hongtao Lv, Da Huo, Yiqing Wang, Dagui Chen, Jian Xu, et al. 2021. Neural auction: End-to-end learning of auction mechanisms for e-commerce advertising. In Proceedings of the 27th ACM Conference on Knowledge Discovery & Data Mining. 3354–3364.
- Lotov and Miettinen (2008) Alexander V Lotov and Kaisa Miettinen. 2008. Visualizing the Pareto frontier. In Multiobjective optimization. Springer, 213–243.
- Matsumoto and Juang (2016) David Matsumoto and Linda Juang. 2016. Culture and psychology. Cengage Learning.
- Naghiaei et al. (2022) Mohammadmehdi Naghiaei, Hossein A Rahmani, and Yashar Deldjoo. 2022. Cpfair: Personalized consumer and producer fairness re-ranking for recommender systems. arXiv preprint arXiv:2204.08085 (2022).
- Nash Jr (1950) John F Nash Jr. 1950. The bargaining problem. Econometrica: Journal of the econometric society (1950), 155–162.
- Nerré (2001) Birger Nerré. 2001. The concept of tax culture. In Proceedings. Annual Conference on Taxation and Minutes of the Annual Meeting of the National Tax Association, Vol. 94. JSTOR, 288–295.
- Oates (1969) Wallace E Oates. 1969. The effects of property taxes and local public spending on property values: An empirical study of tax capitalization and the Tiebout hypothesis. Journal of political economy 77, 6 (1969), 957–971.
- Patro et al. (2020) Gourab K Patro, Arpita Biswas, Niloy Ganguly, Krishna P Gummadi, and Abhijnan Chakraborty. 2020. Fairrec: Two-sided fairness for personalized recommendations in two-sided platforms. In Proceedings of the web conference 2020. 1194–1204.
- Patro et al. (2022) Gourab K Patro, Lorenzo Porcaro, Laura Mitchell, Qiuyue Zhang, Meike Zehlike, and Nikhil Garg. 2022. Fair ranking: a critical review, challenges, and future directions. In Proceedings of the 2022 ACM Conference on Fairness, Accountability, and Transparency. 1929–1942.
- Peyré et al. (2019) Gabriel Peyré, Marco Cuturi, et al. 2019. Computational optimal transport: With applications to data science. Foundations and Trends® in Machine Learning 11, 5-6 (2019), 355–607.
- Pham et al. (2020) Khiem Pham, Khang Le, Nhat Ho, Tung Pham, and Hung Bui. 2020. On unbalanced optimal transport: An analysis of sinkhorn algorithm. In International Conference on Machine Learning. PMLR, 7673–7682.
- Poulson and Kaplan (2008) Barry W Poulson and Jules Gordon Kaplan. 2008. State income taxes and economic growth. Cato J. 28 (2008), 53.
- Rendle et al. (2012) Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. 2012. BPR: Bayesian personalized ranking from implicit feedback. arXiv preprint arXiv:1205.2618 (2012).
- Salkin and De Kluyver (1975) Harvey M Salkin and Cornelis A De Kluyver. 1975. The knapsack problem: a survey. Naval Research Logistics Quarterly 22, 1 (1975), 127–144.
- Singh and Joachims (2019) Ashudeep Singh and Thorsten Joachims. 2019. Policy learning for fairness in ranking. Advances in neural information processing systems 32 (2019).
- Swanson et al. (2020) Kyle Swanson, Lili Yu, and Tao Lei. 2020. Rationalizing Text Matching: Learning Sparse Alignments via Optimal Transport. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. 5609–5626.
- Tang et al. (2023) Jiakai Tang, Shiqi Shen, Zhipeng Wang, Zhi Gong, Jingsen Zhang, and Xu Chen. 2023. When Fairness Meets Bias: A Debiased Framework for Fairness Aware Top-N Recommendation. In Proceedings of the 17th ACM Conference on Recommender Systems (Singapore, Singapore) (RecSys ’23). Association for Computing Machinery, New York, NY, USA, 200–210. https://doi.org/10.1145/3604915.3608770
- Tyler and Allan Lind (2002) Tom R Tyler and E Allan Lind. 2002. Procedural justice. In Handbook of justice research in law. Springer, 65–92.
- Tyler and Smith (1995) Tom R Tyler and Heather J Smith. 1995. Social justice and social movements. (1995).
- Wang et al. (2022) Jiayin Wang, Weizhi Ma, Jiayu Li, Hongyu Lu, Min Zhang, Biao Li, Yiqun Liu, Peng Jiang, and Shaoping Ma. 2022. Make Fairness More Fair: Fair Item Utility Estimation and Exposure Re-Distribution. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (Washington DC, USA) (KDD ’22). Association for Computing Machinery, New York, NY, USA, 1868–1877. https://doi.org/10.1145/3534678.3539354
- Wu et al. (2021) Yao Wu, Jian Cao, Guandong Xu, and Yudong Tan. 2021. Tfrom: A two-sided fairness-aware recommendation model for both customers and providers. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval. 1013–1022.
- Xu et al. (2023a) Chen Xu, Sirui Chen, Jun Xu, Weiran Shen, Xiao Zhang, Gang Wang, and Zhenhua Dong. 2023a. P-MMF: Provider Max-min Fairness Re-ranking in Recommender System. In Proceedings of the ACM Web Conference 2023. 3701–3711.
- Xu et al. (2023b) Chen Xu, Xiaopeng Ye, Jun Xu, Xiao Zhang, Weiran Shen, and Ji-Rong Wen. 2023b. LTP-MMF: Towards Long-term Provider Max-min Fairness Under Recommendation Feedback Loops. arXiv preprint arXiv:2308.05902 (2023).
- Xu et al. (2018) Jun Xu, Xiangnan He, and Hang Li. 2018. Deep Learning for Matching in Search and Recommendation. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval (Ann Arbor, MI, USA) (SIGIR ’18). Association for Computing Machinery, New York, NY, USA, 1365–1368.
- Yang et al. (2019) Xun Yang, Yasong Li, Hao Wang, Di Wu, Qing Tan, Jian Xu, and Kun Gai. 2019. Bid optimization by multivariable control in display advertising. In Proceedings of the 25th ACM international conference on knowledge discovery & data mining. 1966–1974.
- Zafar et al. (2019) Muhammad Bilal Zafar, Isabel Valera, Manuel Gomez-Rodriguez, and Krishna P Gummadi. 2019. Fairness constraints: A flexible approach for fair classification. The Journal of Machine Learning Research 20, 1 (2019), 2737–2778.