Skip to main content
Advertisement
  • Loading metrics

AlloPool is a deep learning framework that infers protein allostery from molecular dynamics simulations

  • Matthieu Marfoglia,

    Roles Conceptualization, Data curation, Investigation, Methodology, Software, Validation, Writing – review & editing

    Affiliation Interfaculty Institute of Bioengineering, École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland

  • Miguel A. Pedraza-Joya ,

    Contributed equally to this work with: Miguel A. Pedraza-Joya, Lucas Guirardel

    Roles Formal analysis, Investigation, Methodology, Software, Validation

    Affiliation Interfaculty Institute of Bioengineering, École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland

  • Lucas Guirardel ,

    Contributed equally to this work with: Miguel A. Pedraza-Joya, Lucas Guirardel

    Roles Formal analysis, Investigation, Methodology, Software

    Affiliation Interfaculty Institute of Bioengineering, École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland

  • Aisima Chatzi Souleiman,

    Roles Data curation, Investigation, Methodology

    Affiliation Interfaculty Institute of Bioengineering, École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland

  • Patrick Barth

    Roles Conceptualization, Funding acquisition, Project administration, Resources, Supervision, Writing – original draft, Writing – review & editing

    patrick.barth@epfl.ch

    Affiliations Interfaculty Institute of Bioengineering, École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland, Ludwig Institute for Cancer Research Lausanne, Lausanne, Switzerland

Abstract

Recent advances in artificial intelligence have transformed protein structure prediction and design. However, protein function is governed not only by static structures but also by the conformational dynamics that allow proteins to access distinct functional states. Predicting these dynamic transitions, central to many biological processes, remains challenging due to the scarcity of high-resolution experimental data, which limits the training of machine-learning models for dynamic and energetic property prediction. Here, we present AlloPool, a graph neural network (GNN)-based framework that interprets molecular dynamics simulations by iteratively pruning residue–residue interactions to uncover minimal, time-resolved interaction networks that govern protein conformational dynamics and structural responses to chemical or mechanical perturbations, collectively known as allostery. By integrating temporal attention with graph aggregation, AlloPool learns evolving interaction graphs from equilibrium and non-equilibrium molecular dynamics simulations, enabling accurate reconstruction of dynamic trajectories and the interaction networks that drive conformational transitions. Validated across diverse dynamic protein systems, including binding domains, mechanosensors, signaling receptors, and enzymes, AlloPool maps allosteric communication pathways, predicts the effects of ligand binding, mechanical forces, and mutations, discovers transient dynamic states and outperforms existing machine-learning approaches in dynamic trajectory reconstruction. This advance provides a general framework for interpreting protein dynamics with broad implications for drug discovery, synthetic biology, and protein engineering.

Introduction

Recent advances in artificial intelligence have transformed protein structure prediction and design [14]. However, protein function is governed not only by static structures, but by conformational dynamics that enable proteins to interconvert between distinct functional states [5], respond to external stimuli such as ligand binding or mechanical forces, and transmit information across long distances through allostery [611]. Traditionally, dynamic proteins have been conceptualized as molecular switches toggling between discrete conformational states. While useful, this static framework oversimplifies the continuous, multidimensional transitions that underlie allosteric processes [12,13]. Emerging deep learning (DL) approaches have made progress in modeling distributions of discrete protein structural states [1416]. However, these methods often neglect the dynamical couplings between states and do not explicitly learn the physical interactions that drive conformational change. Consequently, they remain limited in their ability to guide the design of conformationally selective drugs and switchable proteins.

Molecular dynamics (MD) simulations provide a powerful tool to study atomic motions and can now probe timescales relevant to dynamic and allosteric transitions [1720]. Graph-based computational models, where residues are represented as nodes and their interactions as edges, are frequently combined with MD data to identify long-range residue interactions and map allosteric communication pathways [21]. Techniques such as Perturbation Response Scanning (PRS) and Mutual Information (MI) have shown promise in inferring allosteric pathways [2224] but suffer key limitations: (1) PRS assumes linear dynamics between perturbations and responses, overlooking non-linear behaviors. (2) MI involves complex post-processing that risks introducing biases [25]. (3) Both methods rely on correlations alone, lacking causal inference to reveal directional signal propagation.

Emerging Machine Learning (ML) approaches, including deep learning and graph neural networks (GNNs), are well-suited to capture complex, non-linear, and temporal relationships and have been applied successfully to dynamic biological networks [2631]. For instance, Neural relational inference (NRI [30]) has shown promise for identifying allosteric pathways in MD simulations by learning interpretable embeddings of residue interactions [31]. However, NRI relies on static and fully connected interaction graphs, limiting its capacity to model time-dependent conformational changes and learn the interacting residue networks that control protein motions and function. Accurately capturing these fundamental properties requires models that respect the spatial and temporal constraints of physical residue interactions.

To address these challenges, we developed AlloPool, a GNN-based model tailored to interpret complex protein dynamic simulations and predict the residue interaction networks that govern these motions and associated protein functions. Through several innovations (e.g., Temporal Attention Mechanisms, Graph Aggregation Layers), AlloPool overcomes the limitations of static graphs and oversimplified assumptions, excelling in modeling time-dependent conformational changes. We validated AlloPool across diverse dynamic protein systems including protein binding domains, signaling membrane receptors, enzymes and mechanosensors. AlloPool consistently outperformed existing methods in predicting conformational dynamics. It accurately modeled the impact of chemical and mechanical stimuli, as well as amino acid mutations, on protein dynamics and function. Additionally, AlloPool enabled the unsupervised discovery and classification of protein states by detecting changes in temporal interaction patterns. AlloPool represents a significant advancement in the study of protein allostery, providing a robust framework to uncover molecular mechanisms driving allosteric regulation. Beyond advancing our understanding of fundamental biology, it offers a powerful tool for rational drug design, facilitating precise interventions targeting specific protein states. This work not only deepens insights into protein function but also unlocks transformative opportunities in drug discovery, synthetic biology, and bioengineering [3234].

Results

Overview of the model

We developed AlloPool, a graph neural network (GNN)-based framework that captures protein dynamics by learning minimal, time-evolving interaction graphs from molecular dynamics simulation trajectories. The model introduces several key innovations: (1) temporal attention mechanisms, which dynamically adapt interaction graphs over time to capture conformational changes; and (2) graph aggregation layers, which identify critical nodes and edges that mediate conformational transitions and enable long-range allosteric communication.

The core architecture of AlloPool is designed to learn transition interaction graphs that capture the minimal set of edges driving protein dynamics (Figs 1 and S1). The model processes time-series data from molecular dynamics (MD) or steered molecular dynamics (SMD) simulations, transforming each frame into a graph where nodes represent α-carbons and edges signify spatial interactions between residues. These graphs are fed into an encoder-decoder framework, beginning with a temporal attention layer that condenses the time-series data into a compact representation. The encoder then applies iterative edge-pooling layers, systematically removing edges that do not contribute to the system’s dynamics. This process generates a minimal interaction graph, which is subsequently passed to the decoder for trajectory reconstruction. Through this iterative framework, AlloPool identifies key edges and interaction networks that underlie protein conformational changes, long-range allosteric communication or force propagation.

thumbnail
Fig 1. Overview of AlloPool model for learning allosteric interaction networks from dynamic data.

(A) Simulations are performed to obtain dynamic trajectories of a system (data generation). Each time point of the trajectory is represented by a graph with associated node and edge features. Frames are sampled from the trajectory and used to train the AlloPool model. First, an encoder is trained to select relevant edges from the adjacency matrix generating the latent embedding that depicts the allosteric network of the system. Meanwhile, a decoder is trained to predict the future cartesian displacements (translations) and reconstruct the observed trajectories given the latent representation and the selected allosteric edges. The allosteric process is described as the minimal set of learned edges that enable accurate prediction of the system’s dynamics. (B) Temporal graph attention and edge pooling are leveraged in AlloPool for graph embedding and allosteric edges learning. The temporal graph module aggregates the input graphs into a single embedding that is processed by multiple pooling blocks, which iteratively reduces graph connectivity.

https://doi.org/10.1371/journal.pbio.3004002.g001

Principal component analysis (PCA) is applied to the learned interaction graphs to detect shifts in dynamic modes over the simulation trajectories. This analysis reveals significant changes in residue interactions that correspond to conformational transitions, enabling the identification of critical regions within the protein structure involved in dynamic regulation of protein function, allosteric signaling or mechanical force transmission. By reconstructing force propagation pathways, AlloPool can also map how mechanical forces are transmitted through proteins under load, effectively capturing both allosteric and mechanical signaling mechanisms within a unified framework.

Model architecture

