FourierKAN outperforms MLP on Text Classification Head Fine-tuning

Abdullah Al Imran, Md Farhan Ishmam
8/16/2024
cs.CL

No official code found. Best implementation: mintisan/awesome-kan (3,292 stars, last commit 2026-04-02).

Abstract

In resource constraint settings, adaptation to downstream classification tasks involves fine-tuning the final layer of a classifier (i.e. classification head) while keeping rest of the model weights frozen. Multi-Layer Perceptron (MLP) heads fine-tuned with pre-trained transformer backbones have long been the de facto standard for text classification head fine-tuning. However, the fixed non-linearity of MLPs often struggles to fully capture the nuances of contextual embeddings produced by pre-trained models, while also being computationally expensive. In our work, we investigate the efficacy of KAN and its variant, Fourier KAN (FR-KAN), as alternative text classification heads. Our experiments reveal that FR-KAN significantly outperforms MLPs with an average improvement of 10% in accuracy and 11% in F1-score across seven pre-trained transformer models and four text classification tasks. Beyond performance gains, FR-KAN is more computationally efficient and trains faster with fewer parameters. These results underscore the potential of FR-KAN to serve as a lightweight classification head, with broader implications for advancing other Natural Language Processing (NLP) tasks.

View on arXivView PDF

Code Implementations(1)

A comprehensive collection of KAN(Kolmogorov-Arnold Network)-related resources, including libraries, projects, tutorials, papers, and more, for researchers and developers in the Kolmogorov-Arnold Network field.

3,292313May 8, 20246 months ago

Similar Papers

Cite this paper

@article{imran2024fourierkan,
  title  = {FourierKAN outperforms MLP on Text Classification Head Fine-tuning},
  author = {Abdullah Al Imran and Md Farhan Ishmam},
  year   = {2024},
  eprint = {2408.08803},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.08803v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.08803.svg)](https://codeofpaper.com/paper/2408.08803)

Discussion