---
title: DOS Transformer for Adsorption (DOTA)
url: https://www.emergentmind.com/topics/dos-transformer-for-adsorption-dota
type: topic
---

# DOS Transformer for Adsorption (DOTA)

DOS Transformer for Adsorption (DOTA) is a deep learning model introduced by Zhang & Cao for predicting adsorption energies from local density of states (LDOS) information on metallic and intermetallic surfaces. It is designed for the setting in which experimental adsorption energies are scarce, density functional theory (DFT) calculations are computationally expensive for large-scale screening, and machine-learning surrogates must contend with functional dependency, limited high-fidelity labels, and interpretability. DOTA combines LDOS-based feature engineering with a multi-head Transformer encoder, is pretrained on PBE-level DFT data, and can be fine-tuned with minimal experimental or hybrid-functional data to predict adsorption energies with chemical accuracy; the reported study further states that it resolves the CO/Pt(111) site-preference puzzle and outperforms the d-band center and Fermi softness models [2507.20496].

## 1. Scientific context and problem formulation

Adsorption energy is presented as a critical descriptor for high-throughput screening of heterogeneous catalysts and electrode materials. The motivating difficulty is twofold: precise experimental adsorption energies are scarce because the underlying experiments are complex, while direct DFT evaluation remains too costly for large-scale searches. The paper positions DOTA as a response to three longstanding constraints in adsorption modeling: functional dependency, limited labeled high-fidelity data, and lack of interpretability in black-box predictors.

Within this framing, DOTA is not merely a regression model over composition or geometry. It is built around the premise that LDOS contains the orbital-level information needed to encode donation and backbonding behavior across a broad range of adsorption systems. The stated scope of the pretrained model is broad: a single model is reported to cover 11 adsorbates on 1 982 distinct (111) metal/intermetallic surfaces spanning 37 elements. This suggests a deliberate attempt to make the representation transferable across both adsorbate identity and substrate chemistry, rather than tailoring a separate model for each chemisorption problem.

The model is also explicitly situated against traditional electronic descriptors. The paper states that DOTA outperforms the d-band center and Fermi softness models, and it highlights the “CO puzzle” as a benchmark case where conventional approximations and functional choices have difficulty simultaneously describing adsorbate frontier orbitals and metal electronic structure.

## 2. LDOS input representation and feature engineering

The input is described as LDOS, implemented through spin-polarized projected density of states (PDOS) computed by VASP using PAW/VASP with PBE or other functionals. For each bare surface atom, the PDOS is resolved on a uniform energy grid with $\Delta E = 0.01\ \mathrm{eV}$ centered on the Fermi level, and it is decomposed into angular-momentum channels $\ell \in \{s,p,d,f\}$ [2507.20496].

The channel construction is explicit. For the surface, there are 32 PDOS channels per atom, described as eight $\ell,m$ combinations times two spins. For the adsorbate, there are 8 PDOS channels per atom, described as four $\ell$ channels times two spins. The summary gives a concrete example: for a bridge site on a (111) surface, 2 surface atoms contribute $2\times 32 = 64$ surface channels, and the adsorbate contributes 8 channels, for 72 channels in total.

The preprocessing pipeline consists of three stages. First, all DOS curves undergo energy-axis average pooling, with example kernel size 4–8, to reduce noise and normalize grid length. Second, each channel $w_i$ is linearly projected into a $d_{\text{model}}$-dimensional embedding through

$$
X_i = \phi(W^0 w_i + b^0),
$$

where $\phi$ is ReLU and $W^0 \in \mathbb{R}^{d_{\text{model}}\times E_{\text{pool}}}$ maps the pooled DOS into the model space. Third, the summary states that surface and adsorbate channel embeddings share $W^0$ and are concatenated only after the attention encoder.

This representation is physically informed in a narrow and specific sense: it encodes orbital-resolved spectral information directly, rather than relying on a low-dimensional handcrafted descriptor. A plausible implication is that the model is intended to preserve enough spectral structure to distinguish adsorption regimes that appear similar under scalar descriptors such as a single d-band statistic.

## 3. Transformer encoder and regression head

DOTA uses a stack of $N=4$ Encoder blocks. Each block contains four standard components in sequence: Multi-Head Self-Attention with $h=8$ heads, Add & LayerNorm, a position-wise feed-forward network (FFN), and a second Add & LayerNorm. The attention formulation is written for concatenated channel embeddings $X\in\mathbb{R}^{C\times d_{\text{model}}}$, where $C\approx 72$.

For each head $k=1,\dots,h$, the block computes

$$
Q^k = X W^Q_k,\qquad K^k = X W^K_k,\qquad V^k = X W^V_k,
$$

with $W^{Q,K,V}_k \in \mathbb{R}^{d_{\text{model}}\times d_k}$ and $d_k = d_{\text{model}}/h$. The scaled dot-product attention is then

