# Towards Democratising Low-Data Medical Image Classification: CPU-Trainable ZACH-ViT and Its Geometric Variants

DevFeed: [Towards Democratising Low-Data Medical Image Classification: CPU-Trainable ZACH-ViT and Its Geometric Variants](<https://devfeed.tech/articles/towards-democratising-low-data-medical-image-classification-cpu-trainable-zach-vit-and-its-geometric-variants-133129.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.16608>)

Author: Athanasios Angelakis

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [image recognition](<https://devfeed.tech/topics/image-recognition.md>), [Medical imaging](<https://devfeed.tech/topics/medical-imaging.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [Image](<https://devfeed.tech/topics/image.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [classification](<https://devfeed.tech/tags/classification.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [data](<https://devfeed.tech/tags/data.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [image-classification](<https://devfeed.tech/tags/image-classification.md>), [inference](<https://devfeed.tech/tags/inference.md>), [latency](<https://devfeed.tech/tags/latency.md>), [learning](<https://devfeed.tech/tags/learning.md>), [medical](<https://devfeed.tech/tags/medical.md>), [models](<https://devfeed.tech/tags/models.md>)

## AI overview

The tested models show CPU-only training is feasible on the evaluated platform, but performance varies by dataset and training regime. Across seven MedMNIST+ datasets and three external benchmarks, all models had fewer than 260,000 parameters and were trained from scratch. Compact-TransMIL had the highest ten-dataset mean test Macro-F1 at 23 epochs (53.34%) and with full data (73.93%); at 47 epochs, ZACH-Linear led narrowly (57.76% versus 57.54%). Longer training improved Macro-F1 in 239 of 300 paired comparisons. On ISIC2017, hZACH-Spherical led in the low-data 47-epoch setting (44.09%, SD 4.09%), while ZACH-EuclideanProto led with full data (51.27%). Forty CPU-only runs on ISIC2017 and Shenzhen used four threads. Model-only single-image inference took about 4-9 ms, while decoding and preprocessing added substantially to end-to-end latency. The abstract reports feasibility on the tested platform, not a general guarantee for other hardware or settings.

## Source excerpt

arXiv:2611.16608v1 Announce Type: cross Abstract: Medical image classification in resource-constrained settings must contend with limited annotations and computational capacity. We evaluate four ZACH-ViT variants with linear, Euclidean prototype, Poincare and spherical heads alongside two compact multiple-instance-learning baselines. All models are trained from scratch with fewer than 260,000 parameters across seven MedMNIST+ datasets and three external benchmarks (PCam, ISIC2017 and Shenzhen tuberculosis radiographs). The low-data protocol uses 50 training images per class and five seeds, with validation-selected checkpoints at 23 and 47 epochs; a full-data reference uses one seed. Compact-TransMIL achieves the highest ten-dataset mean test Macro-F1 at 23 epochs (53.34%) and with full data (73.93%). At 47 epochs, ZACH-Linear narrowly leads (57.76% versus 57.54% for Compact-TransMIL). Extending training improves Macro-F1 in 239 of 300 paired comparisons. On ISIC2017, hZACH-Spherical has the highest 47-epoch low-data Macro-F1 (44.09% with SD 4.09%), whereas ZACH-EuclideanProto leads with full data (51.27%). We additionally conduct 40 CPU-only training runs on ISIC2017 and Shenzhen using four CPU threads; model-only single-image inference requires approximately 4-9 ms, while image decoding and preprocessing substantially increase end-to-end latency. The results demonstrate the feasibility of CPU-only training on the tested platform and the task- and regime-dependence of compact medical imaging under strict resource constraints.