---
title: 'U-FunKAN: Binary Med Image Segmentation'
url: https://www.emergentmind.com/topics/u-funkan
type: topic
---

# U-FunKAN: Binary Med Image Segmentation

U-FunKAN is a binary medical image segmentation architecture introduced within the broader FunKAN framework in "FunKAN: Functional Kolmogorov-Arnold Network for Medical Image Enhancement and Segmentation" [2509.13508]. It embeds functional Kolmogorov-Arnold layers into a U-Net–style encoder–decoder and is motivated by a specific limitation of prior KAN-based image models: the reliance on flattened feature representations, which the paper argues fundamentally disrupts the intrinsic spatial structure of imaging data. Within that framework, U-FunKAN is presented as a state-of-the-art binary medical segmentation model and is benchmarked on BUSI, GlaS, and CVC-ClinicDB, targeting breast tumors, glands, and polyps, respectively [2509.13508].

## 1. Position within the FunKAN framework

The FunKAN paper addresses two medical image processing problems: image enhancement and segmentation. FunKAN is the general functional Kolmogorov-Arnold architecture proposed for image processing, while U-FunKAN is the segmentation-specific instantiation obtained by embedding functional layers into a U-Net–style encoder–decoder. The paper therefore treats U-FunKAN not as an independent theoretical construct, but as the architectural realization of the FunKAN formalism for binary medical segmentation [2509.13508].

The motivating contrast is explicit. Traditional deep learning approaches are described as often relying on complex architectures with limited interpretability, whereas conventional KAN formulations are described as interpretable but structurally mismatched to imaging data because they flatten spatially organized inputs. U-FunKAN is designed to preserve intrinsic \(2\)D image structure while retaining the interpretability associated with Kolmogorov-Arnold decompositions. This suggests that its central novelty lies less in replacing encoder–decoder segmentation practice than in redefining the internal function class used at the bottleneck.

The paper situates U-FunKAN alongside both classical U-Net variants and KAN-based backbones. In the reported segmentation experiments, the comparison set includes U-Net, Att-U-Net, U-Net++, U-Mamba, and U-KAN. The stated comparative target is therefore broad: conventional CNN segmentation models, attention-augmented variants, state-space-inspired segmentation, and earlier KAN-based designs.

## 2. Functional Kolmogorov-Arnold formulation

The theoretical basis begins with the classical Kolmogorov-Arnold representation theorem for a continuous multivariate function \(f:[0,1]^n\to\mathbb{R}\), stated as

$$
f(x_1,\dots,x_n)=\sum_{j=1}^{2n+1}\zeta_j\left(\sum_{i=1}^n \phi_{ji}(x_i)\right),
$$

where each inner map \(\phi_{ji}:[0,1]\to\mathbb{R}\) and outer map \(\zeta_j:\mathbb{R}\to\mathbb{R}\) is continuous. U-FunKAN is built on the paper’s hypothesized formal generalization of this representation to continuous functionals on \(H^n\), where \(H\) is a separable Hilbert space, such as an \(L^2\)-space of images [2509.13508].

That functional extension is stated informally as

$$
f(\chi_1,\dots,\chi_n),\ \chi_i\in H
\approx
\sum_{j=1}^m \zeta_j\left(\sum_{i=1}^n \varphi_{ji}(\chi_i)\right),
$$

where \(\varphi_{ji}:H\to\mathbb{R}\) are continuous linear functionals and \(\zeta_j:\mathbb{R}\to\mathbb{R}\) are continuous outer functions. By the Riesz representation theorem, each \(\varphi_{ji}\) is identified with an inner product:

$$
\varphi_{ji}(\cdot)=\langle w_{ji},\cdot\rangle,\qquad w_{ji}\in H.
$$

In the deep-network construction, these approximations are layered as

$$
\chi_{\ell+1,j}=\sum_{i=1}^n \varphi_{\ell,ji}(\chi_{\ell,i}),\qquad \ell=1,\dots,L,
$$

with

$$
\varphi_{\ell,ji}(\chi)=\langle w_{\ell,ji},\chi\rangle,\qquad w_{\ell,ji}\in H.
$$

The consequence for segmentation is structural. Instead of treating image features as flattened coordinate vectors, U-FunKAN treats them as elements of a function space and parameterizes cross-channel transformations through continuous linear functionals. A common point of confusion is to assimilate U-FunKAN to a conventional KAN applied to image tensors; the paper’s explicit claim is the opposite, namely that the model is defined by extending Kolmogorov-Arnold representations onto functional spaces rather than by reusing flattened feature representations.

