A Reverse-Gold Theorem: Positive-Data Identification by Substrate-Bounded Contrastive Learners

arXiv:2610.28747 · stat.ML, cs.CL, cs.LG, q-bio.NC · Submitted 2026-10-20 · Read on arXiv

stat.ML, cs.CL, cs.LG, q-bio.NC

Submitted: 2026-10-20

Updated: 2026-10-20

License: http://creativecommons.org/licenses/by-nc-nd/4.0/

The gist: Gold's theorem shows that no learner can identify an arbitrary language in a superfinite class from positive presentations alone.

Abstract

Gold's theorem shows that no learner can identify an arbitrary language in a superfinite class from positive presentations alone. We prove a positive result of a different shape. Fix an innate recursive contrast operator R mapping any string to a finite set of structurally bounded perturbations of it, and a discriminative scorer of bounded capacity trained by InfoNCE-style contrastive estimation on self-generated perturbations. Under a faithfulness condition relating operator, scorer, and target, the trained scorer achieves PAC conditional identification from positive data alone: with high probability it ranks all but an epsilon-fraction of positives above every out-of-language perturbation in their own orbit, with sample complexity polynomial in the capacity, the orbit size, the score bound, and 1/epsilon. The negatives are constructed by the learner, not supplied by an oracle, and no global normalizing constant over strings is ever computed. The misranking bound follows from the geometry of the contrastive loss---per-example loss floors plus a definite loss increment under misranking---yielding an epsilon-2 rate, together with an explicit approximation gap that quantifies the cost of in-language (``colliding'') perturbations and vanishes for orbit-pure operators. The ranking guarantee lifts to a global membership classifier under a margin condition, and the same operator composed with the learned scorer is a normalization-free Metropolis--Hastings generator. We instantiate the hypotheses for substitutable context-free languages and the subregular classes, and state an open conjecture locating the construction in the mildly context-sensitive hierarchy.

Related papers