Language of Toxicity: An eXplainable Artificial Intelligence Approach

Abstract Toxicity prediction in small molecules represents a fundamental challenge in drug development and chemical safety assessment. Traditional approaches heavily rely on predefined molecular descriptors or fingerprints, potentially limiting the ability to capture complex and nonlinear structure–activity relationships. Here, we present a descriptor-free, language-inspired framework that can be applied to different toxicity prediction tasks within a unified architecture. The model proposed combines a multiscale Convolutional Neural Network (CNN) layer to capture chemical patterns at different scales and a Gated Recurrent Unit (GRU) layer to capture the sequential nature of these patterns. This architecture also exploits an attention mechanism that computes attention weights across the sequence, enabling the model to focus on the most relevant molecular substructures for toxicity prediction. Toxic and nontoxic chemicals, represented by canonical SMILES, are investigated as the words of two languages which have to be discriminated; using eight different end points, the model provided an accurate description of toxicity patterns, with an average Area under the ROC curve (AUC) of 0.83 (min: 0.70, max: 0.94) under repeated cross-validation. The models were trained on relatively small data sets (∼1000 samples) and often strongly imbalanced, two important challenges that highlight the opportunities for future improvement; moreover, the proposed attention-based framework offers a representation of the molecular regions influencing model predictions, providing a basis for future investigations into toxicity-related structural patterns and potentially supporting hypothesis generation in drug design or drug repurposing applications.

Authors

Institutions

Publication Details

Journal
Journal of Chemical Information and Modeling
Published
2026-09-30
DOI
https://doi.org/10.1021/acs.jcim.5c03214
Primary Topic
Computational Drug Discovery Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Language of Toxicity: An eXplainable Artificial Intelligence Approach

Fabrizio Mastrolorito, Nicola Amoroso, Alfonso Monaco, R. Bellotti et al.
Journal of Chemical Information and Modeling
Computational Drug Discovery Methods
article

Language of Toxicity: An eXplainable Artificial Intelligence Approach

Fabrizio Mastrolorito, Nicola Amoroso, Alfonso Monaco, R. Bellotti, Orazio Nicolotti, Nicola Gambacorta, Ester Pantaleo, Fulvio Ciriaco, Francesca Cutropia, Angelica Orfino
article en

Abstract

Abstract Toxicity prediction in small molecules represents a fundamental challenge in drug development and chemical safety assessment. Traditional approaches heavily rely on predefined molecular descriptors or fingerprints, potentially limiting the ability to capture complex and nonlinear structure–activity relationships. Here, we present a descriptor-free, language-inspired framework that can be applied to different toxicity prediction tasks within a unified architecture. The model proposed combines a multiscale Convolutional Neural Network (CNN) layer to capture chemical patterns at different scales and a Gated Recurrent Unit (GRU) layer to capture the sequential nature of these patterns. This architecture also exploits an attention mechanism that computes attention weights across the sequence, enabling the model to focus on the most relevant molecular substructures for toxicity prediction. Toxic and nontoxic chemicals, represented by canonical SMILES, are investigated as the words of two languages which have to be discriminated; using eight different end points, the model provided an accurate description of toxicity patterns, with an average Area under the ROC curve (AUC) of 0.83 (min: 0.70, max: 0.94) under repeated cross-validation. The models were trained on relatively small data sets (∼1000 samples) and often strongly imbalanced, two important challenges that highlight the opportunities for future improvement; moreover, the proposed attention-based framework offers a representation of the molecular regions influencing model predictions, providing a basis for future investigations into toxicity-related structural patterns and potentially supporting hypothesis generation in drug design or drug repurposing applications.

Journal of Chemical Information and Modeling
Istituto Nazionale di Fisica Nucleare, Sezione di Bari (IT), Merck Serono S.A. (Switzerland) (CH), University of Bari Aldo Moro (IT), Merck Serono S.p.A. (Italy) (IT)
Reduced inequalities
Openalex Percentile: Top 10%
Computational Drug Discovery Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.