Next-Embedding Prediction Makes Strong Vision Learners
Inspired by the success of generative pretraining in natural language, we ask whether the same principles can yield strong self-supervised visual learners. Instead of training models to output features for downstream use, we train them to generate embeddings to perform predictive tasks directly. This work explores such a shift from learning representations to learning models. Specifically, models learn to predict future patch embeddings conditioned on past ones, using causal masking and stop gradient, which we refer to as Next-Embedding Predictive Autoregression (NEPA). We demonstrate that a simple Transformer pretrained on ImageNet-1k with next embedding prediction as its sole learning objective is effective - no pixel reconstruction, discrete tokens, contrastive loss, or task-specific heads. This formulation retains architectural simplicity and scalability, without requiring additional design complexity. NEPA achieves strong results across tasks, attaining 83.8% and 85.3% top-1 accuracy on ImageNet-1K with ViT-B and ViT-L backbones after fine-tuning, and transferring effectively to semantic segmentation on ADE20K. We believe generative pretraining from embeddings provides a simple, scalable, and potentially modality-agnostic alternative to visual self-supervised learning.
Rethinking Visual Self-Supervised Learning: The Power of Next-Embedding Prediction (NEPA)
Executive Summary
Foundation model development in vision has long struggled with the complexity inherent in current self-supervised learning (SSL) techniques, often relying on contrastive methods or pixel reconstruction. This research introduces Next-Embedding Predictive Autoregression (NEPA), a simplified approach that imports the highly successful causal generative pretraining paradigm from natural language processing (NLP) directly into the vision domain. Instead of learning fixed representations, NEPA trains a standard Transformer (ViT) to predict future patch embeddings based on past ones. This results in architectural simplicity and high scalability. The biggest takeaway is that this methodology is highly effective, achieving impressive results like 85.3% top-1 accuracy on ImageNet-1K with a ViT-L backbone, demonstrating a viable, simpler path toward building powerful, transferable visual foundation models for enterprise applications.
The Motivation: What Problem Does This Solve?
Modern visual SSL techniques, while effective, often introduce significant architectural complexity. Methods like contrastive learning require intricate mechanisms for negative sampling or sophisticated multi-branch networks (e.g., BYOL, SimCLR). Alternatively, masked autoencoders (MAE) require resource-intensive pixel-level reconstruction decoders or reliance on learning discrete visual tokens. These complexities increase development overhead, stabilize training difficulty, and often tie the learning objective tightly to specific architectural choices. The fundamental gap is the absence of a simple, unified, scalable generative objective in vision that mirrors the success of causal pretraining in large language models (LLMs). This paper attempts to fill that void by seeking architectural simplicity without sacrificing performance.
Key Contributions
- Introduction of Next-Embedding Predictive Autoregression (NEPA) as a novel self-supervised learning paradigm for vision Transformers.
- Demonstration of a fundamental shift from learning fixed feature representations to training models capable of direct predictive generation within the embedding space.
- Achieving competitive quantitative results: 83.8% and 85.3% top-1 accuracy on ImageNet-1K with ViT-B and ViT-L backbones, respectively, using only this simple objective.
- Elimination of common SSL complexities, including pixel reconstruction losses, contrastive heads, and the need for discrete visual tokenization.
- Proving strong transferability to dense downstream tasks, such as semantic segmentation on the ADE20K dataset.
How the Method Works
NEPA adapts the autoregressive framework of language models to sequential image patches. First, an input image is tokenized into a sequence of patch embeddings, standardized for the Vision Transformer (ViT) architecture. The core innovation lies in the training objective: the model is causally masked, meaning it can only attend to previous patch embeddings in the sequence, analogous to predicting the next word in a sentence. The model is then trained to predict the embedding vector of the immediately following patch.
Critically, the authors employ a stop gradient mechanism when calculating the loss against the target future embedding. This prevents the prediction task from simply collapsing the entire embedding space and ensures the model focuses purely on generating the conditional prediction. The objective is elegant: maximize the likelihood of predicting the correct next embedding based on the current context. This direct prediction mechanism allows the core Transformer architecture to retain its simplicity and scalability, leveraging existing, well-optimized Transformer components without needing specialized decoders or complex auxiliary losses.
Results & Benchmarks
The most compelling result is the performance achieved using only the next-embedding prediction objective, demonstrating that architectural minimalism does not necessitate performance compromise. The results are highly competitive with complex state-of-the-art SSL methods:
| Backbone | Self-Supervised Objective | ImageNet-1K Top-1 Accuracy (Fine-Tuned) |
|---|---|---|
| ViT-B | NEPA | 83.8% |
| ViT-L | NEPA | 85.3% |
These figures confirm that NEPA is a strong learner. Additionally, the paper emphasizes that the model transfers effectively to semantic segmentation on ADE20K, a task requiring high-fidelity dense predictions. This confirms the learned representations are general and robust, not just optimized for classification. The high accuracy, particularly with the ViT-L backbone, indicates that NEPA scales well and is indeed a superior or equivalent alternative to current established visual SSL techniques.
Strengths: What This Research Achieves
NEPA's primary strength is its architectural and conceptual simplicity. By directly mimicking the highly successful GPT paradigm, it immediately gains inherent scalability benefits common to autoregressive models. We don't need complex memory banks or negative sampling strategies required by contrastive methods, nor do we need heavy pixel decoders for reconstruction. This makes pretraining faster, potentially requires less memory per optimization step, and simplifies deployment. Additionally, since the learning objective operates purely within the embedding space, this research opens the door to truly unified, potentially modality-agnostic foundation models that treat all inputs- images, text, audio- as sequences of learned embeddings for autoregressive prediction.
Limitations & Failure Cases
While promising, the NEPA approach has potential limitations. The abstract does not specify the computational cost compared to MAE, which is highly efficient due to its high masking ratio. Autoregressive prediction often requires processing the entire sequence length iteratively, which can be computationally expensive if not parallelized effectively during pretraining. Furthermore, the stability of the stop gradient mechanism is crucial; if implemented poorly, it could lead to convergence issues or feature collapse. Lastly, the effectiveness heavily relies on the quality of the initial patch tokenization. If the patch sequence lacks sufficient causal coherence or local context, the predictive signal might be weak, leading to slower convergence compared to global contrastive objectives.
Real-World Implications & Applications
This research has significant implications for Enterprise AI departments focused on building customized vision foundation models. By simplifying the pretraining pipeline, engineering teams can iterate faster and reduce reliance on complex, fragile multi-loss training regimes. If NEPA proves scalable on massive proprietary datasets, it enables rapid creation of highly specialized visual backbones for specific domains (e.g., manufacturing QA, satellite imagery analysis, medical imaging). The strong transferability means enterprises can invest in one NEPA pretraining cycle and reuse the resulting backbone across a variety of downstream tasks, from simple image classification to complex high-resolution segmentation, maximizing the return on investment in foundational training.
Relation to Prior Work
Prior work in visual SSL generally falls into two camps: Contrastive Learning (MoCo, SimCLR) which relies on maximizing agreement between different views of the same image while pushing away negative samples, and Generative Masked Modeling (MAE, BeiT) which reconstructs missing inputs, either at the pixel level or using discrete tokens. NEPA stands distinct by adopting a purely *causal* and *autoregressive* generative objective, operating directly on patch embeddings. Unlike MAE, NEPA does not require a separate decoder for pixel reconstruction; unlike BeiT, it avoids the complexity of training a Vector Quantized Variational Autoencoder (VQ-VAE) for discrete token generation. Instead, NEPA directly leverages the architectural success and training simplicity of sequence-to-sequence prediction seen in GPT-style models, applying it to visual patch sequences.
Conclusion: Why This Paper Matters
NEPA represents a critical step towards unifying the conceptual frameworks governing vision and language foundation models. By demonstrating that a simple, scalable, autoregressive objective centered on predicting the next embedding can yield state-of-the-art results, the authors have validated a powerful, streamlined alternative to the current complex landscape of visual SSL. For technical architects, this paper suggests a future where building powerful, adaptable visual encoders is less about inventing complicated auxiliary losses and more about optimizing the core Transformer's ability to perform sophisticated sequential prediction. This simplicity enhances scalability, robustness, and the practical deployment potential of vision foundation models across the enterprise sector.
Appendix
The core component is a standard ViT architecture, trained to minimize the prediction error between the predicted embedding vector and the target future patch embedding vector. The target vector is calculated based on the output of the patch encoder but uses a stop gradient operation to stabilize the optimization process, ensuring the target remains fixed relative to the prediction step.
Recorded source
The archived text is presented as originally stored. A source link does not mean every statement in the generated analysis is supported by it.
Test a first direction.
Bring your own constraints into the demo. Explore an initial workflow, then discuss the evidence, integrations and evaluation a pilot would need.
Explore this workflow