# automated_selfsupervised_learning_for_graphs__3962cd7c.pdf Published as a conference paper at ICLR 2022 AUTOMATED SELF-SUPERVISED LEARNING FOR GRAPHS Wei Jin Michigan State University jinwei2@msu.edu Xiaorui Liu Michigan State University xiaorui@msu.edu Xiaoyu Zhao City University of Hong Kong xy.zhao@cityu.edu.hk Yao Ma New Jersey Institute of Technology yao.ma@njit.edu Neil Shah Snap Inc. nshah@snap.com Jiliang Tang Michigan State University tangjili@msu.edu Graph self-supervised learning has gained increasing attention due to its capacity to learn expressive node representations. Many pretext tasks, or loss functions have been designed from distinct perspectives. However, we observe that different pretext tasks affect downstream tasks differently across datasets, which suggests that searching over pretext tasks is crucial for graph self-supervised learning. Different from existing works focusing on designing single pretext tasks, this work aims to investigate how to automatically leverage multiple pretext tasks effectively. Nevertheless, evaluating representations derived from multiple pretext tasks without direct access to ground truth labels makes this problem challenging. To address this obstacle, we make use of a key principle of many real-world graphs, i.e., homophily, or the principle that like attracts like, as the guidance to effectively search various self-supervised pretext tasks. We provide theoretical understanding and empirical evidence to justify the flexibility of homophily in this search task. Then we propose the AUTOSSL framework to automatically search over combinations of various self-supervised tasks. By evaluating the framework on 8 real-world datasets, our experimental results show that AUTOSSL can significantly boost the performance on downstream tasks including node clustering and node classification compared with training under individual tasks. 1 INTRODUCTION Graphs are pivotal data structures describing the relationships between entities in various domains such as social media, biology, transportation and financial systems (Wu et al., 2019b; Battaglia et al., 2018). Due to their prevalence and rich descriptive capacity, pattern mining and discovery on graph data is a prominent research area with powerful implications. As the generalization of deep neural networks on graph data, graph neural networks (GNNs) have proved to be powerful in learning representations for graphs and associated entities (nodes, edges, subgraphs), and they have been employed in various applications such as node classification (Kipf & Welling, 2016a; Veliˇckovi c et al., 2018), node clustering (Pan et al., 2018), recommender systems (Ying et al., 2018) and drug discovery (Duvenaud et al., 2015). In recent years, the explosive interest in self-supervised learning (SSL) has suggested its great potential in empowering stronger neural networks in an unsupervised manner (Chen et al., 2020; Kolesnikov et al., 2019; Doersch et al., 2015). Many self-supervised methods have also been developed to facilitate graph representation learning (Jin et al., 2020; Xie et al., 2021; Wang et al., 2022) such as DGI (Veliˇckovi c et al., 2019), PAR/CLU (You et al., 2020) and MVGRL (Hassani & Khasahmadi, 2020). Given graph and node attribute data, they construct pretext tasks, which are called SSL tasks, based on structural and attribute information to provide self-supervision for training graph neural networks without accessing any labeled data. For example, the pretext task of Work partially done while author was on internship at Snap Inc. Published as a conference paper at ICLR 2022 Clu DGI Pair Dis Pair Sim Par Self-Supervised Task Citeseer Computers Physics Dataset (a) Node Clustering Clu DGI Pair Dis Pair Sim Par Self-Supervised Task Citeseer Computers Physics Dataset (b) Node Classification (c) Combining Two Tasks 0 100 200 300 400 Iteration Weight values Best weights: (0.433, 0.442) Pair Dis Pair Sim (d) AUTOSSL Figure 1: (a)(b): Performance of 5 SSL tasks ranked best (1) to worst (5) by color on node clustering and classification, showing disparate performance across datasets and tasks. (c): Clustering performance heatmap on Citeseer when combining 2 SSL tasks, PAIRSIM and PAIRDIS, with different weights. (d) AUTOSSL s search trajectory for task weights, achieving near-ideal performance. PAR is to predict the graph partitions of nodes. We examine how a variety of SSL tasks including DGI, PAR, CLU, PAIRDIS (Peng et al., 2020) and PAIRSIM (Jin et al., 2020; 2021) perform over 3 datasets. Their node clustering and node classification performance ranks are illustrated in Figure 1a and 1b, respectively. From these figures, we observe that different SSL tasks have distinct downstream performance cross datasets. This observation suggests that the success of SSL tasks strongly depends on the datasets and downstream tasks. Learning representations with a single task naturally leads to ignoring useful information from other tasks. As a result, searching SSL tasks is crucial, which motivates us to study on how to automatically compose a variety of graph self-supervised tasks to learn better node representations. However, combining multiple different SSL tasks for unlabeled representation learning is immensely challenging. Although promising results have been achieved in multi-task self-supervised learning for computer vision, most of them assign equal weights to SSL tasks (Doersch & Zisserman, 2017; Ren & Lee, 2018; Zamir et al., 2018). Such combination might not always yield better performance than a single task, as different tasks have distinct importance according to specific dataset and downstream tasks. To illustrate this intuition, we combine two SSL tasks, PAIRDIS and PAIRSIM, with varied weights and illustrate the corresponding node clustering performance in Figure 1c. It clearly indicates that different choices of weights yield different performance. To circumvent this problem, we could plausibly search different weights for SSL tasks to optimize downstream tasks. However, to achieve such goal, we have two obstacles. First, the search space is huge, and thus search can be highly expensive. Hence, it is desirable to automatically learn these weights. Second, searching for optimal task weights typically requires guidance from downstream performance, which is naturally missing under the unsupervised setting. Thus, how to design an unsupervised surrogate evaluation measure that can guide the search process is necessary. It is evident that many real-world graphs such as friendship networks, citation networks, coauthorship networks and co-purchase networks (Mc Pherson et al., 2001; Shchur et al., 2018) satisfy the homophily assumption, i.e., like attracts like , or that connected nodes tend to share the same label. This is useful prior knowledge, as it directly relates the label information of downstream tasks to the graph structure. In this work, we explicitly take advantage of this prior knowledge and assume that the predicted labels from good node embeddings should also adhere to homophily. Given the lack of ground-truth labels during SSL, we propose a pseudo-homophily measure to evaluate the quality of the node embeddings trained from specific combinations of SSL task. With pseudohomophily, we are able to design an automated framework for SSL task search, namely AUTOSSL. Our work makes three significant contributions: (1) To bridge the gap between unsupervised representation and downstream labels, we propose pseudo-homophily to measure the quality of the representation. Moreover, given graphs with high homophily, we theoretically show that pseudo-homophily maximization can help maximize the upper bound of mutual information between pseudo-labels and downstream labels. (2) Based on pseudo-homophily, we propose two strategies to efficiently search SSL tasks, one employing evolution algorithm and the other performing differentiable search via meta-gradient descent. AUTOSSL is able to adjust the task weights during search as shown in Figure 1d. (3) We evaluate the proposed AUTOSSL by composing various individual tasks on 8 real-world datasets. Extensive experiments have demonstrated that AUTOSSL can significantly improve Published as a conference paper at ICLR 2022 the performance of individual tasks on node clustering and node classification (e.g., up to 10.0% relative improvement on node clustering). 2 BACKGROUND AND RELATED WORK Graph Neural Networks. Graph neural networks (GNNs) are powerful tools for extracting useful information from graph data (Liu et al., 2021; Wu et al., 2019b; Kipf & Welling, 2016a; Veliˇckovi c et al., 2018; Hamilton et al., 2017; Kipf & Welling, 2016b; Pan et al., 2018; Liu et al., 2020). They aim to learn a mapping function fθ parameterized by θ to map the input graph into a low-dimensional space. Most graph neural networks follow a message passing scheme (Gilmer et al., 2017) where the node representation is obtained by aggregating the representation of its neighbors. Self-Supervised Learning in GNNs. Graph neural networks have achieved superior performance in various applications; but they also require costly task-dependent labels to learn rich representations. To alleviate the need for the huge amount of labeled data, recent studies have employed self-supervised learning in graph neural networks to provide additional supervision (Jin et al., 2020; Veliˇckovi c et al., 2019; You et al., 2020; Hassani & Khasahmadi, 2020; Hu et al., 2019; Qiu et al., 2020; Zhu et al., 2020b). Specifically, those SSL methods construct a pre-defined pretext task to assign pseudo-labels for unlabeled nodes/graphs and then train the model on the designed pretext task to learn representations. A recent work JOAO (You et al., 2021) on graph contrastive learning is proposed to automatically select data augmentation and focuses on graph classification task. Another related work is AUX-TS (Han et al., 2021), which also adaptively combines different SSL tasks but the combination happens at the fine-tuning stage and thus requires label information. Multi-Task Self-Supervised Learning. Our work is also related to multi-task self-supervised learning (Doersch & Zisserman, 2017; Ren & Lee, 2018; Zamir et al., 2018). Most of them assume the tasks with equal weights and perform training under the supervised setting. But our work learns different weights for different tasks and does not require access to labeled data. Automated Loss Function Search. Tremendous efforts have been paid to automate every aspect of machine learning applications (Yao et al., 2018; Liu et al., 2018; Zhao et al., 2021b), such as feature engineering, model architecture search and loss function search. Among them, our work is highly related to loss function search (Zhao et al., 2021a; Xu et al., 2018; Wang et al., 2020; Li et al., 2019). However, these methods are developed under the supervised setting and not applicable in selfsupervised learning. Another related work, ELo (Piergiovanni et al., 2020), evolves multiple selfsupervised losses based on Zipf distribution matching for action recognition. However, it is designed exclusively for image data and not applicable to non-grid graph-structured data. The problem of self-supervised loss search for graphs remains rarely explored. To bridge the gap, we propose an automated framework for searching SSL losses towards graph data in an unsupervised manner. 3 AUTOMATED SELF-SUPERVISED TASK SEARCH WITH AUTOSSL In this section, we present the proposed framework of automated self-supervised task search, namely AUTOSSL. Given a graph G, a GNN encoder fθ( ) and a set of n self-supervised losses (tasks) {ℓ1, ℓ2, . . . , ℓn}, we aim at learning a set of loss weights {λ1, λ2, . . . , λn} such that fθ( ) trained with the weighted loss combination Pn i=1 λiℓi can extract meaningful features from the given graph data. The key challenge is how to mathematically define meaningful features . If we have the access to the labels of the downstream task, we can define meaningful features as the features (node embeddings) that can have high performance on the given downstream task. Then we can simply adopt the downstream performance as the optimization goal and formulate the problem of automated self-supervised task search as follows: min λ1, ,λn H(fθ (G)), s.t. θ = arg min θ L(fθ, {λi}, {ℓi}) = arg min θ i=1 λiℓi(fθ(G)), (1) where H denotes the quality measure for the obtained node embeddings, and it can be any metric that evaluates the downstream performance such as cross-entropy loss for the node classification task. However, under the self-supervised setting, we do not have the access to labeled data and thus cannot employ the downstream performance to measure the embedding quality. Instead, we need an unsupervised quality measure H to evaluate the quality of obtained embeddings. In a nutshell, one challenge of automated self-supervised learning is: how to construct the goal of automated task search without the access to label information of the downstream tasks. Published as a conference paper at ICLR 2022 3.1 PSEUDO-HOMOPHILY Most common graphs adhere to the principle of homophily, i.e., birds of a feather flock together (Mc Pherson et al., 2001), which suggests that connected nodes often belong to the same class; e.g. connected publications in a citation network often have the same topic, and friends in social networks often share interests (Newman, 2018). Homophily is often calculated as the fraction of intra-class edges in a graph (Zhu et al., 2020a). Formally, it can be defined as follows, Definition 1 (Homophily). The homophily of a graph G with node label vector y is given by h(G, y) = 1 (v1,v2) E 1(yv1 = yv2), (2) where yvi indicates node vi s label and 1( ) is the indicator function. We calculate the homophily for seven widely used datasets as shown in Appendix A and we find that they all have high homophily, e.g., 0.93 in the Physics dataset. Considering the high homophily in those datasets, intuitively the predicted labels from the extracted node features should also have high homophily. Hence, the prior information of graph homophily in ground truth labels can serve as strong guidance for searching combinations of self-supervised tasks. As mentioned before, in self-supervised tasks, the ground truth labels are not available. Motivated by Deep Cluster (Caron et al., 2018) which uses the cluster assignments of learned features as pseudo-labels to train the neural network, we propose to calculate the homophily based on the cluster assignments, which we term as pseudo-homophily. Specifically, we first perform k-means clustering on the obtained node embeddings to get k clusters. Then the cluster results are used as the pseudo labels to calculate homophily based on Eq. (2). Note that though many graphs in the real world have high homophily, there also exist heterophily graphs (Zhu et al., 2020a; Pei et al., 2020) which have low homophily. We include a discussion on the homophily assumption in Appendix D. Theoretical analysis. In this work, we propose to achieve self-supervised task search via maximizing pseudo-homophily. To understand its rationality, we develop the following theorem to show that pseudo-homophily maximization is related to the upper bound of mutual information between pseudo-labels and ground truth labels. Theorem 1. Suppose that we are given with a graph G = {V, E}, a pseudo label vector A {0, 1}N and a ground truth label vector B {0, 1}N defined on the node set. We denote the homophily of A and B over G as h A and h B, respectively. If the classes in A and B are balanced and h A < h B, the following results hold: (1) the mutual information between A and B, i.e., MI(A,B), has an upper bound UA,B, where UA,B = 1 N 2 log( 4 2 ) with = (h B h A)|E| 2dmax and dmax denoting the largest node degree in the graph; (2) if h A < h A < h B, we have UA,B < UA ,B. Proof. The detailed proof of this theorem can be found in Appendix B. The above theorem suggests that a larger difference between pseudo-homophily and real homophily results in a lower upper bound of mutual information between the pseudo-labels and ground truth labels. Thus, maximizing pseudo-homophily is to maximize the upper bound of mutual information between pseudo-labels and ground truth labels, since we assume high homophily of the graph. Notably, while maximizing the upper bound does not guarantee the optimality of the mutual information, we empirically found that it works well in increasing the NMI value in different datasets, showing that it provides the right direction to promote the mutual information. 3.2 SEARCH ALGORITHMS In the last subsection, we have demonstrated the importance of maximizing pseudo-homophily. Thus in the optimization problem of Eq. (1), we can simply set H to be negative pseudo-homophily. However, the evaluation of a specific task combination involves fitting a model and evaluating its pseudo-homophily, which can be highly expensive. Therefore, another challenge for automated selfsupervised task search is how to design an efficient algorithm. In the following, we introduce the details of the search strategies designed in this work, i.e. AUTOSSL-ES and AUTOSSL-DS. 3.2.1 AUTOSSL-ES: EVOLUTIONARY STRATEGY Evolution algorithms are often used in automated machine learning such as hyperparameter tuning due to their parallelism nature by design (Loshchilov & Hutter, 2016). In this work, we employ Published as a conference paper at ICLR 2022 the covariance matrix adaptation evolution strategy (CMA-ES) (Hansen et al., 2003), a state-of-theart optimizer for continuous black-box functions, to evolve the combined self-supervised loss. We name this self-supervised task search approach as AUTOSSL-ES. In each iteration of CMA-ES, it samples a set of candidate solutions (i.e., task weights {λi}) from a multivariate normal distribution and trains the GNN encoder under the combined loss function. The embeddings from the trained encoder are then evaluated by H. Based on H, CMA-ES adjusts the normal distribution to give higher probabilities to good samples that can potentially produce a lower value of H. Note that we constrain {λi} in [0, 1] and sample 8 candidate combinations for each iteration, which is trivially parallelizable as every candidate combination can be evaluated independently. 3.2.2 AUTOSSL-DS: DIFFERENTIABLE SEARCH VIA META-GRADIENT DESCENT While the aforementioned AUTOSSL-ES is parallelizable, the search cost is still expensive because it requires to evaluate a large population of candidate combinations where every evaluation involves fitting the model in large training epochs. Thus, it is desired to develop gradient-based search methods to accelerate the search process. In this subsection, we introduce the other variant of our proposed framework, AUTOSSL-DS, which performs differentiable search via meta-gradient descent. However, pseudo-homophily is not differentiable as it is based on hard cluster assignments from k-means clustering. Next, we will first present how to make the clustering process differentiable and then introduce how to perform differentiable search. Soft Clustering. Although k-means clustering assigns hard assignments of data samples to clusters, it can be viewed as a special case of Gaussian mixture model which makes soft assignments based on the posterior probabilities (Bishop, 2006). Given a Gaussian mixture model with centroids {c1, c2, . . . , ck} and fixed variances σ2, we can calculate the posterior probability as follows: p (x | ci) = 1 2πσ2 exp x ci 2 where x is the feature vector of data samples. By Bayes rule and considering an equal prior, i.e., p(c1) = p(c2) = . . . = p(ck), we can compute the probability of a feature vector x belonging to a cluster ci as: p (ci | x) = p (ci) p (x | ci) Pk j p (cj) p (x | cj) = exp (x ci)2 2σ2 Pk j=1 exp (x cj)2 If σ 0, we can obtain the hard assignments as the k-means algorithm. As we can see, the probability of each feature vector belonging to a cluster reduces to computing the distance between them. Then we can construct our homophily loss function as follows: H(fθ (G)) = 1 k|E| (v1,v2) E ℓ(p(ci | xv1), p(ci | xv2)) , (5) where ℓis a loss function measuring the difference between the inputs. With soft assignments, the gradient of H w.r.t. θ becomes tractable. Search via Meta Gradient Descent. We now detail the differentiable search process for AUTOSSL-DS. A naive method to tackle bilevel problems is to alternatively optimize the inner and outer problems through gradient descent. However, we cannot perform gradient descent for the outer problem in Eq. (1) where H is not directly related to {λi}. To address this issue, we can utilize meta-gradients, i.e., gradients w.r.t. hyperparameters, which have been widely used in solving bi-level problems in meta learning (Finn et al., 2017; Z ugner & G unnemann, 2019). To obtain metagradients, we need to backpropagate through the learning phase of the neural network. Concretely, the meta-gradient of H with respect to {λi} is expressed as meta {λi} := {λi}H(fθ (G)) s.t. θ = optθ(L(fθ, {λi, ℓi})), (6) where optθ stands for the inner optimization that obtains θ and it is typically multiple steps of gradient descent. As an illustration, we consider optθ as T + 1 steps of vanilla gradient descent with learning rate ϵ, θt+1 = θt ϵ θt L(fθt, {λi, ℓi}). (7) By unrolling the training procedure, we can express meta-gradient as meta {λi} := {λi}H(fθT (G)) = fθT H(fθT (G)) [ {λi}fθT (G) + θT fθT (G) {λi}θT ], (8) Published as a conference paper at ICLR 2022 with {λi}θT = {λi}θT 1 ϵ {λi} θT 1L(fθT 1, {λi, ℓi}). Since {λi}fθT (G) = 0, we have meta {λi} := {λi}H(fθT (G)) = fθT H(fθT (G)) θT fθT (G) {λi}θT . (9) Note that θT 1 also depends on the task weights {λi} (see Eq. (7)). Thus, its derivative w.r.t. the task weights chains back until θ0. By unrolling all the inner optimization steps, we can obtain the meta-gradient meta {λi} and use it to perform gradient descent on {λi} to reduce H: {λi} {λi} η meta {λi}, (10) where η is the learning rate for meta-gradient descent (outer optimization). However, if we use the whole training trajectory θ0, θ1, . . . , θT to calculate the precise metagradient, it would have an extremely high memory footprint since we need to store θ0, θ1, . . . , θT in memory. Thus, inspired by DARTS (Liu et al., 2018), we use an online updating rule where we only perform one step gradient descent on θ and then update {λi} in each iteration. During the process, we constrain {λi} in [0, 1] and dynamically adjust the task weights in a differentiable manner. The detailed algorithm for AUTOSSL-DS is summarized in Appendix C. 4 EXPERIMENTAL EVALUATION In this section, we empirically evaluate the effectiveness of the proposed AUTOSSL on selfsupervised task search on real-world datasets. We aim to answer four questions as follows. Q1: Can AUTOSSL achieve better performance compared to training on individual SSL tasks? Q2: How does AUTOSSL compare to other unsupervised and supervised node representation learning baselines? Q3: Can we observe relations between AUTOSSL s pseudo-homophily objective and downstream classification performance? and Q4: How do the SSL task weights, pseudo-homophily objective, and downstream performance evolve during AUTOSSL s training? 4.1 EXPERIMENTAL SETTING Since our goal is to enable automated combination search and discovery of SSL tasks, we use 5 such tasks including 1 contrastive learning method and 4 predictive methods (1) DGI (Veliˇckovi c et al., 2019): it is a contrastive learning method maximizing the mutual information between graph representation and node representation; (2) CLU (You et al., 2020), it predicts partition labels from Metis graph partition (Karypis & Kumar, 1998); (3) PAR (You et al., 2020), it predicts clustered labels from k-means clustering on node features; (4) PAIRSIM (Jin et al., 2020; 2021), it predicts pairwise feature similarity between node pairs and (5) PAIRDIS (Peng et al., 2020), it predicts shortest path length between node pairs. The proposed AUTOSSL framework automatically learns to jointly leverage the 5 above tasks and carefully mediate their influence. We also note that (1) the recent contrastive learning method, MVGRL (Hassani & Khasahmadi, 2020), needs to deal with a dense diffusion matrix and is prohibitively memory/time-consuming for larger graphs; thus, we only include it as a baseline to compare as shown in Table 2; and (2) the proposed framework is general and it is straightforward to combine other SSL tasks. We perform experiments on 8 real-world datasets widely used in the literature (Yang et al., 2016; Shchur et al., 2018; Mernyei & Cangea, 2020; Hu et al., 2020), i.e., Physics, CS, Photo, Computers, Wiki CS, Citeseer, Cora Full, and ogbn-arxiv. To demonstrate the effectiveness of the proposed framework, we follow (Hassani & Khasahmadi, 2020) and evaluate all methods on two different downstream tasks: node clustering and node classification. For the task of node clustering, we perform k-means clustering on the obtained embeddings. We set the number of clusters to the number of ground truth classes and report the normalized mutual information (NMI) between the cluster results and ground truth labels. Regarding the node classification task, we train a logistic regression model on the obtained node embeddings and report the classification accuracy on test nodes. Note that labels are never used for self-supervised task search. All experiments are performed under 5 different random seeds and results are averaged. Following DGI and MVGRL, we use a simple one-layer GCN (Kipf & Welling, 2016a) as our encoder and set the size of hidden dimensions to 512. We set 2σ2 = 0.001 and use L1 loss in the homophily loss function throughout the experiments. Further details of experimental setup can be found in Appendix A. 4.2 PERFORMANCE COMPARISON WITH INDIVIDUAL TASKS To answer Q1, Table 1 summarizes the results for individual self-supervised tasks and AUTOSSL under the two downstream tasks, i.e., node clustering and node classification. From the table, we Published as a conference paper at ICLR 2022 Table 1: Performance comparison of self-supervised tasks (losses) on node clustering and node classification. The NMI rows indicate node clustering performance; ACC rows indicate node classification accuracy (%); P-H stands for pseudo-homophily. AUTOSSL regularly outperforms individual pretext tasks. (Bold: best in all methods; Underline: best in individual tasks). Blue and red numbers indicate the statistically significant improvements over the best individual task, via paired t-test at level 0.05 and 0.1, respectively (same for Table 2 and Table 3). Dataset Metric Self-Supervised Task AUTOSSL CLU PAR PAIRSIM PAIRDIS DGI ES DS Wiki CS NMI 0.177 0.02 0.262 0.02 0.341 0.01 0.169 0.04 0.310 0.02 0.366 0.01 0.344 0.02 ACC 74.19 0.21 75.81 0.17 75.80 0.17 75.28 0.08 75.49 0.17 76.80 0.13 76.58 0.28 P-H 0.549 0.567 0.693 0.463 0.690 0.751 0.749 Citeseer NMI 0.318 0.00 0.416 0.00 0.428 0.01 0.404 0.01 0.439 0.00 0.449 0.01 0.449 0.01 ACC 63.17 0.19 69.25 0.51 71.36 0.42 70.72 0.53 71.64 0.44 72.14 0.41 72.00 0.32 P-H 0.787 0.916 0.885 0.901 0.934 0.943 0.934 Computers NMI 0.171 0.00 0.433 0.00 0.387 0.01 0.300 0.01 0.318 0.02 0.447 0.01 0.448 0.01 ACC 75.20 0.20 87.26 0.15 82.64 1.15 85.20 0.41 83.45 0.54 87.26 0.64 88.18 0.43 P-H 0.240 0.471 0.314 0.206 0.298 0.503 0.511 Cora Full NMI 0.128 0.00 0.498 0.00 0.409 0.02 0.406 0.01 0.462 0.01 0.506 0.01 0.500 0.00 ACC 44.93 0.53 57.54 0.32 56.23 0.59 58.48 0.80 60.42 0.39 61.01 0.50 61.10 0.68 P-H 0.494 0.887 0.649 0.728 0.888 0.903 0.895 CS NMI 0.658 0.01 0.767 0.01 0.749 0.01 0.635 0.03 0.747 0.01 0.772 0.01 0.771 0.01 ACC 88.58 0.27 92.75 0.12 92.68 0.09 89.56 1.01 90.91 0.51 93.26 0.16 93.35 0.09 P-H 0.845 0.882 0.886 0.786 0.883 0.895 0.890 Physics NMI 0.692 0.00 0.704 0.00 0.674 0.00 0.420 0.05 0.670 0.00 0.725 0.00 0.726 0.00 ACC 93.60 0.07 95.07 0.06 95.05 0.10 91.69 1.02 94.03 0.15 95.57 0.02 95.13 0.36 P-H 0.911 0.913 0.905 0.821 0.906 0.921 0.923 Photo NMI 0.327 0.00 0.509 0.01 0.439 0.04 0.293 0.08 0.376 0.03 0.560 0.04 0.515 0.03 ACC 90.33 0.22 91.75 0.25 91.13 0.35 91.97 0.32 92.08 0.37 92.04 0.89 92.71 0.32 P-H 0.434 0.602 0.428 0.327 0.401 0.791 0.616 ogbn-arxiv NMI 0.305 0.01 0.410 0.01 0.379 0.01 0.314 0.01 0.319 0.01 0.424 0.00 0.417 0.00 ACC 66.68 0.34 67.90 0.10 67.82 0.20 67.63 0.13 67.95 0.56 68.31 0.05 69.13 0.04 P-H 0.441 0.660 0.482 0.326 0.390 0.830 0.780 Average Rank NMI 6.3 3.5 4.1 6.5 4.6 1.3 1.5 ACC 6.8 3.9 4.9 5.4 3.9 1.8 1.4 make several observations. Obs. 1: individual self-supervised tasks have different node clustering and node classification performance for different datasets. For example, in Photo, DGI achieves the highest classification accuracy while PAR achieves the highest clustering performance; CLU performs better than PAIRDIS in both NMI and ACC on Physics while it cannot outperform PAIRDIS in Wiki CS, Citeseer, Computers and Cora Full. This observation suggests the importance of searching suitable SSL tasks to benefit downstream tasks on different datasets. Obs. 2: Most of the time, combinations of SSL tasks searched by AUTOSSL can consistently improve the node clustering and classification performance over the best individual task on the all datasets. For example, the relative improvement over the best individual task on NMI from AUTOSSL-ES is 7.3% for Wiki CS and 10.0% for Photo, and its relative improvement on ACC is 1.3% for Wiki CS. These results indicate that composing multiple SSL tasks can help the model encode different types of information and avoid overfitting to one single task. Obs. 3: We further note that individual tasks resulted in different pseudo-homophily as shown in the P-H rows of Table 1. Among them, CLU tends to result in a low pseudo-homophily and often performs much worse than other tasks in node clustering task, which supports our theoretical analysis in Section 3.1. It also demonstrates the necessity to increase pseudo-homophily as the two variants of AUTOSSL effectively search tasks that lead to higher pseudo-homophily. Obs. 4: The performance of AUTOSSL-ES and AUTOSSLDS is close when their searched tasks lead to similar pseudo-homophily: the differences in pseudohomophily, NMI and ACC are relative smaller in datasets other than Photo and Computers. It is worth noting that sometimes AUTOSSL-DS can even achieve higher pseudo-homophily than AUTOSSL-ES. This indicates that the online updating rule for {λi} in AUTOSSL-DS not only can greatly reduce the searching time but also can generate good task combinations. In addition to efficiency, we highlight another major difference between them: AUTOSSL-ES directly finds the best task weights while AUTOSSL-DS adjusts the task weights to generate appropriate gradients to update model parameters. Hence, if we hope to find the best task weights and retrain the model, we should turn to AUTOSSL-ES. More details on their differences can be found in Appendix E.3. Published as a conference paper at ICLR 2022 4.3 PERFORMANCE COMPARISON WITH SUPERVISED AND UNSUPERVISED BASELINES To answer Q2, we compare AUTOSSL with representative unsupervised and supervised node representation learning baselines. Specifically, for node classification we include 4 unsupervised baselines, i.e., GAE (Kipf & Welling, 2016b), VGAE (Kipf & Welling, 2016b), ARVGA (Pan et al., 2018) and MVGRL, and 2 supervised baselines, i.e. GCN and GAT (Veliˇckovi c et al., 2018). We also provide the logistic regression performance on raw features and embeddings generated by a randomly initialized encoder, named as Raw-Feat and Random-Init, respectively. Note that the two supervised baselines, GCN and GAT, use label information for node representation learning in an end-to-end manner, while other baselines and AUTOSSL do not leverage label information to learn representations. The average performance and variances are reported in Table 2. From the table, we find that AUTOSSL outperforms unsupervised baselines in all datasets except Citeseer while the performance on Citeseer is still comparable to the state-of-the-art contrastive learning method MVGRL. When compared to supervised baselines, AUTOSSL-DS outperforms GCN and GAT in 4 out of 8 datasets, e.g., a 1.7% relative improvement over GAT on Computers. AUTOSSL-ES also outperforms GCN and GAT in 3/4 out of 8 datasets. In other words, our unsupervised representation learning AUTOSSL can achieve comparable performance with supervised representation learning baselines. In addition, we use the same unsupervised baselines for node clustering and report the results in Table 3. Both AUTOSSL-ES and AUTOSSL-DS show highly competitive clustering performance. For instance, AUTOSSL-ES achieves 22.2% and 27.5% relative improvement over the second best baseline on Physics and Wiki CS; AUTOSSL-DS also achieves 22.2% and 19.8% relative improvement on these two datasets. These results further validate that composing SSL tasks appropriately can produce expressive and generalizable representations. Table 2: Node classification accuracy (%). The last two rows are supervised baselines. AUTOSSL consistently outperforms alternative self-supervised approaches, and frequently outperforms supervised ones. (Bold/Underline: best/runner-up among self-supervised approaches) Model Wiki CS Citeseer Computers Cora Full CS Physics Photo ogbn-arxiv Avg. Rank Random-Init 75.07 0.15 64.06 2.28 74.42 0.29 45.07 0.38 28.57 0.90 53.33 0.52 87.01 0.39 67.55 0.27 6.0 Raw-Feat 72.06 0.03 61.50 0.00 74.15 0.48 37.17 0.30 87.12 0.42 92.81 0.24 79.03 0.37 51.07 0.00 7.0 GAE 74.85 0.24 64.76 1.35 80.25 0.42 57.85 0.29 92.35 0.09 94.66 0.10 91.51 0.39 52.57 0.04 4.1 VGAE 74.16 0.16 67.50 0.42 81.05 0.41 53.72 0.30 92.15 0.16 94.58 0.17 88.98 1.05 52.00 0.19 4.6 ARVGA 71.64 1.03 46.88 2.15 67.61 0.92 45.20 1.33 87.26 1.07 93.84 0.13 77.74 1.16 31.57 2.96 7.1 MVGRL 75.89 0.12 72.36 0.49 84.66 0.62 60.56 0.33 90.18 0.19 94.30 0.20 92.49 0.40 OOM 3.1 AUTOSSL-ES 76.80 0.13 72.14 0.41 87.26 0.64 61.01 0.50 93.26 0.16 95.57 0.02 92.04 0.89 68.31 0.05 1.9 AUTOSSL-DS 76.58 0.28 72.00 0.32 88.18 0.43 61.10 0.68 93.35 0.09 95.13 0.36 92.71 0.32 69.13 0.04 1.5 GCN 76.42 0.02 71.26 0.15 87.53 0.21 63.77 0.37 93.04 0.09 95.66 0.15 93.09 0.11 71.74 0.29 - GAT 77.30 0.01 71.00 0.62 86.74 0.69 63.73 0.43 92.53 0.19 95.54 0.08 92.30 0.28 71.46 0.34 - Table 3: Clustering performance (NMI). AUTOSSL embeddings routinely exhibit superior NMI to alternatives. (Bold: best; Underline: runner-up). Model Wiki CS Citeseer Computers Cora Full CS Physics Photo ogbn-arxiv Avg. Rank Random-Init 0.107 0.02 0.354 0.03 0.155 0.01 0.318 0.01 0.716 0.02 0.551 0.01 0.246 0.04 0.306 0.01 6.4 Raw-Feat 0.182 0.00 0.316 0.00 0.166 0.00 0.215 0.00 0.642 0.00 0.489 0.00 0.282 0.00 0.150 0.01 7.1 GAE 0.243 0.02 0.313 0.02 0.441 0.00 0.485 0.00 0.731 0.01 0.545 0.06 0.616 0.01 0.325 0.01 4.3 VGAE 0.261 0.01 0.364 0.01 0.423 0.00 0.453 0.01 0.733 0.00 0.563 0.02 0.530 0.04 0.311 0.01 4.0 ARVGA 0.287 0.02 0.191 0.02 0.237 0.01 0.301 0.01 0.616 0.03 0.526 0.05 0.301 0.01 0.201 0.01 6.4 MVGRL 0.263 0.01 0.452 0.01 0.244 0.00 0.400 0.01 0.740 0.01 0.594 0.00 0.344 0.04 OOM 4.3 AUTOSSL-ES 0.366 0.01 0.449 0.01 0.447 0.01 0.506 0.01 0.772 0.01 0.725 0.00 0.560 0.04 0.424 0.00 1.6 AUTOSSL-DS 0.344 0.02 0.449 0.01 0.448 0.01 0.500 0.00 0.771 0.01 0.726 0.00 0.515 0.03 0.417 0.00 2.1 4.4 RELATION BETWEEN DOWNSTREAM PERFORMANCE AND PSEUDO-HOMOPHILY In this subsection, we investigate the relation between downstream performance and pseudohomophily and correspondingly answer Q3. Specifically, we use the candidate task weights sampled in the AUTOSSL-ES searching trajectory, and illustrate their node clustering (NMI) and node classification performance (ACC) with respect to their pseudo-homophily. The results on Computers and Wiki CS are shown in Figure 2 and results for other datasets are shown in Appendix E.1. We observe that the downstream performance tends to be better if the learned embeddings tend to have higher pseudo-homophily. We also can observe that clustering performance has a clear relation with pseudo-homophily for all datasets. Hence, the results empirically support our theoretical analysis in Section 3.1 that lower pseudo-homophily leads to a lower upper bound of mutual information with ground truth labels. While classification accuracy has a less evident pattern, we can still observe that higher accuracy tends to concentrate on the high pseudo-homophily regions for 5 out of 7 datasets. Published as a conference paper at ICLR 2022 0.20 0.25 0.30 0.35 0.40 0.45 0.50 0.55 Pseudo-homophily Node clustering NMI (a) Computers: NMI 0.64 0.66 0.68 0.70 0.72 0.74 Pseudo-homophily Node clustering NMI (b) Wiki CS: NMI 0.20 0.25 0.30 0.35 0.40 0.45 0.50 0.55 Pseudo-homophily Node classification accuracy (c) Computers: ACC 0.64 0.66 0.68 0.70 0.72 0.74 Pseudo-homophily Node classification accuracy (d) Wiki CS: ACC Figure 2: Relationship between downstream performance and pseudo-homophily. Clu Par Pair Sim Pair Dis DGI 0.013 0.198 0.042 0.006 0.980 0.004 0.875 0.386 0.006 0.006 0.004 0.423 0.411 0.002 0.954 0.000 0.955 0.916 0.550 0.066 0.016 0.035 0.196 0.176 0.988 0.007 0.769 0.986 0.099 0.978 0.002 0.996 0.054 0.090 0.574 (a) AUTOSSL-ES 0 200 400 600 800 1000 Iteration Weight values Clu Par Pair Sim Pair Dis DGI (b) AUTOSSL-DS Figure 3: Visualization of Task Weights. 0 10 20 30 40 Iteration Pseudo-homophily (a) Cora Full 0 20 40 60 80 100 Iteration Pseudo-homophily (b) Citeseer Figure 4: P-H change of AUTOSSL-ES 4.5 EVOLUTION OF SSL TASK WEIGHTS, PSEUDO-HOMOPHILY AND PERFORMANCE To answer Q4, we visualize the final task weights searched by AUTOSSL-ES on all datasets through the heatmap in Figure 3a. From the figure, we make three observations. Obs. 1: The searched task weights vary significantly from dataset to dataset. For example, the weights for PAR and DGI are [0.198, 0.980] on Physics while they are [0.955, 0.066] on Wiki CS. Obs. 2: In general, Par benefits co-purchase networks, i.e. Photo and Computers; DGI is crucial for citation/coauthorship networks, i.e. Physics, CS, Citeseer, and Cora Full. We conjecture that local structure information (the information that PAR captures) is essential for co-purchase networks while both local and global information (the information that DGI captures) are necessary in citation/coauthorship networks. Obs. 3: AUTOSSL-ES always gives very low weights to CLU, which indicates the pseudo-labels clustered from raw features are not good supervision on the selected datasets. We also provide the evolution of task weights in AUTOSSL-DS for Cora Full dataset in Figure 3b. The weights of the 5 tasks eventually become stable: CLU and PAIRDIS are assigned with small values while PAIRSIM, DGI and CLU are assigned with large values. Thus, both AUTOSSL-ES and AUTOSSL-DS agree that PAIRDIS and PAR are less important for Cora Full. We further investigate how pseudo-homophily changes over iterations. For AUTOSSL-ES, we illustrate the mean value of resulted pseudo-homophily in each iteration (round) in Figure 4. We only show the results on Cora Full and Citeseer while similar patterns are exhibited in other datasets. It is clear that AUTOSSL-ES can effectively increase the pseudo-homophily and thus search for better self-supervised task weights. The results for AUTOSSL-DS are deferred to Appendix E.2 due to the page limit. 5 CONCLUSION Graph self-supervised learning has achieved great success in learning expressive node/graph representations. In this work, however, we find that SSL tasks designed for graphs perform differently on different datasets and downstream tasks. Thus, it is worth composing multiple SSL tasks to jointly encode multiple sources of information and produce more generalizable representations. However, without access to labeled data, it poses a great challenge in measuring the quality of the combinations of SSL tasks. To address this issue, we take advantage of graph homophily and propose pseudo-homophily to measure the quality of combinations of SSL tasks. We then theoretically show that maximizing pseudo-homophily can help maximize the upper bound of mutual information between the pseudo-labels and ground truth labels. Based on the pseudo-homophily measure, we develop two automated frameworks AUTOSSL-ES and AUTOSSL-DS to search the task weights efficiently. Extensive experiments have demonstrated that AUTOSSL is able to produce more generalize representations by combining various SSL tasks. Published as a conference paper at ICLR 2022 ACKNOLWEDGEMENT Wei Jin and Jiliang Tang are supported by the National Science Foundation (NSF) under grant numbers IIS1714741, CNS1815636, IIS1845081, IIS1907704, IIS1928278, IIS1955285, IOS2107215, and IOS2035472, the Army Research Office (ARO) under grant number W911NF-21-1-0198, the Home Depot, Cisco Systems Inc. and SNAP Inc. ETHICS STATEMENT To the best of our knowledge, there are no ethical issues with this paper. REPRODUCIBILITY STATEMENT To ensure reproducibility of our experiments, we provide our source code at https://github. com/Chandler Bang/Auto SSL. The hyper-parameters are described in details in the appendix. We also provide a pseudo-code implementation of our framework in the appendix. Peter W Battaglia, Jessica B Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vinicius Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, et al. Relational inductive biases, deep learning, and graph networks. ar Xiv preprint ar Xiv:1806.01261, 2018. Emily M Bender, Timnit Gebru, Angelina Mc Millan-Major, and Shmargaret Shmitchell. On the dangers of stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, pp. 610 623, 2021. Christopher M Bishop. Pattern recognition and machine learning. springer, 2006. Mathilde Caron, Piotr Bojanowski, Armand Joulin, and Matthijs Douze. Deep clustering for unsupervised learning of visual features. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 132 149, 2018. Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pp. 1597 1607. PMLR, 2020. Enyan Dai and Suhang Wang. Say no to the discrimination: Learning fair graph neural networks with limited sensitive attribute information. In Proceedings of the 14th ACM International Conference on Web Search and Data Mining, pp. 680 688, 2021. Carl Doersch and Andrew Zisserman. Multi-task self-supervised visual learning. In Proceedings of the IEEE International Conference on Computer Vision, pp. 2051 2060, 2017. Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In ICCV, 2015. David K Duvenaud, Dougal Maclaurin, Jorge Aguilera-Iparraguirre, Rafael G omez-Bombarelli, Timothy Hirzel, Al an Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in neural information processing systems, 2015. Matthias Fey and Jan Eric Lenssen. Fast graph representation learning with pytorch geometric. ar Xiv preprint ar Xiv:1903.02428, 2019. Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In International Conference on Machine Learning, pp. 1126 1135. PMLR, 2017. Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In ICML, 2017. Published as a conference paper at ICLR 2022 Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in neural information processing systems, 2017. Xueting Han, Zhenhuan Huang, Bang An, and Jing Bai. Adaptive transfer learning on graph neural networks. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery amp; Data Mining, KDD 21, pp. 565 574. Association for Computing Machinery, 2021. Nikolaus Hansen, Sibylle D M uller, and Petros Koumoutsakos. Reducing the time complexity of the derandomized evolution strategy with covariance matrix adaptation (cma-es). Evolutionary computation, 11(1):1 18, 2003. Kaveh Hassani and Amir Hosein Khasahmadi. Contrastive multi-view representation learning on graphs. In International Conference on Machine Learning, 2020. Weihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik, Percy Liang, Vijay Pande, and Jure Leskovec. Strategies for pre-training graph neural networks. In International Conference on Learning Representations, 2019. Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. ar Xiv preprint ar Xiv:2005.00687, 2020. Wei Jin, Tyler Derr, Haochen Liu, Yiqi Wang, Suhang Wang, Zitao Liu, and Jiliang Tang. Self-supervised learning on graphs: Deep insights and new direction. ar Xiv preprint ar Xiv:2006.10141, 2020. Wei Jin, Tyler Derr, Yiqi Wang, Yao Ma, Zitao Liu, and Jiliang Tang. Node similarity preserving graph convolutional networks. In Proceedings of the 14th ACM International Conference on Web Search and Data Mining. ACM, 2021. George Karypis and Vipin Kumar. A fast and high quality multilevel scheme for partitioning irregular graphs. SIAM Journal on scientific Computing, 1998. Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. ar Xiv preprint ar Xiv:1412.6980, 2014. Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. ar Xiv preprint ar Xiv:1609.02907, 2016a. Thomas N Kipf and Max Welling. Variational graph auto-encoders. ar Xiv preprint ar Xiv:1611.07308, 2016b. Alexander Kolesnikov, Xiaohua Zhai, and Lucas Beyer. Revisiting self-supervised visual representation learning. In In CVPR, pp. 1920 1929, 2019. Chuming Li, Xin Yuan, Chen Lin, Minghao Guo, Wei Wu, Junjie Yan, and Wanli Ouyang. Am-lfs: Automl for loss function search. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 8410 8419, 2019. Hanxiao Liu, Karen Simonyan, and Yiming Yang. Darts: Differentiable architecture search. ar Xiv preprint ar Xiv:1806.09055, 2018. Meng Liu, Hongyang Gao, and Shuiwang Ji. Towards deeper graph neural networks. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. ACM, 2020. Xiaorui Liu, Wei Jin, Yao Ma, Yaxin Li, Hua Liu, Yiqi Wang, Ming Yan, and Jiliang Tang. Elastic graph neural networks. In International Conference on Machine Learning, 2021. Ilya Loshchilov and Frank Hutter. Cma-es for hyperparameter optimization of deep neural networks. ar Xiv preprint ar Xiv:1604.07269, 2016. Miller Mc Pherson, Lynn Smith-Lovin, and James M Cook. Birds of a feather: Homophily in social networks. Annual review of sociology, 27(1):415 444, 2001. Published as a conference paper at ICLR 2022 P eter Mernyei and C at alina Cangea. Wiki-cs: A wikipedia-based benchmark for graph neural networks. ar Xiv preprint ar Xiv:2007.02901, 2020. Mark Newman. Networks. Oxford university press, 2018. Shirui Pan, Ruiqi Hu, Guodong Long, Jing Jiang, Lina Yao, and Chengqi Zhang. Adversarially regularized graph autoencoder for graph embedding. In Proceedings of the 27th International Joint Conference on Artificial Intelligence, IJCAI 18, pp. 2609 2615. AAAI Press, 2018. Hongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei, and Bo Yang. Geom-gcn: Geometric graph convolutional networks. ar Xiv preprint ar Xiv:2002.05287, 2020. Zhen Peng, Yixiang Dong, Minnan Luo, Xiao-Ming Wu, and Qinghua Zheng. Self-supervised graph representation learning via global context prediction. ar Xiv preprint ar Xiv:2003.01604, 2020. AJ Piergiovanni, Anelia Angelova, and Michael S Ryoo. Evolving losses for unsupervised video representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 133 142, 2020. Jiezhong Qiu, Qibin Chen, Yuxiao Dong, Jing Zhang, Hongxia Yang, Ming Ding, Kuansan Wang, and Jie Tang. Gcc: Graph contrastive coding for graph neural network pre-training. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 1150 1160, 2020. Zhongzheng Ren and Yong Jae Lee. Cross-domain self-supervised multi-task feature learning using synthetic imagery. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 762 771, 2018. Claudia Veronica Roberts et al. Quantifying the extent to which popular pre-trained convolutional neural networks implicitly learn high-level protected attributes. Ph D thesis, Princeton University, 2018. Aravind Sankar, Yozen Liu, Jun Yu, and Neil Shah. Graph neural networks for friend ranking in large-scale social platforms. In Proceedings of the Web Conference 2021, pp. 2535 2546, 2021. Oleksandr Shchur, Maximilian Mumme, Aleksandar Bojchevski, and Stephan G unnemann. Pitfalls of graph neural network evaluation. ar Xiv preprint ar Xiv:1811.05868, 2018. Shubhranshu Shekhar, Neil Shah, and Leman Akoglu. Fairod: Fairness-aware outlier detection. ar Xiv preprint ar Xiv:2012.03063, 2020. Susheel Suresh, Vinith Budde, Jennifer Neville, Pan Li, and Jianzhu Ma. Breaking the limit of graph neural networks by improving the assortativity of graphs with local mixing patterns. ar Xiv preprint ar Xiv:2106.06586, 2021. Xianfeng Tang, Yozen Liu, Neil Shah, Xiaolin Shi, Prasenjit Mitra, and Suhang Wang. Knowing your fate: Friendship, action and temporal explanations for user engagement prediction on social apps. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 2269 2279, 2020a. Xianfeng Tang, Huaxiu Yao, Yiwei Sun, Yiqi Wang, Jiliang Tang, Charu Aggarwal, Prasenjit Mitra, and Suhang Wang. Investigating and mitigating degree-related biases in graph convoltuional networks. In Proceedings of the 29th ACM International Conference on Information & Knowledge Management, pp. 1435 1444, 2020b. Petar Veliˇckovi c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. In ICLR, 2018. Petar Veliˇckovi c, William Fedus, William L. Hamilton, Pietro Li o, Yoshua Bengio, and R Devon Hjelm. Deep Graph Infomax. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=rklz9i Ac KQ. Xiaobo Wang, Shuo Wang, Cheng Chi, Shifeng Zhang, and Tao Mei. Loss function search for face recognition. In International Conference on Machine Learning, pp. 10029 10038. PMLR, 2020. Published as a conference paper at ICLR 2022 Yu Wang, Wei Jin, and Tyler Derr. Graph neural networks: Self-supervised learning. In Graph Neural Networks: Foundations, Frontiers, and Applications, pp. 391 420. Springer, 2022. Shu Wu, Yuyuan Tang, Yanqiao Zhu, Liang Wang, Xing Xie, and Tieniu Tan. Session-based recommendation with graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, pp. 346 353, 2019a. Zonghan Wu, Shirui Pan, Fengwen Chen, Guodong Long, Chengqi Zhang, and Philip S Yu. A comprehensive survey on graph neural networks. ar Xiv preprint ar Xiv:1901.00596, 2019b. Yaochen Xie, Zhao Xu, Jingtun Zhang, Zhengyang Wang, and Shuiwang Ji. Self-supervised learning of graph neural networks: A unified review. ar Xiv preprint ar Xiv:2102.10757, 2021. Haowen Xu, Hao Zhang, Zhiting Hu, Xiaodan Liang, Ruslan Salakhutdinov, and Eric Xing. Autoloss: Learning discrete schedules for alternate optimization. ar Xiv preprint ar Xiv:1810.02442, 2018. Zhilin Yang, William Cohen, and Ruslan Salakhudinov. Revisiting semi-supervised learning with graph embeddings. In International conference on machine learning, pp. 40 48. PMLR, 2016. Quanming Yao, Mengshuo Wang, Yuqiang Chen, Wenyuan Dai, Yu-Feng Li, Wei-Wei Tu, Qiang Yang, and Yang Yu. Taking human out of learning applications: A survey on automated machine learning. ar Xiv preprint ar Xiv:1810.13306, 2018. Rex Ying, Ruining He, Kaifeng Chen, Pong Eksombatchai, William L Hamilton, and Jure Leskovec. Graph convolutional neural networks for web-scale recommender systems. In KDD. ACM, 2018. Yuning You, Tianlong Chen, Zhangyang Wang, and Yang Shen. When does self-supervision help graph convolutional networks? ICML, 2020. Yuning You, Tianlong Chen, Yang Shen, and Zhangyang Wang. Graph contrastive learning automated. Proceedings of International Conference on Machine Learning, 2021. Amir R Zamir, Alexander Sax, William Shen, Leonidas J Guibas, Jitendra Malik, and Silvio Savarese. Taskonomy: Disentangling task transfer learning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3712 3722, 2018. Jieyu Zhao, Tianlu Wang, Mark Yatskar, Ryan Cotterell, Vicente Ordonez, and Kai-Wei Chang. Gender bias in contextualized word embeddings. ar Xiv preprint ar Xiv:1904.03310, 2019. Xiangyu Zhao, Haochen Liu, Wenqi Fan, Hui Liu, Jiliang Tang, and Chong Wang. Autoloss: Automated loss function search in recommendations. In Proceedings of the 27th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2021a. Yue Zhao, Ryan Rossi, and Leman Akoglu. Automatic unsupervised outlier model selection. Advances in Neural Information Processing Systems, 34, 2021b. Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Beyond homophily in graph neural networks: Current limitations and effective designs. Advances in Neural Information Processing Systems, 33, 2020a. Yanqiao Zhu, Yichen Xu, Feng Yu, Qiang Liu, Shu Wu, and Liang Wang. Graph contrastive learning with adaptive augmentation. ar Xiv preprint ar Xiv:2010.14945, 2020b. Daniel Z ugner and Stephan G unnemann. Adversarial attacks on graph neural networks via meta learning. ar Xiv preprint ar Xiv:1902.08412, 2019. Published as a conference paper at ICLR 2022 A EXPERIMENTAL SETUP Dataset Statistics. We evaluate the proposed framework on seven real-world datasets. The dataset statistics are shown in 4. All datasets can be loaded from Py Torch Geometric (Fey & Lenssen, 2019). When we evaluate the node classification performance, we need to use the training and test data. For Wiki CS (Mernyei & Cangea, 2020), ogbn-arxiv (Hu et al., 2020) and Citeseer (Yang et al., 2016), we use the public data splits provided by the authors. For other datasets, we split the nodes into 10%/10%/80% for training/validation/test. Table 4: Dataset statistics. Dataset Network Type #Nodes #Edges #Classes #Features Homophily Wiki CS Reference network 11,701 216,123 10 300 0.70 CS Co-authorship network 18,333 81,894 15 6,805 0.81 Physics Co-authorship network 34,493 247,962 5 8,415 0.93 Computers Co-purchase network 13,381 245,778 10 767 0.78 Photo Co-purchase network 7,487 119,043 8 745 0.83 Cora Full Citation network 19,793 65,311 70 8,710 0.57 Citeseer Citation network 3,327 4,732 6 3,703 0.74 ogbn-arxiv Citation network 169,343 1,166,243 40 128 0.78 Hyper-parameter Settings. When calculating pseudo-homophily, we set the number of clusters to 10 for ogbn-arxiv and Computers, and 5 for other datasets. A small number of clusters can be more efficient but could be less stable. Following DGI (Veliˇckovi c et al., 2019) and MVGRL (Hassani & Khasahmadi, 2020), we we use a simple one-layer GCN (Kipf & Welling, 2016a) as our encoder. We set the size of hidden dimensions to 512, weight decay to 0, dropout rate to 0. For individual SSL methods and AUTOSSL-ES, we set learning rate to 0.001, use Adam optimizer (Kingma & Ba, 2014), train the models with 1000 epochs and adopt early stopping strategy. For AUTOSSLDS, we train the models with 1000 epochs and choose the model checkpoint that achieves the highest pseudo-homophily. We use Adam optimizer for both inner and outer optimization. The learning rate for outer optimization is set to 0.05. For AUTOSSL-ES, we use a population size of 8 for each round. Due to limited computational resources, we perform 80 rounds for Citeseer, 40 rounds for CS, Computers, Cora Full, Photo, Physics, Computers and Wiki CS. We repeat the experiments on 5 different random seeds and report the mean values and variances for downstream performance. To fit DGI into GPU memory on larger datasets and accelerate its training, instead of using all the nodes we sample 2000 positive samples and 2000 negative samples for DGI on all datasets except Citeseer. Hardware and Software Configurations. We perform experiments on one NVIDIA Tesla K80 GPU and one NVIDIA Tesla V100 GPU. Additionally, we use eight CPUs, with the model name as Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz. The operating system we use is Cent OS Linux 7 (Core). Theorem 1. Suppose that we are given with a graph G = {V, E}, a pseudo label vector A {0, 1}N and a ground truth label vector B {0, 1}N defined on the node set. We denote the homophily of A and B over G as h A and h B, respectively. If the classes in A and B are balanced and h A h B, the following results hold: (1) the mutual information between A and B, i.e., MI(A,B), has an upper bound UA,B, where UA,B = 1 N 2 log( 4 2 ) with = (h B h A)|E| 2dmax and dmax denoting the largest node degree in the graph; (2) if h A < h A < h B, we have UA,B < UA ,B. Proof. (1) We start with the proof of the first result. The mutual information between two random variables X and Y is expressed as MI(X, Y ) = X x X p(A,B)(x, y) log p(X,Y )(x, y) p X(x)p Y (y) Published as a conference paper at ICLR 2022 Let Ai and Bi denote the set of nodes in the i-th class in A and B, respectively. Following the definition in Eq. (11), the mutual information between A and B can be formulated as, N log N |Ai Bj| |Ai| |Bj| , (12) where n A, n B denote the number of classes in A and B. Since here we only consider 2 classes in A and B, we have MI(A, B) =|A0 B0| N log N |A0 B0| |A0| |B0| + |A0 B1| N log N |A0 B1| N log N |A1 B0| |A1| |B0| + |A1 B1| N log N |A1 B1| |A1| |B1| . (13) Let |A0 B0| = x, |A0| = a and |B0| = b. We then have |A0| + |A1| = N |A1| = N a, |B0| + |B1| = N |B1| = N b, |A0 B0| + |A0 B1| = |A0| |A0 B1| = a x, |A0 B0| + |A1 B0| = |B0| |A1 B0| = b x, |A0 B1| + |A1 B1| = |B1| |A1 B1| = N b a + x. With the equations above, we rewrite MI(A, B) as follows, MI(A, B) = 1 N [x log Nx ab + (a x) log N(a x) + (b x) log N(b x) (N a)b + (N b a + x) log N(N b a + x) (N a)(N b) ]. (15) Then we rewrite result (1) in the theorem as an optimization problem, max f(x) = MI(A, B) (16) with constraints, 0 |A0 B0| |A0| 0 x a, 0 |A0 B0| |B0| 0 x b, |A1 B1| 0 x a + b N, |A0 B0| + |A1 B1| N x a+b 2 , |A0 B1| + |A1 B0| N x a+b N Note that the equality of |A0 B0| + |A1 B1| N holds when A and B are the same. However, A and B have different homophily, which indicates |A0 B0| + |A1 B1| cannot reach N (the same for |A0 B1|+|A1 B0|). Let EA, EB denote the inter-class edges for A and B, respectively. Thus, h A = 1 |EA| |E| and h B = 1 |EB| |E| . Since h A < h B, we have |EA| > |EB|. This indicates that there are at least |EA| |EB| edges in A connecting nodes that belong to the same ground truth class, as shown in Figure 5. Intra-class edges Inter-class edges Figure 5: Illustration for |A0 B0| + |A1 B1|. The two dashed rectangles divide the nodes into A0 and A1; red and blue nodes denote nodes in B0 and B1, respectively. Let dmax denote the maximum degree in the graph and we know that at least |EA| |EB| dmax nodes are misplaced in A, e.g., in Figure 5 the red node in A1 should be placed in A0 to achieve |A0 B0|+ Published as a conference paper at ICLR 2022 |A1 B1| = N. Let = |EA| |EB| 2dmax = (h B h A)|E| 2dmax , and we have |A0 B0| + |A1 B1| N 2 and |A0 B1| + |A1 B0| N 2 . With the new constraints, we rewrite the optimization problem as max f(x) = MI(A, B) s.t. 0 x a, x b, x a + b N, x a+b 2 2 , x a+b (N 2 ) Further, the derivative of f(x) is expressed as follows, N log x(N b a + x) (a x)(b x) . (19) Let f (x) > 0, we have x > ab N ; let f (x) < 0, we have x < ab N . Thus, f(x) is monotonically decreasing at [max(0, a + b N, a+b (N 2 ) N ] and monotonically increasing [ ab N , min(a, b, a+b 2 Note that in the theorem we assume the pseudo-labels and ground truth classes are balanced, i.e., a = b = N 2 . Then MI(A, B) becomes, MI(A, B) = f(x) = 1 2 x) . (20) Hence, f(x) is monotonically decreasing at [ , N 4 ] and monotonically increasing [ N 2 ]. So the maximum value of f(x) is at either x = or x = N 2 . Further it is easy to know that f( N 4 x) = f( N 4 + x). Then we have f( ) = f( N 2 ), and we can get the maximum value of f(x) as follows, UA,B = max f(x) = f( ) = 1 with = (h B h A)|E| 2dmax . In other words, MI(A, B) reaches its upper bound when |A0 B0| = (h B h A)|E| 2 (h B h A)|E| (2) From the constraints x a+b 2 2 and x a+b (N 2 ) 2 in Eq (18), we have a+b (N 2 ) 4 . Based on the discussion in (1), we know that f( ) is monotonically decreasing at [0, N 4 ], which means an increase of leads to a decrease in f( ), i.e., a smaller value of UA,B. Since = (h B h A)|E| 2dmax , a decrease in h A will lead to a increase in . Then we have UA,B < UA ,B if h A < h A < h B. Remark on a more generalized case. We now discuss the case where we do not have assumptions on a and b. As we demonstrated in the above discussion, f(x) is monotonically decreasing at [max(0, a + b N, a+b (N 2 ) N ] and monotonically increasing [ ab N , min(a, b, a+b 2 2 )]. Thus, the maximum value of f(x) should be one of the values of f(0), f(a + b N), f( a+b (N 2 ) 2 ), f(a), f(b) and f( a+b 2 2 ). As our goal is to show that UA,B would be small with low h A, to simplify the analysis, we consider a large value of (or a small value of h A) which satisfies 1 2|N (a + b)| and 1 2|a b|. This indicates x is bounded by [ a+b (N 2 ) 2 ]. Then the maximum value of f(x), i.e., UA,B, is expressed as UA,B = max(f(a + b (N 2 ) 2 ), f(a + b 2 When a+b (N 2 ) 2 ab N a+b 2 2 , it is easy to see that larger (or smaller h A) will lead to smaller UA,B because both a+b (N 2 ) 2 and a+b 2 2 will be closer to the minima point ab N . When ab N a+b (N 2 ) 2 , UA,B = f( a+b 2 2 ). It decreases with the increase of (or the decrease of h A) because a+b 2 2 gets closer to the minima point ab N . Similarly, when a+b (N 2 ) N , UA,B decreases with the increase of (or the decrease of h A). To sum up, for small h A, the upper bound of MI(A, B), i.e., UA,B, decreases with the decrease of h A. Published as a conference paper at ICLR 2022 C ALGORITHM The detailed algorithm for AUTOSSL-ES is shown in Algorithm 1. Concretely, for each round (iteration) of AUTOSSL-ES, we sample K sets of task weights, i.e., K different combinations of SSL tasks, from a multivariate normal distribution. Then we train K graph neural networks independently on each set of task weights. Afterwards, we calculate the pseudo-homohily for each network and adjust the mean and variance of the multivariate normal distribution through CMA-ES based on their pseudo-homohily. The detailed algorithm for AUTOSSL-DS is summarized in Algorithm 2. Specifically, we first update the GNN parameter θ through one step gradient descent; then we perform k-means clustering to obtain centroids, which are used to calculate the homophily loss H. Afterwards, we calculate the meta-gradient meta {λi}, update {λi} through gradient descent and clip {λi} to [0, 1]. Algorithm 1: AUTOSSL-ES: Auto SSL with Evolutionary Strategy for r in {0, . . . , R} do 1. Sample K sets of tasks weights from a multivariate normal distribution 2. Train K networks w.r.t. each set of task weights from scratch 3. Calculate pseudo-homophily P-H of node embeddings from each network 4. Adjust the multivariate normal distribution through CMA-ES based on P-H end Algorithm 2: AUTOSSL-DS: Auto SSL with Differential Search Initialize self-supervised task weights {λi} and GNN parameters θ; for t in {0, . . . , T} do 1. θt+1 = θt ϵ θt L(fθt, {λi, ℓi}) 2. Perform k-means clustering on fθt(G) and obtain centroids {c1, c2, . . . , ck} 3. Calculate p (ci | x) according to Eq. (4) 4. Calculate homophily loss H according to Eq. (5) 5. {λi} {λi} η meta {λi} 6. Clip {λi} to [0,1] end D DISCUSSIONS ON HOMOPHILY ASSUMPTION Most of the graphs in our real life satisfy the homophily assumption (Mc Pherson et al., 2001), such as social networks, citation networks, co-purchase networks, etc. Thus, in general, we can treat homophily as a prior knowledge for a majority of real-world graphs. Moreover, it has been shown in (Zhu et al., 2020a; Pei et al., 2020) that most GNNs (such as GCN, GAT, Cheby Net and Graph Sage) heavily rely on the homophily assumption and fail to generalize to low-homophily (heterophily) graphs even with label information. Thus, following the design of most GNNs, we focus on the homophily graphs. In addition, to apply our method on heterophily graphs, we can use the graph transformation algorithm (Suresh et al., 2021) to increase the homophily of a given graph. While heterophily graphs also exist in real-world applications, the research of GNNs on heterophily graphs is still at the very early stage even in the cases where the label information is available. Therefore, we will leave the research for heterophily graphs in the unsupervised setting as a future work. E ADDITIONAL EXPERIMENTAL RESULTS E.1 RELATIONSHIP BETWEEN DOWNSTREAM PERFORMANCE AND PSEUDO-HOMOPHILY We provide more results on the relation between downstream performance and pseudo-homophily in Figure 6. Observations are already made in Section 4.4. Published as a conference paper at ICLR 2022 0.4 0.5 0.6 0.7 0.8 0.9 Pseudo-homophily Node clustering NMI (a) Cora Full: NMI 0.85 0.86 0.87 0.88 0.89 Pseudo-homophily Node clustering NMI (b) CS: NMI 0.84 0.86 0.88 0.90 0.92 0.94 Pseudo-homophily Node clustering NMI (c) Citeseer: NMI 0.84 0.86 0.88 0.90 0.92 Pseudo-homophily Node clustering NMI (d) Physics: NMI 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Pseudo-homophily Node clustering NMI (e) Photo: NMI 0.4 0.5 0.6 0.7 0.8 0.9 Pseudo-homophily Node classification accuracy (f) Cora Full: ACC 0.85 0.86 0.87 0.88 0.89 Pseudo-homophily Node classification accuracy (g) CS: ACC 0.84 0.86 0.88 0.90 0.92 0.94 Pseudo-homophily Node classification accuracy (h) Citeseer: ACC 0.84 0.86 0.88 0.90 0.92 Pseudo-homophily Node classification accuracy (i) Physics: ACC 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Pseudo-homophily Node classification accuracy (j) Photo: ACC Figure 6: Relationship between downstream performance and pseudo-homophily. 0 200 400 600 800 1000 Iteration Pseudo-homophily (a) Clustering 0 200 400 600 800 1000 Iteration Pseudo-homophily (b) Classification 0 200 400 600 800 1000 Iteration Pseudo-homophily (c) Homophily loss Figure 7: Pseudo-homophily versus NMI/ACC/Loss on Citeseer for AUTOSSL-DS. The vertical dashed line indicates the iteration when pseudo-homophily reaches the maximum value. E.2 PSEUDO-HOMOPHILY OVER ITERATIONS We investigate how pseudo-homophily changes over iterations for AUTOSSL-DS. The changes of pseudo-homophily, NMI, ACC and homophily loss (Eq. (5)) are plotted in Figure 7. From Figure 7a and 7b, we can observe that pseudo-homophily first increases and then becomes stable through iterations. The situation is a bit different for clustering and classification performance: NMI and ACC first increase with the increase of pseudo-homophily and then drop when pseudo-homophily is relatively stable. This indicates that overtraining can hurt downstream performance as the model will have the risk of overfitting on the combined SSL tasks. However, as shown in the figure, if we stop at the iteration when pseudo-homophily reaches the maximum value we can still get a high NMI and ACC. On a separate note, Figure 7c shows how the homophily loss used in AUTOSSL-DS changes over iterations. We note that in the first iterations the homophily loss is low but the pseudohomophily is also low. This is because the embeddings in the first few epochs are less separable and would lead to very close soft-assignment of clusters. As shown in the figure, however, the problem is resolved as the embeddings become more distinguishable through iterations. Thus, we argue that the homophily loss in Eq. (5) is still a good proxy in optimizing pseudo-homophily. E.3 EFFICIENCY ANALYSIS E.3.1 TIME COMPLEXITY ANALYSIS We analyze the time complexity of the proposed AUTOSSL. Here we call one set of task weights {λi} as one candidate solution. We denote the time of training one epoch on a given set of SSL tasks as to and the evaluation time is te. Suppose we need to train T epochs for the network. Then the time for running one single candidate solution is Tto +te; the time of running R rounds of AUTOSSL-ES should be RTto + Rte. For AUTOSSL-DS, the running time is Tto + Tte. As an illustration, in an L-layer GCN with d as the number of hidden dimensions, to can be expressed as O(L|E|d+LNd2) and te has time complexity of O(KINd) with K being the number of clusters and I being the Published as a conference paper at ICLR 2022 number of iterations for k-means. Hence, we also express the time complexity of AUTOSSL-ES as O(RTL|E|d + RTLNd2 + RKINd) and that of AUTOSSL-DS as O(TL|E|d + TLNd2 + TKINd). Both of them linearly increase with the number of nodes N when E is proportional to N. We note that in AUTOSSL-DS, the complexity of calculating the second-order derivatives in backward propagation has an additional factor of O(|θ||{λi}|), which can be reduced to O(|{λi}|) with approximated Hessian-vector products. The factor can be neglected as the number of tasks O(|{λi}|) is small. E.3.2 EMPIRICAL COMPARISON For empirical comparison, we take Citeseer, Photo, Cora Full as examples to illustrate. As shown in Table 5, we compare the running time of different methods for training 1000 epochs on one NVIDIA-K80 GPU. The column of 5-Tasks indicates the running time of training a combination of 5 SSL tasks, i.e. CLU, PAR, PAIRSIM, PAIRDIS and DGI, for 1000 epochs. Note that we report the running time of AUTOSSL-ES as the multiplication between 500 and the time of 5-Tasks, i.e., running 500 candidate solutions. From the table, we can see that the running time of AUTOSSLES depends on the number of candidate solutions and usually takes a long time to run. However, AUTOSSL-DS significantly reduces the running time of AUTOSSL-ES. It is worth noting the stateof-the-art SSL task, MVGRL, takes a long time to run and suffers from the OOM issue when the dataset gets larger. Table 5: Comparison of running time for training 1000 epochs on one NVIDIA-K80 GPU (12 GB memory). OOM indicates out-of-memory on this GPU. DGI MVGRL 5-Tasks AUTOSSL-ES AUTOSSL-DS Citeseer 222s 1220s 322s 322s 500 1222s Photo 177s 1074s 507s 507s 500 1766s Cora Full 553s OOM 858s 858s 500 3584s F COMPARISON WITH DIFFERENT STRATEGY In this subsection, we examine how other strategies of assigning task weights affect the quality of learned representations. The results are summarized in Table 6. In this table, Best SSL indicates the best performance achieved by the individual tasks; Random Weight indicates the performance achieved by randomly assigning task weights; Equal Weight indicates the performance achieved by assigning the same task weights (i.e., all 1). The values that outperform Best SSL are underlined. From the table, we make two observations. Obs 1. Unlike AUTOSSL, Random Weight and Equal Weight would hurt both NMI and ACC on some datasets, e.g., Citeseer. This suggests that SSL tasks might conflict with each other and thus harm the downstream performance. Obs 2. In some cases like Physics, Equal Weight can also improve both ACC and NMI, which aligns well with our initial motivation that combinations of SSL can help capture multiple sources of information and benefit the downstream performance. The two observations suggest that it is important to design a clever strategy that can automatically compose graph SSL tasks. G COMPARISON WITH RANDOM SEARCH In this subsection, we choose Citeseer to study the difference between random search and evolutionary algorithm (AUTOSSL-ES), and report the result in Table 7. Specifically, the random search method randomly generates 800 sets of tasks weights and we evaluate the pseudo-homophily from the models trained with those task weights. Note that in AUTOSSL-ES we also evaluated 800 sets of tasks weights in total. From the table, we can see that random search is not as efficient as AUTOSSLES: with the same search cost, the resulted pseudo-homophily of random search is not as high as AUTOSSL-ES and the downstream performance is also inferior. This result suggests that search with evolutionary algorithm can find the optimum faster than random search. Published as a conference paper at ICLR 2022 Table 6: Performance comparison of different strategies of assigning task weights. The NMI rows indicate node clustering performance; ACC rows indicate node classification accuracy (%); P-H stands for pseudo-homophily. (Underline: better than Best SSL ). Dataset Metric Best SSL Random Weight Equal Weight AUTOSSL-ES AUTOSSL-DS Citeseer NMI 0.439 0.00 0.398 0.01 0.408 0.00 0.449 0.01 0.449 0.01 ACC 71.64 0.44 70.64 0.07 70.80 0.31 72.14 0.41 72.00 0.32 P-H 0.897 0.904 0.943 0.934 Computers NMI 0.433 0.00 0.341 0.03 0.290 0.00 0.447 0.01 0.448 0.01 ACC 87.26 0.15 86.86 0.25 87.24 0.38 87.26 0.64 88.18 0.43 P-H 0.406 0.378 0.503 0.511 Cora Full NMI 0.498 0.00 0.458 0.02 0.493 0.00 0.506 0.01 0.500 0.00 ACC 60.42 0.39 58.88 0.32 59.01 0.29 61.01 0.50 61.10 0.68 P-H 0.811 0.868 0.903 0.895 CS NMI 0.767 0.01 0.761 0.01 0.770 0.01 0.772 0.01 0.771 0.01 ACC 92.75 0.12 92.88 0.20 93.22 0.12 93.26 0.16 93.35 0.09 P-H 0.879 0.881 0.895 0.890 Photo NMI 0.509 0.01 0.341 0.02 0.366 0.02 0.560 0.04 0.511 0.03 ACC 92.08 0.37 92.04 0.28 92.54 0.29 92.04 0.89 92.71 0.32 P-H 0.412 0.472 0.791 0.626 Physics NMI 0.704 0.00 0.692 0.00 0.709 0.01 0.725 0.00 0.726 0.00 ACC 95.07 0.06 95.09 0.08 95.39 0.10 95.57 0.02 95.13 0.36 P-H 0.914 0.916 0.921 0.923 Wiki CS NMI 0.341 0.01 0.305 0.01 0.323 0.01 0.366 0.01 0.344 0.02 ACC 75.81 0.17 76.29 0.17 76.49 0.21 76.80 0.13 76.58 0.28 P-H 0.675 0.690 0.751 0.749 Table 7: Comparison with random search. The NMI indicates node clustering performance; ACC indicates node classification accuracy (%); P-H stands for pseudo-homophily. Dataset Metric Random Search AUTOSSL-ES Citeseer NMI 0.443 0.00 0.449 0.01 ACC 71.68 0.55 72.14 0.41 P-H 0.934 0.943 H BROADER IMPACT Graph neural networks (GNNs) are commonly used for node and graph representation learning tasks due to their representational power. Such models have also been recently proposed for use in largescale social platforms for tasks including forecasting (Tang et al., 2020a), friend ranking (Sankar et al., 2021) and item recommendation (Ying et al., 2018; Wu et al., 2019a), which impact many end users. Like other machine learning models, GNNs can suffer from typical unfairness issues which may arise due to sensitive attributes, label parity issues, and more (Dai & Wang, 2021). Moreover, GNNs can also suffer from degree-related biases (Tang et al., 2020b). Self-supervised learning (SSL) is often used to learn high-quality representations without supervision from labeled data sources, and is especially useful in low-resource settings or in pre-training/fine-tuning scenarios. Several works have illustrated the potential for representations learned in a self-supervised way to encode bias unintentionally, for example in language modeling (Bender et al., 2021; Zhao et al., 2019), image representation learning (Roberts et al., 2018) and outlier detection (Shekhar et al., 2020). Our work on automated self-supervised learning with graph neural networks shares the caveats of these two domains in terms of producing inadvertent or biased outcomes. We propose an approach to learn self-supervised representations by utilizing multiple types of pretext tasks in conjunction with one another. While this produces improved performance on standard tasks used for benchmarking representation quality, it does not guarantee that these representations are fair and should be used without typical fairness checks in industrial contexts. However, such concerns are not inherently posed by our proposed ideas, but by the foundations it builds on in GNNs and SSL. We anticipate our ideas will drive further research in more sophisticated and powerful self-supervised graph learning, and do not anticipate direct negative outcomes from this work.