Federated learning with Siamese Neural Network