Acceleration of Grokking in Learning Arithmetic Operations via Kolmogorov-Arnold Representation

Yeachan Park, Minseok Kim, Yeoneung Kim
5/26/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

We propose novel methodologies aimed at accelerating the grokking phenomenon, which refers to the rapid increment of test accuracy after a long period of overfitting as reported in~\cite{power2022grokking}. Focusing on the grokking phenomenon that arises in learning arithmetic binary operations via the transformer model, we begin with a discussion on data augmentation in the case of commutative binary operations. To further accelerate, we elucidate arithmetic operations through the lens of the Kolmogorov-Arnold (KA) representation theorem, revealing its correspondence to the transformer architecture: embedding, decoder block, and classifier. Observing the shared structure between KA representations associated with binary operations, we suggest various transfer learning mechanisms that expedite grokking. This interpretation is substantiated through a series of rigorous experiments. In addition, our approach is successful in learning two nonstandard arithmetic tasks: composition of operations and a system of equations. Furthermore, we reveal that the model is capable of learning arithmetic operations using a limited number of tokens under embedding transfer, which is supported by a set of experiments as well.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{park2024acceleration,
  title  = {Acceleration of Grokking in Learning Arithmetic Operations via Kolmogorov-Arnold Representation},
  author = {Yeachan Park and Minseok Kim and Yeoneung Kim},
  year   = {2024},
  eprint = {2405.16658},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.16658v1}
}

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/2405.16658.svg)](https://codeofpaper.com/paper/2405.16658)

Discussion