Adaptive Multi-Frame Learning for Expressive and Stable Atomic Representations

Jun Wang, Yifan Zeng, Bo Han, Fengwang Li, Aoni Xu, Tongliang LiuNeurIPS 2026

TL;DR

When teaching AI to predict material properties from 3D atomic structures, models often establish a canonical "reference frame" (a 3D coordinate system) so that rotating a molecule doesn't confuse the network. However, relying on a single type of coordinate system fails in complex chemical environments and causes mathematical glitches when atoms align symmetrically. The authors introduce MFAN, a neural network that gives every atom a customizable menu of local and global coordinate frames—smoothly blending the best ones while muting any frame about to mathematically break down.

What Problem Does This Paper Address?

Nature doesn't care how you orient your laboratory: if you rotate or slide a crystal in 3D space, its total energy stays the same, and its internal atomic forces rotate right along with it. Machine learning models for materials must respect this SE(3) symmetry (3D rotations and translations).

While full "equivariant" networks use heavy tensor math to track rotations, frame-based methods offer a clever, lightweight shortcut: build a 3D coordinate axis directly from the atoms' positions, project the geometry onto that axis, and feed the resulting rotation-proof numbers into a standard neural network.

Despite their speed, frame-based methods hit two major snags:

  1. One size doesn't fit all: Existing models force a single frame-building rule onto an entire material. Yet within one system, a rigid crystal lattice atom might make the most sense in a global crystal frame, while a wiggly surface molecule needs a local bond-based frame—and sometimes both at once to tell symmetric ends apart.
Figure 1: Illustration of diverse frame requirements. In strontium titanate (a), Sr atoms occupy regular crystallographic positions, making the global lattice frame natural, whereas Ti-O interactions depend on local coordination and are better captured by local frames. In cerium dioxide (b), the ordered Ce pattern is also aligned with the lattice, whereas O-related vacancy formation and migration are governed by local environments. In polymeric ammonium (PA)-modulated formate adsorption (c), the global frame is dominated by the Ag surface, requiring local frames to describe PA. Yet local frames cannot distinguish the symmetric termini of PA, so global information remains necessary.
  1. The symmetry glitch (discontinuity): Frame-building math can snap unpredictably near symmetric or "degenerate" states (imagine trying to define a unique 3D axis using two vectors that suddenly become parallel, or PCA axes flipping when two eigenvalues tie). Because atomic forces are calculated as the negative gradient (slope) of energy, a sudden jump in the coordinate frame creates massive, unphysical force spikes that blow up molecular simulations.

Methods

