<!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>
      <journal-title-group>
        <journal-title>European Workshop on Algorithmic Fairness, June</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Pagerank Fairness in Networks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Evaggelia Pitoura</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>Archimedes Unit</institution>
          ,
          <addr-line>ATHENA RC</addr-line>
          ,
          <country country="GR">Greece</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Computer Science and Engineering Department, University of Ioannina</institution>
          ,
          <country country="GR">Greece</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>0</volume>
      <fpage>7</fpage>
      <lpage>09</lpage>
      <abstract>
        <p>We live in a connected world where networks be it, social, communication, interaction, or collaboration networks, play an important role. In this paper, we focus on how power is distributed among the nodes of such networks. Specifically, we look at the structural importance of the nodes in a network as measured by the pagerank algorithm. Given two groups of nodes, we say that a network is fair, if the nodes of the two groups hold equally central positions in the network. First, we investigate whether real networks are fair and the conditions that may cause unfairness. Then, we present modifications of the pagerank algorithm such that the computed node importance is both fair and also as accurate as possible. Finally, we propose recommending connections whose additions in the network will improve fairness.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Pagerank</kwd>
        <kwd>node centrality</kwd>
        <kwd>graph fairness</kwd>
        <kwd>algorithmic fairness</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Networks ofer a generic data structure for representing entities and the relationships and
interactions between them. For example, in a social network, nodes correspond to people and
edges to connections between them. In this paper, we look into network fairness. We adopt a
group-based approach [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]: we assume that nodes belong to groups based on the value of one of
their sensitive attributes, e.g., based on their gender, or race. We study fairness with respect to
node centrality, i.e., with respect to whether nodes belonging to diferent groups hold equally
central positions in the network.
      </p>
      <p>
        One measure of node centrality is the degree of the node, i.e, the number of its neighbors.
For example, in a social network degree centrality considers the number of followers. A more
elaborate measure of centrality is provided by the celebrated pagerank algorithm ( ). In
defining the centrality of a node,   takes into account the   centrality of its neighbors
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. For example, in a social network, the   centrality of a node considers not only how
many followers the node has but also the   centrality of these followers. Previous research
has found that as networks evolve, biases arise in the degree centrality of nodes belonging to
diferent groups [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ]. In this short article, we provide a high-level overview of our research on
pagerank-based centrality fairness in networks [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ].
      </p>
      <p>The pagerank algorithm assigns a weight P() to each node  that indicates the significance
of  in the network, with the sum of the weights assigned to all nodes being equal to 1. We
assume two groups, the protected group, that we call the red group  and the privileged group,
that we call the blue group . We will use P() and P() to denote the total weight that  
assigns to the nodes in the red and blue group respectively. Clearly, P() = 1 − P(). For
simplicity, we call P() red pagerank and P() blue pagerank.</p>
      <p>
        We say that there is  (pagerank) fairness, if the red pagerank is equal to , i.e., P() = ,
where  is a parameter whose value depends on the fairness policy. For example, by setting
 = 0.5, we ask that both groups are equally important. As another example, let  be he fraction
