Grokking in LLM Pretraining? Monitor Memorization-to-Generalization without Test
Add the PDF
@openreview[bot] · 2026-11-26 16:37 UTC · e375605201cb
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,5 @@+{+ "layout": 7,+ "kind": "paper",+ "key": "53f9a090-6fe1-49e2-8d50-c72e6cfd2ce5"+}
README.md added
+++ b/README.md@@ -0,0 +1,46 @@+# Grokking in LLM Pretraining? Monitor Memorization-to-Generalization without Test++The files behind this paper's page on potentialpaper.com: commit, `git push`, and the page+shows your changes.++```text+.+├── paper.json title, authors, abstract+├── owners/ the authors' sections (only they may edit)+├── community/ the community sections (anyone verified)+├── versions/ preprint, camera-ready…: <id>.json and its PDF+├── links/ the links under the title+├── thumbnail.png the picture shown for the paper+├── demos/ demos the sections show+├── reviews/ imported reviews (read-only)+├── README.md this file (the site's)+├── prek.toml checks before each commit (the site's)+├── .gitattributes Git LFS settings (the site's)+└── .potentialpaper/ page metadata (the site's)+```++## Sections++One file each, `NN-slug.md`, shown in file-name order. The first `#` heading is the title. Markdown, or HTML from a+small allowlist. Empty files are not shown. At most 256 KB a file.++## PDFs and pictures++Kept with [Git LFS](https://git-lfs.com): run `git lfs install` once. PDFs up to 40 MB, the picture up to 8 MB.++## Pushing++Run `prek install` once to check each commit as the site will (https://prek.j178.dev). Push to `main`, on top of+the page as it is (`git pull --rebase` first). Use an API key from https://potentialpaper.com/profile as the password, or add an+SSH key there.++## For AI agents++```text+This repo is a page on potentialpaper.com. Read the tree above and change only the files it+says you may: never README.md, prek.toml, .gitattributes or .potentialpaper/.+Write sections in Markdown, one file each, named NN-slug.md.+Before committing, run `prek run --all-files` and fix what it reports.+Commit with a one-line summary, `git pull --rebase`, then `git push`.+If the push is refused, its message says what to fix.+```
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
paper.json added
+++ b/paper.json@@ -0,0 +1,13 @@+{+ "title": "Grokking in LLM Pretraining? Monitor Memorization-to-Generalization without Test",+ "authors": [+ "Ziyue Li",+ "Chenrui Fan",+ "Tianyi Zhou"+ ],+ "abstract": "This paper presents *the first study of grokking in practical LLM pretraining*. Specifically, we investigate when an LLM memorizes the training data, when its generalization on downstream tasks starts to improve, and what happens if there is a lag between the two. Unlike existing works studying when a small model generalizes to limited and specified tasks during thousands epochs' training on algorithmic data, we focus on a practical setting for LLMs, i.e., near single-pass pretraining of next-token prediction on a cross-domain, large-scale corpus, and generalization on diverse benchmark tasks covering math/commonsense reasoning, code generation, and domain-specific retrieval. Our study, *for the first time, verifies that grokking still emerges in pretraining mixture-of-experts (MoE) LLMs*, though different local data groups may enter their grokking stages asynchronously due to the heterogeneity of their distributions and attributions to others. To find a mechanistic interpretation of this local grokking, we investigate the dynamics of training data's pathways (i.e., expert choices across layers in MoE). Our primary discovery is that *the pathways evolve from random, non-smooth across layers, instance-specific to more structured and transferable across samples*, despite the converged pretraining loss. This depicts a transition from memorization to generalization. Two novel metrics are developed to quantify these patterns: one computes the pathway similarity between samples, while the other measures the consistency of aggregated experts between subsequent layers for each sample. These training data based metrics induce near zero cost but can faithfully track and monitor the generalization of LLMs on downstream tasks, reducing reliance on costly instruction tuning and benchmark evaluations. We also ground our findings in a theoretical analysis of one-layer MoE, showing that more structured pathways improve the generalization bound.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
prek.toml added
+++ b/prek.toml@@ -0,0 +1,37 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://potentialpaper.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "paper files", files = '^paper\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/paper.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "category files", files = '^category\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/category.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
versions/v_57xqey5t.json added
+++ b/versions/v_57xqey5t.json@@ -0,0 +1,12 @@+{+ "kind": "submitted",+ "label": "ICLR 2026",+ "url": "https://openreview.net/forum?id=blfwRondjY",+ "pdf": {+ "source": "https://openreview.net/forum?id=blfwRondjY",+ "license": "CC-BY-4.0"+ },+ "evidence": [+ "https://openreview.net/forum?id=blfwRondjY"+ ]+}
versions/v_57xqey5t.pdf added
+++ b/versions/v_57xqey5t.pdf@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:aac9ceee085bb40c0f302ee8d7447bb84730713c19e49a17391b58bf2dd9edcc+size 1156547