SNLP: Layer-Parallel Inference via Structured Newton Corrections
Summary
This paper introduces SNLP, a framework that enables layer-parallel inference for transformers by replacing exact Newton corrections with structured approximations, achieving up to 2.3x speedup on a 0.5B model while improving perplexity.
View Cached Full Text
Cached at: 05/19/26, 02:29 AM
Paper page - SNLP: Layer-Parallel Inference via Structured Newton Corrections
Source: https://huggingface.co/papers/2605.17842
Abstract
Transformer models can achieve faster inference through parallel Newton-style updates that approximate sequential computations using structured Jacobian approximations and specialized regularization techniques.
Autoregressive language modelsexecuteTransformer layerssequentially, creating a latency bottleneck that is not removed by conventional tensor orpipeline parallelism. We study whether this layerwise dependency can be relaxed by treating the hidden-state trace across layers as the solution of anonlinear residual equationand solving it with parallelNewton-style updates. While this view is principled, exact Newton corrections require expensiveJacobian-vector productsand naivefixed-point iterationsare unstable on trained Transformers. We introduceStructured Newton Layer Parallelism(SNLP), a training and inference framework that replaces exact layer Jacobians with cheap architecture-induced surrogate dynamics. Inresidual Transformers, this yieldsIdentity Newton(IDN), where the correction reduces to a prefix-sum-like update; inmHC-style architectures,HC Newton(HCN) uses the model’s residual mixing matrix. We further introduce SNLP-aware regularization, which trains models to make one or a few structured Newton iterations accurately approximate the sequential forward. Experiments on nanochat-scale Transformers show that SNLP regularization improves layer-parallel compatibility and can also improve standard sequentialperplexity, reducing baseline PPL by 4.7%-23.4%. At inference time, SNLP combined withlayer fusionandchunkwise decompositionachieves practicalwall-clock speedups: on a 0.5B Nanochat model, it reaches 2.3x speedup while still improving PPL by 6.1%. These results suggest that layer-parallel inference is not merely a numerical approximation tosequential execution, but can act as a useful solver-inducedinference bias. We also characterize limitations: off-the-shelf pretrained models are less amenable to this procedure, and exact convergence recovers the sequential computation rather than providing monotonic inference-time scaling.
View arXiv pageView PDFGitHub1Add to collection
Get this paper in your agent:
hf papers read 2605\.17842
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2605.17842 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2605.17842 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2605.17842 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
@LiorOnAI: You now convert any LLM into a faster one without retraining from scratch. NVIDIA just did this to their 30B model. Her…
NVIDIA proposes a method to convert any LLM into a faster one by splitting it into two copies: one frozen for context, the other trained to generate multiple tokens in parallel, achieving 2.4x speedup with ~99% quality retention using only 8% of training data.
Skip a Layer or Loop It? Learning Program-of-Layers in LLMs
This paper introduces PoLar, a framework that learns input-specific execution programs for frozen transformer layers, allowing layers to be skipped, kept, or repeated. It improves accuracy and reduces inference overhead compared to fixed-depth methods.
@_avichawla: NVIDIA researchers built a new transformer variant. One small change to the layers made: - decoding 1.7x faster - long-…
NVIDIA researchers introduced SparDA, a transformer variant that adds a fourth projection (Forecast) to predict next-layer KV blocks, enabling prefetching from CPU memory and reducing selection cost, achieving 1.7x faster decoding and 6.5 point accuracy gain on long reasoning.
@yingfan_bot: New paper on Looped Transformers! Latent reasoning is fast, but struggles to match CoT-level accuracy at scale. Can loo…
A new paper on Looped Transformers finds that a looped padded backbone provides a parallel workspace for latent reasoning, enabling supervision similar to explicit chain-of-thought (CoT) and achieving both speed and accuracy.
Plug-and-Play Spiking Operators: Breaking the Nonlinearity Bottleneck in Spiking Transformers
This paper proposes a plug-and-play framework that implements spike-friendly approximations for Transformer nonlinearities (e.g., Softmax, SiLU, normalization) via population computation with LIF neurons and lightweight bit-shift scaling, achieving less than 1% accuracy drop on LLMs without fine-tuning.