potentialpaper

FOAM: Factored One-sided Adam-Moment for Practical and Scalable SOAP

Jaemyung Yu, Byeongho Heo, Sangdoo Yun, Dongyoon Han

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Second-order optimizers (e.g., Shampoo, SOAP) have emerged as compelling alternatives to Adam/AdamW and promise faster per-step convergence than AdamW in transformer training. However, they still remain costly in practice, and even SOAP still pays substantial optimizer-state memory and eigendecomposition overhead. We ask whether the benefits of SOAP can be retained at nearly the efficiency of AdamW. In this paper, we answer yes with a lightweight SOAP variant, Factored One-sided Adam-Moment (FOAM). The path to practical impact is twofold: first, FOAM employs input-only preconditioning, dropping the output-side Kronecker factor to reduce memory and remove one eigendecomposition. The Kronecker structure of the Hessian shows that this is exact for a diagonal output-side curvature and nearly lossless for a near-diagonal one, as we observe empirically. Second, FOAM replaces SOAP's dense rotated second moment with a factored Adam-moment estimator based on row-by-column statistics. Under the K-FAC Fisher assumption with a diagonal output curvature, this estimator exactly recovers SOAP's dense second moment, and we measure only a 15-20% K-FAC violation, with negligible effect on the update. Our empirical results support the claim that FOAM matches strong SOAP and Muon baselines in validation loss across scales of large language model (LLM) pre-training, uses half of SOAP's optimizer state, runs at Muon-class wall-clock time, and retains robustness across a three-fold learning-rate range. The results hold from 124M to 760M parameters, demonstrating that SOAP's gains need not require SOAP's cost. Code: https://github.com/naver-ai/foam.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
16 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper proposes FOAM, a memory and compute-efficient optimizer for Transformer pre-training. The referees agree that designing efficient optimizers is an important research direction, the paper has interesting ideas, and is well-written. FOAM is derived from the SOAP optimizer but simplifies its two-sided preconditioning by retaining only the input-side (right) Kronecker factor and applying a diagonal scaling on the output side. The idea is to achieve comparable validation loss to SOAP, better than AdamW while reducing computational costs of SOAP. The paper demonstrates empirical performance including GPT-2 style architectures with size upto 750M. During the rebuttal phase, the paper did a strong job in expanding the experimental results responding to feedback from referees which strengthened the work.

At the first meta-review phase, the recommendation to the authors was to consider addressing the referee comments/questions in the rebuttal phase. The referees collectively raise important questions, some broad pointers: -Expanding the Empirical Scope (include other diverse architectures if not larger parameter sizes which can be hard in a short rebuttal phase) -Clarification of novelty vs SOAP. Insights on the equivalence between the factored update and SOAP vs K-FAC approximation.
-Including missing baselines, comparisons (eg, Comparisons with input-only SOAP with L replaced by the identity, performance difference between FOAM and AdamW; shed insights on scenarios where FOAM is expected to provide the strongest benefit vs AdamW, Muon, SOAP, and the regimes where its assumptions or implementation costs may make it less attractive, etc.) -Clarification of memory gains vs AdamW

In the rebuttal phase, there was strong engagement from the authors and referees (I thank both sides for this level of engagement), and all the referees have increased their scores and recommend acceptance of the paper. Therefore, I am also pleased to recommend acceptance of the work.

Final justification

See above.

Area Chair L8ga · Meta-reviewOpenReview ↗
Final justification
See above.
Read meta-review
Meta-review

The paper proposes FOAM, a memory and compute-efficient optimizer for Transformer pre-training. The referees agree that designing efficient optimizers is an important research direction, the paper has interesting ideas, and is well-written. FOAM is derived from the SOAP optimizer but simplifies its two-sided preconditioning by retaining only the input-side (right) Kronecker factor and applying a diagonal scaling on the output side. The idea is to achieve comparable validation loss to SOAP, better than AdamW while reducing computational costs of SOAP. The paper demonstrates empirical performance including GPT-2 style architectures with size upto 750M. During the rebuttal phase, the paper did a strong job in expanding the experimental results responding to feedback from referees which strengthened the work.

At the first meta-review phase, the recommendation to the authors was to consider addressing the referee comments/questions in the rebuttal phase. The referees collectively raise important questions, some broad pointers: -Expanding the Empirical Scope (include other diverse architectures if not larger parameter sizes which can be hard in a short rebuttal phase) -Clarification of novelty vs SOAP. Insights on the equivalence between the factored update and SOAP vs K-FAC approximation.
-Including missing baselines, comparisons (eg, Comparisons with input-only SOAP with L replaced by the identity, performance difference between FOAM and AdamW; shed insights on scenarios where FOAM is expected to provide the strongest benefit vs AdamW, Muon, SOAP, and the regimes where its assumptions or implementation costs may make it less attractive, etc.) -Clarification of memory gains vs AdamW

In the rebuttal phase, there was strong engagement from the authors and referees (I thank both sides for this level of engagement), and all the referees have increased their scores and recommend acceptance of the paper. Therefore, I am also pleased to recommend acceptance of the work.

1 comment
Authors · CommentOpenReview ↗

Dear AC,

Thank you for a meta-review that named the four decisive questions. Below is where each now stands; full detail is in the four reviewer threads.

1. Empirical scope: a newly conducted experiment (during this rebutal phase) confirms that the GPT-2 ranking transfers to ViT. On ViT-Tiny / Tiny-ImageNet (recipe unchanged from [1]; each optimizer's LR/WD tuned independently until its optimum is interior to the grid, true for all five), top-1 is: AdamW 58.6; AdaMuon 65.1; Muon 65.1; FOAM 65.4; SOAP 67.1.

2. Novelty: the contribution is the structural principle, not the components. One-sided and factored variants do appear in SOAP, but as cost-reducing ablations, without the principles needed to use them without sacrificing loss. What we provide is which side should be retained, when factorization is justified, and why their combination is effective.

  • Which side to keep. SOAP's one-sided variant retains whichever side is smaller, a heuristic that can degrade performance (SOAP's own Fig. 6) and offers no structural criterion. Our theory (§4.1) shows the input side should always be retained, irrespective of matrix size; for the MLP down-projection, whose input dimension is 4d, the two rules pick opposite sides. Empirically, output-only preconditioning costs +0.020 nats relative to input-only at the same optimizer-state cost (Table 3).
  • When factoring is safe. SOAP reports a factored variant but does not explain why it should preserve quality. Lemma 1 shows that after the input-side rotation, the per-entry second moments become separable into row and column factors, and Fig. 5 confirms this separability stays close to 1 throughout training. Without the rotation it does not hold: in Adam's unrotated basis the best factored fit captures only 0.54-0.63 of the second-moment energy and decays during training, which is why conventional Adafactor-style factoring can lose quality while FOAM's does not (Table 3: 1.78 to 1.46 GiB of state for +0.002 nats).

The K-FAC assumption behind Lemma 1 is itself verified per layer (15-16% relative error, costing 0.001-0.002 nats; detail in the 7v5q thread), and the revision will state these distinctions in the main text rather than a footnote.

