Manuscript Offprint
arXiv:2611.00503The Continuum Limit of the Deep Linear Network
CATHERINE EVA PFAFF AND KAREN UHLENBECK
ABSTRACT. The Deep Linear Network (DLN) is a simple version of a Multilayer Perceptron (MLP) in which the activation function is the identity and the bias vector is the zero vector. We examine the behavior of the model when the number of weight matrices, which is finite in the original model, goes to infinity. We show that a plausible continuum limit is a dimensionally reduced version of the Yang-Mills equation on the torus, revealing an unexpected geometric interpretation of infinite-depth DLNs. While we do not prove this rigorously, it is a very pretty calculation. It also gives some insight into several features of the construction. We note that the choices of boundary conditions on the ends of the discrete series survive better in the continuum limit. Also, the regularizing functional which uses the moment map survives nicely in the continuum limit, whereas the regularizing functional using the size of approximating terms has no sensible limit. This surely is useful information for the choices we make in the finite-dimensional theory, and might also be useful in the more complicated MLP setting.
1. INTRODUCTION
In October 2025 Govind Menon gave a talk to mathematicians on the geometry of a Deep Linear Network (DLN). In MLP language, a DLN is an MLP where each activation function is the identity function and each bias vector is the zero vector. In practice, this means that a DLN operates on its input by applying a product matrix . To read this paper, one does not have to be familiar with the general model.
An interest in DLNs stems from the redundancy of the many choices of the leading to the same . This redundancy leads to a geometric structure that is both interesting in its own right and can inform training dynamics. Saxe, McClelland, and Ganguli [SMG14] showed that, despite the linearity of the networks themselves, DLNs have nonlinear gradient descent dynamics on weights that depend on the depth of the network. Further, they show that the training dynamics exhibit some of the phenomena observed in nonlinear neural networks. Perhaps even more interestingly for what we do, Arora, Cohen, and Hazan [ACH18] were able to show that increasing depth in a DLN can accelerate gradient descent under certain assumptions.
We explore the continuum limit of this geometric structure here. In particular, Lindsey and Menon's crediting of the Kempf-Ness theorem as an essential tool for studying a DLN brings to mind the application to the heat equation for Yang-Mills on surfaces, which uses an infinite dimensional version of the theorem. Looking at the continuum limit of the DLN, the symmetries are identical in structure to the real and complex gauge changes for Yang-Mills on a Riemann surface. It was somewhat surprising that the theory turned out to be equivalent up to normalization (with a little fiddling of the gauge at the boundary) to a dimensionally reduced Yang-Mills theory from a torus to a circle with an additional reflection to fix the boundary conditions. We note that in [CMV23] Cohen, Menon, and Veraszto also take a continuum limit. However, our work is different from theirs in being focused on the continuum limit of the gauge-theoretic structure and its relationship to dimensionally reduced Yang-Mills theory.
What we indicate in this paper is that a dimensionally reduced Yang-Mills theory on the torus with a reflection is a plausible limit of the DLN when is the number of layers in the network. The result obtains ODE's on the line from the limits of discrete versions. The discrete objects are obtained from continuous ones by identifying the on the line with the index- discrete object - the limits as are then our continuous theory. We believe that a rigorous proof would be pretty straightforward, but lengthy, so we have not included it in this introductory paper.
In all theories which construct algorithms to identify information from new data, the aim in training is to determine the method for finding the best fit given large amounts of training data. Usually this involves a large number of intermediate steps. In the DLN we are starting from, this training flow occurs on weight matrices . The product represents the final information we want, and the are the intermediate steps. To the uninitiated, this seems quite strange, but rest assured it works. Because only involves the final data, we have a geometry for the intermediate . We may multiply a by an element of on the right as long as we multiply by the inverse of that element. This constructs a large “gauge group” which in this paper we always call the complex gauge group. When we only use unitary matrices, the group we use not only preserves the endpoints, on the left and the identity on the right, but turns out to preserve all the geometry we construct. We call this “the gauge group”. It acts exactly like the gauge group in the physics and mathematical Yang-Mills models. We know of no other theory that has such a gauge group, and find this very interesting. The complex gauge group does appear in the study of Yang-Mills on a Riemann surface, which is where the idea for this paper came from.
The direction of the regularizing flow, which uses only the complex gauge group, is added to the more or less usual gradient flow which acts on the term. This simplifies the weight matrices without affecting the flow on . The finite theory uses several regularizing flows, which we discuss in detail in Section 4. It turns out that most of them (we don't pretend to know all) flow to the zeros of the moment map for the gauge group actions. Hence the moment map is important in both the discrete and limiting theories. The moment map is reviewed in Section 2 for those who are unfamiliar with symplectic geometry.
We consider two regularizing flows on the Hilbert space of connections. One is the standard Yang-Mills heat flow, arising as the gradient flow of the Yang-Mills functional. This turns out not to have viable boundary conditions when restricted to . The second is a somewhat unusual flow which can be interpreted as a smooth vector field in a Hilbert space of connections.
The outline of the paper is as follows. Section 1 is the introduction. At the end of this section we give some comments on what one might learn about the finite theory from the infinite theory.
Section 2 reviews step by step the geometry for finite and derives the continuum limit from the (usual) finite theory. We know the finite theory based on invertible matrices acted on by matrices .
It is not necessary to explain here in detail how the discrete theory limits on a continuous theory, as that is carefully done in Section 2. It won’t hurt to give a few examples. Given the continuous (as smooth as we need) map , we construct the discrete by setting . The gauge group is simple. Given , we set . We then find that, in the limit, the limiting theory from the finite theory has a connection , with the standard action by a gauge group element on it. We set , which just yields in the limit a section of the trivial bundle that and the connection act on. The moment map, which is again described later, for the discrete model converges to the moment map (curvature for Yang-Mills!) for the continuous model. Only after we construct the theory do we note which Hilbert spaces are natural in the problem. A comment here is that Yang-Mills theory is beautifully consistent up to dimension 4, so the analysis for the 1-dimensional problem is on the simple side.
The following two theorems (given in Section 2) describe a plausible continuum model and geometry of the continuum limit. We use the notation for the Sobolev class
,
where the domain and range vary by circumstance.
Let .
Theorem A (Theorem 2.4). We choose , and , and a gauge element , and find , and , and , as above. As , below are plausible limits.
(a) The continuum limit satisfies , .
(b) The limiting gauge group acts on the connection a from part (a) by
(c) The tangent space at a to the orbit of the limiting gauge group is the image of
(d) The moment map for the action of the unitary gauge group for all is
Theorem A' (Theorem 2.6). The limiting configuration space
carries the following structures:
(a) is a linear space, with
The symplectic structure is .
(b) The gauge group of unitary matrices in leaves the geometry invariant, whereas leaves only and invariant.
(c) The regularizing function becomes infinite in the limit.
In Section 3, we describe the relationship between our continuum limit and Yang-Mills on the torus. The Yang-Mills theory on the torus uses the product connection , with and skew-Hermitian. Dimension reduction in the variable means that and do not depend on . It does not mean discarding the variable, which is often called the Higgs field in the similar higher dimensional examples in geometry and physics. In our theory, we write the complex connection as (the reason for our weird inclusion of the in the original description), where and . To reduce the problem on the circle to a line, we add the reflection and . Here we run into problems, as behaves badly and the unitary gauge groups are different. We describe how both problems are due to differences in the (unitary) gauge group. In the reflected model, when has this jump, there is no difficulty with the flow, but the jump is preserved. In the end this might contain information useful in constructing the numerics for the flows.
The main result of Section 3 is Theorem 3.5. We restate the gist of it here as Theorem B.
Theorem B (Theorem 3.5 abbreviated). With the above identifications, Yang–Mills theory on the torus reduced by setting terms independent of to the circle, and further reduced to by the above reflections, is equal to the theory for our infinity limit, with slight modifications in the symmetry groups.
However, when we look at the heat equation for Yang-Mills, we find it difficult to use on the interval without adding extra boundary conditions. This gives us Proposition B', which is Proposition 3.7.
Proposition B'. The usual gradient descent for Yang-Mills is a heat equation, which does not restrict to the interval [0,1] to give a gradient descent on [0,1].
Section 4 treats the gradient flows, first for finite , and then for the limit as . We repeat the calculations for finite first as these calculations are more complicated. Two of the gradient flows for the two main regularizing functionals we know about turn out to be the same! In the continuum limit, only one gradient flow survives.
We write the heat equation for Yang-Mills in terms of the dimensionally reduced variables:
Theorem C (Proposition 3.6 and following remarks). In terms of dimensionally reduced variables
Theorem D (Theorem 4.3, Corollary 4.4). The rescaled limit as of our first gradient flow, which we will call the group geometric flow, is the dimensionally reduced heat equation from Yang-Mills.
Hence, by Proposition , it is not converging to a flow with viable boundary conditions.
The continuum limit of the second flow was harder to find. Our first attempt turned out to be incorrect. When we did find it, it was quite interesting.
Theorem E (Theorem 4.13, Corollary 4.14). The continuum limit of the linear geometric flow
where
Here is smoothly dependent on , and is a smooth vector field on .
We conjecture (Conjecture 4.12) that the projected flows in the finite-dimensional model converge, as , to the corresponding projected flows in the continuum model.
Section 5 completes the proof that the conjectured limits of the loss function we aim to minimize and of the regularizing functional behave as we would like them to behave. This is Theorem 5.5. We reformulate this result in less technical language here.
Theorem F (Theorem 5.5 abbreviated). The downward gradient flow for , where and , is
where is a downward gradient for leaving fixed. Then
For the flow described in Theorem E, .
We are new to this field, so have little to say about where it is going. The first point is that the norm squared of the moment map survives as a good regularizing functional in the limit. The norm squared of the , or any other norm, will only become infinite. Even in the finite case, it seems to make sense numerically to deal with the smaller numbers coming from rather than the larger numbers coming from .
One of the main technical points is in handling the boundary term corresponding to and . To use the gradient flow, it is necessary to use a (unitary) gauge symmetry to regularize the boundary conditions. It might be helpful to take this into account when the gradient flows are constructed numerically.
A further point is that any choice of gradient flow for the moment map squared is a good choice for a regularizing flow. This does not seem to be the case for the flows coming from norms of the , unless they by accident happen to be gradient flows for the moment map. Hence, we believe the moment map is better to work with than the 's. Since the gradient flows we use for the norm squared of the 's are also gradient flows for the norm squared of the moment map, this should be automatic.
We found two regularizing flows associated to the moment map. The first was a heat equation, which is ill posed with the desirable boundary condition on [0,1]. The second one converges. The flows labeled the linear geometric flows in Definition 4.6 are better suited for large N than those labeled the group geometry flows in Definition 4.2. Finally, the description given for points at which the moment map vanishes does not at all carry over to the continuum limit. This should be considered in describing this submanifold.
The relationship with Yang-Mills is reminiscent of the appearance of in many different areas. Material can be found in the papers of Menon, both solely authored and with collaborators. The standard references for gauge theory that we know of are [BM94, DK97]. A more extensive treatment of related aspects of the infinite-depth geometry of deep linear networks appears in the doctoral thesis of Tejas Kotwal [Kot26].
An interesting direction we did not pursue here is understanding how including nonlinear activation functions (and even bias vectors) changes the underlying geometry and training dynamics of the network.
Acknowledgements. The authors are grateful to Govind Menon for introducing the problem and the hospitality of the Institute for Advanced Study, without which this paper would not have come about. The first author is grateful for the opportunity to play an apprentice role in this work. The second author is grateful to Linda Ness for her interest in their work. We thank Tejas Kotwal and Laura Fredrickson for their comments and improvements to our paper. We also acknowledge use of ChatGPT in the revision process.
We highlight that our definition of the DLN at level is based on elements of the Lie group rather than , and we denote those also by . We view as an open subset of the ambient linear space , and use the linear geometry it inherits as such. We denote the parameter space with parameters by . Note the typical redundancy in the number of parameters. Each contributes weights to be trained, so that there are weights in total. We use those to describe values in .
One looks for the minimum of the loss functional, which depends on for . This is done by standard gradient descent. However, as explained in the introduction, there is a group of gauge transformations acting on , which preserve , and hence . The minimization procedure is to add to the function the regularizing term , whose gradient flow lines are infinitesimal gauge transformations, and hence the flows do not change the value of . In other words, the flow in the quotient space does not change, but the representation by does change. We are not interested in this paper in the function , but in the structure of the action of the gauge group on and the possible regularizing terms. We only briefly describe the structure for finite , as the details are easily found in other references.
The complex gauge group is
and the real (unitary) gauge group is the subgroup of for which each is unitary. The real gauge group acts as symmetries of the entire geometry, whereas the complex gauge group changes the geometry, while still preserving . In the Yang-Mills setting, the real gauge group consists of what we usually think of as gauge transformations (which yields an infinite dimensional quotient space). The complex gauge group appears only for Riemann surfaces and preserves only the complex structure (which yields a finite dimensional quotient space).
Definition 2.1. The action is given by
In algebraic geometry, the quotient space is not necessarily Hausdorff. Unstable orbits have to be removed to define the quotient, although there are no unstable orbits in our circumstance. This is where the Kempf-Ness theory applies, the squared norm of the moment map is the classical Kempf-Ness functional (see, for example, Kempf-Ness [KN78] or Kirwan [Kir20]). There is a general theory that is applicable to the complex setting and gives information on the restriction to the real case.
Since is an open subset of a complex vector space, it carries the standard symplectic structure induced by its complex structure. Let denote the Lie algebra of and let be its dual. Recall that the moment map for a Lie group action is a map such that for each , the corresponding Hamiltonian function on , equipped with its symplectic structure, generates the infinitesimal action of the Lie algebra on .
Before describing the moment map in our setting, we provide some background, for those unfamiliar with the subject. The symplectic gradient is the complex number times the real gradient if the symplectic structure comes from a complex structure. Also, one often identifies the dual of the Lie algebra with the Lie algebra by using the inner product , where denotes the real trace. However, in the literature we follow, we identify the dual of the Lie algebra with the symmetric matrices by using the symplectic inner product .
In our setting, independent of the ambiguities explained in the previous paragraph, the moment map for this problem is given by
where for each . Note that and let denote the moment map . It may be noteworthy that setting is a precondition of [ACH18]. This is different from adding a regularizing flow to training, which is what we do.
We repeat some of what is in the literature on the problem for finite . Two relevant surveys are [Men23] and [WA26]. The Riemannian geometry and gradient flows associated with DLNs are also studied in [BRTW22].
Proposition 2.2 (see [Men23], [LM25]). The following are properties for finite :
(a) is an open subset of a (complex) linear space with an inner product
The symplectic structure is .
(b) where .
(c) The gauge group G acts on W by
(d) The gauge group of unitary matrices leaves the geometry invariant, whereas leaves only (and ) invariant.
(e) The moment map for the action of U on W is .
(f) The tangent space to the orbit of G on W is
(g) Several regularizing functions and are used.
We first explain the notation , which is shorthand for an element in the tangent space at : . Since we never use the parameter , we omit it. If , we write . This is a classical notation which is not used much today. However, the more abstract definitions are wordy, and the basic ideas become obscure.
Finally, note that is the Lie algebra element associated to the variation of .
Definition 2.3. Start with and . Construct a finite model with terms by setting
i. and ii. .
We find it useful to let
iii. .
To derive the model, we allow a and g to be as smooth as we need. We assume the notation of Definition 2.3.
Theorem 2.4 (Continuum model). As , below are plausible limits.
(a) The continuum limit and satisfies . Note that is, as always, the identity or the theory will be trivial.
(b) The gauge group from Definition 2.3ii acts on the connection a from Definition 2.3i by
(c) The tangent space at a to the -orbit consists of all vectors
(d) The moment map for the action of the unitary gauge group is
This is the limit of the discrete moment maps constructed from the formulas of Definition 2.3.
In Corollary 2.5 we will show that the formulas we get for , , and are all consistent with , , , and in .
Proof of Theorem 2.4. We use smooth maps , , and to insure the above are well defined.
Part (a) is obtained by taking the continuum limit of the recurrence for the partial products:
Multiply by N and rewrite this as
In the limit we get (a).
Similarly for (b): For , start from the finite-N gauge action to get
Thus
Multiplying by , replacing the difference quotient by a derivative, and then using the fact that is differentiable yields (b).
Part (c) follows by differentiating the gauge action in (b) in the case that .
We are down to (d). First we show that the formula can be derived as a limit of the formula for large N.
If we multiply by , we get equation (d) in the limit. Thus is of order . The unscaled moment map therefore tends to zero in the continuum limit, while the renormalized quantity converges to the continuum moment map . This normalization by is the normalization underlying the continuum regularizer .
Note that we are somewhat cavalier about keeping track of constants, which just determine the velocities of the gradient flows. Also, we are not sure of the geometry behind why we need to multiply the limit in part (d) by . It must be a reflection of something going on in the geometry, just as in the limit becomes infinite and unusable.
Since the identification with Yang-Mills is not precise, we show here that is the moment map for the unitary gauge group action on . Recall that we are using the symplectic structure to identify the dual of the Lie algebra. So we want the symplectic gradient of to be the tangent vector to the orbit in the direction .
At , this is just .
Because and , these terms are actually the same.
We now have
Here we are allowed to integrate by parts with no boundary term because . Now it is clear that the symplectic gradient is .
Note that the normalizations vary. We perhaps should have set as the moment map. The computation is more transparent if we identify the dual of the Lie algebra with the Lie algebra via the inner product, which makes the moment map.
Corollary 2.5. All formulas of Theorem 2.4 are consistent with
In particular, when , and (d) turns out to work for .
Proof. (a) The analysis will work perfectly, as we can rewrite as . Now and are in , is in , and as long as we are in dimensions less than 4!
(b) Again, the Sobolev regularity is preserved. We want to be in when and . This follows from several applications of the fact that in dimension 1.
(c) We just need to know that the derivative of and the commutator are in when is in . Again, the analysis works perfectly.
(d) If , then . Hence, since and .
Theorem 2.6 (Geometry of the continuum limit). The limiting configuration space carries the following structures:
(a) is a linear space, with
The symplectic structure is .
(b) The gauge group of unitary matrices in leaves the geometry invariant, whereas leaves only and invariant.
(c) The regularizing function becomes infinite. Only survives as a regularizing function.
Proof. Item (a) is mostly just a definition. Note, however, that this is an inner product and does not give the correct topology. This is the origin of the heat equation we will see in later sections. However, it does give the symplectic structure we use later. Note that in the approximation, for with () and with (), we have that is not related to the limit in any meaningful way.
We don’t really have to prove all of (b) as in the end the proof is contained in the literature on Yang-Mills, which we explain in Section 3. We will see as we proceed that leaves the geometry invariant. To check the leaves and invariant, we need to check how acts on X.
We start with the answer. We conjecture that
If this were true, then
which gives the correct multiplication. We could have started with this definition! Note that lands in in dimensions less than 4, so we are on track with the analysis.
It is clear that the finite-dimensional functional diverges in the continuum limit. We are left with as the regularizing function. Again, when we identify the limit with Yang-Mills, is proportional to the curvature (under the standard identification), and then is a scalar multiple of the usual Yang-Mills functional.
3. THE DIMENSIONALLY REDUCED YANG-MILLS FLOW
Before we move on to the flows, we explain the relationship with Yang-Mills. This will save us a certain amount of work, since the formalism is already set up. We first rewrite the above equations in terms of the Hermitian and skew-Hermitian parts of a.
Theorem 3.1. Let and , so that and . Then each of the following holds:
(a) .
(b) for each . In particular, for each ,
(c) .
(d) If (so that lies in the orthogonal space to the unitary Lie algebra), then the tangent vector generated by the infinitesimal gauge transformation is
Proof. We already explained the notation . This represents the tangent vector to the space that v sits in at v, and behaves exactly as . Since we never actually use the parameter s, it is less confusing to avoid writing s. Note that we can also write as an element of the Lie algebra based at g.
Equation (a) is directly copied from Theorem 2.4(a). Equation (b) follows from the gauge action on and then, in the unitary case, decomposing the transformed connection into its Hermitian and skew-Hermitian parts.
If , we get
and
Then (c) is easily derived from
Equation (d) is the most interesting.
Likewise,
Now we set up the formalism for Yang-Mills on the torus. We use the same notation for the connection one-forms. The connection one-form is , the curvature is
and the (complex) gauge group is just maps from the torus to . We define a theory on by assuming all the dependent variables do not depend on y. We start on , which we will double to . We set up the theory on first. Since we ultimately need some estimates, we also introduce function spaces. We use standard results from the Sobolev theory of connections and gauge transformations (see [DK97],[Uhl82],[FU12]).
Proposition 3.2. The dimensionally reduced Yang-Mills equations on [0,1] can be given the following structure:
(a) .
(d) The curvature is smooth as a function in of in .
(e) The action of on is smooth.
(f) The action of on is an isometry. Also the curvature , up to the conventional, rather than our symplectic, identification of the Lie algebra with its dual, is the moment map for the action of on .
Note that, as spaces of maps, and . The different notation reflects their different origins in the two theories. Further, Proposition 3.2 is just a restatement of what is in the literature. The usual integral is
There is no other natural function which is gauge invariant, but we can find two geometries on which give gradient flows reminiscent of the flows on . We could rework things from scratch explicitly on . However, after a slight adjustment of the gauge at the boundary, we can just double to with a symmetry and apply the theory for Yang-Mills on the torus.
We extend our tensors as follows.
Definition 3.3. Extend by setting , , , and g(-x)=g(x)^{-1}^{*}.
Let
and let
Proposition 3.4. The theory for Yang-Mills on the torus restricts to a consistent theory on the circle by having and g be dependent only on x.
In addition, if we set
and
we obtain a consistent theory on (with -1 = 1). This is equivalent to a theory on with boundary conditions
Proof. The reduction from to M is standard. The extra connection 1-form in the direction becomes the Higgs field, and the coupled theory is familiar.
The reduction from the circle to is not so familiar. The first step is to check that the conditions and are consistent. But is consistent with the group action since
The action of g on a is consistent since
The only step in this chain which is confusing is if . The minus sign comes from the switch in derivative directions from to .
This theory clearly restricts to a theory on with the given conditions. However, if and , noting that here , we can lift defined on to its double by setting . The same is true with if and . So the restricted theory on is equivalent to that theory on .
Theorem 3.5. The two theories are equivalent via the unitary gauge groups:
(a) Every element in defined on is unitary gauge equivalent via an element in to a tensor in which in , which lifts to .
(b) Every element in restricts to an element of .
(c) Every element in , after multiplication by an element in , lifts to an element in .
(d) After the unitary adjustment in (c), the gauge group lifts to the subgroup
The codimension of this subgroup in is .
(e) The dimension of the moduli spaces is the same in each case.
Proof. Part (b) is easily seen to be true. An function on restricts to an function on , and elements in have no conditions at the boundary.
For (a) note that extends a function in to a function in . However, extends a function in to an function on the doubled circle only when . Now the (unitary) symmetry group acts on by . One can get . However, such a would violate the boundary conditions. On the other hand, it is possible to get by choosing an essentially arbitrary smooth unitary with , , and . Note that each in is continuous, so and are well-defined.
The condition that would mean that and are necessary for the reflection to be smooth. However, we could try another route. While there is no canonical way to do it, we can make a gauge transformation so that . Then the reflection gives , as required. The flows are defined and the flows are invariant under gauge transformation, so we simply apply the gauge transformation, flow, and undo the gauge transformation to get to the result we want.
This points out something which might be important for numerical computations. If there is a discontinuity in the reflection, this discontinuity is preserved under the flows. With no discontinuity, one can take advantage of this regularity in setting up the numerics at the boundary. We are not experts in numerics, but think it worth thinking about.
For (c), let . The reflection is in if the derivatives agree at the reflection points. Since , this requires and to be Hermitian. We can multiply by a smooth unitary whose derivatives at 0 and 1 cancel the skew-Hermitian parts of and . Then has Hermitian derivatives at the endpoints and reflects to an element of .
To see (d), note that if , we have and . So is automatically in the unitary group at . The dimension of the unitary group is . Hence the condition has codimension .
Note that, by saying that after the unitary adjustment the lift of is smaller than by dimensions, (d) is also saying that the moduli spaces for our theory have dimension larger than the moduli spaces for the restricted Yang-Mills theory. However, the condition for lifting from to also restricts to a submanifold of codimension . So the dimensions of the two theories coincide.
The standard functional for Yang-Mills is the squared -norm of the curvature. Under the identification above, the Yang-Mills curvature K is proportional to the continuum moment map . More precisely, if , then K = iq, while the moment map of Theorem 2.4 is . Thus, their squared norms differ only by a constant factor, which only rescales the corresponding gradient flow.
The inner product we defined on is the inner product, not the inner product:
This means that the corresponding -gradient does not define a smooth vector field on , but its downward gradient flow is a diffusion (heat) equation. The Yang-Mills literature uses a different normalization of , namely . This changes only the scaling of the flow parameter. We rewrite the equations using the normalization of this paper.
Proposition 3.6. The downward gradient flow on for , with , is
The gradient flow on the circle and on elements satisfying the involution is gauge invariant and converges to
Proof. By Theorem 3.5 and the gauge invariance of the Yang-Mills flow, we can try to make the unitary gauge adjustment described above and apply the corresponding Yang-Mills theorem on a Riemann surface, applied to a torus with the symmetry we have described. The equation on the torus would be
Since does not depend on , this proves the formula for the flow.
Unfortunately, the equations are actually a heat equation. Substituting , we get
The problem is the heat flow is not defined for . One must go to . Then is continuous, and
Hence,
We can assume by gauge transformation. So the real extra condition is . This mean . This is not a condition we want.
To do it by hand, we set
where we assume in order to integrate by parts. We then get the correct gradient
but with the extra condition . But then appears as an extra condition can be assumed by changing gauges).
So the heat equation approach, the one that is used for Yang-Mills, is not viable. If we had started from scratch, we would have seen this right away.
Proposition 3.7. The usual gradient descent using a heat equation does not restrict to our problem.
Identifying a model element in for each orbit of turns out to be impossible. The best we can do is given in Theorem 3.8. We define the extended unitary gauge group as
so that .
Theorem 3.8. is of dimension . Further, each is gauge equivalent by to some , where is a constant Hermitian matrix. If take to the same , then they are -gauge equivalent if and only if .
Proof. Here we assume is unitary. For , the real gauge group acts by and . (This is compatible with , which is what it means that the theory is gauge invariant).
We simply solve , . Since is skew-Hermitian, is unitary. Thus lies in , with arbitrary. In this case, satisfies . Thus, after dividing out by , the remaining parameter is a constant Hermitian matrix of dimension .
If take to the same , then gives a gauge transformation from to . The gauge transformation lies in if and only if . Conversely, if takes to , then both and are solutions to , . Thus , and hence . Therefore, an element of is determined by a constant Hermitian matrix and the endpoint . Each of these spaces has real dimension . Thus has dimension .
Corollary 3.9. .
Proof. The -orbits are the fibers of the endpoint map . By the polar decomposition, each such orbit contains an element of . Further, by Theorem 3.8 and the uniqueness of polar decompositions, elements of in the same -orbit are -gauge equivalent.
Corollary 3.10. Every element in is -gauge equivalent to some where is constant and .
Proof. Choose which takes to . Solve where is a constant. Then apply to . This gives an element in of the claimed form. Then gives the gauge transformation described in the corollary.
Remark 3.11. To solve , note that is a geodesic in the unitary group from I to . Since the unitary group is connected and compact, there is always a geodesic between any two points. The difficulty is that there are many geodesics from I to in the unitary group. Even choosing the minimal one leaves one with ambiguities in the case that we are at a focal point. We suspect this must be true for finite N as well.
4. THE GEOMETRY OF THE GROUP ORBITS AND REGULARIZING FLOWS
We now come to looking at the regularizing flow. In order to understand things properly we need to look carefully at the situation for finite . We have two geometries we can put on , and two choices of regularizing functions, and . We can identify each with the gauge group . There is no canonical identification, but the geometry is the same for every identification. We will call this the group geometry. We can identify as a submanifold of which is an open set of a linear space. We can project any derivative at a point in to be tangent to . We call this the induced linear geometry.
The continuum flows introduced below are geometrically natural. We expect that they arise as limits of the corresponding projected flows in the finite-dimensional model, but do not yet know how to prove this (see Conjecture 4.12).
Theorem 4.1. The gradient flow for in the group geometry and the gradient flow for in the induced linear geometry are multiples of each other. Up to flow parameter rescaling, the flow is
Proof of Theorem 4.1. The gradient flow for in the induced linear geometry is the easiest to compute.
Continuing with the calculation yields:
In the induced linear geometry this means that
Note that this is automatically tangent to the orbit . We do not have to project. The gradient flow for is slightly more complicated. Here we write
In the group geometry, the gradient flow is
But then we have
These differ by a factor of 2.
It seems reasonable to check what happens as .
Definition 4.2. We call the flow
the group geometry flow.
Theorem 4.3. The rescaled limit as of the group geometry flow is
(1)
Before we go to the proof, it is appropriate to explain why this is a “heat” equation. It is an easy exercise to change variables.
Corollary 4.4. In terms of , we have , and the gradient is given by
This is clearly a heat equation coupled to a lower order term, and the same flow as we got from Yang-Mills in Section 3.
Proof of Theorem 4.3. Since the two flows in Theorem 4.1 differ only by an overall constant factor, we absorb this constant into the flow parameter and write
We use the formulas we derived for the approximation term which we found when we computed the limit as .
Again, taking the plausible limit with gives
Note that this agrees with the heat equation we got from the reduction of Yang-Mills. But for the same reason, we conjecture that it is not a viable flow. □
Conjecture 4.5. The flows for the first finite dimensional flow
do not converge to a viable flow as .
The second flow is somewhat harder to describe, but is all we have left. It is a gradient flow for in the induced linear geometry, but it turns out to be also a gradient flow for of an unusual sort. This is also proved in [LM25], but it is key to our argument so we repeat the proof:
Definition 4.6. The linear geometric flow is the flow induced by
where is the normal component of with respect to the group orbit. Namely,
Theorem 4.7. The gradient flow in the geometry of the group orbit included in the linear space is the linear geometric flow.
Proof. Using the orthogonal decomposition of the ambient linear space into the tangent and normal spaces to , we have for each that
for some , where is normal to . The fact that is normal means
for all where each and . This is equivalent to .
To understand the impact of the flow on the imbalance in W, we consider the evolution of the moment map:
Theorem 4.8. Along the gradient flow of Theorem 4.7, the finite-dimensional moment map satisfies
Proof. Let
Then
Since , we also have . It follows that
It was originally not clear how to take the continuum limit of the calculation in Theorem 4.8. However, the resulting equation suggests that we might instead look for a continuum flow satisfying
This approach is somewhat similar to constructing a gradient descent flow for Yang-Mills, which is a vector field on an infinite dimensional manifold, not a heat equation. This is not the usual approach.
Proposition 4.9. If and either or , then .
Proof. Recall . So and . Hence,
Hence, and is constant. Since or , we have or . Hence being constant implies , and .
Proposition 4.9 is a standard fact. However, we put it in a proposition, for those unfamiliar with this theory.
Lemma 4.10. Consider the tangent vector
where and . Then, recalling that , we have that
has a unique solution for and . The map from to in is a smooth vector field on .
Moreover, under this flow,
Proof. It is a straightforward application of Proposition 4.9, to see that can be smoothly inverted for . To see that it is negative with no kernel, use the fact that and integration by parts to get
If we set , we then get . It follows that . Standard elliptic theory then gives the unique solution and its smooth dependence on .
Finally, we obtain directly from the definitions.
At first we were unable to show that the flow constructed in Lemma 4.10 is the continuum limit as , and when we actually managed to construct the limit, it turned out to be different.
Proposition 4.11. If there is a limit as , it must satisfy
Furthermore, .
Proof. As in our earlier computations, we start with , , and satisfying .
We set , and , and . The minus sign in front of serves to identify the finite-dimensional gauge parameter from Theorem 4.7 with minus the continuum parameter of this proposition. The first identity makes sense, because if for all , then for all .
Substitute into to get
Then
becomes
In the limit we get
Finally, becomes
This in the limit is equivalent to
which is equivalent to what is in the proposition.
Conjecture 4.12. The projected flow of Theorem 4.7 converges, as , to the continuum flow described in Proposition 4.11.
Of course, we now need to prove that the system of equations from Proposition 4.11 has a solution when .
Theorem 4.13. The system of equations
with , has a unique solution , smoothly dependent on .
Proof. Let . The equations now become
These equations have the geometric meaning of being normal to the tangent plane at the connection to the orbit of the gauge group , and being the projection onto this tangent space.
We will want . So we will solve for first.
Recall is the moment map. So . Consider the operator
related to that given in the proof of Lemma 4.10. , where is the set of with . It is negative definite, since
It has no kernel, since if ,
By Proposition 4.9, . We now simply set .
A slight modification of this argument shows that v is differentiably dependent upon a. □
Corollary 4.14. The equation for
is an ordinary differential equation in the group orbit of on A. It has a smooth local solution.
Proof. This is an automatic consequence of Theorem 4.13. Ordinary differential equations behave the same way on infinite dimensional manifolds as they do on finite dimensional ones.
Corollary 4.15. Let as in the theorem. Then .
Proof.
So
The proof is the same as for finite .
Here
So
How should we interpret this result? One would have thought that the natural flow would be where .
This projects the flow onto the image of the operator . However, we then get
What we have done is to start with the flow and project it onto the image of . Then
It was not something we would have thought to do, but it in fact works.
We could easily show that the solution exists for all positive time due to the decay in . However, what we need to know is how the coupled equation, which arises when we look at the gradients of the loss function plus the regularizing function, not just the regularizing function, behaves. This will use the same techniques that we use here, but we do that later.
5. THE INTERACTION OF THE GRADIENT FLOWS
The whole point of the construction is to find a minimum for by minimizing
where and is a regularizing function which diverts the gradient flows toward the balanced locus .
We first compute the gradient flow for .
Proposition 5.1. The gradient flow for (in the linear geometry) is given by
where is evaluated at .
Proof. Using , it is an easy calculation, taking the derivative in s, to get
So
because .
By the definition of the gradient flow (in the linear model) we have
In the applications of this formula, note that does not depend on x.
Lemma 5.2. The bracket satisfies:
Proof. We know
SO
Then
This cancels the term with and completes the proof.
We note that the identity in Lemma 5.2 is the limit of the corresponding finite-N identities, although we don't prove it here.
Theorem 5.3. The derivative of along the flow
is 0.
Proof.
Because , the variation with the terms is equal to the variation of the terms with . This is because for any . Hence the 4 and the lack of terms with . We plug in the formula for , which gives us a chance to use Lemma 5.2:
We note that this theorem is true for finite . However, when using as the regularizing function for finite , we were unable to show the equivalent theorem is true. There seem to be a lot of reasons to use as a regularizing functional for finite .
Theorem 5.3 shows the gradient flow for leaves fixed. We now turn to the effect of the regularizing flows for on . These flows are all tangent to the gauge orbits . We use the parameter , as these flows are distinct from the flow we used above.
Theorem 5.4. Suppose that the flow is tangent to . Then F is constant along the flow.
Proof. Along the flow,
But if the flow is tangent to .
We are now ready to prove that the regularizing flows for have the correct behavior.
Theorem 5.5. Suppose
where the first term is the downward gradient for and the second term is any downward gradient flow tangent to the submanifold fixed. Then
Proof. Since we require to be tangent to the manifold , the first term is automatic. The second term follows from Theorem 5.3.
Corollary 5.6. Let , where is a smooth function of satisfying
Then, under the hypotheses of Theorem 5.5,
Proof. This is a straightforward application of Theorem 5.5 and Corollary 4.15.
REFERENCES
[ACH18] Sanjeev Arora, Nadav Cohen, and Elad Hazan. On the optimization of deep networks: Implicit acceleration by overparameterization. In International conference on machine learning, pages 244–253. PMLR, 2018.
[BM94] John C Baez and Javier P Muniain. Gauge fields, knots and gravity, volume 4. World Scientific Publishing Company, 1994.
[BRTW22] Bubacarr Bah, Holger Rauhut, Ulrich Terstiege, and Michael Westdickenberg. Learning deep linear neural networks: Riemannian gradient flows and convergence to global minimizers. Information and Inference: A Journal of the IMA, 11(1):307–353, 2022.
[CMV23] Nadav Cohen, Govind Menon, and Zsolt Veraszto. Deep linear networks for matrix completion—an infinite depth limit. SIAM Journal on Applied Dynamical Systems, 22(4):3208–3232, 2023.
[DK97] Simon Kirwan Donaldson and Peter B Kronheimer. The geometry of four-manifolds. Oxford university press, 1997.
[FU12] Daniel S Freed and Karen K Uhlenbeck. Instantons and four-manifolds, volume 1. Springer Science & Business Media, 2012.
[Kir20] Frances Clare Kirwan. Cohomology of quotients in symplectic and algebraic geometry, volume 31. Princeton university press, 2020.
[KN78] George Kempf and Linda Ness. The length of vectors in representation spaces. In Algebraic geometry: Summer Meeting, Copenhagen, volume 732, pages 233–243, 1978.
[Kot26] Tejas Suresh Kotwal. Symmetries and gradient flows in the deep linear network. PhD thesis, Brown University, 2026.
[LM25] Kathryn Lindsey and Govind Menon. Regularization implies balancedness in the Deep Linear Network. arXiv preprint arXiv:2511.01137, 2025.
[Men23] Govind Menon. The geometry of the deep linear network. In Symposium on Probability and Stochastic Processes, pages 1–47. Springer, 2023.
[SMG14] Andrew M. Saxe, James L. McClelland, and Surya Ganguli. Exact solutions to the nonlinear dynamics of learning in deep linear neural networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2014.
[Uhl82] Karen K Uhlenbeck. Connections with Bounds on Curvature. Communications in Mathematical Physics, 83(1):31–42, 1982.
[WA26] Joel Wendin and Claudio Altafini. Gradient flow equations for deep linear neural networks: A survey from a network perspective. SIAM Review, 68(2):293–345, 2026.
Center for Communications Research - Princeton
Email address: catherine.pfaff@gmail.com
Institute for Advanced Study
Email address: uhlen@ias.edu