[Paper Review] Extrapolative Controlled Sequence Generation via Iterative Refinement
This paper proposes Iterative Controlled Extrapolation (ICE), a method for generating sequences with attribute values beyond the training distribution by iteratively applying local edits to a base sequence. ICE trains on synthetically generated sequence pairs with small attribute improvements and achieves state-of-the-art performance in extrapolative controlled generation on both NLP and protein engineering tasks, outperforming methods like PPLM and Genhance.
We study the problem of extrapolative controlled generation, i.e., generating sequences with attribute values beyond the range seen in training. This task is of significant importance in automated design, especially drug discovery, where the goal is to design novel proteins that are extit{better} (e.g., more stable) than existing sequences. Thus, by definition, the target sequences and their attribute values are out of the training distribution, posing challenges to existing methods that aim to directly generate the target sequence. Instead, in this work, we propose Iterative Controlled Extrapolation (ICE) which iteratively makes local edits to a sequence to enable extrapolation. We train the model on synthetically generated sequence pairs that demonstrate small improvement in the attribute value. Results on one natural language task (sentiment analysis) and two protein engineering tasks (ACE2 stability and AAV fitness) show that ICE considerably outperforms state-of-the-art approaches despite its simplicity. Our code and models are available at: https://github.com/vishakhpk/iter-extrapolation.
Motivation & Objective
- Address the challenge of generating sequences with attribute values outside the training distribution, particularly in drug discovery and protein engineering.
- Overcome the limitations of existing controlled generation methods that fail to generalize beyond the range of attribute values seen during training.
- Develop a simple yet effective framework for extrapolative generation that leverages local, incremental improvements rather than direct generation of extreme values.
- Demonstrate the effectiveness of iterative refinement on both natural language and protein sequence generation tasks with real-world biological and linguistic applications.
Proposed method
- Train a sequence generator on synthetically created sequence pairs that differ by small attribute improvements, using a masked language model to create perturbations.
- Use control tokens <inc> and <dec> to guide the model in making incremental edits toward increasing or decreasing the target attribute value.
- Apply the trained generator iteratively at inference time, starting from a base sequence (e.g., wild-type protein or neutral sentiment text), to achieve cumulative improvements.
- Support both scorer-guided and scorer-free inference settings, where the scorer evaluates attribute values during generation or is omitted entirely.
- Use a conditional generator that learns to produce edits that reliably reduce or increase the attribute value, enabling extrapolation beyond training data.
- Apply truncation and sequence length constraints during generation to maintain model compatibility, especially in protein tasks with length limits.
Experimental results
Research questions
- RQ1Can iterative local edits generalize to generate sequences with attribute values outside the training distribution?
- RQ2Does learning to make small, incremental improvements on in-distribution data enable effective extrapolation to out-of-distribution attribute values?
- RQ3How does ICE compare to state-of-the-art methods like PPLM and Genhance in terms of extrapolation performance on protein and NLP tasks?
- RQ4To what extent does the use of a scorer improve generation quality in extrapolative settings, particularly when the scorer is unreliable near distribution boundaries?
- RQ5Can the iterative refinement approach generate diverse, high-quality sequences in the extrapolation region without relying on oracle feedback?
Key findings
- ICE significantly outperforms both standard controlled generation methods (e.g., PPLM) and state-of-the-art extrapolative methods (e.g., Genhance) on all evaluated tasks.
- On the AAV fitness task, ICE with scorer-guided inference achieved an average fitness score of 1.750 on the top 100 generated mutants, surpassing the next best method (Iterative Sampling) at 1.452.
- In the ACE2 stability task, ICE achieved a final ddG value of -5.57 after 10 iterations, exceeding the training range (ddG from -4 to 10) and demonstrating successful extrapolation.
- ICE generated diverse, high-quality mutants with higher fitness scores than baselines, even when the training data contained zero sequences better than the wild-type in the AAV task.
- The scorer provided only marginal improvement in the AAV task, suggesting that the model’s internal refinement process is more robust than scorer guidance in extrapolation zones.
- The distribution of fitness scores from ICE was flatter and more spread across the extrapolation region, indicating broader and more consistent performance compared to baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.