3. The experiments the reviewers requested: every comparison has been completed.

  • Input-only SOAP (L=I), i.e. FOAM without factorization, at all scales: it matches FOAM within 0.002 nats at 124M/350M (760M, single seed: 2.787 vs. 2.796) while using about a fifth more state, so the factored moment is nearly free.
  • Shampoo at 124M, identical protocol and seeds: 3.379, well behind SOAP (3.305) and FOAM (3.309); this is the gap SOAP's eigenbasis correction closes and why we position FOAM against SOAP.
  • AdamW at equal wall clock, 760M: FOAM reaches AdamW's final loss in the same time (10.53 vs. 10.55 h), then continues to 2.796 vs. 2.847. FOAM's strongest regime is large batch: at a fixed token budget AdamW degrades 3.370 to 3.956 as batch grows 0.5M to 2M tokens/step while FOAM holds (3.309 to 3.364), and [2] report the same on multi-billion-parameter models at batches up to 100M tokens. Table 2 gains #steps and iso-wall columns, and a new §5 paragraph states when FOAM is and is not the right choice.

4. Memory vs. AdamW: the phrase will be replaced by exact accounting. Matrix-parameter optimizer state at 124M is 0.63 / 1.46 / 2.85 GiB for AdamW / FOAM / SOAP, so FOAM is about 2.3x AdamW and half of SOAP. In the configuration we actually train with, per-GPU total memory is 21.8 / 22.6 (+3.6%) / 24.1 (+10.1%) GiB. The revision will state both.

We sincerely thank you and the reviewers for the thoughtful and constructive review process, which has made the paper clearer and stronger. We would be glad to provide any further clarification during the remainder of the discussion period.

Best regards,

Authors

[1] Zhang, Tianxiao, et al. "Depth-wise convolutions in vision transformers for efficient training on small datasets." Neurocomputing 617 (2025): 128998.

[2] Khona, Mikail, et al. "SOAP, Muon, and Beyond: Pushing LLM Pretraining Scales." arXiv preprint arXiv:2607.20548 (2026).

Reviewer FQYVOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose an optimization method called FOAM (Factored One-sided Adam-Moment), a variant of SOAP that reduces SOAP's memory and eigendecomposition overhead. For a matrix parameter Wt∈Rm×nW_t \in \mathbb{R}^{m \times n} and gradient GtG_t at training step tt, the proposed method keeps only the input-side Kronecker factor

Rt=βshRt−1+(1−βsh)GtTGt,R_t = \beta_{sh} R_{t-1} + (1 - \beta_{sh}) G_t^T G_t,

computes its eigendecomposition Rt=QRΛRQRTR_t = Q_R \Lambda_R Q_R^T, and rotates the gradient only along the input dimension:

Gtrot=GtQR.G_t^{rot} = G_t Q_R.

This is similar to SOAP, but one-sided: FOAM keeps the input-side factor and drops the output-side factor.

In the rotated basis, FOAM applies an Adam-like first moment,

Mt=β1Mt−1+(1−β1)Gtrot,M_t = \beta_1 M_{t-1} + (1 - \beta_1)G_t^{rot},

and replaces SOAP's dense rotated second moment with Adafactor row and column statistics:

rt=β2rt−1+(1−β2)(Gtrot⊙Gtrot)1nn,r_t = \beta_2 r_{t-1} + (1 - \beta_2) \frac{(G_t^{rot} \odot G_t^{rot}) \mathbf{1}_n}{n},
ct=β2ct−1+(1−β2)1mT(Gtrot⊙Gtrot)m.c_t = \beta_2 c_{t-1} + (1 - \beta_2) \frac{\mathbf{1}_m^T (G_t^{rot} \odot G_t^{rot})}{m}.

After bias correction, the second moment is reconstructed as

V^trot=τr^tc^tT,\widehat{V}_t^{rot} = \tau \widehat{r}_t \widehat{c}_t^T,

where the trace-normalization factor is

τ=tr(Rt)/nmean(r^t)mean(c^t).\tau = \frac{\mathrm{tr}(R_t)/n}{\mathrm{mean}(\widehat{r}_t)\mathrm{mean}(\widehat{c}_t)}.

The update is then computed in the rotated basis and mapped back:

Utrot=M^t/(V^trot+ϵ),Ut=UtrotQRT,U_t^{rot} = \widehat{M}_t / (\sqrt{\widehat{V}_t^{rot}} + \epsilon), \qquad U_t = U_t^{rot} Q_R^T,

with final AdamW update

Wt+1=Wt−ηUt−ηλWt.W_{t+1} = W_t - \eta U_t - \eta \lambda W_t.

Thus, the proposed method combines SOAP's Kronecker preconditioning, but only on the input side, AdamW updates, and Adafactor factorization of the second moment. The main idea is that if the output-side curvature is approximately diagonal, then the most important non-diagonal curvature structure lies on the input side. The authors therefore rotate gradients only along the input dimension, apply an AdamW update in that basis, approximate the rotated second moment using row and column statistics, and then rotate the update back.

Strengths and weaknesses

Strengths

  • The proposed method is simple and well-motivated. FOAM combines input-side Kronecker preconditioning, AdamW updates, and Adafactor factorization of the second moment. This makes the method easy to understand as a cost-reduced variant of SOAP.
  • The design choices are supported by the ablation study. Specifically, the paper compares input-only and output-only preconditioning and shows that input-only preconditioning preserves validation loss better, despite having similar state cost.

Weaknesses

  • The AdamW-level memory claim is overstated, as Table 2 reports that FOAM is twice as costly as AdamW at all model sizes.
  • Novelty: The method combines known methods one-sided SOAP preconditioning, AdamW updates and Adafactor factorization.
  • (minor) Table 2 does not report a 760M SOAP results, while the text refers to "SOAP 2.808".
  • (minor) The notation for the input-side and output-side Kronecker factors appears inconsistent between different sections of the paper. On line 33, the paper writes the SOAP factors as L=GTGL = G^T G and R=GGTR = GG^T. On line 44, it says input-only preconditioning drops the output-side factor (R) and retains (L). On line 112, however, the formal definition sets Lt=E[GtGtT]L_t = E[G_tG_t^T] as the output-side factor and Rt=E[GtTGt]R_t = E[G_t^T G_t] as the input-side factor. This makes the description of the method confusing.
  • (minor) Missing citation "[CITE]" line 40.
Questions

N/A

Limitations

yes

Final justification

All my concerns are resolved, therefore I increase my score.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the careful reading; all five points are correct, and each will lead to a concrete revision.

After submission we have expanded the study with more seeds behind the main table, so a few validation losses below differ slightly from the submitted Table 2. The revision will use these numbers throughout.

val loss (multi-seed) 124M 350M 760M
AdamW 3.370±.009 3.040±.012 2.847±.004
Muon 3.313±.008 2.998±.010 2.806±.005
AdaMuon 3.311±.009 2.992±.012 2.799±.004
SOAP 3.305±.009 2.983±.012 2.791±.005
FOAM 3.309±.008 2.991±.012 2.796±.005

W1: the "AdamW-level memory" claim is overstated