AlloPool is designed to analyze MD trajectories through fixed-length temporal windows. Consequently, long simulations are processed using a sliding-window approach, with representations and predictions generated independently for each window rather than from a single end-to-end pass over the full trajectory. This design enables scalable analysis of arbitrarily long simulations while preserving local temporal information. The model follows a classic architecture of autoencoders to simultaneously learn edges of the protein graph driving its dynamics and the protein’s overall dynamics in an unsupervised manner.

Graph construction and pre-processing

Our model represents frame data at each time window as a graph , which represents the protein residues and their spatial interactions . Constructing a fully connected graph would be computationally prohibitive and physically unrealistic, as it would include edges between residues that do not interact in the protein structure. Therefore, we decided to define edges based on inter-residue distances: specifically, an edge is included if the distance Å for at least 30% of the frames in the time window .

A corresponding set of features is assigned to each of these graphs: The spatial coordinates of the Cα atom, the spatial coordinates of the Cβ atom (hydrogen for glycine), as well as the sine and cosine of backbone dihedral angles. Additionally, we incorporate the displacement of the Cα atom between consecutive frames, which serves as an approximation of the atomic velocity. This results in a total of 13 node features, to which we append a 64-dimensional absolute positional embedding that encodes the residue index within the sequence and the directionality of the amino acid.

We denote the set of features of residue at frame , the set of all residue features at frame , and the trajectory of residue . We also denote the trajectory history of all residues starting at time up to time .

Encoder: The edge pool module

The general framework of this module aims at acquiring the complex spatial and temporal dependence from the trajectory data and generating an abstract graph representation that aggregates the history of observed timesteps within a given window. This latent graph representation is then processed by an edge pooling module that iteratively reduces the graph connectivity to satisfy our objective function. This encoder is composed of three main sub-modules: a structural attention module, a temporal attention module, and multiple edge pooling modules.

The structural attention module processes the history of residue trajectory data and applied a Point Transformer [35], that efficiently processes 3D point clouds, and self-attention to individual graph to generate new graph representations encoding structural features from the observed trajectory data.

The temporal attention module is inspired by previous studies [36] and consists of a GRU model that learns temporal dependence from the trajectory data. We initialize the graph latent representation = 0 and update this latent representation for every to generate a time-aggregated representation . Notably, the GRU constructs graph representations by recursively combining the hidden state at time with features extracted from the current trajectory frame. An update gate regulates this process by weighting the relative importance of newly acquired information versus previously stored temporal information in the updated hidden state. While capturing sequentially the trajectory information at time , the model captures the changing trend of structural information and therefore, learns the temporal dependence between isolated graphs . This results in a unique graph latent representation that contains both structural and temporal feature of the historical trajectory .

This graph latent representation is processed by multiple edge pooling blocks. Each of these blocks passes the latent graph through a pair attention block that computes score for each edge, and through a graph attention layer, which update node representations, using this procedure:

After multiple pooling blocks, the new resulting graph latent representation is .

Decoder

The task of the decoder is to take this new graph representation, with drastically reduced connectivity, and produce the coordinates for the target portion of the window. The module uses a Multi-Component Spatial-Temporal Graph Convolution network [37] that predicts the 3D spatial coordinates . Details for the training procedure and analysis of pooled edges and force pathways can be found in the supplementary information.

AlloPool outperforms state-of-the-art ML models in protein dynamic trajectory reconstruction

To evaluate AlloPool’s performance relative to models utilizing fully connected graphs, we compared AlloPool with the NRI model [31] on both equilibrium and non-equilibrium (e.g., under applied force) simulations of several protein dynamic systems including the peptidyl-prolyl cis/trans isomerase Pin-1, the GPCR autoproteolysis-inducing (GAIN) mechanosensor domain from the adhesion ADGRG1 receptor, the signaling dopamine D2 and the beta 1 adrenergic (B1AR) receptors (S1 Table). During the simulations, the GAIN domain and D2 receptor undergo large conformational changes and sample multiple transitions while the Pin-1 and B1AR simulations sample the dynamics of specific conformational states. We used published simulation datasets for Pin-1 [31]. Three Pin-1 states were selected for the comparison: the apo form (PDB: 1PIN), an agonist-bound state (PDB: 1NMV), and an antagonist-bound state (PDB: 3TDB). Both AlloPool and NRI models were independently trained on each Pin-1 state with parameters defined for each respective model (Methods). All-atom simulations ranging from 1.2 to 2.5 microsecond timescales were used to train individual models for B1AR, D2 and GAIN (Methods).

To compare the models’ abilities to reconstruct protein dynamics, we calculated the standard deviation of the reconstructed trajectories’ Root Mean Square Fluctuation (RMSF) values. To confirm that each model accurately recapitulates the structural dynamics of Pin-1, we also computed the Root Mean Square Deviation (RMSD) between the true and reconstructed trajectories. The results for the RMSD time evolution are presented in S2 Fig, and average RMSD and RMSF in Table 1.

thumbnail
Table 1. Comparison of AlloPool and NRI performance in trajectory reconstruction.

https://doi.org/10.1371/journal.pbio.3004002.t001

Overall, our AlloPool models outperformed the NRI models across these systems. While NRI models were able to replicate trajectory fluctuations as measured by RMSF, we observed a notable variability in RMSD errors, ranging from 1.4 to 5.72 Å across the different protein systems’ trajectories. This variability suggests that NRI models may capture intrinsic system fluctuations but fail to accurately reconstruct the translational displacements observed between frames in the simulation that maintain correct protein topology. Here, we define translations as the displacement in Cartesian space between two simulation frames. AlloPool outperformed the NRI in both fluctuation and structural accuracy categories, achieving subangstrom accuracy in reconstruction RMSD. This performance indicates AlloPool’s effectiveness in generating structurally valid and accurate dynamic transitions, a result attributed to AlloPool’s ability to capture key allosteric interactions across various protein systems and dynamics properties including equilibrium and non-equilibrium simulations.

To evaluate the contribution of AlloPool’s specific architectural components to its prediction accuracy, we conducted ablation tests by systematically removing either the temporal attention or the pair attention modules (S3 Fig). These truncated model variants were trained on GAIN simulations. In the absence of temporal attention, AlloPool did not retained accurate predictions of root-mean-square fluctuations (RMSF); it also failed to correctly predict conformational changes in highly fluctuating regions, increasing the root-mean-square deviation (RMSD) from 0.89 Å (achieved by the full model) to 1.3 Å. Removing the pair attention module had a more pronounced effect, significantly degrading both RMSF and RMSD performance, with the latter reaching 2.1 Å. This was attributed to the removal of long-range information captured by attention, leading to more uniform and less informative edge pooling, which reduced the model’s ability to capture essential interaction patterns.

Computational advantage of AlloPool

AlloPool utilizes a deep, multi-stage mechanism to arrive at its latent graph, which results in several graph convolution operations dedicated solely to edge scoring and pruning. In contrast, the NRI-MD encoder typically uses a simpler, shallower multi-layer perceptron architecture to compute edge probabilities in a single forward pass. Let represents the number of amino acid residues (nodes) in the protein system. n the fully connected scenario (NRI-MD), the number of edges is precisely , resulting in an asymptotic scaling of . The computational complexity for calculating the latent edge embeddings is proportional to the number of edges multiplied by the feature dimension . Therefore, the time and memory complexity for the NRI-MD encoder is strictly bounded by . On the other hand, in AlloPool’s iterative pruning, the initial graph is constructed using a distance cutoff (e.g., 10–14 Å). This reduces the average node degree of the graph, and the initial number of sparse edges is . Thus, the graph size scales linearly with the protein size During the iterative pruning phase, the Edge-TopK blocks process sequentially smaller graphs. If is the number of edges at block , where . The complexity of the SageConv layers and the scoring mechanism is proportional to the number of edges present at that specific block. The total computational complexity for AlloPool’s encoder would then be the sum of these sequential operations: . Since the number of edges strictly decreases, for all blocks, the asymptotic complexity is bounded by: .

In summary, there is an undeniable computational overhead associated with the depth of the AlloPool pooling module. However, the computational efficiency for graph-based architectures is dictated not by the constant depth of the model, but by the asymptotic scaling of the underlying data structure being processed by those layers, in which AlloPool scales better than the NRI baseline.

To illustrate AlloPool’s computational advantages, we performed a direct quantitative comparison of the training and inference efficiency of AlloPool and NRI across three representative molecular systems in our dataset: PDZ, Pin1, and D2DR (S2 Table). In all cases, AlloPool was substantially more efficient than NRI, reducing training and inference times by up to 50-fold as well as memory consumption. These results demonstrate that, in addition to significantly improving trajectory reconstruction accuracy, AlloPool offers considerable gains in computational speed and memory efficiency, enabling both training and inference on molecular systems that are challenging or impractical to analyze with NRI.

