Inverse distance weighting attention