We agree that this phrase may be misleading. Table 2 reports the matrix-parameter optimizer state, on which FOAM is 2.25x AdamW (0.63 / 1.46 / 2.85 GiB for AdamW / FOAM / SOAP at 124M). The quantity we intended is the effect on total memory in the configuration we train with: at 0.5M tokens/step on 8 GPUs with DDP and no gradient accumulation, per-GPU memory is 21.8 GiB for AdamW, 22.6 for FOAM (+3.6%) and 24.1 for SOAP (+10.1%), and FOAM additionally removes one of the two eigendecompositions. The revision will state this rather than "AdamW-level". These totals are analytic and dominated by activations at this batch size, so we will report measured peak memory alongside them.

W2: novelty, a combination of known methods

We agree that one-sided (but not specifically input-side-only) and factored variants already appear in SOAP, as noted in the footnote. However, these variants were introduced primarily as cost-reducing ablations, without establishing the structural principles needed to use them without sacrificing optimization quality (i.e., the loss level). Our contribution is therefore not the mere use of one-sided preconditioning or factorization, but explaining which side should be retained, when factorization is justified, and why their combination is effective.

First, SOAP's one-sided variant retains whichever side has the smaller matrix dimension. This heuristic reduces cost but can degrade performance, as shown in SOAP's Fig. 6, and it provides no structural criterion for choosing the side. In contrast, our theory in §4.1 shows that the input side should always be retained, irrespective of matrix size. To provide a practical example illustrating this distinction, consider the MLP down-projection, whose input dimension is 4d (i.e., four times the embedding dimension): the size-based rule retains the output side, whereas our rule retains the input side. Table 3 shows that output-only preconditioning incurs a +0.020-nat degradation relative to input-only preconditioning at the same optimizer-state cost of 1.78 GiB and a slower training wall-clock time, thereby empirically distinguishing our design from SOAP's one-sided variant.

Second, although SOAP also reports a factored variant for cost-reducing ablation studies, it did not propose it as a standalone method or explain why such factorization should preserve optimization quality. We believe that we provide this missing justification through both 1) the theoretical analysis in §4.2 and 2) the experimental evidence in Table 3 and Fig. 5. First, factorization is well motivated after the input-side eigenbasis rotation. Specifically, Lemma 1 shows that, under the K-FAC approximation, the rotated covariance takes the form Λ_R ⊗ L, making its per-entry second moments separable into row and column factors. Second, Table 3 shows that factorization reduces optimizer-state memory from 1.78 to 1.46 GiB for only +0.002 nats. Additionally, Fig. 5 provides empirical support by measuring the rank-1 separability of the second moments for FOAM and input-side SOAP. The separability score of the rotated second moments is close to 1, supporting the analysis in §4.2. Importantly, such separability does not generally hold without the rotation: in Adam's unrotated basis, the best factored approximation captures only 0.54-0.63 of the diagonal second-moment energy, and this fraction decreases during training. This explains why conventional Adafactor-style factorization can lose optimization quality.

Finally, FOAM combines these two theoretically motivated choices and demonstrates that they jointly provide a favorable performance-cost trade-off. Our additional analyses further support the effectiveness of the resulting design. We will revise the paper to clarify that the novelty lies in this structural and theoretical justification, rather than in claiming that one-sided or factored SOAP variants did not previously exist.

W3: 760M SOAP results

Thank you for catching the inconsistency. The value was in Table 2 (2.793±.007; 2.791±.005 in the re-audited results); the prose "2.808" was stale and will be corrected in the revision. The currently missing step/wall cells will be filled from an isolated, CUDA-synchronized benchmark we have already run; in wall-clock terms, SOAP's time to reach AdamW's final quality at 760M is 22.7 h versus 10.5 h for FOAM (a new measurement).

W4: inconsistent L/R notation

We will unify the whole paper to the §3 convention (L output side, R input side), since Lemma 1 and Algorithm 1 are written in it. The two places in §1/§2 will be flipped (including "dropping the output-side factor R", which becomes L), and Figures 2/4 and Table 1 will be fixed. This inconsistency was also the root cause of the Fig. 4 label swap.

W5: missing citation

Thank you for pointing this out. We will fill the missing citation in the revised paper.

Authors · CommentOpenReview ↗

A kind follow-up

Dear Reviewer FQYV

We sincerely appreciate your thoughtful review and constructive comments, which have helped us improve our work. As the discussion period is drawing to a close, we wanted to kindly follow up on our response.

We hope our answers have addressed your concerns, and we would be more than happy to run additional experiments or provide any further clarification within the remaining time.

Thank you once again for your time and valuable feedback.

Best regards,

The Authors

Reviewer FQYV · CommentOpenReview ↗

My concerns are resolved, therefore I increase my score.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for engaging with our response and for raising the score. Your careful reading identified issues that materially improved the paper, and all of the corrections described in our response will be incorporated into the revised manuscript. Thank you again for your time and constructive feedback.

Reviewer PA4dOpenReview ↗
Rating
4/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

A second-order optimizer called FOAM is proposed for LLM pre-training. It is an improved version of SOAP, in the sense that it requires less computations an memory than SOAP, while still outperforming AdamW in many experiments. Experiments across different model scales and different learning rates show that FOAM performs robust across different learning rates and model sizes.

Strengths and weaknesses

Optimizers that yield fast, robust and predictable convergence, while scaling well to increasing number of model parameters are an important corner stone of LLM pre-training. The chosen approach to reduce the memory requirement and computational cost of proven second-order optimizers, by adding meaningful structure to the moments is a well motivated.

The paper is well structured and provides a good summary of existing methods, highlighting where approximations are made and how the methods relate to each other in a concise way. In general, the proposed method "FOAM" is introduced in an understandable way. However, the authors went for a bottom-up approach, describing the successive simplification steps one after another. The paper would clearly benefit from a top-down structure, i.e. introducing FOAM with all approximations first and then explaining why they are a meaningful choice.

The experimental evaluation is somewhat limited in scope, both in terms of (1) model diversity, (2) the relatively small model sizes considered, and (3) the comparison against only five optimizers, including the closely related SOAP optimizer. As a result, the theoretical justification for the proposed assumptions and simplifications becomes particularly important. It is there, where the paper leaves some important questions open (see questions for detail).

The paper would also benefit from a final round of proofreading, as there are still a few minor typographical errors (e.g., the word "entirely" is repeated in line 133).

Questions

Notation

  1. [line 111]: There is confusion about the term "estimator". In the paper, "estimator" is used to describe describe second-order moments (or covariance-like matrices if the mean is zero). They are not estimators in the strict statistical sense and involve an expectation, which is usually unknown in practice. I guess the estimator is actually given in line 133?

Motivation 2. [lines 126-127] state that FOAM replaces SOAP's rotated second moment with a row-column factored estimator v^rot=τv^rowv^colT\hat{v}_{rot} = \tau \hat{v}_{row} \hat{v}_{col}^T. This is effectively a rank-1 approximation. I am really curious about this choice because a rank-1 assumption is typically much more restrictive compared to a diagonal assumption. It means that we have just one principal direction of variation. However, a diagonal n×nn \times n matrix can represent nn independent directions of variance.

