potentialpaper

Ordinary Least Squares as an Attention Mechanism

Update NeurIPS 2026 submission MRyrIW18CW: 16 notes

@openreview[bot] · 2026-11-24 15:49 UTC · 00b92b4b0e60 ·

Evidence

reviews/openreview/mryriw18cw/notes/1yfivommio.json added

+++ b/reviews/openreview/mryriw18cw/notes/1yfivommio.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "1yfiVOmMio",
+ "replyTo": "RMSO4TAHrC",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer xZ71 (4/4): per-dataset grid and parameter-reduction ablation",
+ "comment": "Part 4 of 4, continuing part 3 (W3 and Q3): the per-dataset grid and the parameter-reduction ablation. The per-dataset ablation grid, corrected protocol:\n\n| Dataset | A0 | A1 | A2 | A3 | A4 | A5 | A6 | A7 | RB |\n|---|---|---|---|---|---|---|---|---|---|\n| California | 0.764 | 0.769 | 0.701 | 0.757 | 0.728 | 0.772 | 0.736 | 0.768 | 0.766 |\n| Yacht | 0.988 | 0.981 | 0.572 | 0.990 | 0.538 | 0.982 | 0.968 | 0.989 | 0.989 |\n| Energy | 0.994 | 0.994 | 0.941 | 0.977 | 0.922 | 0.980 | 0.991 | 0.995 | 0.995 |\n| Concrete | 0.899 | 0.898 | 0.806 | 0.874 | 0.814 | 0.873 | 0.888 | 0.908 | 0.907 |\n| Airfoil | 0.924 | 0.926 | 0.524 | 0.908 | 0.865 | 0.913 | 0.933 | 0.921 | 0.929 |\n| Abalone | 0.324 | 0.314 | 0.286 | 0.324 | 0.328 | 0.324 | 0.310 | 0.330 | 0.329 |\n| Kin8nm | 0.914 | 0.909 | 0.449 | 0.923 | 0.821 | 0.911 | 0.885 | 0.917 | 0.920 |\n| Protein | 0.427 | 0.391 | 0.295 | 0.434 | 0.337 | 0.418 | 0.461 | 0.469 | 0.456 |\n\nThe Regression Block's Airfoil entry differs from the correction table by 0.002; the two are independent reruns of the same configuration.\n\n| Config | Median R2 | Mean R2 | Avg rank | Params |\n|---|---|---|---|---|\n| A0 FT-Transformer | 0.906 | 0.779 | 4.38 | 101,697 |\n| A1 + polynomial inputs | 0.904 | 0.773 | 4.75 | 106,305 |\n| A2 no polynomial | 0.548 | 0.572 | 8.75 | 21,697 |\n| A3 no PCA | 0.891 | 0.773 | 4.62 | 173,249 |\n| A4 softmax instead | 0.771 | 0.669 | 7.62 | 34,177 |\n| A5 FT-T shrunk to RB budget | 0.892 | 0.772 | 5.00 | 33,013 |\n| A6 RB stacked to 3 blocks | 0.887 | 0.772 | 5.25 | 89,985 |\n| A7 RB widened to FT-T budget | 0.912 | 0.787 | 2.12 | 101,377 |\n| RB Regression Block | 0.913 | 0.786 | 2.50 | 30,401 |\n\nOne further ablation completes the suite, on the parameter-reduction part of Q3: how far the block can be cut. Removing the feed-forward sublayer and truncating the principal component basis from 200 to 50 leaves two mixer sublayers and a linear head, the second mixer preserving the block's two-sublayer depth once the feed-forward sublayer goes, each sublayer LN(h + W(PCA(polycross(h)))): 7,489 parameters at P = 8, against 30,401 for the Regression Block and 101,697 for the FT-Transformer, 7.4 percent of the latter. Everything else, splits, seeds, budget and the corrected protocol, is identical to Table 1. We report this as an ablation, not as a proposed architecture.\n\n| Dataset | FT-T | Reg. Block | Trimmed | Trimmed vs FT-T |\n|---|---|---|---|---|\n| California | 0.764 | 0.766 | 0.759 | -0.005 |\n| Yacht | 0.988 | 0.989 | 0.989 | +0.001 |\n| Energy | 0.994 | 0.995 | 0.988 | -0.006 |\n| Concrete | 0.899 | 0.907 | 0.880 | -0.019 |\n| Airfoil | 0.924 | 0.927 | 0.912 | -0.013 |\n| Abalone | 0.324 | 0.329 | 0.327 | +0.004 |\n| Kin8nm | 0.914 | 0.920 | 0.905 | -0.009 |\n| Protein | 0.427 | 0.456 | 0.435 | +0.008 |\n| Mean | 0.779 | 0.786 | 0.774 | -0.005 |\n| Params (P=8) | 101,697 | 30,401 | 7,489 | |\n\nPaired over the forty dataset-by-seed observations, the trimmed configuration is within 0.005 of the FT-Transformer in mean R2, 0.774 against 0.779, ahead on three of eight; the difference is small but signed against it. Against the Regression Block it gives up 0.011. Separating the two cuts: the principal component budget is nearly free down to 50 components, which already retain essentially all the variance of the polynomial basis, while the feed-forward sublayer is worth about 0.009. The limit is dimension, not sample size: at P <= 9 the trim costs little even at large sample sizes, while at P between 21 and 48 it costs 0.010 to 0.062. What the trimming shows is where the accuracy comes from, which is the substance of the question: not feed-forward capacity, not basis width, but the explicit regression itself.\n\n---"
+ },
+ "createdAt": "2026-07-30T04:22:22.750Z",
+ "modifiedAt": "2026-11-19T17:06:13.542Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=1yfiVOmMio",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/cbfajpv9is.json added

