Riemann Sum Optimization for Accurate Integrated Gradients Computation
<|reference_start|>Riemann Sum Optimization for Accurate Integrated Gradients Computation: Integrated Gradients (IG) is a widely used algorithm for attributing the outputs of a deep neural network to its input features. Due to the absence of closed-form integrals for deep learning models, inaccurate Riemann Sum approximations are used to calculate IG. This often introduces undesirable errors in the form of high levels of noise, leading to false insights in the model's decision-making process. We introduce a framework, RiemannOpt, that minimizes these errors by optimizing the sample point selection for the Riemann Sum. Our algorithm is highly versatile and applicable to IG as well as its derivatives like Blur IG and Guided IG. RiemannOpt achieves up to 20% improvement in Insertion Scores. Additionally, it enables its users to curtail computational costs by up to four folds, thereby making it highly functional for constrained environments.<|reference_end|>
@article{swain2024riemann,
    title={Riemann Sum Optimization for Accurate Integrated Gradients Computation},
    author={Swadesh Swain and Shree Singhi},
    journal={arXiv preprint arXiv:2410.04118},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.04118},
    primaryClass={cs.LG cs.AI math.OC}
}