LGAIJul 1

Token Geometry

arXiv:2607.014558.4Has Code
Predicted impact top 37% in LG · last 90 daysOriginality Incremental advance
AI Analysis

For practitioners training large language models, this work provides a memory-efficient optimizer that improves performance trade-offs, though the method is incremental as it builds on existing optimizer principles.

The paper identifies a distinct gradient geometry in the embedding and LM-head layers of language models, and introduces Ember, a lightweight optimizer that reduces VRAM usage from O(2VD) to O(V+D) while improving the Pareto frontier across supervised finetuning, RL, and pretraining. Ember scales effectively with batch size and parameter count, and the optimization trajectory of tokens is described by a simple 1D ray.

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

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes