Authors' response
>The novelty of RL-DIF is limited. [...]
We address the comparison to discrete diffusion/flow models below, but would like to motivate the contributions of our work here:
(1) While this work does combine a number of prior methods, structural consistency was a difficult reward to optimize. In general, the methods we were building on top of did not work out of the box. To summarize the problem-specific optimizations:
* Removing SASA features hampered the GradeIF architecture (see Appendix A1). We came up with a variant of the PiFold that supported discrete diffusion to mitigate this.
* Our experiments showed that the D3PM hybrid loss out-performed GradeIF’s cross-entropy loss
* We found the optimization to be sensitive to DDPO hyperparameters and reward standardization, requiring careful tuning
* ESM3 does use structural consistency to improve an IF model, but we note some methodological differences (IRPO vs DDPO) and difficulty comparing performance (closed training set may have overlap with IF benchmark datasets).
(2) We believe foldable diversity is an important contribution. IF methods have been primarily benchmarked using sequence recovery, sequence diversity, and structural consistency. Our work shows that these metrics alone do not fully capture the main purpose of an inverse folding model: sampling diverse sequences that fold into a target structure.
>The motivation for fine-tuning the model with structural consistency to improve the sequence diversity is not very clear.
We were motivated to fine-tune the model with structural consistency to improve structure quality, since continual training on sequence recovery plateaus in sc-TM and decreases diversity. We find DIF-Only achieves high diversity but poor sc-TM; RL-DIF then improves sc-TM significantly while maintaining competitive diversity (Table S2, S4).
>The Foldable Diversity is only calculated based on 4 generated sequences for each protein structure, which can have high variance.
We chose 4 to strike a balance between a precise measurement and minimizing computational resources In appendix A4, we study the impact of 4 vs 100 sequences and empirically observe a difference of at most 3%. Comparing to Table 1, we conclude that our improvements are outside of this error bar (i.e. on CATH-all, RL-DIF has a margin of 6%; DIF-Only by 9%).
>Besides, it is also helpful to provide the ratio of the generated sequences that satisfy the sc-TM score constraint
We have added Appendix A3, referring to the ratio you propose as “folding success”. We observe that a low folding success always leads to a low FD. However, high folding success does not guarantee high FD, as the sequences may not be diverse. It is this relationship that motivated our definition of FD.
>A comparison with diffusion-based methods [1,2] is missing.
Thank you for pointing out our oversight of these papers - we have added them to the Related Works section of the manuscript. However, we do not benchmark against either:
* As there are many IF methods, we focus on SOTA models at time of writing; Campbell et al reports sc-RMSD greater than ProteinMPNN on CATH.
* Nisinoff et al focused their stability optimization on specific proteins (instead of a full IF benchmark dataset), so we did not benchmark their model.
>Hamming distance is used to measure sequence diversity. [...]
In the IF setting, we are typically designing protein sequences for a very specific function (making the approximation that structure determines function). Therefore, significant functional diversity is not desirable.
Sequence diversity is desirable because designs may fail evaluation for a priori unknown reasons - e.g. properties like synthesizability. Distance in ESM embedding space will be dominated by evolutionary and functional variation, not such properties. We prefer Hamming distance as it is interpretable and commonly used in prior IF work.
Questions:
> How are the temperature values for the pretrained models selected? ... How do they perform with a smaller T, eg. T=0.05 or T=0.01?
We evaluated ProteinMPNN at a temperature of 0.05 and 0.01 on TS50; FD decreases to 5% and 1% respectively. The temperatures in the manuscript are those previously found to achieve best performance in ProteinMPNN, PiFold, and KWDesign [1].
[1] https://openreview.net/forum?id=mpqMVWgqjn; Figure 6
> For a rough comparison, how is the performance of ESM-IF trained on the same dataset as RL-DIF-100K?
ESM-IF authors have not released their training code, so we are not able to reproduce their work.
Instead, we trained a DIF-Only-250k on 250k structures, resulting in TS50 FD comparable to ESM-IF (see table below), with 18x fewer parameters and 48x less data. It remains for us to benchmark on CATH and TS500, and repeat RL tuning.
| Model | FD | sc-TM |
| --------|----| -- |
| ESMIF | 43% | 0.83 |
| DIF-Only-100k | 39% | 0.71 |
| RL-DIF-100k | 39% | 0.80 |
| DIF-Only-250k | 43% | 0.75 |