Skip to main content
CenXiv.org
This website is in trial operation, support us!
We gratefully acknowledge support from all contributors.
Contribute
Donate
cenxiv logo > cs > arXiv:2406.03495

Help | Advanced Search

Computer Science > Machine Learning

arXiv:2406.03495 (cs)
[Submitted on 5 Jun 2024 ]

Title: Grokking Modular Polynomials

Title: 理解模多项式

Authors:Darshil Doshi, Tianyu He, Aritra Das, Andrey Gromov
Abstract: Neural networks readily learn a subset of the modular arithmetic tasks, while failing to generalize on the rest. This limitation remains unmoved by the choice of architecture and training strategies. On the other hand, an analytical solution for the weights of Multi-layer Perceptron (MLP) networks that generalize on the modular addition task is known in the literature. In this work, we (i) extend the class of analytical solutions to include modular multiplication as well as modular addition with many terms. Additionally, we show that real networks trained on these datasets learn similar solutions upon generalization (grokking). (ii) We combine these "expert" solutions to construct networks that generalize on arbitrary modular polynomials. (iii) We hypothesize a classification of modular polynomials into learnable and non-learnable via neural networks training; and provide experimental evidence supporting our claims.
Abstract: 神经网络很容易学会模算术任务的一个子集,但在其余任务上无法推广。 这种局限性不受架构选择和训练策略的影响。 另一方面,在文献中已知有多层感知器(MLP)网络权重的分析解,这些网络在模加法任务上具有泛化能力。 在这项工作中,我们(i)将分析解的类扩展到包括模乘法以及具有多个项的模加法。 此外,我们证明了在这些数据集上训练的实际网络在泛化时学习到了类似的解(grokking)。 (ii)我们将这些“专家”解结合起来,构建出能够对任意模多项式进行泛化的网络。 (iii)我们假设可以通过神经网络训练将模多项式分类为可学习和不可学习,并提供了支持我们观点的实验证据。
Comments: 7+4 pages, 3 figures, 2 tables
Subjects: Machine Learning (cs.LG) ; Disordered Systems and Neural Networks (cond-mat.dis-nn); High Energy Physics - Theory (hep-th); Number Theory (math.NT); Machine Learning (stat.ML)
Cite as: arXiv:2406.03495 [cs.LG]
  (or arXiv:2406.03495v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2406.03495
arXiv-issued DOI via DataCite

Submission history

From: Darshil Doshi [view email]
[v1] Wed, 5 Jun 2024 17:59:35 UTC (390 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled
  • View Chinese PDF
  • View PDF
  • HTML (experimental)
  • TeX Source
license icon view license
Current browse context:
math.NT
< prev   |   next >
new | recent | 2024-06
Change to browse by:
cond-mat
cond-mat.dis-nn
cs
cs.LG
hep-th
math
stat
stat.ML

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack

京ICP备2025123034号