Integrated Gradients

Learn to implement integrated gradients, a widely used saliency map algorithm.

Integrated gradients

Deep neural networks are often trained to the saturation. Because of this, their predictions are often flat in the proximity of the input, like the following:

If a neural network f(.)f(.) is flat near the proximity of the input XX, its gradient with respect to XXis given by ...