Contrastive Identification and Generation in the Limit
Xiaoyu Li ⋅ Andi Han ⋅ Jiaojiao Jiang ⋅ Junbin Gao
Abstract
In the classical identification in the limit model of Gold [Inf. Control 1967], a stream of positive examples is presented round by round, and the learner must eventually recover the target hypothesis. Recently, Kleinberg and Mullainathan [NeurIPS 2024] introduced generation in the limit, where the learner instead must eventually output novel elements of the target's support. Both lines of work focus on positive-only or fully labeled data. Yet many natural supervision signals are relational rather than singleton, and some reveal only that two examples differ without indicating which is positive: cannot-link constraints in constrained clustering, "not the same class" annotations, and dissimilarity feedback all produce such direction-hidden pairs. This motivates us to initiate the learning-theoretic study of contrastive identification and generation in the limit, where the learner observes a contrastive presentation of data: a stream of unordered pairs $\\{x,y\\}$ satisfying $h(x)\ne h(y)$ for an unknown target binary hypothesis $h$, but which element is positive is hidden from the learner. We first present three results in the noiseless setting: an exact characterization of contrastive identifiable classes (a one-line geometric refinement of Angluin's tell-tale condition [Angluin, Inf. Control 1980]), a combinatorial dimension called the contrastive closure dimension (a contrastive analogue of the closure dimension in Li et al. [COLT 2025]) that exactly characterizes uniform contrastive generation with tight sample complexity, and a strict hierarchy in which contrastive generation and text identification are mutually incomparable. We then prove a sharp reversal under finite adversarial corruption: there exist classes identifiable from contrastive pairs under any finite corruption budget by a single budget-independent algorithm, yet not identifiable from positive examples under even one corrupted observation. More generally, we characterize contrastive identification exactly at every known corruption budget and at unknown finite budgets, with the clean characterization as the budget-zero case. The unifying technical object is the common crossing graph, which encodes pairwise ambiguity, family-level generation obstructions, and corruption defects in a single coverage-and-incidence language.
Successful Page Load