SafePro: Generation of Safe and Functional Proteins via Cross-Task Conflict-Aware Alignment
Chongyang Gao ⋅ Marco Postiglione ⋅ Venkatramanan Subrahmanian
Abstract
Protein language models (PLMs) enable scalable protein design but lack intrinsic safety constraints. We introduce SAFEPRO, a reinforcement-learning framework jointly optimizing structural foldability, toxicity avoidance, and virulence avoidance. SAFEPRO features two novel components: (1) Cross-Task Attentive Fusion (CTAF), a joint reward model that employs gated cross-attention between toxicity and virulence experts to capture shared biological signals through selective cross-task sharing, and (2) Task-Conflict-Saliency MGDA (TCS-MGDA), an adaptive weight-calibration procedure for Proximal Policy Optimization (PPO). TCS-MGDA targets gradient Gram-matrix dilution via parameter-space saliency filtering. On ProGen2, SAFEPRO improves composite alignment scores by $+5.21$ over the strongest fixed-weight baseline, significantly reducing toxicity ($0.0564 \to 0.0139$) and virulence ($0.6443 \to 0.5407$) while maintaining structural quality. External classifiers and homology screening also show reductions in selected toxicity and virulence proxies relative to the base policy. Among structurally designable outputs (scRMSD $< 2$\,\AA), SAFEPRO reduces the CTAF-flagged harmful fraction from $89\%$ under fixed-weight PPO to $34\%$ while producing more than twice as many designable sequences as the base model. We also curate a virulence dataset of $54{,}166$ sequences from VFDB, available on request.
Successful Page Load