potentialpaper

When Does Fine-Tuning Extract Stored Knowledge? A Relation-Covering Theory for One-Layer Transformers

Update NeurIPS 2026 submission aFLMTsDeTk: 7 notes

@openreview[bot] · 2026-11-24 15:52 UTC · 0e6116d2ce92 ·

Evidence

reviews/openreview/aflmtsdetk/notes/0bbnxruwde.json added

+++ b/reviews/openreview/aflmtsdetk/notes/0bbnxruwde.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "0BBnXRuWDE",
+ "replyTo": "cgXHyOCiCH",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Rebuttal",
+ "comment": "Thank you for the valuable comments. We address each point below and will revise the manuscript accordingly.\n\n### Comment 1: Relation terminology and interpretation.\n\n**Response.** Thanks for this insightful comment. We agree that the reviewer’s interpretation is broadly reasonable. In our theoretical model, there is a single latent semantic relation, while the tokens $\\mathbf{r}_i$ represent semantically interchangeable surface templates drawn from a shared codebook. Their identities do not carry distinct intrinsic semantic meanings.\n\nFrom the downstream Q\\&A perspective, the relation tokens can be viewed as competing intermediate outputs. However, they are not irrelevant distractors during pre-training, since they are explicitly predicted from the subject-context prefix, are shared across multiple subject-answer pairs, and appear in the prefix of the subsequent answer-prediction examples.\n\nA boarder interpretation of the proposed mechanism is **format-dependent output-mode control**. Pre-training creates both template-prediction and answer-prediction pathways. Fine-tuning uses the shared format token $p$ to shift the model from the template-prediction mode toward the answer-prediction mode. Template coverage matters because template-output pathways that are insufficiently represented during fine-tuning may remain active and continue to dominate the correct answer. We will explain this interpretation more clearly in the revised manuscript.\n\nTo examine whether the extraction phenomenon extends to genuinely distinct semantic relations, we additionally construct a stylized multi-relation setting in which each subject has different answers under three semantic relations.\n\n|FT proportion|One-layer simplified|GPT-2|\n|:---:|:---:|:---:|\n|10%|39.33%|42.67%|\n|20%|48.67%|54.00%|\n|40%|58.67%|61.33%|\n|60%|68.00%|66.67%|\n|80%|83.33%|73.33%|\n\nAs the proportion of fine-tuning subjects increases from 10\\% to 80\\%, the held-out accuracy improves substantially from 39.33\\% to 83.33\\%. These results provide evidence that the extraction phenomenon persists when the answer depends jointly on the subject and semantic relation, thereby excluding a simple single-valued mapping $s\\mapsto a$.\n\n### Comment 2: Mechanism of MLP-Based Generalization.\n\n**Response.** The reviewer's interpretation is close at a high level, although the precise mechanism is different. Fine-tuning does not require $\\mathbf p$ to resemble a particular relation embedding, or an average of the relation embeddings, in the MLP hidden space. Instead, the shared format direction $\\mathbf p$ changes the competition between relation-template outputs and answer outputs.\n\nSuppressing the ReLU gating for intuition, the update in the simplified model can be expressed as \n$$\\mathbf W_2\\Delta\\mathbf W\\mathbf p \\approx -c\\sum_{r_i\\in\\mathcal R_{\\mathrm{cov}}}\\mathbf e_{\\mathcal I(r_i)},\\qquad c>0$$\n\nwhere $R_{\\mathrm{cov}}$ denotes the set of relation templates that were paired during pre-training with at least one subject appearing in the fine-tuning set.\n\nThe format token therefore induces a negative update on the covered relation-template output coordinates. Once these competing logits are sufficiently reduced, the answer feature acquired during pre-training can become the top output, including for subjects absent from the fine-tuning set. Thus, $\\mathbf p$ implements *format-dependent output-mode control*, rather than approximating an individual or average relation embedding.\n\nWe additionally test the effect of suppression breadth in a **multi-relation setting** by varying the proportion of subjects used for fine-tuning, thereby changing the number of relation templates suppressed, and measuring the resulting held-out extraction accuracy.\n\n|FT proportion|Coverage rate|One-layer simplified|GPT-2|\n|:---:|:---:|:---:|:---:|\n|10%|23.33%|39.33%|42.67%|\n|20%|41.67%|48.67%|54.00%|\n|40%|71.67%|58.67%|61.33%|\n|60%|83.33%|68.00%|66.67%|\n|80%|91.67%|83.33%|73.33%|\n\nFor the one-layer simplified model, coverage increases from 23.33% to 91.67%, while the best held-out accuracy increases from 39.33\\% to 83.33\\%. GPT-2 exhibits the same overall coverage-dependent improvement: its best held-out accuracy increases from 42.67\\% at 10\\% fine-tuning to 73.33\\% at 80\\%. The results confirm that the coverage effect extends to the multi-relation setting.\n\n### Comment 3: Related work.\n\n**Response.** Thank you for pointing out these recent works. We will add a dedicated related-work discussion. Both papers analyze in-context factual recall, where contextual demonstrations identify the relation or attribute to retrieve. Our work studies out-of-context extraction, where the model receives only a subject and a new Q\\&A format at test time, without demonstrations. We provide an end-to-end training-dynamics analysis covering NTP pre-training and fine-tuning, with convergence guarantees and explicit success and hallucination regimes for both full and low-rank fine-tuning."
+ },
+ "createdAt": "2026-07-28T15:14:27.616Z",
+ "modifiedAt": "2026-11-19T16:57:42.490Z",
+ "url": "https://openreview.net/forum?id=aFLMTsDeTk&noteId=0BBnXRuWDE",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/aflmtsdetk/notes/ck4uazfuyv.json modified