AlloPool accurately predicts large conformational transitions during protein folding and signaling

We evaluated AlloPool’s capacity to learn and reproduce complex dynamic behaviors involving substantial structural changes and transitions between multiple conformational states. The model was trained on non-equilibrium steered MD simulations of the mechanosensing GAIN domain from the adhesion ADGRG1 receptor, the bacterial staphylococcal adhesin SdrG, as well as equilibrium MD simulations capturing transitions between active and inactive signaling states of the dopamine D2 receptor, a GPCR.

AlloPool predicts force propagation pathways leading to GAIN mechanical unfolding

The GAIN domain acts as a mechanosensor in adhesion GPCRs. It undergoes mechanical unfolding upon applied mechanical force that releases an agonist peptide activating the receptor [38,39]. To evaluate AlloPool’s ability to predict mechanical unfolding and identify critical allosteric connections (edges) underlying mechanical force propagation in protein structures, we conducted Steered Molecular Dynamics (SMD) simulations on the GAIN domain of ADGRG1 by applying forces at both N- and C-termini with pulling speeds of 0.1 nm/ns and 1 nm/ns (Fig 2A, Methods). The resulting simulation trajectories were used to train AlloPool as per the architecture in Fig 1. Upon pulling, mechanical stress accumulated within the GAIN domain (Fig 2B), leading to conformational changes and the formation of two distinct mechanically-loaded states whose population depended on the pulling rate.

thumbnail
Fig 2. AlloPool identifies multiple transitions to distinct mechanically loaded states.

(A) Structure of the GAIN domain with the 2 residues onto which the pulling force is applied highlighted by red spheres. (B) Representative force-extension curves from SMD trajectory (dark lines) and rolling average (light lines) leading to 2 distinct mechanically loaded states (red, blue). (C) Predicted (blue) and observed (orange) RMSF values along the GAIN sequence. (D, E) Predicted 2D edge maps by AlloPool (D) and the NRI (E) models. The x-y axes represent the residue index. (F) PCA of selected edges represented over the two principal components and colored by time. (G–I) Comparison of the directed edges that significantly contribute to the discrimination between the 3 states (G, unloaded state), (H, loaded state 1) and (I, loaded state 2). The underlying data used in this plot is deposited in S1 Data.

https://doi.org/10.1371/journal.pbio.3004002.g002

AlloPool was able to reconstruct trajectories with high fidelity, achieving an average RMSD accuracy of 0.89 Å, even in the absence of explicit structural inputs and despite large conformational changes due to partial unfolding of the N-terminal helical subdomain (Table 1). The observed and predicted RMSF describing the dynamic fluctuations for each residue of the GAIN matched also very closely (Fig 2C).

We examined the frequency of edge selections by AlloPool and compared this to the persistence of residue interactions throughout the simulations (S4A and S4B Fig). Persistent interactions showed a binary distribution (S4A Fig), either absent or present, while edge selection frequencies by AlloPool followed a right-skewed distribution (S4B Fig), suggesting that while persistent interactions in any one individual frame may appear unimportant under standard approaches, the model has conversely prioritized the edges critical for the protein’s dynamic state. High-frequency edges aligned with contiguous backbone connections linking adjacent residues but also captured critical tertiary contacts between distal residues, even without direct sidechain information (Fig 2D). Importantly, the interaction network map (Fig 2D) showed asymmetry, illustrating the model’s capacity to create directed edges, thus reflecting a directional flow of allosteric information across the structure. In comparison, the NRI trained on the same dataset only learned diffuse ensemble of edges between subdomains instead of precise residue-resolution allosteric networks (Fig 2E).

To evaluate the functional relevance of the selected edges (Fig 2D) in response to applied force, we reconstructed potential force propagation pathways between the N- and C-termini of the GAIN domain (Methods). Using the rationale described previously [40], we extracted these pathways for both mechanically unloaded and loaded phases of the simulations, prioritizing routes with high average pool frequencies along each path. Remarkably, pathways connecting the residues at the force application sites aligned closely with those identified through correlation-based methods (S5 Fig), indicating that AlloPool effectively identifies edges critical for modulating the GAIN domain’s dynamics under mechanical stress. Additionally, the observed shift in pathway structure between unloaded and loaded states reveals that AlloPool is accounting for structural changes induced by force. These findings suggest that AlloPool successfully identifies force propagation pathways in the GAIN domain, capturing physically-meaningful interactions even when structural alterations occur due to mechanical load.

AlloPool learns conformational dynamics determinants of GAIN mechanical unfolding

While the trained model successfully captured GAIN conformational dynamics from the SMD simulations, we further examined whether dynamic mode shifts could be identified directly from the learned edges and whether they reflected intrinsic molecular switching properties. PCA on pooled edges (Fig 2F) from the trajectory ensemble revealed that the projected pooled edges correlated with extension, and consequently, force, suggesting that the pooling strategy and learned edges primarily capture the intrinsic dynamics of the GAIN domain rather than variations in SMD trajectories. At low extension (i.e., low accumulated force, Fig 2F, WTU), the pooled edges did not differentiate between trajectory replicates. However, at high extension, two distinct transitions emerged, resulting in specific conformational dynamic modes (Fig 2F, WTState1 and WTState2).

To determine which edges influenced the distribution of unloaded and loaded states, we identified the most discriminatory edges distinguishing WTU, WTState1 and WTState2 and mapped the corresponding nodes onto the GAIN structure (Fig 2G2I). In WTU (Fig 2G, green sticks), key edges linked helices H1 and H2, helix H2 with loop 10, and β-strands 4–9 with the Stachel. These interactions were stabilized by disulfide bridges within the GPS motif, enhancing the thermodynamic stability of the GAIN domain. In contrast, WTState1 was primarily characterized by reinforced connections between helices H1 and H2, as well as β-strand 1, reflecting polar interactions that stabilized the α-domain helices with β-strand 1. Finally, WTState2 was distinguished by connections between helix H1, loops 1–7 and 10, and the Stachel, highlighting hydrophobic packing that contributed to mechanical resistance in this loaded conformational state.

These findings illustrate that the model not only captured essential allosteric networks from the simulation trajectories but also uncovered transient mechanically loaded states and distinct dynamic modes governed by different types of interactions, effectively tracking their evolution under mechanical stress. The non-obvious interactions stabilizing the two loaded states, while crucial for GAIN’s mechanical resistance, would be challenging to identify using conventional approaches. This highlights the enhanced temporal and spatial resolution of dynamic modes learned by AlloPool.

AlloPool predicts force propagation and mechanical unfolding in the adhesin SdrG

To assess the generality of our findings and evaluate whether AlloPool can be broadly applied to mechanosensing proteins, we investigated the prototypical staphylococcal adhesin SdrG. SdrG binds a short peptide from human fibrinogen β, forming an exceptionally strong interaction that anchors the pathogen to the host extracellular matrix. Remarkably, this interaction can withstand forces exceeding 2 nanonewtons [41]. Previous studies have attributed this extreme mechanostability to the redistribution of applied force along the entire fibrinogen peptide, which is tightly confined within the SdrG binding pocket through an extensive hydrogen-bond network. To determine whether AlloPool could capture these mechanistic features, we performed steered molecular dynamics simulations of the SdrG-fibrinogen peptide complex (Methods) and trained our model on the resulting trajectories.

We observed excellent agreement between the distributions of rupture forces and force-extension curves predicted by AlloPool and those reported previously [41] (Fig 3). Moreover, the force-propagation pathway inferred from AlloPool scores predominantly involves residues within the N2 and N3 domains, confirming that mechanical load is transmitted through the latch strand via a network of adjacent residues.

thumbnail
Fig 3. AlloPool predicts force-transmission networks underlying the extreme mechanostability of the SdrG-fibrinogen peptide complex.

(A) Representative force-extension curves from SMD trajectory of the SdrG:fibrinogen peptide complex. (B) Distribution of interface rupture forces across SMD replicates. (C) Predicted force propagation pathway mapped onto the SdrG:fibrinogen peptide complex structure. The fibrinogen peptide (blue) is bound to the N2 and N3 domains of the adhesin SdrG (gray). The underlying data used in this plot is deposited in S2 Data.

https://doi.org/10.1371/journal.pbio.3004002.g003

Together, our results on GAIN domains and staphylococcal adhesins demonstrate that AlloPool provides a general and mechanistically informative framework for dissecting protein mechanical unfolding and force propagation at atomic resolution.

AlloPool predicts allosteric transition landscapes of GPCR signaling