+++ b/reviews/openreview/mryriw18cw/notes/cbfajpv9is.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "CBfAJpv9iS",
+ "replyTo": "IDZFgYQvI0",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer hxDL (3/3): Q2 and Q3",
+ "comment": "Part 3 of 3.\n\n## Q2 | Ridge and other analogies\n\nThe analogies can be made concrete, and the camera-ready version does so. Ridge is exact: the embedding $(X^\\top X + \\lambda I)^{-1}$ returns the ridge prediction exactly. Spectrally, ridge keeps least squares' rotation and flattens the whitening, so shrinkage acts on the embedding, damping low-variance directions, not on the coefficients. With principal component regression, that gives three estimators differing only in the embedding inside one module, and the camera-ready version presents it in that form.\n\nNor is this hypothetical: the ridge embedding already initializes the Attention Regression experiments, each head beginning from the Cholesky factor of the ridge-regularized precision matrix (Appendix B). The connection is already doing work in Section 4; the text simply did not say so.\n## Q3\n\nThe baselines were chosen for three reasons. Least squares is the exact linear case of the equivalence; random forest and the multilayer perceptron, with gradient boosting in the Monte Carlo, are the strongest conventional methods for tabular data; the FT-Transformer is the canonical attention architecture for it. Attention Regression is thereby compared to its regression ancestors and its attention siblings. The datasets are the standard suite (Grinsztajn et al. 2022; Gorishniy et al. 2021), every method at default configuration.\n\n---\n\nIn sum: W1 works out the two-layer case and its nonlinear interpretation; W2 states the purpose and corrects the table; W3 repositions the paper; Q1 states the corrected claim with its proof; Q2 and Q3 make the analogies and baselines concrete. We welcome follow-up during the discussion, and if these answers resolve the concerns, we hope you will consider revising the assessment."
+ },
+ "createdAt": "2026-07-30T04:24:30.816Z",
+ "modifiedAt": "2026-11-19T17:06:13.442Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=CBfAJpv9iS",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/d2nree8qpn.json added

+++ b/reviews/openreview/mryriw18cw/notes/d2nree8qpn.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "d2Nree8qPN",
+ "replyTo": "ftrUc7WbLd",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer hxDL (1/3): correction, W1 and W2",
+ "comment": "Part 1 of 3. Our response exceeds the field limit and comes in three comments.\n\nThank you for a precise review; Q1 led to a correction.\n\n**A correction, before the individual replies.** Targets were not standardized for all models in Table 1; immaterial for most estimators, this created optimization artifacts for the trained networks on a few datasets. Re-run uniformly, the FT-Transformer's three largest failures disappear (Airfoil -75.45 to 0.924, Yacht 0.445 to 0.988, Concrete 0.652 to 0.899): Table 1 understated it. Under the corrected protocol the Regression Block is ahead on all eight datasets by +0.001 to +0.029, median +0.004, at roughly thirty percent of the parameters. No single dataset carries the comparison; six of eight margins are within seed noise; the evidence is sign consistency across all eight (sign test p = 0.008) and a pooled paired difference of +0.007 (SE 0.003). The core conclusions are unchanged: the paper's point is the equivalence and the methods that follow from it, not a contest with the FT-Transformer. All numbers below use the corrected protocol.\n\n## W1 | Two layers\n\nTwo layers are the natural first extension; the linear case is exact. With each layer acting on the previous output, $X_1 = X\\Omega_1(X^\\top X)$ and $X_2 = X_1\\Omega_2(X_1^\\top X_1)$, every output remains X times a fixed matrix, so the stack collapses to one effective linear operator on the original inputs; with OLS embeddings on a fixed representation, the composition is $H^2 = H$. Residual connections strengthen the point: $X_{l+1} = X_l + X_l\\Omega_l(X_l^\\top X_l) = X_l R_l$, so $X_L = X R_{\\mathrm{eff}}$ and $\\hat y = X(R_{\\mathrm{eff}}\\gamma) = X\\beta_{\\mathrm{eff}}$: the deep linear residual network factorizes one effective linear predictor, with squared-error optimum exactly OLS under generic invertibility.\n\nThe collapse ceases once a nonlinear map changes the representation between layers. With a polynomial representation of the nonlinear operator, $f(x) = \\sum_{j,k} a_{jk}(x^\\top\\beta_j)^k$ has degree-$k$ tensor $T_k = \\sum_j a_{jk}\\,\\beta_j^{\\otimes k}$: the nonlinear extension is a structured low-rank polynomial regression, interactions flowing only through a few learned directions.\n\nThe Regression Block is built in the spirit of this principle: polynomial features, a compact PCA basis, then the supervised combination of retained components. PCA determines the rotation and compression, not the target-specific combination; the block implements the extensions the theory suggests. We will add this two-layer result and its nonlinear interpretation, noting that LayerNorm, arbitrary activations, and discrete-token prediction prevent an exact end-to-end identification.\n\n## W2 | Purpose of Table 1\n\nWe will add a paragraph along these lines. *Table 1 is not a bid for the state of the art; the production-grade systems this response adds are reference points, not the comparison. The theory establishes an exact equivalence in a restricted case; the equivalence implies conjectures about what should work architecturally, and the table tests those implications in both directions. Taking the identity at face value gives Attention Regression, a formula-derived estimator that lands in the range of random forest and the multilayer perceptron with no per-dataset tuning. Reading it in reverse gives the Regression Block, which replaces the attention sublayer with an explicit regression and performs comparably to the FT-Transformer at a fraction of the parameters. The empirical results support both directions of the argument and motivate using regression tools to design attention architectures.*\n\nThe ablations reported to Reviewer xZ71 identify the explicit regression as the component carrying the substitution and tie the polynomial expansion's value to how much nonlinearity a dataset offers. The table itself has been corrected: unstandardized targets were giving the FT-Transformer a hard time on three datasets, a preprocessing artifact. Adjusted, the gains are modest, but at a fraction of the parameters; the point is that the Regression Block behaves similarly, not that it dominates."
+ },
+ "createdAt": "2026-07-30T04:23:20.045Z",
+ "modifiedAt": "2026-11-19T17:06:13.530Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=d2Nree8qPN",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/dfmrycwits.json added

