PC Layer: Polynomial Weight Preconditioning for Improving LLM Pre-Training
About
We propose a preconditioning (PC) layer, a weight parameterization via polynomial preconditioner that ensures stable weight conditioning throughout LLM training. The PC module reshapes the singular-value spectrum of weight matrices via low-degree polynomial preconditioning. After training, the preconditioned weights can be merged back into the original architecture, incurring no inference overhead. We demonstrate the advantage of the proposed PC layer over standard transformers in Llama-1B pre-training, for both the AdamW and Muon optimizers. Theoretically, we justify this spectrum-control principle by proving that uniformly bounding each layer's singular values ensures geometric convergence of gradient descent to global minima, for certain deep linear networks. Our code is available at https://github.com/Empath-aln/PC-layer.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Commonsense Reasoning | HellaSwag | HellaSwag Accuracy60.71 | 897 | |
| Question Answering | ARC Easy | -- | 597 | |
| Question Answering | OpenBookQA | Accuracy34.6 | 319 | |
| Reading Comprehension | BoolQ | Accuracy (BoolQ)58.47 | 258 | |
| Question Answering | CommonsenseQA | Accuracy21.05 | 172 | |
| Commonsense Reasoning | WinoGrande | Accuracy59.67 | 61 | |
| Zero-shot Evaluation | Zero-shot Evaluation Suite | Average Score50.05 | 29 | |
| Language Modeling | Lambada OpenAI | Accuracy58.12 | 8 |