Manuscript Offprint

arXiv:2610.29424

A KAN-based Non-linear Factorization for Embedding Layer Compression

Oliver Giudice, Anna Russo Russo

Abstract

Compressing the embedding layer in Natural Language Processing (NLP) models is a critical yet challenging problem: embeddings often account for a substantial fraction of the model parameters while being highly sensitive to information loss. On the one hand effective compression can significantly reduce memory footprint and improve deployment efficiency, but on the other hand even small distortions in the embedding space may propagate through the entire neural network thus degrading downstream performance.

Among existing embedding compression approaches, low-rank factorization provides a simple and mathematically principled solution by approximating the embedding matrix with a reduced-rank decomposition. However, its practical effectiveness is often limited, as the resulting linear bottleneck constrains representational capacity. To overcome these limitations, we propose an enhanced factorization scheme that increases expressive power by introducing learnable non-linear projections within the compressed embedding layer. Our method is inspired by the Kolmogorov–Arnold Networks (KAN) paradigm, which replaces fixed linear transformations with learnable univariate functions. Despite promising results in other domains, applications of KANs in NLP remain scarce and have so far been largely limited to final or task-specific layers, rather than core representational components such as embedding layers.

We evaluate the proposed approach by integrating the compressed embedding layer into the Skip-gram framework and comparing it against a standard low-rank baseline under matched parameter budgets on the Word Analogy and Semantic Similarity benchmarks. We further introduce an effective initialization strategy from a pre-trained, uncompressed embedding layer. The behavior of the model is analyzed both immediately after initialization and after a brief post-initialization refinement phase, considering training with the standard Skip-gram objective as well as variants augmented with distillation from the original embedding layer. Overall, our results show that augmenting low-rank factorization with learnable non-linear projections effectively mitigates the limitations of linear bottlenecks, yielding more faithful compressed embeddings under fixed dimensionality and suggesting a promising direction for embedding layer compression beyond purely linear methods.

Keywords: Natural Language Processing, Embedding Compression, Low-Rank Factorization, Kolmogorov-Arnold Networks

1. Introduction

Word embeddings have become an essential building block of modern Natural Language Processing (NLP), enabling the representation of words as dense vectors that capture semantic and syntactic relationships. However, as vocabulary sizes grow, the parameter count and memory footprint of standard embedding layers become a significant bottleneck, limiting scalability and hindering deployment in memory-constrained environments. To address these challenges, a broad family of compressed embedding techniques has been developed, among which low-rank

*Views and opinions are those of the authors and do not necessarily reflect the official policy or position of Banca d'Italia. Authors listed in alphabetical order.

OLIVER GIUDICE, ANNA RUSSO RUSSO

factorization (Lan et al., 2019; Lioutas et al., 2020), hashing (Chen et al., 2015), quantization (Shi and Yu, 2018; Shu and Nakayama, 2017), distillation learning (Gao et al., 2023), pruning or weight sharing strategies (Chen et al., 2018; Suzuki and Nagata, 2016) and others (Bałazy et al., 2021). Within this landscape, low-rank factorization provides a principled and widely used baseline, being broadly adopted in NLP and other machine learning settings beyond embedding compression. In the standard approach, the factorization is strictly linear, as it decomposes the embedding matrix into two smaller matrices.

In this work we propose a novel low-rank factorization technique based on Kolmogorov–Arnold Networks (KANs). KANs, recently popularized by Liu et al. (2024b), are neural architectures that employ learnable, non-linear, univariate activation functions. Compared to traditional Multi-Layer Perceptrons (MLPs), this architecture appears to exhibit more favorable scaling-law constants and has been empirically shown to achieve higher accuracy and improved interpretability at a fixed parameter budget. The proposed factorization technique aims at overcoming the implicit linear bottleneck of the standard low-rank factorization by replacing the second linear projection with a KAN-based mapping in which each output dimension is computed as a sum of learned non-linear transformations of the individual input coordinates.

To the best of our knowledge, KAN-style learnable activation functions have not been explored as a mechanism for embedding compression. The low-rank factorization setting provides a clean way to isolate their contribution. To this end, we introduce a KAN-based factorized embedding layer along with two initialization schemes and we evaluate it within the Skipgram framework against a standard low-rank factorization.

The paper is structured as follows: Section 2. discusses related work on KANs, while Section 3. provides preliminary background and notation; Section 4. explains our original KAN-based factorization technique. The experimental framework used for evaluation is described in Section 5., while the experimental results are reported and discussed in Section 6.. Lastly, Section 7. offers final considerations and future research directions for the employment of KANs in NLP.

References (45)