Analytical chemistry

Beyond Co-Localization: DeepCoEx Learns Exclusion-Aware Spatial Representations in Mass Spectrometry Imaging via Dual-Contrastive Learning.

Jingjing Xu, Xin Diao, Siyang Liu, Thomas Ka-Yam Lam, Yusong Zhang, Shuang Gao, Lingli Deng, Weiji Chen,

Department of Electronic Science, Fujian Provincial Key Laboratory of Plasma and Magnetic Resonance, Xiamen University, Xiamen361005, China. · Department of Chemistry, Hong Kong Baptist University, Hong Kong SAR999077, China.

Key points

From the paper's conclusion
  • By establishing an exclusion-aware representation learning strategy for MSI, DeepCoEx expands spatial metabolomics beyond co-localization and provides a practical workflow for analyzing complementary molecular organization in complex tissues.

Abstract

Mass spectrometry imaging (MSI) provides spatially resolved molecular profiles, yet the existing computational workflows are heavily biased toward co-localization and remain limited in characterizing exclusion-like spatial relationships, especially when reliable negative labels are scarce. To address this challenge, we present DeepCoEx (Deep Co-localization and Exclusion), a self-supervised framework that learns exclusion-aware spatial representations through dual-contrastive learning for spatial metabolomics analysis. Instead of relying on large collections of annotated negative ion pairs, DeepCoEx embeds positive spatial consistency and exclusion-aware separation into a unified representation space. This design enables the model to preserve spatially coherent ion patterns while improving the separability of spatially complementary distributions. Compared with conventional similarity metrics and dimensionality reduction baselines, DeepCoEx provides more consistent and interpretable retrieval of candidate negative spatial associations. In representative control and PM2.5-exposed rat brains, the framework reveals localized spatial redistribution patterns and brainstem-related complementary ion associations that are not readily captured by conventional correlation-based analysis. In barley seeds, the learned embeddings help resolve chemically related ion species, including protonated and sodiated adducts of phosphatidylcholine species and glycosylated hordatine derivatives. Furthermore, DeepCoEx supports subregion-specific network construction, enabling exploratory analysis of localized molecular association patterns under different tissue or treatment contexts. By establishing an exclusion-aware representation learning strategy for MSI, DeepCoEx expands spatial metabolomics beyond co-localization and provides a practical workflow for analyzing complementary molecular organization in complex tissues.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers