Abstract
Can a small amount of verified goal information steer the expensive self-supervised pretraining of foundation models? Standard pretraining optimizes a fixed proxy objective (e.g., next-token prediction), which can misallocate compute away from downstream capabilities of interest. We introduce V-Pretraining: a value-based, modality-agnostic method for controlled continued pretraining in which a lightweight task designer reshapes the pretraining task to maximize the value of each gradient step. For example, consider self-supervised learning (SSL) with sample augmentation. The V-Pretraining task designer selects pretraining tasks (e.g., augmentations) for which the pretraining loss gradient is aligned with a gradient computed over a downstream task (e.g., image segmentation). This helps steer pretraining towards relevant downstream capabilities. Notably, the pretrained model is never updated on downstream task labels; they are used only to shape the pretraining task. Under matched learner update budgets, V-Pretraining of 0.5B--7B language models improves reasoning (GSM8K test Pass@1) by up to 18% relative over standard next-token prediction using only 12% of GSM8K training examples as feedback. In vision SSL, we improve the state-of-the-art results on ADE20K by up to 1.07 mIoU and reduce NYUv2 RMSE while improving ImageNet linear accuracy, and we provide pilot evidence of improved token efficiency in continued pretraining.
Introduction
Modern foundation models are typically developed through "open-loop" scaling, where models minimize a static, self-supervised proxy loss—such as next-token prediction in language or masked autoencoding in vision—across trillions of data points. While effective, this approach is undirected. Compute is often spent on learning features that may be irrelevant to specific downstream goals, such as mathematical reasoning or dense spatial perception.
Current workflows address this misalignment post-hoc through Supervised Fine-Tuning (SFT) or Reinforcement Learning from Human Feedback (RLHF). However, these methods operate on representations already fixed by millions of agnostic gradient steps. This paper introduces Value-Based Pretraining (V-Pretraining), a framework to inject goal-directed supervision directly into the pretraining phase without sacrificing the scalability of self-supervised learning.
The V-Pretraining Framework
V-Pretraining decouples the learning process into two components: a large learner (the foundation model) and a lightweight task designer. The core innovation is the use of a "value signal" to guide the learner's trajectory.
The "value" of a pretraining step is defined as the alignment (gradient dot product) between the pretraining loss gradient and the gradient of a desired downstream task, calculated on a small, labeled feedback set. The task designer is trained to maximize this value by dynamically reshaping the self-supervised tasks presented to the learner.
In language modeling, the designer generates adaptive soft targets over candidate tokens. In vision, it creates instance-specific learned masks for self-supervised views. Importantly, the learner is never directly trained on downstream labels; these labels only serve to optimize the task designer, ensuring the pretraining remains fundamentally self-supervised while being goal-oriented.
Experimental Results
The effectiveness of V-Pretraining was evaluated across multiple modalities and scales, using feedback sets as small as 1,024 examples.
Language Reasoning and Efficiency
Using the NuminaMath CoT stream for pretraining and a small subset of GSM8K for feedback, V-Pretraining was applied to Qwen1.5 models (0.5B to 7B parameters). The results show significant improvements in mathematical reasoning. For the 0.5B model, Pass@1 on GSM8K improved by over 18% relative to the baseline. Furthermore, the steered models learn target capabilities much faster; a 4B parameter model reached target performance levels nearly 3x faster than the standard baseline.
Vision and Dense Prediction
In the vision domain, V-Pretraining was integrated with the DINOv3 architecture. The method achieved state-of-the-art results on dense prediction tasks like ADE20K (semantic segmentation) and NYUv2 (depth prediction). Notably, these gains did not come at the expense of general features, as ImageNet linear accuracy also saw slight improvements.
Insights and Discussion
V-Pretraining demonstrates that a tiny amount of verified data can effectively steer massive pretraining runs. By using gradient alignment as a practical proxy for bilevel optimization, the method avoids the prohibitive computational costs of directly optimizing for downstream performance.
While larger models (4B, 7B) maintained general performance on benchmarks like MMLU, the smallest model tested (0.5B) showed some susceptibility to generalization degradation, indicating that smaller capacity models might over-index on the steering signal. Future research will explore extending this framework to non-differentiable feedback signals, such as human preference judgments or code execution results.
Summary updated