mlsanityData to 14 Oct 2026

Exact Network Surgery: Functional Invariance and Gradient Plasticity in Reactive Computational Graphs

arXiv 2607.16568 ↗First posted 18 Jul 2026cs.AI cs.LG cs.PLcited by 2

Not on the map. Why?

Abstract (arXiv)

Function-preserving network growth techniques such as Net2Net and progressive stacking expand a model's capacity without destroying its learned function, but existing formulations either tolerate numerical perturbations or require a full rebuild of the training program. We formalize Exact Network Surgery: the in-place insertion of a residual block into a live computational graph such that (i) the network function is preserved -- bit-exactly under explicit floating-point hypotheses -- and (ii) inserted parameters remain trainable immediately after insertion. We prove an identity-morphism theorem for gated residual blocks, a structural-locality theorem showing that a reactive invalidation engine recomputes exactly the downstream cone of the insertion point, leaving every other node's value and optimizer state untouched, and an escape-from-initialization proposition showing that the Gradient Shadowing gate alpha, initialized at zero over a randomly initialized branch, receives a generically non-zero gradient at insertion time. We identify a degenerate configuration -- zero-initialized output projections combined with a zero gate -- that is an exact saddle point gradient descent cannot escape. Every claim is validated on the reference implementation in NeuroDSL, a reactive graph engine in Julia: grafting is bit-exact on every logit tested (0 mismatches out of 1600); the gate escapes zero at the first optimizer step and unlocks branch gradients at the second, exactly as predicted; the degenerate configuration exhibits gradients identically zero for the entire 600-step run; surgery cost tracks downstream cone size with r = 0.9992 while graft-plus-invalidation bookkeeping is constant (about 0.75 ms) across insertion depths; and training resumes bit-identically across a real process restart. A flagged preliminary appendix reports first single-seed observations on post-insertion gate dynamics.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 10 of its 16 references that are in the map. First posted on arXiv 18 Jul 2026.

Builds on

10 of 16 references.

References · 10

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2019Root Mean Square Layer Normalizationcited by 1,480
  3. 2021Going deeper with Image Transformerscited by 764
  4. 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 264
  5. 2015Net2Net: Accelerating Learning via Knowledge Transfercited by 250
  6. 2019Fixup Initialization: Residual Learning Without Normalizationcited by 198
  7. 2021bert2BERT: Towards Reusable Pretrained Language Modelscited by 70
  8. 2022GradMax: Growing Neural Networks using Gradient Informationcited by 66
  9. 2023LEMON: Lossless model expansioncited by 23
  10. 2025Growing Transformers: Modular Composition and Layer-wise Expansion on a Frozen Substratecited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.