L EARNING H IERARCHICAL P ROTEIN R EPRESENTATIONS VIA C OMPLETE 3D G RAPH N ETWORKS
A
[Table]
We consider representation learning for proteins with 3D structures.
We build 3D graphs based on protein structures and develop graph networks to learn their representations.
Depending on the levels of details that we wish to capture, protein representations can be computed at different levels, e g. , the amino acid, backbone, or all-atom levels.
Importantly, there exist hierarchical relations among different levels.
In this work, we propose to develop a novel hierarchical graph network, known as ProNet, to capture the relations.
Our ProNet is very flexible and can be used to compute protein representations at different levels of granularity.
By treating each amino acid as a node in graph modeling as well as harnessing the inherent hierarchies, our ProNet is more effective and efficient than existing methods.
We also show that, given a base 3D graph network that is complete, our ProNet representations are also complete at all levels.
Experimental results show that ProNet outperforms recent methods on most datasets.
In addition, results indicate that different downstream tasks may require representations at different levels.
Our code is publicly available as part of the DIG library ( https://github.com/divelab/DIG ).
I NTRODUCTION
Proteins consist of one or more amino acid chains and perform various functions by folding into 3D conformations.
Learning representations of proteins with 3D structures is crucial for a wide range of tasks (Cao et al., 2021; Strokach et al., 2020;
Wu et al., 2021; Yang et al., 2019; Ganea et al., 2022; Stärk et al., 2022; Morehead et al., 2022a;b; Liu et al., 2020).
In machine learning, molecules, proteins, etc. are usually modeled as graphs (Klicpera et al., 2020; Liu et al., 2022; Fout et al., 2017;
Jumper et al., 2021; Gao et al., 2021; Gao & Ji, 2019; Yan et al., 2022; Wang et al., 2022b; Yu et al., 2022; Xie et al., 2022a;b; Gui et al., 2022).
With the advances of deep learning, 3D graph neural networks (GNNs) have been developed to learn from 3D graph data (Klicpera et al., 2020;
Jumper et al., 2021; Xie & Grossman, 2018;
Liu et al., 2021; Joshi et al., 2023).
In this work, we build 3D graphs based on protein structures and develop 3D GNNs to learn protein representations.
Depending on the levels of granularity we wish to capture, we construct protein graphs at different levels, including the amino acid, backbone, and all-atom levels, as shown in Fig.
Specifically, each node in constructed graphs represents an amino acid, and each amino acid possesses internal structures at different levels.
Importantly, there exist hierarchical relations among different levels.
Existing methods for protein representation learning either ignore hierarchical relations within proteins (Jing et al., 2021b; Zhang et al., 2023), or suffer from excessive computational complexity (Jing et al., 2021a; Hermosilla et al., 2021) as shown in Table 1.
In this work, we propose a novel hierarchical graph network, known as ProNet, to learn protein representations at different levels.
Our ProNet effectively captures the hierarchical relations naturally present in proteins.
By constructing representations at different levels, our ProNet effectively integrates the inherent hierarchical relations of proteins, resulting in a more rational protein learning scheme.
Building on a novel hierarchical fashion, our method can achieve great efficiency, even at the most complex [Figure] all-atom level.
In addition, completeness at all levels enable models to generate informative and discriminative representations.
Practically, ProNet possesses great flexibility for different data and downstream tasks.
Users can easily choose the level of granularity at which the model should operate based on their data and tasks.
We conduct experiments on multiple downstream tasks, including protein fold and function prediction, protein-ligand binding affinity prediction, and protein-protein interaction prediction.
Results show that ProNet outperforms recent methods on most datasets.
We also show that different data and tasks may require representations at different levels.
B ACKGROUND
Representation learning of small molecules with 3D structures has been studied recently (Schütt et al., 2017; Klicpera et al., 2020;
Liu et al., 2022; Klicpera et al., 2021; Wang et al., 2022a), and existing methods can fully determine 3D structures of molecules (Wang et al., 2022a).
However, representation learning of proteins with 3D structures is still challenging due to the large number of atoms and special hierarchies that naturally present in protein structures.
Existing methods for protein representation learning either ignore hierarchical relations within proteins, or suffer from excessive computational complexity, as explained in Table 1.
Detailed related work is listed in Sec. 5.
In this section, we first introduce hierarchical structures of proteins in Sec. 2.1, which inspires us to design hierarchical representations of proteins in Sec. 3.
We then introduce existing complete 3D graph networks in Sec. 2.2, which can be used to capture protein structures completely.
H IERARCHICAL P ROTEIN S TRUCTURES
Proteins are macromolecules consisting of one or more chains of amino acids.
Each chain may contain up to hundreds or even thousands of amino acids.
An amino acid consists of an amino (-NH 2 ) group, a carboxyl (-COOH) group, and a side chain that is unique to each amino acid.
The functional groups are all attached to the alpha carbon ( C α ) atom.
The C α atoms, together with the corresponding amino group and carboxyl group, form the backbone of a protein.
As shown in Fig.
1, we can use
C α coordinates, backbone atom coordinates, or all-atom coordinates to represent protein structures, leading to three levels of representations.
Note that protein structures are traditionally organized into primary, secondary, tertiary, and quaternary levels [Table] and our categorization of levels is different.
Next, we can use complete 3D graph networks to fully capture protein structures at three levels
[Table] [Table]
[Table]
2. C OMPLETE 3D G RAPH N ETWORKS
3D Graphs.
Many real-world data can be modeled as 3D graphs.
A 3D graph can be represented as
G =
( V , E , P ) .
Here, V = { v i } i =1 ,...,n is the set of node features, where each v i ∈
R
d v denotes the feature vector for node i .
E = { e ij } i,j =1 ,...,n is the set of edge features, where e ij ∈ R d e denotes the edge feature vector for edge ij .
P =
{ P i } i =1 ,...,n is the set of position matrices, where P i ∈
R k i ×denotes the position matrix for node i .
k i can be different for different applications.
For example, if we treat each atom in a molecule as a node, then k i = 1 for each node i .
For a protein, if we treat each amino acid as a node, then k i is the number of atoms in amino acid i .
In our method, we represent proteins as 3D graphs and learn hierarchical representations of proteins in Sec. 3.
Complete Geometric Representations.
As defined in ComENet (Wang et al., 2022a), a geometric transformation F ( · ) is complete if for two 3D graphs G 1 =
( V , E , P 1 ) and G 2 =
( V , E , P 2 ) , the geometric representations F ( G 1 ) =
F ( G 2 )
⇐⇒ ∃ R ∈ SE (3) , for i = 1 , . .
. , n, P 1 i
= R ( P 2 i ) .
Here SE(3) is the Special Euclidean group that includes all rotations and translations in 3D. Based on the definition, ComENet proposes a complete representation for small molecules with torsion angles and spherical coordinates.
Complete Message Passing Scheme.
By incorporating complete geometric representations to the commonly-used message passing framework (Gilmer et al., 2017), we achieve a complete message passing scheme as
[Equation]
(1) where N i denotes the set of node i ’s neighbors, and UPDATE and MASSAGE functions are usually implemented by neural networks or mathematical operations.
H IERARCHICAL R EPRESENTATIONS OF P ROTEIN S TRUCTURES
Notations.
To learn representations of proteins with 3D structures, we first model a protein as a 3D graph G =
( V , E , P ) as introduced in Sec.
Specifically, we treat each amino acid as a node and define edges between nodes using a cutoff radius.
That is, if the distance between two nodes is less than a predefined radius, there is an edge between these two nodes.
For a node i , the node feature v
i is the one-hot embedding of the amino acid type.
For an edge ij , the edge feature e ij is an embedding of the sequential distance j − i , following existing studies (Ingraham et al., 2019; Zhang et al., 2023).
In addition, the position matrix P i for a node i includes the coordinates of all atoms in the amino acid if available.
Note that the rows in P i are given in a fixed atom order.
For example, for the amino acid alanine, the atom order in the position matrix is N , C α , C , O , and C β .
Considering the hierarchical structures of amino acids and proteins as introduced in Sec.
2.1, we propose to learn protein representations at different levels, including the amino acid, backbone, and all-atom levels, as shown in Fig.
In addition, we aim to capture protein structures completely at each level.
Therefore, for levels from top to bottom in Fig. 1, we design complete geometric representations as F ( G ) base , F ( G ) bb , and F ( G ) all , respectively.
By incorporating the designed complete geometric representations into Eq. 1, we can fully capture protein structures at all levels.
3. A MINO A CID L EVEL R EPRESENTATIONS
At the amino acid level, we treat each amino acid as a node and use C α coordinates as the position of the node.
This leads to the most coarse-grained representation of the protein.
By ignoring the detailed inner structures like the backbone and side chain of amino acids, methods designed for small molecules can be applied directly to learn amino acid level representations of proteins.
To achieve complete representations, we design the geometric representation F ( G ) base at the amino acid level as { ( d ji , θ ji , ϕ ji , τ ji ) } i =1 ,...,n, j ∈N i following ComENet (Wang et al., 2022a).
Here ( d ji , θ ji , ϕ ji ) is the spherical coordinate of node j in the local coordinate system of node i to determine the relative position of j , and τ ji is the rotation angle of edge ji to capture the remaining degree of freedom.
ComENet is used to obtain complete representations at the amino acid level in our study.
However, our method is significantly different from ComENet .
Firstly and most importantly, we study protein representation learning based on the unique structural properties of proteins.
As a result, we
NN
C α C α
CC t i t i
y i
y
i
z
i z i x i x i (a) x i x i
y
i
y
i
z i z i x j x j
y j y j z j z j nn τ 1 ij τ 1 ij τ 2 ij τ 2 ij τ 3 ij τ 3 ij (b) ω
i
ω
1 i ω 2 i ω
2 i ω
3 i ω
i
A m i n o A c i d ii
Amino Acid jj [Figure] design a hierarchical protein learning framework, which can incorporate the inherent hierarchies in protein structures and can largely advance protein representation learning.
ComENet is designed for small molecules whose structures are less complicated than protein structures.
Secondly, we seek to obtain complete representations at each hierarchical level, and ComENet can only be applied to learn complete representations at the amino acid level.
Given F ( G ) base at the amino acid level, we further design F ( G ) bb and F ( G ) all based on the unique structural properties of proteins to learn complete representations at all levels.
Thirdly and technically, even at the amino acid level, we use a different strategy to define the local coordinate system (LCS) for each amino acid, not directly analogizing amino acids in our methods to atoms in ComENet.
The LCS is used to compute ( d ji , θ ji , ϕ ji , τ ji ) for each edge ji .
Our strategy is also developed based on protein structures.
Specifically, we define the
LCS for node i based on nodes i −
and i + 1 following existing protein learning studies (Ingraham et al., 2019).
ComENet defines it based on i -th nearest neighbor f i and second nearest neighbor s i , which requires extra computation to sort the neighbors and find the nearest two.
Therefore, our method can reduce the computation of ComENet and is more efficient.
3. B ACKBONE L EVEL R EPRESENTATIONS WITH E ULER A NGLES
Building on the proposed amino acid level representation, we further consider all backbone atoms for each amino acid to derive finer-grained protein representations.
Since we can fully capture C α coordinates via the complete geometric representation F ( G ) base at the amino acid level, the remaining degree of freedom at the backbone level is the rotation between two backbone planes.
This is because, with such rotation, we can easily determine the coordinates of other backbone atoms besides C α atoms based on rigid bond lengths and bond angles (Jumper et al., 2021).
Therefore, we propose to use Euler angles to capture such rotation.
Specifically, we first define the local coordinate system for an amino acid i as y i =
r N i − r C α i , t i =
r C i − r C α
i , z i =
t i × y i , and x i =
y
i × z
i , as shown in Fig.
2(a).
We then compute three Euler angles τ 1 ij , τ 2 ij , and τ 3 ij between two backbone coordinate systems as shown in Fig. 2(b).
Here, n = z i × z j is the intersection of two local system, τ 1 ij is the signed angle between n and x i , τ 2 ij is the angle between z i and z j , and τ 3 ij is the angle from n to x j .
By considering these three Euler angles, the orientation between any two backbone planes can be determined, thereby fully capturing backbone structures of proteins.
Thus, the complete geometric representation at this level is F ( G ) bb = F ( G ) base ∪ { ( τ 1 ji , τ 2 ji , τ 3 ji ) } i =1 ,...,n, j ∈N i .
Advantages of using Euler angles.
Most existing approaches directly integrate backbone information into amino acid features.
Specifically, they compute three backbone dihedral angles ω 1 i , ω 2 i , and ω
3 i (Ingraham et al., 2019; Jing et al., 2021a; Li et al., 2022) for each amino acid i based on N i , C α i ,
C i , and N i +1 atoms as shown in Fig. 2(c).
Then the sin and cos values for the three angles are part of the node features of amino acid i .
For any two amino acids i and j , if we safely assume j > i , the relative rotation of these two backbone triangles is determined by all the amino acids between i and j along the protein chain.
Thus, the relative rotation is determined by all the ( j − i + 1) ×bond rotation angles { ω 1 k , ω 2 k , ω 3 k } k
= i,...
,j , as shown in Fig. 2(c).
However, our proposed backbone level method can determine the relative rotation for any two amino acids i and j by only three Euler angles τ 1 ji , τ 2 ji , and τ 3 ji , regardless of the sequential distance j − i along the protein chain.
Hence, our method can significantly improve the efficiency of representation learning at this level.
3. A LL -A TOM L EVEL R EPRESENTATIONS WITH S IDE C HAIN T ORSION A NGLES
To obtain the most fine-grained representations of proteins, we consider all atoms in each amino acid.
As introduced in Sec. 2.1, an amino acid consists of backbone atoms and side chain atoms.
Therefore, building on our backbone level representation, we further incorporate side chain information, leading to the all-atom level representation as shown in Fig.
We assume all bond lengths and bond angles in each amino acid are fully rigid (Jumper et al., 2021), then the degree of freedom we need to consider is torsion angles in side chains (Jumper et al., 2021).
There are at most five torsion angles for any amino acid.
For example, as shown in Fig. 5 in Appendix A, the alanine has zero side chain torsion angle, the cysteine has only one, and the leucine has two.
Note that only the amino acid arginine has five side chain torsion angles, and the fifth angle is close to 0.
Therefore, we only consider the first four torsion angles for efficiency, denoted as χ 1 , χ 2 , χ 3 , χ 4 .
We list the atoms used to compute side chain torsion angles for each amino acid in Table 7 in Appendix A. With such side chain torsion angles, we can determine the side chain structure for each amino acid.
Based on the backbone level representation, the geometric representation at this level is F ( G ) all = F ( G ) bb ∪ { ( χ 1 i , χ 2 i , χ 3 i , χ 4 i ) } i =1 ,...,n .
Note that although side chain torsion angles are important properties of protein structures, it is only used in recent studies (Jumper et al., 2021) for all-atom coordinates prediction, and none of the existing protein representation learning methods use it to capture protein structure information.
Here we incorporate it for protein representation learning, leading to our all-atom level representation.
[Figure]
Differences with existing all-atom level methods.
Several existing studies also consider all-atom information of proteins (Hermosilla et al., 2021;
Jing et al., 2021a), but our method is significantly different and possesses unique advantages, as illustrated in
Fig.
Specifically, The vector-gated GVP-GNN (Jing et al., 2021a) belongs to the "w/o hierarchies" methods in Fig.
It treats each atom as a node and uses an equivariant GNN to update node features.
However, the important hierarchical information is not considered.
IEConv (Hermosilla et al., 2021) follows the "mainstream hierarchical" methods in Fig.
It treats each atom as a node and employs several pooling layers to obtain representations at different levels.
For each level, it needs several intrinsic-extrinsic convolution layers for message passing.
By treating an atom as a node and employing a large model with more than ten layers, IEConv induces excessive computing costs.
Our proposed method effectively preserves hierarchical relations of proteins.
In addition, by treating each amino acid as a node and integrating side chain torsion angles as node features, our method has much fewer nodes in constructed graphs, resulting in a much more efficient learning scheme.
We provide mathematical expressions and explanations in Table 1.
We also conduct experiments in
Sec.
6.5 to show the efficiency and effectiveness of our all-atom level method.
3. C OMPLETENESS A NALYSIS
In this study, our primary objective is to develop a hierarchical representation learning framework for proteins based on their unique structural properties.
After constructing a 3D graph G =
( V , E , P ) for a protein from the framework, we further achieve complete representations at three hierarchical levels.
Intuitively, complete representations can capture all details of 3D protein structures and enable our method to generate distinct representations for different 3D graphs, subject to rigid transformations such as rotation and translation.
Based on the definition of completeness in Sec. 2.2 and Wang et al.
(2022a), we rigorously show how our method can achieve completeness at all three levels.
We also summarize whether existing methods are complete or not in Table 1.
Completeness of the Amino Acid Level.
At the amino acid level, we only consider C α coordinate of each amino acid.
The methods designed for small molecules can be applied directly at this level.
As shown in Sec.
3.1, we design our geometric representation F ( G ) base of a 3D protein graph based on ComENet (Wang et al., 2022a).
Since ComENet is provably complete, and the different definition of a local coordinate system in our method does not affect the completeness proof of ComENet, our method can naturally achieve completeness at this level.
Completeness of the Backbone Level.
Given a complete F ( G ) base , we rigorously show the geometric representation at the backbone level F ( G ) bb = F ( G ) base ∪ { ( τ 1 ji , τ 2 ji , τ 3 ji ) } i =1 ,...,n, j ∈N i is complete in Appendix B.1.
Note that our proof is based on the assumption that all bond lengths and bond angles are fully rigid in amino acids, and this assumption is widely accepted (Jumper et al., 2021).
Intuitively, a complete geometric representation at the backbone level can capture all 3D information of the backbone structure.
As protein backbones largely determine protein functions (Lopez & Mohiuddin, 2020; Nelson et al., 2008), capturing fine details of them can benefit various tasks.
Completeness of the All-Atom Level.
Given a complete F ( G ) bb , we rigorously show the geometric representation at the all-atom level F ( G ) all = F ( G ) bb ∪ { ( χ 1 i , χ 2 i , χ 3 i , χ 4 i ) } i =1 ,...,n is complete in Appendix B.2.
With the complete geometric representation at this level, our method can fully capture 3D information of all atoms in a protein.
Therefore, our method can distinguish any two distinct protein structures in nature.
Especially, our all-atom method can capture side chain structures compared with the backbone level method.
Side chains are important for proteins (Spassov et al., 2007).
The tertiary and quaternary structures of a protein are determined by interactions between side chains and environment (O’Connor et al., 2010).
In addition, interactions between side chains also play a crucial role in protein-protein and protein-ligand interactions (Tanaka & Scheraga, 1976; Berka et al., 2009).
Overall, the all-atom method can capture information for both inter- and intra-protein interactions, leading to better performances on various tasks.
P RO N ET
𝐯 !"
Output 𝐞 #!,#∈𝒩 !
Interaction Interaction
Interaction
Interaction 𝐯 !" ,𝐯 #" 𝐞 #!
Conv Hier-Geom-MP
MLP
MLP MLP 𝐯 !"’
Interaction MLP ∑ + 𝑗 ∈ 𝒩 !
𝑑,𝜃,𝜙,𝜏 ℱ 𝐺 )
*+, 𝐯 !" ,𝐯 #"
Conv Conv
BF BF BF ‖
‖ 𝑗 ∈ 𝒩 !
Hier-Geom-MP 𝜏 ( ,𝜏 -
[Figure]
Based passing scheme Eq.
1 and the hierarchical geometric representations in Sec.
3, we propose our ProNet for hierarchical protein representation learning as shown in Fig. 4.
The inputs to
ProNet are node features, edge features, and geometric representations.
Following existing graph neural networks (Schütt et al., 2017; Wang et al., 2022a), our ProNet contains several interaction blocks to update node features and one Readout function to obtain graph-level representations.
The Readout function includes a summation function and several fully-connected layers.
Specifically, in the interaction block, we design our novel hierarchical message passing layer HierGeom-MP to learn protein representations based on node features, edge features, and either one level of geometric representations.
Hier-Geom-MP is specially designed for protein learning and can effectively capture hierarchical relations of proteins.
The Conv is adapted from GraphConv (Morris et al., 2019) and is used to update node features based on edge features.
A detailed description of the model architecture is provided in Appendix C. Note that there are three levels of geometric representations, and our model only takes one as input.
The three levels of geometric representations result in three levels of ProNet, namely ProNet-Amino Acid, ProNet-Backbone, and ProNet-All-Atom.
Users can easily adapt the framework to different downstream tasks by specifying the level of geometric representations.
Our experiment results in Sec. 6 also show that different data and tasks may require representations at different levels.
R ELATED W ORK
Learning protein representations is essential to a variety of tasks in protein engineering.
Existing methods for protein learning consider different kinds of protein information, including amino acid sequences (Öztürk et al., 2018; Bepler & Berger, 2019; Rao et al., 2019; Elnaggar et al., 2021; Bileschi et al., 2022), protein surfaces (Gainza et al., 2020; Sverrisson et al., 2021; Dai & Bailey-Kellogg, 2021; Somnath et al., 2021), and protein 3D structures (Fout et al., 2017; Gligorijevi´c et al., 2021;
Baldassarre et al., 2021; Jing et al., 2021a; Cha et al., 2022).
Due to recent advances in protein structure prediction (Senior et al., 2020; Jumper et al., 2021; Varadi et al., 2022; Baek et al., 2021), structures of many proteins are becoming available with high accuracy.
In addition, protein structures are crucial for protein functions.
In this work, we focus on representation learning of proteins with 3D structures.
Earlier studies formulate proteins as 3D grid-like data and employ 3D CNNs for learning (Derevyanko et al., 2018; Townshend et al., 2021).
However, the grid-like data is extremely sparse, leading to expensive learning cost and unsatisfactory performance.
Hence, recent studies model proteins as 3D graphs and use 3D GNNs to learn representations (Hermosilla et al., 2021;
Hermosilla & Ropinski, 2022; Jing et al., 2021b; Ingraham et al., 2019; Zhang et al., 2023; Li et al., 2022).
Based on the analysis in Sec. 3 and Table 1, previous methods on 3D protein graphs can be categorized into three levels, including amino acid level, backbone level, and all-atom level.
For example, GearNet (Zhang et al., 2023) treats an amino acid as a node and uses amino acid types as node features, thus it is categorized as an amino acid level method.
GVP-GNN (Jing et al., 2021b) represents protein backbone structures with backbone dihedral angles computed from backbone atoms.
Thus it is a backbone level method.
IEConv (Hermosilla et al., 2021) treats each atom as a node in protein graphs, therefore, it is an all-atom level method.
The differences between existing methods and our ProNet are illustrated mathematically in Table 1 and explained in details at the end of Sec. 3.1, Sec. 3.2, and Sec. 3.3.
E XPERIMENTS
We evaluate our ProNet on various protein tasks, including protein fold and reaction prediction, protein-ligand binding affinity prediction, and protein-protein interaction prediction.
Detailed descriptions of the datasets are provided in Appendix D. We also conduct ablation study on the design of our all-atom method in Sec. 6.5, showing the efficiency and effectiveness of our method.
Detailed experimental setup and optimal hyperparameters are provided in Appendix E. Additional experimental results are provided in
Appendix F.
The code is integrated in the 3Dgraph part of DIG library (Liu et al., 2021) and available at https://github.com/divelab/DIG .
6. F OLD C LASSIFICATION
[Table]
Protein fold classification (Hou et al., 2018; Levitt & Chothia, 1976) is crucial to capture protein structurefunction relations and protein evolution.
Following the dataset and experimental settings in Hou et al.
(2018) and Hermosilla et al.
(2021), we evaluate our methods on the fold classification task.
A detailed description of the data is provided in Appendix D.
In total, this dataset contains 16,712 proteins from 1,195 folds.
There are three test sets, namely Fold, Superfamily, and Family.
We report the accuracies on the three test sets and the average of the three accuracy values in Table 2.
The results for baseline methods are taken from original papers (Hermosilla et al., 2021; Somnath et al., 2021; Zhang et al., 2023; Li et al., 2022).
[Table]
Table 2 shows that our methods can achieve the best results on two of the three test sets and the best average value.
For Superfamily and
Family, our methods outperform all of the baseline methods and achieve similar performance as GearNet-EdgeIEConv.
But GearNet-Edge-IEConv uses edge message passing scheme, which is more computationally expensive than the node message passing scheme in our method, as discussed in Liu et al.
In addition, as shown in Table 3, GearNetEdge-IEConv can not be trained using one Nvidia GeForce RTX [-
-]2080 Ti 11GB GPU due to its high complexity.
For Fold, the most difficult one among the three test sets, all of our methods on three levels can significantly outperform baseline methods, and ProNet-backbone improves the accuracy from 48.3% to 52.7%, demonstrating the good generalization ability of our methods.
Our methods also set the new state of the art for the average value.
6. R EACTION C LASSIFICATION
Enzymes are proteins that act as biological catalysts.
They can be classified with enzyme commission (EC) numbers which groups enzymes based on the reactions they catalyze (Webb, 1992; Omelchenko et al., 2010).
We follow the dataset and experiment settings in Hermosilla et al.
(2021) to evaluate our methods on this task.
In total, this dataset contains 37,428 proteins from 384 EC numbers (Berman et al., 2000; Dana et al., 2019).
Comparison results are summarized in Table 2, where the results for baseline methods are taken from original papers (Hermosilla et al., 2021; Hermosilla & Ropinski, 2022; Li et al., 2022; Zhang et al., 2023).
Our methods achieve better or comparable results compared with previous methods.
Note that IEConv methods (Hermosilla et al., 2021; Hermosilla & Ropinski, 2022) are complicated and have larger numbers of parameters.
Specifically, the numbers of parameters for IEConv methods are about 10M and 20M, while that of our methods are less than 2M.
6. L IGAND B INDING A FFINITY
Computational prediction of protein-ligand binding affinity (LBA) is essential for many downstream tasks in drug discovery as it mitigates the cost of wet-lab experiments and accelerates virtual screening (Huang et al., 2021).
In this task, we use the dataset curated from PDBbind (Wang et al., 2004; Liu et al., 2015) and experiment settings in Somnath et al.
We adopt dataset split with 30% and 60% sequence identity thresholds to verify the generalization ability of our models for unseen proteins.
In terms of experiment settings, we employ the two-branch network following Somnath et al.
(2021) for fair comparison.
We use the same ligand network as Holoprot (Somnath et al., 2021) and use our ProNet as the protein network.
Detailed experimental setup is provided in Appendix E.
Comparison results are summarized in Table 4, where the baseline results are taken from Somnath et al.
(2021) and Townshend et al.
Results are reported for 3 experimental runs.
The detailed standard deviation of experiment results are provided in Appendix F. Note that methods in Atom3D use a different experiment setting than other methods.
Therefore, it is not fair to compare our results with Atom3D methods.
However, we still include their results in Table 4 in case readers are interested in their setting.
Specifically, the models in Atom3D are trained with binding pockets only, making the task less challenging.
This is because the binding affinity would be highly related to binding structure (Lu et al., 2022), the models that take binding pockets as input incorporate prior information on the binding site, binding pose, and the interaction between protein and ligand.
Other baseline methods do not consider such prior information in the input.
The results show that our methods achieve either best or second best results on both splits and obtain significantly better results than previous state-of-the-art methods on the sequence identity 60% split. For our methods at different
[Table]
levels, the all-atom one is best on 5 out of 6 metrics.
As the binding affinity may correlate to the chemical reactions on the side chain of a protein, the results may imply that the all-atom method can capture more information for both inter- and intra- protein interaction.
6. P ROTEIN P ROTEIN I NTERACTION
[Table]
Protein-protein interactions (PPI) are involved in most cellular processes and essential for biological applications (Ganea et al., 2022).
For example, antibody proteins bind to antigens to recognize diseases (Townshend et al., 2021).
Following the dataset (Townshend et al., 2019; Vreven et al., 2015) and experiment settings in Townshend et al.
(2021), we predict whether two amino acids contact when the two proteins bind.
The evaluation metric is AUROC.
Results in Table 5 show that our all-atom level method outperforms all previous methods, improving the result from 0.866 to 0.871.
In addition, the results for three levels may imply that our all-atom representation can capture more details from side chains on both interacting proteins and thus benefits the binding site prediction.
6. O BSERVATIONS AND A BLATION S TUDIES
Observations: different downstream tasks may require methods at different levels.
As shown in
Table 2, our ProNet-backbone outperforms the methods of the other two levels on function prediction tasks , including fold and reaction classification tasks.
This indicates the backbone-level method can capture details from the folding structure of proteins, rendering better predictions for protein functions.
In contrast to function prediction tasks, as shown in Table 4 and Table 5, our ProNet-allatom outperforms the methods of the other levels on most metrics of interaction prediction tasks, namely LBA and PPI tasks.
This observation implies that our all-atom level method is able to capture fine-grained side chain structure information, eventually contributing to the predictions of binding affinity and binding sites for interacted proteins.
[Table]
Ablation studies on all-atom level.
As discussed in Sec. 3.3, we conduct experiments on three all-atom level methods to show the advantages of our proposed all-atom level method.
We adopt the same base model (Wang et al., 2022a) for fair comparison.
The results are shown in Table 6.
The first baseline is "w/o hierarchies" , where each atom is treated as a node in a 3D protein graph.
The performance of this method is unsatisfying, possibly due to the lack of hierarchical information in graph modeling.
In addition, it takes a much longer time for both training and inference.
The second baseline is "Mainstream hierarchical" with one hierarchical pooling layer, which naturally requires a two-level architecture.
The first level follows the "w/o hierarchies" method, and the second level treats each amino acid as a node with features obtained by aggregating representations of atoms in the corresponding amino acid.
The computational cost is high since two base models are involved for two levels.
Our proposed ProNet-All-Atom achieves the best performance among the three methods with less computing time.
Overall, our method is both efficient and effective.
C ONCLUSION
Protein structures are crucial for protein functions and can be represented at different levels, including the amino acid, backbone, and all-atom levels.
We propose ProNet to capture hierarchical relations among different levels and learn protein representations.
Particularly, ProNet is complete at all levels, leading to informative and discriminative representations.
Results show that ProNet outperforms previous methods on most datasets, and different tasks may require representations at different levels. A CKNOWLEDGMENTS
This work was supported in part by National Science Foundation grant IIS-2006861 and National
Institutes of Health grant U01AG070112.
B P ROOFS
As defined in Wang et al.
(2022a)
and discussed in Sec. 2.2, the formal definition of completeness for 3D protein graphs is shown as below.
Definition 1 (Completeness) .
For two protein graphs G 1 = ( V , E , R 1 ) and G 2 = ( V , E , R 2 ) , where
R 1 = { R 1 i } i =1 ,...,n and R 2 = { R 2 i } i =1 ,...,n , respectively, a geometric representation F ( G ) is considered complete if
[Equation]
Here SE(3) is the Special Euclidean group that includes all rotations and translations in 3D. To show whether F ( G ) is complete, we need to prove in both directions.
We first need to show Eq.holds from right to left, which is obvious.
This is because our proposed F ( G ) is based on relative information such as distances and angles, thus it is naturally SE(3) invariant.
Secondly, we need to show that Eq.
2 holds from left to right.
Essentially, we need to show that a 3D structure can be uniquely determined by F ( G ) .
In this section, we rigorously show that our proposed F ( G ) bb and
F ( G ) all are complete.
B. P ROOF OF THE C OMPLETENESS FOR B ACKBONE L EVEL R EPRESENTATION
Proof.
Based on Def. 1, we need to prove that the coordinates of all backbone atoms in each amino acid can be uniquely determined given F ( G ) bb .
As F ( G ) base is complete for amino acid level, the positions of all C α atoms in a 3D protein graph are determined as stated in Sec. 3.4.
Thus the remaining degree of freedom at the backbone level is the rotation between two backbone planes.
This is because, with such rotation, we can easily determine the coordinates of other backbone atoms besides C α atoms based on the rigid bond lengths and bond angles.
Hence, building on the amino acid level, we only need to prove that the local coordinate system for each backbone plane can be uniquely determined.
We prove this by induction.
First, we denote n as the number of nodes, i.e., amino acids, in a 3D protein graph.
Apparently, the case n = 1 holds.
Assume the case n = k holds that the geometric representation F ( G ) bb is complete, thus, the locations of all the k backbone planes are uniquely determined.
Then we need to prove the proposition holds for the n = k + 1 case.
Without losing generality, we denote node j as the ( k + 1) -th node, which is connected to node i among existing k nodes, forming a connected graph G of size ( k + 1) .
We then prove that the local coordinate system of the ( k + 1) -th backbone plane is uniquely determined by the proposed Euler angles ( τ 1 ji , τ 2 ji , τ 3 ji ) .
As illustrated in Fig.
2(b), we use unit vectors ( x i , y i , z i ) and ( x j , y j , z j ) to denote the backbone coordinate axes of node i and node j , respectively.
The intersection vector between plane x i y i and x j y j is denoted as n =
z i × z j .
Given the Euler angles τ 1 ji , τ 2 ji , τ 3 ji , we have
[Equation]
Then we sequentially prove by contradiction that vectors
z j , x j , and y j can be uniquely determined by the Euler angles.
Assume the coordination system for the backbone of node j is not unique, i.e. , there are alternative unit vectors ( x ′ j , y ′ j , z ′ j ) satisfying Eq.
And the alternative intersection vector is denoted as n ′ =
z i × z
j .
Step 1: Prove the intersection n is unique.
Substituting n ′ into Eq.
3 and Eq.
and subtracting the derived equations with Eq.
3 and Eq. 4, respectively, we can derive that
[Equation]
Since vectors x i and ( n − n ′ ) are on the same plane perpendicular to z i , there exist λ ̸ = 0 such that
[Equation]
Then we can derive that
[Equation]
Since λ ̸ =
and z i is a unit vector, Eq.
10 creates a contradiction.
Therefore, such n ′ does not exist.
The intersection vector n of the planes x i y i and x j y j is uniquely determined by the Euler angle τ
Substituting z ′ j into Eq. 5 and subtracting the derived equation with Eq.
5, we can derive that
[Equation]
Besides, based on the proof in Step 1 , we have
[Equation]
By subtracting the above equations on both sides, we have
[Equation]
Eq.
11 and Eq.
13 are contradicted since the non-zero vector ( z j − z ′ j ) is both parallel and perpendicular to the unit vector z i .
Thus, z j is uniquely determined by τ 1 ji and τ 2 ji .
Step 3: Prove x j is unique.
Substituting x ′ j into Eq.
6 and Eq.
and subtracting the derived equations with Eq.
6 and Eq. 7, respectively, we can derive that
[Equation]
As ( x j − x ′ j ) and n are on the same plane perpendicular to z j , n × ( x j − x ′ j ) = µ z j holds for some µ ̸ = 0 .
Thus, we can derive that
[Equation]
15) which is contradicted to the fact that µ ̸ = 0 and z j is a unit vector.
Therefore, x j can not have alternative solutions, i.e. , x j is uniquely determined by τ 1 ji , τ 2 ji , τ 3 ji .
Step 4: Prove y j is unique.
Since z j and x j are unique, y j
= z j × x j is also uniquely determined by the Euler angles.
The geometric representation F ( G ) bb = F ( G ) base ∪ { ( τ 1 ji , τ 2 ji , τ 3 ji ) } i
=1 ,...,n, j ∈N i on backbone level provides unique representation for different protein backbone structures.
Thus, the backbone level representation F ( G ) bb is complete.
With the complete representation, we can compute the unique rotation matrix corresponding to the three static Euler angles τ 1 ji , τ 2 ji , τ 3 ji as
[Equation]
) where
[Equation]
Thus, given the unit vectors ( x i , y i , z i ) of node i , we can derive the backbone coordinate system of node j as
[Equation]
B. P ROOF OF THE C OMPLETENESS FOR A LL -A TOM L EVEL R EPRESENTATION
Proof.
To prove completeness at the all-atom level, based on Def. 1, we need to prove the positions of all atoms in each amino acid are uniquely determined with F ( G ) all .
Since the geometric representation at the backbone level is complete, the backbone structure of a given protein can be uniquely determined by F ( G ) bb .
Therefore, for each amino acid i , we only need to prove that all the atoms of the side chain are uniquely determined by four side chain torsion angles.
Note that all bond lengths and bond angles in each amino acid are fully rigid, thus we only consider the unit vector between two atoms in an amino acid.
Here we provide rigorous proof for the amino acid cysteine.
The proof can be generalized to other types of amino acids.
A cysteine has six atoms, including N, C α , C, O, C β , and S γ .
Firstly, the positions of N, C α , C , and
O are determined at the backbone level.
We can easily further determine the position of C β since the atoms N, C α , C , and C β are in a rigid group as shown in Table 2 of (Jumper et al., 2021).
Therefore, we only need to prove that the position of atom S γ is uniquely determined.
For an amino acid cysteine with node index i , we use p 1 i , p 2 i , and p 3 i to denote the unit vectors of r C α
i − r Ci , r C β
i − r C α i , and r S γ
i − r C β i .
The unit vectors of p 1 i × p 2 i and p 2 i × p
i are denoted as a i and b i .
Given the side chain torsion angle χ 1 i , we have
[Equation]
Assume the position of atom S γ is not uniquely determined by χ 1 i , then there is an alternative position of S γ satisfying Eq. 18.
The new unit vector from C β to S γ is denoted as p 3 ′ i , and b ′ i
= p 2 i × p 3 ′ i .
Substituting b ′ i into Eq.
and subtracting the derived equations with Eq.
18, we can derive that
[Equation] [Equation]
Since vectors a i and b i − b ′
i are perpendicular to p 2 i , a i × ( b i − b ′ i )
=
ρ p 2 i holds for some ρ ̸ = 0 .
Then we can derive that
[Equation] [Equation]
Since ρ ̸ = 0 and p 2 i is a unit vector, Eq.
20 creates a contradiction.
Therefore, such p 3 ′ i does not exist, and the position of atom S γ is uniquely determined by χ 1 i .
C P RO N ET
In this section, we provide details about the geometric representations and the model architecture.
C. G EOMETRIC R EPRESENTATIONS
The geometric representation at the amino acid level is F ( G ) base =
[Equation]
[Equation]
[Equation] [Equation]
,...,n, j ∈N i as introduced in Sec. 3.1.
For each edge ji , we need to compute four geometries based on the positions of nodes i, j, i − 1 , i + 1 , j − 1 and j + 1 .
We use p 1 i , p 2 i , p ij , p 1 j , p 2 j to denote the unit vectors of r i − 1 − r i , r i +1 − r i , r j − r i , r j − 1 − r j and r j +1 − r j .
Then the four geometries for edge ji are computed based on
[Equation]
p
[Equation]
p
[Equation]
p
[Equation] j [Equation] i
[Equation]
j
[Equation]
p 1 j , otherwise
[Equation]
As introduced in Sec. 3.2, the geometric representation at the backbone level is
[Equation]
[Equation]
The steps to compute the Euler angles τ 1 , τ 2 , τ 3 are provided in Sec. 3.2 and Fig.
As introduced in Sec. 3.3, the geometric representation at the all-atom level is
[Equation]
The atoms used to compute the side chain torsion angles χ 1 , χ 2 , χ 3 , χ 4 are provided in Table 7.
C. M ODEL A RCHITECTURE
Overall architecture.
As shown in Fig.
4, the architecture of ProNet contains several interaction layers and an output layer.
Each of the interaction layers updates node features based on the message passing scheme in Eq.
Specifically, for an interaction layer, the inputs are node features, edge features, and geometric representations, and the outputs are updated node features.
Given the inputs, we firstly construct two intermediate updated node features.
The first one is obtained by the Conv layer, and the second one is obtained by the Hier-Geom-MP layer.
Then we concatenate these intermediate updated node features and use several fully-connected layers to obtain the final output of this interaction layer.
Following interaction blocks, the final protein representation g is obtained with the output layer, which is implemented with a READOUT function:
[Equation]
Here, v Li indicates the feature vector of node i at the last layer.
Specifically, the Readout function includes a summation function and several fully-connected layers.
Basis function.
We use basis functions to embed our proposed geometric representations.
Specifically, we use spherical harmonics to encode distance d and angles θ, ϕ, τ, τ 1 , τ 2 , τ 3 following Liu et al.
(2022) and Klicpera et al.
Formally, ( d, θ, ϕ ) is encoded with j ℓ (cid:16) β ℓn c d (cid:17) Y mℓ ( θ, ϕ ) , and ( d, τ ) , ( d, τ 1 ) , ( d, τ 2 ) , ( d, τ 3 ) are encoded with j ℓ (cid:16) β ℓn c d (cid:17) Y 0 ℓ ( a ) .
Here a can be τ , τ 1 , τ 2 , or τ 3 .
j ℓ ( · ) is a spherical Bessel function of order ℓ , Y mℓ is a spherical harmonic function of degree m and order ℓ , c is the cutoff, and β ℓn is the n -th root of the Bessel function of order ℓ .
In addition, we use sin and cos functions to embed the side chain torsion angles χ 1 , χ 2 , χ 3 , χ 4 .
Conv block.
The Conv block is adapted from the GraphConv layer (Morris et al., 2019) to update node features.
Specifically, given input node features { v li } i =1 ,...,n and edge attributes { f ij } i =1 ,...,n,j ∈N i , the updating function is m li =
W 1 v li + W 2 (cid:80) j ∈N
i v lj ⊙ ( W 3 f ij ) .
Here ⊙ denotes element-wise multiplication, f ij can be edge features e ij or encoded geometric representations.
D D ATASET D ESCRIPTION
Fold Dataset.
We use the same dataset as in Hou et al.
(2018) and Hermosilla et al.
In total, this dataset contains 16,292 proteins from 1,195 folds.
There are three test sets used to evaluate the generalization ability, namely Fold in which proteins from the same superfamily are unseen during training, Superfamily in which proteins from the same family are unseen during training, and Family in which proteins from the same family are present during training.
Among the three test sets, Fold is the most difficult one since this test set differs the most from the training set.
In this task, 12, proteins are used for training, 736 for validation, 718 for Fold, 1,254 for Superfamily, and 1,272 for
Family.
Reaction Dataset.
For reaction classification, the 3D structure for 37,428 proteins representing
EC numbers are collected from PDB (Berman et al., 2000), and EC annotations for each protein are downloaded from the SIFTS database (Dana et al., 2019).
The dataset is split into 29,215 proteins for training, 2,562 for validation, and 5,651 for testing.
Every EC number is represented in all 3 splits, and protein chains with more than 50% similarity are grouped together.
LBA Dataset.
Following Somnath et al.
(2021) and Townshend et al.
(2021), we perform ligand binding affinity predictions on a subset of the commonly-used PDBbind refined set (Wang et al., 2004;
Liu et al., 2015).
The curated dataset of 3,507 complexes is split into train/val/test splits based on a 30% or 60% sequence identity threshold to verify the model generalization ability for unseen proteins.
For a protein-ligand complex, we predict the negative log-transformed binding affinity pK = − log 10 ( K ) in Molar units.
[Table]
PPI Dataset.
Following the dataset and experiment settings in Townshend et al.
[Table]
we predict whether two amino acids contact when the two proteins bind.
We use the Database of Interacting
Protein Structures (DIPS)
(Townshend et al., 2019) for training and make prediction on the Docking
Benchmark 5 (DB5) (Vreven et al., 2015).
The split of protein complexes ensures that no protein in the training dataset has more than 30% sequence identity with any protein in the DIPS test set or the
DB5 dataset
[Table]
E E XPERIMENTAL S ETUP
This section describes the full experiment setup for each task considered in this paper.
The implementation of our methods is based on the PyTorch (Paszke et al., 2019) and Pytorch Geometric (Fey & Lenssen, 2019)
[Table]
and all models are trained with the Adam optimizer (Kingma & Ba, 2014).
All experiments are conducted on a single NVIDIA GeForce RTX 2080 Ti 11GB GPU.
The search space for model and training hyperparameters are listed in Table 8.
Note that we select hyperparameters at the amino acid, backbone, and all-atom levels by the same search space, and optimal hyperparameters are chosen by the performance on the validation set.
Fold and Reaction dataset.
Similar to Hermosilla et al.
(2021), we apply data augmentation techniques to increase data on fold and reaction classification tasks.
Specifically, for the input data, we apply Gaussian noise with a standard deviation of 0.1 and anisotropic scaling in the range [0 .
9 , 1 . 1] for amino acid coordinates.
The same noise is added to the atomic coordinates within the same amino acid, ensuring that the internal structure of each amino acid is not changed.
We also mask the amino acid type with a probability of 0.1 or 0.2.
For each interaction layer, we employ a Gaussian noise with a standard deviation of 0.025 to both features and Euler angles to further enhance the robustness of our models.
We also find that warmup can further improve the performance on reaction classification.
LBA dataset.
We follow the experiment settings in Somnath et al.
(2021) for LBA tasks.
Since our proposed methods focus on protein representation learning, we employ a two-branch network for a fair comparison.
One branch of the network provides the representations for protein structures using our methods and the other branch generates the representations for ligands with a graph convolutional network.
We employ the same architecture for the ligand branch as in Somnath et al.
and use our models as the protein branch.
A few fully-connected layers are then applied to the concatenations of protein and ligand representations to obtain the final representation of the corresponding complex.
F A DDITIONAL E XPERIMENTAL R ESULTS F. R ESULTS ON LBA
Results on LBA Dataset with standard deviation are listed in Table 9 and Table 10.
F. R ESULTS ON ADDITIONAL DATASETS FROM A TOM 3D
We also conduct experiments on additional datasets from Atom3D (Townshend et al., 2021), specifically on Protein Structure Ranking (PSR) and Ligand Efficacy Prediction (LEP) datasets.
Detailed descriptions of these datasets are provided below.
[Table]
[Table]
[Table]
PSR (Protein Structure Ranking).
This task aims to predict the global distance test (GDT_TS) for each protein and is formulated as a regression task.
In terms of the evaluation metrics, R S is Spearman correlation.
Mean R S measures the correlation for structures corresponding to the same biopolymer, whereas global R S measures the correlation across all biopolymers. The results are listed in Table 11. As shown in the table, our methods can outperform all baseline methods and significantly improve mean R S results. [Table]
LEP (Ligand Efficacy Prediction).
This task aims to predict whether a molecule bound to the structures will be an activator of the protein’s function or not.
This task is formulated as a binary classification task, and the evaluation metric is AUROC.
The results are listed in Table 12.
As shown in the table, our methods can outperform all baseline methods.