Skip to main content
Back

Cyber Monday Deal: Get 20% off all AlphaSignal Pro subscriptions. Ends soon.

Makridakis Shows Why a Low Training Loss Can Hide a Broken AI Solution

A set of lecture-style notes reframes neural network training as a calculus-of-variations problem, with tools for proving when minimizers actually converge.

Pro

Paper, Full Access
  • New lecture style notes recast machine learning training as nonlinear minimisation studied through calculus of variations.
  • Introduces discrete variational stability, a convergence criterion for neural network minimisers based on Gamma convergence.
  • Argues standard residual losses for PDEs lack coercivity, so low loss need not imply small error.
  • Burgers equation example shows different variational formulations select different weak solutions near shocks.
  • Helmholtz equation case study points to strongly coercive losses for more stable neural PDE solvers.
  • No code, model, or dataset released; full notes at arXiv:2611.34314.

Numerical analysis has spent decades defining when a discrete approximation to a continuous problem is trustworthy through stability, consistency, convergence, and error estimates. In Makridakis’s notes, Charalambos G. Makridakis applies that vocabulary to machine learning by framing neural network training as a problem in the calculus of variations.

The theoretical notes cover function learning from samples, neural solvers for partial differential equations, time-dependent problems, and generative models. Each task becomes a nonlinear minimization problem over a parameterized function space or a family of probability measures. That framing gives researchers a way to analyze whether minimizing a discrete training loss recovers a solution of the intended continuous problem.

A common language for approximation

Classical finite element analysis separates several sources of error: the continuous formulation, its discretization, the finite-dimensional approximation space, and the numerical optimization method. A convergence proof must show that these pieces remain compatible as the mesh, sample set, or hypothesis space is refined.

Machine learning task Variational interpretation Main analytical risk
Function learning Empirical minimization over a neural hypothesis space Sampling and approximation errors can separate empirical loss from population error
Physics-informed learning Discretization of a PDE variational principle A small sampled residual may provide weak control of the solution error
Evolution equations Time discretization combined with function approximation Explicit and implicit updates inherit different stability restrictions
Generative modeling Optimization of a functional over probability measures Convergence depends on the topology and compactness available for those measures

Gamma convergence provides one framework for connecting approximate functionals to a limiting functional. Its liminf condition prevents a sequence of approximations from achieving an artificially low limiting energy. Its limsup condition requires a recovery sequence whose approximate energies approach the correct continuous value.

Convergence of minimizers also requires compactness or an equivalent equicoercivity condition, which prevents minimizing sequences from escaping the admissible space. Under the appropriate assumptions, cluster points of approximate minimizers solve the limiting problem, and the minimum values converge. These qualifications matter because Gamma convergence alone does not establish that stochastic gradient descent finds a global minimizer.

Makridakis develops the related notion of discrete variational stability for neural approximations. The goal is to identify conditions under which discrete neural minimizers converge to minimizers of the continuous variational problem. A useful result must connect the loss to a meaningful error norm while accounting for approximation, sampling, quadrature, and optimization errors.

Why sampled residuals can fail

Physics-informed neural networks commonly minimize a squared PDE residual at collocation points. This produces a least-squares variational problem, but its conditioning and stability can be weaker than those of suitable Ritz or Galerkin formulations. A network may fit the sampled residual while retaining substantial error between sample points, near singularities, or in norms that the objective does not control.

Conservation laws add another difficulty because they can admit multiple weak solutions. The differential equation and consistency of the discretization may be insufficient to select the physically admissible solution. Numerical schemes often encode an entropy condition or numerical dissipation that determines which weak solution appears in the limit.

Central and upwind schemes for Burgers equation, showing oscillations, shock capture, and convergence to different weak solutions
Examples from the notes show how discretization choices affect shock capture and weak-solution selection for Burgers-type equations.

In the Burgers equation examples, a central scheme oscillates near a shock, while an upwind scheme captures the discontinuity more cleanly. For a nonconvex flux, consistent schemes can converge to different weak solutions. Neural residual minimization faces the same selection problem when its objective fails to encode the required admissibility condition. The absence of a visible mesh does not remove the underlying discretization, since collocation points, quadrature rules, network classes, and regularizers all shape the computed solution.

Loss design through coercivity

The notes use variational analysis to guide objective design. Their worked example is the Helmholtz equation, a model of time-harmonic wave propagation that becomes difficult at high frequencies because its standard variational form is indefinite and numerical errors can grow with the wave number.

Makridakis discusses strongly coercive variational principles for Helmholtz problems, drawing on companion work with T. Pryer. Coercivity means that the functional controls an appropriate norm of the error: moving away from the solution incurs a quantifiable increase in the objective. This property can support stable finite element and neural approximations, provided the discrete spaces, quadrature, boundary conditions, and optimizer preserve the assumptions used in the analysis.

The broader design principle applies across the topics in the notes:

  • Function learning: relate empirical minimization to a population functional and track sampling, approximation, and optimization errors separately.
  • PDE solvers: choose residual, Ritz, or Galerkin formulations according to the stability and regularity available for the equation.
  • Time-dependent problems: analyze the stability restrictions inherited from explicit or implicit time discretization.
  • Generative models: specify the functional, the probability-measure topology, and the compactness needed for convergence.

The proof obligations

A developer evaluating a neural variational method can turn the framework into a concrete audit of the training objective:

  1. Identify the continuous functional. State the problem that the loss is intended to approximate and the space in which its solution lives.
  2. Check solution selection. For problems with multiple weak solutions, specify the entropy, boundary, or admissibility condition encoded by the method.
  3. Establish error control. Determine whether the objective is coercive or otherwise bounds a useful norm of the solution error.
  4. Analyze discretization. Verify that collocation, sampling, and quadrature converge to the intended continuous functional.
  5. Track model capacity. Show that the neural hypothesis spaces can approximate the relevant solution class as their capacity grows.
  6. Separate optimization error. Quantify how closely training approaches the discrete minimum assumed by the convergence theory.
  7. Test conditioning. Measure how frequency, time step, network size, and penalty parameters affect the numerical problem.

These checks explain why a low reported loss can coexist with a poor solution. The loss may approximate the wrong functional, omit an admissibility condition, control an unsuitable norm, undersample important regions, or remain far above the discrete minimum required by the theory.

Release scope

The release contains no code repository, trained model, or benchmark dataset. Its contribution is a theoretical framework, closer to monograph notes than an experimental paper. The Burgers and Helmholtz discussions offer the most direct guidance for neural PDE solvers because they connect objective design with conditioning, convergence, and solution selection.

For researchers building neural numerical methods, the central practical question is whether the training loss forms a stable discretization of a well-posed variational principle. Makridakis’s notes supply terminology and proof techniques for answering that question while keeping discretization, approximation, sampling, and optimization errors distinct.