Experiments These questions are mainly about table 5. 3. Why is there no comparison to Shampoo, the optimizer that was introduced to be very closely related to FOAM? 4. How does AdamW compare to FOAM if we train to the same wall clock time budget? 5. Why does FOAM outperform SOAP, while being a simplified version? Is it, because more update steps have been made in the reported wall clock time budget? If yes, column with the number of steps would help to interpret the results more easily. 6. Overall, the performance difference between FOAM and AdamW seems to be moderate even for these small LLMs up to 760M parameters. Increasing the parameter count will eventually cause AdamW to be the favourable choice, because per-step cost scales with O(mn)O(mn) for AdamW and with $O(mn^2) in case of FOAM. Up to which model size do you expect FOAM to outperform AdamW for a fixed compute budget?

Limitations

yes

Final justification

The discussion helped me to understand the true nature and motivation of the factorization used by FOAM.

Further, it led to a clearer formulation, which the authors committed to incorporate into the paper to improve clarity of presentation.

Further, important additional discussion of the experiments now make clearer how FOAM scales and where it shines in comparison to sota methods. This is important for practitioners and make the contribution stronger.

The remaining weakness of this work is that the improvements are somewhat minor compared to sota. Hence, I raise my score to weak accept.

Formatting concerns

none

8 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for an exceptionally careful and technically deep review.

Since submission we have expanded the seed study behind the main table, so a few validation losses below differ slightly from the submitted Table 2:

val loss (multi-seed) 124M 350M 760M
AdamW 3.370±.009 3.040±.012 2.847±.004
Muon 3.313±.008 2.998±.010 2.806±.005
AdaMuon 3.311±.009 2.992±.012 2.799±.004
SOAP 3.305±.009 2.983±.012 2.791±.005
FOAM 3.309±.008 2.991±.012 2.796±.005

W1: bottom-up structure

We agree and will restructure §3 top-down in the revision: Algorithm 1 and the implicit Fisher R ⊗ diag(r) first, then the two justifications.

W2: limited experimental scope

On model diversity, we are currently conducting additional experiments on ViTs with different loss functions, and we will report the results as soon as they are available. We appreciate the reviewer’s understanding, as these experiments remain ongoing due to the extensive hyperparameter tuning required for the competing methods.

On the number of optimizers, we added Shampoo (Q3) and the FOAM-without-factorization ablation at all scales (Q2).

W3: proofreading

Thank you; a full proofreading pass identified the 'entirely' duplication, a dangling clause in §3, a missing verb in §4, the epsilon notation, and the inconsistent L/R convention; all will be fixed in the revision.

Q1: "estimator"

The reviewer is correct, and we will reserve "estimator" for the EMA buffers in the revision. L_t = E[G_tG_tᵀ] is a population second-moment matrix; the actual estimator is the EMA at line 133. The revision will connect the two objects explicitly in §3.

Q2: rank-1 vs. diagonal

The rank-1 form is applied to the diagonal of the rotated covariance, not to the covariance itself, and Lemma 1 shows that under the K-FAC assumption this diagonal has exactly a row-times-column product structure; the rank-1 parameterization therefore sacrifices no expressiveness where it is used, which Table 3 and Fig. 5 confirm empirically.

As the reviewer notes, a diagonal can represent mn independent variances while a rank-1 outer product has only m+n parameters. The key is what the outer product parameterizes. After the eigenbasis rotation only the diagonal of the covariance remains, which is why SOAP runs Adam, a diagonal method, in that basis; FOAM keeps this diagonal assumption. Lemma 1 then shows that, under the same assumption, this diagonal itself factorizes: the variance of each entry is simply a term for its row times a term for its column. FOAM's factored estimator stores exactly those two sets of terms, so every coordinate keeps its own variance and no direction of variation is dropped.

Two pieces of evidence back this up. Fig. 5 measures the rank-1 separability of the rotated second moment directly: it stays close to 1 throughout training for FOAM and input-side SOAP, whereas in Adam's unrotated basis the best factored fit captures only 0.54-0.63 of the diagonal energy and decays during training, which is why the rotation is the prerequisite for safe factoring. Table 3 gives the end-to-end price: +0.002 nats for a state reduction from 1.78 to 1.46 GiB. Separating the two design axes (Table 3; 124M, 3 seeds per cell):

variant val loss state (GiB)
SOAP (two-sided, dense v) 3.295±.011 2.92
two-sided + factored v 3.293±.008 2.59
FOAM w/o factorization (input-only, dense v) 3.302±.008 1.78
output-only, dense v 3.322±.010 1.78
FOAM (input-only + factored) 3.304±.007 1.46

Q3: comparison to Shampoo

We ran Shampoo at 124M under the identical three-group protocol and seeds: it reaches 3.379 ± 0.006, i.e. 0.07 nats behind FOAM (3.309) and 0.074 behind SOAP (3.305). The LR/WD grid was extended to the much higher learning rates Shampoo requires, with the optimum on a plateau near LR 1e-2. The gap is an order of magnitude larger than the differences among SOAP, FOAM and the Muon family (0.005-0.009 nats), which is precisely the gap SOAP's Adam-in-eigenbasis correction closes and why we position FOAM against SOAP rather than Shampoo. The result will be added to the revised comparison table.

Q4: equal wall-clock budget

We measured this directly at 760M: the wall-clock time to reach AdamW's final loss (2.847) is 10.53 h for FOAM versus 10.55 h for AdamW itself, so FOAM matches AdamW's own time to AdamW's final quality and then continues to a lower loss (2.796 vs. 2.847) in its full budget. On the same metric AdaMuon takes 10.9 h, Muon 11.1 h, and SOAP 22.7 h. The revised Table 2 will report loss under both iso-token and iso-wall budgets with a #steps column, and the revised Fig. 1(b) will make the wall-clock comparison explicit.

Q5: why did FOAM appear to outperform SOAP?

With a finite number of seeds, the precise ordering between two closely matched methods may not be reliably resolved, while the broader conclusion that their performance is comparable remains unchanged. We ran additional multi-experiments; our expanded 11-seed study shows SOAP marginally ahead at every scale, which we interpret as FOAM closely matching SOAP rather than outperforming it. The gaps are 0.004 / 0.008 / 0.005 at 124M/350M/760M, the last within one seed std; the §4.2 prose cited earlier numbers and will be updated to the multi-seed results. Nor is it a step-count artifact: the comparison is at matched steps, and the revised table will add the requested #steps column. What the numbers do support: the gap shrinks with scale, and FOAM is second-best at 760M at half of SOAP's optimizer state and less than half of its wall clock (time to AdamW's final quality: 10.5 h vs. 22.7 h).

Q6: up to which model size does FOAM beat AdamW for a fixed compute budget?

FOAM's per-step compute cost grows faster with model size than AdamW's (i.e., O(mn2)O(mn^2) vs. O(mn)O(mn)), so a crossover may eventually occur. However, we observe no such crossover at 760M parameters: FOAM matches AdamW's wall-clock time to final quality (10.53 vs. 10.55 h) while achieving a lower final loss (2.796 vs. 2.847), and its advantage is stable across our three scales. We also do not expect this overhead to grow with scale as the exponent suggests. FOAM's optimizer work is done once per step and does not depend on batch size, whereas forward and backward grow with tokens per step, so the overhead grows with width but shrinks with batch size. Since larger models are in practice trained with proportionally larger batches, the ratio need not worsen: a 70B-class dense model trained at a few million tokens per step has a width-to-batch ratio no larger than in our runs. Furthermore, [1] reports that SOAP/Muon-class optimizers continue to outperform AdamW on multi-billion-parameter models trained on trillions of tokens, even at batch sizes of up to 100M tokens. This evidence suggests that our findings may also extend to larger models trained on more tokens.