+++ b/reviews/openreview/mryriw18cw/notes/dfmrycwits.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "dfMryCWiTs",
+ "replyTo": "wAKpMMpGqg",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Thank you",
+ "comment": "Many thanks for going through the full response and for the updated assessment."
+ },
+ "createdAt": "2026-08-03T19:03:27.398Z",
+ "modifiedAt": "2026-11-19T17:06:13.120Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=dfMryCWiTs",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/dxbvtuqfke.json added

+++ b/reviews/openreview/mryriw18cw/notes/dxbvtuqfke.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "dXBvTuQfKe",
+ "replyTo": "to24kWMwS9",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Thank you",
+ "comment": "Many thanks for revisiting the assessment and for the updated score."
+ },
+ "createdAt": "2026-08-03T19:05:50.047Z",
+ "modifiedAt": "2026-11-19T17:06:13.146Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=dXBvTuQfKe",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/idghwuafmv.json added

+++ b/reviews/openreview/mryriw18cw/notes/idghwuafmv.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "iDGHWUafmV",
+ "replyTo": "QWDdYRQcVl",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer xZ71 (2/4): W2, uncapped, classification and higher-dimensional results",
+ "comment": "Part 2 of 4.\n\n## W2 and Q2 | Scope\n\nThe cap is removed; it bound on three of the eight datasets, the other five already ran at full size. All numbers are on the corrected protocol, foundation models included.\n\n| Dataset | N train | OLS | RF | FT-T | Reg. Block | TabPFN | TabICL |\n|---|---|---|---|---|---|---|---|\n| California | 16,512 | 0.601 | 0.817 | 0.807 | 0.805 | 0.872 | 0.878 |\n| Kin8nm | 6,553 | 0.410 | 0.691 | 0.924 | 0.931 | 0.935 | 0.935 |\n| Protein | 36,584 | 0.275 | 0.678 | 0.617 | 0.613 | 0.773 | 0.779 |\n\nAt full sample size the average rank among the four from-scratch methods is 1.62 for the Regression Block, 2.12 for the FT-Transformer, 2.25 for random forest and 4.00 for least squares. The two are close, mean difference +0.003, so the point is not a count of wins: an explicit regression in the attention sublayer performs comparably at roughly thirty percent of the parameters.\n\nThe two rightmost columns are TabPFN and TabICL, included because another reviewer asked for them; they are also a useful reference for where the pretrained frontier sits on these tasks, and they lead here (TabPFN v6.4.1, full training sets, no subsampling). The comparison is different in kind, however: these are production-grade systems pretrained on large synthetic corpora, not architectures trained on the task alone, and the classification numbers below should be read with the same caveat.\n\n**Classification**, the Regression Block adapted by a cross-entropy head and multinomial-logistic warm start, otherwise unchanged, on six OpenML datasets.\n\n| Dataset | LogReg | RF | FT-T | Reg. Block | TabPFN | TabICL |\n|---|---|---|---|---|---|---|\n| BreastCancer | 0.977 | 0.949 | 0.963 | 0.967 | 0.984 | 0.981 |\n| Diabetes | 0.779 | 0.781 | 0.774 | 0.775 | 0.781 | 0.781 |\n| Phoneme | 0.752 | 0.903 | 0.872 | 0.857 | 0.901 | 0.914 |\n| Wine | 0.967 | 0.972 | 0.961 | 0.967 | 0.983 | 0.994 |\n| Vehicle | 0.794 | 0.748 | 0.782 | 0.846 | 0.881 | 0.892 |\n| Segment | 0.938 | 0.973 | 0.968 | 0.974 | 0.988 | 0.990 |\n| Mean | 0.868 | 0.888 | 0.887 | 0.898 | 0.920 | 0.925 |\n\nAmong the methods trained from scratch the Regression Block has the best average rank, 2.08, against 2.17 for random forest, 2.58 for logistic regression and 3.17 for the FT-Transformer (fractional ranks, ties split). The claim we draw is the narrow one: the construction extends beyond squared-error regression, which was the substance of the question.\n\n**Higher dimensions**, real datasets of increasing dimension, method unchanged:\n\n| Dataset | P | OLS | RF | FT-T | Reg. Block |\n|---|---|---|---|---|---|\n| CPU_act | 21 | 0.708 | 0.978 | 0.977 | 0.973 |\n| Bank32nh | 32 | 0.526 | 0.503 | 0.535 | 0.509 |\n| Ailerons | 40 | <0 | 0.827 | 0.844 | 0.834 |\n| Pol | 48 | 0.488 | 0.977 | 0.993 | 0.991 |\n| Superconductivity | 81 | 0.720 | 0.878 | 0.831 | 0.846 |\n\nThe Regression Block stays in the FT-Transformer's range at every dimension, ahead of it on the highest-dimensional dataset, where random forest leads; nothing was tuned.\n\nThis check concerns the from-scratch architectures: does the construction survive dimension without tuning."
+ },
+ "createdAt": "2026-07-30T04:20:16.050Z",
+ "modifiedAt": "2026-11-19T17:06:13.556Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=iDGHWUafmV",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/idzfgyqvi0.json added

