TL;DR
By turning the state-of-the-art EquiformerV2 architecture into an implicit Deep Equilibrium Model (DEQ), DEQuiformer exploits the temporal continuity of molecular dynamics (MD) simulations. Reusing latent fixed points across consecutive time steps reduces inference latency by 10%–20%, improves parameter and memory efficiency, and achieves superior accuracy on standard quantum chemistry benchmarks.
What Problem Does This Paper Address?
Machine learning force fields (MLFFs) predict atomic forces from 3D coordinates, replacing costly ab initio calculations in molecular dynamics (MD). Contemporary architectures heavily exploit geometric symmetries (rotational, translational, and inversion equivariance). However, they treat every MD time step as an isolated, independent calculation.
In physical simulations, time steps are deliberately small, meaning atomic configurations evolve continuously and change very little from step $t$ to $t+1$. Furthermore, scaling standard explicit equivariant graph transformers requires stacking dozens of layers, causing steep GPU memory bottlenecks during training and redundant computation during inference.
Methods
The authors introduce DEQuiformer, transforming EquiformerV2 into an implicit Deep Equilibrium architecture:
-
Implicit Fixed-Point Formulation: Replaces a deep stack of $L$ explicit transformer layers with an iterative fixed-point solver over a compact 1- or 2-layer block ($L_{\text{DEQ}} \ll L$): $$h^* = f_\theta(h^*, x)$$ using Anderson acceleration for stable root finding.
-
Fixed-Point Reuse (Warm Starting): Rather than re-initializing the solver at zeros for each simulation frame, DEQuiformer warm-starts the solver using the equilibrium state of the previous frame ($h^0_{t+1} = h^*_t$).
- Adaptive Solver Tolerances: Inference uses a tight tolerance ($\epsilon = 10^{-4}$) for the first step, then relaxes it to $\epsilon = 10^{-1}$ for subsequent steps, cutting down iteration counts without harming force accuracy.
- Memory-Efficient Training via IFT: Gradients are computed via the Implicit Function Theorem (IFT) rather than backpropagating through solver iterations, yielding $O(1)$ activation memory with respect to effective depth. (The authors note that the popular 1-step "phantom" gradient approximation significantly degraded accuracy, requiring the full IFT backward solver).
- Stabilization Techniques: Uses recurrent path dropout (fixed mask across iterations per sample) and a sparse fixed-point correction loss to guarantee solver convergence during training.
Explicit: x_t ──> [ Layer 1 ] ──> ... ──> [ Layer L ] ──> Force / Energy
(Evaluates from scratch every step)
DEQ: x_t ──> [ 1–2 Layers ] <──┐ (Iterate to fixed point h*) ──> Force / Energy
│ │
└──> h*_t ──┴──> Warm-starts x_{t+1}
Datasets
- OC20 (Open Catalyst 2020): Evaluated on the Structure-to-Energy-and-Forces (S2EF) 200k split, as well as on 100 molecular surface relaxation trajectories.
- MD17: Trajectories for 8 small organic molecules (9–21 atoms) used to benchmark accuracy and temporal fixed-point reuse.
- MD22: 7 larger supramolecular systems (42–370 atoms), including a double-walled carbon nanotube.
Key Insights and Ideas
- Bridging MLMD and AIMD: In ab initio molecular dynamics (AIMD), self-consistent field (SCF) calculations warm-start electronic density matrices from previous steps. DEQuiformer establishes an explicit parallel in deep learning: MLFF predictions themselves act as fixed-point solutions that can be warm-started across frames.
- Preserving the Markov Property: A common concern with carrying latent states across time is breaking physical Markovianity (forces should depend solely on current positions). The authors show that reusing fixed points deviates from a cold start by less than 0.4%–0.8%, far below model prediction error.
- Adaptive Computation: Unlike static architectures with fixed depth, DEQs naturally adapt the number of iterations to the difficulty of the step. Warm-starting drops the required solver steps on Aspirin from ~5–6 down to 3 (and in OC20 relaxations, from ~29 down to 11).
Key Results
- OC20 Accuracy & Parameter Efficiency: A 2-layer DEQuiformer outperforms an 8-layer EquiformerV2 on force MAE (0.035 vs. 0.038 eV/Å) with 3× fewer parameters (1M vs. 3M), and even surpasses a 14-layer EquiformerV2.
- MD17 / MD22 Inference: Delivers an average 19% faster inference time alongside 15% better accuracy on MD17, achieving superior performance on 5 out of 8 molecules. On MD22, it achieves SOTA on 3 out of 7 molecules.
- Memory Footprint: On the 370-atom double-walled nanotube in MD22, an 8-layer EquiformerV2 crashed due to out-of-memory (OOM) errors, whereas DEQuiformer trained smoothly on a single 32GB GPU.
- Relaxation Speed: In OC20 geometry optimization, combining warm-starting with relaxed tolerances reduced relaxation wall-clock time from 32.98s to 12.38s, running faster than a 14-layer EquiformerV2 (12.92s).
Limitations and Future Work
- Training Wall-Clock Time: Although training uses substantially less GPU memory, solving the adjoint fixed-point equation via IFT adds compute overhead per gradient step compared to standard backpropagation.
- Scale of Evaluation: Experiments were capped at medium compute budgets (e.g., OC20 200k rather than the full 100M+ dataset) due to compute constraints.
- Future Directions: Incorporating advanced extrapolation schemes from quantum chemistry—such as Pulay mixing (DIIS) or Car-Parrinello-like feature propagation—to further accelerate fixed-point convergence.
Summary updated