TL;DR
This paper introduces ALL U-KAN, the first deep model built entirely from Kolmogorov-Arnold (KA) layers, successfully replacing traditional Convolutional and Fully Connected layers. By leveraging a mathematical variant of the KA theorem and a "Grad-Free Spline" strategy, the authors achieve a 20× reduction in memory consumption and a 10× reduction in parameters compared to naive deep KANs, setting new state-of-the-art results in medical image segmentation.
What Problem Does This Paper Address?
Kolmogorov-Arnold Networks (KANs) have recently made waves as a potential alternative to Multi-Layer Perceptrons (MLPs). Unlike standard networks that use fixed activation functions on nodes, KANs use learnable univariate spline functions on the "edges" (weights). While they offer incredible expressivity and interpretability, they suffer from two major "deal-breakers" when scaled to deep architectures:
- Training Difficulty: A standard KAN layer has $O(n_{in}n_{out}n_{spline})$ parameters. Because each input dimension gets its own independent activation function, the model is massive and each parameter sees very little data during training.
- Memory Explosion: Backpropagating through complex spline computations requires storing massive gradient graphs. This makes "deep" KANs (more than a few layers) practically impossible to train on consumer or even professional GPUs.
Because of these hurdles, previous research has been forced to use "hybrid" models—mostly standard CNNs with just one or two KAN layers sprinkled in.
Methods
The authors propose three core innovations to break the "depth barrier" for KANs:
- Share-activation KAN (SaKAN): Instead of the vanilla KA theorem, they use Sprecher’s variant. This allows the model to share a single activation function across multiple input dimensions. This does two things: it slashes the parameter count and ensures each learnable function is trained on "denser" samples from all inputs, making optimization much smoother.
- Grad-Free Spline: The authors discovered a surprising "aha" moment: the gradients of the spline basis functions contribute almost nothing to the final training result but take up the vast majority of GPU memory. By detaching the spline gradients and letting the linear residual (a SiLU-based connection) handle the gradient flow, they drastically reduce the memory footprint without losing accuracy.
- KAonv Layers: They extend these principles to create a "KA-based Convolutional" layer, allowing them to build a full U-Net style architecture (ALL U-KAN) where every single operation is KA-based.
Datasets
The model was evaluated on three diverse medical image segmentation benchmarks:
- BUSI: Ultrasound images for breast cancer segmentation.
- GlaS: Gland segmentation in histology images.
- CVC-ClinicDB: Polyp detection and segmentation in colonoscopy videos.
Key Insights and Ideas
- The "Linear Residual" is the Hero: The paper demonstrates that in a KAN, the linear residual part (the non-spline part of the edge) is the primary driver of gradient propagation. This insight is what allows for the "Grad-Free Spline" optimization, which is the key to making KANs deep.
- Symmetry and Cancellation: The authors provide a theoretical proof that spline gradients often cancel each other out because the derivatives of spline bases are symmetric and sum to zero. This explains why we can ignore them during backprop without hurting the model.
- Purity Matters: While previous works suggested KANs are best used as "plug-ins" for CNNs, this paper argues that a fully KA-based model captures non-linear features more effectively than hybrid models, especially for complex medical textures.
Key Results
- Performance: ALL U-KAN outperformed standard U-Net, U-Net++, and even the previous "partial" U-KAN across all datasets. For example, on the BUSI dataset, it achieved an IoU of 66.14, significantly higher than the original U-KAN's 63.38.
- Efficiency: Compared to a hypothetical "naive" deep KAN, ALL U-KAN reduced parameters by 10× and memory usage by over 20×.
- Scaling: In ablation studies, the authors showed that while a standard deep KAN would require >24GB of VRAM (exceeding a 3090 GPU), their optimized version consumed only 0.597 GB for a similar depth.
Limitations and Future Work
- Computational Speed: Even though memory usage is down, KANs are still computationally "heavy." The spline calculations (de Boor–Cox formula) are slower than standard matrix multiplications. The authors note that their model is slower to train than a standard MLP or CNN.
- Hardware Optimization: Current deep learning hardware (NVIDIA Tensor Cores) is optimized for matrix multiplication, not spline evaluation. Future work will likely need to focus on custom CUDA kernels or hardware-level acceleration to make KANs as fast as they are accurate.
- Generalization: While medical imaging is a great proving ground, it remains to be seen if "fully" KA-based models will dominate in other domains like Natural Language Processing or general Computer Vision.
Summary updated