Skip to main content
QUICK REVIEW

[Paper Review] Do We Need Zero Training Loss After Achieving Zero Training Error?

Takashi Ishida, Ikko Yamane|arXiv (Cornell University)|Feb 20, 2020
Quality and Safety in HealthcareHealth Professions55 references61 citations
TL;DR

The paper proposes flooding, a regularization technique that keeps training loss around a small flood-level value using a simple |J(θ)−b|+b objective, which can improve generalization and induce a double descent in test loss.

ABSTRACT

Overparameterized deep networks have the capacity to memorize training data with zero \emph{training error}. Even after memorization, the \emph{training loss} continues to approach zero, making the model overconfident and the test performance degraded. Since existing regularizers do not directly aim to avoid zero training loss, it is hard to tune their hyperparameters in order to maintain a fixed/preset level of training loss. We propose a direct solution called \emph{flooding} that intentionally prevents further reduction of the training loss when it reaches a reasonably small value, which we call the \emph{flood level}. Our approach makes the loss float around the flood level by doing mini-batched gradient descent as usual but gradient ascent if the training loss is below the flood level. This can be implemented with one line of code and is compatible with any stochastic optimizer and other regularizers. With flooding, the model will continue to "random walk" with the same non-zero training loss, and we expect it to drift into an area with a flat loss landscape that leads to better generalization. We experimentally show that flooding improves performance and, as a byproduct, induces a double descent curve of the test loss.

Motivation & Objective

  • Motivate the problem of overfitting when training loss reaches zero in overparameterized networks.
  • Introduce a direct method to control training loss by enforcing a nonzero flood level.
  • Demonstrate compatibility of flooding with standard optimizers and other regularizers.
  • Empirically evaluate flooding on synthetic and benchmark datasets to assess generalization gains.

Proposed method

  • Define the flooded objective: tyJ(θ)=|J(θ)−b|+b, where b>0 is the flood level.
  • Interpret the gradient: gravity (minimization) when J> b and buoyancy (ascent) when J< b.
  • Implement with mini-batch updates and a one-line code modification after computing J(θ).
  • Treat b as a hyper-parameter and search it (in parallel) to optimize validation accuracy.
  • Show that flooding can be combined with other regularizers (e.g., early stopping, weight decay, data augmentation).
  • Provide a theoretical note: flooded risk estimator has lower MSE than original under certain conditions.

Experimental results

Research questions

  • RQ1Does maintaining a nonzero training loss via flooding improve generalization compared to standard training.
  • RQ2How should the flood level b be chosen, and how does it relate to Bayes risk and dataset difficulty?
  • RQ3What are the interactions of flooding with other regularizers and training strategies (early stopping, data augmentation, etc.)?
  • RQ4Does flooding produce observable phenomena like double descent in test loss, and what are the mechanisms?

Key findings

  • Flooding often improves test accuracy over baselines without flooding across synthetic and benchmark datasets.
  • The optimal flood level tends to increase with label noise, indicating a relation between flood level and Bayes risk.
  • Flooding combined with other regularizers typically yields complementary gains and can reproduce a double descent in test loss.
  • Memorization (zero training error) can still occur at flood levels chosen by validation, but higher flood levels prevent zero training loss.
  • Training with flooding often results in a flatter test loss landscape and smaller gradient amplitudes, suggesting better generalization dynamics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.