Repository navigation
PxD-Bridge v2.1.0 (Fine-tuning & POTCAR SAD)
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-finetuneCLI &pxd_bridge.finetuneAPI:- 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.
- Keeps EqV3 OMat-G frozen and caches its dual-parity features once per structure before training (peak memory
-
Automatic VASP PAW SAD (
pxd_bridge.sad): computes exact reciprocal-space PAW atomic superposition densities directly from single- or multi-species VASPPOTCARfiles (--potcar), alongside--sad-chgcar. -
Custom checkpoint & POTCAR inference:
pxd-predictandPredictoraccept--weights custom.ptand--potcar POTCAR. -
Optional
DFT-1544checkpoint (pxd-bridge-eqv3-edengnn-dft1544.pt): initialized from the bundled teacher-onlyv2.0.0weights and fine-tuned (--scope joint, 8 epochs, EqV3 OMat-G frozen) on 1,544 archived nonmagnetic PAW-PBE VASPCHGCARgrids 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 |
1.2309% | 1.2253% | 1.1384% | 750 / 1,000 |
| — 965 non-W bulk crystals | Total density |
1.2463% | 1.2407% | 1.1524% | 725 / 965 |
| — 35 W-containing crystals (zero-shot unseen W) | Total density |
0.8087% | 0.7994% | 0.7511% |
25 / 35 (-0.0484 pp, CI [-0.091, -0.008]) |
strain100 (100 pairs) |
Unstrained / strained |
1.1433% / 1.4017% | 1.0483% / 1.2341% | 0.9172% / 1.0582% | 74 / 100 · 82 / 100 |
| Charge redistribution |
0.7390% | 0.5937% | 0.5006% | 93 / 100 | |
| Extended 578 pairs (79 elements) | Unperturbed total density |
0.6845% | 0.6755% | 0.5713% | 442 / 578 |
| Perturbed total density |
0.8352% | 0.7726% | 0.6340% | 499 / 578 | |
| Charge redistribution |
0.4652% | 0.3829% | 0.3049% |
560 / 578 (96.9%, all 79/79 elements) |
|
| — Lattice strain (290 pairs) | 0.3938% | 0.3338% | 0.2645% |
278 / 290 (95.9%) |
|
| — Atomic rattle (288 pairs) | 0.5371% | 0.4323% | 0.3456% |
282 / 288 (97.9%) |
|
| Four MoS₂ nanotubes | Total density |
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 48Per-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 |