+++ b/reviews/openreview/mryriw18cw/notes/idzfgyqvi0.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "IDZFgYQvI0",
+ "replyTo": "d2Nree8qPN",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer hxDL (2/3): W3 and Q1",
+ "comment": "Part 2 of 3.\n\n## W3\n\nAccepted in full; the broad priority claim is removed. The closest papers fall into related but distinct groups.\n\n**Behavioural.** Garg et al. show Transformers trained on regression prompts learn to behave like least squares.\n\n**Algorithmic.** Akyurek et al. and von Oswald et al. show attention layers can execute gradient-descent updates and, with sufficient depth and width, recover ridge or least squares.\n\n**Optimal learned parameters.** Mahankali et al. and Ahn et al. study linear attention pre-trained across random regression tasks: the loss-minimizing parameters implement one (preconditioned) gradient-descent step, the preconditioner tied to the inverse population covariance; Zhang, Frei and Bartlett show gradient flow reaches a global minimum for one linear self-attention layer.\n\n**Our result.** We study the reverse direction: we begin with the least-squares prediction rule and ask what attention operation it already contains. Conditional on the observed design matrix, least-squares prediction is exactly a restricted attention operation with embedding $(X^\\top X)^{-1}$.\n\nIn the papers above, the correspondence is learned: a Transformer trained over many regression tasks approximates a regression algorithm, in the spirit of approximation results. Here it is an identity: for a given sample the least-squares rule already is a restricted attention operation, the exact inverse Gram matrix its embedding, no training involved. Their results say Transformers can do regression; ours says attention may be much more like regression than commonly thought, which the rest of the paper puts to work. We do not claim arbitrary attention layers implement OLS; OLS is one exact, sample-specific member of the class attention can express.\n\n**Optimization view.** Tarzanagh et al. study the optimization geometry of trained attention parameters, a different question from the forward-pass representation here; relative to Tsai et al.'s kernel-smoothing reading, ours is the specialization with covariance correction and signed hat-matrix weights.\n\n## Q1 | Optimal and unique, Eq. (17)\n\nYou are right: \"optimal\" and \"unique\" were asserted without proof, and writing the proof revealed a missing condition. For a single realized target y the objective does not identify the embedding: with $S = X^\\top X$ and $z = X^\\top y$, minimizing requires only $\\Omega z = S^{-1}z$, so the solution set is $\\Omega = S^{-1} + \\Delta$ for any $\\Delta$ with $\\Delta z = 0$, an affine set of dimension $P(P-1)$; as stated, the words did not hold. The prediction identity of Section 2 is unaffected, every member of that set returning the same fitted values for the target that defined it; what fails is the characterization of the embedding, not the equivalence.\n\nThe true statement, provable in four lines, quantifies over targets: one embedding must reproduce the least-squares rule for every target. When rank(X) = P, OLS uniquely minimizes squared error for each y, with $\\hat\\beta(y) = S^{-1}X^\\top y$, so $\\Omega X^\\top y = S^{-1}X^\\top y$ for every $y$; $X^\\top$ maps onto $\\mathbb{R}^P$, so $X^\\top y$ ranges over every $z$, hence $\\Omega z = S^{-1}z$ for all $z$ and $\\Omega = S^{-1}$.\n\nThe full-rank condition does two standard things: it makes $\\hat\\beta$ unique at each target and makes the targets sweep all of $\\mathbb{R}^P$.\n\nThe inverse Gram matrix is not determined by one realized target; it is the unique embedding implementing the rule uniformly over targets, and we restate the objective accordingly. Section 3.1's rank-constrained statement is restated the same way, uniformly over targets, yielding the principal-component embedding directly: $U_L\\Lambda_L^{-1}U_L^\\top$ from the leading eigenpairs of $X^\\top X$, the rank constraint stated in the data-aligned sense, keeping the largest-variance directions, not a spectral truncation of $(X^\\top X)^{-1}$ itself, whose largest eigenvalues are the lowest-variance directions."
+ },
+ "createdAt": "2026-07-30T04:23:48.087Z",
+ "modifiedAt": "2026-11-19T17:06:13.473Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=IDZFgYQvI0",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/j8m7qm4ncc.json added

