A metric for measuring similarity between representations by finding pairs of samples that are each other's closest matches.