ATTNSOM: Learning Cross-Isoform Attention for Cytochrome P450 Site-of-Metabolism

Hajung Kim, Eunha Lee, Sohyun Chung, Jueon Park, Seungheun Baek, Jaewoo KangarXiv 2026

TL;DR

ATTNSOM is a novel deep learning framework that predicts the exact atom-level site-of-metabolism (SOM) where Cytochrome P450 enzymes break down small-molecule drugs. By leveraging a cross-attention mechanism, the model captures overlapping metabolic patterns across different enzyme isoforms, significantly improving prediction accuracy and binary discrimination under severe class imbalance.

What Problem Does This Paper Address?

During drug discovery, identifying exactly where a drug molecule will be metabolized by human enzymes is critical for optimizing its half-life and efficacy. The primary drivers of this metabolism are Cytochrome P450 (CYP) enzymes. However, predicting the specific "Site-of-Metabolism" (SOM) at an atomic level is challenging for two main reasons:

  1. Ignoring Cross-Isoform Relationships: Human CYP enzymes exist in multiple variations (isoforms), such as CYP3A4 or CYP2D6. Existing computational tools either ignore these identities entirely or model each isoform independently. This overlooks the biological reality that different isoforms share common catalytic architectures and often exhibit overlapping substrate preferences.
  2. Misleading Evaluation Metrics: Prior studies heavily favor "Top-$k$" accuracy metrics. Because a molecule might contain dozens of atoms but only one or two actual metabolic sites, Top-$k$ metrics can easily mask high false-positive rates, underscoring the need for robust binary classification metrics like the Matthews Correlation Coefficient (MCC).

Methods

ATTNSOM introduces an architecture specifically designed to integrate intrinsic chemical reactivity with cross-isoform relationships.

Overview of the ATTNSOM architecture for atom-level SOM prediction across CYP isoforms.

The pipeline consists of three core components:

  • Shared Graph Encoder: The model uses GraphCliff, a graph neural network that models both short-range local interactions and long-range structural contexts without suffering from oversmoothing. This encoder is shared across all CYP isoforms to learn foundational, isoform-agnostic chemical reactivity.
  • Molecule-Conditioned Representations (FiLM): Feature-wise Linear Modulation (FiLM) dynamically adjusts atom-level features based on the global molecular context, allowing the model to adapt to different molecular structures.
  • Cross-Attention Mechanism: In a clever architectural twist, the model uses an atom-centric attention formulation. Atom representations serve as queries, while learnable CYP isoform embeddings act as keys and values. This allows each atom to explicitly query which CYP isoforms are most relevant to its metabolic reactivity, effectively capturing correlated metabolic patterns across multiple enzymes.

The model is trained using a combination of Focal Loss (to combat severe class imbalance) and an auxiliary attention alignment loss that guides the attention weights using experimental data.

Datasets

The authors evaluated ATTNSOM on two distinct benchmarks:

  • The Zaretzki Dataset: Contains 679 substrate molecules with experimentally annotated SOMs across nine major human CYP isoforms, totaling 2,003 molecule-isoform instances.
  • AZ-ExactSOM Dataset: A high-confidence dataset from AstraZeneca consisting of 120 publicly available compounds. Unlike the Zaretzki dataset, this features aggregate metabolic outcomes from human hepatocyte assays without isoform-specific labels, serving as an excellent test for real-world generalization.

Key Insights and Ideas

  • The Power of Shared Biology: Pairwise Jaccard similarity analysis of the dataset revealed substantial overlap in SOM patterns across different CYP isoforms (with similarity scores ranging from 0.666 to 0.887). Because these enzymes share a conserved oxidative mechanism, treating them as related tasks via cross-attention provides a powerful inductive bias.
  • Atoms as Queries: Most multi-modal architectures treat the protein/enzyme as the query. ATTNSOM flips this by treating the atom as the query. This directly aligns with the physical objective: determining whether a specific local chemical environment is susceptible to metabolic attack.
  • Architectural Synergy: Ablation studies revealed that FiLM conditioning and cross-attention are highly complementary. When attention is removed, FiLM lacks the isoform-aligned contextual signals needed to guide meaningful feature modulation, leading to degraded performance.

Key Results

ATTNSOM demonstrated state-of-the-art performance across both ranking and binary discrimination tasks.

On the Zaretzki dataset, ATTNSOM achieved the highest average Top-2 accuracy (0.871) among all baselines, securing the top spot on six out of the nine individual CYP isoforms. More importantly, it consistently outperformed all ablated variants and alternative graph backbones (like Chemprop, GIN, GCN, and GAT) in Matthews Correlation Coefficient (MCC), achieving an average MCC of 0.710.

Table 3: Matthews correlation coefficient (MCC) results for sites of metabolism prediction across nine CYP450 isoforms on the Zaretzki dataset. The table compares the full ATTNSOM with ablated variants that remove the cross- attention module (attn.) and/or the FiLM modulation, as well as versions using alternative graph encoders. Bold values indicate the best-performing result.

In a qualitative case study on the drug Ivacaftor, ATTNSOM precisely localized the exact tert-butyl methyl group responsible for CYP3A4-mediated metabolism, outperforming established tools like XenoSite and SMARTCyp which predicted broader, less specific candidate sites.

Limitations and Future Work

Despite its strong performance, the authors note a distinct trade-off in cross-isoform modeling: conservative co-prediction. When an atom exhibits exceptionally strong, isoform-agnostic reactivity, the cross-attention mechanism occasionally struggles to fully suppress signals for isoforms where that site isn't actually dominant. This can lead to the over-prediction of globally reactive sites.

To address this, future work will focus on developing adaptive attention mechanisms that dynamically regulate information sharing based on the specific degree of metabolic overlap between target isoforms, as well as incorporating explicit 3D biochemical or structural priors.

Summary updated

BibTeX
@misc{kim2026attnsom,
  author = {Hajung Kim and Eunha Lee and Sohyun Chung and Jueon Park and Seungheun Baek and Jaewoo Kang},
  title = {{ATTNSOM: Learning Cross-Isoform Attention for Cytochrome P450 Site-of-Metabolism}},
  year = {2026},
  eprint = {2601.20891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.20891},
}
Figure