+++ b/reviews/openreview/mryriw18cw/notes/j8m7qm4ncc.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "J8M7QM4NcC",
+ "replyTo": "KvNxtO3UOa",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "The PCR case, written out explicitly",
+ "comment": "Thank you. Here is the PCR case written out explicitly, completing the three-estimator statement. To confirm, all four items you list (the Table 1 and baselines discussions, the two-layer result, this OLS/ridge/PCR presentation, and the revised related work) will appear in the camera-ready as described in our responses.\n\nUnder the paper's full-column-rank condition, so that $\\lambda_P > 0$ below, the restricted attention module has the prediction form\n\n$$\\hat y(x) = x^\\top \\Omega\\, X^\\top y.$$\n\nReading from right to left, $X^\\top y$ collects the inner products between each feature and the response, $\\Omega$ mixes and reweights them, and $x^\\top$ maps the resulting coefficient vector to the prediction at query $x$. The matrix $\\Omega$, computed from the observed design $X$, is what defines the estimator. OLS, ridge and PCR are obtained exactly, not approximately, by changing this matrix.\n\n**OLS.** With $S = X^\\top X$: $\\Omega_{\\mathrm{OLS}} = S^{-1}$, the identity of Section 2.\n\n**Ridge.** $\\Omega_{\\mathrm{ridge}} = (S+\\lambda I)^{-1}$, the ridge prediction exactly.\n\n**PCR.** Write $S = U\\Lambda U^\\top$ with $\\lambda_1 \\geq \\cdots \\geq \\lambda_P > 0$, and retain the leading $L$ eigenpairs $U_L, \\Lambda_L$. PCR regresses $y$ on the scores $Z = XU_L$ and represents the query by $z = U_L^\\top x$. Since\n\n$$Z^\\top Z = U_L^\\top S\\, U_L = \\Lambda_L,$$\n\nthe score-space coefficients are\n\n$$\\hat\\gamma = (Z^\\top Z)^{-1}Z^\\top y = \\Lambda_L^{-1}U_L^\\top X^\\top y,$$\n\nand consequently\n\n$$\\hat y_{\\mathrm{PCR}}(x) = z^\\top \\hat\\gamma = x^\\top U_L\\Lambda_L^{-1}U_L^\\top X^\\top y.$$\n\nPCR is therefore exactly the same module with $\\Omega_{\\mathrm{PCR}} = U_L\\Lambda_L^{-1}U_L^\\top$, the embedding stated in our Q1 response. When $L = P$, full rank gives $U\\Lambda^{-1}U^\\top = S^{-1}$, so PCR recovers OLS. We verified the ridge and PCR identities numerically to machine precision, in sample and at fresh query points.\n\nThe three estimators share the same eigenvectors of $S$ and differ only in their eigenvalue weights.\n\n| Estimator | Embedding | Weight in direction $u_j$ |\n|---|---|---|\n| OLS | $S^{-1}$ | $1/\\lambda_j$ |\n| Ridge | $(S+\\lambda I)^{-1}$ | $1/(\\lambda_j+\\lambda)$ |\n| PCR | $U_L\\Lambda_L^{-1}U_L^\\top$ | $1/\\lambda_j$ for $j \\leq L$, and $0$ otherwise |\n\nRelative to OLS, ridge continuously suppresses low-variance directions, whereas PCR removes all but the leading $L$. Thus a family of classical estimators lives inside one restricted attention module, with the statistician's regularization choice carried by $\\Omega$.\n\nThis is also how Section 4 is built: the ridge-regularized precision matrix initializes each Attention Regression head through its Cholesky factor, and PCA supplies the Regression Block's compression. Section 3 of the camera-ready will present the family this way."
+ },
+ "createdAt": "2026-08-03T18:50:53.221Z",
+ "modifiedAt": "2026-11-19T17:06:14.436Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=J8M7QM4NcC",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/kvnxto3uoa.json added

+++ b/reviews/openreview/mryriw18cw/notes/kvnxto3uoa.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "KvNxtO3UOa",
+ "replyTo": "CBfAJpv9iS",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer hxDL",
+ "content": {
+ "comment": "I thank the authors for the comprehensive rebuttal, please include these explicit discussions in the camera-ready (the Table 1 and baselines discussions, the two-layer result, the OLS/ridge/PCR presentation, the revised related work). \n\nThe claim that \"three estimators differing only in the embedding inside one module\" is demonstrated for Ridge but not PCR. I would like this written out explicitly rather than stating it's included in the camera-ready. I adjust my score on the expectation that these are added explicitly and concretely."
+ },
+ "createdAt": "2026-07-31T17:03:38.505Z",
+ "modifiedAt": "2026-11-19T17:06:13.265Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=KvNxtO3UOa",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/qod7eubmet.json modified

+++ b/reviews/openreview/mryriw18cw/notes/qod7eubmet.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair fTx8",
"content": {
- "metareview": "This paper connects ordinary least squares to attention by taking the perspective of OLS as a similarity-based prediction rule in a learned embedding space. It shows this is equivalent to a \"restricted\" attention module. \n\nStrengths: The mathematics are simple and precise, and they provide a novel and insightful interpretation/connection of OLS to the modern deep learning context. The claims are clearly stated and supported, and the paper gives ideas on how the claims extend to a variety of stat ML techniques that have provided the foundation of modern ML.\n\nWeaknesses: The claims apply to a single restricted attention layer. This is acknowledged in the limitations section, but the lack of discussion of how these ideas might be extended limits the paper's impact to a Neurips audience. \n\nAs reviewer xZ71 points out, \"The Regression Block changes several things at once, including polynomial features, PCA compression, parameter count, and the removal of softmax attention. More ablations are needed to show which component actually drives the improvement.\"\n\nDiscussion of how the ideas connect to existing mathematical interpretations of attention and transformers is missing. See the suggestions from reviewer hxDL as well as Tarzanagh et al, \"Transformers as Support Vector Machines.\" In NeurIPS 2023 Workshop on Mathematics of Modern Machine Learning.\n\nI think it is possible for the author to respond successfully to these reviews. Ablation studies provide the most concrete possibility for improvement that I can see, but a strong response to all reviewer concerns is necessary."
+ "metareview": "This paper connects ordinary least squares to attention by taking the perspective of OLS as a similarity-based prediction rule in a learned embedding space. It shows this is equivalent to a \"restricted\" attention module. \n\nStrengths: The mathematics are simple and precise, and they provide a novel and insightful interpretation/connection of OLS to the modern deep learning context. The claims are clearly stated and supported, and the paper gives ideas on how the claims extend to a variety of stat ML techniques that have provided the foundation of modern ML.\n\nWeaknesses: The claims apply to a single restricted attention layer. This is acknowledged in the limitations section, but the lack of discussion of how these ideas might be extended limits the paper's impact to a Neurips audience. \n\nAs reviewer xZ71 points out, \"The Regression Block changes several things at once, including polynomial features, PCA compression, parameter count, and the removal of softmax attention. More ablations are needed to show which component actually drives the improvement.\"\n\nDiscussion of how the ideas connect to existing mathematical interpretations of attention and transformers is missing. See the suggestions from reviewer hxDL as well as Tarzanagh et al, \"Transformers as Support Vector Machines.\" In NeurIPS 2023 Workshop on Mathematics of Modern Machine Learning.\n\nI think it is possible for the author to respond successfully to these reviews. Ablation studies provide the most concrete possibility for improvement that I can see, but a strong response to all reviewer concerns is necessary.",
+ "final_justification": "The author/reviewer discussion was productive and two scores increased. This is a borderline paper but with an interesting idea and a nice mathematical analysis to support it. Some changes were required to the mathematical statements to ensure correctness. The experiments are also useful, and improved through ablations requested and implemented during the rebuttal period. \n\nWhether the paper is accepted or not, the authors are encouraged to fold in all the discussion here for an improved manuscript."
},
"createdAt": "2026-07-21T02:08:53.612Z",
- "modifiedAt": "2026-11-18T15:25:21.291Z",
+ "modifiedAt": "2026-11-19T05:03:24.162Z",
"url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=QoD7eubMEt",
"license": "CC-BY-4.0"
}

