Pith. sign in

REVIEW 3 major objections 7 minor

Embedding and LM-head gradients need only O(V+D) optimizer state: Ember matches Adam while shrinking memory by orders of magnitude and revealing that token trajectories are mostly a straight ray.

Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →

T0 review

2026-07-12 08:47 UTC pith:SUOGEZM2

load-bearing objection Practical memory win for embeddings/LM-heads with a coherent Fisher story; Adafactor-adjacent but token-specific and well-supported at the scales they actually ran. the 3 major comments →

arxiv 2607.01455 v3 pith:SUOGEZM2 submitted 2026-07-01 cs.LG cs.AI

Token Geometry

classification cs.LG cs.AI
keywords Ember optimizertoken embeddingsLM-headFisher metricrank-1 second momentoptimizer memoryTransformer trainingsquare-root Fisher
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

Language models interface discrete tokens with continuous weights through the embedding table and LM-head. This paper argues those two matrices have a different gradient geometry from dense linear layers: their per-parameter second moments are essentially rank-1, so a cheap outer product of row and column energy buffers recovers the same square-root Fisher preconditioning that Adam uses. The resulting optimizer, Ember, drops Adam's first-moment buffer entirely, keeps only O(V+D) state instead of O(2VD), and matches or slightly beats AdamW across supervised fine-tuning, GRPO-style RL, and pretraining while remaining stable at low batch sizes. As a side observation, the path each token embedding takes during training collapses almost entirely onto a single linear ray (roughly 90 percent of trajectory variance), suggesting these parameters do not wander through a highly nonconvex landscape. The practical payoff is that token-table optimizer state no longer needs to be sharded and can fit in kilobytes even for multi-billion-parameter models.

Core claim

The second-moment geometry of embedding and LM-head gradients is well approximated by a rank-1 outer product of token-wise (row) and feature-wise (column) energies; conditioning the instantaneous gradient by the square root of that factored matrix recovers Adam-quality updates with O(V+D) state and no first-moment buffer, while the resulting token trajectories are largely one-dimensional rays.

What carries the argument

Ember's factored square-root Fisher preconditioner: bias-corrected EMA row and column second-moment vectors whose geometric-mean-normalized outer product supplies a per-entry denominator, so each update is a unitless z-score of the raw gradient.

Load-bearing premise

The dense per-parameter squared-gradient matrix of an embedding or LM-head is accurately recovered by a simple outer product of one vector per token and one vector per feature; residual cross-correlations are small enough not to matter.

What would settle it

On a held-out large-vocabulary model, measure the pointwise correlation between Ember's factored second-moment estimate and the true dense E[g_ij^{2}]; if the correlation collapses or validation loss systematically exceeds AdamW by more than seed noise, the rank-1 claim fails.

Watch this falsifier. Get emailed when new claim-graph text bears on it.

Share X Bluesky LinkedIn Reddit HN

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit.

Referee Report

3 major / 7 minor

Summary. The paper argues that embedding and LM-head matrices have gradient geometry distinct from dense linear layers, and exploits this with Ember: a square-root-Fisher-style optimizer that drops Adam’s first-moment buffer and replaces the dense second-moment matrix with a bias-corrected rank-1 outer product of O(V) row and O(D) column second-moment estimates (Alg. 1), using O(V+D) state instead of O(2VD). Empirically, Ember matches or slightly improves AdamW on token tables across GPT-2/Pythia SFT (Table 1), FineWeb pretraining (Figs. 1–2), GRPO RL on Qwen2.5-3B (Fig. 6), batch-size sweeps (Fig. 8), and LlamaGen image-AR (Fig. 9), while cutting token-interface optimizer state by orders of magnitude. The authors further report that token trajectories under Ember admit a near-1D ray structure (PC1 ≈ 90% variance; Figs. 5, 7) and frame competitive Transformer optimizers as square-root Fisher preconditioners in different bases.

Significance. The practical contribution is clear and timely: token-table Adam state is a genuine VRAM and sharding burden (e.g., multi-GB at multi-billion scale; Fig. 4), and a drop-in O(V+D) alternative that preserves quality would simplify single-GPU iteration and ZeRO/FSDP setups. The open-sourced distributed implementation is a concrete strength. Empirically, parity-or-better results across SFT, RL, pretraining, and vision-AR, plus stability at very low batch sizes, would improve the memory–quality Pareto frontier for a parameter class that has seen little optimizer progress. The Fisher-based unification and the trajectory SVD analysis are interesting if they survive stronger controls; even as supporting narrative they help explain why factored second moments and no first-moment state can suffice for embeddings.