We next evaluated whether AlloPool could capture the distribution of states sampled during complex allosteric transitions driving membrane receptor signaling. To this end, AlloPool was trained on a cumulative 2-microsecond MD trajectory of the dopamine D2 receptor. These simulations began with the receptor in an active-state conformation, from which both the agonist ligand and the G-protein were removed. Since the apo active-state structure is energetically less stable than the inactive conformation, the receptor spontaneously relaxed toward the inactive state, transitioning through intermediate allosteric states [42].

We assessed whether AlloPool could capture the time evolution of the allosteric interaction networks as the receptor relaxes from the active to the inactive state. Because the pooling network shares weights across all training windows, edge scores are inherently linked to the temporal evolution of the system. Therefore, the learned interaction network is not static but evolves throughout the trajectory, enabling the identification of dynamic changes in residue coupling associated with conformational transitions. Clustering the pooled edges revealed three major dynamic modes, each exhibiting distinct conformational fluctuation patterns (Fig 4A and 4C4E). When mapped onto a two-dimensional space representing key GPCR activation features; specifically, distances between transmembrane helices 3 and 6 or 3 and 7; these dynamic modes corresponded to three conformational states: the well-characterized inactive and active states, along with an ensemble of intermediate states (Fig 4B).

thumbnail
Fig 4. AlloPool predicts allosteric transitions in the dopamine D2 receptor.

(A) Clustered PCA of selected edges over the two principal components colored by cluster. (B) Schematic illustration of the conformational landscape of D2 receptor trajectories showing complete relaxation from active to inactive state, with reference active and inactive structures represented as black + . (C–E) Predicted (blue) and observed (orange) RMSF values along the D2 receptor sequence for active (C, state 1), intermediate (D, state 2) and inactive (E, state 3) conformations. (F–H) Comparison of the selected edges that significantly discriminate between the 3 dynamic states represented in A (F, State 1; G: state 2; H: state 3). The underlying data used in this plot is deposited in S3 Data.

https://doi.org/10.1371/journal.pbio.3004002.g004

The dynamic modes associated with inactive and active states displayed distinct sets of pooled edges, which included well-established allosteric residues in GPCRs; e.g., Trp4.50 in the inactive state and the Pro5.50-Ile3.40-Phe6.44 motif in the active state (Fig 4F and 4H). As expected for transient intermediate states, their pooled edges exhibited a mixture of inactive- and active-state features, transitioning from residue critical for either the active or inactive conformations (Fig 4G).

These findings demonstrate that AlloPool can effectively resolve complex allosteric transitions and unbiasedly identify multiple relevant functional and transient states from dynamic data alone.

AlloPool learns dynamic allosteric networks to predict ligand pharmacology in GPCRs

To evaluate AlloPool’s ability to capture complex allosteric regulation triggered by ligand binding, we benchmarked its performance on the beta-1 adrenergic receptor (B1AR), a classical GPCR with extensively documented ligand pharmacology. Structural studies of GPCRs have identified conserved allosteric residues, or ‘microswitches,’ such as the DRY, PIF, and W-toggle motifs, which drive transitions between inactive and active receptor states in class A GPCRs. GPCR ligands associate with distinct conformational-functional receptor states, classified by their efficacy in activating the receptor and stabilizing its active form. We hypothesized that AlloPool could predict the dynamic allosteric interaction networks associated with different ligand-bound states of B1AR. To test this, we simulated the dynamics of five distinct B1AR-ligand pairs, representing various functional states (antagonist-bound inactive state: B1AR:alp, B1AR:cvd; partial agonist-bound partially active state: B1AR:cyn; agonist-bound partially active state: B1AR:dbt, B1AR:iso). AlloPool was trained on individual trajectories for each ligand-bound simulation, and the resulting allosteric interaction graphs were analyzed.

When trained on B1AR bound to an antagonist, partial agonist, and full agonist, AlloPool identified allosteric interaction networks (i.e., highly connected nodes) occupying distinct receptor regions: TM3-4 for the antagonist-bound state, TM3-5-7 for the partial agonist-bound state, and TM3-6-7 for the full agonist-bound state (Fig 5A5C). These networks increasingly involve intracellular sites on TM6 and TM7 as ligand efficacy rises, reflecting the large conformational changes in these regions during activation. Notably, the networks from the full agonist state recapitulated key allosteric hubs (e.g., I3.40 and F6.44 from the PIF motif, W6.48 from the toggle motif) and long-range interactions known as hallmarks of GPCR activation. Conversely, the antagonist-bound networks involved TM4 residues, including W4.50, a site associated with negative allosteric modulators stabilizing the inactive state.

thumbnail
Fig 5. AlloPool learns distinct allosteric coupling of the β1AR receptor in specific functional states.

(A–C) Structures of the antagonist-bound (A, cyanopindolol, cyn), partial agonist-bound (B, isoprenaline, iso), and agonist-bound (C, dobutamine, dbt) β1AR receptor, with the associated allosteric pathways and key residues represented in the schematics (bottom). The most coupled residues in each ligand-receptor pair are shown as sticks and colored in green. (D, E) Histogram showing the distribution of Pearson correlation coefficients for residue based on total contact persistence (E) and total pooled frequency (D) when regressed against ligand efficacy. (F, G) Boxplots (orange line: median, green triangle: mean) of predicted ligand efficacy (% dbt) using linear regression of residues with highly correlated pooling frequencies (R2 > 0.8) compared to experimental ligand efficacy (% dbt) represented as blue circles (Methods). X-axis represents the ligand class (red: antagonist, black: partial agonist, green: agonist). Significant differences from Alp are denoted by stars (*: p-value < 0.05; ***: p-value < 0.01; n.s.: non-significant) (F), with a structural view on the β1AR structure where correlated residues are represented as green sticks (G). The underlying data used in this plot is deposited in S4 Data.

https://doi.org/10.1371/journal.pbio.3004002.g005

We next investigated whether AlloPool’s features could predict ligand efficacy, comparing its performance to classical contact persistency metrics often used in GPCR structural analyses. Persistency metrics showed weak correlations with ligand efficacy (Fig 5D), while AlloPool’s pooled edge features exhibited strong correlations (Fig 5E), with many edges achieving high Pearson correlation coefficients (R2 > 0.9). Residues with strongly correlated edges that successfully predicted the different ligands’ efficacy (Fig 5F, Methods) were located on TM3, TM5, and TM6, aligning with allosteric sites characteristic of GPCR activation (Fig 5G).

These findings highlight AlloPool’s ability to capture the impact of ligand binding on GPCR allosteric regulation, accurately predicting the dynamic signatures of distinct signaling states. This underscores AlloPool’s potential to elucidate the structural and dynamic mechanisms underpinning ligand-mediated protein functions.

AlloPool predicts the impact of allosteric mutations on protein binding

Protein association is frequently regulated by long-range conformational changes initiated by ligand binding or mutations at distal allosteric sites, which modulate binding energetics and specificity. Hence, we next assessed AlloPool’s ability to predict the impact of mutations at allosteric sites on protein binding functions. We selected the class of PDZ domains, which are small (~100 amino acid) proteins that typically bind the carboxy-terminal residues of various target proteins and are key components of multidomain scaffolding complexes [43]. Peptide binding to PDZ occurs on alpha helix 2 and beta strand 2 and is allosterically regulated by long-range interactions involving the distal loop region at the N-terminus of the protein [44] (Fig 6A). Mutations at surface positions in these regions have been shown to significantly affect peptide binding [45].

thumbnail
Fig 6. AlloPool predicts the impact of mutations on allosterically regulated protein binding functions.

(A) Pooled edges of the WT PDZ3 domain. The allosteric loop and the peptide agonist are represented as dashed boxes (red: allosteric loop; blue: peptide agonist). (B) Residues involved in the 30 highest coupled edges are shown on the structure (red cartoon). We represented the 7 positions previously reported [45] with strongest gain and loss-of-function mutations as spheres, showing that AlloPool successfully recovers these positions (red spheres: residues with top 10% selected edges by AlloPool). (C–E) Expected effect of the mutations on the allosteric coupling between the peptide agonist and the allosteric loop as compared to WT (C), with stabilizing mutations enhancing the allosteric coupling between the peptide agonist and the allosteric loop (D, top) as opposed to destabilizing mutations that disrupt this allosteric coupling (D, bottom). Impact of the mutations on the structural stability of the PDZ structure as calculated using the Rosetta software (E). Energies are reported as Rosetta Energy Units (REU). (F) Change in the number of allosteric pathways connecting the peptide agonist to the allosteric loop and with an average pooling frequency along the path of at least 20%. (G) Change in average coupling along the allosteric path between the peptide agonist and the allosteric loop for the pathways identified in (F). The underlying data used in this plot is deposited in S5 Data.

