Continual learning in KANs

February 25, 2025 ยท View on GitHub

This repository contains the codes for the paper A preliminary study on continual learning in computer vision using Kolmogorov-Arnold Networks. We investigate the ability of Kolmogorov-Arnold Networks (KANs) to deal with computer vision tasks in a class-incremental learning scenario.

KANs were presented by Liu and colleagues in their work KAN: Kolmogorov-Arnold Networks.


๐Ÿ“™ The slideshow presented on the day of the exam:

KANs Continual Learning [Slideshow PPTX] - Morelli Valerio Paganica Federica.pptx

KANs Continual Learning [Slideshow PDF] - Morelli Valerio Paganica Federica.pdf

KANs Continual Learning [Thesis PDF] - Morelli Valerio Paganica Federica.pdf


๐Ÿ“˜ Table of Contents

โฌ‡๏ธ Class-IL Scenario

MLP vs PyKAN vs EffKAN

๐ŸŽฌ The following videos highlight the difference between MLP, PyKAN (PyKAN), and EffKAN (EfficientKAN) in a Class-IL scenario on the MNIST dataset. Each video shows the per-epoch predicitons of the corresponding model in the optimal hyper-parameter configuration.

ezgif-1-fbb98f01ac ezgif-1-8df0446f8e ezgif-1-0237d323d5

The following test accuracy plots show the same trainin runs as the confusion matrices. fig4plot_PyKAN fig4plot_MLP fig4plot_EffKAN

KAN-based and non-KAN-based convolutional nets

Based on Convolutional-KANs by AntonioTepsich.

ConvNetslr-6

โ— The Gaussian Peaks Problem

Here we show how the 8th PyKAN regression example can be solved by EfficientKAN with the same performance as PyKAN.

Read more on Something different from the official results for KAN_

After introducing the sb_trainable and sp_trainable on the EfficientKAN class, and setting them to False just like PyKAN does, the same results can be achieved:

GaussianPeaksEfficientKAN GaussianPeaksPyKAN

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Authors

NameEmailGitHub
Valerio Morellis1118781@studenti.univpm.itMrPio
Federica Paganicas1116749@studenti.univpm.itFederica
Alessandro Cacciatorea.cacciatore1@unimc.itgeronimaw