arXiv:2610.27669cs.LGOct 2026

Manuscript Offprint

arXiv:2610.27669

Pairwise Learning Increases Data Efficiency in Deep Neural Networks

Robert Bain, Marjan Rashidi, Elizabeth Chrastil

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Deep neural networks often fail at small-sample regression, collapsing to low-variance predictions that miss individual differences. Here, we introduce a pairwise comparison framework that reframes regression as aggregated relative rankings. This method improves data efficiency across model architectures and dataset sizes. On the UTKFace dataset (23k images), pairwise learning generates over one billion training comparisons without additional supervision. The paired ranking allows a lightweight ResNet-10 trained from scratch on home hardware to achieve a 3.64-year MAE—surpassing previous models, including those with large-scale pretraining. For classification into categories, pairwise supervision consistently outperforms an otherwise identical 10-way crossentropy model on STL-10 with 500–2000 labeled examples, improving accuracy by up to 5.2%. Overall, pairwise supervision enhances data efficiency and enables strong regression and classification performance when labeled data are limited, particularly in clinical settings.

Keywords: Pairwise Learning, Deep Learning, Small-Sample Learning, Image Classification, Regression

1 Introduction

Deep neural networks have transformed supervised learning in machine vision and beyond [1], but they remain notoriously data-hungry and brittle in low-sample regimes [2, 3, 4, 5, 6]. In regression settings, scarce labels often drive models toward degenerate, low-variance predictions that ignore meaningful variation (see Fig. 1 A & B). This behavior is reminiscent of mode collapse in generative adversarial networks (GANs), when a high-variance model converges to a biased solution that fails to reflect the diversity of the underlying distribution [7, 8]. Deep regression instability in reinforcement learning (RL) appears related as well, where deep value and policy networks often exhibit tremendous data inefficiency [9, 10, 11]. Many RL updates reduce to pointwise regression on noisy value targets, and deep networks trained in this manner frequently have large and sudden performance swings while training [12, 9, 13]. Existing responses to this small-data regression problem typically rely on transferring features from large pretrained backbones, hand-crafted data augmentation, or more complex training schemes such as meta-learning, few-shot learning, and semi- or self-supervised methods [14, 15, 16, 17, 18, 19]. While these approaches can mitigate overfitting, they do not fundamentally alter the supervision signal itself. Networks are still asked to predict absolute targets from individual examples, which limits how much information can be extracted from a labeled dataset.

An alternative line of work, dating back to preference learning and learning-to-rank, shows that models can be trained from relative judgments between examples—"which of these two items is larger, better, or more relevant?" [20, 21, 22] —rather than from absolute labels alone. Pairwise and listwise ranking methods, including more recent neural variants, demonstrate that such comparative supervision can be statistically efficient and robust [21, 22, 23]. Architecturally, our use of shared feature extractors for input pairs is related to Siamese and metric-learning networks that learn embeddings from paired or triplet inputs for similarity, verification, or retrieval [24, 25, 26]. Our objective, however, is fundamentally different. Rather than learning a ranking as the final prediction, we use pairwise supervision as an alternative training signal for continuous regression and small-sample classification. Continuous target values are recovered by aggregating comparisons against labeled reference examples, allowing the same set of labels to generate substantially richer supervision without requiring additional annotations or large-scale pretraining. While pairwise ranking has been extensively studied in information retrieval [33, 22] and recommendation systems [34], much less attention has been devoted to using pairwise supervision as a general strategy for improving deep regression and classification under limited-data conditions [35, 36].

In this work we explore a simple pairwise comparison framework that recasts regression as learning from relative differences instead of absolute targets. A single backbone network is trained on labeled pairs to predict which input has the larger underlying label (e.g., which face is older), or for classification of whether the pair of images belong to the same class, using standard cross-entropy loss. At test time, an unlabeled sample is compared against many labeled references, and its value is inferred by aggregating these pairwise outcomes. Unlike learning-to-rank methods (e.g.[33, 34, 22]), where the pairwise comparison itself is the desired output, the comparisons here serve only as an intermediate supervision signal for recovering continuous regression targets. This reframing supplies each example with far richer supervision than typical pointwise regression and circumvents the low-variance collapse common in small-sample settings. We find that this approach yields stable, high-resolution predictions even in datasets with very few ground-truth labels, and that it scales naturally to larger datasets without changing the underlying model or training objective. Beyond regression, we show that the same comparative signal also strengthens supervised classification under severe label scarcity, indicating that pairwise supervision is an upgrade for deep learning in general.

References (34)