README.md
May 27, 2025 · View on GitHub
KAN You See It? KANs and Sentinel for Effective and Explainable Crop Field Segmentation
Daniele Rege Cambrin1 · Eleonora Poeta1 · Eliana Pastor1
Tania Cerquitelli1 · Elena Baralis1 · Paolo Garza1
1Politecnico di Torino, Italy
This paper analyzes the integration of KAN layers into the U-Net architecture (U-KAN) to segment crop fields using Sentinel-2 and Sentinel-1 satellite images and provides an analysis of the performance and explainability of these networks. Our findings indicate a 2% improvement in IoU compared to the traditional full-convolutional U-Net model in fewer GFLOPs. Furthermore, gradient-based explanation techniques show that U-KAN predictions are highly plausible and that the network has a very high ability to focus on the boundaries of cultivated areas rather than on the areas themselves. The per-channel relevance analysis also reveals that some channels are irrelevant to this task.
Getting Started
Install the dependencies of the requirements.txt file. Make sure to edit the config files in the configs/ folder. Then, simply run main.py to train the models.
Use the xai.ipynb for the explainability part.
Contributors
The repository setup is by Eleonora Poeta for the XAI section and Daniele Rege Cambrin for the remaining.
Metadata
You can find the computed cloud masks for Sentinel-2 on HuggingFace.
License
This project is licensed under the Apache 2.0 license. See LICENSE for more information.
U-Net is licensed under GPL-3 license. See LICENSE for more information.
U-KAN is licensed under MIT license. See LICENSE for more information.
Citation
If you find this project useful, please consider citing:
@inbook{RegeCambrin2025,
title = {KAN You See It? KANs and Sentinel for Effective and Explainable Crop Field Segmentation},
ISBN = {9783031918353},
ISSN = {1611-3349},
url = {http://dx.doi.org/10.1007/978-3-031-91835-3_8},
DOI = {10.1007/978-3-031-91835-3_8},
booktitle = {Computer Vision – ECCV 2024 Workshops},
publisher = {Springer Nature Switzerland},
author = {Rege Cambrin, Daniele and Poeta, Eleonora and Pastor, Eliana and Cerquitelli, Tania and Baralis, Elena and Garza, Paolo},
year = {2025},
pages = {115–131}
}