Figure 3: Architecture of the FoldScape cascade. a , Data input and conditioning. Residue-level ESM-C embeddings [ 49 , 7 ]
ei∈RN×1152 and their sequence mean
eˉ∈R1152 —the latter entering the cascade through the frozen conformational latent
v of Section 2.8 —are combined with order parameters (
Q ,
R~g ,
fss ) computed from the trajectory frames of the training corpus, namely Gō-C
α coarse-grained MD on the 848 proteins drawn from AF-Sub1K and constant-velocity SMD, and are encoded by CondEncoder. AF-NR68K (67,605 sequences) is the non-redundant pool from which those subsets are drawn; the external MD repositories shown in the panel are held out for cross-validation and do not enter training. b , Round 1: sliding windows of
W=15 residues with stride 1 pass through a 6-layer Transformer trunk (
cs=384 , 16 heads) and a shared pair stream
z ; seven scale-specific PairFormer blocks (triangle update, triangle attention and pair-bias attention) predict the C
α –C
α distances
d^(k) at sequence separations
k=∣i−j∣=1 –7, which a multi-scale aggregation module and a 2-layer coordinate Transformer decode into the windowed trace
X^R1 . Conditioning
c (384) is re-injected by feature-wise linear modulation [ 24 ] ;
h(7) ,
z(7) and
g(k) are cached for Round 2. c , Round 2: the cached pair stream initialises
z(0)←Linear(zR1(7)) , and a second seven-scale cascade with a 4-layer coordinate Transformer predicts only the residual update
X^R2=X^R1+δX on the same 15-residue windows. d , Stage 1: cross-window attention pooling (short
k≤7 , long
8≤k<W , and residue-level
h ) lifts window-local features to the chain index; a 6-layer chain-level PairFormer trunk (
cs=384 ,
cz=128 ) with CondFiLM re-injection at every layer produces the single representation
s∈RN×384 and, through an auxiliary head, the full-chain coarse trace
X^S1=X^cons+δX . e , Flow matching: a 5-layer AlphaFold3-style decoder [ 5 ] (
cs=384 , 8 heads, AdaLN) with 32 register tokens, AdaLN modulation from
s , Fourier time features and self-conditioning learns the conditional velocity field
v^(Xt,t,s) along a rectified-flow trajectory [ 28 , 27 ] ; 100-step Euler integration from noise
X0 yields the C
α ensemble
{X^1(s)}s=1..S . Bottom, training order: R1
→ R2
→ Stage 1
→ flow matching, each stage trained with its upstream frozen.