major comments (3)
  1. App. 6.7–6.8 and Fig. 12 are load-bearing for the claim that Ember recovers Adam-quality square-root Fisher geometry via E[g_ij²]≈R_i C_j. The only quantitative residual analysis is a single 500-step gpt2-small FineWeb collection (pointwise corr. 0.974, OLS slope 0.93). The derivation itself notes the factorization is exact only to first order under uncorrelated energies. Please report the same dense-vs-factored comparison at least at (i) larger model scale, (ii) longer training, and (iii) the low-batch / sparse-gradient regime where Ember’s advantage is advertised (Fig. 1B, Fig. 2), so that residual Cov(δ_i²,x_j²) growth can be ruled out as a confounder of the “matches AdamW” result.
  2. §3.2 and Figs. 5, 7 claim that token optimization trajectories are “well described by a simple 1D ray… counter to the popular belief that neural net parameters navigate a heavily nonconvex landscape.” The SVD analysis is performed under the Ember update rule only. Without the same PC energy spectrum for AdamW (and ideally SGD) on identical runs, it is unclear whether the 1D structure is a property of token-table geometry or an artifact of Ember’s isotropic 1/p-style preconditioning. A side-by-side AdamW trajectory decomposition is needed for the landscape claim as stated in the abstract and §3.2.
  3. The main quality claims rest on short horizons: SFT for 250 steps (Table 1, §6.3), batch-size sweeps for 300 steps with Val@200 (Fig. 8, §6.3), and limited detail on FineWeb pretraining length. Table 1 also shows a clear Ember regression on pythia-160m (+0.035). To support “matches or improves AdamW” as a general replacement rather than a short-run phenomenon, please include longer SFT/pretraining curves (or intermediate checkpoints with error bars) at least for one GPT-2 and one Pythia scale, and discuss the 160M outlier.
minor comments (7)
  1. Alg. 1 line 13 says “Ascend the reward R_t”; for supervised CE this is descent of loss. Clarify the sign convention or split SFT vs RL notation.
  2. Fig. 2 and the row-only ablation are important: at bs=8, Ember row-only is noticeably worse than full Ember/Adam (7.665 vs 7.219). The paper focuses analysis on row-only; state more clearly when the column factor is required in practice.
  3. §1.1 / App. 6.6 comparison to Adafactor is useful but should list the exact Adafactor config used in Fig. 2 (relative_step, scale_parameter, clip_threshold, decay schedule) so the 0.25-nat gap is reproducible.
  4. Abstract and §5 claim “improve the Pareto frontier” and “universally matches or improves”; Table 1 and Fig. 2 show mostly parity with occasional small wins and one clear loss. Soften absolute language to match the tables.
  5. Fig. 1 caption and body refer to “Fig 1B/C/D” without fully specifying axes/metrics in the caption; add loss/reward definitions and seeds.
  6. Typos/clarity: “forgoes the need to shard both token table optimizer states”; “we open-source… available atgithub.com” (missing space); DeepSeek V4 / 2026 citations look like placeholders—verify bibliography.
  7. §2.2 “Scale with 1/p” vs “Scale isotropically”: the Fisher scaling argument (App. 6.9) is clear, but a one-line pointer from Alg. 1’s row factor to F^{-1/2}∝1/p would help readers connect the algorithm to the metric discussion.

Circularity Check

0 steps flagged

No circular derivation: Ember follows from Fisher geometry plus the exact rank-1 outer-product structure of embedding/LM-head gradients, then is tested empirically; the 1-D ray is a post-hoc SVD observation, not a forced prediction.

full rationale