reviews/openreview/mryriw18cw/notes/qwddyrqcvl.json added

+++ b/reviews/openreview/mryriw18cw/notes/qwddyrqcvl.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "QWDdYRQcVl",
+ "replyTo": "8bSO0RXoY1",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer xZ71 (1/4): correction and W1",
+ "comment": "Part 1/4. Our response exceeds the field limit and comes in four pieces, the ablation grid in the fourth.\n\nThank you for a careful review; every experiment requested was run.\n\n**A correction, before the individual replies.** Targets were not standardized for all models in Table 1; immaterial for most estimators, this created optimization artifacts for the trained networks on a few datasets. Re-run uniformly, the FT-Transformer's three largest failures disappear (Airfoil -75.45 to 0.924, Yacht 0.445 to 0.988, Concrete 0.652 to 0.899). Under the corrected protocol the Regression Block is ahead on all eight datasets by +0.001 to +0.029, median +0.004, at roughly thirty percent of the parameters. No single dataset carries the comparison; six of eight margins are within seed noise; the evidence is the sign consistency across all eight (sign test p = 0.008) and a pooled paired difference of +0.007 (SE 0.003). The core conclusions are unchanged: the paper's point is the equivalence and the methods that follow from it, not a contest with the FT-Transformer. \n\n## W1 and Q1 | Single layer; what survives in a full Transformer\n\nFor restricted linear attention layers the extension is exact even acting in sequence, each layer on the previous output as in a real network: $X_1 = X\\Omega_1(X^\\top X)$, $X_2 = X_1\\Omega_2(X_1^\\top X_1)$, and every output remains X times a fixed matrix, so the stack collapses to one effective linear operator on the original inputs. With a fixed representation and OLS embeddings, $\\Omega_l = S^{-1}$ with $S = X^\\top X$, this reduces to $H^2 = H$.\n\nResidual connections make this exact as well, in factorized form: a residual block maps $X_l$ to $X_{l+1} = X_l + X_l\\Omega_l(X_l^\\top X_l) = X_l R_l$, so recursively $X_L = X R_{\\mathrm{eff}}$ with $R_{\\mathrm{eff}} = R_1 \\cdots R_L$, and the prediction is $\\hat y = X_L\\gamma = X(R_{\\mathrm{eff}}\\gamma) = X\\beta_{\\mathrm{eff}}$. The entire deep linear residual network is a factorization of one effective linear predictor, and this holds with each layer's queries and keys formed from its own representation. With generically invertible factors, $\\beta_{\\mathrm{eff}}$ is unrestricted, so at the squared-error optimum the network computes exactly the OLS prediction; a statement about the optimum, not the path optimization takes. Linear depth changes the parameterization of the estimator, not the estimator.\n\nSoftmax itself has a regression reading before any of this: it constrains the combination weights to the probability simplex, so softmax attention is a regression forced to be nonnegative and sum to one, where least squares uses signed, covariance-corrected weights freely. That is the intuition behind Attention Regression, and it is local in the same sense as the rest of our claims.\n\nNonlinear transformations change the situation because they alter the representation between attention operations. A standard Transformer does this principally through its feed-forward network, and LayerNorm also makes subsequent operations depend on a transformed representation. Once these components intervene, later attention modules no longer act on the original X, and the exact collapse above no longer holds end to end. Our claim is therefore local: conditional on the representation entering a restricted attention module, the regression interpretation applies to that module.\n\nDiscrete-token prediction is multiclass classification, and the regression interpretation naturally extends through the linear predictors rather than the probabilities themselves. The block computes class indices (equivalently, log-odds relative to a reference class), while a multinomial-logistic link maps those indices to class probabilities. Our classification experiments pair the same block with a cross-entropy head initialized by multinomial logistic regression. The regression interpretation applies to the latent scores, not the probabilities.\n\nThe regression interpretation nevertheless provides a useful way to think about the nonlinear case. Suppose the nonlinear map is represented, or locally approximated, by polynomial functions of a small number of learned regression directions. A predictor of degree $d$ can then be written $f(x) = \\sum_{j=1}^{m}\\sum_{k=1}^{d} a_{jk}(x^\\top\\beta_j)^k$, and for each degree $k$ its coefficient tensor is $T_k = \\sum_{j=1}^{m} a_{jk}\\,\\beta_j^{\\otimes k}$, the $k$-fold tensor power of the learned directions. The predictor is therefore not an unrestricted polynomial regression: its polynomial tensors have rank at most m and factor through the learned directions. A sequence of regression-like linear maps and nonlinear transformations can thus be viewed as a highly structured, low-rank polynomial model.\n\nStacking the Regression Block makes it marginally worse: A6 in the ablations below, three blocks and triple the parameters, loses 0.015 on average. We retain the one-block specification without claiming the idempotence result governs nonlinear deep Transformers."
+ },
+ "createdAt": "2026-07-30T04:19:30.153Z",
+ "modifiedAt": "2026-11-19T17:06:13.571Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=QWDdYRQcVl",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/rmso4tahrc.json added

