Random Token Fusion for Multi-View Medical Diagnosis

Jingyu Guo, Christos Matsoukas, Fredrik Strand, Kevin Smith

TL;DR

Random Token Fusion (RTF) is a novel training-time regularization technique for multi-view medical imaging that prevents Vision Transformers (ViTs) from "lazily" overfitting to a single dominant view. By randomly mixing tokens from different perspectives during training, RTF forces the model to learn robust, complementary features, leading to state-of-the-art diagnostic accuracy on mammography and chest X-ray benchmarks without any added computational cost during inference.

What Problem Does This Paper Address?

In clinical practice, doctors rarely rely on a single image. A mammogram typically includes both craniocaudal (CC) and mediolateral oblique (MLO) views, while chest X-rays often pair frontal and lateral perspectives. These multiple views provide critical context, helping to resolve ambiguities caused by overlapping tissues.

While deep learning models should benefit from this multi-view data, they often suffer from a "shortcut" problem: they overfit to the most informative or "dominant" view and ignore the subtle, complementary information in the other. This leads to brittle models that fail to capture the full diagnostic picture. The authors aim to break this dependency and force models to truly integrate information from all available imaging angles.

Illustration of the overfitting problem where the model ignores one view (top) vs. the balanced attention achieved with RTF (bottom).

Methods

The authors introduce Random Token Fusion (RTF), designed specifically for Vision Transformers. The architecture consists of a local encoder (processing views independently), a fusion module, and a global encoder.

The core innovation happens during training via a two-branch objective:

  1. Global Branch: Uses a standard fusion strategy (like concatenating all tokens from both views) to produce a prediction.
  2. RTF Branch: This is the "secret sauce." It creates a mixed representation by randomly selecting spatial tokens from either the first or second view based on a binary mask. This forces the model to handle diverse, incomplete combinations of features from both views.

Mathematically, the spatial tokens are mixed as: $$z_{spatial} = 1_M \odot z_{1,spatial} + (1 - 1_M) \odot z_{2,spatial}$$ where $1_M$ is a random binary mask.

Crucially, the RTF branch is only used during training. At inference time, the model uses the standard global branch, meaning there is zero overhead for deploying these improved models.

The multi-view ViT architecture featuring the dual-branch training setup with the RTF module.

Datasets

The researchers evaluated RTF on two major public medical benchmarks:

  • CBIS-DDSM: A mammography dataset containing CC and MLO views. The task is to classify mass abnormalities as benign or malignant.
  • CheXpert: A massive chest X-ray dataset. The authors focused on exams containing both frontal and lateral views (over 62,000 images) to classify various diagnostic observations.

Key Insights and Ideas

  • Randomness as Regularization: Similar to how Dropout prevents neurons from co-adapting, RTF prevents "view co-adaptation." By denying the model the full information of the dominant view during training, it is forced to find useful signals in the secondary view.
  • Information Theory Grounding: The authors frame RTF as a way to maximize the mutual information between the fused representation and the diagnostic target, ensuring the model captures the most informative features across the entire feature space.
  • Balanced Attention: Qualitative analysis of attention maps shows that baseline models often focus on uninformative background or just one view. RTF-trained models exhibit much more balanced attention across both views and focus more accurately on relevant anatomical regions.
Qualitative comparison showing how RTF improves the quality and balance of attention maps across different views.

Key Results

RTF consistently outperformed standard fusion methods and previous state-of-the-art (SOTA) models across both datasets and various model sizes (ViT-Tiny, Small, and Base).

  • Mammography (CBIS-DDSM): RTF achieved an AUC of 0.815, significantly higher than the single-view baseline (0.747) and late fusion (0.799). It also outperformed specialized multi-view transformers like MVT (0.803).
  • Chest X-ray (CheXpert): RTF reached an AUC of 0.849, surpassing the single-view baseline (0.838) and the previous SOTA hybrid model MV-HFMD (0.845).
  • Scalability: The performance gains were most pronounced in larger ViT variants, suggesting that RTF is particularly effective at regularizing high-capacity models that are otherwise prone to overfitting.

Limitations and Future Work

While highly effective, the paper notes a few areas for further exploration:

  • Standalone Fusion: Currently, RTF is an auxiliary training branch. The authors suggest investigating if it could serve as a standalone, computationally efficient fusion strategy.
  • Task Generalization: The study focused on mammography and X-rays. Future work could extend this to other multi-modal or multi-view tasks, such as 3D CT scans or combining imaging with electronic health records.
  • Optimal Splitting: The authors found that using 75% of transformer blocks for local encoding and 25% for global encoding worked best, but this ratio might vary for different medical tasks.

Summary updated

Abstract

In multi-view medical diagnosis, deep learning-based models often fuse information from different imaging perspectives to improve diagnostic performance. However, existing approaches are prone to overfitting and rely heavily on view-specific features, which can lead to trivial solutions. In this work, we introduce Random Token Fusion (RTF), a novel technique designed to enhance multi-view medical image analysis using vision transformers. By integrating randomness into the feature fusion process during training, RTF addresses the issue of overfitting and enhances the robustness and accuracy of diagnostic models without incurring any additional cost at inference. We validate our approach on standard mammography and chest X-ray benchmark datasets. Through extensive experiments, we demonstrate that RTF consistently improves the performance of existing fusion methods, paving the way for a new generation of multi-view medical foundation models.
BibTeX
@misc{guo2024random,
  author = {Jingyu Guo and Christos Matsoukas and Fredrik Strand and Kevin Smith},
  title = {{Random Token Fusion for Multi-View Medical Diagnosis}},
  year = {2024},
  eprint = {2410.15847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.15847},
}
Figure