Manuscript Offprint

arXiv:2609.06838

A Shared-Backbone Approach for Multi-Task MedMNIST Classification

Stefan-Dorian Gavril, Andrei Arhire, Adrian Iftene

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Multi-task biomedical classification requires models to generalize across disparate modalities and class distributions. We study 11 heterogeneous MedMNIST datasets using the harmonic mean of per-task macro-F1. We evaluate three backbones with task-specific linear heads. We identify a resolution domain shift between the MedMNIST API and evaluation environment. Resolving this inconsistency and optimizing architecture-specific regularization substantially improved performance. Our best configuration, a ConvNeXt-Tiny backbone with label smoothing, achieved a leaderboard harmonic-mean macro-F1 of 0.73294 in the Tensor Reloaded: Multi-Task MedMNIST competition, ranking sixth at the close of the official competition phase. Our implementation is publicly available online at github.com/GavrilStefan-Dorian.

Keywords: MedMNIST, multi-task learning, transfer learning, biomedical image classification, label smoothing.

1. Introduction

Multi-task learning in medical imaging allows a single model to exploit shared low-level visual features across varied modalities while maintaining task-specific classification heads. This is appealing in principle, but biomedical imaging makes it hard in practice: modalities differ wildly in appearance, dataset sizes can span several orders of magnitude, and class distributions are frequently skewed toward a dominant diagnosis. The MedMNIST collection [1] packages this difficulty into a convenient benchmark of standardised, low-resolution biomedical datasets. It is precisely this combination of heterogeneity and small image size that makes the multi-task setting interesting to study — enough so that it has become the basis of an active Kaggle benchmark track (Tensor Reloaded Multi-Task MedMNIST [2]), which we use throughout this paper. The setting is hard in two concrete ways. First, the 11 datasets used here range from 546

training images (BreastMNIST) to 165,466 (TissueMNIST). The harmonic mean evaluation metric means a model that ignores small tasks will score poorly regardless of how well it handles large ones. Second, the evaluation test set is fixed at 28×28, while the public MedMNIST API provides higher-resolution 64px, 128px, and 224px downloads. We initially trained on native 64px API images and evaluated on 28px test images, which creates a domain shift that is easy to miss if you only look at validation scores.

This paper walks through the decisions and mistakes that led to the final result. The goal was not to find the best possible architecture, but to understand what actually moves the score on this kind of heterogeneous, harmonic-mean-scored multi-task benchmark.

References (15)