# Oral 31904

- Kind: Oral
- Talk page and recording: https://iclr.cc/virtual/2025/oral/31904

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Good morning, everyone. My name is Tianxiang Gao. I'm from DePaul University. I'm going to talk about global convergence in neural ordinary differential equations by studying its impact of activation function, which is joint work with Siyuan Su, Hai Liang Liu, and Hongyang Gao from Iowa State University.
So let's first reveal what is in your audio differential equation, which is basically nothing but just infinitely many layers with infinitesimal scaling of residual neural networks.
We all know residual neural networks using these skip connections to combine the input and the output from the nonlinear transformations. Basically, residual learnings define a discrete sequence of transformations like the figure on the left. But neural ordinary differential equations is a continuous model which defines a vector field that continuously refine the hidden state H here. I'd like to highlight two things.
for neural ordinary differential equations, which first is generally we're using shared parameters and another is continuous models.
So because of these two distinct structures, continuous nature and the parameter sharing efficiency, neural ordinary differential equations have been used in quite a range of applications, for example, time series, reinforcement learnings, and diffusion models for, yeah, in score-based generative models papers. Yeah. Yeah. So given those many succeeds, but there are still some fundamental theoretical problems.
has been solved has not been solved which is as such a continuous models with shared parameters under what conditions can we know we can train a neural network to converge using very simple gradient based method so this papers is meant to answer this question
So here is our setup, which is very simple. We consider a very simple neural ordinary differential equation, which is defined by using this forward ODE in equation one.
So we're also using for the weights, we randomly initialize the weights following standard Gaussian distribution with certain variance parameters, which is one or n, just pretend the magnitude will not be explode to infinity. Then considering the training data set, we have a capital N number of training set. We consider a very simple square loss.
So, to train this neural networks, and we have to compute the gradients. In general, the gradients, it's not can be solved by standard backpropagations because we have these continuous nature models. Instead, generally, we are seeking to solve this problem, compute the gradients by solving a backward ordinary differential equation which is defined as three which is also called
adjoint sensitive method we have this adjoint state lambda t which is followed another backward ordinary differential equation in that case we can compute the gradients by using the forward state h and the backward lambda t
Okay, yeah. In these papers, we consider a very simple gradient descent method.
Yeah, so in terms of computing computer gradients, there are generally two methods in neural ordinary differential equations. One is the first called optimize, then discriminate. Basically, you're just using numerical solvers to directly solve the backward and forward ordinary differential equations. Yeah, but the problem, it's in general, ODE is not usually well defined.
So you have to consider the well-posedness of these neural networks, and actually it is very easy to check at an initialization if such a neural ordinary is well defined or not, but how do you ensure it's going to well define through the entire training.
Another method is called discrete lighters and optimize, which basically grabs the ideas of Euler methods. You discretize this ODE and treat it as a finite depth residual neural networks with a shared parameters, which is defined as equation six. So in that case, because it becomes a finite depth neural network, so you can compute the gradient. But the problem is how this finite network works.
have the ingredients, the same, aligned with the continuous models.
Okay, to solve the first problem for optimizing this discretized method, we have this result, which is proposition one. As long as the time horizon is bounded, so as long as the activation function is fine, its Lipschitz continuous, we can prove both the forward and backward has unique solutions, ht and lambda t.
And for the second part, we need extra regularities for the neural networks. Not only the activation function should be Lipschitz continuous, but its derivative by prime also needs to be Lipschitz continuous. And we provided this convergent rate in equation seven. And you can see the...
The gradient from the finer depth neural networks, it's approximately equal to the true gradient for the neural audio and differential equations. The rate is about 1 over L. L is the depth of the finer residual neural networks. And also from the equation statement, we can see this rate is independent of the weights of the neural networks. So it's uniform in the rates.
So that's how we solve the well-posedness. Then when we start the training, a previous result has shown training dynamics of the prediction uk can be approximated by equation 8, which is discovered by the MTK Grand Matrix. The MTK is defined by equation 9.
Okay, but the problem is also we can see neural ordinary differential equation has a limit of finite residual neural networks. But NTK depends on the order of limits. So for example, if we swap the limits and let the weights go to infinity first, then let the depths go to infinity second, that limit is usually not equal to the limits go to infinity first, then the weights go to infinity second.
second actually for screening neural ordinary differential equations we are more interested in on the second case here is an illustrative examples so suppose I have in equation 11 suppose I have this double c place which is n over L plus 1 n L L plus n if we let n go to infinity the limits will be 1 if we let L go to infinity the limits will be zeros
Yeah, but fortunately that's not the case for neural-ordered differential equations as long as we have smooth activation functions and it's derivative. So as long as Phi and Psi prime are Lipschitz, we can see the NPK of a neural-ordered differential equation converges to a deterministic kernel and this deterministic kernel is the limits of a residual neural network's kernel.
So basically you can swap those two limits.
So here is some results to support our theoretical findings. So we compare the neural ordering differential equations with the ResNet in terms of the output, gradient, and antique convergence using smooth activation function such as the plus. And we can see they are all matched aligned at the end if we increase the depths. The output, gradients, and antique, they're all converged.
But on the other hand, if you replace softplus with ReLU, which is a non-smooth activation function, basically its derivative is not smooth, then we can see the gradient does not align. So on the second plot, it's basically the gradient difference remains constant as you increase the depth.
So another previous result of finite depth neural network is that as long as we can show the indicator is strictly positive definite, then it is sufficient to establish the global convergence under the gradient descent of stochastic gradient descent method. But however, this strictly positive definite properties may be vanished when you increase the depths.
So in that case, we take a first step further to analyze the anti-K of neural order differentiable equations and we find these integral forms. So if you are familiar with the NNP and anti-K, you will notice that the NNP and anti-NNP will generally be found interpretatively. But now as you take the depth to the infinite, it becomes to anti-integral forms.
So we are able to prove as long as the defined activation function is nonlinear but non -polynomial, then this decay is strictly positive definite. So the basic idea is just using the integral forms, the basically explicit integral form, rather than using those iterative relationships.
Okay. So with simple assumptions, as long as you have distinct data points and both the phi-psi parameters are smooth and you are using non-polynomial activation functions, we are able to show this global convergence. So as long as the parameter, the learning rate is not large, we have high probability to converge, which provides a linear convergence rate.
So here is the result, experimental result to support our idea. So we can see as the training goes, the NTK, the smallest eigenvalue is strictly positive during the entire trainings. And the distance for initial initial conditions is upper bounded. And also the training and the test loss are continuously decreased.
Okay, we have more experiments results about how to choose the time horizon and what if the case you are using quadratic activation functions and the comparison between different numerical solvers, but I don't have time to talk about that. If you're interested, please come to our poster and read the paper. So here is the future work and maybe some collaboration. Yeah, so in these papers, we only provide the convergence rate for that.
this but we not have the result for the waste and also another future directions to using the the grid end alignment conditions to show to design new ODE solvers and maybe maybe also it is also interesting to try different optimization method stochastic gradient descent momentum adaptive method but and in this paper we still stick in the lazy training regions using empty cake
Okay, but what if we consider using feature learnings and this theoretical work can be extended to other neural network architectures if you consider the results when the depth goes infinity. Okay, so here is my contact information and the sense. Thanks. So, putting as a remark, so if you assume that non-polynomial is then it's a failure. It's non-polynomial is non-linear.
I mean, Uh, you don't it's just have to assume that's nonlinear. It's non-point normally it's already nonlinear. Yeah, it it it is still non-linear and a non-polynomial. Yeah, but uh another question is, now for example, usually for m uh O_D_E_ we have we know that uh using explicit method, now O_D_E_ uh our Euler method is uh unst unst unstable, and you we usually use now uh explicit im implicit pair, eh. So uh for example you uh uh Runge Akuta methods. So why do we consider now a implicit explicit method?
Right uh uh so sorry I can't hear you clearly, but I assume if you are u asking uh for other numerical solvers in the basically if you want to try all higher order and then you'll maybe maybe want to consume higher uh smoothness, that's the case. Uh not quite the question but okay, Okay. I can discuss that Yeah, soon. we're we're gonna take it off yeah to to discuss more. Yeah.
Are there any other questions?
Okay. Well, maybe I just have a simple one, maybe when the next speaker comes up. Um so it seems clear from this that, you know, you want Lipchitz activation functions, let's see. Uh are there any other sort of uh simple uh sort of practical uh algorithmic uh interpretations one can get out of your work? Oh yeah, uh another thing is uh uh because once you s uh define these continuous models, then the time horizon uh becomes uh uh significant and we notice that if you
increase the time horizon so the training becomes now stable. So we provide some simple scaling strategies and also we also notice that because the convergence rate in the adaptive solver generally works not very well for the large scale neural network reinforcement learning.