$$
A^k = \mathrm{softmax}\!\left(\frac{Q^k (K^k)^T}{\sqrt{d_k}}\right)\in\mathbb{R}^{C\times C},
\qquad
H^k = A^k V^k \in\mathbb{R}^{C\times d_k}.
$$

The multi-head output is

$$
H = \mathrm{Concat}(H^1,\dots,H^h)W^O,
$$

with $W^O\in\mathbb{R}^{d_{\text{model}}\times d_{\text{model}}}$.

The model does not treat the channels as a strict sequence. Instead of sinusoidal positional encodings, it uses a learned “channel-type” embedding $P$. The summary notes that in a standard sequential case one could use

$$
PE_{pos,2i} = \sin(pos/10000^{2i/d_{\text{model}}}),
\qquad
PE_{pos,2i+1} = \cos(pos/10000^{2i/d_{\text{model}}}),
$$

but the operative choice in DOTA is the learned channel-type embedding.

The FFN is specified as

$$
\mathrm{FFN}(X) = \phi(XW_1 + b_1)W_2 + b_2,
$$

with $W_1\in\mathbb{R}^{d_{\text{model}}\times d_{\text{ff}}}$, $W_2\in\mathbb{R}^{d_{\text{ff}}\times d_{\text{model}}}$, and $d_{\text{ff}}\approx 4\cdot d_{\text{model}}$. Residual connections and normalization are applied as

$$
Y = \mathrm{LayerNorm}\!\left(X + \mathrm{MultiHeadAttention}(X)\right),
$$

$$
Z = \mathrm{LayerNorm}\!\left(Y + \mathrm{FFN}(Y)\right).
$$

The output of the last encoder block, $Z_{\text{final}}\in\mathbb{R}^{C\times d_{\text{model}}}$, is flattened and passed through two fully connected layers to yield a scalar adsorption energy $\hat{y}$. The architectural emphasis is on modeling inter-channel couplings among orbital-resolved DOS channels, which the paper associates with orbital interaction patterns.

## 4. Pretraining and fine-tuning protocol

The pretraining stage, denoted DOTA-PBE, uses 23 861 adsorption entries covering 11 adsorbates (H, C, N, O, S, CH, CH$_2$, CH$_3$, NH, OH, H$_2$O, SH) on 1 982 distinct (111) metal/intermetallic surfaces from 37 elements. The pretraining loss is the $L_1$ loss,

$$
L_{\text{pre}} = \frac{1}{N}\sum_i |y_i - \hat{y}_i|.
$$

Optimization uses AdamW with initial learning rate $2\times 10^{-4}$, weight decay $1\times 10^{-2}$, batch size 256, and 150 epochs with a 50-epoch warmup; the learning-rate scheduler is exponential cosine annealing. The reported 5-fold cross-validation result is $\mathrm{MAE}=0.066\ \mathrm{eV}$ and $\mathrm{MAPE}=1.53\%$ [2507.20496].

Fine-tuning is formulated as a few-shot high-fidelity adaptation procedure for chemically accurate CO energies. The augmentation data consist of 988 LDOS–$E_{\text{ads}}$ pairs from PBE, RPBE, and PBEsol on 174 surfaces. The high-fidelity component contains 4 experimental microcalorimetry points for Pd, Cu, Ir, and Ni, together with HSE06-computed gas-phase CO LDOS. The combined input used in fine-tuning is surface LDOS from PBE or another GGA together with adsorbate LDOS from HSE06.

The fine-tuning objective mixes squared and absolute error:

$$
L_{\text{fine}} = \alpha\cdot \mathrm{MSE} + (1-\alpha)\cdot \mathrm{MAE},
$$

that is,

$$
L_{\text{fine}} = \alpha\left(\frac{1}{N}\sum (y_i-\hat{y}_i)^2\right) + (1-\alpha)\left(\frac{1}{N}\sum |y_i-\hat{y}_i|\right).
$$

The reported fine-tuning regime uses learning rate $\approx 1\times 10^{-5}$, epochs $\le 20$, batch size 32, and minimal regularization. In the paper’s presentation, this stage is what enables transfer from a large PBE-level corpus to chemically accurate predictions under very limited higher-fidelity supervision.

## 5. Reported accuracy and comparison with traditional descriptors

The reported pretraining performance is $\mathrm{MAE}=0.066\ \mathrm{eV}$ and $\mathrm{MAPE}=1.53\%$. Adsorbate-wise, the summary lists $0.042\ \mathrm{eV}$ for H and $0.096\ \mathrm{eV}$ for NH. On an out-of-sample OH(111) test for Ag and Au, the DOTA error is reported as $\lesssim 0.04\ \mathrm{eV}$, whereas d-band model errors are reported as greater than $0.5\ \mathrm{eV}$ [2507.20496].

