cs.LGOct 15, 2026

Efficient Pairwise Difference Learning: A Comparative Study of Encoding Strategies and Training Pair Selection

Authors: Bernard Georges, Mohamed Karim Belaid, Manuel Rodrigues

Organizations: University of Minho, ALGORITMI CENTER LASI, Braga, Portugal · IDIADA Fahrzeugtechnik GmbH, Munich, Germany

Abstract

Pairwise Difference Learning for Classification (PDC) enhances supervised learning in low-data regimes by training a binary similarity classifier on pairs of instances rather than individual samples, effectively inflating the training set from nn to O(n2)O(n^2) examples. However, the PDC framework leaves critical implementation choices underspecified, particularly regarding input representation and pair selection strategies. This work systematically investigates these design decisions through extensive empirical evaluation. We compare four feature encoders (paired features, triplet with relative difference, absolute difference, and a novel triplet with absolute difference) alongside four pair selection strategies ranging from exhaustive to kernel-thinning-based schemes. Experiments across nearly 200 benchmark classification datasets using Decision Tree, Multilayer Perceptron, Gaussian Naive Bayes, and Support Vector Classifier as base models reveal that the proposed triplet with absolute difference encoder (φ3dabsφ_{\mathrm{3dabs}}) achieves the highest average F1 scores. More notably, restricting training to upper-triangle pairs reduces computational time by approximately 40% with negligible accuracy loss. Kernel thinning-based selection provided no accuracy benefits while substantially increasing computational overhead. Overall, PDC configurations outperformed base models in 94% of tested cases, though no single configuration dominated universally, suggesting dataset-specific optimization remains an open challenge.

Figures & tables

Explore similar work

CardsList
  1. Pairwise Difference Learning for Classification

    Jun 28, 2024Mohamed Karim Belaid, Maximilian Rabus, Eyke HüllermeierClassificationMeta-Learning

  2. Pairwise Learning Increases Data Efficiency in Deep Neural Networks

    Oct 20, 2026Robert Bain, Marjan Rashidi, Elizabeth ChrastilData-Efficient LearningSmall-Data Learning

  3. Uncertainty Quantification in Pairwise Difference Learning for Classification

    Oct 15, 2026Mohamed Karim Belaid, Maximilian Rabus, Eyke HüllermeierUncertainty QuantificationUncertainty Decomposition