+++ b/reviews/openreview/aflmtsdetk/notes/ck4uazfuyv.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair VeJZ",
"content": {
- "metareview": "This paper develops a theoretical framework for understanding when fine-tuning enables a transformer to extract factual knowledge acquired during pre-training. The reviewers generally found the problem important, and I find the relation-covering perspective novel and technically meaningful. During the discussion, the authors provided useful clarifications regarding the theoretical assumptions, the scope of the results, and the connection between the theory and experiments, which addressed many of the concerns raised in the reviews.\n\nThe theoretical setting remains stylized, and some assumptions and limitations should be stated more clearly in the final version. I also acknowledge the remaining concerns raised by the negative reviewer. However, after independently assessing the paper, my judgment is that these limitations do not outweigh the novelty and technical value of the main contribution. I therefore view the paper positively overall and recommend acceptance."
+ "metareview": "This paper develops a theoretical framework for understanding when fine-tuning enables a transformer to extract factual knowledge acquired during pre-training. The reviewers generally found the problem important, and I find the relation-covering perspective novel and technically meaningful. During the discussion, the authors provided useful clarifications regarding the theoretical assumptions, the scope of the results, and the connection between the theory and experiments, which addressed many of the concerns raised in the reviews.\n\nThe theoretical setting remains stylized, and some assumptions and limitations should be stated more clearly in the final version. I also acknowledge the remaining concerns raised by the negative reviewer. However, after independently assessing the paper, my judgment is that these limitations do not outweigh the novelty and technical value of the main contribution. I therefore view the paper positively overall and recommend acceptance.",
+ "final_justification": "The full final justification is provided in the meta‑review text above."
},
"createdAt": "2026-07-21T16:08:41.307Z",
- "modifiedAt": "2026-11-18T15:25:54.556Z",
+ "modifiedAt": "2026-11-19T05:03:44.774Z",
"url": "https://openreview.net/forum?id=aFLMTsDeTk&noteId=CK4UAzFUyv",
"license": "CC-BY-4.0"
}

reviews/openreview/aflmtsdetk/notes/lteemwbx2o.json added

