Tx-LLM: A Large Language Model for Therapeutics
Juan Manuel Zambrano Chaves, Eric Wang, Tao Tu, Eeshit Dhaval Vaishnav, Byron Lee, S. Sara Mahdavi, Christopher Semturs, David Fleet, Vivek Natarajan, Shekoofeh Azizi
TL;DR
Tx-LLM introduces a generalist LLM fine-tuned from PaLM-2 to encode diverse therapeutic knowledge across small molecules, proteins, nucleic acids, cells, and diseases. Trained on 709 TxT datasets spanning 66 tasks, it formats tasks as instruction-context-question-answer prompts and interleaves molecular representations with free text to support classification, regression, and generation. The model achieves near-SOTA or SOTA on 43/66 tasks, with notable gains on SMILES+Text scenarios and clear evidence of positive transfer across drug types, while ablation studies highlight the importance of model size, domain finetuning, and context. These results position Tx-LLM as a promising step toward an end-to-end therapeutic development assistant, albeit with current limitations such as lack of natural-language instruction tuning and data-contamination considerations that warrant careful validation.
Abstract
Developing therapeutics is a lengthy and expensive process that requires the satisfaction of many different criteria, and AI models capable of expediting the process would be invaluable. However, the majority of current AI approaches address only a narrowly defined set of tasks, often circumscribed within a particular domain. To bridge this gap, we introduce Tx-LLM, a generalist large language model (LLM) fine-tuned from PaLM-2 which encodes knowledge about diverse therapeutic modalities. Tx-LLM is trained using a collection of 709 datasets that target 66 tasks spanning various stages of the drug discovery pipeline. Using a single set of weights, Tx-LLM simultaneously processes a wide variety of chemical or biological entities(small molecules, proteins, nucleic acids, cell lines, diseases) interleaved with free-text, allowing it to predict a broad range of associated properties, achieving competitive with state-of-the-art (SOTA) performance on 43 out of 66 tasks and exceeding SOTA on 22. Among these, Tx-LLM is particularly powerful and exceeds best-in-class performance on average for tasks combining molecular SMILES representations with text such as cell line names or disease names, likely due to context learned during pretraining. We observe evidence of positive transfer between tasks with diverse drug types (e.g.,tasks involving small molecules and tasks involving proteins), and we study the impact of model size, domain finetuning, and prompting strategies on performance. We believe Tx-LLM represents an important step towards LLMs encoding biochemical knowledge and could have a future role as an end-to-end tool across the drug discovery development pipeline.