The authors propose the Multi-Frame Adaptive Network (MFAN). Its backbone is a standard attention-based Graph Neural Network (GNN) (following the node-update style of iComFormer), where atoms are nodes and nearby neighbors form edges. What's new is how MFAN extracts directional geometry on those edges:

  • Parallel Multi-Frame Extraction: Instead of committing to one coordinate system, MFAN constructs multiple candidate frames in parallel—mixing global frames (like crystal lattice vectors) and local frames (like PCA or QR decompositions of an atom's immediate neighborhood). Relative bond directions are projected into all candidate frames simultaneously.
  • Adaptive Frame Router: A lightweight routing network looks at each atom's local chemical neighborhood and predicts importance weights, letting each atom dynamically blend local and global perspectives as needed.
  • Frame-Quality-Aware Weighting: To cure discontinuities, the authors identify simple geometric warning signs of impending frame failure (such as shrinking gaps between PCA eigenvalues or collinear neighbor bonds). Each frame gets a continuous "quality score" paired with a smooth envelope function that forces its weight to decay to zero before the frame hits a mathematical singularity. For force tasks, the constant crystal lattice frame is given a fixed quality score of 1 so the model always has a stable fallback.
Figure 2: Illustration of the proposed MFAN architecture. MFAN follows a GNN pipeline with stacked interaction layers for iterative node and edge updates. In each layer, node representations are updated by attention-based aggregation of neighborhood information, while edge representations are enriched by a geometric encoder. This encoder uses the proposed multi-frame mechanism to extract directional information under multiple local and global frames, and a quality-aware frame router to adaptively combine them for improved geometric expressiveness and stability.

Datasets

MFAN is tested across two benchmark categories:

  • Crystal Property Prediction: JARVIS-DFT (~55k structures) and Materials Project (MP) (~69k structures), standard benchmarks for properties like formation energy, bandgaps, and elastic moduli.
  • Structure-to-Energy-and-Forces (S2EF):
  • MPTrj-light, a subset of MP structural relaxation trajectories.
  • Cu/O, an existing realistic surface catalysis dataset modeling oxygen restructuring on copper.
  • CeO$_2$/Pt (Newly Introduced): A self-collected dataset modeling platinum cluster reconstruction on cerium dioxide surfaces—a notoriously tricky quantum-mechanical system due to localized Ce $4f$ electrons and multiple electronic configurations.

Key Insights and Ideas

  • Global frames break local ties: Purely local frames are blind to global orientation, meaning two identical chemical groups sitting in different crystal orientations look indistinguishable. Proving and pairing at least one shared global frame with local frames cleanly resolves these rotational ambiguities.
  • Cheap stability without brute force: Previously, smoothing out frame discontinuities meant "frame averaging" over every possible pair of neighboring atoms—a huge computational bottleneck. MFAN shows you only need two or three fast, distinct frames if you smoothly mute whichever one is approaching degeneracy.
  • Decoupled design: Because frames only live inside the edge-feature encoder, MFAN acts as a plug-and-play wrapper—new frame designs drop right in without altering the GNN backbone or bloating parameter counts.

Key Results

  • Crystal Benchmarks: Multi-frame variants (lattice + PCA and lattice + QR) consistently beat single-frame versions and secure 1st or 2nd place on nearly all JARVIS-DFT and MP tasks. On JARVIS-DFT, MFAN hits a 0.0250 eV/atom MAE on formation energy and 0.037 eV on energy above hull (vs. 0.0261 and 0.042 for prior frame leader SPFrame). On MP, it lowers formation energy MAE to 0.0161 eV/atom and bandgap MAE to 0.179 eV.
  • Accuracy & Stability in Forces: On the Cu/O and CeO$_2$/Pt surface tasks, lattice + QR achieves the lowest energy and force errors across all baselines (including equivariant MACE), reaching 0.0251 eV/Å force MAE on Cu/O and 0.0944 eV/Å on CeO$_2$/Pt.
  • Taming Force Outliers: When rattling atomic positions with 0.05 Å Gaussian noise to mimic molecular dynamics steps, standalone QR frames suffer elevated force spikes (>10 eV/Å) on CeO$_2$/Pt (0.0091% outliers). Combining lattice + QR cuts outliers down to 0.0064% while boosting overall accuracy.

Limitations and Future Work

  • Scalar-only bottlenecks: MFAN scalarizes geometry into SE(3)-invariant distances and projections. For predicting complex higher-order physical properties, explicitly propagating equivariant vector or tensor features may still be better suited.
  • Variable simulation boxes: MFAN relies on the global lattice frame being rock-solid during atomic perturbations. However, constant-pressure (NPT) molecular dynamics simulations allow the crystal box itself to deform and fluctuate, which will require more robust global frame designs.
  • Next steps: Integrating MFAN directly into live atomistic simulation workflows to test its mettle in real-world scientific discovery.

Summary updated

Abstract

Reliable prediction of material properties from atomistic structures requires machine learning models that respect SE(3) symmetry. Frame-based methods address this challenge by constructing equivariant coordinate systems that align SE(3)-equivalent structures into unified representations. While attractive for their flexibility and efficiency, existing frame-based methods face two major limitations: a single frame type is often insufficient for heterogeneous atomic environments, and frame constructions can become unstable near highly symmetric or degenerate configurations. To address these issues, we propose the Multi-Frame Adaptive Network (MFAN), which leverages multiple frame types and introduces a local adaptive mechanism to combine them according to atomic environments, enabling different geometric references across atoms and complementary local-global information for each atom. Building on this multi-frame architecture, we further incorporate a frame-quality-aware weighting scheme that downweights unreliable frames before degeneration, thereby improving the continuity of the resulting representation. Experiments on crystal property prediction benchmarks demonstrate the leading performance of MFAN, with consistent gains from adaptive multi-frame learning. Additional force prediction experiments show improved stability in continuity-sensitive settings.
BibTeX
@inproceedings{wang2026adaptive,
  author = {Jun Wang and Yifan Zeng and Bo Han and Fengwang Li and Aoni Xu and Tongliang Liu},
  title = {{Adaptive Multi-Frame Learning for Expressive and Stable Atomic Representations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=U3iPm0WWuK},
}
Figure