Introduction
Predicting drug toxicity is a critical yet expensive challenge in pharmaceutical research. Traditional machine learning (ML) and deep learning (DL) models often function as "black boxes," providing binary predictions without explaining the underlying biological mechanisms. Furthermore, these models typically rely on structural data like SMILES strings, which lack the biological context necessary to capture organ-specific toxicity. CoTox addresses these limitations by transforming toxicity prediction into an interpretable reasoning process using Large Language Models (LLMs).
The CoTox Framework
CoTox enhances LLM-based toxicity prediction through three primary innovations: the use of IUPAC names instead of SMILES, the integration of biological context, and a structured Chain-of-Thought (CoT) reasoning process.
Methodology
- IUPAC over SMILES: Unlike syntactically dense SMILES strings, IUPAC names are linguistically structured, allowing LLMs to more effectively identify functional groups and rings.
- Biological Context Integration: The framework retrieves relevant biological pathways and Gene Ontology (GO) terms from the Comparative Toxicogenomics Database (CTD). An LLM filters these for toxicity relevance before they are included in the final prompt.
- Four-Step CoT Reasoning: The model follows a specific analytical path: analyzing input pathways, interpreting GO terms, identifying structural features from the IUPAC name, and synthesizing these into a coherent explanation and prediction.
Key Insights: The Power of Language and Biology
A significant finding of the study is that reasoning-optimized LLMs (such as OpenAI’s o3 or DeepSeek-R1) exhibit a performance increase of up to 15.6% when using IUPAC names instead of SMILES. IUPAC names serve as a bridge between formal chemical notation and natural language, facilitating better structural analysis.
Furthermore, biological process information (BioProcess-CoT) often proves more predictive than structural data alone. This suggests that understanding a drug's biological impact is as crucial as knowing its chemical structure. In a case study of Entecavir, CoTox identified potential renal toxicity signals that are only now beginning to emerge in clinical literature, demonstrating its ability to detect latent risks.
Performance and Results
CoTox demonstrates superior performance over traditional methods. Using GPT-4o, the framework achieved an average F1-score of 0.663, surpassing XGBoost (0.576) and Chemprop (0.619). Gemini 2.5 Pro emerged as the strongest performer with an average F1-score of 0.700, showing particular strength in cardiotoxicity and liver toxicity. Models optimized for reasoning showed the most significant gains when integrated into the CoTox framework, highlighting the value of structured reasoning in complex scientific tasks.
Datasets
The study utilized the UniTox benchmark, derived from 2,418 FDA drug labels, focusing on a subset of 548 compounds with available biological context. Data was sourced from the Comparative Toxicogenomics Database (CTD) for chemical-gene-pathway associations and the L1000 dataset for organ-specific gene expression profiles.
Conclusion and Future Directions
While CoTox offers a significant leap in interpretability, it currently relies on existing biological context, which may limit its application for entirely novel compounds. Future work will explore integrating multimodal inputs, such as molecular graphs, and pharmacological data like pharmacokinetics to further refine the reasoning engine and address dose-response relationships.
Summary updated