G RAPH I NFORMATION B OTTLENECK FOR S UBGRAPH
R ECOGNITION
Anonymous authors
Paper under double-blind review
A BSTRACT
Given the input graph and its label/property, several key problems of graph learning, such as ﬁnding interpretable subgraphs, graph denoising and graph compression, can be attributed to the fundamental problem of recognizing a subgraph of the original one.
This subgraph shall be as informative as possible, yet contains less redundant and noisy structure.
This problem setting is closely related to the well-known information bottleneck (IB) principle, which, however, has less been studied for the irregular graph data and graph neural networks (GNNs).
In this paper, we propose a framework of Graph Information Bottleneck (GIB) for the subgraph recognition problem in deep graph learning.
Under this framework, one can recognize the maximally informative yet compressive subgraph, named IBsubgraph .
However, the GIB objective is notoriously hard to optimize, mostly due to the intractability of the mutual information of irregular graph data and the unstable optimization process.
In order to tackle these challenges, we propose: i) a GIB objective based-on a mutual information estimator for the irregular graph data; ii) a bi-level optimization scheme to maximize the GIB objective; iii) a connectivity loss to stabilize the optimization process.
We evaluate the properties of the
IB-subgraph in three application scenarios: improvement of graph classiﬁcation, graph interpretation and graph denoising.
Extensive experiments demonstrate that the information-theoretic IB-subgraph enjoys superior graph properties.
I NTRODUCTION
Classifying the underlying labels or properties of graphs is a fundamental problem in deep graph learning with applications across many ﬁelds, such as biochemistry and social network analysis.
However, real world graphs are likely to contain redundant even noisy information (Franceschi et al., 2019; Yu et al., 2019), which poses a huge negative impact for graph classiﬁcation.
This triggers an interesting problem of recognizing an informative yet compressed subgraph from the original graph.
For example, in drug discovery, when viewing molecules as graphs with atoms as nodes and chemical bonds as edges, biochemists are interested in identifying the subgraphs that mostly represent certain properties of the molecules, namely the functional groups (Jin et al., 2020b; Gilmer et al., 2017).
In graph representation learning, the predictive subgraph highlights the vital substructure for graph classiﬁcation, and provides an alternative way for yielding graph representation besides mean/sum aggregation (Kipf & Welling, 2017; Velickovic et al., 2017; Xu et al., 2019) and pooling aggregation (Ying et al., 2018; Lee et al., 2019; Bianchi et al., 2020).
In graph attack and defense, it is vital to purify a perturbed graph and mine the robust structures for classiﬁcation (Jin et al., 2020a).
Recently, the mechanism of self-attentive aggregation (Li et al., 2019) somehow discovers a vital substructure at node level with a well-selected threshold.
However, this method only identiﬁes isolated important nodes but ignores the topological information at subgraph level.
Consequently, it leads to a novel challenge as subgraph recognition: How can we recognize a compressed subgraph with minimum information loss in terms of predicting the graph labels/properties?
Recalling the above challenge, there is a similar problem setting in information theory called information bottleneck (IB) principle (Tishby et al., 1999), which aims to juice out a compressed data from the original data that keeps most predictive information of labels or properties.
Enhanced with deep learning, IB can learn informative representation from regular data in the ﬁelds of computer vision (Peng et al., 2019;
Alemi et al., 2017; Luo et al., 2019), reinforcement learning (Goyal et al.,
2019; Igl et al., 2019) and natural language precessing (Wang et al., 2020).
However, current IB methods, like VIB (Alemi et al., 2017), is still incapable for irregular graph data.
It is still challenging for IB to compress irregular graph data, like a subgraph from an original graph, with a minimum information loss.
Hence, we advance the IB principle for irregular graph data to resolve the proposed subgraph recognition problem, which leads to a novel principle, Graph Information Bottleneck (GIB).
Different from prior researches in IB that aims to learn an optimal representation of the input data in the hidden space, GIB directly reveals the vital substructure in the subgraph level.
We ﬁrst i) leverage the mutual information estimator from Deep Variational Information Bottleneck (VIB)
(Alemi et al., 2017) for irregular graph data as the GIB objective.
However, VIB is intractable to compute the mutual information without knowing the distribution forms, especially on graph data.
To tackle this issue, ii) we adopt a bi-level optimization scheme to maximize the GIB objective.
Meanwhile, the continuous relaxation that we adopt to approach the discrete selection of subgraph will lead to unstable optimization process.
To further stabilize the training process and encourage a compact subgraph, iii) we propose a novel connectivity loss to assist GIB to effectively discover the maximally informative but compressed subgraph, which is deﬁned as IB-subgraph .
By optimizing the above GIB objective and connectivity loss, one can recognize the IB-subgraph without any explicit subgraph annotation.
On the other hand, iv) GIB is model-agnostic and can be easily plugged into various Graph Neural Networks (GNNs).
We evaluate the properties of the IB-subgraph in three application scenarios: improvement of graph classiﬁcation, graph interpretation, and graph denoising.
Extensive experiments on both synthetic and real world datasets demonstrate that the information-theoretic IB-subgraph enjoys superior graph properties compared to the subgraphs found by SOTA baselines.
R ELATED W ORK
Graph Classiﬁcation.
In recent literature, there is a surge of interest in adopting graph neural networks (GNN) in graph classiﬁcation.
The core idea is to aggregate all the node information for graph representation.
A typical implementation is the mean/sum aggregation (Kipf & Welling, 2017; Xu et al., 2019), which is to average or sum up the node embeddings.
An alternative way is to leverage the hierarchical structure of graphs, which leads to the pooling aggregation (Ying et al., 2018; Zhang et al., 2018; Lee et al., 2019; Bianchi et al., 2020).
When tackling with the redundant and noisy graphs, these approaches will likely to result in sub-optimal graph representation. Recently,
InfoGraph (Sun et al., 2019) maximize the mutual information between graph representations and multi-level local representations to obtain more informative global representations.
Information Bottleneck.
Information bottleneck (IB), originally proposed for signal processing, attempts to ﬁnd a short code of the input signal but preserve maximum information of the code (Tishby et al., 1999).
(Alemi et al., 2017) ﬁrstly bridges the gap between IB and the deep learning, and proposed variational information bottleneck (VIB).
Nowadays, IB and VIB have been wildly employed in computer vision (Peng et al., 2019; Luo et al., 2019), reinforcement learning (Goyal et al., 2019; Igl et al., 2019), natural language processing (Wang et al., 2020) and speech and acoustics (Qian et al., 2020) due to the capability of learning compact and meaningful representations.
However, IB is less researched on irregular graphs due to the intractability of mutual information.
Subgraph Discovery.
Traditional subgraph discovery includes dense subgraph discovery and frequent subgraph mining.
Dense subgraph discovery aims to ﬁnd the subgraph with the highest density (e.g. the number of edges over the number of nodes (Fang et al., 2019; Gionis & Tsourakakis, 2015)).
Frequent subgraph mining is to look for the most common substructure among graphs (Yan & Yan, 2002; Ketkar et al., 2005; Zaki, 2005).
Recently, researchers discover the vital substructure at node level via the attention mechanism (Velickovic et al., 2017; Lee et al., 2019; Knyazev et al., 2019).
Ying et al.
(2019) further identiﬁes the important computational graph for node classiﬁcation.
Alsentzer et al.
(2020) discovers subgraph representations with speciﬁc topology given subgraph-level annotation.
N OTATIONS AND P RELIMINARIES
Let { ( G 1 , Y 1 ) , . . .
, ( G N , Y N ) } be a set of N graphs with their real value properties or categories, where G n refers to the n -th graph and Y n refers to the corresponding properties or labels.
We denote by G n =
( V , E , A , X ) the n -th graph of size M n with node set V =
{ V i | i = 1 , . . .
, M n } , edge set E = { ( V i , V j ) | i > j ; V i , V j is connected } , adjacent matrix A ∈ { 0 , 1 } M n × M n , and feature matrix X ∈ R M n × d of V with d dimensions, respectively.
Denote the neighborhood of V i as
N ( V i ) =
{ V j | ( V i , V j ) ∈ E } .
We use G sub as a speciﬁc subgraph and G sub as the complementary structure of G sub in G .
Let f : G
→ R / [0 , 1 , · · · , n ] be the mapping from graphs to the real value property or category, Y , G is the domain of the input graphs.
I ( X , Y ) refers to the Shannon mutual information of two random variables.
3. G RAPH CONVOLUTIONAL NETWORK
Graph convolutional network (GCN) is widely adopted to graph classiﬁcation.
Given a graph G =
( V , E ) with node feature X and adjacent matrix A , GCN outputs the node embeddings X (cid:48)
from the following process:
[Equation]
where D refers to the diagonal matrix with nodes’ degrees and W refers to the model parameters.
One can simply sum up the node embeddings to get a ﬁxed length graph embeddings (Xu et al., 2019).
Recently, researchers attempt to exploit hierarchical structure of graphs, which leads to various graph pooling methods (Li et al., 2019; Gao & Ji, 2019; Lee et al., 2019; Diehl, 2019; Zhang et al., 2018;
Ranjan et al., 2020;
Ying et al., 2018).
Li et al.
(2019) enhances the graph pooling with self-attention mechanism to leverage the importance of different nodes contributing to the results.
Finally, the graph embedding is obtained by multiplying the node embeddings with the normalized attention scores:
[Equation]
where Φ 1 and Φ 2 refers to the model parameters of self-attention.
3. O PTIMIZING I NFORMATION BOTTLENECK OBJECTIVE
Given the input signal X and the label Y , the objective of IB is maximized to ﬁnd the the internal code Z : max Z I ( Z, Y ) − βI ( X, Z ) , where β refers to a hyper-parameter trading off informativeness and compression.
Optimizing this objective will lead to a compact but informative Z .
Alemi et al.
(2017) optimize a tractable lower bound of the IB objective:
[Equation]
where q φ ( y i | z ) is the variational approximation to p φ ( y i | z ) and r ( z ) is the prior distribution of
Z .
However, it is hard to estimate the mutual information in high dimensional space when the distribution forms are inaccessible, especially for irregular graph data.
O PTIMIZING THE G RAPH I NFORMATION B OTTLENECK O BJECTIVE FOR S UBGRAPH R ECOGNITION
In this section, we will elaborate the proposed method in details.
We ﬁrst formally deﬁne the graph information bottleneck and IB-subgraph.
Then, we introduce a novel framework for GIB to effectively ﬁnd the IB-subgraph.
We further propose a bi-level optimization scheme and a graph mutual information estimator for GIB optimization.
Moreover, we do a continuous relaxation to the generation of subgraph, and propose a novel loss to stabilize the training process.
4. GRAPH INFORMATION BOTTLENECK
We generalize the information bottleneck principle to learn an informative representation of irregular graphs, which leads to the graph information bottleneck (GIB) principle.
Deﬁnition 4.1 (Graph Information Bottleneck) .
Given a graph G and its label Y , the GIB seeks for the most informative yet compressed representation Z by optimizing the following objective:
[Equation]
where I c is the information constraint between G and Z .
By introducing a Lagrange multiplier β to
Eq. 4, we reach its unconstrained form:
[Equation]
Eq.
5 gives a general formulation of GIB.
Here, in subgraph recognition, we focus on a subgraph which is compressed with minimum information loss in terms of graph properties.
Deﬁnition 4.2 (IB-subgraph) .
For a graph G , its maximally informative yet compressed subgraph, namely IB-subgraph can be obtained by optimizing the following objective:
[Equation]
where G sub indicates the set of all subgraphs of G .
IB-subgraph enjoys various pleasant properties and can be applied to multiple graph learning tasks such as improvement of graph classiﬁcation, graph interpretation, and graph denoising.
However, the GIB objective in Eq.
6 is notoriously hard to optimize due to the intractability of mutual information and the discrete nature of irregular graph data.
We then introduce approaches on how to optimize such objective and derive the IB-subgraph.
4. B I - LEVEL OPTIMIZATION FOR THE GIB OBJECTIVE
The GIB objective in Eq.
6 consists of two parts.
We examine the ﬁrst term
I
( Y, G sub ) in Eq.
6, ﬁrst.
This term measures the relevance between G sub and Y .
We expand I
( Y, G sub ) as:
[Equation]
H ( Y ) is the entropy of Y and thus can be ignored.
In practice, we approximate p ( y, G sub ) with an empirical distribution p ( y, G sub )
≈ 1 N (cid:80)
Ni [-=
-]=1 δ y
( y i )
δ G sub ( G sub i ) , where δ () is the Dirichlet function to sample training data. G sub i and y i are the output subgraph and graph label corresponding to i-th training data.
By substituting the true posterior p ( y |G sub ) with a variational approximation q φ 1 ( y |G sub ) , we obtain a tractable lower bound of the ﬁrst term in Eq. 6:
[Equation]
where y gt is the ground truth label of the graph.
Eq. 8 indicates that maximizing I ( Y, G sub ) is achieved by the minimization of the classiﬁcation loss between Y and G sub as L cls .
Intuitively, minimizing L cls encourages the subgraph to be predictive of the graph label.
In practice, we choose the cross entropy loss for categorical Y and the mean squared loss for continuous Y , respectively.
For more details of deriving Eq.
7 and Eq. 8, please refer to Appendix A.1.
Then, we consider the minimization of I ( G , G sub ) which is the second term of Eq. 6.
Remind that
Alemi et al.
(2017) introduces a tractable prior distribution r ( Z ) in Eq.
3, and thus results in a variational upper bound.
However, this setting is troublesome as it is hard to ﬁnd a reasonable prior distribution for p ( G sub ) , which is the distribution of graph substructures instead of latent representation.
Thus we go for another route.
Directly applying the DONSKER-VARADHAN representation (Donsker & Varadhan, 1983) of the KL-divergence, we have:
[Equation]
where f φ 2 is the statistics network that maps from the graph set to the set of real numbers.
In order to approximate I ( G , G sub ) using Eq.
9, we design a statistics network based on modern GNN architectures as shown by Figure 1: ﬁrst we use a GNN to extract embeddings from both G and
G sub (parameter shared with the subgraph generator, which will be elaborated in Section 4.3), then concatenate G and G sub embeddings and feed them into a MLP, which ﬁnally produces the real number.
In conjunction with the sampling method to approximate p ( G , G sub ) , p ( G ) and p ( G sub ) , we reach the following optimization problem to approximate 1 I ( G , G sub ) :
[Equation]
With the approximation to the MI in graph data, we combine Eq. 6 , Eq. 8 and Eq.
and formulate the optimization process of GIB as a tractable bi-level optimization problem:
[Equation]
We ﬁrst derive a sub-optimal φ 2 notated as φ ∗ 2 by optimizing Eq.
12 for T steps as inner loops.
After the T-step optimization of the inner-loop ends, Eq. 10 is a proxy for MI minimization for the GIB objective as an outer loop.
Then, the parameter φ 1 and the subgraph G sub are optimized to yield
IB-subgraph.
However, in the outer loop, the discrete nature of G and G sub hinders applying the gradient-based method to optimize the bi-level objective and ﬁnd the IB-subgraph.
4. T HE S UBGRAPH G ENERATOR AND CONNECTIVITY LOSS
To alleviate the discreteness in Eq.
11, we propose the continuous relaxation to the subgraph recognition and propose a loss to stabilize the training process.
Subgraph generator: For the input graph G , we generate its IB-subgraph with the node assignment
S which indicates the node is in G sub or G sub .
Then, we introduce a continuous relaxation to the [Table] [Table] node assignment with the probability of nodes belonging to the G sub or G sub .
For example, the i -th row of S is a 2-dimensional vector [ p ( V i ∈ G sub | V i ) , p ( V i ∈ G sub | V i ) ] .
We ﬁrst use an l -layer GNN to obtain the node embedding and employ a multi-layer perceptron (MLP) to output S : X l = GNN( A , X l − 1 ; θ 1 ) , S = Softmax (MLP
[Equation]
S is a n × 2 matrix, where n is the number of nodes.
We add row-wise Softmax to the output of
MLP to ensure the nodes are either in or out of the subgraph.
For simplicity, we compile the above modules as the subgraph generator, denoted as g (; θ ) with θ :=
( θ 1 , θ 2 ) .
When S is well-learned, the assignment of nodes is supposed to saturate to 0/1.
The representation of G sub , which is employed for predicting the graph label, can be obtained by taking the ﬁrst row of S T X l .
Connectivity loss: However, poor initialization will cause p ( V i ∈ G sub | V i ) and p ( V i ∈ G sub | V i ) to be close.
This will either lead the model to assign all nodes to G sub / G sub , or result that the representations of G sub contain much information from the redundant nodes.
These two scenarios will cause the training process to be unstable.
On the other hand, we suppose our model to have an inductive bias to better leverage the topological information while S outputs the subgraph at a node-level.
Therefore, we propose the following connectivity loss:
[Equation]
[Equation]
where Norm( · ) is the row-wise normalization, ||·|| F is the Frobenius norm, and I 2 is a 2 × 2 identity matrix.
L con not only leads to distinguishable node assignment, but also encourage the subgraph to be compact.
Take ( S T AS ) 1: for example, denote a 11 , a 12 the element 1,1 and the element 1,2 of
S T AS ,
[Equation]
[Equation] Minimizing L con results in a 11 a 11 + a 12 → 1 .
This occurs if V i is in G sub , the elements of N ( V i ) have a high probability in G sub .
Minimizing L con also encourages a 12 a 11 + a 12 → 0 . This encourages
[Table]
p ( V i ∈ G sub | V i )
→ 0 / 1 and less cuts between G sub G sub .
This also holds G
In a word, L con encourages distinctive S to stabilize the training process and a compact topology in the subgraph.
Therefore, the overall loss is:
[Equation]
We provide the pseudo code in the Appendix to better illustrate how to optimize the above objective.
E XPERIMENTS
In this section, we evaluate the proposed GIB method on three scenarios, including improvement of graph classiﬁcation, graph interpretation and graph denoising.
5. B ASELINES AND SETTINGS
Improvement of graph classiﬁcation: For improvement of graph classiﬁcation, GIB generates graph representation by aggregating the subgraph information.
We plug GIB into various backbones including GCN (Kipf & Welling, 2017), GAT (Velickovic et al., 2017),
GIN (Xu et al., 2019) and
GraphSAGE (Hamilton et al., 2017).
We compare the proposed method with the mean/sum aggregation (Kipf & Welling, 2017; Velickovic et al., 2017; Hamilton et al., 2017; Xu et al., 2019) and pooling aggregation (Zhang et al., 2018; Ranjan et al., 2020; Ying et al., 2018; Diehl, 2019) in terms of classiﬁcation accuracy. Moreover, we apply DropEdge (Rong et al., 2020) to GAT, namely
GAT+DropEdge, which randomly drop 30% edges in message-passing at node-level.
Similarly, we apply GIB to GAT+DropEdge, resulting in GAT+GIB+DropEdge.
For fare comparisions, all the backbones for different methods consist of the same 2-layer GNN with 16 hidden-size.
Graph interpretation: The goal of graph interpretation is to ﬁnd the substructure which shares the most similar property to the molecule.
If the substructure is disconnected, we evaluate its largest connected part.
We compare GIB with the attention mechanism (Li et al., 2019).
That is, we attentively aggregate the node information for graph prediction.
The interpretable subgraph is generated by choosing the nodes with top 50% and 70% attention scores, namely Att05 and Att07.
GIB outputs the interpretation with the IB-subgraph.
Then, we evaluate the absolute property bias (the absolute value of the difference between the property of graph and subgraph) between the graph and its interpretation.
Similarly, for fare comparisons, all the backbones for different methods consist of the same 2-layer GNN with 16 hidden-size.
Graph denoising: We translate the permuted graph into the line-graph and use GIB and attention to 1) infer the real structure of graph, 2) classify the permuted graph via the inferred structure.
We further compare the performance of GCN and DiffPool on the permuted graphs.
5. DATASETS
Improvement of graph classiﬁcation: We evaluate different methods on the datasets of MUTAG (Rupp et al., 2012), PROETINS (Borgwardt et al., 2005), IMDB-BINARY and DD (Rossi &
Ahmed, 2015) datasets.
The statistics of the datasets are available in Table 8 of Appendix [Table] Graph interpretation: We construct the datasets for graph interpretation on four molecule properties based on ZINC dataset, which contains 250K molecules.
QED measures the drug likeness of a molecule, which is bounded within the range (0 , 1 . 0) .
DRD2 measures the probability that a molecule is active against dopamine type 2 receptor, which is bounded with (0 , 1 . 0) .
HLM-CLint and MLM-CLint are estimated values of in vitro human and mouse liver microsome metabolic stability (base 10 logrithm of mL/min/g).
We sample the molecules with QED ≥ 0 . 85 , DRD2 ≥ 0 .
HLM-CLint ≥ 2 , MLM-CLint ≥ 2 for each task.
We use 85% of these molecules for training, 5% for validating and 10% for testing.
The statistics of the datasets are available in Table 9 of Appendix. Graph denoising: We generate a synthetic dataset by adding 30% redundant edges for each graph in MUTAG dataset.
We use 70% of these graphs for training, 5% for validating and 25% for testing.
5. R ESULTS
Improvement of Graph Classiﬁcation: In Table 1, we comprehensively evaluate the proposed method and baselines on improvement of graph classiﬁcation.
We train GIB on various backbones and aggregate the graph representations only from the subgraphs.
We compare the performance of our framework with the mean/sum aggregation and pooling aggregation.
This shows that GIB improves the graph classiﬁcation by reducing the redundancies in the graph structure.
[Table]
Graph interpretation: Table 2 shows the quantitative performance of different methods on the graph interpretation task.
GIB is able to generate precise graph interpretation (IBsubgraph), as the substructures found by GIB has the most similar property to the input molecules.
In Fig.
2, GIB generates more compact and reasonable interpretation to the property of molecules conﬁrmed by chemical experts.
More results are provided in the Appendix. In
Table 5, we compare the average number of disconnected substructures per graph since a compact subgraph should preserve more topological information.
GIB generates more compact subgraphs to better interpret the graph property.
Moreover, compared to the baselines, GIB does not require a hyper-parameter to control the sizes of subgraphs, thus being more adaptive to different tasks.
Please refer to Table.
10 and Table.
11 of Appendix for details.
The training dynamic is shown in Fig. We provide results with other MI estimators in Table. 12 in Appendix.
[Table]
[Table]
Graph denoising: Table 4 shows the performance of different methods on noisy graph classiﬁcation.
GIB outperforms the baselines on classiﬁcation accuracy by a large margin due to the superior property of IB-subgraph.
Moreover, GIB is able to better reveal the real structure of permuted graphs in terms of precision and recall rate of true edges. 5. A BLATION STUDY To further understand the rolls of L con and L MI [Table]
we derive two variants of our method by deleting
L con and L MI , namely GIB w/o L con and GIB w/o L MI .
Note that GIB w/o L MI is similar to InfoGraph (Sun et al., 2019) and GNNExplainer (Ying et al., 2019), as they only consider to maximize MI between latent embedding and global summarization and ignore compression. When adapted to sub graph recognition, it is likely to be G =Gsub.
We evaluate the variants with 2-layer
GCN and 16 hidden size on graph interpretation.
In practice, we ﬁnd that the training process of
GIB w/o L con is unstable as discussed in Section 4.3.
Moreover, we ﬁnd that GIB w/o L MI is very likely to output G sub =
G , as it does not consider compression.
Therefore, we try several initiations for GIB w/o L con and L MI to get the current results.
As shown in Table.
3, GIB also outperforms the variants, and thus indicates that every part of our model does contribute to the improvement of performance.
5. M ORE DISCUSSION ON L con AND INITIALIZATION
L con is proposed for stabilizing the training process and resulting in compact subgraphs.
As it poses regularization for the subgraph generation, we are interested in its potential inﬂuence on the sizes of the chosen IB-Subgraphs.
Therefore, we show the inﬂuence of different hyper-parameters of L con to the sizes of the chosen IB-Subgraphs.
We implement the experiments with α varies in { 1 , 3 , 5 , 10 } on QED dataset and compute the mean and deviation of the sizes of IB-Subgraphs (All) and their largest connected parts (Max).
As shown in Table.
6, we observe that different α result in similar sizes of IB-Subgraphs.
Therefore, its inﬂuence on the size of chosen subgraphs is weak.
As the initialization of our model may potentially inﬂuence the ﬁnal chosen subgraphs, we rerun our model ﬁve times on the QED dataset for graph interpretation task.
Then, we employ the intersection over union ( IoU ) to measure the overlap between the subgraphs in 5 different runs and the results reported in Table.
Similarly, we compute the IoU between the chosen subgraphs and their largest connected parts separately, which refer to IoU all and IoU max .
We ﬁnally report the mean and standard deviation of IoU all , IoU max on the testing set in Table.
We notice that different initialization has limited inﬂuence on the chosen subgraphs, as all the results of ﬁve additional runs have high portions of common nodes with the initial run.
C ONCLUSION
In this paper, we have studied a subgraph recognition problem to infer a maximally informative yet compressed subgraph.
We deﬁne such a subgraph as IB-subgraph and propose the graph information bottleneck (GIB) framework for effectively discovering an IB-subgraph.
We derive the
GIB objective from a mutual information estimator for irregular graph data, which is optimized by a bi-level learning scheme.
A connectivity loss is further used to stabilize the learning process.
We evaluate our GIB framework in the improvement of graph classiﬁcation, graph interpretation and graph denoising.
Experimental results verify the superior properties of IB-subgraphs.
A A PPENDIX A. M ORE DETAILS ABOUT E Q . 7 AND E Q .
Here we provide more details about how to yield Eq.
7 and Eq. 8.
[Equation]
A. CASE STUDY
To understand the bi-level objective to MI minimization in Eq.
[Equation]
we provide a case study in which we optimize the parameters of distribution to reduce the mutual information between two variables
[Equation]
Consider p ( x ) = sign ( N (0 , 1)) , p ( y | x ) =
N ( y ; x, σ 2 ) 3 .
The distribution of Y is:
[Equation]
We optimize the parameter σ 2 to reduce the mutual information between X and Y .
For each epoch, we sample 20000 data points from each distribution, denoted as X
= { x 1 , x 2 , · · · , x 20000 } , Y = { y 1 , y 2 , · · · , y 20000 } .
The inner-step is set to be 150.
After the inner optimization ends, the model yields a good mutual information approximator and optimize σ 2 to reduce the mutual information by minimizing L MI .
We compute the mutual information with the traditional method and compare it with L MI :
[Equation]
As is shown in Fig .9, the mutual information decreases as L MI descends.
The advantage of such bi-level objective to MI minimization in Eq.
11 is that it only requires samples instead of forms of distribution.
Moreover, it needs no tractable prior distribution for variational approximation.
The drawback is that it needs additional computation in the inner loop. A. A LGORITHM
The algorithm is shown as following: 1: function θ θ , φ 1 ← φ3: for 0 →
4: φ 2 ← φ5: for t
0 → T do 6: φ
← φ t 2 + η 1 ∇ φ t 2 L MI 7:
8: θ
+1 ← θ i − η 2 ∇ θ i L ( θ i φ i 1 , φ T 2 ) 9:
← φ
1 − η 2 ∇ φ i 1 L θ i φ i φ
G sub ←
12: return sub 13: function
A. M ORE RESULTS ON GRAPH INTERPRETATION
In Fig.
4, we show the distribution of absolute bias between the property of graphs and subgraphs.
GIB is able to generate such subgraphs with more similar properties to the original graphs.
In Fig.
5, we provide more results of four properties on graph interpretation.
A. M ORE RESULTS ON NOISY GRAPH CLASSIFICATION
We provide qualitative results on noisy graph classiﬁcation in Fig.
A. D ETAILS OF D ATASETS
We provide the statistics of datasets in experiments.
For graph classiﬁcation, we evaluate the proposed method on four datasets, including MUTAG, PROTEINS, IMDB-BINARY and DD.
The statistics of these datasets are shown in Table.
For graph interpretation, we preprocess the
ZINC dataset and obtain four datasets, namely QED, DRD2, HLM-CLint and MLM-CLint.
The details of these datasets are shown in Table.
The synthetic dataset for graph denoising is basically generated from MUTAG dataset, please refer to Section 5.2 for details.
[Table]
A. S IZES OF THE CHOSEN SUBGRAPHS IN GRAPH INTERPRETATION
In the graph interpretation task
[Table]
the hyper-parameter of L con , α , is set to be 5 on four datasets.
We show the mean and standard deviation of the sizes of subgraphs in percent in Table.
10 and Table.
Note that the sizes of chosen subgraphs mainly depend on task relevant information.
For example, as DRD2 measures the probability of being active against dopamine type 2 receptor, it depends on almost the whole structure of a molecule.
In contrast, HLM-CLint measures vitro human microsome metabolic stability, which is greatly inﬂuenced by small motifs.
As shown in Table.
10 and
Table.
11, GCN+GIB can recognize the subgraphs with adaptive sizes on different tasks, leading to better performance.
However, in GCN+Att05 and GCN+Att07, the size of subgraphs is explicitly controlled by the hyper-parameter (preserve top 50% or 70 % nodes with the highest attention scores).
Therefore, the performances of these methods are limited.
[Table]
A. T HE TRAINING DYNAMIC
We show the loss in the training process in Figure.
. A. I MPLEMENTATION WITH OTHER MUTUAL INFORMATION ESTIMATORS
As shown in (Sun et al., 2019; Nowozin et al., 2016), the f-divergence family can also approximate the mutual information.
Here we provide the results of GCN+GIB with Jensen-Shannon Divergence (JSD) and χ 2 Divergence ( χ 2 ) on graph classiﬁcation in Table.
Experiment results show that our model can also employ other mutual information estimators for bilevel optimization.
[Table]
[Table]
[Table]