TL;DR
Researchers have developed NEMO, an end-to-end differentiable model that learns to fold proteins by "unrolling" a physics-based simulator. By combining a neural energy function with stabilized Langevin dynamics, the model can predict complex 3D structures from amino acid sequences and generalize to entirely new protein folds unseen during training.
The Challenge of Protein Folding
In biology, "structure determines function." Predicting how a string of amino acids folds into a 3D protein is one of the most significant challenges in biophysics. Historically, there have been two primary ways to tackle this:
- Physics-based Energy Models: These use the Boltzmann distribution to find the lowest-energy state. They are physically grounded but notoriously slow because they rely on expensive Monte Carlo simulations that can take days or weeks to converge.
- Deep Learning (e.g., RNNs): These are fast and learn directly from data, but they often lack the "inductive bias" of physics, making it hard for them to generalize to rare or unseen protein shapes.
The authors aim to bridge this gap by asking: Can we treat a physics simulator itself as a neural network layer? By making the simulator differentiable, they can train the energy function so that the simulator produces the correct structure in a fixed, short amount of time.
Methods: Neural Energy Modeling and Optimization (NEMO)
The NEMO system consists of three main components designed to integrate deep learning with physical simulation:
- Neural Energy Function: A Markov Random Field where a "sequence network" looks at the amino acids to set weights, and a "structure network" evaluates the 3D geometry.
- Differentiable Simulator: Instead of a black-box simulation, the authors use unrolled Langevin dynamics. They treat 250 steps of the simulation as layers in a deep network. To make this efficient, they developed a Transform Integrator that allows the model to update "internal coordinates" (bond angles and lengths) without the massive computational overhead of constantly converting back to 3D Cartesian space.
- Stabilization Techniques: Long simulations are prone to "chaos," where tiny changes in the beginning lead to massive, exploding gradients during backpropagation. To fix this, they introduced Lyapunov regularization (forcing the simulator to be mathematically "well-behaved") and Damped Backpropagation through Time (gradually decaying the influence of older simulation steps).
Datasets and Stratification
The authors used the CATH database, which hierarchically classifies protein structures.
- Training/Validation: ~56,000 protein domains from CATH 4.1.
- Test Set: ~10,000 domains from CATH 4.2 (newer structures).
- Stratification: They split the test set into four levels of difficulty (C, A, T, H). C (Class) and A (Architecture) represent the hardest tasks: predicting structures with topologies entirely absent from the training data.
Key Insights
- The "Unrolled" Philosophy: Rather than waiting for a simulation to converge, NEMO is trained to produce a "useful" answer within a fixed budget of 250 steps, effectively learning to "shortcut" the physics.
- Internal vs. Cartesian Coordinates: Cartesian coordinates (x, y, z) are great for local refinement, but internal coordinates (angles) are much better for global movements. NEMO uses a hybrid approach to get the best of both worlds.
- The Robot Arm Analogy: The protein backbone is treated like a "robot arm" planted at one end. Changing one angle at the "shoulder" moves everything downstream. This insight simplified the Jacobian matrices needed for differentiation.
- Capturing Uncertainty: Unlike standard models that give one "best guess," NEMO’s stochastic nature allows it to produce a distribution of possible structures, capturing the inherent flexibility of protein folding.
Key Results
NEMO demonstrates significant improvements in generalization, speed, and physical realism:
- Generalization: NEMO significantly outperformed strong RNN baselines on the most difficult tasks. On the "Class" (C) and "Architecture" (A) levels—where the model had to imagine new folds—NEMO achieved a TM-score of 0.274 and 0.361, respectively, compared to the best RNN's 0.229 and 0.282.
- Speed: While slower than a simple RNN, NEMO is orders of magnitude faster than traditional physical simulations. It generates structures in seconds, whereas physical simulations often take days to weeks.
- Physical Realism: Because it is built on an energy landscape, the resulting proteins tend to have more realistic local features, like hydrogen bonding and proper bond geometries.
Limitations and Future Work
- Computational Cost: Training is expensive, taking roughly 2 months on two M40 GPUs for the full model. This limits the volume of training data compared to simpler architectures.
- Scaling to Large Proteins: The current work focused on proteins up to 200 amino acids. Scaling to massive multi-domain proteins remains a challenge due to the memory requirements of backpropagating through long simulation trajectories.
- Stability: Even with new regularization techniques, backpropagating through long, chaotic simulations remains a balancing act that can lead to slower learning.
In summary, NEMO represents a powerful middle ground: it has the soul of a physicist and the brain of a data scientist, showing that differentiable simulation is a viable path for solving complex structural problems in biology.
Summary updated