[1] Khona, Mikail, et al. "SOAP, Muon, and Beyond: Pushing LLM Pretraining Scales." arXiv preprint arXiv:2607.20548 (2026).

Authors · CommentOpenReview ↗

W2: limited experimental scope

Following the reviewer's suggestion, we ran a new optimizer comparison on a different modality, task, and loss: ViT-Tiny on Tiny-ImageNet.

  • Recipe. Adopted unchanged from the plain ViT-Tiny configuration of [2]: 300 epochs, cosine schedule with 20-epoch warmup, RandAugment, Mixup/CutMix, label smoothing, random erasing, stochastic depth. We use the plain ViT-Tiny without the paper's depth-wise convolution module, since our goal is the optimizer comparison.
  • Protocol. Mirrors our LM setup: parameters are split into a matrix group (attention and MLP weight matrices) and a tail group (patch embedding, positional/cls tokens, head, norms, biases). The tail group runs AdamW with hyperparameters identical in every arm; only the matrix group's optimizer is swapped among the five.
  • Exhaustive search for fairness. Each optimizer's matrix LR and WD are tuned independently on a geometric grid, spaced 101/410^{1/4} in LR and 101/210^{1/2} in WD, extended until the best cell is interior on both axes. This bracketing holds for all five optimizers, so no method is evaluated at a grid edge.
  • Everything else (data, augmentation, schedule, seed) is identical across arms.
optimizer searched matrix LR / WD top-1 @300ep
AdamW 1.0e-3 / 0.158 58.6
AdaMuon 1.0e-3 / 0.158 65.1
Muon 1.0e-2 / 0.0158 65.1
FOAM 1.8e-3 / 0.158 65.4
SOAP 5.6e-3 / 0.05 67.1

The GPT-2 ordering transfers: the matrix-preconditioned optimizers beat AdamW by 6.4 to 8.5 points, SOAP leads, and FOAM is second, tied with Muon and AdaMuon within noise. The per-optimizer optima differ by 10x in both LR and WD across methods, which is why we tune each optimizer separately rather than sharing hyperparameters. We also state the limit honestly: ViT is still a transformer, and conv/SSM families remain future work.

[2] Zhang, Tianxiao, et al. "Depth-wise convolutions in vision transformers for efficient training on small datasets." Neurocomputing 617 (2025): 128998.

Reviewer PA4d · CommentOpenReview ↗

Comment by reviewer

Dear Authors,

thank you for answering my questions and for providing additional experimental results and clarifications. It helped me to understand your work better, but it also highlighted that one of the main weaknesses of the current manuscript is the lack of clarity in its presentation. Concerning your responses:

Q2: rank-1 vs. diagonal

Following your explanations I think I now understand the nature of the factorization correctly. Let me summarize in a simplified way. The aim is to optimize f(X,W)f(\mathcal{X}, W) using a second-order optimizer with respect to the matrix W∈Rm×nW \in \mathbb R^{m \times n}, where ff could be a DNN that consumes data X\mathcal{X}. Therefore, you rely on the covariance of the gradient, i.e. E[ggT]\mathbf{E}[g g^T], where g∈Rmng \in \mathbb{R}^{mn} is the gradient vector obtained by flattening the parameter matrix. After one-sided pre-conditioning you end up with a diagonalized version Rd=diag(c1,c2,...,cmn)R_d = \mathrm{diag}(c_1, c_2, ..., c_{mn}). What you observed and proved in Lemma 1 is, that when reshaping c1,c2,...,cmnc_1,c_2, ..., c_{mn} to the underlying matrix structure, this matrix has rank-1.

After carefully reading the important sections again, I came to the conclusion that the current version of the manuscript does not reliably convey this message, mainly because information is distributed across sections, following quite different notations.

Q3: comparison to Shampoo Thank you for these results, the improvements are minor, but consistent.

Q4: Wallclock budget

Thank you for these additional results. I have to say, these numbers intrigue me a lot. Do I understand correctly, that for a training of 10h55min, FOAM beats ADAM by 2min, what corresponds to 0.31% of time saving? The improvement upon ADAM then happens within these remaining 2 minutes of training. How many additional updates are performed in this time span? Because this result is so close, I would be interested to know the time differences for the smaller networks as well.

Q5

I understand.

##Q6: up to which model size does FOAM beat AdamW for a fixed compute budget? I understand your rationale. However, could you provide an example with some typical numbers of large scale trainings to show that the overhead actually keeps constant compared to the forward backward computation time?

Following up on your previous results provided in Q4, I am also a bit hesitant about your claim that crossover will not occur soon for larger models, since the gap to Adam is 2 minutes only for 760M parameter models.

Reviewer 7v5qOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose a new optimizer FOAM to replace popular Adam/AdamW optimizers for transformer training. Their research objective is to match the convergence rate of second order optimizers like Shampoo/SOAP while still preserving memory and compute efficiency compared to Adam/Muon.

Strengths and weaknesses

Strengths

  • The paper is well structured, well written, and easy to follow.
  • The authors try to provide theoretical justifications for the proposed simplifications of the SOAP algorithm.
  • The authors provide empirical results that demonstrate the benefit of FOAM by training GPT-2 at three different scales and across hyperparameter to validate the robustness of the proposed algorithm.

Weaknesses

  • The empirical scope is somewhat narrow, as it is limited to GPT-2 style language model pretraining.
  • The comparison to SOAP could be clearer. Figure 1 includes SOAP in the per-iteration timing plot but not in the validation-loss curves.
  • The theoretical analysis relies on assumptions that may not always hold in practice. The authors provide some empirical diagnostics, but it is not clear when these assumptions break and how sensitive FOAM is to these violations.
Questions
  • Why is SOAP not included in Figure 1 a and b? That would help paint a better picture of the convergence rate of FOAM compared to SOAP.
  • The theoretical equivalence between the factored update and SOAP depends on the K-FAC Fisher assumption. How often is this assumption empirically satisfied across layers and model scales? Are there specific layer types or training regimes where the approximation becomes poor?
  • The paper argues that input-side preconditioning is the right one-sided choice because output-side curvature is close to diagonal. Could the authors provide per-layer or per-module evidence for this claim?
Limitations

The authors discuss some limitations, but I would appreciate a clearer practitioner-oriented discussion of when FOAM should or should not be used. In particular, it would be helpful to identify the regimes where FOAM is expected to provide the strongest benefit over AdamW, Muon, and SOAP, and the regimes where its assumptions or implementation costs may make it less attractive.

Final justification

The rebuttal addressed my concerns, and I would like to keep my score.

Formatting concerns

No paper formatting concerns noticed.

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the encouraging assessment and for three questions that each led to a concrete improvement.

