Skip to main content
QUICK REVIEW

[Paper Review] IMAE for Noise-Robust Learning: Mean Absolute Error Does Not Treat Examples Equally and Gradient Magnitude's Variance Matters

Xinshao Wang, Hua Yang|arXiv (Cornell University)|Mar 28, 2019
Machine Learning and Data ClassificationComputer Science54 references44 citations
TL;DR

The paper analyzes MAE’s robustness and underfitting, then introduces IMAE, an exponential weighting of MAE’s gradient magnitudes to adjust gradient variance, improving learning while preserving noise-robustness.

ABSTRACT

In this work, we study robust deep learning against abnormal training data from the perspective of example weighting built in empirical loss functions, i.e., gradient magnitude with respect to logits, an angle that is not thoroughly studied so far. Consequently, we have two key findings: (1) Mean Absolute Error (MAE) Does Not Treat Examples Equally. We present new observations and insightful analysis about MAE, which is theoretically proved to be noise-robust. First, we reveal its underfitting problem in practice. Second, we analyse that MAE's noise-robustness is from emphasising on uncertain examples instead of treating training samples equally, as claimed in prior work. (2) The Variance of Gradient Magnitude Matters. We propose an effective and simple solution to enhance MAE's fitting ability while preserving its noise-robustness. Without changing MAE's overall weighting scheme, i.e., what examples get higher weights, we simply change its weighting variance non-linearly so that the impact ratio between two examples are adjusted. Our solution is termed Improved MAE (IMAE). We prove IMAE's effectiveness using extensive experiments: image classification under clean labels, synthetic label noise, and real-world unknown noise.

Motivation & Objective

  • Motivate robust deep learning under abnormal training data and scrutinize how MAE and CCE weight examples via gradient magnitudes.
  • Reveal that MAE underfits due to low gradient-magnitude variance and that gradient variance matters for learning meaningful patterns.
  • Propose Improved MAE (IMAE) to non-linearly adjust gradient magnitude variance without changing MAE’s overall weighting scheme.
  • Demonstrate IMAE’s effectiveness across clean labels, synthetic label noise, and realistic unknown noise.

Proposed method

  • Analyze gradients with respect to logits to interpret example weighting in CCE, MAE, and IMAE.
  • Derive closed-form expressions for per-sample gradient magnitudes under CCE and MAE.
  • Introduce IMAE by multiplying MAE’s gradient w.r.t. logits by an exponential weight w_IMAE(x) = exp(T p_y (1-p_y)), where p_y is the predicted probability of the true class.
  • Show that back-propagated gradients for IMAE scale as MAE’s gradients times w_IMAE/w_MAE, preserving overall MAE weighting while increasing variance.
  • Discuss how T controls gradient-magnitude variance and the impact ratio between samples.
  • Provide empirical evaluation on CIFAR-10/100 and Clothing1M across clean and noisy-label scenarios.

Experimental results

Research questions

  • RQ1Does MAE treat all training examples equally, and is its noise robustness accompanied by underfitting?
  • RQ2How does the gradient-magnitude variance of loss functions influence learning of meaningful patterns?
  • RQ3Can we improve MAE’s fitting ability without sacrificing its noise robustness?
  • RQ4Does the proposed IMAE improve robustness under synthetic and real-world noisy labels across tasks?

Key findings

  • MAE is more noise-robust than CCE but tends to underfit clean data points, emphasizing uncertain (medium-probability) examples.
  • The variance of MAE’s gradient magnitude across examples is small, leading to a low impact ratio between samples and weaker learning of meaningful patterns.
  • IMAE non-linearly transforms MAE’s weighting via an exponential function of the predicted probability, increasing gradient-magnitude variance while preserving MAE’s overall weighting scheme.
  • With tuned T, IMAE achieves state-of-the-art performance under synthetic symmetric/asymmetric noise and realistic unknown noise across CIFAR-100 and Clothing1M datasets.
  • On CIFAR-10, IMAE shows competitive or superior hybrid accuracy, balancing high generalization with reduced dependence on noisy samples.
  • Complexity of IMAE remains simple, requiring only scaling of MAE’s gradients by a factor w_IMAE.

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.