https://doi.org/10.1371/journal.pbio.3004002.g006

To evaluate this, we simulated the conformational dynamics of the PDZ3 domain bound to an agonist peptide and predicted allosteric interaction networks based on the top pooled edges (Fig 6B). We observed a strong overlap between the residues involved in the 30 highest-coupled edges and those exhibiting significant gain or loss of function upon mutation (Fig 6C). This suggests that the density of pooled edges in the wild-type (WT) protein serves as a strong indicator of allosteric regulation in peptide binding.

To further investigate the effects of mutations on allosteric sites at the protein surface, we simulated the dynamics of eight PDZ variants with experimentally observed large gains or losses of function in peptide binding (Fig 6D). Using these simulations, we constructed putative allosteric pathways linking allosteric sites to peptide-binding sites by connecting nodes with the highest pooled edges (Methods, Fig 6E). We found that, except for one mutant (N363F) exhibiting strong structural destabilization (potentially partially unfolded, Fig 6D), loss-of-function variants displayed either a decreased number of paths or weakened allosteric coupling between allosteric and binding surfaces (Fig 6F6H). Conversely, gain-of-function variants exhibited stronger coupling or an increased number of pathways.

These findings demonstrate AlloPool’s capability to predict the impact of sequence variations on allosteric regulation of protein binding, highlighting its potential to map functional binding surfaces and uncover the structural underpinnings of allosteric effects in response to mutations.

AlloPool uncovers dynamic effects of missense mutations invisible to structure prediction

Despite recent advances in deep learning-based protein structure prediction, accurately capturing the effects of missense mutations remains a major challenge. A striking example is the Engrailed homeodomain from Drosophila melanogaster (PDB ID: 1ENH), a small DNA-binding protein composed of a three-helix bundle. The L16A mutation in helix 1 (H1) disrupts both local interactions and long-range contacts with helices 2 and 3, ultimately leading to the displacement of H1 [46]. Experimental structures of the mutant (PDB ID: 1ZTR) reveal the magnitude of this conformational change, with an RMSD of 17.8 Å relative to the wild-type structure (Fig 7A). In contrast, and consistent with previous reports [47], AlphaFold2 and AlphaFold3 fail to capture the destabilizing effect of the mutation, producing nearly identical wild-type and mutant structures with an RMSD of only 0.339 Å (Fig 7B).

thumbnail
Fig 7. AlloPool pool edge map shifts with missense mutations where structure predictions are not accurate.

(A) Aligned structures for En-HD WT (PDB 1ENH) and L16A mutant (PDB 1ZTR). The structures are superimposed at the helices 2 and 3 (H2,3). The L16A mutation causes the separation of the H1 helix from the initial helix core (B) AlphaFold 3 structure prediction for En-HD WT and L16A. (C, D) 2D edge maps predicted by AlloPool colored by pooling frequency for the WT (C) and the L16A mutant (D). The x-y axes correspond to the residue index and were labeled by the helix. The dotted lines indicate the position of the mutated L16 residue. The underlying data used in this plot is deposited in S6 Data.

https://doi.org/10.1371/journal.pbio.3004002.g007

We therefore investigated whether AlloPool could detect the consequences of a missense mutation even when state-of-the-art structure prediction methods could not. To this end, we performed molecular dynamics simulations of the AlphaFold2- and AlphaFold3-predicted L16A mutant structures, accumulating approximately 6 μs of equilibrium sampling, and compared their edge-pooling frequencies to those of the wild-type protein. Because high pooling frequencies reflect strongly coupled residues, whereas lower frequencies indicate weaker correlations and interactions, edge pooling provides a quantitative measure of structural integrity.

Although the simulations were not sufficiently long to reproduce the large-scale conformational rearrangement observed experimentally, AlloPool nevertheless identified the destabilizing effect of the mutation through its learned interaction networks. Specifically, the interaction density between H1 and the remainder of the helical bundle was markedly reduced in the mutant pooled-edge map (Fig 7D) relative to the wild type (Fig 7C). Thus, even though both trajectories remained in a nominally “closed” state, the model detected a substantial weakening of the interaction network that stabilizes the fold.

These results demonstrate that AlloPool can uncover subtle mutational effects encoded in protein dynamics before they manifest as large-scale structural changes. More broadly, they highlight the ability of learned interaction networks to reveal sequence-structure relationships and biophysical properties that are not readily apparent from static structures or direct inspection of molecular dynamics trajectories.

AlloPool predicts the impact of ligand binding on multi-domain allosteric proteins

We next assessed whether AlloPool could predict the dynamic regulation of multi-domain allosteric proteins triggered by ligand binding. Many proteins consist of multiple domains with the potential for interdomain crosstalk, where the function and activity of one domain can be modulated through the structure and dynamics of another—a phenomenon we refer to as ‘interdomain allostery.’

To evaluate this, we selected the well-characterized Pin1 protein, which undergoes conformational switching between an extended state—where the WW domain is partially unfolded and detached from the PPIase domain—and a compact state, where the WW domain is bound to the rest of the protein [48] (Fig 8A). The compact conformation is favored when Pin1 is either in the apo state or bound to an antagonist (FFpSPR), whereas binding of an agonist (pCDC25c) shifts the equilibrium toward the extended state. AlloPool was trained on multiple MD trajectories corresponding to different ligand-bound states of the protein.

thumbnail
Fig 8. AlloPool predicts the impact of ligand binding on multi-domain allosteric proteins.

(A) Structural view of Pin1 compact (left) and extended (right) states with key subdomains for Pin1 function represented (yellow: Catalytical loop; blue: helices α2-3, green: helix α1 and red: WW domain). Black arrows (middle) represent the equilibrium between compact and extended state without ligand (apo) or bound to agonist (pDCD25c) and antagonist (FFpSPR). (B–D) Predicted 2D edge maps by AlloPool colored by pooling frequency. The x-y axes represent the residue index and has been labeled by key subdomains as in A. (E–G) Principal allosteric pathways between the catalytical loop (yellow) and the rest of the Pin1 domain with key residues represented as sticks. Apo state (E) shows strong allosteric pathways connecting the α2-3 domain with the catalytical loop (blue arrow), and between the WW domain, helix α1 and the catalytical loop in the compact state (green dashed arrow). When bound to pCDC25C (F) which favors the extended state, allosteric pathways were only found between the PPIase core (gray), helices α2-3 and the catalytical loop. When bound to antagonist favoring the compact state (G), allosteric pathways connected the WW domain to helix α1 and the catalytical loop. The underlying data used in this plot is deposited in S7 Data.

https://doi.org/10.1371/journal.pbio.3004002.g008

The pooled maps derived from apo and ligand-bound simulations captured the impact of large-scale conformational changes on protein dynamics. In the apo state (Fig 8B), we observed significant coupling between the WW domain and the PPIase core, consistent with the presence of both compact and extended states in the simulation. However, coupling between α1 and the PPIase core was minimal. Most dynamic information, as inferred from pathway analysis, flowed from the PPIase core to the catalytic loop through the α2–3 subdomain.

In the agonist-bound state (Fig 8C), we observed a decrease in coupling between both the WW domain and α1 with the PPIase core. Binding of pCDC25c to the WW domain triggered conformational changes that propagated via the interdomain interface to the catalytic loop, as evidenced by increased coupling between this region and the α2–3 subdomain.

Conversely, in the antagonist-bound state (Fig 8D), the WW domain exhibited increased compactness and folding, leading to enhanced coupling between α1, the PPIase core, and the catalytic loop. We also observed stronger coupling between the WW domain and the PPIase core, but a reduction in coupling between the PPIase core and α2–3.

Remarkably, AlloPool identified pathways connecting nodes with the highest-frequency pooled edges, which closely matched those inferred from NMR spectroscopy [48] (Fig 8E8G). These findings demonstrate that AlloPool can accurately capture interdomain allostery and ligand-induced conformational changes in multi-domain proteins.

Discussion

Protein motions are fundamental to function, yet they remain difficult to study, model and analyze. To address this challenge, we developed and validated AlloPool, a deep learning framework that establishes a new standard for interpreting protein dynamics from molecular simulation data. Unlike existing approaches, AlloPool is explicitly designed to learn time-dependent conformational changes and the sparse interaction networks that drive structural transitions. As a result, AlloPool accurately predicts complex dynamic behaviors, including time-resolved fluctuations in allosteric communication, protein binding and folding processes from molecular dynamics trajectories.

