<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.2.0">Jekyll</generator><link href="https://www.jiongzhu.net/feed.xml" rel="self" type="application/atom+xml" /><link href="https://www.jiongzhu.net/" rel="alternate" type="text/html" /><updated>2024-10-01T06:01:40+00:00</updated><id>https://www.jiongzhu.net/feed.xml</id><title type="html">Jiong Zhu</title><subtitle>Personal Website of Jiong Zhu</subtitle><author><name>Jiong Zhu</name><email>jiongzhu@umich.edu</email></author><entry><title type="html">Revisiting the problem of heterophily for GNNs</title><link href="https://www.jiongzhu.net/revisiting-heterophily-gnns/" rel="alternate" type="text/html" title="Revisiting the problem of heterophily for GNNs" /><published>2021-08-03T00:00:00+00:00</published><updated>2021-08-03T00:00:00+00:00</updated><id>https://www.jiongzhu.net/revisiting-heterophily-gnns</id><content type="html" xml:base="https://www.jiongzhu.net/revisiting-heterophily-gnns/">&lt;script type=&quot;text/x-mathjax-config&quot;&gt;
MathJax.Hub.Config({
  tex2jax: {
    inlineMath: [['$$','$$'], ['\\(','\\)']],
    displayMath: [['$$$','$$$']]
  }
});
&lt;/script&gt;

&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

&lt;h1 id=&quot;introduction&quot;&gt;Introduction&lt;/h1&gt;

&lt;figure class=&quot;&quot; style=&quot;float: right; display: table; width: 33%; margin-left: 1em; margin-top:0;&quot;&gt;
  &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/heterophily-example.svg&quot; alt=&quot;&quot; style=&quot;&quot; /&gt;
    &lt;figcaption style=&quot;&quot;&gt;
      
Fig. 1: Example of a graph with mixed homophily and heterophily, with node colors representing class labels: nodes in green show strong &lt;em&gt;homophily&lt;/em&gt;, while nodes in orange and purple show strong &lt;em&gt;heterophily&lt;/em&gt;.

    &lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Graph neural networks (GNNs) have gained wide research interest for their success in learning with graph data. The limitations of GNNs beyond the commonly assumed homophilous settings (where the connected nodes tend to have the same class labels and similar node features) have been lately attracting significant attention: many works have empirically discovered the degradation of GNN performance on heterophilous datasets and proposed designs aiming at improving the GNN performance under &lt;em&gt;heterophily&lt;/em&gt; (where connected nodes may have different class labels and dissimilar features) &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1,2,3,4,5,6]&lt;/a&gt;; some works have also provided theoretical justifications for the proposed designs &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1,3,5,6]&lt;/a&gt;.&lt;/p&gt;

&lt;!-- &lt;figure class=&quot;&quot; style=&quot;float:left;&quot;&gt;
  &lt;img src=
    
      &quot;/assets/images/revisiting-heterophily-GNNs/heterophily-example.svg&quot;
    
    alt=&quot;&quot;&gt;
  
    &lt;figcaption&gt;
      Fig. 1: Example of a graph with mixed homophily and heterophily, with node colors representing class labels: nodes in green show strong &lt;em&gt;homophily&lt;/em&gt;, while nodes in orange and purple show strong &lt;em&gt;heterophily&lt;/em&gt;.

    &lt;/figcaption&gt;&lt;/figure&gt;
 --&gt;

&lt;!-- 

&lt;div class=&quot;feature__wrapper&quot;  id=&quot;gallery-heterophily-example&quot; &gt;

  

    

    &lt;div class=&quot;feature__item--left&quot;&gt;
      &lt;div class=&quot;archive__item&quot;&gt;
        
          &lt;div class=&quot;archive__item-teaser&quot;&gt;
            &lt;img src=
              
                &quot;/assets/images/revisiting-heterophily-GNNs/heterophily-example.svg&quot;
              
            alt=&quot;&quot;&gt;
            
          &lt;/div&gt;
        

        &lt;div class=&quot;archive__item-body&quot;&gt;
          

          

          
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  

    

    &lt;div class=&quot;feature__item--left&quot;&gt;
      &lt;div class=&quot;archive__item&quot;&gt;
        

        &lt;div class=&quot;archive__item-body&quot;&gt;
          

          

          
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  

&lt;/div&gt; --&gt;
&lt;p&gt;Recently, &lt;a href=&quot;https://arxiv.org/abs/2106.06134&quot;&gt;a preprint by Ma et al.&lt;/a&gt; &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; revisited the problem of heterophily for GNNs: they observed that in &lt;em&gt;some&lt;/em&gt; synthetic and real-world heterophilous datasets, GCNs &lt;a class=&quot;citation&quot; href=&quot;#kipf2017semi&quot;&gt;[8]&lt;/a&gt; could still show competitive performance, in some cases even outperforming models featuring heterophilous designs (such as \(\mathrm{H_2GCN}\) &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt;). These observations &lt;em&gt;may seem&lt;/em&gt; to be contradictory to the findings of previous works that GCNs do not generally work well on heterophilous graphs. Moreover, the authors questioned whether homophily is always a necessary condition for GCNs to work well, and 
&lt;!-- whether heterophily is a setup worth discussing separately for GCNs after all.  --&gt;
claimed that “heterophily in and of itself is not a problem for GCNs” &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In this post, we explain the reasons behind the &lt;em&gt;seemly&lt;/em&gt; contradictory observations between this preprint &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; and our previous work on heterophily &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt;, and address the questions raised by the authors. We further discuss the differences in the focus and scope of the contributions of &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; and &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt;, and how the takeaways of both works are compatible with each other. In our discussion below, we assume that the readers are familiar with the claims and analyses of the corresponding works.&lt;/p&gt;

&lt;h1 id=&quot;why-do-the-observations-of-gcn-performance-on-heterophilous-graphs-seem-to-be-contradictory-in-7-and-1&quot;&gt;Why do the observations of GCN performance on heterophilous graphs seem to be contradictory in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; and &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt;?&lt;/h1&gt;

&lt;p&gt;The most seemingly contradictory observations between &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; and &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt; are probably the takeaways on the synthetic graphs:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; shows that on synthetic graphs with few or no &lt;em&gt;randomly&lt;/em&gt;-added heterophilous connections (i.e., with the noise parameter \(\gamma\) close to 0 — all the heterophilous edges are added according to the pre-defined compatibility matrix), the performance of GCNs can even increase as the level of heterophily in the graph gets stronger (i.e., when the edge homophily ratio \(h\) decreases),&lt;/li&gt;
  &lt;li&gt;while the prior work &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt; shows that the performance of GCNs significantly decrease with the increase of the level of heterophily.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our follow-up analysis shows that these seemingly contradictory results are due to the different processes used to generate the synthetic graphs with varying level of homophily in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; and &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1,2]&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; generates them by adding a large number of heterophilous (cross-label) edges on top of existing (homophilous) real-world graphs like Cora and Citeseer.&lt;/li&gt;
  &lt;li&gt;&lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1,2]&lt;/a&gt; follow a modified preferential attachment process which allows to control the edge homophily ratio (or, more generally, the class compatibility matrix) of the resulting graph, while maintaining the power-law degree distribution.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These two synthetic graph generation processes lead to very different properties (e.g., degree distribution, class compatibility matrix) in the resulting graphs, which in turn affect the model performance, as we will discuss in the next section.&lt;/p&gt;

