Implicit Bias of Optimizers Guides Length Generalization in Forgetting Attention
Import ICLR 2027 submission k7U6i2lQY9: 4 notes
@openreview[bot] · 2026-11-22 21:35 UTC · 8a43d706a8e2
.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,19 @@+{+ "layout": 5,+ "identifiers": [+ {+ "scheme": "openreview",+ "value": "k7U6i2lQY9"+ }+ ],+ "title": "Implicit Bias of Optimizers Guides Length Generalization in Forgetting Attention",+ "authors": [],+ "abstract": "Autoregressive language models such as transformers process variable-length\ninputs, yet whether a model trained on bounded-length inputs stays accurate on\nmuch longer ones (or length generalize), is known to depend\nheavily on design choices. We approach it from the optimization perspective, through\na task in which a sequence of key-value pairs may reassign a key and a query\nasks for its key's latest value. Repeated keys force the model to discount\nolder records by their distance from the query, yet a recency bias alone\ncannot tell a stale record from a correct value that merely sits far back\nbehind newer records of other keys. We analyze this tension in a two-layer\nattention model with fixed attention masks and value projections, which learns\nkey-value binding, query-key matching, a forget gate, and a linear decoder\nfrom binary answer labels. Our main result separates gradient descent (GD)\nfrom Adam on this model under suitable per-parameter-group learning rates.\nFrom a shared orthogonal initialization of the query and key embeddings with\nzero initial content logits, GD with a single $1/t$ schedule succeeds whenever\nthe target sits at most two records further back than any training target, and\nat each greater distance it fails on a fixed sequence. Adam, with its\n stabilizer $\\epsilon$ set to zero on the scalar parameters and positive on the\nembedding matrices, instead guarantees a retrieval distance proportional to\nits cumulative learning rate, which diverges. Both guarantees hold for an\narbitrary prefix of earlier records. Adam's guarantee extends to independent\nGaussian initialization. SGD inherits GD's cutoff with increasing batch\nsizes and exact averages over all key pairs. Controlled experiments compare\nfinite retrieval ranges and isolate the role of the scalar stabilizer\n$\\epsilon$.",+ "year": 2027,+ "venue": "ICLR 2027 (under review)",+ "source": "openreview",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
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
prek.toml added
+++ b/prek.toml@@ -0,0 +1,36 @@+# 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 = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://potentialpaper.com/schemas/topic.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$' },+]
reviews/openreview/k7u6i2lqy9/forms.json added
+++ b/reviews/openreview/k7u6i2lqy9/forms.json@@ -0,0 +1,183 @@+{+ "schema": "forms/1",+ "forms": {+ "Meta_Review": {+ "label": "Meta-review",+ "fields": [+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ },+ {+ "key": "summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "additional_comments_on_reviewer_discussion",+ "label": "Reviewer discussion",+ "type": "text"+ },+ {+ "key": "recommendation",+ "label": "Recommendation",+ "type": "choice"+ }+ ]+ },+ "Decision": {+ "label": "Decision",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "hidden": true+ },+ {+ "key": "decision",+ "label": "Decision",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Official_Comment": {+ "label": "Comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Public_Comment": {+ "label": "Public comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Withdrawal": {+ "label": "Withdrawal",+ "fields": [+ {+ "key": "withdrawal_confirmation",+ "label": "Confirmation",+ "hidden": true+ }+ ]+ },+ "Desk_Rejection": {+ "label": "Desk rejection",+ "fields": [+ {+ "key": "desk_reject_comments",+ "label": "Reason",+ "type": "text"+ }+ ]+ },+ "Official_Review": {+ "label": "Official review",+ "summary": [+ "rating",+ "confidence",+ "soundness",+ "presentation",+ "informativeness"+ ],+ "fields": [+ {+ "key": "rating",+ "label": "Rating",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "confidence",+ "label": "Confidence",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "soundness",+ "label": "Soundness",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "presentation",+ "label": "Presentation",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "informativeness",+ "label": "Informativeness",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "paper_summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "critical_strengths",+ "label": "Strengths",+ "type": "text"+ },+ {+ "key": "critical_weaknesses",+ "label": "Weaknesses",+ "type": "text"+ },+ {+ "key": "questions_for_authors",+ "label": "Questions for the authors",+ "type": "text"+ },+ {+ "key": "flag_for_ethics_review",+ "label": "Flag for ethics review",+ "type": "choice",+ "omitWhen": [+ "No",+ "No ethics review needed."+ ]+ },+ {+ "key": "details_of_ethics_concerns",+ "label": "Ethics concerns",+ "type": "text"+ }+ ]+ }+ },+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",+ "license": "CC-BY-4.0"+}
reviews/openreview/k7u6i2lqy9/notes/jc404mbdst.json added
+++ b/reviews/openreview/k7u6i2lqy9/notes/jc404mbdst.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "jC404MBDSt",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer yYTK",+ "content": {+ "paper_summary": "This paper investigates whether the choice of optimizer affects the ability of a small attention model to learn the latest value of the retrieved key, given a fixed architecture, data, and objective function. The results show that gradient descent is only suitable for fixed context distances after training, while the Adam optimizer, with its stabilizer parameters set to zero, can handle context distances that increase over training time. Small simulations demonstrate that the Adam optimizer can achieve larger context distances than gradient descent, but its performance reverts to the limits of gradient descent when its stabilizer parameters are set to standard values. Under unrestricted evaluation conditions, there is no significant difference between the trained Transformer model and the Adam optimizer.",+ "presentation": 2,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "The theory is concrete and tested by training: the predicted gradient descent constants are close to the measured values, so the analysis quantitatively describes the trained model. It also avoids the usual simplifying assumptions (limited attention, pre-learned representations) and provides guarantees for arbitrarily long contexts, which makes this claim about length generalization and why I rate this paper as informative.",+ "critical_weaknesses": "The core prediction is that gradient descent will fail beyond a fixed distance, a phenomenon that has never been observed. According to the paper's own formula, it should only occur during astronomically long training times, far exceeding the stated run time, and the authors acknowledge that it has not yet materialized. A test on the learned model shows no Adam-SGD separation under unrestricted evaluation. Experiments support the gains of Adam, but not complete separation. The guarantee of Adam depends on the stabilizer being set to zero. Under standard values, the effect is lost after a single run of testing, while the training loss remains largely unchanged. The results are narrower than the title suggests, and the paper itself does not determine whether this effect is sustainable.",+ "questions_for_authors": "1. Is there some setting (allowed constants or population of data) where the prediction failure of gradient descent occurs within the scope of the simulation?\n\n2. By adjusting the learning rate of each optimizer, does the comparison of learned Transformers still show no separation?",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 3+ },+ "createdAt": "2026-10-21T04:08:30.181Z",+ "modifiedAt": "2026-11-17T06:26:20.122Z",+ "url": "https://openreview.net/forum?id=k7U6i2lQY9¬eId=jC404MBDSt",+ "license": "CC-BY-4.0"+}
reviews/openreview/k7u6i2lqy9/notes/nj21anzviu.json added
+++ b/reviews/openreview/k7u6i2lqy9/notes/nj21anzviu.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "nJ21anZViU",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer HGWR",+ "content": {+ "paper_summary": "This paper under review studies the length generalization problem in transformers. The authors study this problem from the lens of the optimizer essentially seeking to understand whether the optimizer itself brings an implicit bias to how the transformer performs on length generalization. On a particular transformer model the authors show that both GD and Adam bring a different bias for length generalization.",+ "presentation": 1,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "The authors study an interesting problem for transformers from a very nice lens, namely optimizer bias. I do feel this is a very novel lens to try and understand how transformers perform on length generalization and how the optimizer affects that generalization performance.",+ "critical_weaknesses": "I did find the paper quite difficult to read especially to understand the point the authors were giving with their paper. Given that Adam and GD bring a different bias to this problem, which I think people working in the field would have guessed, what does that say about how we should be optimizing such models for problems like length generalization? No real effort was made in bringing deeper insight. While I admire the honesty of the authors in their AI statement in saying that Codex and Claude helped with various aspect of the work, I think it is therefore imperative that the authors put significant time into expositing the work well. I feel this was not the case.",+ "questions_for_authors": "1. Does your work tell us anything about how we should design optimizers for such models for good performance for problems like length generalization? What is the key insight this tells us about how we should optimizer transformers for such problems.\n\n2. I understand the approach you took was to understand the situation for a 2-layer transformer. Is it possible to carry out some experiments for deeper transformers and at least show empirically what is happening in that case?",+ "flag_for_ethics_review": "No",+ "rating": 1,+ "confidence": 3+ },+ "createdAt": "2026-10-17T02:36:55.601Z",+ "modifiedAt": "2026-11-06T12:37:50.036Z",+ "url": "https://openreview.net/forum?id=k7U6i2lQY9¬eId=nJ21anZViU",+ "license": "CC-BY-4.0"+}
reviews/openreview/k7u6i2lqy9/notes/nw0t2y0vci.json added
+++ b/reviews/openreview/k7u6i2lqy9/notes/nw0t2y0vci.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Nw0t2y0VCi",+ "replyTo": "63hQupRI2y",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer HGWR",+ "content": {+ "comment": "I thank the authors for taking the time to respond to my reviewer and appreciate the clarity. After reading the paper several more times and their rebuttal I am still convinced this paper is not at the level of ICLR. While the authors have put effort in showing how optimizer bias affects length generalization I don't believe their insights are at the level of a top tier publication. I do thank the authors for doing deeper experiments and that does add to their paper, I would encourage them to include such results in future iterations. I am thus keeping my score."+ },+ "createdAt": "2026-11-16T03:36:45.197Z",+ "modifiedAt": "2026-11-16T03:37:27.977Z",+ "url": "https://openreview.net/forum?id=k7U6i2lQY9¬eId=Nw0t2y0VCi",+ "license": "CC-BY-4.0"+}
reviews/openreview/k7u6i2lqy9/notes/zikwpwywxc.json added
+++ b/reviews/openreview/k7u6i2lqy9/notes/zikwpwywxc.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "ZIKWPWywxC",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer DC8K",+ "content": {+ "paper_summary": "The authors analyze a structured two-layer attention model that learns key–value binding, query–key representations, forgetting, and a binary decoder, while keeping attention masks and value projections fixed. Under specified initialization and learning-rate conditions, they prove an asymptotic separation between GD and a specially configured Adam optimizer. GD achieves uniform retrieval through lag R+2, where R is the maximum training recall lag, but admits a fixed failure example at every larger lag. Adam guarantees a retrieval range proportional to its cumulative learning rate. Extensions cover Gaussian initialization for Adam and a restricted growing-batch SGD scheme.\n\nExperiments illustrate retrieval behavior and sensitivity to Adam’s scalar stabilizer. A more fully learned Transformer experiment does not exhibit a consistent Adam–SGD separation when target predecessors are unrestricted.",+ "presentation": 3,+ "informativeness": 2,+ "soundness": 3,+ "critical_strengths": "The paper addresses an interesting question: how optimizer choice affects generalization to sequences longer than those encountered during training. The theoretical separation between GD’s fixed retrieval boundary and Adam’s growing retrieval range, under the stated assumptions, is insightful, and the analysis connects these outcomes to the evolution of matching strength and recency penalties. The presentation is clear, with illustrative examples and figures that help explain the task, model, and main results.",+ "critical_weaknesses": "The analysis is restricted to a specific latest-value retrieval task, where the ground truth is the value in the most recent assignment to the queried key, and values are binary -1 or +1. This task is closely aligned with the model’s recency bias, leaving it unclear how strongly the optimizer separation depends on this alignment and the binary-value setting. Although the authors acknowledge the restricted scope, the current results provide limited evidence that the identified mechanism extends to other retrieval rules, richer value spaces, or broader Transformer applications.",+ "questions_for_authors": "How dependent is the optimizer separation on the latest-value retrieval rule and the restriction to binary values -1,+1? \n\nIn particular, if the ground truth were the earliest value assigned to the queried key rather than the latest, would the conclusions change?",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 3+ },+ "createdAt": "2026-10-22T02:09:08.535Z",+ "modifiedAt": "2026-11-06T12:37:47.224Z",+ "url": "https://openreview.net/forum?id=k7U6i2lQY9¬eId=ZIKWPWywxC",+ "license": "CC-BY-4.0"+}
reviews/openreview/k7u6i2lqy9/submission.json added
+++ b/reviews/openreview/k7u6i2lqy9/submission.json@@ -0,0 +1,20 @@+{+ "schema": "submission/1",+ "id": "k7U6i2lQY9",+ "venue": {+ "id": "ICLR.cc/2027/Conference",+ "name": "ICLR 2027",+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"+ },+ "number": 52641,+ "keywords": [+ "length generalization",+ "implicit bias",+ "Adam",+ "attention",+ "training dynamics",+ "optimization"+ ],+ "url": "https://openreview.net/forum?id=k7U6i2lQY9",+ "license": "CC-BY-4.0"+}
versions/v_4pxruerf.json added
+++ b/versions/v_4pxruerf.json@@ -0,0 +1,21 @@+{+ "date": "2026-09-19",+ "kind": "submitted",+ "label": "ICLR 2027",+ "submissions": [+ {+ "venue": "ICLR 2027",+ "status": "under_review",+ "number": 52641,+ "url": "https://openreview.net/forum?id=k7U6i2lQY9",+ "reviews": "openreview/k7u6i2lqy9",+ "evidence": [+ "https://openreview.net/forum?id=k7U6i2lQY9"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=k7U6i2lQY9",+ "evidence": [+ "https://openreview.net/forum?id=k7U6i2lQY9"+ ]+}