Spatial-spectral hypergraph attention for unsupervised segmentation of lung cancer MALDI-FTICR imaging: a leave-one-patient-out benchmark against classical clustering

Background Graph neural networks are increasingly used to segment mass spectrometry imaging (MSI) data without labels, but they are seldom tested on patients they have never seen, and seldom against plain clustering. I built a spatial-spectral hypergraph attention network (HyperGAT) for lung cancer MALDI-FTICR imaging and asked whether linking spatially distant regions that share a metabolic profile helps segment new patients. Methods Seven public lung cancer MALDI-FTICR sections were downloaded from METASPACE through its Python API and divided into 2,936 superpixels described by 108 m/z features. Each section became a hypergraph with spatial, non-local spectral and metabolic-module hyperedges. A two-level attention encoder was trained with a reconstruction loss and a soft k -means loss. HyperGAT was compared with seven baselines and six ablated variants by leave-one-patient-out cross-validation (LOPO-CV, three seeds), with the number of clusters chosen inside each training fold. Results Every fold selected two clusters. HyperGAT gave the best silhouette among the learned models (0.297 ± 0.047, against 0.161 to 0.217 for graph attention networks and a Gaussian mixture) and was on par with a 3D convolutional autoencoder. Removing any of its components lowered performance, by 6% to 49%. Yet k -means on standardised spectra beat HyperGAT in all seven held-out patients (silhouette 0.445 ± 0.074; Davies-Bouldin 1.28 vs 1.80; spatial coherence 0.954 vs 0.930). None of these differences remained significant after Holm correction. A distance-based margin score rose at the boundaries between metabolic compartments in every held-out patient (mean AUC 0.684). Conclusions On this small, low-resolution cohort, hypergraph attention was the strongest graph model I tested, but it did not outperform classical clustering. Deep unsupervised MSI methods should be reported with patient-level validation, per-section normalisation and a k -means baseline. The code and data retrieval scripts are public.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-25
DOI
https://doi.org/10.21203/rs.3.rs-11327285/v1
Primary Topic
Medical Image Segmentation Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Spatial-spectral hypergraph attention for unsupervised segmentation of lung cancer MALDI-FTICR imaging: a leave-one-patient-out benchmark against classical clustering

Amine BOUGARNE
1 links
Research Square
Medical Image Segmentation Techniques
preprint

Spatial-spectral hypergraph attention for unsupervised segmentation of lung cancer MALDI-FTICR imaging: a leave-one-patient-out benchmark against classical clustering

Amine BOUGARNE
preprint en

Abstract

Background Graph neural networks are increasingly used to segment mass spectrometry imaging (MSI) data without labels, but they are seldom tested on patients they have never seen, and seldom against plain clustering. I built a spatial-spectral hypergraph attention network (HyperGAT) for lung cancer MALDI-FTICR imaging and asked whether linking spatially distant regions that share a metabolic profile helps segment new patients. Methods Seven public lung cancer MALDI-FTICR sections were downloaded from METASPACE through its Python API and divided into 2,936 superpixels described by 108 m/z features. Each section became a hypergraph with spatial, non-local spectral and metabolic-module hyperedges. A two-level attention encoder was trained with a reconstruction loss and a soft k -means loss. HyperGAT was compared with seven baselines and six ablated variants by leave-one-patient-out cross-validation (LOPO-CV, three seeds), with the number of clusters chosen inside each training fold. Results Every fold selected two clusters. HyperGAT gave the best silhouette among the learned models (0.297 ± 0.047, against 0.161 to 0.217 for graph attention networks and a Gaussian mixture) and was on par with a 3D convolutional autoencoder. Removing any of its components lowered performance, by 6% to 49%. Yet k -means on standardised spectra beat HyperGAT in all seven held-out patients (silhouette 0.445 ± 0.074; Davies-Bouldin 1.28 vs 1.80; spatial coherence 0.954 vs 0.930). None of these differences remained significant after Holm correction. A distance-based margin score rose at the boundaries between metabolic compartments in every held-out patient (mean AUC 0.684). Conclusions On this small, low-resolution cohort, hypergraph attention was the strongest graph model I tested, but it did not outperform classical clustering. Deep unsupervised MSI methods should be reported with patient-level validation, per-section normalisation and a k -means baseline. The code and data retrieval scripts are public.

Research Square
Mohammed V University (MA)
Good health and well-being
Medical Image Segmentation Techniques
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.

Laika access coming soon