&lt;h1 id=&quot;looking-deeper-into-the-conditions-for-gcns-to-work-well-on-heterophily&quot;&gt;Looking deeper into the conditions for GCNs to work well on heterophily&lt;/h1&gt;

&lt;p&gt;In &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;, the authors attribute the key reason of competitive performance of GCNs on heterophilous graphs to the intra-class similarity and inter-class distinguishability of the class label distributions of the 1-hop neighbors for nodes in the graphs: when nodes in the same class have strong similarities in neighborhood label distributions, and nodes from different classes have weak or no similarities, the GCNs are able to perform well due to the high distinguishability of the neighborhood label distributions, even when the graphs are heterophilous.&lt;/p&gt;

&lt;p&gt;Our analysis in general agrees with this finding, but we also find that &lt;strong&gt;the high distinguishability of the class label distributions &lt;em&gt;under heterophily&lt;/em&gt; is largely dependent on the properties of the graphs&lt;/strong&gt;, such as degree distributions, and underlying compatibility 
matrices (which is also addressed in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; in their Observation 2). 
In the following discussion, to explain how these graph properties can affect the distinguishability of the neighborhood label distributions in heterophilous settings, we use as examples two sets of synthetic graphs generated from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt;: (1) denser synthetic graphs used in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; (which we call &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt;) and (2) sparser synthetic graphs based on the generation process in &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1,2]&lt;/a&gt; (which we refer to as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt;).&lt;/p&gt;

&lt;h2 id=&quot;the-effect-of-low-degree-nodes&quot;&gt;The effect of low-degree nodes&lt;/h2&gt;

&lt;div class=&quot;emphasize&quot; id=&quot;observation2&quot;&gt;
  &lt;p&gt;📌 In &lt;strong&gt;Observation 2&lt;/strong&gt; in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;, the authors state that&lt;/p&gt;
  &lt;ul&gt;
    &lt;li&gt;if the neighborhood label distributions of nodes \(v \in \mathcal{V}_c\) are sampled from a fixed distribution \(\mathcal{D}_c\), and&lt;/li&gt;
    &lt;li&gt;when \(c \neq c'\), the distributions \(\mathcal{D}_{c}\) and \(\mathcal{D}_{c'}\) are distinguishable from each other,&lt;/li&gt;
  &lt;/ul&gt;

  &lt;p&gt;then it is expected that the GCN models can perform well in the heterophilous settings.&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;However, the aforementioned statement ignores a critical point about the varied quality of the samples of the distribution \(\mathcal{D}_c\) under varied degrees for each node \(v \in \mathcal{V}_c\): when all the nodes have sufficiently large degrees, it is expected that \(\mathcal{D}_c\) can be recovered well in the node neighborhoods due to sufficient samples of the distributions; however, when many low-degree nodes are present in the graph (which is the case for many real-world graphs, which usually follow power-law degree distributions), \(\mathcal{D}_c\) may not be consistently recovered in the neighborhood of the low-degree nodes under heterophily due to the insufficiency of the samples. This affects the intra-class and inter-class similarity of the neighborhood label distributions in heterophilous settings.&lt;/p&gt;

&lt;h3 id=&quot;low-degree-nodes--heterophily&quot;&gt;Low-degree nodes &amp;amp; Heterophily&lt;/h3&gt;

&lt;p&gt;We can further explain how low-degree nodes affect the intra-class and inter-class similarity of the neighborhood label distributions for GCNs under heterophily using the following toy examples.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Empirical Setup:&lt;/strong&gt; Suppose the neighborhood label distributions \(\mathcal{D}_c\) and \(\mathcal{D}_{c'}\) for two classes \(c \neq c'\) are given in the red dashed boxes in &lt;a href=&quot;#gallery-low-degree-heterophily&quot;&gt;Fig. 2&lt;/a&gt;; following the distributions \(\mathcal{D}_c\) and \(\mathcal{D}_{c'}\), we randomly generate the neighborhood label distributions of 200 nodes with degree 2 for both classes by sampling the labels of their 2 neighbors independently from the corresponding underlying distribution, and we visualize 10 of the 200 synthetic neighborhood label distributions below (clustered with the corresponding ground-truth distribution in the dashed red box).&lt;/p&gt;

&lt;p&gt;We note that as the formulation of GCN aggregators additionally consider a self loop for each node, the neighborhood label distribution observed by GCN models should be considered with self loops added to the graphs, even when \(\mathcal{D}_c\) and \(\mathcal{D}_{c'}\) dictate purely heterophilous connections. To visualize the effects of self loops in the neighborhood label distributions, we visualize their contributions to the distributions in &lt;a href=&quot;#gallery-low-degree-heterophily&quot;&gt;Fig. 2&lt;/a&gt; (and its follow-up figures) in gray.&lt;/p&gt;

&lt;figure class=&quot; &quot; id=&quot;gallery-low-degree-heterophily&quot;&gt;
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/dist-hete-low-degree.svg&quot; alt=&quot;&quot; /&gt;
    
  
  
    &lt;figcaption&gt;Fig. 2: (a) Neighborhood label distribution \(\mathcal{D}_c\) of class \(c\), which shows strong heterophily, in the red dashed box, with visualizations of 10 of the 200 synthetic neighborhood label distributions sampled from \(\mathcal{D}_c\) under node degree of 2. (b) Neighborhood label distribution \(\mathcal{D}_{c'}\) of another class \(c'\), which also shows strong heterophily, in the red dashed box, with visualizations of 10 of the 200 synthetic neighborhood label distributions sampled from \(\mathcal{D}_{c'}\) under node degree of 2. For both plots, the gray parts visualize the contributions of self loops in the neighborhood label distributions aggregated by GCN.
&lt;/figcaption&gt;
  
&lt;/figure&gt;

&lt;p&gt;&lt;strong&gt;Observations: (1)&lt;/strong&gt; From &lt;a href=&quot;#gallery-low-degree-heterophily&quot;&gt;Fig. 2&lt;/a&gt;, we observe that the intra-class neighborhood label distributions have a high variance and can be very different from the corresponding ground-truth distributions (even when not considering the self loops). In fact, the mean and standard deviation of the intra-class pairwise cosine similarity among the 200 synthetic neighborhoods of class \(c\) and \(c'\) are \(0.79\pm 0.24\), where the high standard deviation reflects the strong variance among the sampled neighborhood distributions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(2)&lt;/strong&gt; Furthermore, we observe that many of the neighborhood label distributions from nodes in class \(c, c'\) are the same when considering the self loops, which affects the distinguishability of the neighborhood label distributions between different classes; the inter-class pairwise cosine similarity for our synthetic neighborhoods of class \(c\) and \(c'\) is \(0.79\pm0.17\) in this case, which is the same as the intra-class pairwise similarity with even smaller standard deviation.&lt;/p&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/dist-a-new.svg](../assets/images/revisiting-heterophily-GNNs/dist-a-new.svg)

![../assets/images/revisiting-heterophily-GNNs/dist-b-new.svg](../assets/images/revisiting-heterophily-GNNs/dist-b-new.svg) --&gt;

&lt;h3 id=&quot;high-degree-nodes--heterophily&quot;&gt;High-degree nodes &amp;amp; Heterophily&lt;/h3&gt;

&lt;p&gt;On the other hand, when the node degrees are high under heterophily, the neighborhood label distributions are more similar to the underlying distributions \(\mathcal{D}_c\) and \(\mathcal{D}_{c'}\) (even with self loops considered) and thus have much smaller variances. In &lt;a href=&quot;#gallery-high-degree-heterophily&quot;&gt;Fig. 3&lt;/a&gt;, we illustrate randomly sampled neighborhood label distributions of another 200 nodes with degree 10 (instead of 2). The mean and standard deviation of the pairwise cosine similarity among the generated neighborhoods of class \(c\) and \(c'\) are \(0.93\pm0.09\), while the inter-class pairwise similarity decreased to \(0.64\pm0.15\). These changes in intra-class and inter-class similarities can also be observed from the illustrations of the sampled distributions below.&lt;/p&gt;

&lt;figure class=&quot; &quot; id=&quot;gallery-high-degree-heterophily&quot;&gt;
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/dist-hete-high-degree.svg&quot; alt=&quot;&quot; /&gt;
    
  
  
    &lt;figcaption&gt;Fig. 3: (a) Neighborhood label distribution \(\mathcal{D}_c\) of the same class \(c\) as in &lt;a href=&quot;#gallery-low-degree-heterophily&quot;&gt;Fig. 2&lt;/a&gt;, with visualizations of 10 of the 200 synthetic neighborhood label distributions sampled from \(\mathcal{D}_c\) under node degree of 10. (b) Neighborhood label distribution \(\mathcal{D}_{c'}\) of the same class \(c'\) as in &lt;a href=&quot;#gallery-low-degree-heterophily&quot;&gt;Fig. 2&lt;/a&gt;, with visualizations of 10 of the 200 synthetic neighborhood label distributions sampled from \(\mathcal{D}_{c'}\) under node degree of 10. For both plots, the gray parts visualize the contributions of self loops in the neighborhood label distributions aggregated by GCN.
&lt;/figcaption&gt;
  
&lt;/figure&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/dist-aa-new.svg](../assets/images/revisiting-heterophily-GNNs/dist-aa-new.svg)

![../assets/images/revisiting-heterophily-GNNs/dist-bb-new.svg](../assets/images/revisiting-heterophily-GNNs/dist-bb-new.svg) --&gt;

&lt;h3 id=&quot;connection-to-prior-work&quot;&gt;Connection to prior work&lt;/h3&gt;

&lt;p&gt;&lt;img src=&quot;../assets/images/revisiting-heterophily-GNNs/deg_acc_h2gcn.svg&quot; alt=&quot;../assets/images/revisiting-heterophily-GNNs/deg_acc_h2gcn.svg&quot; class=&quot;align-right&quot; /&gt;
From the above analysis, we see that &lt;strong&gt;the existence of low-degree nodes can lead to weak distinguishability of inter-class neighborhood label distributions, thus affecting the performance of GCNs&lt;/strong&gt;. Our empirical analysis in previous works has supported this observation, where we observed significant performance gap between low-degree and high-degree nodes for H2GCN under heterophily &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt;; we show the results of this corresponding empirical analysis in &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt; on the right.&lt;/p&gt;

&lt;p&gt;Furthermore, we believe that the Observation 2 in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;, which aligns with their empirical observations, have 
missed the lack of low-degree nodes as a necessary condition for good GCN performance under heterophily due to the approach of introducing heterophily to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; synthetic graphs:
&lt;!-- a result of the *lack* of low-degree nodes in the `necessity-cora` synthetic graphs, due to the approach of introducing heterophily to them:  --&gt;
the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; graphs with homophily ratio \(h&amp;lt;0.5\) (i.e., heterophilous) have a much higher average degree compared to their corresponding base graph &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt;, as large amount of edges need to be added in order to decrease the edge homophily ratio in the (strongly homophilous) base graph.&lt;/p&gt;

&lt;p&gt;As an example, in &lt;a href=&quot;#gallery-degree-dist&quot;&gt;Fig. 4&lt;/a&gt;, we show the degree distribution of base graph &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt; in comparison to the degree distributions of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; graphs with \(\gamma=0\) (i.e., when all the heterophilous edges are added according to the pre-defined compatibility matrix, without any randomness) under various edge homophily ratios \(h\). We see that as \(h\) decreases, the degrees for all nodes in the graph grow, and the degree distributions move further away from the degree distribution of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt;; for the \(h=0.077\) instance, even the minimum node degree in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; graph has exceeded the degree of most nodes in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt;. In our further &lt;a href=&quot;&quot;&gt;empirical analysis&lt;/a&gt;, we show that the lack of low-degree nodes is indeed 
a necessary condition that contributes
&lt;!-- a major contributing factor  --&gt;
to the observed high performance of GCNs on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt;.&lt;/p&gt;

&lt;figure class=&quot; &quot; id=&quot;gallery-degree-dist&quot;&gt;
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/degree-compare.svg&quot; alt=&quot;&quot; /&gt;
    
  
  
    &lt;figcaption&gt;
Fig. 4: (a) Zipf plot of degree distribution of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt;, which shows a typical power-law degree distribution. (b) Zipf plot of the degree distribution of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt;, the cora-based synthetic graphs in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; with \(\gamma=0\) and edge homophily ratio \(h\in \{0.077, 0.303, 0.446, 0.584, 0.789\}\). As \(h\) decreases, the degrees for all the nodes increase, and the degree distributions are moving further away from the original degree distribution of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt;.
&lt;/figcaption&gt;
  
&lt;/figure&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/newplot_(46).png](../assets/images/revisiting-heterophily-GNNs/newplot_(46).png)

Zipf plot of degree distribution of `cora`, which shows a typical power-law degree distribution. 

![../assets/images/revisiting-heterophily-GNNs/newplot_(56).png](../assets/images/revisiting-heterophily-GNNs/newplot_(56).png)

Zipf plot of the degree distribution of `necessity-cora`, the cora-based synthetic graphs in [1] with $$\gamma=0$$ and edge homophily ratio $$h\in \{0.077, 0.303, 0.446, 0.584, 0.789\}$$. As $$h$$ decreases, the degrees for all the nodes increase, and the degree distributions are moving further away from the original degree distribution of `cora`.  --&gt;

&lt;h3 id=&quot;degree--homophily&quot;&gt;Degree &amp;amp; Homophily&lt;/h3&gt;

&lt;p&gt;An important note to add to the above discussion is that the presence of low-degree nodes does not affect the similarity of neighborhood label distributions as much in strong homophilous settings as in the heterophilous settings. In the example below, we similarly generate the neighborhood label distributions of 200 nodes with degrees of 2 for class \(c, c'\), but this time with distributions \(\mathcal{D}_c\) and \(\mathcal{D}_{c'}\) showing strong homophily. From &lt;a href=&quot;#gallery-degree-homophily&quot;&gt;Fig. 5&lt;/a&gt; below, we observe that, unlike the heterophilous settings, almost all synthetic distributions of nodes from the same class \(c\) (or \(c'\)) are close to the expected distribution \(\mathcal{D}_c\) (or \(\mathcal{D}_{c'}\)); most neighbors (considering self-loops) have the same class label \(c\) (or \(c'\)) as themselves, even for low-degree nodes. The intra-class pairwise cosine similarity among the synthetic neighborhoods of class \(c\) and \(c'\) in these homophilous settings is \(0.88\pm0.15\) and \(0.91\pm0.13\), respectively. On the other hand, the inter-class pairwise similarity is \(0.21\pm0.29\), which shows good separability. This example shows that 
&lt;!-- **the presence of low-degree nodes is a challenge that is more specific to the heterophilous settings, and does not affect much the homophilous settings.**  --&gt;
&lt;strong&gt;the presence of low-degree nodes is a challenge that is more pronounced in heterophilous settings than in homophilous settings.&lt;/strong&gt;&lt;/p&gt;

&lt;figure class=&quot; &quot; id=&quot;gallery-degree-homophily&quot;&gt;
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/dist-homo.svg&quot; alt=&quot;&quot; /&gt;
    
  
  
    &lt;figcaption&gt;Fig. 5: (a) Neighborhood label distribution \(\mathcal{D}_c\) of class \(c\), which now shows strong homophily, in the red dashed box, with visualizations of 10 of the 200 synthetic neighborhood label distributions sampled from \(\mathcal{D}_c\) under node degree of 2. (b) Neighborhood label distribution \(\mathcal{D}_{c'}\) of another class \(c'\), which also shows strong homophily now, in the red dashed box, with visualizations of 10 of the 200 synthetic neighborhood label distributions sampled from \(\mathcal{D}_{c'}\) under node degree of 2. For both plots, the gray parts visualize the contributions of self loops in the neighborhood label distributions aggregated by GCN.
&lt;/figcaption&gt;
  
&lt;/figure&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/dist-a-homo.svg](../assets/images/revisiting-heterophily-GNNs/dist-a-homo.svg)

![../assets/images/revisiting-heterophily-GNNs/dist-b-homo.svg](../assets/images/revisiting-heterophily-GNNs/dist-b-homo.svg) --&gt;

&lt;h2 id=&quot;the-effect-of-compatibility-matrices&quot;&gt;The effect of compatibility matrices&lt;/h2&gt;

&lt;p&gt;Another factor that affects the distinguishability of inter-class neighborhood label distributions is the distinguishability of the prescribed \(\mathcal{D}_c\) for different classes: when the node degrees are sufficiently high, the neighborhood node distributions for nodes \(v \in \mathcal{V}_c\) are expected to follow \(\mathcal{D}_c\), as we discussed in the previous section; in this case, 
as stated in &lt;a href=&quot;#observation2&quot;&gt;Observation 2&lt;/a&gt; in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;, 
the distinguishability of inter-class neighborhood label distributions mostly depends on the distinguishability of \(\mathcal{D}_c\). 
Using the terminology in &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1,2]&lt;/a&gt;, the distribution \(\mathcal{D}_c\) for each class \(c\) can be modeled by the compatibility matrix \(\mathbf{H}\), where each row represents the expected neighborhood label distribution \(\mathcal{D}_c\) of the corresponding class \(c\); when the rows of \(\mathbf{H}\) are distinct, 
the condition of the Observation 2 in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; holds with sufficiently high node degrees, 
and it is expected that the GCN models will perform well.&lt;/p&gt;

&lt;h3 id=&quot;heterophily&quot;&gt;Heterophily&lt;/h3&gt;

&lt;p&gt;The differences in the distinguishability of the &lt;em&gt;compatibility matrices&lt;/em&gt; \(\mathbf{H}\) can also explain the differences in the observed performance of GCN on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt;. In the top row of &lt;a href=&quot;#gallery-compatibility-heterophily&quot;&gt;Fig. 6&lt;/a&gt;, we visualize the compatibility matrices of graphs from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt; with homophily ratio \(h\) around 0.0 (i.e., pure heterophily):&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;when \(\gamma=0\), the compatibility matrices in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; are formulated to resemble a \(k\)-partite graph, where almost all connections of class \(c\) are limited to the two adjacent classes;&lt;/li&gt;
  &lt;li&gt;in comparison, the heterophilous connections of class \(c\) in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt; are distributed to all classes \(c'\neq c\), and the rows of the compatibility matrix are less distinct.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From the &lt;em&gt;cosine similarity of the compatibility matrices&lt;/em&gt; (the bottom row of &lt;a href=&quot;#gallery-compatibility-heterophily&quot;&gt;Fig. 6&lt;/a&gt;, i.e., cosine similarity between \(\mathcal{D}_c\) and \(\mathcal{D}_{c'}\) for pairwise classes \(c\) and \(c'\)), we can also see that&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;the \(k\)-partite heterophilous connection patterns introduced by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; when \(\gamma=0\) help maintain the high distinguishability of \(\mathcal{D}_c\) among different classes, and thus provide an easier node classification problem for GCNs compared to more general heterophilous patterns;&lt;/li&gt;
  &lt;li&gt;in comparison, the high similarity of \(\mathcal{D}_c\) among different classes in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt; makes it hard to distinguish different classes from the neighborhood label distributions even for high degree nodes, as many heterophilous connections from class \(c\) are uniformly distributed to other classes \(c'\neq c\), similar to the \(\gamma=0.8\) setup of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;figure class=&quot;third &quot; id=&quot;gallery-compatibility-heterophily&quot;&gt;
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-necessity-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-necessity-cora-gamma0.8.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-syn-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-sim-necessity-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-sim-necessity-cora-gamma0.8.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-sim-syn-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
  
    &lt;figcaption&gt;Fig. 6: (Top row) Comparison of compatibility matrices of different synthetic graphs. (Bottom row) Comparison of &lt;em&gt;the cosine similarity of the rows&lt;/em&gt; in the compatibility matrices (i.e., cosine similarity between \(\mathcal{D}_c\) and \(\mathcal{D}_{c'}\) for pairwise classes \(c\) and \(c'\)) of different synthetic graphs.
&lt;/figcaption&gt;
  
&lt;/figure&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/newplot_(48).png](../assets/images/revisiting-heterophily-GNNs/newplot_(48).png)

Compatibility matrix of `necessity-cora` with $$\gamma=0$$ and edge homophily ratio $$h=0.08$$

![../assets/images/revisiting-heterophily-GNNs/newplot_(54).png](../assets/images/revisiting-heterophily-GNNs/newplot_(54).png)

Compatibility matrix of `necessity-cora` with $$\gamma=0$$.8 and edge homophily ratio $$h=0.16$$

![../assets/images/revisiting-heterophily-GNNs/newplot_(49).png](../assets/images/revisiting-heterophily-GNNs/newplot_(49).png)

Compatibility matrix of `syn-cora` with $$h=0.00$$

![../assets/images/revisiting-heterophily-GNNs/newplot_(59).png](../assets/images/revisiting-heterophily-GNNs/newplot_(59).png)

Cosine similarity of rows of the compatibility matrix of `necessity-cora` with $$\gamma=0$$ and edge homophily ratio $$h=0.08$$

![../assets/images/revisiting-heterophily-GNNs/newplot_(60).png](../assets/images/revisiting-heterophily-GNNs/newplot_(60).png)

Cosine similarity of rows of the compatibility matrix of `necessity-cora` with $$\gamma=0$$.8 and edge homophily ratio $$h=0.16$$

![../assets/images/revisiting-heterophily-GNNs/newplot_(65).png](../assets/images/revisiting-heterophily-GNNs/newplot_(65).png)

Cosine similarity of rows of the compatibility matrix of `syn-cora` with $$h=0.00$$ --&gt;

&lt;h3 id=&quot;homophily&quot;&gt;Homophily&lt;/h3&gt;

&lt;!-- &lt;figure class=&quot;align-right&quot;&gt; --&gt;
&lt;p&gt;&lt;img src=&quot;../assets/images/revisiting-heterophily-GNNs/comp-cora.svg&quot; alt=&quot;../assets/images/revisiting-heterophily-GNNs/comp-cora.svg&quot; class=&quot;align-right&quot; /&gt;
&lt;!-- &lt;figcaption&gt; Test &lt;/figcaption&gt;
&lt;/figure&gt; --&gt;&lt;/p&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/comp-cora.svg](../assets/images/revisiting-heterophily-GNNs/comp-cora.svg){: .align-right} --&gt;

&lt;p&gt;We also note that as similarly discussed in the Observation 1 in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;, the &lt;strong&gt;distinguishability&lt;/strong&gt; of \(\mathcal{D}_c\) (or the distinctiveness of the rows in compatibility matrix \(\mathbf{H}\)) &lt;strong&gt;is guaranteed for graphs with strong homophily&lt;/strong&gt;, as the largest weights in the distributions are concentrated along the diagonal elements of the compatibility matrix \(\mathbf{H}\) for homophilous graphs; as an example, we show the compatibility matrix of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt; in the plot. 
&lt;strong&gt;Thus, the distinguishability of the neighborhood label distributions \(\mathcal{D}_c\) is also a challenge specific to heterophilous settings.&lt;/strong&gt;&lt;/p&gt;

&lt;!-- 



&lt;figure class=&quot;half &quot; 
 id=&quot;gallery-compatibility-homophily&quot; &gt;
  
  
    &lt;figcaption&gt;Fig. 2: Compatibility matrix of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cora&lt;/code&gt;
&lt;/figcaption&gt;
  
&lt;/figure&gt; --&gt;

&lt;h2 id=&quot;further-empirical-analysis&quot;&gt;Further Empirical Analysis&lt;/h2&gt;

&lt;p&gt;We conduct additional empirical studies to evaluate the above analysis regarding the effects of low-degree nodes and compatibility matrices (specifically, \(k\)-partite connections) to GCN performance on heterophilous graphs.&lt;/p&gt;

&lt;p&gt;To study the effects of these two factors in a more fine-grained way, we generate an additional set of synthetic graphs which have \(k\)-&lt;em&gt;partite heterophilous connections&lt;/em&gt; similar to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; (by leveraging the same or similar compatibility matrices as specified in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; in the generation process), but the same &lt;em&gt;power-law&lt;/em&gt; &lt;em&gt;degree distribution&lt;/em&gt; as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt; (by following the same modified preferential attachment generation process as in &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1,2]&lt;/a&gt;). We refer to this new set of synthetic graphs as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora-ours&lt;/code&gt;, and consider two variants:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora-ours-5&lt;/code&gt;: with 5 classes based on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt;  and&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora-ours-7&lt;/code&gt;: with 7 classes based on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In &lt;a href=&quot;#gallery-empirical-distributions-compatibility&quot;&gt;Fig. 7&lt;/a&gt;, We additionally visualize the degree distributions and compatibility matrices of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora-ours-5&lt;/code&gt; and  &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora-ours-7&lt;/code&gt;, along with the visualizations for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt;:&lt;/p&gt;

&lt;figure class=&quot;half &quot; id=&quot;gallery-empirical-distributions-compatibility&quot;&gt;
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/degree-dist-necessity-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-necessity-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/degree-dist-necessity-cora-ours-7.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-necessity-cora-ours-7.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/degree-dist-necessity-cora-ours-5.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-necessity-cora-ours-5.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/degree-dist-syn-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/comp-syn-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
  
    &lt;figcaption&gt;Fig. 7: Degree distributions (left column) and compatibility matrices (right column) of the graphs evaluated in our empirical studies.
&lt;/figcaption&gt;
  
&lt;/figure&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/newplot_(67).png](../assets/images/revisiting-heterophily-GNNs/newplot_(67).png)

Degree distribution of `necessity-cora` with $$\gamma=0$$ and edge homophily ratio $$h=0.08$$

![../assets/images/revisiting-heterophily-GNNs/newplot_(48).png](../assets/images/revisiting-heterophily-GNNs/newplot_(48).png)

Compatibility matrix of `necessity-cora` with $$\gamma=0$$ and edge homophily ratio $$h=0.08$$ --&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/newplot_(63).png](../assets/images/revisiting-heterophily-GNNs/newplot_(63).png)

Degree distribution of `necessity-cora-ours-7`

![../assets/images/revisiting-heterophily-GNNs/newplot_(52).png](../assets/images/revisiting-heterophily-GNNs/newplot_(52).png)

Compatibility matrix of `necessity-cora-ours-7` --&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/newplot_(64).png](../assets/images/revisiting-heterophily-GNNs/newplot_(64).png)

Degree distribution of `necessity-cora-ours-5`

![../assets/images/revisiting-heterophily-GNNs/newplot_(51).png](../assets/images/revisiting-heterophily-GNNs/newplot_(51).png)

Compatibility matrix of `necessity-cora-ours-5` --&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/newplot_(68).png](../assets/images/revisiting-heterophily-GNNs/newplot_(68).png)

