arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.16658cs.LGcs.AI
收藏

通过Kolmogorov-Arnold表示加速学习算术运算中的Grokking现象

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

Korea Institute for Advanced Study(韩国高等研究院);Seoul National University of Science and Technology(首尔科学技术大学)

Yeachan Park, Minseok Kim, Yeoneung Kim

AI总结:

本文提出基于Kolmogorov-Arnold表示的方法加速transformer学习算术运算中的grokking现象,通过数据增强、迁移学习及嵌入迁移实现,并在标准与非标准任务上验证有效性。

摘要:

我们提出了旨在加速grokking现象的新方法,该现象指的是在长时间过拟合后测试准确率的快速提升,如文献\cite{power2022grokking}所报道。我们聚焦于通过transformer模型学习二元算术运算时出现的grokking现象,首先讨论了在交换二元运算情况下的数据增强。为了进一步加速,我们通过Kolmogorov-Arnold(KA)表示定理的视角阐明算术运算,揭示了其与transformer架构的对应关系:嵌入层、解码器块和分类器。观察到与二元运算相关的KA表示之间的共享结构,我们提出了多种加速grokking的迁移学习机制。这一解释通过一系列严格的实验得到了证实。此外,我们的方法成功学习了两个非标准算术任务:运算的复合和方程组。进一步,我们揭示了在嵌入迁移下,模型能够使用有限数量的token学习算术运算,这一结论也得到了实验的支持。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