[Project POET-X] Scaling Orthogonal Equivalence: Training 13B LLMs with LoRA-level Memory Efficiency
POET-X: Memory-efficient LLM Training by Scaling Orthogonal Transformation
This paper introduces POET-X, a scalable and memory-efficient variant of Reparameterized Orthogonal Equivalence Training (POET) for large-scale LLM pretraining. By utilizing input-centric computation, custom CUDA kernels, and gradient checkpointing, POET-X enables the pretraining of 13B models on a single H100 GPU, achieving better performance than AdamW with LoRA-level memory efficiency.
TL;DR
Training Large Language Models (LLMs) is notoriously resource-heavy and often unstable. While Reparameterized Orthogonal Equivalence Training (POET) was proposed to solve stability issues via spectrum preservation, it was historically too slow and memory-hungry for the "Billion-parameter" era. POET-X changes the game by redesigning the underlying math into an input-centric form and leveraging custom Triton kernels, allowing a single H100 GPU to pretrain models up to 13B parameters—surpassing AdamW in performance while consuming significantly less memory.
The "Weight-Centric" Wall
The original POET algorithm transforms a weight matrix using two trainable orthogonal matrices, and , such that . This "spectrum-preserving" property ensures that the singular values of the weights remain stable during training, preventing gradient explosions.
However, the implementation was Weight-Centric: it explicitly computed and stored it. For a model like Llama-8B, this approach causes immediate Out-of-Memory (OOM) errors because:
- Storing the transformed weight matrix doubles memory overhead.
- Matrix-matrix multiplications at this scale are computationally prohibitive.
- Permutation operations for block-sparsity were unoptimized in standard PyTorch.
POET-X: Methodology & The Quest for Efficiency
The authors solve these bottlenecks through three key technical pillars:
1. Input-Centric Reformulation
Instead of transforming the weights, POET-X transforms the input activations. By rewriting the operation as , the complexity shifts from Matrix-Matrix multiplication to a sequence of efficient Matrix-Vector multiplications.
2. Optimized Cayley-Neumann Parameterization (CNP)
To keep and orthogonal, the authors use CNP, which approximates a matrix inverse via a Neumann series. POET-X optimizes this by:
- Half-Storage: Storing only the upper-triangular part of skew-symmetric matrices.
- Kernel Fusion: Using Triton to load tensors once into shared memory and compute high-order terms () in a single pass.
Figure: Comparison of update coverage between fully-stochastic and block-stochastic POET.
3. Parallel Batch-wise Computation
Instead of constructing sparse block-diagonal matrices explicitly, POET-X treats each block as an independent matrix in a batch, drastically reducing the memory footprint of the operator itself.
Results: Breaking the Memory Barrier
In empirical tests, POET-X shows a massive leap in efficiency:
- Throughput: 8x faster than the original POET implementation.
- Memory: A 3x reduction in GPU footprint.
- Scaling: Successfully pretrains a 13B model on a single H100—a feat impossible for the de facto standard AdamW due to its optimizer state overhead.
Performance vs. State-of-the-Art
When compared to AdamW, Muon, and GaLore on the C4 dataset, POET-X () consistently achieves lower validation perplexity than AdamW.
| Method | Params (M) | Mem (GB) | Val PPL |
|---|---|---|---|
| AdamW | 2764 | 81.03 | 12.69 |
| POET-X (b=512) | 570 | 68.52 | 12.05 |
Figure: Breakdown of per-operation time. POET-X (fast/mem) drastically reduces the backward-pass latency compared to original POET.
Quantized Training (POET-XQ)
Because POET-X uses custom CUDA kernels to handle dequantization on-the-fly, it supports 8-bit quantized pretraining (POET-XQ) with even lower memory (51.6G for a 3B model). This makes it one of the most versatile frameworks for resource-constrained training.
Critical Insight: Why This Matters
The real breakthrough of POET-X isn't just that it's faster; it's that it enables Full-Rank Training with PEFT-like Memory. Unlike LoRA which restricts updates to a low-rank subspace, POET-X allows the model to explore a richer parameter space more effectively, leading to better convergence stability.
Limitations
While POET-X is highly efficient, there is still a small computational overhead compared to a raw cuBLAS Linear layer. Additionally, the block size () introduces a new hyperparameter that needs tuning—larger blocks improve performance but increase memory.
Future Outlook
POET-X opens the door for training massive models on consumer-grade or mid-tier enterprise hardware. By scaling orthogonal transformations, we move closer to a future where "stability" and "efficiency" are no longer a trade-off in LLM development.