Degree distribution of `syn-cora` with $$h=0.00$$

![../assets/images/revisiting-heterophily-GNNs/newplot_(49).png](../assets/images/revisiting-heterophily-GNNs/newplot_(49).png)

Compatibility matrix of `syn-cora` with $$h=0.00$$ --&gt;

&lt;h3 id=&quot;performance-of-different-models-on-synthetic-graphs&quot;&gt;Performance of different models on synthetic graphs&lt;/h3&gt;

&lt;p&gt;We compare the performance of H2GCN, GCN and MLP on the four sets of synthetic graphs to examine how the degree distributions and compatibility matrices affect the performance of these GNN models; for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt;, we select the graph with \(h\) closest to 0 (i.e., closest to the \(h=0\) target as specified in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;). For each model, we report the average and standard deviation of the classification accuracy of each model under 5 runs with different random seeds per dataset.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Setup&lt;/strong&gt;. For GCN, we follow the same hyperparameter tuning as in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;, and additionally tune the dimension of hidden embeddings between 16 and 64. For H2GCN, we tune only a subset of the hyperparameters that we tune for GCN (16 vs. 112 combinations, which are more hyperparameter combinations than those explored in &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt;). We use the provided training, validation and test splits for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt;, and generate the splits in similar ways for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora-ours&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt;. In the following table, we list the performance of each model along with the corresponding properties of the graphs:&lt;/p&gt;

