Despite significant progress of generative models in the natural sciences, their controllability remains challenging. One fundamentally missing aspect of molecular or protein generative models is an inductive bias that can reflect continuous properties of interest. To that end, we propose the Regression Transformer (RT), a novel method that abstracts regression as a conditional sequence modeling problem. This introduces a new paradigm of multitask language models which seamlessly bridge sequence regression and conditional sequence generation. We thoroughly demonstrate that, despite using a nominal-scale training objective, the RT matches or surpasses the performance of conventional regression models in property prediction tasks of small molecules, proteins and chemical reactions. Critically, priming the same model with continuous properties yields a highly competitive conditional generative model that outperforms specialized approaches in a substructure-constrained, property-driven molecule generation benchmark. Our dichotomous approach is facilitated by a novel, alternating training scheme that enables the model to decorate seed sequences by desired properties, e.g., to optimize reaction yield. In sum, the RT is the first report of a multitask model that concurrently excels at predictive and generative tasks in biochemistry. This finds particular application in property-driven, local exploration of the chemical or protein space and could pave the road toward foundation models in material design. The code to reproduce all experiments of the paper is available at: https://github.com/IBM/regression-transformer
翻译:尽管自然科学的基因模型取得了显著进步,但其可控性仍然具有挑战性。分子或蛋白基因模型从根本上缺少的一个方面是能够反映持续兴趣特性的进化偏差。为此,我们建议采用回归变异器(RT),这是将回归转换作为有条件序列模型问题的一种新颖方法,将回归转换成一个有条件序列模型。这引入了多任务语言模型的新范例,这种模式无缝地连接序列回归和有条件序列生成。我们充分证明,尽管使用了名义规模培训目标,但RT仍然匹配或超过了小型分子、蛋白质和化学反应等财产预测任务中常规回归模型的性能。关键地说,将同一模型与连续特性相连接,产生一种高度竞争性的有条件变异模型,它优于结构松散、由财产驱动的分子生成基准中的专门方法。我们分解法方法通过一个新颖的、交替的培训计划得到促进,使模型能够通过理想的特性(例如)优化反应收益生成的种子序列序列。总而言,RT是一个多任务模型的首次报告,即具有连续特性的模型,在预测和基因分析基础的模型中,可以同时在空间基础的模型中找到各种化学基础的、化学和生物模型。