---
title: "Training Neural Networks for and by Interpolation — Berrada 2020"
description: "Training Neural Networks for and by Interpolation explains how ALI-G uses each batch’s loss and gradient to set the next learning rate."
canonical: "https://research.elamur.ai/free/en/papers/berrada-2020-training-neural-networks-interpolation/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/berrada-2020-training-neural-networks-interpolation/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / Training Neural Networks for and by Interpolation

# Training Neural Networks for and by Interpolation

Paper · 2020 · Leonard Berrada, Manish Kumar and Andrew Zisserman

**Authors:** [Leonard Berrada](https://md.research.elamur.ai/free/en/authors/leonard-berrada/), [Manish Kumar](https://md.research.elamur.ai/free/en/authors/manish-kumar/) and [Andrew Zisserman](https://md.research.elamur.ai/free/en/authors/andrew-zisserman/) · **Year:** 2020 · **Venue:** International Conference on Machine Learning · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**21** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2952255365|W3035303608) · [Cited by **5** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/berrada-2020-training-neural-networks-interpolation/cited-by/) · [International Conference on Machine Learning](https://openalex.org/S4306419644) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1906.05661)
- [arXiv 1906.05661](https://arxiv.org/abs/1906.05661)
- [OpenAlex](https://openalex.org/W3035303608)

Citations: OpenAlex, 2026-10-14.

## Summary

Training a neural network with stochastic gradient descent involves deciding how far to move in the direction indicated by each batch of examples. That distance depends on a learning rate, which practitioners frequently adjust over the course of training. Designing a schedule can take several attempts, even when the network and the data are already chosen. The authors ask whether the training loss itself can supply enough information to make that decision. They focus on interpolation, the setting in which a single set of network weights can give every training example a loss close to zero at the same time.

Their algorithm, Adaptive Learning-rates for Interpolation with Gradients, or ALI-G, computes the loss and its gradient on the current sample or batch. It uses the gradient to estimate how far a step would have to go for the loss to reach zero if the local slope stayed the same. It then limits the resulting learning rate with a fixed ceiling. The network still moves in the direction of the negative stochastic gradient. The ceiling controls how aggressively the algorithm can act on the local estimate, and the estimate can change from batch to batch without a prescribed schedule. Regularization can be imposed by projecting the updated weights back into an allowed region.

The paper proves convergence under several convex assumptions, including when every example retains a small loss at the optimum. It also explains why the ceiling can matter even when the zero-loss target is exact. The authors construct a non-convex objective on which the uncapped rule repeatedly jumps between the same points. They prove convergence with a suitable cap for a class of smooth objectives whose gradients have a sufficiently strong component pointing away from the shared minimizer.

In the experiments, ALI-G is among the strongest optimizers for a neural computer learning to copy a string. It reaches 98.1% test accuracy on SVHN and 84.8% test accuracy on Stanford Natural Language Inference with cross-entropy. On CIFAR, its test accuracy is generally close to that of stochastic gradient descent with a manually designed schedule, and its results exceed those of AMSGrad, AdamW and Yogi in the reported comparisons. The ImageNet experiment examines training performance under a setup chosen to support interpolation. ALI-G reaches 99% top-5 training accuracy in 12 epochs. Together, the results show where a fixed ceiling can replace a manually decayed schedule and where the evidence concerns fitting the training data alone.

## Deep dive: Training Neural Networks for and by Interpolation

Training Neural Networks for and by Interpolation explains how ALI-G uses each batch’s loss and gradient to set the next learning rate. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Direction and distance are different decisions

A supervised learning objective measures how much error a network makes on its training examples. Each example contributes a loss, a numerical penalty for the network’s current prediction. Training adjusts the weights to reduce the average penalty. The average combines contributions from many examples, and each contribution can depend on a large number of weights. In deep networks, the resulting objective is generally non-convex, so even a direction that is favorable at the current point can take the weights somewhere unfavorable if the step is too large.

Stochastic gradient descent, abbreviated SGD, makes each update affordable by estimating the gradient from a sample or a batch. The gradient is a vector of local slopes. Its negative gives the direction of steepest immediate decrease for the loss being differentiated, measured in the usual Euclidean geometry. The learning rate multiplies that vector. A useful direction gives the optimizer a way to move, while the learning rate determines how much to trust that direction at the current scale. An update that looks promising in a local approximation may behave quite differently once the weights have moved.

The authors describe a practical tension in earlier supervised learning experiments. SGD often generalized well, meaning it performed well on examples held out from training. Its learning rate commonly depended on a manually chosen schedule. Choosing a schedule entails deciding the starting rate and how it should change as training progresses. An adaptive optimizer can replace parts of that design with quantities measured during training. The authors report that popular adaptive gradient methods had frequently performed worse on held-out data in earlier comparisons. Their design question was whether to preserve SGD’s gradient direction and automate the choice of a single multiplier.

This distinguishes ALI-G from the family represented by AdaGrad and AMSGrad. The questions the paper asks about that family concern both convenience and generalization. An adaptive method can offer a simple interface for setting its principal learning rate while using a different transformation of the gradient inside the optimizer. ALI-G uses the ordinary stochastic gradient in its core update and changes how its scalar multiplier is chosen. The authors use familiar adaptive optimizers as experimental baselines, including [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/).

#### What a known loss target provides

The paper’s starting point is the Polyak step size. Suppose the optimizer knows the lowest achievable value of the full training objective. At the current weights it can measure how much loss remains above that value and how quickly the loss is decreasing along the negative gradient. The ratio of the loss gap to the squared gradient norm gives a multiplier. If the loss continued to fall at the current slope, a step with that multiplier would land at the target value. The calculation uses information that a manually scheduled learning rate has no need to consult.

Two difficulties arise in transferring this rule to neural network training. Evaluating the full objective and its gradient for every update can be prohibitively expensive, particularly when the training procedure generates many variations of the data through augmentation. Some earlier stochastic extensions sampled the gradient but still needed evaluations of the full objective. A second difficulty is that a local slope can be a poor guide to a large step on a non-convex objective. Even access to the exact current loss and the exact minimum leaves that geometric problem intact.

Interpolation offers a way around the first difficulty. If a common feasible set of weights gives every example zero loss, then zero is also the target for any batch drawn from those examples. The paper uses this stronger information about the individual losses to make the step-size decision locally. Knowing only that the average objective attains some positive minimum would tell the optimizer much less about what target to use for the examples in a particular batch. The difference matters because it is the batch’s loss that will determine the next learning rate.

The paper describes earlier analyses that used interpolation to explain when SGD converges. In those studies the assumption helps account for the behavior of an existing optimizer. Here it is also part of the design of the optimizer itself. The authors discuss earlier work that uses interpolation to analyze a new acceleration method whose experiments still employ a manually designed schedule. They also discuss stochastic line search under interpolation. A line search tests possible step lengths, and the paper describes that approach as offering guarantees under weaker assumptions at the cost of more settings to tune.

#### Related update rules

Several methods already used ideas close to the one the authors pursued. L4 adapts a Polyak-style step by maintaining an online estimate of the target loss. Its estimate brings along its own parameters, which the authors describe as sensitive to noise. ALI-G uses zero as its target because the losses are non-negative and the training problem is assumed to interpolate, at least approximately. The paper’s comparison is therefore partly about how much information the training setup supplies before optimization begins. A sufficiently good target can eliminate the need to estimate it on the fly.

The truncated version of aProx is related through the local approximation solved at each update. The authors emphasize differences in the analysis and training setup. Their account of aProx describes a decaying ceiling and results for convex problems. ALI-G tests a fixed ceiling on varied neural network tasks and studies how a small residual loss changes its convex guarantees. The authors also draw a connection to Deep Frank-Wolfe. With the relevant unconstrained hinge-loss setup the procedures coincide, while ALI-G formulates its update for non-negative losses more generally and gives convergence guarantees for the convex settings it analyzes.

These connections locate the contribution in the choice of target, the use of stochastic information and the fixed cap. A current loss carries more information when the optimizer knows approximately how low that very loss can go. A capped update reflects the separate judgment that a single slope measurement has limited value over a long distance. The paper gives those judgments distinct roles in the algorithm and in its convergence arguments.

### The method, step by step

#### From a batch loss to a step

Start with a set of network weights. Draw training examples and compute the loss they incur at those weights. Differentiate that same loss with respect to the weights. The optimizer now has a height and a slope. The height is how far the batch loss sits above zero, and the slope specifies how the loss initially changes as the weights move. When the same weights can fit the examples together, zero supplies a common target for these local calculations.

Imagine following the negative gradient while temporarily treating the current slope as constant. The linear prediction of the loss decreases as the optimizer moves. ALI-G calculates a multiplier that would bring this prediction to zero, with a small denominator correction for numerical stability. The calculation has a closed form, meaning it can be evaluated directly from the loss and the gradient. The optimizer need not try several proposed weights and recompute their losses to choose among them.

The optimizer compares that multiplier with a fixed maximum and uses the smaller value. When the estimate calls for a cautious update, the estimated rate determines the step. When it calls for a more aggressive update than the cap permits, the cap determines the step. The latter case gives the same basic gradient move as SGD run at that capped rate. The ceiling remains in place throughout training even though the actual rate can change at every update.

The result is then projected onto the feasible region for the weights. Projection chooses the nearest allowed point in Euclidean distance. With the norm constraint considered in the paper, weights already inside the allowed ball stay where the gradient step put them. Weights outside the ball can be rescaled to reach its boundary. In an unconstrained experiment the projection simply returns its input.

How ALI-G computes each training update The steps in order.

#### The objective and the interpolation assumption

The paper writes the objective as an expectation. This notation lets it describe both the training objective and an update based on a randomly drawn example.

```
f(w) = E_z[ℓ_z(w)]
```

Here `w` is the vector of network weights, `f` is the training objective, `z` indexes a training example, and `ℓ_z(w)` is the loss from that example at `w`. The operator `E_z` averages over the distribution used to draw `z`. Each individual loss is assumed to be non-negative. The paper gives cross-entropy, hinge losses and regression losses as examples of functions with this property.

The authors put the regularization requirement in the set of allowed weights. This arrangement makes it possible for the prediction loss to approach zero inside that set, even when the weights have a non-zero norm.

```
Ω = {w ∈ ℝᵖ ∣ φ(w) ≤ r}
```

Here `Ω` is the feasible region, `ℝᵖ` is the space of real vectors with `p` coordinates, and `w` is such a vector. The function `φ` measures the property of the weights being constrained, and `r` sets its upper limit. The vertical bar means that membership is conditional on the inequality that follows it. The authors consider constraints onto which a Euclidean projection is computationally practical. A bound on the squared Euclidean norm is their main example.

```
w⋆ ∈ argmin_{w ∈ Ω} f(w)
```

Here `w⋆` denotes a solution, `argmin` returns the weights that attain the lowest objective value, and the subscript restricts the search to `w` in `Ω`. The function `f` is the expected training loss. The paper denotes its value at a solution by `f⋆`.

```
∀ z ∈ Z, ℓ_z(w⋆) = 0
```

The symbol `∀` means that the statement holds for every `z` in the set of training indices `Z`. The function `ℓ_z` measures loss on that example, and `w⋆` is the same feasible solution for the entire statement. Zero is the lower bound on each loss. In this training setting, having zero average loss means that the contributing losses are all zero because their values cannot cancel one another.

```
∀ z ∈ Z, ℓ_z(w⋆) ≤ ε
```

Here `∀` again applies to every training index `z` in `Z`. The loss of each example at the common solution `w⋆` must be at most `ε`, a non-negative interpolation tolerance. This is a requirement on the individual losses. A small average alone would leave open the possibility that particular examples retain much greater losses. The algorithm uses zero in either case. The tolerance enters the analysis and quantifies a possible error in that choice of target.

#### From the Polyak rule to ALI-G

In the full-objective setting, the original rule has a numerator equal to the loss remaining above the optimum.

```
γ_t = (f(w_t) − f⋆) / ‖∇f(w_t)‖²
```

The symbol `γ_t` is the learning rate at iteration `t`, and `w_t` is the weight vector at that iteration. The quantity `f(w_t)` is the current full objective, and `f⋆` is its minimum attainable value. The symbol `∇f(w_t)` denotes a gradient, or a subgradient in the applicable nonsmooth setting. A subgradient plays the role of a local linear slope for a convex function that may have a corner. The bars denote the Euclidean norm, and the superscript squares it. The displayed quotient describes the step when the gradient in the denominator is non-zero.

Why the squared norm? Moving by a multiple of the negative gradient changes the linearized objective by that multiple times the negative squared norm. Equating that predicted change with the desired drop in loss gives the quotient. In the unconstrained case, the step travels to the nearest point where the linearized objective reaches the target. This is a statement about the current linear approximation. The actual function at those new weights can take a different value.

ALI-G takes a stochastic counterpart of that calculation and caps the result.

```
γ_t = min{ℓ_{z_t}(w_t) / (‖∇ℓ_{z_t}(w_t)‖² + δ), η}
```

Here `t` numbers the updates, `z_t` is the training example drawn at that update, and `w_t` is the current weight vector. The sample loss is `ℓ_{z_t}(w_t)`, and `∇ℓ_{z_t}(w_t)` is its gradient or subgradient. The squared Euclidean norm measures the magnitude of that vector. The small positive constant `δ` stabilizes the denominator, and `η` is the maximum learning rate. The operator `min` selects the smaller of the calculated rate and the ceiling, and `γ_t` is the rate it returns. The algorithm describes independent draws from the same distribution. The experimental implementations also use batches, where the loss and gradient come from the batch being used for the update.

```
w_{t+1} = Π_Ω(w_t − γ_t ∇ℓ_{z_t}(w_t))
```

The symbol `w_{t+1}` denotes the next weights, and `w_t` denotes the current weights. The optimizer subtracts the sample gradient `∇ℓ_{z_t}(w_t)` scaled by `γ_t`. The operator `Π_Ω` projects the result onto `Ω`, the feasible region. With the unconstrained version, the negative gradient and the rate determine the entire move. With a constraint, the projection can further change the proposed weights.

The uncapped variant is called ALI-G∞. Its learning rate comes directly from the stabilized quotient, so there is no ceiling to cross-validate. The paper still distinguishes the numerical constant in the algorithm from the learning-rate parameter. A flat gradient also illustrates the difference between calculating a rate and moving the weights. With the stabilizing constant in the denominator, the quotient can be evaluated at a zero gradient, and multiplying the gradient by the resulting rate produces a zero move. In the idealized proximal derivation the authors take the constant to be zero and handle a zero gradient separately.

Some experiments add Nesterov momentum. Momentum introduces a velocity that carries information from earlier updates into the current move. In the paper’s notation the scalar update rule feeds the velocity, and the projection is applied to the resulting parameter proposal.

```
v_t = μv_{t−1} − γ_t ∇ℓ_{z_t}(w_t)
```

Here `v_t` is the velocity for the current iteration `t`, and `v_{t−1}` is the preceding velocity. The coefficient `μ` determines the contribution of the preceding velocity. The rate `γ_t` scales the gradient of the loss `ℓ_{z_t}` at the current weights `w_t`.

```
w_{t+1} = Π_Ω(w_t + μv_t)
```

Here `w_{t+1}` and `w_t` are the next and current weight vectors, `μ` is the momentum coefficient, and `v_t` is the velocity just calculated. The operator `Π_Ω` projects the proposal into the feasible region `Ω`. The convergence results discussed below concern the basic update. Momentum belongs to the experimental configurations in which the authors say they use it.

#### Why the cap arises from a local optimization problem

The paper gives another explanation for the minimum of the two rates. Consider a candidate weight vector near the current one. The optimizer can score it by combining a penalty for moving with a linear prediction of its loss. A quadratic movement penalty makes larger displacements increasingly expensive, and its scale determines how readily the optimizer moves in response to the local slope. This construction is called a proximal problem.

```
L_t(w) = ℓ_{z_t}(w_t) + ∇ℓ_{z_t}(w_t) · (w − w_t)
```

Here `L_t(w)` is the linear prediction for candidate weights `w`, and `t` is the update index. The first term is the sampled loss at the current weights `w_t`. The second term takes the dot product, marked by `·`, of the sampled gradient and the displacement from `w_t` to `w`. This is the first-order approximation used in the proximal argument.

```
w_{t+1} = argmin_{w ∈ ℝᵖ} {‖w − w_t‖² / (2η_t) + L_t(w)}
```

This expression describes the unconstrained SGD update. The operator `argmin` chooses the candidate `w` in the real parameter space `ℝᵖ` that minimizes the expression in braces. The first term prices the squared distance from the current weights `w_t`, using the rate `η_t` for that update. The second term is the linearized loss `L_t(w)`. The minimizer is the next weight vector `w_{t+1}`.

```
w_{t+1} = argmin_{w ∈ ℝᵖ} {‖w − w_t‖² / (2η) + max{L_t(w), 0}}
```

This expression describes the unconstrained ALI-G update with `δ`, the numerical correction, set to zero. The candidate `w` again ranges over `ℝᵖ`, and `argmin` returns the minimizing candidate as `w_{t+1}`. The norm term prices the squared movement from `w_t`, with the constant cap `η` setting the scale. The operator `max` picks the greater of the linearized loss `L_t(w)` and zero.

The truncation at zero is what gives the local problem a stopping point. If a move made at the capped rate still leaves the linear prediction above zero, the optimum of the local problem uses the capped rate. If that move would put the prediction below zero, the predicted loss ceases to reward any additional travel once the candidate reaches the zero boundary. The movement penalty then favors stopping at the boundary. In either case the optimizer can calculate the answer from the current loss and gradient.

The appendix makes this argument precise using a single scalar in the dual problem, an equivalent way to express the local minimization. In the notation below, the scalar is the fraction of the capped rate that the update uses.

```
ν = min{l_t / (η‖d_t‖²), 1}
```

Here `ν` is the maximizing scalar from the dual calculation, `l_t` is the current sampled loss, and `d_t` is its non-zero gradient. The denominator combines the constant ceiling `η` with the squared Euclidean norm of `d_t`. The operator `min` keeps `ν` at or below `1`. Non-negative loss keeps it at or above zero. Multiplying `ν` by `η` gives the ALI-G rate with the stabilizing term omitted. Thus the cap has an interpretation inside the local optimization problem as well as a role in the convergence analysis.

#### What the convergence arguments control

For convex losses, the proof starts by tracking squared distance to a feasible optimum. Euclidean projection onto a convex set can only improve the distance bound relative to the unprojected proposal. Convexity also relates the current sample gradient to the gap between the current sample loss and its value at the optimum. Combining those observations with the formula for the rate leads to an inequality that exposes the two effects of the update.

```
‖w_{t+1} − w⋆‖² ≤ ‖w_t − w⋆‖² − γ_t(ℓ_{z_t}(w_t) − ℓ_{z_t}(w⋆)) + γ_tℓ_{z_t}(w⋆)
```

Here `w⋆` is an optimum, and `w_t` and `w_{t+1}` are the current and next weight vectors. The bars denote Euclidean distance through the norm, with the distances squared. The non-negative multiplier `γ_t` is the ALI-G rate. The loss `ℓ_{z_t}` is evaluated at the current weights and at the optimum for the same sampled index `z_t`. The term subtracted on the right involves their loss difference. The final term measures the effect of any residual sample loss at `w⋆`.

With perfect interpolation, that final term vanishes and the sample loss gap is non-negative. With approximate interpolation, the proof has to account for an optimum of the average objective that may leave a residual loss on an individual example. The appendix treats updates where the cap is active separately from those where the calculated rate is used. It accumulates the resulting inequalities over time, then uses the sampling assumption to translate progress on random examples into statements about the objective. In the convex Lipschitz and smooth convex cases, the guarantee concerns the objective evaluated at the average of the iterates. The strong convexity results instead address the expected objective at the last iterate.

For the uncapped method with convex Lipschitz losses, the main theorem makes the residual dependence explicit.

```
E[f((1 / (T + 1)) Σ_{t=0}^T w_t)] ≤ ‖w_0 − w⋆‖√(C² + δ) / √(T + 1) + ε√(C² / δ + 1)
```

Here `E` averages over the sampling in the algorithm, `f` is the training objective, and `Σ` sums the iterates `w_t` from the initial iterate `w_0` through the iterate indexed by `T`. The factor before the sum turns it into the average weight vector. The solution is `w⋆`, and `‖w_0 − w⋆‖` measures the initial distance to it. The Lipschitz constant `C` bounds how quickly an individual loss can change, `δ` is the positive numerical constant, and `ε` bounds the individual losses at the optimum. The square roots apply to the quantities indicated. The first term shrinks as the run length grows. The second term records the cost of using zero as the target when the common optimum may retain a small loss.

The paper also studies smooth losses, for which the gradient changes at a bounded rate, and strongly convex losses, which rise away from a minimizer with a quadratic lower bound. For perfect interpolation, the appendix gives the respective orders of convergence for convex Lipschitz, smooth convex, and smooth strongly convex losses as follows.

```
O(1 / √T)
```

Here `O` describes the order of the bound as the iteration index `T` grows. This rate is for the objective gap at the averaged iterates in the convex Lipschitz setting.

```
O(1 / T)
```

Here `O` again denotes the order in the iteration index `T`. This rate is for the objective gap at the averaged iterates with smooth convex losses.

```
O(exp(−kT))
```

Here `O` denotes order, `exp` is the exponential function, `k` is a positive constant, and `T` is the iteration index. The rate concerns the expected last-iterate objective gap when the losses are smooth and strongly convex. The authors distinguish small ceilings from large ones in their detailed bounds. A small ceiling can slow progress, while the large-ceiling regimes in the convex analysis can include the uncapped method.

The non-convex argument uses a different condition, the Restricted Secant Inequality, or RSI. It requires the gradient to have a sufficiently strong component along the displacement from a minimizer.

```
∀ w ∈ ℝᵖ, ∇φ(w) · (w − w⋆) ≥ α‖w − w⋆‖²
```

Here `∀` applies to every parameter vector `w` in the real space `ℝᵖ`. In this definition `φ` denotes a differentiable function being tested for RSI, and `w⋆` is a minimizer of that function. The dot product measures the alignment of its gradient `∇φ(w)` with the displacement from the minimizer, while the right side scales the squared displacement by the positive constant `α`. Reversing the gradient direction gives a component toward the minimizer. Smoothness and a suitably chosen cap then help turn that favorable component into a contraction of the squared distance. The appendix bounds the objective gap at the last iterate by an exponentially decaying term when the assumptions and rate give a positive decay constant. The result assumes unconstrained weights, a shared exact zero-loss solution and the specified conditions on every individual loss.

### Experiments and results

#### How the comparisons were set up

The experimental program asks how well the rule minimizes a training objective, how well the resulting networks perform on held-out data, and how much the optimizer depends on its learning-rate setting. Different tasks answer different parts of that question. The string-copying experiment measures the achieved objective and its sensitivity to the initial rate or cap. The SVHN, inference and CIFAR comparisons report classification accuracy on test sets. A separate CIFAR experiment compares training objectives, and ImageNet provides a larger training-scale demonstration.

The authors make their implementation and reproduction code available. They use the official Differentiable Neural Computer implementation for the copying experiment. For L4, they use the official TensorFlow implementation in the TensorFlow experiment and test their PyTorch implementation against it for the PyTorch experiments. They also use the official Deep Frank-Wolfe implementation and reuse its experimental code for the inference and CIFAR comparisons. SVHN and the wide residual network experiment on CIFAR-100 are among the tasks the paper identifies in the DeepOBS optimizer benchmark.

The copying experiment runs on a 12-core CPU. The SVHN, inference and CIFAR experiments each use a single GPU, while the ImageNet experiment uses up to 4 GPUs. The authors describe the methods as having roughly the same cost per iteration. The figures emphasize progress over steps or epochs. Their argument about iteration cost explains why faster progress on those axes could carry through to elapsed time, while the results themselves primarily show objective values and accuracy.

#### Copying a string with a Differentiable Neural Computer

A Differentiable Neural Computer is a recurrent network designed to learn how to perform a computing task from examples. Here it receives a fixed-size string and learns to copy it repeatedly. The rule to be learned is straightforward to state, while the network’s architecture makes optimization demanding enough to compare several training algorithms.

The authors vary the main learning-rate setting for each optimizer and examine the final training objective after 10k steps. Most methods use powers of ten in the sweep described in the paper. For the L4 variants, the authors instead vary their main adaptation parameter, which is defined on a different scale. They clip gradient norms for the other tested methods and omit that intervention for ALI-G, L4 Adam and L4 Mom. Gradient clipping limits the size of the gradient itself, whereas the ALI-G ceiling limits the scalar that multiplies the gradient. This distinction matters when interpreting a sensitivity comparison across the optimizer configurations.

ALI-G reaches a final objective of 4.10⁻⁸ and gives accurate optimization for a reported range of ceilings from 10⁻¹ to 10⁶. RMSProp and the L4 variants also achieve low objectives over broad settings in this experiment. The paper describes ordinary SGD, momentum SGD and Adam as more sensitive to their principal learning-rate choices on this task. The authors attribute the lack of a meaningful separation among the strongest final objectives to the limits of single-precision arithmetic. The strongest evidence here is the range over which ALI-G works, alongside its ability to reach the bottom of the useful numerical scale.

#### Street View House Numbers

The SVHN dataset includes 73k examples in the main training partition, 26k test examples and 531k additional easier examples. The authors take 6k examples from the main training partition for validation and train on a reported total of 598k examples after including the additional data. The network is the 16-4 configuration described in [Wide Residual Networks](https://md.research.elamur.ai/free/en/papers/zagoruyko-2016-wide-residual-networks/).

All optimizers train for 160 epochs with dropout set to 0.4. Dropout is a training procedure that suppresses a randomly chosen portion of activations, and the rate controls that intervention. SGD uses the schedule from the architecture paper. SGD, BPGrad and ALI-G use Nesterov momentum with a coefficient of 0.9. The authors choose the ALI-G norm limit to be 50. For the other optimizers, they cross-validate the regularization coefficient in {0.0001, 0.0005}. The learning-rate searches are also optimizer-specific. For example, the L4 variants are tested with adaptation parameters in {0.0015, 0.015, 0.15}.

The results cluster near 98% test accuracy for most of the optimizers. ALI-G records 98.1%, as do BPGrad and Deep Frank-Wolfe. SGD reaches 98.3% in the paper’s comparison, while the architecture paper’s reported SGD result is 98.4%. L4 Adam reaches 98.2%. Its momentum-based counterpart ends at 19.6% test accuracy, and the authors report that training with it failed to converge despite validation of its main setting.

Optimizer comparison on SVHN test accuracy Most optimizers reach similar test accuracy, while L4 Mom fails to converge in this setup.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| AdaGrad | 98.0 |
| Deep Frank-Wolfe | 98.1 |
| L4 Adam | 98.2 |
| L4 Mom | 19.6 |
| ALI-G (this paper) | 98.1 |
| SGD with a manual schedule | 98.3 |
| Previously reported SGD | 98.4 |

This experiment shows ALI-G approaching the test accuracy of scheduled SGD on a task where some other adaptive methods approach it as well. It also gives a concrete case where the robustness of L4 Mom on the copying objective does not carry over to a different network and dataset.

#### Natural language inference

The Stanford Natural Language Inference dataset, or SNLI, consists of 570k pairs of sentences. Each pair has a label indicating entailment, contradiction or a neutral relationship. The network must decide what relationship holds for a particular pair. The paper trains a bidirectional long short-term memory network, abbreviated Bi-LSTM, with 47M parameters. Some baseline figures come from the earlier Deep Frank-Wolfe protocol. The dataset is introduced in [the SNLI corpus paper](https://md.research.elamur.ai/free/en/papers/bowman-2015-large-annotated-corpus-learning-natural/).

Training runs for 20 epochs. The setup omits squared-norm regularization, following the earlier sentence-representation implementation. Scheduled SGD reduces its learning rate by a factor of 5 when validation accuracy ceases to improve. The ALI-G ceiling is selected from powers of ten, and the L4 adaptation parameter is cross-validated in {0.015, 0.15}. The authors report that allowing the smaller of those L4 settings improved convergence and performance compared with relying on the recommended value of 0.15. The implementation follows [Supervised Learning of Universal Sentence Representations from Natural Language Inference Data](https://md.research.elamur.ai/free/en/papers/conneau-2017-supervised-learning-universal-sentence-representations/).

The experiment evaluates cross-entropy and a multiclass hinge loss. Cross-entropy penalizes the network for assigning low probability to the recorded label. The hinge loss measures failures to give that label a sufficient score advantage. Deep Frank-Wolfe is evaluated with the hinge loss, and the table has no cross-entropy number for it. In this unconstrained hinge-loss configuration the paper treats Deep Frank-Wolfe and capped ALI-G as procedurally identical.

SNLI test accuracy with cross-entropy by optimizer Capped ALI-G has the highest reported test accuracy in the cross-entropy comparison.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| AdaGrad | 83.8 |
| Adam | 84.5 |
| AMSGrad | 84.2 |
| BPGrad | 83.6 |
| L4 Adam | 83.3 |
| L4 Mom | 83.7 |
| ALI-G∞ | 84.6 |
| ALI-G (this paper) | 84.8 |
| SGD with a manual schedule | 84.7 |

With the hinge loss, capped ALI-G, Deep Frank-Wolfe and scheduled SGD each reach 85.2% test accuracy. Adam reaches 85.0%, AMSGrad records 85.1%, and ALI-G∞ records 84.7%. The uncapped variant’s 84.6% test accuracy with cross-entropy is also close to that of scheduled SGD. Taken together, the two loss columns show a small benefit in recorded accuracy from tuning the cap for this experiment. They also show that ALI-G’s ability to work with cross-entropy broadens the comparison beyond the loss under which it shares the Deep Frank-Wolfe update.

#### Test accuracy on CIFAR

The CIFAR experiments cross the choice of dataset, CIFAR-10 or CIFAR-100, with the choice of network, a WRN 40-4 wide residual network or a bottleneck DenseNet 40-40. The authors use 45k examples for training and 5k for validation. They center and normalize the images by channel and augment them with random horizontal flips and crops. These experiments assess test accuracy after a shared training budget for each architecture. The wide residual networks train for 200 epochs and the DenseNets for 300 epochs.

The paper follows architecture-specific schedules for SGD. It cross-validates batch size in {128, 256, 512} for the wide residual network and {64, 128, 256} for DenseNet. ALI-G’s selected ceilings in practice come from {0.1, 1}. SGD, Deep Frank-Wolfe and ALI-G use Nesterov momentum with a coefficient of 0.9. The loss is cross-entropy for the optimizers other than Deep Frank-Wolfe, which uses a hinge loss. The authors give ALI-G a norm limit of 100 on the wide residual networks, 80 on DenseNet for CIFAR-10 and 75 on DenseNet for CIFAR-100. Other methods use their specified regularization protocols, including a validation search over weight decay for AdamW.

On CIFAR-10, ALI-G obtains 95.2% test accuracy with the wide residual network and 95.0% with DenseNet. Scheduled SGD obtains 95.3% and 95.1% on those respective architectures. For comparison, AdamW records 92.1% with the wide residual network and 92.6% with DenseNet. Deep Frank-Wolfe records 94.2% and 94.6%, respectively. The paper also includes a previously reported 95.4% SGD test result for the wide residual network.

The CIFAR-100 results depend more on the architecture. For the wide residual network, ALI-G reaches 75.8% test accuracy, Deep Frank-Wolfe reaches 76.0%, and scheduled SGD reaches 77.8%. The previous SGD result reported for that architecture is 78.8%. The DenseNet comparison has a different ordering. ALI-G and scheduled SGD tie at 76.3%, while Deep Frank-Wolfe records 73.2%. On both networks, ALI-G has higher test accuracy than AMSGrad, AdamW and Yogi.

Optimizer comparison on CIFAR-100 DenseNet test accuracy ALI-G matches scheduled SGD and leads the other adaptive methods in this DenseNet comparison.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| AMSGrad | 69.4 |
| AdamW | 69.5 |
| Yogi | 69.6 |
| Deep Frank-Wolfe | 73.2 |
| L4 Adam | 60.5 |
| L4 Mom | 62.6 |
| ALI-G (this paper) | 76.3 |
| SGD with a manual schedule | 76.3 |

Each CIFAR result in the main comparison averages three independent runs. For DenseNet on CIFAR-100, the test-accuracy standard deviations are 0.14 for ALI-G and 0.22 for scheduled SGD. On the wide residual network for the same dataset, they are 0.29 and 0.13, respectively. These numbers describe the spread of the runs. The means show that an equal result on one architecture can coexist with a lower result on another, even when all the runs take place within the same dataset comparison.

#### Training loss on CIFAR-100

A separate CIFAR-100 experiment asks which optimizer lowers the training objective most effectively when the objective is made comparable across methods. The authors disable squared-norm regularization, use the default batch size and select each optimizer’s learning-rate setting from powers of ten for its final training objective. SGD uses a constant rate in this comparison. This gives it a single learning-rate setting, as the other displayed optimizers have. The wide residual network still trains for 200 epochs and DenseNet for 300 epochs.

The displayed training curves compare ALI-G with SGD, Adam and AdaGrad. The authors report divergence for the L4 methods in this setup. Deep Frank-Wolfe is absent because of its loss restriction. A five-epoch moving average smooths the curves. According to the paper, the objective value ALI-G achieves is better than the baseline values by an order of magnitude. This result addresses how well the networks fit the training objective under a common tuning constraint. The separate test-accuracy experiment is the comparison in which SGD benefits from a manually designed schedule.

#### Fitting ImageNet at scale

The ImageNet experiment trains a ResNet-18 on 1.23M training images. The authors resize each image so its smaller dimension is 224 pixels and take a centered crop of 224 by 224. They center and normalize the crop using channel statistics from the training images. They omit data augmentation and use a truncated cross-entropy designed for top-k classification, with `k` set to 5 and temperature set to 1. Top-5 training accuracy asks whether the recorded label is among the network’s 5 highest-ranked predictions. The architecture comes from [Deep Residual Learning for Image Recognition](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/).

ALI-G trains with a batch size of 1024 distributed across 4 GPUs. Its maximum norm setting is 400 and its learning-rate ceiling is 10. This run omits momentum. The SGD comparison uses the hyper-parameters and learning-rate schedule from the residual-network work. ALI-G reaches 99% top-5 training accuracy in 12 epochs, earlier than SGD in the comparison, and the paper reports that its final training objective is as low as SGD’s. The experiment shows that the update can support a larger training run under a loss and data protocol chosen to make training interpolation feasible.

### What the ablations show

#### The ceiling addresses a failure of the local slope

The paper isolates the reason for capping the rate with a constructed scalar objective. The function is non-convex on the domain studied, meets the restricted secant condition there, and attains its minimum at zero. From the starting point used in the example, the uncapped Polyak rule moves to the opposite side of the minimum. By symmetry it takes a step of the same size back on the next update. The sequence alternates between −3/5 and 3/5. The gradients indicate a favorable local direction at the endpoints, but the rule turns those gradients into steps that repeatedly carry the iterate across the minimum.

This example uses a known exact target and the full gradient. Sampling noise and an error in the target therefore play no role in the failure. The quantity being tested is how much the optimizer trusts its estimate of distance from the local slope. The paper reports that ALI-G converges on the example when its ceiling is below 10. Its theoretical result gives a related argument under stated smoothness and alignment assumptions: suitable control of the rate makes a single step contract distance to the common optimum. The example establishes a possible failure of the uncapped rule even with favorable information about the target.

#### The uncapped variant on SNLI

SNLI provides the direct experimental comparison between capped ALI-G and ALI-G∞. Both use the current loss and its gradient to calculate a rate. The distinction is whether to impose a ceiling chosen by validation. With cross-entropy, the capped and uncapped versions record 84.8% and 84.6% test accuracy, respectively. With the hinge loss they record 85.2% and 84.7%. The cap improves the reported test result for both loss functions, while the uncapped variant remains competitive on this task without selecting a maximum learning rate.

This experiment gives an empirical counterpart to the theoretical discussion of the cap, with a different outcome from the oscillation example. In the constructed problem the uncapped update can fail outright. In SNLI the reported behavior is a modest difference in held-out accuracy between optimizers that both train successfully. The paper does not provide the step-by-step trace of when the ceiling is active in the SNLI runs, so the comparison gives the effect of offering a tuned cap without measuring which individual updates account for the difference. The cross-entropy and hinge columns further show that the observed result of adding a ceiling comes from both tested loss settings.

#### Sensitivity to a learning-rate choice

The string-copying sweep asks what happens when the main rate setting changes while the network and task stay fixed. For ALI-G, the optimizer can produce smaller rates from its quotient even if it is given an extremely permissive ceiling. A manual fixed learning rate directly controls every step until the training procedure changes it. The broad region of low loss in the ALI-G sweep is consistent with the quotient doing substantial work in choosing the actual update. The paper reports robust optimization for RMSProp and the two L4 methods as well, so the useful comparison encompasses several ways of adapting to the task.

The sweep also puts the difference between a good configuration and a forgiving configuration in view. A highly tuned setting can obtain a strong final objective even when nearby settings work poorly. Conversely, a broad range of useful settings makes it easier to find an acceptable run. Once several methods approach the numerical precision limit of the experiment, comparing their best reported objectives tells less about their practical behavior than inspecting how consistently their configurations reach low loss. The paper’s result supports that form of robustness for ALI-G on this copying task.

#### Comparing training objectives with a constant-rate baseline

The unregularized CIFAR-100 comparison changes the question asked by the main held-out evaluation. It gives SGD a constant learning rate, disables norm regularization and selects each method’s rate setting for its final training objective. In this setting, a better training trajectory can be attributed to the tested optimizer configurations without also having to account for different regularization objectives. The trend holds for the wide residual network and DenseNet. ALI-G reduces the training objective further than the displayed alternatives under these conditions.

This comparison helps explain the benefit of allowing the learning rate to respond to the loss and gradient during training. It leaves the larger scheduled-SGD comparison as a separate practical question. A schedule can itself vary the step over the course of training, so beating constant-rate SGD on this objective does not establish a corresponding improvement over every manually tuned schedule. Similarly, a lower cross-entropy training value and a higher test classification accuracy are distinct outcomes. The paper reports each in the experiment designed to measure it.

#### What approximate interpolation changes in the analysis

The authors compare the interpolation tolerance with stochastic gradient variance to clarify the assumption their results use. Variance describes how much individual gradients differ across sampled examples at a given point in the parameter space. A small interpolation tolerance describes how little loss each example retains at one common optimum. Gradients can disagree considerably during training even when the losses agree on a final solution. Conversely, gradients can show little variation without establishing that the individual losses can all approach zero.

The analysis therefore identifies a specific reason the batch loss can guide the learning rate. The batch and the full objective have a common approximate target, even if their gradients along the trajectory differ. The residual term in the convex bound indicates what happens to the guarantee as the quality of that target changes. The datasets do not supply a controlled test in which the authors vary the tolerance while leaving the rest of the experiment fixed. The evidence for this dependence comes from the proof.

### Limitations

#### Limits the authors identify

The non-convex guarantee assumes perfect interpolation. It also assumes an unconstrained problem and a class of smooth individual losses satisfying the restricted secant condition around the shared optimum. The authors leave open whether a similar result can be established with a positive residual tolerance for the individual losses. A network trained with a positive residual loss is closer to the situation that motivated the method, but the paper’s result for that case is in the convex analysis.

Exact interpolation can be unrealistic for cross-entropy. The paper points out that attaining an exact zero can require infinite weights. The convex results allow a small tolerance and show terms that depend on it. Those terms can persist even after the part of the bound due to the finite run has shrunk. The relevant guarantee is then control of the error under the specified assumptions, with the quality of the approximate interpolation affecting how informative that control is.

The paper also leaves non-interpolating problems as future work. The authors propose investigating whether the target objective could be adapted online with few hyper-parameters. That direction would have to recover information that ALI-G currently gets from the assumption of a common near-zero loss. The paper notes a related practical constraint in the copying experiment, where the strongest methods reach the numerical precision limit. Its reported final objectives cannot reliably order the methods within that group.

#### Limits visible in the experimental design

The fixed ceiling removes a schedule from the core learning-rate rule, while the complete training setups still contain choices. The authors choose or cross-validate ceilings, batch sizes and regularization settings, and use momentum and dropout in some experiments. The same count of learning-rate hyper-parameters can therefore describe experiments with different overall tuning effort. The paper reports which choices were made and, in the copying experiment, how sensitive the objective is to them. It does not measure the total work needed to tune every training setup.

The theory explains how the negative gradient can lead to convergence under specific assumptions. The experiments supply the evidence about generalization. Several comparisons change other parts of the training recipe across optimizers, including the form of regularization and, for Deep Frank-Wolfe, the loss. These are comparisons between configured training procedures. They cannot isolate the entire difference in test accuracy as an effect of the gradient direction or learning-rate rule alone. The contrast between the CIFAR-100 architectures also qualifies a broad claim of parity with SGD. The DenseNet means tie, while scheduled SGD leads the wide residual network comparison.

The ImageNet protocol is tailored to obtaining low training loss, with a top-5 objective and centered crops in place of an augmented training pipeline. Its accuracy figure is a training measurement. It supplies evidence about scale and optimization for that setup, while leaving held-out ImageNet performance and augmented training unanswered. The paper’s similarity claim about per-iteration costs likewise provides context for reading the curves, without supplying an elapsed-time comparison across all the reported tasks.

Finally, a low training objective in a finite run gives a different kind of evidence from a uniform bound on all individual losses at a common optimum. The main experiments report objectives or accuracies, and the convex theory assumes a loss tolerance that applies to every individual training example. The experimental measurements do not establish the hypotheses of that theorem for the neural networks. The analysis and the experiments meet at a more limited claim: using zero as the target can work well in the reported setups, and the proofs explain its behavior for specific classes of loss.

### What came after

A later work that cites the paper is [UORA: Uniform Orthogonal Reinitialization Adaptation](https://md.research.elamur.ai/free/en/papers/zhang-2025-uora-uniform-orthogonal-reinitialization-adaptation/). Its title places it in parameter-efficient fine-tuning and identifies uniform orthogonal reinitialization as its subject. That focus concerns how an adaptation is initialized, while ALI-G concerns how far a gradient update moves after training has begun.

The citation establishes a connection between the works. The information available about UORA leaves the nature of that connection unspecified. It does not establish whether UORA uses ALI-G as an optimizer, adapts its capped step-size rule, or cites the interpolation analysis for background. The documented continuity ends with the citation.

## Cite

Cite as Leonard Berrada, Manish Kumar and Andrew Zisserman. 2020. Training Neural Networks for and by Interpolation. International Conference on Machine Learning.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{berrada2020training,
  title = {{Training Neural Networks for and by Interpolation}},
  author = {Leonard Berrada, Manish Kumar and Andrew Zisserman},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  eprint = {1906.05661},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.05661}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