&lt;!-- [Untitled](https://www.notion.so/d88f6515132b4cc6a74fc37496f652fe) --&gt;

&lt;!-- &lt;div class=&quot;datatable-begin&quot;&gt;&lt;/div&gt; --&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;Name&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;# Nodes&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;# Edges&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;Edge Homo. Ratio \(h\)&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;Low-degree nodes&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;\(k\)-partite&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;H2GCN-2 Accuracy (%)&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;H2GCN-1 Accuracy (%)&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;GCN &lt;br /&gt;Accuracy &lt;br /&gt;(%)&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;MLP Accuracy (%)&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;necessity-cora &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; &lt;br /&gt;(\(\gamma=0\))&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;2708&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;132196&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;0.03&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;&lt;i class=&quot;fas fa-times&quot;&gt;&lt;/i&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;&lt;i class=&quot;fas fa-check-circle&quot;&gt;&lt;/i&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(99.26\pm0.28\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(93.48\pm0.93\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(100.00\pm 0.00\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(59.16\pm0.52\)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;necessity-cora-ours-7&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;2708&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;5394&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;0&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;&lt;i class=&quot;fas fa-check-circle&quot;&gt;&lt;/i&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;&lt;i class=&quot;fas fa-check-circle&quot;&gt;&lt;/i&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(88.45\pm1.26\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(80.85\pm1.69\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(65.10\pm1.80\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(58.20\pm2.05\)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;necessity-cora-ours-5&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;1490&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;2968&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;0&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;&lt;i class=&quot;fas fa-check-circle&quot;&gt;&lt;/i&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;&lt;i class=&quot;fas fa-check-circle&quot;&gt;&lt;/i&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(87.98\pm1.49\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(82.40\pm 1.77\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(59.26\pm2.17\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(64.16\pm1.61\)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;syn-cora &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;1490&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;2968&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;0&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;&lt;i class=&quot;fas fa-check-circle&quot;&gt;&lt;/i&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;&lt;i class=&quot;fas fa-times&quot;&gt;&lt;/i&gt;&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(68.95\pm1.88\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(66.82\pm2.13\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(27.27\pm1.72\)&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;\(63.84 \pm2.17\)&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;!-- &lt;div class=&quot;datatable-end&quot;&gt;&lt;/div&gt; --&gt;

&lt;p&gt;&lt;strong&gt;Results.&lt;/strong&gt; In the table above, we can see the effects of low-degree nodes and \(k\)-partite connections to the performance of GNN models when the graphs share similar edge homophily ratio \(h\):&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;With no low-degree nodes and \(k\)-partite heterophilous connections, models like GCN and H2GCN-2 can achieve near-perfect accuracy on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;When we keep the \(k\)-partite patterns in the compatibility matrices but modify the degree distributions to follow a power law, we observe 34.90% to 40.74% decrease in accuracy for GCN, which falls below the accuracy of H2GCN on these graphs (though the performance of H2GCN also decreases in this case).&lt;/li&gt;
  &lt;li&gt;If we further strip the \(k\)-partite connectivity patterns for heterophilous connections, on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt;, the performance of GCN further decreases by 31.99% and falls much below the performance of the graph-agnostic MLP in this case; though the accuracy of H2GCN variants also decreases significantly, they still outperform MLP in this case.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The significant changes in the accuracy of GCN can also be explained by the changes in the neighborhood label similarity as discussed in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;: here, we similarly calculate the neighborhood label similarity for the all synthetic graphs following Eq. (8) in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;, except that we do not take into account the similarity of each node with itself into the average (i.e., when \(c = c'\) and \(i=j\) in Eq. (8) in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;). In addition, we also calculate the standard deviation of the similarity. Below in &lt;a href=&quot;#gallery-cross-class-similarity&quot;&gt;Fig. 8&lt;/a&gt;, we visualize the calculated cross-class neighborhood similarity and observe the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;With the presence of low-degree nodes, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora-ours&lt;/code&gt; variants have lower similarity and higher variance for intra-class neighborhood label distributions compared to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt;, though they share similar compatibility matrices and \(k\)-partite connection patterns;&lt;/li&gt;
  &lt;li&gt;The removal of the \(k\)-partite patterns in the compatibility matrices of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;syn-cora&lt;/code&gt; further reduces the similarity for intra-class neighborhood label distributions, and increases the inter-class similarity of neighborhood label distributions, leading to weak distinguishability of the neighborhood label distributions between nodes from different classes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These observations explain the decrease of GCN performance observed in our experiments, and show how that the distinguishability of the neighborhood label distributions can depend on other properties like degree distributions and compatibility matrices in the graphs.&lt;/p&gt;

&lt;figure class=&quot;half &quot; id=&quot;gallery-cross-class-similarity&quot;&gt;
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/cross-class-sim-necessity-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/cross-class-sim-necessity-cora-ours-7.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/cross-class-sim-necessity-cora-ours-5.svg&quot; alt=&quot;&quot; /&gt;
    
  
    
      &lt;img src=&quot;/assets/images/revisiting-heterophily-GNNs/cross-class-sim-syn-cora.svg&quot; alt=&quot;&quot; /&gt;
    
  
  
    &lt;figcaption&gt;Fig. 8: Cross-class neighborhood similarities of the graphs evaluated in our empirical studies.
&lt;/figcaption&gt;
  
&lt;/figure&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/Untitled.png](../assets/images/revisiting-heterophily-GNNs/Untitled.png)

Cross-class neighborhood similarity of `necessity-cora` with $$\gamma=0$$ and edge homophily ratio $$h=0.08$$ --&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/Untitled%201.png](../assets/images/revisiting-heterophily-GNNs/Untitled%201.png)

Cross-class neighborhood similarity of `necessity-cora-ours-5` with edge homophily ratio $$h=0.00$$ --&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/Untitled%202.png](../assets/images/revisiting-heterophily-GNNs/Untitled%202.png)