AlloPool was rigorously validated across a diverse range of dynamic protein systems, including small soluble domains, membrane receptors, mechanosensors, and multi-domain proteins involved in binding, signaling, mechanical unfolding, and catalysis. Across these systems, AlloPool accurately identified transient conformational states, long-range structural rearrangements, and sparse residue interaction networks governing allosteric transitions, effectively modeling both equilibrium and non-equilibrium dynamics. These capabilities enabled accurate prediction of GPCR ligand pharmacology, identification of allosteric sites, and quantification of allosteric mutations impacting protein binding functions.

Central to AlloPool’s performance are its temporal attention mechanisms and graph aggregation layers, which dynamically evolve protein interaction representations in response to ligand binding and mechanical forces. While most existing methods focus on equilibrium dynamics, many proteins undergo non-equilibrium transitions during folding and function, for which reliable modeling approaches are lacking. AlloPool addresses this gap by accurately predicting non-equilibrium steered molecular dynamics (SMD) trajectories, force-propagation pathways, and key residue networks mediating force transmission during mechanical unfolding of adhesion GPCRs and bacterial adhesins. The directed and asymmetric interaction networks inferred by AlloPool suggest an ability to capture directional force flow, surpassing traditional correlation-based approaches as well as PRS in dynamic contexts. For instance, PRS is based on linear response theory (LRT), which assumes that the response to a perturbation can be inferred from equilibrium fluctuations in the unperturbed state. While this assumption is generally appropriate for systems governed by conformational selection mechanisms, it breaks down in cases involving induced fit or mechanical unfolding, where protein responses become strongly non-linear and are no longer adequately described by the equilibrium ensemble of the resting state. One example in our study where the linear response assumption of PRS is not expected to hold is the mechanical unfolding of the GAIN domain in GPR56. During this process, partial unfolding drives the protein into non-native conformational states characterized by interaction networks that differ substantially from those of the unperturbed structure.

Comparative benchmarking against state-of-the-art NRI models demonstrates AlloPool’s superior performance in RMSD and RMSF metrics, achieved with reduced network complexity through selective edge pooling. PCA and spectral clustering further reveal distinct dynamic modes aligned with force-dependent structural transitions, validating AlloPool’s ability to resolve temporally evolving allosteric dynamics with high precision.

AlloPool’s robust performance across multiple Pin1, GPCRs, and PDZ domain variants highlights its applicability to proteins with multiple functional states. The model enables identification of state-specific allosteric sites, prediction of sequence-dependent allosteric effects, and unsupervised classification of functional states based on interaction network dynamics, providing a powerful framework for modulating protein function.

By combining dynamic edge-pruning GNNs with time-resolved learning, AlloPool captures the inherently dynamic nature of protein function. As a result, its analysis extends beyond static correlation patterns to reveal temporally ordered interaction networks that provide insight into directional signal propagation and causal relationships. This capability is exemplified by the complex conformational transitions of the dopamine D2 receptor, where AlloPool identifies evolving allosteric communication pathways as the receptor relaxes from active to inactive states. Consequently, AlloPool offers a powerful framework for the mechanistic interpretation of allosteric regulation, signal transduction, and the dynamic principles governing protein function.

Despite its strengths, AlloPool has several important limitations. The current model is agnostic to protein sequence and chemistry, as it does not encode amino acid identity and relies exclusively on spatial information extracted from molecular dynamics trajectories. Consequently, AlloPool is not designed to generalize across proteins, and the interaction networks governing conformational dynamics are inherently system-specific, requiring model retraining for each protein and simulation dataset. Addressing these limitations will require substantial architectural advances. Future developments will focus on incorporating richer sequence, structural, and physicochemical information through redesigned encoder–decoder architectures, integration of protein language model embeddings, and higher-resolution representations capable of capturing atomic-level determinants of protein dynamics. Additional improvements may include the incorporation of experimental constraints to enhance predictive accuracy and causal inference frameworks to strengthen the identification of directional communication pathways. Beyond overcoming current limitations, these developments could transform AlloPool into a general framework for deciphering, predicting, and ultimately engineering protein conformational dynamics. Such capabilities would have broad implications for our understanding of allostery and for the rational design of proteins with tailored functions in biotechnology, synthetic biology, and drug discovery.

Methods

Molecular dynamics simulations

The data used to train and validate the model was obtained from Molecular Dynamics (MD) simulation of the different system performed with GROMACS 2022.4 [49] with CHARMM36 force field [50] in a NPT ensemble at 310K and 1 bar using a Nosé-Hoover thermostat (independently coupled to protein, solvent and membrane for membrane proteins, with a relaxation time of 1 ps for all three) and Parrinello-Rahman barostat (with semi-entropic coupling at a relaxation time of 5 ps respectively). For membrane proteins, the proteins were inserted into a regular square POPC lipid bilayer using Charmm-Gui [51]. All systems were solvated with a water box with 0.15 M of NA+ and Cl− ions. Equations of motion were integrated with a timestep of 1 fs for the first three steps of equilibration and then 2 fs using the leap-frog algorithm. Each system was minimized using the steepest descent algorithm for 5,000 steps. Then two rounds of equilibration were carried out, the first in an NVT ensemble for 100 ps (50,000 steps with a 2 fs time step.) Position restraints were applied to the protein to allow solvent relaxation around the solute. After minimization and equilibration, 5 independent trajectories of 200 to 400 ns each were run with coordinates being written every 10 ps

AlloPool models were trained on these simulation trajectories by creating samples of five frames regularly spaced every 10 frames. Each window therefore covers a simulation time of 1 ns between its first and last frame. The model is evaluated on a simulation trajectory on which it has not been trained, i.e., a test replicate. Protein structures of individual frames are transformed into distinct graphs with nodes representing residues and edges denoting their connectivity based on the structure adjacency matrix.

For the GAIN domain, SMD simulations were performed using the umbrella sampling method with a pulling speed ranging from 1 Å/ns to 10 Å/ns. In all simulations, the 2 alpha carbons of the N-term and C-term residues were moved harmonically in the desired direction with constant velocity. A distance cutoff of 14 Å was used for short-range non-bonded interactions, whereas electrostatic interactions were computed using the Particle-mesh Ewald method [52] with a cubic interpolation of power 4.

For the bacterial adhesin SdrG, our simulation protocol was analog to that described by Miles [41]. The structure of the adhesin SdrG bound to fibrinogen β is retrieved from the Protein Data Bank (PDB: 1R17) with a resolution of 1.86 Å. The protein was first oriented with the line connecting the Cα of PRO596 and PRO18 lying parallel to the x axis. To allow for a sufficient box size during pulling, the box dimensions were set to (58, 7, 7) nm

The MD simulations were performed using GROMACS 2022.4 with the CHARMM36 force field and the TIP3 water model as described above. Once the system was equilibrated, SMD production simulations were performed using Constant Velocity stretching with a pulling speed of 0.25 nm/ns along the x axis, and the umbrella sampling protocol with a force constant of 100 kJ mol−1 nm−2. The reaction coordinate is defined by the Cα atoms of PRO596 and PRO18, with a harmonic restraint applied to PRO596.

Model training

The model minimizes the RMSD between and . We compute the RMSD using the Kabsch–Umeyama algorithm to align the structures prior to loss computation, enabling the loss function to be invariant to rigid body rotation or translation. Formally, the objective function is defined as

where are the trainable parameters of the model .

The model weights are optimized using the Adam optimizer with an initial learning rate of , a weight decay coefficient of , and a learning rate scheduler decreasing the learning rate by 2 after 100 optimizer steps with no loss decrease. A representative loss curve is included in S6 Fig.

Model selection is performed by tracking the epoch-averaged training loss and checkpointing whenever an epoch achieves a new best value. On improvement, the script saves the new model weights and records auxiliary outputs required for interpretability, attention weights and pooled-edge class assignments, along with metadata describing the run state.

For every system, the validation metrics are calculated on a random trajectory left out during training, with the inference procedure analog to those during training. The results are reported in the main manuscript.

Pathway calculation

First, we assign each edge a global importance score with its edge selection probability where (resp. ) is the number of training windows where edge has been selected (resp. is a persistent edge), and is defined as 10% of the total number of training windows.

Then, we convert edge scores to edge weights . Let be a path of length . We define path score .

To compute force propagation pathways, we define the shortest paths according to edge weights between to sets of residues corresponding to source and target protein regions, and sort them according to path scores.

Edge PCA and clustering

To identify structural patterns within the pooled edges, we applied a clustering pipeline consisting of dimensionality reduction via PCA followed by spectral clustering.

First, we reconstructed from the pooled edges a residue-level adjacency matrix defined as:

The ensemble of adjacency matrices (where B is the number of batches extracted from the trajectory data) was projected into a lower-dimensional space using PCA and clustered using the Spectral Clustering algorithm to group adjacency matrices based on their similarity pattern. The optimal number of clusters was selected using the silhouette score analysis.

Ligand efficacy correlation

