<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Common Approach for Consumer and Provider Fairness in Recommendations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Austria dimitris@ec.tuwien.ac.at</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dimitrios Kleftogiannis Genome Institute of Singapore A</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Kyriakos Mouratidis School of Information Systems Singapore Management University</institution>
          ,
          <country country="SG">Singapore</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>STAR Research</institution>
          ,
          <country country="SG">Singapore</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present a common approach for handling consumer and provider fairness in recommendations. Our solution requires defining two key components, a classification of items and a target distribution, which together define the case of perfect fairness. This formulation allows distinct fairness concepts to be specified in a common framework. We further propose a novel reranking algorithm that optimizes for a desired trade-of between utility and fairness of a recommendation list.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        (P-fairness) — as in [
        <xref ref-type="bibr" rid="ref10 ref3 ref6 ref7">3, 6, 7, 10</xref>
        ]. In C-fairness, the issue with algorithmic bias is that users could receive
diferent recommendations based on their protected/sensitive atributes, e.g., age, gender, race. In
P-fairness, the issue is that diferent classes of ranked items (like male vs. female job applicants) could
receive unequal atention, or atention disproportional to their overall size in the pool of alternatives.
      </p>
      <p>
        In this paper, we present a simple unified viewpoint of these fairness concepts, where one only
needs to specify two components: (1) an item classification, and (2) a target distribution over item
classes. The exact definition of these components depends on the specific fairness goal one aims for:
• Consider the C-fairness concept where each user should receive calibrated recommendations that
match her prior preferences, as in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]; e.g., a user that 70% of the time interacts with items from
a particular class, should also receive recommendations that come from that class 70% of the time.
Here, the item classification is explicitly given — e.g., movie genres in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The target distribution is
specific to each user and represents the proportion of each item class in the user’s feedback history.
      </p>
      <p>
        • In another C-fairness concept, the goal is to provide fair recommendations to a group of users,
as in [
        <xref ref-type="bibr" rid="ref5 ref8">5, 8</xref>
        ]. Here, we introduce an item class per group member: an item belongs to the i-th class
