NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SynerGPT: In-Context Learning for Personalized Drug Synergy Prediction and Drug Design

Carl Edwards, Aakanksha Naik, Tushar Khot, Martin D. Burke, Heng Ji, Tom Hope

TL;DR

SynerGPT introduces a novel way to predict personalized drug synergy by treating biological interactions as a "function" that a GPT-style model can learn in-context. Remarkably, the model achieves state-of-the-art results using only a handful of examples (10-20) and zero domain-specific knowledge—no molecular fingerprints or protein networks required—demonstrating that the transformer architecture itself is a powerful engine for biological pattern recognition.

What Problem Does This Paper Address?

Finding the right combination of drugs to treat cancer is a high-stakes needle-in-a-haystack problem. Because every patient’s genetic background is unique, a drug pair that is synergistic (more effective together than the sum of their parts) in one person might be toxic or ineffective in another.

Testing every possible combination in a lab is impossible due to the exponential number of pairings. While machine learning (ML) has stepped in to help, most current models are "data-hungry" and rely on complex external features like molecular fingerprints or protein-protein interaction networks. These models often struggle in the few-shot setting—where we only have a tiny bit of data from a new patient's biopsy—or when encountering entirely new drugs. SynerGPT aims to bridge this gap by enabling personalized predictions with minimal data.

Methods

The researchers propose SynerGPT, a decoder-only transformer (based on the GPT-2 family) trained to perform In-Context Learning for Drug Synergy (ICL-DS).

Instead of fine-tuning the model for every new patient, they provide the model with a "prompt" consisting of 10-20 known synergy relationships (e.g., "Drug A + Drug B on this cell line = Synergistic"). The model then predicts the synergy for a new, untested combination.

Key technical innovations include:

  • Feature-less Learning: The model uses learnable embeddings for drugs and cell lines rather than hard-coded chemical features.
  • Masking Strategy: To handle new entities, they use an [UNKNOWN] token. The model must learn the "identity" of the unknown drug or cell line purely from its interaction patterns in the prompt.
  • Context Selection & Optimization: The authors developed an "Unknown-First" strategy to pick the most relevant examples for the prompt. They further used a Genetic Algorithm (GA) to evolve the best possible prompt, essentially designing a "standardized clinical assay" that maximizes predictive power.
  • Inverse Drug Design: They extended the model to a retrieval task where, given a set of synergy behaviors, the model retrieves the molecular structure (represented by MegaMolBART embeddings) of the drug that would produce those behaviors.
Figure 1: Example of our prompt selection strategy (steps shown in black box). After training (step 0), we are given as input (step 1) a combination between three entities: a known drug

Datasets

The study primarily utilizes DrugCombDB, a massive repository of drug combination experiments. Specifically, they used the ChemicalX framework to access a standardized subset containing:

  • 2,956 drugs
  • 112 cell lines
  • 191,391 synergy tuples

They also used the COSMIC cancer mutation database for tissue-type analysis to see how the model performs across different types of cancer (e.g., skin vs. bone).

Key Insights and Ideas

  • Architecture over Knowledge: One of the most surprising findings was that models using random tokens (e.g., replacing "Imatinib" with "rabbit") performed just as well as models using real names. This suggests that the transformer isn't relying on pre-trained textual knowledge about chemistry; it is learning the underlying mathematical structure of the "interactome."
  • Synergy as a Function Class: The authors successfully framed drug synergy as a function class that can be learned in-context, similar to how other researchers have taught GPT models to perform linear regression or learn simple algorithms on the fly.
  • The Power of the Prompt: The specific examples chosen for the context matter immensely. The Genetic Algorithm was able to significantly boost performance, suggesting that some drug combinations are much more "informative" than others when trying to characterize a new patient's tumor.

Key Results

SynerGPT consistently outperformed established baselines, especially in the challenging few-shot and zero-shot scenarios for unknown drugs and cell lines.

  • Superior Performance: As shown in the comparison below, SynerGPT (ours) achieved higher ROC-AUC and PR-AUC scores than specialized models like DeepDDS and GraphSynergy, even without using external knowledge (KB).
Table 1: Classification results showing SynerGPT outperforming several baselines on the DrugCombDB dataset.
  • Few-Shot Gains: In the "Unknown Drug" task, SynerGPT reached an ROC-AUC of 77.7% in the few-shot setting, a significant jump from its zero-shot performance and better than the 75.5% achieved by DeepDDS.
  • Optimization Impact: The Genetic Algorithm improved the ROC-AUC for unknown drugs from a mean of 79.2% to 81.5% simply by picking better context examples.
Table 2: Performance metrics for unknown drugs and cell lines across different modes (Zero-Shot vs. Few-Shot).

Limitations and Future Work

While SynerGPT is a powerful proof-of-concept, the authors note several areas for growth:

  • Explainability: Like most deep learning models, SynerGPT is a "black box." It can predict synergy, but it can't explain the biological mechanism (e.g., which protein pathway is being inhibited).
  • Complexity of Combinations: The current work focuses on pairwise (two-drug) combinations. Real-world oncology often uses three or more drugs, which adds significant complexity.
  • Feature Integration: While the "feature-less" approach is impressive, the authors acknowledge that thoughtfully integrating molecular data could further improve results.
  • Temporal Dynamics: Future versions could incorporate temporal information to predict how drug combinations should be sequenced over time during a patient's treatment.

Summary updated

BibTeX
@inproceedings{edwards2024synergpt,
  author = {Carl Edwards and Aakanksha Naik and Tushar Khot and Martin D. Burke and Heng Ji and Tom Hope},
  title = {{SynerGPT: In-Context Learning for Personalized Drug Synergy Prediction and Drug Design}},
  booktitle = {COLM},
  year = {2024},
  url = {https://openreview.net/forum?id=Aaz6R4Tlwv},
}
Figure