<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>H-Packer: Holographic Rotationally Equivariant Convolutional Neural Network for Protein Side-Chain Packing</title></titleStmt>
			<publicationStmt>
				<publisher>PMLR</publisher>
				<date>03/01/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10512225</idno>
					<idno type="doi"></idno>
					<title level='j'>Proceedings of Machine Learning Research</title>
<idno>2640-3498</idno>
<biblScope unit="volume">240</biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Gian Marco Visani</author><author>William Galvin</author><author>Michael Pun</author><author>Armita Nourmohammad</author><author>David A Knowles</author><author>Sara Mostafavi</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Accurately modeling protein 3D structure is essential for the design of functional proteins. An important sub-task of structure modeling is protein side-chain packing: predicting the conformation of side-chains (rotamers) given the protein’s backbone structure and amino-acid sequence. Conventional approaches for this task rely on expensive sampling procedures over hand-crafted energy functions and rotamer libraries. Recently, several deep learning methods have been developed to tackle the problem in a data-driven way, albeit with vastly different formulations (from image-to-image translation to directly predicting atomic coordinates). Here, we frame the problem as a joint regression over the side-chains’ true degrees of freedom: the dihedral $\chi$ angles. We carefully study possible objective functions for this task, while accounting for the underlying symmetries of the task. We propose Holographic Packer (H-Packer), a novel two-stage algorithm for side-chain packing built on top of two light-weight rotationally equivariant neural networks. We evaluate our method on CASP13 and CASP14 targets. H-Packer is computationally efficient and shows favorable performance against conventional physics-based algorithms and is competitive against alternative deep learning solutions.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Proteins are macromolecules composed of residues (amino-acids) that are linked consecutively to form an amino-acid sequence. Each residue is conceptually divided into two parts: (i) a backbone structure common to all amino acids, which is comprised of the alpha carbon (C-&#8629;) bounded to an amino group (-NH 2 ) and a carboxyl group (-COOH); and (ii) a residue-specific side-chain. Backbones are connected by peptide bonds between the amino and carboxyl groups of consecutive residues. Physical interactions between the freely-moving side-chains cause the protein chain to fold into a complex 3D structure, which confers the protein its function.</p><p>Conceptually, a protein's full atomic structure can be divided into its backbone structure (the coordinates of its backbone atoms) and its side-chains conformations (the coordinates of its side-chain atoms). Side-chain conformations are relatively flexible, while the backbone structure is more rigid and confers the protein its main 3D topology, and thus, its main function. Nonetheless, the interaction between a protein's backbone and side-chains is essential for the stability of the fold and protein function.</p><p>Determining amino acid side-chain conformations in a protein, known as Protein Side-Chain Packing (or Rotamer Packing), is an essential step in protein folding and the de-novo design of proteins. Computational approaches to protein folding often divide the structure inference problem into two steps: first, they characterize the rigid backbone structure, and then they pack the side-chains associated with the amino acids at each residue. The flexibility of the side-chain makes the search in the space of possible conformations inevitably complex and computationally expensive. The de-novo protein design protocols also rely on similar logical steps: Often an amino acid sequence compatible with a desirable backbone structure is to be inferred (designed) <ref type="bibr">[1]</ref> and then the associated side-chains should be packed to form the full atomic composition of a protein. shows the H-CNN style network for side-chain packing by first predicting the missing residue's angles from its surrounding atomic environment, and then using the angles to reconstruct the residue's side-chain. As illustrated in C, H-Packer consists of two H-CNN networks, one trained on backbone atoms only and used to make an initial guess, and one trained on full side-chain neighborhoods and used to refine the predictions. residue's conformation. Therefore, we develop H-Packer into a two-step solution (Figure <ref type="figure">1C</ref>). Specifically, we two train models: one to predict angles from the backbone atoms and amino-acid identity alone, the another to predict angles from full neighborhoods, i.e., by including the true side-chain atoms of the surrounding residues (minus the residue of interest). At inference time, we use the first model to make an initial guess of the side-chain conformations, and then a second model to iteratively refine the predictions.</p><p>To build the individual models that predict angles, we start by considering their symmetries. Notably, angles are invariant to rigid-body transformations (translations and rotations) of the protein (i.e., they are SE(3) invariant). Translation invariance can be satisfied by choosing a well-defined center for a residue of interest; we choose the residue's C-&#8629;, as it is a common component of all residues and is at the beginning of the side-chain. Then, we still need to take into account rotational invariance about the specified center, which is associated with transformations under the rotation group SO(3).</p><p>To respect such rational symmetry, we build SO(3)-equivariant models to predict a residue's angles from its surrounding atomic environment. Equivariance is a generalization of invariance whereby when a function's input is transformed by the action of a certain group element (in this case rotation group SO(3)), the output is transformed by the same group element in a well-defined way; equivariant layers ensure both expressivity and efficiency when fitting both invariant and equivariant functions (see Appendix A.1 for details). To develop these models, we use an approach inspired by our previous work <ref type="bibr">[9,</ref><ref type="bibr">8]</ref>. We consider as input the point cloud of atoms within a radius r = 10 of the residue's C-&#8629; (with or without the neighboring side-chains). To ensure rotational equivariance, we both encode the input in a rotationally equivariant fashion (i.e., a holographic encoding), and use SO(3)-equivariant layers to predict the angles.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.1">Holographic encoding of the data</head><p>We represent the point clouds of atoms within a structural neighborhood with a density function by summing over (weighted) Dirac-functions, indicating the presence of atoms at a given position in space: &#8674;(r, &#10003;, ) = P i2points ! i (r i r); here, ! i indicates the weight associated with point i at position r i . We then use 3D Zernike Fourier Transform (ZFT) of the density function to encode the neighborhood into a convenient SO(3) equivariant basis,</p><p>where Y `m(&#10003;, ) is the spherical harmonics of degree `and order m, and R n `(r) is the radial Zernike polynomial in 3D with radial frequency n 0 and degree `. R n `(r) is non-zero only for even values of n ` 0. Notably, the spherical harmonics that describe the angular component of ZFT arise from the irreducible representations of the 3D rotation group SO(3), and form a convenient basis under rotation in 3D (see Appendix A.1). Zernike projections in spherical Fourier space can be understood as a superposition of spherical holograms of an input point cloud, and thus, we term this operation as holographic encoding of the data <ref type="bibr">[9,</ref><ref type="bibr">8]</ref>.</p><p>We truncate the Fourier expansion by the maximum degree `max and a maximum radial frequency n max . Additionally, we normalize the Fourier coefficients of each Dirac-function by the sum of the square of its coefficients. We found this normalization to be beneficial for training, likely due to the avoidance of singularities close to the boundaries.</p><p>Following <ref type="bibr">[8]</ref> and <ref type="bibr">[9]</ref> we incorporate atom-level input features by dividing the holographic encoding into different channels (see Figure <ref type="figure">1</ref>). We consider the following two sets: (i) Atomic channels: C, N, O, S, wildcard element excluding hydrogens, partial charge from the Amber99sb force field <ref type="bibr">[10]</ref>, and (ii) Amino-Acid channels: one for each of the 20 canonical amino-acids, plus a wildcard channel. We include the charge value in its dedicated channel as the weights ! i coupled to the point cloud's density function. While we train the initial guess model using both sets of channels (atomic and amino-acid) as input, we only consider the atomic channels for the refinement model. We do this in an effort to make the model's predictions more grounded in physical interactions. We condition both models with the identity of the residue of interest by concatenating a linear embedding of its one-hot encoding to the input's invariant (`= 0) features. This is particularly necessary for the refinement model -which is trained only with atomic channelssince it wouldn't otherwise know about the identity of the residue of interest.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.2">SO(3)-Equivariant neural network architecture</head><p>We use the resulting holograms as inputs to an SO(3)-Equivariant Convolutional Neural Network (Figure <ref type="figure">1B</ref>). The key is to transform the inputs through the network such that all intermediate outputs of the network remain rotationally equivariant. Our resulting model is conceptually divided into three parts:</p><p>First, a linear layer that projects data and conditioning to a hidden representation with same number of features per `. Second, a stack of equivariant blocks connected via additive skip connections, each composed of: (i) feature-wise tensor product nonlinearity, (ii) layer norm with silu nonlinearity, and (iii) a linear layer whose output dimensions are the same as the input's. After the final block, we retain only the features of type `= 0 or `= 1 depending on the training objective (Section 2.2.3). It should be noted that features of type `= 0 are rotationally invariant scalars, whereas those associated with `= 1 are equivariant vectors that transform consistently with the input under rotation. We use `= 1 features to directly learn the orientation of the intersecting planes that define a side-chain's dihedral angles (see Section 2.2.3). Third, optionally and only for the models with invariant (`= 0 output), we apply a standard feed-forward neural network with dropout regularization and silu nonlinearity. We refer to Section A.2 in the appendix for more details on the architecture components.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.3">Training objectives to infer angles</head><p>We consider three alternative parameterizations of angles, i.e. three possible objective functions:</p><p>(i) The angle itself. angles are defined between 180 and 180 with a periodicity such that the angles 179 and 179 are to be considered 2 apart, not 358 . Thus, plain MSE loss would pose strong and unnatural constraints on the model. To account for this, we mod the predictions to fall in the valid range, and compute the loss between two angles as the minimum between the computed error and 360 minus the error, resulting in the following loss function:</p><p>where &#710; i and i are the predicted and the true values of the i th , respectively, and N is the number of angles associated with the residue of interest. In our implementation, the angle domain is scaled and shifted to fall in [0, 2] to make the scale of the loss functions comparable between the three representations of the angles.</p><p>(ii) Sine and Cosine transforms of the angle. A pair of sine and cosine transformation provides an alternative representation for a angle that accounts for its periodicity and is also rotationally invariant; a similar approach is also considered in concurrent work <ref type="bibr">[11]</ref>. We directly predict sine and cosine values by feeding 8 outputs from the network to a tanh activation function, which then form the arguments of a MSE loss function:</p><p>Notably, this loss function is justified by a nice geometric interpretation, whereby it is equivalent to computing the cosine loss between the 2D vectors that describe the angles on the unit circle (proof in Eq. A.6).</p><p>(iii) Normal vectors to the dihedral plane. angles are examples of dihedral angles, meaning that they are defined as the angle between two planes. For angles, the two planes are described by subsequent triplets of atoms along the side-chains. Any two subsequent angles share one plane. Therefore, any conformation with N angles can be alternatively described by N + 1 planes (or their normal vectors); one of these normal vectors is a redundant internal coordinate (defined by backbone + C atoms), while others specify the N independent degrees of freedom.</p><p>We consider training models to predict the dihedral planes' normal vectors: n 1 ... n 4 . It should be noted that unlike the sine/cosine transformation, the vectors are not invariant to rotations, but equivariant of type `= 1 (geometric vectors) which can be extracted from the H-Packer equivariant network. We use a cosine loss over the true and predicted vectors:</p><p>Relevant symmetries in computing loss functions. Some amino acid conformations exhibit a rotation symmetry by &#8673; in some of their angles. For example, 2 of Phenylalanine and Tyrosine indicates the torsion of their benzene rings, thus a rotation by &#8673; leaves the conformation physically unchanged. However, as angles are formally defined by internal atom names, these equivalent conformations are associated with different angle values. We correct for this degeneracy by considering the minimum loss value between considering and &#8673; as targets during training and evaluation. When computing the error on the atomic coordinates (generally via Root Mean Square Deviation, RMSD) for the full side-chain, we need to consider other such symmetries between non-atoms, as listed in Table A.1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Related Work</head><p>Protein side-chain packing. Methods for side-chain packing can be divided into (older) physics-based algorithms <ref type="bibr">[2,</ref><ref type="bibr">4,</ref><ref type="bibr">3,</ref><ref type="bibr">12,</ref><ref type="bibr">13]</ref> and (newer) machine learning (ML) approaches <ref type="bibr">[5,</ref><ref type="bibr">6,</ref><ref type="bibr">7,</ref><ref type="bibr">11,</ref><ref type="bibr">14,</ref><ref type="bibr">15]</ref>. Physics-based approaches generally work by minimizing a hand-crafted energy function over the side-chain conformational space, usually with the help of a rotamer (i.e., side-chain conformation) library to discretize and reduce the dimensionality of such space. Popular algorithms include RosettaPacker from the rosetta suite <ref type="bibr">[2]</ref>, FASPR <ref type="bibr">[4]</ref>, and SCWRL <ref type="bibr">[3]</ref>. Among ML methods, the most related to this work include: DLPacker <ref type="bibr">[5]</ref>, which frames the problem as an image-to-image translation (with "channels" analogous to ours) to predict a 3D "image" of the desired rotamer, which is then matched against a rotamer library to return a valid representation; AttnPacker <ref type="bibr">[6]</ref>, which uses a large ( 208M) model derived from the SE(3)-Transformer <ref type="bibr">[16]</ref> to directly predict the coordinates of side-chain atoms from the backbone structure and the amino-acid sequence. The concurrent ZymePackNet <ref type="bibr">[11]</ref> (open source code not available) which autoregressively predicts the sine and cosine of angles, using two graph neural networks in a two-step procedure similar to ours; and DiffPack <ref type="bibr">[7]</ref>, which consists of four expensive diffusion models over each of the angles, autoregressively used together at inference time.</p><p>Equivariant neural networks for protein structures. In recent years, great successes has been achieved in structural biology by leveraging the underlying geometric symmetries in modeling protein structure and surface in the form of developing neural networks that are equivariant to the relevant symmetry transformations <ref type="bibr">[17,</ref><ref type="bibr">18,</ref><ref type="bibr">19,</ref><ref type="bibr">8,</ref><ref type="bibr">9]</ref>. Specifically, a great deal of literature has been devoted to efficiently modeling 3D atomistic systems using neural networks equivariant to euclidean symmetries <ref type="bibr">[16,</ref><ref type="bibr">20,</ref><ref type="bibr">21,</ref><ref type="bibr">22,</ref><ref type="bibr">23]</ref>. The drawback is that most such methods are computationally expensive due to computing expensive tensor products between all pairs of neighboring atoms (see Section A.2 and <ref type="bibr">[20,</ref><ref type="bibr">21]</ref>). Here, we greatly reduce computational complexity by constructing equivariant representations of a system about a single natural center (the central residue's C-&#8629;), following an approach originally designed to model spherical images <ref type="bibr">[23]</ref>. Applying this approach to residue-level structure modeling has been proven effective in predicting amino-acid propensities in protein structures <ref type="bibr">[8]</ref>, as well as compactly encoding residue environments in an unsupervised way for downstream tasks <ref type="bibr">[9]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Experiments</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Toy task: inferring angles from atomic coordinates</head><p>We start by studying the behavior of our model on a simple task: predicting (or rather, calculating) angles from the true atomic coordinates of the conformation. We found this to be a useful benchmark to study our model's behavior.</p><p>Setup. We randomly select 160 structures from our real task's training set (see below) and split them into 100/30/30 for training/validation/testing, respectively. We collect conformations of all residues presenting angles, and consider only their heavy atoms (C, N, O, S). We then apply the Zernike encoding varying `max from 1 to 5 and train models Figure <ref type="figure">2</ref>: Test MAE for the simple task of predicting angles from atomic conformation. Panels show reconstruction accuracies using three loss functions: the angle itself (left), the sin/cos transform of the angle (center), and the normal vectors to the dihedral planes (right), for different maximum angular degrees `max (colors).</p><p>with varying `max consistent with that of the input, as well as with different prediction objectives (angles, sin-cos of angles, plane norms). Crucially, we vary the number of hidden channels (decreasing it with higher `max ) to keep the number of parameters constant around 330k, and thus, removing differences in model capacity as a contributing factor to performance. We do not condition the models with amino-acid identity to make the problem more challenging, and therefore more interesting. We refer to Section A.4 for more details.</p><p>Results. Test Mean Absolute Error (MAE) per angle for all models is shown in Figure <ref type="figure">2</ref>, and training curves are shown in the Appendix (Figure A.3). Notably, the Angle model performs the worst, and is unable to recover the true angle with negligible error. The Sin-Cos and Plane Norm models instead recover all angles with very low error (&lt; 5 &#197;) with `max &gt; 1. It appears that `max = 2 is the minimum sufficient degree nedded to solve this task with high accuracy. We note that error is higher for later angles. We hypothesise that this is expected for two reasons: (i) later angles depend on atoms that are farther way from the center of the neighborhood, thus having lower angular resolution within the Zernike representation, and (ii) there is simply less training data for them. Weighting angles in the loss function according to their average frequency partially mitigates the second issue (Figure A.4). Notably, the fact that the model performs well without explicit knowledge of amino acid identities implies that it can easily infer the amino acid type from the the number and the relative location of the atoms.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.1">Side-Chain Packing</head><p>Dataset. We consider the training and validation datasets used in DLpacker <ref type="bibr">[5]</ref>, consisting of 19,436 structures with a maximum inter-protein sequence similarity of 50%. Unlike DLPacker, we do not remodel structures with PDB-redo <ref type="bibr">[24]</ref> and do not convert selenomethionine residues into methionine. For testing our model, we use the CASP13 and CASP14 targets (82 and 64 structures, respectively). We remove from the training and validation sets any protein that has sequence similarity above 50% with any of the proteins in the test set.</p><p>H-Packer training. We used the Sin/Cos loss function (Eq. 3) as it was the best-performing loss in our toy-task; while the Plane Norms loss (Eq. 4) also performed well in the toy-task, we found that models trained with the Sin/Cos objective were easier to regularize via dropout in the final invariant feed-forward neural network. The initial guess and the refinement networks were trained with the same `max of 5 and n max = 12; the latter was chosen such that it included at least one radial function with wavelength lower than the minimum interatomic distance. We also considered models trained with `max = 4, tuning the number of hidden features to keep the number of trainable parameters the same as the `max = 5 models, and equal to &#8672;3M. All models were trained for 10 epochs, keeping the model with lowest validation loss at the end of an epoch; see further details in Section A.4. Throughout our experiments, we consider the performance of H-Packer models with different number of rounds of refinement. For example, H-Packer 0 denotes the model with no refinement. For each model, we also compute an upper bound in performance of the refinement process by tasking the refinement model to predict angles from the ground truth neighboring structures (i.e., the toy task); we denote this by H-Packer up .</p><p>Metrics. In line with previous work <ref type="bibr">[6,</ref><ref type="bibr">7]</ref>, we evaluate our models on three main metrics. (i) Angle-specific Mean Absolute Error (MAE), (ii) residue-level angle accuracy, defined as the proportion of residues for which the prediction of all angles is within 20 of the true value, and (iii) average atomic Root Mean Square Deviation (RMSD) of side-chain atoms across residues. We further distinguish between Surface and Core residues, as conformations occurring on the surface of proteins are notoriously harder to predict. Surface residues are defined as having at most 15 -C within 10 &#197; of their -C, whereas core residues must have at least 20 -C's in this range. Interestingly, while H-Packer predictions are improved upon using refinement networks, the performance saturates after 2 steps of refinement; the accuracies after 5 iterations of refinement are comparable to those after only 2 steps (Table <ref type="table">1</ref>). Therefore, it is unlikely that further refinement could improve H-Packer's performance to reach its upper bound performance. We hypothesise that training H-Packer to produce confidence scores might help in developing site-specific convergence criteria to help bridge the gap <ref type="bibr">[6,</ref><ref type="bibr">7]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>CASP13</head><p>Ablation in `max . Table <ref type="table">3</ref> shows how changing `max (from 4 to 5) impacts the performance of H-Packer. For the same model capacity, using higher `max consistently yields better performance, indicating that higher angular resolutions of the input can be beneficial for learning this task. This performance improvement comes with a trade-off in Table <ref type="table">4</ref>: Relative times to undertake full atomic reconstruction. In our current (unoptimized) implementation, HPacker `max=5 5 takes 1,482s to reconstruct the 82 CASP13 targets on a single NVIDIA A40 GPU. Times for the other methods were taken from <ref type="bibr">[6]</ref>, with the exception of DiffPack which was run locally on a single NVIDIA A40 GPU. training and inference time, which scale superlinearly with `max unless the Tensor Product computation is adequately constrained <ref type="bibr">[25]</ref>. For reference, training our models with `max = 5 takes &#8672;40% longer than those with `max = 4. We leave the hyperparameter optimization of `max to future work.</p><p>On computing RMSD fairly. In Table <ref type="table">1</ref> we report RMSD computed by measuring the distance between the coordinates of true and predicted atoms, modulo the symmetries we report in A.1. However, other algorithms such as AttnPacker <ref type="bibr">[6]</ref> consider other symmetries as well, sometimes even between atoms of differing chemical elements. Though these symmetries reflect spatially similar conformations (such as a flip of the Histidine ring), they result in inflated RMSD scores. We show the effect of this inflation on H-Packer predictions in Table <ref type="table">2</ref>. In the same table, we also show the RMSD computed against true structures that have been "reconstructed" using the true angles and the constant values that we use for redundant internal coordinate within H-Packer; we do this in an effort to disentangle the Null Reconstruction Error (Figure A.1) from the error given by mistakes in angle prediction.</p><p>Speed. Table <ref type="table">4</ref> shows relative reconstruction speeds for several packing algorithms. Using the current implementation of the reconstruction algorithm, the best-performing H-Packer model is about 7x faster than the popular algorithm RosettaPacker and 6x faster than DLPacker; however, it is considerably slower than AttnPacker. Speed can be considerably cut down by half at the expense of minor performance degradation using two refinement iterations instead of five. However, more considerable speed gains may be achieved by CPU parallelization, when computing holographic encodings of structural neighborhood during initial data processing. Indeed, each initial guessing and refinement step of H-Packer predicts all angles at once, but in the current implementation holographic encodings are computed in series, creating a bottleneck that currently accounts for 88% of the inference time (10% is atom placement, and only 2% is making the actual predictions on GPU). We plan on optimizing this aspect in future iterations of the model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Discussion</head><p>In this paper, we present H-Packer, a novel algorithm for predicting side-chain conformations by jointly regressing over the side-chain's angles. H-packer is composed of two simple and fast rotationally equivariant neural networks, the first one is used for making an initial guess using the coordinates of backbone atoms alongside residue identity information, while the second one refines the predictions by considering the predicted coordinates of the neighboring side-chain atoms. We carefully study three alternative objective functions, eventually deciding on using a geometrically justified loss function over the sine and cosine of angles. Our experiments show that H-packer is competitive against physics-based methods and some machine-learning solutions, but its performance still lags behind the state-of-the-art at predicting angles closer to the backbone. Overall, the lack of consistent comparative patterns in performance metrics suggests that H-Packer learns features complementary to other approaches. In addition, the formulation of H-packer makes it amenable to easy-to-achieve CPU parallelization to speed up its already fast inference predictions. We further emphasize that H-Packer is remarkably lightweight -2 &#8677; 3M parameters vs. 208M of AttnPacker -and requires few resources to train -single GPU at &lt; 1 hour per epoch vs. 4 GPUs for 400 epochs for DiffPack (unknown total time). Limitations of the model include: its inability to distinguish between covalent and non-covalent interactions as atomic interactions are not explicitly encoded into the network, and its inherently lower angular resolution further away from a neighborhood's center. Future areas of improvement include: enhancing angular resolution by scaling up `max while adjusting the architecture to reduce the resulting computational complexity, and training a confidence model for the predictions and using it to inform the refinement process.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Appendix</head><p>A.1 More rigorous mathematical background on SO(3)-Equivariance Group Invariance and Equivariance. Intuitively, a function is said to be invariant to a certain group of transformations (e.g. 3D rotations) if applying one such transformation to the function's input does not change its output. Equivariance is a generalization of invariance whereby when the input is transformed by the action of a certain group element (or rather by a matrix representation parameterized by the group element) the output of the function is transformed by the same group element (i.e., by a matrix representation parameterized by the same group element, but that can be different from the input's representation). In short, equivariant functions transform the input in the same way regardless of its coordinate frame, but do not necessarily discard the coordinate frame information, whereas invariant functions also do the latter. Both of these concepts can be extended to properties as well, e.g. "the mass of a molecule remains constant (is invariant) when rotating it, whereas its dipole moment rotates alongside it (is equivariant)". More formally, a function between two vector spaces f : X ! Y is said to be equivariant to a group of transformations G iff applying any group transformation to the input space of f corresponds to applying the same transformation to the output space (i.e., via a representation parametrized by the same group element). Formally:</p><p>The group acts on the input and output vector spaces with space-specific representations that are appropriate for the space (i.e., D X and D Y ). A group may have different representations, and a special one is the one that always maps to the identity: D Y (g) = 1, 8g 2 G; a function on whose output space G acts with the identity representation is said to be invariant to G. In the context of machine learning, building models for which the output is provably invariant/equivariant to the same groups as the target function can avoid expensive data augmentation. However, even when fitting invariant functions, using equivariant layers is advisable -if not necessary <ref type="bibr">[26]</ref>.</p><p>Irreducible representations. How are equivariant layers generally achieved? The key is to look at the group's irreducible representations (irreps). These are the group's smallest representations, so that any possible representation can be provably decomposed into a direct sum of irreps. Therefore, the group's irreps can be used to describe how the group elements act on any vector space. We can use this fact to build group-equivariant functions by ensuring that both the input and output of the function are composed (via direct sum i.e., concatenation) of features that transform under the group's action under the group's irreps. SO(3)-Equivariance. The above is often easier said than done, but it has been worked out for SO(3), which is a group describing 3D rotations about a fixed point <ref type="bibr">[27,</ref><ref type="bibr">23,</ref><ref type="bibr">20]</ref>. Spherical Fourier space can be used to conveniently define equivariant transformation for rotations. For rotations about a given reference point, the points in 3D can be expressed by the resulting spherical coordinates (r, &#10003;, ) about the set origin. Since the radius r (i.e., the distance of a point from to the reference) does not change under rotations about the origin, we will ignore the radial component for now and consider a signal over the sphere of radius r, f (&#10003;, ) : S 2 (r) ! R. The Fourier transform F of the signal on the sphere follows,</p><p>where Y `m(&#10003;, ) is the spherical harmonic of degree `and order m defined as</p><p>where `is a non-negative integer (0 &#63743; `), and m is an integer within the interval `&#63743; m &#63743; `. P m `(cos &#10003;) is the Legendre polynomial of degree `and order m. The operators that describe how spherical harmonics transform under rotations are called the Wigner D-matrices, denoted by D mm 0 (R) <ref type="bibr">[28]</ref>.</p><p>Indeed, Wigner-D matrices are the irreps of SO(3). Therefore, any vector space that "3D-rotates" can be decomposed into a direct sum of type-`features that transform according to the irrep of type `. For example, features of type 0 are invariant to rotation (e.g. atomic mass), while features of type 1 transform as geometric vectors (e.g. dipole moment). Thus, to build an SO(3)-equivariant model we start by projecting the data onto a convenient SO(3)-equivariant basis via the spherical harmonics. We then leverage a suite of rules that allows one to build learnable layers without breaking equivariance, and transform the input into a new representation composed of features within the same range of possible types. One key transformation rule is the Clebsch-Gordan Tensor Product <ref type="bibr">[28]</ref> that is commonly used to inject nonlinearity (to be precise bi-linearity) in the SO(3) equivariant neural networks <ref type="bibr">[23]</ref>. Effectively, each redundant internal coordinate (i.e. excluding chi angles) gets substituted from a single value computed as the median of the corresponding value in a reference dataset. Across all structures, the average Null Reconstruction RMSD is 0.127 &#197;. We notice a small number of outliers (single residues with abnormally high RMSD), but we do not investigate the causes. Models with `max = 4 have five equivariant blocks with a per-`hidden feature side of 128. For models with `max = 5 we use 5 blocks with per-`size 96. In doing so, the two models have comparable number of parameters (3M). All models have a 3-layer FFNN with silu nonlinearity and dropout normalization rate of 0.1. We found it useful to tune he dropout rate to prevent overfitting. We train all models for 10 epochs, keeping the model with lowest validation loss at the end of an epoch (convergence usually happened by epoch &#8672;8); models with `max = 5 took roughly 50 minutes per epoch to train on a single NVIDIA A40 GPU, while models with `max = 4 took 35 minutes.      </p></div></body>
		</text>
</TEI>
