Pairwise Difference Learning for Classification
Organizations: IDIADA Fahrzeugtechnik GmbH, Munich, Germany · Dr. Ing. h.c. F. Porsche AG Stuttgart, Germany · Ludwig-Maximilians-Universität Munich, Germany
Abstract
Pairwise difference learning (PDL) has recently been introduced as a new meta-learning technique for regression. Instead of learning a mapping from instances to outcomes in the standard way, the key idea is to learn a function that takes two instances as input and predicts the difference between the respective outcomes. Given a function of this kind, predictions for a query instance are derived from every training example and then averaged. This paper extends PDL toward the task of classification and proposes a meta-learning technique for inducing a PDL classifier by solving a suitably defined (binary) classification problem on a paired version of the original training data. We analyze the performance of the PDL classifier in a large-scale empirical study and find that it outperforms state-of-the-art methods in terms of prediction performance. Last but not least, we provide an easy-to-use and publicly available implementation of PDL in a Python package.
Figures & tables
| Significant wins | Wins | Average Test Macro F1 | ||||||
|---|---|---|---|---|---|---|---|---|
| Classifier | base | PDC | base | PDC | base | sem | PDC | sem |
| Bagging | 3 | 26 | 27 | 70 | 0.7906 | 0.0035 | 0.8062 | 0.0034 |
| DecisionTree | 2 | 50 | 22 | 76 | 0.7694 | 0.0037 | 0.7982 | 0.0034 |
| ExtraTree | 1 | 61 | 9 | 90 | 0.7434 | 0.0037 | 0.7987 | 0.0035 |
| ExtraTrees | 6 | 24 | 21 | 77 | 0.7951 | 0.0036 | 0.8113 | 0.0035 |
| GradientBoosting | 9 | 23 | 25 | 72 | 0.7839 | 0.0037 | 0.7903 | 0.0039 |
| Estimator | Unique contribution | Wins |
|---|---|---|
| ExtraTree | 0 | 0 |
| HistGradientBoosting | 0 | 0 |
| RandomForest | 0.00002 | 1 |
| Bagging | 0.00004 | 2 |
| GradientBoosting | 0.00006 | 2 |
| DecisionTree | 0.00020 | 10 |
| # CV | Baseline Macro F1 | PDC Macro F1 | Test | Test | |||
|---|---|---|---|---|---|---|---|
| Estimator | runs | Train | Test | Train | Test | p-value | |
| Bagging | 20 | 0.998 | 0.835 | 0.999 | 0.859 | 0.024 | |
| DecisionTree | 14 | 0.950 | 0.884 | 0.955 | 0.895 | 0.011 | |
| ExtraTree | 11 | 0.915 | 0.844 | 0.924 | 0.861 | 0.017 | |
| ExtraTrees | 26 | 0.985 | 0.828 | 0.991 | 0.853 | 0.025 | |
| GradientBoosting | 58 | 0.930 | 0.822 | 0.926 | 0.840 | 0.018 | |
Classification
Classification maps observations to discrete labels, including familiar, unknown, hierarchical, or multiple categories.
See all 401 papers