After submission we have expanded the study with more seeds behind the main table, so a few validation losses below differ slightly from the submitted Table 2. The revision will use these numbers throughout.

val loss (multi-seed) 124M 350M 760M
AdamW 3.370±.009 3.040±.012 2.847±.004
Muon 3.313±.008 2.998±.010 2.806±.005
AdaMuon 3.311±.009 2.992±.012 2.799±.004
SOAP 3.305±.009 2.983±.012 2.791±.005
FOAM 3.309±.008 2.991±.012 2.796±.005

W1: empirical scope

We are currently conducting additional experiments on ViTs with different loss functions, and we will report the results as soon as they are available. We appreciate the reviewer’s understanding, as these experiments remain ongoing due to the extensive hyperparameter tuning required for the competing methods.

Q1 / W2: why is SOAP not in Figure 1(a,b)?

Thank you for this suggestion. SOAP was not intentionally omitted, and we agree the comparison should be direct: we will add SOAP (and FOAM w/o factorization) to both panels of the revised Fig. 1.

  • Panel (a), loss vs. step: from the expanded seed study, at matched steps SOAP ends slightly below FOAM (2.791±.005 vs. 2.796±.005, within about 1σ); the caption will be updated accordingly.
  • Panel (b), loss vs. wall-time: an isolated, CUDA-synchronized benchmark at 760M gives full iterations of 1449 (AdamW) / 1668 (Muon) / 1684 (AdaMuon) / 1692 (FOAM) / 3343 ms (SOAP). The updated panel will show the comparison the paper rests on: FOAM reaches SOAP's quality band at 51% of SOAP's wall clock, at Muon-class speed.

Q2 / W3: how often does the K-FAC assumption hold, and where does it break?

Across layers and both scales the assumption is violated by 15-16% relative error on average, and this is nearly inconsequential for FOAM: at most 1-2% of update-curvature alignment and 0.001-0.002 nats in final loss. The weakest layer type is the attention key projection; no training regime makes the approximation meaningfully worse.

We quantify the assumption and its consequence with two measurements taken per layer on checkpoints: the 18 instrumented matrices are the full cross of three depths (early/mid/late block) and the six module types, at six training stages, at 124M and 350M. The table reports per-module values (means over depth); the per-layer values will be reported in full.

  1. Fidelity of the assumption. ε(W) = ‖Λ − r cᵀ‖_F / ‖Λ‖_F, the relative Frobenius error of the best rank-1 factorization of the rotated second moment Λ. K-FAC implies ε = 0 exactly.
  2. Sensitivity of FOAM to its violation. Δ(W) = cos(P_dense V, H_GN V) − cos(P_fac V, H_GN V) over random probes V, where H_GN is the layer's true Gauss-Newton matrix (labels sampled from the model) and P_dense, P_fac are FOAM's preconditioner with the dense and with the factored second moment. Δ isolates what the violation costs the update.
124M 350M
ε: attention wq / wk / wv / wo 0.11 / 0.64 / 0.02 / 0.02 0.16 / 0.52 / 0.02 / 0.02
ε: MLP up / MLP down 0.08 / 0.10 0.06 / 0.10
ε: mean over 18 matrices 0.162 0.147
Δ: mean over 18 matrices +0.005 +0.004
Δ: worst layer type (wk) ≤0.02 ≤0.02

Against the reviewer's three questions: (i) how often satisfied: ε is small and scale-stable, and the row/column marginals nearly saturate what any rank-1 fit could achieve (SVD ceiling 0.975); (ii) which layer types are poor: only wk stands out (its gradients pass through RoPE and softmax), with wv/wo essentially exact; (iii) how sensitive is FOAM: Δ is +0.004 to +0.005 on average and ≤0.02 even for wk, and end-to-end the two variants differ by 0.001-0.002 nats, so large ε does not translate into a different update. Across training regimes ε drifts from 0.147 to 0.179 while Δ stays within [−0.002, +0.005]; no regime makes the factored update meaningfully worse.

Accordingly, we will narrow the text claim in the revision, from "proven pointwise equivalent" to "equivalent under the stated assumptions, which we verify hold to a 15-20% relative error".

Q3: per-layer evidence for the input-side choice

We ablate each rotation against the exact Gauss-Newton curvature, per layer. Input-only preconditioning beats output-only in every module at both scales, by 1.5x to 11.5x: removing the output-side rotation from the two-sided preconditioner costs 0.160 of curvature alignment, whereas removing the input-side rotation costs 0.375.

The score is the alignment measure of Q2, cos(P V, H_GN V) over random probes V, i.e. how closely a preconditioner P acts like the exact Gauss-Newton curvature H_GN. Per module at 124M (mean over early/mid/late depth; the 350M values give the same ordering, with ratios of 1.9x to 11.5x):

module output rotation only input rotation only both input / output
attention wq 0.176 0.322 0.499 1.8x
attention wk 0.118 0.178 0.314 1.5x
attention wv 0.209 0.453 0.614 2.2x
attention wo 0.045 0.493 0.629 10.9x
MLP up (c_fc) 0.152 0.332 0.522 2.2x
MLP down (c_proj) 0.091 0.300 0.466 3.3x
mean over 18 matrices 0.132 0.347 0.507 2.6x

Diagonal Adam scores 0.090, so output-only preconditioning is barely above it, while input-only preserves about two thirds of the two-sided alignment. The mechanism is the intrinsic conditioning of the factors: after normalizing each by its own diagonal, the output side has condition number 5.0 against 67.9 on the input side (7.4 against 213 on the EMA factors SOAP maintains), so on the output side the coordinate axes already suffice.

Limitations: a practitioner's guide

Following the suggestion, we give the guide here and will add it to §5.

When to use FOAM. Use FOAM when SOAP-class quality is needed but SOAP's memory or wall-clock cost is binding: FOAM stays within 0.004-0.008 nats of SOAP at half its optimizer state and about half its wall time at 760M, with the gap shrinking with scale. Versus Muon/AdaMuon, quality slightly favors FOAM at 124M/350M/760M (3.309/2.991/2.796 vs. AdaMuon 3.311/2.992/2.799), speed is near parity, and FOAM offers a direct upgrade path to full SOAP; prefer Muon/AdaMuon when optimizer state is the hardest constraint. Versus AdamW, FOAM (like other matrix-preconditioned methods) is most valuable at large effective batch, a regime corroborated at multi-billion scale by [1] and which we also measured ourselves in a new batch-scaling study (124M, fixed 2.375B-token budget, each optimizer at its tuned LR):

val loss at tokens/step 0.5M 1M 2M
AdamW 3.370 3.465 3.956
Muon 3.313 3.323 3.384
FOAM 3.309 3.315 3.364

AdamW degrades sharply with batch (and beyond 1M never recovers its own 0.5M quality) while FOAM holds, so the wall-time reduction that batch scaling buys is usable with FOAM and not with AdamW. FOAM is less attractive when the workload leans on layers where its assumptions weaken (attention keys; a few last-layer cells) or when memory is dominated by large-input-dimension modules (the MLP down-projection carries most of its residual cost over AdamW)

  • On distributed training: our R/Q_R sharding is not yet implemented, and we will state this; the layer-wise distributed optimizer of [1] indicates this is an engineering rather than a fundamental obstacle for this family.

