Machine-learned coarse-grained protein models replace each amino acid (or a few of its atoms) with one or more "beads" and train a neural network to reproduce the average forces seen in all-atom simulations. They now fold small proteins more than a thousand times faster than all-atom molecular dynamics. They also share a quiet limitation: each model is valid at the single temperature it was trained at. What the network learns is a potential of mean force, which is a free energy: an energy term minus temperature times an entropy term, with the solvent and side chains averaged out. Trained at one temperature, the network has no way to tell those two parts apart. Soft-matter physics met the same problem decades ago. Models of particles that only repel each other have no energy scale, so they cannot describe any transition driven by temperature. The standard fix treats repulsion as a purely entropic reference and adds attraction, often orientation-dependent, as a separate energetic term.
We propose to build that split into neural coarse-grained models. The learned free energy is written as an energetic term, which carries explicit direction-dependent attraction between beads, minus temperature times an entropic term that contains the excluded-volume repulsion. Both terms are fit jointly to mean forces sampled at several temperatures. There are two hypotheses. The first is that this structure lets a model trained at two temperatures predict melting curves and folding free energies at a third temperature, including temperatures outside the training range. The second is that making the attraction depend on each bead's orientation lets a one-bead-per-residue model keep β-sheets stable across temperature, which today appears to require five beads per residue.
Core Claim
Current neural coarse-grained models all use the same energy split: a hand-written prior containing harmonic bonds and purely repulsive excluded volume, plus a neural network that absorbs everything else. This is the design of TorchMD-Net potentials (Machine Learning Coarse-Grained Potentials of Protein Thermodynamics), CGnets (Machine Learning of coarse-grained Molecular Dynamics Force Fields), and CGSchNet (Navigating protein landscapes with a machine-learned transferable coarse-grained model). The CGSchNet authors state that their model "does not yet account for temperature-dependent thermodynamics." The Q-tensor work (On a Molecular Based Q-Tensor Model for Liquid Crystals with Density Variations) names the same gap on the continuum side: its athermal, repulsion-only derivation cannot produce temperature-driven transitions without attractive forces. Our claim is that the missing ingredient in both cases is the one van der Waals–Onsager perturbation theory supplies. That theory treats hard-body repulsion as an entropic reference, and it treats attraction, including its orientation dependence, as a separate energetic term that competes with thermal energy. For machine-learned models, this has to be imposed as a structural constraint on the network, not just added as another prior term.
Concretely, for coarse coordinates $R$ and temperature $T$, the model's free energy is
$$W_\theta(R;T) = E_\theta(R) - T\,S_\theta(R),$$
where $E_\theta$ is an energetic term with no dependence on temperature and $S_\theta$ is an entropic term that includes the hard-core repulsion. The coarse-grained force at temperature $T$ is $-\nabla_R W_\theta$. This form is the first-order expansion of the true potential of mean force in temperature. It is exact whenever the averaged-out degrees of freedom have an energy–entropy split that does not change over the temperature range. The residual error is controlled by the heat capacity of the eliminated degrees of freedom, which we measure directly with a quadratic-in-$T$ ablation.
The energetic term is where orientation enters. Each residue gets a local frame built from neighbouring $C_\alpha$ positions: a bisector direction and a plane normal. The pairwise part of $E_\theta$ then takes the form used for anisotropic square-well discs and spherocylinders. That form is a distance envelope multiplied by an isotropic depth $\epsilon_0$ plus an orientation-dependent depth $\epsilon_2 P_2(\cos\theta_{ij})$, where $P_2$ is the second Legendre polynomial and $\theta_{ij}$ is the angle between the two residues' frame directions. The same functional form is used in Liquid Crystal Phase Behaviour of Attractive Disc-Like Particles and Understanding and Describing the Liquid-Crystalline States of Polypeptide Solutions. In our model, $\epsilon_0$, $\epsilon_2$ and the envelope are small learned functions of residue type. A many-body neural residual is added to $E_\theta$, and a separate one to $S_\theta$.
Relation to Prior Work
The soft-matter papers supply the method's form, not its data. Liquid Crystal Phase Behaviour of Attractive Disc-Like Particles shows that the sign of the attraction anisotropy $\epsilon_2$ decides whether orientational order is stabilized or destroyed. The PBLG study shows that a single coarse rod with a temperature-dependent square well reproduces experimental isotropic–nematic and nematic–nematic coexistence curves. Both use fixed algebraic forms fitted by hand. We learn those forms from mean forces and attach them to a flexible chain. The pattern-formation papers (Pattern formation of a nonlocal, anisotropic interaction model; Stability Analysis of Line Patterns of an Anisotropic Interaction Model) add a further motivating result: increasing anisotropy in the attraction alone turns rings into stripes. This suggests that orientation-dependent attraction, not bead count, is the variable that controls line-like order such as β-strand pairing.
The machine-learning papers supply the problem and the training machinery. Machine Learning Coarse-Grained Potentials of Protein Thermodynamics reports that one-bead models struggle with β-sheets because backbone hydrogen bonds are directional and spread across several atoms. CGSchNet's answer was to use five beads per residue. We test whether orientation in the attraction does the same job at one bead. Scaling Transferable Coarse-graining with Mean Force Matching supplies the data strategy. It holds beads fixed in constrained all-atom simulation and averages the remaining forces, which removes most of the noise in force matching. It reached equal or better accuracy with 50× fewer samples and 87% less atomistic simulation, which is what makes multi-temperature data affordable. Top-down machine learning of coarse-grained protein force-fields, Force-matching Coarse-Graining without Forces, and Coarse-Grained Boltzmann Generators all learn a free energy at a single state point. None of them separates energy from entropy, so the decomposition applies to them unchanged.
Research Program
Controlled synthetic testbed. We first build a system where the answer is known. Rods are made of several interaction sites, each site interacting through isotropic attractive and repulsive terms. We simulate these rods at five temperatures and coarse-grain each rod to one oriented centre. Van der Waals–Onsager theory predicts how the isotropic–nematic transition should shift with temperature for a given $\epsilon_0$ and $\epsilon_2$. The decomposed model therefore has to meet two targets:
- recover effective attraction parameters consistent with that shift;
- place the transition correctly at a held-out temperature.
The same system also tests whether the entropic term correctly absorbs the hard-core part. The check is whether the model's repulsive contribution to the force grows linearly with $T$, as it must for a purely entropic interaction.
Protein data. We run mean-force-matching constrained simulations at three to five temperatures spanning each fast-folder's melting region. The proteins are drawn from the fast-folding suite (Chignolin, TRPcage, BBA, Villin, and the β-rich members of the 12-protein set), plus a subset of the CATH domains used by CGSchNet. The existing ~9 ms fast-folding trajectories (Machine Learning Coarse-Grained Potentials of Protein Thermodynamics) provide an unconstrained reference at their simulation temperature. Additional unbiased all-atom runs at the held-out temperatures provide the reference for extrapolation.
Models. We train the decomposed potential at one bead and at five beads, with and without the orientation-dependent term. Training uses shared mean-force data from two or more temperatures, with the loss summed across temperatures.
Baselines
Naive reference point. A one-bead TorchMD-Net potential trained at a single temperature and then simulated at other temperatures simply by changing the thermostat. This is what practitioners do today. It shows how badly a free energy fit at one temperature transfers when treated as though it were an energy. No reported result found on Lacuna for temperature transfer of this model. Its reported in-distribution accuracy is an average Chignolin root-mean-square deviation (RMSD) of 0.7 Å (Machine Learning Coarse-Grained Potentials of Protein Thermodynamics), and our models must match that at the training temperature.
Strongest existing competitor for β-structure. CGSchNet at five beads per residue (Navigating protein landscapes with a machine-learned transferable coarse-grained model). It is the most transferable neural coarse-grained protein model in the file and reports a Pearson correlation of r = 0.63 on ubiquitin mutation free-energy shifts. We retrain it on exactly our multi-temperature mean-force data, with the same number of optimizer steps and the same hyperparameter search budget. We also give it temperature as an input feature so that it can use the multi-temperature data.
Strongest competitor for temperature transfer. An unconstrained temperature-conditioned network $W_\theta(R,T)$, with the same architecture and parameter count as our model. It is fed $T$ as an input and has no linear-in-$T$ structure.
Ablations isolating the key ingredients. The first removes the orientation term: the decomposition is kept but the attraction is isotropic. The second removes the decomposition: orientation features are kept but the network is unconstrained. The third relaxes the linear form by adding a quadratic-in-$T$ correction.
What counts as a win. Beating a baseline means the decomposed one-bead model does all of the following at a held-out temperature:
- achieves a lower error in folding free energy;
- achieves a lower error in melting-curve midpoint;
- keeps β-hairpin content within the all-atom reference's statistical error;
- runs at a throughput clearly above the five-bead model under the same kernels.
For cost comparison we measure throughput with FlashSchNet-style kernels (FlashSchNet), whose reported baseline is 1,000 ns/day on 64 replicas, with 92 GB peak memory for unoptimized CGSchNet.
Why not just…?
Why not just add more beads? Five beads per residue does restore β-structure at the training temperature, and we expect five-bead CGSchNet to match or beat our one-bead model there. Two things weigh against it. The first is cost: FlashSchNet shows that multi-bead neural simulation is limited by GPU memory traffic, and it needed kernel fusion and 16-bit arithmetic to be practical. The second, more important, is that extra beads do nothing for temperature transfer. We run the decomposition on both one- and five-bead models, so the experiment separates "granularity fixes β-sheets" from "structure fixes temperature." If a one-bead model with orientation-dependent attraction cannot hold β-hairpins, we will report that the granularity trade-off does not yield to anisotropic attraction for proteins.
Why not just give the one-bead network orientation features and let it learn the attraction? This is the most serious threat, and it is why the proposal's central claim is the energy–entropy split rather than the anisotropic prior. At a single temperature, a network with frame features may learn directional attraction as well as our parametric term. The ablation that keeps orientation features but drops the decomposition measures exactly this. We predict it matches our model within the training temperatures and degrades outside them.
Why not just condition the network on temperature? Within the training range it may interpolate well, and we will say so if it does. Outside the range it has no reason to follow the physical scaling in which entropic forces grow with $T$ and energetic forces do not. The extrapolation test is designed to settle this. The failure mode that CGnets and the Coarse-Grained Boltzmann Generators report outside the training distribution suggests that unconstrained networks will not extrapolate cleanly.
Why not a classical force field like MARTINI? It has explicit attraction between beads, but only pairwise terms, and it cannot fold proteins or reproduce folding free-energy landscapes (Machine Learning of coarse-grained Molecular Dynamics Force Fields). We therefore include it only as a speed reference.
Proposed Experiments
Decisive experiment. Train on mean forces at the two lowest temperatures and predict at the highest. The primary metrics are the following:
- folded-fraction melting curves and their midpoints against unbiased all-atom runs;
- folding free energy at each temperature;
- the energy and entropy of unfolding extracted from the temperature slope, compared with all-atom values;
- free-energy surfaces along RMSD and fraction of native contacts, scored by Jensen–Shannon divergence.
Secondary checks. For β-structure we track contact-based hairpin and sheet content on Chignolin and the β-rich fast-folders across temperature. In-distribution fidelity is checked against the reported Chignolin RMSD of 0.7 Å, and against the reported Flow-CGnet result of native structure within 2.5 Å RMSD (Force-matching Coarse-Graining without Forces). In the synthetic rod testbed, the check is whether the learned $\epsilon_2$ has the sign and approximate size that the known transition shift requires.
Falsification criteria. The proposal fails if either of two things happens. The first is that the unconstrained temperature-conditioned network extrapolates as well as the decomposed model. The second is that the quadratic ablation is needed to get any transfer at all. The first would mean the physical structure adds nothing. The second would mean the heat capacity of the eliminated solvent is too large for a simple split, a finding that would itself constrain every future temperature-transferable coarse-grained model.
References
- Machine learning coarse-grained potentials of protein thermodynamics
- Machine Learning of coarse-grained Molecular Dynamics Force Fields
- Navigating protein landscapes with a machine-learned transferable coarse-grained model
- On a Molecular Based Q-Tensor Model for Liquid Crystals with Density Variations
- Liquid Crystal Phase Behaviour of Attractive Disc-Like Particles
- Understanding and Describing the Liquid-Crystalline States of Polypeptide Solutions: A Coarse-Grained Model of PBLG in DMF
- Pattern formation of a nonlocal, anisotropic interaction model
- Stability Analysis of Line Patterns of an Anisotropic Interaction Model
- Scaling Transferable Coarse-graining with Mean Force Matching
- Top-down machine learning of coarse-grained protein force-fields
- Flow-Matching: Efficient Coarse-Graining of Molecular Dynamics without Forces
- Coarse-Grained Boltzmann Generators
- $\texttt{FlashSchNet}$: Fast and Accurate Coarse-Grained Neural Network Molecular Dynamics