+++ b/reviews/openreview/aflmtsdetk/notes/lteemwbx2o.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "lteEMwbX2o",
+ "replyTo": "Ew6MhcZ2TA",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Follow-up on Author Response",
+ "comment": "Dear Reviewer,\n\nWe would like to kindly follow up on our response. As the discussion period is approaching its end, we would appreciate it if you could review our clarification and let us know whether it addresses your concerns or whether any questions remain.\n\nThank you for your time and consideration.\n\nBest,\n\nAuthors"
+ },
+ "createdAt": "2026-08-03T10:56:56.685Z",
+ "modifiedAt": "2026-11-19T16:57:42.209Z",
+ "url": "https://openreview.net/forum?id=aFLMTsDeTk&noteId=lteEMwbX2o",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/aflmtsdetk/notes/m927va0vhd.json added

+++ b/reviews/openreview/aflmtsdetk/notes/m927va0vhd.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "m927VA0VHD",
+ "replyTo": "W0pTKdOSlX",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Thank You for Your Feedback",
+ "comment": "Dear Reviewer,\n\nThank you for carefully considering our response and for the constructive discussion. We appreciate your time and feedback.\n\nBest,\n\nAuthors"
+ },
+ "createdAt": "2026-08-03T11:00:52.891Z",
+ "modifiedAt": "2026-11-19T16:57:42.252Z",
+ "url": "https://openreview.net/forum?id=aFLMTsDeTk&noteId=m927VA0VHD",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/aflmtsdetk/notes/ugw8z6pspv.json added

+++ b/reviews/openreview/aflmtsdetk/notes/ugw8z6pspv.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "Ugw8z6pSpv",
+ "replyTo": "cgXHyOCiCH",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Follow-up on Author Response",
+ "comment": "Dear Reviewer,\n\nWe would like to kindly follow up on our response. As the discussion period is approaching its end, we would appreciate it if you could review our clarification and let us know whether it addresses your concerns or whether any questions remain.\n\nThank you for your time and consideration.\n\nBest,\n\nAuthors"
+ },
+ "createdAt": "2026-08-03T10:58:02.200Z",
+ "modifiedAt": "2026-11-19T16:57:42.210Z",
+ "url": "https://openreview.net/forum?id=aFLMTsDeTk&noteId=Ugw8z6pSpv",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/aflmtsdetk/notes/w0ptkdoslx.json added

+++ b/reviews/openreview/aflmtsdetk/notes/w0ptkdoslx.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "W0pTKdOSlX",
+ "replyTo": "zxZNGLdOTl",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer eieY",
+ "content": {
+ "comment": "I appreciate the authors’ detailed response. Given the new results on multi-relation task and controlled diversity-versus-repetition experiments, my concerns have been fully resolved. I will therefore raise my score and recommend acceptance."
+ },
+ "createdAt": "2026-08-03T01:20:32.793Z",
+ "modifiedAt": "2026-11-19T16:57:42.239Z",
+ "url": "https://openreview.net/forum?id=aFLMTsDeTk&noteId=W0pTKdOSlX",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/aflmtsdetk/notes/zxzngldotl.json added