of nodes that belong to , that is, || =  ×  , where  is the total number of nodes. By
setting  = , we ask that the red nodes have a share in the weights proportional to their share
in the population, a property also known as demographic parity [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>Besides pagerank, we also consider personalized pagerank, where each node  assigns a
weight P() to each node  in the network. P() indicates the significance that node  has
for node  and can be seen as a measure of proximity between source node  and node . Again,
we use P() and P() to denote the weight that node  allocates to the red and blue groups
respectively and ask that P() is equal to . Intuitively, fairness of P implies that node 
weights the red and blue groups fairly. Overall, we can think of P() as a measure of how a
specific node  weights the red group, while P() captures the weight that the network as a
whole places on the red group.</p>
      <p>In the following, we address briefly the following research questions:
RQ1 Are networks fair and what are the conditions that may cause unfairness?
RQ2 Can we modify the pagerank algorithm to produce weights that are both fair and as
accurate as possible?
RQ3 Can we intervene in the evolution of a network through link recommendations so as to
improve fairness?</p>
    </sec>
    <sec id="sec-2">
      <title>2. Towards fair networks</title>
      <sec id="sec-2-1">
        <title>2.1. Are networks fair?</title>
        <p>
          Previous research has shown that size imbalance between groups, and homophily (here the
tendency to connect with nodes of the same color) may lead to degree unfairness [
          <xref ref-type="bibr" rid="ref3 ref4 ref7">3, 4, 7</xref>
          ]. Does
unfairness arise also in the case of pagerank?
        </p>
        <p>
          To address this question, we generate synthetic networks using the biased preferential
attachment model [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] and study the conditions under which demographic parity holds. The
ratio  of the red nodes controls the size imbalance between the two groups. Parameter 
controls the level of homophily:  &lt; 0.5 corresponds to heterophily,  = 0.5 to neutrality and
 &gt; 0.5 to homophily. We consider: (a) a symmetric case, where  is the same for both groups
and (b) an asymmetric case, where we set  = 0.5 for the blue group, making it neutral, and
vary the level of homophily only for the red group,
        </p>
        <p>We plot in Figures 1(a) and 2(a) the red pagerank. Note that demographic parity corresponds to
the identity line, i.e., P() = . Values above the identity line indicate unfairness towards the
blue group, while values below the line unfairness towards the red group. We also plot the red
personalized   in Figures 1(b)-(d) and 2(b)-(d). We plot two distributions, one for the ()
of the red nodes (i.e.,  ∈ ) and one for () of the blue nodes ( ∈ ). Distributions are
00..78 BRleude
rkeegd
an0.6
Pa0.5
R0.4
0.3
00..67 BRleude
rkeedg
an0.5
Pa0.4
R0.3
0.2
0.1H0eteroph0i.l3y0 N0e.u5t0ral 0.7H0omophi0ly.90
(c)  = 0.3
0. 90
0. 70
0. 50
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9</p>
        <p>r
(a) P()
kan000...789 000... 759000 r00.. 1300
re0.6
ag0.5
P
d0.4
eR0.3
0.2
0.1 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9</p>
        <p>r
(a) P()
00..54 BRleude
kPaengR
ra0.3
ed0.2
0.1
0.1H0eteroph0i.l3y0 N0e.u5t0ral 0.7H0omophi0ly.90
(b)  = 0.1
0.1H0eteroph0i.l3y0 N0e.u5t0ral 0.7H0omophi0ly.90
(c)  = 0.3
0.1H0eteroph0i.l3y0 N0e.u5t0ral 0.7H0omophi0ly.90
(d)  = 0.5
plotted in the form of violin plots. Demographic parity corresponds to the case in which the two
distributions overlap, with their mean on value .</p>
        <p>Symmetric case. In case of homophily, ( = 0.7, 0.9), nodes tend to form two clusters, one
with red nodes and one with blue nodes sparsely connected to each other. This leads to almost
pagerank fair networks (with a very slight unfairness towards the smaller group), but the nodes
are personalized pagerank unfair. In case of heterophily ( = 0.1, 0.3), there are no clusters,
nodes tend to connect with nodes of the opposite color, and the larger group favors the smaller
one. There is pagerank unfairness towards the larger group, and both blue and red nodes are
personalized pagerank unfair towards the larger group. This is especially evident when there is
large size imbalance (small ).</p>
        <p>Asymmetric case. When the red nodes are homophilic ( = 0.7, 0.9), the red group keeps the
pagerank to itself. As a result there is both pagerank and personalized pagerank unfairness
towards the blue (that is, the neutral) group. When the red nodes are heterophilic ( = 0.1, 0.3),
the red group favors the blue group, and as a result, there is both pagerank and personalized
pagerank unfairness towards the red (that is, the heterophilic) group.</p>
        <p>The only case when there is both pagerank and personalized pagerank fairness is when both
groups are neutral ( = 0.5 for both groups) and of similar sizes (r = 0.5) (middle violin plots in
Figures 1(d), and 2(d)).</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Fairness-aware Pagerank</title>
        <p>
          We would like to modify the pagerank algorithm so that the produced weights are fair
independently of whether the network is fair or not. Furthermore, we would like these weights to
be as accurate as possible, that is, as close as possible to the weights assigned by the original
pagerank algorithm. It was shown that the only way to produce both global and personalized
fair weights is by the family of locally fair PR algorithms [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. The original PR is based on a
vanilla random walk. When at node , the walk moves to any of the neighbors of  with equal
probability. In a locally fair PR, when at node , the random walk moves with probability  to a
red node and with probability 1-  to a blue node.
        </p>
        <p>
          In the simplest form of the locally fair PR
algorithm, called neighbor-based locally fair
PR, when at node , the walk moves with
probability  to a red neighbor of , and
with probability 1 −  to a blue neighbor of
 [
          <xref ref-type="bibr" rid="ref6 ref8 ref9">6, 8, 9</xref>
          ]. In Figure 3, we see the weights of
the original PR and of the neighbor-based
locally fair PR that results in increasing the (a) (b)
weights of the red group. The residual-based Figure 3: Visualization of a subset of the DBLP
locally fair PR algorithm generalizes this co-authorship network: (a) original PR,
idea. When at a node  that has fewer (b) neighbor-based locally fair PR. Blue
red neighbors than , the walk moves with nodes correspond to male and red nodes
equal probability to any of the neighbors of to female authors; the size of a node is
bi,liatnydtowaitrhedthneordeemaapinpirnogprrieastiedluyasleplercotbead- proportional to its weight;  = 0.5.
from  so as to optimize accuracy.
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Link recommendations for fair networks</title>
        <p>
          Instead of modifying the PR algorithm to produce fair weights, a more efective intervention
would be to “correct” the network so that the original PR algorithm produces fair weights. The
growth of many real-world networks is afected by link recommendations [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], for example
recommendations of people to follow in a social network. The goal is to recommend links such
that if accepted the fairness of the network will improve. To this end, we have derived analytical
formulas for estimating the efect of edge additions on PR fairness and we have used them to
design linear time link recommendation algorithms for maximizing fairness [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
        </p>
        <p>It was shown that the most important edges in terms of fairness are edges that connect
nodes whose neighborhoods are of a “diferent color”. It was also shown that in general the
characteristics of the target node of the recommended link have a stronger correlation with
fairness than the characteristics of the source node. Among these characteristics, the most
relevant ones are the group (i.e., color) and the personalized PR of the target node.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Conclusions</title>
      <p>
        In this short paper, we have summarized our previous work on   centrality fairness. An
important research question is to study how centrality unfairness is reflected on the fairness of
downstream ML tasks. For example, is pagerank unfairness reflected in graph embeddings or in
GNN models? Along this line, the efect of unfairness on network processes such as difusion
[
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], and phenomena such as filter bubbles [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is also of interest.
      </p>
      <p>
        It is also important to view fairness in networks from an interdisciplinary perspective.
Understanding the confounding social and psychological factors that lead to network unfairness
would help in designing more relevant link recommendation algorithms. Furthermore, studying
both the short term and long term efect that network unfairness may have in the lives of
individuals would be instrumental [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Finally, questions of ethics arise in terms of how we
design fairness interventions in networks.
      </p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgments</title>
      <p>The author was supported by the “ARCHIMEDES Unit: Research in Artificial Intelligence, Data
Science and Algorithms” OPS code 5154714 within the framework of the National Recovery
and Resilience Plan “Greece 2.0” with funding from the European Union – NextGenerationEU.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dwork</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hardt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Pitassi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Reingold</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. S.</given-names>
            <surname>Zemel</surname>
          </string-name>
          ,
          <article-title>Fairness through awareness</article-title>
          ,
          <source>in: Innovations in Theoretical Computer Science</source>
          ,
          <year>2012</year>
          , pp.
          <fpage>214</fpage>
          -
          <lpage>226</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D. F.</given-names>
            <surname>Gleich</surname>
          </string-name>
          ,
          <article-title>Pagerank beyond the web</article-title>
          ,
          <source>SIAM Review 57</source>
          (
          <year>2015</year>
          )
          <fpage>321</fpage>
          -
          <lpage>363</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C.</given-names>
            <surname>Avin</surname>
          </string-name>
          , B. Keller,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Lotker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Mathieu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Peleg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y. A.</given-names>
            <surname>Pignolet</surname>
          </string-name>
          ,
          <article-title>Homophily and the glass ceiling efect in social networks</article-title>
          ,
          <source>in: ITCS</source>
          ,
          <year>2015</year>
          , pp.
          <fpage>41</fpage>
          -
          <lpage>50</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Stoica</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. J.</given-names>
            <surname>Riederer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chaintreau</surname>
          </string-name>
          ,
          <article-title>Algorithmic glass ceiling in social networks: The efects of social recommendations on network diversity, in: WWW</article-title>
          , ACM,
          <year>2018</year>
          , pp.
          <fpage>923</fpage>
          -
          <lpage>932</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Tsioutsiouliklis</surname>
          </string-name>
          , E. Pitoura,
          <string-name>
            <given-names>P.</given-names>
            <surname>Tsaparas</surname>
          </string-name>
          , I. Kleftakis,
          <string-name>
            <given-names>N.</given-names>
            <surname>Mamoulis</surname>
          </string-name>
          ,
          <article-title>Fairness-aware pagerank</article-title>
          , in: WWW, ACM,
          <year>2021</year>
          , pp.
          <fpage>3815</fpage>
          -
          <lpage>3826</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Tsioutsiouliklis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Pitoura</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Semertzidis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Tsaparas</surname>
          </string-name>
          ,
          <article-title>Link recommendations for pagerank fairness</article-title>
          , in: WWW, ACM,
          <year>2022</year>
          , pp.
          <fpage>3541</fpage>
          -
          <lpage>3551</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>F.</given-names>
            <surname>Fabbri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Bonchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Boratto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Castillo</surname>
          </string-name>
          ,
          <article-title>The efect of homophily on disparate visibility of minorities in people recommender systems</article-title>
          , in: ICWSM,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T. A.</given-names>
            <surname>Rahman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Surma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Backes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Fairwalk:
          <article-title>Towards fair graph embedding</article-title>
          ,
          <source>in: IJCAI</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>3289</fpage>
          -
          <lpage>3295</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Khajehnejad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Khajehnejad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Babaei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. P.</given-names>
            <surname>Gummadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Weller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Mirzasoleiman</surname>
          </string-name>
          , Crosswalk:
          <article-title>Fairness-enhanced node representation learning</article-title>
          ,
          <source>in: AAAI</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>11963</fpage>
          -
          <lpage>11970</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>D.</given-names>
            <surname>Liben-Nowell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Kleinberg</surname>
          </string-name>
          ,
          <article-title>The link prediction problem for social networks</article-title>
          ,
          <source>in: CIKM, ACM</source>
          ,
          <year>2003</year>
          , pp.
          <fpage>556</fpage>
          -
          <lpage>559</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J.</given-names>
            <surname>Ali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Babaei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chakraborty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Mirzasoleiman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. P.</given-names>
            <surname>Gummadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Singla</surname>
          </string-name>
          ,
          <article-title>On the fairness of time-critical influence maximization in social networks</article-title>
          ,
          <source>in: ICDE</source>
          , IEEE,
          <year>2022</year>
          , pp.
          <fpage>1541</fpage>
          -
          <lpage>1542</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S.</given-names>
            <surname>Haddadan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Menghini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Riondato</surname>
          </string-name>
          , E. Upfal, Repbublik:
          <article-title>Reducing polarized bubble radius with link insertions</article-title>
          , in: WSDM, ACM,
          <year>2021</year>
          , pp.
          <fpage>139</fpage>
          -
          <lpage>147</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>E.</given-names>
            <surname>Pitoura</surname>
          </string-name>
          ,
          <article-title>Social-minded measures of data quality: Fairness, diversity, and lack of bias</article-title>
          ,
          <source>ACM J. Data Inf. Qual</source>
          .
          <volume>12</volume>
          (
          <year>2020</year>
          )
          <volume>12</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>12</lpage>
          :
          <fpage>8</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>