## 3. Fourier-Hermite parameterization and interpretable inner mappings

To make the functional maps trainable, U-FunKAN projects each \(w_{\ell,ji}\) onto the first \(r\) Hermite basis functions \(\{\psi_k(x)=H_k(x)e^{-x^2/2}\}_{k=1}^r\). The paper gives the approximation

$$
w_{\ell,ji}(x)\approx \sum_{k=1}^r c_{\ell,ji,k}\psi_k(x),
$$

which induces

$$
\varphi_{\ell,ji}(\chi)
=
\langle w_{\ell,ji},\chi\rangle
=
\sum_{k=1}^r c_{\ell,ji,k}\langle \psi_k,\chi\rangle.
$$

The trainable coefficients \(c_{\ell,ji,k}\) are stored in an attention matrix \(A_\ell\in\mathbb{R}^{n\times r}\), described as directly interpretable because row \(i\) contains the spectral weights used to map channel \(\chi_{\ell,i}\) into the next layer [2509.13508].

This spectral construction is a defining property of U-FunKAN. The inner mapping is expressed through a small number of Hermite modes, and in the segmentation instantiation the bottleneck uses \(r=6\) Hermite bases. The paper describes this as spectral interpretability: every FunKAN block’s inner mapping is expressed as a small number of modes, enabling post-hoc analysis of which spatial frequencies each channel uses. A plausible implication is that interpretability is attached not merely to attention coefficients in an abstract sense, but specifically to a basis expansion over a known functional basis.

The architecture also includes spatial adaptivity through learned offset fields \(\Delta q_\ell\). These offsets deform the sampling grid from \(q\) to \(q+\Delta q_\ell\), and the paper states that the resulting fields can be visualized to show where the network “looks” hardest, for example along edges. This combines spectral filtering with a deformation mechanism rather than treating them as separate design choices.

## 4. Encoder-decoder realization

U-FunKAN embeds the functional layers into a standard U-Net–style encoder–decoder. The input \(I^0\) has shape \(H\times W\times 1\) or \(3\), followed by an embedding convolution \(3\times 3\to 16\) channels. The encoder then comprises four lifting stages with channel sizes \(C_1=32\), \(C_2=64\), \(C_3=128\), and \(C_4=128\). At each stage, the paper specifies a strided \(3\times 3\) convolution with ReLU pre-activation for downsampling to \((H/2)\times(W/2)\), together with a residual connection in the corresponding channel space [2509.13508].

The bottleneck is the architectural locus of the FunKAN machinery. It consists of a sequence of three FunKAN blocks, each with \(n=C_3=128\) channels and \(r=6\) Hermite bases. For each block, a small residual network computes dynamic offsets \(\Delta q_\ell\), the sampling grid is deformed to \(q+\Delta q_\ell\), and each output channel \(\chi_{\ell+1,j}\) is computed by the functional spectral expansion across the \(128\) inner channels. A skip connection from the input of the FunKAN block is added in pre-activation form.

The decoder mirrors the encoder. For stages \(s=4,\dots,1\), it applies nearest-neighbour \(\times 2\) upsampling, a \(3\times 3\) convolution with ReLU pre-activation to recover \(C_{s-1}\) channels, and a skip connection from the corresponding encoder stage. Restoration is performed by a \(1\times 1\) convolution producing \(1\) or \(2\) output logits. Each FunKAN block preserves spatial resolution \((H/16)\times(W/16)\) across its \(128\) channels, replacing the usual convolution-plus-nonlinearity pattern with the functional spectral expansion.

Architecturally, this means that U-FunKAN retains a familiar multi-scale segmentation scaffold while relocating most of the theoretical innovation to the bottleneck. This suggests a deliberate division of labor: conventional hierarchical feature aggregation in the encoder–decoder and functional approximation in the latent stage.

## 5. Optimization protocol and evaluation datasets

For segmentation, the paper defines the loss as

$$
L_{\mathrm{segm}}=\frac{1}{N}\sum_{b=1}^N \left[0.1\cdot CE(I_b^*,I_b^1)+Dice(I_b^*,I_b^1)\right],
$$

