In 2018, Ricky Chen and colleagues at the University of Toronto made a deceptively simple observation: a residual network is just an Euler integrator in disguise.
Every ResNet layer computes . That is exactly one step of Euler's method for the ODE . Push the step size toward zero and the discrete stack of layers becomes a continuous flow — a neural ordinary differential equation.
Instead of deciding how many layers to stack, you now ask an ODE solver to integrate from to . The solver adaptively chooses its own step count, spending more steps where the dynamics are complex and fewer where they are smooth. The network's depth becomes a run-time decision, not a design-time one.
The trick sounds academic, but it buys something real: constant memory during backpropagation, because you never have to store intermediate layer activations. That is what the adjoint method delivers — and it is the heart of why Neural ODEs matter. Learn about related continuous representations in transformers.
Comments
Loading comments...