Cross-class neighborhood similarity of `necessity-cora-ours-7` with edge homophily ratio $$h=0.00$$ --&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/Untitled%203.png](../assets/images/revisiting-heterophily-GNNs/Untitled%203.png)

Cross-class neighborhood similarity of `syn-cora` with edge homophily ratio $$h=0.00$$ --&gt;

&lt;h1 id=&quot;is-heterophily-still-a-problem-for-gcns-do-we-still-need-designs-for-heterophilous-graphs&quot;&gt;Is heterophily still a problem for GCNs? Do we still need designs for heterophilous graphs?&lt;/h1&gt;

&lt;p&gt;As GCNs are able to achieve competitive performance on some 
synthetic and real-world
heterophilous graphs under certain 
&lt;!-- ideal  --&gt;
conditions (i.e., when the distinguishability of the neighborhood label distributions is high), a natural follow-up question is whether heterophily is still a problem worth studying for GNNs. Our view is: &lt;strong&gt;yes, heterophily is still a challenging problem for GNN models, including GCN.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;From the above discussions, we have revealed that in order to achieve high separability of neighborhood label distributions under heterophily, the graph needs to satisfy certain properties, including having few low-degree nodes (which may not comply with the power-law degree distribution) and having distinct rows in the class compatibility matrix (e.g., \(k\)-partite heterophilous connections). However, these conditions are not always realized in real-world graphs, and in these cases GCNs are still not able to perform well, as the authors show from the synthetic graph experiments with higher values of \(\gamma\) (or noise in the cross-class connections) in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;. Thus, we believe that it is also an important research question to propose designs to improve the performance of GNNs under more generally conditioned heterophilous settings.&lt;/p&gt;

