When a crystal is cut, the atomic plane left on top can change what the surface does. In perovskite oxides, the work function (the energy needed to pull an electron out of the surface) is set by different physics on the two possible top planes. One plane behaves like the bulk crystal underneath. The other is controlled by the chemistry of the top atoms themselves. Machine-learning surrogates for surface properties usually take a single graph neural network, meaning a model that passes messages between neighboring atoms, and train it on all surfaces together. The implicit assumption is that one network design suits every termination. The neural architecture search literature has asked the matching question across datasets, "does an architecture that ranks well on task A also rank well on task B?", and found the answer is yes within image classification but close to no across scientific and graph tasks.
We propose to use surface termination as a controlled test of architectural transferability. The chemistry, crystal, and labeling pipeline stay fixed, and only the exposed plane changes. We will sample populations of crystal graph networks along a few interpretable design axes and train them separately on each termination. We then measure whether their rankings survive the switch. The central prediction comes from known physics. Rankings should transfer well between two versions of the same termination (a symmetric cubic cell and a distorted orthorhombic cell). They should break across terminations, and the break should be concentrated in the axes that control how far below the surface the network looks. If this holds, it gives a cheap rule for when a surface dataset needs termination-specific model design. It also gives a physically grounded account of why architecture transfer fails in scientific domains.
Core Claim
Our claim is that architecture rankings on surface-property regression are not a property of "the material" but of the boundary condition. We expect them to decompose in a specific way. Design choices that set locality should reorder when the termination flips from bulk-dominated to surface-dominated. These choices are the neighbor cutoff radius, the number of message-passing layers, and whether the final prediction pools over all atoms or weights atoms by depth. Choices that set expressiveness should keep their ranking, such as hidden width and the angular order of equivariant features. We further claim that a depth-resolved readout largely restores transfer across terminations. This readout lets the network learn, for each structure, how much weight to give each atomic layer below the surface.
The physical grounding comes from Data-driven analysis of the electronic-structure factors controlling the work functions of perovskite oxides. That study fits random forests on 21 hand-built descriptors over 1,248 DFT (density functional theory, the standard quantum-mechanical calculation) work functions. It finds that $BO_2$-terminated surfaces are governed by the bulk oxygen $2p$ band center. $AO$-terminated surfaces are instead governed by the $A$-site $s$-orbital radius and $B$-site $d$-band filling. The same paper reports that cubic proxy structures track orthorhombic ones with $R^2 = 0.929$. This motivates our positive control: if a symmetry change barely moves the property, it should barely move the architecture ranking. Experiments on the Weyl semimetal TaP show that metal- and nonmetal-terminated (001) surfaces carry visibly different Fermi arcs (Observation of Weyl nodes and Fermi arcs in tantalum phosphide). This suggests the phenomenon is general, but no labeled dataset of that kind exists in our material, so TaP serves as motivation only.
Relation to Prior Work
Three benchmarks set the architectural-transfer backdrop, and each serves as either motivation or constraint. NAS-Bench-201 exhaustively trains 15,625 cell architectures and finds rankings broadly correlated across CIFAR-10, CIFAR-100 and ImageNet-16-120. NAS-Bench-360 finds near-zero rank correlation between CIFAR-100 and tasks such as Darcy Flow or NinaPro. NAS-Bench-Graph trains 26,206 graph networks and reports that the best architecture on one citation graph rarely transfers to another, and that later layers matter more than early ones. All three compare tasks that differ in many ways at once: modality, label type, size, and graph statistics. None of them can say which difference caused the ranking to break. Our setting varies one physical factor with a known mechanistic effect. None of these benchmarks include periodic crystals, slabs, or physical distances.
Our statistical method comes from On Network Design Spaces for Visual Recognition. It compares populations of sampled models through their error distributions and Kolmogorov–Smirnov tests rather than comparing single winners. We reuse this because single-best-model comparisons on roughly 300 structures per condition would be dominated by noise. EZNAS evolves zero-cost scoring functions that reach Kendall's $\tau = 0.65$ on NAS-Bench-201 CIFAR-10. We treat it as a secondary question: whether such scores can flag termination-sensitive axes without training. Its expressions were derived on convolutional blocks, so we expect them to struggle.
On the materials side, The Open Catalyst 2020 (OC20) Dataset and Community Challenges adapts CGCNN, SchNet and DimeNet++ to periodic slabs. It shows poor out-of-domain generalization, but it compares fixed models rather than design spaces. Graph-based machine learning beyond stable materials and relaxed crystal structures studies weight transfer for one fixed CGCNN across relaxation stages and chemically similar phase diagrams. It finds large-database pretraining nearly useless on unstable structures but 60-point fine-tuning within a related chemistry very effective. Adapting OC20-Trained EquiformerV2 Models for High-Entropy Materials fine-tunes a large equivariant transformer to alloy surfaces. It needs a hand-built "atoms of interest" filter that restricts the energy sum to surface atoms near the adsorbate, and that filter degrades on multi-atom hollow sites. This paper is the closest cousin of our hypothesis. It is an existence proof that where the network pools information near a surface matters, but it fixes that choice by hand for one backbone. We instead measure, across populations, whether the locality choice is what changes between terminations.
Research Program
The design space is a message-passing crystal graph network built on periodic slab graphs of the kind used for OC20. We vary six axes. Three control locality: cutoff radius (4–8 Å), depth (2–6 layers), and readout type. The readout is either a global mean, a surface-top-layer mean, or a depth-resolved readout. The other three control expressiveness: width, equivariant feature order (invariant only versus vector features), and the choice of radial basis. The depth-resolved readout is our one new component and is deliberately simple. Each atom receives a depth coordinate $z_i$, its distance below the topmost atomic plane. The prediction is
$$\hat{\Phi} = \sum_i w_\theta(z_i, h_i)\, g(h_i), \qquad \sum_i w_\theta(z_i, h_i) = 1.$$
Here $h_i$ is atom $i$'s final learned feature, $g$ is a small output network, and $w_\theta$ is a softmax weight over atoms computed from depth and features. The global-mean and top-layer readouts are the two extremes of this family.
For each of four conditions, we sample 200 configurations uniformly from the design space. The conditions are {$AO$, $BO_2$} × {cubic, orthorhombic}. Each configuration is trained with a fixed recipe and three seeds, and all splits are made by composition so that no $ABO_3$ appears in both training and test. Labels come from the 1,248-surface perovskite dataset if released. Otherwise we regenerate it with the same PBE-plus-AiiDA workflow described by Xiong et al. PBE's systematic work-function underestimation does not matter here, because all conditions share the same functional and we compare rankings, not absolute accuracy. As a second, larger testbed, we take OC20 intermetallic slabs and partition them by the composition of the top atomic layer (metal-rich versus nonmetal-rich). We train on the relaxed-energy (IS2RE) target. This tests whether the pattern appears outside oxides and for an adsorption property instead of a work function.
The analysis has three layers. First, we compute rank correlation (Kendall's $\tau$) of the population between conditions. We normalize it by a noise ceiling, the seed-to-seed $\tau$ within a condition, so that "low transfer" cannot simply be training noise. Second, we attribute the ranking change to individual axes. We do this by comparing, per axis, the marginal error distributions across conditions with KS distance. We also fit a small regression of rank change on axis values. Third, we check whether the axis-level story matches physics. The best depth-resolved models on $AO$ should put most weight in the top layer. On $BO_2$, the weight should spread deeper.
Baselines
The naive reference point is a single fixed architecture trained on both terminations pooled, with no search and no termination information. We take DimeNet++ in its OC20 periodic form, which that paper found to be its strongest baseline, with a reported IS2RE energy MAE of about 0.4 eV (OC20). That number is on adsorption energies, not work functions. For perovskite work functions, no reported result was found on Lacuna for any graph network. We run DimeNet++ with the same splits and with a hyperparameter budget equal to the compute spent training one population member, times the number of population members we consider per condition. This gives it a fair tuning budget. Beating it means that the best termination-specific configuration drawn from our population lowers held-out MAE on the harder $AO$ termination by more than the seed standard deviation.
The strongest existing method is weight-level transfer from a large pretrained surface model. Concretely, this is OC20-pretrained EquiformerV2 fine-tuned on each termination with a new work-function output head. It follows the few-shot recipe of Adapting OC20-Trained EquiformerV2 Models for High-Entropy Materials, which reports 0.030 eV zero-shot and about 0.040 eV fine-tuned MAE for *OH adsorption on alloy surfaces. Those figures are for a different target, so they are context, not a bar we can directly compare against. We give it the same training data and a matched fine-tuning budget in GPU hours. For the OC20 top-layer split, it is the model to beat outright. Our claim is modest. The best small, locality-matched model should come within the seed noise of the fine-tuned transformer on the $AO$ termination at a fraction of the cost. It should also transfer across terminations with less loss than the transformer does when fine-tuned on one termination and tested on the other.
The descriptor baseline is the random forest on the 21 physical descriptors of Xiong et al., refit on our composition splits. The file contains no reported MAE for it (no reported result found on Lacuna), so we report our own refit. It serves as an accuracy reference, and it is also the source of the physical hypothesis we test.
Two ablations isolate our key ingredient. The first removes the depth-resolved readout from the design space. If cross-termination $\tau$ stays the same, then our proposed fix is not responsible for any recovered transfer. The second holds the locality axes fixed at their pooled optimum and varies only the expressiveness axes. The prediction is that cross-termination $\tau$ is then close to the noise ceiling.
Why not just…?
Why not just fine-tune a large pretrained model and ignore architecture? This is the real threat. If OC20-pretrained EquiformerV2 is equally accurate on both terminations after fine-tuning, then architecture choice is practically moot for this problem. Two pieces of evidence suggest it may not be. Its own adaptation paper needed a hand-built surface-atom filter to work, and that filter failed on hollow sites (EquiformerV2 for HEAs). Separately, large out-of-domain pretraining gave negligible gains for CGCNN on unstable structures (Graph-based ML beyond stable materials). The EquiformerV2 baseline settles this directly. If it matches the best locality-matched model on both terminations and in cross-termination transfer, we report that as the practical answer. The ranking analysis then stands only as a scientific finding.
Why not just train one model with a termination label as an extra input? A label tells the network which regime it is in, but not where the relevant information sits in the slab. We include this as a variant of the pooled DimeNet++ baseline. If it closes the $AO$ gap as well as the depth-resolved readout does, the readout is unnecessary, and we will say so. It cannot answer the transfer question in any case, because it never has to generalize to an unseen termination.
Why not just use the descriptor random forest, since the physics is already known? The random forest needs DFT-derived band centers as input, so it cannot screen raw structures. The same paper reports that its linear relation breaks when the oxygen $2p$ band center falls below −4 eV. The refit random forest tells us whether graph models add accuracy at all. We will report its error separately on the below −4 eV subset, where we expect graph models to help most.
Why not just run a full architecture search per termination? That answers "what is best here" but not "will what is best here carry over," which is the question that saves compute on the next material. Population sampling costs about the same as a modest search. Unlike a search, it yields per-axis attribution.
Decisive Checks
The central test is a 2×2 contrast. Let $\tau_{\text{sym}}$ be the population rank correlation between cubic and orthorhombic within a termination, and $\tau_{\text{term}}$ the correlation between $AO$ and $BO_2$ within a symmetry, both divided by the seed noise ceiling. The hypothesis predicts that $\tau_{\text{sym}}$ is near 1, mirroring the $R^2 = 0.929$ property correlation, while $\tau_{\text{term}}$ is markedly lower. If $\tau_{\text{term}} \approx \tau_{\text{sym}}$, termination does not reorder architectures, and the core claim is false. The attribution check predicts that the largest KS distances between termination-conditioned marginals lie on the cutoff, depth, and readout axes. If width or equivariant order dominates instead, the physical locality story is wrong, even if transfer breaks. The ablation check predicts that adding the depth-resolved readout raises $\tau_{\text{term}}$. It also predicts that the learned weights concentrate in the top layer for $AO$ and spread deeper for $BO_2$. Finally, we score each population with EZNAS-style and Synflow proxies and report their $\tau$ with trained error on each termination. We expect these zero-cost proxies to fail on the termination-sensitive axes, which would extend the proxy volatility seen in NAS-Bench-360 to atomistic slabs. All claims will be repeated on the OC20 top-layer split to check that the pattern holds beyond perovskite work functions.
References
- Data-driven analysis of the electronic-structure factors controlling the work functions of perovskite oxides
- Observation of Weyl nodes and Fermi arcs in tantalum phosphide
- NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
- NAS-Bench-360: Benchmarking Neural Architecture Search on Diverse Tasks
- NAS-Bench-Graph: Benchmarking Graph Neural Architecture Search
- On Network Design Spaces for Visual Recognition
- EZNAS: Evolving Zero-Cost Proxies For Neural Architecture Scoring
- The Open Catalyst 2020 (OC20) Dataset and Community Challenges
- Graph-based machine learning beyond stable materials and relaxed crystal structures
- Adapting OC20-Trained EquiformerV2 Models for High-Entropy Materials