+++ b/reviews/openreview/aflmtsdetk/notes/zxzngldotl.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "zxZNGLdOTl",
+ "replyTo": "0qE6gNk7EH",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Rebuttal by Authors",
+ "comment": "Thank you for the valuable comments. We address each point below and will revise the manuscript accordingly.\n\n### Question 1: Relation-Conditioned Retrieval vs. Subject-Only Memorization \n\n**Response.** Thanks for this insightful question. The subject representation may contain answer-related information, since learning such information is part of factual storage. However, under our autoregressive pre-training objective, the trained model cannot predict the answer directly from $[o,s]$; it is trained to predict the relation-template token $r$ at that position.\n\n**Testing Subject-Only Answer Prediction.** We add two diagnostics to distinguish relation-conditioned retrieval from a subject-only mapping $s \\mapsto a$, evaluating next-token prediction from $[o,s]$ and $[o,s,r]$.\n\n|Diagnostic|Result|\n|---|:---:|\n|$\\operatorname{Acc}(r \\mid [o,s])$|100\\%|\n|$\\operatorname{Acc}(a \\mid [o,s])$|0\\%|\n|$\\operatorname{Acc}(a \\mid [o,s,r])$|100\\%|\n|$P(r \\mid [o,s])$|0.9908|\n|$P(a \\mid [o,s])$|0.0090|\n|$P(a \\mid [o,s,r])$|0.9255|\n\nThus, the model does not predict $a$ as the next token after $[o,s]$, and predicts $a$ only after the relation template is provided.\n\n**Multi-relation experiments.** A more diagnostic question is whether relation information is required to select the appropriate stored answer. To examine this, we add a multi-relation experiment with three genuinely distinct semantic relations. For example,\nthe same subject may satisfy $(\\text{Alice},\\text{born in}) \\mapsto \\text{California}$, $(\\text{Alice},\\text{speaks}) \\mapsto \\text{English}.$\n\nWe fine-tune on a subset of subjects and evaluate on the remaining held-out subject-relation pairs.\n\n|FT proportion|Coverage rate|One-layer simplified|GPT-2|\n|:---:|:---:|:---:|:---:|\n|10\\%|23.33\\%|39.33\\%|42.67\\%|\n|20\\%|41.67\\%|48.67\\%|54.00\\%|\n|40\\%|71.67\\%|58.67\\%|61.33\\%|\n|60\\%|83.33\\%|68.00\\%|66.67\\%|\n|80\\%|91.67\\%|83.33\\%|73.33\\%|\n\nHeld-out accuracy rises with fine-tuning proportion and template coverage, from 39.33% to 83.33% for the one-layer model and from 42.67% to 73.33% for GPT-2. Since each subject has multiple relation-dependent answers in this setting, these results provide evidence beyond a simple single-valued \\$s\\mapsto a$ explanation.\n\n### Question 2: Relation Diversity with Fixed Training-Example Count\n\n**Response.** \nThanks for this insightful comment. We conduct a controlled diversity-versus-repetition experiment while keeping the total numbers of\npre-training and fine-tuning examples fixed.\n\nWe first define two types of subject--relation facts. A diverse fact appears $M=5$ times during pre-training, with each occurrence using a distinct relation template. A repeated fact also appears five times, but all occurrences use the same relation template. The two types therefore have identical pre-training exposure and differ only in template diversity.\n\nWe construct a single fixed pre-training dataset with three semantic relations, containing 50 diverse fine-tuning subjects, 50 repeated\nsubjects, and 50 held-out test subjects. Each fine-tuning setting selects 50 subjects while varying only the diverse-to-repeated ratio.\n\nAll settings use the same pre-trained checkpoint, held-out test set, answer-token multiset. This design isolates the effect of template diversity and the resulting template coverage from repeated exposure and variation in the training or evaluation data.\n\n|Fine-tuning composition|Test accuracy|\n|:---:|:---:|\n|20\\% diverse + 80\\% repeated|56.00\\%|\n|40\\% diverse + 60\\% repeated|63.33\\%|\n|60\\% diverse + 40\\% repeated|80.00\\%|\n|80\\% diverse + 20\\% repeated|100.00\\%|\n\nTest accuracy increases with the proportion of diverse facts. Since pre-training exposure, fine-tuning set size, answer frequencies, and the test set are held fixed, this supports a distinct contribution from template diversity and broader coverage.\n\n### Question 3: Related Work\n\nThank you for pointing us to Huang et al. Huang et al. studies out-of-context reasoning across distinct semantic relations, where a model infers an unseen relation-specific fact from observed relational dependencies. Their analysis characterizes the implicit bias and asymptotic training dynamics of attention-only transformers as the number of pre-training iterations satisfies $T \\to \\infty$.\n\nOur work addresses the complementary problem of how fine-tuning extracts facts acquired during pre-training when they are queried through a new Q\\&A format. Our theoretical model is structurally richer: it includes both attention and an MLP with nonlinear activations, explicitly analyzes their interaction during pre-training and fine-tuning, uses a next-token prediction objective, and establishes polynomial-time convergence. We will clarify these connections and distinctions in the related-work section."
+ },
+ "createdAt": "2026-07-29T08:32:43.464Z",
+ "modifiedAt": "2026-11-19T16:57:42.246Z",
+ "url": "https://openreview.net/forum?id=aFLMTsDeTk&noteId=zxZNGLdOTl",
+ "license": "CC-BY-4.0"
+}