Contrastive Pretraining Scales Agentic Exploration
Jesse Zymet
Abstract
This paper concerns the problem of scaling agents to large action spaces demanding pretrained world knowledge. What type of representation pretraining enables policies such as LLMs to generalize rewards to appropriate actions? Contrastive learning aligns similar inputs and separates the rest, while non-contrastive alternatives, which lack the separating term, learn anisotropic representations that collapse distinct clusters. Though contrastive pretraining promotes supervised learning efficiency, non-contrastive pretraining remains canonical for LLMs. Here we examine how these pretraining types support on-policy reinforcement learning, where efficiency drives performance. We argue that contrastive pretraining scales adaptive exploration over large action spaces, avoiding an \textit{anisotropy pathology}. We prove that collapsed distinct actions concentrate the policy spectrum, hindering learning; contrastive pretraining retains distinctions via spectral regularization, enabling efficient learning. We validate our theory with spectral analyses of text data, bandit and actor-critic simulations on recommendation, and RLVR fine-tuning of reasoning LLMs on rollout batches. In our final setting, the matched GritLM-Joint-vs-GenOnly comparison yields both higher within-problem rollout diversity and a $+23.3$ pp pass@$8$ advantage on the semantically diverse MMLU-Pro set. The results are consistent with what our theory predicts: contrastively pretrained LLMs sample diverse rollouts, accelerating self-improvement efficiency.
Successful Page Load