Abstract
Dataset shift refers to the problem where the input data distribution may change over time (e.g., between training and test stages). Since this can be a critical bottleneck in several safety-critical applications such as healthcare, drug-discovery, etc., dataset shift detection has become an important research issue in machine learning. Though several existing efforts have focused on image/video data, applications with graph-structured data have not received sufficient attention. Therefore, in this paper, we investigate the problem of detecting shifts in graph structured data through the lens of statistical hypothesis testing. Specifically, we propose a practical two-sample test based approach for shift detection in large-scale graph structured data. Our approach is very flexible in that it is suitable for both undirected and directed graphs, and eliminates the need for equal sample sizes. Using empirical studies, we demonstrate the effectiveness of the proposed test in detecting dataset shifts. We also corroborate these findings using real-world datasets, characterized by directed graphs and a large number of nodes.
1 Introduction
Most machine learning (ML) applications, e.g., healthcare, drug-discovery, etc., encounter dataset shift when operating in the real-world. The reason for this comes from the bias in the testing conditions compared to the training environment introduced by experimental design. It is well known that ML systems are highly susceptible to such dataset shifts, which often leads to unintended and potentially harmful behavior. For example, in ML-based electronic health record systems, input data is often characterized by shifting demographics, where clinical and operational practices evolve over time and a wrong prediction can threaten human safety.
Although dataset shift is a frequent cause of failure of ML systems, very few ML systems inspect incoming data for a potential distribution shift (). While some practical methods such as () have been proposed for detecting shifts in applications with Euclidean structured data (speech, images, or video), there are limited efforts in solving such issues for graph structured data that naturally arises in several scientific and engineering applications. In recent years there has been a surge of interest in applying ML techniques to structured data, e.g. graphs, trees, manifolds etc. In particular, graph structured data is becoming prevalent in several high-impact applications including bioinformatics, neuroscience, healthcare, molecular chemistry and computer graphics. In this paper, we investigate the problem of detecting distribution shifts in graph-structured datasets for responsible deployment of ML in safety-critical applications. Specifically, we propose to solve the problem of detecting shifts in graph-structured data through the lens of statistical two-sample testing. Broadly, the objective in two-sample testing for graphs is to test whether two populations of random graphs are different or not based on the samples generated from each of them.
Two-sample testing has been of significant research interest due to its broad applicability. An important class of testing methods relies on summary metrics that quantify the topological differences between networks. For example, in brain network analysis, commonly adopted topological summary metrics include the global efficiency () and network modularity (). An inherent challenge with these approaches is that the topological characteristics depend directly on the number of edges in the graph, and can be insufficient in practice. An alternative class of methods is based on comparing the structure of subgraphs to produce a similarity score (; ). For example, used the earth mover’s distance between the distributions of feature summaries of their constituent subgraphs.
While these heuristic methods are reasonably effective for comparing real-world graphs, not until recently that a principled analysis of hypothesis testing with random graphs was carried out. In this spirit, developed a test statistic based on a precise geometric characterization of the space of graph Laplacian matrices. Most of these approaches for graph testing based on classical two-sample tests are only applicable to the restrictive low-dimensional setting, where the population size (number of graphs) is larger than the size of the graphs (number of vertices). To overcome this challenge, proposed a semi-parametric two-sample test for a class of latent position random graphs, and studied the problem of testing whether two dot product random graphs are drawn from the same population or not. Other testing approaches that focused on hypothesis testing for specific scenarios, such as sparse networks () and networks with a large number of nodes (), have been developed. More recently, developed a novel testing framework for random graphs, particularly for the cases with small sample sizes and the large number of nodes, and studied its optimality. More specifically, this test statistic was based on the asymptotic null distributions under certain model assumptions.
Unfortunately, all these approaches are limited to testing undirected graphs under the equal sample size (for two graph populations) setting. In real-world dataset shift detection problems, these assumptions are extremely restrictive, making existing approaches inapplicable to several applications. In order to circumvent these crucial shortcomings, we develop a novel approach based on hypothesis testing for detecting shifts in graph-structured data, which is more flexible (i.e., accommodates 1) both undirected and directed graphs and 2) unequal sample size cases). Moreover, it is highly effective even when the sample size grows. Notice that, similar to the setting in
, we also consider scenarios where all networks are defined from the same vertex set, which is common to several real-world applications. The main contributions of this paper are summarized below:
• We propose a new test statistic that can be applied to undirected graphs as well as directed graphs and/or unweighted graphs as well as weighted graphs, while eliminating the equal sample size requirement. The asymptotic distribution for the proposed statistic, based on the well-known U-statistic, is derived.
• A practical permutation approach based on a simplified form of the statistic is also proposed.
• We compare the new approach with existing methods for graph testing in diverse simulation settings, and show that the proposed statistic is more flexible and achieves significant performance improvements.
• In order to demonstrate the usefulness of the proposed method in challenging real-world problems, we consider several applications (including a healthcare application), and show the effectiveness of our approach.
2 Preliminaries
We consider the following two-sample setting. Let two random graph populations with d vertices be denoted as from and from with their adjacency matrices and , respectively. We are concerned with testing hypotheses:
Notice that we consider the cases where each population consists of independent and identically distributed samples, which encompasses a wide-range of network analysis problems, see, e.g., , , . In contrast to existing formulations, e.g., , we consider a more flexible setup where 1) the sample sizes m and n are allowed to be different and 2) the graphs in p and Q can be weighted and/or directed.
While there have several efforts to two-sample testing of graphs (; ; ), recent works such as , ; have focused on designing more general testing methods that are applicable to practical settings. For example, proposed a practical test statistic based on the correspondence between an undirected graph and its Laplacian under the inhomogeneous Erdős-Rényi (IER) assumption, which means all nodes are independently generated from a Bernoulli distribution (see details in Section 3). The test statistic, under the assumption of equal sample sizes m, can be described as follows:where
The authors showed that converges to a chi-square distribution as under . However, this statistic can be interpreted as Hotelling’s statistic for multivariate data, thus leading to no performance guarantees for “small m and large d” scenario. This is because the variance estimates used in Eq. 2 are not stable for small m and large d, especially when graphs are sparse.
Recently, proposed a new class of test statistics, designed for different scenarios under the IER model assumption. More specifically, they focused on cases with small m and large d. For cases with , the following test statistic was used:
While it was suggested by the authors to perform this test using bootstraps from the aggregated data, this could be challenging for sparse graphs, since it is difficult to construct bootstrapped statistics from an operator norm. Hence, they considered an alternate test statistic based on the Frobenius-norm as follows:where and . It was shown that this test is provably effective and more reliable. Furthermore, they derived the asymptotic normality of as to make the method instantly applicable without the bootstrap procedure. Despite the good properties of this method, this test can be used only when the two sample sizes are equal, and when graphs are undirected. In the rest of this paper, we develop a new test statistic which addresses these two crucial limitations.
3 Proposed Test
To carry out two-sample testing, we want to measure the distance between two populations. Here, we utilize the Frobenius distance as the evidence for discrepancy between two populations:
Next, we provide finite sample estimates of this quantity. To accommodate more general settings for random graphs, the new test statistic is defined as follows:where
Note that the proposed test statistic accommodates scenarios where the sample sizes m and n are different and the graphs in p and Q are weighted and/or directed.
Next, we analyze the theoretical properties of the proposed test. For the ease of theoretical analysis, we focus on the case where graphs are unweighted and undirected. However, the proposed test and algorithmic tools are applicable to weighted and/or directed graph scenarios which is the main focus of the paper and is considered in our experimental evaluations. More specifically, in our theoretical analysis, we assume that graphs are drawn from the inhomogeneous Erdős-Rényi (IER) random graph process, which is considered as an extended version of the Erdős-Rényi (ER) model from . In other words, we consider unweighted and undirected random graphs, where edges occur independently without any additional structural assumption on the population adjacency matrix. Note, the IER model encompasses other models studied in the literature including random dot product graphs () and stochastic block models (). A graph from a population symmetric adjacency p with zero diagonal is considered to be an IER graph if for all . Here, d denotes the cardinality of the vertex set. Next we analyze the theoretical properties of the proposed test under IER assumption.
LEMMA 3.1. is an unbiased empirical estimate of T, that is,
PROOF. Under the IER assumptions, for all , we havesince and are mutually independent . Then,
In the form of , the first term and the second term represent a similarity (closeness) within two samples, and the last term represents similarity between two samples. Hence, a relatively large value of is the evidence against the null hypothesis. Note that the proposed statistic does not require equal sample sizes and undirected graphs assumptions.
When , we have a simpler form of the estimate. Let be random variables . Then,whereand . Since the proposed estimate has a form of U-statistics, which provides a minimum-variance unbiased estimator for T (; ), the asymptotic distribution of can be derived based on the asymptotic results of U-statistics.
Theorem 3.1 Assume . Under , we havewhere . Under , the U-statistic is degenerate andwhere and are the solutions of
PROOF. These results can be obtained by applying the asymptotic properties of U-statistics as given in and the IER assumptions.
Having devised the test statistic, our next aim is to determine whether the new test statistic is large enough to be outside the quantile of the limiting null distribution in Eq. 11, where a is the significance level of the test. One difficulty in implementing this test is that the asymptotic null distribution 11) and its a quantile do not have an analytic form unless or 1. Therefore, in order to estimate this quantile, we propose a permutation approach on the aggregated data. The main advantage of this method is that it yields a valid level a test in finite-sample scenarios (). To this end, we first consider a simpler form of the test statistic (based on ) defined as follows:where
Although we do not use the last term of in the definition of , the performance of the test statistic achieved by incorporating similarities in two samples is still maintained in the permutation framework. The permutation test is summarized in Algorithm 1; its computational cost is , where indicates the maximum among m and n.
Algorithm 1
4 Experiments
Here, we first examine the performance of the new test statistics under diverse settings through simulation studies. Later, we will apply the new test to real-world applications.
4.1 Simulated Data
To evaluate the performance of the new test, we examine sparse graphs from stochastic block models with two communities as studied in an . Specifically, we consider sparse graphs with d nodes where the same size community is constructed with an edge probability p and size different community with an edge probability q. In other words, we define p and Q as follows:
We generate m samples from p and n samples from Q. Under the null, , implying , whereas under , implying . Following , we set , , and for null, whereas for the alternative hypothesis. We examine the performance of the new test for different choices of .
The performance of the test based on is studied and compared to existing methods. in is the bootstrap test based on , and denotes the normal dominance test based on the asymptotic distribution of (also from ). We denote the new test which is the permutation test based on as . The estimated power is calculated as the number of null rejections at level out of 100 independent trials for each of these methods. For and , p-values are determined by 1,000 permutation runs to have a reliable comparison.
Figure 1 shows results for the undirected graph case under different settings. When two sample sizes are equal (upper panels), where existing methods can be applied, we see that the proposed test outperforms all other methods. Note that, when the sample size of two graph populations are different (i.e., ), the existing methods cannot be applied. We see that the proposed test still performs well under sample imbalance and the large d regime.
FIGURE 1
We also evaluate the performance of the new test for directed graphs under various configurations. (Figure 2). The existing methods are not applicable to directed graphs, but we transform so that it can be applied to directed graphs. The results show that the new test also has better power than the existing method in two-sample testing for directed graph and works well for large graphs.
FIGURE 2
Next, we examine the effect of the sparsity on the performance of the tests. To this end, we consider the same setting as above, but with different choices of for each of methods. Small implies that there is small difference between p and Q, making the tests more difficult to detect discrepancy between two samples. Table 1 shows results for undirected graphs with variations in the sparsity level . We see that, in general, the proposed method is consistently superior to existing methods. This indicates that our test statistic is more effective in detecting the inhomogeneity between two samples than the existing methods. The effect of a sparsity level on the performance of the proposed test for directed graphs can be found in Table 2. We see that the proposed test also performs better than the existing method for directed graph settings, and as expected, the power increases as or the number of samples increases.
TABLE 1
| D | |||||||||
| 100 | 0.09 | 0.05 | 0.10 | 0.10 | 0.03 | 0.08 | 0.17 | 0.05 | 0.17 |
| 200 | 0.09 | 0.05 | 0.07 | 0.18 | 0.10 | 0.18 | 0.39 | 0.22 | 0.39 |
| 300 | 0.17 | 0.03 | 0.17 | 0.34 | 0.19 | 0.37 | 0.50 | 0.40 | 0.66 |
| 400 | 0.11 | 0.09 | 0.15 | 0.40 | 0.26 | 0.53 | 0.78 | 0.71 | 0.90 |
| 500 | 0.22 | 0.08 | 0.22 | 0.63 | 0.48 | 0.75 | 0.91 | 0.89 | 0.98 |
| d | |||||||||
| 100 | 0.13 | 0.05 | 0.08 | 0.17 | 0.08 | 0.23 | 0.39 | 0.21 | 0.64 |
| 200 | 0.19 | 0.09 | 0.31 | 0.40 | 0.20 | 0.67 | 0.80 | 0.66 | 0.99 |
| 300 | 0.36 | 0.22 | 0.49 | 0.73 | 0.58 | 0.92 | 0.98 | 0.94 | 1.00 |
| 400 | 0.37 | 0.19 | 0.61 | 0.92 | 0.86 | 1.00 | 1.00 | 0.99 | 1.00 |
| 500 | 0.51 | 0.31 | 0.76 | 0.98 | 0.96 | 1.00 | 1.00 | 1.00 | 1.00 |
Power comparison of different tests for undirected graphs with varying sparsity levels.
Bold values indicate the largest power of the test under each condition.
TABLE 2
| D | ||||||
| 100 | 0.13 | 0.09 | 0.11 | 0.11 | 0.21 | 0.26 |
| 200 | 0.11 | 0.12 | 0.25 | 0.27 | 0.49 | 0.66 |
| 300 | 0.17 | 0.22 | 0.46 | 0.61 | 0.76 | 0.94 |
| 400 | 0.20 | 0.20 | 0.60 | 0.72 | 0.95 | 1.00 |
| 500 | 0.36 | 0.37 | 0.77 | 0.93 | 1.00 | 1.00 |
| D | ||||||
| 100 | 0.14 | 0.18 | 0.20 | 0.42 | 0.66 | 0.93 |
| 200 | 0.26 | 0.38 | 0.77 | 0.94 | 0.97 | 1.00 |
| 300 | 0.43 | 0.68 | 0.94 | 1.00 | 1.00 | 1.00 |
| 400 | 0.62 | 0.89 | 1.00 | 1.00 | 1.00 | 1.00 |
| 500 | 0.80 | 0.96 | 1.00 | 1.00 | 1.00 | 1.00 |
Power of the proposed test for directed graphs with varying sparsity levels.
Bold values indicate the largest power of the test under each condition.
This observation becomes particularly evident when we have a large number of samples. To this end, we study how the performance of the tests is affected by the number of samples. For this study, we consider with relatively small graphs and fix . This analysis is designed to reveal the potential impact of sample size in high-dimensional settings. Tables 3, 4 report numerical results for the performance of the tests with varying number of samples. We see that the proposed test in general outperforms the existing tests for both undirected and directed graphs. Hence, we can claim that the new test works well in high-dimensional settings.
TABLE 3
| d | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| 50 | 0.08 | 0.08 | 0.12 | 0.11 | 0.04 | 0.16 | 0.28 | 0.15 | 0.43 |
| 100 | 0.16 | 0.08 | 0.17 | 0.18 | 0.05 | 0.23 | 0.61 | 0.42 | 0.81 |
| 150 | 0.16 | 0.03 | 0.15 | 0.21 | 0.14 | 0.30 | 0.70 | 0.52 | 0.97 |
| 200 | 0.14 | 0.06 | 0.22 | 0.37 | 0.21 | 0.56 | 0.94 | 0.89 | 1.00 |
Power comparison of different tests for undirected graphs with varying sample sizes.
Bold values indicate the largest power of the test under each condition.
TABLE 4
| Directed | ||||||
|---|---|---|---|---|---|---|
| d | ||||||
| 50 | 0.05 | 0.09 | 0.12 | 0.28 | 0.49 | 0.77 |
| 100 | 0.15 | 0.24 | 0.29 | 0.43 | 0.82 | 0.99 |
| 150 | 0.15 | 0.21 | 0.39 | 0.52 | 0.95 | 1.00 |
| 200 | 0.28 | 0.42 | 0.66 | 0.86 | 1.00 | 1.00 |
Power comparison of different tests for directed graphs with varying sample sizes.
Bold values indicate the largest power of the test under each condition.
4.2 Real-World Applications
4.2.1 Phone-Call Network
The MIT Media Laboratory conducted a study following 87 subjects who used mobile phones with a pre-installed device that can record call logs. The study lasted for 330°days from July 2004 to June 2005 (). Given the richness of this dataset, one question of interest to answer is that whether the phone call patterns among subjects are different between weekends and weekdays. These patterns can be viewed as a representation of the personal relationship and professional relationships of a subject. Removing days with no calls among subjects, there are networks in total (corresponding to number of days) and 87 subjects (or nodes) with adjacency matrices with value one for element if subject i called j on day t and 0 otherwise. This in turn comprises of 85°days in weekends and 214°days in weekdays. This is an example of unweighted directed graphs with imbalanced sample sizes.
The test statistic and corresponding p-value are shown in Table 5. We see that the new test rejects the null hypothesis of equal distribution at 0.05 significance level. This outcome is intuitively plausible as phone call patterns in weekends (personal) can be different from the patterns in weekdays (work).
TABLE 5
| Test statistic | p-value |
|---|---|
| 15.8131 |
Test summary on the phone-call network.
4.2.2 Safety-Critical Healthcare Application
Modeling relationships between functional or structural regions in the brain is a significant step toward understanding, diagnosing, and eventually treating a gamut of neurological conditions including epilepsy, stroke, and autism. A variety of sensing mechanisms, such as functional-MRI, Electroencephalography (EEG), and Electrocorticography (ECoG), are commonly adopted to uncover patterns in both brain structure and function. In particular, the resting state fMRI () has been proven effective in identifying diagnostic biomarkers for mental health conditions such as the Alzheimer disease () and autism (). At the core of these neuropathology studies is predictive models that map variations in brain functionality, obtained as time-series measurements in regions of interest, to clinical scores. For example, the Autism Brain Imaging Data Exchange (ABIDE) is a collaborative effort (), which seeks to build a data-driven approach for autism diagnosis. Further, several published studies have reported that predictive models can reveal patterns in brain activity that act as effective biomarkers for classifying patients with mental illness (). Following current practice (), graphs are natural data structures to model the functional connectivity of human brain (e.g. fMRI), where nodes correspond to the different functional regions in the brain and edges represent the functional correlations between the regions. The problem of defining appropriate metrics to compare these graphs and thereby identify suitable biomarkers for autism severity has been of significant research interest. We show that the proposed two-sample test is highly effective at characterizing stratification based on demographics (e.g. age, gender) as well as autism severity states (normal vs abnormal) across a large population of brain networks.
In the dataset, there are total 871 graphs and each graph consists of 111 nodes (functional regions). Through this example, we study the effectiveness of our approach under the weighted and undirected graph setting. In particular, we focus on detecting variations across stratification arising from demographics (gender, age). Specifically, groups of normal control subjects as well as those diagnosed with Autism Spectrum Disorders (ADS) are further sub-divided according to their gender (Male or Female) and age (under 20 or over 20), and we compare these sub-groups using the proposed test. Table 6 shows the distribution of graphs in the dataset and Figure 3 shows an example of the network structure of normal-male and normal-female groups.
TABLE 6
Distribution of graphs. “M” and “F” indicate male and female, respectively. ‘<20’ and ‘>20’ represent age less than 20 and over 20, respectively.
FIGURE 3
We conduct the two-sample test based on for each group with 10,000 permutations and the results are summarized in Table 7. We see that the new test rejects the null hypothesis of homogeneity in groups with respect to the treatment and age at 5% significance level (Normal>20 vs ADS<20 and Normal<20 vs ADS>20). In addition, the new test rejects the null hypothesis of homogeneity in both normal and ADS groups with respect to the age difference (Normal<20 vs Normal>20 and ADS<20 vs ADS>20).
TABLE 7
p-values of the tests on the ABIDE dataset.
This conclusion indicates there is a dataset shift even within the same normal and ADS groups, depending on the age. Hence, the fact that normal and ADS groups are considered differently by age may affect the machine learning subjects classification and prediction task in population. Moreover, with the dataset in which the normal group and ADS group are determined differently by age and not by gender, the machine learning classification and prediction model may not be reliable. Hence, detecting dataset shift shed some light on the machine learning task for more reliable results.
We also compare the new test with the existing method to this example. Note that the existing method may not be reliable due to the small number of nodes. Since is only applicable to the balanced sample sizes, we randomly choose 54 graphs from each group as the smallest sample size among the groups is 54. We run the tests 100 times at the significance level 5%. The test powers are shown in Table 8. We see that the new test in general outperforms . Compared to the results in Table 7, some examples show inconsistent performance of the tests. This is because we only consider a subset of graphs due to the limitation of the existing approaches in that they cannot be applied to unbalanced sample size examples.
TABLE 8
Estimated power of the tests with the significance level at 5%. Black numbers indicate the power of test based on and red numbers represent the power of test based on .
5 Conclusion
We propose the new two-sample test statistic for graph-structured data. Unlike the existing methods, the new test statistic is more versatile, which is applicable to directed graphs, imbalanced sample size cases, and even weighted graphs. The asymptotic distribution of the test statistic is presented and a practical testing procedure is proposed. The performance of the new method is studied under a number of settings. Experiments demonstrate that the new test in general outperforms state-of-the-art tests. The proposed test is also applied to two real datasets (including a safety-critical healthcare application), and we reveal that the new approach is effective to detecting the heterogeneity between disparate samples.
Statements
Data availability statement
The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author.
Author contributions
HS developed the main method and proposed the testing procedure based on the new test statistic. He conducted the simulation experiments and real data analysis. JJ and BK provided the intuition and the direction of the method and worked on simulation experiments with HS. JJ provided the real dataset, and JJ and BK discussed about the results with HS. HS, JJ, and BK generated the paper together.
Funding
This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344. This work was supported by the DOE Advanced Scientific Computing Research. Release number LLNL-JRNL-822138.
Conflict of interest
The views and opinions of the authors do not necessarily reflect those of the U.S. government or Lawrence Livermore National Security, LLC neither of whom nor any of their employees make any endorsements, express or implied warranties or representations or assume any legal liability or responsibility for the accuracy, completeness, or usefulness of the information contained herein.
References
1
BollobásB.JansonS.RiordanO. (2007). The Phase Transition in Inhomogeneous Random Graphs. Random Struct. Alg.31, 3–122. 10.1002/rsa.20168
2
BubeckS.DingJ.EldanR.RáczM. Z. (2016). Testing for High-Dimensional Geometry in Random Graphs. Random Struct. Alg.49, 503–532. 10.1002/rsa.20633
3
BulusuS.KailkhuraB.LiB.VarshneyP. K.SongD. (2020). Anomalous Instance Detection in Deep Learning: A Survey. Available at: arXiv:2003.06979 (Accessed March 16, 2020).
4
ChenG.WardB. D.XieC.LiW.WuZ.JonesJ. L.et al (2011). Classification of Alzheimer Disease, Mild Cognitive Impairment, and Normal Cognitive Status with Large-Scale Network Analysis Based on Resting-State Functional Mr Imaging. Radiology259, 213–221. 10.1148/radiol.10100734
5
Di MartinoA.YanC.-G.LiQ.DenioE.CastellanosF. X.AlaertsK.et al (2014). The Autism Brain Imaging Data Exchange: toward a Large-Scale Evaluation of the Intrinsic Brain Architecture in Autism. Mol. Psychiatry19, 659–667. 10.1038/mp.2013.78
6
EagleN.PentlandA.LazerD. (2009). Inferring Friendship Network Structure by Using Mobile Phone Data. Proc. Natl. Acad. Sci.106, 15274–15278. 10.1073/pnas.0900282106
7
GaoC.LaffertyJ. (2017). Testing Network Structure Using Relations between Small Subgraph Probabilities. Available at: arXiv:1704.06742 (Accessed April 22, 2017).
8
GhoshdastidarD.von LuxburgU. (2018). “Practical Methods for Graph Two-Sample Testing,” in Advances in Neural Information Processing Systems, December, 2018, 3019–3028.
9
GhoshdastidarD.GutzeitM.CarpentierA.von LuxburgU. (2017a). Two-sample Hypothesis Testing for Inhomogeneous Random Graphs. Available at: arXiv:1707.00833 (Accessed July 4, 2017).
10
GhoshdastidarD.GutzeitM.CarpentierA.von LuxburgU. (2017b). Two-sample Tests for Large Random Graphs Using Network Statistics. Available at: arXiv:1705.06168v2 (Accessed May 26, 2017).
11
GinestetC. E.FournelA. P.SimmonsA. (2014). Statistical Network Analysis for Functional Mri: Summary Networks and Group Comparisons. Front. Comput. Neurosci.8, 51. 10.3389/fncom.2014.00051
12
GinestetC. E.LiJ.BalachandranP.RosenbergS.KolaczykE. D. (2017). Hypothesis Testing for Network Data in Functional Neuroimaging. Ann. Appl. Stat.11, 725–750. 10.1214/16-aoas1015
13
GinestetC. E.NicholsT. E.BullmoreE. T.SimmonsA. (2011). Brain Network Analysis: Separating Cost from Topology Using Cost-Integration. PloS one6, e21570. 10.1371/journal.pone.0021570
14
HoeffdingW. (1992). “A Class of Statistics with Asymptotically Normal Distribution,” in Breakthroughs in Statistics (Springer), 308–334. 10.1007/978-1-4612-0919-5_20
15
HollandP. W.LaskeyK. B.LeinhardtS. (1983). Stochastic Blockmodels: First Steps. Social networks5, 109–137. 10.1016/0378-8733(83)90021-7
16
KellyA. M. C.UddinL. Q.BiswalB. B.CastellanosF. X.MilhamM. P. (2008). Competition between Functional Brain Networks Mediates Behavioral Variability. Neuroimage39, 527–537. 10.1016/j.neuroimage.2007.08.008
17
LehmannE. L.RomanoJ. P. (2006). Testing Statistical Hypotheses. Berlin, Germany: Springer Science & Business Media.
18
LeiJ., (2016). A Goodness-Of-Fit Test for Stochastic Block Models. Ann. Stat.44, 401–424. 10.1214/15-aos1370
19
MacindoeO.RichardsW. (2010). Graph Comparison Using Fine Structure Analysis, IEEE Second International Conference on Social Computing. IEEE. 10.1109/socialcom.2010.35
20
MaugisP.PriebeC. E.OlhedeS. C.WolfeP. J. (2017). Statistical Inference for Network Samples Using Subgraph Counts. Available at: arXiv:1701.00505 (Accessed January 2, 2017).
21
NewmanM. E.GirvanM. (2004). Finding and Evaluating Community Structure in Networks. Phys. Rev. E69, 026113. 10.1103/physreve.69.026113
22
NewmanM. E. J. (2006). Modularity and Community Structure in Networks. Proc. Natl. Acad. Sci.103, 8577–8582. 10.1073/pnas.0601602103
23
ParisotS.KtenaS. I.FerranteE.LeeM.MorenoR. G.GlockerB.et al (2017). “Spectral Graph Convolutions for Population-Based Disease Prediction,” in International Conference On Medical Image Computing and Computer-Assisted Intervention, QC, Canada, September 10–14, 2017 (Springer), 177–185.
24
PlittM.BarnesK. A.MartinA. (2015). Functional Connectivity Classification of Autism Identifies Highly Predictive Brain Features but Falls Short of Biomarker Standards. NeuroImage: Clin.7, 359–366. 10.1016/j.nicl.2014.12.013
25
RabanserS.GünnemannS.LiptonZ. (2019). “Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shift,” in 33rd Conference on Neural Information Processing Systems, Vancover, Canada, 1396–1408.
26
SerflingR. J. (2009). Approximation Theorems of Mathematical Statistics. Hoboken, NJ: John Wiley & Sons.
27
ShervashidzeN.VishwanathanS.PetriT.MehlhornK.BorgwardtK. (2009). “Efficient Graphlet Kernels for Large Graph Comparison,” in Artificial Intelligence and Statistics, 488–495.
28
TangM.AthreyaA.SussmanD. L.LyzinskiV.ParkY.PriebeC. E. (2017a). A Semiparametric Two-Sample Hypothesis Testing Problem for Random Graphs. J. Comput. Graphical Stat.26, 344–354. 10.1080/10618600.2016.1193505
29
TangM.AthreyaA.SussmanD. L.LyzinskiV.PriebeC. E. (2017b). A Nonparametric Two-Sample Hypothesis Testing Problem for Random Graphs. Bernoulli23, 1599–1630. 10.3150/15-bej789
Summary
Keywords
graph learning, dataset shift, safety, two-sample testing, random graph models
Citation
Song H, Thiagarajan JJ and Kailkhura B (2021) Preventing Failures by Dataset Shift Detection in Safety-Critical Graph Applications. Front. Artif. Intell. 4:589632. doi: 10.3389/frai.2021.589632
Received
31 July 2020
Accepted
26 April 2021
Published
18 May 2021
Volume
4 - 2021
Edited by
Novi Quadrianto, University of Sussex, United Kingdom
Updates
Copyright
© 2021 Song, Thiagarajan and Kailkhura.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Hoseung Song, hosong@ucdavis.edu
This article was submitted to Machine Learning and Artificial Intelligence, a section of the journal Frontiers in Artificial Intelligence
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.