if it is within the top-N items of the i-th group member. The notion of top-N -envy-freeness [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is
then captured by seting the target distribution to be uniform over these item classes. Intuitively, we
seek to construct a group recommendation list that contain items equally desirable among group
members, thus ensuring that no member is envious of the others.
      </p>
      <p>
        • As an example of P-fairness, consider the scenario where we want to make recommendations
that equally represent all item providers, as in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Here, the item classes are the providers. The target
distribution is again the uniform distribution over these item classes.
      </p>
      <p>These examples illustrate the flexibility of our approach. Distinct notions of fairness can be described
in terms of a simple framework, consisting of an item classification and a target distribution.</p>
      <p>
        Once the two components are defined, the fairness of the recommender is measured by the statistical
divergence between the target and the realized distribution — the later being the distribution over
item classes induced by a recommendation list. The divergence essentially quantifies how far from
being perfectly fair the recommendations are. As the goal of a fairness-aware recommender system is
to strike a balance between utility and fairness, similar to prior work [
        <xref ref-type="bibr" rid="ref10 ref3 ref6">3, 6, 10</xref>
        ], we aim to maximize a
linear combination of the two measures in a post-processing step. For this purpose, we introduce a
novel reranking algorithm that approximately solves this optimization problem.
      </p>
      <p>
        Overall, our approach allows us to frame various fairness objectives under a common framework,
making it possible to relate and compare them. Moreover, our unified algorithm enables the direct
optimization of the desired utility-fairness trade-of. This is particularly atractive as some fairness
proposals only consider some proxy of fairness.
Item Classification. We assume that items belong to a set of K appropriately defined classes; in
case of P-fairness, these are typically the item producers/providers, while in C-fairness, classes are
specified according to consumer/user properties. We denote as p(κ |t ) the membership of item t in
class κ ∈ K. As an item may belong to diferent classes, we require Íκ ∈K p(κ |t ) = 1.
Target Distribution. A target distribution Q is a discrete probability distribution over K, representing
the desired class representation a recommendation list should exhibit. For example, we may set Q to
the uniform distribution directing the recommender to cover all classes; or to the class distribution of
the user’s consumed items, asking the recommender to respect past preferences.
Realized Distribution. A recommended list τ presents items from possibly diferent classes to the
target user. The realized distribution P (τ ) in a list τ is a discrete probability distribution over the set of
classes K, capturing the level at which each class is presented to the user via τ . There are various
ways to concretely define P (τ ). The simplest is to sum up the class memberships of each item. Another
approach is to account for the position bias in a ranked list, and compute the exposure/atention [
        <xref ref-type="bibr" rid="ref1 ref9">1, 9</xref>
        ]
that each class receives in list τ . Briefly, the intuition is that items ranked at the top of the list are
more likely to be selected by the user. Specifically, if d(i) denotes the discount for the bias of position
i, then a possible definition of the probability of class κ ∈ K being represented in list τ is:
P (τ )[κ] = γτ · Õ d(rankτ (t )) · p(κ |t )
      </p>
      <p>
        t ∈τ
where γτ = Íκ ∈K Ít ∈τ d(rankτ (t )) · p(κ |t ) ensures that P (τ ) is a probability distribution.
Fairness. A recommended list τ is perfectly fair if its realized distribution is equal to the target. As
perfect fairness may be unatainable, we would like to quantify deviations from the ideal state. The
fairness of a list τ is captured by the similarity of its representation P (τ ) to some given target Q,
and is denoted as F (τ ; Q). When the target Q is understood by the context, we simply denote it as
F (τ ). Dissimilarity between two distributions can be measured in terms of their statistical divergence.
Therefore, we express fairness of τ by a value F (τ ), normalized to [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ] as follows:
(1)
(2)
F (τ ) = 1 −
      </p>
      <p>
        D(P (τ )∥Q) ,
D+(·∥Q)
where D(·∥·) is a divergence measure of representation P (τ ) from the target Q, and D+(·∥Q) is an
upper bound on the divergence of any possible representation. When the representation P (τ ) equals
the target distribution Q, fairness takes its maximum value F (τ ) = 1. In this work, we consider
the Kullback–Leibler (KL) divergence, as in [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ]: D(P ∥Q) = Íκ ∈K Q[κ] · log QP˜[[κκ]] , where P˜ =
(1 − α ) · P + α · Q is the smoothed distribution of the class representation for some small constant α
(set to 0.01 to match [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]), and log(1/α ) is an upper bound.
      </p>
      <p>
        Utility. A list has a (predicted) utility to the target user, captured by a value U (τ ), normalized to
[
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ]. As a concrete example, assume that the recommender estimates the relevance r (t ) of an item t
to the target user. Let rankτ (t ) denote the position of item t in list τ , and let d(i) denote a discount
associated with the i-th position in a list — e.g., d(i) = 1/log(i + 1) as per the discounted cumulative
gain (DCG) metric. Then a possible definition of utility is:
      </p>
      <p>U (τ ) = U1+ Õ r (t ) · d(rankτ (t )), (3)</p>
      <p>
        t ∈τ
where U + is the maximum possible utility of any ranked list of N items (similar to the ideal DCG).
Optimization Objective. The goal is to return a recommendation list τ that maximizes a linear
combination of its utility U (τ ) and its fairness F (τ ), for a given value of λ ∈ [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ], i.e.,
arg max (1 − λ) · U (τ ) + λ · F (τ ).
      </p>
      <p>τ
Algorithm. The unified algorithm, termed PREFIX, reranks a recommendation list τN of length N
that maximizes utility alone. Let T denote the set of items to be reranked. The goal is to create a
fairness aware reranked list that approximately solves the aforementioned optimization problem. For
any list τ , let S(τ ) = (1 − λ) · U (τ ) + λ · F (τ ) denote its score. The algorithm examines each prefix τk of
the initial list, i.e., a list that contains the first k items from τN for k ∈ [0, N ]. For each prefix τk , the
algorithm will incrementally append the remaining N − k items in a greedy manner. Let τk (i) denote
the list at the i-th step — the final reranked list created from the k-prefix is obtained at the (N − k)-th
step. At the i-th step, the algorithm appends the item that maximizes the score of the resulting list,
i.e., arg maxt ∈T &lt;τi−1 S(τi−1 ⊔ {t }), where ⊔ denotes the append operation. After considering all prefixes
the algorithm has constructed N , possibly distinct, rerankings of the initial list tN , and among them,
it returns the one with the highest score.</p>
      <p>
        EVALUATION
Data. We use the MovieLens 20M dataset [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. We create an item class for each movie genre, and for
each movie we assign equal membership probabilities to its classes, as in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. As typical, we use a
basic matrix factorization model with 20 dimensions to create recommendations.
Fairness Objectives and Methods. We consider two scenarios for fairness. Uniform, mandates that
all the realized distribution is uniform, similar to the P-fairness goal of the FAR method [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. User,
requires that the realized distribution follows each user’s target distribution from her feedback history,
as in the C-fairness goal of the CALIB method [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>FAR
CALIB
PREFIX
0.70
(a) Uniform
FAR
CALIB</p>
      <p>PREFIX
0.80
0.85</p>
      <p>0.90
Fairness</p>
      <p>0.95
(b) User</p>
      <p>
        Figure 1: Utility-Fairness curves
1.00
0.98
0.94
Metrics. We ask each method to return a ranked list of 20 items. For a list, we measure: U: the utility
according to Equation 3; R: recall at position 20, i.e., recall@20; N: normalized DCG at position 20, i.e.,
nDCG@20; F: fairness according to Equation 2; C: class coverage ratio for Uniform as in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]; D: KL
divergence for User as in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. In all measures except the last, higher means beter.
Results. All three methods use a parameter λ to control the tradeof between utility and fairness.
Table 1 shows all metrics, as we increase λ from 0 to 0.5 and 1. For both scenarios and λ = 0, all
methods return the same list. For Uniform and λ = 1, CALIB performs poorly in this scenario, while
PREFIX matches the efectiveness of FAR in terms of coverage (C), and does beter in fairness (F)
achieving more class-balanced recommendations. For User and λ = 1, FAR performs poorly, while
PREFIX exceeds the efectiveness of CALIB in terms of fairness (F) and in KL divergence (D).
      </p>
      <p>
        We next set various values to λ within [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ] and plot the utility-fairness curve of each generated
ranked list, shown in Figure 1. A recommender with a curve going closer to the upper right corner
(of perfect utility and fairness) is more desirable, as it beter trades of utility against fairness. In the
Uniform scenario, it is clear that PREFIX is more efective than FAR and CALIB. In the User scenario,
where the highest possible fairness values for PREFIX and CALIB are comparable (rightmost points),
observe that the curve of PREFIX again goes closer to the perfect utility-fairness corner.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Asia</surname>
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Biega</surname>
            ,
            <given-names>Krishna P.</given-names>
          </string-name>
          <string-name>
            <surname>Gummadi</surname>
            , and
            <given-names>Gerhard</given-names>
          </string-name>
          <string-name>
            <surname>Weikum</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Equity of Atention: Amortizing Individual Fairness in Rankings</article-title>
          .
          <source>In ACM SIGIR. ACM</source>
          ,
          <volume>405</volume>
          -
          <fpage>414</fpage>
          . htps://doi.org/10.1145/3209978.3210063
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Robin</given-names>
            <surname>Burke</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Multisided Fairness for Recommendation</article-title>
          .
          <source>CoRR abs/1707</source>
          .00093 (
          <year>2017</year>
          ). arXiv:
          <volume>1707</volume>
          .
          <fpage>00093</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Robin</given-names>
            <surname>Burke</surname>
          </string-name>
          , Nasim Sonboli, and
          <string-name>
            <surname>Aldo</surname>
          </string-name>
          Ordonez-Gauger.
          <year>2018</year>
          .
          <article-title>Balanced Neighborhoods for Multi-sided Fairness in Recommendation</article-title>
          .
          <source>In FAT (Proceedings of Machine Learning Research)</source>
          , Vol.
          <volume>81</volume>
          . PMLR,
          <fpage>202</fpage>
          -
          <lpage>214</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>F.</given-names>
            <surname>Maxwell</surname>
          </string-name>
          Harper and
          <string-name>
            <given-names>Joseph A.</given-names>
            <surname>Konstan</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>The MovieLens Datasets: History and Context</article-title>
          .
          <source>TiiS 5</source>
          ,
          <issue>4</issue>
          (
          <year>2016</year>
          ),
          <volume>19</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>19</lpage>
          :
          <fpage>19</fpage>
          . htps://doi.org/10.1145/2827872
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Xiao</given-names>
            <surname>Lin</surname>
          </string-name>
          , Min Zhang, Yongfeng Zhang, Zhaoquan Gu, Yiqun Liu, and Shaoping Ma.
          <year>2017</year>
          .
          <article-title>Fairness-Aware Group Recommendation with Pareto-Eficiency</article-title>
          .
          <source>In ACM RecSys. ACM</source>
          ,
          <volume>107</volume>
          -
          <fpage>115</fpage>
          . htps://doi.org/10.1145/3109859.3109887
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Weiwen</given-names>
            <surname>Liu</surname>
          </string-name>
          and
          <string-name>
            <given-names>Robin</given-names>
            <surname>Burke</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Personalizing Fairness-aware Re-ranking</article-title>
          . CoRR abs/
          <year>1809</year>
          .02921 (
          <year>2018</year>
          ). arXiv:
          <year>1809</year>
          .02921
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Tien</surname>
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <surname>Pik-Mai Hui</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Maxwell</surname>
            <given-names>Harper</given-names>
          </string-name>
          , Loren G. Terveen, and
          <string-name>
            <surname>Joseph</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Konstan</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Exploring the filter bubble: the efect of using recommender systems on content diversity</article-title>
          .
          <source>In WWW. ACM</source>
          . htps://doi.org/10.1145/2566486.2568012
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Dimitris</given-names>
            <surname>Serbos</surname>
          </string-name>
          , Shuyao Qi, Nikos Mamoulis, Evaggelia Pitoura, and
          <string-name>
            <given-names>Panayiotis</given-names>
            <surname>Tsaparas</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Fairness in Package-toGroup Recommendations</article-title>
          .
          <source>In WWW. ACM</source>
          ,
          <volume>371</volume>
          -
          <fpage>379</fpage>
          . htps://doi.org/10.1145/3038912.3052612
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Ashudeep</given-names>
            <surname>Singh</surname>
          </string-name>
          and
          <string-name>
            <given-names>Thorsten</given-names>
            <surname>Joachims</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Fairness of Exposure in Rankings</article-title>
          .
          <source>In ACM KDD. ACM</source>
          ,
          <volume>2219</volume>
          -
          <fpage>2228</fpage>
          . htps://doi.org/10.1145/3219819.3220088
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Harald</given-names>
            <surname>Steck</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Calibrated recommendations</article-title>
          .
          <source>In ACM RecSys. ACM</source>
          ,
          <volume>154</volume>
          -
          <fpage>162</fpage>
          . htps://doi.org/10.1145/3240323.3240372
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>Ke</given-names>
            <surname>Yang</surname>
          </string-name>
          and
          <string-name>
            <given-names>Julia</given-names>
            <surname>Stoyanovich</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Measuring Fairness in Ranked Outputs</article-title>
          . In SSDBM. htps://doi.org/10.1145/3085504. 3085526
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Sirui</given-names>
            <surname>Yao</surname>
          </string-name>
          and
          <string-name>
            <given-names>Bert</given-names>
            <surname>Huang</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Beyond Parity: Fairness Objectives for Collaborative Filtering</article-title>
          .
          <source>In NIPS</source>
          .
          <volume>2925</volume>
          -
          <fpage>2934</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>