Generating Novel Leads for Drug Discovery using LLMs with Logical Feedback
Preprint
Abstract
Large Language Models (LLMs) can be used as repositories of biological and chemical information to generate pharmacological lead compounds. However, for LLMs to focus on specific drug targets typically require experimentation with progressively more refined prompts. Results thus become dependent not just on what is known about the target, but also on what is known about the prompt-engineering. In this paper, we separate the prompt into domain-constraints that can be written in a standard logical form, and a simple text-based query. We investigate whether LLMs can be guided, not by refining prompts manually, but by refining the the logical component automatically, keeping the query unchanged. We describe an iterative procedure LMLF (“Language Models with Logical Feedback”) in which the constraints are progressively refined using a logical notion of generalisation. On any iteration, newly generated instances are verified against the constraint, providing “logical-feedback” for the next iteration’s refinement of the constraints. We evaluate LMLF using two well-known targets (inhibition of the Janus Kinase 2; and Dopamine Receptor D2); and two different LLMs (GPT-3 and PaLM). We show that LMLF, starting with the same logical constraints and query text, can guide both LLMs to generate potential leads. We find: (a) Binding affinities of LMLF-generated molecules are skewed towards higher binding affinities than those from existing baselines; LMLF results in generating molecules that are skewed towards higher binding affinities than without logical feedback; (c) Assessment by a computational chemist suggests that LMLF generated compounds may be novel inhibitors. These findings suggest that LLMs with logical feedback may provide a mechanism for generating new leads without requiring the domain-specialist to acquire sophisticated skills in prompt-engineering.Keywords
All Related Versions
- Published version: Proceedings of the AAAI Conference on Artificial Intelligence, 38 (1), 21.
This publication has 14 references indexed in Scilit:
- ChatMOF: an artificial intelligence system for predicting and generating metal-organic frameworks using large language modelsNature Communications, 2024
- Do Large Language Models Understand Chemistry? A Conversation with ChatGPTJournal of Chemical Information and Modeling, 2023
- Using Domain-Knowledge to Assist Lead Discovery in Early-Stage Drug Design2022
- A review of some techniques for inclusion of domain-knowledge into deep neural networksScientific Reports, 2022
- Generative Deep Learning for Targeted Compound DesignJournal of Chemical Information and Modeling, 2021
- Accelerating De Novo Drug Design against Novel Proteins Using Deep LearningJournal of Chemical Information and Modeling, 2021
- Automatic Chemical Design Using a Data-Driven Continuous Representation of MoleculesACS Central Science, 2018
- ChEMBL: a large-scale bioactivity database for drug discoveryNucleic Acids Research, 2011
- Estimation of probabilities from sparse data for the language model component of a speech recognizerIEEE Transactions on Acoustics, Speech, and Signal Processing, 1987
- Experiments on the Mechanization of Game-learning. 2--Rule-Based Learning and the Human WindowThe Computer Journal, 1982