I asked a related question on how to center the input to similarity functions designed to compare neural networks and was wondering if we should input the neurons after the activations or the neurons after the activations?
The papers and talks I watched/read say "neurons" but never specify that detail. I think that pre-activations is what we should use because if we use the output of activations then some values might be randomly killed and the similarity might be artificially increased (just because of the activation function). But using the pre-activation might mean that if you have square collection of neurons to compare things like CCA which are built to be invariant to invertible affine transformers might not be as good as expected (since we are using the pre-activation values, the values after the fully connected layer).
So what should we use?
Personally, I think I will use the pre-activation values and hope that the NNs I am analyzing are wide enough such that CCA and other metrics do not break.
related/refs: