Skip to content

PxD-Bridge v2.1.1 (Unbiased Fine-tuning, I/O Fixes & DFT-1616 Checkpoint)

Choose a tag to compare

@klsk007 klsk007 released this 03 Dec 13:08
· 7 commits to main since this release

PxD-Bridge (EqV3 OMat-G–EdenGNN-Uni) v2.1.1 fixes five fine-tuning and I/O issues identified in v2.1.0 and ships the DFT-1616 real-DFT fine-tuned checkpoint (trained with v2.1.1 on 1,616 real VASP CHGCAR structures covering all 87/87 EdenGNN training elements and matching the 2D/1D/vacuum proportions of the official 50,000-structure training set).

Optional real-DFT fine-tuned checkpoint: DFT-1616 (all 87 elements + proportional 2D/1D/vacuum)

Trained from v2.0.0 with pxd-finetune (v2.1.1, --scope joint, epochs=16, grad_accum=8, anchor_weight=0.01, neutrality_weight=0.1, weight_decay=0.0) on 1,616 real VASP CHGCARs (1,544 non-W base + 40 W bulk + 32 low-dimensional / vacuum structures: 15 $\ge 10\text{ Å}$ vacuum 2D sheets, 7 layered 2D crystals, and 10 1D chains including 3 vacuum chains; 46 W structures total, strictly disjoint from all test/validation suites).

Blind benchmark EdenGNN-Uni v2.0.0 (teacher-only) DFT-1616 (v2.1.1) DFT-1616 win rate
Full bulk 1,000 (bulk1000, $n=1{,}000$, zero exclusions) 1.2309% 1.2253% 1.1077% 912/1000 vs v2; 807/1000 vs Eden
  ↳ W-containing subset (W35, $n=35$) 0.8087% 0.7994% 0.7122% 35/35 (100%) vs v2; 31/35 vs Eden
strain100 unstrained $E_\rho(0)$ / strained $E_\rho(u)$ ($n=100$) 1.1433% / 1.4017% 1.0483% / 1.2341% 0.8706% / 1.0175% 84/100 vs v2; 89/100 vs Eden (strained)
strain100 redistribution $E_{\Delta,N_e}$ ($n=100$) 0.7390% 0.5937% 0.4928% 93/100 vs v2; 91/100 vs Eden
periodic578 $E_\rho(0)$ / $E_\rho(u)$ ($n=578$, 79 elements) 0.6845% / 0.8352% 0.6755% / 0.7726% 0.5370% / 0.6019% 543/578 vs v2; 522/578 vs Eden (perturbed)
periodic578 redistribution $E_{\Delta,N_e}$ ($n=578$, 79 elements) 0.4652% 0.3829% 0.3002% 565/578 vs v2 (79/79 elements); 572/578 (99.0%) vs Eden
  ↳ Strain (290) / Rattle (288) $E_{\Delta,N_e}$ 0.3938% / 0.5371% 0.3338% / 0.4323% 0.2599% / 0.3407% 285/290 & 287/288 vs Eden
Four MoS₂ nanotubes (n=4, vacuum-bearing OOD) 1.0408% 0.9849% 0.9500% 4/4 (100%) vs both v2 & Eden

Use it directly with pxd-predict:

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

Fixes & improvements in v2.1.1

  1. Unbiased stratified voxel sampling (pxd_bridge.finetune): replaces the unweighted mixture loss with explicit uniform probes plus clipped Horvitz–Thompson inverse-propensity weighted $|\Delta\rho|$-importance probes, keeping the field loss an unbiased estimator of the full-grid integral $E_\rho$ (preserving 3–4 Å tails and vacuum).
  2. Control-variate charge-neutrality regularization (--neutrality-weight 0.1): penalizes (pred_unif.mean() - target_unif.mean()).abs() on the unbiased uniform probe subset to suppress global/vacuum DC drift without Monte Carlo variance.
  3. Automatic mini-batch gradient accumulation (--grad-accum 0 → min(8, n_train)): replaces noisy single-structure optimizer updates with multi-structure gradient accumulation and adjusted cosine LR scheduling.
  4. True decoupled L2-SP anchor decay (--anchor-weight 1e-2, --weight-decay 0.0): stops standard AdamW weight decay from shrinking pretrained weights and unseen-element embeddings toward zero, pulling trainable parameters gently toward the pretrained initialization $\theta_0$ instead.
  5. VASP CHGCAR negative volume scale + Cartesian fix (pxd_bridge.sad): scales Cartesian atomic coordinates by ((-scale) / vol_raw) ** (1/3) consistently with the lattice vectors when scale < 0.

Release artifacts

File SHA-256
Python wheel (pxd_bridge-2.1.1-py3-none-any.whl) 06c6871afcb5b11f64be7be7a7bafbbf82a038866d1b8e544b9e5e1327641bcd
Bundled teacher-only weights (pxd-bridge-eqv3-edengnn-v2.0.0.pt) 10a4f286cd02ef1f52c4964a26a0730c2517784b258849b04a6637c71aeb7f45
Optional DFT-1616 fine-tuned weights (recommended, all 87 elements + 2D/1D/vacuum, pxd-bridge-eqv3-edengnn-dft1616.pt) 9ca1b78fcc28ed005771e2a715d79635a62d596ccc630d4b17b21bff812ae5d2