distillpub / post--building-blocks

The Building Blocks of Interpretability
https://distill.pub/2018/building-blocks
Creative Commons Attribution 4.0 International
87 stars 27 forks source link

Some errors in "Spatial Attribution with Saliency Maps" visualization #19

Closed DeepVoltaire closed 6 years ago

DeepVoltaire commented 6 years ago

Hi, great article! I found some small errors that some people maybe stumple upon when going in detail through the "Spatial Attribution with Saliency Maps" visualization:

  1. When seleting the image of the hog and clicking on "center of the snout" in the description a piece in the center of the hog is selected and not the center of the snout. screenshot from 2018-03-11 17-42-32

You probably mean this center of the snout location screenshot from 2018-03-11 17-43-01

  1. Same thing when clicking on "right ear" in the description: It shows a location which is centered on the right eye and not the ear.

screenshot from 2018-03-11 17-53-33

You probably mean a position focused on the right ear like this screenshot from 2018-03-11 17-54-52

  1. When selecting the image of the Brambling and clicking on "chain" in the description something weird happens. The position in the picture stays the same as the previously selected position (here on the bird head), the output attribution is a mixture of chain and brambling (which doesnt exist in the image) and the shown piece in "mixed4d" is the patch in the top left corner of the picture.

screenshot from 2018-03-11 17-58-36

I really appreciate the article, very good work. :)

ludwigschubert commented 6 years ago

Thanks for the report @DeepVoltaire! @arvind and me will look into this!

Just to check—did you test this on a fast connection? We're currently not "invalidating" the attribution images, so you may sometimes see the old images while the new ones are loading.

DeepVoltaire commented 6 years ago

Definitely a fast connection. Tried it also multiple times before submitting it as a bug.

arvind commented 6 years ago

Thanks for catching these issues, @DeepVoltaire! I've fixed them in c2507d8 -- a mix of some actual bugs (e.g., with brambling) and clarifying the caption text to better reflect the positions with the pig image.