TL;DR
Kolmogorov-Arnold Networks (KANs) are a fascinating, highly expressive alternative to traditional neural networks, but they suffer from massive parameter bloat. MetaCluster solves this by using a temporary "meta-learner" during training to herd KAN parameters onto a neat, low-dimensional surface where they can be easily grouped and compressed. The result is a 80× to 124× reduction in memory with virtually no loss in accuracy and zero runtime overhead at inference.
What Problem Does This Paper Address?
In a standard Multi-Layer Perceptron (MLP), every connection (edge) between neurons holds a single scalar weight, while the activation functions sit fixed at the nodes. Kolmogorov-Arnold Networks (KANs) flip this script: they place learnable activation functions directly on the edges.
To make an edge's function learnable, KANs represent it as a weighted sum of basis functions (like B-splines, radial basis functions, or polynomials). Instead of storing 1 number per connection, a KAN stores a vector of coefficients (say, 9 or 10 numbers) per connection. While this makes KANs brilliant at scientific modeling and function approximation, scaling them up to larger tasks like computer vision creates a severe memory bottleneck.
A classic way to shrink networks is weight sharing—grouping similar weights into clusters via K-means, storing a small lookup table ("codebook") of cluster centroids, and replacing the original weights with tiny integer indices. However, naively clustering KANs fails miserably due to the curse of dimensionality. In high-dimensional vector spaces, points spread out and distances between them become uniform, making it nearly impossible for K-means to find tight, meaningful clusters without wrecking model accuracy.
Methods
MetaCluster is a three-stage framework that makes high-dimensional KAN vectors cluster-friendly:
- Manifold Shaping via a Meta-Learner (Novel): Instead of learning the edge coefficient vectors directly, each edge is given a tiny 1D or 2D learnable embedding. During training, a small shared neural network (a hypernetwork or "meta-learner"—building on prior MetaKAN designs) maps these compact embeddings into full coefficient vectors. Because all high-dimensional vectors are generated from a 1D or 2D bottleneck, they are mathematically forced to lie on a smooth, low-dimensional manifold.
- Vector K-Means Clustering (Standard, adapted): Once trained, standard K-means clustering is run per layer on the generated coefficient vectors. Because the vectors live on a structured manifold rather than a diffuse cloud, K-means easily finds tight centroids. Each edge's vector is replaced by a compact 4-bit or 8-bit index pointing to its nearest centroid in a codebook.
- Discard and Fine-Tune: The meta-learner and embeddings are thrown away—meaning zero hypernetwork overhead during deployment. Finally, the codebook centroids themselves are briefly fine-tuned on the task loss for a few epochs to recover any minor accuracy dip from the clustering approximation.
Datasets
The authors evaluate MetaCluster on standard benchmarks; no new datasets are introduced:
- Image Classification: MNIST, CIFAR-10, and CIFAR-100 (tested across both fully-connected KANs and Convolutional KANs using B-spline, RBF, and Gram polynomial bases).
- High-Dimensional Equation Modeling: Synthetic 1,000-dimensional mathematical functions bounded on $[-1, 1]$, following established KAN evaluation protocols.
Key Insights and Ideas
- KANs turn their biggest weakness into a compression superpower: In MLPs, weight sharing hits a ceiling because you still need to store a lookup index for every single scalar weight. In KANs, a single index points to an entire vector of basis coefficients. The index overhead is amortized across the vector length, allowing KANs to achieve vastly higher compression ratios than MLPs!
- Temporary scaffolding beats permanent hypernetworks: Prior work (MetaKAN) kept the hypernetwork around at inference time to save memory. By using the meta-learner strictly as training scaffolding to shape the weight geometry—and then discarding it after clustering—MetaCluster achieves another ~7× to 10× compression on top of MetaKAN with no extra inference compute.
- Resilience to basis complexity: Increasing the number of basis functions per edge usually makes clustering exponentially harder. Because the meta-learner restricts the intrinsic dimensionality of the weights regardless of output vector size, MetaCluster's accuracy holds steady even as basis counts grow.
Key Results
- Image Classification: Fully-connected MetaClusterKAN shrinks CIFAR-10 models by 79.9× (from 3,064.95 KB down to 38.34 KB) while nearly matching baseline accuracy (45.95% vs. 47.52%). Naive clustering + fine-tuning without the meta-learner drops accuracy significantly across variants (e.g., CIFAR-100 GramKAN drops from 21.89% to 13.98%, whereas MetaCluster achieves 18.96%). For Convolutional KANs, storage drops by up to 31.7× with negligible accuracy loss.
- Graceful Scaling: When aggressively reducing cluster counts (from 256 down to 32 centroids in ConvKANs), MetaCluster loses only ~2% accuracy, whereas naive clustering plummets by over 21%.
- Equation Modeling: On 1,000-dimensional equations, MetaCluster achieves a 124.1× memory reduction (1,303.6 KB down to 10.5 KB) while matching or even slightly beating the baseline Mean Squared Error (e.g., $2.70 \times 10^{-5}$ vs. $5.06 \times 10^{-5}$).
- Minimal Overhead: The K-means step takes fractions of a second (to ~3.6 seconds for conv models), and final inference speed is identical to a standard KAN.
Limitations and Future Work
- Scale of Benchmarks: Evaluations are currently limited to standard, relatively small-scale benchmarks (MNIST, CIFAR) and synthetic equations. Scaling and validating these gains on massive, modern architectures (like large vision transformers or language models) remains future work.
- Lack of Formal Theory: While the manifold-shaping intuition is backed empirically (via t-SNE and PCA), establishing formal theoretical guarantees on approximation bounds is left open.
- Complementary Quantization: Currently, the small centroid codebooks are stored in full 32-bit floating point (FP32). Combining MetaCluster with bit-width quantization (e.g., INT8 codebooks) is a natural next step to squeeze out even more memory savings.
Summary updated