Gradient Amplification: High-Loss Samples' Strongest Pull

Flipping labels of high-loss samples generates larger adversarial gradients, which exert disproportionately strong forces on model parameter updates, leading to significant shifts in learning direction.

The top 3

  1. Loss Functions' Gradient Growth Magnifies High-Error Impact: Loss functions like Mean Squared Error and Cross-Entropy generate gradients that are directly proportional to or rapidly increase with prediction error, causing high-loss samples to produce significantly larger gradients that are then amplified through network layers during backpropagation, leading to stronger parameter updates.
  2. High-Loss Samples: Key to Learning or Poisoning Vulnerability?: While samples with high loss (often called 'hard samples') are crucial for improving model generalization and convergence in legitimate training, their inherent amplified gradient influence makes them prime targets for data poisoning attacks, allowing maliciously crafted data to disproportionately steer model behavior.
  3. Top 3 Defenses Against Amplified Poisoning Gradients: Gradient clipping is a primary defense that limits excessive gradient magnitudes to prevent numerical instability and exploding gradients. Additionally, using the L2-norm of per-sample gradients can quantify and identify highly influential samples, while robust loss functions like Blurry Loss or Piecewise-zero Loss are designed to reduce the disproportionate impact of high-loss, potentially mislabeled data.

Sources

Open the full topic