TL;DR
Standard continued pretraining flies blind: you train a model on billions of unlabeled tokens or images using a fixed proxy task, and only find out at the end whether it actually helped the specific downstream skill you care about. V-pretraining closes this loop online by pairing the main model with a lightweight "task designer" that uses a tiny set of labeled downstream examples to dynamically shape self-supervised targets and image views on the fly. The twist? The main model never sees a single supervised label—giving you targeted capability boosts without sacrificing broad, general-purpose representations.
What Problem Does This Paper Address?
Imagine studying for a math exam by reading an entire library cover-to-cover, trying to memorize the exact next word of every sentence. That is essentially how continued pretraining works. To adapt a foundation model to a new domain, we optimize a fixed self-supervised proxy task—like next-token prediction for text or random crop matching for images—because unlabeled data scales effortlessly. Yet we judge the run entirely by downstream benchmarks.
Today, bridging that gap requires an agonizingly slow outer loop: train a massive run, evaluate checkpoints, tweak your data mixture or masking recipe, and restart. You might ask: if you have a small set of labeled examples representing your goal, why not just fine-tune (SFT) or run reinforcement learning (RL) on them? Because direct supervision on a tiny dataset answers how to fit those specific examples—risking narrow specialization—rather than answering which unlabeled pretraining updates are actually worth taking.
Methods
The authors introduce V-pretraining (Value-based continued pretraining), which splits the training loop into two distinct roles: the learner (your foundation model, $\theta$) and a lightweight task designer ($\phi$).
Instead of altering the learner's loss function or architecture, V-pretraining turns task construction into a learnable control surface:
- Measuring Step Value: Ideally, the designer wants to craft tasks whose full training trajectory lowers downstream loss, but differentiating through thousands of pretraining steps is computationally impossible. Instead, V-pretraining uses a clever one-step Taylor approximation. It computes the inner product between the candidate unlabeled pretraining gradient and the gradient on a small labeled feedback batch: $V = g_{\text{down}}^\top g_{\text{pre}}$. If those two vectors point in the same direction, taking that self-supervised step is predicted to reduce downstream loss.
- Indirect Feedback: The designer is updated to maximize $V$ (efficiently computed over just a subset of parameters, like the last two transformer layers). Crucially, a stop-gradient (
sg) detaches the constructed task before the learner updates. Downstream labels guide the curriculum, never the learner's weights directly. - Modality Instantiations: For language, instead of rigid one-hot next-token targets, the designer outputs adaptive soft probability distributions over the learner's top-$K$ candidate tokens (always keeping the true next token in the mix). For vision (e.g., DINOv3 or I-JEPA), the designer learns instance-wise masks and view parameters instead of relying purely on fixed random augmentations.
Datasets
No new benchmarks are introduced, though the authors construct a decontaminated version of NuminaMath-CoT (via MinHash LSH and $n$-gram Jaccard similarity) to rule out benchmark leakage.
- Language: Pretraining streams include NuminaMath-CoT, OpenMathReasoning, and a multitask mix (OpenWebMath, MetaMathQA, codeparrot-clean, Magicoder, C4, Alpaca). Feedback uses 1,024 GSM8K training examples (or domain-matched instruction pools). Evaluated on GSM8K, MATH, OMEGA (out-of-distribution math), MMLU, and MMBP.
- Vision: Pretrained on unlabeled ImageNet-1K. Feedback uses small labeled pools from ADE20K (semantic segmentation) and NYUv2 (depth estimation). Evaluated on ADE20K, NYUv2, ImageNet-1K linear probing, and R-Oxford5k / R-Paris6k instance retrieval.
Key Insights and Ideas
- Honest Compute Accounting: The designer isn't free—in language profiling, it reduces token throughput by 9.4% and adds 16.4% peak memory. The authors enforce strict wall-clock matching: the baseline gets to process more tokens during the exact same elapsed GPU time, and V-pretraining still wins.
- Not Just Fancy Label Smoothing: Ablations replacing the value signal with random vectors, uniform top-$K$ smoothing, or self-distillation all fall short. Task-relevant gradient alignment is the active ingredient.
- Steering Without Collapse: Because the learner only ever takes self-supervised updates on diverse unlabeled data, steering DINOv3 toward dense depth and segmentation tasks doesn't ruin its global image recognition or retrieval capabilities.
- A Cheap Pre-Post-Training Boost: On shared math data, V-pretraining achieves higher accuracy per GPU-hour than standalone SFT or GRPO, acting as a compute-efficient primer before heavy post-training.
Key Results
Under strict wall-clock-matched budgets:
- Language: Using just 1,024 GSM8K feedback examples, Qwen2.5-0.5B jumps +7.4 points on Pass@1 (22.20% $\rightarrow$ 29.60%, a 33% relative gain). Replicated Qwen1.5 runs improve across scales: 0.5B (19.15% $\rightarrow$ 22.67%), 4B (56.48% $\rightarrow$ 58.98%), and 7B (65.26% $\rightarrow$ 66.17%). Larger models retain MMLU performance (~53.5% at 4B), and multitask feedback simultaneously lifts GSM8K and MMLU.
- Vision: On DINOv3-ViT-L, V-pretraining improves ADE20K segmentation from 51.33 to 52.47 mIoU and lowers NYUv2 depth RMSE from 0.5752 to 0.5522, while slightly improving ImageNet-1K linear accuracy (84.07% $\rightarrow$ 84.59%) and boosting 5 out of 6 instance retrieval protocols.
Limitations and Future Work
V-pretraining optimizes a greedy, one-step local surrogate—it offers no theoretical guarantee of long-horizon optimality across a full training trajectory. The gradient alignment signal can also be noisy, relies heavily on the quality of the feedback set, and adds memory and compute overhead. Furthermore, small models can be over-steered by narrow feedback: while 4B and 7B models generalized cleanly, the tiny 0.5B language model suffered a 3-point drop on unrelated MMLU tasks when steered purely on math. Future extensions are not explicitly detailed by the authors.
Summary updated