&lt;p&gt;Furthermore, as we have discussed in the previous sections, &lt;strong&gt;the factors which hinder the distinguishability in neighborhood node distributions are uniquely challenging under heterophilous settings&lt;/strong&gt;: in strong homophilous settings (e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Cora&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Citeseer&lt;/code&gt;), the compatibility matrix \(\mathbf{H}\) has by default distinct rows, and low-degree nodes also have smaller effect to the separability of neighborhood node distributions. That also explains why previous works on strong homophilous graphs do not look into the issue of distinguishability in neighborhood label distributions nor the factors that affects the distinguishability.&lt;/p&gt;

&lt;h2 id=&quot;gcn-vs-h2gcn&quot;&gt;GCN vs. H2GCN&lt;/h2&gt;

&lt;p&gt;Next, we show that the GNN designs for heterophilous settings that we identified in &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt; can largely improve the performance of GNNs compared to GCNs when the heterophilous connections do not have the ideal distinguishability in the neighborhood label distributions as in the \(\gamma=0.0\) case. Following the experiment setup in the previous set of experiments, we run GCN, two variants of H2GCN and MLP on a subset of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; synthetic dataset generated in &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;. We visualize the performance of the four models in &lt;a href=&quot;#necessity-cora-results&quot;&gt;Fig. 9&lt;/a&gt;. We observe that:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;when more heterophilous connections follow the random pattern instead of the prescribed \(k\)-partite pattern (i.e., when \(\gamma\) is high), H2GCN variants largely outperforms GCN under heterophilous settings;&lt;/li&gt;
  &lt;li&gt;when \(\gamma\) is low (more heterophilous edges following the prescribed \(k\)-partite pattern), we also observe that H2GCN outperforms GCN under higher homophily ratio \(h\) (i.e., with less \(k\)-partite heterophilous edges added and more low-degree nodes), which confirms our above-mentioned analysis.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;emphasize--warning&quot;&gt;
  &lt;p&gt;📌 &lt;strong&gt;In summary&lt;/strong&gt;,&lt;/p&gt;
  &lt;ul&gt;
    &lt;li&gt;the heterophilous designs we identified in &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt; aim at utilizing effectively the heterophilous graph adjacency information under general conditions, with focus on preventing the performance of GNNs from degrading more than the performance of MLP;&lt;/li&gt;
    &lt;li&gt;on the other hand, &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; focuses more on exploring the GCN performance for heterophilous graphs under specific 
&lt;!-- (ideal)  --&gt;
conditions.&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;

&lt;!-- ![../assets/images/revisiting-heterophily-GNNs/newplot_(62).png](../assets/images/revisiting-heterophily-GNNs/newplot_(62).png) --&gt;
&lt;figure id=&quot;necessity-cora-results&quot;&gt;
&lt;iframe src=&quot;../assets/images/revisiting-heterophily-GNNs/necessity-cora-results.html&quot; onload=&quot;javascript:(function(o){o.style.height=o.contentWindow.document.body.scrollHeight+&amp;quot;px&amp;quot;;}(this));&quot; style=&quot;height:600px;width:100%;border:none;overflow:hidden;&quot;&gt;
&lt;/iframe&gt;
&lt;figcaption&gt; 
Fig. 9: Performance of H2GCN variants, GCN and MLP on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;necessity-cora&lt;/code&gt; under various \(\gamma\) and edge homophily ratio \(h\). This figure is interactive: hover the mouse on data points to see the exact values; click the legends on the right to toggle the visibility of each model.
 &lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h1 id=&quot;our-takeaways&quot;&gt;Our Takeaways&lt;/h1&gt;

&lt;p&gt;&lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; brings into light how the performance of GCNs can vary based on the distinguishability of the neighborhood label distributions in heterophilous graphs; such analysis is missing in the previous works addressing heterophily, and the competitive performance of GCNs on certain synthetic and real-world heterophilous datasets also clarified the fact that homophily is not &lt;em&gt;always&lt;/em&gt; a necessary assumption for GCNs to work well. However, in our follow-up analysis, we have also shown that the high separability of the neighborhood label distributions is dependent on specific graph properties like degree distribution and compatibility matrix under heterophily. Moreover, we showed that such dependence is an especially critical challenge in heterophily settings since it has much weaker effects under homophily settings. Therefore, we believe that the heterophily-specific limitations and challenges for GNN models are still there: the work of &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt; and our previous works &lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1,2]&lt;/a&gt; have provided some complementary perspectives of how the performance of GNNs can be affected by the heterophilous settings; how to design a GNN model that effectively combines the advantages of GCN on idealized conditions (with high node degrees and separable compatibility matrices) and H2GCN on more general heterophilous conditions remains an open research question.&lt;/p&gt;

&lt;h1 id=&quot;acknowledgements&quot;&gt;Acknowledgements&lt;/h1&gt;

&lt;p&gt;We thank Yao Ma for sharing with us the synthetic datasets generated for the experiments in Section 3.2 of &lt;a class=&quot;citation&quot; href=&quot;#ma2021homophily&quot;&gt;[7]&lt;/a&gt;, Yujun Yan for the thoughtful discussions in preparing this post, and Yao Ma, Xiaorui Liu, Neil Shah and Jiliang Tang for the constructive discussions regarding the takeaways of this post.&lt;/p&gt;

&lt;!-- # References

&lt;div class=&quot;small&quot; markdown=&quot;1&quot;&gt;

[1] Yao Ma, Xiaorui Liu, Neil Shah, and Jiliang Tang. 2021. Is Homophily a Necessity for Graph Neural Networks? arXiv preprint arXiv:2106.06134 (2021).

&lt;a class=&quot;citation&quot; href=&quot;#zhu2020beyond&quot;&gt;[1]&lt;/a&gt; Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. 2020. Beyond Homophily in Graph Neural Networks: Current Limitations and Effective Designs. Advances in Neural Information Processing Systems 33 (2020).

&lt;a class=&quot;citation&quot; href=&quot;#zhu2021graph&quot;&gt;[2]&lt;/a&gt; Jiong Zhu, Ryan A Rossi, Anup Rao, Tung Mai, Nedim Lipka, Nesreen K Ahmed, and Danai Koutra. 2021. Graph Neural Networks with Heterophily. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 35. 11168–11176.

[4] Sami Abu-El-Haija, Bryan Perozzi, Amol Kapoor, Hrayr Harutyunyan, Nazanin Alipourfard, Kristina Lerman, Greg Ver Steeg, and Aram Galstyan. 2019. MixHop: Higher-Order Graph Convolution Architectures via Sparsified Neighborhood Mixing. In International Conference on Machine Learning (ICML).

[5] Hongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei, and Bo Yang. 2020. Geom-GCN: Geometric Graph Convolutional Networks. In International Conference on Learning Representations (ICLR).