[1] Khona, Mikail, et al. "SOAP, Muon, and Beyond: Pushing LLM Pretraining Scales." arXiv preprint arXiv:2607.20548 (2026).

Authors · CommentOpenReview ↗

W1: empirical scope

Following the reviewer's suggestion, we ran a new optimizer comparison on a different modality, task, and loss: ViT-Tiny on Tiny-ImageNet.

  • Recipe. Adopted unchanged from the plain ViT-Tiny configuration of [2]: 300 epochs, cosine schedule with 20-epoch warmup, RandAugment, Mixup/CutMix, label smoothing, random erasing, stochastic depth. We use the plain ViT-Tiny without the paper's depth-wise convolution module, since our goal is the optimizer comparison.
  • Protocol. Mirrors our LM setup: parameters are split into a matrix group (attention and MLP weight matrices) and a tail group (patch embedding, positional/cls tokens, head, norms, biases). The tail group runs AdamW with hyperparameters identical in every arm; only the matrix group's optimizer is swapped among the five.
  • Exhaustive search for fairness. Each optimizer's matrix LR and WD are tuned independently on a geometric grid, spaced 101/410^{1/4} in LR and 101/210^{1/2} in WD, extended until the best cell is interior on both axes. This bracketing holds for all five optimizers, so no method is evaluated at a grid edge.
  • Everything else (data, augmentation, schedule, seed) is identical across arms.
optimizer searched matrix LR / WD top-1 @300ep
AdamW 1.0e-3 / 0.158 58.6
AdaMuon 1.0e-3 / 0.158 65.1
Muon 1.0e-2 / 0.0158 65.1
FOAM 1.8e-3 / 0.158 65.4
SOAP 5.6e-3 / 0.05 67.1

The GPT-2 ordering transfers: the matrix-preconditioned optimizers beat AdamW by 6.4 to 8.5 points, SOAP leads, and FOAM is second, tied with Muon and AdaMuon within noise. The per-optimizer optima differ by 10x in both LR and WD across methods, which is why we tune each optimizer separately rather than sharing hyperparameters. We also state the limit honestly: ViT is still a transformer, and conv/SSM families remain future work.

[2] Zhang, Tianxiao, et al. "Depth-wise convolutions in vision transformers for efficient training on small datasets." Neurocomputing 617 (2025): 128998.

Authors · CommentOpenReview ↗

A kind follow-up

Dear Reviewer 7v5q

We sincerely appreciate your thoughtful review and constructive comments, which have helped us improve our work. As the discussion period is drawing to a close, we wanted to kindly follow up on our response.

We hope our answers have addressed your concerns, and we would be more than happy to run additional experiments or provide any further clarification within the remaining time.

Thank you once again for your time and valuable feedback.

Best regards,

The Authors

Reviewer oMj7OpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors introduce a new optimizer denoted by FOAM as a new variant for SOAP. FOAM simplifies SOAP’s two-sided preconditioning by retaining only the input-side/right Kronecker factor and a diagonal output-side scaling. Empirically, FOAM reduces SOAP’s optimizer-state and computational overhead while achieving validation losses comparable to SOAP and better than AdamW in the reported LLM pre-training experiments.

Strengths and weaknesses

Strengths:

  1. Optimizer research is extremely valuable, and improvements can have substantial practical impact because they may apply broadly across model-training workloads.

  2. The specific input-only formulation of SOAP, the diagonal approximation, the structural justification, and integration within preptraining pipelines is an interesting and useful investigation.

  3. The paper is very well written overall, and the flow of ideas is clear.

Weaknesses:

  1. The central ingredients are not entirely novel. The original SOAP paper already considered one-sided SOAP and also evaluated a combined one-sided, factorized variant using Adafactor. The authors have acknowledged this in the footnotes, but making distinctions in the main paper makes the positioning much clearer. FOAM’s main novelty therefore appears to lie in consistently retaining the input-side factor, providing a structural justification for this choice, and introducing the diagonal output approximation.

  2. Despite the academic compute constraints, most of the value of a newly introduced optimizer must ultimately be established empirically. The current experiments vary model scale but remain within a single GPT-2-style architecture family and a single causal-language-modeling task. If further scaling in parameter count is infeasible, evaluations across different architecture families or pretraining task settings/loss functions would be highly valuable. In particular, the simplified diagonal output-side approximation might outperform full SOAP when the two-sided curvature estimate is noisy or poorly matched. Findings along those lines would largely strengthen the justification for this approach.

  3. The most direct comparator is input-only SOAP without the factored second-moment approximation. That is L is replaced with identity. Although this baseline is included in Table 3 at 124M, it should also be included in Table 2 at the medium and large scales, since it directly isolates the additional value of FOAM’s factored moment estimator. AdaMuon seems to be statistically indistinguishable from FOAM at 124M and uses substantially less optimizer-state memory, although FOAM is faster in the reported implementation.

  4. The use of AdamW-level memory is a bit ambiguous, the proposed method still uses >2x optimizer state than AdamW, or are they referring to another efficiency metric?

Questions
  1. Could the authors clarify the novelty of FOAM relative to the one-sided variants already considered in the original SOAP paper? In particular, could the distinctions be discussed more explicitly in the main text rather than primarily in a footnote?

  2. Could the authors provide additional empirical evidence across different architecture families or training tasks/loss functions?

  3. Could the authors include input-only SOAP with L replaced by the identity as a baseline at the medium and large model scales in Table 2? This would more directly isolate the contribution of FOAM’s output diagonal approximation. Additionally, could the authors discuss the trade-off with AdaMuon, which seems to perform similarly with FOAM at 124M with less optimizer-state memory but a slower implementation?

  4. Could the authors clarify what is meant by AdamW-level memory in this context?

  5. Minor typo: In figure 4, SOAP-in should be R \kron I, and vice versa for SOAP-out, no?

Limitations

yes

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for a constructive review with concrete, testable suggestions.

Since submission we have expanded the seed study behind the main table, so a few validation losses below differ slightly from the submitted Table 2. The revision will use these numbers throughout.

val loss (multi-seed) 124M 350M 760M
AdamW 3.370±.009 3.040±.012 2.847±.004
Muon 3.313±.008 2.998±.010 2.806±.005
AdaMuon 3.311±.009 2.992±.012 2.799±.004
SOAP 3.305±.009 2.983±.012 2.791±.005
FOAM 3.309±.008 2.991±.012 2.796±.005

Q1 / W1: novelty relative to SOAP's one-sided and factored variants

We agree that one-sided (but not specifically input-side-only) and factored variants already appear in SOAP, as noted in the footnote. However, these variants were introduced primarily as cost-reducing ablations, without establishing the structural principles needed to use them without sacrificing optimization quality (i.e., the loss level). Our contribution is therefore not the mere use of one-sided preconditioning or factorization, but explaining which side should be retained, when factorization is justified, and why their combination is effective.

