EvoFlows: Evolutionary Edit-Based Flow-Matching for Protein Engineering
Traditional protein engineering approaches struggle to perform controllable and non-trivial sequence edits on template proteins while preserving their native-like properties. This work proposes a variable-length sequence-to-sequence modeling framework based on edit flows, which uniquely integrates edit operations with flow matching to jointly predict both the location and type of mutations by learning evolutionary trajectories among related proteins. By combining evolutionary information with a controllable editing mechanism, the method diverges from conventional autoregressive or masked language models. Evaluated on UniRef and OAS datasets, it demonstrates sequence distribution modeling capabilities comparable to state-of-the-art masked language models while significantly improving the generation of natural yet structurally novel protein variants.