[6] Deyu Bo, Xiao Wang, Chuan Shi, and Huawei Shen. 2021. Beyond Low-frequency Information in Graph Convolutional Networks. In Proceedings of the AAAI Conference on Artificial Intelligence (Vol. 35, No. 5, pp. 3950-3957).

&lt;/div&gt; --&gt;

&lt;h1 id=&quot;references&quot;&gt;References&lt;/h1&gt;
&lt;div class=&quot;small&quot;&gt;

  &lt;ol class=&quot;bibliography&quot;&gt;&lt;li&gt;&lt;span id=&quot;zhu2020beyond&quot;&gt;[1]Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. 2020. Beyond Homophily in Graph Neural Networks: Current Limitations and Effective Designs. &lt;i&gt;Advances in Neural Information Processing Systems&lt;/i&gt; 33, (2020).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;zhu2021graph&quot;&gt;[2]Jiong Zhu, Ryan A Rossi, Anup Rao, Tung Mai, Nedim Lipka, Nesreen K Ahmed, and Danai Koutra. 2021. Graph Neural Networks with Heterophily. In &lt;i&gt;Proceedings of the AAAI Conference on Artificial Intelligence&lt;/i&gt;, 11168–11176.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;abu2019mixhop&quot;&gt;[3]Sami Abu-El-Haija, Bryan Perozzi, Amol Kapoor, Nazanin Alipourfard, Kristina Lerman, Hrayr Harutyunyan, Greg Ver Steeg, and Aram Galstyan. 2019. Mixhop: Higher-order graph convolutional architectures via sparsified neighborhood mixing. In &lt;i&gt;international conference on machine learning&lt;/i&gt;, PMLR, 21–29.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;pei2019geom&quot;&gt;[4]Hongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei, and Bo Yang. 2019. Geom-GCN: Geometric Graph Convolutional Networks. In &lt;i&gt;International Conference on Learning Representations&lt;/i&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;bo2021beyond&quot;&gt;[5]Deyu Bo, Xiao Wang, Chuan Shi, and Huawei Shen. 2021. Beyond Low-frequency Information in Graph Convolutional Networks. In &lt;i&gt;Proceedings of the AAAI Conference on Artificial Intelligence&lt;/i&gt;, 3950–3957.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;yan2021two&quot;&gt;[6]Yujun Yan, Milad Hashemi, Kevin Swersky, Yaoqing Yang, and Danai Koutra. 2021. Two Sides of the Same Coin: Heterophily and Oversmoothing in Graph Convolutional Neural Networks. &lt;i&gt;arXiv preprint arXiv:2102.06462&lt;/i&gt; (2021).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;ma2021homophily&quot;&gt;[7]Yao Ma, Xiaorui Liu, Neil Shah, and Jiliang Tang. 2021. Is Homophily a Necessity for Graph Neural Networks? &lt;i&gt;arXiv preprint arXiv:2106.06134&lt;/i&gt; (2021).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span id=&quot;kipf2017semi&quot;&gt;[8]Thomas N. Kipf and Max Welling. 2017. Semi-Supervised Classification with Graph Convolutional Networks. In &lt;i&gt;International Conference on Learning Representations (ICLR)&lt;/i&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;/div&gt;</content><author><name>Jiong Zhu</name><email>jiongzhu@umich.edu</email></author><summary type="html"></summary></entry><entry><title type="html">Collection of Awesome Software and Configs</title><link href="https://www.jiongzhu.net/software-collections/" rel="alternate" type="text/html" title="Collection of Awesome Software and Configs" /><published>2018-10-28T00:00:00+00:00</published><updated>2018-10-28T00:00:00+00:00</updated><id>https://www.jiongzhu.net/software-collections</id><content type="html" xml:base="https://www.jiongzhu.net/software-collections/">&lt;h1 id=&quot;macos&quot;&gt;MacOS&lt;/h1&gt;

&lt;ul&gt;
  &lt;li&gt;File Transfer Tools: &lt;a href=&quot;https://cyberduck.io&quot;&gt;Cyberduck&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Graphical Git Tool: &lt;a href=&quot;https://www.sourcetreeapp.com&quot;&gt;Sourcetree&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;App-level Volume Mixer: &lt;a href=&quot;https://github.com/kyleneideck/BackgroundMusic&quot;&gt;Background Music&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Enhanced Window Management: &lt;a href=&quot;http://magnet.crowdcafe.com&quot;&gt;Magnet&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Automatic Switch to Functional Keys: &lt;a href=&quot;https://github.com/Pyroh/Fluor&quot;&gt;Flour&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1 id=&quot;unix-like-systems&quot;&gt;Unix-like Systems&lt;/h1&gt;

&lt;ul&gt;
  &lt;li&gt;Tmux
    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;&lt;a href=&quot;https://github.com/tmux-plugins/tpm&quot;&gt;Tmux Plugin Manager&lt;/a&gt;&lt;/p&gt;

        &lt;p&gt;With &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.tmux.conf&lt;/code&gt; set as following:&lt;/p&gt;

        &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;setw &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; mouse on
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; status-right &lt;span class=&quot;s1&quot;&gt;'#{prefix_highlight} | %a %Y-%m-%d %H:%M'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @continuum-restore &lt;span class=&quot;s1&quot;&gt;'on'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @resurrect-capture-pane-contents &lt;span class=&quot;s1&quot;&gt;'on'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @emulate-scroll-for-no-mouse-alternate-buffer &lt;span class=&quot;s2&quot;&gt;&quot;on&quot;&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# List of plugins&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @plugin &lt;span class=&quot;s1&quot;&gt;'tmux-plugins/tpm'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @plugin &lt;span class=&quot;s1&quot;&gt;'tmux-plugins/tmux-sensible'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @plugin &lt;span class=&quot;s1&quot;&gt;'nhdaly/tmux-better-mouse-mode'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @plugin &lt;span class=&quot;s1&quot;&gt;'tmux-plugins/tmux-prefix-highlight'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @plugin &lt;span class=&quot;s1&quot;&gt;'tmux-plugins/tmux-yank'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @plugin &lt;span class=&quot;s1&quot;&gt;'tmux-plugins/tmux-logging'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @plugin &lt;span class=&quot;s1&quot;&gt;'tmux-plugins/tmux-resurrect'&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-g&lt;/span&gt; @plugin &lt;span class=&quot;s1&quot;&gt;'tmux-plugins/tmux-continuum'&lt;/span&gt;


&lt;span class=&quot;c&quot;&gt;# Other examples:&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# set -g @plugin 'github_username/plugin_name'&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# set -g @plugin 'git@github.com/user/plugin'&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# set -g @plugin 'git@bitbucket.com/user/plugin'&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)&lt;/span&gt;
run &lt;span class=&quot;s1&quot;&gt;'~/.tmux/plugins/tpm/tpm'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;        &lt;/div&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Vim
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/amix/vimrc&quot;&gt;The Ultimate vimrc&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Application Container/Lightweight Virtualization: &lt;a href=&quot;https://docs.docker.com/install/linux/docker-ce/ubuntu/&quot;&gt;Docker&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><author><name>Jiong Zhu</name><email>jiongzhu@umich.edu</email></author><summary type="html">MacOS</summary></entry></feed>