arXiv:2610.41675cs.AIOct 2026

Manuscript Offprint

arXiv:2610.41675

Radial Kernel Attention for Long-Range Modeling in Polymer Machine Learning Force Fields

Wenbo Fu, Chenghui Mao, Chengwen Hu, Haifeng Lv, Zhou Lv

Abstract

We introduce Radial Kernel Attention (RKA) for long-range modeling in polymer machine learning force fields. Local neighbor graphs constrain communication across polymer chains and their surrounding environments, while explicit all-pair attention incurs quadratic cost. RKA maps atomic distances from the cluster centroid to learned radial features and combines their overlap with content-dependent queries and keys. Factorized aggregation and readout enable global feature exchange at linear cost in atom count for fixed feature dimensions. We insert the invariant scalar update between EquiformerV3 local blocks and obtain conservative forces by differentiating the total energy, including its radial coordinate dependence. We evaluate energy and force prediction for finite polymer-derived clusters in OPoly26. Our models are trained on the official training split for 12 epochs and evaluated directly after training on the complete official validation split. A matched 5M comparison shows that RKA reduces per-atom energy and force MAEs by 67.4% and 36.3%, respectively. The 20M RKA model is compared with UMA-S-1.2 and UMA-S-1.2.1 on the same validation structures. The 20M model attains a total-energy MAE of 15.81 meV and a force MAE of 2.619 meV/Å; its per-atom energy MAE is 0.1182 meV/atom. RKA provides a compact global communication pathway that improves energy and force prediction on the evaluated polymer-derived clusters.

1 Introduction

Learning interactions beyond a local neighbor graph is an important challenge for atomistic models of polymers. Changes in chain conformation alter bonded geometry, bring distant chain segments into contact, and reorganize interactions with surrounding chains, solvent molecules, and ions [1]. A machine learning force field (MLFF) learns energies and forces from electronic-structure data and must describe these different environments [2]. Polymer-derived clusters provide a concrete setting in which local chemical structure and the spatial arrangement of the wider system must be represented together. OPoly26 supplies quantum-chemical energy and force data across diverse polymer compositions, chain architectures, and solvation environments, making this setting accessible to learned atomistic models [3].

Local geometric networks offer a useful foundation for these models, from distance-based filters to higher-body-order equivariant messages [4–6]. They organize computation around nearby atoms and encode how geometric features transform under rotations. EquiformerV3, for example, combines equivariant graph attention with spherical nonlinearities to represent directional local environments [7]. Restricting messages to a distance cutoff controls the number of interactions processed at each layer. The same restriction, however, makes communication depend on the connectivity and depth of the local graph. After a finite number of layers, a node can depend only on nodes within its graph receptive field. Increasing depth extends this field within connected regions, but does not create a communication path between disconnected components.

*Corresponding author: wenboh.fu@gmail.com

The spatial extent of polymer clusters makes this distinction relevant. For each of the 5,902,827 OPoly26 training structures, spatial extent is measured by the maximum Euclidean distance between any pair of atoms, Dg=max⁡i,j∈g∥ri−rj∥2D_g = \max_{i,j \in g} \|r_i - r_j\|_2. The distribution of DgD_g across these structures has a median of 23.0 Å and a 90th percentile of 30.7 Å, compared with the 6 Å cutoff used by our local backbone. These distances characterize spatial extent rather than graph connectivity, but show why a single neighborhood does not describe the whole structure. More fundamentally, a purely local additive model cannot respond to the relative displacement of two disconnected fragments when their internal geometries and all local neighborhoods remain unchanged. Their relative arrangement can still matter physically. A global branch provides a route for such geometric changes to influence the learned representation without requiring a chain of local messages.

Designing this branch requires both a computational choice and a geometric one. Explicit all-pair attention connects every node pair but incurs quadratic work and storage when its interaction matrix is constructed. Factorized attention changes the order of aggregation and querying to avoid that matrix [8]. For geometric systems, the factorization must also carry information about spatial arrangement while respecting the host model's symmetries. Existing approaches include Fourier-space nonlocal messages, Euclidean positional representations, and all-to-all node attention [9–11]. The question addressed here is whether a compact, structure-relative radial representation can supply a useful global interaction mechanism alongside directional local features.

We introduce Radial Kernel Attention (RKA) for long-range modeling in polymer MLFFs. RKA uses distances from the cluster centroid to organize global feature exchange. Learned, overlapping Gaussian features map each atom into a shared radial representation. The overlap between two radial feature vectors defines a geometric kernel that modulates the content-dependent query-key interaction. RKA accumulates key-value matrices for each radial feature over the entire cluster, then lets each atom read these matrices through its own query and radial weights. Aggregation and readout are linear in atom count for fixed feature dimensions, and no all-pair interaction matrix is formed. The output is a gated scalar residual that can be inserted between local equivariant layers.

The local and radial representations have complementary roles. Local layers encode chemical and directional environments; the radial branch relates those environments to the cluster as a whole. Equal centroid radii produce equal geometric weights, but atoms can still interact differently through their learned queries and keys. Updating scalar channels preserves their geometric invariance and allows later local layers to use the globally updated features. In this paper, long-range modeling means making the learned energy depend on information beyond local graph connectivity. The contribution is the RKA mechanism and its integration into a polymer force field, with a general finite-point-set formulation used to make its assumptions and geometric properties explicit.

We instantiate RKA in a conservative EquiformerV3 potential by placing a radial branch after each local block. A scalar energy readout defines the total energy, and forces follow from its coordinate derivative. The centroid and radial features remain in the derivative graph, so force supervision trains the global pathway together with the local backbone. Charge/spin conditioning and screened short-range repulsion are shared by the 5M baseline and its RKA counterpart.

Our evaluation contains two principal comparisons on all 201,865 structures in the official OPoly26 validation split, with no skipped structures. The 5M comparison retains the local backbone and shared physical components: adding RKA reduces per-atom energy MAE from 0.4665 to 0.1521 meV/atom and force MAE from 6.632 to 4.223 meV/Å. The 20M comparison assesses the complete RKA model against UMA-S-1.2 and UMA-S-1.2.1 [12]. Our models are evaluated directly after 12 epochs of training on the official training split, without intermediate checkpoint selection. The 20M model reaches MAEs of 0.1182 meV/atom for per-atom energy, 15.81 meV per structure for total energy, and 2.619 meV/Å for forces, improving on both UMA versions. The official test set is unavailable to us; all reported results therefore use official validation.

The contributions of this work are:

  • A centroid-based radial kernel attention mechanism for global feature exchange in polymer force fields, combining spatial weights with content-dependent attention without constructing an all-pair interaction matrix.

  • A factorized implementation with linear complexity in atom count at fixed feature dimensions, geometric invariance of the scalar update, and integration with local equivariant layers and conservative force prediction.

  • An evaluation on OPoly26 that separates the effect of adding RKA to a shared 5M backbone from the predictive performance of a complete 20M RKA model relative to UMA, using official validation for both comparisons.

References (19)