bioRxiv · 10.64898/2026.11.25.769355
GRACE: Discrete Biological Sequence Optimization with Gradient-Resolved Adaptive Constrained Exploration
Abstract
Machine learning increasingly enables biological sequence redesign for therapeutic and biotechnological applications by optimizing sequences for desired properties. However, improving one property can compromise another: for example, increasing enzyme activity may reduce stability, while enhancing regulatory DNA activity may diminish cell-type specificity. We formulate sequence redesign as a constrained optimization problem guided by learned predictive models, where a reference sequence is mutated to improve a predicted target property while keeping predicted auxiliary properties within specified tolerances of their reference values. To solve this problem, we introduce GRACE (Gradient-Resolved Adaptive Constrained Exploration), a method that optimizes discrete biological sequences using gradients from property predictors via a straight-through estimator. GRACE combines two complementary mechanisms: null-space projection, which removes target-gradient components that interfere with active constraints, and an augmented Lagrangian mechanism, which encourages feasibility after constraint violations. We evaluate GRACE across fourteen diverse tasks, including six protein optimization tasks (spanning activity, stability, and solubility), five DNA tasks (spanning cell-type-specific enhancer activity, heat-shock-responsive promoters, and tissue-selective splicing), and three RNA design tasks (spanning translation efficiency, RNA folding, and toehold-switch function). Across these tasks, GRACE consistently achieves larger improvements in predicted target properties than discrete and continuous baselines while satisfying predicted auxiliary constraints. Together, these results establish GRACE as a general framework for machine-learning-guided biological sequence redesign under competing property constraints.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Tahmid, M. T., Hoang, M., Singh, M.. 2026-11-27. GRACE: Discrete Biological Sequence Optimization with Gradient-Resolved Adaptive Constrained Exploration. https://doi.org/10.64898/2026.11.25.769355. https://searchbiorxiv.org/record/biorxiv%3A10.64898%2F2026.11.25.769355/grace-discrete-biological-sequence-optimization-with-gradient-resolved-adaptive-constrained-explorat
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search bioRxiv by Indiciae: BibTeX · RIS.