A Multiscale Frequency Domain Causal Framework for Enhanced Pathological Analysis

Xiaoyu Cui, Weixing Chen, Jiandong SuICLR 2025

TL;DR

The Multi-Scale Frequency Domain Causal (MFC) framework is a novel, "plug-and-play" approach that significantly boosts the accuracy and reliability of digital pathology AI. By combining causal inference with frequency-domain analysis, it prevents models from being fooled by "spurious correlations"—such as mistaking a specific stain color for a disease state—and better integrates tissue structures across multiple magnifications.

The Challenge: Data Bias in Digital Pathology

In digital pathology, Whole Slide Images (WSIs) are massive, often containing billions of pixels. To process them, researchers typically use Multiple Instance Learning (MIL), which breaks these giant images into smaller, manageable patches. However, MIL models are notoriously prone to data bias.

For example, if most cancerous samples in a training set happen to be stained with a slightly darker purple dye, a model might incorrectly learn that "dark purple equals cancer." This is a spurious correlation caused by an unobservable confounder (the staining process). When the model encounters a dark purple healthy slide, it fails. Furthermore, existing models struggle to simultaneously capture "big picture" tissue architecture at low magnification and "fine-grained" cellular details at high magnification without becoming computationally bloated.

Introducing the MFC-MIL Framework

To address these limitations, the authors introduce the MFC-MIL framework. It consists of three novel modules designed to be seamlessly integrated into existing MIL architectures:

  1. Causal Memory Intervention Module (CMIM): This acts as the "brain" of the causal approach. It uses a learnable memory module to estimate the overall data distribution. By applying front-door adjustment (a technique from causal inference), it effectively "cuts" the influence of confounders. Instead of just looking at a patch and predicting a label, it uses the memory to simulate interventions that force the model to rely on features that actually cause the disease state.
  2. Multiscale Spatial Representation Module (MSRM): To handle the magnification problem, this module uses large-kernel convolutions and positional encoding to capture spatial relationships across multiple scales. It helps the model see both the "forest" (overall tissue structure) and the "trees" (individual cells).
  3. Frequency Domain Structure Representation Module (FSRM): This unique module applies a Hilbert transform to the features. In the frequency domain, structural information (like cell boundaries) is often separated from color information. By focusing on the "phase" of the signal, the model becomes much more robust to variations in staining and contrast.
The overall MFC-MIL framework, showing how features are extracted, aggregated, and passed through the causal and frequency modules.

Key Insights and Innovations

  • Deconfounding via Memory: Traditional causal methods often require expensive clustering to estimate data distributions. MFC-MIL’s use of an adaptive memory module allows for end-to-end training, making causal intervention computationally feasible for massive pathology datasets.
  • The Power of Phase: The authors found that the Hilbert transform (FSRM) significantly improves the model's sensitivity to lesion areas. By capturing "instantaneous phase," the model identifies rapid intensity variations—like cell membranes—while ignoring slow-moving color shifts caused by staining.
  • Structural Causal Models (SCM) in MIL: The paper provides a formal derivation for applying the front-door criterion to MIL, offering a theoretical bridge between "black box" deep learning and rigorous causal analysis.

Experimental Results

The framework was evaluated on two heavyweights in the pathology world: Camelyon16 (breast cancer metastases) and TCGA-NSCLC (lung cancer). Tested as a "plugin" for several state-of-the-art MIL models (like ABMIL, DSMIL, and TransMIL), it delivered substantial gains across the board:

  • Accuracy Boost: On the Camelyon16 dataset, adding MFC to the DSMIL baseline improved average accuracy by 5.27%.
  • Generalization: On the TCGA-NSCLC dataset, the framework improved the DTFD-MIL model's accuracy by nearly 10%.
  • Specificity: As shown in the ablation studies, the CMIM module is particularly effective at reducing false positives. Combining all three modules yields the highest overall performance and a strong specificity score.
Ablation study results demonstrating the performance contributions of the CMIM, MSRM, and FSRM modules.

Limitations and Future Work

While the results are impressive, the authors note a few areas for refinement:

  • The Conservative Bias: Causal interventions tend to make the model more "conservative." While this drastically improves specificity (fewer false alarms), it can sometimes lead to a slight decrease in recall (missing subtle positive cases).
  • Memory Tuning: The performance is sensitive to the number of "memory slots." Too few slots fail to capture the data's complexity, while too many can lead to overfitting on noise.

In the future, the team plans to explore more advanced regularization methods, such as those based on Rényi entropy, to further enhance how the memory module represents the data distribution.

Summary updated

BibTeX
@inproceedings{cui2025multiscale,
  author = {Xiaoyu Cui and Weixing Chen and Jiandong Su},
  title = {{A Multiscale Frequency Domain Causal Framework for Enhanced Pathological Analysis}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=6xrDPHhwD3},
}
Figure