🤖 AI Summary
Drug toxicity prediction faces challenges including heavy reliance on labeled data, poor interpretability, and difficulty in modeling organ-specific mechanisms. To address these, we propose CoTox—a novel framework that integrates biological context (e.g., signaling pathways, Gene Ontology terms) with molecular structural information (e.g., IUPAC names) into the chain-of-thought reasoning of large language models (e.g., GPT-4o), enabling transparent, physiologically consistent multi-organ toxicity prediction. CoTox eliminates dependence on large-scale annotated molecular datasets while significantly improving both predictive accuracy and interpretability. It outperforms conventional machine learning and deep learning baselines across diverse toxicity prediction tasks. Furthermore, its biological plausibility is validated through cell-type–specific response simulation. The implementation—including code and prompt templates—is publicly available.
📝 Abstract
Drug toxicity remains a major challenge in pharmaceutical development. Recent machine learning models have improved in silico toxicity prediction, but their reliance on annotated data and lack of interpretability limit their applicability. This limits their ability to capture organ-specific toxicities driven by complex biological mechanisms. Large language models (LLMs) offer a promising alternative through step-by-step reasoning and integration of textual data, yet prior approaches lack biological context and transparent rationale. To address this issue, we propose CoTox, a novel framework that integrates LLM with chain-of-thought (CoT) reasoning for multi-toxicity prediction. CoTox combines chemical structure data, biological pathways, and gene ontology (GO) terms to generate interpretable toxicity predictions through step-by-step reasoning. Using GPT-4o, we show that CoTox outperforms both traditional machine learning and deep learning model. We further examine its performance across various LLMs to identify where CoTox is most effective. Additionally, we find that representing chemical structures with IUPAC names, which are easier for LLMs to understand than SMILES, enhances the model's reasoning ability and improves predictive performance. To demonstrate its practical utility in drug development, we simulate the treatment of relevant cell types with drug and incorporated the resulting biological context into the CoTox framework. This approach allow CoTox to generate toxicity predictions aligned with physiological responses, as shown in case study. This result highlights the potential of LLM-based frameworks to improve interpretability and support early-stage drug safety assessment. The code and prompt used in this work are available at https://github.com/dmis-lab/CoTox.