The paper gives a direct comparison for OH atop Ag(111) and Au(111). For OH@Ag(111), DOTA-PBE predicts $-1.71\ \mathrm{eV}$, PBE DFT gives $-1.67\ \mathrm{eV}$, the d-band center model gives $-0.85\ \mathrm{eV}$, and the Fermi softness model gives $-1.10\ \mathrm{eV}$. For OH@Au(111), DOTA-PBE predicts $-1.13\ \mathrm{eV}$, PBE DFT gives $-1.01\ \mathrm{eV}$, the d-band center model gives $-0.45\ \mathrm{eV}$, and the Fermi softness model gives $-0.90\ \mathrm{eV}$. The Ag–Au adsorption-energy difference is reported as $-0.58\ \mathrm{eV}$ for DOTA-PBE, $-0.66\ \mathrm{eV}$ for PBE DFT, $-0.40\ \mathrm{eV}$ for the d-band center model, and $-0.20\ \mathrm{eV}$ for the Fermi softness model.

For fine-tuned CO prediction, the best input combination is stated to be HSE06 CO LDOS plus PBE surface LDOS. Under this setting, the model predicts CO-top adsorption on Pt(111) as $\hat{y}=-1.85\ \mathrm{eV}$ versus experiment $\approx -1.80\ \mathrm{eV}$, and on Rh(111) as $\hat{y}=-1.64\ \mathrm{eV}$ versus experiment $\approx -1.60\ \mathrm{eV}$; both reported errors are less than $0.05\ \mathrm{eV}$. The summary further states that the correct site preference, top versus fcc, is resolved.

A common oversimplification in adsorption modeling is to treat a single electronic descriptor as sufficient. The values reported here indicate that, at least for the cited OH and CO cases, the d-band center and Fermi softness models do not reproduce the same level of quantitative agreement as the LDOS-based Transformer.

## 6. Interpretability and the CO/Pt(111) puzzle

The model’s interpretability is discussed through integrated gradients and attention-map analysis. For attribution over energy bins $e_j$, the integrated-gradient score is written as

$$
IG_j = (x_j - x_j^{\text{baseline}})\int_{\alpha=0}^1
\frac{\partial f(x_{\text{baseline}} + \alpha(x-x_{\text{baseline}}))}{\partial x_j}\, d\alpha.
$$

According to the summary, this reveals which DOS regions dominate a prediction, including CO $5\sigma$, $2\pi^\ast$ peaks, and the metal d-band near $\varepsilon_F$. Attention-map analysis uses the head-wise attention weights $A_{ij}$ to indicate inter-channel coupling, with the explicit example of CO $2\pi^\ast \leftrightarrow$ metal d-state interactions [2507.20496].

The “CO puzzle” is described as follows. PBE underestimates the CO HOMO–LUMO gap, which leads to overbinding via an artificially low $2\pi^\ast$ level and consequently the wrong fcc site preference on Pt(111). HSE06 corrects the gap but mis-describes the metal bandwidth. DOTA addresses this by fusing PBE surface LDOS with HSE06 CO LDOS. In the paper’s account, this combination recovers both correct backbonding and donation in the attention layers, yielding chemically accurate energies and the correct top-site preference.

This discussion is significant because it frames interpretability in orbital terms rather than only feature importance in an abstract vector space. A plausible implication is that the model is meant to remain diagnostically useful even when trained as a high-capacity predictor, allowing one to connect individual predictions to familiar chemisorption concepts such as donation, backdonation, and d-state coupling.

## 7. Screening applications, transferability, and computational role

The application domain emphasized in the paper is high-throughput catalyst and electrode screening. The stated input requirement is only bare surface PDOS together with gas-phase PDOS, so the workflow does not require full adsorbate geometry relaxations. The paper reports a typical speed-up of $10^3$–$10^4\times$ relative to full adsorption DFT, with the PDOS of a clean slab taking on the order of minutes and Transformer inference taking on the order of milliseconds [2507.20496].

Transferability is presented at two levels. First, the pretrained model spans 11 adsorbates and 37 elements in a single network. Second, fine-tuning with as few as 4 experimental points is reported to yield chemical accuracy across new surfaces. The intended computational role is therefore not to replace all first-principles calculations, but to enable rapid down-selection of promising candidates for subsequent full DFT or experimental follow-up.

In this formulation, DOTA occupies an intermediate position between descriptor-based theory and direct high-fidelity simulation. It uses a richer electronic-structure representation than scalar descriptors such as the d-band center, yet it remains substantially cheaper than repeated adsorption calculations. The reported combination of LDOS-based featurization, multi-head self-attention, integrated-gradient attribution, and few-shot fine-tuning is presented as the mechanism by which the model bridges computational and experimental adsorption energetics.

Source: https://www.emergentmind.com/topics/dos-transformer-for-adsorption-dota