Mass spectrometry imaging (MSI) measures a full mass spectrum at every pixel of a tissue section. This shows where thousands of molecules, such as lipids, metabolites, and peptides, are located in the tissue, without any labeling. It can reveal molecular changes in disease, for example in tumors, that are not visible in standard histology. MSI data are also very high-dimensional and noisy, and they are hard to compare across sections and patients. A single section can contain tens of thousands of pixels, each with thousands of m/z channels. Turning this data into reliable and interpretable tissue maps is therefore a central problem in computational pathology.
In earlier work on oral squamous cell carcinoma, we showed that autoencoder-based representations, combined with UMAP, HDBSCAN, and SHAP-based feature attribution, separate tumor, epithelium, and stroma much better than PCA or direct UMAP (adjusted Rand index 0.74–0.76 compared with 0.31–0.34). They also identify candidate m/z markers. This project extends that work to multiple sections, patients, and cancer types, and has four aims:
1. Dimensionality reduction: learn compact spectral representations with variational, denoising and masked autoencoders, and with transformer-based spectral encoders trained by self-supervised masked-spectrum modelling.
2. Task-specific feature extraction in the neighborhood between pixels.
3. Registration: align MSI data with H&E images of the same or adjacent sections. This step transfers pathologist annotations and histology features to the MSI data, and makes 3D reconstruction from serial sections possible. We will use deep deformable registration models (VoxelMorph, TransMorph) with multimodal similarity measures, keypoint-based initial alignment (SuperPoint/LightGlue), and features from histology foundation models (UNI, CONCH).
4. Tissue segmentation: produce spatially coherent segmentations with U-Net, nnU-Net, and Swin-UNETR/SegFormer models. These models take both spectral and registered histology inputs, and we will train them with weakly supervised learning where annotations are sparse.
Need for GPU resources. These models must process full spectral-spatial data cubes and high-resolution whole-slide images together. Attention-based spectral encoders and 3D registration networks need a large amount of GPU memory. Self-supervised pre-training on many sections, patient-level cross-validation, multiple random seeds, and systematic hyperparameter searches each require hundreds of training runs. On CPUs or small GPUs this would take months. A large allocation of high-memory GPUs and CPUs is therefore needed for the project to be completed in a reasonable time and for the results to be robust and reproducible.
Main Supervisor: Orcun Goksel - IT Department - Vi3 Division - Image Analysis Unit