Saved in:
Bibliographic Details
Main Authors: Shao, Daniel, Runevic, Joel, Chen, Richard J., Williamson, Drew F. K., Kim, Ahrong, Song, Andrew H., Mahmood, Faisal
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.22198
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918404158390272
author Shao, Daniel
Runevic, Joel
Chen, Richard J.
Williamson, Drew F. K.
Kim, Ahrong
Song, Andrew H.
Mahmood, Faisal
author_facet Shao, Daniel
Runevic, Joel
Chen, Richard J.
Williamson, Drew F. K.
Kim, Ahrong
Song, Andrew H.
Mahmood, Faisal
contents Multiple Instance Learning (MIL) is the predominant framework for classifying gigapixel whole-slide images in computational pathology. MIL follows a sequence of 1) extracting patch features, 2) applying a linear layer to obtain task-specific patch features, and 3) aggregating the patches into a slide feature for classification. While substantial efforts have been devoted to optimizing patch feature extraction and aggregation, none have yet addressed the second point, the critical layer which transforms general-purpose features into task-specific features. We hypothesize that this layer constitutes an overlooked performance bottleneck and that stronger representations can be achieved with a low-rank transformation tailored to each patch's phenotype, yielding synergistic effects with any of the existing MIL approaches. To this end, we introduce MAMMOTH, a parameter-efficient, multi-head mixture of experts module designed to improve the performance of any MIL model with minimal alterations to the total number of parameters. Across eight MIL methods and 19 different classification tasks, we find that such task-specific transformation has a larger effect on performance than the choice of aggregation method. For instance, when equipped with MAMMOTH, even simple methods such as max or mean pooling attain higher average performance than any method with the standard linear layer. Overall, MAMMOTH improves performance in 130 of the 152 examined configurations, with an average $+3.8\%$ change in performance. Code is available at https://github.com/mahmoodlab/mammoth.
format Preprint
id arxiv_https___arxiv_org_abs_2603_22198
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Mixture of Mini Experts: Overcoming the Linear Layer Bottleneck in Multiple Instance Learning
Shao, Daniel
Runevic, Joel
Chen, Richard J.
Williamson, Drew F. K.
Kim, Ahrong
Song, Andrew H.
Mahmood, Faisal
Computer Vision and Pattern Recognition
Multiple Instance Learning (MIL) is the predominant framework for classifying gigapixel whole-slide images in computational pathology. MIL follows a sequence of 1) extracting patch features, 2) applying a linear layer to obtain task-specific patch features, and 3) aggregating the patches into a slide feature for classification. While substantial efforts have been devoted to optimizing patch feature extraction and aggregation, none have yet addressed the second point, the critical layer which transforms general-purpose features into task-specific features. We hypothesize that this layer constitutes an overlooked performance bottleneck and that stronger representations can be achieved with a low-rank transformation tailored to each patch's phenotype, yielding synergistic effects with any of the existing MIL approaches. To this end, we introduce MAMMOTH, a parameter-efficient, multi-head mixture of experts module designed to improve the performance of any MIL model with minimal alterations to the total number of parameters. Across eight MIL methods and 19 different classification tasks, we find that such task-specific transformation has a larger effect on performance than the choice of aggregation method. For instance, when equipped with MAMMOTH, even simple methods such as max or mean pooling attain higher average performance than any method with the standard linear layer. Overall, MAMMOTH improves performance in 130 of the 152 examined configurations, with an average $+3.8\%$ change in performance. Code is available at https://github.com/mahmoodlab/mammoth.
title Mixture of Mini Experts: Overcoming the Linear Layer Bottleneck in Multiple Instance Learning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2603.22198