Joint Multi-task Learning Improves Weakly-Supervised Biomarker Prediction in Computational Pathology

Omar S. M. El Nahhas, Georg Wölflein, Marta Ligero, Tim Lenz, Marko van Treeck, Firas Khader, Daniel Truhn, Jakob Nikolas Kather

TL;DR

Researchers have developed a new multi-task Transformer framework that significantly improves the prediction of cancer biomarkers from histology slides. By training the model to simultaneously predict primary clinical biomarkers (like MSI and HRD) alongside auxiliary "biology-informed" traits of the tumor microenvironment, they achieved a state-of-the-art AUROC improvement of up to 7.7% on external validation cohorts.

What Problem Does This Paper Address?

In computational pathology, predicting biomarkers—molecular signatures that guide cancer treatment—directly from hematoxylin and eosin (H&E) stained tissue slides is a "weakly-supervised" challenge. Because we only have labels for the whole slide (e.g., "this patient has MSI-high cancer") rather than for every tiny patch of tissue, models often struggle to generalize to new data.

While most current methods treat this as a single classification task, we know from biology that these biomarkers are deeply linked to the Tumor Microenvironment (TME), such as the presence of immune cells. The authors address a key question: Can we improve a model's performance on a primary task by forcing it to learn these related biological "side-quests" through multi-task learning?

Methods

The authors propose a joint multi-task Transformer architecture. The pipeline works as follows:

  1. Feature Extraction: Whole Slide Images (WSIs) are broken into patches. A pre-trained model called CTransPath converts these patches into feature vectors.
  2. Transformer Encoder-Decoder: These vectors are fed into a Transformer. Unlike standard Vision Transformers, this model uses specific, learnable tokens: [cls] tokens for the main classification task and [rgr] tokens for auxiliary regression tasks.
  3. Multi-Task Balancing: Combining different types of losses (classification vs. regression) is notoriously difficult. The authors performed a massive benchmark of 16 different task-balancing approaches, including weighting-based methods (like Uncertainty and Auto-Lambda) and gradient-based methods (like PCGrad and GradDrop), to find the optimal way to train the model without the tasks "fighting" each other.

Datasets

The study utilized four major public patient cohorts:

  • Training: TCGA-CRC (Colorectal Cancer) for MSI prediction and TCGA-LUAD (Lung Adenocarcinoma) for HRD prediction.
  • External Validation: CPTAC-CRC and CPTAC-LUAD were used to test how well the models generalize to data from different institutions.
  • Auxiliary Targets: Data for the tumor microenvironment (e.g., lymphocyte infiltration, stromal fraction) was pulled from established molecular studies (Thorsson et al.) to serve as the ground truth for the regression tasks.

Key Insights and Ideas

  • Biology-Informed Learning: The "aha moment" here is that the model doesn't just benefit from more data, but from biologically relevant data. By forcing the model to quantify the TME, it learns to attend to the specific tissue structures that are most predictive of the primary biomarker.
  • The Power of Balancing: The researchers found that "naive" multi-tasking (simply adding losses together) is often suboptimal. Sophisticated combinations, specifically Auto-Lambda (autol) + Conflict-Averse Gradient Descent (cagrad), proved most effective at navigating the trade-offs between tasks.
  • Better Latent Representations: Beyond just higher accuracy, the multi-task approach produced "cleaner" internal data representations. The latent embeddings showed significantly better clustering (measured by Silhouette Scores), suggesting the model is learning more distinct biological features rather than just memorizing patterns.

Key Results

The multi-task approach consistently outperformed the previous State-of-the-Art (SOTA) and a single-task baseline:

  • MSI Prediction: Achieved an AUROC of 94.0% in the TCGA-CRC cohort. On external validation (CPTAC), it outperformed SOTA by +7.7%.
  • HRD Prediction: Outperformed SOTA by +4.1% on external validation.
  • Clustering Quality: The multi-task models improved the clustering of latent embeddings by +8% for MSI and +5% for HRD, indicating a more robust and generalizable internal "understanding" of the tissue.

Limitations and Future Work

  • TME Label Availability: The auxiliary TME signatures used for training are not always available for every dataset, which limits where this specific joint-training regime can be initiated.
  • Scope of Biomarkers: This study focused on two high-impact biomarkers (MSI and HRD). Future work could explore whether this multi-task benefit extends to a wider array of genomic alterations or treatment response predictions.
  • Computational Cost: Some of the more advanced gradient-balancing methods (like cagrad) add computational overhead during the training phase compared to simple classification models.

Summary updated

BibTeX
@inproceedings{nahhas2024joint,
  author = {Omar S. M. El Nahhas and Georg Wölflein and Marta Ligero and Tim Lenz and Marko van Treeck and Firas Khader and Daniel Truhn and Jakob Nikolas Kather},
  title = {{Joint Multi-task Learning Improves Weakly-Supervised Biomarker Prediction in Computational Pathology}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
  url = {https://openreview.net/forum?id=F2N7dl8BM4},
}
Figure