MedKAN: An Advanced Kolmogorov-Arnold Network for Medical Image Classification

Zhuoqin Yang, Jiansong Zhang, Xiaoling Luo, Zheng Lu, Linlin ShenarXiv 2025

Abstract

Recent advancements in deep learning for image classification predominantly rely on convolutional neural networks (CNNs) or Transformer-based architectures. However, these models face notable challenges in medical imaging, particularly in capturing intricate texture details and contextual features. Kolmogorov-Arnold Networks (KANs) represent a novel class of architectures that enhance nonlinear transformation modeling, offering improved representation of complex features. In this work, we present MedKAN, a medical image classification framework built upon KAN and its convolutional extensions. MedKAN features two core modules: the Local Information KAN (LIK) module for fine-grained feature extraction and the Global Information KAN (GIK) module for global context integration. By combining these modules, MedKAN achieves robust feature modeling and fusion. To address diverse computational needs, we introduce three scalable variants—MedKAN-S, MedKAN-B, and MedKAN-L. Experimental results on nine public medical imaging datasets demonstrate that MedKAN achieves superior performance compared to CNN- and Transformer-based models, highlighting its effectiveness and generalizability in medical image analysis.

Introduction

Deep learning for medical image classification has traditionally been dominated by Convolutional Neural Networks (CNNs) and Transformers. While CNNs excel at local texture extraction, they often lack global context. Conversely, Transformers capture long-range dependencies but typically require extensive datasets and high computational resources. MedKAN introduces a third path by leveraging Kolmogorov-Arnold Networks (KANs), which replace traditional linear weights with learnable non-linear functions on the network edges.

Methodology

The MedKAN architecture is a multi-stage pipeline designed to bridge the gap between local and global feature extraction.

The MedKAN pipeline architecture, detailing the Local Information KAN (LIK) and Global Information KAN (GIK) modules.

The framework consists of two primary components:

  1. Local Information KAN (LIK) Module: This module utilizes Grouped KAN-based Convolutions (LGCK) to extract fine-grained spatial features. Unlike standard convolutions, it employs learnable non-linear transformations to better represent complex medical textures.
  2. Global Information KAN (GIK) Module: To integrate global context, the GIK module flattens feature maps and processes them through multiple KAN layers, providing an efficient alternative to the self-attention mechanisms found in Transformers.

To optimize performance on modern hardware, MedKAN replaces the traditional B-splines used in KANs with Radial Basis Functions (RBFs). Because RBFs can be computed directly via mathematical expressions, they are naturally parallelizable, significantly speeding up training and inference on GPUs.

Experimental Evaluation

MedKAN was evaluated across nine datasets from the MedMNIST v2 benchmark, including BloodMNIST, OCTMNIST, and TissueMNIST. These datasets represent diverse modalities such as microscopy, optical coherence tomography, and radiology. The model was tested in three scalable variants: MedKAN-S (Small), MedKAN-B (Base), and MedKAN-L (Large).

Results and Discussion

MedKAN consistently outperformed state-of-the-art models across the benchmark. For instance, on BloodMNIST, MedKAN-B achieved an accuracy of 0.986, significantly higher than previous benchmarks. On OCTMNIST, it reached an accuracy of 0.927, outperforming models like ResNet-50 and MedViT.

Comparison of Grad-CAM visualizations between MedKAN and ResNet-50 across various medical imaging datasets.

Visual analysis using Grad-CAM demonstrates that MedKAN focuses more precisely on pathologically relevant regions compared to ResNet-50, which often exhibits more diffuse or "noisy" attention maps. This suggests that the non-linear modeling capabilities of KANs are particularly effective at isolating subtle morphological features in medical images.

Conclusion

MedKAN demonstrates that Kolmogorov-Arnold Networks can be successfully adapted for visual tasks in the medical domain. By replacing fixed linear kernels with learnable non-linear functions, the model achieves superior data efficiency and accuracy. While the largest variant (MedKAN-L) occasionally faced overfitting on smaller datasets, the overall framework provides a robust alternative to existing architectures. Future research will explore extending MedKAN to segmentation and object detection tasks.

Summary updated

BibTeX
@misc{yang2025medkan,
  author = {Zhuoqin Yang and Jiansong Zhang and Xiaoling Luo and Zheng Lu and Linlin Shen},
  title = {{MedKAN: An Advanced Kolmogorov-Arnold Network for Medical Image Classification}},
  year = {2025},
  eprint = {2502.18416},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.18416},
}
Figure