Adaptive near-duplicate detection via similarity learning | Synapse