+++ b/reviews/openreview/mryriw18cw/notes/rmso4tahrc.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "RMSO4TAHrC",
+ "replyTo": "iDGHWUafmV",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer xZ71 (3/4): W3, ablation results",
+ "comment": "Part 3 of 4.\n\n## W3 and Q3 | Which component is responsible\n\nWe ran all of them; the ablations test what the construction implies rather than searching for a favourable configuration. The per-dataset grid and the summary table are in part 4, directly below; the results, paired over the forty dataset-by-seed observations:\n\nConfigurations, with the same datasets, splits, seeds and budget as Table 1: A0 is the FT-Transformer baseline; A1 adds degree-2 polynomial inputs; A2 removes the Regression Block's polynomial expansion; A3 removes PCA; A4 replaces the regression head with softmax attention in the same skeleton, so the clean head comparison is A4 against RB; A5 shrinks the FT-Transformer to the Regression Block's parameter count, keeping its three blocks and narrowing d_model, selected at 36 on every dataset; A6 stacks the Regression Block to three blocks; A7 widens its single block to the FT-Transformer's budget; and RB is the Regression Block. All nine use the corrected protocol.\n\nA1: polynomial inputs added to the FT-Transformer are largely redundant; where they move, they hurt (Protein -0.036). A2: removing the polynomial expansion is the Regression Block's most costly change (-0.214), worst where random forest most outruns least squares; the loss tracks that gap (Spearman 0.71). A3: removing PCA costs 0.013 at 5.7 times the parameters, so compression buys parameter economy, not accuracy. A4: softmax back in the same one-block skeleton loses 0.117, worse than the Regression Block on all eight; the head accounts for most of the performance difference within this controlled comparison. A5: the FT-Transformer shrunk to the Regression Block's budget loses 0.008 (p = 0.006) but does not break, softmax at three narrow blocks holding (0.892 median) where A4's softmax at one block collapsed (0.771): within these architectures softmax benefits substantially from depth, whereas the regression head performs best with one block. A6: the Regression Block stacked to three blocks, matching the FT-Transformer's depth at triple the parameters, gets worse (-0.015, p < 0.001); the results throughout use a single block, a fifth difference alongside the four you list, and Appendix C's description, which says three, will be aligned in the revision. A7: widened to the FT-Transformer's budget instead, it changes nothing (+0.001, p = 0.57); capacity does not explain the comparison in either direction.\n\nIn sum: W1 is answered by working out the linear case and stating its limits; W2 by the uncapped, classification and higher-dimensional tables; W3 by the ablation suite, with the grid and the parameter-reduction ablation in part 4 below. We are happy to run further configurations during the discussion, and if these answers resolve the concerns, we hope you will consider revising the assessment."
+ },
+ "createdAt": "2026-07-30T04:21:02.082Z",
+ "modifiedAt": "2026-11-19T17:06:13.544Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=RMSO4TAHrC",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/tl5km4v5uj.json added

+++ b/reviews/openreview/mryriw18cw/notes/tl5km4v5uj.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "TL5KM4v5UJ",
+ "replyTo": "ydA5uay0bj",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer Ayqz (2/2): Q1 and Q2",
+ "comment": "Part 2 of 2.\n\n## Q1 | Relation to Garg et al. (2022)\n\nGarg et al. ask what function classes trained Transformers can learn in context, and on linear-regression prompts they find performance comparable to least squares. Their result is behavioural: a trained Transformer learns to act like a regression procedure. A closely related line, Mahankali et al., Ahn et al., and Zhang, Frei and Bartlett, shows that when one-layer linear attention is pre-trained over random linear-regression tasks, the optimal learned parameters implement one step of gradient descent or preconditioned gradient descent, with the preconditioner related to the inverse population covariance.\n\nOur result is complementary. We do not begin with a Transformer and ask which regression algorithm it learns; we begin with the least-squares prediction rule and show that, conditional on the observed design matrix, it is already exactly a restricted attention operation with embedding $(X^\\top X)^{-1}$. Their learned parameters are shared across tasks and are therefore population-level quantities, while our embedding is the exact dataset-specific inverse Gram matrix supplied directly by the estimator.\n\nWe will add this to the related work, with the repositioning made explicit. What we take from the identity is not that attention can learn regression but that attention is, in a precise sense, a form of regression: least-squares prediction is itself a restricted attention operation. On that view the in-context findings are the expected outcome rather than a surprise, since a sophisticated form of regression should have little trouble learning simple regression functions in context. The paper takes that as its lead and tests the architectural implications with the Regression Block. The full repositioning is carried out in our response to Reviewer hxDL and restated to the Area Chair.\n\n## Q2 | Why the FT-Transformer rather than TabPFN or TabICL\n\nBecause the question being asked is architectural rather than competitive. The claim is that the attention sublayer of a transformer trained from scratch can be replaced by an explicit regression at a fraction of the parameters, and the control for that claim is the same architecture with and without the substitution, which is what the FT-Transformer provides.\n\nWe ran TabPFN on all eight datasets nonetheless, at Table 1's capped sample sizes (full-sample and classification numbers, TabICL alongside, are in our response to Reviewer xZ71), and it leads throughout, which is what one expects of a production-grade system pretrained on large volumes of synthetic data. It is a useful benchmark to have, and the two models also appear in the classification results reported to Reviewer xZ71.\n\n| Dataset | FT-Transformer | Regression Block | TabPFN |\n|---|---|---|---|\n| California | 0.764 | 0.766 | 0.847 |\n| Yacht | 0.988 | 0.989 | 0.999 |\n| Energy | 0.994 | 0.995 | 0.998 |\n| Concrete | 0.899 | 0.907 | 0.951 |\n| Airfoil | 0.924 | 0.927 | 0.971 |\n| Abalone | 0.324 | 0.329 | 0.344 |\n| Kin8nm | 0.914 | 0.920 | 0.928 |\n| Protein | 0.427 | 0.456 | 0.640 |\n\nWe do not interpret this as a ranking result: tabular foundation models are built on transformer backbones, so if an explicit regression can stand in for the attention sublayer of a from-scratch transformer at a third of the parameters, a block of this kind may be another viable basis for models of that sort.\n\nIn sum: the equivalence is used in both directions, Eq. (24) is implemented and benchmarked, and the relation to Garg et al. now sits in the related work with the repositioning stated. We welcome follow-up during the discussion period. If these answers resolve the concerns, we hope you will consider revising the assessment."
+ },
+ "createdAt": "2026-07-30T04:25:51.959Z",
+ "modifiedAt": "2026-11-19T17:06:13.277Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=TL5KM4v5UJ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/to24kwmws9.json added

