Interpretable Siamese Neural Networks for Similarity Detection in Theoretical Physics