The paper’s load-bearing chain is self-contained and non-circular. It begins from the classical Fisher information identity for cross-entropy (second derivative equals squared score near the optimum; Chentsov uniqueness of the Fisher metric for KL), notes that Adam already approximates the square-root empirical Fisher, and observes that embedding and LM-head gradients are exactly rank-1 outer products (g_ij = δ_i x_j with x one-hot or soft-max error). Consequently E[g_ij²] factors as R_i C_j to first order, licensing an O(V+D) outer-product second-moment buffer (Alg. 1, App. 6.7–6.8). The geometric-mean normalization is derived from unit matching and variance optimality under that factorization, not fitted to the target losses. First-moment removal is justified by a separate empirical autocorrelation measurement (Fig. 11), not by definition. All performance claims (SFT, GRPO, FineWeb, image-AR) are ordinary held-out comparisons against AdamW/Adafactor; none are forced by construction. The “1-D ray” claim is an observational SVD of recorded trajectories under Ember (PC1 ≈ 90 % variance, monomial structure), not a prediction derived from a fitted parameter. Citations (Adam, Muon, Adafactor, Amari, Chentsov) are external; there is no self-citation chain, no uniqueness theorem imported from the same author, and no ansatz smuggled via prior work. Mild interpretive reframing of existing optimizers as “square-root Fisher” does not make the empirical results circular. Residual cross-correlation is acknowledged and measured once (corr 0.974 on a short gpt2-small run); that is a possible correctness limitation, not circularity.

Axiom & Free-Parameter Ledger

3 free parameters · 6 axioms · 1 invented entities

The central claim rests on standard information-geometry facts (Fisher = second-order KL term, Chentsov uniqueness), the empirical success of Adam-style square-root second-moment preconditioning, and the modeling assumption that embedding/LM-head squared gradients factor as rank-1 outer products of participation and feature energies. Free parameters are essentially the usual Adam β2 and learning rate; no new physical constants or fitted scales are introduced. Ember itself is an algorithmic construction, not a new ontological entity.

free parameters (3)
  • β2 (second-moment EMA decay) = 0.999
    Lifted from Adam default 0.999; controls how much history enters the row/column curvature estimates. Ablated but still a free hyperparameter.
  • learning rate α / trust-region scale = task-dependent (e.g. 1e-3, 2e-5)
    Step size for the z-scored update; treated as a free hyperparameter shared with Adam baselines (e.g. 1e-3 or 2e-5 depending on experiment).
  • ε numerical stabilizer = 1e-8
    Standard 1e-8 floor under the square root; minor but present.
axioms (6)
  • standard math For cross-entropy, the Fisher information equals the expected squared score and coincides with the Hessian near an optimum (regularity assumptions).
    Invoked in §1 and App. 6.1 to justify second-moment preconditioning.
  • standard math Chentsov’s theorem: the Fisher metric is the unique canonical local geometry for the KL divergence (up to scaling).
    Used to argue that competitive CE optimizers must essentially use Fisher geometry.
  • domain assumption Adam’s per-parameter second-moment EMA is a serviceable empirical square-root Fisher for all parameter classes, including embeddings.
    Stated in §2.1 as the starting point for simplifying the second-moment buffer.
  • domain assumption Embedding and LM-head per-example gradients are rank-1 outer products, and the expected squared gradient factors as E[δ_i²] E[x_j²] with negligible residual correlation.
    Core modeling step in App. 6.7–6.8 and Fig. 12 that licenses O(V+D) state.
  • domain assumption Token participation frequency p_i makes the row-wise Fisher scale as p_i², so square-root Fisher yields p-independent (isotropic) updates.
    Derived under a coherent-signal binomial model in App. 6.9; used to interpret Ember’s row factor.
  • ad hoc to paper First-moment (momentum) EMA carries little useful signal on token tables because temporal gradient autocorrelation is near zero or negative.
    Empirical observation in Fig. 11 used to justify dropping Adam’s first-moment state entirely.
invented entities (1)
  • Ember optimizer (row/column factored second-moment preconditioner without first-moment state) independent evidence
    purpose: Replace Adam on embedding and LM-head matrices with O(V+D) state while preserving or improving loss.
    Algorithmic construction; independent evidence is the empirical match to Adam across tasks, not an external physical prediction.

reviewed 2026-07-12 · how reviews work

0 comments
Cite this review

Pith. "Pith review of Token Geometry." pith.science (2026). https://pith.science/paper/SUOGEZM2

@misc{pith2026260701455,
  author       = {Pith},
  title        = {Pith review of: Token Geometry},
  year         = {2026},
  howpublished = {\url{https://pith.science/paper/SUOGEZM2}},
  note         = {Machine review of arXiv:2607.01455}
}
Share X Bluesky LinkedIn Reddit HN
read the original abstract

Language models learn continuous programs over discrete symbols, with the embedding table and LM-head acting as the read/write interface between them. We show that this interface has gradient geometry distinct from dense hidden weights which can be exploited to improve the Pareto frontier across supervised finetuning, RL, and pretraining, while only utilizing kilobytes of optimizer state. We introduce Ember, a lightweight optimizer for embedding and LM-head matrices that utilizes O(V + D) VRAM, instead of Adam's O(2VD), and forgoes the need to shard both token table optimizer states. We provide empirical evidence that Ember scales effectively across batch size and parameter count. We show that the optimization trajectory of tokens can be well described by a simple 1D ray, counter to the popular belief that neural net parameters navigate a heavily nonconvex landscape. We provide a principled view on the surprisingly narrow space of optimizers that suffice for Transformer training. Finally, we open-source our distributed Ember implementation that merges cleanly with existing ZeRO/FSDP setups to support further research at https://github.com/katop1234/ember

Figures

Figures reproduced from arXiv: 2607.01455 by Kathan Shah.

Figure 1
Figure 1. Figure 1: The Ember optimizer utilizes almost no optimizer state for the embedding table and [PITH_FULL_IMAGE:figures/full_fig_p001_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: Embedding-optimizer ablation at two batch sizes for GPT-2 small / FineWeb. Interestingly, [PITH_FULL_IMAGE:figures/full_fig_p004_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: Model-scaling results for Ember on token tables. Ember scales cleanly with model size, and matches or surpasses Adam regardless of scale. Training setup in Appendix 6.2 [PITH_FULL_IMAGE:figures/full_fig_p006_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: The memory–quality gap widens with model scale. The two optimizers reach the same loss at every scale, yet AdamW’s state grows as O(2V D) — crossing 1 GB by 1.4B and reaching ∼2 GB at 2.8B — while Ember’s O(V +D) state stays near 400 KB. unexpectedly observed that it decomposes separably into a monomial basis ( [PITH_FULL_IMAGE:figures/full_fig_p006_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: Token optimization trajectories under Ember admit a clean polynomial structure. We show how strongly the monomials fit the first 3 principal component projections and show indeed the Taylor series decomposition holds surprisingly well. Moreover, in the energy spectrum, the linear component significantly dominates across tokens, indicating the overall trajectory can be approximated surprisingly simply by a … view at source ↗
Figure 6
Figure 6. Figure 6: Ember is competitive in reinforcement learning while removing O(2V D) optimizer state. AdamW and Ember achieve parity across rollout regardless of rollout batch size 64, 128, 192, and 256. 5 Discussion We open-source a distributed version of Ember compatible with ZeRO [22]. Because Ember’s opti￾mizer state is O(V +D), the embedding table optimizer state no longer requires sharding, simplifying distributed … view at source ↗
Figure 7
Figure 7. Figure 7: For each of four monitored tokens, we stack it over the time-axis to get [PITH_FULL_IMAGE:figures/full_fig_p012_7.png] view at source ↗
Figure 8
Figure 8. Figure 8: Batch-size scaling. Ember follows AdamW’s log-batch trend and remains within seed noise across nine batch-size doublings [PITH_FULL_IMAGE:figures/full_fig_p012_8.png] view at source ↗
Figure 10
Figure 10. Figure 10: Ablating bias correction in Ember. Including the bias correction is crucial to performance and makes training much stabler while helping the optimizer reach lower val loss faster. (2) relative_step = min(10−2 , 1/ √ t), which replaces the learning rate (3) scale_parameter, which makes step size proportional to parameter scale (4) clip_threshold = 1.0, post-hoc RMS clipping. We observe that including the b… view at source ↗
Figure 11
Figure 11. Figure 11: Why removing Adam’s first-moment state is safe on token tables. We instrument gradients of the untied input embedding Ein ∈ R V ×d and output head Wout ∈ R V ×d during GPT￾2 small training on FineWeb. Left: Ember’s row-column factored second moment approximates the dense squared-gradient structure, where the y-axis is relative error. Right: temporal gradient autocorrelation is near zero or negative, showi… view at source ↗
Figure 12
Figure 12. Figure 12: Ember’s V +D factored second moment closely tracks the dense Adam second moment. Right: each point is one embedding parameter (i, j); the factored estimate rˆicˆj/r¯ tracks the dense gb 2 ij across many orders of magnitude. Left: log-space residuals concentrate near zero with no heavy tail, showing that most dense curvature structure is captured by the row/column outer product. Pointwise, the match holds … view at source ↗

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

This paper was first reviewed by grok-4.5 on July 12, 2026.