PAE distribution compresses between 3.0.1 and 3.0.4 on the same af3.bin parameters (protein-RNA-DNA complex)

Author: shengdarCreated Sep 22, 2026Updated Sep 22, 2026

Summary

On a protein–RNA–DNA complex, AlphaFold 3 3.0.4 produces systematically different PAE from 3.0.1 using the same af3.bin parameters, and the difference is concentrated on the highest-signal cases rather than spread across the input set. Low PAE values rise and high PAE values fall — the distribution compresses toward the middle — while mid-range cases barely move.

I am reporting this as an observation with a reproducer rather than as a bug claim: I cannot say which version is closer to the truth, because the structures involved have no experimental reference. But the change is large enough to invert a downstream decision threshold, so it seems worth knowing about.

System

SpCas9 in complex with sgRNA and a DNA duplex — 1,527 tokens, padding bucket 1536:

chain type length
A protein (SpCas9) 1362
B RNA (sgRNA) 116
C DNA (target strand) 30
D DNA (PAM strand) 19

Precomputed MSA (9,262 rows) and 4 templates supplied inline; --norun_data_pipeline. Flags identical across versions: --num_diffusion_samples 5 --num_recycles 10 --flash_attention_implementation triton. One NVIDIA H100 80GB. Parameters byte-identical (sha256 3d110ec57342f59cb08225f43ae2a2e03ac3b34b8e50b39c23ad066790c8ee8a).

Measurement

The quantity of interest is minPAE(chain A ↔ chain D) — the minimum predicted aligned error between the protein and the 19-nt DNA strand, taken from the full token PAE matrix sliced by chain label, minimised over all 19 bases of chain D and over the 5 diffusion samples. (We also track a narrower variant restricted to a 3-base subset of chain D; every number in this report is the all-bases one, and the two are not mixed.) We compute it for two variants of the same complex that differ only in 2–3 DNA bases in chain D, and take the difference:

Δ = minPAE(variant B) − minPAE(variant A)

49 complexes, each folded twice (98 folds per version), identical input JSONs for both versions. The 49 are stratified by their 3.0.1 Δ into 5 "high" cases, 22 mid, 22 low.

Folds, scoring script and per-design records: af3_bench/panel_fast/{out_301,out_304} and af3_bench/panel_fast/score/ (legs_vs_banked.py, analysis_five_full.json) under …/claude/cas9-pam-design-results/. 3.0.1 arm: SLURM job 370855 and the panel folds of 2026-09-21 (CDT); 3.0.4 arm: the out_304 folds of 2026-09-22 (CDT).

Result

Per-leg means, 3.0.1 → 3.0.4:

stratum n leg A minPAE leg B minPAE net effect on Δ
high-Δ 5 1.680 → 1.860 (+0.180) 2.200 → 2.100 (−0.100) −0.280
mid-Δ 22 +0.023 +0.036 ~+0.01
low-Δ 22 +0.009 +0.032 ~+0.02

Both legs move in the direction that shrinks Δ, and only in the high-Δ stratum. Rank ordering is preserved (AUC separating high from low is 1.000 in both versions); what changes is the effect size — Cohen's d between the high and low strata falls 9.70 → 6.81 — and the absolute scale.

Per-complex, the five high-Δ cases go +0.50, +0.60, +0.50, +0.50, +0.50 → +0.30, +0.30, +0.10, +0.20, +0.30 (stratum mean +0.520 → +0.240).

What we ruled out

  • Not the parameters. Byte-identical, hash above.
  • Not the inputs. Both versions folded the same 98 JSON files from one directory.
  • Not a third-party fork. We first saw this through sokrypton/alphafold3 v3.1.4 and suspected two ungated lines in its atom_cross_attention.py. Gating them made that fork numerically identical to stock 3.0.4 (0 of 98 legs differed) — and stock 3.0.4, built from upstream and unpatched, shows the same shift. The fork was a red herring.
  • Not our tooling. The 3.0.1 arm reproduces values recorded months earlier by an independent pipeline on all 49 complexes, both legs: mean difference +0.0000, sd 0.0000, max|difference| 0.00, 49/49 exact (af3_bench/panel_fast/score/legs_vs_banked.py). The 3.0.4 arm, on the same legs, matches on 19/49 (protein↔DNA leg A) and 23/49 (leg B).

A guess, not a diagnosis

3.0.2 moved flash attention and SwiGLU onto Tokamax, and 3.0.4 updated JAX 0.9.1 → 0.10.2 and Tokamax 0.0.11 → 0.0.12. A change in accumulation order in the confidence head would plausibly smooth extreme PAE values while leaving mid-range ones alone, which is the shape of what we see. We have not tested this.

Why it matters downstream

PAE differences of this size are used as a decision threshold in protein-design screening. Here an absolute cutoff at Δ ≥ +0.5 selects 5 of 49 complexes under 3.0.1 and 0 of 49 under 3.0.4 — the same folds, the same weights, the same inputs. Anyone thresholding on PAE differences across an AF3 version bump should re-derive the threshold rather than carry it over.

Reproducer

Any protein–nucleic-acid complex where a small ligand/DNA perturbation produces a confident prediction will do. Fold the same input under 3.0.1 and 3.0.4 with identical flags and compare chain_pair_pae_min and the token PAE matrix, paying attention to whether the shift is uniform or concentrated at the extremes. I am happy to share the exact inputs if useful.

Caveats, stated plainly

  • n = 5 in the affected stratum, on ~3 distinct protein backbones, one system, one seed.
  • These are computational designs with no experimental validation, so "3.0.1 is right and 3.0.4 compresses" and "3.0.4 is right and 3.0.1 was over-confident" are both consistent with the data.
  • 3.0.2 and 3.0.3 were not tested; the bisect between 3.0.1 and 3.0.4 is open.

Source: google-deepmind/alphafold3