where \(CE\) is binary cross-entropy and \(Dice(\cdot,\cdot)\) is the standard soft-Dice loss. Optimization uses Adam with \(\beta_1=0.9\), \(\beta_2=0.999\), and \(\epsilon=10^{-8}\). The learning-rate schedule is manual: epochs \(1\ldots ?\) at \(1\times 10^{-4}\), reduction to \(5\times 10^{-5}\) on plateau, then \(1\times 10^{-5}\) until convergence. The batch size is \(8\). Data augmentation on segmentation tasks consists of random horizontal and vertical flips, \(90^\circ\) rotations, and transpositions, each with \(p=0.5\), while BatchNorm in residual and offset blocks is used to ensure stable gradients [2509.13508].

The segmentation benchmarks are three binary medical datasets.

| Dataset | Samples | Target |
|---|---:|---|
| BUSI | 780 images total; 647 with annotated benign/malignant masks \((256\times 256)\) | Tumor region |
| GlaS | 165 H\&E stained RGB images \((512\times 512)\) | Glandular structures |
| CVC-ClinicDB | 612 frames \((256\times 256)\) | Pixel-wise polyp annotation |

For GlaS, the split is \(80/20\) train/test with seed \(42\). For CVC-ClinicDB, the split is \(80/20\) randomized train/test. In all cases, images are resized to uniform resolution, normalized to \([0,1]\), and augmented as specified above. The reported metrics are Intersection-over-Union and F1 score.

The dataset composition matters because it spans ultrasound, histology, and endoscopy. The paper explicitly frames this as cross-modality evaluation, and a plausible implication is that the architecture is intended to test whether functional spectral mappings remain stable across markedly different image statistics and anatomical textures.

## 6. Empirical performance, interpretability, and clinical relevance

The quantitative comparison reports the following U-FunKAN scores: on BUSI, \(68.49\pm 0.62\) IoU and \(77.37\pm 0.58\) F1; on GlaS, \(88.02\pm 0.24\) IoU and \(93.50\pm 0.12\) F1; on CVC-ClinicDB, \(85.93\pm 0.72\) IoU and \(91.42\pm 0.61\) F1 [2509.13508]. The paper states that U-FunKAN achieves the highest IoU on all three datasets, with particularly strong gains on BUSI \((+5.1\ \text{pp vs U-KAN})\), and that in GlaS it also attains the best F1. The comparative table shows that the CVC F1 is not the highest reported F1 across all methods, but the IoU remains the best in that benchmark.

The baseline values contextualize those improvements. On BUSI, U-KAN reports \(63.38\pm 2.83\) IoU and \(76.40\pm 2.90\) F1, while U-Mamba reports \(61.81\pm 3.24\) IoU and \(75.55\pm 3.01\) F1. On GlaS, U-KAN reports \(87.64\pm 0.32\) IoU and \(93.37\pm 0.16\) F1. On CVC-ClinicDB, U-KAN reports \(85.05\pm 0.53\) IoU and \(91.88\pm 0.29\) F1. The paper further states that, compared to prior KAN-based backbones, specifically U-KAN and UKAGNet, U-FunKAN is both more accurate and more efficient, with \(4.35\) Gflops and \(3.6\) M parameters.

The qualitative findings are described in anatomical terms. On BUSI, irregular tumor margins are captured without the spill-over common in plain U-Nets. In GlaS, gland lumina and epithelial borders are sharply segmented even in low-contrast regions. For CVC-ClinicDB, polyps under specular highlights and bleeding artifacts remain correctly outlined. These observations are consistent with the paper’s emphasis on boundary delineation and robustness to artifacts rather than merely aggregate overlap scores.

Interpretability is presented along two axes. First, the attention matrices \(A_\ell\) expose spectral weights over Hermite modes, which the paper describes as revealing which spatial frequencies each channel uses. Second, the offset fields \(\Delta q_\ell\) provide a visualizable account of spatial adaptivity. Clinical relevance is then argued from architecture and efficiency together: by preserving intrinsic \(2\)D structure, combining multi-scale skip connections with spectral filtering, and operating with approximately \(3.6\) M parameters and \(4.35\) Gflops per \(256\times 256\) image, the model is described as suitable for real-time execution on modern GPUs and even on certain CPU-accelerators. The paper further states that U-FunKAN handles variable anatomy, image artifacts such as noise and low contrast, and modality shifts across ultrasound, histology, and endoscopy without retraining. This suggests that the authors regard the method not only as an interpretable segmentation backbone, but also as a deployment-oriented model whose functional formulation is intended to remain stable across heterogeneous clinical image domains.

Source: https://www.emergentmind.com/topics/u-funkan