First, SOAP's one-sided variant retains whichever side has the smaller matrix dimension. This heuristic reduces cost but can degrade performance, as shown in SOAP's Fig. 6, and it provides no structural criterion for choosing the side. In contrast, our theory in §4.1 shows that the input side should always be retained, irrespective of matrix size. To provide a practical example illustrating this distinction, consider the MLP down-projection, whose input dimension is 4d (i.e., four times the embedding dimension): the size-based rule retains the output side, whereas our rule retains the input side. Table 3 shows that output-only preconditioning incurs a +0.020-nat degradation relative to input-only preconditioning, despite having the same optimizer-state cost of 1.78 GiB and a slower training wall-clock time, thereby empirically distinguishing our design from SOAP's one-sided variant.

Second, although SOAP also reports a factored variant for cost-reducing ablation studies, it did not propose it as a standalone method or explain why such factorization should preserve optimization quality. We believe that we provide this missing justification through both 1) the theoretical analysis in §4.2 and 2) the experimental evidence in Table 3 and Fig. 5. First, factorization is well motivated after the input-side eigenbasis rotation. Specifically, Lemma 1 shows that, under the K-FAC approximation, the rotated covariance takes the form Λ_R ⊗ L, making its per-entry second moments separable into row and column factors. Second, Table 3 shows that factorization reduces optimizer-state memory from 1.78 to 1.46 GiB while increasing the final validation loss by only +0.002 nats. Additionally, Fig. 5 provides empirical support by measuring the rank-1 separability of the second moments for FOAM and input-side SOAP. The separability score of the rotated second moments is close to 1, supporting the analysis in §4.2. Importantly, such separability does not generally hold without the rotation: in Adam's unrotated basis, the best factored approximation captures only 0.54-0.63 of the diagonal second-moment energy, and this fraction decreases during training. This explains why conventional Adafactor-style factorization can lose optimization quality.

Finally, FOAM combines these two theoretically motivated choices and demonstrates that they jointly provide a favorable performance-cost trade-off. Our additional analyses further support the effectiveness of the resulting design. We will revise the paper to clarify that the novelty lies in this structural and theoretical justification, rather than in claiming that one-sided or factored SOAP variants did not previously exist.

Q2 / W2: other architectures and tasks

We are currently conducting additional experiments on ViTs having different loss functions on different tasks, and we will report the results as soon as they are available. We appreciate the reviewer's understanding, as these experiments remain ongoing due to the extensive hyperparameter tuning required for the competing methods.

Q3 / W3: input-only SOAP (L=I) at medium/large; AdaMuon trade-off

Thank you for the suggestion. We follow the reviewer's recommendation and ran this baseline at both medium and large scales. Note that input-only SOAP (L = I) is exactly FOAM without the factorization: it keeps the dense rotated second moment and differs from FOAM in nothing else, so the comparison is an ablation of FOAM's own design rather than a comparison with a separate method:

124M 350M 760M
input-only SOAP (L=I): val loss 3.302±.008 2.990±.007 2.787 (n=1)
input-only SOAP (L=I): state (GiB) 1.78 6.19 14.50
FOAM: val loss 3.304±.007 2.991±.012 2.796±.005
FOAM: state (GiB) 1.46 5.06 11.87

At small/medium the factorization costs at most 0.001-0.002 nats while cutting the second-moment buffer.

On AdaMuon, briefly: quality is within noise at every scale, with FOAM slightly ahead at all scales (124M: 3.309 vs. 3.311; 350M: 2.991 vs. 2.992; 760M: 2.796 vs. 2.799); speed is on par in wall-clock terms (in a new measurement at 760M, the time to reach AdamW's final quality is 10.5 h for FOAM vs. 10.9 h for AdaMuon); AdaMuon uses less optimizer state. The revised §4 will present the two as different Pareto points rather than claiming dominance.

Q4 / W4: "AdamW-level memory"

We agree that this phrase may be misleading. Table 2 reports the matrix-parameter optimizer state, on which FOAM is 2.25x AdamW (0.63 / 1.46 / 2.85 GiB for AdamW / FOAM / SOAP at 124M). The quantity we intended is the effect on total memory in the configuration we train with: at 0.5M tokens/step on 8 GPUs with DDP and no gradient accumulation, per-GPU memory is 21.8 GiB for AdamW, 22.6 for FOAM (+3.6%) and 24.1 for SOAP (+10.1%), and FOAM additionally removes one of the two eigendecompositions. The revision will state this rather than "AdamW-level". These totals are analytic and dominated by activations at this batch size, so we will report measured peak memory alongside them.

Q5: Fig. 4 labels

Thank you for catching this. The labels are indeed swapped and will be fixed in the revision, together with the inconsistent L/R convention between §1 and §3 that caused it.

We hope these results and planned revisions address the concerns raised, and we would be glad to provide any further comparison during the discussion period.

Authors · CommentOpenReview ↗

Q2 / W2: other architectures and tasks

Following the reviewer's suggestion, we ran a new optimizer comparison on a different modality, task, and loss: ViT-Tiny on Tiny-ImageNet.

  • Recipe. Adopted unchanged from the plain ViT-Tiny configuration of [1]: 300 epochs, cosine schedule with 20-epoch warmup, RandAugment, Mixup/CutMix, label smoothing, random erasing, stochastic depth. We use the plain ViT-Tiny without the paper's depth-wise convolution module, since our goal is the optimizer comparison.
  • Protocol. Mirrors our LM setup: parameters are split into a matrix group (attention and MLP weight matrices) and a tail group (patch embedding, positional/cls tokens, head, norms, biases). The tail group runs AdamW with hyperparameters identical in every arm; only the matrix group's optimizer is swapped among the five.
  • Exhaustive search for fairness. Each optimizer's matrix LR and WD are tuned independently on a geometric grid, spaced 101/410^{1/4} in LR and 101/210^{1/2} in WD, extended until the best cell is interior on both axes. This bracketing holds for all five optimizers, so no method is evaluated at a grid edge.
  • Everything else (data, augmentation, schedule, seed) is identical across arms.
optimizer searched matrix LR / WD top-1 @300ep
AdamW 1.0e-3 / 0.158 58.6
AdaMuon 1.0e-3 / 0.158 65.1
Muon 1.0e-2 / 0.0158 65.1
FOAM 1.8e-3 / 0.158 65.4
SOAP 5.6e-3 / 0.05 67.1

The GPT-2 ordering transfers: the matrix-preconditioned optimizers beat AdamW by 6.4 to 8.5 points, SOAP leads, and FOAM is second, tied with Muon and AdaMuon within noise. The per-optimizer optima differ by 10x in both LR and WD across methods, which is why we tune each optimizer separately rather than sharing hyperparameters. We also state the limit honestly: ViT is still a transformer, and conv/SSM families remain future work.

[1] Zhang, Tianxiao, et al. "Depth-wise convolutions in vision transformers for efficient training on small datasets." Neurocomputing 617 (2025): 128998.

Authors · CommentOpenReview ↗

A kind follow-up

Dear Reviewer oMj7

We sincerely appreciate your thoughtful review and constructive comments, which have helped us improve our work. As the discussion period is drawing to a close, we wanted to kindly follow up on our response.

We hope our answers have addressed your concerns, and we would be more than happy to run additional experiments or provide any further clarification within the remaining time.

Thank you once again for your time and valuable feedback.

Best regards,

The Authors

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…