Skip to content

PxD-Bridge v2.1.0 (Fine-tuning & POTCAR SAD)

Choose a tag to compare

@klsk007 klsk007 released this 02 Dec 14:41
· 10 commits to main since this release

PxD-Bridge (EqV3 OMat-G–EdenGNN-Uni) v2.1.0 adds few-shot and domain fine-tuning (pxd-finetune), built-in VASP PAW SAD calculation from POTCAR, custom checkpoint inference (pxd-predict --weights), and the optional real-DFT fine-tuned DFT-1544 checkpoint alongside the bundled teacher-only v2.0.0 weights.

What's new in v2.1.0

  • pxd-finetune CLI & pxd_bridge.finetune API:
    • Keeps EqV3 OMat-G frozen and caches its dual-parity features once per structure before training (peak memory < 3 GB, ~0.5–2 min on a single GPU).
    • Supports --chgcar, --data-dir, and --manifest, with --scope bridge | joint | decoder, hybrid uniform + $|\Delta\rho|$-importance voxel sampling, and L2-SP anchor regularization.
  • Automatic VASP PAW SAD (pxd_bridge.sad): computes exact reciprocal-space PAW atomic superposition densities directly from single- or multi-species VASP POTCAR files (--potcar), alongside --sad-chgcar.
  • Custom checkpoint & POTCAR inference: pxd-predict and Predictor accept --weights custom.pt and --potcar POTCAR.
  • Optional DFT-1544 checkpoint (pxd-bridge-eqv3-edengnn-dft1544.pt): initialized from the bundled teacher-only v2.0.0 weights and fine-tuned (--scope joint, 8 epochs, EqV3 OMat-G frozen) on 1,544 archived nonmagnetic PAW-PBE VASP CHGCAR grids spanning 86 elements (zero ID or geometry overlap with all blind test sets).

Optional DFT-1544 vs. teacher-only zero-calibration benchmarks

Zero-calibration benchmark Observable EdenGNN-Uni Teacher-only PxD-Bridge DFT-1544 DFT-1544 wins vs. teacher-only
Full bulk1000 (1,000 crystals, zero exclusions) Total density $E_\rho$ 1.2309% 1.2253% 1.1384% 750 / 1,000
— 965 non-W bulk crystals Total density $E_\rho$ 1.2463% 1.2407% 1.1524% 725 / 965
— 35 W-containing crystals (zero-shot unseen W) Total density $E_\rho$ 0.8087% 0.7994% 0.7511% 25 / 35 (-0.0484 pp, CI [-0.091, -0.008])
strain100 (100 pairs) Unstrained / strained $E_\rho$ 1.1433% / 1.4017% 1.0483% / 1.2341% 0.9172% / 1.0582% 74 / 100 · 82 / 100
Charge redistribution $E_{\Delta,N_e}$ 0.7390% 0.5937% 0.5006% 93 / 100
Extended 578 pairs (79 elements) Unperturbed total density $E_\rho(0)$ 0.6845% 0.6755% 0.5713% 442 / 578
Perturbed total density $E_\rho(u)$ 0.8352% 0.7726% 0.6340% 499 / 578
Charge redistribution $E_{\Delta,N_e}$ 0.4652% 0.3829% 0.3049% 560 / 578 (96.9%, all 79/79 elements)
— Lattice strain (290 pairs) $E_{\Delta,N_e}$ 0.3938% 0.3338% 0.2645% 278 / 290 (95.9%)
— Atomic rattle (288 pairs) $E_{\Delta,N_e}$ 0.5371% 0.4323% 0.3456% 282 / 288 (97.9%)
Four MoS₂ nanotubes Total density $E_\rho$ 1.0408% 0.9849% 1.1428% 0 / 4

Even though DFT-1544 saw zero tungsten (W) atoms during fine-tuning, it generalizes zero-shot to all 35 W-containing crystals in blind1000 (0.7511% vs. 0.7994% teacher-only and 0.8087% EdenGNN-Uni). Across the complete, zero-exclusion bulk1000 benchmark, both teacher-only v2.0.0 (1.2253%) and DFT-1544 (1.1384%) statistically significantly outperform EdenGNN-Uni (1.2309%). On vacuum-embedded MoS₂ nanotubes, the bundled teacher-only checkpoint remains more accurate (0.9849% vs. 1.1428%). Both weights are provided so users can choose via --weights:

pxd-predict POSCAR prediction.npz \
  --eqv3 omat24_gradient.pt \
  --weights pxd-bridge-eqv3-edengnn-dft1544.pt \
  --potcar POTCAR --grid 48 48 48

Per-structure, per-pair, and per-element archives are in benchmarks/.

Release artifacts

File SHA-256
Python wheel (pxd_bridge-2.1.0-py3-none-any.whl) c41cc999eecfaac447872a99e536a129ca654a771fd4509b2a05304bcd58a3b1
Bundled teacher-only weights (pxd-bridge-eqv3-edengnn-v2.0.0.pt) 10a4f286cd02ef1f52c4964a26a0730c2517784b258849b04a6637c71aeb7f45
Optional DFT-1544 fine-tuned weights (pxd-bridge-eqv3-edengnn-dft1544.pt) 2c73c3da2a32fea35930024951992b561d24cc4f00c535f79d3526ed89b23489