Introduction
Cancer is a highly heterogeneous disease, where patients sharing a clinical diagnosis often exhibit vastly different molecular profiles and therapeutic responses. Identifying precise molecular subtypes is critical for personalized medicine. Transcriptomics, the study of RNA expression, provides a high-dimensional view of these differences. However, the "curse of dimensionality"—thousands of genes versus hundreds of samples—makes robust feature extraction challenging. While standard Variational Autoencoders (VAEs) are popular, they often impose restrictive Gaussian assumptions that "blur" the boundaries between biological groups. This paper presents a novel approach using Vector Quantized Variational Autoencoders (VQ-VAEs) to create a discrete latent space that better captures distinct cancer subtypes.
The VQ-VAE Framework
The proposed method utilizes a VQ-VAE to map high-dimensional multi-level transcriptomics data (mRNA and miRNA) into a discrete latent representation. Unlike standard VAEs that represent data in a continuous Gaussian space, the VQ-VAE employs a "codebook" of representative vectors.
As shown in Figure 1, the encoder maps input data to an output vector, which is then quantized by finding the nearest neighbor in a discrete codebook. This discrete bottleneck prevents the "smearing" effect seen in continuous models and aligns with biological "threshold" effects, where gene activity often functions in a stepped manner rather than through infinitesimal changes.
Results and Robustness
The model was evaluated using data from The Cancer Genome Atlas (TCGA) across 10 cancer types, with a primary focus on Breast Cancer (BRCA). A key finding was the robustness of the VQ-VAE features. Traditional methods often require careful tuning of downstream clustering algorithms. In contrast, VQ-VAE features proved to be "algorithm-agnostic."
As illustrated in Figure 5, whether using K-means, Spectral Clustering, or Gaussian Mixtures, the resulting patient clusters remained remarkably consistent. This suggests that the VQ-VAE is capturing a fundamental biological signal rather than an artifact of a specific mathematical optimization. Quantitatively, VQ-VAE outperformed traditional methods like Similarity Network Fusion (SNF) and standard VAEs across metrics such as Normalized Mutual Information (NMI) and Silhouette scores.
Clinical Significance and Prognosis
The identified subtypes are not merely mathematical clusters; they carry significant prognostic weight. In survival analysis, VQ-VAE-defined subtypes showed a highly significant difference in patient outcomes (P-value = 0.0104). Notably, these subtypes outperformed the current clinical gold standard, the PAM50 system, in predicting survival. Furthermore, the model enabled the discovery of potential biomarkers, such as the long non-coding gene XIST, which appeared as a central hub in specific patient subgroups.
Conclusion
By transitioning from continuous to discrete latent representations, VQ-VAEs address the inherent limitations of standard autoencoders in transcriptomic analysis. The resulting "tighter" clusters provide clearer boundaries for patient stratification, leading to better prognostic insights and more robust biomarker discovery. Future work will focus on integrating additional omics layers, such as proteomics and DNA methylation, to further refine these molecular landscapes.
Summary updated