To predict ligand efficacy, we employed a linear regression model using pooled edges derived from molecular interaction graphs. We reconstructed adjacency matrices from the pooled edges for every ligand:receptor pair and filter edges with persistence 0.1. A residue is then represented by the vector of its filtered outward edges, a representation used for a Partial least squares regression against experimentally measured ligand efficacy values. To generate predictions, we identified residues that exhibited high correlation (>0.8) with ligand efficacy and predict the distribution of ligand efficacy values from the different ligand:receptor pairs. The statistical significance with respect to Alp is determined by a Wilcoxon signed-rank test.

Supporting information

S1 Fig. Model architecture.

Extensive description of the model architecture, from data generation to learning process and evaluation metric.

https://doi.org/10.1371/journal.pbio.3004002.s001

(EPS)

S2 Fig. Time evolution of RMSD for the systems in Table 1.

Evolution of the RMSD between AlloPool’s predicted frames and the MD trajectory ground truth for the different systems in Table 1. The average RMSD is represented by the dotted gray line. The data required to reproduce this figure can be found in S8 Data.

https://doi.org/10.1371/journal.pbio.3004002.s002

(EPS)

S3 Fig. Ablation tests.

AlloPool performance without Pairwise attention (RMSF (A), Pooled edge map (C)); AlloPool performance without Temporal attention (RMSF (B), Pooled edge map (D)). The data required to reproduce this figure can be found in S9 Data.

https://doi.org/10.1371/journal.pbio.3004002.s003

(EPS)

S4 Fig. Relative selection frequency of edges.

Distribution of edge selection frequency for persistence edges (top) and pooled edges (bottom). The data required to reproduce this figure can be found in S10 Data.

https://doi.org/10.1371/journal.pbio.3004002.s004

(EPS)

S5 Fig. AlloPool predicts force propagation pathways from allosteric interaction networks.

Best-scoring force propagation pathways reconstructed from the interaction map learned by AlloPool for the unloaded (left) and loaded (right) states, respectively (top). Force propagation pathways for unloaded (left) and loaded (right) states obtained from classic correlation analysis (bottom).

https://doi.org/10.1371/journal.pbio.3004002.s005

(EPS)

S6 Fig. Representative loss curves for AlloPool training.

Loss curve for training AlloPool on the Pin1 trajectories (A) and the GAIN domain (B) trajectories. Both of these systems exhibited convergence around epoch 90. The data required to reproduce this figure can be found in S11 Data.

https://doi.org/10.1371/journal.pbio.3004002.s006

(EPS)

S1 Table. Summary of MD trajectories used in the manuscript.

https://doi.org/10.1371/journal.pbio.3004002.s007

(XLSX)

S2 Table. Computational efficiency comparison between AlloPool and NRI.

Computational efficiency metrics during training and inference reported for 3 representative systems PDZ, Pin1 and D2DR. Accuracies of trajectory reconstruction are provided in Table 1.

https://doi.org/10.1371/journal.pbio.3004002.s008

(XLSX)

S1 Data. Supporting Information Data for Fig 2.

