
JD
Joshua DeOliveira, Elke Rundensteiner
· 1 min read
ResearcharXiv cs.LG
TorchTangents: An Accessible Bridge for Architecture-Preconditioned Optimizers
arXiv:2612.03000v1 Announce Type: new
Abstract: Standard gradient descent operates natively in parameter space, remaining mathematically blind to a neural-network's particular architecture or to intra-layer parameter interactions. Recent optimization strategies, such as Muon, have demonstrated success by altering this dynamic and enforcing layer-wise spectral constraints to enable the early amplification of weak signals that would otherwise be dominated by batch noise. In this paper, we aim to go beyond Muon and further posit that explicit architecture-preconditioned optimization is an intriguing frontier for stabilizing wide minima. However, there exists currently a gap between how to extract meaningful architectural biases useful for preconditioning training. We propose NTK-related architectural properties could serve as a promising family of signals to utilize as a training preconditioner. To achieve this, we introduce TorchTangents, a PyTorch-native engine designed to bridge infinite-width neural tangent kernel theory with finite-width empirical optimization. The library introduces an API to dynamically convert standard network layers into their mathematically exact infinite-width kernels without requiring architectural rewrites, and in turn, serves as a new foundation upon which architecturally-preconditioned optimizers can be built from. We empirically demonstrate TorchTangents' parity within $0.01\%$ of the existing JAX-based neural-tangents NTK library, as well as superior performance in uncompiled execution. TorchTangents is available at: https://github.com/deoliveirajoshua/torchtangents
Original source
This story was published by arXiv cs.LG and written by Joshua DeOliveira, Elke Rundensteiner. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