+++ b/reviews/openreview/mryriw18cw/notes/to24kwmws9.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "to24kWMwS9",
+ "replyTo": "TL5KM4v5UJ",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer Ayqz",
+ "content": {
+ "comment": "I would like to thank the authors for the comprehensive rebuttal. My concerns and questions are addressed. I changed my assessment accordingly."
+ },
+ "createdAt": "2026-07-31T14:23:52.955Z",
+ "modifiedAt": "2026-11-19T17:06:13.544Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=to24kWMwS9",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/wakpmmpgqg.json added

+++ b/reviews/openreview/mryriw18cw/notes/wakpmmpgqg.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "wAKpMMpGqg",
+ "replyTo": "1yfiVOmMio",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer xZ71",
+ "content": {
+ "comment": "My concerns and questions are addressed. Therefore I will raise the score accordingly."
+ },
+ "createdAt": "2026-08-02T08:10:35.269Z",
+ "modifiedAt": "2026-11-19T17:06:13.533Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=wAKpMMpGqg",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/mryriw18cw/notes/yda5uay0bj.json added

+++ b/reviews/openreview/mryriw18cw/notes/yda5uay0bj.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "ydA5uay0bj",
+ "replyTo": "4UhQ4OGoOC",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer Ayqz (1/2): correction, insights and Eq. (24)",
+ "comment": "Part 1 of 2. Our response comes in two comments, for the field limit.\n\nWe thank the reviewer for the assessment and questions.\n\n**A correction, before the individual replies.** Targets were not standardized for all models in Table 1; immaterial for most estimators, it created optimization artifacts for the trained networks on a few datasets. Re-run uniformly, the FT-Transformer's three largest failures disappear (Airfoil -75.45 to 0.924, Yacht 0.445 to 0.988, Concrete 0.652 to 0.899): Table 1 understated it. Under the corrected protocol the Regression Block is ahead on all eight datasets by +0.001 to +0.029, median +0.004, at roughly thirty percent of the parameters. No single dataset carries the comparison; six of eight margins are within seed noise, and the evidence is the sign consistency across all eight (sign test p = 0.008) with a pooled paired difference of +0.007 (SE 0.003, p = 0.009). The core conclusions are unchanged: the paper's point is the equivalence and the methods that follow from it, not a contest with the FT-Transformer. All numbers below use the corrected protocol.\n\n## On mostly educational, and Eq. (24)\n\nThe paper makes two distinct uses of the equivalence. The equivalence runs in both directions, and each direction yields something. From regression to attention, it gives Attention Regression, applied in Section 4. From attention to regression, where the more practical payoff sits, it gives the Regression Block: it replaces the attention sublayer of a transformer with an explicit polynomial regression and performs comparably to the FT-Transformer at about thirty percent of the parameters, using one block against the FT-Transformer's three, and it now also extends to classification. New ablations identify the explicit regression as the component responsible, and show that a parameter-matched FT-Transformer does not close the gap.\n\nOn Eq. (24) and scalability, the reviewer is right, and the point extends beyond the linear case: estimating an embedding is not the economical way to run a regression, since the embedding carries P(P+1)/2 parameters against the P coefficients of the regression it reproduces, and that arithmetic does not improve with nonlinearity. The remedies developed in the paper apply directly: the principal-component embedding reduces the effective dimension through a low-rank representation, while ridge stabilizes the embedding by shrinking poorly identified directions. Attention Regression itself is a proof of concept rather than a proposal: it shows the regression interpretation produces a viable empirical estimator, competitive with random forest and the multilayer perceptron across eight datasets without per-dataset tuning, the Cholesky parameterization of Appendix B keeping the estimation well-posed. We do not propose attention-as-regression as a production estimator; the economically useful direction is the reverse construction, the Regression Block."
+ },
+ "createdAt": "2026-07-30T04:25:13.629Z",
+ "modifiedAt": "2026-11-19T17:06:13.401Z",
+ "url": "https://openreview.net/forum?id=MRyrIW18CW&noteId=ydA5uay0bj",
+ "license": "CC-BY-4.0"
+}