Feed-forward networks can be interpreted as mappings with linear decision surfaces at the level of the last layer. We investigate how the tangent space of the network can be exploited to refine the decision in case of ReLU (Rectangular Linear Unit) activations. We show that a simple Riemannian metric parametrized on the parameters of the network forms a similarity function at least as good as the original network and we suggest a sparse metric to increase the similarity gap.
Daroczy, B. Z., & Rácz, D. (2021). Gradient representations in ReLU networks as similarity functions. ESANN 2021 proceedings, European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning. Published. ESANN 2021 - European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, Online event (Bruges, Belgium). https://doi.org/10.14428/esann/2021.es2021-153