CPFlow: Full-Atom Cyclic Peptide Design via Masked Autoregressive Flow Matching with Test-Time Scaling
Yunpeng Wang ⋅ Zhonghui Gu ⋅ Runze Ma ⋅ Jie Yang ⋅ Zhanpeng Shi ⋅ Xiaoliang Shi ⋅ Zhijian Wei ⋅ Jun Li ⋅ Shuangjia Zheng
Abstract
Cyclic peptides are an increasingly important therapeutic modality, offering antibody-like binding specificity within compact and chemically tunable scaffolds. While $\text{SE}(3)$-equivariant diffusion and flow-matching models have advanced target-specific peptide design, existing generators remain limited in two key aspects: (1) they suffer from poor structural designability and local geometric clashes, and (2) they largely target linear peptides, lacking explicit mechanisms to enforce diverse cyclic topologies. Recent benchmarks such as CPSea reveal that current baselines struggle to achieve reliable ring closure, particularly for chemically complex disulfide- and isopeptide-bridged scaffolds. To address both challenges, we introduce **CPFlow**, a masked autoregressive flow-matching framework with test-time scaling for controllable cyclic peptide co-design. By decomposing full-atom sequence-structure co-generation into stepwise autoregressive flow updates, CPFlow progressively reconciles target-binding interactions with strict cyclization geometry. Furthermore, we introduce cyclization-aware relative positional encodings to provide unified control across head-to-tail, disulfide, and isopeptide crosslinks. During inference, CPFlow leverages sequence-geometry guided unmasking and multi-particle test-time scaling to steer sampling toward high-confidence, chemically valid trajectories in a training-free manner. Extensive evaluations on the CPSea benchmark show that CPFlow surpasses state-of-the-art baselines, improving *designability* (scRMSD $\downarrow$ **0.30 Å**), *self-consistency* (scRMSD $\downarrow$ **0.15 Å**), and *binding energy* (mean $\Delta G$ $\downarrow$ **3.0 kcal/mol**), while achieving **93.4%** *binding success* and **0.623** *structural diversity*.
Successful Page Load