TL;DR
What can an algorithm learn if you never show it a single labeled example—only pairs of items that are guaranteed to belong to different categories, without telling it which is which? This paper establishes the mathematical foundations for learning and generating new examples from such "direction-hidden" pairs. Surprisingly, while hiding labels makes learning strictly harder in a perfect world, it makes the learner dramatically more resilient when an adversary injects corrupted data into the stream.
What Problem Does This Paper Address?
Imagine trying to learn a language—or any target rule—from an infinite stream of examples. In E. Mark Gold’s classic 1967 framework of identification in the limit, a learner observes positive examples one by one and must eventually guess the exact underlying rule and stick with it. Recently, Kleinberg and Mullainathan (2024) relaxed this to generation in the limit: you don't need to figure out the whole rule, you just need to eventually start producing brand-new, valid positive examples you haven't seen yet.
Historically, both models assume you are fed clean, confirmed positive examples (a "text") or fully labeled ones. Yet in the real world—think crowdsourced "not the same class" tags, dissimilarity feedback, or cannot-link constraints in clustering—supervision is often relational and unoriented. You are handed an unordered pair $\{x, y\}$ and told they disagree under the target binary rule $h$ (meaning $h(x) \neq h(y)$, an XOR constraint), with zero clue which one is the positive example. The authors ask: when can a learner identify the rule or generate novel positive examples when that crucial orientation bit is missing?
Methods
To tame this directionless data, the authors translate the learning problem into pure graph geometry:
- The Common Crossing Graph: Treat every possible item in your universe as a vertex, and every observed disagreeing pair $\{x, y\}$ as an edge. Because one item is positive and one is negative, every valid edge must cross the invisible boundary (cut) separating $h$'s positives from its negatives. For any two candidate hypotheses $h$ and $g$, their common crossing graph $\Gamma(h, g)$ consists of the edges that cross both cuts simultaneously—representing ambiguous observations that look completely valid under either rule.
- Edge-Induced Closure & Dimension: In standard positive-only generation, you intersect all plausible rules consistent with the positives seen so far to find "safe" new positives. Here, the authors define an edge-induced version space—all hypotheses where every observed pair crosses the cut—and define the contrastive closure dimension ($\mathrm{C}_\Delta$), measuring the largest set of edges that fails to force any unseen positive item.
- Defect Numbers & Absence Counting: To handle adversarial noise (where up to $k$ arbitrary pairs are planted in the stream), they define the defect number $\kappa(h \to g)$: the minimum number of cut-violations against $g$ forced by any valid stream for $h$. They also introduce a delightfully simple, budget-independent "absence-count" algorithm that tracks how often each seen element is missing from observed pairs.
Datasets
Not discussed in the paper. (This is a purely learning-theoretic work operating over abstract countable hypothesis classes and infinite data streams.)
Key Insights and Ideas
- You can generate positives before orienting a single pair: Suppose every candidate rule in your class labels the entire universe positive except for one unique "hole" (negative point). The moment you see a single pair $\{s, z\}$, you know the secret hole is either $s$ or $z$—meaning every other point in the universe is guaranteed to be positive!
- Clean learning forms a strict diamond, not a ladder: You might expect learnability to rank neatly from hardest to easiest. Instead, on infinite-support classes, contrastive generation and classic positive-text identification are mutually incomparable—forming a clean diamond hierarchy.
- Hidden labels become a superpower under corruption: In positive-only text streams, a single false positive injected by an adversary can ruin identification forever, because a fake positive looks just like a real one. Contrastive pairs, however, carry structural rigidity: every honest pair must include a negative of the target. In the "co-singleton" class (where each rule has just one negative hole $s$), every honest pair must contain $s$. Even if an adversary injects a million corrupted pairs, $s$ will only be absent from at most a million pairs, whereas every positive item gets left out infinitely often. Counting absences nails the target every time!
Key Results
- Exact Clean Identification: A hypothesis class is identifiable from contrastive pairs if and only if it satisfies Angluin’s classic positive-data "tell-tale" condition and every pair of incomparable hypotheses forms an "overlapping cover" (their positive sets intersect and together cover the entire universe).
- Tight Sample Complexity for Generation: Uniform contrastive generation is possible if and only if the contrastive closure dimension $\mathrm{C}_\Delta(\mathcal{H}) = d$ is finite, requiring a tight sample complexity of exactly $d + 1$ distinct pairs (when $d \ge 1$, or $1$ pair if $d = 0$).
- Exact Corruption Thresholds: Two hypotheses $h$ and $g$ can be distinguished under $k$ adversarial corruptions if and only if their maximum directional defect is at least $2k + 1$ (making $\lceil \bar{\kappa}(h,g)/2 \rceil$ the exact corruption budget needed for an adversary to confuse them).
- The Co-Singleton Reversal: The co-singleton class fails positive-text identification under just $k=1$ corrupted example, yet is contrastively identifiable under any unknown finite corruption budget $k$ via a single algorithm.
Limitations and Future Work
- Countable Generation Remains Open: While the authors completely characterize ordinary contrastive generation for finite hypothesis classes (every confusable family must share an infinite common support), they prove this condition is not sufficient for countably infinite classes—leaving a full characterization open.
- Information-Theoretic Focus: Several proposed identifiers rely on enumerating abstract tell-tale sets or knowing per-level closure dimensions rather than prioritizing computational efficiency.
- Future Directions: The authors highlight extending robustness to corrupted contrastive generation, exploring statistical/i.i.d. pair streams instead of adversarial ones, and designing computationally effective versions of their identifiers.
Summary updated