(Panel_b) Rolling average of a single trajectory representative of each loaded state. RMSF (panel_c), Pooled edge map (panel_d) and Pooled Edge PCA map (panel_f) obtained after training AlloPool on a set of GAIN trajectories. Similarly, the NRI edge map (panel_e) is obtained after training the NRI-MD using aforementioned trajectories as before. The NRI-MD code is deposited in (https://github.com/juexinwang/NRI-MD).

https://doi.org/10.1371/journal.pbio.3004002.s009

(ODS)

S2 Data. Supporting Information Data for Fig 3.

Rolling average of the force as a function of extension for SdRG trajectories (panel_a) and maximum force distribution (panel_b).

https://doi.org/10.1371/journal.pbio.3004002.s010

(ODS)

S3 Data. Supporting Information Data for Fig 4.

PCA coordinates of edges pooled by with the cluster index (panel_a) and per-residue RMSF values for each one of the clusters (panel_ce).

https://doi.org/10.1371/journal.pbio.3004002.s011

(ODS)

S4 Data. Supporting Information Data for Fig 5.

Per-residue vector representation used for linear regression against experimental efficacies for persistent (raw_data_panel_d) and pooled edges (raw_data_panel_e). The r2 value from the partial least square regression for persistent (panel_d) and pooled edges (panel_e). Predictions and r2 value for every selected residue (panel_f).

https://doi.org/10.1371/journal.pbio.3004002.s012

(ODS)

S5 Data. Supporting Information Data for Fig 6.

Pooled edge map (panel_a) obtained after training AlloPool on PDZ3 WT trajectories. Energies calculated with Rosetta for each design (panel_e). Number of allosteric pathways and coupling from AlloPool’s learned edges (panel_f-g).

https://doi.org/10.1371/journal.pbio.3004002.s013

(ODS)

S6 Data. Supporting Information Data for Fig 7.

Pooled edge maps for En-HD WT (panel_c) and L16A mutant (panel_d).

https://doi.org/10.1371/journal.pbio.3004002.s014

(ODS)

S7 Data. Supporting Information Data for Fig 8.

Pooled edge maps for Pin1 Apo (panel_b), Pin1:pCdc25C (panel_c), Pin1:FFpSPR (panel_d) obtained from training AlloPool on their respective trajectories.

https://doi.org/10.1371/journal.pbio.3004002.s015

(ODS)

S8 Data. Supporting Information Data for S2 Fig.

RMSD between AlloPool’s prediction and ground truth for selected trajectories.

https://doi.org/10.1371/journal.pbio.3004002.s016

(ODS)

S9 Data. Supporting Information Data for S3 Fig.

Per residue RMSF (panel_a) and pooled edge map (panel_c) for temporal ablation test. Per residue RMSF (panel_b) and pooled edge map (panel_d) for pairwise attention ablation test.

https://doi.org/10.1371/journal.pbio.3004002.s017

(ODS)

S10 Data. Supporting Information Data for S4 Fig.

Edge frequency for persistent (top_panel) and pooled (bottom_panel) edges.

https://doi.org/10.1371/journal.pbio.3004002.s018

(ODS)

S11 Data. Supporting Information Data for S6 Fig.

Representative loss curves for Pin1 apo (panel_a) and GAIN WT (panel_b).

https://doi.org/10.1371/journal.pbio.3004002.s019

(ODS)

Acknowledgments

The authors would like to thank members of the Barth lab for discussion, and particularly Mahdi Hijazi for technical support, data sharing and helpful discussions.

References

  1. 1. Dauparas J, Anishchenko I, Bennett N, Bai H, Ragotte RJ, Milles LF, et al. Robust deep learning-based protein sequence design using ProteinMPNN. Science. 2022;378(6615):49–56. pmid:36108050
  2. 2. Jumper J, Evans R, Pritzel A, Green T, Figurnov M, Ronneberger O, et al. Highly accurate protein structure prediction with AlphaFold. Nature. 2021;596(7873):583–9. pmid:34265844
  3. 3. Watson JL, Juergens D, Bennett NR, Trippe BL, Yim J, Eisenach HE, et al. De novo design of protein structure and function with RFdiffusion. Nature. 2023;620(7976):1089–100. pmid:37433327
  4. 4. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science.
  5. 5. Molecular dynamics and protein function. Proc Natl Acad Sci U S A.
  6. 6. Cui. Allostery and cooperativity revisited. Protein Sci. 2008.
  7. 7. Wodak SJ, Paci E, Dokholyan NV, Berezovsky IN, Horovitz A, Li J, et al. Allostery in its many disguises: from theory to applications. Structure. 2019;27(4):566–78. pmid:30744993
  8. 8. Motlagh HN, Wrabl JO, Li J, Hilser VJ. The ensemble nature of allostery. Nature. 2014;508(7496):331–9. pmid:24740064
  9. 9. Liu J, Nussinov R. Allostery: an overview of its history, concepts, methods, and applications. PLoS Comput Biol. 2016;12(6):e1004966. pmid:27253437
  10. 10. Controlling allosteric networks in proteins. Chemical Reviews.
  11. 11. Guo J, Zhou HX. Protein allostery and conformational dynamics. Chem Rev. 2016;116:6503–15.
  12. 12. Conflitti P, Lyman E, Sansom MSP, Hildebrand PW, Gutiérrez-de-Terán H, Carloni P, et al. Functional dynamics of G protein-coupled receptors reveal new routes for drug discovery. Nat Rev Drug Discov. 2025;24(4):251–75. pmid:39747671
  13. 13. Do HN, Wang J, Bhattarai A, Miao Y. GLOW: a workflow integrating gaussian-accelerated molecular dynamics and deep learning for free energy profiling. J Chem Theory Comput. 2022;18(3):1423–36. pmid:35200019
  14. 14. Zheng S, et al. Predicting equilibrium distributions for molecular systems with deep learning. Nat Mach Intell. 2024;6:558–67.
  15. 15. Noé F, Olsson S, Köhler J, Wu H. Boltzmann generators: sampling equilibrium states of many-body systems with deep learning. Science. 2019;365(6457):eaaw1147. pmid:31488660
  16. 16. Majewski M, Pérez A, Thölke P, Doerr S, Charron NE, Giorgino T, et al. Machine learning coarse-grained potentials of protein thermodynamics. Nat Commun. 2023;14(1):5739. pmid:37714883
  17. 17. Hu G, Doruker P, Li H, Demet Akten E. Editorial: understanding protein dynamics, binding and allostery for drug design. Front Mol Biosci. 2021;8:681364. pmid:33968997
  18. 18. Astore MA, Pradhan AS, Thiede EH, Hanson SM. Protein dynamics underlying allosteric regulation. Curr Opin Struct Biol. 2024;84:102768. pmid:38215528
  19. 19. Latorraca NR, Venkatakrishnan AJ, Dror RO. GPCR dynamics: structures in motion. Chem Rev. 2017;117(1):139–55. pmid:27622975
  20. 20. Manglik A, Kim TH, Masureel M, Altenbach C, Yang Z, Hilger D, et al. Structural insights into the dynamic process of β2-adrenergic receptor signaling. Cell. 2015;161(5):1101–11. pmid:25981665
  21. 21. Bernetti M, Bosio S, Bresciani V, Falchi F, Masetti M. Probing allosteric communication with combined molecular dynamics simulations and network analysis. Curr Opin Struct Biol. 2024;86:102820. pmid:38688074
  22. 22. Haliloglu T, Hacisuleyman A, Erman B. Prediction of allosteric communication pathways in proteins. Bioinformatics. 2022;38(14):3590–9. pmid:35674396
  23. 23. Verkhivker GM. Dynamics-based community analysis and perturbation response scanning of allosteric interaction networks in the TRAP1 chaperone structures dissect molecular linkage between conformational asymmetry and sequential ATP hydrolysis. Biochim Biophys Acta Proteins Proteom. 2018;1866(8):899–912. pmid:29684503
  24. 24. Wang J, Jain A, McDonald LR, Gambogi C, Lee AL, Dokholyan NV. Mapping allosteric communications within individual proteins. Nat Commun. 2020;11(1):3862. pmid:32737291
  25. 25. Jefferson RE, Oggier A, Füglistaler A, Camviel N, Hijazi M, Villarreal AR, et al. Computational design of dynamic receptor-peptide signaling complexes applied to chemotaxis. Nat Commun. 2023;14(1):2875. pmid:37208363
  26. 26. Dynamic neural relational inference for forecasting trajectories | IEEE Conference Publication | IEEE Xplore. Available from: https://ieeexplore.ieee.org/document/9150845
  27. 27. Wein S, Schüller A, Tomé AM, Malloni WM, Greenlee MW, Lang EW. Forecasting brain activity based on models of spatiotemporal brain dynamics: a comparison of graph neural network architectures. Netw Neurosci. 2022;6(3):665–701. pmid:36607180
  28. 28. Zhou J, Cui G, Hu S, Zhang Z, Yang C, Liu Z, et al. Graph neural networks: a review of methods and applications. AI Open. 2020;1:57–81.
  29. 29. Azevedo T, et al. A deep graph neural network architecture for modelling spatio-temporal dynamics in resting-stating functional MRI data. bioRxiv. 2020.
  30. 30. Kipf T, Fetaya E, Wang KC, Welling M, Zemel R. Neural relational inference for interacting systems. 2018. Available from: https://doi.org/10.48550/arXiv.1802.04687
  31. 31. Zhu J, Wang J, Han W, Xu D. Neural relational inference to learn allosteric long-range interactions in proteins from molecular dynamics simulations. 2021.
  32. 32. Dror RO, Green HF, Valant C, Borhani DW, Valcourt JR, Pan AC, et al. Structural basis for modulation of a G-protein-coupled receptor by allosteric drugs. Nature. 2013;503(7475):295–9. pmid:24121438
  33. 33. Govindaraj RG, Thangapandian S, Schauperl M, Denny RA, Diller DJ. Recent applications of computational methods to allosteric drug discovery. Front Mol Biosci. 2023;9:1070328. pmid:36710877
  34. 34. Lückmann M, Trauelsen M, Bentsen MA, Nissen TAD, Martins J, Fallah Z, et al. Molecular dynamics-guided discovery of an ago-allosteric modulator for GPR40/FFAR1. Proc Natl Acad Sci U S A. 2019;116(14):7123–8. pmid:30872479
  35. 35. Zhao H, Jiang L, Jia J, Torr P, Koltun V. Point transformer. 2021.
  36. 36. Zhao L, Song Y, Zhang C, Liu Y, Wang P, Lin T, et al. T-GCN: a temporal graph convolutional network for traffic prediction. IEEE Trans Intell Transport Syst. 2020;21(9):3848–58.
  37. 37. Liu H, Zhu C, Zhang D, Li Q. Attention-based spatial-temporal graph convolutional recurrent networks for traffic forecasting. In: 2023. https://doi.org/10.48550/arXiv.2302.12973
  38. 38. Salzman GS, Zhang S, Gupta A, Koide A, Koide S, Araç D. Stachel-independent modulation of GPR56/ADGRG1 signaling by synthetic ligands directed to its extracellular region. Proc Natl Acad Sci U S A. 2017;114(38):10095–100. pmid:28874577
  39. 39. Kordon SP, et al. Structural analysis and conformational dynamics of a holo-adhesion GPCR reveal interplay between extracellular and transmembrane domains. 2024.
  40. 40. Dumas L, et al. Uncovering and engineering the mechanical properties of the adhesion GPCR ADGRG1 GAIN domain. bioRxiv. 2023.
  41. 41. Milles LF, Schulten K, Gaub HE, Bernardi RC. Molecular mechanism of extreme mechanostability in a pathogen adhesin. Science. 2018;359(6383):1527–33. pmid:29599244
  42. 42. Yin J, Chen K-YM, Clark MJ, Hijazi M, Kumari P, Bai X-C, et al. Structure of a D2 dopamine receptor-G-protein complex in a lipid membrane. Nature. 2020;584(7819):125–9. pmid:32528175
  43. 43. PDZ Domain Proteins: Plug and Play! | Science’s STKE. Available from: https://www.science.org/doi/10.1126/stke.2003.179.re7
  44. 44. Ashkinadze D, Kadavath H, Pokharna A, Chi CN, Friedmann M, Strotz D, et al. Atomic resolution protein allostery from the multi-state structure of a PDZ domain. Nat Commun. 2022;13(1):6232. pmid:36266302
  45. 45. Reynolds KA, McLaughlin RN, Ranganathan R. Hot spots for allosteric regulation on protein surfaces. Cell. 2011;147(7):1564–75. pmid:22196731
  46. 46. Religa TL, Markson JS, Mayor U, Freund SMV, Fersht AR. Solution structure of a protein denatured state and folding intermediate. Nature. 2005;437(7061):1053–6. pmid:16222301
  47. 47. Zheng L, Shi S, Sun X, Lu M, Liao Y, Zhu S, et al. MoDAFold: a strategy for predicting the structure of missense mutant protein based on AlphaFold2 and molecular dynamics. Brief Bioinform. 2024;25(2):bbae006. pmid:38305456
  48. 48. Born A, Soetbeer J, Henen MA, Breitgoff F, Polyhach Y, Jeschke G, et al. Ligand-specific conformational change drives interdomain allostery in Pin1. Nat Commun. 2022;13(1):4546. pmid:35927276
  49. 49. Abraham MJ, Murtola T, Schulz R, Páll S, Smith JC, Hess B, et al. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX. 2015;1–2:19–25.
  50. 50. Huang J, Rauscher S, Nawrocki G, Ran T, Feig M, de Groot BL, et al. CHARMM36m: an improved force field for folded and intrinsically disordered proteins. Nat Methods. 2017;14(1):71–3. pmid:27819658
  51. 51. Jo S, Kim T, Iyer VG, Im W. CHARMM-GUI: a web-based graphical user interface for CHARMM. J Comput Chem. 2008;29(11):1859–65. pmid:18351591
  52. 52. Cao B, Xu H, Yang M, Mao C. Virus-based cancer therapeutics for targeted photodynamic therapy. In: Wege C, Lomonossoff GP, editors. Virus-derived nanoparticles for advanced technologies: methods and protocols. New York, NY: Springer; 2018. p. 643–52.